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 |
|---|---|---|---|---|---|---|---|---|
[
9,
6,
1,
33
] | 21 | [
"9*6=54",
"1*33=33",
"54-33=21"
] | Current State: 21:[9, 6, 1, 33], Operations: []
Exploring Operation: 9*6=54, Resulting Numbers: [1, 33, 54]
Generated Node #2: [1, 33, 54] from Operation: 9*6=54
Current State: 21:[1, 33, 54], Operations: ['9*6=54']
Exploring Operation: 1*33=33, Resulting Numbers: [54, 33]
Generated Node #3: [54, 33] from Operation: 1*33=33
Current State: 21:[54, 33], Operations: ['9*6=54', '1*33=33']
Exploring Operation: 54-33=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[9, 6, 1, 33], Operations: []
Exploring Operation: 33-6=27, Resulting Numbers: [9, 1, 27]
Generated Node #0,0: 21:[9, 1, 27] Operation: 33-6=27
Exploring Operation: 9-1=8, Resulting Numbers: [6, 33, 8]
Generated Node #0,1: 21:[6, 33, 8] Operation: 9-1=8
Exploring Operation: 33-9=24, Resulting Numbers: [6, 1, 24]
Generated Node #0,2: 21:[6, 1, 24] Operation: 33-9=24
Exploring Operation: 9-6=3, Resulting Numbers: [1, 33, 3]
Generated Node #0,3: 21:[1, 33, 3] Operation: 9-6=3
Start Sub Search at level 1: Moving to Node #0,2
Current State: 21:[6, 1, 24], Operations: ['33-9=24']
Exploring Operation: 24-1=23, Resulting Numbers: [6, 23]
Generated Node #0,2,0: 21:[6, 23] Operation: 24-1=23
Exploring Operation: 6*1=6, Resulting Numbers: [24, 6]
Generated Node #0,2,1: 21:[24, 6] Operation: 6*1=6
Exploring Operation: 6+1=7, Resulting Numbers: [24, 7]
Generated Node #0,2,2: 21:[24, 7] Operation: 6+1=7
Exploring Operation: 24/6=4, Resulting Numbers: [1, 4]
Generated Node #0,2,3: 21:[1, 4] Operation: 24/6=4
Moving to Node #0,2,0
Current State: 21:[6, 23], Operations: ['33-9=24', '24-1=23']
Exploring Operation: 6*23=138, Resulting Numbers: [138]
138,21 unequal: No Solution
Exploring Operation: 6+23=29, Resulting Numbers: [29]
29,21 unequal: No Solution
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,21 unequal: No Solution
Moving to Node #0,2,3
Current State: 21:[1, 4], Operations: ['33-9=24', '24/6=4']
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,21 unequal: No Solution
Exploring Operation: 1+4=5, Resulting Numbers: [5]
5,21 unequal: No Solution
Exploring Operation: 1*4=4, Resulting Numbers: [4]
4,21 unequal: No Solution
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,21 unequal: No Solution
Moving to Node #0,2,2
Current State: 21:[24, 7], Operations: ['33-9=24', '6+1=7']
Exploring Operation: 24*7=168, Resulting Numbers: [168]
168,21 unequal: No Solution
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,21 unequal: No Solution
Exploring Operation: 24+7=31, Resulting Numbers: [31]
31,21 unequal: No Solution
Moving to Node #0,2,1
Current State: 21:[24, 6], Operations: ['33-9=24', '6*1=6']
Exploring Operation: 24/6=4, Resulting Numbers: [4]
4,21 unequal: No Solution
Exploring Operation: 24*6=144, Resulting Numbers: [144]
144,21 unequal: No Solution
Exploring Operation: 24-6=18, Resulting Numbers: [18]
18,21 unequal: No Solution
Exploring Operation: 24+6=30, Resulting Numbers: [30]
30,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 21:[9, 1, 27], Operations: ['33-6=27']
Exploring Operation: 27-1=26, Resulting Numbers: [9, 26]
Generated Node #0,0,0: 21:[9, 26] Operation: 27-1=26
Exploring Operation: 9-1=8, Resulting Numbers: [27, 8]
Generated Node #0,0,1: 21:[27, 8] Operation: 9-1=8
Exploring Operation: 27/9=3, Resulting Numbers: [1, 3]
Generated Node #0,0,2: 21:[1, 3] Operation: 27/9=3
Exploring Operation: 27-9=18, Resulting Numbers: [1, 18]
Generated Node #0,0,3: 21:[1, 18] Operation: 27-9=18
Moving to Node #0,0,2
Current State: 21:[1, 3], Operations: ['33-6=27', '27/9=3']
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,21 unequal: No Solution
Exploring Operation: 1+3=4, Resulting Numbers: [4]
4,21 unequal: No Solution
Exploring Operation: 1*3=3, Resulting Numbers: [3]
3,21 unequal: No Solution
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,21 unequal: No Solution
Moving to Node #0,0,3
Current State: 21:[1, 18], Operations: ['33-6=27', '27-9=18']
Exploring Operation: 1+18=19, Resulting Numbers: [19]
19,21 unequal: No Solution
Exploring Operation: 1*18=18, Resulting Numbers: [18]
18,21 unequal: No Solution
Exploring Operation: 18/1=18, Resulting Numbers: [18]
18,21 unequal: No Solution
Exploring Operation: 18-1=17, Resulting Numbers: [17]
17,21 unequal: No Solution
Moving to Node #0,0,1
Current State: 21:[27, 8], Operations: ['33-6=27', '9-1=8']
Exploring Operation: 27+8=35, Resulting Numbers: [35]
35,21 unequal: No Solution
Exploring Operation: 27*8=216, Resulting Numbers: [216]
216,21 unequal: No Solution
Exploring Operation: 27-8=19, Resulting Numbers: [19]
19,21 unequal: No Solution
Moving to Node #0,0,0
Current State: 21:[9, 26], Operations: ['33-6=27', '27-1=26']
Exploring Operation: 26-9=17, Resulting Numbers: [17]
17,21 unequal: No Solution
Exploring Operation: 9+26=35, Resulting Numbers: [35]
35,21 unequal: No Solution
Exploring Operation: 9*26=234, Resulting Numbers: [234]
234,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 21:[6, 33, 8], Operations: ['9-1=8']
Exploring Operation: 8-6=2, Resulting Numbers: [33, 2]
Generated Node #0,1,0: 21:[33, 2] Operation: 8-6=2
Exploring Operation: 6+33=39, Resulting Numbers: [8, 39]
Generated Node #0,1,1: 21:[8, 39] Operation: 6+33=39
Exploring Operation: 33-6=27, Resulting Numbers: [8, 27]
Generated Node #0,1,2: 21:[8, 27] Operation: 33-6=27
Exploring Operation: 33-8=25, Resulting Numbers: [6, 25]
Generated Node #0,1,3: 21:[6, 25] Operation: 33-8=25
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 21:[6, 25], Operations: ['9-1=8', '33-8=25']
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,21 unequal: No Solution
Exploring Operation: 6+25=31, Resulting Numbers: [31]
31,21 unequal: No Solution
Exploring Operation: 6*25=150, Resulting Numbers: [150]
150,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 21:[8, 27], Operations: ['9-1=8', '33-6=27']
Exploring Operation: 8*27=216, Resulting Numbers: [216]
216,21 unequal: No Solution
Exploring Operation: 27-8=19, Resulting Numbers: [19]
19,21 unequal: No Solution
Exploring Operation: 8+27=35, Resulting Numbers: [35]
35,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 21:[33, 2], Operations: ['9-1=8', '8-6=2']
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,21 unequal: No Solution
Exploring Operation: 33*2=66, Resulting Numbers: [66]
66,21 unequal: No Solution
Exploring Operation: 33+2=35, Resulting Numbers: [35]
35,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 21:[8, 39], Operations: ['9-1=8', '6+33=39']
Exploring Operation: 39-8=31, Resulting Numbers: [31]
31,21 unequal: No Solution
Exploring Operation: 8+39=47, Resulting Numbers: [47]
47,21 unequal: No Solution
Exploring Operation: 8*39=312, Resulting Numbers: [312]
312,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 21:[1, 33, 3], Operations: ['9-6=3']
Exploring Operation: 33-3=30, Resulting Numbers: [1, 30]
Generated Node #0,3,0: 21:[1, 30] Operation: 33-3=30
Exploring Operation: 33/3=11, Resulting Numbers: [1, 11]
Generated Node #0,3,1: 21:[1, 11] Operation: 33/3=11
Exploring Operation: 1*33=33, Resulting Numbers: [3, 33]
Generated Node #0,3,2: 21:[3, 33] Operation: 1*33=33
Exploring Operation: 33-1=32, Resulting Numbers: [3, 32]
Generated Node #0,3,3: 21:[3, 32] Operation: 33-1=32
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 21:[1, 11], Operations: ['9-6=3', '33/3=11']
Exploring Operation: 11-1=10, Resulting Numbers: [10]
10,21 unequal: No Solution
Exploring Operation: 1*11=11, Resulting Numbers: [11]
11,21 unequal: No Solution
Exploring Operation: 1+11=12, Resulting Numbers: [12]
12,21 unequal: No Solution
Exploring Operation: 11/1=11, Resulting Numbers: [11]
11,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 21:[1, 30], Operations: ['9-6=3', '33-3=30']
Exploring Operation: 30-1=29, Resulting Numbers: [29]
29,21 unequal: No Solution
Exploring Operation: 30/1=30, Resulting Numbers: [30]
30,21 unequal: No Solution
Exploring Operation: 1+30=31, Resulting Numbers: [31]
31,21 unequal: No Solution
Exploring Operation: 1*30=30, Resulting Numbers: [30]
30,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 21:[3, 32], Operations: ['9-6=3', '33-1=32']
Exploring Operation: 3*32=96, Resulting Numbers: [96]
96,21 unequal: No Solution
Exploring Operation: 3+32=35, Resulting Numbers: [35]
35,21 unequal: No Solution
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 21:[3, 33], Operations: ['9-6=3', '1*33=33']
Exploring Operation: 3*33=99, Resulting Numbers: [99]
99,21 unequal: No Solution
Exploring Operation: 33-3=30, Resulting Numbers: [30]
30,21 unequal: No Solution
Exploring Operation: 3+33=36, Resulting Numbers: [36]
36,21 unequal: No Solution
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
23,
14,
38,
69
] | 27 | [
"69/23=3",
"38-14=24",
"3+24=27"
] | Current State: 27:[23, 14, 38, 69], Operations: []
Exploring Operation: 69/23=3, Resulting Numbers: [14, 38, 3]
Generated Node #2: [14, 38, 3] from Operation: 69/23=3
Current State: 27:[14, 38, 3], Operations: ['69/23=3']
Exploring Operation: 38-14=24, Resulting Numbers: [3, 24]
Generated Node #3: [3, 24] from Operation: 38-14=24
Current State: 27:[3, 24], Operations: ['69/23=3', '38-14=24']
Exploring Operation: 3+24=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[23, 14, 38, 69], Operations: []
Exploring Operation: 69-23=46, Resulting Numbers: [14, 38, 46]
Generated Node #0,0: 27:[14, 38, 46] Operation: 69-23=46
Exploring Operation: 69/23=3, Resulting Numbers: [14, 38, 3]
Generated Node #0,1: 27:[14, 38, 3] Operation: 69/23=3
Exploring Operation: 69-38=31, Resulting Numbers: [23, 14, 31]
Generated Node #0,2: 27:[23, 14, 31] Operation: 69-38=31
Exploring Operation: 69-14=55, Resulting Numbers: [23, 38, 55]
Generated Node #0,3: 27:[23, 38, 55] Operation: 69-14=55
Moving to Node #0,2
Current State: 27:[23, 14, 31], Operations: ['69-38=31']
Exploring Operation: 31-14=17, Resulting Numbers: [23, 17]
Generated Node #0,2,0: 27:[23, 17] Operation: 31-14=17
Exploring Operation: 23-14=9, Resulting Numbers: [31, 9]
Generated Node #0,2,1: 27:[31, 9] Operation: 23-14=9
Exploring Operation: 23+14=37, Resulting Numbers: [31, 37]
Generated Node #0,2,2: 27:[31, 37] Operation: 23+14=37
Exploring Operation: 31-23=8, Resulting Numbers: [14, 8]
Generated Node #0,2,3: 27:[14, 8] Operation: 31-23=8
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 27:[31, 9], Operations: ['69-38=31', '23-14=9']
Exploring Operation: 31-9=22, Resulting Numbers: [22]
22,27 unequal: No Solution
Exploring Operation: 31+9=40, Resulting Numbers: [40]
40,27 unequal: No Solution
Exploring Operation: 31*9=279, Resulting Numbers: [279]
279,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 27:[14, 8], Operations: ['69-38=31', '31-23=8']
Exploring Operation: 14+8=22, Resulting Numbers: [22]
22,27 unequal: No Solution
Exploring Operation: 14*8=112, Resulting Numbers: [112]
112,27 unequal: No Solution
Exploring Operation: 14-8=6, Resulting Numbers: [6]
6,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 27:[23, 17], Operations: ['69-38=31', '31-14=17']
Exploring Operation: 23-17=6, Resulting Numbers: [6]
6,27 unequal: No Solution
Exploring Operation: 23+17=40, Resulting Numbers: [40]
40,27 unequal: No Solution
Exploring Operation: 23*17=391, Resulting Numbers: [391]
391,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 27:[31, 37], Operations: ['69-38=31', '23+14=37']
Exploring Operation: 37-31=6, Resulting Numbers: [6]
6,27 unequal: No Solution
Exploring Operation: 31*37=1147, Resulting Numbers: [1147]
1147,27 unequal: No Solution
Exploring Operation: 31+37=68, Resulting Numbers: [68]
68,27 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: 27:[14, 38, 3], Operations: ['69/23=3']
Exploring Operation: 14-3=11, Resulting Numbers: [38, 11]
Generated Node #0,1,0: 27:[38, 11] Operation: 14-3=11
Exploring Operation: 14+3=17, Resulting Numbers: [38, 17]
Generated Node #0,1,1: 27:[38, 17] Operation: 14+3=17
Exploring Operation: 38-3=35, Resulting Numbers: [14, 35]
Generated Node #0,1,2: 27:[14, 35] Operation: 38-3=35
Exploring Operation: 38-14=24, Resulting Numbers: [3, 24]
Generated Node #0,1,3: 27:[3, 24] Operation: 38-14=24
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 27:[3, 24], Operations: ['69/23=3', '38-14=24']
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,27 unequal: No Solution
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,27 unequal: No Solution
Exploring Operation: 3*24=72, Resulting Numbers: [72]
72,27 unequal: No Solution
Exploring Operation: 3+24=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[23, 14, 38, 69], Operations: []
Exploring Operation: 69/23=3, Resulting Numbers: [14, 38, 3]
Generated Node #0,1: 27:[14, 38, 3] Operation: 69/23=3
Moving to Node #0,1
Current State: 27:[14, 38, 3], Operations: ['69/23=3']
Exploring Operation: 38-14=24, Resulting Numbers: [3, 24]
Generated Node #0,1,3: 27:[3, 24] Operation: 38-14=24
Moving to Node #0,1,3
Current State: 27:[3, 24], Operations: ['69/23=3', '38-14=24']
Exploring Operation: 3+24=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.972222 | hs_4 | mult_heuristic |
[
63,
40,
62,
71
] | 47 | [
"71-62=9",
"63/9=7",
"40+7=47"
] | Current State: 47:[63, 40, 62, 71], Operations: []
Exploring Operation: 71-62=9, Resulting Numbers: [63, 40, 9]
Generated Node #2: [63, 40, 9] from Operation: 71-62=9
Current State: 47:[63, 40, 9], Operations: ['71-62=9']
Exploring Operation: 63/9=7, Resulting Numbers: [40, 7]
Generated Node #3: [40, 7] from Operation: 63/9=7
Current State: 47:[40, 7], Operations: ['71-62=9', '63/9=7']
Exploring Operation: 40+7=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[63, 40, 62, 71], Operations: []
Exploring Operation: 71-40=31, Resulting Numbers: [63, 62, 31]
Generated Node #0,0: 47:[63, 62, 31] Operation: 71-40=31
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[63, 62, 31], Operations: ['71-40=31']
Exploring Operation: 63-31=32, Resulting Numbers: [62, 32]
Generated Node #0,0,0: 47:[62, 32] Operation: 63-31=32
Moving to Node #0,0,0
Current State: 47:[62, 32], Operations: ['71-40=31', '63-31=32']
Exploring Operation: 62-32=30, Resulting Numbers: [30]
30,47 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 |
[
66,
54,
81,
57
] | 39 | [
"57-54=3",
"81/3=27",
"66-27=39"
] | Current State: 39:[66, 54, 81, 57], Operations: []
Exploring Operation: 57-54=3, Resulting Numbers: [66, 81, 3]
Generated Node #2: [66, 81, 3] from Operation: 57-54=3
Current State: 39:[66, 81, 3], Operations: ['57-54=3']
Exploring Operation: 81/3=27, Resulting Numbers: [66, 27]
Generated Node #3: [66, 27] from Operation: 81/3=27
Current State: 39:[66, 27], Operations: ['57-54=3', '81/3=27']
Exploring Operation: 66-27=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[66, 54, 81, 57], Operations: []
Exploring Operation: 81-66=15, Resulting Numbers: [54, 57, 15]
Generated Node #0,0: 39:[54, 57, 15] Operation: 81-66=15
Exploring Operation: 81-54=27, Resulting Numbers: [66, 57, 27]
Generated Node #0,1: 39:[66, 57, 27] Operation: 81-54=27
Exploring Operation: 81-57=24, Resulting Numbers: [66, 54, 24]
Generated Node #0,2: 39:[66, 54, 24] Operation: 81-57=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 39:[54, 57, 15], Operations: ['81-66=15']
Exploring Operation: 57-54=3, Resulting Numbers: [15, 3]
Generated Node #0,0,0: 39:[15, 3] Operation: 57-54=3
Exploring Operation: 54-15=39, Resulting Numbers: [57, 39]
Generated Node #0,0,1: 39:[57, 39] Operation: 54-15=39
Exploring Operation: 57-15=42, Resulting Numbers: [54, 42]
Generated Node #0,0,2: 39:[54, 42] Operation: 57-15=42
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 39:[15, 3], Operations: ['81-66=15', '57-54=3']
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,39 unequal: No Solution
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,39 unequal: No Solution
Exploring Operation: 15+3=18, Resulting Numbers: [18]
18,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 39:[57, 39], Operations: ['81-66=15', '54-15=39']
Exploring Operation: 57+39=96, Resulting Numbers: [96]
96,39 unequal: No Solution
Exploring Operation: 57*39=2223, Resulting Numbers: [2223]
2223,39 unequal: No Solution
Exploring Operation: 57-39=18, Resulting Numbers: [18]
18,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 39:[54, 42], Operations: ['81-66=15', '57-15=42']
Exploring Operation: 54*42=2268, Resulting Numbers: [2268]
2268,39 unequal: No Solution
Exploring Operation: 54+42=96, Resulting Numbers: [96]
96,39 unequal: No Solution
Exploring Operation: 54-42=12, Resulting Numbers: [12]
12,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 39:[66, 54, 24], Operations: ['81-57=24']
Exploring Operation: 66-54=12, Resulting Numbers: [24, 12]
Generated Node #0,2,0: 39:[24, 12] Operation: 66-54=12
Exploring Operation: 54-24=30, Resulting Numbers: [66, 30]
Generated Node #0,2,1: 39:[66, 30] Operation: 54-24=30
Exploring Operation: 66-24=42, Resulting Numbers: [54, 42]
Generated Node #0,2,2: 39:[54, 42] Operation: 66-24=42
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 39:[24, 12], Operations: ['81-57=24', '66-54=12']
Exploring Operation: 24-12=12, Resulting Numbers: [12]
12,39 unequal: No Solution
Exploring Operation: 24/12=2, Resulting Numbers: [2]
2,39 unequal: No Solution
Exploring Operation: 24+12=36, Resulting Numbers: [36]
36,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 39:[54, 42], Operations: ['81-57=24', '66-24=42']
Exploring Operation: 54+42=96, Resulting Numbers: [96]
96,39 unequal: No Solution
Exploring Operation: 54*42=2268, Resulting Numbers: [2268]
2268,39 unequal: No Solution
Exploring Operation: 54-42=12, Resulting Numbers: [12]
12,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 39:[66, 30], Operations: ['81-57=24', '54-24=30']
Exploring Operation: 66*30=1980, Resulting Numbers: [1980]
1980,39 unequal: No Solution
Exploring Operation: 66-30=36, Resulting Numbers: [36]
36,39 unequal: No Solution
Exploring Operation: 66+30=96, Resulting Numbers: [96]
96,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 39:[66, 57, 27], Operations: ['81-54=27']
Exploring Operation: 66-57=9, Resulting Numbers: [27, 9]
Generated Node #0,1,0: 39:[27, 9] Operation: 66-57=9
Exploring Operation: 57-27=30, Resulting Numbers: [66, 30]
Generated Node #0,1,1: 39:[66, 30] Operation: 57-27=30
Exploring Operation: 66-27=39, Resulting Numbers: [57, 39]
Generated Node #0,1,2: 39:[57, 39] Operation: 66-27=39
Moving to Node #0,1,0
Current State: 39:[27, 9], Operations: ['81-54=27', '66-57=9']
Exploring Operation: 27/9=3, Resulting Numbers: [3]
3,39 unequal: No Solution
Exploring Operation: 27+9=36, Resulting Numbers: [36]
36,39 unequal: No Solution
Exploring Operation: 27-9=18, Resulting Numbers: [18]
18,39 unequal: No Solution
Moving to Node #0,1,2
Current State: 39:[57, 39], Operations: ['81-54=27', '66-27=39']
Exploring Operation: 57-39=18, Resulting Numbers: [18]
18,39 unequal: No Solution
Exploring Operation: 57+39=96, Resulting Numbers: [96]
96,39 unequal: No Solution
Exploring Operation: 57*39=2223, Resulting Numbers: [2223]
2223,39 unequal: No Solution
Moving to Node #0,1,1
Current State: 39:[66, 30], Operations: ['81-54=27', '57-27=30']
Exploring Operation: 66-30=36, Resulting Numbers: [36]
36,39 unequal: No Solution
Exploring Operation: 66+30=96, Resulting Numbers: [96]
96,39 unequal: No Solution
Exploring Operation: 66*30=1980, Resulting Numbers: [1980]
1980,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
39,
5,
13,
49
] | 57 | [
"39/13=3",
"5+49=54",
"3+54=57"
] | Current State: 57:[39, 5, 13, 49], Operations: []
Exploring Operation: 39/13=3, Resulting Numbers: [5, 49, 3]
Generated Node #2: [5, 49, 3] from Operation: 39/13=3
Current State: 57:[5, 49, 3], Operations: ['39/13=3']
Exploring Operation: 5+49=54, Resulting Numbers: [3, 54]
Generated Node #3: [3, 54] from Operation: 5+49=54
Current State: 57:[3, 54], Operations: ['39/13=3', '5+49=54']
Exploring Operation: 3+54=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[39, 5, 13, 49], Operations: []
Exploring Operation: 13+49=62, Resulting Numbers: [39, 5, 62]
Generated Node #0,0: 57:[39, 5, 62] Operation: 13+49=62
Exploring Operation: 39+13=52, Resulting Numbers: [5, 49, 52]
Generated Node #0,1: 57:[5, 49, 52] Operation: 39+13=52
Exploring Operation: 39/13=3, Resulting Numbers: [5, 49, 3]
Generated Node #0,2: 57:[5, 49, 3] Operation: 39/13=3
Exploring Operation: 39-13=26, Resulting Numbers: [5, 49, 26]
Generated Node #0,3: 57:[5, 49, 26] Operation: 39-13=26
Exploring Operation: 49-39=10, Resulting Numbers: [5, 13, 10]
Generated Node #0,4: 57:[5, 13, 10] Operation: 49-39=10
Moving to Node #0,2
Current State: 57:[5, 49, 3], Operations: ['39/13=3']
Exploring Operation: 49-5=44, Resulting Numbers: [3, 44]
Generated Node #0,2,0: 57:[3, 44] Operation: 49-5=44
Exploring Operation: 49+3=52, Resulting Numbers: [5, 52]
Generated Node #0,2,1: 57:[5, 52] Operation: 49+3=52
Exploring Operation: 5*3=15, Resulting Numbers: [49, 15]
Generated Node #0,2,2: 57:[49, 15] Operation: 5*3=15
Exploring Operation: 5+49=54, Resulting Numbers: [3, 54]
Generated Node #0,2,3: 57:[3, 54] Operation: 5+49=54
Exploring Operation: 5-3=2, Resulting Numbers: [49, 2]
Generated Node #0,2,4: 57:[49, 2] Operation: 5-3=2
Moving to Node #0,4
Current State: 57:[5, 13, 10], Operations: ['49-39=10']
Exploring Operation: 10-5=5, Resulting Numbers: [13, 5]
Generated Node #0,4,0: 57:[13, 5] Operation: 10-5=5
Exploring Operation: 5+13=18, Resulting Numbers: [10, 18]
Generated Node #0,4,1: 57:[10, 18] Operation: 5+13=18
Exploring Operation: 13-10=3, Resulting Numbers: [5, 3]
Generated Node #0,4,2: 57:[5, 3] Operation: 13-10=3
Exploring Operation: 10/5=2, Resulting Numbers: [13, 2]
Generated Node #0,4,3: 57:[13, 2] Operation: 10/5=2
Exploring Operation: 13+10=23, Resulting Numbers: [5, 23]
Generated Node #0,4,4: 57:[5, 23] Operation: 13+10=23
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 57:[5, 3], Operations: ['49-39=10', '13-10=3']
Exploring Operation: 5+3=8, Resulting Numbers: [8]
8,57 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,57 unequal: No Solution
Exploring Operation: 5*3=15, Resulting Numbers: [15]
15,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 57:[5, 23], Operations: ['49-39=10', '13+10=23']
Exploring Operation: 23-5=18, Resulting Numbers: [18]
18,57 unequal: No Solution
Exploring Operation: 5+23=28, Resulting Numbers: [28]
28,57 unequal: No Solution
Exploring Operation: 5*23=115, Resulting Numbers: [115]
115,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 57:[13, 2], Operations: ['49-39=10', '10/5=2']
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,57 unequal: No Solution
Exploring Operation: 13+2=15, Resulting Numbers: [15]
15,57 unequal: No Solution
Exploring Operation: 13*2=26, Resulting Numbers: [26]
26,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 57:[13, 5], Operations: ['49-39=10', '10-5=5']
Exploring Operation: 13*5=65, Resulting Numbers: [65]
65,57 unequal: No Solution
Exploring Operation: 13+5=18, Resulting Numbers: [18]
18,57 unequal: No Solution
Exploring Operation: 13-5=8, Resulting Numbers: [8]
8,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 57:[10, 18], Operations: ['49-39=10', '5+13=18']
Exploring Operation: 10+18=28, Resulting Numbers: [28]
28,57 unequal: No Solution
Exploring Operation: 18-10=8, Resulting Numbers: [8]
8,57 unequal: No Solution
Exploring Operation: 10*18=180, Resulting Numbers: [180]
180,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:[5, 49, 52], Operations: ['39+13=52']
Exploring Operation: 5+49=54, Resulting Numbers: [52, 54]
Generated Node #0,1,0: 57:[52, 54] Operation: 5+49=54
Exploring Operation: 5+52=57, Resulting Numbers: [49, 57]
Generated Node #0,1,1: 57:[49, 57] Operation: 5+52=57
Exploring Operation: 49-5=44, Resulting Numbers: [52, 44]
Generated Node #0,1,2: 57:[52, 44] Operation: 49-5=44
Exploring Operation: 52-5=47, Resulting Numbers: [49, 47]
Generated Node #0,1,3: 57:[49, 47] Operation: 52-5=47
Exploring Operation: 52-49=3, Resulting Numbers: [5, 3]
Generated Node #0,1,4: 57:[5, 3] Operation: 52-49=3
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 57:[5, 3], Operations: ['39+13=52', '52-49=3']
Exploring Operation: 5*3=15, Resulting Numbers: [15]
15,57 unequal: No Solution
Exploring Operation: 5+3=8, Resulting Numbers: [8]
8,57 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 57:[52, 54], Operations: ['39+13=52', '5+49=54']
Exploring Operation: 54-52=2, Resulting Numbers: [2]
2,57 unequal: No Solution
Exploring Operation: 52*54=2808, Resulting Numbers: [2808]
2808,57 unequal: No Solution
Exploring Operation: 52+54=106, Resulting Numbers: [106]
106,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 57:[49, 57], Operations: ['39+13=52', '5+52=57']
Exploring Operation: 49*57=2793, Resulting Numbers: [2793]
2793,57 unequal: No Solution
Exploring Operation: 49+57=106, Resulting Numbers: [106]
106,57 unequal: No Solution
Exploring Operation: 57-49=8, Resulting Numbers: [8]
8,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 57:[52, 44], Operations: ['39+13=52', '49-5=44']
Exploring Operation: 52-44=8, Resulting Numbers: [8]
8,57 unequal: No Solution
Exploring Operation: 52+44=96, Resulting Numbers: [96]
96,57 unequal: No Solution
Exploring Operation: 52*44=2288, Resulting Numbers: [2288]
2288,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 57:[49, 47], Operations: ['39+13=52', '52-5=47']
Exploring Operation: 49+47=96, Resulting Numbers: [96]
96,57 unequal: No Solution
Exploring Operation: 49*47=2303, Resulting Numbers: [2303]
2303,57 unequal: No Solution
Exploring Operation: 49-47=2, Resulting Numbers: [2]
2,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:[5, 49, 26], Operations: ['39-13=26']
Exploring Operation: 5+26=31, Resulting Numbers: [49, 31]
Generated Node #0,3,0: 57:[49, 31] Operation: 5+26=31
Exploring Operation: 49-5=44, Resulting Numbers: [26, 44]
Generated Node #0,3,1: 57:[26, 44] Operation: 49-5=44
Exploring Operation: 5+49=54, Resulting Numbers: [26, 54]
Generated Node #0,3,2: 57:[26, 54] Operation: 5+49=54
Exploring Operation: 49-26=23, Resulting Numbers: [5, 23]
Generated Node #0,3,3: 57:[5, 23] Operation: 49-26=23
Exploring Operation: 26-5=21, Resulting Numbers: [49, 21]
Generated Node #0,3,4: 57:[49, 21] Operation: 26-5=21
Moving to Node #0,0
Current State: 57:[39, 5, 62], Operations: ['13+49=62']
Exploring Operation: 62-39=23, Resulting Numbers: [5, 23]
Generated Node #0,0,0: 57:[5, 23] Operation: 62-39=23
Exploring Operation: 39+5=44, Resulting Numbers: [62, 44]
Generated Node #0,0,1: 57:[62, 44] Operation: 39+5=44
Exploring Operation: 5+62=67, Resulting Numbers: [39, 67]
Generated Node #0,0,2: 57:[39, 67] Operation: 5+62=67
Exploring Operation: 39-5=34, Resulting Numbers: [62, 34]
Generated Node #0,0,3: 57:[62, 34] Operation: 39-5=34
Exploring Operation: 62-5=57, Resulting Numbers: [39, 57]
Generated Node #0,0,4: 57:[39, 57] Operation: 62-5=57
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 57:[5, 23], Operations: ['13+49=62', '62-39=23']
Exploring Operation: 5+23=28, Resulting Numbers: [28]
28,57 unequal: No Solution
Exploring Operation: 23-5=18, Resulting Numbers: [18]
18,57 unequal: No Solution
Exploring Operation: 5*23=115, Resulting Numbers: [115]
115,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:[62, 44], Operations: ['13+49=62', '39+5=44']
Exploring Operation: 62-44=18, Resulting Numbers: [18]
18,57 unequal: No Solution
Exploring Operation: 62*44=2728, Resulting Numbers: [2728]
2728,57 unequal: No Solution
Exploring Operation: 62+44=106, Resulting Numbers: [106]
106,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,4
Current State: 57:[39, 57], Operations: ['13+49=62', '62-5=57']
Exploring Operation: 39+57=96, Resulting Numbers: [96]
96,57 unequal: No Solution
Exploring Operation: 57-39=18, Resulting Numbers: [18]
18,57 unequal: No Solution
Exploring Operation: 39*57=2223, Resulting Numbers: [2223]
2223,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,3
Current State: 57:[62, 34], Operations: ['13+49=62', '39-5=34']
Exploring Operation: 62-34=28, Resulting Numbers: [28]
28,57 unequal: No Solution
Exploring Operation: 62*34=2108, Resulting Numbers: [2108]
2108,57 unequal: No Solution
Exploring Operation: 62+34=96, Resulting Numbers: [96]
96,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,2
Current State: 57:[39, 67], Operations: ['13+49=62', '5+62=67']
Exploring Operation: 67-39=28, Resulting Numbers: [28]
28,57 unequal: No Solution
Exploring Operation: 39*67=2613, Resulting Numbers: [2613]
2613,57 unequal: No Solution
Exploring Operation: 39+67=106, Resulting Numbers: [106]
106,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,3
Current State: 57:[3, 54], Operations: ['39/13=3', '5+49=54']
Exploring Operation: 54-3=51, Resulting Numbers: [51]
51,57 unequal: No Solution
Exploring Operation: 3*54=162, Resulting Numbers: [162]
162,57 unequal: No Solution
Exploring Operation: 3+54=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[39, 5, 13, 49], Operations: []
Exploring Operation: 39/13=3, Resulting Numbers: [5, 49, 3]
Generated Node #0,2: 57:[5, 49, 3] Operation: 39/13=3
Moving to Node #0,2
Current State: 57:[5, 49, 3], Operations: ['39/13=3']
Exploring Operation: 5+49=54, Resulting Numbers: [3, 54]
Generated Node #0,2,3: 57:[3, 54] Operation: 5+49=54
Moving to Node #0,2,3
Current State: 57:[3, 54], Operations: ['39/13=3', '5+49=54']
Exploring Operation: 3+54=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 0.928819 | hs_5 | sum_heuristic |
[
99,
13,
78,
12
] | 20 | [
"99-13=86",
"78-12=66",
"86-66=20"
] | Current State: 20:[99, 13, 78, 12], Operations: []
Exploring Operation: 99-13=86, Resulting Numbers: [78, 12, 86]
Generated Node #2: [78, 12, 86] from Operation: 99-13=86
Current State: 20:[78, 12, 86], Operations: ['99-13=86']
Exploring Operation: 78-12=66, Resulting Numbers: [86, 66]
Generated Node #3: [86, 66] from Operation: 78-12=66
Current State: 20:[86, 66], Operations: ['99-13=86', '78-12=66']
Exploring Operation: 86-66=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[99, 13, 78, 12], Operations: []
Exploring Operation: 99-13=86, Resulting Numbers: [78, 12, 86]
Generated Node #0,0: 20:[78, 12, 86] Operation: 99-13=86
Exploring Operation: 78/13=6, Resulting Numbers: [99, 12, 6]
Generated Node #0,1: 20:[99, 12, 6] Operation: 78/13=6
Exploring Operation: 78-13=65, Resulting Numbers: [99, 12, 65]
Generated Node #0,2: 20:[99, 12, 65] Operation: 78-13=65
Exploring Operation: 99-78=21, Resulting Numbers: [13, 12, 21]
Generated Node #0,3: 20:[13, 12, 21] Operation: 99-78=21
Start Sub Search at level 1: Moving to Node #0,3
Current State: 20:[13, 12, 21], Operations: ['99-78=21']
Exploring Operation: 21-12=9, Resulting Numbers: [13, 9]
Generated Node #0,3,0: 20:[13, 9] Operation: 21-12=9
Exploring Operation: 13+12=25, Resulting Numbers: [21, 25]
Generated Node #0,3,1: 20:[21, 25] Operation: 13+12=25
Exploring Operation: 13-12=1, Resulting Numbers: [21, 1]
Generated Node #0,3,2: 20:[21, 1] Operation: 13-12=1
Exploring Operation: 21-13=8, Resulting Numbers: [12, 8]
Generated Node #0,3,3: 20:[12, 8] Operation: 21-13=8
Moving to Node #0,3,2
Current State: 20:[21, 1], Operations: ['99-78=21', '13-12=1']
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:[99, 13, 78, 12], Operations: []
Exploring Operation: 99-78=21, Resulting Numbers: [13, 12, 21]
Generated Node #0,3: 20:[13, 12, 21] Operation: 99-78=21
Moving to Node #0,3
Current State: 20:[13, 12, 21], Operations: ['99-78=21']
Exploring Operation: 13-12=1, Resulting Numbers: [21, 1]
Generated Node #0,3,2: 20:[21, 1] Operation: 13-12=1
Moving to Node #0,3,2
Current State: 20:[21, 1], Operations: ['99-78=21', '13-12=1']
Exploring Operation: 21-1=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
72,
43,
14,
51
] | 78 | [
"72+43=115",
"51-14=37",
"115-37=78"
] | Current State: 78:[72, 43, 14, 51], Operations: []
Exploring Operation: 72+43=115, Resulting Numbers: [14, 51, 115]
Generated Node #2: [14, 51, 115] from Operation: 72+43=115
Current State: 78:[14, 51, 115], Operations: ['72+43=115']
Exploring Operation: 51-14=37, Resulting Numbers: [115, 37]
Generated Node #3: [115, 37] from Operation: 51-14=37
Current State: 78:[115, 37], Operations: ['72+43=115', '51-14=37']
Exploring Operation: 115-37=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[72, 43, 14, 51], Operations: []
Exploring Operation: 51-43=8, Resulting Numbers: [72, 14, 8]
Generated Node #0,0: 78:[72, 14, 8] Operation: 51-43=8
Exploring Operation: 72-51=21, Resulting Numbers: [43, 14, 21]
Generated Node #0,1: 78:[43, 14, 21] Operation: 72-51=21
Moving to Node #0,0
Current State: 78:[72, 14, 8], Operations: ['51-43=8']
Exploring Operation: 72/8=9, Resulting Numbers: [14, 9]
Generated Node #0,0,0: 78:[14, 9] Operation: 72/8=9
Exploring Operation: 72+8=80, Resulting Numbers: [14, 80]
Generated Node #0,0,1: 78:[14, 80] Operation: 72+8=80
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 78:[14, 80], Operations: ['51-43=8', '72+8=80']
Exploring Operation: 14+80=94, Resulting Numbers: [94]
94,78 unequal: No Solution
Exploring Operation: 80-14=66, Resulting Numbers: [66]
66,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 78:[14, 9], Operations: ['51-43=8', '72/8=9']
Exploring Operation: 14+9=23, Resulting Numbers: [23]
23,78 unequal: No Solution
Exploring Operation: 14-9=5, Resulting Numbers: [5]
5,78 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: 78:[43, 14, 21], Operations: ['72-51=21']
Exploring Operation: 43-21=22, Resulting Numbers: [14, 22]
Generated Node #0,1,0: 78:[14, 22] Operation: 43-21=22
Exploring Operation: 21-14=7, Resulting Numbers: [43, 7]
Generated Node #0,1,1: 78:[43, 7] Operation: 21-14=7
Moving to Node #0,1,0
Current State: 78:[14, 22], Operations: ['72-51=21', '43-21=22']
Exploring Operation: 22-14=8, Resulting Numbers: [8]
8,78 unequal: No Solution
Exploring Operation: 14+22=36, Resulting Numbers: [36]
36,78 unequal: No Solution
Moving to Node #0,1,1
Current State: 78:[43, 7], Operations: ['72-51=21', '21-14=7']
Exploring Operation: 43+7=50, Resulting Numbers: [50]
50,78 unequal: No Solution
Exploring Operation: 43-7=36, Resulting Numbers: [36]
36,78 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
40,
31,
29,
51
] | 13 | [
"40-31=9",
"51-29=22",
"22-9=13"
] | Current State: 13:[40, 31, 29, 51], Operations: []
Exploring Operation: 40-31=9, Resulting Numbers: [29, 51, 9]
Generated Node #2: [29, 51, 9] from Operation: 40-31=9
Current State: 13:[29, 51, 9], Operations: ['40-31=9']
Exploring Operation: 51-29=22, Resulting Numbers: [9, 22]
Generated Node #3: [9, 22] from Operation: 51-29=22
Current State: 13:[9, 22], Operations: ['40-31=9', '51-29=22']
Exploring Operation: 22-9=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[40, 31, 29, 51], Operations: []
Exploring Operation: 40-31=9, Resulting Numbers: [29, 51, 9]
Generated Node #0,0: 13:[29, 51, 9] Operation: 40-31=9
Exploring Operation: 51-29=22, Resulting Numbers: [40, 31, 22]
Generated Node #0,1: 13:[40, 31, 22] Operation: 51-29=22
Exploring Operation: 40-29=11, Resulting Numbers: [31, 51, 11]
Generated Node #0,2: 13:[31, 51, 11] Operation: 40-29=11
Exploring Operation: 51-40=11, Resulting Numbers: [31, 29, 11]
Generated Node #0,3: 13:[31, 29, 11] Operation: 51-40=11
Exploring Operation: 51-31=20, Resulting Numbers: [40, 29, 20]
Generated Node #0,4: 13:[40, 29, 20] Operation: 51-31=20
Moving to Node #0,3
Current State: 13:[31, 29, 11], Operations: ['51-40=11']
Exploring Operation: 29+11=40, Resulting Numbers: [31, 40]
Generated Node #0,3,0: 13:[31, 40] Operation: 29+11=40
Exploring Operation: 31-29=2, Resulting Numbers: [11, 2]
Generated Node #0,3,1: 13:[11, 2] Operation: 31-29=2
Exploring Operation: 31-11=20, Resulting Numbers: [29, 20]
Generated Node #0,3,2: 13:[29, 20] Operation: 31-11=20
Exploring Operation: 29-11=18, Resulting Numbers: [31, 18]
Generated Node #0,3,3: 13:[31, 18] Operation: 29-11=18
Exploring Operation: 31+11=42, Resulting Numbers: [29, 42]
Generated Node #0,3,4: 13:[29, 42] Operation: 31+11=42
Moving to Node #0,4
Current State: 13:[40, 29, 20], Operations: ['51-31=20']
Exploring Operation: 40+29=69, Resulting Numbers: [20, 69]
Generated Node #0,4,0: 13:[20, 69] Operation: 40+29=69
Exploring Operation: 40-20=20, Resulting Numbers: [29, 20]
Generated Node #0,4,1: 13:[29, 20] Operation: 40-20=20
Exploring Operation: 40-29=11, Resulting Numbers: [20, 11]
Generated Node #0,4,2: 13:[20, 11] Operation: 40-29=11
Exploring Operation: 40/20=2, Resulting Numbers: [29, 2]
Generated Node #0,4,3: 13:[29, 2] Operation: 40/20=2
Exploring Operation: 29-20=9, Resulting Numbers: [40, 9]
Generated Node #0,4,4: 13:[40, 9] Operation: 29-20=9
Moving to Node #0,1
Current State: 13:[40, 31, 22], Operations: ['51-29=22']
Exploring Operation: 40+22=62, Resulting Numbers: [31, 62]
Generated Node #0,1,0: 13:[31, 62] Operation: 40+22=62
Exploring Operation: 40+31=71, Resulting Numbers: [22, 71]
Generated Node #0,1,1: 13:[22, 71] Operation: 40+31=71
Exploring Operation: 40-22=18, Resulting Numbers: [31, 18]
Generated Node #0,1,2: 13:[31, 18] Operation: 40-22=18
Exploring Operation: 40-31=9, Resulting Numbers: [22, 9]
Generated Node #0,1,3: 13:[22, 9] Operation: 40-31=9
Exploring Operation: 31-22=9, Resulting Numbers: [40, 9]
Generated Node #0,1,4: 13:[40, 9] Operation: 31-22=9
Moving to Node #0,0
Current State: 13:[29, 51, 9], Operations: ['40-31=9']
Exploring Operation: 29+9=38, Resulting Numbers: [51, 38]
Generated Node #0,0,0: 13:[51, 38] Operation: 29+9=38
Exploring Operation: 51+9=60, Resulting Numbers: [29, 60]
Generated Node #0,0,1: 13:[29, 60] Operation: 51+9=60
Exploring Operation: 51-29=22, Resulting Numbers: [9, 22]
Generated Node #0,0,2: 13:[9, 22] Operation: 51-29=22
Exploring Operation: 51-9=42, Resulting Numbers: [29, 42]
Generated Node #0,0,3: 13:[29, 42] Operation: 51-9=42
Exploring Operation: 29-9=20, Resulting Numbers: [51, 20]
Generated Node #0,0,4: 13:[51, 20] Operation: 29-9=20
Moving to Node #0,2
Current State: 13:[31, 51, 11], Operations: ['40-29=11']
Exploring Operation: 51-11=40, Resulting Numbers: [31, 40]
Generated Node #0,2,0: 13:[31, 40] Operation: 51-11=40
Exploring Operation: 51+11=62, Resulting Numbers: [31, 62]
Generated Node #0,2,1: 13:[31, 62] Operation: 51+11=62
Exploring Operation: 31-11=20, Resulting Numbers: [51, 20]
Generated Node #0,2,2: 13:[51, 20] Operation: 31-11=20
Exploring Operation: 31+11=42, Resulting Numbers: [51, 42]
Generated Node #0,2,3: 13:[51, 42] Operation: 31+11=42
Exploring Operation: 51-31=20, Resulting Numbers: [11, 20]
Generated Node #0,2,4: 13:[11, 20] Operation: 51-31=20
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 13:[11, 20], Operations: ['40-29=11', '51-31=20']
Exploring Operation: 11+20=31, Resulting Numbers: [31]
31,13 unequal: No Solution
Exploring Operation: 11*20=220, Resulting Numbers: [220]
220,13 unequal: No Solution
Exploring Operation: 20-11=9, Resulting Numbers: [9]
9,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,0
Current State: 13:[31, 40], Operations: ['40-29=11', '51-11=40']
Exploring Operation: 40-31=9, Resulting Numbers: [9]
9,13 unequal: No Solution
Exploring Operation: 31*40=1240, Resulting Numbers: [1240]
1240,13 unequal: No Solution
Exploring Operation: 31+40=71, Resulting Numbers: [71]
71,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:[51, 20], Operations: ['40-29=11', '31-11=20']
Exploring Operation: 51*20=1020, Resulting Numbers: [1020]
1020,13 unequal: No Solution
Exploring Operation: 51+20=71, Resulting Numbers: [71]
71,13 unequal: No Solution
Exploring Operation: 51-20=31, Resulting Numbers: [31]
31,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,1
Current State: 13:[31, 62], Operations: ['40-29=11', '51+11=62']
Exploring Operation: 31*62=1922, Resulting Numbers: [1922]
1922,13 unequal: No Solution
Exploring Operation: 31+62=93, Resulting Numbers: [93]
93,13 unequal: No Solution
Exploring Operation: 62-31=31, Resulting Numbers: [31]
31,13 unequal: No Solution
Exploring Operation: 62/31=2, Resulting Numbers: [2]
2,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,3
Current State: 13:[51, 42], Operations: ['40-29=11', '31+11=42']
Exploring Operation: 51*42=2142, Resulting Numbers: [2142]
2142,13 unequal: No Solution
Exploring Operation: 51+42=93, Resulting Numbers: [93]
93,13 unequal: No Solution
Exploring Operation: 51-42=9, Resulting Numbers: [9]
9,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,2
Current State: 13:[20, 11], Operations: ['51-31=20', '40-29=11']
Exploring Operation: 20-11=9, Resulting Numbers: [9]
9,13 unequal: No Solution
Exploring Operation: 20+11=31, Resulting Numbers: [31]
31,13 unequal: No Solution
Exploring Operation: 20*11=220, Resulting Numbers: [220]
220,13 unequal: No Solution
Moving to Node #0,3,1
Current State: 13:[11, 2], Operations: ['51-40=11', '31-29=2']
Exploring Operation: 11+2=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[40, 31, 29, 51], Operations: []
Exploring Operation: 51-40=11, Resulting Numbers: [31, 29, 11]
Generated Node #0,3: 13:[31, 29, 11] Operation: 51-40=11
Moving to Node #0,3
Current State: 13:[31, 29, 11], Operations: ['51-40=11']
Exploring Operation: 31-29=2, Resulting Numbers: [11, 2]
Generated Node #0,3,1: 13:[11, 2] Operation: 31-29=2
Moving to Node #0,3,1
Current State: 13:[11, 2], Operations: ['51-40=11', '31-29=2']
Exploring Operation: 11+2=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 0.953125 | hs_5 | mult_heuristic |
[
39,
4,
37,
44
] | 37 | [
"39+4=43",
"44-43=1",
"37*1=37"
] | Current State: 37:[39, 4, 37, 44], Operations: []
Exploring Operation: 39+4=43, Resulting Numbers: [37, 44, 43]
Generated Node #2: [37, 44, 43] from Operation: 39+4=43
Current State: 37:[37, 44, 43], Operations: ['39+4=43']
Exploring Operation: 44-43=1, Resulting Numbers: [37, 1]
Generated Node #3: [37, 1] from Operation: 44-43=1
Current State: 37:[37, 1], Operations: ['39+4=43', '44-43=1']
Exploring Operation: 37*1=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[39, 4, 37, 44], Operations: []
Exploring Operation: 44-4=40, Resulting Numbers: [39, 37, 40]
Generated Node #0,0: 37:[39, 37, 40] Operation: 44-4=40
Exploring Operation: 39+4=43, Resulting Numbers: [37, 44, 43]
Generated Node #0,1: 37:[37, 44, 43] Operation: 39+4=43
Exploring Operation: 39-4=35, Resulting Numbers: [37, 44, 35]
Generated Node #0,2: 37:[37, 44, 35] Operation: 39-4=35
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[39, 37, 40], Operations: ['44-4=40']
Exploring Operation: 40-37=3, Resulting Numbers: [39, 3]
Generated Node #0,0,0: 37:[39, 3] Operation: 40-37=3
Exploring Operation: 40-39=1, Resulting Numbers: [37, 1]
Generated Node #0,0,1: 37:[37, 1] Operation: 40-39=1
Exploring Operation: 39-37=2, Resulting Numbers: [40, 2]
Generated Node #0,0,2: 37:[40, 2] Operation: 39-37=2
Moving to Node #0,0,0
Current State: 37:[39, 3], Operations: ['44-4=40', '40-37=3']
Exploring Operation: 39-3=36, Resulting Numbers: [36]
36,37 unequal: No Solution
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,37 unequal: No Solution
Exploring Operation: 39+3=42, Resulting Numbers: [42]
42,37 unequal: No Solution
Moving to Node #0,0,1
Current State: 37:[37, 1], Operations: ['44-4=40', '40-39=1']
Exploring Operation: 37*1=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[39, 4, 37, 44], Operations: []
Exploring Operation: 44-4=40, Resulting Numbers: [39, 37, 40]
Generated Node #0,0: 37:[39, 37, 40] Operation: 44-4=40
Moving to Node #0,0
Current State: 37:[39, 37, 40], Operations: ['44-4=40']
Exploring Operation: 40-39=1, Resulting Numbers: [37, 1]
Generated Node #0,0,1: 37:[37, 1] Operation: 40-39=1
Moving to Node #0,0,1
Current State: 37:[37, 1], Operations: ['44-4=40', '40-39=1']
Exploring Operation: 37*1=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_3 | sum_heuristic |
[
16,
5,
7,
97
] | 69 | [
"16+5=21",
"97-7=90",
"90-21=69"
] | Current State: 69:[16, 5, 7, 97], Operations: []
Exploring Operation: 16+5=21, Resulting Numbers: [7, 97, 21]
Generated Node #2: [7, 97, 21] from Operation: 16+5=21
Current State: 69:[7, 97, 21], Operations: ['16+5=21']
Exploring Operation: 97-7=90, Resulting Numbers: [21, 90]
Generated Node #3: [21, 90] from Operation: 97-7=90
Current State: 69:[21, 90], Operations: ['16+5=21', '97-7=90']
Exploring Operation: 90-21=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[16, 5, 7, 97], Operations: []
Exploring Operation: 16+7=23, Resulting Numbers: [5, 97, 23]
Generated Node #0,0: 69:[5, 97, 23] Operation: 16+7=23
Exploring Operation: 97-16=81, Resulting Numbers: [5, 7, 81]
Generated Node #0,1: 69:[5, 7, 81] Operation: 97-16=81
Moving to Node #0,1
Current State: 69:[5, 7, 81], Operations: ['97-16=81']
Exploring Operation: 81-7=74, Resulting Numbers: [5, 74]
Generated Node #0,1,0: 69:[5, 74] Operation: 81-7=74
Exploring Operation: 81-5=76, Resulting Numbers: [7, 76]
Generated Node #0,1,1: 69:[7, 76] Operation: 81-5=76
Moving to Node #0,0
Current State: 69:[5, 97, 23], Operations: ['16+7=23']
Exploring Operation: 97-23=74, Resulting Numbers: [5, 74]
Generated Node #0,0,0: 69:[5, 74] Operation: 97-23=74
Exploring Operation: 97-5=92, Resulting Numbers: [23, 92]
Generated Node #0,0,1: 69:[23, 92] Operation: 97-5=92
Moving to Node #0,1,0
Current State: 69:[5, 74], Operations: ['97-16=81', '81-7=74']
Exploring Operation: 5+74=79, Resulting Numbers: [79]
79,69 unequal: No Solution
Exploring Operation: 74-5=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[16, 5, 7, 97], Operations: []
Exploring Operation: 97-16=81, Resulting Numbers: [5, 7, 81]
Generated Node #0,1: 69:[5, 7, 81] Operation: 97-16=81
Moving to Node #0,1
Current State: 69:[5, 7, 81], Operations: ['97-16=81']
Exploring Operation: 81-7=74, Resulting Numbers: [5, 74]
Generated Node #0,1,0: 69:[5, 74] Operation: 81-7=74
Moving to Node #0,1,0
Current State: 69:[5, 74], Operations: ['97-16=81', '81-7=74']
Exploring Operation: 74-5=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 0.989583 | hs_2 | sum_heuristic |
[
2,
70,
3,
90
] | 26 | [
"2*3=6",
"90-70=20",
"6+20=26"
] | Current State: 26:[2, 70, 3, 90], Operations: []
Exploring Operation: 2*3=6, Resulting Numbers: [70, 90, 6]
Generated Node #2: [70, 90, 6] from Operation: 2*3=6
Current State: 26:[70, 90, 6], Operations: ['2*3=6']
Exploring Operation: 90-70=20, Resulting Numbers: [6, 20]
Generated Node #3: [6, 20] from Operation: 90-70=20
Current State: 26:[6, 20], Operations: ['2*3=6', '90-70=20']
Exploring Operation: 6+20=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[2, 70, 3, 90], Operations: []
Exploring Operation: 90-70=20, Resulting Numbers: [2, 3, 20]
Generated Node #0,0: 26:[2, 3, 20] Operation: 90-70=20
Exploring Operation: 70-3=67, Resulting Numbers: [2, 90, 67]
Generated Node #0,1: 26:[2, 90, 67] Operation: 70-3=67
Exploring Operation: 90/3=30, Resulting Numbers: [2, 70, 30]
Generated Node #0,2: 26:[2, 70, 30] Operation: 90/3=30
Exploring Operation: 70/2=35, Resulting Numbers: [3, 90, 35]
Generated Node #0,3: 26:[3, 90, 35] Operation: 70/2=35
Exploring Operation: 90/2=45, Resulting Numbers: [70, 3, 45]
Generated Node #0,4: 26:[70, 3, 45] Operation: 90/2=45
Moving to Node #0,0
Current State: 26:[2, 3, 20], Operations: ['90-70=20']
Exploring Operation: 20-3=17, Resulting Numbers: [2, 17]
Generated Node #0,0,0: 26:[2, 17] Operation: 20-3=17
Exploring Operation: 3+20=23, Resulting Numbers: [2, 23]
Generated Node #0,0,1: 26:[2, 23] Operation: 3+20=23
Exploring Operation: 2+20=22, Resulting Numbers: [3, 22]
Generated Node #0,0,2: 26:[3, 22] Operation: 2+20=22
Exploring Operation: 20-2=18, Resulting Numbers: [3, 18]
Generated Node #0,0,3: 26:[3, 18] Operation: 20-2=18
Exploring Operation: 20/2=10, Resulting Numbers: [3, 10]
Generated Node #0,0,4: 26:[3, 10] Operation: 20/2=10
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 26:[2, 23], Operations: ['90-70=20', '3+20=23']
Exploring Operation: 2*23=46, Resulting Numbers: [46]
46,26 unequal: No Solution
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,26 unequal: No Solution
Exploring Operation: 2+23=25, Resulting Numbers: [25]
25,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 26:[2, 17], Operations: ['90-70=20', '20-3=17']
Exploring Operation: 2+17=19, Resulting Numbers: [19]
19,26 unequal: No Solution
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,26 unequal: No Solution
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 26:[3, 10], Operations: ['90-70=20', '20/2=10']
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,26 unequal: No Solution
Exploring Operation: 3+10=13, Resulting Numbers: [13]
13,26 unequal: No Solution
Exploring Operation: 3*10=30, Resulting Numbers: [30]
30,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 26:[3, 22], Operations: ['90-70=20', '2+20=22']
Exploring Operation: 3*22=66, Resulting Numbers: [66]
66,26 unequal: No Solution
Exploring Operation: 22-3=19, Resulting Numbers: [19]
19,26 unequal: No Solution
Exploring Operation: 3+22=25, Resulting Numbers: [25]
25,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 26:[3, 18], Operations: ['90-70=20', '20-2=18']
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,26 unequal: No Solution
Exploring Operation: 3*18=54, Resulting Numbers: [54]
54,26 unequal: No Solution
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,26 unequal: No Solution
Exploring Operation: 3+18=21, Resulting Numbers: [21]
21,26 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: 26:[2, 70, 30], Operations: ['90/3=30']
Exploring Operation: 30/2=15, Resulting Numbers: [70, 15]
Generated Node #0,2,0: 26:[70, 15] Operation: 30/2=15
Exploring Operation: 70/2=35, Resulting Numbers: [30, 35]
Generated Node #0,2,1: 26:[30, 35] Operation: 70/2=35
Exploring Operation: 30-2=28, Resulting Numbers: [70, 28]
Generated Node #0,2,2: 26:[70, 28] Operation: 30-2=28
Exploring Operation: 70-2=68, Resulting Numbers: [30, 68]
Generated Node #0,2,3: 26:[30, 68] Operation: 70-2=68
Exploring Operation: 70-30=40, Resulting Numbers: [2, 40]
Generated Node #0,2,4: 26:[2, 40] Operation: 70-30=40
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 26:[30, 35], Operations: ['90/3=30', '70/2=35']
Exploring Operation: 30*35=1050, Resulting Numbers: [1050]
1050,26 unequal: No Solution
Exploring Operation: 30+35=65, Resulting Numbers: [65]
65,26 unequal: No Solution
Exploring Operation: 35-30=5, Resulting Numbers: [5]
5,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 26:[2, 40], Operations: ['90/3=30', '70-30=40']
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,26 unequal: No Solution
Exploring Operation: 2+40=42, Resulting Numbers: [42]
42,26 unequal: No Solution
Exploring Operation: 2*40=80, Resulting Numbers: [80]
80,26 unequal: No Solution
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 26:[70, 15], Operations: ['90/3=30', '30/2=15']
Exploring Operation: 70*15=1050, Resulting Numbers: [1050]
1050,26 unequal: No Solution
Exploring Operation: 70-15=55, Resulting Numbers: [55]
55,26 unequal: No Solution
Exploring Operation: 70+15=85, Resulting Numbers: [85]
85,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 26:[70, 28], Operations: ['90/3=30', '30-2=28']
Exploring Operation: 70+28=98, Resulting Numbers: [98]
98,26 unequal: No Solution
Exploring Operation: 70*28=1960, Resulting Numbers: [1960]
1960,26 unequal: No Solution
Exploring Operation: 70-28=42, Resulting Numbers: [42]
42,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 26:[30, 68], Operations: ['90/3=30', '70-2=68']
Exploring Operation: 30+68=98, Resulting Numbers: [98]
98,26 unequal: No Solution
Exploring Operation: 68-30=38, Resulting Numbers: [38]
38,26 unequal: No Solution
Exploring Operation: 30*68=2040, Resulting Numbers: [2040]
2040,26 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: 26:[70, 3, 45], Operations: ['90/2=45']
Exploring Operation: 45-3=42, Resulting Numbers: [70, 42]
Generated Node #0,4,0: 26:[70, 42] Operation: 45-3=42
Exploring Operation: 70-45=25, Resulting Numbers: [3, 25]
Generated Node #0,4,1: 26:[3, 25] Operation: 70-45=25
Exploring Operation: 70+3=73, Resulting Numbers: [45, 73]
Generated Node #0,4,2: 26:[45, 73] Operation: 70+3=73
Exploring Operation: 45/3=15, Resulting Numbers: [70, 15]
Generated Node #0,4,3: 26:[70, 15] Operation: 45/3=15
Exploring Operation: 70-3=67, Resulting Numbers: [45, 67]
Generated Node #0,4,4: 26:[45, 67] Operation: 70-3=67
Moving to Node #0,3
Current State: 26:[3, 90, 35], Operations: ['70/2=35']
Exploring Operation: 35-3=32, Resulting Numbers: [90, 32]
Generated Node #0,3,0: 26:[90, 32] Operation: 35-3=32
Exploring Operation: 90-35=55, Resulting Numbers: [3, 55]
Generated Node #0,3,1: 26:[3, 55] Operation: 90-35=55
Exploring Operation: 90/3=30, Resulting Numbers: [35, 30]
Generated Node #0,3,2: 26:[35, 30] Operation: 90/3=30
Exploring Operation: 90-3=87, Resulting Numbers: [35, 87]
Generated Node #0,3,3: 26:[35, 87] Operation: 90-3=87
Exploring Operation: 3+90=93, Resulting Numbers: [35, 93]
Generated Node #0,3,4: 26:[35, 93] Operation: 3+90=93
Moving to Node #0,1
Current State: 26:[2, 90, 67], Operations: ['70-3=67']
Exploring Operation: 2+90=92, Resulting Numbers: [67, 92]
Generated Node #0,1,0: 26:[67, 92] Operation: 2+90=92
Exploring Operation: 67-2=65, Resulting Numbers: [90, 65]
Generated Node #0,1,1: 26:[90, 65] Operation: 67-2=65
Exploring Operation: 90/2=45, Resulting Numbers: [67, 45]
Generated Node #0,1,2: 26:[67, 45] Operation: 90/2=45
Exploring Operation: 90-2=88, Resulting Numbers: [67, 88]
Generated Node #0,1,3: 26:[67, 88] Operation: 90-2=88
Exploring Operation: 90-67=23, Resulting Numbers: [2, 23]
Generated Node #0,1,4: 26:[2, 23] Operation: 90-67=23
Moving to Node #0,4,1
Current State: 26:[3, 25], Operations: ['90/2=45', '70-45=25']
Exploring Operation: 3+25=28, Resulting Numbers: [28]
28,26 unequal: No Solution
Exploring Operation: 3*25=75, Resulting Numbers: [75]
75,26 unequal: No Solution
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,26 unequal: No Solution
Moving to Node #0,1,4
Current State: 26:[2, 23], Operations: ['70-3=67', '90-67=23']
Exploring Operation: 2+23=25, Resulting Numbers: [25]
25,26 unequal: No Solution
Exploring Operation: 2*23=46, Resulting Numbers: [46]
46,26 unequal: No Solution
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,26 unequal: No Solution
Moving to Node #0,3,2
Current State: 26:[35, 30], Operations: ['70/2=35', '90/3=30']
Exploring Operation: 35-30=5, Resulting Numbers: [5]
5,26 unequal: No Solution
Exploring Operation: 35*30=1050, Resulting Numbers: [1050]
1050,26 unequal: No Solution
Exploring Operation: 35+30=65, Resulting Numbers: [65]
65,26 unequal: No Solution
Moving to Node #0,3,1
Current State: 26:[3, 55], Operations: ['70/2=35', '90-35=55']
Exploring Operation: 55-3=52, Resulting Numbers: [52]
52,26 unequal: No Solution
Exploring Operation: 3*55=165, Resulting Numbers: [165]
165,26 unequal: No Solution
Exploring Operation: 3+55=58, Resulting Numbers: [58]
58,26 unequal: No Solution
Moving to Node #0,4,3
Current State: 26:[70, 15], Operations: ['90/2=45', '45/3=15']
Exploring Operation: 70+15=85, Resulting Numbers: [85]
85,26 unequal: No Solution
Exploring Operation: 70-15=55, Resulting Numbers: [55]
55,26 unequal: No Solution
Exploring Operation: 70*15=1050, Resulting Numbers: [1050]
1050,26 unequal: No Solution
Moving to Node #0,4,0
Current State: 26:[70, 42], Operations: ['90/2=45', '45-3=42']
Exploring Operation: 70+42=112, Resulting Numbers: [112]
112,26 unequal: No Solution
Exploring Operation: 70-42=28, Resulting Numbers: [28]
28,26 unequal: No Solution
Exploring Operation: 70*42=2940, Resulting Numbers: [2940]
2940,26 unequal: No Solution
Moving to Node #0,1,2
Current State: 26:[67, 45], Operations: ['70-3=67', '90/2=45']
Exploring Operation: 67-45=22, Resulting Numbers: [22]
22,26 unequal: No Solution
Exploring Operation: 67*45=3015, Resulting Numbers: [3015]
3015,26 unequal: No Solution
Exploring Operation: 67+45=112, Resulting Numbers: [112]
112,26 unequal: No Solution
Moving to Node #0,4,4
Current State: 26:[45, 67], Operations: ['90/2=45', '70-3=67']
Exploring Operation: 45*67=3015, Resulting Numbers: [3015]
3015,26 unequal: No Solution
Exploring Operation: 67-45=22, Resulting Numbers: [22]
22,26 unequal: No Solution
Exploring Operation: 45+67=112, Resulting Numbers: [112]
112,26 unequal: No Solution
Moving to Node #0,4,2
Current State: 26:[45, 73], Operations: ['90/2=45', '70+3=73']
Exploring Operation: 73-45=28, Resulting Numbers: [28]
28,26 unequal: No Solution
Exploring Operation: 45+73=118, Resulting Numbers: [118]
118,26 unequal: No Solution
Exploring Operation: 45*73=3285, Resulting Numbers: [3285]
3285,26 unequal: No Solution
Moving to Node #0,3,3
Current State: 26:[35, 87], Operations: ['70/2=35', '90-3=87']
Exploring Operation: 35*87=3045, Resulting Numbers: [3045]
3045,26 unequal: No Solution
Exploring Operation: 87-35=52, Resulting Numbers: [52]
52,26 unequal: No Solution
Exploring Operation: 35+87=122, Resulting Numbers: [122]
122,26 unequal: No Solution
Moving to Node #0,3,0
Current State: 26:[90, 32], Operations: ['70/2=35', '35-3=32']
Exploring Operation: 90*32=2880, Resulting Numbers: [2880]
2880,26 unequal: No Solution
Exploring Operation: 90-32=58, Resulting Numbers: [58]
58,26 unequal: No Solution
Exploring Operation: 90+32=122, Resulting Numbers: [122]
122,26 unequal: No Solution
Moving to Node #0,3,4
Current State: 26:[35, 93], Operations: ['70/2=35', '3+90=93']
Exploring Operation: 35+93=128, Resulting Numbers: [128]
128,26 unequal: No Solution
Exploring Operation: 35*93=3255, Resulting Numbers: [3255]
3255,26 unequal: No Solution
Exploring Operation: 93-35=58, Resulting Numbers: [58]
58,26 unequal: No Solution
Moving to Node #0,1,1
Current State: 26:[90, 65], Operations: ['70-3=67', '67-2=65']
Exploring Operation: 90+65=155, Resulting Numbers: [155]
155,26 unequal: No Solution
Exploring Operation: 90*65=5850, Resulting Numbers: [5850]
5850,26 unequal: No Solution
Exploring Operation: 90-65=25, Resulting Numbers: [25]
25,26 unequal: No Solution
Moving to Node #0,1,3
Current State: 26:[67, 88], Operations: ['70-3=67', '90-2=88']
Exploring Operation: 88-67=21, Resulting Numbers: [21]
21,26 unequal: No Solution
Exploring Operation: 67+88=155, Resulting Numbers: [155]
155,26 unequal: No Solution
Exploring Operation: 67*88=5896, Resulting Numbers: [5896]
5896,26 unequal: No Solution
Moving to Node #0,1,0
Current State: 26:[67, 92], Operations: ['70-3=67', '2+90=92']
Exploring Operation: 92-67=25, Resulting Numbers: [25]
25,26 unequal: No Solution
Exploring Operation: 67*92=6164, Resulting Numbers: [6164]
6164,26 unequal: No Solution
Exploring Operation: 67+92=159, Resulting Numbers: [159]
159,26 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
27,
14,
43,
18
] | 90 | [
"27+43=70",
"70/14=5",
"18*5=90"
] | Current State: 90:[27, 14, 43, 18], Operations: []
Exploring Operation: 27+43=70, Resulting Numbers: [14, 18, 70]
Generated Node #2: [14, 18, 70] from Operation: 27+43=70
Current State: 90:[14, 18, 70], Operations: ['27+43=70']
Exploring Operation: 70/14=5, Resulting Numbers: [18, 5]
Generated Node #3: [18, 5] from Operation: 70/14=5
Current State: 90:[18, 5], Operations: ['27+43=70', '70/14=5']
Exploring Operation: 18*5=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[27, 14, 43, 18], Operations: []
Exploring Operation: 43-27=16, Resulting Numbers: [14, 18, 16]
Generated Node #0,0: 90:[14, 18, 16] Operation: 43-27=16
Exploring Operation: 27+18=45, Resulting Numbers: [14, 43, 45]
Generated Node #0,1: 90:[14, 43, 45] Operation: 27+18=45
Exploring Operation: 27-18=9, Resulting Numbers: [14, 43, 9]
Generated Node #0,2: 90:[14, 43, 9] Operation: 27-18=9
Moving to Node #0,0
Current State: 90:[14, 18, 16], Operations: ['43-27=16']
Exploring Operation: 14+16=30, Resulting Numbers: [18, 30]
Generated Node #0,0,0: 90:[18, 30] Operation: 14+16=30
Exploring Operation: 18-16=2, Resulting Numbers: [14, 2]
Generated Node #0,0,1: 90:[14, 2] Operation: 18-16=2
Exploring Operation: 16-14=2, Resulting Numbers: [18, 2]
Generated Node #0,0,2: 90:[18, 2] Operation: 16-14=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 90:[18, 30], Operations: ['43-27=16', '14+16=30']
Exploring Operation: 30-18=12, Resulting Numbers: [12]
12,90 unequal: No Solution
Exploring Operation: 18*30=540, Resulting Numbers: [540]
540,90 unequal: No Solution
Exploring Operation: 18+30=48, Resulting Numbers: [48]
48,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 90:[18, 2], Operations: ['43-27=16', '16-14=2']
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,90 unequal: No Solution
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,90 unequal: No Solution
Exploring Operation: 18+2=20, Resulting Numbers: [20]
20,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 90:[14, 2], Operations: ['43-27=16', '18-16=2']
Exploring Operation: 14+2=16, Resulting Numbers: [16]
16,90 unequal: No Solution
Exploring Operation: 14*2=28, Resulting Numbers: [28]
28,90 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,90 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: 90:[14, 43, 45], Operations: ['27+18=45']
Exploring Operation: 43-14=29, Resulting Numbers: [45, 29]
Generated Node #0,1,0: 90:[45, 29] Operation: 43-14=29
Exploring Operation: 45-14=31, Resulting Numbers: [43, 31]
Generated Node #0,1,1: 90:[43, 31] Operation: 45-14=31
Exploring Operation: 45-43=2, Resulting Numbers: [14, 2]
Generated Node #0,1,2: 90:[14, 2] Operation: 45-43=2
Moving to Node #0,2
Current State: 90:[14, 43, 9], Operations: ['27-18=9']
Exploring Operation: 43-14=29, Resulting Numbers: [9, 29]
Generated Node #0,2,0: 90:[9, 29] Operation: 43-14=29
Exploring Operation: 14-9=5, Resulting Numbers: [43, 5]
Generated Node #0,2,1: 90:[43, 5] Operation: 14-9=5
Exploring Operation: 43-9=34, Resulting Numbers: [14, 34]
Generated Node #0,2,2: 90:[14, 34] Operation: 43-9=34
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 90:[9, 29], Operations: ['27-18=9', '43-14=29']
Exploring Operation: 29-9=20, Resulting Numbers: [20]
20,90 unequal: No Solution
Exploring Operation: 9+29=38, Resulting Numbers: [38]
38,90 unequal: No Solution
Exploring Operation: 9*29=261, Resulting Numbers: [261]
261,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 90:[43, 5], Operations: ['27-18=9', '14-9=5']
Exploring Operation: 43+5=48, Resulting Numbers: [48]
48,90 unequal: No Solution
Exploring Operation: 43-5=38, Resulting Numbers: [38]
38,90 unequal: No Solution
Exploring Operation: 43*5=215, Resulting Numbers: [215]
215,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 90:[14, 34], Operations: ['27-18=9', '43-9=34']
Exploring Operation: 34-14=20, Resulting Numbers: [20]
20,90 unequal: No Solution
Exploring Operation: 14*34=476, Resulting Numbers: [476]
476,90 unequal: No Solution
Exploring Operation: 14+34=48, Resulting Numbers: [48]
48,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 90:[45, 29], Operations: ['27+18=45', '43-14=29']
Exploring Operation: 45+29=74, Resulting Numbers: [74]
74,90 unequal: No Solution
Exploring Operation: 45-29=16, Resulting Numbers: [16]
16,90 unequal: No Solution
Exploring Operation: 45*29=1305, Resulting Numbers: [1305]
1305,90 unequal: No Solution
Moving to Node #0,1,2
Current State: 90:[14, 2], Operations: ['27+18=45', '45-43=2']
Exploring Operation: 14+2=16, Resulting Numbers: [16]
16,90 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,90 unequal: No Solution
Exploring Operation: 14*2=28, Resulting Numbers: [28]
28,90 unequal: No Solution
Moving to Node #0,1,1
Current State: 90:[43, 31], Operations: ['27+18=45', '45-14=31']
Exploring Operation: 43+31=74, Resulting Numbers: [74]
74,90 unequal: No Solution
Exploring Operation: 43*31=1333, Resulting Numbers: [1333]
1333,90 unequal: No Solution
Exploring Operation: 43-31=12, Resulting Numbers: [12]
12,90 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
95,
83,
66,
9
] | 63 | [
"95-83=12",
"66+9=75",
"75-12=63"
] | Current State: 63:[95, 83, 66, 9], Operations: []
Exploring Operation: 95-83=12, Resulting Numbers: [66, 9, 12]
Generated Node #2: [66, 9, 12] from Operation: 95-83=12
Current State: 63:[66, 9, 12], Operations: ['95-83=12']
Exploring Operation: 66+9=75, Resulting Numbers: [12, 75]
Generated Node #3: [12, 75] from Operation: 66+9=75
Current State: 63:[12, 75], Operations: ['95-83=12', '66+9=75']
Exploring Operation: 75-12=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[95, 83, 66, 9], Operations: []
Exploring Operation: 95-83=12, Resulting Numbers: [66, 9, 12]
Generated Node #0,0: 63:[66, 9, 12] Operation: 95-83=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[66, 9, 12], Operations: ['95-83=12']
Exploring Operation: 9+12=21, Resulting Numbers: [66, 21]
Generated Node #0,0,0: 63:[66, 21] Operation: 9+12=21
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 63:[66, 21], Operations: ['95-83=12', '9+12=21']
Exploring Operation: 66-21=45, Resulting Numbers: [45]
45,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
No solution found.
| 0 | hs_1 | sum_heuristic |
[
60,
64,
86,
83
] | 45 | [
"60+64=124",
"86+83=169",
"169-124=45"
] | Current State: 45:[60, 64, 86, 83], Operations: []
Exploring Operation: 60+64=124, Resulting Numbers: [86, 83, 124]
Generated Node #2: [86, 83, 124] from Operation: 60+64=124
Current State: 45:[86, 83, 124], Operations: ['60+64=124']
Exploring Operation: 86+83=169, Resulting Numbers: [124, 169]
Generated Node #3: [124, 169] from Operation: 86+83=169
Current State: 45:[124, 169], Operations: ['60+64=124', '86+83=169']
Exploring Operation: 169-124=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[60, 64, 86, 83], Operations: []
Exploring Operation: 86-83=3, Resulting Numbers: [60, 64, 3]
Generated Node #0,0: 45:[60, 64, 3] Operation: 86-83=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 45:[60, 64, 3], Operations: ['86-83=3']
Exploring Operation: 64-60=4, Resulting Numbers: [3, 4]
Generated Node #0,0,0: 45:[3, 4] Operation: 64-60=4
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 45:[3, 4], Operations: ['86-83=3', '64-60=4']
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,45 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 |
[
78,
86,
48,
2
] | 44 | [
"86-78=8",
"8/2=4",
"48-4=44"
] | Current State: 44:[78, 86, 48, 2], Operations: []
Exploring Operation: 86-78=8, Resulting Numbers: [48, 2, 8]
Generated Node #2: [48, 2, 8] from Operation: 86-78=8
Current State: 44:[48, 2, 8], Operations: ['86-78=8']
Exploring Operation: 8/2=4, Resulting Numbers: [48, 4]
Generated Node #3: [48, 4] from Operation: 8/2=4
Current State: 44:[48, 4], Operations: ['86-78=8', '8/2=4']
Exploring Operation: 48-4=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[78, 86, 48, 2], Operations: []
Exploring Operation: 86-78=8, Resulting Numbers: [48, 2, 8]
Generated Node #0,0: 44:[48, 2, 8] Operation: 86-78=8
Exploring Operation: 86/2=43, Resulting Numbers: [78, 48, 43]
Generated Node #0,1: 44:[78, 48, 43] Operation: 86/2=43
Start Sub Search at level 1: Moving to Node #0,0
Current State: 44:[48, 2, 8], Operations: ['86-78=8']
Exploring Operation: 48-8=40, Resulting Numbers: [2, 40]
Generated Node #0,0,0: 44:[2, 40] Operation: 48-8=40
Exploring Operation: 48/8=6, Resulting Numbers: [2, 6]
Generated Node #0,0,1: 44:[2, 6] Operation: 48/8=6
Moving to Node #0,0,1
Current State: 44:[2, 6], Operations: ['86-78=8', '48/8=6']
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,44 unequal: No Solution
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,44 unequal: No Solution
Moving to Node #0,0,0
Current State: 44:[2, 40], Operations: ['86-78=8', '48-8=40']
Exploring Operation: 2+40=42, Resulting Numbers: [42]
42,44 unequal: No Solution
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 44:[78, 48, 43], Operations: ['86/2=43']
Exploring Operation: 78-48=30, Resulting Numbers: [43, 30]
Generated Node #0,1,0: 44:[43, 30] Operation: 78-48=30
Exploring Operation: 78-43=35, Resulting Numbers: [48, 35]
Generated Node #0,1,1: 44:[48, 35] Operation: 78-43=35
Moving to Node #0,1,0
Current State: 44:[43, 30], Operations: ['86/2=43', '78-48=30']
Exploring Operation: 43+30=73, Resulting Numbers: [73]
73,44 unequal: No Solution
Exploring Operation: 43-30=13, Resulting Numbers: [13]
13,44 unequal: No Solution
Moving to Node #0,1,1
Current State: 44:[48, 35], Operations: ['86/2=43', '78-43=35']
Exploring Operation: 48-35=13, Resulting Numbers: [13]
13,44 unequal: No Solution
Exploring Operation: 48+35=83, Resulting Numbers: [83]
83,44 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 |
[
67,
92,
22,
24
] | 50 | [
"92-67=25",
"24-22=2",
"25*2=50"
] | Current State: 50:[67, 92, 22, 24], Operations: []
Exploring Operation: 92-67=25, Resulting Numbers: [22, 24, 25]
Generated Node #2: [22, 24, 25] from Operation: 92-67=25
Current State: 50:[22, 24, 25], Operations: ['92-67=25']
Exploring Operation: 24-22=2, Resulting Numbers: [25, 2]
Generated Node #3: [25, 2] from Operation: 24-22=2
Current State: 50:[25, 2], Operations: ['92-67=25', '24-22=2']
Exploring Operation: 25*2=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[67, 92, 22, 24], Operations: []
Exploring Operation: 92-67=25, Resulting Numbers: [22, 24, 25]
Generated Node #0,0: 50:[22, 24, 25] Operation: 92-67=25
Exploring Operation: 92-22=70, Resulting Numbers: [67, 24, 70]
Generated Node #0,1: 50:[67, 24, 70] Operation: 92-22=70
Moving to Node #0,0
Current State: 50:[22, 24, 25], Operations: ['92-67=25']
Exploring Operation: 24-22=2, Resulting Numbers: [25, 2]
Generated Node #0,0,0: 50:[25, 2] Operation: 24-22=2
Exploring Operation: 25-22=3, Resulting Numbers: [24, 3]
Generated Node #0,0,1: 50:[24, 3] Operation: 25-22=3
Moving to Node #0,1
Current State: 50:[67, 24, 70], Operations: ['92-22=70']
Exploring Operation: 70-24=46, Resulting Numbers: [67, 46]
Generated Node #0,1,0: 50:[67, 46] Operation: 70-24=46
Exploring Operation: 70-67=3, Resulting Numbers: [24, 3]
Generated Node #0,1,1: 50:[24, 3] Operation: 70-67=3
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 50:[24, 3], Operations: ['92-22=70', '70-67=3']
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,50 unequal: No Solution
Exploring Operation: 24+3=27, Resulting Numbers: [27]
27,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 50:[67, 46], Operations: ['92-22=70', '70-24=46']
Exploring Operation: 67+46=113, Resulting Numbers: [113]
113,50 unequal: No Solution
Exploring Operation: 67-46=21, Resulting Numbers: [21]
21,50 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: 50:[25, 2], Operations: ['92-67=25', '24-22=2']
Exploring Operation: 25*2=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[67, 92, 22, 24], Operations: []
Exploring Operation: 92-67=25, Resulting Numbers: [22, 24, 25]
Generated Node #0,0: 50:[22, 24, 25] Operation: 92-67=25
Moving to Node #0,0
Current State: 50:[22, 24, 25], Operations: ['92-67=25']
Exploring Operation: 24-22=2, Resulting Numbers: [25, 2]
Generated Node #0,0,0: 50:[25, 2] Operation: 24-22=2
Moving to Node #0,0,0
Current State: 50:[25, 2], Operations: ['92-67=25', '24-22=2']
Exploring Operation: 25*2=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 0.986979 | hs_2 | mult_heuristic |
[
2,
90,
40,
24
] | 98 | [
"2*24=48",
"90-40=50",
"48+50=98"
] | Current State: 98:[2, 90, 40, 24], Operations: []
Exploring Operation: 2*24=48, Resulting Numbers: [90, 40, 48]
Generated Node #2: [90, 40, 48] from Operation: 2*24=48
Current State: 98:[90, 40, 48], Operations: ['2*24=48']
Exploring Operation: 90-40=50, Resulting Numbers: [48, 50]
Generated Node #3: [48, 50] from Operation: 90-40=50
Current State: 98:[48, 50], Operations: ['2*24=48', '90-40=50']
Exploring Operation: 48+50=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[2, 90, 40, 24], Operations: []
Exploring Operation: 24/2=12, Resulting Numbers: [90, 40, 12]
Generated Node #0,0: 98:[90, 40, 12] Operation: 24/2=12
Exploring Operation: 90-40=50, Resulting Numbers: [2, 24, 50]
Generated Node #0,1: 98:[2, 24, 50] Operation: 90-40=50
Exploring Operation: 40-24=16, Resulting Numbers: [2, 90, 16]
Generated Node #0,2: 98:[2, 90, 16] Operation: 40-24=16
Exploring Operation: 2*24=48, Resulting Numbers: [90, 40, 48]
Generated Node #0,3: 98:[90, 40, 48] Operation: 2*24=48
Start Sub Search at level 1: Moving to Node #0,2
Current State: 98:[2, 90, 16], Operations: ['40-24=16']
Exploring Operation: 90/2=45, Resulting Numbers: [16, 45]
Generated Node #0,2,0: 98:[16, 45] Operation: 90/2=45
Exploring Operation: 16-2=14, Resulting Numbers: [90, 14]
Generated Node #0,2,1: 98:[90, 14] Operation: 16-2=14
Exploring Operation: 90+16=106, Resulting Numbers: [2, 106]
Generated Node #0,2,2: 98:[2, 106] Operation: 90+16=106
Exploring Operation: 2+90=92, Resulting Numbers: [16, 92]
Generated Node #0,2,3: 98:[16, 92] Operation: 2+90=92
Moving to Node #0,2,0
Current State: 98:[16, 45], Operations: ['40-24=16', '90/2=45']
Exploring Operation: 16*45=720, Resulting Numbers: [720]
720,98 unequal: No Solution
Exploring Operation: 16+45=61, Resulting Numbers: [61]
61,98 unequal: No Solution
Exploring Operation: 45-16=29, Resulting Numbers: [29]
29,98 unequal: No Solution
Moving to Node #0,2,2
Current State: 98:[2, 106], Operations: ['40-24=16', '90+16=106']
Exploring Operation: 2*106=212, Resulting Numbers: [212]
212,98 unequal: No Solution
Exploring Operation: 106/2=53, Resulting Numbers: [53]
53,98 unequal: No Solution
Exploring Operation: 106-2=104, Resulting Numbers: [104]
104,98 unequal: No Solution
Exploring Operation: 2+106=108, Resulting Numbers: [108]
108,98 unequal: No Solution
Moving to Node #0,2,1
Current State: 98:[90, 14], Operations: ['40-24=16', '16-2=14']
Exploring Operation: 90+14=104, Resulting Numbers: [104]
104,98 unequal: No Solution
Exploring Operation: 90*14=1260, Resulting Numbers: [1260]
1260,98 unequal: No Solution
Exploring Operation: 90-14=76, Resulting Numbers: [76]
76,98 unequal: No Solution
Moving to Node #0,2,3
Current State: 98:[16, 92], Operations: ['40-24=16', '2+90=92']
Exploring Operation: 16+92=108, Resulting Numbers: [108]
108,98 unequal: No Solution
Exploring Operation: 16*92=1472, Resulting Numbers: [1472]
1472,98 unequal: No Solution
Exploring Operation: 92-16=76, Resulting Numbers: [76]
76,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 98:[2, 24, 50], Operations: ['90-40=50']
Exploring Operation: 24-2=22, Resulting Numbers: [50, 22]
Generated Node #0,1,0: 98:[50, 22] Operation: 24-2=22
Exploring Operation: 2*24=48, Resulting Numbers: [50, 48]
Generated Node #0,1,1: 98:[50, 48] Operation: 2*24=48
Exploring Operation: 24/2=12, Resulting Numbers: [50, 12]
Generated Node #0,1,2: 98:[50, 12] Operation: 24/2=12
Exploring Operation: 50-2=48, Resulting Numbers: [24, 48]
Generated Node #0,1,3: 98:[24, 48] Operation: 50-2=48
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 98:[50, 48], Operations: ['90-40=50', '2*24=48']
Exploring Operation: 50*48=2400, Resulting Numbers: [2400]
2400,98 unequal: No Solution
Exploring Operation: 50+48=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[2, 90, 40, 24], Operations: []
Exploring Operation: 90-40=50, Resulting Numbers: [2, 24, 50]
Generated Node #0,1: 98:[2, 24, 50] Operation: 90-40=50
Moving to Node #0,1
Current State: 98:[2, 24, 50], Operations: ['90-40=50']
Exploring Operation: 2*24=48, Resulting Numbers: [50, 48]
Generated Node #0,1,1: 98:[50, 48] Operation: 2*24=48
Moving to Node #0,1,1
Current State: 98:[50, 48], Operations: ['90-40=50', '2*24=48']
Exploring Operation: 50+48=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.97309 | hs_4 | mult_heuristic |
[
10,
2,
82,
52
] | 20 | [
"10+82=92",
"92-52=40",
"40/2=20"
] | Current State: 20:[10, 2, 82, 52], Operations: []
Exploring Operation: 10+82=92, Resulting Numbers: [2, 52, 92]
Generated Node #2: [2, 52, 92] from Operation: 10+82=92
Current State: 20:[2, 52, 92], Operations: ['10+82=92']
Exploring Operation: 92-52=40, Resulting Numbers: [2, 40]
Generated Node #3: [2, 40] from Operation: 92-52=40
Current State: 20:[2, 40], Operations: ['10+82=92', '92-52=40']
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[10, 2, 82, 52], Operations: []
Exploring Operation: 82-52=30, Resulting Numbers: [10, 2, 30]
Generated Node #0,0: 20:[10, 2, 30] Operation: 82-52=30
Exploring Operation: 82/2=41, Resulting Numbers: [10, 52, 41]
Generated Node #0,1: 20:[10, 52, 41] Operation: 82/2=41
Moving to Node #0,0
Current State: 20:[10, 2, 30], Operations: ['82-52=30']
Exploring Operation: 30-10=20, Resulting Numbers: [2, 20]
Generated Node #0,0,0: 20:[2, 20] Operation: 30-10=20
Exploring Operation: 30/10=3, Resulting Numbers: [2, 3]
Generated Node #0,0,1: 20:[2, 3] Operation: 30/10=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 20:[2, 20], Operations: ['82-52=30', '30-10=20']
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,20 unequal: No Solution
Exploring Operation: 2+20=22, Resulting Numbers: [22]
22,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,0,1
Current State: 20:[2, 3], Operations: ['82-52=30', '30/10=3']
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,20 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,20 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: 20:[10, 52, 41], Operations: ['82/2=41']
Exploring Operation: 52-10=42, Resulting Numbers: [41, 42]
Generated Node #0,1,0: 20:[41, 42] Operation: 52-10=42
Exploring Operation: 52-41=11, Resulting Numbers: [10, 11]
Generated Node #0,1,1: 20:[10, 11] Operation: 52-41=11
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 20:[10, 11], Operations: ['82/2=41', '52-41=11']
Exploring Operation: 11-10=1, Resulting Numbers: [1]
1,20 unequal: No Solution
Exploring Operation: 10+11=21, Resulting Numbers: [21]
21,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:[41, 42], Operations: ['82/2=41', '52-10=42']
Exploring Operation: 41+42=83, Resulting Numbers: [83]
83,20 unequal: No Solution
Exploring Operation: 42-41=1, Resulting Numbers: [1]
1,20 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 |
[
64,
50,
28,
27
] | 34 | [
"64*27=1728",
"1728-28=1700",
"1700/50=34"
] | Current State: 34:[64, 50, 28, 27], Operations: []
Exploring Operation: 64*27=1728, Resulting Numbers: [50, 28, 1728]
Generated Node #2: [50, 28, 1728] from Operation: 64*27=1728
Current State: 34:[50, 28, 1728], Operations: ['64*27=1728']
Exploring Operation: 1728-28=1700, Resulting Numbers: [50, 1700]
Generated Node #3: [50, 1700] from Operation: 1728-28=1700
Current State: 34:[50, 1700], Operations: ['64*27=1728', '1728-28=1700']
Exploring Operation: 1700/50=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[64, 50, 28, 27], Operations: []
Exploring Operation: 64-50=14, Resulting Numbers: [28, 27, 14]
Generated Node #0,0: 34:[28, 27, 14] Operation: 64-50=14
Exploring Operation: 64-28=36, Resulting Numbers: [50, 27, 36]
Generated Node #0,1: 34:[50, 27, 36] Operation: 64-28=36
Exploring Operation: 64-27=37, Resulting Numbers: [50, 28, 37]
Generated Node #0,2: 34:[50, 28, 37] Operation: 64-27=37
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[28, 27, 14], Operations: ['64-50=14']
Exploring Operation: 28/14=2, Resulting Numbers: [27, 2]
Generated Node #0,0,0: 34:[27, 2] Operation: 28/14=2
Exploring Operation: 28-27=1, Resulting Numbers: [14, 1]
Generated Node #0,0,1: 34:[14, 1] Operation: 28-27=1
Exploring Operation: 28-14=14, Resulting Numbers: [27, 14]
Generated Node #0,0,2: 34:[27, 14] Operation: 28-14=14
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 34:[14, 1], Operations: ['64-50=14', '28-27=1']
Exploring Operation: 14+1=15, Resulting Numbers: [15]
15,34 unequal: No Solution
Exploring Operation: 14/1=14, Resulting Numbers: [14]
14,34 unequal: No Solution
Exploring Operation: 14*1=14, Resulting Numbers: [14]
14,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 34:[27, 2], Operations: ['64-50=14', '28/14=2']
Exploring Operation: 27*2=54, Resulting Numbers: [54]
54,34 unequal: No Solution
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,34 unequal: No Solution
Exploring Operation: 27+2=29, Resulting Numbers: [29]
29,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 34:[27, 14], Operations: ['64-50=14', '28-14=14']
Exploring Operation: 27-14=13, Resulting Numbers: [13]
13,34 unequal: No Solution
Exploring Operation: 27+14=41, Resulting Numbers: [41]
41,34 unequal: No Solution
Exploring Operation: 27*14=378, Resulting Numbers: [378]
378,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 34:[50, 27, 36], Operations: ['64-28=36']
Exploring Operation: 50-27=23, Resulting Numbers: [36, 23]
Generated Node #0,1,0: 34:[36, 23] Operation: 50-27=23
Exploring Operation: 36-27=9, Resulting Numbers: [50, 9]
Generated Node #0,1,1: 34:[50, 9] Operation: 36-27=9
Exploring Operation: 50-36=14, Resulting Numbers: [27, 14]
Generated Node #0,1,2: 34:[27, 14] Operation: 50-36=14
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 34:[36, 23], Operations: ['64-28=36', '50-27=23']
Exploring Operation: 36-23=13, Resulting Numbers: [13]
13,34 unequal: No Solution
Exploring Operation: 36+23=59, Resulting Numbers: [59]
59,34 unequal: No Solution
Exploring Operation: 36*23=828, Resulting Numbers: [828]
828,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 34:[27, 14], Operations: ['64-28=36', '50-36=14']
Exploring Operation: 27+14=41, Resulting Numbers: [41]
41,34 unequal: No Solution
Exploring Operation: 27-14=13, Resulting Numbers: [13]
13,34 unequal: No Solution
Exploring Operation: 27*14=378, Resulting Numbers: [378]
378,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 34:[50, 9], Operations: ['64-28=36', '36-27=9']
Exploring Operation: 50-9=41, Resulting Numbers: [41]
41,34 unequal: No Solution
Exploring Operation: 50+9=59, Resulting Numbers: [59]
59,34 unequal: No Solution
Exploring Operation: 50*9=450, Resulting Numbers: [450]
450,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 34:[50, 28, 37], Operations: ['64-27=37']
Exploring Operation: 50-37=13, Resulting Numbers: [28, 13]
Generated Node #0,2,0: 34:[28, 13] Operation: 50-37=13
Exploring Operation: 50-28=22, Resulting Numbers: [37, 22]
Generated Node #0,2,1: 34:[37, 22] Operation: 50-28=22
Exploring Operation: 37-28=9, Resulting Numbers: [50, 9]
Generated Node #0,2,2: 34:[50, 9] Operation: 37-28=9
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 34:[37, 22], Operations: ['64-27=37', '50-28=22']
Exploring Operation: 37+22=59, Resulting Numbers: [59]
59,34 unequal: No Solution
Exploring Operation: 37-22=15, Resulting Numbers: [15]
15,34 unequal: No Solution
Exploring Operation: 37*22=814, Resulting Numbers: [814]
814,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 34:[28, 13], Operations: ['64-27=37', '50-37=13']
Exploring Operation: 28-13=15, Resulting Numbers: [15]
15,34 unequal: No Solution
Exploring Operation: 28+13=41, Resulting Numbers: [41]
41,34 unequal: No Solution
Exploring Operation: 28*13=364, Resulting Numbers: [364]
364,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 34:[50, 9], Operations: ['64-27=37', '37-28=9']
Exploring Operation: 50+9=59, Resulting Numbers: [59]
59,34 unequal: No Solution
Exploring Operation: 50-9=41, Resulting Numbers: [41]
41,34 unequal: No Solution
Exploring Operation: 50*9=450, Resulting Numbers: [450]
450,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
25,
56,
30,
90
] | 89 | [
"56-25=31",
"30+90=120",
"120-31=89"
] | Current State: 89:[25, 56, 30, 90], Operations: []
Exploring Operation: 56-25=31, Resulting Numbers: [30, 90, 31]
Generated Node #2: [30, 90, 31] from Operation: 56-25=31
Current State: 89:[30, 90, 31], Operations: ['56-25=31']
Exploring Operation: 30+90=120, Resulting Numbers: [31, 120]
Generated Node #3: [31, 120] from Operation: 30+90=120
Current State: 89:[31, 120], Operations: ['56-25=31', '30+90=120']
Exploring Operation: 120-31=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[25, 56, 30, 90], Operations: []
Exploring Operation: 90-25=65, Resulting Numbers: [56, 30, 65]
Generated Node #0,0: 89:[56, 30, 65] Operation: 90-25=65
Exploring Operation: 56-25=31, Resulting Numbers: [30, 90, 31]
Generated Node #0,1: 89:[30, 90, 31] Operation: 56-25=31
Exploring Operation: 25+56=81, Resulting Numbers: [30, 90, 81]
Generated Node #0,2: 89:[30, 90, 81] Operation: 25+56=81
Exploring Operation: 56+30=86, Resulting Numbers: [25, 90, 86]
Generated Node #0,3: 89:[25, 90, 86] Operation: 56+30=86
Exploring Operation: 25+30=55, Resulting Numbers: [56, 90, 55]
Generated Node #0,4: 89:[56, 90, 55] Operation: 25+30=55
Start Sub Search at level 1: Moving to Node #0,2
Current State: 89:[30, 90, 81], Operations: ['25+56=81']
Exploring Operation: 81-30=51, Resulting Numbers: [90, 51]
Generated Node #0,2,0: 89:[90, 51] Operation: 81-30=51
Exploring Operation: 30+81=111, Resulting Numbers: [90, 111]
Generated Node #0,2,1: 89:[90, 111] Operation: 30+81=111
Exploring Operation: 30+90=120, Resulting Numbers: [81, 120]
Generated Node #0,2,2: 89:[81, 120] Operation: 30+90=120
Exploring Operation: 90/30=3, Resulting Numbers: [81, 3]
Generated Node #0,2,3: 89:[81, 3] Operation: 90/30=3
Exploring Operation: 90-30=60, Resulting Numbers: [81, 60]
Generated Node #0,2,4: 89:[81, 60] Operation: 90-30=60
Moving to Node #0,2,1
Current State: 89:[90, 111], Operations: ['25+56=81', '30+81=111']
Exploring Operation: 90*111=9990, Resulting Numbers: [9990]
9990,89 unequal: No Solution
Exploring Operation: 111-90=21, Resulting Numbers: [21]
21,89 unequal: No Solution
Exploring Operation: 90+111=201, Resulting Numbers: [201]
201,89 unequal: No Solution
Moving to Node #0,2,4
Current State: 89:[81, 60], Operations: ['25+56=81', '90-30=60']
Exploring Operation: 81*60=4860, Resulting Numbers: [4860]
4860,89 unequal: No Solution
Exploring Operation: 81+60=141, Resulting Numbers: [141]
141,89 unequal: No Solution
Exploring Operation: 81-60=21, Resulting Numbers: [21]
21,89 unequal: No Solution
Moving to Node #0,2,0
Current State: 89:[90, 51], Operations: ['25+56=81', '81-30=51']
Exploring Operation: 90*51=4590, Resulting Numbers: [4590]
4590,89 unequal: No Solution
Exploring Operation: 90+51=141, Resulting Numbers: [141]
141,89 unequal: No Solution
Exploring Operation: 90-51=39, Resulting Numbers: [39]
39,89 unequal: No Solution
Moving to Node #0,2,2
Current State: 89:[81, 120], Operations: ['25+56=81', '30+90=120']
Exploring Operation: 81*120=9720, Resulting Numbers: [9720]
9720,89 unequal: No Solution
Exploring Operation: 81+120=201, Resulting Numbers: [201]
201,89 unequal: No Solution
Exploring Operation: 120-81=39, Resulting Numbers: [39]
39,89 unequal: No Solution
Moving to Node #0,2,3
Current State: 89:[81, 3], Operations: ['25+56=81', '90/30=3']
Exploring Operation: 81+3=84, Resulting Numbers: [84]
84,89 unequal: No Solution
Exploring Operation: 81-3=78, Resulting Numbers: [78]
78,89 unequal: No Solution
Exploring Operation: 81*3=243, Resulting Numbers: [243]
243,89 unequal: No Solution
Exploring Operation: 81/3=27, Resulting Numbers: [27]
27,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 89:[25, 90, 86], Operations: ['56+30=86']
Exploring Operation: 25+86=111, Resulting Numbers: [90, 111]
Generated Node #0,3,0: 89:[90, 111] Operation: 25+86=111
Exploring Operation: 90-86=4, Resulting Numbers: [25, 4]
Generated Node #0,3,1: 89:[25, 4] Operation: 90-86=4
Exploring Operation: 90-25=65, Resulting Numbers: [86, 65]
Generated Node #0,3,2: 89:[86, 65] Operation: 90-25=65
Exploring Operation: 86-25=61, Resulting Numbers: [90, 61]
Generated Node #0,3,3: 89:[90, 61] Operation: 86-25=61
Exploring Operation: 25+90=115, Resulting Numbers: [86, 115]
Generated Node #0,3,4: 89:[86, 115] Operation: 25+90=115
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 89:[90, 111], Operations: ['56+30=86', '25+86=111']
Exploring Operation: 90+111=201, Resulting Numbers: [201]
201,89 unequal: No Solution
Exploring Operation: 111-90=21, Resulting Numbers: [21]
21,89 unequal: No Solution
Exploring Operation: 90*111=9990, Resulting Numbers: [9990]
9990,89 unequal: No Solution
No 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: 89:[86, 65], Operations: ['56+30=86', '90-25=65']
Exploring Operation: 86*65=5590, Resulting Numbers: [5590]
5590,89 unequal: No Solution
Exploring Operation: 86-65=21, Resulting Numbers: [21]
21,89 unequal: No Solution
Exploring Operation: 86+65=151, Resulting Numbers: [151]
151,89 unequal: No Solution
No 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: 89:[90, 61], Operations: ['56+30=86', '86-25=61']
Exploring Operation: 90+61=151, Resulting Numbers: [151]
151,89 unequal: No Solution
Exploring Operation: 90*61=5490, Resulting Numbers: [5490]
5490,89 unequal: No Solution
Exploring Operation: 90-61=29, Resulting Numbers: [29]
29,89 unequal: No Solution
No 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: 89:[86, 115], Operations: ['56+30=86', '25+90=115']
Exploring Operation: 115-86=29, Resulting Numbers: [29]
29,89 unequal: No Solution
Exploring Operation: 86*115=9890, Resulting Numbers: [9890]
9890,89 unequal: No Solution
Exploring Operation: 86+115=201, Resulting Numbers: [201]
201,89 unequal: No Solution
No 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: 89:[25, 4], Operations: ['56+30=86', '90-86=4']
Exploring Operation: 25+4=29, Resulting Numbers: [29]
29,89 unequal: No Solution
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,89 unequal: No Solution
Exploring Operation: 25*4=100, Resulting Numbers: [100]
100,89 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: 89:[56, 90, 55], Operations: ['25+30=55']
Exploring Operation: 90+55=145, Resulting Numbers: [56, 145]
Generated Node #0,4,0: 89:[56, 145] Operation: 90+55=145
Exploring Operation: 56+55=111, Resulting Numbers: [90, 111]
Generated Node #0,4,1: 89:[90, 111] Operation: 56+55=111
Exploring Operation: 56-55=1, Resulting Numbers: [90, 1]
Generated Node #0,4,2: 89:[90, 1] Operation: 56-55=1
Exploring Operation: 90-56=34, Resulting Numbers: [55, 34]
Generated Node #0,4,3: 89:[55, 34] Operation: 90-56=34
Exploring Operation: 90-55=35, Resulting Numbers: [56, 35]
Generated Node #0,4,4: 89:[56, 35] Operation: 90-55=35
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 89:[90, 111], Operations: ['25+30=55', '56+55=111']
Exploring Operation: 90+111=201, Resulting Numbers: [201]
201,89 unequal: No Solution
Exploring Operation: 111-90=21, Resulting Numbers: [21]
21,89 unequal: No Solution
Exploring Operation: 90*111=9990, Resulting Numbers: [9990]
9990,89 unequal: No Solution
No 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: 89:[56, 35], Operations: ['25+30=55', '90-55=35']
Exploring Operation: 56-35=21, Resulting Numbers: [21]
21,89 unequal: No Solution
Exploring Operation: 56*35=1960, Resulting Numbers: [1960]
1960,89 unequal: No Solution
Exploring Operation: 56+35=91, Resulting Numbers: [91]
91,89 unequal: No Solution
No 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: 89:[56, 145], Operations: ['25+30=55', '90+55=145']
Exploring Operation: 56*145=8120, Resulting Numbers: [8120]
8120,89 unequal: No Solution
Exploring Operation: 56+145=201, Resulting Numbers: [201]
201,89 unequal: No Solution
Exploring Operation: 145-56=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[25, 56, 30, 90], Operations: []
Exploring Operation: 25+30=55, Resulting Numbers: [56, 90, 55]
Generated Node #0,4: 89:[56, 90, 55] Operation: 25+30=55
Moving to Node #0,4
Current State: 89:[56, 90, 55], Operations: ['25+30=55']
Exploring Operation: 90+55=145, Resulting Numbers: [56, 145]
Generated Node #0,4,0: 89:[56, 145] Operation: 90+55=145
Moving to Node #0,4,0
Current State: 89:[56, 145], Operations: ['25+30=55', '90+55=145']
Exploring Operation: 145-56=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.944444 | hs_5 | mult_heuristic |
[
46,
4,
26,
42
] | 100 | [
"46-42=4",
"4*26=104",
"104-4=100"
] | Current State: 100:[46, 4, 26, 42], Operations: []
Exploring Operation: 46-42=4, Resulting Numbers: [4, 26, 4]
Generated Node #2: [4, 26, 4] from Operation: 46-42=4
Current State: 100:[4, 26, 4], Operations: ['46-42=4']
Exploring Operation: 4*26=104, Resulting Numbers: [104]
104,100 equal: Goal Reached
Exploring Operation: 104-4=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[46, 4, 26, 42], Operations: []
Exploring Operation: 42-26=16, Resulting Numbers: [46, 4, 16]
Generated Node #0,0: 100:[46, 4, 16] Operation: 42-26=16
Exploring Operation: 4+42=46, Resulting Numbers: [46, 26, 46]
Generated Node #0,1: 100:[46, 26, 46] Operation: 4+42=46
Exploring Operation: 46-26=20, Resulting Numbers: [4, 42, 20]
Generated Node #0,2: 100:[4, 42, 20] Operation: 46-26=20
Exploring Operation: 46-42=4, Resulting Numbers: [4, 26, 4]
Generated Node #0,3: 100:[4, 26, 4] Operation: 46-42=4
Exploring Operation: 46+4=50, Resulting Numbers: [26, 42, 50]
Generated Node #0,4: 100:[26, 42, 50] Operation: 46+4=50
Start Sub Search at level 1: Moving to Node #0,3
Current State: 100:[4, 26, 4], Operations: ['46-42=4']
Exploring Operation: 4+4=8, Resulting Numbers: [26, 8]
Generated Node #0,3,0: 100:[26, 8] Operation: 4+4=8
Exploring Operation: 4-4=0, Resulting Numbers: [26, 0]
Generated Node #0,3,1: 100:[26, 0] Operation: 4-4=0
Exploring Operation: 26-4=22, Resulting Numbers: [4, 22]
Generated Node #0,3,2: 100:[4, 22] Operation: 26-4=22
Exploring Operation: 26-4=22, Resulting Numbers: [4, 22]
Generated Node #0,3,3: 100:[4, 22] Operation: 26-4=22
Exploring Operation: 4/4=1, Resulting Numbers: [26, 1]
Generated Node #0,3,4: 100:[26, 1] Operation: 4/4=1
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 100:[4, 22], Operations: ['46-42=4', '26-4=22']
Exploring Operation: 4+22=26, Resulting Numbers: [26]
26,100 unequal: No Solution
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,100 unequal: No Solution
Exploring Operation: 4*22=88, Resulting Numbers: [88]
88,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 100:[4, 22], Operations: ['46-42=4', '26-4=22']
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,100 unequal: No Solution
Exploring Operation: 4*22=88, Resulting Numbers: [88]
88,100 unequal: No Solution
Exploring Operation: 4+22=26, Resulting Numbers: [26]
26,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 100:[26, 1], Operations: ['46-42=4', '4/4=1']
Exploring Operation: 26-1=25, Resulting Numbers: [25]
25,100 unequal: No Solution
Exploring Operation: 26+1=27, Resulting Numbers: [27]
27,100 unequal: No Solution
Exploring Operation: 26/1=26, Resulting Numbers: [26]
26,100 unequal: No Solution
Exploring Operation: 26*1=26, Resulting Numbers: [26]
26,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 100:[26, 8], Operations: ['46-42=4', '4+4=8']
Exploring Operation: 26*8=208, Resulting Numbers: [208]
208,100 unequal: No Solution
Exploring Operation: 26+8=34, Resulting Numbers: [34]
34,100 unequal: No Solution
Exploring Operation: 26-8=18, Resulting Numbers: [18]
18,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 100:[26, 0], Operations: ['46-42=4', '4-4=0']
Exploring Operation: 26-0=26, Resulting Numbers: [26]
26,100 unequal: No Solution
Exploring Operation: 26+0=26, Resulting Numbers: [26]
26,100 unequal: No Solution
Exploring Operation: 26*0=0, Resulting Numbers: [0]
0,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[46, 4, 16], Operations: ['42-26=16']
Exploring Operation: 4+16=20, Resulting Numbers: [46, 20]
Generated Node #0,0,0: 100:[46, 20] Operation: 4+16=20
Exploring Operation: 46-16=30, Resulting Numbers: [4, 30]
Generated Node #0,0,1: 100:[4, 30] Operation: 46-16=30
Exploring Operation: 46+4=50, Resulting Numbers: [16, 50]
Generated Node #0,0,2: 100:[16, 50] Operation: 46+4=50
Exploring Operation: 16-4=12, Resulting Numbers: [46, 12]
Generated Node #0,0,3: 100:[46, 12] Operation: 16-4=12
Exploring Operation: 16/4=4, Resulting Numbers: [46, 4]
Generated Node #0,0,4: 100:[46, 4] Operation: 16/4=4
Moving to Node #0,0,0
Current State: 100:[46, 20], Operations: ['42-26=16', '4+16=20']
Exploring Operation: 46*20=920, Resulting Numbers: [920]
920,100 unequal: No Solution
Exploring Operation: 46-20=26, Resulting Numbers: [26]
26,100 unequal: No Solution
Exploring Operation: 46+20=66, Resulting Numbers: [66]
66,100 unequal: No Solution
Moving to Node #0,0,4
Current State: 100:[46, 4], Operations: ['42-26=16', '16/4=4']
Exploring Operation: 46-4=42, Resulting Numbers: [42]
42,100 unequal: No Solution
Exploring Operation: 46+4=50, Resulting Numbers: [50]
50,100 unequal: No Solution
Exploring Operation: 46*4=184, Resulting Numbers: [184]
184,100 unequal: No Solution
Moving to Node #0,0,2
Current State: 100:[16, 50], Operations: ['42-26=16', '46+4=50']
Exploring Operation: 16*50=800, Resulting Numbers: [800]
800,100 unequal: No Solution
Exploring Operation: 16+50=66, Resulting Numbers: [66]
66,100 unequal: No Solution
Exploring Operation: 50-16=34, Resulting Numbers: [34]
34,100 unequal: No Solution
Moving to Node #0,0,1
Current State: 100:[4, 30], Operations: ['42-26=16', '46-16=30']
Exploring Operation: 4*30=120, Resulting Numbers: [120]
120,100 unequal: No Solution
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,100 unequal: No Solution
Exploring Operation: 4+30=34, Resulting Numbers: [34]
34,100 unequal: No Solution
Moving to Node #0,0,3
Current State: 100:[46, 12], Operations: ['42-26=16', '16-4=12']
Exploring Operation: 46-12=34, Resulting Numbers: [34]
34,100 unequal: No Solution
Exploring Operation: 46*12=552, Resulting Numbers: [552]
552,100 unequal: No Solution
Exploring Operation: 46+12=58, Resulting Numbers: [58]
58,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 100:[4, 42, 20], Operations: ['46-26=20']
Exploring Operation: 20/4=5, Resulting Numbers: [42, 5]
Generated Node #0,2,0: 100:[42, 5] Operation: 20/4=5
Exploring Operation: 4+20=24, Resulting Numbers: [42, 24]
Generated Node #0,2,1: 100:[42, 24] Operation: 4+20=24
Exploring Operation: 4+42=46, Resulting Numbers: [20, 46]
Generated Node #0,2,2: 100:[20, 46] Operation: 4+42=46
Exploring Operation: 42-20=22, Resulting Numbers: [4, 22]
Generated Node #0,2,3: 100:[4, 22] Operation: 42-20=22
Exploring Operation: 42-4=38, Resulting Numbers: [20, 38]
Generated Node #0,2,4: 100:[20, 38] Operation: 42-4=38
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 100:[4, 22], Operations: ['46-26=20', '42-20=22']
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,100 unequal: No Solution
Exploring Operation: 4+22=26, Resulting Numbers: [26]
26,100 unequal: No Solution
Exploring Operation: 4*22=88, Resulting Numbers: [88]
88,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 100:[20, 46], Operations: ['46-26=20', '4+42=46']
Exploring Operation: 20*46=920, Resulting Numbers: [920]
920,100 unequal: No Solution
Exploring Operation: 46-20=26, Resulting Numbers: [26]
26,100 unequal: No Solution
Exploring Operation: 20+46=66, Resulting Numbers: [66]
66,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 100:[42, 5], Operations: ['46-26=20', '20/4=5']
Exploring Operation: 42-5=37, Resulting Numbers: [37]
37,100 unequal: No Solution
Exploring Operation: 42*5=210, Resulting Numbers: [210]
210,100 unequal: No Solution
Exploring Operation: 42+5=47, Resulting Numbers: [47]
47,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 100:[42, 24], Operations: ['46-26=20', '4+20=24']
Exploring Operation: 42*24=1008, Resulting Numbers: [1008]
1008,100 unequal: No Solution
Exploring Operation: 42+24=66, Resulting Numbers: [66]
66,100 unequal: No Solution
Exploring Operation: 42-24=18, Resulting Numbers: [18]
18,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 100:[20, 38], Operations: ['46-26=20', '42-4=38']
Exploring Operation: 38-20=18, Resulting Numbers: [18]
18,100 unequal: No Solution
Exploring Operation: 20+38=58, Resulting Numbers: [58]
58,100 unequal: No Solution
Exploring Operation: 20*38=760, Resulting Numbers: [760]
760,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 100:[46, 26, 46], Operations: ['4+42=46']
Exploring Operation: 46+46=92, Resulting Numbers: [26, 92]
Generated Node #0,1,0: 100:[26, 92] Operation: 46+46=92
Exploring Operation: 46/46=1, Resulting Numbers: [26, 1]
Generated Node #0,1,1: 100:[26, 1] Operation: 46/46=1
Exploring Operation: 46-26=20, Resulting Numbers: [46, 20]
Generated Node #0,1,2: 100:[46, 20] Operation: 46-26=20
Exploring Operation: 46-26=20, Resulting Numbers: [46, 20]
Generated Node #0,1,3: 100:[46, 20] Operation: 46-26=20
Exploring Operation: 46-46=0, Resulting Numbers: [26, 0]
Generated Node #0,1,4: 100:[26, 0] Operation: 46-46=0
Moving to Node #0,1,1
Current State: 100:[26, 1], Operations: ['4+42=46', '46/46=1']
Exploring Operation: 26+1=27, Resulting Numbers: [27]
27,100 unequal: No Solution
Exploring Operation: 26/1=26, Resulting Numbers: [26]
26,100 unequal: No Solution
Exploring Operation: 26*1=26, Resulting Numbers: [26]
26,100 unequal: No Solution
Exploring Operation: 26-1=25, Resulting Numbers: [25]
25,100 unequal: No Solution
Moving to Node #0,1,4
Current State: 100:[26, 0], Operations: ['4+42=46', '46-46=0']
Exploring Operation: 26*0=0, Resulting Numbers: [0]
0,100 unequal: No Solution
Exploring Operation: 26-0=26, Resulting Numbers: [26]
26,100 unequal: No Solution
Exploring Operation: 26+0=26, Resulting Numbers: [26]
26,100 unequal: No Solution
Moving to Node #0,1,2
Current State: 100:[46, 20], Operations: ['4+42=46', '46-26=20']
Exploring Operation: 46+20=66, Resulting Numbers: [66]
66,100 unequal: No Solution
Exploring Operation: 46*20=920, Resulting Numbers: [920]
920,100 unequal: No Solution
Exploring Operation: 46-20=26, Resulting Numbers: [26]
26,100 unequal: No Solution
Moving to Node #0,1,3
Current State: 100:[46, 20], Operations: ['4+42=46', '46-26=20']
Exploring Operation: 46+20=66, Resulting Numbers: [66]
66,100 unequal: No Solution
Exploring Operation: 46-20=26, Resulting Numbers: [26]
26,100 unequal: No Solution
Exploring Operation: 46*20=920, Resulting Numbers: [920]
920,100 unequal: No Solution
Moving to Node #0,1,0
Current State: 100:[26, 92], Operations: ['4+42=46', '46+46=92']
Exploring Operation: 26*92=2392, Resulting Numbers: [2392]
2392,100 unequal: No Solution
Exploring Operation: 92-26=66, Resulting Numbers: [66]
66,100 unequal: No Solution
Exploring Operation: 26+92=118, Resulting Numbers: [118]
118,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 100:[26, 42, 50], Operations: ['46+4=50']
Exploring Operation: 26+42=68, Resulting Numbers: [50, 68]
Generated Node #0,4,0: 100:[50, 68] Operation: 26+42=68
Exploring Operation: 42+50=92, Resulting Numbers: [26, 92]
Generated Node #0,4,1: 100:[26, 92] Operation: 42+50=92
Exploring Operation: 50-42=8, Resulting Numbers: [26, 8]
Generated Node #0,4,2: 100:[26, 8] Operation: 50-42=8
Exploring Operation: 50-26=24, Resulting Numbers: [42, 24]
Generated Node #0,4,3: 100:[42, 24] Operation: 50-26=24
Exploring Operation: 42-26=16, Resulting Numbers: [50, 16]
Generated Node #0,4,4: 100:[50, 16] Operation: 42-26=16
Moving to Node #0,4,2
Current State: 100:[26, 8], Operations: ['46+4=50', '50-42=8']
Exploring Operation: 26*8=208, Resulting Numbers: [208]
208,100 unequal: No Solution
Exploring Operation: 26-8=18, Resulting Numbers: [18]
18,100 unequal: No Solution
Exploring Operation: 26+8=34, Resulting Numbers: [34]
34,100 unequal: No Solution
Moving to Node #0,4,4
Current State: 100:[50, 16], Operations: ['46+4=50', '42-26=16']
Exploring Operation: 50*16=800, Resulting Numbers: [800]
800,100 unequal: No Solution
Exploring Operation: 50-16=34, Resulting Numbers: [34]
34,100 unequal: No Solution
Exploring Operation: 50+16=66, Resulting Numbers: [66]
66,100 unequal: No Solution
Moving to Node #0,4,1
Current State: 100:[26, 92], Operations: ['46+4=50', '42+50=92']
Exploring Operation: 26+92=118, Resulting Numbers: [118]
118,100 unequal: No Solution
Exploring Operation: 26*92=2392, Resulting Numbers: [2392]
2392,100 unequal: No Solution
Exploring Operation: 92-26=66, Resulting Numbers: [66]
66,100 unequal: No Solution
Moving to Node #0,4,3
Current State: 100:[42, 24], Operations: ['46+4=50', '50-26=24']
Exploring Operation: 42-24=18, Resulting Numbers: [18]
18,100 unequal: No Solution
Exploring Operation: 42*24=1008, Resulting Numbers: [1008]
1008,100 unequal: No Solution
Exploring Operation: 42+24=66, Resulting Numbers: [66]
66,100 unequal: No Solution
Moving to Node #0,4,0
Current State: 100:[50, 68], Operations: ['46+4=50', '26+42=68']
Exploring Operation: 68-50=18, Resulting Numbers: [18]
18,100 unequal: No Solution
Exploring Operation: 50*68=3400, Resulting Numbers: [3400]
3400,100 unequal: No Solution
Exploring Operation: 50+68=118, Resulting Numbers: [118]
118,100 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 |
[
6,
47,
26,
19
] | 89 | [
"26-19=7",
"6*7=42",
"47+42=89"
] | Current State: 89:[6, 47, 26, 19], Operations: []
Exploring Operation: 26-19=7, Resulting Numbers: [6, 47, 7]
Generated Node #2: [6, 47, 7] from Operation: 26-19=7
Current State: 89:[6, 47, 7], Operations: ['26-19=7']
Exploring Operation: 6*7=42, Resulting Numbers: [47, 42]
Generated Node #3: [47, 42] from Operation: 6*7=42
Current State: 89:[47, 42], Operations: ['26-19=7', '6*7=42']
Exploring Operation: 47+42=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[6, 47, 26, 19], Operations: []
Exploring Operation: 6*19=114, Resulting Numbers: [47, 26, 114]
Generated Node #0,0: 89:[47, 26, 114] Operation: 6*19=114
Exploring Operation: 6+47=53, Resulting Numbers: [26, 19, 53]
Generated Node #0,1: 89:[26, 19, 53] Operation: 6+47=53
Exploring Operation: 6+26=32, Resulting Numbers: [47, 19, 32]
Generated Node #0,2: 89:[47, 19, 32] Operation: 6+26=32
Exploring Operation: 6+19=25, Resulting Numbers: [47, 26, 25]
Generated Node #0,3: 89:[47, 26, 25] Operation: 6+19=25
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[47, 26, 114], Operations: ['6*19=114']
Exploring Operation: 114-47=67, Resulting Numbers: [26, 67]
Generated Node #0,0,0: 89:[26, 67] Operation: 114-47=67
Exploring Operation: 47+26=73, Resulting Numbers: [114, 73]
Generated Node #0,0,1: 89:[114, 73] Operation: 47+26=73
Exploring Operation: 47-26=21, Resulting Numbers: [114, 21]
Generated Node #0,0,2: 89:[114, 21] Operation: 47-26=21
Exploring Operation: 114-26=88, Resulting Numbers: [47, 88]
Generated Node #0,0,3: 89:[47, 88] Operation: 114-26=88
Moving to Node #0,0,1
Current State: 89:[114, 73], Operations: ['6*19=114', '47+26=73']
Exploring Operation: 114-73=41, Resulting Numbers: [41]
41,89 unequal: No Solution
Exploring Operation: 114+73=187, Resulting Numbers: [187]
187,89 unequal: No Solution
Exploring Operation: 114*73=8322, Resulting Numbers: [8322]
8322,89 unequal: No Solution
Moving to Node #0,0,3
Current State: 89:[47, 88], Operations: ['6*19=114', '114-26=88']
Exploring Operation: 88-47=41, Resulting Numbers: [41]
41,89 unequal: No Solution
Exploring Operation: 47*88=4136, Resulting Numbers: [4136]
4136,89 unequal: No Solution
Exploring Operation: 47+88=135, Resulting Numbers: [135]
135,89 unequal: No Solution
Moving to Node #0,0,0
Current State: 89:[26, 67], Operations: ['6*19=114', '114-47=67']
Exploring Operation: 26+67=93, Resulting Numbers: [93]
93,89 unequal: No Solution
Exploring Operation: 67-26=41, Resulting Numbers: [41]
41,89 unequal: No Solution
Exploring Operation: 26*67=1742, Resulting Numbers: [1742]
1742,89 unequal: No Solution
Moving to Node #0,0,2
Current State: 89:[114, 21], Operations: ['6*19=114', '47-26=21']
Exploring Operation: 114-21=93, Resulting Numbers: [93]
93,89 unequal: No Solution
Exploring Operation: 114*21=2394, Resulting Numbers: [2394]
2394,89 unequal: No Solution
Exploring Operation: 114+21=135, Resulting Numbers: [135]
135,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 89:[26, 19, 53], Operations: ['6+47=53']
Exploring Operation: 26-19=7, Resulting Numbers: [53, 7]
Generated Node #0,1,0: 89:[53, 7] Operation: 26-19=7
Exploring Operation: 19+53=72, Resulting Numbers: [26, 72]
Generated Node #0,1,1: 89:[26, 72] Operation: 19+53=72
Exploring Operation: 26+53=79, Resulting Numbers: [19, 79]
Generated Node #0,1,2: 89:[19, 79] Operation: 26+53=79
Exploring Operation: 26+19=45, Resulting Numbers: [53, 45]
Generated Node #0,1,3: 89:[53, 45] Operation: 26+19=45
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 89:[26, 72], Operations: ['6+47=53', '19+53=72']
Exploring Operation: 26*72=1872, Resulting Numbers: [1872]
1872,89 unequal: No Solution
Exploring Operation: 26+72=98, Resulting Numbers: [98]
98,89 unequal: No Solution
Exploring Operation: 72-26=46, Resulting Numbers: [46]
46,89 unequal: No Solution
No 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: 89:[19, 79], Operations: ['6+47=53', '26+53=79']
Exploring Operation: 79-19=60, Resulting Numbers: [60]
60,89 unequal: No Solution
Exploring Operation: 19*79=1501, Resulting Numbers: [1501]
1501,89 unequal: No Solution
Exploring Operation: 19+79=98, Resulting Numbers: [98]
98,89 unequal: No Solution
No 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: 89:[53, 45], Operations: ['6+47=53', '26+19=45']
Exploring Operation: 53*45=2385, Resulting Numbers: [2385]
2385,89 unequal: No Solution
Exploring Operation: 53-45=8, Resulting Numbers: [8]
8,89 unequal: No Solution
Exploring Operation: 53+45=98, Resulting Numbers: [98]
98,89 unequal: No Solution
No 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: 89:[53, 7], Operations: ['6+47=53', '26-19=7']
Exploring Operation: 53-7=46, Resulting Numbers: [46]
46,89 unequal: No Solution
Exploring Operation: 53+7=60, Resulting Numbers: [60]
60,89 unequal: No Solution
Exploring Operation: 53*7=371, Resulting Numbers: [371]
371,89 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: 89:[47, 19, 32], Operations: ['6+26=32']
Exploring Operation: 19+32=51, Resulting Numbers: [47, 51]
Generated Node #0,2,0: 89:[47, 51] Operation: 19+32=51
Exploring Operation: 47-19=28, Resulting Numbers: [32, 28]
Generated Node #0,2,1: 89:[32, 28] Operation: 47-19=28
Exploring Operation: 47+19=66, Resulting Numbers: [32, 66]
Generated Node #0,2,2: 89:[32, 66] Operation: 47+19=66
Exploring Operation: 47+32=79, Resulting Numbers: [19, 79]
Generated Node #0,2,3: 89:[19, 79] Operation: 47+32=79
Moving to Node #0,2,0
Current State: 89:[47, 51], Operations: ['6+26=32', '19+32=51']
Exploring Operation: 47*51=2397, Resulting Numbers: [2397]
2397,89 unequal: No Solution
Exploring Operation: 47+51=98, Resulting Numbers: [98]
98,89 unequal: No Solution
Exploring Operation: 51-47=4, Resulting Numbers: [4]
4,89 unequal: No Solution
Moving to Node #0,2,3
Current State: 89:[19, 79], Operations: ['6+26=32', '47+32=79']
Exploring Operation: 19+79=98, Resulting Numbers: [98]
98,89 unequal: No Solution
Exploring Operation: 79-19=60, Resulting Numbers: [60]
60,89 unequal: No Solution
Exploring Operation: 19*79=1501, Resulting Numbers: [1501]
1501,89 unequal: No Solution
Moving to Node #0,2,2
Current State: 89:[32, 66], Operations: ['6+26=32', '47+19=66']
Exploring Operation: 32+66=98, Resulting Numbers: [98]
98,89 unequal: No Solution
Exploring Operation: 32*66=2112, Resulting Numbers: [2112]
2112,89 unequal: No Solution
Exploring Operation: 66-32=34, Resulting Numbers: [34]
34,89 unequal: No Solution
Moving to Node #0,2,1
Current State: 89:[32, 28], Operations: ['6+26=32', '47-19=28']
Exploring Operation: 32-28=4, Resulting Numbers: [4]
4,89 unequal: No Solution
Exploring Operation: 32*28=896, Resulting Numbers: [896]
896,89 unequal: No Solution
Exploring Operation: 32+28=60, Resulting Numbers: [60]
60,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 89:[47, 26, 25], Operations: ['6+19=25']
Exploring Operation: 47+26=73, Resulting Numbers: [25, 73]
Generated Node #0,3,0: 89:[25, 73] Operation: 47+26=73
Exploring Operation: 47-25=22, Resulting Numbers: [26, 22]
Generated Node #0,3,1: 89:[26, 22] Operation: 47-25=22
Exploring Operation: 26+25=51, Resulting Numbers: [47, 51]
Generated Node #0,3,2: 89:[47, 51] Operation: 26+25=51
Exploring Operation: 47+25=72, Resulting Numbers: [26, 72]
Generated Node #0,3,3: 89:[26, 72] Operation: 47+25=72
Moving to Node #0,3,0
Current State: 89:[25, 73], Operations: ['6+19=25', '47+26=73']
Exploring Operation: 25+73=98, Resulting Numbers: [98]
98,89 unequal: No Solution
Exploring Operation: 25*73=1825, Resulting Numbers: [1825]
1825,89 unequal: No Solution
Exploring Operation: 73-25=48, Resulting Numbers: [48]
48,89 unequal: No Solution
Moving to Node #0,3,3
Current State: 89:[26, 72], Operations: ['6+19=25', '47+25=72']
Exploring Operation: 26+72=98, Resulting Numbers: [98]
98,89 unequal: No Solution
Exploring Operation: 72-26=46, Resulting Numbers: [46]
46,89 unequal: No Solution
Exploring Operation: 26*72=1872, Resulting Numbers: [1872]
1872,89 unequal: No Solution
Moving to Node #0,3,2
Current State: 89:[47, 51], Operations: ['6+19=25', '26+25=51']
Exploring Operation: 51-47=4, Resulting Numbers: [4]
4,89 unequal: No Solution
Exploring Operation: 47*51=2397, Resulting Numbers: [2397]
2397,89 unequal: No Solution
Exploring Operation: 47+51=98, Resulting Numbers: [98]
98,89 unequal: No Solution
Moving to Node #0,3,1
Current State: 89:[26, 22], Operations: ['6+19=25', '47-25=22']
Exploring Operation: 26*22=572, Resulting Numbers: [572]
572,89 unequal: No Solution
Exploring Operation: 26+22=48, Resulting Numbers: [48]
48,89 unequal: No Solution
Exploring Operation: 26-22=4, Resulting Numbers: [4]
4,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
69,
56,
51,
10
] | 84 | [
"69+56=125",
"51-10=41",
"125-41=84"
] | Current State: 84:[69, 56, 51, 10], Operations: []
Exploring Operation: 69+56=125, Resulting Numbers: [51, 10, 125]
Generated Node #2: [51, 10, 125] from Operation: 69+56=125
Current State: 84:[51, 10, 125], Operations: ['69+56=125']
Exploring Operation: 51-10=41, Resulting Numbers: [125, 41]
Generated Node #3: [125, 41] from Operation: 51-10=41
Current State: 84:[125, 41], Operations: ['69+56=125', '51-10=41']
Exploring Operation: 125-41=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[69, 56, 51, 10], Operations: []
Exploring Operation: 69-56=13, Resulting Numbers: [51, 10, 13]
Generated Node #0,0: 84:[51, 10, 13] Operation: 69-56=13
Moving to Node #0,0
Current State: 84:[51, 10, 13], Operations: ['69-56=13']
Exploring Operation: 51-10=41, Resulting Numbers: [13, 41]
Generated Node #0,0,0: 84:[13, 41] Operation: 51-10=41
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 84:[13, 41], Operations: ['69-56=13', '51-10=41']
Exploring Operation: 41-13=28, Resulting Numbers: [28]
28,84 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 |
[
44,
45,
25,
72
] | 97 | [
"45-44=1",
"25+72=97",
"1*97=97"
] | Current State: 97:[44, 45, 25, 72], Operations: []
Exploring Operation: 45-44=1, Resulting Numbers: [25, 72, 1]
Generated Node #2: [25, 72, 1] from Operation: 45-44=1
Current State: 97:[25, 72, 1], Operations: ['45-44=1']
Exploring Operation: 25+72=97, Resulting Numbers: [1, 97]
Generated Node #3: [1, 97] from Operation: 25+72=97
Current State: 97:[1, 97], Operations: ['45-44=1', '25+72=97']
Exploring Operation: 1*97=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[44, 45, 25, 72], Operations: []
Exploring Operation: 44+45=89, Resulting Numbers: [25, 72, 89]
Generated Node #0,0: 97:[25, 72, 89] Operation: 44+45=89
Exploring Operation: 45+25=70, Resulting Numbers: [44, 72, 70]
Generated Node #0,1: 97:[44, 72, 70] Operation: 45+25=70
Exploring Operation: 44+25=69, Resulting Numbers: [45, 72, 69]
Generated Node #0,2: 97:[45, 72, 69] Operation: 44+25=69
Exploring Operation: 25+72=97, Resulting Numbers: [44, 45, 97]
Generated Node #0,3: 97:[44, 45, 97] Operation: 25+72=97
Exploring Operation: 44+72=116, Resulting Numbers: [45, 25, 116]
Generated Node #0,4: 97:[45, 25, 116] Operation: 44+72=116
Moving to Node #0,0
Current State: 97:[25, 72, 89], Operations: ['44+45=89']
Exploring Operation: 72+89=161, Resulting Numbers: [25, 161]
Generated Node #0,0,0: 97:[25, 161] Operation: 72+89=161
Exploring Operation: 72-25=47, Resulting Numbers: [89, 47]
Generated Node #0,0,1: 97:[89, 47] Operation: 72-25=47
Exploring Operation: 25+72=97, Resulting Numbers: [89, 97]
Generated Node #0,0,2: 97:[89, 97] Operation: 25+72=97
Exploring Operation: 25+89=114, Resulting Numbers: [72, 114]
Generated Node #0,0,3: 97:[72, 114] Operation: 25+89=114
Exploring Operation: 89-25=64, Resulting Numbers: [72, 64]
Generated Node #0,0,4: 97:[72, 64] Operation: 89-25=64
Moving to Node #0,2
Current State: 97:[45, 72, 69], Operations: ['44+25=69']
Exploring Operation: 45+72=117, Resulting Numbers: [69, 117]
Generated Node #0,2,0: 97:[69, 117] Operation: 45+72=117
Exploring Operation: 72-45=27, Resulting Numbers: [69, 27]
Generated Node #0,2,1: 97:[69, 27] Operation: 72-45=27
Exploring Operation: 72+69=141, Resulting Numbers: [45, 141]
Generated Node #0,2,2: 97:[45, 141] Operation: 72+69=141
Exploring Operation: 45+69=114, Resulting Numbers: [72, 114]
Generated Node #0,2,3: 97:[72, 114] Operation: 45+69=114
Exploring Operation: 69-45=24, Resulting Numbers: [72, 24]
Generated Node #0,2,4: 97:[72, 24] Operation: 69-45=24
Moving to Node #0,1
Current State: 97:[44, 72, 70], Operations: ['45+25=70']
Exploring Operation: 72+70=142, Resulting Numbers: [44, 142]
Generated Node #0,1,0: 97:[44, 142] Operation: 72+70=142
Exploring Operation: 44+72=116, Resulting Numbers: [70, 116]
Generated Node #0,1,1: 97:[70, 116] Operation: 44+72=116
Exploring Operation: 44+70=114, Resulting Numbers: [72, 114]
Generated Node #0,1,2: 97:[72, 114] Operation: 44+70=114
Exploring Operation: 70-44=26, Resulting Numbers: [72, 26]
Generated Node #0,1,3: 97:[72, 26] Operation: 70-44=26
Exploring Operation: 72-44=28, Resulting Numbers: [70, 28]
Generated Node #0,1,4: 97:[70, 28] Operation: 72-44=28
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 97:[72, 114], Operations: ['45+25=70', '44+70=114']
Exploring Operation: 72*114=8208, Resulting Numbers: [8208]
8208,97 unequal: No Solution
Exploring Operation: 72+114=186, Resulting Numbers: [186]
186,97 unequal: No Solution
Exploring Operation: 114-72=42, Resulting Numbers: [42]
42,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 97:[70, 116], Operations: ['45+25=70', '44+72=116']
Exploring Operation: 70+116=186, Resulting Numbers: [186]
186,97 unequal: No Solution
Exploring Operation: 116-70=46, Resulting Numbers: [46]
46,97 unequal: No Solution
Exploring Operation: 70*116=8120, Resulting Numbers: [8120]
8120,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,3
Current State: 97:[72, 26], Operations: ['45+25=70', '70-44=26']
Exploring Operation: 72*26=1872, Resulting Numbers: [1872]
1872,97 unequal: No Solution
Exploring Operation: 72+26=98, Resulting Numbers: [98]
98,97 unequal: No Solution
Exploring Operation: 72-26=46, Resulting Numbers: [46]
46,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,4
Current State: 97:[70, 28], Operations: ['45+25=70', '72-44=28']
Exploring Operation: 70+28=98, Resulting Numbers: [98]
98,97 unequal: No Solution
Exploring Operation: 70-28=42, Resulting Numbers: [42]
42,97 unequal: No Solution
Exploring Operation: 70*28=1960, Resulting Numbers: [1960]
1960,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,0
Current State: 97:[44, 142], Operations: ['45+25=70', '72+70=142']
Exploring Operation: 142-44=98, Resulting Numbers: [98]
98,97 unequal: No Solution
Exploring Operation: 44*142=6248, Resulting Numbers: [6248]
6248,97 unequal: No Solution
Exploring Operation: 44+142=186, Resulting Numbers: [186]
186,97 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: 97:[44, 45, 97], Operations: ['25+72=97']
Exploring Operation: 97-44=53, Resulting Numbers: [45, 53]
Generated Node #0,3,0: 97:[45, 53] Operation: 97-44=53
Exploring Operation: 45-44=1, Resulting Numbers: [97, 1]
Generated Node #0,3,1: 97:[97, 1] Operation: 45-44=1
Exploring Operation: 44+45=89, Resulting Numbers: [97, 89]
Generated Node #0,3,2: 97:[97, 89] Operation: 44+45=89
Exploring Operation: 45+97=142, Resulting Numbers: [44, 142]
Generated Node #0,3,3: 97:[44, 142] Operation: 45+97=142
Exploring Operation: 44+97=141, Resulting Numbers: [45, 141]
Generated Node #0,3,4: 97:[45, 141] Operation: 44+97=141
Moving to Node #0,4
Current State: 97:[45, 25, 116], Operations: ['44+72=116']
Exploring Operation: 116-25=91, Resulting Numbers: [45, 91]
Generated Node #0,4,0: 97:[45, 91] Operation: 116-25=91
Exploring Operation: 45-25=20, Resulting Numbers: [116, 20]
Generated Node #0,4,1: 97:[116, 20] Operation: 45-25=20
Exploring Operation: 45+25=70, Resulting Numbers: [116, 70]
Generated Node #0,4,2: 97:[116, 70] Operation: 45+25=70
Exploring Operation: 116-45=71, Resulting Numbers: [25, 71]
Generated Node #0,4,3: 97:[25, 71] Operation: 116-45=71
Exploring Operation: 25+116=141, Resulting Numbers: [45, 141]
Generated Node #0,4,4: 97:[45, 141] Operation: 25+116=141
Moving to Node #0,0,2
Current State: 97:[89, 97], Operations: ['44+45=89', '25+72=97']
Exploring Operation: 89+97=186, Resulting Numbers: [186]
186,97 unequal: No Solution
Exploring Operation: 89*97=8633, Resulting Numbers: [8633]
8633,97 unequal: No Solution
Exploring Operation: 97-89=8, Resulting Numbers: [8]
8,97 unequal: No Solution
Moving to Node #0,3,2
Current State: 97:[97, 89], Operations: ['25+72=97', '44+45=89']
Exploring Operation: 97+89=186, Resulting Numbers: [186]
186,97 unequal: No Solution
Exploring Operation: 97-89=8, Resulting Numbers: [8]
8,97 unequal: No Solution
Exploring Operation: 97*89=8633, Resulting Numbers: [8633]
8633,97 unequal: No Solution
Moving to Node #0,2,3
Current State: 97:[72, 114], Operations: ['44+25=69', '45+69=114']
Exploring Operation: 114-72=42, Resulting Numbers: [42]
42,97 unequal: No Solution
Exploring Operation: 72+114=186, Resulting Numbers: [186]
186,97 unequal: No Solution
Exploring Operation: 72*114=8208, Resulting Numbers: [8208]
8208,97 unequal: No Solution
Moving to Node #0,0,3
Current State: 97:[72, 114], Operations: ['44+45=89', '25+89=114']
Exploring Operation: 72*114=8208, Resulting Numbers: [8208]
8208,97 unequal: No Solution
Exploring Operation: 114-72=42, Resulting Numbers: [42]
42,97 unequal: No Solution
Exploring Operation: 72+114=186, Resulting Numbers: [186]
186,97 unequal: No Solution
Moving to Node #0,4,2
Current State: 97:[116, 70], Operations: ['44+72=116', '45+25=70']
Exploring Operation: 116+70=186, Resulting Numbers: [186]
186,97 unequal: No Solution
Exploring Operation: 116*70=8120, Resulting Numbers: [8120]
8120,97 unequal: No Solution
Exploring Operation: 116-70=46, Resulting Numbers: [46]
46,97 unequal: No Solution
Moving to Node #0,2,0
Current State: 97:[69, 117], Operations: ['44+25=69', '45+72=117']
Exploring Operation: 69+117=186, Resulting Numbers: [186]
186,97 unequal: No Solution
Exploring Operation: 117-69=48, Resulting Numbers: [48]
48,97 unequal: No Solution
Exploring Operation: 69*117=8073, Resulting Numbers: [8073]
8073,97 unequal: No Solution
Moving to Node #0,0,1
Current State: 97:[89, 47], Operations: ['44+45=89', '72-25=47']
Exploring Operation: 89*47=4183, Resulting Numbers: [4183]
4183,97 unequal: No Solution
Exploring Operation: 89-47=42, Resulting Numbers: [42]
42,97 unequal: No Solution
Exploring Operation: 89+47=136, Resulting Numbers: [136]
136,97 unequal: No Solution
Moving to Node #0,0,4
Current State: 97:[72, 64], Operations: ['44+45=89', '89-25=64']
Exploring Operation: 72-64=8, Resulting Numbers: [8]
8,97 unequal: No Solution
Exploring Operation: 72+64=136, Resulting Numbers: [136]
136,97 unequal: No Solution
Exploring Operation: 72*64=4608, Resulting Numbers: [4608]
4608,97 unequal: No Solution
Moving to Node #0,4,0
Current State: 97:[45, 91], Operations: ['44+72=116', '116-25=91']
Exploring Operation: 45+91=136, Resulting Numbers: [136]
136,97 unequal: No Solution
Exploring Operation: 45*91=4095, Resulting Numbers: [4095]
4095,97 unequal: No Solution
Exploring Operation: 91-45=46, Resulting Numbers: [46]
46,97 unequal: No Solution
Moving to Node #0,3,4
Current State: 97:[45, 141], Operations: ['25+72=97', '44+97=141']
Exploring Operation: 45+141=186, Resulting Numbers: [186]
186,97 unequal: No Solution
Exploring Operation: 45*141=6345, Resulting Numbers: [6345]
6345,97 unequal: No Solution
Exploring Operation: 141-45=96, Resulting Numbers: [96]
96,97 unequal: No Solution
Moving to Node #0,4,4
Current State: 97:[45, 141], Operations: ['44+72=116', '25+116=141']
Exploring Operation: 141-45=96, Resulting Numbers: [96]
96,97 unequal: No Solution
Exploring Operation: 45+141=186, Resulting Numbers: [186]
186,97 unequal: No Solution
Exploring Operation: 45*141=6345, Resulting Numbers: [6345]
6345,97 unequal: No Solution
Moving to Node #0,3,0
Current State: 97:[45, 53], Operations: ['25+72=97', '97-44=53']
Exploring Operation: 45+53=98, Resulting Numbers: [98]
98,97 unequal: No Solution
Exploring Operation: 53-45=8, Resulting Numbers: [8]
8,97 unequal: No Solution
Exploring Operation: 45*53=2385, Resulting Numbers: [2385]
2385,97 unequal: No Solution
Moving to Node #0,3,1
Current State: 97:[97, 1], Operations: ['25+72=97', '45-44=1']
Exploring Operation: 97+1=98, Resulting Numbers: [98]
98,97 unequal: No Solution
Exploring Operation: 97/1=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[44, 45, 25, 72], Operations: []
Exploring Operation: 25+72=97, Resulting Numbers: [44, 45, 97]
Generated Node #0,3: 97:[44, 45, 97] Operation: 25+72=97
Moving to Node #0,3
Current State: 97:[44, 45, 97], Operations: ['25+72=97']
Exploring Operation: 45-44=1, Resulting Numbers: [97, 1]
Generated Node #0,3,1: 97:[97, 1] Operation: 45-44=1
Moving to Node #0,3,1
Current State: 97:[97, 1], Operations: ['25+72=97', '45-44=1']
Exploring Operation: 97/1=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 0.924479 | hs_5 | mult_heuristic |
[
27,
37,
92,
2
] | 84 | [
"37-27=10",
"92+2=94",
"94-10=84"
] | Current State: 84:[27, 37, 92, 2], Operations: []
Exploring Operation: 37-27=10, Resulting Numbers: [92, 2, 10]
Generated Node #2: [92, 2, 10] from Operation: 37-27=10
Current State: 84:[92, 2, 10], Operations: ['37-27=10']
Exploring Operation: 92+2=94, Resulting Numbers: [10, 94]
Generated Node #3: [10, 94] from Operation: 92+2=94
Current State: 84:[10, 94], Operations: ['37-27=10', '92+2=94']
Exploring Operation: 94-10=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[27, 37, 92, 2], Operations: []
Exploring Operation: 37-27=10, Resulting Numbers: [92, 2, 10]
Generated Node #0,0: 84:[92, 2, 10] Operation: 37-27=10
Exploring Operation: 92/2=46, Resulting Numbers: [27, 37, 46]
Generated Node #0,1: 84:[27, 37, 46] Operation: 92/2=46
Exploring Operation: 37+2=39, Resulting Numbers: [27, 92, 39]
Generated Node #0,2: 84:[27, 92, 39] Operation: 37+2=39
Moving to Node #0,0
Current State: 84:[92, 2, 10], Operations: ['37-27=10']
Exploring Operation: 92-10=82, Resulting Numbers: [2, 82]
Generated Node #0,0,0: 84:[2, 82] Operation: 92-10=82
Exploring Operation: 92/2=46, Resulting Numbers: [10, 46]
Generated Node #0,0,1: 84:[10, 46] Operation: 92/2=46
Exploring Operation: 92-2=90, Resulting Numbers: [10, 90]
Generated Node #0,0,2: 84:[10, 90] Operation: 92-2=90
Moving to Node #0,1
Current State: 84:[27, 37, 46], Operations: ['92/2=46']
Exploring Operation: 37+46=83, Resulting Numbers: [27, 83]
Generated Node #0,1,0: 84:[27, 83] Operation: 37+46=83
Exploring Operation: 46-37=9, Resulting Numbers: [27, 9]
Generated Node #0,1,1: 84:[27, 9] Operation: 46-37=9
Exploring Operation: 37-27=10, Resulting Numbers: [46, 10]
Generated Node #0,1,2: 84:[46, 10] Operation: 37-27=10
Moving to Node #0,2
Current State: 84:[27, 92, 39], Operations: ['37+2=39']
Exploring Operation: 92-39=53, Resulting Numbers: [27, 53]
Generated Node #0,2,0: 84:[27, 53] Operation: 92-39=53
Exploring Operation: 92-27=65, Resulting Numbers: [39, 65]
Generated Node #0,2,1: 84:[39, 65] Operation: 92-27=65
Exploring Operation: 39-27=12, Resulting Numbers: [92, 12]
Generated Node #0,2,2: 84:[92, 12] Operation: 39-27=12
Moving to Node #0,0,0
Current State: 84:[2, 82], Operations: ['37-27=10', '92-10=82']
Exploring Operation: 2+82=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[27, 37, 92, 2], Operations: []
Exploring Operation: 37-27=10, Resulting Numbers: [92, 2, 10]
Generated Node #0,0: 84:[92, 2, 10] Operation: 37-27=10
Moving to Node #0,0
Current State: 84:[92, 2, 10], Operations: ['37-27=10']
Exploring Operation: 92-10=82, Resulting Numbers: [2, 82]
Generated Node #0,0,0: 84:[2, 82] Operation: 92-10=82
Moving to Node #0,0,0
Current State: 84:[2, 82], Operations: ['37-27=10', '92-10=82']
Exploring Operation: 2+82=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 0.985243 | hs_3 | sum_heuristic |
[
63,
4,
7,
42
] | 77 | [
"63+42=105",
"4*7=28",
"105-28=77"
] | Current State: 77:[63, 4, 7, 42], Operations: []
Exploring Operation: 63+42=105, Resulting Numbers: [4, 7, 105]
Generated Node #2: [4, 7, 105] from Operation: 63+42=105
Current State: 77:[4, 7, 105], Operations: ['63+42=105']
Exploring Operation: 4*7=28, Resulting Numbers: [105, 28]
Generated Node #3: [105, 28] from Operation: 4*7=28
Current State: 77:[105, 28], Operations: ['63+42=105', '4*7=28']
Exploring Operation: 105-28=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[63, 4, 7, 42], Operations: []
Exploring Operation: 63/7=9, Resulting Numbers: [4, 42, 9]
Generated Node #0,0: 77:[4, 42, 9] Operation: 63/7=9
Exploring Operation: 63+42=105, Resulting Numbers: [4, 7, 105]
Generated Node #0,1: 77:[4, 7, 105] Operation: 63+42=105
Exploring Operation: 42/7=6, Resulting Numbers: [63, 4, 6]
Generated Node #0,2: 77:[63, 4, 6] Operation: 42/7=6
Exploring Operation: 63+4=67, Resulting Numbers: [7, 42, 67]
Generated Node #0,3: 77:[7, 42, 67] Operation: 63+4=67
Exploring Operation: 63-42=21, Resulting Numbers: [4, 7, 21]
Generated Node #0,4: 77:[4, 7, 21] Operation: 63-42=21
Start Sub Search at level 1: Moving to Node #0,4
Current State: 77:[4, 7, 21], Operations: ['63-42=21']
Exploring Operation: 4*21=84, Resulting Numbers: [7, 84]
Generated Node #0,4,0: 77:[7, 84] Operation: 4*21=84
Exploring Operation: 21-7=14, Resulting Numbers: [4, 14]
Generated Node #0,4,1: 77:[4, 14] Operation: 21-7=14
Exploring Operation: 21/7=3, Resulting Numbers: [4, 3]
Generated Node #0,4,2: 77:[4, 3] Operation: 21/7=3
Exploring Operation: 21-4=17, Resulting Numbers: [7, 17]
Generated Node #0,4,3: 77:[7, 17] Operation: 21-4=17
Exploring Operation: 4+7=11, Resulting Numbers: [21, 11]
Generated Node #0,4,4: 77:[21, 11] Operation: 4+7=11
Moving to Node #0,4,1
Current State: 77:[4, 14], Operations: ['63-42=21', '21-7=14']
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,77 unequal: No Solution
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,77 unequal: No Solution
Exploring Operation: 4+14=18, Resulting Numbers: [18]
18,77 unequal: No Solution
Moving to Node #0,4,3
Current State: 77:[7, 17], Operations: ['63-42=21', '21-4=17']
Exploring Operation: 7+17=24, Resulting Numbers: [24]
24,77 unequal: No Solution
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,77 unequal: No Solution
Exploring Operation: 7*17=119, Resulting Numbers: [119]
119,77 unequal: No Solution
Moving to Node #0,4,0
Current State: 77:[7, 84], Operations: ['63-42=21', '4*21=84']
Exploring Operation: 7*84=588, Resulting Numbers: [588]
588,77 unequal: No Solution
Exploring Operation: 84-7=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[63, 4, 7, 42], Operations: []
Exploring Operation: 63-42=21, Resulting Numbers: [4, 7, 21]
Generated Node #0,4: 77:[4, 7, 21] Operation: 63-42=21
Moving to Node #0,4
Current State: 77:[4, 7, 21], Operations: ['63-42=21']
Exploring Operation: 4*21=84, Resulting Numbers: [7, 84]
Generated Node #0,4,0: 77:[7, 84] Operation: 4*21=84
Moving to Node #0,4,0
Current State: 77:[7, 84], Operations: ['63-42=21', '4*21=84']
Exploring Operation: 84-7=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_5 | mult_heuristic |
[
40,
78,
13,
51
] | 65 | [
"51-40=11",
"13*11=143",
"143-78=65"
] | Current State: 65:[40, 78, 13, 51], Operations: []
Exploring Operation: 51-40=11, Resulting Numbers: [78, 13, 11]
Generated Node #2: [78, 13, 11] from Operation: 51-40=11
Current State: 65:[78, 13, 11], Operations: ['51-40=11']
Exploring Operation: 13*11=143, Resulting Numbers: [78, 143]
Generated Node #3: [78, 143] from Operation: 13*11=143
Current State: 65:[78, 143], Operations: ['51-40=11', '13*11=143']
Exploring Operation: 143-78=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[40, 78, 13, 51], Operations: []
Exploring Operation: 40+51=91, Resulting Numbers: [78, 13, 91]
Generated Node #0,0: 65:[78, 13, 91] Operation: 40+51=91
Exploring Operation: 40+13=53, Resulting Numbers: [78, 51, 53]
Generated Node #0,1: 65:[78, 51, 53] Operation: 40+13=53
Exploring Operation: 78-13=65, Resulting Numbers: [40, 51, 65]
Generated Node #0,2: 65:[40, 51, 65] Operation: 78-13=65
Exploring Operation: 51-40=11, Resulting Numbers: [78, 13, 11]
Generated Node #0,3: 65:[78, 13, 11] Operation: 51-40=11
Exploring Operation: 78-40=38, Resulting Numbers: [13, 51, 38]
Generated Node #0,4: 65:[13, 51, 38] Operation: 78-40=38
Moving to Node #0,3
Current State: 65:[78, 13, 11], Operations: ['51-40=11']
Exploring Operation: 13-11=2, Resulting Numbers: [78, 2]
Generated Node #0,3,0: 65:[78, 2] Operation: 13-11=2
Exploring Operation: 78/13=6, Resulting Numbers: [11, 6]
Generated Node #0,3,1: 65:[11, 6] Operation: 78/13=6
Exploring Operation: 78-13=65, Resulting Numbers: [11, 65]
Generated Node #0,3,2: 65:[11, 65] Operation: 78-13=65
Exploring Operation: 78-11=67, Resulting Numbers: [13, 67]
Generated Node #0,3,3: 65:[13, 67] Operation: 78-11=67
Exploring Operation: 78+11=89, Resulting Numbers: [13, 89]
Generated Node #0,3,4: 65:[13, 89] Operation: 78+11=89
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 65:[11, 65], Operations: ['51-40=11', '78-13=65']
Exploring Operation: 11+65=76, Resulting Numbers: [76]
76,65 unequal: No Solution
Exploring Operation: 11*65=715, Resulting Numbers: [715]
715,65 unequal: No Solution
Exploring Operation: 65-11=54, Resulting Numbers: [54]
54,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 65:[13, 67], Operations: ['51-40=11', '78-11=67']
Exploring Operation: 13*67=871, Resulting Numbers: [871]
871,65 unequal: No Solution
Exploring Operation: 13+67=80, Resulting Numbers: [80]
80,65 unequal: No Solution
Exploring Operation: 67-13=54, Resulting Numbers: [54]
54,65 unequal: No Solution
No 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: 65:[11, 6], Operations: ['51-40=11', '78/13=6']
Exploring Operation: 11*6=66, Resulting Numbers: [66]
66,65 unequal: No Solution
Exploring Operation: 11+6=17, Resulting Numbers: [17]
17,65 unequal: No Solution
Exploring Operation: 11-6=5, Resulting Numbers: [5]
5,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:[78, 2], Operations: ['51-40=11', '13-11=2']
Exploring Operation: 78+2=80, Resulting Numbers: [80]
80,65 unequal: No Solution
Exploring Operation: 78*2=156, Resulting Numbers: [156]
156,65 unequal: No Solution
Exploring Operation: 78-2=76, Resulting Numbers: [76]
76,65 unequal: No Solution
Exploring Operation: 78/2=39, Resulting Numbers: [39]
39,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,4
Current State: 65:[13, 89], Operations: ['51-40=11', '78+11=89']
Exploring Operation: 13*89=1157, Resulting Numbers: [1157]
1157,65 unequal: No Solution
Exploring Operation: 89-13=76, Resulting Numbers: [76]
76,65 unequal: No Solution
Exploring Operation: 13+89=102, Resulting Numbers: [102]
102,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:[78, 51, 53], Operations: ['40+13=53']
Exploring Operation: 78+51=129, Resulting Numbers: [53, 129]
Generated Node #0,1,0: 65:[53, 129] Operation: 78+51=129
Exploring Operation: 78-51=27, Resulting Numbers: [53, 27]
Generated Node #0,1,1: 65:[53, 27] Operation: 78-51=27
Exploring Operation: 78-53=25, Resulting Numbers: [51, 25]
Generated Node #0,1,2: 65:[51, 25] Operation: 78-53=25
Exploring Operation: 51+53=104, Resulting Numbers: [78, 104]
Generated Node #0,1,3: 65:[78, 104] Operation: 51+53=104
Exploring Operation: 53-51=2, Resulting Numbers: [78, 2]
Generated Node #0,1,4: 65:[78, 2] Operation: 53-51=2
Moving to Node #0,4
Current State: 65:[13, 51, 38], Operations: ['78-40=38']
Exploring Operation: 13+38=51, Resulting Numbers: [51, 51]
Generated Node #0,4,0: 65:[51, 51] Operation: 13+38=51
Exploring Operation: 51-38=13, Resulting Numbers: [13, 13]
Generated Node #0,4,1: 65:[13, 13] Operation: 51-38=13
Exploring Operation: 38-13=25, Resulting Numbers: [51, 25]
Generated Node #0,4,2: 65:[51, 25] Operation: 38-13=25
Exploring Operation: 13+51=64, Resulting Numbers: [38, 64]
Generated Node #0,4,3: 65:[38, 64] Operation: 13+51=64
Exploring Operation: 51+38=89, Resulting Numbers: [13, 89]
Generated Node #0,4,4: 65:[13, 89] Operation: 51+38=89
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 65:[13, 13], Operations: ['78-40=38', '51-38=13']
Exploring Operation: 13+13=26, Resulting Numbers: [26]
26,65 unequal: No Solution
Exploring Operation: 13/13=1, Resulting Numbers: [1]
1,65 unequal: No Solution
Exploring Operation: 13*13=169, Resulting Numbers: [169]
169,65 unequal: No Solution
Exploring Operation: 13-13=0, Resulting Numbers: [0]
0,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,4
Current State: 65:[13, 89], Operations: ['78-40=38', '51+38=89']
Exploring Operation: 13+89=102, Resulting Numbers: [102]
102,65 unequal: No Solution
Exploring Operation: 13*89=1157, Resulting Numbers: [1157]
1157,65 unequal: No Solution
Exploring Operation: 89-13=76, Resulting Numbers: [76]
76,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,2
Current State: 65:[51, 25], Operations: ['78-40=38', '38-13=25']
Exploring Operation: 51+25=76, Resulting Numbers: [76]
76,65 unequal: No Solution
Exploring Operation: 51-25=26, Resulting Numbers: [26]
26,65 unequal: No Solution
Exploring Operation: 51*25=1275, Resulting Numbers: [1275]
1275,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,3
Current State: 65:[38, 64], Operations: ['78-40=38', '13+51=64']
Exploring Operation: 38*64=2432, Resulting Numbers: [2432]
2432,65 unequal: No Solution
Exploring Operation: 64-38=26, Resulting Numbers: [26]
26,65 unequal: No Solution
Exploring Operation: 38+64=102, Resulting Numbers: [102]
102,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,0
Current State: 65:[51, 51], Operations: ['78-40=38', '13+38=51']
Exploring Operation: 51+51=102, Resulting Numbers: [102]
102,65 unequal: No Solution
Exploring Operation: 51-51=0, Resulting Numbers: [0]
0,65 unequal: No Solution
Exploring Operation: 51*51=2601, Resulting Numbers: [2601]
2601,65 unequal: No Solution
Exploring Operation: 51/51=1, Resulting Numbers: [1]
1,65 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: 65:[78, 13, 91], Operations: ['40+51=91']
Exploring Operation: 78/13=6, Resulting Numbers: [91, 6]
Generated Node #0,0,0: 65:[91, 6] Operation: 78/13=6
Exploring Operation: 91-13=78, Resulting Numbers: [78, 78]
Generated Node #0,0,1: 65:[78, 78] Operation: 91-13=78
Exploring Operation: 91-78=13, Resulting Numbers: [13, 13]
Generated Node #0,0,2: 65:[13, 13] Operation: 91-78=13
Exploring Operation: 91/13=7, Resulting Numbers: [78, 7]
Generated Node #0,0,3: 65:[78, 7] Operation: 91/13=7
Exploring Operation: 78-13=65, Resulting Numbers: [91, 65]
Generated Node #0,0,4: 65:[91, 65] Operation: 78-13=65
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 65:[13, 13], Operations: ['40+51=91', '91-78=13']
Exploring Operation: 13+13=26, Resulting Numbers: [26]
26,65 unequal: No Solution
Exploring Operation: 13/13=1, Resulting Numbers: [1]
1,65 unequal: No Solution
Exploring Operation: 13*13=169, Resulting Numbers: [169]
169,65 unequal: No Solution
Exploring Operation: 13-13=0, Resulting Numbers: [0]
0,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:[78, 7], Operations: ['40+51=91', '91/13=7']
Exploring Operation: 78+7=85, Resulting Numbers: [85]
85,65 unequal: No Solution
Exploring Operation: 78*7=546, Resulting Numbers: [546]
546,65 unequal: No Solution
Exploring Operation: 78-7=71, Resulting Numbers: [71]
71,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:[78, 78], Operations: ['40+51=91', '91-13=78']
Exploring Operation: 78+78=156, Resulting Numbers: [156]
156,65 unequal: No Solution
Exploring Operation: 78*78=6084, Resulting Numbers: [6084]
6084,65 unequal: No Solution
Exploring Operation: 78-78=0, Resulting Numbers: [0]
0,65 unequal: No Solution
Exploring Operation: 78/78=1, Resulting Numbers: [1]
1,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,4
Current State: 65:[91, 65], Operations: ['40+51=91', '78-13=65']
Exploring Operation: 91*65=5915, Resulting Numbers: [5915]
5915,65 unequal: No Solution
Exploring Operation: 91-65=26, Resulting Numbers: [26]
26,65 unequal: No Solution
Exploring Operation: 91+65=156, Resulting Numbers: [156]
156,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,0
Current State: 65:[91, 6], Operations: ['40+51=91', '78/13=6']
Exploring Operation: 91-6=85, Resulting Numbers: [85]
85,65 unequal: No Solution
Exploring Operation: 91*6=546, Resulting Numbers: [546]
546,65 unequal: No Solution
Exploring Operation: 91+6=97, Resulting Numbers: [97]
97,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:[40, 51, 65], Operations: ['78-13=65']
Exploring Operation: 40+51=91, Resulting Numbers: [65, 91]
Generated Node #0,2,0: 65:[65, 91] Operation: 40+51=91
Exploring Operation: 65-40=25, Resulting Numbers: [51, 25]
Generated Node #0,2,1: 65:[51, 25] Operation: 65-40=25
Exploring Operation: 65-51=14, Resulting Numbers: [40, 14]
Generated Node #0,2,2: 65:[40, 14] Operation: 65-51=14
Exploring Operation: 51-40=11, Resulting Numbers: [65, 11]
Generated Node #0,2,3: 65:[65, 11] Operation: 51-40=11
Exploring Operation: 40+65=105, Resulting Numbers: [51, 105]
Generated Node #0,2,4: 65:[51, 105] Operation: 40+65=105
Moving to Node #0,2,3
Current State: 65:[65, 11], Operations: ['78-13=65', '51-40=11']
Exploring Operation: 65-11=54, Resulting Numbers: [54]
54,65 unequal: No Solution
Exploring Operation: 65+11=76, Resulting Numbers: [76]
76,65 unequal: No Solution
Exploring Operation: 65*11=715, Resulting Numbers: [715]
715,65 unequal: No Solution
Moving to Node #0,1,4
Current State: 65:[78, 2], Operations: ['40+13=53', '53-51=2']
Exploring Operation: 78/2=39, Resulting Numbers: [39]
39,65 unequal: No Solution
Exploring Operation: 78+2=80, Resulting Numbers: [80]
80,65 unequal: No Solution
Exploring Operation: 78-2=76, Resulting Numbers: [76]
76,65 unequal: No Solution
Exploring Operation: 78*2=156, Resulting Numbers: [156]
156,65 unequal: No Solution
Moving to Node #0,2,0
Current State: 65:[65, 91], Operations: ['78-13=65', '40+51=91']
Exploring Operation: 65+91=156, Resulting Numbers: [156]
156,65 unequal: No Solution
Exploring Operation: 91-65=26, Resulting Numbers: [26]
26,65 unequal: No Solution
Exploring Operation: 65*91=5915, Resulting Numbers: [5915]
5915,65 unequal: No Solution
Moving to Node #0,1,2
Current State: 65:[51, 25], Operations: ['40+13=53', '78-53=25']
Exploring Operation: 51*25=1275, Resulting Numbers: [1275]
1275,65 unequal: No Solution
Exploring Operation: 51+25=76, Resulting Numbers: [76]
76,65 unequal: No Solution
Exploring Operation: 51-25=26, Resulting Numbers: [26]
26,65 unequal: No Solution
Moving to Node #0,2,2
Current State: 65:[40, 14], Operations: ['78-13=65', '65-51=14']
Exploring Operation: 40-14=26, Resulting Numbers: [26]
26,65 unequal: No Solution
Exploring Operation: 40*14=560, Resulting Numbers: [560]
560,65 unequal: No Solution
Exploring Operation: 40+14=54, Resulting Numbers: [54]
54,65 unequal: No Solution
Moving to Node #0,1,1
Current State: 65:[53, 27], Operations: ['40+13=53', '78-51=27']
Exploring Operation: 53*27=1431, Resulting Numbers: [1431]
1431,65 unequal: No Solution
Exploring Operation: 53+27=80, Resulting Numbers: [80]
80,65 unequal: No Solution
Exploring Operation: 53-27=26, Resulting Numbers: [26]
26,65 unequal: No Solution
Moving to Node #0,2,1
Current State: 65:[51, 25], Operations: ['78-13=65', '65-40=25']
Exploring Operation: 51-25=26, Resulting Numbers: [26]
26,65 unequal: No Solution
Exploring Operation: 51*25=1275, Resulting Numbers: [1275]
1275,65 unequal: No Solution
Exploring Operation: 51+25=76, Resulting Numbers: [76]
76,65 unequal: No Solution
Moving to Node #0,1,3
Current State: 65:[78, 104], Operations: ['40+13=53', '51+53=104']
Exploring Operation: 78+104=182, Resulting Numbers: [182]
182,65 unequal: No Solution
Exploring Operation: 78*104=8112, Resulting Numbers: [8112]
8112,65 unequal: No Solution
Exploring Operation: 104-78=26, Resulting Numbers: [26]
26,65 unequal: No Solution
Moving to Node #0,2,4
Current State: 65:[51, 105], Operations: ['78-13=65', '40+65=105']
Exploring Operation: 51*105=5355, Resulting Numbers: [5355]
5355,65 unequal: No Solution
Exploring Operation: 105-51=54, Resulting Numbers: [54]
54,65 unequal: No Solution
Exploring Operation: 51+105=156, Resulting Numbers: [156]
156,65 unequal: No Solution
Moving to Node #0,1,0
Current State: 65:[53, 129], Operations: ['40+13=53', '78+51=129']
Exploring Operation: 129-53=76, Resulting Numbers: [76]
76,65 unequal: No Solution
Exploring Operation: 53+129=182, Resulting Numbers: [182]
182,65 unequal: No Solution
Exploring Operation: 53*129=6837, Resulting Numbers: [6837]
6837,65 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
82,
51,
48,
44
] | 27 | [
"82-51=31",
"48-44=4",
"31-4=27"
] | Current State: 27:[82, 51, 48, 44], Operations: []
Exploring Operation: 82-51=31, Resulting Numbers: [48, 44, 31]
Generated Node #2: [48, 44, 31] from Operation: 82-51=31
Current State: 27:[48, 44, 31], Operations: ['82-51=31']
Exploring Operation: 48-44=4, Resulting Numbers: [31, 4]
Generated Node #3: [31, 4] from Operation: 48-44=4
Current State: 27:[31, 4], Operations: ['82-51=31', '48-44=4']
Exploring Operation: 31-4=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[82, 51, 48, 44], Operations: []
Exploring Operation: 82-44=38, Resulting Numbers: [51, 48, 38]
Generated Node #0,0: 27:[51, 48, 38] Operation: 82-44=38
Exploring Operation: 82-51=31, Resulting Numbers: [48, 44, 31]
Generated Node #0,1: 27:[48, 44, 31] Operation: 82-51=31
Exploring Operation: 82-48=34, Resulting Numbers: [51, 44, 34]
Generated Node #0,2: 27:[51, 44, 34] Operation: 82-48=34
Start Sub Search at level 1: Moving to Node #0,1
Current State: 27:[48, 44, 31], Operations: ['82-51=31']
Exploring Operation: 44-31=13, Resulting Numbers: [48, 13]
Generated Node #0,1,0: 27:[48, 13] Operation: 44-31=13
Exploring Operation: 48-44=4, Resulting Numbers: [31, 4]
Generated Node #0,1,1: 27:[31, 4] Operation: 48-44=4
Exploring Operation: 48-31=17, Resulting Numbers: [44, 17]
Generated Node #0,1,2: 27:[44, 17] Operation: 48-31=17
Moving to Node #0,1,1
Current State: 27:[31, 4], Operations: ['82-51=31', '48-44=4']
Exploring Operation: 31-4=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[82, 51, 48, 44], Operations: []
Exploring Operation: 82-51=31, Resulting Numbers: [48, 44, 31]
Generated Node #0,1: 27:[48, 44, 31] Operation: 82-51=31
Moving to Node #0,1
Current State: 27:[48, 44, 31], Operations: ['82-51=31']
Exploring Operation: 48-44=4, Resulting Numbers: [31, 4]
Generated Node #0,1,1: 27:[31, 4] Operation: 48-44=4
Moving to Node #0,1,1
Current State: 27:[31, 4], Operations: ['82-51=31', '48-44=4']
Exploring Operation: 31-4=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
66,
49,
61,
81
] | 57 | [
"66*61=4026",
"49*81=3969",
"4026-3969=57"
] | Current State: 57:[66, 49, 61, 81], Operations: []
Exploring Operation: 66*61=4026, Resulting Numbers: [49, 81, 4026]
Generated Node #2: [49, 81, 4026] from Operation: 66*61=4026
Current State: 57:[49, 81, 4026], Operations: ['66*61=4026']
Exploring Operation: 49*81=3969, Resulting Numbers: [4026, 3969]
Generated Node #3: [4026, 3969] from Operation: 49*81=3969
Current State: 57:[4026, 3969], Operations: ['66*61=4026', '49*81=3969']
Exploring Operation: 4026-3969=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[66, 49, 61, 81], Operations: []
Exploring Operation: 66-49=17, Resulting Numbers: [61, 81, 17]
Generated Node #0,0: 57:[61, 81, 17] Operation: 66-49=17
Exploring Operation: 66-61=5, Resulting Numbers: [49, 81, 5]
Generated Node #0,1: 57:[49, 81, 5] Operation: 66-61=5
Exploring Operation: 81-66=15, Resulting Numbers: [49, 61, 15]
Generated Node #0,2: 57:[49, 61, 15] Operation: 81-66=15
Exploring Operation: 81-49=32, Resulting Numbers: [66, 61, 32]
Generated Node #0,3: 57:[66, 61, 32] Operation: 81-49=32
Exploring Operation: 81-61=20, Resulting Numbers: [66, 49, 20]
Generated Node #0,4: 57:[66, 49, 20] Operation: 81-61=20
Start Sub Search at level 1: Moving to Node #0,2
Current State: 57:[49, 61, 15], Operations: ['81-66=15']
Exploring Operation: 49+15=64, Resulting Numbers: [61, 64]
Generated Node #0,2,0: 57:[61, 64] Operation: 49+15=64
Exploring Operation: 49-15=34, Resulting Numbers: [61, 34]
Generated Node #0,2,1: 57:[61, 34] Operation: 49-15=34
Exploring Operation: 61-49=12, Resulting Numbers: [15, 12]
Generated Node #0,2,2: 57:[15, 12] Operation: 61-49=12
Exploring Operation: 61-15=46, Resulting Numbers: [49, 46]
Generated Node #0,2,3: 57:[49, 46] Operation: 61-15=46
Exploring Operation: 61+15=76, Resulting Numbers: [49, 76]
Generated Node #0,2,4: 57:[49, 76] Operation: 61+15=76
Moving to Node #0,2,0
Current State: 57:[61, 64], Operations: ['81-66=15', '49+15=64']
Exploring Operation: 61*64=3904, Resulting Numbers: [3904]
3904,57 unequal: No Solution
Exploring Operation: 64-61=3, Resulting Numbers: [3]
3,57 unequal: No Solution
Exploring Operation: 61+64=125, Resulting Numbers: [125]
125,57 unequal: No Solution
Moving to Node #0,2,2
Current State: 57:[15, 12], Operations: ['81-66=15', '61-49=12']
Exploring Operation: 15*12=180, Resulting Numbers: [180]
180,57 unequal: No Solution
Exploring Operation: 15+12=27, Resulting Numbers: [27]
27,57 unequal: No Solution
Exploring Operation: 15-12=3, Resulting Numbers: [3]
3,57 unequal: No Solution
Moving to Node #0,2,1
Current State: 57:[61, 34], Operations: ['81-66=15', '49-15=34']
Exploring Operation: 61*34=2074, Resulting Numbers: [2074]
2074,57 unequal: No Solution
Exploring Operation: 61-34=27, Resulting Numbers: [27]
27,57 unequal: No Solution
Exploring Operation: 61+34=95, Resulting Numbers: [95]
95,57 unequal: No Solution
Moving to Node #0,2,3
Current State: 57:[49, 46], Operations: ['81-66=15', '61-15=46']
Exploring Operation: 49+46=95, Resulting Numbers: [95]
95,57 unequal: No Solution
Exploring Operation: 49*46=2254, Resulting Numbers: [2254]
2254,57 unequal: No Solution
Exploring Operation: 49-46=3, Resulting Numbers: [3]
3,57 unequal: No Solution
Moving to Node #0,2,4
Current State: 57:[49, 76], Operations: ['81-66=15', '61+15=76']
Exploring Operation: 49*76=3724, Resulting Numbers: [3724]
3724,57 unequal: No Solution
Exploring Operation: 49+76=125, Resulting Numbers: [125]
125,57 unequal: No Solution
Exploring Operation: 76-49=27, Resulting Numbers: [27]
27,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 57:[66, 49, 20], Operations: ['81-61=20']
Exploring Operation: 49-20=29, Resulting Numbers: [66, 29]
Generated Node #0,4,0: 57:[66, 29] Operation: 49-20=29
Exploring Operation: 49+20=69, Resulting Numbers: [66, 69]
Generated Node #0,4,1: 57:[66, 69] Operation: 49+20=69
Exploring Operation: 66+20=86, Resulting Numbers: [49, 86]
Generated Node #0,4,2: 57:[49, 86] Operation: 66+20=86
Exploring Operation: 66-20=46, Resulting Numbers: [49, 46]
Generated Node #0,4,3: 57:[49, 46] Operation: 66-20=46
Exploring Operation: 66-49=17, Resulting Numbers: [20, 17]
Generated Node #0,4,4: 57:[20, 17] Operation: 66-49=17
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 57:[20, 17], Operations: ['81-61=20', '66-49=17']
Exploring Operation: 20*17=340, Resulting Numbers: [340]
340,57 unequal: No Solution
Exploring Operation: 20+17=37, Resulting Numbers: [37]
37,57 unequal: No Solution
Exploring Operation: 20-17=3, Resulting Numbers: [3]
3,57 unequal: No Solution
No 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: 57:[66, 29], Operations: ['81-61=20', '49-20=29']
Exploring Operation: 66*29=1914, Resulting Numbers: [1914]
1914,57 unequal: No Solution
Exploring Operation: 66+29=95, Resulting Numbers: [95]
95,57 unequal: No Solution
Exploring Operation: 66-29=37, Resulting Numbers: [37]
37,57 unequal: No Solution
No 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: 57:[49, 46], Operations: ['81-61=20', '66-20=46']
Exploring Operation: 49*46=2254, Resulting Numbers: [2254]
2254,57 unequal: No Solution
Exploring Operation: 49+46=95, Resulting Numbers: [95]
95,57 unequal: No Solution
Exploring Operation: 49-46=3, Resulting Numbers: [3]
3,57 unequal: No Solution
No 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: 57:[66, 69], Operations: ['81-61=20', '49+20=69']
Exploring Operation: 66+69=135, Resulting Numbers: [135]
135,57 unequal: No Solution
Exploring Operation: 66*69=4554, Resulting Numbers: [4554]
4554,57 unequal: No Solution
Exploring Operation: 69-66=3, Resulting Numbers: [3]
3,57 unequal: No Solution
No 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: 57:[49, 86], Operations: ['81-61=20', '66+20=86']
Exploring Operation: 49*86=4214, Resulting Numbers: [4214]
4214,57 unequal: No Solution
Exploring Operation: 86-49=37, Resulting Numbers: [37]
37,57 unequal: No Solution
Exploring Operation: 49+86=135, Resulting Numbers: [135]
135,57 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: 57:[66, 61, 32], Operations: ['81-49=32']
Exploring Operation: 61+32=93, Resulting Numbers: [66, 93]
Generated Node #0,3,0: 57:[66, 93] Operation: 61+32=93
Exploring Operation: 66-61=5, Resulting Numbers: [32, 5]
Generated Node #0,3,1: 57:[32, 5] Operation: 66-61=5
Exploring Operation: 66+32=98, Resulting Numbers: [61, 98]
Generated Node #0,3,2: 57:[61, 98] Operation: 66+32=98
Exploring Operation: 61-32=29, Resulting Numbers: [66, 29]
Generated Node #0,3,3: 57:[66, 29] Operation: 61-32=29
Exploring Operation: 66-32=34, Resulting Numbers: [61, 34]
Generated Node #0,3,4: 57:[61, 34] Operation: 66-32=34
Moving to Node #0,3,1
Current State: 57:[32, 5], Operations: ['81-49=32', '66-61=5']
Exploring Operation: 32*5=160, Resulting Numbers: [160]
160,57 unequal: No Solution
Exploring Operation: 32+5=37, Resulting Numbers: [37]
37,57 unequal: No Solution
Exploring Operation: 32-5=27, Resulting Numbers: [27]
27,57 unequal: No Solution
Moving to Node #0,3,4
Current State: 57:[61, 34], Operations: ['81-49=32', '66-32=34']
Exploring Operation: 61+34=95, Resulting Numbers: [95]
95,57 unequal: No Solution
Exploring Operation: 61-34=27, Resulting Numbers: [27]
27,57 unequal: No Solution
Exploring Operation: 61*34=2074, Resulting Numbers: [2074]
2074,57 unequal: No Solution
Moving to Node #0,3,3
Current State: 57:[66, 29], Operations: ['81-49=32', '61-32=29']
Exploring Operation: 66*29=1914, Resulting Numbers: [1914]
1914,57 unequal: No Solution
Exploring Operation: 66+29=95, Resulting Numbers: [95]
95,57 unequal: No Solution
Exploring Operation: 66-29=37, Resulting Numbers: [37]
37,57 unequal: No Solution
Moving to Node #0,3,0
Current State: 57:[66, 93], Operations: ['81-49=32', '61+32=93']
Exploring Operation: 93-66=27, Resulting Numbers: [27]
27,57 unequal: No Solution
Exploring Operation: 66+93=159, Resulting Numbers: [159]
159,57 unequal: No Solution
Exploring Operation: 66*93=6138, Resulting Numbers: [6138]
6138,57 unequal: No Solution
Moving to Node #0,3,2
Current State: 57:[61, 98], Operations: ['81-49=32', '66+32=98']
Exploring Operation: 98-61=37, Resulting Numbers: [37]
37,57 unequal: No Solution
Exploring Operation: 61*98=5978, Resulting Numbers: [5978]
5978,57 unequal: No Solution
Exploring Operation: 61+98=159, Resulting Numbers: [159]
159,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
Current State: 57:[61, 81, 17], Operations: ['66-49=17']
Exploring Operation: 81+17=98, Resulting Numbers: [61, 98]
Generated Node #0,0,0: 57:[61, 98] Operation: 81+17=98
Exploring Operation: 81-17=64, Resulting Numbers: [61, 64]
Generated Node #0,0,1: 57:[61, 64] Operation: 81-17=64
Exploring Operation: 61+17=78, Resulting Numbers: [81, 78]
Generated Node #0,0,2: 57:[81, 78] Operation: 61+17=78
Exploring Operation: 81-61=20, Resulting Numbers: [17, 20]
Generated Node #0,0,3: 57:[17, 20] Operation: 81-61=20
Exploring Operation: 61-17=44, Resulting Numbers: [81, 44]
Generated Node #0,0,4: 57:[81, 44] Operation: 61-17=44
Moving to Node #0,0,3
Current State: 57:[17, 20], Operations: ['66-49=17', '81-61=20']
Exploring Operation: 17+20=37, Resulting Numbers: [37]
37,57 unequal: No Solution
Exploring Operation: 20-17=3, Resulting Numbers: [3]
3,57 unequal: No Solution
Exploring Operation: 17*20=340, Resulting Numbers: [340]
340,57 unequal: No Solution
Moving to Node #0,0,1
Current State: 57:[61, 64], Operations: ['66-49=17', '81-17=64']
Exploring Operation: 64-61=3, Resulting Numbers: [3]
3,57 unequal: No Solution
Exploring Operation: 61*64=3904, Resulting Numbers: [3904]
3904,57 unequal: No Solution
Exploring Operation: 61+64=125, Resulting Numbers: [125]
125,57 unequal: No Solution
Moving to Node #0,0,4
Current State: 57:[81, 44], Operations: ['66-49=17', '61-17=44']
Exploring Operation: 81*44=3564, Resulting Numbers: [3564]
3564,57 unequal: No Solution
Exploring Operation: 81-44=37, Resulting Numbers: [37]
37,57 unequal: No Solution
Exploring Operation: 81+44=125, Resulting Numbers: [125]
125,57 unequal: No Solution
Moving to Node #0,0,0
Current State: 57:[61, 98], Operations: ['66-49=17', '81+17=98']
Exploring Operation: 98-61=37, Resulting Numbers: [37]
37,57 unequal: No Solution
Exploring Operation: 61+98=159, Resulting Numbers: [159]
159,57 unequal: No Solution
Exploring Operation: 61*98=5978, Resulting Numbers: [5978]
5978,57 unequal: No Solution
Moving to Node #0,0,2
Current State: 57:[81, 78], Operations: ['66-49=17', '61+17=78']
Exploring Operation: 81+78=159, Resulting Numbers: [159]
159,57 unequal: No Solution
Exploring Operation: 81-78=3, Resulting Numbers: [3]
3,57 unequal: No Solution
Exploring Operation: 81*78=6318, Resulting Numbers: [6318]
6318,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 57:[49, 81, 5], Operations: ['66-61=5']
Exploring Operation: 49-5=44, Resulting Numbers: [81, 44]
Generated Node #0,1,0: 57:[81, 44] Operation: 49-5=44
Exploring Operation: 49+5=54, Resulting Numbers: [81, 54]
Generated Node #0,1,1: 57:[81, 54] Operation: 49+5=54
Exploring Operation: 81+5=86, Resulting Numbers: [49, 86]
Generated Node #0,1,2: 57:[49, 86] Operation: 81+5=86
Exploring Operation: 81-5=76, Resulting Numbers: [49, 76]
Generated Node #0,1,3: 57:[49, 76] Operation: 81-5=76
Exploring Operation: 81-49=32, Resulting Numbers: [5, 32]
Generated Node #0,1,4: 57:[5, 32] Operation: 81-49=32
Moving to Node #0,1,4
Current State: 57:[5, 32], Operations: ['66-61=5', '81-49=32']
Exploring Operation: 5*32=160, Resulting Numbers: [160]
160,57 unequal: No Solution
Exploring Operation: 5+32=37, Resulting Numbers: [37]
37,57 unequal: No Solution
Exploring Operation: 32-5=27, Resulting Numbers: [27]
27,57 unequal: No Solution
Moving to Node #0,1,3
Current State: 57:[49, 76], Operations: ['66-61=5', '81-5=76']
Exploring Operation: 49+76=125, Resulting Numbers: [125]
125,57 unequal: No Solution
Exploring Operation: 49*76=3724, Resulting Numbers: [3724]
3724,57 unequal: No Solution
Exploring Operation: 76-49=27, Resulting Numbers: [27]
27,57 unequal: No Solution
Moving to Node #0,1,1
Current State: 57:[81, 54], Operations: ['66-61=5', '49+5=54']
Exploring Operation: 81*54=4374, Resulting Numbers: [4374]
4374,57 unequal: No Solution
Exploring Operation: 81+54=135, Resulting Numbers: [135]
135,57 unequal: No Solution
Exploring Operation: 81-54=27, Resulting Numbers: [27]
27,57 unequal: No Solution
Moving to Node #0,1,0
Current State: 57:[81, 44], Operations: ['66-61=5', '49-5=44']
Exploring Operation: 81*44=3564, Resulting Numbers: [3564]
3564,57 unequal: No Solution
Exploring Operation: 81-44=37, Resulting Numbers: [37]
37,57 unequal: No Solution
Exploring Operation: 81+44=125, Resulting Numbers: [125]
125,57 unequal: No Solution
Moving to Node #0,1,2
Current State: 57:[49, 86], Operations: ['66-61=5', '81+5=86']
Exploring Operation: 86-49=37, Resulting Numbers: [37]
37,57 unequal: No Solution
Exploring Operation: 49*86=4214, Resulting Numbers: [4214]
4214,57 unequal: No Solution
Exploring Operation: 49+86=135, Resulting Numbers: [135]
135,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
6,
37,
62,
71
] | 79 | [
"62-37=25",
"6*25=150",
"150-71=79"
] | Current State: 79:[6, 37, 62, 71], Operations: []
Exploring Operation: 62-37=25, Resulting Numbers: [6, 71, 25]
Generated Node #2: [6, 71, 25] from Operation: 62-37=25
Current State: 79:[6, 71, 25], Operations: ['62-37=25']
Exploring Operation: 6*25=150, Resulting Numbers: [71, 150]
Generated Node #3: [71, 150] from Operation: 6*25=150
Current State: 79:[71, 150], Operations: ['62-37=25', '6*25=150']
Exploring Operation: 150-71=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[6, 37, 62, 71], Operations: []
Exploring Operation: 37-6=31, Resulting Numbers: [62, 71, 31]
Generated Node #0,0: 79:[62, 71, 31] Operation: 37-6=31
Exploring Operation: 6+62=68, Resulting Numbers: [37, 71, 68]
Generated Node #0,1: 79:[37, 71, 68] Operation: 6+62=68
Exploring Operation: 62-6=56, Resulting Numbers: [37, 71, 56]
Generated Node #0,2: 79:[37, 71, 56] Operation: 62-6=56
Exploring Operation: 6+37=43, Resulting Numbers: [62, 71, 43]
Generated Node #0,3: 79:[62, 71, 43] Operation: 6+37=43
Exploring Operation: 6+71=77, Resulting Numbers: [37, 62, 77]
Generated Node #0,4: 79:[37, 62, 77] Operation: 6+71=77
Moving to Node #0,1
Current State: 79:[37, 71, 68], Operations: ['6+62=68']
Exploring Operation: 71+68=139, Resulting Numbers: [37, 139]
Generated Node #0,1,0: 79:[37, 139] Operation: 71+68=139
Exploring Operation: 71-37=34, Resulting Numbers: [68, 34]
Generated Node #0,1,1: 79:[68, 34] Operation: 71-37=34
Exploring Operation: 37+68=105, Resulting Numbers: [71, 105]
Generated Node #0,1,2: 79:[71, 105] Operation: 37+68=105
Exploring Operation: 68-37=31, Resulting Numbers: [71, 31]
Generated Node #0,1,3: 79:[71, 31] Operation: 68-37=31
Exploring Operation: 37+71=108, Resulting Numbers: [68, 108]
Generated Node #0,1,4: 79:[68, 108] Operation: 37+71=108
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 79:[71, 105], Operations: ['6+62=68', '37+68=105']
Exploring Operation: 105-71=34, Resulting Numbers: [34]
34,79 unequal: No Solution
Exploring Operation: 71*105=7455, Resulting Numbers: [7455]
7455,79 unequal: No Solution
Exploring Operation: 71+105=176, Resulting Numbers: [176]
176,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 79:[68, 108], Operations: ['6+62=68', '37+71=108']
Exploring Operation: 68*108=7344, Resulting Numbers: [7344]
7344,79 unequal: No Solution
Exploring Operation: 108-68=40, Resulting Numbers: [40]
40,79 unequal: No Solution
Exploring Operation: 68+108=176, Resulting Numbers: [176]
176,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 79:[68, 34], Operations: ['6+62=68', '71-37=34']
Exploring Operation: 68/34=2, Resulting Numbers: [2]
2,79 unequal: No Solution
Exploring Operation: 68-34=34, Resulting Numbers: [34]
34,79 unequal: No Solution
Exploring Operation: 68+34=102, Resulting Numbers: [102]
102,79 unequal: No Solution
Exploring Operation: 68*34=2312, Resulting Numbers: [2312]
2312,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 79:[71, 31], Operations: ['6+62=68', '68-37=31']
Exploring Operation: 71*31=2201, Resulting Numbers: [2201]
2201,79 unequal: No Solution
Exploring Operation: 71-31=40, Resulting Numbers: [40]
40,79 unequal: No Solution
Exploring Operation: 71+31=102, Resulting Numbers: [102]
102,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 79:[37, 139], Operations: ['6+62=68', '71+68=139']
Exploring Operation: 37*139=5143, Resulting Numbers: [5143]
5143,79 unequal: No Solution
Exploring Operation: 37+139=176, Resulting Numbers: [176]
176,79 unequal: No Solution
Exploring Operation: 139-37=102, Resulting Numbers: [102]
102,79 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: 79:[37, 62, 77], Operations: ['6+71=77']
Exploring Operation: 77-37=40, Resulting Numbers: [62, 40]
Generated Node #0,4,0: 79:[62, 40] Operation: 77-37=40
Exploring Operation: 37+62=99, Resulting Numbers: [77, 99]
Generated Node #0,4,1: 79:[77, 99] Operation: 37+62=99
Exploring Operation: 62+77=139, Resulting Numbers: [37, 139]
Generated Node #0,4,2: 79:[37, 139] Operation: 62+77=139
Exploring Operation: 37+77=114, Resulting Numbers: [62, 114]
Generated Node #0,4,3: 79:[62, 114] Operation: 37+77=114
Exploring Operation: 62-37=25, Resulting Numbers: [77, 25]
Generated Node #0,4,4: 79:[77, 25] Operation: 62-37=25
Moving to Node #0,3
Current State: 79:[62, 71, 43], Operations: ['6+37=43']
Exploring Operation: 62+43=105, Resulting Numbers: [71, 105]
Generated Node #0,3,0: 79:[71, 105] Operation: 62+43=105
Exploring Operation: 62+71=133, Resulting Numbers: [43, 133]
Generated Node #0,3,1: 79:[43, 133] Operation: 62+71=133
Exploring Operation: 71+43=114, Resulting Numbers: [62, 114]
Generated Node #0,3,2: 79:[62, 114] Operation: 71+43=114
Exploring Operation: 71-43=28, Resulting Numbers: [62, 28]
Generated Node #0,3,3: 79:[62, 28] Operation: 71-43=28
Exploring Operation: 62-43=19, Resulting Numbers: [71, 19]
Generated Node #0,3,4: 79:[71, 19] Operation: 62-43=19
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 79:[71, 105], Operations: ['6+37=43', '62+43=105']
Exploring Operation: 105-71=34, Resulting Numbers: [34]
34,79 unequal: No Solution
Exploring Operation: 71+105=176, Resulting Numbers: [176]
176,79 unequal: No Solution
Exploring Operation: 71*105=7455, Resulting Numbers: [7455]
7455,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 79:[62, 114], Operations: ['6+37=43', '71+43=114']
Exploring Operation: 114-62=52, Resulting Numbers: [52]
52,79 unequal: No Solution
Exploring Operation: 62+114=176, Resulting Numbers: [176]
176,79 unequal: No Solution
Exploring Operation: 62*114=7068, Resulting Numbers: [7068]
7068,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 79:[62, 28], Operations: ['6+37=43', '71-43=28']
Exploring Operation: 62-28=34, Resulting Numbers: [34]
34,79 unequal: No Solution
Exploring Operation: 62*28=1736, Resulting Numbers: [1736]
1736,79 unequal: No Solution
Exploring Operation: 62+28=90, Resulting Numbers: [90]
90,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 79:[71, 19], Operations: ['6+37=43', '62-43=19']
Exploring Operation: 71*19=1349, Resulting Numbers: [1349]
1349,79 unequal: No Solution
Exploring Operation: 71+19=90, Resulting Numbers: [90]
90,79 unequal: No Solution
Exploring Operation: 71-19=52, Resulting Numbers: [52]
52,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 79:[43, 133], Operations: ['6+37=43', '62+71=133']
Exploring Operation: 43+133=176, Resulting Numbers: [176]
176,79 unequal: No Solution
Exploring Operation: 133-43=90, Resulting Numbers: [90]
90,79 unequal: No Solution
Exploring Operation: 43*133=5719, Resulting Numbers: [5719]
5719,79 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: 79:[62, 71, 31], Operations: ['37-6=31']
Exploring Operation: 62-31=31, Resulting Numbers: [71, 31]
Generated Node #0,0,0: 79:[71, 31] Operation: 62-31=31
Exploring Operation: 62+31=93, Resulting Numbers: [71, 93]
Generated Node #0,0,1: 79:[71, 93] Operation: 62+31=93
Exploring Operation: 71+31=102, Resulting Numbers: [62, 102]
Generated Node #0,0,2: 79:[62, 102] Operation: 71+31=102
Exploring Operation: 62/31=2, Resulting Numbers: [71, 2]
Generated Node #0,0,3: 79:[71, 2] Operation: 62/31=2
Exploring Operation: 71-31=40, Resulting Numbers: [62, 40]
Generated Node #0,0,4: 79:[62, 40] Operation: 71-31=40
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 79:[71, 93], Operations: ['37-6=31', '62+31=93']
Exploring Operation: 71+93=164, Resulting Numbers: [164]
164,79 unequal: No Solution
Exploring Operation: 71*93=6603, Resulting Numbers: [6603]
6603,79 unequal: No Solution
Exploring Operation: 93-71=22, Resulting Numbers: [22]
22,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 79:[62, 102], Operations: ['37-6=31', '71+31=102']
Exploring Operation: 62+102=164, Resulting Numbers: [164]
164,79 unequal: No Solution
Exploring Operation: 62*102=6324, Resulting Numbers: [6324]
6324,79 unequal: No Solution
Exploring Operation: 102-62=40, Resulting Numbers: [40]
40,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 79:[71, 31], Operations: ['37-6=31', '62-31=31']
Exploring Operation: 71+31=102, Resulting Numbers: [102]
102,79 unequal: No Solution
Exploring Operation: 71*31=2201, Resulting Numbers: [2201]
2201,79 unequal: No Solution
Exploring Operation: 71-31=40, Resulting Numbers: [40]
40,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 79:[62, 40], Operations: ['37-6=31', '71-31=40']
Exploring Operation: 62+40=102, Resulting Numbers: [102]
102,79 unequal: No Solution
Exploring Operation: 62*40=2480, Resulting Numbers: [2480]
2480,79 unequal: No Solution
Exploring Operation: 62-40=22, Resulting Numbers: [22]
22,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 79:[71, 2], Operations: ['37-6=31', '62/31=2']
Exploring Operation: 71*2=142, Resulting Numbers: [142]
142,79 unequal: No Solution
Exploring Operation: 71+2=73, Resulting Numbers: [73]
73,79 unequal: No Solution
Exploring Operation: 71-2=69, Resulting Numbers: [69]
69,79 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: 79:[37, 71, 56], Operations: ['62-6=56']
Exploring Operation: 56-37=19, Resulting Numbers: [71, 19]
Generated Node #0,2,0: 79:[71, 19] Operation: 56-37=19
Exploring Operation: 37+56=93, Resulting Numbers: [71, 93]
Generated Node #0,2,1: 79:[71, 93] Operation: 37+56=93
Exploring Operation: 37+71=108, Resulting Numbers: [56, 108]
Generated Node #0,2,2: 79:[56, 108] Operation: 37+71=108
Exploring Operation: 71-37=34, Resulting Numbers: [56, 34]
Generated Node #0,2,3: 79:[56, 34] Operation: 71-37=34
Exploring Operation: 71+56=127, Resulting Numbers: [37, 127]
Generated Node #0,2,4: 79:[37, 127] Operation: 71+56=127
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 79:[71, 93], Operations: ['62-6=56', '37+56=93']
Exploring Operation: 71+93=164, Resulting Numbers: [164]
164,79 unequal: No Solution
Exploring Operation: 93-71=22, Resulting Numbers: [22]
22,79 unequal: No Solution
Exploring Operation: 71*93=6603, Resulting Numbers: [6603]
6603,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 79:[56, 108], Operations: ['62-6=56', '37+71=108']
Exploring Operation: 56*108=6048, Resulting Numbers: [6048]
6048,79 unequal: No Solution
Exploring Operation: 56+108=164, Resulting Numbers: [164]
164,79 unequal: No Solution
Exploring Operation: 108-56=52, Resulting Numbers: [52]
52,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 79:[71, 19], Operations: ['62-6=56', '56-37=19']
Exploring Operation: 71*19=1349, Resulting Numbers: [1349]
1349,79 unequal: No Solution
Exploring Operation: 71-19=52, Resulting Numbers: [52]
52,79 unequal: No Solution
Exploring Operation: 71+19=90, Resulting Numbers: [90]
90,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 79:[56, 34], Operations: ['62-6=56', '71-37=34']
Exploring Operation: 56-34=22, Resulting Numbers: [22]
22,79 unequal: No Solution
Exploring Operation: 56+34=90, Resulting Numbers: [90]
90,79 unequal: No Solution
Exploring Operation: 56*34=1904, Resulting Numbers: [1904]
1904,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 79:[37, 127], Operations: ['62-6=56', '71+56=127']
Exploring Operation: 37+127=164, Resulting Numbers: [164]
164,79 unequal: No Solution
Exploring Operation: 127-37=90, Resulting Numbers: [90]
90,79 unequal: No Solution
Exploring Operation: 37*127=4699, Resulting Numbers: [4699]
4699,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,1
Current State: 79:[77, 99], Operations: ['6+71=77', '37+62=99']
Exploring Operation: 77*99=7623, Resulting Numbers: [7623]
7623,79 unequal: No Solution
Exploring Operation: 77+99=176, Resulting Numbers: [176]
176,79 unequal: No Solution
Exploring Operation: 99-77=22, Resulting Numbers: [22]
22,79 unequal: No Solution
Moving to Node #0,4,3
Current State: 79:[62, 114], Operations: ['6+71=77', '37+77=114']
Exploring Operation: 62+114=176, Resulting Numbers: [176]
176,79 unequal: No Solution
Exploring Operation: 62*114=7068, Resulting Numbers: [7068]
7068,79 unequal: No Solution
Exploring Operation: 114-62=52, Resulting Numbers: [52]
52,79 unequal: No Solution
Moving to Node #0,4,0
Current State: 79:[62, 40], Operations: ['6+71=77', '77-37=40']
Exploring Operation: 62-40=22, Resulting Numbers: [22]
22,79 unequal: No Solution
Exploring Operation: 62*40=2480, Resulting Numbers: [2480]
2480,79 unequal: No Solution
Exploring Operation: 62+40=102, Resulting Numbers: [102]
102,79 unequal: No Solution
Moving to Node #0,4,4
Current State: 79:[77, 25], Operations: ['6+71=77', '62-37=25']
Exploring Operation: 77+25=102, Resulting Numbers: [102]
102,79 unequal: No Solution
Exploring Operation: 77-25=52, Resulting Numbers: [52]
52,79 unequal: No Solution
Exploring Operation: 77*25=1925, Resulting Numbers: [1925]
1925,79 unequal: No Solution
Moving to Node #0,4,2
Current State: 79:[37, 139], Operations: ['6+71=77', '62+77=139']
Exploring Operation: 37*139=5143, Resulting Numbers: [5143]
5143,79 unequal: No Solution
Exploring Operation: 37+139=176, Resulting Numbers: [176]
176,79 unequal: No Solution
Exploring Operation: 139-37=102, Resulting Numbers: [102]
102,79 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
28,
82,
31,
91
] | 77 | [
"28*82=2296",
"91+2296=2387",
"2387/31=77"
] | Current State: 77:[28, 82, 31, 91], Operations: []
Exploring Operation: 28*82=2296, Resulting Numbers: [31, 91, 2296]
Generated Node #2: [31, 91, 2296] from Operation: 28*82=2296
Current State: 77:[31, 91, 2296], Operations: ['28*82=2296']
Exploring Operation: 91+2296=2387, Resulting Numbers: [31, 2387]
Generated Node #3: [31, 2387] from Operation: 91+2296=2387
Current State: 77:[31, 2387], Operations: ['28*82=2296', '91+2296=2387']
Exploring Operation: 2387/31=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[28, 82, 31, 91], Operations: []
Exploring Operation: 28+31=59, Resulting Numbers: [82, 91, 59]
Generated Node #0,0: 77:[82, 91, 59] Operation: 28+31=59
Exploring Operation: 31-28=3, Resulting Numbers: [82, 91, 3]
Generated Node #0,1: 77:[82, 91, 3] Operation: 31-28=3
Exploring Operation: 91-28=63, Resulting Numbers: [82, 31, 63]
Generated Node #0,2: 77:[82, 31, 63] Operation: 91-28=63
Start Sub Search at level 1: Moving to Node #0,1
Current State: 77:[82, 91, 3], Operations: ['31-28=3']
Exploring Operation: 82-3=79, Resulting Numbers: [91, 79]
Generated Node #0,1,0: 77:[91, 79] Operation: 82-3=79
Exploring Operation: 91-82=9, Resulting Numbers: [3, 9]
Generated Node #0,1,1: 77:[3, 9] Operation: 91-82=9
Exploring Operation: 91-3=88, Resulting Numbers: [82, 88]
Generated Node #0,1,2: 77:[82, 88] Operation: 91-3=88
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 77:[3, 9], Operations: ['31-28=3', '91-82=9']
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,77 unequal: No Solution
Exploring Operation: 3+9=12, Resulting Numbers: [12]
12,77 unequal: No Solution
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 77:[91, 79], Operations: ['31-28=3', '82-3=79']
Exploring Operation: 91+79=170, Resulting Numbers: [170]
170,77 unequal: No Solution
Exploring Operation: 91-79=12, Resulting Numbers: [12]
12,77 unequal: No Solution
Exploring Operation: 91*79=7189, Resulting Numbers: [7189]
7189,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 77:[82, 88], Operations: ['31-28=3', '91-3=88']
Exploring Operation: 88-82=6, Resulting Numbers: [6]
6,77 unequal: No Solution
Exploring Operation: 82+88=170, Resulting Numbers: [170]
170,77 unequal: No Solution
Exploring Operation: 82*88=7216, Resulting Numbers: [7216]
7216,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[82, 91, 59], Operations: ['28+31=59']
Exploring Operation: 91-59=32, Resulting Numbers: [82, 32]
Generated Node #0,0,0: 77:[82, 32] Operation: 91-59=32
Exploring Operation: 82-59=23, Resulting Numbers: [91, 23]
Generated Node #0,0,1: 77:[91, 23] Operation: 82-59=23
Exploring Operation: 91-82=9, Resulting Numbers: [59, 9]
Generated Node #0,0,2: 77:[59, 9] Operation: 91-82=9
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 77:[59, 9], Operations: ['28+31=59', '91-82=9']
Exploring Operation: 59+9=68, Resulting Numbers: [68]
68,77 unequal: No Solution
Exploring Operation: 59-9=50, Resulting Numbers: [50]
50,77 unequal: No Solution
Exploring Operation: 59*9=531, Resulting Numbers: [531]
531,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 77:[82, 32], Operations: ['28+31=59', '91-59=32']
Exploring Operation: 82*32=2624, Resulting Numbers: [2624]
2624,77 unequal: No Solution
Exploring Operation: 82+32=114, Resulting Numbers: [114]
114,77 unequal: No Solution
Exploring Operation: 82-32=50, Resulting Numbers: [50]
50,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 77:[91, 23], Operations: ['28+31=59', '82-59=23']
Exploring Operation: 91+23=114, Resulting Numbers: [114]
114,77 unequal: No Solution
Exploring Operation: 91-23=68, Resulting Numbers: [68]
68,77 unequal: No Solution
Exploring Operation: 91*23=2093, Resulting Numbers: [2093]
2093,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 77:[82, 31, 63], Operations: ['91-28=63']
Exploring Operation: 63-31=32, Resulting Numbers: [82, 32]
Generated Node #0,2,0: 77:[82, 32] Operation: 63-31=32
Exploring Operation: 31+63=94, Resulting Numbers: [82, 94]
Generated Node #0,2,1: 77:[82, 94] Operation: 31+63=94
Exploring Operation: 82-63=19, Resulting Numbers: [31, 19]
Generated Node #0,2,2: 77:[31, 19] Operation: 82-63=19
Moving to Node #0,2,1
Current State: 77:[82, 94], Operations: ['91-28=63', '31+63=94']
Exploring Operation: 82+94=176, Resulting Numbers: [176]
176,77 unequal: No Solution
Exploring Operation: 94-82=12, Resulting Numbers: [12]
12,77 unequal: No Solution
Exploring Operation: 82*94=7708, Resulting Numbers: [7708]
7708,77 unequal: No Solution
Moving to Node #0,2,0
Current State: 77:[82, 32], Operations: ['91-28=63', '63-31=32']
Exploring Operation: 82*32=2624, Resulting Numbers: [2624]
2624,77 unequal: No Solution
Exploring Operation: 82+32=114, Resulting Numbers: [114]
114,77 unequal: No Solution
Exploring Operation: 82-32=50, Resulting Numbers: [50]
50,77 unequal: No Solution
Moving to Node #0,2,2
Current State: 77:[31, 19], Operations: ['91-28=63', '82-63=19']
Exploring Operation: 31*19=589, Resulting Numbers: [589]
589,77 unequal: No Solution
Exploring Operation: 31+19=50, Resulting Numbers: [50]
50,77 unequal: No Solution
Exploring Operation: 31-19=12, Resulting Numbers: [12]
12,77 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 |
[
19,
15,
61,
41
] | 16 | [
"19-15=4",
"61-41=20",
"20-4=16"
] | Current State: 16:[19, 15, 61, 41], Operations: []
Exploring Operation: 19-15=4, Resulting Numbers: [61, 41, 4]
Generated Node #2: [61, 41, 4] from Operation: 19-15=4
Current State: 16:[61, 41, 4], Operations: ['19-15=4']
Exploring Operation: 61-41=20, Resulting Numbers: [4, 20]
Generated Node #3: [4, 20] from Operation: 61-41=20
Current State: 16:[4, 20], Operations: ['19-15=4', '61-41=20']
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[19, 15, 61, 41], Operations: []
Exploring Operation: 61-19=42, Resulting Numbers: [15, 41, 42]
Generated Node #0,0: 16:[15, 41, 42] Operation: 61-19=42
Exploring Operation: 41-19=22, Resulting Numbers: [15, 61, 22]
Generated Node #0,1: 16:[15, 61, 22] Operation: 41-19=22
Exploring Operation: 61-41=20, Resulting Numbers: [19, 15, 20]
Generated Node #0,2: 16:[19, 15, 20] Operation: 61-41=20
Moving to Node #0,2
Current State: 16:[19, 15, 20], Operations: ['61-41=20']
Exploring Operation: 20-19=1, Resulting Numbers: [15, 1]
Generated Node #0,2,0: 16:[15, 1] Operation: 20-19=1
Exploring Operation: 19-15=4, Resulting Numbers: [20, 4]
Generated Node #0,2,1: 16:[20, 4] Operation: 19-15=4
Exploring Operation: 20-15=5, Resulting Numbers: [19, 5]
Generated Node #0,2,2: 16:[19, 5] Operation: 20-15=5
Moving to Node #0,0
Current State: 16:[15, 41, 42], Operations: ['61-19=42']
Exploring Operation: 42-15=27, Resulting Numbers: [41, 27]
Generated Node #0,0,0: 16:[41, 27] Operation: 42-15=27
Exploring Operation: 42-41=1, Resulting Numbers: [15, 1]
Generated Node #0,0,1: 16:[15, 1] Operation: 42-41=1
Exploring Operation: 41-15=26, Resulting Numbers: [42, 26]
Generated Node #0,0,2: 16:[42, 26] Operation: 41-15=26
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 16:[15, 1], Operations: ['61-19=42', '42-41=1']
Exploring Operation: 15+1=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[19, 15, 61, 41], Operations: []
Exploring Operation: 61-19=42, Resulting Numbers: [15, 41, 42]
Generated Node #0,0: 16:[15, 41, 42] Operation: 61-19=42
Moving to Node #0,0
Current State: 16:[15, 41, 42], Operations: ['61-19=42']
Exploring Operation: 42-41=1, Resulting Numbers: [15, 1]
Generated Node #0,0,1: 16:[15, 1] Operation: 42-41=1
Moving to Node #0,0,1
Current State: 16:[15, 1], Operations: ['61-19=42', '42-41=1']
Exploring Operation: 15+1=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_3 | mult_heuristic |
[
51,
55,
55,
82
] | 31 | [
"51+55=106",
"55+82=137",
"137-106=31"
] | Current State: 31:[51, 55, 55, 82], Operations: []
Exploring Operation: 51+55=106, Resulting Numbers: [82, 106]
Generated Node #2: [82, 106] from Operation: 51+55=106
Current State: 31:[82, 106], Operations: ['51+55=106']
Exploring Operation: 55+82=137, Resulting Numbers: [106, 137]
Generated Node #3: [106, 137] from Operation: 55+82=137
Current State: 31:[106, 137], Operations: ['51+55=106', '55+82=137']
Exploring Operation: 137-106=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[51, 55, 55, 82], Operations: []
Exploring Operation: 82-55=27, Resulting Numbers: [51, 55, 27]
Generated Node #0,0: 31:[51, 55, 27] Operation: 82-55=27
Exploring Operation: 82-51=31, Resulting Numbers: [55, 55, 31]
Generated Node #0,1: 31:[55, 55, 31] Operation: 82-51=31
Moving to Node #0,0
Current State: 31:[51, 55, 27], Operations: ['82-55=27']
Exploring Operation: 55-51=4, Resulting Numbers: [27, 4]
Generated Node #0,0,0: 31:[27, 4] Operation: 55-51=4
Exploring Operation: 55-27=28, Resulting Numbers: [51, 28]
Generated Node #0,0,1: 31:[51, 28] Operation: 55-27=28
Moving to Node #0,1
Current State: 31:[55, 55, 31], Operations: ['82-51=31']
Exploring Operation: 55-55=0, Resulting Numbers: [31, 0]
Generated Node #0,1,0: 31:[31, 0] Operation: 55-55=0
Exploring Operation: 55/55=1, Resulting Numbers: [31, 1]
Generated Node #0,1,1: 31:[31, 1] Operation: 55/55=1
Moving to Node #0,0,1
Current State: 31:[51, 28], Operations: ['82-55=27', '55-27=28']
Exploring Operation: 51-28=23, Resulting Numbers: [23]
23,31 unequal: No Solution
Exploring Operation: 51+28=79, Resulting Numbers: [79]
79,31 unequal: No Solution
Moving to Node #0,1,1
Current State: 31:[31, 1], Operations: ['82-51=31', '55/55=1']
Exploring Operation: 31*1=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[51, 55, 55, 82], Operations: []
Exploring Operation: 82-51=31, Resulting Numbers: [55, 55, 31]
Generated Node #0,1: 31:[55, 55, 31] Operation: 82-51=31
Moving to Node #0,1
Current State: 31:[55, 55, 31], Operations: ['82-51=31']
Exploring Operation: 55/55=1, Resulting Numbers: [31, 1]
Generated Node #0,1,1: 31:[31, 1] Operation: 55/55=1
Moving to Node #0,1,1
Current State: 31:[31, 1], Operations: ['82-51=31', '55/55=1']
Exploring Operation: 31*1=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 0.988715 | hs_2 | sum_heuristic |
[
13,
12,
92,
10
] | 59 | [
"12-10=2",
"92/2=46",
"13+46=59"
] | Current State: 59:[13, 12, 92, 10], Operations: []
Exploring Operation: 12-10=2, Resulting Numbers: [13, 92, 2]
Generated Node #2: [13, 92, 2] from Operation: 12-10=2
Current State: 59:[13, 92, 2], Operations: ['12-10=2']
Exploring Operation: 92/2=46, Resulting Numbers: [13, 46]
Generated Node #3: [13, 46] from Operation: 92/2=46
Current State: 59:[13, 46], Operations: ['12-10=2', '92/2=46']
Exploring Operation: 13+46=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[13, 12, 92, 10], Operations: []
Exploring Operation: 13+12=25, Resulting Numbers: [92, 10, 25]
Generated Node #0,0: 59:[92, 10, 25] Operation: 13+12=25
Exploring Operation: 12+10=22, Resulting Numbers: [13, 92, 22]
Generated Node #0,1: 59:[13, 92, 22] Operation: 12+10=22
Exploring Operation: 92-12=80, Resulting Numbers: [13, 10, 80]
Generated Node #0,2: 59:[13, 10, 80] Operation: 92-12=80
Exploring Operation: 13+10=23, Resulting Numbers: [12, 92, 23]
Generated Node #0,3: 59:[12, 92, 23] Operation: 13+10=23
Exploring Operation: 92-13=79, Resulting Numbers: [12, 10, 79]
Generated Node #0,4: 59:[12, 10, 79] Operation: 92-13=79
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[92, 10, 25], Operations: ['13+12=25']
Exploring Operation: 92-10=82, Resulting Numbers: [25, 82]
Generated Node #0,0,0: 59:[25, 82] Operation: 92-10=82
Exploring Operation: 92+10=102, Resulting Numbers: [25, 102]
Generated Node #0,0,1: 59:[25, 102] Operation: 92+10=102
Exploring Operation: 25-10=15, Resulting Numbers: [92, 15]
Generated Node #0,0,2: 59:[92, 15] Operation: 25-10=15
Exploring Operation: 92-25=67, Resulting Numbers: [10, 67]
Generated Node #0,0,3: 59:[10, 67] Operation: 92-25=67
Exploring Operation: 10+25=35, Resulting Numbers: [92, 35]
Generated Node #0,0,4: 59:[92, 35] Operation: 10+25=35
Moving to Node #0,0,0
Current State: 59:[25, 82], Operations: ['13+12=25', '92-10=82']
Exploring Operation: 25+82=107, Resulting Numbers: [107]
107,59 unequal: No Solution
Exploring Operation: 25*82=2050, Resulting Numbers: [2050]
2050,59 unequal: No Solution
Exploring Operation: 82-25=57, Resulting Numbers: [57]
57,59 unequal: No Solution
Moving to Node #0,0,4
Current State: 59:[92, 35], Operations: ['13+12=25', '10+25=35']
Exploring Operation: 92*35=3220, Resulting Numbers: [3220]
3220,59 unequal: No Solution
Exploring Operation: 92+35=127, Resulting Numbers: [127]
127,59 unequal: No Solution
Exploring Operation: 92-35=57, Resulting Numbers: [57]
57,59 unequal: No Solution
Moving to Node #0,0,3
Current State: 59:[10, 67], Operations: ['13+12=25', '92-25=67']
Exploring Operation: 67-10=57, Resulting Numbers: [57]
57,59 unequal: No Solution
Exploring Operation: 10+67=77, Resulting Numbers: [77]
77,59 unequal: No Solution
Exploring Operation: 10*67=670, Resulting Numbers: [670]
670,59 unequal: No Solution
Moving to Node #0,0,1
Current State: 59:[25, 102], Operations: ['13+12=25', '92+10=102']
Exploring Operation: 25*102=2550, Resulting Numbers: [2550]
2550,59 unequal: No Solution
Exploring Operation: 102-25=77, Resulting Numbers: [77]
77,59 unequal: No Solution
Exploring Operation: 25+102=127, Resulting Numbers: [127]
127,59 unequal: No Solution
Moving to Node #0,0,2
Current State: 59:[92, 15], Operations: ['13+12=25', '25-10=15']
Exploring Operation: 92+15=107, Resulting Numbers: [107]
107,59 unequal: No Solution
Exploring Operation: 92-15=77, Resulting Numbers: [77]
77,59 unequal: No Solution
Exploring Operation: 92*15=1380, Resulting Numbers: [1380]
1380,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 59:[13, 92, 22], Operations: ['12+10=22']
Exploring Operation: 13+92=105, Resulting Numbers: [22, 105]
Generated Node #0,1,0: 59:[22, 105] Operation: 13+92=105
Exploring Operation: 92-22=70, Resulting Numbers: [13, 70]
Generated Node #0,1,1: 59:[13, 70] Operation: 92-22=70
Exploring Operation: 92-13=79, Resulting Numbers: [22, 79]
Generated Node #0,1,2: 59:[22, 79] Operation: 92-13=79
Exploring Operation: 22-13=9, Resulting Numbers: [92, 9]
Generated Node #0,1,3: 59:[92, 9] Operation: 22-13=9
Exploring Operation: 13+22=35, Resulting Numbers: [92, 35]
Generated Node #0,1,4: 59:[92, 35] Operation: 13+22=35
Moving to Node #0,1,1
Current State: 59:[13, 70], Operations: ['12+10=22', '92-22=70']
Exploring Operation: 13+70=83, Resulting Numbers: [83]
83,59 unequal: No Solution
Exploring Operation: 13*70=910, Resulting Numbers: [910]
910,59 unequal: No Solution
Exploring Operation: 70-13=57, Resulting Numbers: [57]
57,59 unequal: No Solution
Moving to Node #0,1,4
Current State: 59:[92, 35], Operations: ['12+10=22', '13+22=35']
Exploring Operation: 92*35=3220, Resulting Numbers: [3220]
3220,59 unequal: No Solution
Exploring Operation: 92+35=127, Resulting Numbers: [127]
127,59 unequal: No Solution
Exploring Operation: 92-35=57, Resulting Numbers: [57]
57,59 unequal: No Solution
Moving to Node #0,1,2
Current State: 59:[22, 79], Operations: ['12+10=22', '92-13=79']
Exploring Operation: 22+79=101, Resulting Numbers: [101]
101,59 unequal: No Solution
Exploring Operation: 22*79=1738, Resulting Numbers: [1738]
1738,59 unequal: No Solution
Exploring Operation: 79-22=57, Resulting Numbers: [57]
57,59 unequal: No Solution
Moving to Node #0,1,0
Current State: 59:[22, 105], Operations: ['12+10=22', '13+92=105']
Exploring Operation: 105-22=83, Resulting Numbers: [83]
83,59 unequal: No Solution
Exploring Operation: 22+105=127, Resulting Numbers: [127]
127,59 unequal: No Solution
Exploring Operation: 22*105=2310, Resulting Numbers: [2310]
2310,59 unequal: No Solution
Moving to Node #0,1,3
Current State: 59:[92, 9], Operations: ['12+10=22', '22-13=9']
Exploring Operation: 92*9=828, Resulting Numbers: [828]
828,59 unequal: No Solution
Exploring Operation: 92-9=83, Resulting Numbers: [83]
83,59 unequal: No Solution
Exploring Operation: 92+9=101, Resulting Numbers: [101]
101,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 59:[13, 10, 80], Operations: ['92-12=80']
Exploring Operation: 80-13=67, Resulting Numbers: [10, 67]
Generated Node #0,2,0: 59:[10, 67] Operation: 80-13=67
Exploring Operation: 13+10=23, Resulting Numbers: [80, 23]
Generated Node #0,2,1: 59:[80, 23] Operation: 13+10=23
Exploring Operation: 80-10=70, Resulting Numbers: [13, 70]
Generated Node #0,2,2: 59:[13, 70] Operation: 80-10=70
Exploring Operation: 13-10=3, Resulting Numbers: [80, 3]
Generated Node #0,2,3: 59:[80, 3] Operation: 13-10=3
Exploring Operation: 10+80=90, Resulting Numbers: [13, 90]
Generated Node #0,2,4: 59:[13, 90] Operation: 10+80=90
Moving to Node #0,2,0
Current State: 59:[10, 67], Operations: ['92-12=80', '80-13=67']
Exploring Operation: 10*67=670, Resulting Numbers: [670]
670,59 unequal: No Solution
Exploring Operation: 10+67=77, Resulting Numbers: [77]
77,59 unequal: No Solution
Exploring Operation: 67-10=57, Resulting Numbers: [57]
57,59 unequal: No Solution
Moving to Node #0,2,2
Current State: 59:[13, 70], Operations: ['92-12=80', '80-10=70']
Exploring Operation: 13+70=83, Resulting Numbers: [83]
83,59 unequal: No Solution
Exploring Operation: 70-13=57, Resulting Numbers: [57]
57,59 unequal: No Solution
Exploring Operation: 13*70=910, Resulting Numbers: [910]
910,59 unequal: No Solution
Moving to Node #0,2,1
Current State: 59:[80, 23], Operations: ['92-12=80', '13+10=23']
Exploring Operation: 80-23=57, Resulting Numbers: [57]
57,59 unequal: No Solution
Exploring Operation: 80*23=1840, Resulting Numbers: [1840]
1840,59 unequal: No Solution
Exploring Operation: 80+23=103, Resulting Numbers: [103]
103,59 unequal: No Solution
Moving to Node #0,2,3
Current State: 59:[80, 3], Operations: ['92-12=80', '13-10=3']
Exploring Operation: 80-3=77, Resulting Numbers: [77]
77,59 unequal: No Solution
Exploring Operation: 80+3=83, Resulting Numbers: [83]
83,59 unequal: No Solution
Exploring Operation: 80*3=240, Resulting Numbers: [240]
240,59 unequal: No Solution
Moving to Node #0,2,4
Current State: 59:[13, 90], Operations: ['92-12=80', '10+80=90']
Exploring Operation: 13*90=1170, Resulting Numbers: [1170]
1170,59 unequal: No Solution
Exploring Operation: 90-13=77, Resulting Numbers: [77]
77,59 unequal: No Solution
Exploring Operation: 13+90=103, Resulting Numbers: [103]
103,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 59:[12, 92, 23], Operations: ['13+10=23']
Exploring Operation: 12+92=104, Resulting Numbers: [23, 104]
Generated Node #0,3,0: 59:[23, 104] Operation: 12+92=104
Exploring Operation: 92-12=80, Resulting Numbers: [23, 80]
Generated Node #0,3,1: 59:[23, 80] Operation: 92-12=80
Exploring Operation: 23-12=11, Resulting Numbers: [92, 11]
Generated Node #0,3,2: 59:[92, 11] Operation: 23-12=11
Exploring Operation: 92-23=69, Resulting Numbers: [12, 69]
Generated Node #0,3,3: 59:[12, 69] Operation: 92-23=69
Exploring Operation: 12+23=35, Resulting Numbers: [92, 35]
Generated Node #0,3,4: 59:[92, 35] Operation: 12+23=35
Moving to Node #0,3,1
Current State: 59:[23, 80], Operations: ['13+10=23', '92-12=80']
Exploring Operation: 23+80=103, Resulting Numbers: [103]
103,59 unequal: No Solution
Exploring Operation: 23*80=1840, Resulting Numbers: [1840]
1840,59 unequal: No Solution
Exploring Operation: 80-23=57, Resulting Numbers: [57]
57,59 unequal: No Solution
Moving to Node #0,3,4
Current State: 59:[92, 35], Operations: ['13+10=23', '12+23=35']
Exploring Operation: 92-35=57, Resulting Numbers: [57]
57,59 unequal: No Solution
Exploring Operation: 92+35=127, Resulting Numbers: [127]
127,59 unequal: No Solution
Exploring Operation: 92*35=3220, Resulting Numbers: [3220]
3220,59 unequal: No Solution
Moving to Node #0,3,3
Current State: 59:[12, 69], Operations: ['13+10=23', '92-23=69']
Exploring Operation: 12+69=81, Resulting Numbers: [81]
81,59 unequal: No Solution
Exploring Operation: 69-12=57, Resulting Numbers: [57]
57,59 unequal: No Solution
Exploring Operation: 12*69=828, Resulting Numbers: [828]
828,59 unequal: No Solution
Moving to Node #0,3,0
Current State: 59:[23, 104], Operations: ['13+10=23', '12+92=104']
Exploring Operation: 104-23=81, Resulting Numbers: [81]
81,59 unequal: No Solution
Exploring Operation: 23+104=127, Resulting Numbers: [127]
127,59 unequal: No Solution
Exploring Operation: 23*104=2392, Resulting Numbers: [2392]
2392,59 unequal: No Solution
Moving to Node #0,3,2
Current State: 59:[92, 11], Operations: ['13+10=23', '23-12=11']
Exploring Operation: 92-11=81, Resulting Numbers: [81]
81,59 unequal: No Solution
Exploring Operation: 92+11=103, Resulting Numbers: [103]
103,59 unequal: No Solution
Exploring Operation: 92*11=1012, Resulting Numbers: [1012]
1012,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 59:[12, 10, 79], Operations: ['92-13=79']
Exploring Operation: 10+79=89, Resulting Numbers: [12, 89]
Generated Node #0,4,0: 59:[12, 89] Operation: 10+79=89
Exploring Operation: 12-10=2, Resulting Numbers: [79, 2]
Generated Node #0,4,1: 59:[79, 2] Operation: 12-10=2
Exploring Operation: 79-10=69, Resulting Numbers: [12, 69]
Generated Node #0,4,2: 59:[12, 69] Operation: 79-10=69
Exploring Operation: 12+10=22, Resulting Numbers: [79, 22]
Generated Node #0,4,3: 59:[79, 22] Operation: 12+10=22
Exploring Operation: 79-12=67, Resulting Numbers: [10, 67]
Generated Node #0,4,4: 59:[10, 67] Operation: 79-12=67
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 59:[12, 69], Operations: ['92-13=79', '79-10=69']
Exploring Operation: 12+69=81, Resulting Numbers: [81]
81,59 unequal: No Solution
Exploring Operation: 69-12=57, Resulting Numbers: [57]
57,59 unequal: No Solution
Exploring Operation: 12*69=828, Resulting Numbers: [828]
828,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 59:[79, 22], Operations: ['92-13=79', '12+10=22']
Exploring Operation: 79+22=101, Resulting Numbers: [101]
101,59 unequal: No Solution
Exploring Operation: 79*22=1738, Resulting Numbers: [1738]
1738,59 unequal: No Solution
Exploring Operation: 79-22=57, Resulting Numbers: [57]
57,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 59:[10, 67], Operations: ['92-13=79', '79-12=67']
Exploring Operation: 67-10=57, Resulting Numbers: [57]
57,59 unequal: No Solution
Exploring Operation: 10*67=670, Resulting Numbers: [670]
670,59 unequal: No Solution
Exploring Operation: 10+67=77, Resulting Numbers: [77]
77,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 59:[12, 89], Operations: ['92-13=79', '10+79=89']
Exploring Operation: 89-12=77, Resulting Numbers: [77]
77,59 unequal: No Solution
Exploring Operation: 12*89=1068, Resulting Numbers: [1068]
1068,59 unequal: No Solution
Exploring Operation: 12+89=101, Resulting Numbers: [101]
101,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 59:[79, 2], Operations: ['92-13=79', '12-10=2']
Exploring Operation: 79+2=81, Resulting Numbers: [81]
81,59 unequal: No Solution
Exploring Operation: 79-2=77, Resulting Numbers: [77]
77,59 unequal: No Solution
Exploring Operation: 79*2=158, Resulting Numbers: [158]
158,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
45,
2,
12,
18
] | 69 | [
"45-12=33",
"2*18=36",
"33+36=69"
] | Current State: 69:[45, 2, 12, 18], Operations: []
Exploring Operation: 45-12=33, Resulting Numbers: [2, 18, 33]
Generated Node #2: [2, 18, 33] from Operation: 45-12=33
Current State: 69:[2, 18, 33], Operations: ['45-12=33']
Exploring Operation: 2*18=36, Resulting Numbers: [33, 36]
Generated Node #3: [33, 36] from Operation: 2*18=36
Current State: 69:[33, 36], Operations: ['45-12=33', '2*18=36']
Exploring Operation: 33+36=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[45, 2, 12, 18], Operations: []
Exploring Operation: 45-18=27, Resulting Numbers: [2, 12, 27]
Generated Node #0,0: 69:[2, 12, 27] Operation: 45-18=27
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[2, 12, 27], Operations: ['45-18=27']
Exploring Operation: 2*12=24, Resulting Numbers: [27, 24]
Generated Node #0,0,0: 69:[27, 24] Operation: 2*12=24
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 69:[27, 24], Operations: ['45-18=27', '2*12=24']
Exploring Operation: 27-24=3, Resulting Numbers: [3]
3,69 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 |
[
3,
92,
86,
38
] | 64 | [
"3*38=114",
"92+86=178",
"178-114=64"
] | Current State: 64:[3, 92, 86, 38], Operations: []
Exploring Operation: 3*38=114, Resulting Numbers: [92, 86, 114]
Generated Node #2: [92, 86, 114] from Operation: 3*38=114
Current State: 64:[92, 86, 114], Operations: ['3*38=114']
Exploring Operation: 92+86=178, Resulting Numbers: [114, 178]
Generated Node #3: [114, 178] from Operation: 92+86=178
Current State: 64:[114, 178], Operations: ['3*38=114', '92+86=178']
Exploring Operation: 178-114=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[3, 92, 86, 38], Operations: []
Exploring Operation: 92-38=54, Resulting Numbers: [3, 86, 54]
Generated Node #0,0: 64:[3, 86, 54] Operation: 92-38=54
Exploring Operation: 92-86=6, Resulting Numbers: [3, 38, 6]
Generated Node #0,1: 64:[3, 38, 6] Operation: 92-86=6
Moving to Node #0,1
Current State: 64:[3, 38, 6], Operations: ['92-86=6']
Exploring Operation: 38-6=32, Resulting Numbers: [3, 32]
Generated Node #0,1,0: 64:[3, 32] Operation: 38-6=32
Exploring Operation: 38-3=35, Resulting Numbers: [6, 35]
Generated Node #0,1,1: 64:[6, 35] Operation: 38-3=35
Moving to Node #0,0
Current State: 64:[3, 86, 54], Operations: ['92-38=54']
Exploring Operation: 54/3=18, Resulting Numbers: [86, 18]
Generated Node #0,0,0: 64:[86, 18] Operation: 54/3=18
Exploring Operation: 86-54=32, Resulting Numbers: [3, 32]
Generated Node #0,0,1: 64:[3, 32] Operation: 86-54=32
Moving to Node #0,1,0
Current State: 64:[3, 32], Operations: ['92-86=6', '38-6=32']
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,64 unequal: No Solution
Exploring Operation: 3+32=35, Resulting Numbers: [35]
35,64 unequal: No Solution
Moving to Node #0,0,1
Current State: 64:[3, 32], Operations: ['92-38=54', '86-54=32']
Exploring Operation: 3+32=35, Resulting Numbers: [35]
35,64 unequal: No Solution
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,64 unequal: No Solution
Moving to Node #0,1,1
Current State: 64:[6, 35], Operations: ['92-86=6', '38-3=35']
Exploring Operation: 35-6=29, Resulting Numbers: [29]
29,64 unequal: No Solution
Exploring Operation: 6+35=41, Resulting Numbers: [41]
41,64 unequal: No Solution
Moving to Node #0,0,0
Current State: 64:[86, 18], Operations: ['92-38=54', '54/3=18']
Exploring Operation: 86-18=68, Resulting Numbers: [68]
68,64 unequal: No Solution
Exploring Operation: 86+18=104, Resulting Numbers: [104]
104,64 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
2,
41,
98,
80
] | 97 | [
"80/2=40",
"98-41=57",
"40+57=97"
] | Current State: 97:[2, 41, 98, 80], Operations: []
Exploring Operation: 80/2=40, Resulting Numbers: [41, 98, 40]
Generated Node #2: [41, 98, 40] from Operation: 80/2=40
Current State: 97:[41, 98, 40], Operations: ['80/2=40']
Exploring Operation: 98-41=57, Resulting Numbers: [40, 57]
Generated Node #3: [40, 57] from Operation: 98-41=57
Current State: 97:[40, 57], Operations: ['80/2=40', '98-41=57']
Exploring Operation: 40+57=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[2, 41, 98, 80], Operations: []
Exploring Operation: 2*41=82, Resulting Numbers: [98, 80, 82]
Generated Node #0,0: 97:[98, 80, 82] Operation: 2*41=82
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[98, 80, 82], Operations: ['2*41=82']
Exploring Operation: 80+82=162, Resulting Numbers: [98, 162]
Generated Node #0,0,0: 97:[98, 162] Operation: 80+82=162
Moving to Node #0,0,0
Current State: 97:[98, 162], Operations: ['2*41=82', '80+82=162']
Exploring Operation: 162-98=64, Resulting Numbers: [64]
64,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
27,
89,
31,
98
] | 96 | [
"89-27=62",
"62/31=2",
"98-2=96"
] | Current State: 96:[27, 89, 31, 98], Operations: []
Exploring Operation: 89-27=62, Resulting Numbers: [31, 98, 62]
Generated Node #2: [31, 98, 62] from Operation: 89-27=62
Current State: 96:[31, 98, 62], Operations: ['89-27=62']
Exploring Operation: 62/31=2, Resulting Numbers: [98, 2]
Generated Node #3: [98, 2] from Operation: 62/31=2
Current State: 96:[98, 2], Operations: ['89-27=62', '62/31=2']
Exploring Operation: 98-2=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[27, 89, 31, 98], Operations: []
Exploring Operation: 89-27=62, Resulting Numbers: [31, 98, 62]
Generated Node #0,0: 96:[31, 98, 62] Operation: 89-27=62
Exploring Operation: 31-27=4, Resulting Numbers: [89, 98, 4]
Generated Node #0,1: 96:[89, 98, 4] Operation: 31-27=4
Exploring Operation: 98-89=9, Resulting Numbers: [27, 31, 9]
Generated Node #0,2: 96:[27, 31, 9] Operation: 98-89=9
Exploring Operation: 89-31=58, Resulting Numbers: [27, 98, 58]
Generated Node #0,3: 96:[27, 98, 58] Operation: 89-31=58
Moving to Node #0,2
Current State: 96:[27, 31, 9], Operations: ['98-89=9']
Exploring Operation: 31-27=4, Resulting Numbers: [9, 4]
Generated Node #0,2,0: 96:[9, 4] Operation: 31-27=4
Exploring Operation: 27/9=3, Resulting Numbers: [31, 3]
Generated Node #0,2,1: 96:[31, 3] Operation: 27/9=3
Exploring Operation: 27-9=18, Resulting Numbers: [31, 18]
Generated Node #0,2,2: 96:[31, 18] Operation: 27-9=18
Exploring Operation: 27+9=36, Resulting Numbers: [31, 36]
Generated Node #0,2,3: 96:[31, 36] Operation: 27+9=36
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 96:[9, 4], Operations: ['98-89=9', '31-27=4']
Exploring Operation: 9+4=13, Resulting Numbers: [13]
13,96 unequal: No Solution
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,96 unequal: No Solution
Exploring Operation: 9*4=36, Resulting Numbers: [36]
36,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,2,1
Current State: 96:[31, 3], Operations: ['98-89=9', '27/9=3']
Exploring Operation: 31+3=34, Resulting Numbers: [34]
34,96 unequal: No Solution
Exploring Operation: 31*3=93, Resulting Numbers: [93]
93,96 unequal: No Solution
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,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,2,2
Current State: 96:[31, 18], Operations: ['98-89=9', '27-9=18']
Exploring Operation: 31+18=49, Resulting Numbers: [49]
49,96 unequal: No Solution
Exploring Operation: 31-18=13, Resulting Numbers: [13]
13,96 unequal: No Solution
Exploring Operation: 31*18=558, Resulting Numbers: [558]
558,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,2,3
Current State: 96:[31, 36], Operations: ['98-89=9', '27+9=36']
Exploring Operation: 31*36=1116, Resulting Numbers: [1116]
1116,96 unequal: No Solution
Exploring Operation: 36-31=5, Resulting Numbers: [5]
5,96 unequal: No Solution
Exploring Operation: 31+36=67, Resulting Numbers: [67]
67,96 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: 96:[89, 98, 4], Operations: ['31-27=4']
Exploring Operation: 89-4=85, Resulting Numbers: [98, 85]
Generated Node #0,1,0: 96:[98, 85] Operation: 89-4=85
Exploring Operation: 98-4=94, Resulting Numbers: [89, 94]
Generated Node #0,1,1: 96:[89, 94] Operation: 98-4=94
Exploring Operation: 89+4=93, Resulting Numbers: [98, 93]
Generated Node #0,1,2: 96:[98, 93] Operation: 89+4=93
Exploring Operation: 98-89=9, Resulting Numbers: [4, 9]
Generated Node #0,1,3: 96:[4, 9] Operation: 98-89=9
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 96:[4, 9], Operations: ['31-27=4', '98-89=9']
Exploring Operation: 4+9=13, Resulting Numbers: [13]
13,96 unequal: No Solution
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,96 unequal: No Solution
Exploring Operation: 4*9=36, Resulting Numbers: [36]
36,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,1,2
Current State: 96:[98, 93], Operations: ['31-27=4', '89+4=93']
Exploring Operation: 98*93=9114, Resulting Numbers: [9114]
9114,96 unequal: No Solution
Exploring Operation: 98-93=5, Resulting Numbers: [5]
5,96 unequal: No Solution
Exploring Operation: 98+93=191, Resulting Numbers: [191]
191,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,1,1
Current State: 96:[89, 94], Operations: ['31-27=4', '98-4=94']
Exploring Operation: 94-89=5, Resulting Numbers: [5]
5,96 unequal: No Solution
Exploring Operation: 89*94=8366, Resulting Numbers: [8366]
8366,96 unequal: No Solution
Exploring Operation: 89+94=183, Resulting Numbers: [183]
183,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,1,0
Current State: 96:[98, 85], Operations: ['31-27=4', '89-4=85']
Exploring Operation: 98-85=13, Resulting Numbers: [13]
13,96 unequal: No Solution
Exploring Operation: 98*85=8330, Resulting Numbers: [8330]
8330,96 unequal: No Solution
Exploring Operation: 98+85=183, Resulting Numbers: [183]
183,96 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: 96:[27, 98, 58], Operations: ['89-31=58']
Exploring Operation: 27+58=85, Resulting Numbers: [98, 85]
Generated Node #0,3,0: 96:[98, 85] Operation: 27+58=85
Exploring Operation: 58-27=31, Resulting Numbers: [98, 31]
Generated Node #0,3,1: 96:[98, 31] Operation: 58-27=31
Exploring Operation: 98-27=71, Resulting Numbers: [58, 71]
Generated Node #0,3,2: 96:[58, 71] Operation: 98-27=71
Exploring Operation: 98-58=40, Resulting Numbers: [27, 40]
Generated Node #0,3,3: 96:[27, 40] Operation: 98-58=40
Moving to Node #0,0
Current State: 96:[31, 98, 62], Operations: ['89-27=62']
Exploring Operation: 62/31=2, Resulting Numbers: [98, 2]
Generated Node #0,0,0: 96:[98, 2] Operation: 62/31=2
Exploring Operation: 31+62=93, Resulting Numbers: [98, 93]
Generated Node #0,0,1: 96:[98, 93] Operation: 31+62=93
Exploring Operation: 98-62=36, Resulting Numbers: [31, 36]
Generated Node #0,0,2: 96:[31, 36] Operation: 98-62=36
Exploring Operation: 62-31=31, Resulting Numbers: [98, 31]
Generated Node #0,0,3: 96:[98, 31] Operation: 62-31=31
Moving to Node #0,0,0
Current State: 96:[98, 2], Operations: ['89-27=62', '62/31=2']
Exploring Operation: 98-2=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[27, 89, 31, 98], Operations: []
Exploring Operation: 89-27=62, Resulting Numbers: [31, 98, 62]
Generated Node #0,0: 96:[31, 98, 62] Operation: 89-27=62
Moving to Node #0,0
Current State: 96:[31, 98, 62], Operations: ['89-27=62']
Exploring Operation: 62/31=2, Resulting Numbers: [98, 2]
Generated Node #0,0,0: 96:[98, 2] Operation: 62/31=2
Moving to Node #0,0,0
Current State: 96:[98, 2], Operations: ['89-27=62', '62/31=2']
Exploring Operation: 98-2=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 0.957465 | hs_4 | sum_heuristic |
[
56,
49,
98,
51
] | 14 | [
"51-49=2",
"56*2=112",
"112-98=14"
] | Current State: 14:[56, 49, 98, 51], Operations: []
Exploring Operation: 51-49=2, Resulting Numbers: [56, 98, 2]
Generated Node #2: [56, 98, 2] from Operation: 51-49=2
Current State: 14:[56, 98, 2], Operations: ['51-49=2']
Exploring Operation: 56*2=112, Resulting Numbers: [98, 112]
Generated Node #3: [98, 112] from Operation: 56*2=112
Current State: 14:[98, 112], Operations: ['51-49=2', '56*2=112']
Exploring Operation: 112-98=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[56, 49, 98, 51], Operations: []
Exploring Operation: 98/49=2, Resulting Numbers: [56, 51, 2]
Generated Node #0,0: 14:[56, 51, 2] Operation: 98/49=2
Exploring Operation: 98-56=42, Resulting Numbers: [49, 51, 42]
Generated Node #0,1: 14:[49, 51, 42] Operation: 98-56=42
Moving to Node #0,0
Current State: 14:[56, 51, 2], Operations: ['98/49=2']
Exploring Operation: 56/2=28, Resulting Numbers: [51, 28]
Generated Node #0,0,0: 14:[51, 28] Operation: 56/2=28
Exploring Operation: 56-51=5, Resulting Numbers: [2, 5]
Generated Node #0,0,1: 14:[2, 5] Operation: 56-51=5
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 14:[2, 5], Operations: ['98/49=2', '56-51=5']
Exploring Operation: 2+5=7, Resulting Numbers: [7]
7,14 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 14:[51, 28], Operations: ['98/49=2', '56/2=28']
Exploring Operation: 51-28=23, Resulting Numbers: [23]
23,14 unequal: No Solution
Exploring Operation: 51+28=79, Resulting Numbers: [79]
79,14 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: 14:[49, 51, 42], Operations: ['98-56=42']
Exploring Operation: 49-42=7, Resulting Numbers: [51, 7]
Generated Node #0,1,0: 14:[51, 7] Operation: 49-42=7
Exploring Operation: 51-49=2, Resulting Numbers: [42, 2]
Generated Node #0,1,1: 14:[42, 2] Operation: 51-49=2
Moving to Node #0,1,1
Current State: 14:[42, 2], Operations: ['98-56=42', '51-49=2']
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,14 unequal: No Solution
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,14 unequal: No Solution
Moving to Node #0,1,0
Current State: 14:[51, 7], Operations: ['98-56=42', '49-42=7']
Exploring Operation: 51-7=44, Resulting Numbers: [44]
44,14 unequal: No Solution
Exploring Operation: 51+7=58, Resulting Numbers: [58]
58,14 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
79,
29,
8,
75
] | 61 | [
"79-75=4",
"8*4=32",
"29+32=61"
] | Current State: 61:[79, 29, 8, 75], Operations: []
Exploring Operation: 79-75=4, Resulting Numbers: [29, 8, 4]
Generated Node #2: [29, 8, 4] from Operation: 79-75=4
Current State: 61:[29, 8, 4], Operations: ['79-75=4']
Exploring Operation: 8*4=32, Resulting Numbers: [29, 32]
Generated Node #3: [29, 32] from Operation: 8*4=32
Current State: 61:[29, 32], Operations: ['79-75=4', '8*4=32']
Exploring Operation: 29+32=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[79, 29, 8, 75], Operations: []
Exploring Operation: 29+8=37, Resulting Numbers: [79, 75, 37]
Generated Node #0,0: 61:[79, 75, 37] Operation: 29+8=37
Exploring Operation: 79-8=71, Resulting Numbers: [29, 75, 71]
Generated Node #0,1: 61:[29, 75, 71] Operation: 79-8=71
Moving to Node #0,0
Current State: 61:[79, 75, 37], Operations: ['29+8=37']
Exploring Operation: 79-37=42, Resulting Numbers: [75, 42]
Generated Node #0,0,0: 61:[75, 42] Operation: 79-37=42
Exploring Operation: 75-37=38, Resulting Numbers: [79, 38]
Generated Node #0,0,1: 61:[79, 38] Operation: 75-37=38
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 61:[75, 42], Operations: ['29+8=37', '79-37=42']
Exploring Operation: 75-42=33, Resulting Numbers: [33]
33,61 unequal: No Solution
Exploring Operation: 75+42=117, Resulting Numbers: [117]
117,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 61:[79, 38], Operations: ['29+8=37', '75-37=38']
Exploring Operation: 79-38=41, Resulting Numbers: [41]
41,61 unequal: No Solution
Exploring Operation: 79+38=117, Resulting Numbers: [117]
117,61 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: 61:[29, 75, 71], Operations: ['79-8=71']
Exploring Operation: 71-29=42, Resulting Numbers: [75, 42]
Generated Node #0,1,0: 61:[75, 42] Operation: 71-29=42
Exploring Operation: 75-29=46, Resulting Numbers: [71, 46]
Generated Node #0,1,1: 61:[71, 46] Operation: 75-29=46
Moving to Node #0,1,1
Current State: 61:[71, 46], Operations: ['79-8=71', '75-29=46']
Exploring Operation: 71+46=117, Resulting Numbers: [117]
117,61 unequal: No Solution
Exploring Operation: 71-46=25, Resulting Numbers: [25]
25,61 unequal: No Solution
Moving to Node #0,1,0
Current State: 61:[75, 42], Operations: ['79-8=71', '71-29=42']
Exploring Operation: 75-42=33, Resulting Numbers: [33]
33,61 unequal: No Solution
Exploring Operation: 75+42=117, Resulting Numbers: [117]
117,61 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
88,
71,
91,
24
] | 84 | [
"88-71=17",
"91-24=67",
"17+67=84"
] | Current State: 84:[88, 71, 91, 24], Operations: []
Exploring Operation: 88-71=17, Resulting Numbers: [91, 24, 17]
Generated Node #2: [91, 24, 17] from Operation: 88-71=17
Current State: 84:[91, 24, 17], Operations: ['88-71=17']
Exploring Operation: 91-24=67, Resulting Numbers: [17, 67]
Generated Node #3: [17, 67] from Operation: 91-24=67
Current State: 84:[17, 67], Operations: ['88-71=17', '91-24=67']
Exploring Operation: 17+67=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[88, 71, 91, 24], Operations: []
Exploring Operation: 91-71=20, Resulting Numbers: [88, 24, 20]
Generated Node #0,0: 84:[88, 24, 20] Operation: 91-71=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[88, 24, 20], Operations: ['91-71=20']
Exploring Operation: 24-20=4, Resulting Numbers: [88, 4]
Generated Node #0,0,0: 84:[88, 4] Operation: 24-20=4
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 84:[88, 4], Operations: ['91-71=20', '24-20=4']
Exploring Operation: 88-4=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[88, 71, 91, 24], Operations: []
Exploring Operation: 91-71=20, Resulting Numbers: [88, 24, 20]
Generated Node #0,0: 84:[88, 24, 20] Operation: 91-71=20
Moving to Node #0,0
Current State: 84:[88, 24, 20], Operations: ['91-71=20']
Exploring Operation: 24-20=4, Resulting Numbers: [88, 4]
Generated Node #0,0,0: 84:[88, 4] Operation: 24-20=4
Moving to Node #0,0,0
Current State: 84:[88, 4], Operations: ['91-71=20', '24-20=4']
Exploring Operation: 88-4=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
95,
28,
29,
45
] | 75 | [
"95*45=4275",
"28+29=57",
"4275/57=75"
] | Current State: 75:[95, 28, 29, 45], Operations: []
Exploring Operation: 95*45=4275, Resulting Numbers: [28, 29, 4275]
Generated Node #2: [28, 29, 4275] from Operation: 95*45=4275
Current State: 75:[28, 29, 4275], Operations: ['95*45=4275']
Exploring Operation: 28+29=57, Resulting Numbers: [4275, 57]
Generated Node #3: [4275, 57] from Operation: 28+29=57
Current State: 75:[4275, 57], Operations: ['95*45=4275', '28+29=57']
Exploring Operation: 4275/57=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[95, 28, 29, 45], Operations: []
Exploring Operation: 29+45=74, Resulting Numbers: [95, 28, 74]
Generated Node #0,0: 75:[95, 28, 74] Operation: 29+45=74
Exploring Operation: 45-28=17, Resulting Numbers: [95, 29, 17]
Generated Node #0,1: 75:[95, 29, 17] Operation: 45-28=17
Exploring Operation: 28+45=73, Resulting Numbers: [95, 29, 73]
Generated Node #0,2: 75:[95, 29, 73] Operation: 28+45=73
Exploring Operation: 45-29=16, Resulting Numbers: [95, 28, 16]
Generated Node #0,3: 75:[95, 28, 16] Operation: 45-29=16
Exploring Operation: 95-28=67, Resulting Numbers: [29, 45, 67]
Generated Node #0,4: 75:[29, 45, 67] Operation: 95-28=67
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[95, 28, 74], Operations: ['29+45=74']
Exploring Operation: 95-28=67, Resulting Numbers: [74, 67]
Generated Node #0,0,0: 75:[74, 67] Operation: 95-28=67
Exploring Operation: 95+28=123, Resulting Numbers: [74, 123]
Generated Node #0,0,1: 75:[74, 123] Operation: 95+28=123
Exploring Operation: 95-74=21, Resulting Numbers: [28, 21]
Generated Node #0,0,2: 75:[28, 21] Operation: 95-74=21
Exploring Operation: 74-28=46, Resulting Numbers: [95, 46]
Generated Node #0,0,3: 75:[95, 46] Operation: 74-28=46
Exploring Operation: 28+74=102, Resulting Numbers: [95, 102]
Generated Node #0,0,4: 75:[95, 102] Operation: 28+74=102
Moving to Node #0,0,2
Current State: 75:[28, 21], Operations: ['29+45=74', '95-74=21']
Exploring Operation: 28*21=588, Resulting Numbers: [588]
588,75 unequal: No Solution
Exploring Operation: 28-21=7, Resulting Numbers: [7]
7,75 unequal: No Solution
Exploring Operation: 28+21=49, Resulting Numbers: [49]
49,75 unequal: No Solution
Moving to Node #0,0,0
Current State: 75:[74, 67], Operations: ['29+45=74', '95-28=67']
Exploring Operation: 74-67=7, Resulting Numbers: [7]
7,75 unequal: No Solution
Exploring Operation: 74+67=141, Resulting Numbers: [141]
141,75 unequal: No Solution
Exploring Operation: 74*67=4958, Resulting Numbers: [4958]
4958,75 unequal: No Solution
Moving to Node #0,0,3
Current State: 75:[95, 46], Operations: ['29+45=74', '74-28=46']
Exploring Operation: 95*46=4370, Resulting Numbers: [4370]
4370,75 unequal: No Solution
Exploring Operation: 95-46=49, Resulting Numbers: [49]
49,75 unequal: No Solution
Exploring Operation: 95+46=141, Resulting Numbers: [141]
141,75 unequal: No Solution
Moving to Node #0,0,4
Current State: 75:[95, 102], Operations: ['29+45=74', '28+74=102']
Exploring Operation: 95*102=9690, Resulting Numbers: [9690]
9690,75 unequal: No Solution
Exploring Operation: 95+102=197, Resulting Numbers: [197]
197,75 unequal: No Solution
Exploring Operation: 102-95=7, Resulting Numbers: [7]
7,75 unequal: No Solution
Moving to Node #0,0,1
Current State: 75:[74, 123], Operations: ['29+45=74', '95+28=123']
Exploring Operation: 74*123=9102, Resulting Numbers: [9102]
9102,75 unequal: No Solution
Exploring Operation: 74+123=197, Resulting Numbers: [197]
197,75 unequal: No Solution
Exploring Operation: 123-74=49, Resulting Numbers: [49]
49,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 75:[95, 28, 16], Operations: ['45-29=16']
Exploring Operation: 95-16=79, Resulting Numbers: [28, 79]
Generated Node #0,3,0: 75:[28, 79] Operation: 95-16=79
Exploring Operation: 95-28=67, Resulting Numbers: [16, 67]
Generated Node #0,3,1: 75:[16, 67] Operation: 95-28=67
Exploring Operation: 28-16=12, Resulting Numbers: [95, 12]
Generated Node #0,3,2: 75:[95, 12] Operation: 28-16=12
Exploring Operation: 95+16=111, Resulting Numbers: [28, 111]
Generated Node #0,3,3: 75:[28, 111] Operation: 95+16=111
Exploring Operation: 28+16=44, Resulting Numbers: [95, 44]
Generated Node #0,3,4: 75:[95, 44] Operation: 28+16=44
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 75:[28, 79], Operations: ['45-29=16', '95-16=79']
Exploring Operation: 28+79=107, Resulting Numbers: [107]
107,75 unequal: No Solution
Exploring Operation: 28*79=2212, Resulting Numbers: [2212]
2212,75 unequal: No Solution
Exploring Operation: 79-28=51, Resulting Numbers: [51]
51,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 75:[16, 67], Operations: ['45-29=16', '95-28=67']
Exploring Operation: 16+67=83, Resulting Numbers: [83]
83,75 unequal: No Solution
Exploring Operation: 16*67=1072, Resulting Numbers: [1072]
1072,75 unequal: No Solution
Exploring Operation: 67-16=51, Resulting Numbers: [51]
51,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 75:[95, 12], Operations: ['45-29=16', '28-16=12']
Exploring Operation: 95*12=1140, Resulting Numbers: [1140]
1140,75 unequal: No Solution
Exploring Operation: 95+12=107, Resulting Numbers: [107]
107,75 unequal: No Solution
Exploring Operation: 95-12=83, Resulting Numbers: [83]
83,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 75:[28, 111], Operations: ['45-29=16', '95+16=111']
Exploring Operation: 111-28=83, Resulting Numbers: [83]
83,75 unequal: No Solution
Exploring Operation: 28*111=3108, Resulting Numbers: [3108]
3108,75 unequal: No Solution
Exploring Operation: 28+111=139, Resulting Numbers: [139]
139,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 75:[95, 44], Operations: ['45-29=16', '28+16=44']
Exploring Operation: 95*44=4180, Resulting Numbers: [4180]
4180,75 unequal: No Solution
Exploring Operation: 95-44=51, Resulting Numbers: [51]
51,75 unequal: No Solution
Exploring Operation: 95+44=139, Resulting Numbers: [139]
139,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 75:[95, 29, 17], Operations: ['45-28=17']
Exploring Operation: 29+17=46, Resulting Numbers: [95, 46]
Generated Node #0,1,0: 75:[95, 46] Operation: 29+17=46
Exploring Operation: 95+17=112, Resulting Numbers: [29, 112]
Generated Node #0,1,1: 75:[29, 112] Operation: 95+17=112
Exploring Operation: 95-17=78, Resulting Numbers: [29, 78]
Generated Node #0,1,2: 75:[29, 78] Operation: 95-17=78
Exploring Operation: 95-29=66, Resulting Numbers: [17, 66]
Generated Node #0,1,3: 75:[17, 66] Operation: 95-29=66
Exploring Operation: 29-17=12, Resulting Numbers: [95, 12]
Generated Node #0,1,4: 75:[95, 12] Operation: 29-17=12
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 75:[29, 78], Operations: ['45-28=17', '95-17=78']
Exploring Operation: 78-29=49, Resulting Numbers: [49]
49,75 unequal: No Solution
Exploring Operation: 29+78=107, Resulting Numbers: [107]
107,75 unequal: No Solution
Exploring Operation: 29*78=2262, Resulting Numbers: [2262]
2262,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 75:[17, 66], Operations: ['45-28=17', '95-29=66']
Exploring Operation: 17*66=1122, Resulting Numbers: [1122]
1122,75 unequal: No Solution
Exploring Operation: 17+66=83, Resulting Numbers: [83]
83,75 unequal: No Solution
Exploring Operation: 66-17=49, Resulting Numbers: [49]
49,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 75:[95, 12], Operations: ['45-28=17', '29-17=12']
Exploring Operation: 95*12=1140, Resulting Numbers: [1140]
1140,75 unequal: No Solution
Exploring Operation: 95-12=83, Resulting Numbers: [83]
83,75 unequal: No Solution
Exploring Operation: 95+12=107, Resulting Numbers: [107]
107,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 75:[95, 46], Operations: ['45-28=17', '29+17=46']
Exploring Operation: 95*46=4370, Resulting Numbers: [4370]
4370,75 unequal: No Solution
Exploring Operation: 95-46=49, Resulting Numbers: [49]
49,75 unequal: No Solution
Exploring Operation: 95+46=141, Resulting Numbers: [141]
141,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 75:[29, 112], Operations: ['45-28=17', '95+17=112']
Exploring Operation: 29+112=141, Resulting Numbers: [141]
141,75 unequal: No Solution
Exploring Operation: 29*112=3248, Resulting Numbers: [3248]
3248,75 unequal: No Solution
Exploring Operation: 112-29=83, Resulting Numbers: [83]
83,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 75:[95, 29, 73], Operations: ['28+45=73']
Exploring Operation: 95-73=22, Resulting Numbers: [29, 22]
Generated Node #0,2,0: 75:[29, 22] Operation: 95-73=22
Exploring Operation: 95+29=124, Resulting Numbers: [73, 124]
Generated Node #0,2,1: 75:[73, 124] Operation: 95+29=124
Exploring Operation: 73-29=44, Resulting Numbers: [95, 44]
Generated Node #0,2,2: 75:[95, 44] Operation: 73-29=44
Exploring Operation: 95-29=66, Resulting Numbers: [73, 66]
Generated Node #0,2,3: 75:[73, 66] Operation: 95-29=66
Exploring Operation: 29+73=102, Resulting Numbers: [95, 102]
Generated Node #0,2,4: 75:[95, 102] Operation: 29+73=102
Moving to Node #0,2,0
Current State: 75:[29, 22], Operations: ['28+45=73', '95-73=22']
Exploring Operation: 29*22=638, Resulting Numbers: [638]
638,75 unequal: No Solution
Exploring Operation: 29+22=51, Resulting Numbers: [51]
51,75 unequal: No Solution
Exploring Operation: 29-22=7, Resulting Numbers: [7]
7,75 unequal: No Solution
Moving to Node #0,2,3
Current State: 75:[73, 66], Operations: ['28+45=73', '95-29=66']
Exploring Operation: 73-66=7, Resulting Numbers: [7]
7,75 unequal: No Solution
Exploring Operation: 73+66=139, Resulting Numbers: [139]
139,75 unequal: No Solution
Exploring Operation: 73*66=4818, Resulting Numbers: [4818]
4818,75 unequal: No Solution
Moving to Node #0,2,2
Current State: 75:[95, 44], Operations: ['28+45=73', '73-29=44']
Exploring Operation: 95-44=51, Resulting Numbers: [51]
51,75 unequal: No Solution
Exploring Operation: 95*44=4180, Resulting Numbers: [4180]
4180,75 unequal: No Solution
Exploring Operation: 95+44=139, Resulting Numbers: [139]
139,75 unequal: No Solution
Moving to Node #0,2,4
Current State: 75:[95, 102], Operations: ['28+45=73', '29+73=102']
Exploring Operation: 95+102=197, Resulting Numbers: [197]
197,75 unequal: No Solution
Exploring Operation: 102-95=7, Resulting Numbers: [7]
7,75 unequal: No Solution
Exploring Operation: 95*102=9690, Resulting Numbers: [9690]
9690,75 unequal: No Solution
Moving to Node #0,2,1
Current State: 75:[73, 124], Operations: ['28+45=73', '95+29=124']
Exploring Operation: 73*124=9052, Resulting Numbers: [9052]
9052,75 unequal: No Solution
Exploring Operation: 73+124=197, Resulting Numbers: [197]
197,75 unequal: No Solution
Exploring Operation: 124-73=51, Resulting Numbers: [51]
51,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 75:[29, 45, 67], Operations: ['95-28=67']
Exploring Operation: 67-29=38, Resulting Numbers: [45, 38]
Generated Node #0,4,0: 75:[45, 38] Operation: 67-29=38
Exploring Operation: 29+45=74, Resulting Numbers: [67, 74]
Generated Node #0,4,1: 75:[67, 74] Operation: 29+45=74
Exploring Operation: 67-45=22, Resulting Numbers: [29, 22]
Generated Node #0,4,2: 75:[29, 22] Operation: 67-45=22
Exploring Operation: 45-29=16, Resulting Numbers: [67, 16]
Generated Node #0,4,3: 75:[67, 16] Operation: 45-29=16
Exploring Operation: 29+67=96, Resulting Numbers: [45, 96]
Generated Node #0,4,4: 75:[45, 96] Operation: 29+67=96
Moving to Node #0,4,2
Current State: 75:[29, 22], Operations: ['95-28=67', '67-45=22']
Exploring Operation: 29*22=638, Resulting Numbers: [638]
638,75 unequal: No Solution
Exploring Operation: 29+22=51, Resulting Numbers: [51]
51,75 unequal: No Solution
Exploring Operation: 29-22=7, Resulting Numbers: [7]
7,75 unequal: No Solution
Moving to Node #0,4,3
Current State: 75:[67, 16], Operations: ['95-28=67', '45-29=16']
Exploring Operation: 67-16=51, Resulting Numbers: [51]
51,75 unequal: No Solution
Exploring Operation: 67*16=1072, Resulting Numbers: [1072]
1072,75 unequal: No Solution
Exploring Operation: 67+16=83, Resulting Numbers: [83]
83,75 unequal: No Solution
Moving to Node #0,4,1
Current State: 75:[67, 74], Operations: ['95-28=67', '29+45=74']
Exploring Operation: 67*74=4958, Resulting Numbers: [4958]
4958,75 unequal: No Solution
Exploring Operation: 74-67=7, Resulting Numbers: [7]
7,75 unequal: No Solution
Exploring Operation: 67+74=141, Resulting Numbers: [141]
141,75 unequal: No Solution
Moving to Node #0,4,0
Current State: 75:[45, 38], Operations: ['95-28=67', '67-29=38']
Exploring Operation: 45-38=7, Resulting Numbers: [7]
7,75 unequal: No Solution
Exploring Operation: 45+38=83, Resulting Numbers: [83]
83,75 unequal: No Solution
Exploring Operation: 45*38=1710, Resulting Numbers: [1710]
1710,75 unequal: No Solution
Moving to Node #0,4,4
Current State: 75:[45, 96], Operations: ['95-28=67', '29+67=96']
Exploring Operation: 45*96=4320, Resulting Numbers: [4320]
4320,75 unequal: No Solution
Exploring Operation: 96-45=51, Resulting Numbers: [51]
51,75 unequal: No Solution
Exploring Operation: 45+96=141, Resulting Numbers: [141]
141,75 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 |
[
19,
80,
65,
73
] | 29 | [
"73-65=8",
"80/8=10",
"19+10=29"
] | Current State: 29:[19, 80, 65, 73], Operations: []
Exploring Operation: 73-65=8, Resulting Numbers: [19, 80, 8]
Generated Node #2: [19, 80, 8] from Operation: 73-65=8
Current State: 29:[19, 80, 8], Operations: ['73-65=8']
Exploring Operation: 80/8=10, Resulting Numbers: [19, 10]
Generated Node #3: [19, 10] from Operation: 80/8=10
Current State: 29:[19, 10], Operations: ['73-65=8', '80/8=10']
Exploring Operation: 19+10=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[19, 80, 65, 73], Operations: []
Exploring Operation: 80-73=7, Resulting Numbers: [19, 65, 7]
Generated Node #0,0: 29:[19, 65, 7] Operation: 80-73=7
Exploring Operation: 65-19=46, Resulting Numbers: [80, 73, 46]
Generated Node #0,1: 29:[80, 73, 46] Operation: 65-19=46
Exploring Operation: 80-65=15, Resulting Numbers: [19, 73, 15]
Generated Node #0,2: 29:[19, 73, 15] Operation: 80-65=15
Exploring Operation: 80-19=61, Resulting Numbers: [65, 73, 61]
Generated Node #0,3: 29:[65, 73, 61] Operation: 80-19=61
Exploring Operation: 73-65=8, Resulting Numbers: [19, 80, 8]
Generated Node #0,4: 29:[19, 80, 8] Operation: 73-65=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[19, 65, 7], Operations: ['80-73=7']
Exploring Operation: 19+7=26, Resulting Numbers: [65, 26]
Generated Node #0,0,0: 29:[65, 26] Operation: 19+7=26
Exploring Operation: 65+7=72, Resulting Numbers: [19, 72]
Generated Node #0,0,1: 29:[19, 72] Operation: 65+7=72
Exploring Operation: 65-7=58, Resulting Numbers: [19, 58]
Generated Node #0,0,2: 29:[19, 58] Operation: 65-7=58
Exploring Operation: 19-7=12, Resulting Numbers: [65, 12]
Generated Node #0,0,3: 29:[65, 12] Operation: 19-7=12
Exploring Operation: 65-19=46, Resulting Numbers: [7, 46]
Generated Node #0,0,4: 29:[7, 46] Operation: 65-19=46
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 29:[65, 26], Operations: ['80-73=7', '19+7=26']
Exploring Operation: 65*26=1690, Resulting Numbers: [1690]
1690,29 unequal: No Solution
Exploring Operation: 65+26=91, Resulting Numbers: [91]
91,29 unequal: No Solution
Exploring Operation: 65-26=39, Resulting Numbers: [39]
39,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 29:[19, 58], Operations: ['80-73=7', '65-7=58']
Exploring Operation: 19+58=77, Resulting Numbers: [77]
77,29 unequal: No Solution
Exploring Operation: 58-19=39, Resulting Numbers: [39]
39,29 unequal: No Solution
Exploring Operation: 19*58=1102, Resulting Numbers: [1102]
1102,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 29:[7, 46], Operations: ['80-73=7', '65-19=46']
Exploring Operation: 7*46=322, Resulting Numbers: [322]
322,29 unequal: No Solution
Exploring Operation: 46-7=39, Resulting Numbers: [39]
39,29 unequal: No Solution
Exploring Operation: 7+46=53, Resulting Numbers: [53]
53,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 29:[19, 72], Operations: ['80-73=7', '65+7=72']
Exploring Operation: 19*72=1368, Resulting Numbers: [1368]
1368,29 unequal: No Solution
Exploring Operation: 72-19=53, Resulting Numbers: [53]
53,29 unequal: No Solution
Exploring Operation: 19+72=91, Resulting Numbers: [91]
91,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 29:[65, 12], Operations: ['80-73=7', '19-7=12']
Exploring Operation: 65+12=77, Resulting Numbers: [77]
77,29 unequal: No Solution
Exploring Operation: 65-12=53, Resulting Numbers: [53]
53,29 unequal: No Solution
Exploring Operation: 65*12=780, Resulting Numbers: [780]
780,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 29:[19, 73, 15], Operations: ['80-65=15']
Exploring Operation: 73-15=58, Resulting Numbers: [19, 58]
Generated Node #0,2,0: 29:[19, 58] Operation: 73-15=58
Exploring Operation: 73+15=88, Resulting Numbers: [19, 88]
Generated Node #0,2,1: 29:[19, 88] Operation: 73+15=88
Exploring Operation: 19-15=4, Resulting Numbers: [73, 4]
Generated Node #0,2,2: 29:[73, 4] Operation: 19-15=4
Exploring Operation: 19+15=34, Resulting Numbers: [73, 34]
Generated Node #0,2,3: 29:[73, 34] Operation: 19+15=34
Exploring Operation: 73-19=54, Resulting Numbers: [15, 54]
Generated Node #0,2,4: 29:[15, 54] Operation: 73-19=54
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 29:[19, 58], Operations: ['80-65=15', '73-15=58']
Exploring Operation: 58-19=39, Resulting Numbers: [39]
39,29 unequal: No Solution
Exploring Operation: 19*58=1102, Resulting Numbers: [1102]
1102,29 unequal: No Solution
Exploring Operation: 19+58=77, Resulting Numbers: [77]
77,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 29:[15, 54], Operations: ['80-65=15', '73-19=54']
Exploring Operation: 15*54=810, Resulting Numbers: [810]
810,29 unequal: No Solution
Exploring Operation: 15+54=69, Resulting Numbers: [69]
69,29 unequal: No Solution
Exploring Operation: 54-15=39, Resulting Numbers: [39]
39,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 29:[73, 34], Operations: ['80-65=15', '19+15=34']
Exploring Operation: 73*34=2482, Resulting Numbers: [2482]
2482,29 unequal: No Solution
Exploring Operation: 73+34=107, Resulting Numbers: [107]
107,29 unequal: No Solution
Exploring Operation: 73-34=39, Resulting Numbers: [39]
39,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 29:[19, 88], Operations: ['80-65=15', '73+15=88']
Exploring Operation: 88-19=69, Resulting Numbers: [69]
69,29 unequal: No Solution
Exploring Operation: 19+88=107, Resulting Numbers: [107]
107,29 unequal: No Solution
Exploring Operation: 19*88=1672, Resulting Numbers: [1672]
1672,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 29:[73, 4], Operations: ['80-65=15', '19-15=4']
Exploring Operation: 73*4=292, Resulting Numbers: [292]
292,29 unequal: No Solution
Exploring Operation: 73+4=77, Resulting Numbers: [77]
77,29 unequal: No Solution
Exploring Operation: 73-4=69, Resulting Numbers: [69]
69,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 29:[19, 80, 8], Operations: ['73-65=8']
Exploring Operation: 80-8=72, Resulting Numbers: [19, 72]
Generated Node #0,4,0: 29:[19, 72] Operation: 80-8=72
Exploring Operation: 80/8=10, Resulting Numbers: [19, 10]
Generated Node #0,4,1: 29:[19, 10] Operation: 80/8=10
Exploring Operation: 80-19=61, Resulting Numbers: [8, 61]
Generated Node #0,4,2: 29:[8, 61] Operation: 80-19=61
Exploring Operation: 19+8=27, Resulting Numbers: [80, 27]
Generated Node #0,4,3: 29:[80, 27] Operation: 19+8=27
Exploring Operation: 19-8=11, Resulting Numbers: [80, 11]
Generated Node #0,4,4: 29:[80, 11] Operation: 19-8=11
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 29:[19, 10], Operations: ['73-65=8', '80/8=10']
Exploring Operation: 19*10=190, Resulting Numbers: [190]
190,29 unequal: No Solution
Exploring Operation: 19+10=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[19, 80, 65, 73], Operations: []
Exploring Operation: 73-65=8, Resulting Numbers: [19, 80, 8]
Generated Node #0,4: 29:[19, 80, 8] Operation: 73-65=8
Moving to Node #0,4
Current State: 29:[19, 80, 8], Operations: ['73-65=8']
Exploring Operation: 80/8=10, Resulting Numbers: [19, 10]
Generated Node #0,4,1: 29:[19, 10] Operation: 80/8=10
Moving to Node #0,4,1
Current State: 29:[19, 10], Operations: ['73-65=8', '80/8=10']
Exploring Operation: 19+10=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.951389 | hs_5 | sum_heuristic |
[
33,
54,
27,
62
] | 64 | [
"54/27=2",
"62/2=31",
"33+31=64"
] | Current State: 64:[33, 54, 27, 62], Operations: []
Exploring Operation: 54/27=2, Resulting Numbers: [33, 62, 2]
Generated Node #2: [33, 62, 2] from Operation: 54/27=2
Current State: 64:[33, 62, 2], Operations: ['54/27=2']
Exploring Operation: 62/2=31, Resulting Numbers: [33, 31]
Generated Node #3: [33, 31] from Operation: 62/2=31
Current State: 64:[33, 31], Operations: ['54/27=2', '62/2=31']
Exploring Operation: 33+31=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[33, 54, 27, 62], Operations: []
Exploring Operation: 54-33=21, Resulting Numbers: [27, 62, 21]
Generated Node #0,0: 64:[27, 62, 21] Operation: 54-33=21
Exploring Operation: 54/27=2, Resulting Numbers: [33, 62, 2]
Generated Node #0,1: 64:[33, 62, 2] Operation: 54/27=2
Exploring Operation: 54-27=27, Resulting Numbers: [33, 62, 27]
Generated Node #0,2: 64:[33, 62, 27] Operation: 54-27=27
Exploring Operation: 62-54=8, Resulting Numbers: [33, 27, 8]
Generated Node #0,3: 64:[33, 27, 8] Operation: 62-54=8
Moving to Node #0,1
Current State: 64:[33, 62, 2], Operations: ['54/27=2']
Exploring Operation: 33-2=31, Resulting Numbers: [62, 31]
Generated Node #0,1,0: 64:[62, 31] Operation: 33-2=31
Exploring Operation: 62/2=31, Resulting Numbers: [33, 31]
Generated Node #0,1,1: 64:[33, 31] Operation: 62/2=31
Exploring Operation: 62+2=64, Resulting Numbers: [33, 64]
Generated Node #0,1,2: 64:[33, 64] Operation: 62+2=64
Exploring Operation: 62-33=29, Resulting Numbers: [2, 29]
Generated Node #0,1,3: 64:[2, 29] Operation: 62-33=29
Moving to Node #0,3
Current State: 64:[33, 27, 8], Operations: ['62-54=8']
Exploring Operation: 27-8=19, Resulting Numbers: [33, 19]
Generated Node #0,3,0: 64:[33, 19] Operation: 27-8=19
Exploring Operation: 27+8=35, Resulting Numbers: [33, 35]
Generated Node #0,3,1: 64:[33, 35] Operation: 27+8=35
Exploring Operation: 33-27=6, Resulting Numbers: [8, 6]
Generated Node #0,3,2: 64:[8, 6] Operation: 33-27=6
Exploring Operation: 33+27=60, Resulting Numbers: [8, 60]
Generated Node #0,3,3: 64:[8, 60] Operation: 33+27=60
Moving to Node #0,2
Current State: 64:[33, 62, 27], Operations: ['54-27=27']
Exploring Operation: 33+27=60, Resulting Numbers: [62, 60]
Generated Node #0,2,0: 64:[62, 60] Operation: 33+27=60
Exploring Operation: 62-33=29, Resulting Numbers: [27, 29]
Generated Node #0,2,1: 64:[27, 29] Operation: 62-33=29
Exploring Operation: 62-27=35, Resulting Numbers: [33, 35]
Generated Node #0,2,2: 64:[33, 35] Operation: 62-27=35
Exploring Operation: 33-27=6, Resulting Numbers: [62, 6]
Generated Node #0,2,3: 64:[62, 6] Operation: 33-27=6
Moving to Node #0,0
Current State: 64:[27, 62, 21], Operations: ['54-33=21']
Exploring Operation: 27+21=48, Resulting Numbers: [62, 48]
Generated Node #0,0,0: 64:[62, 48] Operation: 27+21=48
Exploring Operation: 62-21=41, Resulting Numbers: [27, 41]
Generated Node #0,0,1: 64:[27, 41] Operation: 62-21=41
Exploring Operation: 62-27=35, Resulting Numbers: [21, 35]
Generated Node #0,0,2: 64:[21, 35] Operation: 62-27=35
Exploring Operation: 27-21=6, Resulting Numbers: [62, 6]
Generated Node #0,0,3: 64:[62, 6] Operation: 27-21=6
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 64:[62, 6], Operations: ['54-33=21', '27-21=6']
Exploring Operation: 62*6=372, Resulting Numbers: [372]
372,64 unequal: No Solution
Exploring Operation: 62+6=68, Resulting Numbers: [68]
68,64 unequal: No Solution
Exploring Operation: 62-6=56, Resulting Numbers: [56]
56,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 64:[21, 35], Operations: ['54-33=21', '62-27=35']
Exploring Operation: 21*35=735, Resulting Numbers: [735]
735,64 unequal: No Solution
Exploring Operation: 35-21=14, Resulting Numbers: [14]
14,64 unequal: No Solution
Exploring Operation: 21+35=56, Resulting Numbers: [56]
56,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 64:[27, 41], Operations: ['54-33=21', '62-21=41']
Exploring Operation: 41-27=14, Resulting Numbers: [14]
14,64 unequal: No Solution
Exploring Operation: 27+41=68, Resulting Numbers: [68]
68,64 unequal: No Solution
Exploring Operation: 27*41=1107, Resulting Numbers: [1107]
1107,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 64:[62, 48], Operations: ['54-33=21', '27+21=48']
Exploring Operation: 62*48=2976, Resulting Numbers: [2976]
2976,64 unequal: No Solution
Exploring Operation: 62+48=110, Resulting Numbers: [110]
110,64 unequal: No Solution
Exploring Operation: 62-48=14, Resulting Numbers: [14]
14,64 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: 64:[33, 64], Operations: ['54/27=2', '62+2=64']
Exploring Operation: 64-33=31, Resulting Numbers: [31]
31,64 unequal: No Solution
Exploring Operation: 33*64=2112, Resulting Numbers: [2112]
2112,64 unequal: No Solution
Exploring Operation: 33+64=97, Resulting Numbers: [97]
97,64 unequal: No Solution
Moving to Node #0,1,1
Current State: 64:[33, 31], Operations: ['54/27=2', '62/2=31']
Exploring Operation: 33*31=1023, Resulting Numbers: [1023]
1023,64 unequal: No Solution
Exploring Operation: 33+31=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[33, 54, 27, 62], Operations: []
Exploring Operation: 54/27=2, Resulting Numbers: [33, 62, 2]
Generated Node #0,1: 64:[33, 62, 2] Operation: 54/27=2
Moving to Node #0,1
Current State: 64:[33, 62, 2], Operations: ['54/27=2']
Exploring Operation: 62/2=31, Resulting Numbers: [33, 31]
Generated Node #0,1,1: 64:[33, 31] Operation: 62/2=31
Moving to Node #0,1,1
Current State: 64:[33, 31], Operations: ['54/27=2', '62/2=31']
Exploring Operation: 33+31=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 0.96441 | hs_4 | sum_heuristic |
[
59,
3,
1,
32
] | 70 | [
"1+32=33",
"33/3=11",
"59+11=70"
] | Current State: 70:[59, 3, 1, 32], Operations: []
Exploring Operation: 1+32=33, Resulting Numbers: [59, 3, 33]
Generated Node #2: [59, 3, 33] from Operation: 1+32=33
Current State: 70:[59, 3, 33], Operations: ['1+32=33']
Exploring Operation: 33/3=11, Resulting Numbers: [59, 11]
Generated Node #3: [59, 11] from Operation: 33/3=11
Current State: 70:[59, 11], Operations: ['1+32=33', '33/3=11']
Exploring Operation: 59+11=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[59, 3, 1, 32], Operations: []
Exploring Operation: 3+32=35, Resulting Numbers: [59, 1, 35]
Generated Node #0,0: 70:[59, 1, 35] Operation: 3+32=35
Exploring Operation: 59+3=62, Resulting Numbers: [1, 32, 62]
Generated Node #0,1: 70:[1, 32, 62] Operation: 59+3=62
Exploring Operation: 59-32=27, Resulting Numbers: [3, 1, 27]
Generated Node #0,2: 70:[3, 1, 27] Operation: 59-32=27
Moving to Node #0,2
Current State: 70:[3, 1, 27], Operations: ['59-32=27']
Exploring Operation: 27/3=9, Resulting Numbers: [1, 9]
Generated Node #0,2,0: 70:[1, 9] Operation: 27/3=9
Exploring Operation: 3+27=30, Resulting Numbers: [1, 30]
Generated Node #0,2,1: 70:[1, 30] Operation: 3+27=30
Exploring Operation: 3-1=2, Resulting Numbers: [27, 2]
Generated Node #0,2,2: 70:[27, 2] Operation: 3-1=2
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 70:[1, 9], Operations: ['59-32=27', '27/3=9']
Exploring Operation: 1*9=9, Resulting Numbers: [9]
9,70 unequal: No Solution
Exploring Operation: 1+9=10, Resulting Numbers: [10]
10,70 unequal: No Solution
Exploring Operation: 9-1=8, Resulting Numbers: [8]
8,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 70:[1, 30], Operations: ['59-32=27', '3+27=30']
Exploring Operation: 1*30=30, Resulting Numbers: [30]
30,70 unequal: No Solution
Exploring Operation: 1+30=31, Resulting Numbers: [31]
31,70 unequal: No Solution
Exploring Operation: 30/1=30, Resulting Numbers: [30]
30,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 70:[27, 2], Operations: ['59-32=27', '3-1=2']
Exploring Operation: 27+2=29, Resulting Numbers: [29]
29,70 unequal: No Solution
Exploring Operation: 27*2=54, Resulting Numbers: [54]
54,70 unequal: No Solution
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,70 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: 70:[59, 1, 35], Operations: ['3+32=35']
Exploring Operation: 59*1=59, Resulting Numbers: [35, 59]
Generated Node #0,0,0: 70:[35, 59] Operation: 59*1=59
Exploring Operation: 59/1=59, Resulting Numbers: [35, 59]
Generated Node #0,0,1: 70:[35, 59] Operation: 59/1=59
Exploring Operation: 59+1=60, Resulting Numbers: [35, 60]
Generated Node #0,0,2: 70:[35, 60] Operation: 59+1=60
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 70:[35, 60], Operations: ['3+32=35', '59+1=60']
Exploring Operation: 60-35=25, Resulting Numbers: [25]
25,70 unequal: No Solution
Exploring Operation: 35+60=95, Resulting Numbers: [95]
95,70 unequal: No Solution
Exploring Operation: 35*60=2100, Resulting Numbers: [2100]
2100,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 70:[35, 59], Operations: ['3+32=35', '59*1=59']
Exploring Operation: 59-35=24, Resulting Numbers: [24]
24,70 unequal: No Solution
Exploring Operation: 35*59=2065, Resulting Numbers: [2065]
2065,70 unequal: No Solution
Exploring Operation: 35+59=94, Resulting Numbers: [94]
94,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 70:[35, 59], Operations: ['3+32=35', '59/1=59']
Exploring Operation: 59-35=24, Resulting Numbers: [24]
24,70 unequal: No Solution
Exploring Operation: 35+59=94, Resulting Numbers: [94]
94,70 unequal: No Solution
Exploring Operation: 35*59=2065, Resulting Numbers: [2065]
2065,70 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: 70:[1, 32, 62], Operations: ['59+3=62']
Exploring Operation: 1+32=33, Resulting Numbers: [62, 33]
Generated Node #0,1,0: 70:[62, 33] Operation: 1+32=33
Exploring Operation: 1+62=63, Resulting Numbers: [32, 63]
Generated Node #0,1,1: 70:[32, 63] Operation: 1+62=63
Exploring Operation: 62-32=30, Resulting Numbers: [1, 30]
Generated Node #0,1,2: 70:[1, 30] Operation: 62-32=30
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 70:[1, 30], Operations: ['59+3=62', '62-32=30']
Exploring Operation: 1+30=31, Resulting Numbers: [31]
31,70 unequal: No Solution
Exploring Operation: 30/1=30, Resulting Numbers: [30]
30,70 unequal: No Solution
Exploring Operation: 1*30=30, Resulting Numbers: [30]
30,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 70:[62, 33], Operations: ['59+3=62', '1+32=33']
Exploring Operation: 62*33=2046, Resulting Numbers: [2046]
2046,70 unequal: No Solution
Exploring Operation: 62+33=95, Resulting Numbers: [95]
95,70 unequal: No Solution
Exploring Operation: 62-33=29, Resulting Numbers: [29]
29,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 70:[32, 63], Operations: ['59+3=62', '1+62=63']
Exploring Operation: 32+63=95, Resulting Numbers: [95]
95,70 unequal: No Solution
Exploring Operation: 32*63=2016, Resulting Numbers: [2016]
2016,70 unequal: No Solution
Exploring Operation: 63-32=31, Resulting Numbers: [31]
31,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
28,
59,
2,
51
] | 17 | [
"28*2=56",
"59-56=3",
"51/3=17"
] | Current State: 17:[28, 59, 2, 51], Operations: []
Exploring Operation: 28*2=56, Resulting Numbers: [59, 51, 56]
Generated Node #2: [59, 51, 56] from Operation: 28*2=56
Current State: 17:[59, 51, 56], Operations: ['28*2=56']
Exploring Operation: 59-56=3, Resulting Numbers: [51, 3]
Generated Node #3: [51, 3] from Operation: 59-56=3
Current State: 17:[51, 3], Operations: ['28*2=56', '59-56=3']
Exploring Operation: 51/3=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[28, 59, 2, 51], Operations: []
Exploring Operation: 59-51=8, Resulting Numbers: [28, 2, 8]
Generated Node #0,0: 17:[28, 2, 8] Operation: 59-51=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[28, 2, 8], Operations: ['59-51=8']
Exploring Operation: 28/2=14, Resulting Numbers: [8, 14]
Generated Node #0,0,0: 17:[8, 14] Operation: 28/2=14
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 17:[8, 14], Operations: ['59-51=8', '28/2=14']
Exploring Operation: 8+14=22, Resulting Numbers: [22]
22,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
79,
11,
7,
4
] | 87 | [
"79+11=90",
"7-4=3",
"90-3=87"
] | Current State: 87:[79, 11, 7, 4], Operations: []
Exploring Operation: 79+11=90, Resulting Numbers: [7, 4, 90]
Generated Node #2: [7, 4, 90] from Operation: 79+11=90
Current State: 87:[7, 4, 90], Operations: ['79+11=90']
Exploring Operation: 7-4=3, Resulting Numbers: [90, 3]
Generated Node #3: [90, 3] from Operation: 7-4=3
Current State: 87:[90, 3], Operations: ['79+11=90', '7-4=3']
Exploring Operation: 90-3=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[79, 11, 7, 4], Operations: []
Exploring Operation: 79+11=90, Resulting Numbers: [7, 4, 90]
Generated Node #0,0: 87:[7, 4, 90] Operation: 79+11=90
Start Sub Search at level 1: Moving to Node #0,0
Current State: 87:[7, 4, 90], Operations: ['79+11=90']
Exploring Operation: 7-4=3, Resulting Numbers: [90, 3]
Generated Node #0,0,0: 87:[90, 3] Operation: 7-4=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 87:[90, 3], Operations: ['79+11=90', '7-4=3']
Exploring Operation: 90-3=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[79, 11, 7, 4], Operations: []
Exploring Operation: 79+11=90, Resulting Numbers: [7, 4, 90]
Generated Node #0,0: 87:[7, 4, 90] Operation: 79+11=90
Moving to Node #0,0
Current State: 87:[7, 4, 90], Operations: ['79+11=90']
Exploring Operation: 7-4=3, Resulting Numbers: [90, 3]
Generated Node #0,0,0: 87:[90, 3] Operation: 7-4=3
Moving to Node #0,0,0
Current State: 87:[90, 3], Operations: ['79+11=90', '7-4=3']
Exploring Operation: 90-3=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
60,
29,
82,
37
] | 57 | [
"29+82=111",
"111/37=3",
"60-3=57"
] | Current State: 57:[60, 29, 82, 37], Operations: []
Exploring Operation: 29+82=111, Resulting Numbers: [60, 37, 111]
Generated Node #2: [60, 37, 111] from Operation: 29+82=111
Current State: 57:[60, 37, 111], Operations: ['29+82=111']
Exploring Operation: 111/37=3, Resulting Numbers: [60, 3]
Generated Node #3: [60, 3] from Operation: 111/37=3
Current State: 57:[60, 3], Operations: ['29+82=111', '111/37=3']
Exploring Operation: 60-3=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[60, 29, 82, 37], Operations: []
Exploring Operation: 37-29=8, Resulting Numbers: [60, 82, 8]
Generated Node #0,0: 57:[60, 82, 8] Operation: 37-29=8
Exploring Operation: 82-29=53, Resulting Numbers: [60, 37, 53]
Generated Node #0,1: 57:[60, 37, 53] Operation: 82-29=53
Exploring Operation: 82-37=45, Resulting Numbers: [60, 29, 45]
Generated Node #0,2: 57:[60, 29, 45] Operation: 82-37=45
Exploring Operation: 82-60=22, Resulting Numbers: [29, 37, 22]
Generated Node #0,3: 57:[29, 37, 22] Operation: 82-60=22
Start Sub Search at level 1: Moving to Node #0,1
Current State: 57:[60, 37, 53], Operations: ['82-29=53']
Exploring Operation: 60-37=23, Resulting Numbers: [53, 23]
Generated Node #0,1,0: 57:[53, 23] Operation: 60-37=23
Exploring Operation: 37+53=90, Resulting Numbers: [60, 90]
Generated Node #0,1,1: 57:[60, 90] Operation: 37+53=90
Exploring Operation: 60-53=7, Resulting Numbers: [37, 7]
Generated Node #0,1,2: 57:[37, 7] Operation: 60-53=7
Exploring Operation: 53-37=16, Resulting Numbers: [60, 16]
Generated Node #0,1,3: 57:[60, 16] Operation: 53-37=16
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 57:[60, 16], Operations: ['82-29=53', '53-37=16']
Exploring Operation: 60*16=960, Resulting Numbers: [960]
960,57 unequal: No Solution
Exploring Operation: 60-16=44, Resulting Numbers: [44]
44,57 unequal: No Solution
Exploring Operation: 60+16=76, Resulting Numbers: [76]
76,57 unequal: No Solution
No 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: 57:[53, 23], Operations: ['82-29=53', '60-37=23']
Exploring Operation: 53-23=30, Resulting Numbers: [30]
30,57 unequal: No Solution
Exploring Operation: 53*23=1219, Resulting Numbers: [1219]
1219,57 unequal: No Solution
Exploring Operation: 53+23=76, Resulting Numbers: [76]
76,57 unequal: No Solution
No 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: 57:[37, 7], Operations: ['82-29=53', '60-53=7']
Exploring Operation: 37*7=259, Resulting Numbers: [259]
259,57 unequal: No Solution
Exploring Operation: 37+7=44, Resulting Numbers: [44]
44,57 unequal: No Solution
Exploring Operation: 37-7=30, Resulting Numbers: [30]
30,57 unequal: No Solution
No 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: 57:[60, 90], Operations: ['82-29=53', '37+53=90']
Exploring Operation: 60+90=150, Resulting Numbers: [150]
150,57 unequal: No Solution
Exploring Operation: 60*90=5400, Resulting Numbers: [5400]
5400,57 unequal: No Solution
Exploring Operation: 90-60=30, Resulting Numbers: [30]
30,57 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: 57:[60, 29, 45], Operations: ['82-37=45']
Exploring Operation: 60-45=15, Resulting Numbers: [29, 15]
Generated Node #0,2,0: 57:[29, 15] Operation: 60-45=15
Exploring Operation: 60-29=31, Resulting Numbers: [45, 31]
Generated Node #0,2,1: 57:[45, 31] Operation: 60-29=31
Exploring Operation: 45-29=16, Resulting Numbers: [60, 16]
Generated Node #0,2,2: 57:[60, 16] Operation: 45-29=16
Exploring Operation: 29+45=74, Resulting Numbers: [60, 74]
Generated Node #0,2,3: 57:[60, 74] Operation: 29+45=74
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 57:[60, 16], Operations: ['82-37=45', '45-29=16']
Exploring Operation: 60-16=44, Resulting Numbers: [44]
44,57 unequal: No Solution
Exploring Operation: 60+16=76, Resulting Numbers: [76]
76,57 unequal: No Solution
Exploring Operation: 60*16=960, Resulting Numbers: [960]
960,57 unequal: No Solution
No 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: 57:[29, 15], Operations: ['82-37=45', '60-45=15']
Exploring Operation: 29*15=435, Resulting Numbers: [435]
435,57 unequal: No Solution
Exploring Operation: 29+15=44, Resulting Numbers: [44]
44,57 unequal: No Solution
Exploring Operation: 29-15=14, Resulting Numbers: [14]
14,57 unequal: No Solution
No 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: 57:[60, 74], Operations: ['82-37=45', '29+45=74']
Exploring Operation: 60+74=134, Resulting Numbers: [134]
134,57 unequal: No Solution
Exploring Operation: 60*74=4440, Resulting Numbers: [4440]
4440,57 unequal: No Solution
Exploring Operation: 74-60=14, Resulting Numbers: [14]
14,57 unequal: No Solution
No 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: 57:[45, 31], Operations: ['82-37=45', '60-29=31']
Exploring Operation: 45*31=1395, Resulting Numbers: [1395]
1395,57 unequal: No Solution
Exploring Operation: 45+31=76, Resulting Numbers: [76]
76,57 unequal: No Solution
Exploring Operation: 45-31=14, Resulting Numbers: [14]
14,57 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: 57:[29, 37, 22], Operations: ['82-60=22']
Exploring Operation: 29+37=66, Resulting Numbers: [22, 66]
Generated Node #0,3,0: 57:[22, 66] Operation: 29+37=66
Exploring Operation: 37-29=8, Resulting Numbers: [22, 8]
Generated Node #0,3,1: 57:[22, 8] Operation: 37-29=8
Exploring Operation: 37+22=59, Resulting Numbers: [29, 59]
Generated Node #0,3,2: 57:[29, 59] Operation: 37+22=59
Exploring Operation: 37-22=15, Resulting Numbers: [29, 15]
Generated Node #0,3,3: 57:[29, 15] Operation: 37-22=15
Moving to Node #0,3,1
Current State: 57:[22, 8], Operations: ['82-60=22', '37-29=8']
Exploring Operation: 22*8=176, Resulting Numbers: [176]
176,57 unequal: No Solution
Exploring Operation: 22-8=14, Resulting Numbers: [14]
14,57 unequal: No Solution
Exploring Operation: 22+8=30, Resulting Numbers: [30]
30,57 unequal: No Solution
Moving to Node #0,3,2
Current State: 57:[29, 59], Operations: ['82-60=22', '37+22=59']
Exploring Operation: 59-29=30, Resulting Numbers: [30]
30,57 unequal: No Solution
Exploring Operation: 29*59=1711, Resulting Numbers: [1711]
1711,57 unequal: No Solution
Exploring Operation: 29+59=88, Resulting Numbers: [88]
88,57 unequal: No Solution
Moving to Node #0,3,0
Current State: 57:[22, 66], Operations: ['82-60=22', '29+37=66']
Exploring Operation: 22+66=88, Resulting Numbers: [88]
88,57 unequal: No Solution
Exploring Operation: 66-22=44, Resulting Numbers: [44]
44,57 unequal: No Solution
Exploring Operation: 66/22=3, Resulting Numbers: [3]
3,57 unequal: No Solution
Exploring Operation: 22*66=1452, Resulting Numbers: [1452]
1452,57 unequal: No Solution
Moving to Node #0,3,3
Current State: 57:[29, 15], Operations: ['82-60=22', '37-22=15']
Exploring Operation: 29*15=435, Resulting Numbers: [435]
435,57 unequal: No Solution
Exploring Operation: 29+15=44, Resulting Numbers: [44]
44,57 unequal: No Solution
Exploring Operation: 29-15=14, Resulting Numbers: [14]
14,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
Current State: 57:[60, 82, 8], Operations: ['37-29=8']
Exploring Operation: 60-8=52, Resulting Numbers: [82, 52]
Generated Node #0,0,0: 57:[82, 52] Operation: 60-8=52
Exploring Operation: 82-8=74, Resulting Numbers: [60, 74]
Generated Node #0,0,1: 57:[60, 74] Operation: 82-8=74
Exploring Operation: 82-60=22, Resulting Numbers: [8, 22]
Generated Node #0,0,2: 57:[8, 22] Operation: 82-60=22
Exploring Operation: 60+8=68, Resulting Numbers: [82, 68]
Generated Node #0,0,3: 57:[82, 68] Operation: 60+8=68
Moving to Node #0,0,2
Current State: 57:[8, 22], Operations: ['37-29=8', '82-60=22']
Exploring Operation: 8*22=176, Resulting Numbers: [176]
176,57 unequal: No Solution
Exploring Operation: 22-8=14, Resulting Numbers: [14]
14,57 unequal: No Solution
Exploring Operation: 8+22=30, Resulting Numbers: [30]
30,57 unequal: No Solution
Moving to Node #0,0,1
Current State: 57:[60, 74], Operations: ['37-29=8', '82-8=74']
Exploring Operation: 60*74=4440, Resulting Numbers: [4440]
4440,57 unequal: No Solution
Exploring Operation: 60+74=134, Resulting Numbers: [134]
134,57 unequal: No Solution
Exploring Operation: 74-60=14, Resulting Numbers: [14]
14,57 unequal: No Solution
Moving to Node #0,0,0
Current State: 57:[82, 52], Operations: ['37-29=8', '60-8=52']
Exploring Operation: 82-52=30, Resulting Numbers: [30]
30,57 unequal: No Solution
Exploring Operation: 82*52=4264, Resulting Numbers: [4264]
4264,57 unequal: No Solution
Exploring Operation: 82+52=134, Resulting Numbers: [134]
134,57 unequal: No Solution
Moving to Node #0,0,3
Current State: 57:[82, 68], Operations: ['37-29=8', '60+8=68']
Exploring Operation: 82+68=150, Resulting Numbers: [150]
150,57 unequal: No Solution
Exploring Operation: 82*68=5576, Resulting Numbers: [5576]
5576,57 unequal: No Solution
Exploring Operation: 82-68=14, Resulting Numbers: [14]
14,57 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 |
[
25,
38,
10,
93
] | 70 | [
"38-25=13",
"93-10=83",
"83-13=70"
] | Current State: 70:[25, 38, 10, 93], Operations: []
Exploring Operation: 38-25=13, Resulting Numbers: [10, 93, 13]
Generated Node #2: [10, 93, 13] from Operation: 38-25=13
Current State: 70:[10, 93, 13], Operations: ['38-25=13']
Exploring Operation: 93-10=83, Resulting Numbers: [13, 83]
Generated Node #3: [13, 83] from Operation: 93-10=83
Current State: 70:[13, 83], Operations: ['38-25=13', '93-10=83']
Exploring Operation: 83-13=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[25, 38, 10, 93], Operations: []
Exploring Operation: 38-25=13, Resulting Numbers: [10, 93, 13]
Generated Node #0,0: 70:[10, 93, 13] Operation: 38-25=13
Exploring Operation: 93-25=68, Resulting Numbers: [38, 10, 68]
Generated Node #0,1: 70:[38, 10, 68] Operation: 93-25=68
Exploring Operation: 93-38=55, Resulting Numbers: [25, 10, 55]
Generated Node #0,2: 70:[25, 10, 55] Operation: 93-38=55
Start Sub Search at level 1: Moving to Node #0,1
Current State: 70:[38, 10, 68], Operations: ['93-25=68']
Exploring Operation: 68-38=30, Resulting Numbers: [10, 30]
Generated Node #0,1,0: 70:[10, 30] Operation: 68-38=30
Exploring Operation: 10+68=78, Resulting Numbers: [38, 78]
Generated Node #0,1,1: 70:[38, 78] Operation: 10+68=78
Exploring Operation: 38-10=28, Resulting Numbers: [68, 28]
Generated Node #0,1,2: 70:[68, 28] Operation: 38-10=28
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 70:[10, 30], Operations: ['93-25=68', '68-38=30']
Exploring Operation: 30/10=3, Resulting Numbers: [3]
3,70 unequal: No Solution
Exploring Operation: 10+30=40, Resulting Numbers: [40]
40,70 unequal: No Solution
Exploring Operation: 30-10=20, Resulting Numbers: [20]
20,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 70:[68, 28], Operations: ['93-25=68', '38-10=28']
Exploring Operation: 68*28=1904, Resulting Numbers: [1904]
1904,70 unequal: No Solution
Exploring Operation: 68-28=40, Resulting Numbers: [40]
40,70 unequal: No Solution
Exploring Operation: 68+28=96, Resulting Numbers: [96]
96,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 70:[38, 78], Operations: ['93-25=68', '10+68=78']
Exploring Operation: 38*78=2964, Resulting Numbers: [2964]
2964,70 unequal: No Solution
Exploring Operation: 38+78=116, Resulting Numbers: [116]
116,70 unequal: No Solution
Exploring Operation: 78-38=40, Resulting Numbers: [40]
40,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[10, 93, 13], Operations: ['38-25=13']
Exploring Operation: 93-10=83, Resulting Numbers: [13, 83]
Generated Node #0,0,0: 70:[13, 83] Operation: 93-10=83
Exploring Operation: 13-10=3, Resulting Numbers: [93, 3]
Generated Node #0,0,1: 70:[93, 3] Operation: 13-10=3
Exploring Operation: 93-13=80, Resulting Numbers: [10, 80]
Generated Node #0,0,2: 70:[10, 80] Operation: 93-13=80
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 70:[10, 80], Operations: ['38-25=13', '93-13=80']
Exploring Operation: 80-10=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[25, 38, 10, 93], Operations: []
Exploring Operation: 38-25=13, Resulting Numbers: [10, 93, 13]
Generated Node #0,0: 70:[10, 93, 13] Operation: 38-25=13
Moving to Node #0,0
Current State: 70:[10, 93, 13], Operations: ['38-25=13']
Exploring Operation: 93-13=80, Resulting Numbers: [10, 80]
Generated Node #0,0,2: 70:[10, 80] Operation: 93-13=80
Moving to Node #0,0,2
Current State: 70:[10, 80], Operations: ['38-25=13', '93-13=80']
Exploring Operation: 80-10=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980035 | hs_3 | mult_heuristic |
[
44,
70,
29,
58
] | 55 | [
"70-44=26",
"58-29=29",
"26+29=55"
] | Current State: 55:[44, 70, 29, 58], Operations: []
Exploring Operation: 70-44=26, Resulting Numbers: [29, 58, 26]
Generated Node #2: [29, 58, 26] from Operation: 70-44=26
Current State: 55:[29, 58, 26], Operations: ['70-44=26']
Exploring Operation: 58-29=29, Resulting Numbers: [26, 29]
Generated Node #3: [26, 29] from Operation: 58-29=29
Current State: 55:[26, 29], Operations: ['70-44=26', '58-29=29']
Exploring Operation: 26+29=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[44, 70, 29, 58], Operations: []
Exploring Operation: 70-29=41, Resulting Numbers: [44, 58, 41]
Generated Node #0,0: 55:[44, 58, 41] Operation: 70-29=41
Exploring Operation: 58/29=2, Resulting Numbers: [44, 70, 2]
Generated Node #0,1: 55:[44, 70, 2] Operation: 58/29=2
Exploring Operation: 44-29=15, Resulting Numbers: [70, 58, 15]
Generated Node #0,2: 55:[70, 58, 15] Operation: 44-29=15
Moving to Node #0,2
Current State: 55:[70, 58, 15], Operations: ['44-29=15']
Exploring Operation: 70-15=55, Resulting Numbers: [58, 55]
Generated Node #0,2,0: 55:[58, 55] Operation: 70-15=55
Exploring Operation: 70-58=12, Resulting Numbers: [15, 12]
Generated Node #0,2,1: 55:[15, 12] Operation: 70-58=12
Exploring Operation: 58-15=43, Resulting Numbers: [70, 43]
Generated Node #0,2,2: 55:[70, 43] Operation: 58-15=43
Moving to Node #0,0
Current State: 55:[44, 58, 41], Operations: ['70-29=41']
Exploring Operation: 58-44=14, Resulting Numbers: [41, 14]
Generated Node #0,0,0: 55:[41, 14] Operation: 58-44=14
Exploring Operation: 58-41=17, Resulting Numbers: [44, 17]
Generated Node #0,0,1: 55:[44, 17] Operation: 58-41=17
Exploring Operation: 44-41=3, Resulting Numbers: [58, 3]
Generated Node #0,0,2: 55:[58, 3] Operation: 44-41=3
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 55:[58, 3], Operations: ['70-29=41', '44-41=3']
Exploring Operation: 58+3=61, Resulting Numbers: [61]
61,55 unequal: No Solution
Exploring Operation: 58-3=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[44, 70, 29, 58], Operations: []
Exploring Operation: 70-29=41, Resulting Numbers: [44, 58, 41]
Generated Node #0,0: 55:[44, 58, 41] Operation: 70-29=41
Moving to Node #0,0
Current State: 55:[44, 58, 41], Operations: ['70-29=41']
Exploring Operation: 44-41=3, Resulting Numbers: [58, 3]
Generated Node #0,0,2: 55:[58, 3] Operation: 44-41=3
Moving to Node #0,0,2
Current State: 55:[58, 3], Operations: ['70-29=41', '44-41=3']
Exploring Operation: 58-3=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_3 | mult_heuristic |
[
40,
2,
84,
48
] | 70 | [
"84-40=44",
"44/2=22",
"48+22=70"
] | Current State: 70:[40, 2, 84, 48], Operations: []
Exploring Operation: 84-40=44, Resulting Numbers: [2, 48, 44]
Generated Node #2: [2, 48, 44] from Operation: 84-40=44
Current State: 70:[2, 48, 44], Operations: ['84-40=44']
Exploring Operation: 44/2=22, Resulting Numbers: [48, 22]
Generated Node #3: [48, 22] from Operation: 44/2=22
Current State: 70:[48, 22], Operations: ['84-40=44', '44/2=22']
Exploring Operation: 48+22=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[40, 2, 84, 48], Operations: []
Exploring Operation: 84-48=36, Resulting Numbers: [40, 2, 36]
Generated Node #0,0: 70:[40, 2, 36] Operation: 84-48=36
Moving to Node #0,0
Current State: 70:[40, 2, 36], Operations: ['84-48=36']
Exploring Operation: 40-36=4, Resulting Numbers: [2, 4]
Generated Node #0,0,0: 70:[2, 4] Operation: 40-36=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 70:[2, 4], Operations: ['84-48=36', '40-36=4']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
2,
48,
52,
62
] | 15 | [
"62-2=60",
"52-48=4",
"60/4=15"
] | Current State: 15:[2, 48, 52, 62], Operations: []
Exploring Operation: 62-2=60, Resulting Numbers: [48, 52, 60]
Generated Node #2: [48, 52, 60] from Operation: 62-2=60
Current State: 15:[48, 52, 60], Operations: ['62-2=60']
Exploring Operation: 52-48=4, Resulting Numbers: [60, 4]
Generated Node #3: [60, 4] from Operation: 52-48=4
Current State: 15:[60, 4], Operations: ['62-2=60', '52-48=4']
Exploring Operation: 60/4=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[2, 48, 52, 62], Operations: []
Exploring Operation: 52-48=4, Resulting Numbers: [2, 62, 4]
Generated Node #0,0: 15:[2, 62, 4] Operation: 52-48=4
Exploring Operation: 62-52=10, Resulting Numbers: [2, 48, 10]
Generated Node #0,1: 15:[2, 48, 10] Operation: 62-52=10
Exploring Operation: 62-48=14, Resulting Numbers: [2, 52, 14]
Generated Node #0,2: 15:[2, 52, 14] Operation: 62-48=14
Start Sub Search at level 1: Moving to Node #0,1
Current State: 15:[2, 48, 10], Operations: ['62-52=10']
Exploring Operation: 48/2=24, Resulting Numbers: [10, 24]
Generated Node #0,1,0: 15:[10, 24] Operation: 48/2=24
Exploring Operation: 10/2=5, Resulting Numbers: [48, 5]
Generated Node #0,1,1: 15:[48, 5] Operation: 10/2=5
Exploring Operation: 48-10=38, Resulting Numbers: [2, 38]
Generated Node #0,1,2: 15:[2, 38] Operation: 48-10=38
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 15:[10, 24], Operations: ['62-52=10', '48/2=24']
Exploring Operation: 10+24=34, Resulting Numbers: [34]
34,15 unequal: No Solution
Exploring Operation: 10*24=240, Resulting Numbers: [240]
240,15 unequal: No Solution
Exploring Operation: 24-10=14, Resulting Numbers: [14]
14,15 unequal: No Solution
No 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: 15:[2, 38], Operations: ['62-52=10', '48-10=38']
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,15 unequal: No Solution
Exploring Operation: 2+38=40, Resulting Numbers: [40]
40,15 unequal: No Solution
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,15 unequal: No Solution
No 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: 15:[48, 5], Operations: ['62-52=10', '10/2=5']
Exploring Operation: 48*5=240, Resulting Numbers: [240]
240,15 unequal: No Solution
Exploring Operation: 48+5=53, Resulting Numbers: [53]
53,15 unequal: No Solution
Exploring Operation: 48-5=43, Resulting Numbers: [43]
43,15 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: 15:[2, 52, 14], Operations: ['62-48=14']
Exploring Operation: 52-14=38, Resulting Numbers: [2, 38]
Generated Node #0,2,0: 15:[2, 38] Operation: 52-14=38
Exploring Operation: 52/2=26, Resulting Numbers: [14, 26]
Generated Node #0,2,1: 15:[14, 26] Operation: 52/2=26
Exploring Operation: 52-2=50, Resulting Numbers: [14, 50]
Generated Node #0,2,2: 15:[14, 50] Operation: 52-2=50
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 15:[14, 26], Operations: ['62-48=14', '52/2=26']
Exploring Operation: 14+26=40, Resulting Numbers: [40]
40,15 unequal: No Solution
Exploring Operation: 14*26=364, Resulting Numbers: [364]
364,15 unequal: No Solution
Exploring Operation: 26-14=12, Resulting Numbers: [12]
12,15 unequal: No Solution
No 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: 15:[2, 38], Operations: ['62-48=14', '52-14=38']
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,15 unequal: No Solution
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,15 unequal: No Solution
Exploring Operation: 2+38=40, Resulting Numbers: [40]
40,15 unequal: No Solution
No 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: 15:[14, 50], Operations: ['62-48=14', '52-2=50']
Exploring Operation: 14+50=64, Resulting Numbers: [64]
64,15 unequal: No Solution
Exploring Operation: 14*50=700, Resulting Numbers: [700]
700,15 unequal: No Solution
Exploring Operation: 50-14=36, Resulting Numbers: [36]
36,15 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: 15:[2, 62, 4], Operations: ['52-48=4']
Exploring Operation: 62-2=60, Resulting Numbers: [4, 60]
Generated Node #0,0,0: 15:[4, 60] Operation: 62-2=60
Exploring Operation: 62/2=31, Resulting Numbers: [4, 31]
Generated Node #0,0,1: 15:[4, 31] Operation: 62/2=31
Exploring Operation: 62-4=58, Resulting Numbers: [2, 58]
Generated Node #0,0,2: 15:[2, 58] Operation: 62-4=58
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 15:[4, 31], Operations: ['52-48=4', '62/2=31']
Exploring Operation: 31-4=27, Resulting Numbers: [27]
27,15 unequal: No Solution
Exploring Operation: 4+31=35, Resulting Numbers: [35]
35,15 unequal: No Solution
Exploring Operation: 4*31=124, Resulting Numbers: [124]
124,15 unequal: No Solution
No 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: 15:[2, 58], Operations: ['52-48=4', '62-4=58']
Exploring Operation: 58/2=29, Resulting Numbers: [29]
29,15 unequal: No Solution
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,15 unequal: No Solution
Exploring Operation: 2+58=60, Resulting Numbers: [60]
60,15 unequal: No Solution
No 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: 15:[4, 60], Operations: ['52-48=4', '62-2=60']
Exploring Operation: 4+60=64, Resulting Numbers: [64]
64,15 unequal: No Solution
Exploring Operation: 60/4=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[2, 48, 52, 62], Operations: []
Exploring Operation: 52-48=4, Resulting Numbers: [2, 62, 4]
Generated Node #0,0: 15:[2, 62, 4] Operation: 52-48=4
Moving to Node #0,0
Current State: 15:[2, 62, 4], Operations: ['52-48=4']
Exploring Operation: 62-2=60, Resulting Numbers: [4, 60]
Generated Node #0,0,0: 15:[4, 60] Operation: 62-2=60
Moving to Node #0,0,0
Current State: 15:[4, 60], Operations: ['52-48=4', '62-2=60']
Exploring Operation: 60/4=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.963542 | hs_3 | mult_heuristic |
[
90,
47,
67,
10
] | 60 | [
"90+47=137",
"67+10=77",
"137-77=60"
] | Current State: 60:[90, 47, 67, 10], Operations: []
Exploring Operation: 90+47=137, Resulting Numbers: [67, 10, 137]
Generated Node #2: [67, 10, 137] from Operation: 90+47=137
Current State: 60:[67, 10, 137], Operations: ['90+47=137']
Exploring Operation: 67+10=77, Resulting Numbers: [137, 77]
Generated Node #3: [137, 77] from Operation: 67+10=77
Current State: 60:[137, 77], Operations: ['90+47=137', '67+10=77']
Exploring Operation: 137-77=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[90, 47, 67, 10], Operations: []
Exploring Operation: 90-47=43, Resulting Numbers: [67, 10, 43]
Generated Node #0,0: 60:[67, 10, 43] Operation: 90-47=43
Exploring Operation: 90-67=23, Resulting Numbers: [47, 10, 23]
Generated Node #0,1: 60:[47, 10, 23] Operation: 90-67=23
Start Sub Search at level 1: Moving to Node #0,1
Current State: 60:[47, 10, 23], Operations: ['90-67=23']
Exploring Operation: 47-23=24, Resulting Numbers: [10, 24]
Generated Node #0,1,0: 60:[10, 24] Operation: 47-23=24
Exploring Operation: 47+10=57, Resulting Numbers: [23, 57]
Generated Node #0,1,1: 60:[23, 57] Operation: 47+10=57
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 60:[10, 24], Operations: ['90-67=23', '47-23=24']
Exploring Operation: 10+24=34, Resulting Numbers: [34]
34,60 unequal: No Solution
Exploring Operation: 24-10=14, Resulting Numbers: [14]
14,60 unequal: No Solution
No 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: 60:[23, 57], Operations: ['90-67=23', '47+10=57']
Exploring Operation: 57-23=34, Resulting Numbers: [34]
34,60 unequal: No Solution
Exploring Operation: 23+57=80, Resulting Numbers: [80]
80,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[67, 10, 43], Operations: ['90-47=43']
Exploring Operation: 67-43=24, Resulting Numbers: [10, 24]
Generated Node #0,0,0: 60:[10, 24] Operation: 67-43=24
Exploring Operation: 43-10=33, Resulting Numbers: [67, 33]
Generated Node #0,0,1: 60:[67, 33] Operation: 43-10=33
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 60:[10, 24], Operations: ['90-47=43', '67-43=24']
Exploring Operation: 10+24=34, Resulting Numbers: [34]
34,60 unequal: No Solution
Exploring Operation: 24-10=14, Resulting Numbers: [14]
14,60 unequal: No Solution
No 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: 60:[67, 33], Operations: ['90-47=43', '43-10=33']
Exploring Operation: 67-33=34, Resulting Numbers: [34]
34,60 unequal: No Solution
Exploring Operation: 67+33=100, Resulting Numbers: [100]
100,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
20,
61,
2,
77
] | 38 | [
"61-20=41",
"2+77=79",
"79-41=38"
] | Current State: 38:[20, 61, 2, 77], Operations: []
Exploring Operation: 61-20=41, Resulting Numbers: [2, 77, 41]
Generated Node #2: [2, 77, 41] from Operation: 61-20=41
Current State: 38:[2, 77, 41], Operations: ['61-20=41']
Exploring Operation: 2+77=79, Resulting Numbers: [41, 79]
Generated Node #3: [41, 79] from Operation: 2+77=79
Current State: 38:[41, 79], Operations: ['61-20=41', '2+77=79']
Exploring Operation: 79-41=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[20, 61, 2, 77], Operations: []
Exploring Operation: 61-2=59, Resulting Numbers: [20, 77, 59]
Generated Node #0,0: 38:[20, 77, 59] Operation: 61-2=59
Exploring Operation: 77-61=16, Resulting Numbers: [20, 2, 16]
Generated Node #0,1: 38:[20, 2, 16] Operation: 77-61=16
Exploring Operation: 77-2=75, Resulting Numbers: [20, 61, 75]
Generated Node #0,2: 38:[20, 61, 75] Operation: 77-2=75
Exploring Operation: 61-20=41, Resulting Numbers: [2, 77, 41]
Generated Node #0,3: 38:[2, 77, 41] Operation: 61-20=41
Exploring Operation: 77-20=57, Resulting Numbers: [61, 2, 57]
Generated Node #0,4: 38:[61, 2, 57] Operation: 77-20=57
Start Sub Search at level 1: Moving to Node #0,1
Current State: 38:[20, 2, 16], Operations: ['77-61=16']
Exploring Operation: 20+16=36, Resulting Numbers: [2, 36]
Generated Node #0,1,0: 38:[2, 36] Operation: 20+16=36
Exploring Operation: 20-2=18, Resulting Numbers: [16, 18]
Generated Node #0,1,1: 38:[16, 18] Operation: 20-2=18
Exploring Operation: 20*2=40, Resulting Numbers: [16, 40]
Generated Node #0,1,2: 38:[16, 40] Operation: 20*2=40
Exploring Operation: 20-16=4, Resulting Numbers: [2, 4]
Generated Node #0,1,3: 38:[2, 4] Operation: 20-16=4
Exploring Operation: 2+16=18, Resulting Numbers: [20, 18]
Generated Node #0,1,4: 38:[20, 18] Operation: 2+16=18
Moving to Node #0,1,0
Current State: 38:[2, 36], Operations: ['77-61=16', '20+16=36']
Exploring Operation: 2+36=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[20, 61, 2, 77], Operations: []
Exploring Operation: 77-61=16, Resulting Numbers: [20, 2, 16]
Generated Node #0,1: 38:[20, 2, 16] Operation: 77-61=16
Moving to Node #0,1
Current State: 38:[20, 2, 16], Operations: ['77-61=16']
Exploring Operation: 20+16=36, Resulting Numbers: [2, 36]
Generated Node #0,1,0: 38:[2, 36] Operation: 20+16=36
Moving to Node #0,1,0
Current State: 38:[2, 36], Operations: ['77-61=16', '20+16=36']
Exploring Operation: 2+36=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
12,
64,
76,
92
] | 93 | [
"12+64=76",
"76/76=1",
"92+1=93"
] | Current State: 93:[12, 64, 76, 92], Operations: []
Exploring Operation: 12+64=76, Resulting Numbers: [76, 92, 76]
Generated Node #2: [76, 92, 76] from Operation: 12+64=76
Current State: 93:[76, 92, 76], Operations: ['12+64=76']
Exploring Operation: 76/76=1, Resulting Numbers: [92, 1]
Generated Node #3: [92, 1] from Operation: 76/76=1
Current State: 93:[92, 1], Operations: ['12+64=76', '76/76=1']
Exploring Operation: 92+1=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[12, 64, 76, 92], Operations: []
Exploring Operation: 76-64=12, Resulting Numbers: [12, 92, 12]
Generated Node #0,0: 93:[12, 92, 12] Operation: 76-64=12
Moving to Node #0,0
Current State: 93:[12, 92, 12], Operations: ['76-64=12']
Exploring Operation: 12/12=1, Resulting Numbers: [92, 1]
Generated Node #0,0,0: 93:[92, 1] Operation: 12/12=1
Moving to Node #0,0,0
Current State: 93:[92, 1], Operations: ['76-64=12', '12/12=1']
Exploring Operation: 92+1=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[12, 64, 76, 92], Operations: []
Exploring Operation: 76-64=12, Resulting Numbers: [12, 92, 12]
Generated Node #0,0: 93:[12, 92, 12] Operation: 76-64=12
Moving to Node #0,0
Current State: 93:[12, 92, 12], Operations: ['76-64=12']
Exploring Operation: 12/12=1, Resulting Numbers: [92, 1]
Generated Node #0,0,0: 93:[92, 1] Operation: 12/12=1
Moving to Node #0,0,0
Current State: 93:[92, 1], Operations: ['76-64=12', '12/12=1']
Exploring Operation: 92+1=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
29,
2,
47,
78
] | 69 | [
"47-29=18",
"18/2=9",
"78-9=69"
] | Current State: 69:[29, 2, 47, 78], Operations: []
Exploring Operation: 47-29=18, Resulting Numbers: [2, 78, 18]
Generated Node #2: [2, 78, 18] from Operation: 47-29=18
Current State: 69:[2, 78, 18], Operations: ['47-29=18']
Exploring Operation: 18/2=9, Resulting Numbers: [78, 9]
Generated Node #3: [78, 9] from Operation: 18/2=9
Current State: 69:[78, 9], Operations: ['47-29=18', '18/2=9']
Exploring Operation: 78-9=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[29, 2, 47, 78], Operations: []
Exploring Operation: 29-2=27, Resulting Numbers: [47, 78, 27]
Generated Node #0,0: 69:[47, 78, 27] Operation: 29-2=27
Exploring Operation: 78-47=31, Resulting Numbers: [29, 2, 31]
Generated Node #0,1: 69:[29, 2, 31] Operation: 78-47=31
Exploring Operation: 47-29=18, Resulting Numbers: [2, 78, 18]
Generated Node #0,2: 69:[2, 78, 18] Operation: 47-29=18
Exploring Operation: 29+47=76, Resulting Numbers: [2, 78, 76]
Generated Node #0,3: 69:[2, 78, 76] Operation: 29+47=76
Start Sub Search at level 1: Moving to Node #0,1
Current State: 69:[29, 2, 31], Operations: ['78-47=31']
Exploring Operation: 29+31=60, Resulting Numbers: [2, 60]
Generated Node #0,1,0: 69:[2, 60] Operation: 29+31=60
Exploring Operation: 31-29=2, Resulting Numbers: [2, 2]
Generated Node #0,1,1: 69:[2, 2] Operation: 31-29=2
Exploring Operation: 29-2=27, Resulting Numbers: [31, 27]
Generated Node #0,1,2: 69:[31, 27] Operation: 29-2=27
Exploring Operation: 31-2=29, Resulting Numbers: [29, 29]
Generated Node #0,1,3: 69:[29, 29] Operation: 31-2=29
Moving to Node #0,1,1
Current State: 69:[2, 2], Operations: ['78-47=31', '31-29=2']
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,69 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,69 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,69 unequal: No Solution
Exploring Operation: 2-2=0, Resulting Numbers: [0]
0,69 unequal: No Solution
Moving to Node #0,1,0
Current State: 69:[2, 60], Operations: ['78-47=31', '29+31=60']
Exploring Operation: 2*60=120, Resulting Numbers: [120]
120,69 unequal: No Solution
Exploring Operation: 2+60=62, Resulting Numbers: [62]
62,69 unequal: No Solution
Exploring Operation: 60/2=30, Resulting Numbers: [30]
30,69 unequal: No Solution
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,69 unequal: No Solution
Moving to Node #0,1,3
Current State: 69:[29, 29], Operations: ['78-47=31', '31-2=29']
Exploring Operation: 29/29=1, Resulting Numbers: [1]
1,69 unequal: No Solution
Exploring Operation: 29*29=841, Resulting Numbers: [841]
841,69 unequal: No Solution
Exploring Operation: 29-29=0, Resulting Numbers: [0]
0,69 unequal: No Solution
Exploring Operation: 29+29=58, Resulting Numbers: [58]
58,69 unequal: No Solution
Moving to Node #0,1,2
Current State: 69:[31, 27], Operations: ['78-47=31', '29-2=27']
Exploring Operation: 31+27=58, Resulting Numbers: [58]
58,69 unequal: No Solution
Exploring Operation: 31*27=837, Resulting Numbers: [837]
837,69 unequal: No Solution
Exploring Operation: 31-27=4, Resulting Numbers: [4]
4,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,2
Current State: 69:[2, 78, 18], Operations: ['47-29=18']
Exploring Operation: 78-18=60, Resulting Numbers: [2, 60]
Generated Node #0,2,0: 69:[2, 60] Operation: 78-18=60
Exploring Operation: 18/2=9, Resulting Numbers: [78, 9]
Generated Node #0,2,1: 69:[78, 9] Operation: 18/2=9
Exploring Operation: 2+18=20, Resulting Numbers: [78, 20]
Generated Node #0,2,2: 69:[78, 20] Operation: 2+18=20
Exploring Operation: 78-2=76, Resulting Numbers: [18, 76]
Generated Node #0,2,3: 69:[18, 76] Operation: 78-2=76
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 69:[2, 60], Operations: ['47-29=18', '78-18=60']
Exploring Operation: 60/2=30, Resulting Numbers: [30]
30,69 unequal: No Solution
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,69 unequal: No Solution
Exploring Operation: 2+60=62, Resulting Numbers: [62]
62,69 unequal: No Solution
Exploring Operation: 2*60=120, Resulting Numbers: [120]
120,69 unequal: No Solution
No 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: 69:[78, 20], Operations: ['47-29=18', '2+18=20']
Exploring Operation: 78+20=98, Resulting Numbers: [98]
98,69 unequal: No Solution
Exploring Operation: 78*20=1560, Resulting Numbers: [1560]
1560,69 unequal: No Solution
Exploring Operation: 78-20=58, Resulting Numbers: [58]
58,69 unequal: No Solution
No 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: 69:[18, 76], Operations: ['47-29=18', '78-2=76']
Exploring Operation: 76-18=58, Resulting Numbers: [58]
58,69 unequal: No Solution
Exploring Operation: 18+76=94, Resulting Numbers: [94]
94,69 unequal: No Solution
Exploring Operation: 18*76=1368, Resulting Numbers: [1368]
1368,69 unequal: No Solution
No 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: 69:[78, 9], Operations: ['47-29=18', '18/2=9']
Exploring Operation: 78+9=87, Resulting Numbers: [87]
87,69 unequal: No Solution
Exploring Operation: 78*9=702, Resulting Numbers: [702]
702,69 unequal: No Solution
Exploring Operation: 78-9=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[29, 2, 47, 78], Operations: []
Exploring Operation: 47-29=18, Resulting Numbers: [2, 78, 18]
Generated Node #0,2: 69:[2, 78, 18] Operation: 47-29=18
Moving to Node #0,2
Current State: 69:[2, 78, 18], Operations: ['47-29=18']
Exploring Operation: 18/2=9, Resulting Numbers: [78, 9]
Generated Node #0,2,1: 69:[78, 9] Operation: 18/2=9
Moving to Node #0,2,1
Current State: 69:[78, 9], Operations: ['47-29=18', '18/2=9']
Exploring Operation: 78-9=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.961806 | hs_4 | sum_heuristic |
[
5,
97,
43,
77
] | 47 | [
"97-77=20",
"20/5=4",
"43+4=47"
] | Current State: 47:[5, 97, 43, 77], Operations: []
Exploring Operation: 97-77=20, Resulting Numbers: [5, 43, 20]
Generated Node #2: [5, 43, 20] from Operation: 97-77=20
Current State: 47:[5, 43, 20], Operations: ['97-77=20']
Exploring Operation: 20/5=4, Resulting Numbers: [43, 4]
Generated Node #3: [43, 4] from Operation: 20/5=4
Current State: 47:[43, 4], Operations: ['97-77=20', '20/5=4']
Exploring Operation: 43+4=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[5, 97, 43, 77], Operations: []
Exploring Operation: 97-77=20, Resulting Numbers: [5, 43, 20]
Generated Node #0,0: 47:[5, 43, 20] Operation: 97-77=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[5, 43, 20], Operations: ['97-77=20']
Exploring Operation: 5+20=25, Resulting Numbers: [43, 25]
Generated Node #0,0,0: 47:[43, 25] Operation: 5+20=25
Moving to Node #0,0,0
Current State: 47:[43, 25], Operations: ['97-77=20', '5+20=25']
Exploring Operation: 43+25=68, Resulting Numbers: [68]
68,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
65,
14,
2,
76
] | 26 | [
"65-14=51",
"2*51=102",
"102-76=26"
] | Current State: 26:[65, 14, 2, 76], Operations: []
Exploring Operation: 65-14=51, Resulting Numbers: [2, 76, 51]
Generated Node #2: [2, 76, 51] from Operation: 65-14=51
Current State: 26:[2, 76, 51], Operations: ['65-14=51']
Exploring Operation: 2*51=102, Resulting Numbers: [76, 102]
Generated Node #3: [76, 102] from Operation: 2*51=102
Current State: 26:[76, 102], Operations: ['65-14=51', '2*51=102']
Exploring Operation: 102-76=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[65, 14, 2, 76], Operations: []
Exploring Operation: 76-65=11, Resulting Numbers: [14, 2, 11]
Generated Node #0,0: 26:[14, 2, 11] Operation: 76-65=11
Exploring Operation: 65-14=51, Resulting Numbers: [2, 76, 51]
Generated Node #0,1: 26:[2, 76, 51] Operation: 65-14=51
Exploring Operation: 76-14=62, Resulting Numbers: [65, 2, 62]
Generated Node #0,2: 26:[65, 2, 62] Operation: 76-14=62
Exploring Operation: 76/2=38, Resulting Numbers: [65, 14, 38]
Generated Node #0,3: 26:[65, 14, 38] Operation: 76/2=38
Start Sub Search at level 1: Moving to Node #0,0
Current State: 26:[14, 2, 11], Operations: ['76-65=11']
Exploring Operation: 14+11=25, Resulting Numbers: [2, 25]
Generated Node #0,0,0: 26:[2, 25] Operation: 14+11=25
Exploring Operation: 14-2=12, Resulting Numbers: [11, 12]
Generated Node #0,0,1: 26:[11, 12] Operation: 14-2=12
Exploring Operation: 14-11=3, Resulting Numbers: [2, 3]
Generated Node #0,0,2: 26:[2, 3] Operation: 14-11=3
Exploring Operation: 2+11=13, Resulting Numbers: [14, 13]
Generated Node #0,0,3: 26:[14, 13] Operation: 2+11=13
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 26:[2, 25], Operations: ['76-65=11', '14+11=25']
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,26 unequal: No Solution
Exploring Operation: 2*25=50, Resulting Numbers: [50]
50,26 unequal: No Solution
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,26 unequal: No Solution
No 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: 26:[2, 3], Operations: ['76-65=11', '14-11=3']
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,26 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,26 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,26 unequal: No Solution
No 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: 26:[14, 13], Operations: ['76-65=11', '2+11=13']
Exploring Operation: 14*13=182, Resulting Numbers: [182]
182,26 unequal: No Solution
Exploring Operation: 14-13=1, Resulting Numbers: [1]
1,26 unequal: No Solution
Exploring Operation: 14+13=27, Resulting Numbers: [27]
27,26 unequal: No Solution
No 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: 26:[11, 12], Operations: ['76-65=11', '14-2=12']
Exploring Operation: 12-11=1, Resulting Numbers: [1]
1,26 unequal: No Solution
Exploring Operation: 11*12=132, Resulting Numbers: [132]
132,26 unequal: No Solution
Exploring Operation: 11+12=23, Resulting Numbers: [23]
23,26 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: 26:[65, 14, 38], Operations: ['76/2=38']
Exploring Operation: 65-14=51, Resulting Numbers: [38, 51]
Generated Node #0,3,0: 26:[38, 51] Operation: 65-14=51
Exploring Operation: 38-14=24, Resulting Numbers: [65, 24]
Generated Node #0,3,1: 26:[65, 24] Operation: 38-14=24
Exploring Operation: 65+14=79, Resulting Numbers: [38, 79]
Generated Node #0,3,2: 26:[38, 79] Operation: 65+14=79
Exploring Operation: 65-38=27, Resulting Numbers: [14, 27]
Generated Node #0,3,3: 26:[14, 27] Operation: 65-38=27
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 26:[14, 27], Operations: ['76/2=38', '65-38=27']
Exploring Operation: 14*27=378, Resulting Numbers: [378]
378,26 unequal: No Solution
Exploring Operation: 14+27=41, Resulting Numbers: [41]
41,26 unequal: No Solution
Exploring Operation: 27-14=13, Resulting Numbers: [13]
13,26 unequal: No Solution
No 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: 26:[38, 51], Operations: ['76/2=38', '65-14=51']
Exploring Operation: 38+51=89, Resulting Numbers: [89]
89,26 unequal: No Solution
Exploring Operation: 38*51=1938, Resulting Numbers: [1938]
1938,26 unequal: No Solution
Exploring Operation: 51-38=13, Resulting Numbers: [13]
13,26 unequal: No Solution
No 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: 26:[65, 24], Operations: ['76/2=38', '38-14=24']
Exploring Operation: 65*24=1560, Resulting Numbers: [1560]
1560,26 unequal: No Solution
Exploring Operation: 65+24=89, Resulting Numbers: [89]
89,26 unequal: No Solution
Exploring Operation: 65-24=41, Resulting Numbers: [41]
41,26 unequal: No Solution
No 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: 26:[38, 79], Operations: ['76/2=38', '65+14=79']
Exploring Operation: 38+79=117, Resulting Numbers: [117]
117,26 unequal: No Solution
Exploring Operation: 38*79=3002, Resulting Numbers: [3002]
3002,26 unequal: No Solution
Exploring Operation: 79-38=41, Resulting Numbers: [41]
41,26 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: 26:[2, 76, 51], Operations: ['65-14=51']
Exploring Operation: 76-2=74, Resulting Numbers: [51, 74]
Generated Node #0,1,0: 26:[51, 74] Operation: 76-2=74
Exploring Operation: 51-2=49, Resulting Numbers: [76, 49]
Generated Node #0,1,1: 26:[76, 49] Operation: 51-2=49
Exploring Operation: 76-51=25, Resulting Numbers: [2, 25]
Generated Node #0,1,2: 26:[2, 25] Operation: 76-51=25
Exploring Operation: 76/2=38, Resulting Numbers: [51, 38]
Generated Node #0,1,3: 26:[51, 38] Operation: 76/2=38
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 26:[2, 25], Operations: ['65-14=51', '76-51=25']
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,26 unequal: No Solution
Exploring Operation: 2*25=50, Resulting Numbers: [50]
50,26 unequal: No Solution
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,26 unequal: No Solution
No 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: 26:[51, 38], Operations: ['65-14=51', '76/2=38']
Exploring Operation: 51+38=89, Resulting Numbers: [89]
89,26 unequal: No Solution
Exploring Operation: 51*38=1938, Resulting Numbers: [1938]
1938,26 unequal: No Solution
Exploring Operation: 51-38=13, Resulting Numbers: [13]
13,26 unequal: No Solution
No 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: 26:[51, 74], Operations: ['65-14=51', '76-2=74']
Exploring Operation: 51+74=125, Resulting Numbers: [125]
125,26 unequal: No Solution
Exploring Operation: 74-51=23, Resulting Numbers: [23]
23,26 unequal: No Solution
Exploring Operation: 51*74=3774, Resulting Numbers: [3774]
3774,26 unequal: No Solution
No 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: 26:[76, 49], Operations: ['65-14=51', '51-2=49']
Exploring Operation: 76+49=125, Resulting Numbers: [125]
125,26 unequal: No Solution
Exploring Operation: 76*49=3724, Resulting Numbers: [3724]
3724,26 unequal: No Solution
Exploring Operation: 76-49=27, Resulting Numbers: [27]
27,26 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: 26:[65, 2, 62], Operations: ['76-14=62']
Exploring Operation: 62-2=60, Resulting Numbers: [65, 60]
Generated Node #0,2,0: 26:[65, 60] Operation: 62-2=60
Exploring Operation: 62/2=31, Resulting Numbers: [65, 31]
Generated Node #0,2,1: 26:[65, 31] Operation: 62/2=31
Exploring Operation: 65-2=63, Resulting Numbers: [62, 63]
Generated Node #0,2,2: 26:[62, 63] Operation: 65-2=63
Exploring Operation: 65-62=3, Resulting Numbers: [2, 3]
Generated Node #0,2,3: 26:[2, 3] Operation: 65-62=3
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 26:[2, 3], Operations: ['76-14=62', '65-62=3']
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,26 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,26 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,26 unequal: No Solution
No 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: 26:[65, 31], Operations: ['76-14=62', '62/2=31']
Exploring Operation: 65+31=96, Resulting Numbers: [96]
96,26 unequal: No Solution
Exploring Operation: 65-31=34, Resulting Numbers: [34]
34,26 unequal: No Solution
Exploring Operation: 65*31=2015, Resulting Numbers: [2015]
2015,26 unequal: No Solution
No 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: 26:[65, 60], Operations: ['76-14=62', '62-2=60']
Exploring Operation: 65+60=125, Resulting Numbers: [125]
125,26 unequal: No Solution
Exploring Operation: 65-60=5, Resulting Numbers: [5]
5,26 unequal: No Solution
Exploring Operation: 65*60=3900, Resulting Numbers: [3900]
3900,26 unequal: No Solution
No 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: 26:[62, 63], Operations: ['76-14=62', '65-2=63']
Exploring Operation: 63-62=1, Resulting Numbers: [1]
1,26 unequal: No Solution
Exploring Operation: 62+63=125, Resulting Numbers: [125]
125,26 unequal: No Solution
Exploring Operation: 62*63=3906, Resulting Numbers: [3906]
3906,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
67,
6,
72,
66
] | 79 | [
"67+6=73",
"72-66=6",
"73+6=79"
] | Current State: 79:[67, 6, 72, 66], Operations: []
Exploring Operation: 67+6=73, Resulting Numbers: [72, 66, 73]
Generated Node #2: [72, 66, 73] from Operation: 67+6=73
Current State: 79:[72, 66, 73], Operations: ['67+6=73']
Exploring Operation: 72-66=6, Resulting Numbers: [73, 6]
Generated Node #3: [73, 6] from Operation: 72-66=6
Current State: 79:[73, 6], Operations: ['67+6=73', '72-66=6']
Exploring Operation: 73+6=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[67, 6, 72, 66], Operations: []
Exploring Operation: 67+6=73, Resulting Numbers: [72, 66, 73]
Generated Node #0,0: 79:[72, 66, 73] Operation: 67+6=73
Moving to Node #0,0
Current State: 79:[72, 66, 73], Operations: ['67+6=73']
Exploring Operation: 72+66=138, Resulting Numbers: [73, 138]
Generated Node #0,0,0: 79:[73, 138] Operation: 72+66=138
Moving to Node #0,0,0
Current State: 79:[73, 138], Operations: ['67+6=73', '72+66=138']
Exploring Operation: 138-73=65, Resulting Numbers: [65]
65,79 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
83,
67,
68,
45
] | 97 | [
"83-67=16",
"68+45=113",
"113-16=97"
] | Current State: 97:[83, 67, 68, 45], Operations: []
Exploring Operation: 83-67=16, Resulting Numbers: [68, 45, 16]
Generated Node #2: [68, 45, 16] from Operation: 83-67=16
Current State: 97:[68, 45, 16], Operations: ['83-67=16']
Exploring Operation: 68+45=113, Resulting Numbers: [16, 113]
Generated Node #3: [16, 113] from Operation: 68+45=113
Current State: 97:[16, 113], Operations: ['83-67=16', '68+45=113']
Exploring Operation: 113-16=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[83, 67, 68, 45], Operations: []
Exploring Operation: 67+45=112, Resulting Numbers: [83, 68, 112]
Generated Node #0,0: 97:[83, 68, 112] Operation: 67+45=112
Exploring Operation: 83+45=128, Resulting Numbers: [67, 68, 128]
Generated Node #0,1: 97:[67, 68, 128] Operation: 83+45=128
Exploring Operation: 83-45=38, Resulting Numbers: [67, 68, 38]
Generated Node #0,2: 97:[67, 68, 38] Operation: 83-45=38
Exploring Operation: 67+68=135, Resulting Numbers: [83, 45, 135]
Generated Node #0,3: 97:[83, 45, 135] Operation: 67+68=135
Exploring Operation: 68+45=113, Resulting Numbers: [83, 67, 113]
Generated Node #0,4: 97:[83, 67, 113] Operation: 68+45=113
Moving to Node #0,0
Current State: 97:[83, 68, 112], Operations: ['67+45=112']
Exploring Operation: 112-68=44, Resulting Numbers: [83, 44]
Generated Node #0,0,0: 97:[83, 44] Operation: 112-68=44
Exploring Operation: 68+112=180, Resulting Numbers: [83, 180]
Generated Node #0,0,1: 97:[83, 180] Operation: 68+112=180
Exploring Operation: 83-68=15, Resulting Numbers: [112, 15]
Generated Node #0,0,2: 97:[112, 15] Operation: 83-68=15
Exploring Operation: 112-83=29, Resulting Numbers: [68, 29]
Generated Node #0,0,3: 97:[68, 29] Operation: 112-83=29
Exploring Operation: 83+68=151, Resulting Numbers: [112, 151]
Generated Node #0,0,4: 97:[112, 151] Operation: 83+68=151
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 97:[83, 44], Operations: ['67+45=112', '112-68=44']
Exploring Operation: 83-44=39, Resulting Numbers: [39]
39,97 unequal: No Solution
Exploring Operation: 83*44=3652, Resulting Numbers: [3652]
3652,97 unequal: No Solution
Exploring Operation: 83+44=127, Resulting Numbers: [127]
127,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 97:[112, 151], Operations: ['67+45=112', '83+68=151']
Exploring Operation: 112+151=263, Resulting Numbers: [263]
263,97 unequal: No Solution
Exploring Operation: 151-112=39, Resulting Numbers: [39]
39,97 unequal: No Solution
Exploring Operation: 112*151=16912, Resulting Numbers: [16912]
16912,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 97:[83, 180], Operations: ['67+45=112', '68+112=180']
Exploring Operation: 83*180=14940, Resulting Numbers: [14940]
14940,97 unequal: No Solution
Exploring Operation: 180-83=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[83, 67, 68, 45], Operations: []
Exploring Operation: 67+45=112, Resulting Numbers: [83, 68, 112]
Generated Node #0,0: 97:[83, 68, 112] Operation: 67+45=112
Moving to Node #0,0
Current State: 97:[83, 68, 112], Operations: ['67+45=112']
Exploring Operation: 68+112=180, Resulting Numbers: [83, 180]
Generated Node #0,0,1: 97:[83, 180] Operation: 68+112=180
Moving to Node #0,0,1
Current State: 97:[83, 180], Operations: ['67+45=112', '68+112=180']
Exploring Operation: 180-83=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_5 | mult_heuristic |
[
46,
2,
68,
37
] | 81 | [
"68-46=22",
"2*22=44",
"37+44=81"
] | Current State: 81:[46, 2, 68, 37], Operations: []
Exploring Operation: 68-46=22, Resulting Numbers: [2, 37, 22]
Generated Node #2: [2, 37, 22] from Operation: 68-46=22
Current State: 81:[2, 37, 22], Operations: ['68-46=22']
Exploring Operation: 2*22=44, Resulting Numbers: [37, 44]
Generated Node #3: [37, 44] from Operation: 2*22=44
Current State: 81:[37, 44], Operations: ['68-46=22', '2*22=44']
Exploring Operation: 37+44=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[46, 2, 68, 37], Operations: []
Exploring Operation: 46+37=83, Resulting Numbers: [2, 68, 83]
Generated Node #0,0: 81:[2, 68, 83] Operation: 46+37=83
Exploring Operation: 46-37=9, Resulting Numbers: [2, 68, 9]
Generated Node #0,1: 81:[2, 68, 9] Operation: 46-37=9
Exploring Operation: 68-46=22, Resulting Numbers: [2, 37, 22]
Generated Node #0,2: 81:[2, 37, 22] Operation: 68-46=22
Exploring Operation: 68-37=31, Resulting Numbers: [46, 2, 31]
Generated Node #0,3: 81:[46, 2, 31] Operation: 68-37=31
Start Sub Search at level 1: Moving to Node #0,1
Current State: 81:[2, 68, 9], Operations: ['46-37=9']
Exploring Operation: 2+68=70, Resulting Numbers: [9, 70]
Generated Node #0,1,0: 81:[9, 70] Operation: 2+68=70
Exploring Operation: 68/2=34, Resulting Numbers: [9, 34]
Generated Node #0,1,1: 81:[9, 34] Operation: 68/2=34
Exploring Operation: 68-2=66, Resulting Numbers: [9, 66]
Generated Node #0,1,2: 81:[9, 66] Operation: 68-2=66
Exploring Operation: 68+9=77, Resulting Numbers: [2, 77]
Generated Node #0,1,3: 81:[2, 77] Operation: 68+9=77
Moving to Node #0,1,3
Current State: 81:[2, 77], Operations: ['46-37=9', '68+9=77']
Exploring Operation: 2+77=79, Resulting Numbers: [79]
79,81 unequal: No Solution
Exploring Operation: 2*77=154, Resulting Numbers: [154]
154,81 unequal: No Solution
Exploring Operation: 77-2=75, Resulting Numbers: [75]
75,81 unequal: No Solution
Moving to Node #0,1,1
Current State: 81:[9, 34], Operations: ['46-37=9', '68/2=34']
Exploring Operation: 34-9=25, Resulting Numbers: [25]
25,81 unequal: No Solution
Exploring Operation: 9*34=306, Resulting Numbers: [306]
306,81 unequal: No Solution
Exploring Operation: 9+34=43, Resulting Numbers: [43]
43,81 unequal: No Solution
Moving to Node #0,1,0
Current State: 81:[9, 70], Operations: ['46-37=9', '2+68=70']
Exploring Operation: 9*70=630, Resulting Numbers: [630]
630,81 unequal: No Solution
Exploring Operation: 9+70=79, Resulting Numbers: [79]
79,81 unequal: No Solution
Exploring Operation: 70-9=61, Resulting Numbers: [61]
61,81 unequal: No Solution
Moving to Node #0,1,2
Current State: 81:[9, 66], Operations: ['46-37=9', '68-2=66']
Exploring Operation: 9+66=75, Resulting Numbers: [75]
75,81 unequal: No Solution
Exploring Operation: 9*66=594, Resulting Numbers: [594]
594,81 unequal: No Solution
Exploring Operation: 66-9=57, Resulting Numbers: [57]
57,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[2, 68, 83], Operations: ['46+37=83']
Exploring Operation: 2+68=70, Resulting Numbers: [83, 70]
Generated Node #0,0,0: 81:[83, 70] Operation: 2+68=70
Exploring Operation: 68/2=34, Resulting Numbers: [83, 34]
Generated Node #0,0,1: 81:[83, 34] Operation: 68/2=34
Exploring Operation: 83-2=81, Resulting Numbers: [68, 81]
Generated Node #0,0,2: 81:[68, 81] Operation: 83-2=81
Exploring Operation: 83-68=15, Resulting Numbers: [2, 15]
Generated Node #0,0,3: 81:[2, 15] Operation: 83-68=15
Moving to Node #0,0,3
Current State: 81:[2, 15], Operations: ['46+37=83', '83-68=15']
Exploring Operation: 2*15=30, Resulting Numbers: [30]
30,81 unequal: No Solution
Exploring Operation: 2+15=17, Resulting Numbers: [17]
17,81 unequal: No Solution
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,81 unequal: No Solution
Moving to Node #0,0,1
Current State: 81:[83, 34], Operations: ['46+37=83', '68/2=34']
Exploring Operation: 83-34=49, Resulting Numbers: [49]
49,81 unequal: No Solution
Exploring Operation: 83*34=2822, Resulting Numbers: [2822]
2822,81 unequal: No Solution
Exploring Operation: 83+34=117, Resulting Numbers: [117]
117,81 unequal: No Solution
Moving to Node #0,0,2
Current State: 81:[68, 81], Operations: ['46+37=83', '83-2=81']
Exploring Operation: 81-68=13, Resulting Numbers: [13]
13,81 unequal: No Solution
Exploring Operation: 68*81=5508, Resulting Numbers: [5508]
5508,81 unequal: No Solution
Exploring Operation: 68+81=149, Resulting Numbers: [149]
149,81 unequal: No Solution
Moving to Node #0,0,0
Current State: 81:[83, 70], Operations: ['46+37=83', '2+68=70']
Exploring Operation: 83*70=5810, Resulting Numbers: [5810]
5810,81 unequal: No Solution
Exploring Operation: 83+70=153, Resulting Numbers: [153]
153,81 unequal: No Solution
Exploring Operation: 83-70=13, Resulting Numbers: [13]
13,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 81:[2, 37, 22], Operations: ['68-46=22']
Exploring Operation: 37-22=15, Resulting Numbers: [2, 15]
Generated Node #0,2,0: 81:[2, 15] Operation: 37-22=15
Exploring Operation: 2*37=74, Resulting Numbers: [22, 74]
Generated Node #0,2,1: 81:[22, 74] Operation: 2*37=74
Exploring Operation: 37-2=35, Resulting Numbers: [22, 35]
Generated Node #0,2,2: 81:[22, 35] Operation: 37-2=35
Exploring Operation: 22/2=11, Resulting Numbers: [37, 11]
Generated Node #0,2,3: 81:[37, 11] Operation: 22/2=11
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 81:[2, 15], Operations: ['68-46=22', '37-22=15']
Exploring Operation: 2*15=30, Resulting Numbers: [30]
30,81 unequal: No Solution
Exploring Operation: 2+15=17, Resulting Numbers: [17]
17,81 unequal: No Solution
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,81 unequal: No Solution
No 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: 81:[22, 74], Operations: ['68-46=22', '2*37=74']
Exploring Operation: 74-22=52, Resulting Numbers: [52]
52,81 unequal: No Solution
Exploring Operation: 22*74=1628, Resulting Numbers: [1628]
1628,81 unequal: No Solution
Exploring Operation: 22+74=96, Resulting Numbers: [96]
96,81 unequal: No Solution
No 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: 81:[37, 11], Operations: ['68-46=22', '22/2=11']
Exploring Operation: 37+11=48, Resulting Numbers: [48]
48,81 unequal: No Solution
Exploring Operation: 37-11=26, Resulting Numbers: [26]
26,81 unequal: No Solution
Exploring Operation: 37*11=407, Resulting Numbers: [407]
407,81 unequal: No Solution
No 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: 81:[22, 35], Operations: ['68-46=22', '37-2=35']
Exploring Operation: 22+35=57, Resulting Numbers: [57]
57,81 unequal: No Solution
Exploring Operation: 35-22=13, Resulting Numbers: [13]
13,81 unequal: No Solution
Exploring Operation: 22*35=770, Resulting Numbers: [770]
770,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 81:[46, 2, 31], Operations: ['68-37=31']
Exploring Operation: 46-31=15, Resulting Numbers: [2, 15]
Generated Node #0,3,0: 81:[2, 15] Operation: 46-31=15
Exploring Operation: 46/2=23, Resulting Numbers: [31, 23]
Generated Node #0,3,1: 81:[31, 23] Operation: 46/2=23
Exploring Operation: 46+31=77, Resulting Numbers: [2, 77]
Generated Node #0,3,2: 81:[2, 77] Operation: 46+31=77
Exploring Operation: 46*2=92, Resulting Numbers: [31, 92]
Generated Node #0,3,3: 81:[31, 92] Operation: 46*2=92
Moving to Node #0,3,2
Current State: 81:[2, 77], Operations: ['68-37=31', '46+31=77']
Exploring Operation: 77-2=75, Resulting Numbers: [75]
75,81 unequal: No Solution
Exploring Operation: 2+77=79, Resulting Numbers: [79]
79,81 unequal: No Solution
Exploring Operation: 2*77=154, Resulting Numbers: [154]
154,81 unequal: No Solution
Moving to Node #0,3,0
Current State: 81:[2, 15], Operations: ['68-37=31', '46-31=15']
Exploring Operation: 2+15=17, Resulting Numbers: [17]
17,81 unequal: No Solution
Exploring Operation: 2*15=30, Resulting Numbers: [30]
30,81 unequal: No Solution
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,81 unequal: No Solution
Moving to Node #0,3,1
Current State: 81:[31, 23], Operations: ['68-37=31', '46/2=23']
Exploring Operation: 31+23=54, Resulting Numbers: [54]
54,81 unequal: No Solution
Exploring Operation: 31-23=8, Resulting Numbers: [8]
8,81 unequal: No Solution
Exploring Operation: 31*23=713, Resulting Numbers: [713]
713,81 unequal: No Solution
Moving to Node #0,3,3
Current State: 81:[31, 92], Operations: ['68-37=31', '46*2=92']
Exploring Operation: 92-31=61, Resulting Numbers: [61]
61,81 unequal: No Solution
Exploring Operation: 31+92=123, Resulting Numbers: [123]
123,81 unequal: No Solution
Exploring Operation: 31*92=2852, Resulting Numbers: [2852]
2852,81 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 |
[
8,
44,
53,
19
] | 49 | [
"19-8=11",
"44/11=4",
"53-4=49"
] | Current State: 49:[8, 44, 53, 19], Operations: []
Exploring Operation: 19-8=11, Resulting Numbers: [44, 53, 11]
Generated Node #2: [44, 53, 11] from Operation: 19-8=11
Current State: 49:[44, 53, 11], Operations: ['19-8=11']
Exploring Operation: 44/11=4, Resulting Numbers: [53, 4]
Generated Node #3: [53, 4] from Operation: 44/11=4
Current State: 49:[53, 4], Operations: ['19-8=11', '44/11=4']
Exploring Operation: 53-4=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[8, 44, 53, 19], Operations: []
Exploring Operation: 44+19=63, Resulting Numbers: [8, 53, 63]
Generated Node #0,0: 49:[8, 53, 63] Operation: 44+19=63
Exploring Operation: 19-8=11, Resulting Numbers: [44, 53, 11]
Generated Node #0,1: 49:[44, 53, 11] Operation: 19-8=11
Exploring Operation: 53-44=9, Resulting Numbers: [8, 19, 9]
Generated Node #0,2: 49:[8, 19, 9] Operation: 53-44=9
Exploring Operation: 8+44=52, Resulting Numbers: [53, 19, 52]
Generated Node #0,3: 49:[53, 19, 52] Operation: 8+44=52
Moving to Node #0,1
Current State: 49:[44, 53, 11], Operations: ['19-8=11']
Exploring Operation: 44/11=4, Resulting Numbers: [53, 4]
Generated Node #0,1,0: 49:[53, 4] Operation: 44/11=4
Exploring Operation: 53-11=42, Resulting Numbers: [44, 42]
Generated Node #0,1,1: 49:[44, 42] Operation: 53-11=42
Exploring Operation: 44+11=55, Resulting Numbers: [53, 55]
Generated Node #0,1,2: 49:[53, 55] Operation: 44+11=55
Exploring Operation: 53-44=9, Resulting Numbers: [11, 9]
Generated Node #0,1,3: 49:[11, 9] Operation: 53-44=9
Moving to Node #0,2
Current State: 49:[8, 19, 9], Operations: ['53-44=9']
Exploring Operation: 9-8=1, Resulting Numbers: [19, 1]
Generated Node #0,2,0: 49:[19, 1] Operation: 9-8=1
Exploring Operation: 19-8=11, Resulting Numbers: [9, 11]
Generated Node #0,2,1: 49:[9, 11] Operation: 19-8=11
Exploring Operation: 19-9=10, Resulting Numbers: [8, 10]
Generated Node #0,2,2: 49:[8, 10] Operation: 19-9=10
Exploring Operation: 8+19=27, Resulting Numbers: [9, 27]
Generated Node #0,2,3: 49:[9, 27] Operation: 8+19=27
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 49:[8, 10], Operations: ['53-44=9', '19-9=10']
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,49 unequal: No Solution
Exploring Operation: 8*10=80, Resulting Numbers: [80]
80,49 unequal: No Solution
Exploring Operation: 8+10=18, Resulting Numbers: [18]
18,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 49:[9, 11], Operations: ['53-44=9', '19-8=11']
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,49 unequal: No Solution
Exploring Operation: 9+11=20, Resulting Numbers: [20]
20,49 unequal: No Solution
Exploring Operation: 9*11=99, Resulting Numbers: [99]
99,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 49:[19, 1], Operations: ['53-44=9', '9-8=1']
Exploring Operation: 19+1=20, Resulting Numbers: [20]
20,49 unequal: No Solution
Exploring Operation: 19-1=18, Resulting Numbers: [18]
18,49 unequal: No Solution
Exploring Operation: 19*1=19, Resulting Numbers: [19]
19,49 unequal: No Solution
Exploring Operation: 19/1=19, Resulting Numbers: [19]
19,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 49:[9, 27], Operations: ['53-44=9', '8+19=27']
Exploring Operation: 9*27=243, Resulting Numbers: [243]
243,49 unequal: No Solution
Exploring Operation: 27-9=18, Resulting Numbers: [18]
18,49 unequal: No Solution
Exploring Operation: 9+27=36, Resulting Numbers: [36]
36,49 unequal: No Solution
Exploring Operation: 27/9=3, Resulting Numbers: [3]
3,49 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: 49:[53, 19, 52], Operations: ['8+44=52']
Exploring Operation: 53+19=72, Resulting Numbers: [52, 72]
Generated Node #0,3,0: 49:[52, 72] Operation: 53+19=72
Exploring Operation: 52-19=33, Resulting Numbers: [53, 33]
Generated Node #0,3,1: 49:[53, 33] Operation: 52-19=33
Exploring Operation: 53-19=34, Resulting Numbers: [52, 34]
Generated Node #0,3,2: 49:[52, 34] Operation: 53-19=34
Exploring Operation: 53-52=1, Resulting Numbers: [19, 1]
Generated Node #0,3,3: 49:[19, 1] Operation: 53-52=1
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 49:[52, 34], Operations: ['8+44=52', '53-19=34']
Exploring Operation: 52+34=86, Resulting Numbers: [86]
86,49 unequal: No Solution
Exploring Operation: 52*34=1768, Resulting Numbers: [1768]
1768,49 unequal: No Solution
Exploring Operation: 52-34=18, Resulting Numbers: [18]
18,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 49:[19, 1], Operations: ['8+44=52', '53-52=1']
Exploring Operation: 19*1=19, Resulting Numbers: [19]
19,49 unequal: No Solution
Exploring Operation: 19-1=18, Resulting Numbers: [18]
18,49 unequal: No Solution
Exploring Operation: 19/1=19, Resulting Numbers: [19]
19,49 unequal: No Solution
Exploring Operation: 19+1=20, Resulting Numbers: [20]
20,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 49:[53, 33], Operations: ['8+44=52', '52-19=33']
Exploring Operation: 53*33=1749, Resulting Numbers: [1749]
1749,49 unequal: No Solution
Exploring Operation: 53+33=86, Resulting Numbers: [86]
86,49 unequal: No Solution
Exploring Operation: 53-33=20, Resulting Numbers: [20]
20,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 49:[52, 72], Operations: ['8+44=52', '53+19=72']
Exploring Operation: 72-52=20, Resulting Numbers: [20]
20,49 unequal: No Solution
Exploring Operation: 52+72=124, Resulting Numbers: [124]
124,49 unequal: No Solution
Exploring Operation: 52*72=3744, Resulting Numbers: [3744]
3744,49 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: 49:[8, 53, 63], Operations: ['44+19=63']
Exploring Operation: 63-53=10, Resulting Numbers: [8, 10]
Generated Node #0,0,0: 49:[8, 10] Operation: 63-53=10
Exploring Operation: 53-8=45, Resulting Numbers: [63, 45]
Generated Node #0,0,1: 49:[63, 45] Operation: 53-8=45
Exploring Operation: 8+53=61, Resulting Numbers: [63, 61]
Generated Node #0,0,2: 49:[63, 61] Operation: 8+53=61
Exploring Operation: 63-8=55, Resulting Numbers: [53, 55]
Generated Node #0,0,3: 49:[53, 55] Operation: 63-8=55
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 49:[8, 10], Operations: ['44+19=63', '63-53=10']
Exploring Operation: 8*10=80, Resulting Numbers: [80]
80,49 unequal: No Solution
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,49 unequal: No Solution
Exploring Operation: 8+10=18, Resulting Numbers: [18]
18,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 49:[53, 55], Operations: ['44+19=63', '63-8=55']
Exploring Operation: 55-53=2, Resulting Numbers: [2]
2,49 unequal: No Solution
Exploring Operation: 53+55=108, Resulting Numbers: [108]
108,49 unequal: No Solution
Exploring Operation: 53*55=2915, Resulting Numbers: [2915]
2915,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 49:[63, 45], Operations: ['44+19=63', '53-8=45']
Exploring Operation: 63*45=2835, Resulting Numbers: [2835]
2835,49 unequal: No Solution
Exploring Operation: 63-45=18, Resulting Numbers: [18]
18,49 unequal: No Solution
Exploring Operation: 63+45=108, Resulting Numbers: [108]
108,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 49:[63, 61], Operations: ['44+19=63', '8+53=61']
Exploring Operation: 63-61=2, Resulting Numbers: [2]
2,49 unequal: No Solution
Exploring Operation: 63+61=124, Resulting Numbers: [124]
124,49 unequal: No Solution
Exploring Operation: 63*61=3843, Resulting Numbers: [3843]
3843,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,3
Current State: 49:[11, 9], Operations: ['19-8=11', '53-44=9']
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,49 unequal: No Solution
Exploring Operation: 11+9=20, Resulting Numbers: [20]
20,49 unequal: No Solution
Exploring Operation: 11*9=99, Resulting Numbers: [99]
99,49 unequal: No Solution
Moving to Node #0,1,0
Current State: 49:[53, 4], Operations: ['19-8=11', '44/11=4']
Exploring Operation: 53-4=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[8, 44, 53, 19], Operations: []
Exploring Operation: 19-8=11, Resulting Numbers: [44, 53, 11]
Generated Node #0,1: 49:[44, 53, 11] Operation: 19-8=11
Moving to Node #0,1
Current State: 49:[44, 53, 11], Operations: ['19-8=11']
Exploring Operation: 44/11=4, Resulting Numbers: [53, 4]
Generated Node #0,1,0: 49:[53, 4] Operation: 44/11=4
Moving to Node #0,1,0
Current State: 49:[53, 4], Operations: ['19-8=11', '44/11=4']
Exploring Operation: 53-4=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 0.94184 | hs_4 | sum_heuristic |
[
12,
30,
1,
57
] | 40 | [
"30-12=18",
"1+57=58",
"58-18=40"
] | Current State: 40:[12, 30, 1, 57], Operations: []
Exploring Operation: 30-12=18, Resulting Numbers: [1, 57, 18]
Generated Node #2: [1, 57, 18] from Operation: 30-12=18
Current State: 40:[1, 57, 18], Operations: ['30-12=18']
Exploring Operation: 1+57=58, Resulting Numbers: [18, 58]
Generated Node #3: [18, 58] from Operation: 1+57=58
Current State: 40:[18, 58], Operations: ['30-12=18', '1+57=58']
Exploring Operation: 58-18=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[12, 30, 1, 57], Operations: []
Exploring Operation: 57-30=27, Resulting Numbers: [12, 1, 27]
Generated Node #0,0: 40:[12, 1, 27] Operation: 57-30=27
Moving to Node #0,0
Current State: 40:[12, 1, 27], Operations: ['57-30=27']
Exploring Operation: 12+27=39, Resulting Numbers: [1, 39]
Generated Node #0,0,0: 40:[1, 39] Operation: 12+27=39
Moving to Node #0,0,0
Current State: 40:[1, 39], Operations: ['57-30=27', '12+27=39']
Exploring Operation: 1+39=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[12, 30, 1, 57], Operations: []
Exploring Operation: 57-30=27, Resulting Numbers: [12, 1, 27]
Generated Node #0,0: 40:[12, 1, 27] Operation: 57-30=27
Moving to Node #0,0
Current State: 40:[12, 1, 27], Operations: ['57-30=27']
Exploring Operation: 12+27=39, Resulting Numbers: [1, 39]
Generated Node #0,0,0: 40:[1, 39] Operation: 12+27=39
Moving to Node #0,0,0
Current State: 40:[1, 39], Operations: ['57-30=27', '12+27=39']
Exploring Operation: 1+39=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
88,
29,
37,
8
] | 88 | [
"88+29=117",
"37-8=29",
"117-29=88"
] | Current State: 88:[88, 29, 37, 8], Operations: []
Exploring Operation: 88+29=117, Resulting Numbers: [37, 8, 117]
Generated Node #2: [37, 8, 117] from Operation: 88+29=117
Current State: 88:[37, 8, 117], Operations: ['88+29=117']
Exploring Operation: 37-8=29, Resulting Numbers: [117, 29]
Generated Node #3: [117, 29] from Operation: 37-8=29
Current State: 88:[117, 29], Operations: ['88+29=117', '37-8=29']
Exploring Operation: 117-29=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[88, 29, 37, 8], Operations: []
Exploring Operation: 29-8=21, Resulting Numbers: [88, 37, 21]
Generated Node #0,0: 88:[88, 37, 21] Operation: 29-8=21
Exploring Operation: 37-29=8, Resulting Numbers: [88, 8, 8]
Generated Node #0,1: 88:[88, 8, 8] Operation: 37-29=8
Exploring Operation: 88-37=51, Resulting Numbers: [29, 8, 51]
Generated Node #0,2: 88:[29, 8, 51] Operation: 88-37=51
Exploring Operation: 37+8=45, Resulting Numbers: [88, 29, 45]
Generated Node #0,3: 88:[88, 29, 45] Operation: 37+8=45
Start Sub Search at level 1: Moving to Node #0,1
Current State: 88:[88, 8, 8], Operations: ['37-29=8']
Exploring Operation: 88/8=11, Resulting Numbers: [8, 11]
Generated Node #0,1,0: 88:[8, 11] Operation: 88/8=11
Exploring Operation: 8-8=0, Resulting Numbers: [88, 0]
Generated Node #0,1,1: 88:[88, 0] Operation: 8-8=0
Exploring Operation: 88/8=11, Resulting Numbers: [8, 11]
Generated Node #0,1,2: 88:[8, 11] Operation: 88/8=11
Exploring Operation: 8/8=1, Resulting Numbers: [88, 1]
Generated Node #0,1,3: 88:[88, 1] Operation: 8/8=1
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 88:[8, 11], Operations: ['37-29=8', '88/8=11']
Exploring Operation: 11-8=3, Resulting Numbers: [3]
3,88 unequal: No Solution
Exploring Operation: 8*11=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[88, 29, 37, 8], Operations: []
Exploring Operation: 37-29=8, Resulting Numbers: [88, 8, 8]
Generated Node #0,1: 88:[88, 8, 8] Operation: 37-29=8
Moving to Node #0,1
Current State: 88:[88, 8, 8], Operations: ['37-29=8']
Exploring Operation: 88/8=11, Resulting Numbers: [8, 11]
Generated Node #0,1,0: 88:[8, 11] Operation: 88/8=11
Moving to Node #0,1,0
Current State: 88:[8, 11], Operations: ['37-29=8', '88/8=11']
Exploring Operation: 8*11=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
16,
9,
67,
50
] | 65 | [
"16+9=25",
"50/25=2",
"67-2=65"
] | Current State: 65:[16, 9, 67, 50], Operations: []
Exploring Operation: 16+9=25, Resulting Numbers: [67, 50, 25]
Generated Node #2: [67, 50, 25] from Operation: 16+9=25
Current State: 65:[67, 50, 25], Operations: ['16+9=25']
Exploring Operation: 50/25=2, Resulting Numbers: [67, 2]
Generated Node #3: [67, 2] from Operation: 50/25=2
Current State: 65:[67, 2], Operations: ['16+9=25', '50/25=2']
Exploring Operation: 67-2=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[16, 9, 67, 50], Operations: []
Exploring Operation: 9+50=59, Resulting Numbers: [16, 67, 59]
Generated Node #0,0: 65:[16, 67, 59] Operation: 9+50=59
Exploring Operation: 67-50=17, Resulting Numbers: [16, 9, 17]
Generated Node #0,1: 65:[16, 9, 17] Operation: 67-50=17
Exploring Operation: 16+50=66, Resulting Numbers: [9, 67, 66]
Generated Node #0,2: 65:[9, 67, 66] Operation: 16+50=66
Moving to Node #0,2
Current State: 65:[9, 67, 66], Operations: ['16+50=66']
Exploring Operation: 67-9=58, Resulting Numbers: [66, 58]
Generated Node #0,2,0: 65:[66, 58] Operation: 67-9=58
Exploring Operation: 67-66=1, Resulting Numbers: [9, 1]
Generated Node #0,2,1: 65:[9, 1] Operation: 67-66=1
Exploring Operation: 66-9=57, Resulting Numbers: [67, 57]
Generated Node #0,2,2: 65:[67, 57] Operation: 66-9=57
Moving to Node #0,0
Current State: 65:[16, 67, 59], Operations: ['9+50=59']
Exploring Operation: 67-16=51, Resulting Numbers: [59, 51]
Generated Node #0,0,0: 65:[59, 51] Operation: 67-16=51
Exploring Operation: 67-59=8, Resulting Numbers: [16, 8]
Generated Node #0,0,1: 65:[16, 8] Operation: 67-59=8
Exploring Operation: 16+59=75, Resulting Numbers: [67, 75]
Generated Node #0,0,2: 65:[67, 75] Operation: 16+59=75
Moving to Node #0,1
Current State: 65:[16, 9, 17], Operations: ['67-50=17']
Exploring Operation: 17-16=1, Resulting Numbers: [9, 1]
Generated Node #0,1,0: 65:[9, 1] Operation: 17-16=1
Exploring Operation: 16-9=7, Resulting Numbers: [17, 7]
Generated Node #0,1,1: 65:[17, 7] Operation: 16-9=7
Exploring Operation: 17-9=8, Resulting Numbers: [16, 8]
Generated Node #0,1,2: 65:[16, 8] Operation: 17-9=8
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 65:[17, 7], Operations: ['67-50=17', '16-9=7']
Exploring Operation: 17*7=119, Resulting Numbers: [119]
119,65 unequal: No Solution
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,65 unequal: No Solution
Exploring Operation: 17+7=24, Resulting Numbers: [24]
24,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 65:[16, 8], Operations: ['67-50=17', '17-9=8']
Exploring Operation: 16+8=24, Resulting Numbers: [24]
24,65 unequal: No Solution
Exploring Operation: 16-8=8, Resulting Numbers: [8]
8,65 unequal: No Solution
Exploring Operation: 16/8=2, Resulting Numbers: [2]
2,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 65:[9, 1], Operations: ['67-50=17', '17-16=1']
Exploring Operation: 9*1=9, Resulting Numbers: [9]
9,65 unequal: No Solution
Exploring Operation: 9+1=10, Resulting Numbers: [10]
10,65 unequal: No Solution
Exploring Operation: 9-1=8, Resulting Numbers: [8]
8,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 65:[16, 8], Operations: ['9+50=59', '67-59=8']
Exploring Operation: 16-8=8, Resulting Numbers: [8]
8,65 unequal: No Solution
Exploring Operation: 16+8=24, Resulting Numbers: [24]
24,65 unequal: No Solution
Exploring Operation: 16/8=2, Resulting Numbers: [2]
2,65 unequal: No Solution
Moving to Node #0,2,0
Current State: 65:[66, 58], Operations: ['16+50=66', '67-9=58']
Exploring Operation: 66+58=124, Resulting Numbers: [124]
124,65 unequal: No Solution
Exploring Operation: 66*58=3828, Resulting Numbers: [3828]
3828,65 unequal: No Solution
Exploring Operation: 66-58=8, Resulting Numbers: [8]
8,65 unequal: No Solution
Moving to Node #0,2,1
Current State: 65:[9, 1], Operations: ['16+50=66', '67-66=1']
Exploring Operation: 9+1=10, Resulting Numbers: [10]
10,65 unequal: No Solution
Exploring Operation: 9-1=8, Resulting Numbers: [8]
8,65 unequal: No Solution
Exploring Operation: 9*1=9, Resulting Numbers: [9]
9,65 unequal: No Solution
Moving to Node #0,2,2
Current State: 65:[67, 57], Operations: ['16+50=66', '66-9=57']
Exploring Operation: 67*57=3819, Resulting Numbers: [3819]
3819,65 unequal: No Solution
Exploring Operation: 67+57=124, Resulting Numbers: [124]
124,65 unequal: No Solution
Exploring Operation: 67-57=10, Resulting Numbers: [10]
10,65 unequal: No Solution
Moving to Node #0,0,2
Current State: 65:[67, 75], Operations: ['9+50=59', '16+59=75']
Exploring Operation: 67+75=142, Resulting Numbers: [142]
142,65 unequal: No Solution
Exploring Operation: 67*75=5025, Resulting Numbers: [5025]
5025,65 unequal: No Solution
Exploring Operation: 75-67=8, Resulting Numbers: [8]
8,65 unequal: No Solution
Moving to Node #0,0,0
Current State: 65:[59, 51], Operations: ['9+50=59', '67-16=51']
Exploring Operation: 59*51=3009, Resulting Numbers: [3009]
3009,65 unequal: No Solution
Exploring Operation: 59+51=110, Resulting Numbers: [110]
110,65 unequal: No Solution
Exploring Operation: 59-51=8, Resulting Numbers: [8]
8,65 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
61,
46,
21,
51
] | 45 | [
"61-46=15",
"51-21=30",
"15+30=45"
] | Current State: 45:[61, 46, 21, 51], Operations: []
Exploring Operation: 61-46=15, Resulting Numbers: [21, 51, 15]
Generated Node #2: [21, 51, 15] from Operation: 61-46=15
Current State: 45:[21, 51, 15], Operations: ['61-46=15']
Exploring Operation: 51-21=30, Resulting Numbers: [15, 30]
Generated Node #3: [15, 30] from Operation: 51-21=30
Current State: 45:[15, 30], Operations: ['61-46=15', '51-21=30']
Exploring Operation: 15+30=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[61, 46, 21, 51], Operations: []
Exploring Operation: 61-46=15, Resulting Numbers: [21, 51, 15]
Generated Node #0,0: 45:[21, 51, 15] Operation: 61-46=15
Exploring Operation: 51-46=5, Resulting Numbers: [61, 21, 5]
Generated Node #0,1: 45:[61, 21, 5] Operation: 51-46=5
Exploring Operation: 61-21=40, Resulting Numbers: [46, 51, 40]
Generated Node #0,2: 45:[46, 51, 40] Operation: 61-21=40
Exploring Operation: 61-51=10, Resulting Numbers: [46, 21, 10]
Generated Node #0,3: 45:[46, 21, 10] Operation: 61-51=10
Moving to Node #0,3
Current State: 45:[46, 21, 10], Operations: ['61-51=10']
Exploring Operation: 21+10=31, Resulting Numbers: [46, 31]
Generated Node #0,3,0: 45:[46, 31] Operation: 21+10=31
Exploring Operation: 46-10=36, Resulting Numbers: [21, 36]
Generated Node #0,3,1: 45:[21, 36] Operation: 46-10=36
Exploring Operation: 46-21=25, Resulting Numbers: [10, 25]
Generated Node #0,3,2: 45:[10, 25] Operation: 46-21=25
Exploring Operation: 21-10=11, Resulting Numbers: [46, 11]
Generated Node #0,3,3: 45:[46, 11] Operation: 21-10=11
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 45:[46, 11], Operations: ['61-51=10', '21-10=11']
Exploring Operation: 46*11=506, Resulting Numbers: [506]
506,45 unequal: No Solution
Exploring Operation: 46-11=35, Resulting Numbers: [35]
35,45 unequal: No Solution
Exploring Operation: 46+11=57, Resulting Numbers: [57]
57,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 45:[10, 25], Operations: ['61-51=10', '46-21=25']
Exploring Operation: 10+25=35, Resulting Numbers: [35]
35,45 unequal: No Solution
Exploring Operation: 10*25=250, Resulting Numbers: [250]
250,45 unequal: No Solution
Exploring Operation: 25-10=15, Resulting Numbers: [15]
15,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 45:[46, 31], Operations: ['61-51=10', '21+10=31']
Exploring Operation: 46*31=1426, Resulting Numbers: [1426]
1426,45 unequal: No Solution
Exploring Operation: 46-31=15, Resulting Numbers: [15]
15,45 unequal: No Solution
Exploring Operation: 46+31=77, Resulting Numbers: [77]
77,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 45:[21, 36], Operations: ['61-51=10', '46-10=36']
Exploring Operation: 21*36=756, Resulting Numbers: [756]
756,45 unequal: No Solution
Exploring Operation: 21+36=57, Resulting Numbers: [57]
57,45 unequal: No Solution
Exploring Operation: 36-21=15, Resulting Numbers: [15]
15,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 45:[46, 51, 40], Operations: ['61-21=40']
Exploring Operation: 51-46=5, Resulting Numbers: [40, 5]
Generated Node #0,2,0: 45:[40, 5] Operation: 51-46=5
Exploring Operation: 51-40=11, Resulting Numbers: [46, 11]
Generated Node #0,2,1: 45:[46, 11] Operation: 51-40=11
Exploring Operation: 46-40=6, Resulting Numbers: [51, 6]
Generated Node #0,2,2: 45:[51, 6] Operation: 46-40=6
Exploring Operation: 46+40=86, Resulting Numbers: [51, 86]
Generated Node #0,2,3: 45:[51, 86] Operation: 46+40=86
Moving to Node #0,0
Current State: 45:[21, 51, 15], Operations: ['61-46=15']
Exploring Operation: 51-21=30, Resulting Numbers: [15, 30]
Generated Node #0,0,0: 45:[15, 30] Operation: 51-21=30
Exploring Operation: 21-15=6, Resulting Numbers: [51, 6]
Generated Node #0,0,1: 45:[51, 6] Operation: 21-15=6
Exploring Operation: 21+15=36, Resulting Numbers: [51, 36]
Generated Node #0,0,2: 45:[51, 36] Operation: 21+15=36
Exploring Operation: 51-15=36, Resulting Numbers: [21, 36]
Generated Node #0,0,3: 45:[21, 36] Operation: 51-15=36
Moving to Node #0,1
Current State: 45:[61, 21, 5], Operations: ['51-46=5']
Exploring Operation: 61-21=40, Resulting Numbers: [5, 40]
Generated Node #0,1,0: 45:[5, 40] Operation: 61-21=40
Exploring Operation: 21-5=16, Resulting Numbers: [61, 16]
Generated Node #0,1,1: 45:[61, 16] Operation: 21-5=16
Exploring Operation: 61+5=66, Resulting Numbers: [21, 66]
Generated Node #0,1,2: 45:[21, 66] Operation: 61+5=66
Exploring Operation: 61-5=56, Resulting Numbers: [21, 56]
Generated Node #0,1,3: 45:[21, 56] Operation: 61-5=56
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 45:[5, 40], Operations: ['51-46=5', '61-21=40']
Exploring Operation: 5*40=200, Resulting Numbers: [200]
200,45 unequal: No Solution
Exploring Operation: 40/5=8, Resulting Numbers: [8]
8,45 unequal: No Solution
Exploring Operation: 5+40=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[61, 46, 21, 51], Operations: []
Exploring Operation: 51-46=5, Resulting Numbers: [61, 21, 5]
Generated Node #0,1: 45:[61, 21, 5] Operation: 51-46=5
Moving to Node #0,1
Current State: 45:[61, 21, 5], Operations: ['51-46=5']
Exploring Operation: 61-21=40, Resulting Numbers: [5, 40]
Generated Node #0,1,0: 45:[5, 40] Operation: 61-21=40
Moving to Node #0,1,0
Current State: 45:[5, 40], Operations: ['51-46=5', '61-21=40']
Exploring Operation: 5+40=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 1
| 0.966146 | hs_4 | mult_heuristic |
[
17,
28,
9,
23
] | 46 | [
"28-17=11",
"11-9=2",
"23*2=46"
] | Current State: 46:[17, 28, 9, 23], Operations: []
Exploring Operation: 28-17=11, Resulting Numbers: [9, 23, 11]
Generated Node #2: [9, 23, 11] from Operation: 28-17=11
Current State: 46:[9, 23, 11], Operations: ['28-17=11']
Exploring Operation: 11-9=2, Resulting Numbers: [23, 2]
Generated Node #3: [23, 2] from Operation: 11-9=2
Current State: 46:[23, 2], Operations: ['28-17=11', '11-9=2']
Exploring Operation: 23*2=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[17, 28, 9, 23], Operations: []
Exploring Operation: 28-9=19, Resulting Numbers: [17, 23, 19]
Generated Node #0,0: 46:[17, 23, 19] Operation: 28-9=19
Exploring Operation: 17-9=8, Resulting Numbers: [28, 23, 8]
Generated Node #0,1: 46:[28, 23, 8] Operation: 17-9=8
Exploring Operation: 17+9=26, Resulting Numbers: [28, 23, 26]
Generated Node #0,2: 46:[28, 23, 26] Operation: 17+9=26
Exploring Operation: 17+28=45, Resulting Numbers: [9, 23, 45]
Generated Node #0,3: 46:[9, 23, 45] Operation: 17+28=45
Moving to Node #0,2
Current State: 46:[28, 23, 26], Operations: ['17+9=26']
Exploring Operation: 28+23=51, Resulting Numbers: [26, 51]
Generated Node #0,2,0: 46:[26, 51] Operation: 28+23=51
Exploring Operation: 26-23=3, Resulting Numbers: [28, 3]
Generated Node #0,2,1: 46:[28, 3] Operation: 26-23=3
Exploring Operation: 28-26=2, Resulting Numbers: [23, 2]
Generated Node #0,2,2: 46:[23, 2] Operation: 28-26=2
Exploring Operation: 28-23=5, Resulting Numbers: [26, 5]
Generated Node #0,2,3: 46:[26, 5] Operation: 28-23=5
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 46:[23, 2], Operations: ['17+9=26', '28-26=2']
Exploring Operation: 23+2=25, Resulting Numbers: [25]
25,46 unequal: No Solution
Exploring Operation: 23*2=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[17, 28, 9, 23], Operations: []
Exploring Operation: 17+9=26, Resulting Numbers: [28, 23, 26]
Generated Node #0,2: 46:[28, 23, 26] Operation: 17+9=26
Moving to Node #0,2
Current State: 46:[28, 23, 26], Operations: ['17+9=26']
Exploring Operation: 28-26=2, Resulting Numbers: [23, 2]
Generated Node #0,2,2: 46:[23, 2] Operation: 28-26=2
Moving to Node #0,2,2
Current State: 46:[23, 2], Operations: ['17+9=26', '28-26=2']
Exploring Operation: 23*2=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
20,
56,
90,
97
] | 12 | [
"97-90=7",
"56/7=8",
"20-8=12"
] | Current State: 12:[20, 56, 90, 97], Operations: []
Exploring Operation: 97-90=7, Resulting Numbers: [20, 56, 7]
Generated Node #2: [20, 56, 7] from Operation: 97-90=7
Current State: 12:[20, 56, 7], Operations: ['97-90=7']
Exploring Operation: 56/7=8, Resulting Numbers: [20, 8]
Generated Node #3: [20, 8] from Operation: 56/7=8
Current State: 12:[20, 8], Operations: ['97-90=7', '56/7=8']
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[20, 56, 90, 97], Operations: []
Exploring Operation: 97-90=7, Resulting Numbers: [20, 56, 7]
Generated Node #0,0: 12:[20, 56, 7] Operation: 97-90=7
Exploring Operation: 90-56=34, Resulting Numbers: [20, 97, 34]
Generated Node #0,1: 12:[20, 97, 34] Operation: 90-56=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 12:[20, 56, 7], Operations: ['97-90=7']
Exploring Operation: 56/7=8, Resulting Numbers: [20, 8]
Generated Node #0,0,0: 12:[20, 8] Operation: 56/7=8
Exploring Operation: 56-20=36, Resulting Numbers: [7, 36]
Generated Node #0,0,1: 12:[7, 36] Operation: 56-20=36
Moving to Node #0,0,0
Current State: 12:[20, 8], Operations: ['97-90=7', '56/7=8']
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[20, 56, 90, 97], Operations: []
Exploring Operation: 97-90=7, Resulting Numbers: [20, 56, 7]
Generated Node #0,0: 12:[20, 56, 7] Operation: 97-90=7
Moving to Node #0,0
Current State: 12:[20, 56, 7], Operations: ['97-90=7']
Exploring Operation: 56/7=8, Resulting Numbers: [20, 8]
Generated Node #0,0,0: 12:[20, 8] Operation: 56/7=8
Moving to Node #0,0,0
Current State: 12:[20, 8], Operations: ['97-90=7', '56/7=8']
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
9,
72,
1,
94
] | 86 | [
"72/9=8",
"1*94=94",
"94-8=86"
] | Current State: 86:[9, 72, 1, 94], Operations: []
Exploring Operation: 72/9=8, Resulting Numbers: [1, 94, 8]
Generated Node #2: [1, 94, 8] from Operation: 72/9=8
Current State: 86:[1, 94, 8], Operations: ['72/9=8']
Exploring Operation: 1*94=94, Resulting Numbers: [8, 94]
Generated Node #3: [8, 94] from Operation: 1*94=94
Current State: 86:[8, 94], Operations: ['72/9=8', '1*94=94']
Exploring Operation: 94-8=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[9, 72, 1, 94], Operations: []
Exploring Operation: 94-9=85, Resulting Numbers: [72, 1, 85]
Generated Node #0,0: 86:[72, 1, 85] Operation: 94-9=85
Exploring Operation: 72/9=8, Resulting Numbers: [1, 94, 8]
Generated Node #0,1: 86:[1, 94, 8] Operation: 72/9=8
Exploring Operation: 9-1=8, Resulting Numbers: [72, 94, 8]
Generated Node #0,2: 86:[72, 94, 8] Operation: 9-1=8
Exploring Operation: 9+72=81, Resulting Numbers: [1, 94, 81]
Generated Node #0,3: 86:[1, 94, 81] Operation: 9+72=81
Start Sub Search at level 1: Moving to Node #0,3
Current State: 86:[1, 94, 81], Operations: ['9+72=81']
Exploring Operation: 94-81=13, Resulting Numbers: [1, 13]
Generated Node #0,3,0: 86:[1, 13] Operation: 94-81=13
Exploring Operation: 94-1=93, Resulting Numbers: [81, 93]
Generated Node #0,3,1: 86:[81, 93] Operation: 94-1=93
Exploring Operation: 1+81=82, Resulting Numbers: [94, 82]
Generated Node #0,3,2: 86:[94, 82] Operation: 1+81=82
Exploring Operation: 1*94=94, Resulting Numbers: [81, 94]
Generated Node #0,3,3: 86:[81, 94] Operation: 1*94=94
Moving to Node #0,3,0
Current State: 86:[1, 13], Operations: ['9+72=81', '94-81=13']
Exploring Operation: 1+13=14, Resulting Numbers: [14]
14,86 unequal: No Solution
Exploring Operation: 13-1=12, Resulting Numbers: [12]
12,86 unequal: No Solution
Exploring Operation: 13/1=13, Resulting Numbers: [13]
13,86 unequal: No Solution
Exploring Operation: 1*13=13, Resulting Numbers: [13]
13,86 unequal: No Solution
Moving to Node #0,3,2
Current State: 86:[94, 82], Operations: ['9+72=81', '1+81=82']
Exploring Operation: 94+82=176, Resulting Numbers: [176]
176,86 unequal: No Solution
Exploring Operation: 94-82=12, Resulting Numbers: [12]
12,86 unequal: No Solution
Exploring Operation: 94*82=7708, Resulting Numbers: [7708]
7708,86 unequal: No Solution
Moving to Node #0,3,1
Current State: 86:[81, 93], Operations: ['9+72=81', '94-1=93']
Exploring Operation: 81+93=174, Resulting Numbers: [174]
174,86 unequal: No Solution
Exploring Operation: 81*93=7533, Resulting Numbers: [7533]
7533,86 unequal: No Solution
Exploring Operation: 93-81=12, Resulting Numbers: [12]
12,86 unequal: No Solution
Moving to Node #0,3,3
Current State: 86:[81, 94], Operations: ['9+72=81', '1*94=94']
Exploring Operation: 81+94=175, Resulting Numbers: [175]
175,86 unequal: No Solution
Exploring Operation: 94-81=13, Resulting Numbers: [13]
13,86 unequal: No Solution
Exploring Operation: 81*94=7614, Resulting Numbers: [7614]
7614,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 86:[1, 94, 8], Operations: ['72/9=8']
Exploring Operation: 94-8=86, Resulting Numbers: [1, 86]
Generated Node #0,1,0: 86:[1, 86] Operation: 94-8=86
Exploring Operation: 94-1=93, Resulting Numbers: [8, 93]
Generated Node #0,1,1: 86:[8, 93] Operation: 94-1=93
Exploring Operation: 8-1=7, Resulting Numbers: [94, 7]
Generated Node #0,1,2: 86:[94, 7] Operation: 8-1=7
Exploring Operation: 1*94=94, Resulting Numbers: [8, 94]
Generated Node #0,1,3: 86:[8, 94] Operation: 1*94=94
Moving to Node #0,1,0
Current State: 86:[1, 86], Operations: ['72/9=8', '94-8=86']
Exploring Operation: 86/1=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[9, 72, 1, 94], Operations: []
Exploring Operation: 72/9=8, Resulting Numbers: [1, 94, 8]
Generated Node #0,1: 86:[1, 94, 8] Operation: 72/9=8
Moving to Node #0,1
Current State: 86:[1, 94, 8], Operations: ['72/9=8']
Exploring Operation: 94-8=86, Resulting Numbers: [1, 86]
Generated Node #0,1,0: 86:[1, 86] Operation: 94-8=86
Moving to Node #0,1,0
Current State: 86:[1, 86], Operations: ['72/9=8', '94-8=86']
Exploring Operation: 86/1=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 | hs_4 | sum_heuristic |
[
82,
83,
24,
70
] | 93 | [
"83-82=1",
"24+70=94",
"94-1=93"
] | Current State: 93:[82, 83, 24, 70], Operations: []
Exploring Operation: 83-82=1, Resulting Numbers: [24, 70, 1]
Generated Node #2: [24, 70, 1] from Operation: 83-82=1
Current State: 93:[24, 70, 1], Operations: ['83-82=1']
Exploring Operation: 24+70=94, Resulting Numbers: [1, 94]
Generated Node #3: [1, 94] from Operation: 24+70=94
Current State: 93:[1, 94], Operations: ['83-82=1', '24+70=94']
Exploring Operation: 94-1=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[82, 83, 24, 70], Operations: []
Exploring Operation: 70-24=46, Resulting Numbers: [82, 83, 46]
Generated Node #0,0: 93:[82, 83, 46] Operation: 70-24=46
Exploring Operation: 82-70=12, Resulting Numbers: [83, 24, 12]
Generated Node #0,1: 93:[83, 24, 12] Operation: 82-70=12
Exploring Operation: 83-70=13, Resulting Numbers: [82, 24, 13]
Generated Node #0,2: 93:[82, 24, 13] Operation: 83-70=13
Exploring Operation: 83-82=1, Resulting Numbers: [24, 70, 1]
Generated Node #0,3: 93:[24, 70, 1] Operation: 83-82=1
Exploring Operation: 24+70=94, Resulting Numbers: [82, 83, 94]
Generated Node #0,4: 93:[82, 83, 94] Operation: 24+70=94
Start Sub Search at level 1: Moving to Node #0,4
Current State: 93:[82, 83, 94], Operations: ['24+70=94']
Exploring Operation: 83-82=1, Resulting Numbers: [94, 1]
Generated Node #0,4,0: 93:[94, 1] Operation: 83-82=1
Exploring Operation: 82+94=176, Resulting Numbers: [83, 176]
Generated Node #0,4,1: 93:[83, 176] Operation: 82+94=176
Exploring Operation: 94-83=11, Resulting Numbers: [82, 11]
Generated Node #0,4,2: 93:[82, 11] Operation: 94-83=11
Exploring Operation: 94-82=12, Resulting Numbers: [83, 12]
Generated Node #0,4,3: 93:[83, 12] Operation: 94-82=12
Exploring Operation: 82+83=165, Resulting Numbers: [94, 165]
Generated Node #0,4,4: 93:[94, 165] Operation: 82+83=165
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 93:[94, 1], Operations: ['24+70=94', '83-82=1']
Exploring Operation: 94+1=95, Resulting Numbers: [95]
95,93 unequal: No Solution
Exploring Operation: 94-1=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[82, 83, 24, 70], Operations: []
Exploring Operation: 24+70=94, Resulting Numbers: [82, 83, 94]
Generated Node #0,4: 93:[82, 83, 94] Operation: 24+70=94
Moving to Node #0,4
Current State: 93:[82, 83, 94], Operations: ['24+70=94']
Exploring Operation: 83-82=1, Resulting Numbers: [94, 1]
Generated Node #0,4,0: 93:[94, 1] Operation: 83-82=1
Moving to Node #0,4,0
Current State: 93:[94, 1], Operations: ['24+70=94', '83-82=1']
Exploring Operation: 94-1=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
88,
4,
51,
34
] | 39 | [
"88/4=22",
"51-34=17",
"22+17=39"
] | Current State: 39:[88, 4, 51, 34], Operations: []
Exploring Operation: 88/4=22, Resulting Numbers: [51, 34, 22]
Generated Node #2: [51, 34, 22] from Operation: 88/4=22
Current State: 39:[51, 34, 22], Operations: ['88/4=22']
Exploring Operation: 51-34=17, Resulting Numbers: [22, 17]
Generated Node #3: [22, 17] from Operation: 51-34=17
Current State: 39:[22, 17], Operations: ['88/4=22', '51-34=17']
Exploring Operation: 22+17=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[88, 4, 51, 34], Operations: []
Exploring Operation: 88-4=84, Resulting Numbers: [51, 34, 84]
Generated Node #0,0: 39:[51, 34, 84] Operation: 88-4=84
Exploring Operation: 88-34=54, Resulting Numbers: [4, 51, 54]
Generated Node #0,1: 39:[4, 51, 54] Operation: 88-34=54
Exploring Operation: 88-51=37, Resulting Numbers: [4, 34, 37]
Generated Node #0,2: 39:[4, 34, 37] Operation: 88-51=37
Exploring Operation: 51-34=17, Resulting Numbers: [88, 4, 17]
Generated Node #0,3: 39:[88, 4, 17] Operation: 51-34=17
Exploring Operation: 88/4=22, Resulting Numbers: [51, 34, 22]
Generated Node #0,4: 39:[51, 34, 22] Operation: 88/4=22
Moving to Node #0,2
Current State: 39:[4, 34, 37], Operations: ['88-51=37']
Exploring Operation: 4+34=38, Resulting Numbers: [37, 38]
Generated Node #0,2,0: 39:[37, 38] Operation: 4+34=38
Exploring Operation: 4+37=41, Resulting Numbers: [34, 41]
Generated Node #0,2,1: 39:[34, 41] Operation: 4+37=41
Exploring Operation: 37-4=33, Resulting Numbers: [34, 33]
Generated Node #0,2,2: 39:[34, 33] Operation: 37-4=33
Exploring Operation: 37-34=3, Resulting Numbers: [4, 3]
Generated Node #0,2,3: 39:[4, 3] Operation: 37-34=3
Exploring Operation: 34-4=30, Resulting Numbers: [37, 30]
Generated Node #0,2,4: 39:[37, 30] Operation: 34-4=30
Moving to Node #0,4
Current State: 39:[51, 34, 22], Operations: ['88/4=22']
Exploring Operation: 34+22=56, Resulting Numbers: [51, 56]
Generated Node #0,4,0: 39:[51, 56] Operation: 34+22=56
Exploring Operation: 51+22=73, Resulting Numbers: [34, 73]
Generated Node #0,4,1: 39:[34, 73] Operation: 51+22=73
Exploring Operation: 34-22=12, Resulting Numbers: [51, 12]
Generated Node #0,4,2: 39:[51, 12] Operation: 34-22=12
Exploring Operation: 51-34=17, Resulting Numbers: [22, 17]
Generated Node #0,4,3: 39:[22, 17] Operation: 51-34=17
Exploring Operation: 51-22=29, Resulting Numbers: [34, 29]
Generated Node #0,4,4: 39:[34, 29] Operation: 51-22=29
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 39:[51, 12], Operations: ['88/4=22', '34-22=12']
Exploring Operation: 51-12=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[88, 4, 51, 34], Operations: []
Exploring Operation: 88/4=22, Resulting Numbers: [51, 34, 22]
Generated Node #0,4: 39:[51, 34, 22] Operation: 88/4=22
Moving to Node #0,4
Current State: 39:[51, 34, 22], Operations: ['88/4=22']
Exploring Operation: 34-22=12, Resulting Numbers: [51, 12]
Generated Node #0,4,2: 39:[51, 12] Operation: 34-22=12
Moving to Node #0,4,2
Current State: 39:[51, 12], Operations: ['88/4=22', '34-22=12']
Exploring Operation: 51-12=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_5 | sum_heuristic |
[
29,
1,
36,
16
] | 49 | [
"29*1=29",
"36-16=20",
"29+20=49"
] | Current State: 49:[29, 1, 36, 16], Operations: []
Exploring Operation: 29*1=29, Resulting Numbers: [36, 16, 29]
Generated Node #2: [36, 16, 29] from Operation: 29*1=29
Current State: 49:[36, 16, 29], Operations: ['29*1=29']
Exploring Operation: 36-16=20, Resulting Numbers: [29, 20]
Generated Node #3: [29, 20] from Operation: 36-16=20
Current State: 49:[29, 20], Operations: ['29*1=29', '36-16=20']
Exploring Operation: 29+20=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[29, 1, 36, 16], Operations: []
Exploring Operation: 36-29=7, Resulting Numbers: [1, 16, 7]
Generated Node #0,0: 49:[1, 16, 7] Operation: 36-29=7
Moving to Node #0,0
Current State: 49:[1, 16, 7], Operations: ['36-29=7']
Exploring Operation: 16-1=15, Resulting Numbers: [7, 15]
Generated Node #0,0,0: 49:[7, 15] Operation: 16-1=15
Moving to Node #0,0,0
Current State: 49:[7, 15], Operations: ['36-29=7', '16-1=15']
Exploring Operation: 15-7=8, Resulting Numbers: [8]
8,49 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
43,
69,
66,
44
] | 41 | [
"66-43=23",
"69/23=3",
"44-3=41"
] | Current State: 41:[43, 69, 66, 44], Operations: []
Exploring Operation: 66-43=23, Resulting Numbers: [69, 44, 23]
Generated Node #2: [69, 44, 23] from Operation: 66-43=23
Current State: 41:[69, 44, 23], Operations: ['66-43=23']
Exploring Operation: 69/23=3, Resulting Numbers: [44, 3]
Generated Node #3: [44, 3] from Operation: 69/23=3
Current State: 41:[44, 3], Operations: ['66-43=23', '69/23=3']
Exploring Operation: 44-3=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[43, 69, 66, 44], Operations: []
Exploring Operation: 69-66=3, Resulting Numbers: [43, 44, 3]
Generated Node #0,0: 41:[43, 44, 3] Operation: 69-66=3
Exploring Operation: 66-44=22, Resulting Numbers: [43, 69, 22]
Generated Node #0,1: 41:[43, 69, 22] Operation: 66-44=22
Exploring Operation: 69-44=25, Resulting Numbers: [43, 66, 25]
Generated Node #0,2: 41:[43, 66, 25] Operation: 69-44=25
Exploring Operation: 69-43=26, Resulting Numbers: [66, 44, 26]
Generated Node #0,3: 41:[66, 44, 26] Operation: 69-43=26
Exploring Operation: 66-43=23, Resulting Numbers: [69, 44, 23]
Generated Node #0,4: 41:[69, 44, 23] Operation: 66-43=23
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[43, 44, 3], Operations: ['69-66=3']
Exploring Operation: 43+3=46, Resulting Numbers: [44, 46]
Generated Node #0,0,0: 41:[44, 46] Operation: 43+3=46
Exploring Operation: 43-3=40, Resulting Numbers: [44, 40]
Generated Node #0,0,1: 41:[44, 40] Operation: 43-3=40
Exploring Operation: 44-3=41, Resulting Numbers: [43, 41]
Generated Node #0,0,2: 41:[43, 41] Operation: 44-3=41
Exploring Operation: 44+3=47, Resulting Numbers: [43, 47]
Generated Node #0,0,3: 41:[43, 47] Operation: 44+3=47
Exploring Operation: 44-43=1, Resulting Numbers: [3, 1]
Generated Node #0,0,4: 41:[3, 1] Operation: 44-43=1
Moving to Node #0,0,2
Current State: 41:[43, 41], Operations: ['69-66=3', '44-3=41']
Exploring Operation: 43-41=2, Resulting Numbers: [2]
2,41 unequal: No Solution
Exploring Operation: 43+41=84, Resulting Numbers: [84]
84,41 unequal: No Solution
Exploring Operation: 43*41=1763, Resulting Numbers: [1763]
1763,41 unequal: No Solution
Moving to Node #0,0,1
Current State: 41:[44, 40], Operations: ['69-66=3', '43-3=40']
Exploring Operation: 44*40=1760, Resulting Numbers: [1760]
1760,41 unequal: No Solution
Exploring Operation: 44+40=84, Resulting Numbers: [84]
84,41 unequal: No Solution
Exploring Operation: 44-40=4, Resulting Numbers: [4]
4,41 unequal: No Solution
Moving to Node #0,0,0
Current State: 41:[44, 46], Operations: ['69-66=3', '43+3=46']
Exploring Operation: 44*46=2024, Resulting Numbers: [2024]
2024,41 unequal: No Solution
Exploring Operation: 44+46=90, Resulting Numbers: [90]
90,41 unequal: No Solution
Exploring Operation: 46-44=2, Resulting Numbers: [2]
2,41 unequal: No Solution
Moving to Node #0,0,3
Current State: 41:[43, 47], Operations: ['69-66=3', '44+3=47']
Exploring Operation: 47-43=4, Resulting Numbers: [4]
4,41 unequal: No Solution
Exploring Operation: 43+47=90, Resulting Numbers: [90]
90,41 unequal: No Solution
Exploring Operation: 43*47=2021, Resulting Numbers: [2021]
2021,41 unequal: No Solution
Moving to Node #0,0,4
Current State: 41:[3, 1], Operations: ['69-66=3', '44-43=1']
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,41 unequal: No Solution
Exploring Operation: 3*1=3, Resulting Numbers: [3]
3,41 unequal: No Solution
Exploring Operation: 3+1=4, Resulting Numbers: [4]
4,41 unequal: No Solution
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,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
Current State: 41:[43, 66, 25], Operations: ['69-44=25']
Exploring Operation: 43+25=68, Resulting Numbers: [66, 68]
Generated Node #0,2,0: 41:[66, 68] Operation: 43+25=68
Exploring Operation: 66-25=41, Resulting Numbers: [43, 41]
Generated Node #0,2,1: 41:[43, 41] Operation: 66-25=41
Exploring Operation: 66-43=23, Resulting Numbers: [25, 23]
Generated Node #0,2,2: 41:[25, 23] Operation: 66-43=23
Exploring Operation: 43-25=18, Resulting Numbers: [66, 18]
Generated Node #0,2,3: 41:[66, 18] Operation: 43-25=18
Exploring Operation: 66+25=91, Resulting Numbers: [43, 91]
Generated Node #0,2,4: 41:[43, 91] Operation: 66+25=91
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 41:[43, 41], Operations: ['69-44=25', '66-25=41']
Exploring Operation: 43+41=84, Resulting Numbers: [84]
84,41 unequal: No Solution
Exploring Operation: 43-41=2, Resulting Numbers: [2]
2,41 unequal: No Solution
Exploring Operation: 43*41=1763, Resulting Numbers: [1763]
1763,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 41:[25, 23], Operations: ['69-44=25', '66-43=23']
Exploring Operation: 25+23=48, Resulting Numbers: [48]
48,41 unequal: No Solution
Exploring Operation: 25*23=575, Resulting Numbers: [575]
575,41 unequal: No Solution
Exploring Operation: 25-23=2, Resulting Numbers: [2]
2,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 41:[66, 18], Operations: ['69-44=25', '43-25=18']
Exploring Operation: 66*18=1188, Resulting Numbers: [1188]
1188,41 unequal: No Solution
Exploring Operation: 66-18=48, Resulting Numbers: [48]
48,41 unequal: No Solution
Exploring Operation: 66+18=84, Resulting Numbers: [84]
84,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 41:[66, 68], Operations: ['69-44=25', '43+25=68']
Exploring Operation: 68-66=2, Resulting Numbers: [2]
2,41 unequal: No Solution
Exploring Operation: 66*68=4488, Resulting Numbers: [4488]
4488,41 unequal: No Solution
Exploring Operation: 66+68=134, Resulting Numbers: [134]
134,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 41:[43, 91], Operations: ['69-44=25', '66+25=91']
Exploring Operation: 43+91=134, Resulting Numbers: [134]
134,41 unequal: No Solution
Exploring Operation: 43*91=3913, Resulting Numbers: [3913]
3913,41 unequal: No Solution
Exploring Operation: 91-43=48, Resulting Numbers: [48]
48,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 41:[66, 44, 26], Operations: ['69-43=26']
Exploring Operation: 44+26=70, Resulting Numbers: [66, 70]
Generated Node #0,3,0: 41:[66, 70] Operation: 44+26=70
Exploring Operation: 66+26=92, Resulting Numbers: [44, 92]
Generated Node #0,3,1: 41:[44, 92] Operation: 66+26=92
Exploring Operation: 44-26=18, Resulting Numbers: [66, 18]
Generated Node #0,3,2: 41:[66, 18] Operation: 44-26=18
Exploring Operation: 66-44=22, Resulting Numbers: [26, 22]
Generated Node #0,3,3: 41:[26, 22] Operation: 66-44=22
Exploring Operation: 66-26=40, Resulting Numbers: [44, 40]
Generated Node #0,3,4: 41:[44, 40] Operation: 66-26=40
Moving to Node #0,3,4
Current State: 41:[44, 40], Operations: ['69-43=26', '66-26=40']
Exploring Operation: 44+40=84, Resulting Numbers: [84]
84,41 unequal: No Solution
Exploring Operation: 44*40=1760, Resulting Numbers: [1760]
1760,41 unequal: No Solution
Exploring Operation: 44-40=4, Resulting Numbers: [4]
4,41 unequal: No Solution
Moving to Node #0,3,3
Current State: 41:[26, 22], Operations: ['69-43=26', '66-44=22']
Exploring Operation: 26+22=48, Resulting Numbers: [48]
48,41 unequal: No Solution
Exploring Operation: 26*22=572, Resulting Numbers: [572]
572,41 unequal: No Solution
Exploring Operation: 26-22=4, Resulting Numbers: [4]
4,41 unequal: No Solution
Moving to Node #0,3,2
Current State: 41:[66, 18], Operations: ['69-43=26', '44-26=18']
Exploring Operation: 66-18=48, Resulting Numbers: [48]
48,41 unequal: No Solution
Exploring Operation: 66+18=84, Resulting Numbers: [84]
84,41 unequal: No Solution
Exploring Operation: 66*18=1188, Resulting Numbers: [1188]
1188,41 unequal: No Solution
Moving to Node #0,3,0
Current State: 41:[66, 70], Operations: ['69-43=26', '44+26=70']
Exploring Operation: 66*70=4620, Resulting Numbers: [4620]
4620,41 unequal: No Solution
Exploring Operation: 66+70=136, Resulting Numbers: [136]
136,41 unequal: No Solution
Exploring Operation: 70-66=4, Resulting Numbers: [4]
4,41 unequal: No Solution
Moving to Node #0,3,1
Current State: 41:[44, 92], Operations: ['69-43=26', '66+26=92']
Exploring Operation: 44*92=4048, Resulting Numbers: [4048]
4048,41 unequal: No Solution
Exploring Operation: 44+92=136, Resulting Numbers: [136]
136,41 unequal: No Solution
Exploring Operation: 92-44=48, Resulting Numbers: [48]
48,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 41:[43, 69, 22], Operations: ['66-44=22']
Exploring Operation: 69-43=26, Resulting Numbers: [22, 26]
Generated Node #0,1,0: 41:[22, 26] Operation: 69-43=26
Exploring Operation: 69-22=47, Resulting Numbers: [43, 47]
Generated Node #0,1,1: 41:[43, 47] Operation: 69-22=47
Exploring Operation: 69+22=91, Resulting Numbers: [43, 91]
Generated Node #0,1,2: 41:[43, 91] Operation: 69+22=91
Exploring Operation: 43-22=21, Resulting Numbers: [69, 21]
Generated Node #0,1,3: 41:[69, 21] Operation: 43-22=21
Exploring Operation: 43+22=65, Resulting Numbers: [69, 65]
Generated Node #0,1,4: 41:[69, 65] Operation: 43+22=65
Moving to Node #0,1,1
Current State: 41:[43, 47], Operations: ['66-44=22', '69-22=47']
Exploring Operation: 43*47=2021, Resulting Numbers: [2021]
2021,41 unequal: No Solution
Exploring Operation: 43+47=90, Resulting Numbers: [90]
90,41 unequal: No Solution
Exploring Operation: 47-43=4, Resulting Numbers: [4]
4,41 unequal: No Solution
Moving to Node #0,1,0
Current State: 41:[22, 26], Operations: ['66-44=22', '69-43=26']
Exploring Operation: 22*26=572, Resulting Numbers: [572]
572,41 unequal: No Solution
Exploring Operation: 22+26=48, Resulting Numbers: [48]
48,41 unequal: No Solution
Exploring Operation: 26-22=4, Resulting Numbers: [4]
4,41 unequal: No Solution
Moving to Node #0,1,3
Current State: 41:[69, 21], Operations: ['66-44=22', '43-22=21']
Exploring Operation: 69*21=1449, Resulting Numbers: [1449]
1449,41 unequal: No Solution
Exploring Operation: 69+21=90, Resulting Numbers: [90]
90,41 unequal: No Solution
Exploring Operation: 69-21=48, Resulting Numbers: [48]
48,41 unequal: No Solution
Moving to Node #0,1,2
Current State: 41:[43, 91], Operations: ['66-44=22', '69+22=91']
Exploring Operation: 43+91=134, Resulting Numbers: [134]
134,41 unequal: No Solution
Exploring Operation: 43*91=3913, Resulting Numbers: [3913]
3913,41 unequal: No Solution
Exploring Operation: 91-43=48, Resulting Numbers: [48]
48,41 unequal: No Solution
Moving to Node #0,1,4
Current State: 41:[69, 65], Operations: ['66-44=22', '43+22=65']
Exploring Operation: 69-65=4, Resulting Numbers: [4]
4,41 unequal: No Solution
Exploring Operation: 69*65=4485, Resulting Numbers: [4485]
4485,41 unequal: No Solution
Exploring Operation: 69+65=134, Resulting Numbers: [134]
134,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,4
Current State: 41:[69, 44, 23], Operations: ['66-43=23']
Exploring Operation: 69+23=92, Resulting Numbers: [44, 92]
Generated Node #0,4,0: 41:[44, 92] Operation: 69+23=92
Exploring Operation: 69-23=46, Resulting Numbers: [44, 46]
Generated Node #0,4,1: 41:[44, 46] Operation: 69-23=46
Exploring Operation: 44-23=21, Resulting Numbers: [69, 21]
Generated Node #0,4,2: 41:[69, 21] Operation: 44-23=21
Exploring Operation: 69/23=3, Resulting Numbers: [44, 3]
Generated Node #0,4,3: 41:[44, 3] Operation: 69/23=3
Exploring Operation: 69-44=25, Resulting Numbers: [23, 25]
Generated Node #0,4,4: 41:[23, 25] Operation: 69-44=25
Moving to Node #0,4,1
Current State: 41:[44, 46], Operations: ['66-43=23', '69-23=46']
Exploring Operation: 44*46=2024, Resulting Numbers: [2024]
2024,41 unequal: No Solution
Exploring Operation: 46-44=2, Resulting Numbers: [2]
2,41 unequal: No Solution
Exploring Operation: 44+46=90, Resulting Numbers: [90]
90,41 unequal: No Solution
Moving to Node #0,4,4
Current State: 41:[23, 25], Operations: ['66-43=23', '69-44=25']
Exploring Operation: 23*25=575, Resulting Numbers: [575]
575,41 unequal: No Solution
Exploring Operation: 25-23=2, Resulting Numbers: [2]
2,41 unequal: No Solution
Exploring Operation: 23+25=48, Resulting Numbers: [48]
48,41 unequal: No Solution
Moving to Node #0,4,3
Current State: 41:[44, 3], Operations: ['66-43=23', '69/23=3']
Exploring Operation: 44+3=47, Resulting Numbers: [47]
47,41 unequal: No Solution
Exploring Operation: 44*3=132, Resulting Numbers: [132]
132,41 unequal: No Solution
Exploring Operation: 44-3=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[43, 69, 66, 44], Operations: []
Exploring Operation: 66-43=23, Resulting Numbers: [69, 44, 23]
Generated Node #0,4: 41:[69, 44, 23] Operation: 66-43=23
Moving to Node #0,4
Current State: 41:[69, 44, 23], Operations: ['66-43=23']
Exploring Operation: 69/23=3, Resulting Numbers: [44, 3]
Generated Node #0,4,3: 41:[44, 3] Operation: 69/23=3
Moving to Node #0,4,3
Current State: 41:[44, 3], Operations: ['66-43=23', '69/23=3']
Exploring Operation: 44-3=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 1
| 0.909722 | hs_5 | mult_heuristic |
[
49,
30,
40,
80
] | 59 | [
"49-30=19",
"80-40=40",
"19+40=59"
] | Current State: 59:[49, 30, 40, 80], Operations: []
Exploring Operation: 49-30=19, Resulting Numbers: [40, 80, 19]
Generated Node #2: [40, 80, 19] from Operation: 49-30=19
Current State: 59:[40, 80, 19], Operations: ['49-30=19']
Exploring Operation: 80-40=40, Resulting Numbers: [19, 40]
Generated Node #3: [19, 40] from Operation: 80-40=40
Current State: 59:[19, 40], Operations: ['49-30=19', '80-40=40']
Exploring Operation: 19+40=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[49, 30, 40, 80], Operations: []
Exploring Operation: 80-30=50, Resulting Numbers: [49, 40, 50]
Generated Node #0,0: 59:[49, 40, 50] Operation: 80-30=50
Exploring Operation: 80-40=40, Resulting Numbers: [49, 30, 40]
Generated Node #0,1: 59:[49, 30, 40] Operation: 80-40=40
Exploring Operation: 49+30=79, Resulting Numbers: [40, 80, 79]
Generated Node #0,2: 59:[40, 80, 79] Operation: 49+30=79
Exploring Operation: 80-49=31, Resulting Numbers: [30, 40, 31]
Generated Node #0,3: 59:[30, 40, 31] Operation: 80-49=31
Exploring Operation: 30+40=70, Resulting Numbers: [49, 80, 70]
Generated Node #0,4: 59:[49, 80, 70] Operation: 30+40=70
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[49, 40, 50], Operations: ['80-30=50']
Exploring Operation: 49-40=9, Resulting Numbers: [50, 9]
Generated Node #0,0,0: 59:[50, 9] Operation: 49-40=9
Exploring Operation: 49+50=99, Resulting Numbers: [40, 99]
Generated Node #0,0,1: 59:[40, 99] Operation: 49+50=99
Exploring Operation: 40+50=90, Resulting Numbers: [49, 90]
Generated Node #0,0,2: 59:[49, 90] Operation: 40+50=90
Exploring Operation: 49+40=89, Resulting Numbers: [50, 89]
Generated Node #0,0,3: 59:[50, 89] Operation: 49+40=89
Exploring Operation: 50-40=10, Resulting Numbers: [49, 10]
Generated Node #0,0,4: 59:[49, 10] Operation: 50-40=10
Moving to Node #0,0,3
Current State: 59:[50, 89], Operations: ['80-30=50', '49+40=89']
Exploring Operation: 50*89=4450, Resulting Numbers: [4450]
4450,59 unequal: No Solution
Exploring Operation: 89-50=39, Resulting Numbers: [39]
39,59 unequal: No Solution
Exploring Operation: 50+89=139, Resulting Numbers: [139]
139,59 unequal: No Solution
Moving to Node #0,0,2
Current State: 59:[49, 90], Operations: ['80-30=50', '40+50=90']
Exploring Operation: 90-49=41, Resulting Numbers: [41]
41,59 unequal: No Solution
Exploring Operation: 49+90=139, Resulting Numbers: [139]
139,59 unequal: No Solution
Exploring Operation: 49*90=4410, Resulting Numbers: [4410]
4410,59 unequal: No Solution
Moving to Node #0,0,0
Current State: 59:[50, 9], Operations: ['80-30=50', '49-40=9']
Exploring Operation: 50*9=450, Resulting Numbers: [450]
450,59 unequal: No Solution
Exploring Operation: 50-9=41, Resulting Numbers: [41]
41,59 unequal: No Solution
Exploring Operation: 50+9=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[49, 30, 40, 80], Operations: []
Exploring Operation: 80-30=50, Resulting Numbers: [49, 40, 50]
Generated Node #0,0: 59:[49, 40, 50] Operation: 80-30=50
Moving to Node #0,0
Current State: 59:[49, 40, 50], Operations: ['80-30=50']
Exploring Operation: 49-40=9, Resulting Numbers: [50, 9]
Generated Node #0,0,0: 59:[50, 9] Operation: 49-40=9
Moving to Node #0,0,0
Current State: 59:[50, 9], Operations: ['80-30=50', '49-40=9']
Exploring Operation: 50+9=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_5 | sum_heuristic |
[
3,
93,
57,
9
] | 26 | [
"3*93=279",
"279/9=31",
"57-31=26"
] | Current State: 26:[3, 93, 57, 9], Operations: []
Exploring Operation: 3*93=279, Resulting Numbers: [57, 9, 279]
Generated Node #2: [57, 9, 279] from Operation: 3*93=279
Current State: 26:[57, 9, 279], Operations: ['3*93=279']
Exploring Operation: 279/9=31, Resulting Numbers: [57, 31]
Generated Node #3: [57, 31] from Operation: 279/9=31
Current State: 26:[57, 31], Operations: ['3*93=279', '279/9=31']
Exploring Operation: 57-31=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[3, 93, 57, 9], Operations: []
Exploring Operation: 57/3=19, Resulting Numbers: [93, 9, 19]
Generated Node #0,0: 26:[93, 9, 19] Operation: 57/3=19
Exploring Operation: 93/3=31, Resulting Numbers: [57, 9, 31]
Generated Node #0,1: 26:[57, 9, 31] Operation: 93/3=31
Exploring Operation: 93-9=84, Resulting Numbers: [3, 57, 84]
Generated Node #0,2: 26:[3, 57, 84] Operation: 93-9=84
Exploring Operation: 93-57=36, Resulting Numbers: [3, 9, 36]
Generated Node #0,3: 26:[3, 9, 36] Operation: 93-57=36
Moving to Node #0,3
Current State: 26:[3, 9, 36], Operations: ['93-57=36']
Exploring Operation: 3+9=12, Resulting Numbers: [36, 12]
Generated Node #0,3,0: 26:[36, 12] Operation: 3+9=12
Exploring Operation: 36/3=12, Resulting Numbers: [9, 12]
Generated Node #0,3,1: 26:[9, 12] Operation: 36/3=12
Exploring Operation: 36/9=4, Resulting Numbers: [3, 4]
Generated Node #0,3,2: 26:[3, 4] Operation: 36/9=4
Exploring Operation: 36-9=27, Resulting Numbers: [3, 27]
Generated Node #0,3,3: 26:[3, 27] Operation: 36-9=27
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 26:[3, 27], Operations: ['93-57=36', '36-9=27']
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,26 unequal: No Solution
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,26 unequal: No Solution
Exploring Operation: 3*27=81, Resulting Numbers: [81]
81,26 unequal: No Solution
Exploring Operation: 3+27=30, Resulting Numbers: [30]
30,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 26:[3, 4], Operations: ['93-57=36', '36/9=4']
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,26 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,26 unequal: No Solution
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 26:[9, 12], Operations: ['93-57=36', '36/3=12']
Exploring Operation: 9*12=108, Resulting Numbers: [108]
108,26 unequal: No Solution
Exploring Operation: 9+12=21, Resulting Numbers: [21]
21,26 unequal: No Solution
Exploring Operation: 12-9=3, Resulting Numbers: [3]
3,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 26:[36, 12], Operations: ['93-57=36', '3+9=12']
Exploring Operation: 36*12=432, Resulting Numbers: [432]
432,26 unequal: No Solution
Exploring Operation: 36+12=48, Resulting Numbers: [48]
48,26 unequal: No Solution
Exploring Operation: 36/12=3, Resulting Numbers: [3]
3,26 unequal: No Solution
Exploring Operation: 36-12=24, Resulting Numbers: [24]
24,26 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: 26:[57, 9, 31], Operations: ['93/3=31']
Exploring Operation: 57-31=26, Resulting Numbers: [9, 26]
Generated Node #0,1,0: 26:[9, 26] Operation: 57-31=26
Exploring Operation: 57-9=48, Resulting Numbers: [31, 48]
Generated Node #0,1,1: 26:[31, 48] Operation: 57-9=48
Exploring Operation: 57+9=66, Resulting Numbers: [31, 66]
Generated Node #0,1,2: 26:[31, 66] Operation: 57+9=66
Exploring Operation: 31-9=22, Resulting Numbers: [57, 22]
Generated Node #0,1,3: 26:[57, 22] Operation: 31-9=22
Moving to Node #0,0
Current State: 26:[93, 9, 19], Operations: ['57/3=19']
Exploring Operation: 19-9=10, Resulting Numbers: [93, 10]
Generated Node #0,0,0: 26:[93, 10] Operation: 19-9=10
Exploring Operation: 93-9=84, Resulting Numbers: [19, 84]
Generated Node #0,0,1: 26:[19, 84] Operation: 93-9=84
Exploring Operation: 9+19=28, Resulting Numbers: [93, 28]
Generated Node #0,0,2: 26:[93, 28] Operation: 9+19=28
Exploring Operation: 93-19=74, Resulting Numbers: [9, 74]
Generated Node #0,0,3: 26:[9, 74] Operation: 93-19=74
Moving to Node #0,2
Current State: 26:[3, 57, 84], Operations: ['93-9=84']
Exploring Operation: 57/3=19, Resulting Numbers: [84, 19]
Generated Node #0,2,0: 26:[84, 19] Operation: 57/3=19
Exploring Operation: 84/3=28, Resulting Numbers: [57, 28]
Generated Node #0,2,1: 26:[57, 28] Operation: 84/3=28
Exploring Operation: 84-57=27, Resulting Numbers: [3, 27]
Generated Node #0,2,2: 26:[3, 27] Operation: 84-57=27
Exploring Operation: 57-3=54, Resulting Numbers: [84, 54]
Generated Node #0,2,3: 26:[84, 54] Operation: 57-3=54
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 26:[3, 27], Operations: ['93-9=84', '84-57=27']
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,26 unequal: No Solution
Exploring Operation: 3*27=81, Resulting Numbers: [81]
81,26 unequal: No Solution
Exploring Operation: 3+27=30, Resulting Numbers: [30]
30,26 unequal: No Solution
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 26:[57, 28], Operations: ['93-9=84', '84/3=28']
Exploring Operation: 57*28=1596, Resulting Numbers: [1596]
1596,26 unequal: No Solution
Exploring Operation: 57-28=29, Resulting Numbers: [29]
29,26 unequal: No Solution
Exploring Operation: 57+28=85, Resulting Numbers: [85]
85,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 26:[84, 19], Operations: ['93-9=84', '57/3=19']
Exploring Operation: 84*19=1596, Resulting Numbers: [1596]
1596,26 unequal: No Solution
Exploring Operation: 84-19=65, Resulting Numbers: [65]
65,26 unequal: No Solution
Exploring Operation: 84+19=103, Resulting Numbers: [103]
103,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 26:[84, 54], Operations: ['93-9=84', '57-3=54']
Exploring Operation: 84-54=30, Resulting Numbers: [30]
30,26 unequal: No Solution
Exploring Operation: 84*54=4536, Resulting Numbers: [4536]
4536,26 unequal: No Solution
Exploring Operation: 84+54=138, Resulting Numbers: [138]
138,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 26:[9, 26], Operations: ['93/3=31', '57-31=26']
Exploring Operation: 26-9=17, Resulting Numbers: [17]
17,26 unequal: No Solution
Exploring Operation: 9+26=35, Resulting Numbers: [35]
35,26 unequal: No Solution
Exploring Operation: 9*26=234, Resulting Numbers: [234]
234,26 unequal: No Solution
Moving to Node #0,1,1
Current State: 26:[31, 48], Operations: ['93/3=31', '57-9=48']
Exploring Operation: 31*48=1488, Resulting Numbers: [1488]
1488,26 unequal: No Solution
Exploring Operation: 48-31=17, Resulting Numbers: [17]
17,26 unequal: No Solution
Exploring Operation: 31+48=79, Resulting Numbers: [79]
79,26 unequal: No Solution
Moving to Node #0,1,3
Current State: 26:[57, 22], Operations: ['93/3=31', '31-9=22']
Exploring Operation: 57*22=1254, Resulting Numbers: [1254]
1254,26 unequal: No Solution
Exploring Operation: 57-22=35, Resulting Numbers: [35]
35,26 unequal: No Solution
Exploring Operation: 57+22=79, Resulting Numbers: [79]
79,26 unequal: No Solution
Moving to Node #0,1,2
Current State: 26:[31, 66], Operations: ['93/3=31', '57+9=66']
Exploring Operation: 66-31=35, Resulting Numbers: [35]
35,26 unequal: No Solution
Exploring Operation: 31+66=97, Resulting Numbers: [97]
97,26 unequal: No Solution
Exploring Operation: 31*66=2046, Resulting Numbers: [2046]
2046,26 unequal: No Solution
Moving to Node #0,0,3
Current State: 26:[9, 74], Operations: ['57/3=19', '93-19=74']
Exploring Operation: 9*74=666, Resulting Numbers: [666]
666,26 unequal: No Solution
Exploring Operation: 9+74=83, Resulting Numbers: [83]
83,26 unequal: No Solution
Exploring Operation: 74-9=65, Resulting Numbers: [65]
65,26 unequal: No Solution
Moving to Node #0,0,1
Current State: 26:[19, 84], Operations: ['57/3=19', '93-9=84']
Exploring Operation: 84-19=65, Resulting Numbers: [65]
65,26 unequal: No Solution
Exploring Operation: 19*84=1596, Resulting Numbers: [1596]
1596,26 unequal: No Solution
Exploring Operation: 19+84=103, Resulting Numbers: [103]
103,26 unequal: No Solution
Moving to Node #0,0,2
Current State: 26:[93, 28], Operations: ['57/3=19', '9+19=28']
Exploring Operation: 93+28=121, Resulting Numbers: [121]
121,26 unequal: No Solution
Exploring Operation: 93-28=65, Resulting Numbers: [65]
65,26 unequal: No Solution
Exploring Operation: 93*28=2604, Resulting Numbers: [2604]
2604,26 unequal: No Solution
Moving to Node #0,0,0
Current State: 26:[93, 10], Operations: ['57/3=19', '19-9=10']
Exploring Operation: 93+10=103, Resulting Numbers: [103]
103,26 unequal: No Solution
Exploring Operation: 93-10=83, Resulting Numbers: [83]
83,26 unequal: No Solution
Exploring Operation: 93*10=930, Resulting Numbers: [930]
930,26 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
29,
72,
40,
29
] | 87 | [
"72-29=43",
"43-40=3",
"29*3=87"
] | Current State: 87:[29, 72, 40, 29], Operations: []
Exploring Operation: 72-29=43, Resulting Numbers: [40, 43]
Generated Node #2: [40, 43] from Operation: 72-29=43
Current State: 87:[40, 43], Operations: ['72-29=43']
Exploring Operation: 43-40=3, Resulting Numbers: [3]
3,87 equal: Goal Reached
Exploring Operation: 29*3=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[29, 72, 40, 29], Operations: []
Exploring Operation: 40-29=11, Resulting Numbers: [72, 29, 11]
Generated Node #0,0: 87:[72, 29, 11] Operation: 40-29=11
Exploring Operation: 72-40=32, Resulting Numbers: [29, 29, 32]
Generated Node #0,1: 87:[29, 29, 32] Operation: 72-40=32
Moving to Node #0,1
Current State: 87:[29, 29, 32], Operations: ['72-40=32']
Exploring Operation: 32-29=3, Resulting Numbers: [29, 3]
Generated Node #0,1,0: 87:[29, 3] Operation: 32-29=3
Exploring Operation: 32-29=3, Resulting Numbers: [29, 3]
Generated Node #0,1,1: 87:[29, 3] Operation: 32-29=3
Moving to Node #0,0
Current State: 87:[72, 29, 11], Operations: ['40-29=11']
Exploring Operation: 72+29=101, Resulting Numbers: [11, 101]
Generated Node #0,0,0: 87:[11, 101] Operation: 72+29=101
Exploring Operation: 72+11=83, Resulting Numbers: [29, 83]
Generated Node #0,0,1: 87:[29, 83] Operation: 72+11=83
Moving to Node #0,1,0
Current State: 87:[29, 3], Operations: ['72-40=32', '32-29=3']
Exploring Operation: 29+3=32, Resulting Numbers: [32]
32,87 unequal: No Solution
Exploring Operation: 29*3=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[29, 72, 40, 29], Operations: []
Exploring Operation: 72-40=32, Resulting Numbers: [29, 29, 32]
Generated Node #0,1: 87:[29, 29, 32] Operation: 72-40=32
Moving to Node #0,1
Current State: 87:[29, 29, 32], Operations: ['72-40=32']
Exploring Operation: 32-29=3, Resulting Numbers: [29, 3]
Generated Node #0,1,0: 87:[29, 3] Operation: 32-29=3
Moving to Node #0,1,0
Current State: 87:[29, 3], Operations: ['72-40=32', '32-29=3']
Exploring Operation: 29*3=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 0.989583 | hs_2 | sum_heuristic |
[
63,
8,
45,
3
] | 70 | [
"63-8=55",
"45/3=15",
"55+15=70"
] | Current State: 70:[63, 8, 45, 3], Operations: []
Exploring Operation: 63-8=55, Resulting Numbers: [45, 3, 55]
Generated Node #2: [45, 3, 55] from Operation: 63-8=55
Current State: 70:[45, 3, 55], Operations: ['63-8=55']
Exploring Operation: 45/3=15, Resulting Numbers: [55, 15]
Generated Node #3: [55, 15] from Operation: 45/3=15
Current State: 70:[55, 15], Operations: ['63-8=55', '45/3=15']
Exploring Operation: 55+15=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[63, 8, 45, 3], Operations: []
Exploring Operation: 63-45=18, Resulting Numbers: [8, 3, 18]
Generated Node #0,0: 70:[8, 3, 18] Operation: 63-45=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[8, 3, 18], Operations: ['63-45=18']
Exploring Operation: 18-8=10, Resulting Numbers: [3, 10]
Generated Node #0,0,0: 70:[3, 10] Operation: 18-8=10
Moving to Node #0,0,0
Current State: 70:[3, 10], Operations: ['63-45=18', '18-8=10']
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
99,
91,
64,
75
] | 88 | [
"99-91=8",
"75-64=11",
"8*11=88"
] | Current State: 88:[99, 91, 64, 75], Operations: []
Exploring Operation: 99-91=8, Resulting Numbers: [64, 75, 8]
Generated Node #2: [64, 75, 8] from Operation: 99-91=8
Current State: 88:[64, 75, 8], Operations: ['99-91=8']
Exploring Operation: 75-64=11, Resulting Numbers: [8, 11]
Generated Node #3: [8, 11] from Operation: 75-64=11
Current State: 88:[8, 11], Operations: ['99-91=8', '75-64=11']
Exploring Operation: 8*11=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[99, 91, 64, 75], Operations: []
Exploring Operation: 75-64=11, Resulting Numbers: [99, 91, 11]
Generated Node #0,0: 88:[99, 91, 11] Operation: 75-64=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[99, 91, 11], Operations: ['75-64=11']
Exploring Operation: 99-91=8, Resulting Numbers: [11, 8]
Generated Node #0,0,0: 88:[11, 8] Operation: 99-91=8
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 88:[11, 8], Operations: ['75-64=11', '99-91=8']
Exploring Operation: 11*8=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[99, 91, 64, 75], Operations: []
Exploring Operation: 75-64=11, Resulting Numbers: [99, 91, 11]
Generated Node #0,0: 88:[99, 91, 11] Operation: 75-64=11
Moving to Node #0,0
Current State: 88:[99, 91, 11], Operations: ['75-64=11']
Exploring Operation: 99-91=8, Resulting Numbers: [11, 8]
Generated Node #0,0,0: 88:[11, 8] Operation: 99-91=8
Moving to Node #0,0,0
Current State: 88:[11, 8], Operations: ['75-64=11', '99-91=8']
Exploring Operation: 11*8=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
81,
31,
34,
25
] | 68 | [
"81-31=50",
"34*50=1700",
"1700/25=68"
] | Current State: 68:[81, 31, 34, 25], Operations: []
Exploring Operation: 81-31=50, Resulting Numbers: [34, 25, 50]
Generated Node #2: [34, 25, 50] from Operation: 81-31=50
Current State: 68:[34, 25, 50], Operations: ['81-31=50']
Exploring Operation: 34*50=1700, Resulting Numbers: [25, 1700]
Generated Node #3: [25, 1700] from Operation: 34*50=1700
Current State: 68:[25, 1700], Operations: ['81-31=50', '34*50=1700']
Exploring Operation: 1700/25=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[81, 31, 34, 25], Operations: []
Exploring Operation: 34-31=3, Resulting Numbers: [81, 25, 3]
Generated Node #0,0: 68:[81, 25, 3] Operation: 34-31=3
Exploring Operation: 81-25=56, Resulting Numbers: [31, 34, 56]
Generated Node #0,1: 68:[31, 34, 56] Operation: 81-25=56
Exploring Operation: 31-25=6, Resulting Numbers: [81, 34, 6]
Generated Node #0,2: 68:[81, 34, 6] Operation: 31-25=6
Exploring Operation: 34-25=9, Resulting Numbers: [81, 31, 9]
Generated Node #0,3: 68:[81, 31, 9] Operation: 34-25=9
Moving to Node #0,1
Current State: 68:[31, 34, 56], Operations: ['81-25=56']
Exploring Operation: 34-31=3, Resulting Numbers: [56, 3]
Generated Node #0,1,0: 68:[56, 3] Operation: 34-31=3
Exploring Operation: 56-34=22, Resulting Numbers: [31, 22]
Generated Node #0,1,1: 68:[31, 22] Operation: 56-34=22
Exploring Operation: 56-31=25, Resulting Numbers: [34, 25]
Generated Node #0,1,2: 68:[34, 25] Operation: 56-31=25
Exploring Operation: 31+34=65, Resulting Numbers: [56, 65]
Generated Node #0,1,3: 68:[56, 65] Operation: 31+34=65
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 68:[31, 22], Operations: ['81-25=56', '56-34=22']
Exploring Operation: 31+22=53, Resulting Numbers: [53]
53,68 unequal: No Solution
Exploring Operation: 31*22=682, Resulting Numbers: [682]
682,68 unequal: No Solution
Exploring Operation: 31-22=9, Resulting Numbers: [9]
9,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 68:[34, 25], Operations: ['81-25=56', '56-31=25']
Exploring Operation: 34+25=59, Resulting Numbers: [59]
59,68 unequal: No Solution
Exploring Operation: 34-25=9, Resulting Numbers: [9]
9,68 unequal: No Solution
Exploring Operation: 34*25=850, Resulting Numbers: [850]
850,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 68:[56, 3], Operations: ['81-25=56', '34-31=3']
Exploring Operation: 56-3=53, Resulting Numbers: [53]
53,68 unequal: No Solution
Exploring Operation: 56+3=59, Resulting Numbers: [59]
59,68 unequal: No Solution
Exploring Operation: 56*3=168, Resulting Numbers: [168]
168,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 68:[56, 65], Operations: ['81-25=56', '31+34=65']
Exploring Operation: 56*65=3640, Resulting Numbers: [3640]
3640,68 unequal: No Solution
Exploring Operation: 65-56=9, Resulting Numbers: [9]
9,68 unequal: No Solution
Exploring Operation: 56+65=121, Resulting Numbers: [121]
121,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 68:[81, 34, 6], Operations: ['31-25=6']
Exploring Operation: 81+6=87, Resulting Numbers: [34, 87]
Generated Node #0,2,0: 68:[34, 87] Operation: 81+6=87
Exploring Operation: 34+6=40, Resulting Numbers: [81, 40]
Generated Node #0,2,1: 68:[81, 40] Operation: 34+6=40
Exploring Operation: 81-34=47, Resulting Numbers: [6, 47]
Generated Node #0,2,2: 68:[6, 47] Operation: 81-34=47
Exploring Operation: 81-6=75, Resulting Numbers: [34, 75]
Generated Node #0,2,3: 68:[34, 75] Operation: 81-6=75
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 68:[34, 75], Operations: ['31-25=6', '81-6=75']
Exploring Operation: 75-34=41, Resulting Numbers: [41]
41,68 unequal: No Solution
Exploring Operation: 34+75=109, Resulting Numbers: [109]
109,68 unequal: No Solution
Exploring Operation: 34*75=2550, Resulting Numbers: [2550]
2550,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 68:[6, 47], Operations: ['31-25=6', '81-34=47']
Exploring Operation: 47-6=41, Resulting Numbers: [41]
41,68 unequal: No Solution
Exploring Operation: 6+47=53, Resulting Numbers: [53]
53,68 unequal: No Solution
Exploring Operation: 6*47=282, Resulting Numbers: [282]
282,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 68:[34, 87], Operations: ['31-25=6', '81+6=87']
Exploring Operation: 34+87=121, Resulting Numbers: [121]
121,68 unequal: No Solution
Exploring Operation: 34*87=2958, Resulting Numbers: [2958]
2958,68 unequal: No Solution
Exploring Operation: 87-34=53, Resulting Numbers: [53]
53,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 68:[81, 40], Operations: ['31-25=6', '34+6=40']
Exploring Operation: 81*40=3240, Resulting Numbers: [3240]
3240,68 unequal: No Solution
Exploring Operation: 81-40=41, Resulting Numbers: [41]
41,68 unequal: No Solution
Exploring Operation: 81+40=121, Resulting Numbers: [121]
121,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 68:[81, 31, 9], Operations: ['34-25=9']
Exploring Operation: 81/9=9, Resulting Numbers: [31, 9]
Generated Node #0,3,0: 68:[31, 9] Operation: 81/9=9
Exploring Operation: 31-9=22, Resulting Numbers: [81, 22]
Generated Node #0,3,1: 68:[81, 22] Operation: 31-9=22
Exploring Operation: 31+9=40, Resulting Numbers: [81, 40]
Generated Node #0,3,2: 68:[81, 40] Operation: 31+9=40
Exploring Operation: 81-9=72, Resulting Numbers: [31, 72]
Generated Node #0,3,3: 68:[31, 72] Operation: 81-9=72
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 68:[31, 72], Operations: ['34-25=9', '81-9=72']
Exploring Operation: 31+72=103, Resulting Numbers: [103]
103,68 unequal: No Solution
Exploring Operation: 72-31=41, Resulting Numbers: [41]
41,68 unequal: No Solution
Exploring Operation: 31*72=2232, Resulting Numbers: [2232]
2232,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 68:[31, 9], Operations: ['34-25=9', '81/9=9']
Exploring Operation: 31*9=279, Resulting Numbers: [279]
279,68 unequal: No Solution
Exploring Operation: 31+9=40, Resulting Numbers: [40]
40,68 unequal: No Solution
Exploring Operation: 31-9=22, Resulting Numbers: [22]
22,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 68:[81, 22], Operations: ['34-25=9', '31-9=22']
Exploring Operation: 81-22=59, Resulting Numbers: [59]
59,68 unequal: No Solution
Exploring Operation: 81+22=103, Resulting Numbers: [103]
103,68 unequal: No Solution
Exploring Operation: 81*22=1782, Resulting Numbers: [1782]
1782,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 68:[81, 40], Operations: ['34-25=9', '31+9=40']
Exploring Operation: 81*40=3240, Resulting Numbers: [3240]
3240,68 unequal: No Solution
Exploring Operation: 81+40=121, Resulting Numbers: [121]
121,68 unequal: No Solution
Exploring Operation: 81-40=41, Resulting Numbers: [41]
41,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 68:[81, 25, 3], Operations: ['34-31=3']
Exploring Operation: 81/3=27, Resulting Numbers: [25, 27]
Generated Node #0,0,0: 68:[25, 27] Operation: 81/3=27
Exploring Operation: 25-3=22, Resulting Numbers: [81, 22]
Generated Node #0,0,1: 68:[81, 22] Operation: 25-3=22
Exploring Operation: 81-25=56, Resulting Numbers: [3, 56]
Generated Node #0,0,2: 68:[3, 56] Operation: 81-25=56
Exploring Operation: 81-3=78, Resulting Numbers: [25, 78]
Generated Node #0,0,3: 68:[25, 78] Operation: 81-3=78
Moving to Node #0,0,2
Current State: 68:[3, 56], Operations: ['34-31=3', '81-25=56']
Exploring Operation: 3+56=59, Resulting Numbers: [59]
59,68 unequal: No Solution
Exploring Operation: 3*56=168, Resulting Numbers: [168]
168,68 unequal: No Solution
Exploring Operation: 56-3=53, Resulting Numbers: [53]
53,68 unequal: No Solution
Moving to Node #0,0,0
Current State: 68:[25, 27], Operations: ['34-31=3', '81/3=27']
Exploring Operation: 27-25=2, Resulting Numbers: [2]
2,68 unequal: No Solution
Exploring Operation: 25*27=675, Resulting Numbers: [675]
675,68 unequal: No Solution
Exploring Operation: 25+27=52, Resulting Numbers: [52]
52,68 unequal: No Solution
Moving to Node #0,0,3
Current State: 68:[25, 78], Operations: ['34-31=3', '81-3=78']
Exploring Operation: 78-25=53, Resulting Numbers: [53]
53,68 unequal: No Solution
Exploring Operation: 25+78=103, Resulting Numbers: [103]
103,68 unequal: No Solution
Exploring Operation: 25*78=1950, Resulting Numbers: [1950]
1950,68 unequal: No Solution
Moving to Node #0,0,1
Current State: 68:[81, 22], Operations: ['34-31=3', '25-3=22']
Exploring Operation: 81+22=103, Resulting Numbers: [103]
103,68 unequal: No Solution
Exploring Operation: 81-22=59, Resulting Numbers: [59]
59,68 unequal: No Solution
Exploring Operation: 81*22=1782, Resulting Numbers: [1782]
1782,68 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
67,
22,
27,
18
] | 80 | [
"67+22=89",
"27-18=9",
"89-9=80"
] | Current State: 80:[67, 22, 27, 18], Operations: []
Exploring Operation: 67+22=89, Resulting Numbers: [27, 18, 89]
Generated Node #2: [27, 18, 89] from Operation: 67+22=89
Current State: 80:[27, 18, 89], Operations: ['67+22=89']
Exploring Operation: 27-18=9, Resulting Numbers: [89, 9]
Generated Node #3: [89, 9] from Operation: 27-18=9
Current State: 80:[89, 9], Operations: ['67+22=89', '27-18=9']
Exploring Operation: 89-9=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[67, 22, 27, 18], Operations: []
Exploring Operation: 67-27=40, Resulting Numbers: [22, 18, 40]
Generated Node #0,0: 80:[22, 18, 40] Operation: 67-27=40
Exploring Operation: 67-22=45, Resulting Numbers: [27, 18, 45]
Generated Node #0,1: 80:[27, 18, 45] Operation: 67-22=45
Moving to Node #0,0
Current State: 80:[22, 18, 40], Operations: ['67-27=40']
Exploring Operation: 22+18=40, Resulting Numbers: [40, 40]
Generated Node #0,0,0: 80:[40, 40] Operation: 22+18=40
Exploring Operation: 22-18=4, Resulting Numbers: [40, 4]
Generated Node #0,0,1: 80:[40, 4] Operation: 22-18=4
Moving to Node #0,1
Current State: 80:[27, 18, 45], Operations: ['67-22=45']
Exploring Operation: 27-18=9, Resulting Numbers: [45, 9]
Generated Node #0,1,0: 80:[45, 9] Operation: 27-18=9
Exploring Operation: 45-27=18, Resulting Numbers: [18, 18]
Generated Node #0,1,1: 80:[18, 18] Operation: 45-27=18
Moving to Node #0,0,0
Current State: 80:[40, 40], Operations: ['67-27=40', '22+18=40']
Exploring Operation: 40/40=1, Resulting Numbers: [1]
1,80 unequal: No Solution
Exploring Operation: 40+40=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[67, 22, 27, 18], Operations: []
Exploring Operation: 67-27=40, Resulting Numbers: [22, 18, 40]
Generated Node #0,0: 80:[22, 18, 40] Operation: 67-27=40
Moving to Node #0,0
Current State: 80:[22, 18, 40], Operations: ['67-27=40']
Exploring Operation: 22+18=40, Resulting Numbers: [40, 40]
Generated Node #0,0,0: 80:[40, 40] Operation: 22+18=40
Moving to Node #0,0,0
Current State: 80:[40, 40], Operations: ['67-27=40', '22+18=40']
Exploring Operation: 40+40=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 0.989583 | hs_2 | mult_heuristic |
[
1,
68,
85,
41
] | 57 | [
"1+68=69",
"85+41=126",
"126-69=57"
] | Current State: 57:[1, 68, 85, 41], Operations: []
Exploring Operation: 1+68=69, Resulting Numbers: [85, 41, 69]
Generated Node #2: [85, 41, 69] from Operation: 1+68=69
Current State: 57:[85, 41, 69], Operations: ['1+68=69']
Exploring Operation: 85+41=126, Resulting Numbers: [69, 126]
Generated Node #3: [69, 126] from Operation: 85+41=126
Current State: 57:[69, 126], Operations: ['1+68=69', '85+41=126']
Exploring Operation: 126-69=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[1, 68, 85, 41], Operations: []
Exploring Operation: 85-1=84, Resulting Numbers: [68, 41, 84]
Generated Node #0,0: 57:[68, 41, 84] Operation: 85-1=84
Exploring Operation: 85-68=17, Resulting Numbers: [1, 41, 17]
Generated Node #0,1: 57:[1, 41, 17] Operation: 85-68=17
Exploring Operation: 68-41=27, Resulting Numbers: [1, 85, 27]
Generated Node #0,2: 57:[1, 85, 27] Operation: 68-41=27
Exploring Operation: 68-1=67, Resulting Numbers: [85, 41, 67]
Generated Node #0,3: 57:[85, 41, 67] Operation: 68-1=67
Exploring Operation: 85-41=44, Resulting Numbers: [1, 68, 44]
Generated Node #0,4: 57:[1, 68, 44] Operation: 85-41=44
Start Sub Search at level 1: Moving to Node #0,1
Current State: 57:[1, 41, 17], Operations: ['85-68=17']
Exploring Operation: 1+17=18, Resulting Numbers: [41, 18]
Generated Node #0,1,0: 57:[41, 18] Operation: 1+17=18
Exploring Operation: 41+17=58, Resulting Numbers: [1, 58]
Generated Node #0,1,1: 57:[1, 58] Operation: 41+17=58
Exploring Operation: 1*41=41, Resulting Numbers: [17, 41]
Generated Node #0,1,2: 57:[17, 41] Operation: 1*41=41
Exploring Operation: 41-17=24, Resulting Numbers: [1, 24]
Generated Node #0,1,3: 57:[1, 24] Operation: 41-17=24
Exploring Operation: 1+41=42, Resulting Numbers: [17, 42]
Generated Node #0,1,4: 57:[17, 42] Operation: 1+41=42
Moving to Node #0,1,1
Current State: 57:[1, 58], Operations: ['85-68=17', '41+17=58']
Exploring Operation: 58-1=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[1, 68, 85, 41], Operations: []
Exploring Operation: 85-68=17, Resulting Numbers: [1, 41, 17]
Generated Node #0,1: 57:[1, 41, 17] Operation: 85-68=17
Moving to Node #0,1
Current State: 57:[1, 41, 17], Operations: ['85-68=17']
Exploring Operation: 41+17=58, Resulting Numbers: [1, 58]
Generated Node #0,1,1: 57:[1, 58] Operation: 41+17=58
Moving to Node #0,1,1
Current State: 57:[1, 58], Operations: ['85-68=17', '41+17=58']
Exploring Operation: 58-1=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
13,
86,
92,
10
] | 68 | [
"92-86=6",
"13*6=78",
"78-10=68"
] | Current State: 68:[13, 86, 92, 10], Operations: []
Exploring Operation: 92-86=6, Resulting Numbers: [13, 10, 6]
Generated Node #2: [13, 10, 6] from Operation: 92-86=6
Current State: 68:[13, 10, 6], Operations: ['92-86=6']
Exploring Operation: 13*6=78, Resulting Numbers: [10, 78]
Generated Node #3: [10, 78] from Operation: 13*6=78
Current State: 68:[10, 78], Operations: ['92-86=6', '13*6=78']
Exploring Operation: 78-10=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[13, 86, 92, 10], Operations: []
Exploring Operation: 86-13=73, Resulting Numbers: [92, 10, 73]
Generated Node #0,0: 68:[92, 10, 73] Operation: 86-13=73
Exploring Operation: 92-13=79, Resulting Numbers: [86, 10, 79]
Generated Node #0,1: 68:[86, 10, 79] Operation: 92-13=79
Exploring Operation: 92-86=6, Resulting Numbers: [13, 10, 6]
Generated Node #0,2: 68:[13, 10, 6] Operation: 92-86=6
Moving to Node #0,2
Current State: 68:[13, 10, 6], Operations: ['92-86=6']
Exploring Operation: 10-6=4, Resulting Numbers: [13, 4]
Generated Node #0,2,0: 68:[13, 4] Operation: 10-6=4
Exploring Operation: 10+6=16, Resulting Numbers: [13, 16]
Generated Node #0,2,1: 68:[13, 16] Operation: 10+6=16
Exploring Operation: 13-10=3, Resulting Numbers: [6, 3]
Generated Node #0,2,2: 68:[6, 3] Operation: 13-10=3
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 68:[6, 3], Operations: ['92-86=6', '13-10=3']
Exploring Operation: 6*3=18, Resulting Numbers: [18]
18,68 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,68 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 68:[13, 4], Operations: ['92-86=6', '10-6=4']
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,68 unequal: No Solution
Exploring Operation: 13*4=52, Resulting Numbers: [52]
52,68 unequal: No Solution
Exploring Operation: 13+4=17, Resulting Numbers: [17]
17,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 68:[13, 16], Operations: ['92-86=6', '10+6=16']
Exploring Operation: 16-13=3, Resulting Numbers: [3]
3,68 unequal: No Solution
Exploring Operation: 13*16=208, Resulting Numbers: [208]
208,68 unequal: No Solution
Exploring Operation: 13+16=29, Resulting Numbers: [29]
29,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 68:[92, 10, 73], Operations: ['86-13=73']
Exploring Operation: 92-10=82, Resulting Numbers: [73, 82]
Generated Node #0,0,0: 68:[73, 82] Operation: 92-10=82
Exploring Operation: 73-10=63, Resulting Numbers: [92, 63]
Generated Node #0,0,1: 68:[92, 63] Operation: 73-10=63
Exploring Operation: 92-73=19, Resulting Numbers: [10, 19]
Generated Node #0,0,2: 68:[10, 19] Operation: 92-73=19
Moving to Node #0,1
Current State: 68:[86, 10, 79], Operations: ['92-13=79']
Exploring Operation: 86-10=76, Resulting Numbers: [79, 76]
Generated Node #0,1,0: 68:[79, 76] Operation: 86-10=76
Exploring Operation: 86-79=7, Resulting Numbers: [10, 7]
Generated Node #0,1,1: 68:[10, 7] Operation: 86-79=7
Exploring Operation: 79-10=69, Resulting Numbers: [86, 69]
Generated Node #0,1,2: 68:[86, 69] Operation: 79-10=69
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 68:[10, 7], Operations: ['92-13=79', '86-79=7']
Exploring Operation: 10+7=17, Resulting Numbers: [17]
17,68 unequal: No Solution
Exploring Operation: 10-7=3, Resulting Numbers: [3]
3,68 unequal: No Solution
Exploring Operation: 10*7=70, Resulting Numbers: [70]
70,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 68:[79, 76], Operations: ['92-13=79', '86-10=76']
Exploring Operation: 79+76=155, Resulting Numbers: [155]
155,68 unequal: No Solution
Exploring Operation: 79-76=3, Resulting Numbers: [3]
3,68 unequal: No Solution
Exploring Operation: 79*76=6004, Resulting Numbers: [6004]
6004,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 68:[86, 69], Operations: ['92-13=79', '79-10=69']
Exploring Operation: 86*69=5934, Resulting Numbers: [5934]
5934,68 unequal: No Solution
Exploring Operation: 86-69=17, Resulting Numbers: [17]
17,68 unequal: No Solution
Exploring Operation: 86+69=155, Resulting Numbers: [155]
155,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,2
Current State: 68:[10, 19], Operations: ['86-13=73', '92-73=19']
Exploring Operation: 19-10=9, Resulting Numbers: [9]
9,68 unequal: No Solution
Exploring Operation: 10*19=190, Resulting Numbers: [190]
190,68 unequal: No Solution
Exploring Operation: 10+19=29, Resulting Numbers: [29]
29,68 unequal: No Solution
Moving to Node #0,0,0
Current State: 68:[73, 82], Operations: ['86-13=73', '92-10=82']
Exploring Operation: 73+82=155, Resulting Numbers: [155]
155,68 unequal: No Solution
Exploring Operation: 73*82=5986, Resulting Numbers: [5986]
5986,68 unequal: No Solution
Exploring Operation: 82-73=9, Resulting Numbers: [9]
9,68 unequal: No Solution
Moving to Node #0,0,1
Current State: 68:[92, 63], Operations: ['86-13=73', '73-10=63']
Exploring Operation: 92*63=5796, Resulting Numbers: [5796]
5796,68 unequal: No Solution
Exploring Operation: 92-63=29, Resulting Numbers: [29]
29,68 unequal: No Solution
Exploring Operation: 92+63=155, Resulting Numbers: [155]
155,68 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
4,
57,
93,
10
] | 35 | [
"57+93=150",
"150-10=140",
"140/4=35"
] | Current State: 35:[4, 57, 93, 10], Operations: []
Exploring Operation: 57+93=150, Resulting Numbers: [4, 10, 150]
Generated Node #2: [4, 10, 150] from Operation: 57+93=150
Current State: 35:[4, 10, 150], Operations: ['57+93=150']
Exploring Operation: 150-10=140, Resulting Numbers: [4, 140]
Generated Node #3: [4, 140] from Operation: 150-10=140
Current State: 35:[4, 140], Operations: ['57+93=150', '150-10=140']
Exploring Operation: 140/4=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[4, 57, 93, 10], Operations: []
Exploring Operation: 57-10=47, Resulting Numbers: [4, 93, 47]
Generated Node #0,0: 35:[4, 93, 47] Operation: 57-10=47
Exploring Operation: 93-4=89, Resulting Numbers: [57, 10, 89]
Generated Node #0,1: 35:[57, 10, 89] Operation: 93-4=89
Exploring Operation: 93-10=83, Resulting Numbers: [4, 57, 83]
Generated Node #0,2: 35:[4, 57, 83] Operation: 93-10=83
Exploring Operation: 57-4=53, Resulting Numbers: [93, 10, 53]
Generated Node #0,3: 35:[93, 10, 53] Operation: 57-4=53
Exploring Operation: 93-57=36, Resulting Numbers: [4, 10, 36]
Generated Node #0,4: 35:[4, 10, 36] Operation: 93-57=36
Start Sub Search at level 1: Moving to Node #0,4
Current State: 35:[4, 10, 36], Operations: ['93-57=36']
Exploring Operation: 36-4=32, Resulting Numbers: [10, 32]
Generated Node #0,4,0: 35:[10, 32] Operation: 36-4=32
Exploring Operation: 10-4=6, Resulting Numbers: [36, 6]
Generated Node #0,4,1: 35:[36, 6] Operation: 10-4=6
Exploring Operation: 4+10=14, Resulting Numbers: [36, 14]
Generated Node #0,4,2: 35:[36, 14] Operation: 4+10=14
Exploring Operation: 4*10=40, Resulting Numbers: [36, 40]
Generated Node #0,4,3: 35:[36, 40] Operation: 4*10=40
Exploring Operation: 36/4=9, Resulting Numbers: [10, 9]
Generated Node #0,4,4: 35:[10, 9] Operation: 36/4=9
Moving to Node #0,4,1
Current State: 35:[36, 6], Operations: ['93-57=36', '10-4=6']
Exploring Operation: 36+6=42, Resulting Numbers: [42]
42,35 unequal: No Solution
Exploring Operation: 36*6=216, Resulting Numbers: [216]
216,35 unequal: No Solution
Exploring Operation: 36-6=30, Resulting Numbers: [30]
30,35 unequal: No Solution
Exploring Operation: 36/6=6, Resulting Numbers: [6]
6,35 unequal: No Solution
Moving to Node #0,4,4
Current State: 35:[10, 9], Operations: ['93-57=36', '36/4=9']
Exploring Operation: 10*9=90, Resulting Numbers: [90]
90,35 unequal: No Solution
Exploring Operation: 10+9=19, Resulting Numbers: [19]
19,35 unequal: No Solution
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,35 unequal: No Solution
Moving to Node #0,4,0
Current State: 35:[10, 32], Operations: ['93-57=36', '36-4=32']
Exploring Operation: 10*32=320, Resulting Numbers: [320]
320,35 unequal: No Solution
Exploring Operation: 10+32=42, Resulting Numbers: [42]
42,35 unequal: No Solution
Exploring Operation: 32-10=22, Resulting Numbers: [22]
22,35 unequal: No Solution
Moving to Node #0,4,3
Current State: 35:[36, 40], Operations: ['93-57=36', '4*10=40']
Exploring Operation: 36+40=76, Resulting Numbers: [76]
76,35 unequal: No Solution
Exploring Operation: 36*40=1440, Resulting Numbers: [1440]
1440,35 unequal: No Solution
Exploring Operation: 40-36=4, Resulting Numbers: [4]
4,35 unequal: No Solution
Moving to Node #0,4,2
Current State: 35:[36, 14], Operations: ['93-57=36', '4+10=14']
Exploring Operation: 36*14=504, Resulting Numbers: [504]
504,35 unequal: No Solution
Exploring Operation: 36+14=50, Resulting Numbers: [50]
50,35 unequal: No Solution
Exploring Operation: 36-14=22, Resulting Numbers: [22]
22,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[4, 93, 47], Operations: ['57-10=47']
Exploring Operation: 93-47=46, Resulting Numbers: [4, 46]
Generated Node #0,0,0: 35:[4, 46] Operation: 93-47=46
Exploring Operation: 4+93=97, Resulting Numbers: [47, 97]
Generated Node #0,0,1: 35:[47, 97] Operation: 4+93=97
Exploring Operation: 93-4=89, Resulting Numbers: [47, 89]
Generated Node #0,0,2: 35:[47, 89] Operation: 93-4=89
Exploring Operation: 4+47=51, Resulting Numbers: [93, 51]
Generated Node #0,0,3: 35:[93, 51] Operation: 4+47=51
Exploring Operation: 47-4=43, Resulting Numbers: [93, 43]
Generated Node #0,0,4: 35:[93, 43] Operation: 47-4=43
Moving to Node #0,0,0
Current State: 35:[4, 46], Operations: ['57-10=47', '93-47=46']
Exploring Operation: 4+46=50, Resulting Numbers: [50]
50,35 unequal: No Solution
Exploring Operation: 4*46=184, Resulting Numbers: [184]
184,35 unequal: No Solution
Exploring Operation: 46-4=42, Resulting Numbers: [42]
42,35 unequal: No Solution
Moving to Node #0,0,4
Current State: 35:[93, 43], Operations: ['57-10=47', '47-4=43']
Exploring Operation: 93+43=136, Resulting Numbers: [136]
136,35 unequal: No Solution
Exploring Operation: 93*43=3999, Resulting Numbers: [3999]
3999,35 unequal: No Solution
Exploring Operation: 93-43=50, Resulting Numbers: [50]
50,35 unequal: No Solution
Moving to Node #0,0,2
Current State: 35:[47, 89], Operations: ['57-10=47', '93-4=89']
Exploring Operation: 47*89=4183, Resulting Numbers: [4183]
4183,35 unequal: No Solution
Exploring Operation: 89-47=42, Resulting Numbers: [42]
42,35 unequal: No Solution
Exploring Operation: 47+89=136, Resulting Numbers: [136]
136,35 unequal: No Solution
Moving to Node #0,0,1
Current State: 35:[47, 97], Operations: ['57-10=47', '4+93=97']
Exploring Operation: 47+97=144, Resulting Numbers: [144]
144,35 unequal: No Solution
Exploring Operation: 47*97=4559, Resulting Numbers: [4559]
4559,35 unequal: No Solution
Exploring Operation: 97-47=50, Resulting Numbers: [50]
50,35 unequal: No Solution
Moving to Node #0,0,3
Current State: 35:[93, 51], Operations: ['57-10=47', '4+47=51']
Exploring Operation: 93+51=144, Resulting Numbers: [144]
144,35 unequal: No Solution
Exploring Operation: 93*51=4743, Resulting Numbers: [4743]
4743,35 unequal: No Solution
Exploring Operation: 93-51=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,2
Current State: 35:[4, 57, 83], Operations: ['93-10=83']
Exploring Operation: 57-4=53, Resulting Numbers: [83, 53]
Generated Node #0,2,0: 35:[83, 53] Operation: 57-4=53
Exploring Operation: 83-57=26, Resulting Numbers: [4, 26]
Generated Node #0,2,1: 35:[4, 26] Operation: 83-57=26
Exploring Operation: 4+57=61, Resulting Numbers: [83, 61]
Generated Node #0,2,2: 35:[83, 61] Operation: 4+57=61
Exploring Operation: 4+83=87, Resulting Numbers: [57, 87]
Generated Node #0,2,3: 35:[57, 87] Operation: 4+83=87
Exploring Operation: 83-4=79, Resulting Numbers: [57, 79]
Generated Node #0,2,4: 35:[57, 79] Operation: 83-4=79
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 35:[4, 26], Operations: ['93-10=83', '83-57=26']
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,35 unequal: No Solution
Exploring Operation: 4*26=104, Resulting Numbers: [104]
104,35 unequal: No Solution
Exploring Operation: 4+26=30, Resulting Numbers: [30]
30,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 35:[83, 53], Operations: ['93-10=83', '57-4=53']
Exploring Operation: 83-53=30, Resulting Numbers: [30]
30,35 unequal: No Solution
Exploring Operation: 83*53=4399, Resulting Numbers: [4399]
4399,35 unequal: No Solution
Exploring Operation: 83+53=136, Resulting Numbers: [136]
136,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 35:[57, 79], Operations: ['93-10=83', '83-4=79']
Exploring Operation: 79-57=22, Resulting Numbers: [22]
22,35 unequal: No Solution
Exploring Operation: 57+79=136, Resulting Numbers: [136]
136,35 unequal: No Solution
Exploring Operation: 57*79=4503, Resulting Numbers: [4503]
4503,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 35:[83, 61], Operations: ['93-10=83', '4+57=61']
Exploring Operation: 83*61=5063, Resulting Numbers: [5063]
5063,35 unequal: No Solution
Exploring Operation: 83-61=22, Resulting Numbers: [22]
22,35 unequal: No Solution
Exploring Operation: 83+61=144, Resulting Numbers: [144]
144,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 35:[57, 87], Operations: ['93-10=83', '4+83=87']
Exploring Operation: 87-57=30, Resulting Numbers: [30]
30,35 unequal: No Solution
Exploring Operation: 57+87=144, Resulting Numbers: [144]
144,35 unequal: No Solution
Exploring Operation: 57*87=4959, Resulting Numbers: [4959]
4959,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 35:[57, 10, 89], Operations: ['93-4=89']
Exploring Operation: 57-10=47, Resulting Numbers: [89, 47]
Generated Node #0,1,0: 35:[89, 47] Operation: 57-10=47
Exploring Operation: 57+10=67, Resulting Numbers: [89, 67]
Generated Node #0,1,1: 35:[89, 67] Operation: 57+10=67
Exploring Operation: 10+89=99, Resulting Numbers: [57, 99]
Generated Node #0,1,2: 35:[57, 99] Operation: 10+89=99
Exploring Operation: 89-10=79, Resulting Numbers: [57, 79]
Generated Node #0,1,3: 35:[57, 79] Operation: 89-10=79
Exploring Operation: 89-57=32, Resulting Numbers: [10, 32]
Generated Node #0,1,4: 35:[10, 32] Operation: 89-57=32
Moving to Node #0,1,4
Current State: 35:[10, 32], Operations: ['93-4=89', '89-57=32']
Exploring Operation: 32-10=22, Resulting Numbers: [22]
22,35 unequal: No Solution
Exploring Operation: 10+32=42, Resulting Numbers: [42]
42,35 unequal: No Solution
Exploring Operation: 10*32=320, Resulting Numbers: [320]
320,35 unequal: No Solution
Moving to Node #0,1,3
Current State: 35:[57, 79], Operations: ['93-4=89', '89-10=79']
Exploring Operation: 57+79=136, Resulting Numbers: [136]
136,35 unequal: No Solution
Exploring Operation: 57*79=4503, Resulting Numbers: [4503]
4503,35 unequal: No Solution
Exploring Operation: 79-57=22, Resulting Numbers: [22]
22,35 unequal: No Solution
Moving to Node #0,1,0
Current State: 35:[89, 47], Operations: ['93-4=89', '57-10=47']
Exploring Operation: 89-47=42, Resulting Numbers: [42]
42,35 unequal: No Solution
Exploring Operation: 89*47=4183, Resulting Numbers: [4183]
4183,35 unequal: No Solution
Exploring Operation: 89+47=136, Resulting Numbers: [136]
136,35 unequal: No Solution
Moving to Node #0,1,1
Current State: 35:[89, 67], Operations: ['93-4=89', '57+10=67']
Exploring Operation: 89+67=156, Resulting Numbers: [156]
156,35 unequal: No Solution
Exploring Operation: 89*67=5963, Resulting Numbers: [5963]
5963,35 unequal: No Solution
Exploring Operation: 89-67=22, Resulting Numbers: [22]
22,35 unequal: No Solution
Moving to Node #0,1,2
Current State: 35:[57, 99], Operations: ['93-4=89', '10+89=99']
Exploring Operation: 57*99=5643, Resulting Numbers: [5643]
5643,35 unequal: No Solution
Exploring Operation: 57+99=156, Resulting Numbers: [156]
156,35 unequal: No Solution
Exploring Operation: 99-57=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,3
Current State: 35:[93, 10, 53], Operations: ['57-4=53']
Exploring Operation: 93-53=40, Resulting Numbers: [10, 40]
Generated Node #0,3,0: 35:[10, 40] Operation: 93-53=40
Exploring Operation: 10+53=63, Resulting Numbers: [93, 63]
Generated Node #0,3,1: 35:[93, 63] Operation: 10+53=63
Exploring Operation: 53-10=43, Resulting Numbers: [93, 43]
Generated Node #0,3,2: 35:[93, 43] Operation: 53-10=43
Exploring Operation: 93+10=103, Resulting Numbers: [53, 103]
Generated Node #0,3,3: 35:[53, 103] Operation: 93+10=103
Exploring Operation: 93-10=83, Resulting Numbers: [53, 83]
Generated Node #0,3,4: 35:[53, 83] Operation: 93-10=83
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 35:[10, 40], Operations: ['57-4=53', '93-53=40']
Exploring Operation: 40-10=30, Resulting Numbers: [30]
30,35 unequal: No Solution
Exploring Operation: 10*40=400, Resulting Numbers: [400]
400,35 unequal: No Solution
Exploring Operation: 10+40=50, Resulting Numbers: [50]
50,35 unequal: No Solution
Exploring Operation: 40/10=4, Resulting Numbers: [4]
4,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 35:[93, 43], Operations: ['57-4=53', '53-10=43']
Exploring Operation: 93+43=136, Resulting Numbers: [136]
136,35 unequal: No Solution
Exploring Operation: 93-43=50, Resulting Numbers: [50]
50,35 unequal: No Solution
Exploring Operation: 93*43=3999, Resulting Numbers: [3999]
3999,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 35:[53, 83], Operations: ['57-4=53', '93-10=83']
Exploring Operation: 53+83=136, Resulting Numbers: [136]
136,35 unequal: No Solution
Exploring Operation: 83-53=30, Resulting Numbers: [30]
30,35 unequal: No Solution
Exploring Operation: 53*83=4399, Resulting Numbers: [4399]
4399,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 35:[93, 63], Operations: ['57-4=53', '10+53=63']
Exploring Operation: 93*63=5859, Resulting Numbers: [5859]
5859,35 unequal: No Solution
Exploring Operation: 93-63=30, Resulting Numbers: [30]
30,35 unequal: No Solution
Exploring Operation: 93+63=156, Resulting Numbers: [156]
156,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 35:[53, 103], Operations: ['57-4=53', '93+10=103']
Exploring Operation: 103-53=50, Resulting Numbers: [50]
50,35 unequal: No Solution
Exploring Operation: 53+103=156, Resulting Numbers: [156]
156,35 unequal: No Solution
Exploring Operation: 53*103=5459, Resulting Numbers: [5459]
5459,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
59,
64,
26,
56
] | 77 | [
"64-59=5",
"26+56=82",
"82-5=77"
] | Current State: 77:[59, 64, 26, 56], Operations: []
Exploring Operation: 64-59=5, Resulting Numbers: [26, 56, 5]
Generated Node #2: [26, 56, 5] from Operation: 64-59=5
Current State: 77:[26, 56, 5], Operations: ['64-59=5']
Exploring Operation: 26+56=82, Resulting Numbers: [5, 82]
Generated Node #3: [5, 82] from Operation: 26+56=82
Current State: 77:[5, 82], Operations: ['64-59=5', '26+56=82']
Exploring Operation: 82-5=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[59, 64, 26, 56], Operations: []
Exploring Operation: 59-56=3, Resulting Numbers: [64, 26, 3]
Generated Node #0,0: 77:[64, 26, 3] Operation: 59-56=3
Exploring Operation: 64-56=8, Resulting Numbers: [59, 26, 8]
Generated Node #0,1: 77:[59, 26, 8] Operation: 64-56=8
Exploring Operation: 26+56=82, Resulting Numbers: [59, 64, 82]
Generated Node #0,2: 77:[59, 64, 82] Operation: 26+56=82
Moving to Node #0,0
Current State: 77:[64, 26, 3], Operations: ['59-56=3']
Exploring Operation: 64+3=67, Resulting Numbers: [26, 67]
Generated Node #0,0,0: 77:[26, 67] Operation: 64+3=67
Exploring Operation: 26*3=78, Resulting Numbers: [64, 78]
Generated Node #0,0,1: 77:[64, 78] Operation: 26*3=78
Exploring Operation: 64+26=90, Resulting Numbers: [3, 90]
Generated Node #0,0,2: 77:[3, 90] Operation: 64+26=90
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 77:[64, 78], Operations: ['59-56=3', '26*3=78']
Exploring Operation: 78-64=14, Resulting Numbers: [14]
14,77 unequal: No Solution
Exploring Operation: 64*78=4992, Resulting Numbers: [4992]
4992,77 unequal: No Solution
Exploring Operation: 64+78=142, Resulting Numbers: [142]
142,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,0,2
Current State: 77:[3, 90], Operations: ['59-56=3', '64+26=90']
Exploring Operation: 90/3=30, Resulting Numbers: [30]
30,77 unequal: No Solution
Exploring Operation: 3+90=93, Resulting Numbers: [93]
93,77 unequal: No Solution
Exploring Operation: 90-3=87, Resulting Numbers: [87]
87,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,0,0
Current State: 77:[26, 67], Operations: ['59-56=3', '64+3=67']
Exploring Operation: 26*67=1742, Resulting Numbers: [1742]
1742,77 unequal: No Solution
Exploring Operation: 26+67=93, Resulting Numbers: [93]
93,77 unequal: No Solution
Exploring Operation: 67-26=41, Resulting Numbers: [41]
41,77 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: 77:[59, 26, 8], Operations: ['64-56=8']
Exploring Operation: 59+8=67, Resulting Numbers: [26, 67]
Generated Node #0,1,0: 77:[26, 67] Operation: 59+8=67
Exploring Operation: 59+26=85, Resulting Numbers: [8, 85]
Generated Node #0,1,1: 77:[8, 85] Operation: 59+26=85
Exploring Operation: 59-26=33, Resulting Numbers: [8, 33]
Generated Node #0,1,2: 77:[8, 33] Operation: 59-26=33
Moving to Node #0,2
Current State: 77:[59, 64, 82], Operations: ['26+56=82']
Exploring Operation: 64-59=5, Resulting Numbers: [82, 5]
Generated Node #0,2,0: 77:[82, 5] Operation: 64-59=5
Exploring Operation: 82-59=23, Resulting Numbers: [64, 23]
Generated Node #0,2,1: 77:[64, 23] Operation: 82-59=23
Exploring Operation: 82-64=18, Resulting Numbers: [59, 18]
Generated Node #0,2,2: 77:[59, 18] Operation: 82-64=18
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 77:[82, 5], Operations: ['26+56=82', '64-59=5']
Exploring Operation: 82-5=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[59, 64, 26, 56], Operations: []
Exploring Operation: 26+56=82, Resulting Numbers: [59, 64, 82]
Generated Node #0,2: 77:[59, 64, 82] Operation: 26+56=82
Moving to Node #0,2
Current State: 77:[59, 64, 82], Operations: ['26+56=82']
Exploring Operation: 64-59=5, Resulting Numbers: [82, 5]
Generated Node #0,2,0: 77:[82, 5] Operation: 64-59=5
Moving to Node #0,2,0
Current State: 77:[82, 5], Operations: ['26+56=82', '64-59=5']
Exploring Operation: 82-5=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_3 | mult_heuristic |
[
50,
93,
17,
95
] | 69 | [
"93-50=43",
"17+95=112",
"112-43=69"
] | Current State: 69:[50, 93, 17, 95], Operations: []
Exploring Operation: 93-50=43, Resulting Numbers: [17, 95, 43]
Generated Node #2: [17, 95, 43] from Operation: 93-50=43
Current State: 69:[17, 95, 43], Operations: ['93-50=43']
Exploring Operation: 17+95=112, Resulting Numbers: [43, 112]
Generated Node #3: [43, 112] from Operation: 17+95=112
Current State: 69:[43, 112], Operations: ['93-50=43', '17+95=112']
Exploring Operation: 112-43=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[50, 93, 17, 95], Operations: []
Exploring Operation: 95-93=2, Resulting Numbers: [50, 17, 2]
Generated Node #0,0: 69:[50, 17, 2] Operation: 95-93=2
Exploring Operation: 93-50=43, Resulting Numbers: [17, 95, 43]
Generated Node #0,1: 69:[17, 95, 43] Operation: 93-50=43
Moving to Node #0,0
Current State: 69:[50, 17, 2], Operations: ['95-93=2']
Exploring Operation: 50/2=25, Resulting Numbers: [17, 25]
Generated Node #0,0,0: 69:[17, 25] Operation: 50/2=25
Exploring Operation: 50+17=67, Resulting Numbers: [2, 67]
Generated Node #0,0,1: 69:[2, 67] Operation: 50+17=67
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 69:[2, 67], Operations: ['95-93=2', '50+17=67']
Exploring Operation: 2+67=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[50, 93, 17, 95], Operations: []
Exploring Operation: 95-93=2, Resulting Numbers: [50, 17, 2]
Generated Node #0,0: 69:[50, 17, 2] Operation: 95-93=2
Moving to Node #0,0
Current State: 69:[50, 17, 2], Operations: ['95-93=2']
Exploring Operation: 50+17=67, Resulting Numbers: [2, 67]
Generated Node #0,0,1: 69:[2, 67] Operation: 50+17=67
Moving to Node #0,0,1
Current State: 69:[2, 67], Operations: ['95-93=2', '50+17=67']
Exploring Operation: 2+67=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
24,
50,
8,
48
] | 66 | [
"50-24=26",
"48-8=40",
"26+40=66"
] | Current State: 66:[24, 50, 8, 48], Operations: []
Exploring Operation: 50-24=26, Resulting Numbers: [8, 48, 26]
Generated Node #2: [8, 48, 26] from Operation: 50-24=26
Current State: 66:[8, 48, 26], Operations: ['50-24=26']
Exploring Operation: 48-8=40, Resulting Numbers: [26, 40]
Generated Node #3: [26, 40] from Operation: 48-8=40
Current State: 66:[26, 40], Operations: ['50-24=26', '48-8=40']
Exploring Operation: 26+40=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[24, 50, 8, 48], Operations: []
Exploring Operation: 50-48=2, Resulting Numbers: [24, 8, 2]
Generated Node #0,0: 66:[24, 8, 2] Operation: 50-48=2
Exploring Operation: 48/24=2, Resulting Numbers: [50, 8, 2]
Generated Node #0,1: 66:[50, 8, 2] Operation: 48/24=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[24, 8, 2], Operations: ['50-48=2']
Exploring Operation: 24/8=3, Resulting Numbers: [2, 3]
Generated Node #0,0,0: 66:[2, 3] Operation: 24/8=3
Exploring Operation: 24+8=32, Resulting Numbers: [2, 32]
Generated Node #0,0,1: 66:[2, 32] Operation: 24+8=32
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 66:[2, 3], Operations: ['50-48=2', '24/8=3']
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,66 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 66:[2, 32], Operations: ['50-48=2', '24+8=32']
Exploring Operation: 2*32=64, Resulting Numbers: [64]
64,66 unequal: No Solution
Exploring Operation: 2+32=34, Resulting Numbers: [34]
34,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 66:[50, 8, 2], Operations: ['48/24=2']
Exploring Operation: 50/2=25, Resulting Numbers: [8, 25]
Generated Node #0,1,0: 66:[8, 25] Operation: 50/2=25
Exploring Operation: 50+8=58, Resulting Numbers: [2, 58]
Generated Node #0,1,1: 66:[2, 58] Operation: 50+8=58
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 66:[8, 25], Operations: ['48/24=2', '50/2=25']
Exploring Operation: 25-8=17, Resulting Numbers: [17]
17,66 unequal: No Solution
Exploring Operation: 8+25=33, Resulting Numbers: [33]
33,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 66:[2, 58], Operations: ['48/24=2', '50+8=58']
Exploring Operation: 58/2=29, Resulting Numbers: [29]
29,66 unequal: No Solution
Exploring Operation: 2+58=60, Resulting Numbers: [60]
60,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_2 | mult_heuristic |
[
3,
20,
59,
97
] | 84 | [
"59-20=39",
"39/3=13",
"97-13=84"
] | Current State: 84:[3, 20, 59, 97], Operations: []
Exploring Operation: 59-20=39, Resulting Numbers: [3, 97, 39]
Generated Node #2: [3, 97, 39] from Operation: 59-20=39
Current State: 84:[3, 97, 39], Operations: ['59-20=39']
Exploring Operation: 39/3=13, Resulting Numbers: [97, 13]
Generated Node #3: [97, 13] from Operation: 39/3=13
Current State: 84:[97, 13], Operations: ['59-20=39', '39/3=13']
Exploring Operation: 97-13=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[3, 20, 59, 97], Operations: []
Exploring Operation: 59-20=39, Resulting Numbers: [3, 97, 39]
Generated Node #0,0: 84:[3, 97, 39] Operation: 59-20=39
Exploring Operation: 97-59=38, Resulting Numbers: [3, 20, 38]
Generated Node #0,1: 84:[3, 20, 38] Operation: 97-59=38
Exploring Operation: 20+59=79, Resulting Numbers: [3, 97, 79]
Generated Node #0,2: 84:[3, 97, 79] Operation: 20+59=79
Exploring Operation: 97-20=77, Resulting Numbers: [3, 59, 77]
Generated Node #0,3: 84:[3, 59, 77] Operation: 97-20=77
Moving to Node #0,1
Current State: 84:[3, 20, 38], Operations: ['97-59=38']
Exploring Operation: 38-20=18, Resulting Numbers: [3, 18]
Generated Node #0,1,0: 84:[3, 18] Operation: 38-20=18
Exploring Operation: 3+20=23, Resulting Numbers: [38, 23]
Generated Node #0,1,1: 84:[38, 23] Operation: 3+20=23
Exploring Operation: 20-3=17, Resulting Numbers: [38, 17]
Generated Node #0,1,2: 84:[38, 17] Operation: 20-3=17
Exploring Operation: 3+38=41, Resulting Numbers: [20, 41]
Generated Node #0,1,3: 84:[20, 41] Operation: 3+38=41
Moving to Node #0,0
Current State: 84:[3, 97, 39], Operations: ['59-20=39']
Exploring Operation: 39/3=13, Resulting Numbers: [97, 13]
Generated Node #0,0,0: 84:[97, 13] Operation: 39/3=13
Exploring Operation: 97-39=58, Resulting Numbers: [3, 58]
Generated Node #0,0,1: 84:[3, 58] Operation: 97-39=58
Exploring Operation: 97-3=94, Resulting Numbers: [39, 94]
Generated Node #0,0,2: 84:[39, 94] Operation: 97-3=94
Exploring Operation: 3+39=42, Resulting Numbers: [97, 42]
Generated Node #0,0,3: 84:[97, 42] Operation: 3+39=42
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 84:[39, 94], Operations: ['59-20=39', '97-3=94']
Exploring Operation: 39+94=133, Resulting Numbers: [133]
133,84 unequal: No Solution
Exploring Operation: 94-39=55, Resulting Numbers: [55]
55,84 unequal: No Solution
Exploring Operation: 39*94=3666, Resulting Numbers: [3666]
3666,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 84:[97, 42], Operations: ['59-20=39', '3+39=42']
Exploring Operation: 97+42=139, Resulting Numbers: [139]
139,84 unequal: No Solution
Exploring Operation: 97*42=4074, Resulting Numbers: [4074]
4074,84 unequal: No Solution
Exploring Operation: 97-42=55, Resulting Numbers: [55]
55,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 84:[97, 13], Operations: ['59-20=39', '39/3=13']
Exploring Operation: 97-13=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[3, 20, 59, 97], Operations: []
Exploring Operation: 59-20=39, Resulting Numbers: [3, 97, 39]
Generated Node #0,0: 84:[3, 97, 39] Operation: 59-20=39
Moving to Node #0,0
Current State: 84:[3, 97, 39], Operations: ['59-20=39']
Exploring Operation: 39/3=13, Resulting Numbers: [97, 13]
Generated Node #0,0,0: 84:[97, 13] Operation: 39/3=13
Moving to Node #0,0,0
Current State: 84:[97, 13], Operations: ['59-20=39', '39/3=13']
Exploring Operation: 97-13=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_4 | sum_heuristic |
[
49,
6,
85,
60
] | 80 | [
"49+6=55",
"85-60=25",
"55+25=80"
] | Current State: 80:[49, 6, 85, 60], Operations: []
Exploring Operation: 49+6=55, Resulting Numbers: [85, 60, 55]
Generated Node #2: [85, 60, 55] from Operation: 49+6=55
Current State: 80:[85, 60, 55], Operations: ['49+6=55']
Exploring Operation: 85-60=25, Resulting Numbers: [55, 25]
Generated Node #3: [55, 25] from Operation: 85-60=25
Current State: 80:[55, 25], Operations: ['49+6=55', '85-60=25']
Exploring Operation: 55+25=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[49, 6, 85, 60], Operations: []
Exploring Operation: 60-49=11, Resulting Numbers: [6, 85, 11]
Generated Node #0,0: 80:[6, 85, 11] Operation: 60-49=11
Exploring Operation: 60/6=10, Resulting Numbers: [49, 85, 10]
Generated Node #0,1: 80:[49, 85, 10] Operation: 60/6=10
Moving to Node #0,0
Current State: 80:[6, 85, 11], Operations: ['60-49=11']
Exploring Operation: 85-6=79, Resulting Numbers: [11, 79]
Generated Node #0,0,0: 80:[11, 79] Operation: 85-6=79
Exploring Operation: 11-6=5, Resulting Numbers: [85, 5]
Generated Node #0,0,1: 80:[85, 5] Operation: 11-6=5
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 80:[11, 79], Operations: ['60-49=11', '85-6=79']
Exploring Operation: 11+79=90, Resulting Numbers: [90]
90,80 unequal: No Solution
Exploring Operation: 79-11=68, Resulting Numbers: [68]
68,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:[85, 5], Operations: ['60-49=11', '11-6=5']
Exploring Operation: 85/5=17, Resulting Numbers: [17]
17,80 unequal: No Solution
Exploring Operation: 85-5=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[49, 6, 85, 60], Operations: []
Exploring Operation: 60-49=11, Resulting Numbers: [6, 85, 11]
Generated Node #0,0: 80:[6, 85, 11] Operation: 60-49=11
Moving to Node #0,0
Current State: 80:[6, 85, 11], Operations: ['60-49=11']
Exploring Operation: 11-6=5, Resulting Numbers: [85, 5]
Generated Node #0,0,1: 80:[85, 5] Operation: 11-6=5
Moving to Node #0,0,1
Current State: 80:[85, 5], Operations: ['60-49=11', '11-6=5']
Exploring Operation: 85-5=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
9,
90,
21,
73
] | 42 | [
"90/9=10",
"73-21=52",
"52-10=42"
] | Current State: 42:[9, 90, 21, 73], Operations: []
Exploring Operation: 90/9=10, Resulting Numbers: [21, 73, 10]
Generated Node #2: [21, 73, 10] from Operation: 90/9=10
Current State: 42:[21, 73, 10], Operations: ['90/9=10']
Exploring Operation: 73-21=52, Resulting Numbers: [10, 52]
Generated Node #3: [10, 52] from Operation: 73-21=52
Current State: 42:[10, 52], Operations: ['90/9=10', '73-21=52']
Exploring Operation: 52-10=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[9, 90, 21, 73], Operations: []
Exploring Operation: 90-9=81, Resulting Numbers: [21, 73, 81]
Generated Node #0,0: 42:[21, 73, 81] Operation: 90-9=81
Exploring Operation: 90-21=69, Resulting Numbers: [9, 73, 69]
Generated Node #0,1: 42:[9, 73, 69] Operation: 90-21=69
Exploring Operation: 90/9=10, Resulting Numbers: [21, 73, 10]
Generated Node #0,2: 42:[21, 73, 10] Operation: 90/9=10
Exploring Operation: 90-73=17, Resulting Numbers: [9, 21, 17]
Generated Node #0,3: 42:[9, 21, 17] Operation: 90-73=17
Exploring Operation: 73-21=52, Resulting Numbers: [9, 90, 52]
Generated Node #0,4: 42:[9, 90, 52] Operation: 73-21=52
Moving to Node #0,3
Current State: 42:[9, 21, 17], Operations: ['90-73=17']
Exploring Operation: 21-9=12, Resulting Numbers: [17, 12]
Generated Node #0,3,0: 42:[17, 12] Operation: 21-9=12
Exploring Operation: 9+17=26, Resulting Numbers: [21, 26]
Generated Node #0,3,1: 42:[21, 26] Operation: 9+17=26
Exploring Operation: 21+17=38, Resulting Numbers: [9, 38]
Generated Node #0,3,2: 42:[9, 38] Operation: 21+17=38
Exploring Operation: 17-9=8, Resulting Numbers: [21, 8]
Generated Node #0,3,3: 42:[21, 8] Operation: 17-9=8
Exploring Operation: 21-17=4, Resulting Numbers: [9, 4]
Generated Node #0,3,4: 42:[9, 4] Operation: 21-17=4
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 42:[21, 8], Operations: ['90-73=17', '17-9=8']
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,42 unequal: No Solution
Exploring Operation: 21+8=29, Resulting Numbers: [29]
29,42 unequal: No Solution
Exploring Operation: 21*8=168, Resulting Numbers: [168]
168,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 42:[9, 4], Operations: ['90-73=17', '21-17=4']
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,42 unequal: No Solution
Exploring Operation: 9*4=36, Resulting Numbers: [36]
36,42 unequal: No Solution
Exploring Operation: 9+4=13, Resulting Numbers: [13]
13,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 42:[17, 12], Operations: ['90-73=17', '21-9=12']
Exploring Operation: 17-12=5, Resulting Numbers: [5]
5,42 unequal: No Solution
Exploring Operation: 17*12=204, Resulting Numbers: [204]
204,42 unequal: No Solution
Exploring Operation: 17+12=29, Resulting Numbers: [29]
29,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 42:[21, 26], Operations: ['90-73=17', '9+17=26']
Exploring Operation: 26-21=5, Resulting Numbers: [5]
5,42 unequal: No Solution
Exploring Operation: 21+26=47, Resulting Numbers: [47]
47,42 unequal: No Solution
Exploring Operation: 21*26=546, Resulting Numbers: [546]
546,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 42:[9, 38], Operations: ['90-73=17', '21+17=38']
Exploring Operation: 9*38=342, Resulting Numbers: [342]
342,42 unequal: No Solution
Exploring Operation: 38-9=29, Resulting Numbers: [29]
29,42 unequal: No Solution
Exploring Operation: 9+38=47, Resulting Numbers: [47]
47,42 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: 42:[21, 73, 10], Operations: ['90/9=10']
Exploring Operation: 21+10=31, Resulting Numbers: [73, 31]
Generated Node #0,2,0: 42:[73, 31] Operation: 21+10=31
Exploring Operation: 73-21=52, Resulting Numbers: [10, 52]
Generated Node #0,2,1: 42:[10, 52] Operation: 73-21=52
Exploring Operation: 73+10=83, Resulting Numbers: [21, 83]
Generated Node #0,2,2: 42:[21, 83] Operation: 73+10=83
Exploring Operation: 21-10=11, Resulting Numbers: [73, 11]
Generated Node #0,2,3: 42:[73, 11] Operation: 21-10=11
Exploring Operation: 73-10=63, Resulting Numbers: [21, 63]
Generated Node #0,2,4: 42:[21, 63] Operation: 73-10=63
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 42:[10, 52], Operations: ['90/9=10', '73-21=52']
Exploring Operation: 52-10=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[9, 90, 21, 73], Operations: []
Exploring Operation: 90/9=10, Resulting Numbers: [21, 73, 10]
Generated Node #0,2: 42:[21, 73, 10] Operation: 90/9=10
Moving to Node #0,2
Current State: 42:[21, 73, 10], Operations: ['90/9=10']
Exploring Operation: 73-21=52, Resulting Numbers: [10, 52]
Generated Node #0,2,1: 42:[10, 52] Operation: 73-21=52
Moving to Node #0,2,1
Current State: 42:[10, 52], Operations: ['90/9=10', '73-21=52']
Exploring Operation: 52-10=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 1
| 0.969618 | hs_5 | mult_heuristic |
[
26,
35,
47,
85
] | 78 | [
"35+47=82",
"85-82=3",
"26*3=78"
] | Current State: 78:[26, 35, 47, 85], Operations: []
Exploring Operation: 35+47=82, Resulting Numbers: [26, 85, 82]
Generated Node #2: [26, 85, 82] from Operation: 35+47=82
Current State: 78:[26, 85, 82], Operations: ['35+47=82']
Exploring Operation: 85-82=3, Resulting Numbers: [26, 3]
Generated Node #3: [26, 3] from Operation: 85-82=3
Current State: 78:[26, 3], Operations: ['35+47=82', '85-82=3']
Exploring Operation: 26*3=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[26, 35, 47, 85], Operations: []
Exploring Operation: 85-47=38, Resulting Numbers: [26, 35, 38]
Generated Node #0,0: 78:[26, 35, 38] Operation: 85-47=38
Exploring Operation: 47-35=12, Resulting Numbers: [26, 85, 12]
Generated Node #0,1: 78:[26, 85, 12] Operation: 47-35=12
Exploring Operation: 35+47=82, Resulting Numbers: [26, 85, 82]
Generated Node #0,2: 78:[26, 85, 82] Operation: 35+47=82
Exploring Operation: 26+47=73, Resulting Numbers: [35, 85, 73]
Generated Node #0,3: 78:[35, 85, 73] Operation: 26+47=73
Exploring Operation: 47-26=21, Resulting Numbers: [35, 85, 21]
Generated Node #0,4: 78:[35, 85, 21] Operation: 47-26=21
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[26, 35, 38], Operations: ['85-47=38']
Exploring Operation: 35-26=9, Resulting Numbers: [38, 9]
Generated Node #0,0,0: 78:[38, 9] Operation: 35-26=9
Exploring Operation: 38-35=3, Resulting Numbers: [26, 3]
Generated Node #0,0,1: 78:[26, 3] Operation: 38-35=3
Exploring Operation: 38-26=12, Resulting Numbers: [35, 12]
Generated Node #0,0,2: 78:[35, 12] Operation: 38-26=12
Exploring Operation: 35+38=73, Resulting Numbers: [26, 73]
Generated Node #0,0,3: 78:[26, 73] Operation: 35+38=73
Exploring Operation: 26+35=61, Resulting Numbers: [38, 61]
Generated Node #0,0,4: 78:[38, 61] Operation: 26+35=61
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 78:[26, 3], Operations: ['85-47=38', '38-35=3']
Exploring Operation: 26+3=29, Resulting Numbers: [29]
29,78 unequal: No Solution
Exploring Operation: 26-3=23, Resulting Numbers: [23]
23,78 unequal: No Solution
Exploring Operation: 26*3=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[26, 35, 47, 85], Operations: []
Exploring Operation: 85-47=38, Resulting Numbers: [26, 35, 38]
Generated Node #0,0: 78:[26, 35, 38] Operation: 85-47=38
Moving to Node #0,0
Current State: 78:[26, 35, 38], Operations: ['85-47=38']
Exploring Operation: 38-35=3, Resulting Numbers: [26, 3]
Generated Node #0,0,1: 78:[26, 3] Operation: 38-35=3
Moving to Node #0,0,1
Current State: 78:[26, 3], Operations: ['85-47=38', '38-35=3']
Exploring Operation: 26*3=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
68,
59,
26,
97
] | 62 | [
"68-59=9",
"97-26=71",
"71-9=62"
] | Current State: 62:[68, 59, 26, 97], Operations: []
Exploring Operation: 68-59=9, Resulting Numbers: [26, 97, 9]
Generated Node #2: [26, 97, 9] from Operation: 68-59=9
Current State: 62:[26, 97, 9], Operations: ['68-59=9']
Exploring Operation: 97-26=71, Resulting Numbers: [9, 71]
Generated Node #3: [9, 71] from Operation: 97-26=71
Current State: 62:[9, 71], Operations: ['68-59=9', '97-26=71']
Exploring Operation: 71-9=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[68, 59, 26, 97], Operations: []
Exploring Operation: 97-59=38, Resulting Numbers: [68, 26, 38]
Generated Node #0,0: 62:[68, 26, 38] Operation: 97-59=38
Exploring Operation: 97-68=29, Resulting Numbers: [59, 26, 29]
Generated Node #0,1: 62:[59, 26, 29] Operation: 97-68=29
Moving to Node #0,1
Current State: 62:[59, 26, 29], Operations: ['97-68=29']
Exploring Operation: 59-26=33, Resulting Numbers: [29, 33]
Generated Node #0,1,0: 62:[29, 33] Operation: 59-26=33
Exploring Operation: 29-26=3, Resulting Numbers: [59, 3]
Generated Node #0,1,1: 62:[59, 3] Operation: 29-26=3
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 62:[29, 33], Operations: ['97-68=29', '59-26=33']
Exploring Operation: 29+33=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[68, 59, 26, 97], Operations: []
Exploring Operation: 97-68=29, Resulting Numbers: [59, 26, 29]
Generated Node #0,1: 62:[59, 26, 29] Operation: 97-68=29
Moving to Node #0,1
Current State: 62:[59, 26, 29], Operations: ['97-68=29']
Exploring Operation: 59-26=33, Resulting Numbers: [29, 33]
Generated Node #0,1,0: 62:[29, 33] Operation: 59-26=33
Moving to Node #0,1,0
Current State: 62:[29, 33], Operations: ['97-68=29', '59-26=33']
Exploring Operation: 29+33=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
31,
29,
84,
82
] | 33 | [
"84-82=2",
"31*2=62",
"62-29=33"
] | Current State: 33:[31, 29, 84, 82], Operations: []
Exploring Operation: 84-82=2, Resulting Numbers: [31, 29, 2]
Generated Node #2: [31, 29, 2] from Operation: 84-82=2
Current State: 33:[31, 29, 2], Operations: ['84-82=2']
Exploring Operation: 31*2=62, Resulting Numbers: [29, 62]
Generated Node #3: [29, 62] from Operation: 31*2=62
Current State: 33:[29, 62], Operations: ['84-82=2', '31*2=62']
Exploring Operation: 62-29=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[31, 29, 84, 82], Operations: []
Exploring Operation: 82-31=51, Resulting Numbers: [29, 84, 51]
Generated Node #0,0: 33:[29, 84, 51] Operation: 82-31=51
Exploring Operation: 84-82=2, Resulting Numbers: [31, 29, 2]
Generated Node #0,1: 33:[31, 29, 2] Operation: 84-82=2
Exploring Operation: 84-31=53, Resulting Numbers: [29, 82, 53]
Generated Node #0,2: 33:[29, 82, 53] Operation: 84-31=53
Moving to Node #0,1
Current State: 33:[31, 29, 2], Operations: ['84-82=2']
Exploring Operation: 31+2=33, Resulting Numbers: [29, 33]
Generated Node #0,1,0: 33:[29, 33] Operation: 31+2=33
Exploring Operation: 29+2=31, Resulting Numbers: [31, 31]
Generated Node #0,1,1: 33:[31, 31] Operation: 29+2=31
Exploring Operation: 31-29=2, Resulting Numbers: [2, 2]
Generated Node #0,1,2: 33:[2, 2] Operation: 31-29=2
Moving to Node #0,0
Current State: 33:[29, 84, 51], Operations: ['82-31=51']
Exploring Operation: 51-29=22, Resulting Numbers: [84, 22]
Generated Node #0,0,0: 33:[84, 22] Operation: 51-29=22
Exploring Operation: 84-51=33, Resulting Numbers: [29, 33]
Generated Node #0,0,1: 33:[29, 33] Operation: 84-51=33
Exploring Operation: 84-29=55, Resulting Numbers: [51, 55]
Generated Node #0,0,2: 33:[51, 55] Operation: 84-29=55
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 33:[29, 33], Operations: ['82-31=51', '84-51=33']
Exploring Operation: 33-29=4, Resulting Numbers: [4]
4,33 unequal: No Solution
Exploring Operation: 29+33=62, Resulting Numbers: [62]
62,33 unequal: No Solution
Exploring Operation: 29*33=957, Resulting Numbers: [957]
957,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 33:[51, 55], Operations: ['82-31=51', '84-29=55']
Exploring Operation: 51*55=2805, Resulting Numbers: [2805]
2805,33 unequal: No Solution
Exploring Operation: 51+55=106, Resulting Numbers: [106]
106,33 unequal: No Solution
Exploring Operation: 55-51=4, Resulting Numbers: [4]
4,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 33:[84, 22], Operations: ['82-31=51', '51-29=22']
Exploring Operation: 84+22=106, Resulting Numbers: [106]
106,33 unequal: No Solution
Exploring Operation: 84*22=1848, Resulting Numbers: [1848]
1848,33 unequal: No Solution
Exploring Operation: 84-22=62, Resulting Numbers: [62]
62,33 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: 33:[29, 82, 53], Operations: ['84-31=53']
Exploring Operation: 82-29=53, Resulting Numbers: [53, 53]
Generated Node #0,2,0: 33:[53, 53] Operation: 82-29=53
Exploring Operation: 53-29=24, Resulting Numbers: [82, 24]
Generated Node #0,2,1: 33:[82, 24] Operation: 53-29=24
Exploring Operation: 82-53=29, Resulting Numbers: [29, 29]
Generated Node #0,2,2: 33:[29, 29] Operation: 82-53=29
Moving to Node #0,1,2
Current State: 33:[2, 2], Operations: ['84-82=2', '31-29=2']
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,33 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,33 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,33 unequal: No Solution
Moving to Node #0,1,1
Current State: 33:[31, 31], Operations: ['84-82=2', '29+2=31']
Exploring Operation: 31/31=1, Resulting Numbers: [1]
1,33 unequal: No Solution
Exploring Operation: 31-31=0, Resulting Numbers: [0]
0,33 unequal: No Solution
Exploring Operation: 31+31=62, Resulting Numbers: [62]
62,33 unequal: No Solution
Moving to Node #0,1,0
Current State: 33:[29, 33], Operations: ['84-82=2', '31+2=33']
Exploring Operation: 29+33=62, Resulting Numbers: [62]
62,33 unequal: No Solution
Exploring Operation: 29*33=957, Resulting Numbers: [957]
957,33 unequal: No Solution
Exploring Operation: 33-29=4, Resulting Numbers: [4]
4,33 unequal: No Solution
Moving to Node #0,2,2
Current State: 33:[29, 29], Operations: ['84-31=53', '82-53=29']
Exploring Operation: 29-29=0, Resulting Numbers: [0]
0,33 unequal: No Solution
Exploring Operation: 29+29=58, Resulting Numbers: [58]
58,33 unequal: No Solution
Exploring Operation: 29/29=1, Resulting Numbers: [1]
1,33 unequal: No Solution
Moving to Node #0,2,0
Current State: 33:[53, 53], Operations: ['84-31=53', '82-29=53']
Exploring Operation: 53+53=106, Resulting Numbers: [106]
106,33 unequal: No Solution
Exploring Operation: 53-53=0, Resulting Numbers: [0]
0,33 unequal: No Solution
Exploring Operation: 53/53=1, Resulting Numbers: [1]
1,33 unequal: No Solution
Moving to Node #0,2,1
Current State: 33:[82, 24], Operations: ['84-31=53', '53-29=24']
Exploring Operation: 82*24=1968, Resulting Numbers: [1968]
1968,33 unequal: No Solution
Exploring Operation: 82-24=58, Resulting Numbers: [58]
58,33 unequal: No Solution
Exploring Operation: 82+24=106, Resulting Numbers: [106]
106,33 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
41,
22,
39,
21
] | 78 | [
"41-22=19",
"21-19=2",
"39*2=78"
] | Current State: 78:[41, 22, 39, 21], Operations: []
Exploring Operation: 41-22=19, Resulting Numbers: [39, 21, 19]
Generated Node #2: [39, 21, 19] from Operation: 41-22=19
Current State: 78:[39, 21, 19], Operations: ['41-22=19']
Exploring Operation: 21-19=2, Resulting Numbers: [39, 2]
Generated Node #3: [39, 2] from Operation: 21-19=2
Current State: 78:[39, 2], Operations: ['41-22=19', '21-19=2']
Exploring Operation: 39*2=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[41, 22, 39, 21], Operations: []
Exploring Operation: 41-22=19, Resulting Numbers: [39, 21, 19]
Generated Node #0,0: 78:[39, 21, 19] Operation: 41-22=19
Exploring Operation: 41-21=20, Resulting Numbers: [22, 39, 20]
Generated Node #0,1: 78:[22, 39, 20] Operation: 41-21=20
Exploring Operation: 41-39=2, Resulting Numbers: [22, 21, 2]
Generated Node #0,2: 78:[22, 21, 2] Operation: 41-39=2
Exploring Operation: 22-21=1, Resulting Numbers: [41, 39, 1]
Generated Node #0,3: 78:[41, 39, 1] Operation: 22-21=1
Exploring Operation: 22+21=43, Resulting Numbers: [41, 39, 43]
Generated Node #0,4: 78:[41, 39, 43] Operation: 22+21=43
Start Sub Search at level 1: Moving to Node #0,3
Current State: 78:[41, 39, 1], Operations: ['22-21=1']
Exploring Operation: 41/1=41, Resulting Numbers: [39, 41]
Generated Node #0,3,0: 78:[39, 41] Operation: 41/1=41
Exploring Operation: 41-1=40, Resulting Numbers: [39, 40]
Generated Node #0,3,1: 78:[39, 40] Operation: 41-1=40
Exploring Operation: 39*1=39, Resulting Numbers: [41, 39]
Generated Node #0,3,2: 78:[41, 39] Operation: 39*1=39
Exploring Operation: 41-39=2, Resulting Numbers: [1, 2]
Generated Node #0,3,3: 78:[1, 2] Operation: 41-39=2
Exploring Operation: 41*1=41, Resulting Numbers: [39, 41]
Generated Node #0,3,4: 78:[39, 41] Operation: 41*1=41
Moving to Node #0,3,1
Current State: 78:[39, 40], Operations: ['22-21=1', '41-1=40']
Exploring Operation: 39*40=1560, Resulting Numbers: [1560]
1560,78 unequal: No Solution
Exploring Operation: 39+40=79, Resulting Numbers: [79]
79,78 unequal: No Solution
Exploring Operation: 40-39=1, Resulting Numbers: [1]
1,78 unequal: No Solution
Moving to Node #0,3,3
Current State: 78:[1, 2], Operations: ['22-21=1', '41-39=2']
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,78 unequal: No Solution
Exploring Operation: 1+2=3, Resulting Numbers: [3]
3,78 unequal: No Solution
Exploring Operation: 1*2=2, Resulting Numbers: [2]
2,78 unequal: No Solution
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,78 unequal: No Solution
Moving to Node #0,3,0
Current State: 78:[39, 41], Operations: ['22-21=1', '41/1=41']
Exploring Operation: 39+41=80, Resulting Numbers: [80]
80,78 unequal: No Solution
Exploring Operation: 41-39=2, Resulting Numbers: [2]
2,78 unequal: No Solution
Exploring Operation: 39*41=1599, Resulting Numbers: [1599]
1599,78 unequal: No Solution
Moving to Node #0,3,2
Current State: 78:[41, 39], Operations: ['22-21=1', '39*1=39']
Exploring Operation: 41*39=1599, Resulting Numbers: [1599]
1599,78 unequal: No Solution
Exploring Operation: 41-39=2, Resulting Numbers: [2]
2,78 unequal: No Solution
Exploring Operation: 41+39=80, Resulting Numbers: [80]
80,78 unequal: No Solution
Moving to Node #0,3,4
Current State: 78:[39, 41], Operations: ['22-21=1', '41*1=41']
Exploring Operation: 39*41=1599, Resulting Numbers: [1599]
1599,78 unequal: No Solution
Exploring Operation: 39+41=80, Resulting Numbers: [80]
80,78 unequal: No Solution
Exploring Operation: 41-39=2, Resulting Numbers: [2]
2,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,4
Current State: 78:[41, 39, 43], Operations: ['22+21=43']
Exploring Operation: 43-39=4, Resulting Numbers: [41, 4]
Generated Node #0,4,0: 78:[41, 4] Operation: 43-39=4
Exploring Operation: 43-41=2, Resulting Numbers: [39, 2]
Generated Node #0,4,1: 78:[39, 2] Operation: 43-41=2
Exploring Operation: 41-39=2, Resulting Numbers: [43, 2]
Generated Node #0,4,2: 78:[43, 2] Operation: 41-39=2
Exploring Operation: 41+39=80, Resulting Numbers: [43, 80]
Generated Node #0,4,3: 78:[43, 80] Operation: 41+39=80
Exploring Operation: 41+43=84, Resulting Numbers: [39, 84]
Generated Node #0,4,4: 78:[39, 84] Operation: 41+43=84
Moving to Node #0,4,1
Current State: 78:[39, 2], Operations: ['22+21=43', '43-41=2']
Exploring Operation: 39-2=37, Resulting Numbers: [37]
37,78 unequal: No Solution
Exploring Operation: 39*2=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[41, 22, 39, 21], Operations: []
Exploring Operation: 22+21=43, Resulting Numbers: [41, 39, 43]
Generated Node #0,4: 78:[41, 39, 43] Operation: 22+21=43
Moving to Node #0,4
Current State: 78:[41, 39, 43], Operations: ['22+21=43']
Exploring Operation: 43-41=2, Resulting Numbers: [39, 2]
Generated Node #0,4,1: 78:[39, 2] Operation: 43-41=2
Moving to Node #0,4,1
Current State: 78:[39, 2], Operations: ['22+21=43', '43-41=2']
Exploring Operation: 39*2=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_5 | sum_heuristic |
[
98,
75,
95,
7
] | 66 | [
"98-75=23",
"7*23=161",
"161-95=66"
] | Current State: 66:[98, 75, 95, 7], Operations: []
Exploring Operation: 98-75=23, Resulting Numbers: [95, 7, 23]
Generated Node #2: [95, 7, 23] from Operation: 98-75=23
Current State: 66:[95, 7, 23], Operations: ['98-75=23']
Exploring Operation: 7*23=161, Resulting Numbers: [95, 161]
Generated Node #3: [95, 161] from Operation: 7*23=161
Current State: 66:[95, 161], Operations: ['98-75=23', '7*23=161']
Exploring Operation: 161-95=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[98, 75, 95, 7], Operations: []
Exploring Operation: 95-75=20, Resulting Numbers: [98, 7, 20]
Generated Node #0,0: 66:[98, 7, 20] Operation: 95-75=20
Exploring Operation: 98-75=23, Resulting Numbers: [95, 7, 23]
Generated Node #0,1: 66:[95, 7, 23] Operation: 98-75=23
Exploring Operation: 98-95=3, Resulting Numbers: [75, 7, 3]
Generated Node #0,2: 66:[75, 7, 3] Operation: 98-95=3
Start Sub Search at level 1: Moving to Node #0,2
Current State: 66:[75, 7, 3], Operations: ['98-95=3']
Exploring Operation: 75/3=25, Resulting Numbers: [7, 25]
Generated Node #0,2,0: 66:[7, 25] Operation: 75/3=25
Exploring Operation: 75-3=72, Resulting Numbers: [7, 72]
Generated Node #0,2,1: 66:[7, 72] Operation: 75-3=72
Exploring Operation: 75-7=68, Resulting Numbers: [3, 68]
Generated Node #0,2,2: 66:[3, 68] Operation: 75-7=68
Moving to Node #0,2,2
Current State: 66:[3, 68], Operations: ['98-95=3', '75-7=68']
Exploring Operation: 3+68=71, Resulting Numbers: [71]
71,66 unequal: No Solution
Exploring Operation: 68-3=65, Resulting Numbers: [65]
65,66 unequal: No Solution
Exploring Operation: 3*68=204, Resulting Numbers: [204]
204,66 unequal: No Solution
Moving to Node #0,2,0
Current State: 66:[7, 25], Operations: ['98-95=3', '75/3=25']
Exploring Operation: 7+25=32, Resulting Numbers: [32]
32,66 unequal: No Solution
Exploring Operation: 7*25=175, Resulting Numbers: [175]
175,66 unequal: No Solution
Exploring Operation: 25-7=18, Resulting Numbers: [18]
18,66 unequal: No Solution
Moving to Node #0,2,1
Current State: 66:[7, 72], Operations: ['98-95=3', '75-3=72']
Exploring Operation: 7*72=504, Resulting Numbers: [504]
504,66 unequal: No Solution
Exploring Operation: 72-7=65, Resulting Numbers: [65]
65,66 unequal: No Solution
Exploring Operation: 7+72=79, Resulting Numbers: [79]
79,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 66:[95, 7, 23], Operations: ['98-75=23']
Exploring Operation: 95-23=72, Resulting Numbers: [7, 72]
Generated Node #0,1,0: 66:[7, 72] Operation: 95-23=72
Exploring Operation: 95-7=88, Resulting Numbers: [23, 88]
Generated Node #0,1,1: 66:[23, 88] Operation: 95-7=88
Exploring Operation: 7+23=30, Resulting Numbers: [95, 30]
Generated Node #0,1,2: 66:[95, 30] Operation: 7+23=30
Moving to Node #0,1,0
Current State: 66:[7, 72], Operations: ['98-75=23', '95-23=72']
Exploring Operation: 7+72=79, Resulting Numbers: [79]
79,66 unequal: No Solution
Exploring Operation: 72-7=65, Resulting Numbers: [65]
65,66 unequal: No Solution
Exploring Operation: 7*72=504, Resulting Numbers: [504]
504,66 unequal: No Solution
Moving to Node #0,1,1
Current State: 66:[23, 88], Operations: ['98-75=23', '95-7=88']
Exploring Operation: 23*88=2024, Resulting Numbers: [2024]
2024,66 unequal: No Solution
Exploring Operation: 23+88=111, Resulting Numbers: [111]
111,66 unequal: No Solution
Exploring Operation: 88-23=65, Resulting Numbers: [65]
65,66 unequal: No Solution
Moving to Node #0,1,2
Current State: 66:[95, 30], Operations: ['98-75=23', '7+23=30']
Exploring Operation: 95+30=125, Resulting Numbers: [125]
125,66 unequal: No Solution
Exploring Operation: 95-30=65, Resulting Numbers: [65]
65,66 unequal: No Solution
Exploring Operation: 95*30=2850, Resulting Numbers: [2850]
2850,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[98, 7, 20], Operations: ['95-75=20']
Exploring Operation: 98-20=78, Resulting Numbers: [7, 78]
Generated Node #0,0,0: 66:[7, 78] Operation: 98-20=78
Exploring Operation: 98-7=91, Resulting Numbers: [20, 91]
Generated Node #0,0,1: 66:[20, 91] Operation: 98-7=91
Exploring Operation: 98/7=14, Resulting Numbers: [20, 14]
Generated Node #0,0,2: 66:[20, 14] Operation: 98/7=14
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 66:[20, 14], Operations: ['95-75=20', '98/7=14']
Exploring Operation: 20*14=280, Resulting Numbers: [280]
280,66 unequal: No Solution
Exploring Operation: 20+14=34, Resulting Numbers: [34]
34,66 unequal: No Solution
Exploring Operation: 20-14=6, Resulting Numbers: [6]
6,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 66:[7, 78], Operations: ['95-75=20', '98-20=78']
Exploring Operation: 7+78=85, Resulting Numbers: [85]
85,66 unequal: No Solution
Exploring Operation: 7*78=546, Resulting Numbers: [546]
546,66 unequal: No Solution
Exploring Operation: 78-7=71, Resulting Numbers: [71]
71,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 66:[20, 91], Operations: ['95-75=20', '98-7=91']
Exploring Operation: 91-20=71, Resulting Numbers: [71]
71,66 unequal: No Solution
Exploring Operation: 20*91=1820, Resulting Numbers: [1820]
1820,66 unequal: No Solution
Exploring Operation: 20+91=111, Resulting Numbers: [111]
111,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_3 | mult_heuristic |
[
88,
65,
14,
98
] | 61 | [
"88-65=23",
"98-14=84",
"84-23=61"
] | Current State: 61:[88, 65, 14, 98], Operations: []
Exploring Operation: 88-65=23, Resulting Numbers: [14, 98, 23]
Generated Node #2: [14, 98, 23] from Operation: 88-65=23
Current State: 61:[14, 98, 23], Operations: ['88-65=23']
Exploring Operation: 98-14=84, Resulting Numbers: [23, 84]
Generated Node #3: [23, 84] from Operation: 98-14=84
Current State: 61:[23, 84], Operations: ['88-65=23', '98-14=84']
Exploring Operation: 84-23=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[88, 65, 14, 98], Operations: []
Exploring Operation: 98-14=84, Resulting Numbers: [88, 65, 84]
Generated Node #0,0: 61:[88, 65, 84] Operation: 98-14=84
Exploring Operation: 88-14=74, Resulting Numbers: [65, 98, 74]
Generated Node #0,1: 61:[65, 98, 74] Operation: 88-14=74
Moving to Node #0,0
Current State: 61:[88, 65, 84], Operations: ['98-14=84']
Exploring Operation: 88-84=4, Resulting Numbers: [65, 4]
Generated Node #0,0,0: 61:[65, 4] Operation: 88-84=4
Exploring Operation: 88-65=23, Resulting Numbers: [84, 23]
Generated Node #0,0,1: 61:[84, 23] Operation: 88-65=23
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 61:[65, 4], Operations: ['98-14=84', '88-84=4']
Exploring Operation: 65-4=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[88, 65, 14, 98], Operations: []
Exploring Operation: 98-14=84, Resulting Numbers: [88, 65, 84]
Generated Node #0,0: 61:[88, 65, 84] Operation: 98-14=84
Moving to Node #0,0
Current State: 61:[88, 65, 84], Operations: ['98-14=84']
Exploring Operation: 88-84=4, Resulting Numbers: [65, 4]
Generated Node #0,0,0: 61:[65, 4] Operation: 88-84=4
Moving to Node #0,0,0
Current State: 61:[65, 4], Operations: ['98-14=84', '88-84=4']
Exploring Operation: 65-4=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
50,
10,
90,
85
] | 44 | [
"85-50=35",
"90/10=9",
"35+9=44"
] | Current State: 44:[50, 10, 90, 85], Operations: []
Exploring Operation: 85-50=35, Resulting Numbers: [10, 90, 35]
Generated Node #2: [10, 90, 35] from Operation: 85-50=35
Current State: 44:[10, 90, 35], Operations: ['85-50=35']
Exploring Operation: 90/10=9, Resulting Numbers: [35, 9]
Generated Node #3: [35, 9] from Operation: 90/10=9
Current State: 44:[35, 9], Operations: ['85-50=35', '90/10=9']
Exploring Operation: 35+9=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[50, 10, 90, 85], Operations: []
Exploring Operation: 90-85=5, Resulting Numbers: [50, 10, 5]
Generated Node #0,0: 44:[50, 10, 5] Operation: 90-85=5
Exploring Operation: 90-50=40, Resulting Numbers: [10, 85, 40]
Generated Node #0,1: 44:[10, 85, 40] Operation: 90-50=40
Moving to Node #0,0
Current State: 44:[50, 10, 5], Operations: ['90-85=5']
Exploring Operation: 50-5=45, Resulting Numbers: [10, 45]
Generated Node #0,0,0: 44:[10, 45] Operation: 50-5=45
Exploring Operation: 50/10=5, Resulting Numbers: [5, 5]
Generated Node #0,0,1: 44:[5, 5] Operation: 50/10=5
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 44:[10, 45], Operations: ['90-85=5', '50-5=45']
Exploring Operation: 10+45=55, Resulting Numbers: [55]
55,44 unequal: No Solution
Exploring Operation: 45-10=35, Resulting Numbers: [35]
35,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 44:[5, 5], Operations: ['90-85=5', '50/10=5']
Exploring Operation: 5/5=1, Resulting Numbers: [1]
1,44 unequal: No Solution
Exploring Operation: 5+5=10, Resulting Numbers: [10]
10,44 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: 44:[10, 85, 40], Operations: ['90-50=40']
Exploring Operation: 85-10=75, Resulting Numbers: [40, 75]
Generated Node #0,1,0: 44:[40, 75] Operation: 85-10=75
Exploring Operation: 85-40=45, Resulting Numbers: [10, 45]
Generated Node #0,1,1: 44:[10, 45] Operation: 85-40=45
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 44:[10, 45], Operations: ['90-50=40', '85-40=45']
Exploring Operation: 45-10=35, Resulting Numbers: [35]
35,44 unequal: No Solution
Exploring Operation: 10+45=55, Resulting Numbers: [55]
55,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 44:[40, 75], Operations: ['90-50=40', '85-10=75']
Exploring Operation: 40+75=115, Resulting Numbers: [115]
115,44 unequal: No Solution
Exploring Operation: 75-40=35, Resulting Numbers: [35]
35,44 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 |
[
98,
8,
26,
2
] | 95 | [
"26-2=24",
"24/8=3",
"98-3=95"
] | Current State: 95:[98, 8, 26, 2], Operations: []
Exploring Operation: 26-2=24, Resulting Numbers: [98, 8, 24]
Generated Node #2: [98, 8, 24] from Operation: 26-2=24
Current State: 95:[98, 8, 24], Operations: ['26-2=24']
Exploring Operation: 24/8=3, Resulting Numbers: [98, 3]
Generated Node #3: [98, 3] from Operation: 24/8=3
Current State: 95:[98, 3], Operations: ['26-2=24', '24/8=3']
Exploring Operation: 98-3=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[98, 8, 26, 2], Operations: []
Exploring Operation: 8/2=4, Resulting Numbers: [98, 26, 4]
Generated Node #0,0: 95:[98, 26, 4] Operation: 8/2=4
Exploring Operation: 26-2=24, Resulting Numbers: [98, 8, 24]
Generated Node #0,1: 95:[98, 8, 24] Operation: 26-2=24
Exploring Operation: 8-2=6, Resulting Numbers: [98, 26, 6]
Generated Node #0,2: 95:[98, 26, 6] Operation: 8-2=6
Exploring Operation: 26-8=18, Resulting Numbers: [98, 2, 18]
Generated Node #0,3: 95:[98, 2, 18] Operation: 26-8=18
Exploring Operation: 98-2=96, Resulting Numbers: [8, 26, 96]
Generated Node #0,4: 95:[8, 26, 96] Operation: 98-2=96
Moving to Node #0,3
Current State: 95:[98, 2, 18], Operations: ['26-8=18']
Exploring Operation: 18/2=9, Resulting Numbers: [98, 9]
Generated Node #0,3,0: 95:[98, 9] Operation: 18/2=9
Exploring Operation: 2+18=20, Resulting Numbers: [98, 20]
Generated Node #0,3,1: 95:[98, 20] Operation: 2+18=20
Exploring Operation: 98-2=96, Resulting Numbers: [18, 96]
Generated Node #0,3,2: 95:[18, 96] Operation: 98-2=96
Exploring Operation: 98+2=100, Resulting Numbers: [18, 100]
Generated Node #0,3,3: 95:[18, 100] Operation: 98+2=100
Exploring Operation: 18-2=16, Resulting Numbers: [98, 16]
Generated Node #0,3,4: 95:[98, 16] Operation: 18-2=16
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 95:[18, 96], Operations: ['26-8=18', '98-2=96']
Exploring Operation: 18*96=1728, Resulting Numbers: [1728]
1728,95 unequal: No Solution
Exploring Operation: 18+96=114, Resulting Numbers: [114]
114,95 unequal: No Solution
Exploring Operation: 96-18=78, Resulting Numbers: [78]
78,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 95:[98, 20], Operations: ['26-8=18', '2+18=20']
Exploring Operation: 98*20=1960, Resulting Numbers: [1960]
1960,95 unequal: No Solution
Exploring Operation: 98-20=78, Resulting Numbers: [78]
78,95 unequal: No Solution
Exploring Operation: 98+20=118, Resulting Numbers: [118]
118,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 95:[18, 100], Operations: ['26-8=18', '98+2=100']
Exploring Operation: 18*100=1800, Resulting Numbers: [1800]
1800,95 unequal: No Solution
Exploring Operation: 100-18=82, Resulting Numbers: [82]
82,95 unequal: No Solution
Exploring Operation: 18+100=118, Resulting Numbers: [118]
118,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 95:[98, 16], Operations: ['26-8=18', '18-2=16']
Exploring Operation: 98-16=82, Resulting Numbers: [82]
82,95 unequal: No Solution
Exploring Operation: 98+16=114, Resulting Numbers: [114]
114,95 unequal: No Solution
Exploring Operation: 98*16=1568, Resulting Numbers: [1568]
1568,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 95:[98, 9], Operations: ['26-8=18', '18/2=9']
Exploring Operation: 98-9=89, Resulting Numbers: [89]
89,95 unequal: No Solution
Exploring Operation: 98*9=882, Resulting Numbers: [882]
882,95 unequal: No Solution
Exploring Operation: 98+9=107, Resulting Numbers: [107]
107,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 95:[98, 8, 24], Operations: ['26-2=24']
Exploring Operation: 24/8=3, Resulting Numbers: [98, 3]
Generated Node #0,1,0: 95:[98, 3] Operation: 24/8=3
Exploring Operation: 8+24=32, Resulting Numbers: [98, 32]
Generated Node #0,1,1: 95:[98, 32] Operation: 8+24=32
Exploring Operation: 24-8=16, Resulting Numbers: [98, 16]
Generated Node #0,1,2: 95:[98, 16] Operation: 24-8=16
Exploring Operation: 98+8=106, Resulting Numbers: [24, 106]
Generated Node #0,1,3: 95:[24, 106] Operation: 98+8=106
Exploring Operation: 98-8=90, Resulting Numbers: [24, 90]
Generated Node #0,1,4: 95:[24, 90] Operation: 98-8=90
Moving to Node #0,4
Current State: 95:[8, 26, 96], Operations: ['98-2=96']
Exploring Operation: 8+26=34, Resulting Numbers: [96, 34]
Generated Node #0,4,0: 95:[96, 34] Operation: 8+26=34
Exploring Operation: 8+96=104, Resulting Numbers: [26, 104]
Generated Node #0,4,1: 95:[26, 104] Operation: 8+96=104
Exploring Operation: 96-8=88, Resulting Numbers: [26, 88]
Generated Node #0,4,2: 95:[26, 88] Operation: 96-8=88
Exploring Operation: 96/8=12, Resulting Numbers: [26, 12]
Generated Node #0,4,3: 95:[26, 12] Operation: 96/8=12
Exploring Operation: 26-8=18, Resulting Numbers: [96, 18]
Generated Node #0,4,4: 95:[96, 18] Operation: 26-8=18
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 95:[96, 18], Operations: ['98-2=96', '26-8=18']
Exploring Operation: 96+18=114, Resulting Numbers: [114]
114,95 unequal: No Solution
Exploring Operation: 96-18=78, Resulting Numbers: [78]
78,95 unequal: No Solution
Exploring Operation: 96*18=1728, Resulting Numbers: [1728]
1728,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 95:[26, 88], Operations: ['98-2=96', '96-8=88']
Exploring Operation: 26*88=2288, Resulting Numbers: [2288]
2288,95 unequal: No Solution
Exploring Operation: 88-26=62, Resulting Numbers: [62]
62,95 unequal: No Solution
Exploring Operation: 26+88=114, Resulting Numbers: [114]
114,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 95:[26, 12], Operations: ['98-2=96', '96/8=12']
Exploring Operation: 26*12=312, Resulting Numbers: [312]
312,95 unequal: No Solution
Exploring Operation: 26-12=14, Resulting Numbers: [14]
14,95 unequal: No Solution
Exploring Operation: 26+12=38, Resulting Numbers: [38]
38,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 95:[96, 34], Operations: ['98-2=96', '8+26=34']
Exploring Operation: 96-34=62, Resulting Numbers: [62]
62,95 unequal: No Solution
Exploring Operation: 96+34=130, Resulting Numbers: [130]
130,95 unequal: No Solution
Exploring Operation: 96*34=3264, Resulting Numbers: [3264]
3264,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 95:[26, 104], Operations: ['98-2=96', '8+96=104']
Exploring Operation: 26+104=130, Resulting Numbers: [130]
130,95 unequal: No Solution
Exploring Operation: 104/26=4, Resulting Numbers: [4]
4,95 unequal: No Solution
Exploring Operation: 26*104=2704, Resulting Numbers: [2704]
2704,95 unequal: No Solution
Exploring Operation: 104-26=78, Resulting Numbers: [78]
78,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 95:[98, 26, 4], Operations: ['8/2=4']
Exploring Operation: 26+4=30, Resulting Numbers: [98, 30]
Generated Node #0,0,0: 95:[98, 30] Operation: 26+4=30
Exploring Operation: 26-4=22, Resulting Numbers: [98, 22]
Generated Node #0,0,1: 95:[98, 22] Operation: 26-4=22
Exploring Operation: 98+4=102, Resulting Numbers: [26, 102]
Generated Node #0,0,2: 95:[26, 102] Operation: 98+4=102
Exploring Operation: 98-4=94, Resulting Numbers: [26, 94]
Generated Node #0,0,3: 95:[26, 94] Operation: 98-4=94
Exploring Operation: 26*4=104, Resulting Numbers: [98, 104]
Generated Node #0,0,4: 95:[98, 104] Operation: 26*4=104
Moving to Node #0,2
Current State: 95:[98, 26, 6], Operations: ['8-2=6']
Exploring Operation: 98-26=72, Resulting Numbers: [6, 72]
Generated Node #0,2,0: 95:[6, 72] Operation: 98-26=72
Exploring Operation: 26+6=32, Resulting Numbers: [98, 32]
Generated Node #0,2,1: 95:[98, 32] Operation: 26+6=32
Exploring Operation: 26-6=20, Resulting Numbers: [98, 20]
Generated Node #0,2,2: 95:[98, 20] Operation: 26-6=20
Exploring Operation: 98+6=104, Resulting Numbers: [26, 104]
Generated Node #0,2,3: 95:[26, 104] Operation: 98+6=104
Exploring Operation: 98-6=92, Resulting Numbers: [26, 92]
Generated Node #0,2,4: 95:[26, 92] Operation: 98-6=92
Moving to Node #0,2,2
Current State: 95:[98, 20], Operations: ['8-2=6', '26-6=20']
Exploring Operation: 98-20=78, Resulting Numbers: [78]
78,95 unequal: No Solution
Exploring Operation: 98+20=118, Resulting Numbers: [118]
118,95 unequal: No Solution
Exploring Operation: 98*20=1960, Resulting Numbers: [1960]
1960,95 unequal: No Solution
Moving to Node #0,1,0
Current State: 95:[98, 3], Operations: ['26-2=24', '24/8=3']
Exploring Operation: 98*3=294, Resulting Numbers: [294]
294,95 unequal: No Solution
Exploring Operation: 98-3=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[98, 8, 26, 2], Operations: []
Exploring Operation: 26-2=24, Resulting Numbers: [98, 8, 24]
Generated Node #0,1: 95:[98, 8, 24] Operation: 26-2=24
Moving to Node #0,1
Current State: 95:[98, 8, 24], Operations: ['26-2=24']
Exploring Operation: 24/8=3, Resulting Numbers: [98, 3]
Generated Node #0,1,0: 95:[98, 3] Operation: 24/8=3
Moving to Node #0,1,0
Current State: 95:[98, 3], Operations: ['26-2=24', '24/8=3']
Exploring Operation: 98-3=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 0.939236 | hs_5 | mult_heuristic |
[
4,
80,
50,
74
] | 75 | [
"80-74=6",
"50*6=300",
"300/4=75"
] | Current State: 75:[4, 80, 50, 74], Operations: []
Exploring Operation: 80-74=6, Resulting Numbers: [4, 50, 6]
Generated Node #2: [4, 50, 6] from Operation: 80-74=6
Current State: 75:[4, 50, 6], Operations: ['80-74=6']
Exploring Operation: 50*6=300, Resulting Numbers: [4, 300]
Generated Node #3: [4, 300] from Operation: 50*6=300
Current State: 75:[4, 300], Operations: ['80-74=6', '50*6=300']
Exploring Operation: 300/4=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[4, 80, 50, 74], Operations: []
Exploring Operation: 80-4=76, Resulting Numbers: [50, 74, 76]
Generated Node #0,0: 75:[50, 74, 76] Operation: 80-4=76
Exploring Operation: 50-4=46, Resulting Numbers: [80, 74, 46]
Generated Node #0,1: 75:[80, 74, 46] Operation: 50-4=46
Exploring Operation: 4+50=54, Resulting Numbers: [80, 74, 54]
Generated Node #0,2: 75:[80, 74, 54] Operation: 4+50=54
Exploring Operation: 80-50=30, Resulting Numbers: [4, 74, 30]
Generated Node #0,3: 75:[4, 74, 30] Operation: 80-50=30
Exploring Operation: 74-50=24, Resulting Numbers: [4, 80, 24]
Generated Node #0,4: 75:[4, 80, 24] Operation: 74-50=24
Moving to Node #0,3
Current State: 75:[4, 74, 30], Operations: ['80-50=30']
Exploring Operation: 30-4=26, Resulting Numbers: [74, 26]
Generated Node #0,3,0: 75:[74, 26] Operation: 30-4=26
Exploring Operation: 74-30=44, Resulting Numbers: [4, 44]
Generated Node #0,3,1: 75:[4, 44] Operation: 74-30=44
Exploring Operation: 74-4=70, Resulting Numbers: [30, 70]
Generated Node #0,3,2: 75:[30, 70] Operation: 74-4=70
Exploring Operation: 4+74=78, Resulting Numbers: [30, 78]
Generated Node #0,3,3: 75:[30, 78] Operation: 4+74=78
Exploring Operation: 4+30=34, Resulting Numbers: [74, 34]
Generated Node #0,3,4: 75:[74, 34] Operation: 4+30=34
Moving to Node #0,4
Current State: 75:[4, 80, 24], Operations: ['74-50=24']
Exploring Operation: 4+24=28, Resulting Numbers: [80, 28]
Generated Node #0,4,0: 75:[80, 28] Operation: 4+24=28
Exploring Operation: 80-4=76, Resulting Numbers: [24, 76]
Generated Node #0,4,1: 75:[24, 76] Operation: 80-4=76
Exploring Operation: 24/4=6, Resulting Numbers: [80, 6]
Generated Node #0,4,2: 75:[80, 6] Operation: 24/4=6
Exploring Operation: 80/4=20, Resulting Numbers: [24, 20]
Generated Node #0,4,3: 75:[24, 20] Operation: 80/4=20
Exploring Operation: 4+80=84, Resulting Numbers: [24, 84]
Generated Node #0,4,4: 75:[24, 84] Operation: 4+80=84
Moving to Node #0,0
Current State: 75:[50, 74, 76], Operations: ['80-4=76']
Exploring Operation: 50+76=126, Resulting Numbers: [74, 126]
Generated Node #0,0,0: 75:[74, 126] Operation: 50+76=126
Exploring Operation: 76-74=2, Resulting Numbers: [50, 2]
Generated Node #0,0,1: 75:[50, 2] Operation: 76-74=2
Exploring Operation: 74-50=24, Resulting Numbers: [76, 24]
Generated Node #0,0,2: 75:[76, 24] Operation: 74-50=24
Exploring Operation: 76-50=26, Resulting Numbers: [74, 26]
Generated Node #0,0,3: 75:[74, 26] Operation: 76-50=26
Exploring Operation: 50+74=124, Resulting Numbers: [76, 124]
Generated Node #0,0,4: 75:[76, 124] Operation: 50+74=124
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 75:[76, 24], Operations: ['80-4=76', '74-50=24']
Exploring Operation: 76*24=1824, Resulting Numbers: [1824]
1824,75 unequal: No Solution
Exploring Operation: 76+24=100, Resulting Numbers: [100]
100,75 unequal: No Solution
Exploring Operation: 76-24=52, Resulting Numbers: [52]
52,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 75:[74, 26], Operations: ['80-4=76', '76-50=26']
Exploring Operation: 74*26=1924, Resulting Numbers: [1924]
1924,75 unequal: No Solution
Exploring Operation: 74+26=100, Resulting Numbers: [100]
100,75 unequal: No Solution
Exploring Operation: 74-26=48, Resulting Numbers: [48]
48,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 75:[50, 2], Operations: ['80-4=76', '76-74=2']
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,75 unequal: No Solution
Exploring Operation: 50*2=100, Resulting Numbers: [100]
100,75 unequal: No Solution
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,75 unequal: No Solution
Exploring Operation: 50+2=52, Resulting Numbers: [52]
52,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 75:[76, 124], Operations: ['80-4=76', '50+74=124']
Exploring Operation: 124-76=48, Resulting Numbers: [48]
48,75 unequal: No Solution
Exploring Operation: 76*124=9424, Resulting Numbers: [9424]
9424,75 unequal: No Solution
Exploring Operation: 76+124=200, Resulting Numbers: [200]
200,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 75:[74, 126], Operations: ['80-4=76', '50+76=126']
Exploring Operation: 74*126=9324, Resulting Numbers: [9324]
9324,75 unequal: No Solution
Exploring Operation: 74+126=200, Resulting Numbers: [200]
200,75 unequal: No Solution
Exploring Operation: 126-74=52, Resulting Numbers: [52]
52,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 75:[80, 74, 46], Operations: ['50-4=46']
Exploring Operation: 74+46=120, Resulting Numbers: [80, 120]
Generated Node #0,1,0: 75:[80, 120] Operation: 74+46=120
Exploring Operation: 80-46=34, Resulting Numbers: [74, 34]
Generated Node #0,1,1: 75:[74, 34] Operation: 80-46=34
Exploring Operation: 80+46=126, Resulting Numbers: [74, 126]
Generated Node #0,1,2: 75:[74, 126] Operation: 80+46=126
Exploring Operation: 80-74=6, Resulting Numbers: [46, 6]
Generated Node #0,1,3: 75:[46, 6] Operation: 80-74=6
Exploring Operation: 74-46=28, Resulting Numbers: [80, 28]
Generated Node #0,1,4: 75:[80, 28] Operation: 74-46=28
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 75:[80, 28], Operations: ['50-4=46', '74-46=28']
Exploring Operation: 80*28=2240, Resulting Numbers: [2240]
2240,75 unequal: No Solution
Exploring Operation: 80+28=108, Resulting Numbers: [108]
108,75 unequal: No Solution
Exploring Operation: 80-28=52, Resulting Numbers: [52]
52,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 75:[74, 34], Operations: ['50-4=46', '80-46=34']
Exploring Operation: 74*34=2516, Resulting Numbers: [2516]
2516,75 unequal: No Solution
Exploring Operation: 74-34=40, Resulting Numbers: [40]
40,75 unequal: No Solution
Exploring Operation: 74+34=108, Resulting Numbers: [108]
108,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 75:[46, 6], Operations: ['50-4=46', '80-74=6']
Exploring Operation: 46-6=40, Resulting Numbers: [40]
40,75 unequal: No Solution
Exploring Operation: 46+6=52, Resulting Numbers: [52]
52,75 unequal: No Solution
Exploring Operation: 46*6=276, Resulting Numbers: [276]
276,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 75:[80, 120], Operations: ['50-4=46', '74+46=120']
Exploring Operation: 80*120=9600, Resulting Numbers: [9600]
9600,75 unequal: No Solution
Exploring Operation: 120-80=40, Resulting Numbers: [40]
40,75 unequal: No Solution
Exploring Operation: 80+120=200, Resulting Numbers: [200]
200,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 75:[74, 126], Operations: ['50-4=46', '80+46=126']
Exploring Operation: 126-74=52, Resulting Numbers: [52]
52,75 unequal: No Solution
Exploring Operation: 74+126=200, Resulting Numbers: [200]
200,75 unequal: No Solution
Exploring Operation: 74*126=9324, Resulting Numbers: [9324]
9324,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 75:[80, 74, 54], Operations: ['4+50=54']
Exploring Operation: 80-54=26, Resulting Numbers: [74, 26]
Generated Node #0,2,0: 75:[74, 26] Operation: 80-54=26
Exploring Operation: 74+54=128, Resulting Numbers: [80, 128]
Generated Node #0,2,1: 75:[80, 128] Operation: 74+54=128
Exploring Operation: 80+54=134, Resulting Numbers: [74, 134]
Generated Node #0,2,2: 75:[74, 134] Operation: 80+54=134
Exploring Operation: 80-74=6, Resulting Numbers: [54, 6]
Generated Node #0,2,3: 75:[54, 6] Operation: 80-74=6
Exploring Operation: 74-54=20, Resulting Numbers: [80, 20]
Generated Node #0,2,4: 75:[80, 20] Operation: 74-54=20
Moving to Node #0,3,0
Current State: 75:[74, 26], Operations: ['80-50=30', '30-4=26']
Exploring Operation: 74*26=1924, Resulting Numbers: [1924]
1924,75 unequal: No Solution
Exploring Operation: 74+26=100, Resulting Numbers: [100]
100,75 unequal: No Solution
Exploring Operation: 74-26=48, Resulting Numbers: [48]
48,75 unequal: No Solution
Moving to Node #0,4,1
Current State: 75:[24, 76], Operations: ['74-50=24', '80-4=76']
Exploring Operation: 76-24=52, Resulting Numbers: [52]
52,75 unequal: No Solution
Exploring Operation: 24+76=100, Resulting Numbers: [100]
100,75 unequal: No Solution
Exploring Operation: 24*76=1824, Resulting Numbers: [1824]
1824,75 unequal: No Solution
Moving to Node #0,2,0
Current State: 75:[74, 26], Operations: ['4+50=54', '80-54=26']
Exploring Operation: 74-26=48, Resulting Numbers: [48]
48,75 unequal: No Solution
Exploring Operation: 74*26=1924, Resulting Numbers: [1924]
1924,75 unequal: No Solution
Exploring Operation: 74+26=100, Resulting Numbers: [100]
100,75 unequal: No Solution
Moving to Node #0,4,2
Current State: 75:[80, 6], Operations: ['74-50=24', '24/4=6']
Exploring Operation: 80-6=74, Resulting Numbers: [74]
74,75 unequal: No Solution
Exploring Operation: 80*6=480, Resulting Numbers: [480]
480,75 unequal: No Solution
Exploring Operation: 80+6=86, Resulting Numbers: [86]
86,75 unequal: No Solution
Moving to Node #0,4,3
Current State: 75:[24, 20], Operations: ['74-50=24', '80/4=20']
Exploring Operation: 24+20=44, Resulting Numbers: [44]
44,75 unequal: No Solution
Exploring Operation: 24-20=4, Resulting Numbers: [4]
4,75 unequal: No Solution
Exploring Operation: 24*20=480, Resulting Numbers: [480]
480,75 unequal: No Solution
Moving to Node #0,3,3
Current State: 75:[30, 78], Operations: ['80-50=30', '4+74=78']
Exploring Operation: 30+78=108, Resulting Numbers: [108]
108,75 unequal: No Solution
Exploring Operation: 78-30=48, Resulting Numbers: [48]
48,75 unequal: No Solution
Exploring Operation: 30*78=2340, Resulting Numbers: [2340]
2340,75 unequal: No Solution
Moving to Node #0,4,0
Current State: 75:[80, 28], Operations: ['74-50=24', '4+24=28']
Exploring Operation: 80-28=52, Resulting Numbers: [52]
52,75 unequal: No Solution
Exploring Operation: 80+28=108, Resulting Numbers: [108]
108,75 unequal: No Solution
Exploring Operation: 80*28=2240, Resulting Numbers: [2240]
2240,75 unequal: No Solution
Moving to Node #0,3,2
Current State: 75:[30, 70], Operations: ['80-50=30', '74-4=70']
Exploring Operation: 30*70=2100, Resulting Numbers: [2100]
2100,75 unequal: No Solution
Exploring Operation: 70-30=40, Resulting Numbers: [40]
40,75 unequal: No Solution
Exploring Operation: 30+70=100, Resulting Numbers: [100]
100,75 unequal: No Solution
Moving to Node #0,2,4
Current State: 75:[80, 20], Operations: ['4+50=54', '74-54=20']
Exploring Operation: 80-20=60, Resulting Numbers: [60]
60,75 unequal: No Solution
Exploring Operation: 80*20=1600, Resulting Numbers: [1600]
1600,75 unequal: No Solution
Exploring Operation: 80+20=100, Resulting Numbers: [100]
100,75 unequal: No Solution
Exploring Operation: 80/20=4, Resulting Numbers: [4]
4,75 unequal: No Solution
Moving to Node #0,4,4
Current State: 75:[24, 84], Operations: ['74-50=24', '4+80=84']
Exploring Operation: 24+84=108, Resulting Numbers: [108]
108,75 unequal: No Solution
Exploring Operation: 84-24=60, Resulting Numbers: [60]
60,75 unequal: No Solution
Exploring Operation: 24*84=2016, Resulting Numbers: [2016]
2016,75 unequal: No Solution
Moving to Node #0,3,4
Current State: 75:[74, 34], Operations: ['80-50=30', '4+30=34']
Exploring Operation: 74+34=108, Resulting Numbers: [108]
108,75 unequal: No Solution
Exploring Operation: 74-34=40, Resulting Numbers: [40]
40,75 unequal: No Solution
Exploring Operation: 74*34=2516, Resulting Numbers: [2516]
2516,75 unequal: No Solution
Moving to Node #0,3,1
Current State: 75:[4, 44], Operations: ['80-50=30', '74-30=44']
Exploring Operation: 4*44=176, Resulting Numbers: [176]
176,75 unequal: No Solution
Exploring Operation: 4+44=48, Resulting Numbers: [48]
48,75 unequal: No Solution
Exploring Operation: 44-4=40, Resulting Numbers: [40]
40,75 unequal: No Solution
Exploring Operation: 44/4=11, Resulting Numbers: [11]
11,75 unequal: No Solution
Moving to Node #0,2,3
Current State: 75:[54, 6], Operations: ['4+50=54', '80-74=6']
Exploring Operation: 54*6=324, Resulting Numbers: [324]
324,75 unequal: No Solution
Exploring Operation: 54-6=48, Resulting Numbers: [48]
48,75 unequal: No Solution
Exploring Operation: 54+6=60, Resulting Numbers: [60]
60,75 unequal: No Solution
Exploring Operation: 54/6=9, Resulting Numbers: [9]
9,75 unequal: No Solution
Moving to Node #0,2,1
Current State: 75:[80, 128], Operations: ['4+50=54', '74+54=128']
Exploring Operation: 80+128=208, Resulting Numbers: [208]
208,75 unequal: No Solution
Exploring Operation: 128-80=48, Resulting Numbers: [48]
48,75 unequal: No Solution
Exploring Operation: 80*128=10240, Resulting Numbers: [10240]
10240,75 unequal: No Solution
Moving to Node #0,2,2
Current State: 75:[74, 134], Operations: ['4+50=54', '80+54=134']
Exploring Operation: 134-74=60, Resulting Numbers: [60]
60,75 unequal: No Solution
Exploring Operation: 74+134=208, Resulting Numbers: [208]
208,75 unequal: No Solution
Exploring Operation: 74*134=9916, Resulting Numbers: [9916]
9916,75 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
83,
87,
44,
23
] | 17 | [
"87-83=4",
"44-23=21",
"21-4=17"
] | Current State: 17:[83, 87, 44, 23], Operations: []
Exploring Operation: 87-83=4, Resulting Numbers: [44, 23, 4]
Generated Node #2: [44, 23, 4] from Operation: 87-83=4
Current State: 17:[44, 23, 4], Operations: ['87-83=4']
Exploring Operation: 44-23=21, Resulting Numbers: [4, 21]
Generated Node #3: [4, 21] from Operation: 44-23=21
Current State: 17:[4, 21], Operations: ['87-83=4', '44-23=21']
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[83, 87, 44, 23], Operations: []
Exploring Operation: 87-83=4, Resulting Numbers: [44, 23, 4]
Generated Node #0,0: 17:[44, 23, 4] Operation: 87-83=4
Exploring Operation: 83-44=39, Resulting Numbers: [87, 23, 39]
Generated Node #0,1: 17:[87, 23, 39] Operation: 83-44=39
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[44, 23, 4], Operations: ['87-83=4']
Exploring Operation: 44/4=11, Resulting Numbers: [23, 11]
Generated Node #0,0,0: 17:[23, 11] Operation: 44/4=11
Exploring Operation: 44-23=21, Resulting Numbers: [4, 21]
Generated Node #0,0,1: 17:[4, 21] Operation: 44-23=21
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 17:[23, 11], Operations: ['87-83=4', '44/4=11']
Exploring Operation: 23+11=34, Resulting Numbers: [34]
34,17 unequal: No Solution
Exploring Operation: 23-11=12, Resulting Numbers: [12]
12,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 17:[4, 21], Operations: ['87-83=4', '44-23=21']
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[83, 87, 44, 23], Operations: []
Exploring Operation: 87-83=4, Resulting Numbers: [44, 23, 4]
Generated Node #0,0: 17:[44, 23, 4] Operation: 87-83=4
Moving to Node #0,0
Current State: 17:[44, 23, 4], Operations: ['87-83=4']
Exploring Operation: 44-23=21, Resulting Numbers: [4, 21]
Generated Node #0,0,1: 17:[4, 21] Operation: 44-23=21
Moving to Node #0,0,1
Current State: 17:[4, 21], Operations: ['87-83=4', '44-23=21']
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
87,
32,
82,
79
] | 78 | [
"87-79=8",
"32/8=4",
"82-4=78"
] | Current State: 78:[87, 32, 82, 79], Operations: []
Exploring Operation: 87-79=8, Resulting Numbers: [32, 82, 8]
Generated Node #2: [32, 82, 8] from Operation: 87-79=8
Current State: 78:[32, 82, 8], Operations: ['87-79=8']
Exploring Operation: 32/8=4, Resulting Numbers: [82, 4]
Generated Node #3: [82, 4] from Operation: 32/8=4
Current State: 78:[82, 4], Operations: ['87-79=8', '32/8=4']
Exploring Operation: 82-4=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[87, 32, 82, 79], Operations: []
Exploring Operation: 87-32=55, Resulting Numbers: [82, 79, 55]
Generated Node #0,0: 78:[82, 79, 55] Operation: 87-32=55
Exploring Operation: 82-79=3, Resulting Numbers: [87, 32, 3]
Generated Node #0,1: 78:[87, 32, 3] Operation: 82-79=3
Exploring Operation: 87-79=8, Resulting Numbers: [32, 82, 8]
Generated Node #0,2: 78:[32, 82, 8] Operation: 87-79=8
Exploring Operation: 87-82=5, Resulting Numbers: [32, 79, 5]
Generated Node #0,3: 78:[32, 79, 5] Operation: 87-82=5
Moving to Node #0,3
Current State: 78:[32, 79, 5], Operations: ['87-82=5']
Exploring Operation: 79-5=74, Resulting Numbers: [32, 74]
Generated Node #0,3,0: 78:[32, 74] Operation: 79-5=74
Exploring Operation: 79-32=47, Resulting Numbers: [5, 47]
Generated Node #0,3,1: 78:[5, 47] Operation: 79-32=47
Exploring Operation: 32-5=27, Resulting Numbers: [79, 27]
Generated Node #0,3,2: 78:[79, 27] Operation: 32-5=27
Exploring Operation: 32+5=37, Resulting Numbers: [79, 37]
Generated Node #0,3,3: 78:[79, 37] Operation: 32+5=37
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 78:[79, 27], Operations: ['87-82=5', '32-5=27']
Exploring Operation: 79*27=2133, Resulting Numbers: [2133]
2133,78 unequal: No Solution
Exploring Operation: 79-27=52, Resulting Numbers: [52]
52,78 unequal: No Solution
Exploring Operation: 79+27=106, Resulting Numbers: [106]
106,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,3,3
Current State: 78:[79, 37], Operations: ['87-82=5', '32+5=37']
Exploring Operation: 79-37=42, Resulting Numbers: [42]
42,78 unequal: No Solution
Exploring Operation: 79*37=2923, Resulting Numbers: [2923]
2923,78 unequal: No Solution
Exploring Operation: 79+37=116, Resulting Numbers: [116]
116,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,3,1
Current State: 78:[5, 47], Operations: ['87-82=5', '79-32=47']
Exploring Operation: 5+47=52, Resulting Numbers: [52]
52,78 unequal: No Solution
Exploring Operation: 47-5=42, Resulting Numbers: [42]
42,78 unequal: No Solution
Exploring Operation: 5*47=235, Resulting Numbers: [235]
235,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,3,0
Current State: 78:[32, 74], Operations: ['87-82=5', '79-5=74']
Exploring Operation: 74-32=42, Resulting Numbers: [42]
42,78 unequal: No Solution
Exploring Operation: 32+74=106, Resulting Numbers: [106]
106,78 unequal: No Solution
Exploring Operation: 32*74=2368, Resulting Numbers: [2368]
2368,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 78:[32, 82, 8], Operations: ['87-79=8']
Exploring Operation: 32-8=24, Resulting Numbers: [82, 24]
Generated Node #0,2,0: 78:[82, 24] Operation: 32-8=24
Exploring Operation: 82-8=74, Resulting Numbers: [32, 74]
Generated Node #0,2,1: 78:[32, 74] Operation: 82-8=74
Exploring Operation: 32+8=40, Resulting Numbers: [82, 40]
Generated Node #0,2,2: 78:[82, 40] Operation: 32+8=40
Exploring Operation: 32/8=4, Resulting Numbers: [82, 4]
Generated Node #0,2,3: 78:[82, 4] Operation: 32/8=4
Moving to Node #0,1
Current State: 78:[87, 32, 3], Operations: ['82-79=3']
Exploring Operation: 32-3=29, Resulting Numbers: [87, 29]
Generated Node #0,1,0: 78:[87, 29] Operation: 32-3=29
Exploring Operation: 32+3=35, Resulting Numbers: [87, 35]
Generated Node #0,1,1: 78:[87, 35] Operation: 32+3=35
Exploring Operation: 87/3=29, Resulting Numbers: [32, 29]
Generated Node #0,1,2: 78:[32, 29] Operation: 87/3=29
Exploring Operation: 87-3=84, Resulting Numbers: [32, 84]
Generated Node #0,1,3: 78:[32, 84] Operation: 87-3=84
Moving to Node #0,0
Current State: 78:[82, 79, 55], Operations: ['87-32=55']
Exploring Operation: 82-79=3, Resulting Numbers: [55, 3]
Generated Node #0,0,0: 78:[55, 3] Operation: 82-79=3
Exploring Operation: 82-55=27, Resulting Numbers: [79, 27]
Generated Node #0,0,1: 78:[79, 27] Operation: 82-55=27
Exploring Operation: 79-55=24, Resulting Numbers: [82, 24]
Generated Node #0,0,2: 78:[82, 24] Operation: 79-55=24
Exploring Operation: 82+55=137, Resulting Numbers: [79, 137]
Generated Node #0,0,3: 78:[79, 137] Operation: 82+55=137
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 78:[79, 27], Operations: ['87-32=55', '82-55=27']
Exploring Operation: 79+27=106, Resulting Numbers: [106]
106,78 unequal: No Solution
Exploring Operation: 79*27=2133, Resulting Numbers: [2133]
2133,78 unequal: No Solution
Exploring Operation: 79-27=52, Resulting Numbers: [52]
52,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 78:[82, 24], Operations: ['87-32=55', '79-55=24']
Exploring Operation: 82-24=58, Resulting Numbers: [58]
58,78 unequal: No Solution
Exploring Operation: 82*24=1968, Resulting Numbers: [1968]
1968,78 unequal: No Solution
Exploring Operation: 82+24=106, Resulting Numbers: [106]
106,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 78:[55, 3], Operations: ['87-32=55', '82-79=3']
Exploring Operation: 55*3=165, Resulting Numbers: [165]
165,78 unequal: No Solution
Exploring Operation: 55-3=52, Resulting Numbers: [52]
52,78 unequal: No Solution
Exploring Operation: 55+3=58, Resulting Numbers: [58]
58,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 78:[79, 137], Operations: ['87-32=55', '82+55=137']
Exploring Operation: 79+137=216, Resulting Numbers: [216]
216,78 unequal: No Solution
Exploring Operation: 137-79=58, Resulting Numbers: [58]
58,78 unequal: No Solution
Exploring Operation: 79*137=10823, Resulting Numbers: [10823]
10823,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,2
Current State: 78:[82, 40], Operations: ['87-79=8', '32+8=40']
Exploring Operation: 82-40=42, Resulting Numbers: [42]
42,78 unequal: No Solution
Exploring Operation: 82+40=122, Resulting Numbers: [122]
122,78 unequal: No Solution
Exploring Operation: 82*40=3280, Resulting Numbers: [3280]
3280,78 unequal: No Solution
Moving to Node #0,2,3
Current State: 78:[82, 4], Operations: ['87-79=8', '32/8=4']
Exploring Operation: 82+4=86, Resulting Numbers: [86]
86,78 unequal: No Solution
Exploring Operation: 82*4=328, Resulting Numbers: [328]
328,78 unequal: No Solution
Exploring Operation: 82-4=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[87, 32, 82, 79], Operations: []
Exploring Operation: 87-79=8, Resulting Numbers: [32, 82, 8]
Generated Node #0,2: 78:[32, 82, 8] Operation: 87-79=8
Moving to Node #0,2
Current State: 78:[32, 82, 8], Operations: ['87-79=8']
Exploring Operation: 32/8=4, Resulting Numbers: [82, 4]
Generated Node #0,2,3: 78:[82, 4] Operation: 32/8=4
Moving to Node #0,2,3
Current State: 78:[82, 4], Operations: ['87-79=8', '32/8=4']
Exploring Operation: 82-4=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 0.953125 | hs_4 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.