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 |
|---|---|---|---|---|---|---|---|---|
[
92,
39,
55,
2
] | 38 | [
"92+39=131",
"131-55=76",
"76/2=38"
] | Current State: 38:[92, 39, 55, 2], Operations: []
Exploring Operation: 92+39=131, Resulting Numbers: [55, 2, 131]
Generated Node #2: [55, 2, 131] from Operation: 92+39=131
Current State: 38:[55, 2, 131], Operations: ['92+39=131']
Exploring Operation: 131-55=76, Resulting Numbers: [2, 76]
Generated Node #3: [2, 76] from Operation: 131-55=76
Current State: 38:[2, 76], Operations: ['92+39=131', '131-55=76']
Exploring Operation: 76/2=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[92, 39, 55, 2], Operations: []
Exploring Operation: 92/2=46, Resulting Numbers: [39, 55, 46]
Generated Node #0,0: 38:[39, 55, 46] Operation: 92/2=46
Exploring Operation: 92-39=53, Resulting Numbers: [55, 2, 53]
Generated Node #0,1: 38:[55, 2, 53] Operation: 92-39=53
Exploring Operation: 92-55=37, Resulting Numbers: [39, 2, 37]
Generated Node #0,2: 38:[39, 2, 37] Operation: 92-55=37
Start Sub Search at level 1: Moving to Node #0,2
Current State: 38:[39, 2, 37], Operations: ['92-55=37']
Exploring Operation: 39-37=2, Resulting Numbers: [2, 2]
Generated Node #0,2,0: 38:[2, 2] Operation: 39-37=2
Exploring Operation: 39-2=37, Resulting Numbers: [37, 37]
Generated Node #0,2,1: 38:[37, 37] Operation: 39-2=37
Exploring Operation: 2+37=39, Resulting Numbers: [39, 39]
Generated Node #0,2,2: 38:[39, 39] Operation: 2+37=39
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 38:[2, 2], Operations: ['92-55=37', '39-37=2']
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,38 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,38 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 38:[37, 37], Operations: ['92-55=37', '39-2=37']
Exploring Operation: 37+37=74, Resulting Numbers: [74]
74,38 unequal: No Solution
Exploring Operation: 37-37=0, Resulting Numbers: [0]
0,38 unequal: No Solution
Exploring Operation: 37/37=1, Resulting Numbers: [1]
1,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 38:[39, 39], Operations: ['92-55=37', '2+37=39']
Exploring Operation: 39+39=78, Resulting Numbers: [78]
78,38 unequal: No Solution
Exploring Operation: 39/39=1, Resulting Numbers: [1]
1,38 unequal: No Solution
Exploring Operation: 39-39=0, Resulting Numbers: [0]
0,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 38:[39, 55, 46], Operations: ['92/2=46']
Exploring Operation: 46-39=7, Resulting Numbers: [55, 7]
Generated Node #0,0,0: 38:[55, 7] Operation: 46-39=7
Exploring Operation: 55-46=9, Resulting Numbers: [39, 9]
Generated Node #0,0,1: 38:[39, 9] Operation: 55-46=9
Exploring Operation: 55-39=16, Resulting Numbers: [46, 16]
Generated Node #0,0,2: 38:[46, 16] Operation: 55-39=16
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 38:[39, 9], Operations: ['92/2=46', '55-46=9']
Exploring Operation: 39*9=351, Resulting Numbers: [351]
351,38 unequal: No Solution
Exploring Operation: 39+9=48, Resulting Numbers: [48]
48,38 unequal: No Solution
Exploring Operation: 39-9=30, Resulting Numbers: [30]
30,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 38:[46, 16], Operations: ['92/2=46', '55-39=16']
Exploring Operation: 46+16=62, Resulting Numbers: [62]
62,38 unequal: No Solution
Exploring Operation: 46-16=30, Resulting Numbers: [30]
30,38 unequal: No Solution
Exploring Operation: 46*16=736, Resulting Numbers: [736]
736,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 38:[55, 7], Operations: ['92/2=46', '46-39=7']
Exploring Operation: 55*7=385, Resulting Numbers: [385]
385,38 unequal: No Solution
Exploring Operation: 55+7=62, Resulting Numbers: [62]
62,38 unequal: No Solution
Exploring Operation: 55-7=48, Resulting Numbers: [48]
48,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 38:[55, 2, 53], Operations: ['92-39=53']
Exploring Operation: 55-53=2, Resulting Numbers: [2, 2]
Generated Node #0,1,0: 38:[2, 2] Operation: 55-53=2
Exploring Operation: 55-2=53, Resulting Numbers: [53, 53]
Generated Node #0,1,1: 38:[53, 53] Operation: 55-2=53
Exploring Operation: 53-2=51, Resulting Numbers: [55, 51]
Generated Node #0,1,2: 38:[55, 51] Operation: 53-2=51
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 38:[2, 2], Operations: ['92-39=53', '55-53=2']
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,38 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,38 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 38:[53, 53], Operations: ['92-39=53', '55-2=53']
Exploring Operation: 53-53=0, Resulting Numbers: [0]
0,38 unequal: No Solution
Exploring Operation: 53+53=106, Resulting Numbers: [106]
106,38 unequal: No Solution
Exploring Operation: 53/53=1, Resulting Numbers: [1]
1,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 38:[55, 51], Operations: ['92-39=53', '53-2=51']
Exploring Operation: 55*51=2805, Resulting Numbers: [2805]
2805,38 unequal: No Solution
Exploring Operation: 55-51=4, Resulting Numbers: [4]
4,38 unequal: No Solution
Exploring Operation: 55+51=106, Resulting Numbers: [106]
106,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
90,
6,
54,
63
] | 98 | [
"90-6=84",
"63*84=5292",
"5292/54=98"
] | Current State: 98:[90, 6, 54, 63], Operations: []
Exploring Operation: 90-6=84, Resulting Numbers: [54, 63, 84]
Generated Node #2: [54, 63, 84] from Operation: 90-6=84
Current State: 98:[54, 63, 84], Operations: ['90-6=84']
Exploring Operation: 63*84=5292, Resulting Numbers: [54, 5292]
Generated Node #3: [54, 5292] from Operation: 63*84=5292
Current State: 98:[54, 5292], Operations: ['90-6=84', '63*84=5292']
Exploring Operation: 5292/54=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[90, 6, 54, 63], Operations: []
Exploring Operation: 63-54=9, Resulting Numbers: [90, 6, 9]
Generated Node #0,0: 98:[90, 6, 9] Operation: 63-54=9
Exploring Operation: 90-63=27, Resulting Numbers: [6, 54, 27]
Generated Node #0,1: 98:[6, 54, 27] Operation: 90-63=27
Exploring Operation: 90/6=15, Resulting Numbers: [54, 63, 15]
Generated Node #0,2: 98:[54, 63, 15] Operation: 90/6=15
Moving to Node #0,0
Current State: 98:[90, 6, 9], Operations: ['63-54=9']
Exploring Operation: 90+9=99, Resulting Numbers: [6, 99]
Generated Node #0,0,0: 98:[6, 99] Operation: 90+9=99
Exploring Operation: 90+6=96, Resulting Numbers: [9, 96]
Generated Node #0,0,1: 98:[9, 96] Operation: 90+6=96
Exploring Operation: 90/6=15, Resulting Numbers: [9, 15]
Generated Node #0,0,2: 98:[9, 15] Operation: 90/6=15
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 98:[6, 99], Operations: ['63-54=9', '90+9=99']
Exploring Operation: 99-6=93, Resulting Numbers: [93]
93,98 unequal: No Solution
Exploring Operation: 6+99=105, Resulting Numbers: [105]
105,98 unequal: No Solution
Exploring Operation: 6*99=594, Resulting Numbers: [594]
594,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,0,2
Current State: 98:[9, 15], Operations: ['63-54=9', '90/6=15']
Exploring Operation: 9+15=24, Resulting Numbers: [24]
24,98 unequal: No Solution
Exploring Operation: 15-9=6, Resulting Numbers: [6]
6,98 unequal: No Solution
Exploring Operation: 9*15=135, Resulting Numbers: [135]
135,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,0,1
Current State: 98:[9, 96], Operations: ['63-54=9', '90+6=96']
Exploring Operation: 9+96=105, Resulting Numbers: [105]
105,98 unequal: No Solution
Exploring Operation: 9*96=864, Resulting Numbers: [864]
864,98 unequal: No Solution
Exploring Operation: 96-9=87, Resulting Numbers: [87]
87,98 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: 98:[6, 54, 27], Operations: ['90-63=27']
Exploring Operation: 54/27=2, Resulting Numbers: [6, 2]
Generated Node #0,1,0: 98:[6, 2] Operation: 54/27=2
Exploring Operation: 54-6=48, Resulting Numbers: [27, 48]
Generated Node #0,1,1: 98:[27, 48] Operation: 54-6=48
Exploring Operation: 27-6=21, Resulting Numbers: [54, 21]
Generated Node #0,1,2: 98:[54, 21] Operation: 27-6=21
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 98:[6, 2], Operations: ['90-63=27', '54/27=2']
Exploring Operation: 6+2=8, Resulting Numbers: [8]
8,98 unequal: No Solution
Exploring Operation: 6*2=12, Resulting Numbers: [12]
12,98 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,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,2
Current State: 98:[54, 21], Operations: ['90-63=27', '27-6=21']
Exploring Operation: 54+21=75, Resulting Numbers: [75]
75,98 unequal: No Solution
Exploring Operation: 54-21=33, Resulting Numbers: [33]
33,98 unequal: No Solution
Exploring Operation: 54*21=1134, Resulting Numbers: [1134]
1134,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,1
Current State: 98:[27, 48], Operations: ['90-63=27', '54-6=48']
Exploring Operation: 27*48=1296, Resulting Numbers: [1296]
1296,98 unequal: No Solution
Exploring Operation: 48-27=21, Resulting Numbers: [21]
21,98 unequal: No Solution
Exploring Operation: 27+48=75, Resulting Numbers: [75]
75,98 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: 98:[54, 63, 15], Operations: ['90/6=15']
Exploring Operation: 54+63=117, Resulting Numbers: [15, 117]
Generated Node #0,2,0: 98:[15, 117] Operation: 54+63=117
Exploring Operation: 63-54=9, Resulting Numbers: [15, 9]
Generated Node #0,2,1: 98:[15, 9] Operation: 63-54=9
Exploring Operation: 63-15=48, Resulting Numbers: [54, 48]
Generated Node #0,2,2: 98:[54, 48] Operation: 63-15=48
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 98:[15, 9], Operations: ['90/6=15', '63-54=9']
Exploring Operation: 15+9=24, Resulting Numbers: [24]
24,98 unequal: No Solution
Exploring Operation: 15*9=135, Resulting Numbers: [135]
135,98 unequal: No Solution
Exploring Operation: 15-9=6, Resulting Numbers: [6]
6,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,2,2
Current State: 98:[54, 48], Operations: ['90/6=15', '63-15=48']
Exploring Operation: 54*48=2592, Resulting Numbers: [2592]
2592,98 unequal: No Solution
Exploring Operation: 54+48=102, Resulting Numbers: [102]
102,98 unequal: No Solution
Exploring Operation: 54-48=6, Resulting Numbers: [6]
6,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,2,0
Current State: 98:[15, 117], Operations: ['90/6=15', '54+63=117']
Exploring Operation: 15+117=132, Resulting Numbers: [132]
132,98 unequal: No Solution
Exploring Operation: 15*117=1755, Resulting Numbers: [1755]
1755,98 unequal: No Solution
Exploring Operation: 117-15=102, Resulting Numbers: [102]
102,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
2,
76,
30,
50
] | 21 | [
"50/2=25",
"76-30=46",
"46-25=21"
] | Current State: 21:[2, 76, 30, 50], Operations: []
Exploring Operation: 50/2=25, Resulting Numbers: [76, 30, 25]
Generated Node #2: [76, 30, 25] from Operation: 50/2=25
Current State: 21:[76, 30, 25], Operations: ['50/2=25']
Exploring Operation: 76-30=46, Resulting Numbers: [25, 46]
Generated Node #3: [25, 46] from Operation: 76-30=46
Current State: 21:[25, 46], Operations: ['50/2=25', '76-30=46']
Exploring Operation: 46-25=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[2, 76, 30, 50], Operations: []
Exploring Operation: 76-30=46, Resulting Numbers: [2, 50, 46]
Generated Node #0,0: 21:[2, 50, 46] Operation: 76-30=46
Exploring Operation: 76-50=26, Resulting Numbers: [2, 30, 26]
Generated Node #0,1: 21:[2, 30, 26] Operation: 76-50=26
Exploring Operation: 50/2=25, Resulting Numbers: [76, 30, 25]
Generated Node #0,2: 21:[76, 30, 25] Operation: 50/2=25
Exploring Operation: 76/2=38, Resulting Numbers: [30, 50, 38]
Generated Node #0,3: 21:[30, 50, 38] Operation: 76/2=38
Exploring Operation: 50-30=20, Resulting Numbers: [2, 76, 20]
Generated Node #0,4: 21:[2, 76, 20] Operation: 50-30=20
Start Sub Search at level 1: Moving to Node #0,1
Current State: 21:[2, 30, 26], Operations: ['76-50=26']
Exploring Operation: 30-26=4, Resulting Numbers: [2, 4]
Generated Node #0,1,0: 21:[2, 4] Operation: 30-26=4
Exploring Operation: 30/2=15, Resulting Numbers: [26, 15]
Generated Node #0,1,1: 21:[26, 15] Operation: 30/2=15
Exploring Operation: 26/2=13, Resulting Numbers: [30, 13]
Generated Node #0,1,2: 21:[30, 13] Operation: 26/2=13
Exploring Operation: 26-2=24, Resulting Numbers: [30, 24]
Generated Node #0,1,3: 21:[30, 24] Operation: 26-2=24
Exploring Operation: 30-2=28, Resulting Numbers: [26, 28]
Generated Node #0,1,4: 21:[26, 28] Operation: 30-2=28
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 21:[2, 4], Operations: ['76-50=26', '30-26=4']
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,21 unequal: No Solution
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,21 unequal: No Solution
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,21 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,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:[26, 15], Operations: ['76-50=26', '30/2=15']
Exploring Operation: 26*15=390, Resulting Numbers: [390]
390,21 unequal: No Solution
Exploring Operation: 26+15=41, Resulting Numbers: [41]
41,21 unequal: No Solution
Exploring Operation: 26-15=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,1,3
Current State: 21:[30, 24], Operations: ['76-50=26', '26-2=24']
Exploring Operation: 30+24=54, Resulting Numbers: [54]
54,21 unequal: No Solution
Exploring Operation: 30-24=6, Resulting Numbers: [6]
6,21 unequal: No Solution
Exploring Operation: 30*24=720, Resulting Numbers: [720]
720,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,4
Current State: 21:[26, 28], Operations: ['76-50=26', '30-2=28']
Exploring Operation: 28-26=2, Resulting Numbers: [2]
2,21 unequal: No Solution
Exploring Operation: 26+28=54, Resulting Numbers: [54]
54,21 unequal: No Solution
Exploring Operation: 26*28=728, Resulting Numbers: [728]
728,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:[30, 13], Operations: ['76-50=26', '26/2=13']
Exploring Operation: 30+13=43, Resulting Numbers: [43]
43,21 unequal: No Solution
Exploring Operation: 30*13=390, Resulting Numbers: [390]
390,21 unequal: No Solution
Exploring Operation: 30-13=17, Resulting Numbers: [17]
17,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,0
Current State: 21:[2, 50, 46], Operations: ['76-30=46']
Exploring Operation: 50-2=48, Resulting Numbers: [46, 48]
Generated Node #0,0,0: 21:[46, 48] Operation: 50-2=48
Exploring Operation: 46/2=23, Resulting Numbers: [50, 23]
Generated Node #0,0,1: 21:[50, 23] Operation: 46/2=23
Exploring Operation: 50-46=4, Resulting Numbers: [2, 4]
Generated Node #0,0,2: 21:[2, 4] Operation: 50-46=4
Exploring Operation: 50/2=25, Resulting Numbers: [46, 25]
Generated Node #0,0,3: 21:[46, 25] Operation: 50/2=25
Exploring Operation: 46-2=44, Resulting Numbers: [50, 44]
Generated Node #0,0,4: 21:[50, 44] Operation: 46-2=44
Moving to Node #0,0,2
Current State: 21:[2, 4], Operations: ['76-30=46', '50-46=4']
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,21 unequal: No Solution
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,21 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,21 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,21 unequal: No Solution
Moving to Node #0,0,3
Current State: 21:[46, 25], Operations: ['76-30=46', '50/2=25']
Exploring Operation: 46-25=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[2, 76, 30, 50], Operations: []
Exploring Operation: 76-30=46, Resulting Numbers: [2, 50, 46]
Generated Node #0,0: 21:[2, 50, 46] Operation: 76-30=46
Moving to Node #0,0
Current State: 21:[2, 50, 46], Operations: ['76-30=46']
Exploring Operation: 50/2=25, Resulting Numbers: [46, 25]
Generated Node #0,0,3: 21:[46, 25] Operation: 50/2=25
Moving to Node #0,0,3
Current State: 21:[46, 25], Operations: ['76-30=46', '50/2=25']
Exploring Operation: 46-25=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 1
| 0.965278 | hs_5 | mult_heuristic |
[
62,
40,
44,
90
] | 88 | [
"62-40=22",
"44/22=2",
"90-2=88"
] | Current State: 88:[62, 40, 44, 90], Operations: []
Exploring Operation: 62-40=22, Resulting Numbers: [44, 90, 22]
Generated Node #2: [44, 90, 22] from Operation: 62-40=22
Current State: 88:[44, 90, 22], Operations: ['62-40=22']
Exploring Operation: 44/22=2, Resulting Numbers: [90, 2]
Generated Node #3: [90, 2] from Operation: 44/22=2
Current State: 88:[90, 2], Operations: ['62-40=22', '44/22=2']
Exploring Operation: 90-2=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[62, 40, 44, 90], Operations: []
Exploring Operation: 62-40=22, Resulting Numbers: [44, 90, 22]
Generated Node #0,0: 88:[44, 90, 22] Operation: 62-40=22
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[44, 90, 22], Operations: ['62-40=22']
Exploring Operation: 90-44=46, Resulting Numbers: [22, 46]
Generated Node #0,0,0: 88:[22, 46] Operation: 90-44=46
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 88:[22, 46], Operations: ['62-40=22', '90-44=46']
Exploring Operation: 46-22=24, Resulting Numbers: [24]
24,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
37,
15,
41,
96
] | 38 | [
"15+96=111",
"111/37=3",
"41-3=38"
] | Current State: 38:[37, 15, 41, 96], Operations: []
Exploring Operation: 15+96=111, Resulting Numbers: [37, 41, 111]
Generated Node #2: [37, 41, 111] from Operation: 15+96=111
Current State: 38:[37, 41, 111], Operations: ['15+96=111']
Exploring Operation: 111/37=3, Resulting Numbers: [41, 3]
Generated Node #3: [41, 3] from Operation: 111/37=3
Current State: 38:[41, 3], Operations: ['15+96=111', '111/37=3']
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[37, 15, 41, 96], Operations: []
Exploring Operation: 41-37=4, Resulting Numbers: [15, 96, 4]
Generated Node #0,0: 38:[15, 96, 4] Operation: 41-37=4
Exploring Operation: 96-37=59, Resulting Numbers: [15, 41, 59]
Generated Node #0,1: 38:[15, 41, 59] Operation: 96-37=59
Exploring Operation: 96-41=55, Resulting Numbers: [37, 15, 55]
Generated Node #0,2: 38:[37, 15, 55] Operation: 96-41=55
Exploring Operation: 37-15=22, Resulting Numbers: [41, 96, 22]
Generated Node #0,3: 38:[41, 96, 22] Operation: 37-15=22
Exploring Operation: 96-15=81, Resulting Numbers: [37, 41, 81]
Generated Node #0,4: 38:[37, 41, 81] Operation: 96-15=81
Start Sub Search at level 1: Moving to Node #0,2
Current State: 38:[37, 15, 55], Operations: ['96-41=55']
Exploring Operation: 55-15=40, Resulting Numbers: [37, 40]
Generated Node #0,2,0: 38:[37, 40] Operation: 55-15=40
Exploring Operation: 37-15=22, Resulting Numbers: [55, 22]
Generated Node #0,2,1: 38:[55, 22] Operation: 37-15=22
Exploring Operation: 15+55=70, Resulting Numbers: [37, 70]
Generated Node #0,2,2: 38:[37, 70] Operation: 15+55=70
Exploring Operation: 37+15=52, Resulting Numbers: [55, 52]
Generated Node #0,2,3: 38:[55, 52] Operation: 37+15=52
Exploring Operation: 55-37=18, Resulting Numbers: [15, 18]
Generated Node #0,2,4: 38:[15, 18] Operation: 55-37=18
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 38:[37, 40], Operations: ['96-41=55', '55-15=40']
Exploring Operation: 37*40=1480, Resulting Numbers: [1480]
1480,38 unequal: No Solution
Exploring Operation: 40-37=3, Resulting Numbers: [3]
3,38 unequal: No Solution
Exploring Operation: 37+40=77, Resulting Numbers: [77]
77,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 38:[15, 18], Operations: ['96-41=55', '55-37=18']
Exploring Operation: 15*18=270, Resulting Numbers: [270]
270,38 unequal: No Solution
Exploring Operation: 18-15=3, Resulting Numbers: [3]
3,38 unequal: No Solution
Exploring Operation: 15+18=33, Resulting Numbers: [33]
33,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 38:[55, 22], Operations: ['96-41=55', '37-15=22']
Exploring Operation: 55-22=33, Resulting Numbers: [33]
33,38 unequal: No Solution
Exploring Operation: 55+22=77, Resulting Numbers: [77]
77,38 unequal: No Solution
Exploring Operation: 55*22=1210, Resulting Numbers: [1210]
1210,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 38:[55, 52], Operations: ['96-41=55', '37+15=52']
Exploring Operation: 55+52=107, Resulting Numbers: [107]
107,38 unequal: No Solution
Exploring Operation: 55-52=3, Resulting Numbers: [3]
3,38 unequal: No Solution
Exploring Operation: 55*52=2860, Resulting Numbers: [2860]
2860,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 38:[37, 70], Operations: ['96-41=55', '15+55=70']
Exploring Operation: 37+70=107, Resulting Numbers: [107]
107,38 unequal: No Solution
Exploring Operation: 70-37=33, Resulting Numbers: [33]
33,38 unequal: No Solution
Exploring Operation: 37*70=2590, Resulting Numbers: [2590]
2590,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 38:[15, 41, 59], Operations: ['96-37=59']
Exploring Operation: 59-15=44, Resulting Numbers: [41, 44]
Generated Node #0,1,0: 38:[41, 44] Operation: 59-15=44
Exploring Operation: 41-15=26, Resulting Numbers: [59, 26]
Generated Node #0,1,1: 38:[59, 26] Operation: 41-15=26
Exploring Operation: 15+41=56, Resulting Numbers: [59, 56]
Generated Node #0,1,2: 38:[59, 56] Operation: 15+41=56
Exploring Operation: 15+59=74, Resulting Numbers: [41, 74]
Generated Node #0,1,3: 38:[41, 74] Operation: 15+59=74
Exploring Operation: 59-41=18, Resulting Numbers: [15, 18]
Generated Node #0,1,4: 38:[15, 18] Operation: 59-41=18
Moving to Node #0,1,4
Current State: 38:[15, 18], Operations: ['96-37=59', '59-41=18']
Exploring Operation: 18-15=3, Resulting Numbers: [3]
3,38 unequal: No Solution
Exploring Operation: 15+18=33, Resulting Numbers: [33]
33,38 unequal: No Solution
Exploring Operation: 15*18=270, Resulting Numbers: [270]
270,38 unequal: No Solution
Moving to Node #0,1,0
Current State: 38:[41, 44], Operations: ['96-37=59', '59-15=44']
Exploring Operation: 41+44=85, Resulting Numbers: [85]
85,38 unequal: No Solution
Exploring Operation: 41*44=1804, Resulting Numbers: [1804]
1804,38 unequal: No Solution
Exploring Operation: 44-41=3, Resulting Numbers: [3]
3,38 unequal: No Solution
Moving to Node #0,1,1
Current State: 38:[59, 26], Operations: ['96-37=59', '41-15=26']
Exploring Operation: 59*26=1534, Resulting Numbers: [1534]
1534,38 unequal: No Solution
Exploring Operation: 59-26=33, Resulting Numbers: [33]
33,38 unequal: No Solution
Exploring Operation: 59+26=85, Resulting Numbers: [85]
85,38 unequal: No Solution
Moving to Node #0,1,2
Current State: 38:[59, 56], Operations: ['96-37=59', '15+41=56']
Exploring Operation: 59*56=3304, Resulting Numbers: [3304]
3304,38 unequal: No Solution
Exploring Operation: 59+56=115, Resulting Numbers: [115]
115,38 unequal: No Solution
Exploring Operation: 59-56=3, Resulting Numbers: [3]
3,38 unequal: No Solution
Moving to Node #0,1,3
Current State: 38:[41, 74], Operations: ['96-37=59', '15+59=74']
Exploring Operation: 74-41=33, Resulting Numbers: [33]
33,38 unequal: No Solution
Exploring Operation: 41+74=115, Resulting Numbers: [115]
115,38 unequal: No Solution
Exploring Operation: 41*74=3034, Resulting Numbers: [3034]
3034,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 38:[37, 41, 81], Operations: ['96-15=81']
Exploring Operation: 81-37=44, Resulting Numbers: [41, 44]
Generated Node #0,4,0: 38:[41, 44] Operation: 81-37=44
Exploring Operation: 37+81=118, Resulting Numbers: [41, 118]
Generated Node #0,4,1: 38:[41, 118] Operation: 37+81=118
Exploring Operation: 41-37=4, Resulting Numbers: [81, 4]
Generated Node #0,4,2: 38:[81, 4] Operation: 41-37=4
Exploring Operation: 81-41=40, Resulting Numbers: [37, 40]
Generated Node #0,4,3: 38:[37, 40] Operation: 81-41=40
Exploring Operation: 37+41=78, Resulting Numbers: [81, 78]
Generated Node #0,4,4: 38:[81, 78] Operation: 37+41=78
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 38:[37, 40], Operations: ['96-15=81', '81-41=40']
Exploring Operation: 37+40=77, Resulting Numbers: [77]
77,38 unequal: No Solution
Exploring Operation: 37*40=1480, Resulting Numbers: [1480]
1480,38 unequal: No Solution
Exploring Operation: 40-37=3, Resulting Numbers: [3]
3,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 38:[41, 44], Operations: ['96-15=81', '81-37=44']
Exploring Operation: 41+44=85, Resulting Numbers: [85]
85,38 unequal: No Solution
Exploring Operation: 44-41=3, Resulting Numbers: [3]
3,38 unequal: No Solution
Exploring Operation: 41*44=1804, Resulting Numbers: [1804]
1804,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 38:[81, 4], Operations: ['96-15=81', '41-37=4']
Exploring Operation: 81*4=324, Resulting Numbers: [324]
324,38 unequal: No Solution
Exploring Operation: 81+4=85, Resulting Numbers: [85]
85,38 unequal: No Solution
Exploring Operation: 81-4=77, Resulting Numbers: [77]
77,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 38:[41, 118], Operations: ['96-15=81', '37+81=118']
Exploring Operation: 118-41=77, Resulting Numbers: [77]
77,38 unequal: No Solution
Exploring Operation: 41*118=4838, Resulting Numbers: [4838]
4838,38 unequal: No Solution
Exploring Operation: 41+118=159, Resulting Numbers: [159]
159,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 38:[81, 78], Operations: ['96-15=81', '37+41=78']
Exploring Operation: 81*78=6318, Resulting Numbers: [6318]
6318,38 unequal: No Solution
Exploring Operation: 81+78=159, Resulting Numbers: [159]
159,38 unequal: No Solution
Exploring Operation: 81-78=3, Resulting Numbers: [3]
3,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 38:[15, 96, 4], Operations: ['41-37=4']
Exploring Operation: 96-15=81, Resulting Numbers: [4, 81]
Generated Node #0,0,0: 38:[4, 81] Operation: 96-15=81
Exploring Operation: 15-4=11, Resulting Numbers: [96, 11]
Generated Node #0,0,1: 38:[96, 11] Operation: 15-4=11
Exploring Operation: 15+4=19, Resulting Numbers: [96, 19]
Generated Node #0,0,2: 38:[96, 19] Operation: 15+4=19
Exploring Operation: 96-4=92, Resulting Numbers: [15, 92]
Generated Node #0,0,3: 38:[15, 92] Operation: 96-4=92
Exploring Operation: 96/4=24, Resulting Numbers: [15, 24]
Generated Node #0,0,4: 38:[15, 24] Operation: 96/4=24
Moving to Node #0,0,4
Current State: 38:[15, 24], Operations: ['41-37=4', '96/4=24']
Exploring Operation: 24-15=9, Resulting Numbers: [9]
9,38 unequal: No Solution
Exploring Operation: 15+24=39, Resulting Numbers: [39]
39,38 unequal: No Solution
Exploring Operation: 15*24=360, Resulting Numbers: [360]
360,38 unequal: No Solution
Moving to Node #0,0,0
Current State: 38:[4, 81], Operations: ['41-37=4', '96-15=81']
Exploring Operation: 4*81=324, Resulting Numbers: [324]
324,38 unequal: No Solution
Exploring Operation: 4+81=85, Resulting Numbers: [85]
85,38 unequal: No Solution
Exploring Operation: 81-4=77, Resulting Numbers: [77]
77,38 unequal: No Solution
Moving to Node #0,0,2
Current State: 38:[96, 19], Operations: ['41-37=4', '15+4=19']
Exploring Operation: 96-19=77, Resulting Numbers: [77]
77,38 unequal: No Solution
Exploring Operation: 96*19=1824, Resulting Numbers: [1824]
1824,38 unequal: No Solution
Exploring Operation: 96+19=115, Resulting Numbers: [115]
115,38 unequal: No Solution
Moving to Node #0,0,3
Current State: 38:[15, 92], Operations: ['41-37=4', '96-4=92']
Exploring Operation: 15*92=1380, Resulting Numbers: [1380]
1380,38 unequal: No Solution
Exploring Operation: 15+92=107, Resulting Numbers: [107]
107,38 unequal: No Solution
Exploring Operation: 92-15=77, Resulting Numbers: [77]
77,38 unequal: No Solution
Moving to Node #0,0,1
Current State: 38:[96, 11], Operations: ['41-37=4', '15-4=11']
Exploring Operation: 96*11=1056, Resulting Numbers: [1056]
1056,38 unequal: No Solution
Exploring Operation: 96+11=107, Resulting Numbers: [107]
107,38 unequal: No Solution
Exploring Operation: 96-11=85, Resulting Numbers: [85]
85,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 38:[41, 96, 22], Operations: ['37-15=22']
Exploring Operation: 41-22=19, Resulting Numbers: [96, 19]
Generated Node #0,3,0: 38:[96, 19] Operation: 41-22=19
Exploring Operation: 41+22=63, Resulting Numbers: [96, 63]
Generated Node #0,3,1: 38:[96, 63] Operation: 41+22=63
Exploring Operation: 96-22=74, Resulting Numbers: [41, 74]
Generated Node #0,3,2: 38:[41, 74] Operation: 96-22=74
Exploring Operation: 96+22=118, Resulting Numbers: [41, 118]
Generated Node #0,3,3: 38:[41, 118] Operation: 96+22=118
Exploring Operation: 96-41=55, Resulting Numbers: [22, 55]
Generated Node #0,3,4: 38:[22, 55] Operation: 96-41=55
Moving to Node #0,3,4
Current State: 38:[22, 55], Operations: ['37-15=22', '96-41=55']
Exploring Operation: 22*55=1210, Resulting Numbers: [1210]
1210,38 unequal: No Solution
Exploring Operation: 55-22=33, Resulting Numbers: [33]
33,38 unequal: No Solution
Exploring Operation: 22+55=77, Resulting Numbers: [77]
77,38 unequal: No Solution
Moving to Node #0,3,2
Current State: 38:[41, 74], Operations: ['37-15=22', '96-22=74']
Exploring Operation: 41+74=115, Resulting Numbers: [115]
115,38 unequal: No Solution
Exploring Operation: 74-41=33, Resulting Numbers: [33]
33,38 unequal: No Solution
Exploring Operation: 41*74=3034, Resulting Numbers: [3034]
3034,38 unequal: No Solution
Moving to Node #0,3,0
Current State: 38:[96, 19], Operations: ['37-15=22', '41-22=19']
Exploring Operation: 96-19=77, Resulting Numbers: [77]
77,38 unequal: No Solution
Exploring Operation: 96+19=115, Resulting Numbers: [115]
115,38 unequal: No Solution
Exploring Operation: 96*19=1824, Resulting Numbers: [1824]
1824,38 unequal: No Solution
Moving to Node #0,3,1
Current State: 38:[96, 63], Operations: ['37-15=22', '41+22=63']
Exploring Operation: 96*63=6048, Resulting Numbers: [6048]
6048,38 unequal: No Solution
Exploring Operation: 96+63=159, Resulting Numbers: [159]
159,38 unequal: No Solution
Exploring Operation: 96-63=33, Resulting Numbers: [33]
33,38 unequal: No Solution
Moving to Node #0,3,3
Current State: 38:[41, 118], Operations: ['37-15=22', '96+22=118']
Exploring Operation: 41+118=159, Resulting Numbers: [159]
159,38 unequal: No Solution
Exploring Operation: 118-41=77, Resulting Numbers: [77]
77,38 unequal: No Solution
Exploring Operation: 41*118=4838, Resulting Numbers: [4838]
4838,38 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 |
[
9,
49,
18,
15
] | 79 | [
"18/9=2",
"15*2=30",
"49+30=79"
] | Current State: 79:[9, 49, 18, 15], Operations: []
Exploring Operation: 18/9=2, Resulting Numbers: [49, 15, 2]
Generated Node #2: [49, 15, 2] from Operation: 18/9=2
Current State: 79:[49, 15, 2], Operations: ['18/9=2']
Exploring Operation: 15*2=30, Resulting Numbers: [49, 30]
Generated Node #3: [49, 30] from Operation: 15*2=30
Current State: 79:[49, 30], Operations: ['18/9=2', '15*2=30']
Exploring Operation: 49+30=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[9, 49, 18, 15], Operations: []
Exploring Operation: 9+15=24, Resulting Numbers: [49, 18, 24]
Generated Node #0,0: 79:[49, 18, 24] Operation: 9+15=24
Exploring Operation: 9+49=58, Resulting Numbers: [18, 15, 58]
Generated Node #0,1: 79:[18, 15, 58] Operation: 9+49=58
Exploring Operation: 9+18=27, Resulting Numbers: [49, 15, 27]
Generated Node #0,2: 79:[49, 15, 27] Operation: 9+18=27
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[49, 18, 24], Operations: ['9+15=24']
Exploring Operation: 49+18=67, Resulting Numbers: [24, 67]
Generated Node #0,0,0: 79:[24, 67] Operation: 49+18=67
Exploring Operation: 49+24=73, Resulting Numbers: [18, 73]
Generated Node #0,0,1: 79:[18, 73] Operation: 49+24=73
Exploring Operation: 18+24=42, Resulting Numbers: [49, 42]
Generated Node #0,0,2: 79:[49, 42] Operation: 18+24=42
Moving to Node #0,0,0
Current State: 79:[24, 67], Operations: ['9+15=24', '49+18=67']
Exploring Operation: 24*67=1608, Resulting Numbers: [1608]
1608,79 unequal: No Solution
Exploring Operation: 24+67=91, Resulting Numbers: [91]
91,79 unequal: No Solution
Exploring Operation: 67-24=43, Resulting Numbers: [43]
43,79 unequal: No Solution
Moving to Node #0,0,1
Current State: 79:[18, 73], Operations: ['9+15=24', '49+24=73']
Exploring Operation: 18*73=1314, Resulting Numbers: [1314]
1314,79 unequal: No Solution
Exploring Operation: 73-18=55, Resulting Numbers: [55]
55,79 unequal: No Solution
Exploring Operation: 18+73=91, Resulting Numbers: [91]
91,79 unequal: No Solution
Moving to Node #0,0,2
Current State: 79:[49, 42], Operations: ['9+15=24', '18+24=42']
Exploring Operation: 49*42=2058, Resulting Numbers: [2058]
2058,79 unequal: No Solution
Exploring Operation: 49+42=91, Resulting Numbers: [91]
91,79 unequal: No Solution
Exploring Operation: 49-42=7, Resulting Numbers: [7]
7,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
Current State: 79:[18, 15, 58], Operations: ['9+49=58']
Exploring Operation: 18+58=76, Resulting Numbers: [15, 76]
Generated Node #0,1,0: 79:[15, 76] Operation: 18+58=76
Exploring Operation: 18+15=33, Resulting Numbers: [58, 33]
Generated Node #0,1,1: 79:[58, 33] Operation: 18+15=33
Exploring Operation: 15+58=73, Resulting Numbers: [18, 73]
Generated Node #0,1,2: 79:[18, 73] Operation: 15+58=73
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 79:[15, 76], Operations: ['9+49=58', '18+58=76']
Exploring Operation: 15+76=91, Resulting Numbers: [91]
91,79 unequal: No Solution
Exploring Operation: 15*76=1140, Resulting Numbers: [1140]
1140,79 unequal: No Solution
Exploring Operation: 76-15=61, Resulting Numbers: [61]
61,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 79:[58, 33], Operations: ['9+49=58', '18+15=33']
Exploring Operation: 58-33=25, Resulting Numbers: [25]
25,79 unequal: No Solution
Exploring Operation: 58*33=1914, Resulting Numbers: [1914]
1914,79 unequal: No Solution
Exploring Operation: 58+33=91, Resulting Numbers: [91]
91,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 79:[18, 73], Operations: ['9+49=58', '15+58=73']
Exploring Operation: 73-18=55, Resulting Numbers: [55]
55,79 unequal: No Solution
Exploring Operation: 18+73=91, Resulting Numbers: [91]
91,79 unequal: No Solution
Exploring Operation: 18*73=1314, Resulting Numbers: [1314]
1314,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 79:[49, 15, 27], Operations: ['9+18=27']
Exploring Operation: 49+27=76, Resulting Numbers: [15, 76]
Generated Node #0,2,0: 79:[15, 76] Operation: 49+27=76
Exploring Operation: 49+15=64, Resulting Numbers: [27, 64]
Generated Node #0,2,1: 79:[27, 64] Operation: 49+15=64
Exploring Operation: 15+27=42, Resulting Numbers: [49, 42]
Generated Node #0,2,2: 79:[49, 42] Operation: 15+27=42
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 79:[15, 76], Operations: ['9+18=27', '49+27=76']
Exploring Operation: 15+76=91, Resulting Numbers: [91]
91,79 unequal: No Solution
Exploring Operation: 76-15=61, Resulting Numbers: [61]
61,79 unequal: No Solution
Exploring Operation: 15*76=1140, Resulting Numbers: [1140]
1140,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 79:[27, 64], Operations: ['9+18=27', '49+15=64']
Exploring Operation: 64-27=37, Resulting Numbers: [37]
37,79 unequal: No Solution
Exploring Operation: 27*64=1728, Resulting Numbers: [1728]
1728,79 unequal: No Solution
Exploring Operation: 27+64=91, Resulting Numbers: [91]
91,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 79:[49, 42], Operations: ['9+18=27', '15+27=42']
Exploring Operation: 49+42=91, Resulting Numbers: [91]
91,79 unequal: No Solution
Exploring Operation: 49*42=2058, Resulting Numbers: [2058]
2058,79 unequal: No Solution
Exploring Operation: 49-42=7, Resulting Numbers: [7]
7,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
27,
47,
82,
41
] | 40 | [
"47-27=20",
"82/41=2",
"20*2=40"
] | Current State: 40:[27, 47, 82, 41], Operations: []
Exploring Operation: 47-27=20, Resulting Numbers: [82, 41, 20]
Generated Node #2: [82, 41, 20] from Operation: 47-27=20
Current State: 40:[82, 41, 20], Operations: ['47-27=20']
Exploring Operation: 82/41=2, Resulting Numbers: [20, 2]
Generated Node #3: [20, 2] from Operation: 82/41=2
Current State: 40:[20, 2], Operations: ['47-27=20', '82/41=2']
Exploring Operation: 20*2=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[27, 47, 82, 41], Operations: []
Exploring Operation: 82-47=35, Resulting Numbers: [27, 41, 35]
Generated Node #0,0: 40:[27, 41, 35] Operation: 82-47=35
Exploring Operation: 82/41=2, Resulting Numbers: [27, 47, 2]
Generated Node #0,1: 40:[27, 47, 2] Operation: 82/41=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 40:[27, 41, 35], Operations: ['82-47=35']
Exploring Operation: 35-27=8, Resulting Numbers: [41, 8]
Generated Node #0,0,0: 40:[41, 8] Operation: 35-27=8
Exploring Operation: 41-35=6, Resulting Numbers: [27, 6]
Generated Node #0,0,1: 40:[27, 6] Operation: 41-35=6
Moving to Node #0,0,0
Current State: 40:[41, 8], Operations: ['82-47=35', '35-27=8']
Exploring Operation: 41+8=49, Resulting Numbers: [49]
49,40 unequal: No Solution
Exploring Operation: 41-8=33, Resulting Numbers: [33]
33,40 unequal: No Solution
Moving to Node #0,0,1
Current State: 40:[27, 6], Operations: ['82-47=35', '41-35=6']
Exploring Operation: 27-6=21, Resulting Numbers: [21]
21,40 unequal: No Solution
Exploring Operation: 27+6=33, Resulting Numbers: [33]
33,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 40:[27, 47, 2], Operations: ['82/41=2']
Exploring Operation: 47-27=20, Resulting Numbers: [2, 20]
Generated Node #0,1,0: 40:[2, 20] Operation: 47-27=20
Exploring Operation: 27-2=25, Resulting Numbers: [47, 25]
Generated Node #0,1,1: 40:[47, 25] Operation: 27-2=25
Moving to Node #0,1,0
Current State: 40:[2, 20], Operations: ['82/41=2', '47-27=20']
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,40 unequal: No Solution
Exploring Operation: 2*20=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[27, 47, 82, 41], Operations: []
Exploring Operation: 82/41=2, Resulting Numbers: [27, 47, 2]
Generated Node #0,1: 40:[27, 47, 2] Operation: 82/41=2
Moving to Node #0,1
Current State: 40:[27, 47, 2], Operations: ['82/41=2']
Exploring Operation: 47-27=20, Resulting Numbers: [2, 20]
Generated Node #0,1,0: 40:[2, 20] Operation: 47-27=20
Moving to Node #0,1,0
Current State: 40:[2, 20], Operations: ['82/41=2', '47-27=20']
Exploring Operation: 2*20=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_2 | mult_heuristic |
[
73,
97,
47,
95
] | 13 | [
"73-47=26",
"97-95=2",
"26/2=13"
] | Current State: 13:[73, 97, 47, 95], Operations: []
Exploring Operation: 73-47=26, Resulting Numbers: [97, 95, 26]
Generated Node #2: [97, 95, 26] from Operation: 73-47=26
Current State: 13:[97, 95, 26], Operations: ['73-47=26']
Exploring Operation: 97-95=2, Resulting Numbers: [26, 2]
Generated Node #3: [26, 2] from Operation: 97-95=2
Current State: 13:[26, 2], Operations: ['73-47=26', '97-95=2']
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[73, 97, 47, 95], Operations: []
Exploring Operation: 97-73=24, Resulting Numbers: [47, 95, 24]
Generated Node #0,0: 13:[47, 95, 24] Operation: 97-73=24
Exploring Operation: 97-95=2, Resulting Numbers: [73, 47, 2]
Generated Node #0,1: 13:[73, 47, 2] Operation: 97-95=2
Exploring Operation: 95-73=22, Resulting Numbers: [97, 47, 22]
Generated Node #0,2: 13:[97, 47, 22] Operation: 95-73=22
Exploring Operation: 97-47=50, Resulting Numbers: [73, 95, 50]
Generated Node #0,3: 13:[73, 95, 50] Operation: 97-47=50
Exploring Operation: 73-47=26, Resulting Numbers: [97, 95, 26]
Generated Node #0,4: 13:[97, 95, 26] Operation: 73-47=26
Moving to Node #0,1
Current State: 13:[73, 47, 2], Operations: ['97-95=2']
Exploring Operation: 47+2=49, Resulting Numbers: [73, 49]
Generated Node #0,1,0: 13:[73, 49] Operation: 47+2=49
Exploring Operation: 47-2=45, Resulting Numbers: [73, 45]
Generated Node #0,1,1: 13:[73, 45] Operation: 47-2=45
Exploring Operation: 73-2=71, Resulting Numbers: [47, 71]
Generated Node #0,1,2: 13:[47, 71] Operation: 73-2=71
Exploring Operation: 73+2=75, Resulting Numbers: [47, 75]
Generated Node #0,1,3: 13:[47, 75] Operation: 73+2=75
Exploring Operation: 73-47=26, Resulting Numbers: [2, 26]
Generated Node #0,1,4: 13:[2, 26] Operation: 73-47=26
Moving to Node #0,2
Current State: 13:[97, 47, 22], Operations: ['95-73=22']
Exploring Operation: 97-47=50, Resulting Numbers: [22, 50]
Generated Node #0,2,0: 13:[22, 50] Operation: 97-47=50
Exploring Operation: 97+47=144, Resulting Numbers: [22, 144]
Generated Node #0,2,1: 13:[22, 144] Operation: 97+47=144
Exploring Operation: 97+22=119, Resulting Numbers: [47, 119]
Generated Node #0,2,2: 13:[47, 119] Operation: 97+22=119
Exploring Operation: 97-22=75, Resulting Numbers: [47, 75]
Generated Node #0,2,3: 13:[47, 75] Operation: 97-22=75
Exploring Operation: 47-22=25, Resulting Numbers: [97, 25]
Generated Node #0,2,4: 13:[97, 25] Operation: 47-22=25
Moving to Node #0,0
Current State: 13:[47, 95, 24], Operations: ['97-73=24']
Exploring Operation: 95-24=71, Resulting Numbers: [47, 71]
Generated Node #0,0,0: 13:[47, 71] Operation: 95-24=71
Exploring Operation: 47-24=23, Resulting Numbers: [95, 23]
Generated Node #0,0,1: 13:[95, 23] Operation: 47-24=23
Exploring Operation: 47+24=71, Resulting Numbers: [95, 71]
Generated Node #0,0,2: 13:[95, 71] Operation: 47+24=71
Exploring Operation: 95-47=48, Resulting Numbers: [24, 48]
Generated Node #0,0,3: 13:[24, 48] Operation: 95-47=48
Exploring Operation: 47+95=142, Resulting Numbers: [24, 142]
Generated Node #0,0,4: 13:[24, 142] Operation: 47+95=142
Moving to Node #0,3
Current State: 13:[73, 95, 50], Operations: ['97-47=50']
Exploring Operation: 95-73=22, Resulting Numbers: [50, 22]
Generated Node #0,3,0: 13:[50, 22] Operation: 95-73=22
Exploring Operation: 73+50=123, Resulting Numbers: [95, 123]
Generated Node #0,3,1: 13:[95, 123] Operation: 73+50=123
Exploring Operation: 95-50=45, Resulting Numbers: [73, 45]
Generated Node #0,3,2: 13:[73, 45] Operation: 95-50=45
Exploring Operation: 73+95=168, Resulting Numbers: [50, 168]
Generated Node #0,3,3: 13:[50, 168] Operation: 73+95=168
Exploring Operation: 73-50=23, Resulting Numbers: [95, 23]
Generated Node #0,3,4: 13:[95, 23] Operation: 73-50=23
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 13:[50, 22], Operations: ['97-47=50', '95-73=22']
Exploring Operation: 50*22=1100, Resulting Numbers: [1100]
1100,13 unequal: No Solution
Exploring Operation: 50-22=28, Resulting Numbers: [28]
28,13 unequal: No Solution
Exploring Operation: 50+22=72, Resulting Numbers: [72]
72,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,3,2
Current State: 13:[73, 45], Operations: ['97-47=50', '95-50=45']
Exploring Operation: 73*45=3285, Resulting Numbers: [3285]
3285,13 unequal: No Solution
Exploring Operation: 73+45=118, Resulting Numbers: [118]
118,13 unequal: No Solution
Exploring Operation: 73-45=28, Resulting Numbers: [28]
28,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,3,4
Current State: 13:[95, 23], Operations: ['97-47=50', '73-50=23']
Exploring Operation: 95-23=72, Resulting Numbers: [72]
72,13 unequal: No Solution
Exploring Operation: 95+23=118, Resulting Numbers: [118]
118,13 unequal: No Solution
Exploring Operation: 95*23=2185, Resulting Numbers: [2185]
2185,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,3,1
Current State: 13:[95, 123], Operations: ['97-47=50', '73+50=123']
Exploring Operation: 95*123=11685, Resulting Numbers: [11685]
11685,13 unequal: No Solution
Exploring Operation: 95+123=218, Resulting Numbers: [218]
218,13 unequal: No Solution
Exploring Operation: 123-95=28, Resulting Numbers: [28]
28,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,3,3
Current State: 13:[50, 168], Operations: ['97-47=50', '73+95=168']
Exploring Operation: 50*168=8400, Resulting Numbers: [8400]
8400,13 unequal: No Solution
Exploring Operation: 168-50=118, Resulting Numbers: [118]
118,13 unequal: No Solution
Exploring Operation: 50+168=218, Resulting Numbers: [218]
218,13 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: 13:[97, 95, 26], Operations: ['73-47=26']
Exploring Operation: 97-95=2, Resulting Numbers: [26, 2]
Generated Node #0,4,0: 13:[26, 2] Operation: 97-95=2
Exploring Operation: 97+95=192, Resulting Numbers: [26, 192]
Generated Node #0,4,1: 13:[26, 192] Operation: 97+95=192
Exploring Operation: 97-26=71, Resulting Numbers: [95, 71]
Generated Node #0,4,2: 13:[95, 71] Operation: 97-26=71
Exploring Operation: 95-26=69, Resulting Numbers: [97, 69]
Generated Node #0,4,3: 13:[97, 69] Operation: 95-26=69
Exploring Operation: 97+26=123, Resulting Numbers: [95, 123]
Generated Node #0,4,4: 13:[95, 123] Operation: 97+26=123
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 13:[26, 2], Operations: ['73-47=26', '97-95=2']
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[73, 97, 47, 95], Operations: []
Exploring Operation: 73-47=26, Resulting Numbers: [97, 95, 26]
Generated Node #0,4: 13:[97, 95, 26] Operation: 73-47=26
Moving to Node #0,4
Current State: 13:[97, 95, 26], Operations: ['73-47=26']
Exploring Operation: 97-95=2, Resulting Numbers: [26, 2]
Generated Node #0,4,0: 13:[26, 2] Operation: 97-95=2
Moving to Node #0,4,0
Current State: 13:[26, 2], Operations: ['73-47=26', '97-95=2']
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 1
| 0.956597 | hs_5 | mult_heuristic |
[
63,
77,
20,
18
] | 70 | [
"63+77=140",
"20-18=2",
"140/2=70"
] | Current State: 70:[63, 77, 20, 18], Operations: []
Exploring Operation: 63+77=140, Resulting Numbers: [20, 18, 140]
Generated Node #2: [20, 18, 140] from Operation: 63+77=140
Current State: 70:[20, 18, 140], Operations: ['63+77=140']
Exploring Operation: 20-18=2, Resulting Numbers: [140, 2]
Generated Node #3: [140, 2] from Operation: 20-18=2
Current State: 70:[140, 2], Operations: ['63+77=140', '20-18=2']
Exploring Operation: 140/2=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[63, 77, 20, 18], Operations: []
Exploring Operation: 20-18=2, Resulting Numbers: [63, 77, 2]
Generated Node #0,0: 70:[63, 77, 2] Operation: 20-18=2
Exploring Operation: 77-63=14, Resulting Numbers: [20, 18, 14]
Generated Node #0,1: 70:[20, 18, 14] Operation: 77-63=14
Start Sub Search at level 1: Moving to Node #0,1
Current State: 70:[20, 18, 14], Operations: ['77-63=14']
Exploring Operation: 20+18=38, Resulting Numbers: [14, 38]
Generated Node #0,1,0: 70:[14, 38] Operation: 20+18=38
Exploring Operation: 20-18=2, Resulting Numbers: [14, 2]
Generated Node #0,1,1: 70:[14, 2] Operation: 20-18=2
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 70:[14, 2], Operations: ['77-63=14', '20-18=2']
Exploring Operation: 14+2=16, Resulting Numbers: [16]
16,70 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 70:[14, 38], Operations: ['77-63=14', '20+18=38']
Exploring Operation: 14+38=52, Resulting Numbers: [52]
52,70 unequal: No Solution
Exploring Operation: 38-14=24, Resulting Numbers: [24]
24,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:[63, 77, 2], Operations: ['20-18=2']
Exploring Operation: 77-63=14, Resulting Numbers: [2, 14]
Generated Node #0,0,0: 70:[2, 14] Operation: 77-63=14
Exploring Operation: 63+2=65, Resulting Numbers: [77, 65]
Generated Node #0,0,1: 70:[77, 65] Operation: 63+2=65
Moving to Node #0,0,0
Current State: 70:[2, 14], Operations: ['20-18=2', '77-63=14']
Exploring Operation: 2+14=16, Resulting Numbers: [16]
16,70 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,70 unequal: No Solution
Moving to Node #0,0,1
Current State: 70:[77, 65], Operations: ['20-18=2', '63+2=65']
Exploring Operation: 77+65=142, Resulting Numbers: [142]
142,70 unequal: No Solution
Exploring Operation: 77-65=12, Resulting Numbers: [12]
12,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
45,
77,
87,
80
] | 25 | [
"77-45=32",
"87-80=7",
"32-7=25"
] | Current State: 25:[45, 77, 87, 80], Operations: []
Exploring Operation: 77-45=32, Resulting Numbers: [87, 80, 32]
Generated Node #2: [87, 80, 32] from Operation: 77-45=32
Current State: 25:[87, 80, 32], Operations: ['77-45=32']
Exploring Operation: 87-80=7, Resulting Numbers: [32, 7]
Generated Node #3: [32, 7] from Operation: 87-80=7
Current State: 25:[32, 7], Operations: ['77-45=32', '87-80=7']
Exploring Operation: 32-7=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[45, 77, 87, 80], Operations: []
Exploring Operation: 87-77=10, Resulting Numbers: [45, 80, 10]
Generated Node #0,0: 25:[45, 80, 10] Operation: 87-77=10
Exploring Operation: 80-77=3, Resulting Numbers: [45, 87, 3]
Generated Node #0,1: 25:[45, 87, 3] Operation: 80-77=3
Exploring Operation: 87-45=42, Resulting Numbers: [77, 80, 42]
Generated Node #0,2: 25:[77, 80, 42] Operation: 87-45=42
Exploring Operation: 87-80=7, Resulting Numbers: [45, 77, 7]
Generated Node #0,3: 25:[45, 77, 7] Operation: 87-80=7
Exploring Operation: 77-45=32, Resulting Numbers: [87, 80, 32]
Generated Node #0,4: 25:[87, 80, 32] Operation: 77-45=32
Moving to Node #0,3
Current State: 25:[45, 77, 7], Operations: ['87-80=7']
Exploring Operation: 77/7=11, Resulting Numbers: [45, 11]
Generated Node #0,3,0: 25:[45, 11] Operation: 77/7=11
Exploring Operation: 77-7=70, Resulting Numbers: [45, 70]
Generated Node #0,3,1: 25:[45, 70] Operation: 77-7=70
Exploring Operation: 45+7=52, Resulting Numbers: [77, 52]
Generated Node #0,3,2: 25:[77, 52] Operation: 45+7=52
Exploring Operation: 77-45=32, Resulting Numbers: [7, 32]
Generated Node #0,3,3: 25:[7, 32] Operation: 77-45=32
Exploring Operation: 45-7=38, Resulting Numbers: [77, 38]
Generated Node #0,3,4: 25:[77, 38] Operation: 45-7=38
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 25:[7, 32], Operations: ['87-80=7', '77-45=32']
Exploring Operation: 7+32=39, Resulting Numbers: [39]
39,25 unequal: No Solution
Exploring Operation: 32-7=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[45, 77, 87, 80], Operations: []
Exploring Operation: 87-80=7, Resulting Numbers: [45, 77, 7]
Generated Node #0,3: 25:[45, 77, 7] Operation: 87-80=7
Moving to Node #0,3
Current State: 25:[45, 77, 7], Operations: ['87-80=7']
Exploring Operation: 77-45=32, Resulting Numbers: [7, 32]
Generated Node #0,3,3: 25:[7, 32] Operation: 77-45=32
Moving to Node #0,3,3
Current State: 25:[7, 32], Operations: ['87-80=7', '77-45=32']
Exploring Operation: 32-7=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
31,
59,
1,
7
] | 83 | [
"31+59=90",
"1*7=7",
"90-7=83"
] | Current State: 83:[31, 59, 1, 7], Operations: []
Exploring Operation: 31+59=90, Resulting Numbers: [1, 7, 90]
Generated Node #2: [1, 7, 90] from Operation: 31+59=90
Current State: 83:[1, 7, 90], Operations: ['31+59=90']
Exploring Operation: 1*7=7, Resulting Numbers: [90, 7]
Generated Node #3: [90, 7] from Operation: 1*7=7
Current State: 83:[90, 7], Operations: ['31+59=90', '1*7=7']
Exploring Operation: 90-7=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[31, 59, 1, 7], Operations: []
Exploring Operation: 31+7=38, Resulting Numbers: [59, 1, 38]
Generated Node #0,0: 83:[59, 1, 38] Operation: 31+7=38
Exploring Operation: 31+1=32, Resulting Numbers: [59, 7, 32]
Generated Node #0,1: 83:[59, 7, 32] Operation: 31+1=32
Exploring Operation: 59+7=66, Resulting Numbers: [31, 1, 66]
Generated Node #0,2: 83:[31, 1, 66] Operation: 59+7=66
Exploring Operation: 59+1=60, Resulting Numbers: [31, 7, 60]
Generated Node #0,3: 83:[31, 7, 60] Operation: 59+1=60
Moving to Node #0,0
Current State: 83:[59, 1, 38], Operations: ['31+7=38']
Exploring Operation: 1+38=39, Resulting Numbers: [59, 39]
Generated Node #0,0,0: 83:[59, 39] Operation: 1+38=39
Exploring Operation: 59/1=59, Resulting Numbers: [38, 59]
Generated Node #0,0,1: 83:[38, 59] Operation: 59/1=59
Exploring Operation: 59+1=60, Resulting Numbers: [38, 60]
Generated Node #0,0,2: 83:[38, 60] Operation: 59+1=60
Exploring Operation: 59*1=59, Resulting Numbers: [38, 59]
Generated Node #0,0,3: 83:[38, 59] Operation: 59*1=59
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 83:[59, 39], Operations: ['31+7=38', '1+38=39']
Exploring Operation: 59*39=2301, Resulting Numbers: [2301]
2301,83 unequal: No Solution
Exploring Operation: 59+39=98, Resulting Numbers: [98]
98,83 unequal: No Solution
Exploring Operation: 59-39=20, Resulting Numbers: [20]
20,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 83:[38, 60], Operations: ['31+7=38', '59+1=60']
Exploring Operation: 38*60=2280, Resulting Numbers: [2280]
2280,83 unequal: No Solution
Exploring Operation: 60-38=22, Resulting Numbers: [22]
22,83 unequal: No Solution
Exploring Operation: 38+60=98, Resulting Numbers: [98]
98,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 83:[38, 59], Operations: ['31+7=38', '59/1=59']
Exploring Operation: 38+59=97, Resulting Numbers: [97]
97,83 unequal: No Solution
Exploring Operation: 38*59=2242, Resulting Numbers: [2242]
2242,83 unequal: No Solution
Exploring Operation: 59-38=21, Resulting Numbers: [21]
21,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 83:[38, 59], Operations: ['31+7=38', '59*1=59']
Exploring Operation: 38*59=2242, Resulting Numbers: [2242]
2242,83 unequal: No Solution
Exploring Operation: 38+59=97, Resulting Numbers: [97]
97,83 unequal: No Solution
Exploring Operation: 59-38=21, Resulting Numbers: [21]
21,83 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: 83:[31, 1, 66], Operations: ['59+7=66']
Exploring Operation: 31*1=31, Resulting Numbers: [66, 31]
Generated Node #0,2,0: 83:[66, 31] Operation: 31*1=31
Exploring Operation: 1+66=67, Resulting Numbers: [31, 67]
Generated Node #0,2,1: 83:[31, 67] Operation: 1+66=67
Exploring Operation: 31/1=31, Resulting Numbers: [66, 31]
Generated Node #0,2,2: 83:[66, 31] Operation: 31/1=31
Exploring Operation: 31+1=32, Resulting Numbers: [66, 32]
Generated Node #0,2,3: 83:[66, 32] Operation: 31+1=32
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 83:[31, 67], Operations: ['59+7=66', '1+66=67']
Exploring Operation: 31+67=98, Resulting Numbers: [98]
98,83 unequal: No Solution
Exploring Operation: 31*67=2077, Resulting Numbers: [2077]
2077,83 unequal: No Solution
Exploring Operation: 67-31=36, Resulting Numbers: [36]
36,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 83:[66, 32], Operations: ['59+7=66', '31+1=32']
Exploring Operation: 66+32=98, Resulting Numbers: [98]
98,83 unequal: No Solution
Exploring Operation: 66-32=34, Resulting Numbers: [34]
34,83 unequal: No Solution
Exploring Operation: 66*32=2112, Resulting Numbers: [2112]
2112,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 83:[66, 31], Operations: ['59+7=66', '31*1=31']
Exploring Operation: 66*31=2046, Resulting Numbers: [2046]
2046,83 unequal: No Solution
Exploring Operation: 66-31=35, Resulting Numbers: [35]
35,83 unequal: No Solution
Exploring Operation: 66+31=97, Resulting Numbers: [97]
97,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 83:[66, 31], Operations: ['59+7=66', '31/1=31']
Exploring Operation: 66-31=35, Resulting Numbers: [35]
35,83 unequal: No Solution
Exploring Operation: 66*31=2046, Resulting Numbers: [2046]
2046,83 unequal: No Solution
Exploring Operation: 66+31=97, Resulting Numbers: [97]
97,83 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: 83:[59, 7, 32], Operations: ['31+1=32']
Exploring Operation: 7+32=39, Resulting Numbers: [59, 39]
Generated Node #0,1,0: 83:[59, 39] Operation: 7+32=39
Exploring Operation: 59+7=66, Resulting Numbers: [32, 66]
Generated Node #0,1,1: 83:[32, 66] Operation: 59+7=66
Exploring Operation: 59-7=52, Resulting Numbers: [32, 52]
Generated Node #0,1,2: 83:[32, 52] Operation: 59-7=52
Exploring Operation: 32-7=25, Resulting Numbers: [59, 25]
Generated Node #0,1,3: 83:[59, 25] Operation: 32-7=25
Moving to Node #0,3
Current State: 83:[31, 7, 60], Operations: ['59+1=60']
Exploring Operation: 60-7=53, Resulting Numbers: [31, 53]
Generated Node #0,3,0: 83:[31, 53] Operation: 60-7=53
Exploring Operation: 31+7=38, Resulting Numbers: [60, 38]
Generated Node #0,3,1: 83:[60, 38] Operation: 31+7=38
Exploring Operation: 31-7=24, Resulting Numbers: [60, 24]
Generated Node #0,3,2: 83:[60, 24] Operation: 31-7=24
Exploring Operation: 7+60=67, Resulting Numbers: [31, 67]
Generated Node #0,3,3: 83:[31, 67] Operation: 7+60=67
Moving to Node #0,1,0
Current State: 83:[59, 39], Operations: ['31+1=32', '7+32=39']
Exploring Operation: 59-39=20, Resulting Numbers: [20]
20,83 unequal: No Solution
Exploring Operation: 59*39=2301, Resulting Numbers: [2301]
2301,83 unequal: No Solution
Exploring Operation: 59+39=98, Resulting Numbers: [98]
98,83 unequal: No Solution
Moving to Node #0,3,3
Current State: 83:[31, 67], Operations: ['59+1=60', '7+60=67']
Exploring Operation: 31+67=98, Resulting Numbers: [98]
98,83 unequal: No Solution
Exploring Operation: 67-31=36, Resulting Numbers: [36]
36,83 unequal: No Solution
Exploring Operation: 31*67=2077, Resulting Numbers: [2077]
2077,83 unequal: No Solution
Moving to Node #0,1,1
Current State: 83:[32, 66], Operations: ['31+1=32', '59+7=66']
Exploring Operation: 32+66=98, Resulting Numbers: [98]
98,83 unequal: No Solution
Exploring Operation: 32*66=2112, Resulting Numbers: [2112]
2112,83 unequal: No Solution
Exploring Operation: 66-32=34, Resulting Numbers: [34]
34,83 unequal: No Solution
Moving to Node #0,3,1
Current State: 83:[60, 38], Operations: ['59+1=60', '31+7=38']
Exploring Operation: 60+38=98, Resulting Numbers: [98]
98,83 unequal: No Solution
Exploring Operation: 60*38=2280, Resulting Numbers: [2280]
2280,83 unequal: No Solution
Exploring Operation: 60-38=22, Resulting Numbers: [22]
22,83 unequal: No Solution
Moving to Node #0,3,0
Current State: 83:[31, 53], Operations: ['59+1=60', '60-7=53']
Exploring Operation: 31*53=1643, Resulting Numbers: [1643]
1643,83 unequal: No Solution
Exploring Operation: 31+53=84, Resulting Numbers: [84]
84,83 unequal: No Solution
Exploring Operation: 53-31=22, Resulting Numbers: [22]
22,83 unequal: No Solution
Moving to Node #0,1,2
Current State: 83:[32, 52], Operations: ['31+1=32', '59-7=52']
Exploring Operation: 32+52=84, Resulting Numbers: [84]
84,83 unequal: No Solution
Exploring Operation: 32*52=1664, Resulting Numbers: [1664]
1664,83 unequal: No Solution
Exploring Operation: 52-32=20, Resulting Numbers: [20]
20,83 unequal: No Solution
Moving to Node #0,3,2
Current State: 83:[60, 24], Operations: ['59+1=60', '31-7=24']
Exploring Operation: 60*24=1440, Resulting Numbers: [1440]
1440,83 unequal: No Solution
Exploring Operation: 60-24=36, Resulting Numbers: [36]
36,83 unequal: No Solution
Exploring Operation: 60+24=84, Resulting Numbers: [84]
84,83 unequal: No Solution
Moving to Node #0,1,3
Current State: 83:[59, 25], Operations: ['31+1=32', '32-7=25']
Exploring Operation: 59*25=1475, Resulting Numbers: [1475]
1475,83 unequal: No Solution
Exploring Operation: 59-25=34, Resulting Numbers: [34]
34,83 unequal: No Solution
Exploring Operation: 59+25=84, Resulting Numbers: [84]
84,83 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
95,
83,
87,
96
] | 71 | [
"95-87=8",
"96/8=12",
"83-12=71"
] | Current State: 71:[95, 83, 87, 96], Operations: []
Exploring Operation: 95-87=8, Resulting Numbers: [83, 96, 8]
Generated Node #2: [83, 96, 8] from Operation: 95-87=8
Current State: 71:[83, 96, 8], Operations: ['95-87=8']
Exploring Operation: 96/8=12, Resulting Numbers: [83, 12]
Generated Node #3: [83, 12] from Operation: 96/8=12
Current State: 71:[83, 12], Operations: ['95-87=8', '96/8=12']
Exploring Operation: 83-12=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[95, 83, 87, 96], Operations: []
Exploring Operation: 96-95=1, Resulting Numbers: [83, 87, 1]
Generated Node #0,0: 71:[83, 87, 1] Operation: 96-95=1
Exploring Operation: 96-83=13, Resulting Numbers: [95, 87, 13]
Generated Node #0,1: 71:[95, 87, 13] Operation: 96-83=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[83, 87, 1], Operations: ['96-95=1']
Exploring Operation: 83-1=82, Resulting Numbers: [87, 82]
Generated Node #0,0,0: 71:[87, 82] Operation: 83-1=82
Exploring Operation: 87-1=86, Resulting Numbers: [83, 86]
Generated Node #0,0,1: 71:[83, 86] Operation: 87-1=86
Moving to Node #0,0,0
Current State: 71:[87, 82], Operations: ['96-95=1', '83-1=82']
Exploring Operation: 87-82=5, Resulting Numbers: [5]
5,71 unequal: No Solution
Exploring Operation: 87+82=169, Resulting Numbers: [169]
169,71 unequal: No Solution
Moving to Node #0,0,1
Current State: 71:[83, 86], Operations: ['96-95=1', '87-1=86']
Exploring Operation: 83+86=169, Resulting Numbers: [169]
169,71 unequal: No Solution
Exploring Operation: 86-83=3, Resulting Numbers: [3]
3,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 71:[95, 87, 13], Operations: ['96-83=13']
Exploring Operation: 87-13=74, Resulting Numbers: [95, 74]
Generated Node #0,1,0: 71:[95, 74] Operation: 87-13=74
Exploring Operation: 95-13=82, Resulting Numbers: [87, 82]
Generated Node #0,1,1: 71:[87, 82] Operation: 95-13=82
Moving to Node #0,1,0
Current State: 71:[95, 74], Operations: ['96-83=13', '87-13=74']
Exploring Operation: 95+74=169, Resulting Numbers: [169]
169,71 unequal: No Solution
Exploring Operation: 95-74=21, Resulting Numbers: [21]
21,71 unequal: No Solution
Moving to Node #0,1,1
Current State: 71:[87, 82], Operations: ['96-83=13', '95-13=82']
Exploring Operation: 87-82=5, Resulting Numbers: [5]
5,71 unequal: No Solution
Exploring Operation: 87+82=169, Resulting Numbers: [169]
169,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
30,
48,
57,
42
] | 60 | [
"48+42=90",
"90/30=3",
"57+3=60"
] | Current State: 60:[30, 48, 57, 42], Operations: []
Exploring Operation: 48+42=90, Resulting Numbers: [30, 57, 90]
Generated Node #2: [30, 57, 90] from Operation: 48+42=90
Current State: 60:[30, 57, 90], Operations: ['48+42=90']
Exploring Operation: 90/30=3, Resulting Numbers: [57, 3]
Generated Node #3: [57, 3] from Operation: 90/30=3
Current State: 60:[57, 3], Operations: ['48+42=90', '90/30=3']
Exploring Operation: 57+3=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[30, 48, 57, 42], Operations: []
Exploring Operation: 57-42=15, Resulting Numbers: [30, 48, 15]
Generated Node #0,0: 60:[30, 48, 15] Operation: 57-42=15
Exploring Operation: 57-48=9, Resulting Numbers: [30, 42, 9]
Generated Node #0,1: 60:[30, 42, 9] Operation: 57-48=9
Exploring Operation: 42-30=12, Resulting Numbers: [48, 57, 12]
Generated Node #0,2: 60:[48, 57, 12] Operation: 42-30=12
Exploring Operation: 48-30=18, Resulting Numbers: [57, 42, 18]
Generated Node #0,3: 60:[57, 42, 18] Operation: 48-30=18
Exploring Operation: 48-42=6, Resulting Numbers: [30, 57, 6]
Generated Node #0,4: 60:[30, 57, 6] Operation: 48-42=6
Moving to Node #0,4
Current State: 60:[30, 57, 6], Operations: ['48-42=6']
Exploring Operation: 30+6=36, Resulting Numbers: [57, 36]
Generated Node #0,4,0: 60:[57, 36] Operation: 30+6=36
Exploring Operation: 30/6=5, Resulting Numbers: [57, 5]
Generated Node #0,4,1: 60:[57, 5] Operation: 30/6=5
Exploring Operation: 57-30=27, Resulting Numbers: [6, 27]
Generated Node #0,4,2: 60:[6, 27] Operation: 57-30=27
Exploring Operation: 57+6=63, Resulting Numbers: [30, 63]
Generated Node #0,4,3: 60:[30, 63] Operation: 57+6=63
Exploring Operation: 30-6=24, Resulting Numbers: [57, 24]
Generated Node #0,4,4: 60:[57, 24] Operation: 30-6=24
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 60:[57, 5], Operations: ['48-42=6', '30/6=5']
Exploring Operation: 57*5=285, Resulting Numbers: [285]
285,60 unequal: No Solution
Exploring Operation: 57-5=52, Resulting Numbers: [52]
52,60 unequal: No Solution
Exploring Operation: 57+5=62, Resulting Numbers: [62]
62,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 60:[6, 27], Operations: ['48-42=6', '57-30=27']
Exploring Operation: 6+27=33, Resulting Numbers: [33]
33,60 unequal: No Solution
Exploring Operation: 27-6=21, Resulting Numbers: [21]
21,60 unequal: No Solution
Exploring Operation: 6*27=162, Resulting Numbers: [162]
162,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 60:[30, 63], Operations: ['48-42=6', '57+6=63']
Exploring Operation: 30+63=93, Resulting Numbers: [93]
93,60 unequal: No Solution
Exploring Operation: 63-30=33, Resulting Numbers: [33]
33,60 unequal: No Solution
Exploring Operation: 30*63=1890, Resulting Numbers: [1890]
1890,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 60:[57, 24], Operations: ['48-42=6', '30-6=24']
Exploring Operation: 57-24=33, Resulting Numbers: [33]
33,60 unequal: No Solution
Exploring Operation: 57+24=81, Resulting Numbers: [81]
81,60 unequal: No Solution
Exploring Operation: 57*24=1368, Resulting Numbers: [1368]
1368,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 60:[57, 36], Operations: ['48-42=6', '30+6=36']
Exploring Operation: 57+36=93, Resulting Numbers: [93]
93,60 unequal: No Solution
Exploring Operation: 57-36=21, Resulting Numbers: [21]
21,60 unequal: No Solution
Exploring Operation: 57*36=2052, Resulting Numbers: [2052]
2052,60 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: 60:[30, 48, 15], Operations: ['57-42=15']
Exploring Operation: 30/15=2, Resulting Numbers: [48, 2]
Generated Node #0,0,0: 60:[48, 2] Operation: 30/15=2
Exploring Operation: 48-30=18, Resulting Numbers: [15, 18]
Generated Node #0,0,1: 60:[15, 18] Operation: 48-30=18
Exploring Operation: 48-15=33, Resulting Numbers: [30, 33]
Generated Node #0,0,2: 60:[30, 33] Operation: 48-15=33
Exploring Operation: 48+15=63, Resulting Numbers: [30, 63]
Generated Node #0,0,3: 60:[30, 63] Operation: 48+15=63
Exploring Operation: 30-15=15, Resulting Numbers: [48, 15]
Generated Node #0,0,4: 60:[48, 15] Operation: 30-15=15
Moving to Node #0,1
Current State: 60:[30, 42, 9], Operations: ['57-48=9']
Exploring Operation: 30-9=21, Resulting Numbers: [42, 21]
Generated Node #0,1,0: 60:[42, 21] Operation: 30-9=21
Exploring Operation: 42-30=12, Resulting Numbers: [9, 12]
Generated Node #0,1,1: 60:[9, 12] Operation: 42-30=12
Exploring Operation: 42+9=51, Resulting Numbers: [30, 51]
Generated Node #0,1,2: 60:[30, 51] Operation: 42+9=51
Exploring Operation: 30+42=72, Resulting Numbers: [9, 72]
Generated Node #0,1,3: 60:[9, 72] Operation: 30+42=72
Exploring Operation: 42-9=33, Resulting Numbers: [30, 33]
Generated Node #0,1,4: 60:[30, 33] Operation: 42-9=33
Moving to Node #0,2
Current State: 60:[48, 57, 12], Operations: ['42-30=12']
Exploring Operation: 57+12=69, Resulting Numbers: [48, 69]
Generated Node #0,2,0: 60:[48, 69] Operation: 57+12=69
Exploring Operation: 57-48=9, Resulting Numbers: [12, 9]
Generated Node #0,2,1: 60:[12, 9] Operation: 57-48=9
Exploring Operation: 48-12=36, Resulting Numbers: [57, 36]
Generated Node #0,2,2: 60:[57, 36] Operation: 48-12=36
Exploring Operation: 48+12=60, Resulting Numbers: [57, 60]
Generated Node #0,2,3: 60:[57, 60] Operation: 48+12=60
Exploring Operation: 48/12=4, Resulting Numbers: [57, 4]
Generated Node #0,2,4: 60:[57, 4] Operation: 48/12=4
Moving to Node #0,3
Current State: 60:[57, 42, 18], Operations: ['48-30=18']
Exploring Operation: 42-18=24, Resulting Numbers: [57, 24]
Generated Node #0,3,0: 60:[57, 24] Operation: 42-18=24
Exploring Operation: 42+18=60, Resulting Numbers: [57, 60]
Generated Node #0,3,1: 60:[57, 60] Operation: 42+18=60
Exploring Operation: 57-42=15, Resulting Numbers: [18, 15]
Generated Node #0,3,2: 60:[18, 15] Operation: 57-42=15
Exploring Operation: 57+18=75, Resulting Numbers: [42, 75]
Generated Node #0,3,3: 60:[42, 75] Operation: 57+18=75
Exploring Operation: 57-18=39, Resulting Numbers: [42, 39]
Generated Node #0,3,4: 60:[42, 39] Operation: 57-18=39
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 60:[18, 15], Operations: ['48-30=18', '57-42=15']
Exploring Operation: 18*15=270, Resulting Numbers: [270]
270,60 unequal: No Solution
Exploring Operation: 18-15=3, Resulting Numbers: [3]
3,60 unequal: No Solution
Exploring Operation: 18+15=33, Resulting Numbers: [33]
33,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 60:[57, 60], Operations: ['48-30=18', '42+18=60']
Exploring Operation: 57+60=117, Resulting Numbers: [117]
117,60 unequal: No Solution
Exploring Operation: 57*60=3420, Resulting Numbers: [3420]
3420,60 unequal: No Solution
Exploring Operation: 60-57=3, Resulting Numbers: [3]
3,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 60:[57, 24], Operations: ['48-30=18', '42-18=24']
Exploring Operation: 57-24=33, Resulting Numbers: [33]
33,60 unequal: No Solution
Exploring Operation: 57*24=1368, Resulting Numbers: [1368]
1368,60 unequal: No Solution
Exploring Operation: 57+24=81, Resulting Numbers: [81]
81,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 60:[42, 39], Operations: ['48-30=18', '57-18=39']
Exploring Operation: 42*39=1638, Resulting Numbers: [1638]
1638,60 unequal: No Solution
Exploring Operation: 42-39=3, Resulting Numbers: [3]
3,60 unequal: No Solution
Exploring Operation: 42+39=81, Resulting Numbers: [81]
81,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 60:[42, 75], Operations: ['48-30=18', '57+18=75']
Exploring Operation: 75-42=33, Resulting Numbers: [33]
33,60 unequal: No Solution
Exploring Operation: 42+75=117, Resulting Numbers: [117]
117,60 unequal: No Solution
Exploring Operation: 42*75=3150, Resulting Numbers: [3150]
3150,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 60:[9, 12], Operations: ['57-48=9', '42-30=12']
Exploring Operation: 9*12=108, Resulting Numbers: [108]
108,60 unequal: No Solution
Exploring Operation: 9+12=21, Resulting Numbers: [21]
21,60 unequal: No Solution
Exploring Operation: 12-9=3, Resulting Numbers: [3]
3,60 unequal: No Solution
Moving to Node #0,2,1
Current State: 60:[12, 9], Operations: ['42-30=12', '57-48=9']
Exploring Operation: 12-9=3, Resulting Numbers: [3]
3,60 unequal: No Solution
Exploring Operation: 12+9=21, Resulting Numbers: [21]
21,60 unequal: No Solution
Exploring Operation: 12*9=108, Resulting Numbers: [108]
108,60 unequal: No Solution
Moving to Node #0,0,1
Current State: 60:[15, 18], Operations: ['57-42=15', '48-30=18']
Exploring Operation: 18-15=3, Resulting Numbers: [3]
3,60 unequal: No Solution
Exploring Operation: 15*18=270, Resulting Numbers: [270]
270,60 unequal: No Solution
Exploring Operation: 15+18=33, Resulting Numbers: [33]
33,60 unequal: No Solution
Moving to Node #0,1,4
Current State: 60:[30, 33], Operations: ['57-48=9', '42-9=33']
Exploring Operation: 30+33=63, Resulting Numbers: [63]
63,60 unequal: No Solution
Exploring Operation: 33-30=3, Resulting Numbers: [3]
3,60 unequal: No Solution
Exploring Operation: 30*33=990, Resulting Numbers: [990]
990,60 unequal: No Solution
Moving to Node #0,0,3
Current State: 60:[30, 63], Operations: ['57-42=15', '48+15=63']
Exploring Operation: 30+63=93, Resulting Numbers: [93]
93,60 unequal: No Solution
Exploring Operation: 30*63=1890, Resulting Numbers: [1890]
1890,60 unequal: No Solution
Exploring Operation: 63-30=33, Resulting Numbers: [33]
33,60 unequal: No Solution
Moving to Node #0,2,3
Current State: 60:[57, 60], Operations: ['42-30=12', '48+12=60']
Exploring Operation: 57+60=117, Resulting Numbers: [117]
117,60 unequal: No Solution
Exploring Operation: 60-57=3, Resulting Numbers: [3]
3,60 unequal: No Solution
Exploring Operation: 57*60=3420, Resulting Numbers: [3420]
3420,60 unequal: No Solution
Moving to Node #0,2,4
Current State: 60:[57, 4], Operations: ['42-30=12', '48/12=4']
Exploring Operation: 57*4=228, Resulting Numbers: [228]
228,60 unequal: No Solution
Exploring Operation: 57-4=53, Resulting Numbers: [53]
53,60 unequal: No Solution
Exploring Operation: 57+4=61, Resulting Numbers: [61]
61,60 unequal: No Solution
Moving to Node #0,0,2
Current State: 60:[30, 33], Operations: ['57-42=15', '48-15=33']
Exploring Operation: 33-30=3, Resulting Numbers: [3]
3,60 unequal: No Solution
Exploring Operation: 30*33=990, Resulting Numbers: [990]
990,60 unequal: No Solution
Exploring Operation: 30+33=63, Resulting Numbers: [63]
63,60 unequal: No Solution
Moving to Node #0,2,2
Current State: 60:[57, 36], Operations: ['42-30=12', '48-12=36']
Exploring Operation: 57-36=21, Resulting Numbers: [21]
21,60 unequal: No Solution
Exploring Operation: 57+36=93, Resulting Numbers: [93]
93,60 unequal: No Solution
Exploring Operation: 57*36=2052, Resulting Numbers: [2052]
2052,60 unequal: No Solution
Moving to Node #0,1,2
Current State: 60:[30, 51], Operations: ['57-48=9', '42+9=51']
Exploring Operation: 30*51=1530, Resulting Numbers: [1530]
1530,60 unequal: No Solution
Exploring Operation: 51-30=21, Resulting Numbers: [21]
21,60 unequal: No Solution
Exploring Operation: 30+51=81, Resulting Numbers: [81]
81,60 unequal: No Solution
Moving to Node #0,0,4
Current State: 60:[48, 15], Operations: ['57-42=15', '30-15=15']
Exploring Operation: 48-15=33, Resulting Numbers: [33]
33,60 unequal: No Solution
Exploring Operation: 48+15=63, Resulting Numbers: [63]
63,60 unequal: No Solution
Exploring Operation: 48*15=720, Resulting Numbers: [720]
720,60 unequal: No Solution
Moving to Node #0,0,0
Current State: 60:[48, 2], Operations: ['57-42=15', '30/15=2']
Exploring Operation: 48*2=96, Resulting Numbers: [96]
96,60 unequal: No Solution
Exploring Operation: 48+2=50, Resulting Numbers: [50]
50,60 unequal: No Solution
Exploring Operation: 48/2=24, Resulting Numbers: [24]
24,60 unequal: No Solution
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,60 unequal: No Solution
Moving to Node #0,1,3
Current State: 60:[9, 72], Operations: ['57-48=9', '30+42=72']
Exploring Operation: 72/9=8, Resulting Numbers: [8]
8,60 unequal: No Solution
Exploring Operation: 72-9=63, Resulting Numbers: [63]
63,60 unequal: No Solution
Exploring Operation: 9*72=648, Resulting Numbers: [648]
648,60 unequal: No Solution
Exploring Operation: 9+72=81, Resulting Numbers: [81]
81,60 unequal: No Solution
Moving to Node #0,1,0
Current State: 60:[42, 21], Operations: ['57-48=9', '30-9=21']
Exploring Operation: 42-21=21, Resulting Numbers: [21]
21,60 unequal: No Solution
Exploring Operation: 42*21=882, Resulting Numbers: [882]
882,60 unequal: No Solution
Exploring Operation: 42+21=63, Resulting Numbers: [63]
63,60 unequal: No Solution
Exploring Operation: 42/21=2, Resulting Numbers: [2]
2,60 unequal: No Solution
Moving to Node #0,2,0
Current State: 60:[48, 69], Operations: ['42-30=12', '57+12=69']
Exploring Operation: 48*69=3312, Resulting Numbers: [3312]
3312,60 unequal: No Solution
Exploring Operation: 48+69=117, Resulting Numbers: [117]
117,60 unequal: No Solution
Exploring Operation: 69-48=21, Resulting Numbers: [21]
21,60 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
82,
3,
15,
92
] | 55 | [
"92-82=10",
"3*15=45",
"10+45=55"
] | Current State: 55:[82, 3, 15, 92], Operations: []
Exploring Operation: 92-82=10, Resulting Numbers: [3, 15, 10]
Generated Node #2: [3, 15, 10] from Operation: 92-82=10
Current State: 55:[3, 15, 10], Operations: ['92-82=10']
Exploring Operation: 3*15=45, Resulting Numbers: [10, 45]
Generated Node #3: [10, 45] from Operation: 3*15=45
Current State: 55:[10, 45], Operations: ['92-82=10', '3*15=45']
Exploring Operation: 10+45=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[82, 3, 15, 92], Operations: []
Exploring Operation: 82-15=67, Resulting Numbers: [3, 92, 67]
Generated Node #0,0: 55:[3, 92, 67] Operation: 82-15=67
Exploring Operation: 92-82=10, Resulting Numbers: [3, 15, 10]
Generated Node #0,1: 55:[3, 15, 10] Operation: 92-82=10
Exploring Operation: 92-15=77, Resulting Numbers: [82, 3, 77]
Generated Node #0,2: 55:[82, 3, 77] Operation: 92-15=77
Moving to Node #0,1
Current State: 55:[3, 15, 10], Operations: ['92-82=10']
Exploring Operation: 15/3=5, Resulting Numbers: [10, 5]
Generated Node #0,1,0: 55:[10, 5] Operation: 15/3=5
Exploring Operation: 15-10=5, Resulting Numbers: [3, 5]
Generated Node #0,1,1: 55:[3, 5] Operation: 15-10=5
Exploring Operation: 15-3=12, Resulting Numbers: [10, 12]
Generated Node #0,1,2: 55:[10, 12] Operation: 15-3=12
Moving to Node #0,0
Current State: 55:[3, 92, 67], Operations: ['82-15=67']
Exploring Operation: 92-67=25, Resulting Numbers: [3, 25]
Generated Node #0,0,0: 55:[3, 25] Operation: 92-67=25
Exploring Operation: 92-3=89, Resulting Numbers: [67, 89]
Generated Node #0,0,1: 55:[67, 89] Operation: 92-3=89
Exploring Operation: 67-3=64, Resulting Numbers: [92, 64]
Generated Node #0,0,2: 55:[92, 64] Operation: 67-3=64
Moving to Node #0,2
Current State: 55:[82, 3, 77], Operations: ['92-15=77']
Exploring Operation: 77-3=74, Resulting Numbers: [82, 74]
Generated Node #0,2,0: 55:[82, 74] Operation: 77-3=74
Exploring Operation: 82-3=79, Resulting Numbers: [77, 79]
Generated Node #0,2,1: 55:[77, 79] Operation: 82-3=79
Exploring Operation: 82-77=5, Resulting Numbers: [3, 5]
Generated Node #0,2,2: 55:[3, 5] Operation: 82-77=5
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 55:[3, 5], Operations: ['92-15=77', '82-77=5']
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,55 unequal: No Solution
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,55 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 55:[82, 74], Operations: ['92-15=77', '77-3=74']
Exploring Operation: 82+74=156, Resulting Numbers: [156]
156,55 unequal: No Solution
Exploring Operation: 82-74=8, Resulting Numbers: [8]
8,55 unequal: No Solution
Exploring Operation: 82*74=6068, Resulting Numbers: [6068]
6068,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 55:[77, 79], Operations: ['92-15=77', '82-3=79']
Exploring Operation: 79-77=2, Resulting Numbers: [2]
2,55 unequal: No Solution
Exploring Operation: 77*79=6083, Resulting Numbers: [6083]
6083,55 unequal: No Solution
Exploring Operation: 77+79=156, Resulting Numbers: [156]
156,55 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: 55:[10, 5], Operations: ['92-82=10', '15/3=5']
Exploring Operation: 10+5=15, Resulting Numbers: [15]
15,55 unequal: No Solution
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,55 unequal: No Solution
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,55 unequal: No Solution
Moving to Node #0,1,2
Current State: 55:[10, 12], Operations: ['92-82=10', '15-3=12']
Exploring Operation: 12-10=2, Resulting Numbers: [2]
2,55 unequal: No Solution
Exploring Operation: 10*12=120, Resulting Numbers: [120]
120,55 unequal: No Solution
Exploring Operation: 10+12=22, Resulting Numbers: [22]
22,55 unequal: No Solution
Moving to Node #0,1,1
Current State: 55:[3, 5], Operations: ['92-82=10', '15-10=5']
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,55 unequal: No Solution
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,55 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,55 unequal: No Solution
Moving to Node #0,0,0
Current State: 55:[3, 25], Operations: ['82-15=67', '92-67=25']
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,55 unequal: No Solution
Exploring Operation: 3*25=75, Resulting Numbers: [75]
75,55 unequal: No Solution
Exploring Operation: 3+25=28, Resulting Numbers: [28]
28,55 unequal: No Solution
Moving to Node #0,0,1
Current State: 55:[67, 89], Operations: ['82-15=67', '92-3=89']
Exploring Operation: 67*89=5963, Resulting Numbers: [5963]
5963,55 unequal: No Solution
Exploring Operation: 89-67=22, Resulting Numbers: [22]
22,55 unequal: No Solution
Exploring Operation: 67+89=156, Resulting Numbers: [156]
156,55 unequal: No Solution
Moving to Node #0,0,2
Current State: 55:[92, 64], Operations: ['82-15=67', '67-3=64']
Exploring Operation: 92+64=156, Resulting Numbers: [156]
156,55 unequal: No Solution
Exploring Operation: 92-64=28, Resulting Numbers: [28]
28,55 unequal: No Solution
Exploring Operation: 92*64=5888, Resulting Numbers: [5888]
5888,55 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
98,
23,
15,
11
] | 71 | [
"98-23=75",
"15-11=4",
"75-4=71"
] | Current State: 71:[98, 23, 15, 11], Operations: []
Exploring Operation: 98-23=75, Resulting Numbers: [15, 11, 75]
Generated Node #2: [15, 11, 75] from Operation: 98-23=75
Current State: 71:[15, 11, 75], Operations: ['98-23=75']
Exploring Operation: 15-11=4, Resulting Numbers: [75, 4]
Generated Node #3: [75, 4] from Operation: 15-11=4
Current State: 71:[75, 4], Operations: ['98-23=75', '15-11=4']
Exploring Operation: 75-4=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[98, 23, 15, 11], Operations: []
Exploring Operation: 98-23=75, Resulting Numbers: [15, 11, 75]
Generated Node #0,0: 71:[15, 11, 75] Operation: 98-23=75
Exploring Operation: 98-11=87, Resulting Numbers: [23, 15, 87]
Generated Node #0,1: 71:[23, 15, 87] Operation: 98-11=87
Exploring Operation: 23+11=34, Resulting Numbers: [98, 15, 34]
Generated Node #0,2: 71:[98, 15, 34] Operation: 23+11=34
Exploring Operation: 98-15=83, Resulting Numbers: [23, 11, 83]
Generated Node #0,3: 71:[23, 11, 83] Operation: 98-15=83
Exploring Operation: 23+15=38, Resulting Numbers: [98, 11, 38]
Generated Node #0,4: 71:[98, 11, 38] Operation: 23+15=38
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[15, 11, 75], Operations: ['98-23=75']
Exploring Operation: 11+75=86, Resulting Numbers: [15, 86]
Generated Node #0,0,0: 71:[15, 86] Operation: 11+75=86
Exploring Operation: 15+11=26, Resulting Numbers: [75, 26]
Generated Node #0,0,1: 71:[75, 26] Operation: 15+11=26
Exploring Operation: 75-11=64, Resulting Numbers: [15, 64]
Generated Node #0,0,2: 71:[15, 64] Operation: 75-11=64
Exploring Operation: 15-11=4, Resulting Numbers: [75, 4]
Generated Node #0,0,3: 71:[75, 4] Operation: 15-11=4
Exploring Operation: 75-15=60, Resulting Numbers: [11, 60]
Generated Node #0,0,4: 71:[11, 60] Operation: 75-15=60
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 71:[75, 26], Operations: ['98-23=75', '15+11=26']
Exploring Operation: 75-26=49, Resulting Numbers: [49]
49,71 unequal: No Solution
Exploring Operation: 75*26=1950, Resulting Numbers: [1950]
1950,71 unequal: No Solution
Exploring Operation: 75+26=101, Resulting Numbers: [101]
101,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 71:[15, 64], Operations: ['98-23=75', '75-11=64']
Exploring Operation: 15+64=79, Resulting Numbers: [79]
79,71 unequal: No Solution
Exploring Operation: 64-15=49, Resulting Numbers: [49]
49,71 unequal: No Solution
Exploring Operation: 15*64=960, Resulting Numbers: [960]
960,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 71:[15, 86], Operations: ['98-23=75', '11+75=86']
Exploring Operation: 86-15=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[98, 23, 15, 11], Operations: []
Exploring Operation: 98-23=75, Resulting Numbers: [15, 11, 75]
Generated Node #0,0: 71:[15, 11, 75] Operation: 98-23=75
Moving to Node #0,0
Current State: 71:[15, 11, 75], Operations: ['98-23=75']
Exploring Operation: 11+75=86, Resulting Numbers: [15, 86]
Generated Node #0,0,0: 71:[15, 86] Operation: 11+75=86
Moving to Node #0,0,0
Current State: 71:[15, 86], Operations: ['98-23=75', '11+75=86']
Exploring Operation: 86-15=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.981771 | hs_5 | mult_heuristic |
[
53,
72,
58,
27
] | 66 | [
"72-53=19",
"58+27=85",
"85-19=66"
] | Current State: 66:[53, 72, 58, 27], Operations: []
Exploring Operation: 72-53=19, Resulting Numbers: [58, 27, 19]
Generated Node #2: [58, 27, 19] from Operation: 72-53=19
Current State: 66:[58, 27, 19], Operations: ['72-53=19']
Exploring Operation: 58+27=85, Resulting Numbers: [19, 85]
Generated Node #3: [19, 85] from Operation: 58+27=85
Current State: 66:[19, 85], Operations: ['72-53=19', '58+27=85']
Exploring Operation: 85-19=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[53, 72, 58, 27], Operations: []
Exploring Operation: 58-53=5, Resulting Numbers: [72, 27, 5]
Generated Node #0,0: 66:[72, 27, 5] Operation: 58-53=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[72, 27, 5], Operations: ['58-53=5']
Exploring Operation: 72-5=67, Resulting Numbers: [27, 67]
Generated Node #0,0,0: 66:[27, 67] Operation: 72-5=67
Moving to Node #0,0,0
Current State: 66:[27, 67], Operations: ['58-53=5', '72-5=67']
Exploring Operation: 67-27=40, Resulting Numbers: [40]
40,66 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 |
[
36,
66,
58,
6
] | 82 | [
"66-36=30",
"58-6=52",
"30+52=82"
] | Current State: 82:[36, 66, 58, 6], Operations: []
Exploring Operation: 66-36=30, Resulting Numbers: [58, 6, 30]
Generated Node #2: [58, 6, 30] from Operation: 66-36=30
Current State: 82:[58, 6, 30], Operations: ['66-36=30']
Exploring Operation: 58-6=52, Resulting Numbers: [30, 52]
Generated Node #3: [30, 52] from Operation: 58-6=52
Current State: 82:[30, 52], Operations: ['66-36=30', '58-6=52']
Exploring Operation: 30+52=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[36, 66, 58, 6], Operations: []
Exploring Operation: 66-36=30, Resulting Numbers: [58, 6, 30]
Generated Node #0,0: 82:[58, 6, 30] Operation: 66-36=30
Exploring Operation: 66/6=11, Resulting Numbers: [36, 58, 11]
Generated Node #0,1: 82:[36, 58, 11] Operation: 66/6=11
Exploring Operation: 66-58=8, Resulting Numbers: [36, 6, 8]
Generated Node #0,2: 82:[36, 6, 8] Operation: 66-58=8
Moving to Node #0,2
Current State: 82:[36, 6, 8], Operations: ['66-58=8']
Exploring Operation: 36+6=42, Resulting Numbers: [8, 42]
Generated Node #0,2,0: 82:[8, 42] Operation: 36+6=42
Exploring Operation: 8-6=2, Resulting Numbers: [36, 2]
Generated Node #0,2,1: 82:[36, 2] Operation: 8-6=2
Exploring Operation: 36+8=44, Resulting Numbers: [6, 44]
Generated Node #0,2,2: 82:[6, 44] Operation: 36+8=44
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 82:[36, 2], Operations: ['66-58=8', '8-6=2']
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,82 unequal: No Solution
Exploring Operation: 36+2=38, Resulting Numbers: [38]
38,82 unequal: No Solution
Exploring Operation: 36*2=72, Resulting Numbers: [72]
72,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 82:[8, 42], Operations: ['66-58=8', '36+6=42']
Exploring Operation: 8+42=50, Resulting Numbers: [50]
50,82 unequal: No Solution
Exploring Operation: 42-8=34, Resulting Numbers: [34]
34,82 unequal: No Solution
Exploring Operation: 8*42=336, Resulting Numbers: [336]
336,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 82:[6, 44], Operations: ['66-58=8', '36+8=44']
Exploring Operation: 6+44=50, Resulting Numbers: [50]
50,82 unequal: No Solution
Exploring Operation: 6*44=264, Resulting Numbers: [264]
264,82 unequal: No Solution
Exploring Operation: 44-6=38, Resulting Numbers: [38]
38,82 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: 82:[36, 58, 11], Operations: ['66/6=11']
Exploring Operation: 36+58=94, Resulting Numbers: [11, 94]
Generated Node #0,1,0: 82:[11, 94] Operation: 36+58=94
Exploring Operation: 58-11=47, Resulting Numbers: [36, 47]
Generated Node #0,1,1: 82:[36, 47] Operation: 58-11=47
Exploring Operation: 58+11=69, Resulting Numbers: [36, 69]
Generated Node #0,1,2: 82:[36, 69] Operation: 58+11=69
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 82:[36, 47], Operations: ['66/6=11', '58-11=47']
Exploring Operation: 36+47=83, Resulting Numbers: [83]
83,82 unequal: No Solution
Exploring Operation: 47-36=11, Resulting Numbers: [11]
11,82 unequal: No Solution
Exploring Operation: 36*47=1692, Resulting Numbers: [1692]
1692,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 82:[36, 69], Operations: ['66/6=11', '58+11=69']
Exploring Operation: 69-36=33, Resulting Numbers: [33]
33,82 unequal: No Solution
Exploring Operation: 36+69=105, Resulting Numbers: [105]
105,82 unequal: No Solution
Exploring Operation: 36*69=2484, Resulting Numbers: [2484]
2484,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 82:[11, 94], Operations: ['66/6=11', '36+58=94']
Exploring Operation: 11+94=105, Resulting Numbers: [105]
105,82 unequal: No Solution
Exploring Operation: 94-11=83, Resulting Numbers: [83]
83,82 unequal: No Solution
Exploring Operation: 11*94=1034, Resulting Numbers: [1034]
1034,82 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: 82:[58, 6, 30], Operations: ['66-36=30']
Exploring Operation: 30/6=5, Resulting Numbers: [58, 5]
Generated Node #0,0,0: 82:[58, 5] Operation: 30/6=5
Exploring Operation: 58-30=28, Resulting Numbers: [6, 28]
Generated Node #0,0,1: 82:[6, 28] Operation: 58-30=28
Exploring Operation: 58+30=88, Resulting Numbers: [6, 88]
Generated Node #0,0,2: 82:[6, 88] Operation: 58+30=88
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 82:[6, 88], Operations: ['66-36=30', '58+30=88']
Exploring Operation: 6+88=94, Resulting Numbers: [94]
94,82 unequal: No Solution
Exploring Operation: 88-6=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[36, 66, 58, 6], Operations: []
Exploring Operation: 66-36=30, Resulting Numbers: [58, 6, 30]
Generated Node #0,0: 82:[58, 6, 30] Operation: 66-36=30
Moving to Node #0,0
Current State: 82:[58, 6, 30], Operations: ['66-36=30']
Exploring Operation: 58+30=88, Resulting Numbers: [6, 88]
Generated Node #0,0,2: 82:[6, 88] Operation: 58+30=88
Moving to Node #0,0,2
Current State: 82:[6, 88], Operations: ['66-36=30', '58+30=88']
Exploring Operation: 88-6=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875 | hs_3 | sum_heuristic |
[
24,
36,
4,
21
] | 21 | [
"24/4=6",
"36-21=15",
"6+15=21"
] | Current State: 21:[24, 36, 4, 21], Operations: []
Exploring Operation: 24/4=6, Resulting Numbers: [36, 21, 6]
Generated Node #2: [36, 21, 6] from Operation: 24/4=6
Current State: 21:[36, 21, 6], Operations: ['24/4=6']
Exploring Operation: 36-21=15, Resulting Numbers: [6, 15]
Generated Node #3: [6, 15] from Operation: 36-21=15
Current State: 21:[6, 15], Operations: ['24/4=6', '36-21=15']
Exploring Operation: 6+15=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[24, 36, 4, 21], Operations: []
Exploring Operation: 36-21=15, Resulting Numbers: [24, 4, 15]
Generated Node #0,0: 21:[24, 4, 15] Operation: 36-21=15
Exploring Operation: 36/4=9, Resulting Numbers: [24, 21, 9]
Generated Node #0,1: 21:[24, 21, 9] Operation: 36/4=9
Exploring Operation: 36-24=12, Resulting Numbers: [4, 21, 12]
Generated Node #0,2: 21:[4, 21, 12] Operation: 36-24=12
Exploring Operation: 36-4=32, Resulting Numbers: [24, 21, 32]
Generated Node #0,3: 21:[24, 21, 32] Operation: 36-4=32
Start Sub Search at level 1: Moving to Node #0,1
Current State: 21:[24, 21, 9], Operations: ['36/4=9']
Exploring Operation: 24-9=15, Resulting Numbers: [21, 15]
Generated Node #0,1,0: 21:[21, 15] Operation: 24-9=15
Exploring Operation: 24-21=3, Resulting Numbers: [9, 3]
Generated Node #0,1,1: 21:[9, 3] Operation: 24-21=3
Exploring Operation: 21-9=12, Resulting Numbers: [24, 12]
Generated Node #0,1,2: 21:[24, 12] Operation: 21-9=12
Exploring Operation: 24+9=33, Resulting Numbers: [21, 33]
Generated Node #0,1,3: 21:[21, 33] Operation: 24+9=33
Moving to Node #0,1,1
Current State: 21:[9, 3], Operations: ['36/4=9', '24-21=3']
Exploring Operation: 9+3=12, Resulting Numbers: [12]
12,21 unequal: No Solution
Exploring Operation: 9*3=27, Resulting Numbers: [27]
27,21 unequal: No Solution
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,21 unequal: No Solution
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,21 unequal: No Solution
Moving to Node #0,1,0
Current State: 21:[21, 15], Operations: ['36/4=9', '24-9=15']
Exploring Operation: 21+15=36, Resulting Numbers: [36]
36,21 unequal: No Solution
Exploring Operation: 21-15=6, Resulting Numbers: [6]
6,21 unequal: No Solution
Exploring Operation: 21*15=315, Resulting Numbers: [315]
315,21 unequal: No Solution
Moving to Node #0,1,2
Current State: 21:[24, 12], Operations: ['36/4=9', '21-9=12']
Exploring Operation: 24/12=2, Resulting Numbers: [2]
2,21 unequal: No Solution
Exploring Operation: 24*12=288, Resulting Numbers: [288]
288,21 unequal: No Solution
Exploring Operation: 24+12=36, Resulting Numbers: [36]
36,21 unequal: No Solution
Exploring Operation: 24-12=12, Resulting Numbers: [12]
12,21 unequal: No Solution
Moving to Node #0,1,3
Current State: 21:[21, 33], Operations: ['36/4=9', '24+9=33']
Exploring Operation: 21+33=54, Resulting Numbers: [54]
54,21 unequal: No Solution
Exploring Operation: 21*33=693, Resulting Numbers: [693]
693,21 unequal: No Solution
Exploring Operation: 33-21=12, Resulting Numbers: [12]
12,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,2
Current State: 21:[4, 21, 12], Operations: ['36-24=12']
Exploring Operation: 12/4=3, Resulting Numbers: [21, 3]
Generated Node #0,2,0: 21:[21, 3] Operation: 12/4=3
Exploring Operation: 4+12=16, Resulting Numbers: [21, 16]
Generated Node #0,2,1: 21:[21, 16] Operation: 4+12=16
Exploring Operation: 12-4=8, Resulting Numbers: [21, 8]
Generated Node #0,2,2: 21:[21, 8] Operation: 12-4=8
Exploring Operation: 21-12=9, Resulting Numbers: [4, 9]
Generated Node #0,2,3: 21:[4, 9] Operation: 21-12=9
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 21:[21, 3], Operations: ['36-24=12', '12/4=3']
Exploring Operation: 21+3=24, Resulting Numbers: [24]
24,21 unequal: No Solution
Exploring Operation: 21*3=63, Resulting Numbers: [63]
63,21 unequal: No Solution
Exploring Operation: 21/3=7, Resulting Numbers: [7]
7,21 unequal: No Solution
Exploring Operation: 21-3=18, Resulting Numbers: [18]
18,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,2,2
Current State: 21:[21, 8], Operations: ['36-24=12', '12-4=8']
Exploring Operation: 21*8=168, Resulting Numbers: [168]
168,21 unequal: No Solution
Exploring Operation: 21+8=29, Resulting Numbers: [29]
29,21 unequal: No Solution
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,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,2,3
Current State: 21:[4, 9], Operations: ['36-24=12', '21-12=9']
Exploring Operation: 4+9=13, Resulting Numbers: [13]
13,21 unequal: No Solution
Exploring Operation: 4*9=36, Resulting Numbers: [36]
36,21 unequal: No Solution
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,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,2,1
Current State: 21:[21, 16], Operations: ['36-24=12', '4+12=16']
Exploring Operation: 21+16=37, Resulting Numbers: [37]
37,21 unequal: No Solution
Exploring Operation: 21-16=5, Resulting Numbers: [5]
5,21 unequal: No Solution
Exploring Operation: 21*16=336, Resulting Numbers: [336]
336,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,0
Current State: 21:[24, 4, 15], Operations: ['36-21=15']
Exploring Operation: 24/4=6, Resulting Numbers: [15, 6]
Generated Node #0,0,0: 21:[15, 6] Operation: 24/4=6
Exploring Operation: 24-4=20, Resulting Numbers: [15, 20]
Generated Node #0,0,1: 21:[15, 20] Operation: 24-4=20
Exploring Operation: 24-15=9, Resulting Numbers: [4, 9]
Generated Node #0,0,2: 21:[4, 9] Operation: 24-15=9
Exploring Operation: 4+15=19, Resulting Numbers: [24, 19]
Generated Node #0,0,3: 21:[24, 19] Operation: 4+15=19
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 21:[4, 9], Operations: ['36-21=15', '24-15=9']
Exploring Operation: 4*9=36, Resulting Numbers: [36]
36,21 unequal: No Solution
Exploring Operation: 4+9=13, Resulting Numbers: [13]
13,21 unequal: No Solution
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,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,0,3
Current State: 21:[24, 19], Operations: ['36-21=15', '4+15=19']
Exploring Operation: 24+19=43, Resulting Numbers: [43]
43,21 unequal: No Solution
Exploring Operation: 24*19=456, Resulting Numbers: [456]
456,21 unequal: No Solution
Exploring Operation: 24-19=5, Resulting Numbers: [5]
5,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,0,0
Current State: 21:[15, 6], Operations: ['36-21=15', '24/4=6']
Exploring Operation: 15+6=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[24, 36, 4, 21], Operations: []
Exploring Operation: 36-21=15, Resulting Numbers: [24, 4, 15]
Generated Node #0,0: 21:[24, 4, 15] Operation: 36-21=15
Moving to Node #0,0
Current State: 21:[24, 4, 15], Operations: ['36-21=15']
Exploring Operation: 24/4=6, Resulting Numbers: [15, 6]
Generated Node #0,0,0: 21:[15, 6] Operation: 24/4=6
Moving to Node #0,0,0
Current State: 21:[15, 6], Operations: ['36-21=15', '24/4=6']
Exploring Operation: 15+6=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.953125 | hs_4 | mult_heuristic |
[
59,
3,
35,
52
] | 90 | [
"59*3=177",
"35+52=87",
"177-87=90"
] | Current State: 90:[59, 3, 35, 52], Operations: []
Exploring Operation: 59*3=177, Resulting Numbers: [35, 52, 177]
Generated Node #2: [35, 52, 177] from Operation: 59*3=177
Current State: 90:[35, 52, 177], Operations: ['59*3=177']
Exploring Operation: 35+52=87, Resulting Numbers: [177, 87]
Generated Node #3: [177, 87] from Operation: 35+52=87
Current State: 90:[177, 87], Operations: ['59*3=177', '35+52=87']
Exploring Operation: 177-87=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[59, 3, 35, 52], Operations: []
Exploring Operation: 59+35=94, Resulting Numbers: [3, 52, 94]
Generated Node #0,0: 90:[3, 52, 94] Operation: 59+35=94
Exploring Operation: 59-52=7, Resulting Numbers: [3, 35, 7]
Generated Node #0,1: 90:[3, 35, 7] Operation: 59-52=7
Moving to Node #0,1
Current State: 90:[3, 35, 7], Operations: ['59-52=7']
Exploring Operation: 35-7=28, Resulting Numbers: [3, 28]
Generated Node #0,1,0: 90:[3, 28] Operation: 35-7=28
Exploring Operation: 35/7=5, Resulting Numbers: [3, 5]
Generated Node #0,1,1: 90:[3, 5] Operation: 35/7=5
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 90:[3, 5], Operations: ['59-52=7', '35/7=5']
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,90 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 90:[3, 28], Operations: ['59-52=7', '35-7=28']
Exploring Operation: 3+28=31, Resulting Numbers: [31]
31,90 unequal: No Solution
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,90 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: 90:[3, 52, 94], Operations: ['59+35=94']
Exploring Operation: 52-3=49, Resulting Numbers: [94, 49]
Generated Node #0,0,0: 90:[94, 49] Operation: 52-3=49
Exploring Operation: 94-52=42, Resulting Numbers: [3, 42]
Generated Node #0,0,1: 90:[3, 42] Operation: 94-52=42
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 90:[3, 42], Operations: ['59+35=94', '94-52=42']
Exploring Operation: 42/3=14, Resulting Numbers: [14]
14,90 unequal: No Solution
Exploring Operation: 3+42=45, Resulting Numbers: [45]
45,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,0
Current State: 90:[94, 49], Operations: ['59+35=94', '52-3=49']
Exploring Operation: 94-49=45, Resulting Numbers: [45]
45,90 unequal: No Solution
Exploring Operation: 94+49=143, Resulting Numbers: [143]
143,90 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 |
[
89,
69,
43,
84
] | 31 | [
"89+69=158",
"43+84=127",
"158-127=31"
] | Current State: 31:[89, 69, 43, 84], Operations: []
Exploring Operation: 89+69=158, Resulting Numbers: [43, 84, 158]
Generated Node #2: [43, 84, 158] from Operation: 89+69=158
Current State: 31:[43, 84, 158], Operations: ['89+69=158']
Exploring Operation: 43+84=127, Resulting Numbers: [158, 127]
Generated Node #3: [158, 127] from Operation: 43+84=127
Current State: 31:[158, 127], Operations: ['89+69=158', '43+84=127']
Exploring Operation: 158-127=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[89, 69, 43, 84], Operations: []
Exploring Operation: 89-43=46, Resulting Numbers: [69, 84, 46]
Generated Node #0,0: 31:[69, 84, 46] Operation: 89-43=46
Exploring Operation: 89-69=20, Resulting Numbers: [43, 84, 20]
Generated Node #0,1: 31:[43, 84, 20] Operation: 89-69=20
Exploring Operation: 89-84=5, Resulting Numbers: [69, 43, 5]
Generated Node #0,2: 31:[69, 43, 5] Operation: 89-84=5
Exploring Operation: 84-69=15, Resulting Numbers: [89, 43, 15]
Generated Node #0,3: 31:[89, 43, 15] Operation: 84-69=15
Start Sub Search at level 1: Moving to Node #0,1
Current State: 31:[43, 84, 20], Operations: ['89-69=20']
Exploring Operation: 43-20=23, Resulting Numbers: [84, 23]
Generated Node #0,1,0: 31:[84, 23] Operation: 43-20=23
Exploring Operation: 84-43=41, Resulting Numbers: [20, 41]
Generated Node #0,1,1: 31:[20, 41] Operation: 84-43=41
Exploring Operation: 43+20=63, Resulting Numbers: [84, 63]
Generated Node #0,1,2: 31:[84, 63] Operation: 43+20=63
Exploring Operation: 84-20=64, Resulting Numbers: [43, 64]
Generated Node #0,1,3: 31:[43, 64] Operation: 84-20=64
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 31:[20, 41], Operations: ['89-69=20', '84-43=41']
Exploring Operation: 41-20=21, Resulting Numbers: [21]
21,31 unequal: No Solution
Exploring Operation: 20+41=61, Resulting Numbers: [61]
61,31 unequal: No Solution
Exploring Operation: 20*41=820, Resulting Numbers: [820]
820,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 31:[43, 64], Operations: ['89-69=20', '84-20=64']
Exploring Operation: 43*64=2752, Resulting Numbers: [2752]
2752,31 unequal: No Solution
Exploring Operation: 43+64=107, Resulting Numbers: [107]
107,31 unequal: No Solution
Exploring Operation: 64-43=21, Resulting Numbers: [21]
21,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 31:[84, 23], Operations: ['89-69=20', '43-20=23']
Exploring Operation: 84+23=107, Resulting Numbers: [107]
107,31 unequal: No Solution
Exploring Operation: 84*23=1932, Resulting Numbers: [1932]
1932,31 unequal: No Solution
Exploring Operation: 84-23=61, Resulting Numbers: [61]
61,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 31:[84, 63], Operations: ['89-69=20', '43+20=63']
Exploring Operation: 84+63=147, Resulting Numbers: [147]
147,31 unequal: No Solution
Exploring Operation: 84-63=21, Resulting Numbers: [21]
21,31 unequal: No Solution
Exploring Operation: 84*63=5292, Resulting Numbers: [5292]
5292,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 31:[69, 43, 5], Operations: ['89-84=5']
Exploring Operation: 69-43=26, Resulting Numbers: [5, 26]
Generated Node #0,2,0: 31:[5, 26] Operation: 69-43=26
Exploring Operation: 69-5=64, Resulting Numbers: [43, 64]
Generated Node #0,2,1: 31:[43, 64] Operation: 69-5=64
Exploring Operation: 69+5=74, Resulting Numbers: [43, 74]
Generated Node #0,2,2: 31:[43, 74] Operation: 69+5=74
Exploring Operation: 43-5=38, Resulting Numbers: [69, 38]
Generated Node #0,2,3: 31:[69, 38] Operation: 43-5=38
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 31:[5, 26], Operations: ['89-84=5', '69-43=26']
Exploring Operation: 5*26=130, Resulting Numbers: [130]
130,31 unequal: No Solution
Exploring Operation: 5+26=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[89, 69, 43, 84], Operations: []
Exploring Operation: 89-84=5, Resulting Numbers: [69, 43, 5]
Generated Node #0,2: 31:[69, 43, 5] Operation: 89-84=5
Moving to Node #0,2
Current State: 31:[69, 43, 5], Operations: ['89-84=5']
Exploring Operation: 69-43=26, Resulting Numbers: [5, 26]
Generated Node #0,2,0: 31:[5, 26] Operation: 69-43=26
Moving to Node #0,2,0
Current State: 31:[5, 26], Operations: ['89-84=5', '69-43=26']
Exploring Operation: 5+26=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.973958 | hs_4 | mult_heuristic |
[
71,
14,
57,
38
] | 66 | [
"71+14=85",
"57-38=19",
"85-19=66"
] | Current State: 66:[71, 14, 57, 38], Operations: []
Exploring Operation: 71+14=85, Resulting Numbers: [57, 38, 85]
Generated Node #2: [57, 38, 85] from Operation: 71+14=85
Current State: 66:[57, 38, 85], Operations: ['71+14=85']
Exploring Operation: 57-38=19, Resulting Numbers: [85, 19]
Generated Node #3: [85, 19] from Operation: 57-38=19
Current State: 66:[85, 19], Operations: ['71+14=85', '57-38=19']
Exploring Operation: 85-19=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[71, 14, 57, 38], Operations: []
Exploring Operation: 71-57=14, Resulting Numbers: [14, 38, 14]
Generated Node #0,0: 66:[14, 38, 14] Operation: 71-57=14
Moving to Node #0,0
Current State: 66:[14, 38, 14], Operations: ['71-57=14']
Exploring Operation: 38-14=24, Resulting Numbers: [14, 24]
Generated Node #0,0,0: 66:[14, 24] Operation: 38-14=24
Moving to Node #0,0,0
Current State: 66:[14, 24], Operations: ['71-57=14', '38-14=24']
Exploring Operation: 24-14=10, Resulting Numbers: [10]
10,66 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
6,
83,
48,
8
] | 99 | [
"48/6=8",
"83+8=91",
"8+91=99"
] | Current State: 99:[6, 83, 48, 8], Operations: []
Exploring Operation: 48/6=8, Resulting Numbers: [83, 8, 8]
Generated Node #2: [83, 8, 8] from Operation: 48/6=8
Current State: 99:[83, 8, 8], Operations: ['48/6=8']
Exploring Operation: 83+8=91, Resulting Numbers: [91]
91,99 equal: Goal Reached
Exploring Operation: 8+91=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[6, 83, 48, 8], Operations: []
Exploring Operation: 48/6=8, Resulting Numbers: [83, 8, 8]
Generated Node #0,0: 99:[83, 8, 8] Operation: 48/6=8
Exploring Operation: 83-48=35, Resulting Numbers: [6, 8, 35]
Generated Node #0,1: 99:[6, 8, 35] Operation: 83-48=35
Moving to Node #0,1
Current State: 99:[6, 8, 35], Operations: ['83-48=35']
Exploring Operation: 6+8=14, Resulting Numbers: [35, 14]
Generated Node #0,1,0: 99:[35, 14] Operation: 6+8=14
Exploring Operation: 8-6=2, Resulting Numbers: [35, 2]
Generated Node #0,1,1: 99:[35, 2] Operation: 8-6=2
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 99:[35, 2], Operations: ['83-48=35', '8-6=2']
Exploring Operation: 35-2=33, Resulting Numbers: [33]
33,99 unequal: No Solution
Exploring Operation: 35+2=37, Resulting Numbers: [37]
37,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 99:[35, 14], Operations: ['83-48=35', '6+8=14']
Exploring Operation: 35-14=21, Resulting Numbers: [21]
21,99 unequal: No Solution
Exploring Operation: 35+14=49, Resulting Numbers: [49]
49,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 99:[83, 8, 8], Operations: ['48/6=8']
Exploring Operation: 83+8=91, Resulting Numbers: [8, 91]
Generated Node #0,0,0: 99:[8, 91] Operation: 83+8=91
Exploring Operation: 83+8=91, Resulting Numbers: [8, 91]
Generated Node #0,0,1: 99:[8, 91] Operation: 83+8=91
Moving to Node #0,0,0
Current State: 99:[8, 91], Operations: ['48/6=8', '83+8=91']
Exploring Operation: 8+91=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[6, 83, 48, 8], Operations: []
Exploring Operation: 48/6=8, Resulting Numbers: [83, 8, 8]
Generated Node #0,0: 99:[83, 8, 8] Operation: 48/6=8
Moving to Node #0,0
Current State: 99:[83, 8, 8], Operations: ['48/6=8']
Exploring Operation: 83+8=91, Resulting Numbers: [8, 91]
Generated Node #0,0,0: 99:[8, 91] Operation: 83+8=91
Moving to Node #0,0,0
Current State: 99:[8, 91], Operations: ['48/6=8', '83+8=91']
Exploring Operation: 8+91=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 0.986979 | hs_2 | mult_heuristic |
[
63,
53,
94,
4
] | 54 | [
"63-53=10",
"4*10=40",
"94-40=54"
] | Current State: 54:[63, 53, 94, 4], Operations: []
Exploring Operation: 63-53=10, Resulting Numbers: [94, 4, 10]
Generated Node #2: [94, 4, 10] from Operation: 63-53=10
Current State: 54:[94, 4, 10], Operations: ['63-53=10']
Exploring Operation: 4*10=40, Resulting Numbers: [94, 40]
Generated Node #3: [94, 40] from Operation: 4*10=40
Current State: 54:[94, 40], Operations: ['63-53=10', '4*10=40']
Exploring Operation: 94-40=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[63, 53, 94, 4], Operations: []
Exploring Operation: 94-4=90, Resulting Numbers: [63, 53, 90]
Generated Node #0,0: 54:[63, 53, 90] Operation: 94-4=90
Exploring Operation: 94-63=31, Resulting Numbers: [53, 4, 31]
Generated Node #0,1: 54:[53, 4, 31] Operation: 94-63=31
Exploring Operation: 63-53=10, Resulting Numbers: [94, 4, 10]
Generated Node #0,2: 54:[94, 4, 10] Operation: 63-53=10
Exploring Operation: 63-4=59, Resulting Numbers: [53, 94, 59]
Generated Node #0,3: 54:[53, 94, 59] Operation: 63-4=59
Exploring Operation: 94-53=41, Resulting Numbers: [63, 4, 41]
Generated Node #0,4: 54:[63, 4, 41] Operation: 94-53=41
Start Sub Search at level 1: Moving to Node #0,1
Current State: 54:[53, 4, 31], Operations: ['94-63=31']
Exploring Operation: 53-31=22, Resulting Numbers: [4, 22]
Generated Node #0,1,0: 54:[4, 22] Operation: 53-31=22
Exploring Operation: 31-4=27, Resulting Numbers: [53, 27]
Generated Node #0,1,1: 54:[53, 27] Operation: 31-4=27
Exploring Operation: 4+31=35, Resulting Numbers: [53, 35]
Generated Node #0,1,2: 54:[53, 35] Operation: 4+31=35
Exploring Operation: 53-4=49, Resulting Numbers: [31, 49]
Generated Node #0,1,3: 54:[31, 49] Operation: 53-4=49
Exploring Operation: 53+4=57, Resulting Numbers: [31, 57]
Generated Node #0,1,4: 54:[31, 57] Operation: 53+4=57
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 54:[53, 27], Operations: ['94-63=31', '31-4=27']
Exploring Operation: 53*27=1431, Resulting Numbers: [1431]
1431,54 unequal: No Solution
Exploring Operation: 53-27=26, Resulting Numbers: [26]
26,54 unequal: No Solution
Exploring Operation: 53+27=80, Resulting Numbers: [80]
80,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 54:[4, 22], Operations: ['94-63=31', '53-31=22']
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,54 unequal: No Solution
Exploring Operation: 4+22=26, Resulting Numbers: [26]
26,54 unequal: No Solution
Exploring Operation: 4*22=88, Resulting Numbers: [88]
88,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 54:[31, 57], Operations: ['94-63=31', '53+4=57']
Exploring Operation: 57-31=26, Resulting Numbers: [26]
26,54 unequal: No Solution
Exploring Operation: 31+57=88, Resulting Numbers: [88]
88,54 unequal: No Solution
Exploring Operation: 31*57=1767, Resulting Numbers: [1767]
1767,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 54:[53, 35], Operations: ['94-63=31', '4+31=35']
Exploring Operation: 53*35=1855, Resulting Numbers: [1855]
1855,54 unequal: No Solution
Exploring Operation: 53-35=18, Resulting Numbers: [18]
18,54 unequal: No Solution
Exploring Operation: 53+35=88, Resulting Numbers: [88]
88,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 54:[31, 49], Operations: ['94-63=31', '53-4=49']
Exploring Operation: 31+49=80, Resulting Numbers: [80]
80,54 unequal: No Solution
Exploring Operation: 31*49=1519, Resulting Numbers: [1519]
1519,54 unequal: No Solution
Exploring Operation: 49-31=18, Resulting Numbers: [18]
18,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 54:[63, 4, 41], Operations: ['94-53=41']
Exploring Operation: 4+41=45, Resulting Numbers: [63, 45]
Generated Node #0,4,0: 54:[63, 45] Operation: 4+41=45
Exploring Operation: 63+4=67, Resulting Numbers: [41, 67]
Generated Node #0,4,1: 54:[41, 67] Operation: 63+4=67
Exploring Operation: 63-4=59, Resulting Numbers: [41, 59]
Generated Node #0,4,2: 54:[41, 59] Operation: 63-4=59
Exploring Operation: 63-41=22, Resulting Numbers: [4, 22]
Generated Node #0,4,3: 54:[4, 22] Operation: 63-41=22
Exploring Operation: 41-4=37, Resulting Numbers: [63, 37]
Generated Node #0,4,4: 54:[63, 37] Operation: 41-4=37
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 54:[4, 22], Operations: ['94-53=41', '63-41=22']
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,54 unequal: No Solution
Exploring Operation: 4+22=26, Resulting Numbers: [26]
26,54 unequal: No Solution
Exploring Operation: 4*22=88, Resulting Numbers: [88]
88,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 54:[63, 45], Operations: ['94-53=41', '4+41=45']
Exploring Operation: 63+45=108, Resulting Numbers: [108]
108,54 unequal: No Solution
Exploring Operation: 63*45=2835, Resulting Numbers: [2835]
2835,54 unequal: No Solution
Exploring Operation: 63-45=18, Resulting Numbers: [18]
18,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 54:[41, 59], Operations: ['94-53=41', '63-4=59']
Exploring Operation: 59-41=18, Resulting Numbers: [18]
18,54 unequal: No Solution
Exploring Operation: 41+59=100, Resulting Numbers: [100]
100,54 unequal: No Solution
Exploring Operation: 41*59=2419, Resulting Numbers: [2419]
2419,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 54:[63, 37], Operations: ['94-53=41', '41-4=37']
Exploring Operation: 63-37=26, Resulting Numbers: [26]
26,54 unequal: No Solution
Exploring Operation: 63*37=2331, Resulting Numbers: [2331]
2331,54 unequal: No Solution
Exploring Operation: 63+37=100, Resulting Numbers: [100]
100,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 54:[41, 67], Operations: ['94-53=41', '63+4=67']
Exploring Operation: 41+67=108, Resulting Numbers: [108]
108,54 unequal: No Solution
Exploring Operation: 67-41=26, Resulting Numbers: [26]
26,54 unequal: No Solution
Exploring Operation: 41*67=2747, Resulting Numbers: [2747]
2747,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 54:[94, 4, 10], Operations: ['63-53=10']
Exploring Operation: 94-4=90, Resulting Numbers: [10, 90]
Generated Node #0,2,0: 54:[10, 90] Operation: 94-4=90
Exploring Operation: 10-4=6, Resulting Numbers: [94, 6]
Generated Node #0,2,1: 54:[94, 6] Operation: 10-4=6
Exploring Operation: 94-10=84, Resulting Numbers: [4, 84]
Generated Node #0,2,2: 54:[4, 84] Operation: 94-10=84
Exploring Operation: 94+4=98, Resulting Numbers: [10, 98]
Generated Node #0,2,3: 54:[10, 98] Operation: 94+4=98
Exploring Operation: 4+10=14, Resulting Numbers: [94, 14]
Generated Node #0,2,4: 54:[94, 14] Operation: 4+10=14
Moving to Node #0,2,2
Current State: 54:[4, 84], Operations: ['63-53=10', '94-10=84']
Exploring Operation: 4*84=336, Resulting Numbers: [336]
336,54 unequal: No Solution
Exploring Operation: 84-4=80, Resulting Numbers: [80]
80,54 unequal: No Solution
Exploring Operation: 84/4=21, Resulting Numbers: [21]
21,54 unequal: No Solution
Exploring Operation: 4+84=88, Resulting Numbers: [88]
88,54 unequal: No Solution
Moving to Node #0,2,0
Current State: 54:[10, 90], Operations: ['63-53=10', '94-4=90']
Exploring Operation: 10*90=900, Resulting Numbers: [900]
900,54 unequal: No Solution
Exploring Operation: 10+90=100, Resulting Numbers: [100]
100,54 unequal: No Solution
Exploring Operation: 90-10=80, Resulting Numbers: [80]
80,54 unequal: No Solution
Exploring Operation: 90/10=9, Resulting Numbers: [9]
9,54 unequal: No Solution
Moving to Node #0,2,1
Current State: 54:[94, 6], Operations: ['63-53=10', '10-4=6']
Exploring Operation: 94+6=100, Resulting Numbers: [100]
100,54 unequal: No Solution
Exploring Operation: 94*6=564, Resulting Numbers: [564]
564,54 unequal: No Solution
Exploring Operation: 94-6=88, Resulting Numbers: [88]
88,54 unequal: No Solution
Moving to Node #0,2,4
Current State: 54:[94, 14], Operations: ['63-53=10', '4+10=14']
Exploring Operation: 94+14=108, Resulting Numbers: [108]
108,54 unequal: No Solution
Exploring Operation: 94*14=1316, Resulting Numbers: [1316]
1316,54 unequal: No Solution
Exploring Operation: 94-14=80, Resulting Numbers: [80]
80,54 unequal: No Solution
Moving to Node #0,2,3
Current State: 54:[10, 98], Operations: ['63-53=10', '94+4=98']
Exploring Operation: 98-10=88, Resulting Numbers: [88]
88,54 unequal: No Solution
Exploring Operation: 10+98=108, Resulting Numbers: [108]
108,54 unequal: No Solution
Exploring Operation: 10*98=980, Resulting Numbers: [980]
980,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 54:[63, 53, 90], Operations: ['94-4=90']
Exploring Operation: 63-53=10, Resulting Numbers: [90, 10]
Generated Node #0,0,0: 54:[90, 10] Operation: 63-53=10
Exploring Operation: 63+53=116, Resulting Numbers: [90, 116]
Generated Node #0,0,1: 54:[90, 116] Operation: 63+53=116
Exploring Operation: 53+90=143, Resulting Numbers: [63, 143]
Generated Node #0,0,2: 54:[63, 143] Operation: 53+90=143
Exploring Operation: 90-53=37, Resulting Numbers: [63, 37]
Generated Node #0,0,3: 54:[63, 37] Operation: 90-53=37
Exploring Operation: 90-63=27, Resulting Numbers: [53, 27]
Generated Node #0,0,4: 54:[53, 27] Operation: 90-63=27
Moving to Node #0,0,4
Current State: 54:[53, 27], Operations: ['94-4=90', '90-63=27']
Exploring Operation: 53-27=26, Resulting Numbers: [26]
26,54 unequal: No Solution
Exploring Operation: 53+27=80, Resulting Numbers: [80]
80,54 unequal: No Solution
Exploring Operation: 53*27=1431, Resulting Numbers: [1431]
1431,54 unequal: No Solution
Moving to Node #0,0,3
Current State: 54:[63, 37], Operations: ['94-4=90', '90-53=37']
Exploring Operation: 63-37=26, Resulting Numbers: [26]
26,54 unequal: No Solution
Exploring Operation: 63+37=100, Resulting Numbers: [100]
100,54 unequal: No Solution
Exploring Operation: 63*37=2331, Resulting Numbers: [2331]
2331,54 unequal: No Solution
Moving to Node #0,0,0
Current State: 54:[90, 10], Operations: ['94-4=90', '63-53=10']
Exploring Operation: 90+10=100, Resulting Numbers: [100]
100,54 unequal: No Solution
Exploring Operation: 90/10=9, Resulting Numbers: [9]
9,54 unequal: No Solution
Exploring Operation: 90-10=80, Resulting Numbers: [80]
80,54 unequal: No Solution
Exploring Operation: 90*10=900, Resulting Numbers: [900]
900,54 unequal: No Solution
Moving to Node #0,0,1
Current State: 54:[90, 116], Operations: ['94-4=90', '63+53=116']
Exploring Operation: 116-90=26, Resulting Numbers: [26]
26,54 unequal: No Solution
Exploring Operation: 90+116=206, Resulting Numbers: [206]
206,54 unequal: No Solution
Exploring Operation: 90*116=10440, Resulting Numbers: [10440]
10440,54 unequal: No Solution
Moving to Node #0,0,2
Current State: 54:[63, 143], Operations: ['94-4=90', '53+90=143']
Exploring Operation: 63*143=9009, Resulting Numbers: [9009]
9009,54 unequal: No Solution
Exploring Operation: 143-63=80, Resulting Numbers: [80]
80,54 unequal: No Solution
Exploring Operation: 63+143=206, Resulting Numbers: [206]
206,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 54:[53, 94, 59], Operations: ['63-4=59']
Exploring Operation: 94-59=35, Resulting Numbers: [53, 35]
Generated Node #0,3,0: 54:[53, 35] Operation: 94-59=35
Exploring Operation: 59-53=6, Resulting Numbers: [94, 6]
Generated Node #0,3,1: 54:[94, 6] Operation: 59-53=6
Exploring Operation: 53+94=147, Resulting Numbers: [59, 147]
Generated Node #0,3,2: 54:[59, 147] Operation: 53+94=147
Exploring Operation: 53+59=112, Resulting Numbers: [94, 112]
Generated Node #0,3,3: 54:[94, 112] Operation: 53+59=112
Exploring Operation: 94-53=41, Resulting Numbers: [59, 41]
Generated Node #0,3,4: 54:[59, 41] Operation: 94-53=41
Moving to Node #0,3,0
Current State: 54:[53, 35], Operations: ['63-4=59', '94-59=35']
Exploring Operation: 53*35=1855, Resulting Numbers: [1855]
1855,54 unequal: No Solution
Exploring Operation: 53-35=18, Resulting Numbers: [18]
18,54 unequal: No Solution
Exploring Operation: 53+35=88, Resulting Numbers: [88]
88,54 unequal: No Solution
Moving to Node #0,3,4
Current State: 54:[59, 41], Operations: ['63-4=59', '94-53=41']
Exploring Operation: 59+41=100, Resulting Numbers: [100]
100,54 unequal: No Solution
Exploring Operation: 59*41=2419, Resulting Numbers: [2419]
2419,54 unequal: No Solution
Exploring Operation: 59-41=18, Resulting Numbers: [18]
18,54 unequal: No Solution
Moving to Node #0,3,1
Current State: 54:[94, 6], Operations: ['63-4=59', '59-53=6']
Exploring Operation: 94*6=564, Resulting Numbers: [564]
564,54 unequal: No Solution
Exploring Operation: 94-6=88, Resulting Numbers: [88]
88,54 unequal: No Solution
Exploring Operation: 94+6=100, Resulting Numbers: [100]
100,54 unequal: No Solution
Moving to Node #0,3,2
Current State: 54:[59, 147], Operations: ['63-4=59', '53+94=147']
Exploring Operation: 59+147=206, Resulting Numbers: [206]
206,54 unequal: No Solution
Exploring Operation: 59*147=8673, Resulting Numbers: [8673]
8673,54 unequal: No Solution
Exploring Operation: 147-59=88, Resulting Numbers: [88]
88,54 unequal: No Solution
Moving to Node #0,3,3
Current State: 54:[94, 112], Operations: ['63-4=59', '53+59=112']
Exploring Operation: 94*112=10528, Resulting Numbers: [10528]
10528,54 unequal: No Solution
Exploring Operation: 94+112=206, Resulting Numbers: [206]
206,54 unequal: No Solution
Exploring Operation: 112-94=18, Resulting Numbers: [18]
18,54 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 |
[
53,
23,
4,
22
] | 94 | [
"53+23=76",
"22-4=18",
"76+18=94"
] | Current State: 94:[53, 23, 4, 22], Operations: []
Exploring Operation: 53+23=76, Resulting Numbers: [4, 22, 76]
Generated Node #2: [4, 22, 76] from Operation: 53+23=76
Current State: 94:[4, 22, 76], Operations: ['53+23=76']
Exploring Operation: 22-4=18, Resulting Numbers: [76, 18]
Generated Node #3: [76, 18] from Operation: 22-4=18
Current State: 94:[76, 18], Operations: ['53+23=76', '22-4=18']
Exploring Operation: 76+18=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[53, 23, 4, 22], Operations: []
Exploring Operation: 23*4=92, Resulting Numbers: [53, 22, 92]
Generated Node #0,0: 94:[53, 22, 92] Operation: 23*4=92
Exploring Operation: 23+22=45, Resulting Numbers: [53, 4, 45]
Generated Node #0,1: 94:[53, 4, 45] Operation: 23+22=45
Exploring Operation: 53-23=30, Resulting Numbers: [4, 22, 30]
Generated Node #0,2: 94:[4, 22, 30] Operation: 53-23=30
Exploring Operation: 4*22=88, Resulting Numbers: [53, 23, 88]
Generated Node #0,3: 94:[53, 23, 88] Operation: 4*22=88
Exploring Operation: 23-22=1, Resulting Numbers: [53, 4, 1]
Generated Node #0,4: 94:[53, 4, 1] Operation: 23-22=1
Moving to Node #0,4
Current State: 94:[53, 4, 1], Operations: ['23-22=1']
Exploring Operation: 53-4=49, Resulting Numbers: [1, 49]
Generated Node #0,4,0: 94:[1, 49] Operation: 53-4=49
Exploring Operation: 4-1=3, Resulting Numbers: [53, 3]
Generated Node #0,4,1: 94:[53, 3] Operation: 4-1=3
Exploring Operation: 53/1=53, Resulting Numbers: [4, 53]
Generated Node #0,4,2: 94:[4, 53] Operation: 53/1=53
Exploring Operation: 53*1=53, Resulting Numbers: [4, 53]
Generated Node #0,4,3: 94:[4, 53] Operation: 53*1=53
Exploring Operation: 53-1=52, Resulting Numbers: [4, 52]
Generated Node #0,4,4: 94:[4, 52] Operation: 53-1=52
Moving to Node #0,1
Current State: 94:[53, 4, 45], Operations: ['23+22=45']
Exploring Operation: 4+45=49, Resulting Numbers: [53, 49]
Generated Node #0,1,0: 94:[53, 49] Operation: 4+45=49
Exploring Operation: 53+4=57, Resulting Numbers: [45, 57]
Generated Node #0,1,1: 94:[45, 57] Operation: 53+4=57
Exploring Operation: 53-45=8, Resulting Numbers: [4, 8]
Generated Node #0,1,2: 94:[4, 8] Operation: 53-45=8
Exploring Operation: 53-4=49, Resulting Numbers: [45, 49]
Generated Node #0,1,3: 94:[45, 49] Operation: 53-4=49
Exploring Operation: 53+45=98, Resulting Numbers: [4, 98]
Generated Node #0,1,4: 94:[4, 98] Operation: 53+45=98
Moving to Node #0,0
Current State: 94:[53, 22, 92], Operations: ['23*4=92']
Exploring Operation: 92-53=39, Resulting Numbers: [22, 39]
Generated Node #0,0,0: 94:[22, 39] Operation: 92-53=39
Exploring Operation: 53-22=31, Resulting Numbers: [92, 31]
Generated Node #0,0,1: 94:[92, 31] Operation: 53-22=31
Exploring Operation: 92-22=70, Resulting Numbers: [53, 70]
Generated Node #0,0,2: 94:[53, 70] Operation: 92-22=70
Exploring Operation: 22+92=114, Resulting Numbers: [53, 114]
Generated Node #0,0,3: 94:[53, 114] Operation: 22+92=114
Exploring Operation: 53+22=75, Resulting Numbers: [92, 75]
Generated Node #0,0,4: 94:[92, 75] Operation: 53+22=75
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 94:[92, 31], Operations: ['23*4=92', '53-22=31']
Exploring Operation: 92-31=61, Resulting Numbers: [61]
61,94 unequal: No Solution
Exploring Operation: 92*31=2852, Resulting Numbers: [2852]
2852,94 unequal: No Solution
Exploring Operation: 92+31=123, Resulting Numbers: [123]
123,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 94:[92, 75], Operations: ['23*4=92', '53+22=75']
Exploring Operation: 92-75=17, Resulting Numbers: [17]
17,94 unequal: No Solution
Exploring Operation: 92+75=167, Resulting Numbers: [167]
167,94 unequal: No Solution
Exploring Operation: 92*75=6900, Resulting Numbers: [6900]
6900,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 94:[53, 114], Operations: ['23*4=92', '22+92=114']
Exploring Operation: 53+114=167, Resulting Numbers: [167]
167,94 unequal: No Solution
Exploring Operation: 114-53=61, Resulting Numbers: [61]
61,94 unequal: No Solution
Exploring Operation: 53*114=6042, Resulting Numbers: [6042]
6042,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 94:[22, 39], Operations: ['23*4=92', '92-53=39']
Exploring Operation: 22+39=61, Resulting Numbers: [61]
61,94 unequal: No Solution
Exploring Operation: 39-22=17, Resulting Numbers: [17]
17,94 unequal: No Solution
Exploring Operation: 22*39=858, Resulting Numbers: [858]
858,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 94:[53, 70], Operations: ['23*4=92', '92-22=70']
Exploring Operation: 70-53=17, Resulting Numbers: [17]
17,94 unequal: No Solution
Exploring Operation: 53*70=3710, Resulting Numbers: [3710]
3710,94 unequal: No Solution
Exploring Operation: 53+70=123, Resulting Numbers: [123]
123,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 94:[53, 23, 88], Operations: ['4*22=88']
Exploring Operation: 23+88=111, Resulting Numbers: [53, 111]
Generated Node #0,3,0: 94:[53, 111] Operation: 23+88=111
Exploring Operation: 88-53=35, Resulting Numbers: [23, 35]
Generated Node #0,3,1: 94:[23, 35] Operation: 88-53=35
Exploring Operation: 88-23=65, Resulting Numbers: [53, 65]
Generated Node #0,3,2: 94:[53, 65] Operation: 88-23=65
Exploring Operation: 53+23=76, Resulting Numbers: [88, 76]
Generated Node #0,3,3: 94:[88, 76] Operation: 53+23=76
Exploring Operation: 53-23=30, Resulting Numbers: [88, 30]
Generated Node #0,3,4: 94:[88, 30] Operation: 53-23=30
Moving to Node #0,2
Current State: 94:[4, 22, 30], Operations: ['53-23=30']
Exploring Operation: 30-22=8, Resulting Numbers: [4, 8]
Generated Node #0,2,0: 94:[4, 8] Operation: 30-22=8
Exploring Operation: 22+30=52, Resulting Numbers: [4, 52]
Generated Node #0,2,1: 94:[4, 52] Operation: 22+30=52
Exploring Operation: 22-4=18, Resulting Numbers: [30, 18]
Generated Node #0,2,2: 94:[30, 18] Operation: 22-4=18
Exploring Operation: 4+30=34, Resulting Numbers: [22, 34]
Generated Node #0,2,3: 94:[22, 34] Operation: 4+30=34
Exploring Operation: 4*22=88, Resulting Numbers: [30, 88]
Generated Node #0,2,4: 94:[30, 88] Operation: 4*22=88
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 94:[4, 52], Operations: ['53-23=30', '22+30=52']
Exploring Operation: 4+52=56, Resulting Numbers: [56]
56,94 unequal: No Solution
Exploring Operation: 52-4=48, Resulting Numbers: [48]
48,94 unequal: No Solution
Exploring Operation: 4*52=208, Resulting Numbers: [208]
208,94 unequal: No Solution
Exploring Operation: 52/4=13, Resulting Numbers: [13]
13,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 94:[4, 8], Operations: ['53-23=30', '30-22=8']
Exploring Operation: 4+8=12, Resulting Numbers: [12]
12,94 unequal: No Solution
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,94 unequal: No Solution
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,94 unequal: No Solution
Exploring Operation: 4*8=32, Resulting Numbers: [32]
32,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 94:[30, 88], Operations: ['53-23=30', '4*22=88']
Exploring Operation: 30+88=118, Resulting Numbers: [118]
118,94 unequal: No Solution
Exploring Operation: 88-30=58, Resulting Numbers: [58]
58,94 unequal: No Solution
Exploring Operation: 30*88=2640, Resulting Numbers: [2640]
2640,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 94:[30, 18], Operations: ['53-23=30', '22-4=18']
Exploring Operation: 30*18=540, Resulting Numbers: [540]
540,94 unequal: No Solution
Exploring Operation: 30+18=48, Resulting Numbers: [48]
48,94 unequal: No Solution
Exploring Operation: 30-18=12, Resulting Numbers: [12]
12,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 94:[22, 34], Operations: ['53-23=30', '4+30=34']
Exploring Operation: 34-22=12, Resulting Numbers: [12]
12,94 unequal: No Solution
Exploring Operation: 22+34=56, Resulting Numbers: [56]
56,94 unequal: No Solution
Exploring Operation: 22*34=748, Resulting Numbers: [748]
748,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,0
Current State: 94:[1, 49], Operations: ['23-22=1', '53-4=49']
Exploring Operation: 49/1=49, Resulting Numbers: [49]
49,94 unequal: No Solution
Exploring Operation: 1*49=49, Resulting Numbers: [49]
49,94 unequal: No Solution
Exploring Operation: 1+49=50, Resulting Numbers: [50]
50,94 unequal: No Solution
Exploring Operation: 49-1=48, Resulting Numbers: [48]
48,94 unequal: No Solution
Moving to Node #0,1,3
Current State: 94:[45, 49], Operations: ['23+22=45', '53-4=49']
Exploring Operation: 45*49=2205, Resulting Numbers: [2205]
2205,94 unequal: No Solution
Exploring Operation: 49-45=4, Resulting Numbers: [4]
4,94 unequal: No Solution
Exploring Operation: 45+49=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[53, 23, 4, 22], Operations: []
Exploring Operation: 23+22=45, Resulting Numbers: [53, 4, 45]
Generated Node #0,1: 94:[53, 4, 45] Operation: 23+22=45
Moving to Node #0,1
Current State: 94:[53, 4, 45], Operations: ['23+22=45']
Exploring Operation: 53-4=49, Resulting Numbers: [45, 49]
Generated Node #0,1,3: 94:[45, 49] Operation: 53-4=49
Moving to Node #0,1,3
Current State: 94:[45, 49], Operations: ['23+22=45', '53-4=49']
Exploring Operation: 45+49=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 0.936632 | hs_5 | mult_heuristic |
[
79,
20,
64,
21
] | 16 | [
"79-20=59",
"64-21=43",
"59-43=16"
] | Current State: 16:[79, 20, 64, 21], Operations: []
Exploring Operation: 79-20=59, Resulting Numbers: [64, 21, 59]
Generated Node #2: [64, 21, 59] from Operation: 79-20=59
Current State: 16:[64, 21, 59], Operations: ['79-20=59']
Exploring Operation: 64-21=43, Resulting Numbers: [59, 43]
Generated Node #3: [59, 43] from Operation: 64-21=43
Current State: 16:[59, 43], Operations: ['79-20=59', '64-21=43']
Exploring Operation: 59-43=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[79, 20, 64, 21], Operations: []
Exploring Operation: 79-21=58, Resulting Numbers: [20, 64, 58]
Generated Node #0,0: 16:[20, 64, 58] Operation: 79-21=58
Exploring Operation: 79-64=15, Resulting Numbers: [20, 21, 15]
Generated Node #0,1: 16:[20, 21, 15] Operation: 79-64=15
Exploring Operation: 64-21=43, Resulting Numbers: [79, 20, 43]
Generated Node #0,2: 16:[79, 20, 43] Operation: 64-21=43
Exploring Operation: 79-20=59, Resulting Numbers: [64, 21, 59]
Generated Node #0,3: 16:[64, 21, 59] Operation: 79-20=59
Start Sub Search at level 1: Moving to Node #0,1
Current State: 16:[20, 21, 15], Operations: ['79-64=15']
Exploring Operation: 21-20=1, Resulting Numbers: [15, 1]
Generated Node #0,1,0: 16:[15, 1] Operation: 21-20=1
Exploring Operation: 21-15=6, Resulting Numbers: [20, 6]
Generated Node #0,1,1: 16:[20, 6] Operation: 21-15=6
Exploring Operation: 20-15=5, Resulting Numbers: [21, 5]
Generated Node #0,1,2: 16:[21, 5] Operation: 20-15=5
Exploring Operation: 20+15=35, Resulting Numbers: [21, 35]
Generated Node #0,1,3: 16:[21, 35] Operation: 20+15=35
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 16:[15, 1], Operations: ['79-64=15', '21-20=1']
Exploring Operation: 15-1=14, Resulting Numbers: [14]
14,16 unequal: No Solution
Exploring Operation: 15/1=15, Resulting Numbers: [15]
15,16 unequal: No Solution
Exploring Operation: 15+1=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[79, 20, 64, 21], Operations: []
Exploring Operation: 79-64=15, Resulting Numbers: [20, 21, 15]
Generated Node #0,1: 16:[20, 21, 15] Operation: 79-64=15
Moving to Node #0,1
Current State: 16:[20, 21, 15], Operations: ['79-64=15']
Exploring Operation: 21-20=1, Resulting Numbers: [15, 1]
Generated Node #0,1,0: 16:[15, 1] Operation: 21-20=1
Moving to Node #0,1,0
Current State: 16:[15, 1], Operations: ['79-64=15', '21-20=1']
Exploring Operation: 15+1=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
72,
51,
6,
32
] | 59 | [
"72-51=21",
"6+32=38",
"21+38=59"
] | Current State: 59:[72, 51, 6, 32], Operations: []
Exploring Operation: 72-51=21, Resulting Numbers: [6, 32, 21]
Generated Node #2: [6, 32, 21] from Operation: 72-51=21
Current State: 59:[6, 32, 21], Operations: ['72-51=21']
Exploring Operation: 6+32=38, Resulting Numbers: [21, 38]
Generated Node #3: [21, 38] from Operation: 6+32=38
Current State: 59:[21, 38], Operations: ['72-51=21', '6+32=38']
Exploring Operation: 21+38=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[72, 51, 6, 32], Operations: []
Exploring Operation: 51+6=57, Resulting Numbers: [72, 32, 57]
Generated Node #0,0: 59:[72, 32, 57] Operation: 51+6=57
Exploring Operation: 72-6=66, Resulting Numbers: [51, 32, 66]
Generated Node #0,1: 59:[51, 32, 66] Operation: 72-6=66
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[72, 32, 57], Operations: ['51+6=57']
Exploring Operation: 32+57=89, Resulting Numbers: [72, 89]
Generated Node #0,0,0: 59:[72, 89] Operation: 32+57=89
Exploring Operation: 72-32=40, Resulting Numbers: [57, 40]
Generated Node #0,0,1: 59:[57, 40] Operation: 72-32=40
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 59:[57, 40], Operations: ['51+6=57', '72-32=40']
Exploring Operation: 57+40=97, Resulting Numbers: [97]
97,59 unequal: No Solution
Exploring Operation: 57-40=17, Resulting Numbers: [17]
17,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 59:[72, 89], Operations: ['51+6=57', '32+57=89']
Exploring Operation: 72+89=161, Resulting Numbers: [161]
161,59 unequal: No Solution
Exploring Operation: 89-72=17, Resulting Numbers: [17]
17,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 59:[51, 32, 66], Operations: ['72-6=66']
Exploring Operation: 51+32=83, Resulting Numbers: [66, 83]
Generated Node #0,1,0: 59:[66, 83] Operation: 51+32=83
Exploring Operation: 66-32=34, Resulting Numbers: [51, 34]
Generated Node #0,1,1: 59:[51, 34] Operation: 66-32=34
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 59:[66, 83], Operations: ['72-6=66', '51+32=83']
Exploring Operation: 83-66=17, Resulting Numbers: [17]
17,59 unequal: No Solution
Exploring Operation: 66+83=149, Resulting Numbers: [149]
149,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,1,1
Current State: 59:[51, 34], Operations: ['72-6=66', '66-32=34']
Exploring Operation: 51-34=17, Resulting Numbers: [17]
17,59 unequal: No Solution
Exploring Operation: 51+34=85, Resulting Numbers: [85]
85,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_2 | sum_heuristic |
[
23,
32,
52,
2
] | 86 | [
"32-23=9",
"52-9=43",
"2*43=86"
] | Current State: 86:[23, 32, 52, 2], Operations: []
Exploring Operation: 32-23=9, Resulting Numbers: [52, 2, 9]
Generated Node #2: [52, 2, 9] from Operation: 32-23=9
Current State: 86:[52, 2, 9], Operations: ['32-23=9']
Exploring Operation: 52-9=43, Resulting Numbers: [2, 43]
Generated Node #3: [2, 43] from Operation: 52-9=43
Current State: 86:[2, 43], Operations: ['32-23=9', '52-9=43']
Exploring Operation: 2*43=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[23, 32, 52, 2], Operations: []
Exploring Operation: 23*2=46, Resulting Numbers: [32, 52, 46]
Generated Node #0,0: 86:[32, 52, 46] Operation: 23*2=46
Exploring Operation: 32-23=9, Resulting Numbers: [52, 2, 9]
Generated Node #0,1: 86:[52, 2, 9] Operation: 32-23=9
Exploring Operation: 32+52=84, Resulting Numbers: [23, 2, 84]
Generated Node #0,2: 86:[23, 2, 84] Operation: 32+52=84
Exploring Operation: 23+52=75, Resulting Numbers: [32, 2, 75]
Generated Node #0,3: 86:[32, 2, 75] Operation: 23+52=75
Exploring Operation: 23+32=55, Resulting Numbers: [52, 2, 55]
Generated Node #0,4: 86:[52, 2, 55] Operation: 23+32=55
Start Sub Search at level 1: Moving to Node #0,1
Current State: 86:[52, 2, 9], Operations: ['32-23=9']
Exploring Operation: 52-2=50, Resulting Numbers: [9, 50]
Generated Node #0,1,0: 86:[9, 50] Operation: 52-2=50
Exploring Operation: 52+2=54, Resulting Numbers: [9, 54]
Generated Node #0,1,1: 86:[9, 54] Operation: 52+2=54
Exploring Operation: 52-9=43, Resulting Numbers: [2, 43]
Generated Node #0,1,2: 86:[2, 43] Operation: 52-9=43
Exploring Operation: 52+9=61, Resulting Numbers: [2, 61]
Generated Node #0,1,3: 86:[2, 61] Operation: 52+9=61
Exploring Operation: 9-2=7, Resulting Numbers: [52, 7]
Generated Node #0,1,4: 86:[52, 7] Operation: 9-2=7
Moving to Node #0,1,2
Current State: 86:[2, 43], Operations: ['32-23=9', '52-9=43']
Exploring Operation: 43-2=41, Resulting Numbers: [41]
41,86 unequal: No Solution
Exploring Operation: 2+43=45, Resulting Numbers: [45]
45,86 unequal: No Solution
Exploring Operation: 2*43=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[23, 32, 52, 2], Operations: []
Exploring Operation: 32-23=9, Resulting Numbers: [52, 2, 9]
Generated Node #0,1: 86:[52, 2, 9] Operation: 32-23=9
Moving to Node #0,1
Current State: 86:[52, 2, 9], Operations: ['32-23=9']
Exploring Operation: 52-9=43, Resulting Numbers: [2, 43]
Generated Node #0,1,2: 86:[2, 43] Operation: 52-9=43
Moving to Node #0,1,2
Current State: 86:[2, 43], Operations: ['32-23=9', '52-9=43']
Exploring Operation: 2*43=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
13,
59,
68,
4
] | 16 | [
"13+59=72",
"72-68=4",
"4*4=16"
] | Current State: 16:[13, 59, 68, 4], Operations: []
Exploring Operation: 13+59=72, Resulting Numbers: [68, 4, 72]
Generated Node #2: [68, 4, 72] from Operation: 13+59=72
Current State: 16:[68, 4, 72], Operations: ['13+59=72']
Exploring Operation: 72-68=4, Resulting Numbers: [4, 4]
Generated Node #3: [4, 4] from Operation: 72-68=4
Current State: 16:[4, 4], Operations: ['13+59=72', '72-68=4']
Exploring Operation: 4*4=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[13, 59, 68, 4], Operations: []
Exploring Operation: 68/4=17, Resulting Numbers: [13, 59, 17]
Generated Node #0,0: 16:[13, 59, 17] Operation: 68/4=17
Exploring Operation: 68-59=9, Resulting Numbers: [13, 4, 9]
Generated Node #0,1: 16:[13, 4, 9] Operation: 68-59=9
Exploring Operation: 59-13=46, Resulting Numbers: [68, 4, 46]
Generated Node #0,2: 16:[68, 4, 46] Operation: 59-13=46
Moving to Node #0,1
Current State: 16:[13, 4, 9], Operations: ['68-59=9']
Exploring Operation: 13+4=17, Resulting Numbers: [9, 17]
Generated Node #0,1,0: 16:[9, 17] Operation: 13+4=17
Exploring Operation: 13-4=9, Resulting Numbers: [9, 9]
Generated Node #0,1,1: 16:[9, 9] Operation: 13-4=9
Exploring Operation: 13-9=4, Resulting Numbers: [4, 4]
Generated Node #0,1,2: 16:[4, 4] Operation: 13-9=4
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 16:[4, 4], Operations: ['68-59=9', '13-9=4']
Exploring Operation: 4/4=1, Resulting Numbers: [1]
1,16 unequal: No Solution
Exploring Operation: 4*4=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[13, 59, 68, 4], Operations: []
Exploring Operation: 68-59=9, Resulting Numbers: [13, 4, 9]
Generated Node #0,1: 16:[13, 4, 9] Operation: 68-59=9
Moving to Node #0,1
Current State: 16:[13, 4, 9], Operations: ['68-59=9']
Exploring Operation: 13-9=4, Resulting Numbers: [4, 4]
Generated Node #0,1,2: 16:[4, 4] Operation: 13-9=4
Moving to Node #0,1,2
Current State: 16:[4, 4], Operations: ['68-59=9', '13-9=4']
Exploring Operation: 4*4=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
42,
46,
46,
96
] | 49 | [
"42+96=138",
"138/46=3",
"46+3=49"
] | Current State: 49:[42, 46, 46, 96], Operations: []
Exploring Operation: 42+96=138, Resulting Numbers: [46, 46, 138]
Generated Node #2: [46, 46, 138] from Operation: 42+96=138
Current State: 49:[46, 46, 138], Operations: ['42+96=138']
Exploring Operation: 138/46=3, Resulting Numbers: [3]
3,49 equal: Goal Reached
Exploring Operation: 46+3=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[42, 46, 46, 96], Operations: []
Exploring Operation: 96-42=54, Resulting Numbers: [46, 46, 54]
Generated Node #0,0: 49:[46, 46, 54] Operation: 96-42=54
Moving to Node #0,0
Current State: 49:[46, 46, 54], Operations: ['96-42=54']
Exploring Operation: 54-46=8, Resulting Numbers: [46, 8]
Generated Node #0,0,0: 49:[46, 8] Operation: 54-46=8
Moving to Node #0,0,0
Current State: 49:[46, 8], Operations: ['96-42=54', '54-46=8']
Exploring Operation: 46+8=54, Resulting Numbers: [54]
54,49 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
50,
22,
86,
6
] | 20 | [
"50+22=72",
"86+6=92",
"92-72=20"
] | Current State: 20:[50, 22, 86, 6], Operations: []
Exploring Operation: 50+22=72, Resulting Numbers: [86, 6, 72]
Generated Node #2: [86, 6, 72] from Operation: 50+22=72
Current State: 20:[86, 6, 72], Operations: ['50+22=72']
Exploring Operation: 86+6=92, Resulting Numbers: [72, 92]
Generated Node #3: [72, 92] from Operation: 86+6=92
Current State: 20:[72, 92], Operations: ['50+22=72', '86+6=92']
Exploring Operation: 92-72=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[50, 22, 86, 6], Operations: []
Exploring Operation: 86-50=36, Resulting Numbers: [22, 6, 36]
Generated Node #0,0: 20:[22, 6, 36] Operation: 86-50=36
Exploring Operation: 50-22=28, Resulting Numbers: [86, 6, 28]
Generated Node #0,1: 20:[86, 6, 28] Operation: 50-22=28
Moving to Node #0,0
Current State: 20:[22, 6, 36], Operations: ['86-50=36']
Exploring Operation: 36/6=6, Resulting Numbers: [22, 6]
Generated Node #0,0,0: 20:[22, 6] Operation: 36/6=6
Exploring Operation: 36-22=14, Resulting Numbers: [6, 14]
Generated Node #0,0,1: 20:[6, 14] Operation: 36-22=14
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 20:[22, 6], Operations: ['86-50=36', '36/6=6']
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,20 unequal: No Solution
Exploring Operation: 22+6=28, Resulting Numbers: [28]
28,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:[6, 14], Operations: ['86-50=36', '36-22=14']
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,20 unequal: No Solution
Exploring Operation: 6+14=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[50, 22, 86, 6], Operations: []
Exploring Operation: 86-50=36, Resulting Numbers: [22, 6, 36]
Generated Node #0,0: 20:[22, 6, 36] Operation: 86-50=36
Moving to Node #0,0
Current State: 20:[22, 6, 36], Operations: ['86-50=36']
Exploring Operation: 36-22=14, Resulting Numbers: [6, 14]
Generated Node #0,0,1: 20:[6, 14] Operation: 36-22=14
Moving to Node #0,0,1
Current State: 20:[6, 14], Operations: ['86-50=36', '36-22=14']
Exploring Operation: 6+14=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
82,
16,
36,
6
] | 47 | [
"82-16=66",
"66/6=11",
"36+11=47"
] | Current State: 47:[82, 16, 36, 6], Operations: []
Exploring Operation: 82-16=66, Resulting Numbers: [36, 6, 66]
Generated Node #2: [36, 6, 66] from Operation: 82-16=66
Current State: 47:[36, 6, 66], Operations: ['82-16=66']
Exploring Operation: 66/6=11, Resulting Numbers: [36, 11]
Generated Node #3: [36, 11] from Operation: 66/6=11
Current State: 47:[36, 11], Operations: ['82-16=66', '66/6=11']
Exploring Operation: 36+11=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[82, 16, 36, 6], Operations: []
Exploring Operation: 82-6=76, Resulting Numbers: [16, 36, 76]
Generated Node #0,0: 47:[16, 36, 76] Operation: 82-6=76
Exploring Operation: 16+6=22, Resulting Numbers: [82, 36, 22]
Generated Node #0,1: 47:[82, 36, 22] Operation: 16+6=22
Exploring Operation: 82-16=66, Resulting Numbers: [36, 6, 66]
Generated Node #0,2: 47:[36, 6, 66] Operation: 82-16=66
Moving to Node #0,0
Current State: 47:[16, 36, 76], Operations: ['82-6=76']
Exploring Operation: 76-16=60, Resulting Numbers: [36, 60]
Generated Node #0,0,0: 47:[36, 60] Operation: 76-16=60
Exploring Operation: 76-36=40, Resulting Numbers: [16, 40]
Generated Node #0,0,1: 47:[16, 40] Operation: 76-36=40
Exploring Operation: 16+36=52, Resulting Numbers: [76, 52]
Generated Node #0,0,2: 47:[76, 52] Operation: 16+36=52
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 47:[36, 60], Operations: ['82-6=76', '76-16=60']
Exploring Operation: 60-36=24, Resulting Numbers: [24]
24,47 unequal: No Solution
Exploring Operation: 36+60=96, Resulting Numbers: [96]
96,47 unequal: No Solution
Exploring Operation: 36*60=2160, Resulting Numbers: [2160]
2160,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 47:[76, 52], Operations: ['82-6=76', '16+36=52']
Exploring Operation: 76-52=24, Resulting Numbers: [24]
24,47 unequal: No Solution
Exploring Operation: 76*52=3952, Resulting Numbers: [3952]
3952,47 unequal: No Solution
Exploring Operation: 76+52=128, Resulting Numbers: [128]
128,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 47:[16, 40], Operations: ['82-6=76', '76-36=40']
Exploring Operation: 40-16=24, Resulting Numbers: [24]
24,47 unequal: No Solution
Exploring Operation: 16+40=56, Resulting Numbers: [56]
56,47 unequal: No Solution
Exploring Operation: 16*40=640, Resulting Numbers: [640]
640,47 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: 47:[82, 36, 22], Operations: ['16+6=22']
Exploring Operation: 36+22=58, Resulting Numbers: [82, 58]
Generated Node #0,1,0: 47:[82, 58] Operation: 36+22=58
Exploring Operation: 82-36=46, Resulting Numbers: [22, 46]
Generated Node #0,1,1: 47:[22, 46] Operation: 82-36=46
Exploring Operation: 82-22=60, Resulting Numbers: [36, 60]
Generated Node #0,1,2: 47:[36, 60] Operation: 82-22=60
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 47:[36, 60], Operations: ['16+6=22', '82-22=60']
Exploring Operation: 36+60=96, Resulting Numbers: [96]
96,47 unequal: No Solution
Exploring Operation: 60-36=24, Resulting Numbers: [24]
24,47 unequal: No Solution
Exploring Operation: 36*60=2160, Resulting Numbers: [2160]
2160,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 47:[22, 46], Operations: ['16+6=22', '82-36=46']
Exploring Operation: 22*46=1012, Resulting Numbers: [1012]
1012,47 unequal: No Solution
Exploring Operation: 22+46=68, Resulting Numbers: [68]
68,47 unequal: No Solution
Exploring Operation: 46-22=24, Resulting Numbers: [24]
24,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 47:[82, 58], Operations: ['16+6=22', '36+22=58']
Exploring Operation: 82-58=24, Resulting Numbers: [24]
24,47 unequal: No Solution
Exploring Operation: 82+58=140, Resulting Numbers: [140]
140,47 unequal: No Solution
Exploring Operation: 82*58=4756, Resulting Numbers: [4756]
4756,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 47:[36, 6, 66], Operations: ['82-16=66']
Exploring Operation: 66-6=60, Resulting Numbers: [36, 60]
Generated Node #0,2,0: 47:[36, 60] Operation: 66-6=60
Exploring Operation: 36+6=42, Resulting Numbers: [66, 42]
Generated Node #0,2,1: 47:[66, 42] Operation: 36+6=42
Exploring Operation: 36-6=30, Resulting Numbers: [66, 30]
Generated Node #0,2,2: 47:[66, 30] Operation: 36-6=30
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 47:[36, 60], Operations: ['82-16=66', '66-6=60']
Exploring Operation: 36+60=96, Resulting Numbers: [96]
96,47 unequal: No Solution
Exploring Operation: 60-36=24, Resulting Numbers: [24]
24,47 unequal: No Solution
Exploring Operation: 36*60=2160, Resulting Numbers: [2160]
2160,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 47:[66, 42], Operations: ['82-16=66', '36+6=42']
Exploring Operation: 66-42=24, Resulting Numbers: [24]
24,47 unequal: No Solution
Exploring Operation: 66*42=2772, Resulting Numbers: [2772]
2772,47 unequal: No Solution
Exploring Operation: 66+42=108, Resulting Numbers: [108]
108,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 47:[66, 30], Operations: ['82-16=66', '36-6=30']
Exploring Operation: 66*30=1980, Resulting Numbers: [1980]
1980,47 unequal: No Solution
Exploring Operation: 66-30=36, Resulting Numbers: [36]
36,47 unequal: No Solution
Exploring Operation: 66+30=96, Resulting Numbers: [96]
96,47 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 |
[
51,
2,
15,
1
] | 12 | [
"51-15=36",
"2+1=3",
"36/3=12"
] | Current State: 12:[51, 2, 15, 1], Operations: []
Exploring Operation: 51-15=36, Resulting Numbers: [2, 1, 36]
Generated Node #2: [2, 1, 36] from Operation: 51-15=36
Current State: 12:[2, 1, 36], Operations: ['51-15=36']
Exploring Operation: 2+1=3, Resulting Numbers: [36, 3]
Generated Node #3: [36, 3] from Operation: 2+1=3
Current State: 12:[36, 3], Operations: ['51-15=36', '2+1=3']
Exploring Operation: 36/3=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[51, 2, 15, 1], Operations: []
Exploring Operation: 51-1=50, Resulting Numbers: [2, 15, 50]
Generated Node #0,0: 12:[2, 15, 50] Operation: 51-1=50
Exploring Operation: 51-15=36, Resulting Numbers: [2, 1, 36]
Generated Node #0,1: 12:[2, 1, 36] Operation: 51-15=36
Exploring Operation: 51-2=49, Resulting Numbers: [15, 1, 49]
Generated Node #0,2: 12:[15, 1, 49] Operation: 51-2=49
Start Sub Search at level 1: Moving to Node #0,1
Current State: 12:[2, 1, 36], Operations: ['51-15=36']
Exploring Operation: 36-1=35, Resulting Numbers: [2, 35]
Generated Node #0,1,0: 12:[2, 35] Operation: 36-1=35
Exploring Operation: 36-2=34, Resulting Numbers: [1, 34]
Generated Node #0,1,1: 12:[1, 34] Operation: 36-2=34
Exploring Operation: 36/2=18, Resulting Numbers: [1, 18]
Generated Node #0,1,2: 12:[1, 18] Operation: 36/2=18
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 12:[1, 18], Operations: ['51-15=36', '36/2=18']
Exploring Operation: 1*18=18, Resulting Numbers: [18]
18,12 unequal: No Solution
Exploring Operation: 18/1=18, Resulting Numbers: [18]
18,12 unequal: No Solution
Exploring Operation: 18-1=17, Resulting Numbers: [17]
17,12 unequal: No Solution
No 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: 12:[2, 35], Operations: ['51-15=36', '36-1=35']
Exploring Operation: 2*35=70, Resulting Numbers: [70]
70,12 unequal: No Solution
Exploring Operation: 2+35=37, Resulting Numbers: [37]
37,12 unequal: No Solution
Exploring Operation: 35-2=33, Resulting Numbers: [33]
33,12 unequal: No Solution
No 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: 12:[1, 34], Operations: ['51-15=36', '36-2=34']
Exploring Operation: 34/1=34, Resulting Numbers: [34]
34,12 unequal: No Solution
Exploring Operation: 1*34=34, Resulting Numbers: [34]
34,12 unequal: No Solution
Exploring Operation: 34-1=33, Resulting Numbers: [33]
33,12 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: 12:[2, 15, 50], Operations: ['51-1=50']
Exploring Operation: 15-2=13, Resulting Numbers: [50, 13]
Generated Node #0,0,0: 12:[50, 13] Operation: 15-2=13
Exploring Operation: 50-15=35, Resulting Numbers: [2, 35]
Generated Node #0,0,1: 12:[2, 35] Operation: 50-15=35
Exploring Operation: 50/2=25, Resulting Numbers: [15, 25]
Generated Node #0,0,2: 12:[15, 25] Operation: 50/2=25
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 12:[15, 25], Operations: ['51-1=50', '50/2=25']
Exploring Operation: 15+25=40, Resulting Numbers: [40]
40,12 unequal: No Solution
Exploring Operation: 15*25=375, Resulting Numbers: [375]
375,12 unequal: No Solution
Exploring Operation: 25-15=10, Resulting Numbers: [10]
10,12 unequal: No Solution
No 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: 12:[2, 35], Operations: ['51-1=50', '50-15=35']
Exploring Operation: 2+35=37, Resulting Numbers: [37]
37,12 unequal: No Solution
Exploring Operation: 35-2=33, Resulting Numbers: [33]
33,12 unequal: No Solution
Exploring Operation: 2*35=70, Resulting Numbers: [70]
70,12 unequal: No Solution
No 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: 12:[50, 13], Operations: ['51-1=50', '15-2=13']
Exploring Operation: 50-13=37, Resulting Numbers: [37]
37,12 unequal: No Solution
Exploring Operation: 50*13=650, Resulting Numbers: [650]
650,12 unequal: No Solution
Exploring Operation: 50+13=63, Resulting Numbers: [63]
63,12 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: 12:[15, 1, 49], Operations: ['51-2=49']
Exploring Operation: 49-15=34, Resulting Numbers: [1, 34]
Generated Node #0,2,0: 12:[1, 34] Operation: 49-15=34
Exploring Operation: 49-1=48, Resulting Numbers: [15, 48]
Generated Node #0,2,1: 12:[15, 48] Operation: 49-1=48
Exploring Operation: 15-1=14, Resulting Numbers: [49, 14]
Generated Node #0,2,2: 12:[49, 14] Operation: 15-1=14
Moving to Node #0,2,0
Current State: 12:[1, 34], Operations: ['51-2=49', '49-15=34']
Exploring Operation: 1*34=34, Resulting Numbers: [34]
34,12 unequal: No Solution
Exploring Operation: 34-1=33, Resulting Numbers: [33]
33,12 unequal: No Solution
Exploring Operation: 34/1=34, Resulting Numbers: [34]
34,12 unequal: No Solution
Moving to Node #0,2,1
Current State: 12:[15, 48], Operations: ['51-2=49', '49-1=48']
Exploring Operation: 48-15=33, Resulting Numbers: [33]
33,12 unequal: No Solution
Exploring Operation: 15*48=720, Resulting Numbers: [720]
720,12 unequal: No Solution
Exploring Operation: 15+48=63, Resulting Numbers: [63]
63,12 unequal: No Solution
Moving to Node #0,2,2
Current State: 12:[49, 14], Operations: ['51-2=49', '15-1=14']
Exploring Operation: 49*14=686, Resulting Numbers: [686]
686,12 unequal: No Solution
Exploring Operation: 49+14=63, Resulting Numbers: [63]
63,12 unequal: No Solution
Exploring Operation: 49-14=35, Resulting Numbers: [35]
35,12 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 |
[
21,
5,
35,
60
] | 74 | [
"21+60=81",
"35/5=7",
"81-7=74"
] | Current State: 74:[21, 5, 35, 60], Operations: []
Exploring Operation: 21+60=81, Resulting Numbers: [5, 35, 81]
Generated Node #2: [5, 35, 81] from Operation: 21+60=81
Current State: 74:[5, 35, 81], Operations: ['21+60=81']
Exploring Operation: 35/5=7, Resulting Numbers: [81, 7]
Generated Node #3: [81, 7] from Operation: 35/5=7
Current State: 74:[81, 7], Operations: ['21+60=81', '35/5=7']
Exploring Operation: 81-7=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[21, 5, 35, 60], Operations: []
Exploring Operation: 21+5=26, Resulting Numbers: [35, 60, 26]
Generated Node #0,0: 74:[35, 60, 26] Operation: 21+5=26
Exploring Operation: 60-21=39, Resulting Numbers: [5, 35, 39]
Generated Node #0,1: 74:[5, 35, 39] Operation: 60-21=39
Exploring Operation: 5+60=65, Resulting Numbers: [21, 35, 65]
Generated Node #0,2: 74:[21, 35, 65] Operation: 5+60=65
Exploring Operation: 21+60=81, Resulting Numbers: [5, 35, 81]
Generated Node #0,3: 74:[5, 35, 81] Operation: 21+60=81
Start Sub Search at level 1: Moving to Node #0,1
Current State: 74:[5, 35, 39], Operations: ['60-21=39']
Exploring Operation: 5+35=40, Resulting Numbers: [39, 40]
Generated Node #0,1,0: 74:[39, 40] Operation: 5+35=40
Exploring Operation: 39-35=4, Resulting Numbers: [5, 4]
Generated Node #0,1,1: 74:[5, 4] Operation: 39-35=4
Exploring Operation: 35+39=74, Resulting Numbers: [5, 74]
Generated Node #0,1,2: 74:[5, 74] Operation: 35+39=74
Exploring Operation: 39-5=34, Resulting Numbers: [35, 34]
Generated Node #0,1,3: 74:[35, 34] Operation: 39-5=34
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 74:[5, 74], Operations: ['60-21=39', '35+39=74']
Exploring Operation: 5*74=370, Resulting Numbers: [370]
370,74 unequal: No Solution
Exploring Operation: 74-5=69, Resulting Numbers: [69]
69,74 unequal: No Solution
Exploring Operation: 5+74=79, Resulting Numbers: [79]
79,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 74:[39, 40], Operations: ['60-21=39', '5+35=40']
Exploring Operation: 39*40=1560, Resulting Numbers: [1560]
1560,74 unequal: No Solution
Exploring Operation: 39+40=79, Resulting Numbers: [79]
79,74 unequal: No Solution
Exploring Operation: 40-39=1, Resulting Numbers: [1]
1,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 74:[5, 4], Operations: ['60-21=39', '39-35=4']
Exploring Operation: 5*4=20, Resulting Numbers: [20]
20,74 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,74 unequal: No Solution
Exploring Operation: 5+4=9, Resulting Numbers: [9]
9,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 74:[35, 34], Operations: ['60-21=39', '39-5=34']
Exploring Operation: 35+34=69, Resulting Numbers: [69]
69,74 unequal: No Solution
Exploring Operation: 35*34=1190, Resulting Numbers: [1190]
1190,74 unequal: No Solution
Exploring Operation: 35-34=1, Resulting Numbers: [1]
1,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 74:[5, 35, 81], Operations: ['21+60=81']
Exploring Operation: 5+35=40, Resulting Numbers: [81, 40]
Generated Node #0,3,0: 74:[81, 40] Operation: 5+35=40
Exploring Operation: 81-5=76, Resulting Numbers: [35, 76]
Generated Node #0,3,1: 74:[35, 76] Operation: 81-5=76
Exploring Operation: 81-35=46, Resulting Numbers: [5, 46]
Generated Node #0,3,2: 74:[5, 46] Operation: 81-35=46
Exploring Operation: 35/5=7, Resulting Numbers: [81, 7]
Generated Node #0,3,3: 74:[81, 7] Operation: 35/5=7
Moving to Node #0,3,1
Current State: 74:[35, 76], Operations: ['21+60=81', '81-5=76']
Exploring Operation: 76-35=41, Resulting Numbers: [41]
41,74 unequal: No Solution
Exploring Operation: 35*76=2660, Resulting Numbers: [2660]
2660,74 unequal: No Solution
Exploring Operation: 35+76=111, Resulting Numbers: [111]
111,74 unequal: No Solution
Moving to Node #0,3,0
Current State: 74:[81, 40], Operations: ['21+60=81', '5+35=40']
Exploring Operation: 81*40=3240, Resulting Numbers: [3240]
3240,74 unequal: No Solution
Exploring Operation: 81-40=41, Resulting Numbers: [41]
41,74 unequal: No Solution
Exploring Operation: 81+40=121, Resulting Numbers: [121]
121,74 unequal: No Solution
Moving to Node #0,3,3
Current State: 74:[81, 7], Operations: ['21+60=81', '35/5=7']
Exploring Operation: 81-7=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[21, 5, 35, 60], Operations: []
Exploring Operation: 21+60=81, Resulting Numbers: [5, 35, 81]
Generated Node #0,3: 74:[5, 35, 81] Operation: 21+60=81
Moving to Node #0,3
Current State: 74:[5, 35, 81], Operations: ['21+60=81']
Exploring Operation: 35/5=7, Resulting Numbers: [81, 7]
Generated Node #0,3,3: 74:[81, 7] Operation: 35/5=7
Moving to Node #0,3,3
Current State: 74:[81, 7], Operations: ['21+60=81', '35/5=7']
Exploring Operation: 81-7=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 1
| 0.969618 | hs_4 | mult_heuristic |
[
10,
73,
49,
52
] | 38 | [
"73-10=63",
"49+52=101",
"101-63=38"
] | Current State: 38:[10, 73, 49, 52], Operations: []
Exploring Operation: 73-10=63, Resulting Numbers: [49, 52, 63]
Generated Node #2: [49, 52, 63] from Operation: 73-10=63
Current State: 38:[49, 52, 63], Operations: ['73-10=63']
Exploring Operation: 49+52=101, Resulting Numbers: [63, 101]
Generated Node #3: [63, 101] from Operation: 49+52=101
Current State: 38:[63, 101], Operations: ['73-10=63', '49+52=101']
Exploring Operation: 101-63=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[10, 73, 49, 52], Operations: []
Exploring Operation: 52-49=3, Resulting Numbers: [10, 73, 3]
Generated Node #0,0: 38:[10, 73, 3] Operation: 52-49=3
Exploring Operation: 73-49=24, Resulting Numbers: [10, 52, 24]
Generated Node #0,1: 38:[10, 52, 24] Operation: 73-49=24
Exploring Operation: 73-52=21, Resulting Numbers: [10, 49, 21]
Generated Node #0,2: 38:[10, 49, 21] Operation: 73-52=21
Exploring Operation: 49-10=39, Resulting Numbers: [73, 52, 39]
Generated Node #0,3: 38:[73, 52, 39] Operation: 49-10=39
Exploring Operation: 73-10=63, Resulting Numbers: [49, 52, 63]
Generated Node #0,4: 38:[49, 52, 63] Operation: 73-10=63
Moving to Node #0,2
Current State: 38:[10, 49, 21], Operations: ['73-52=21']
Exploring Operation: 10+49=59, Resulting Numbers: [21, 59]
Generated Node #0,2,0: 38:[21, 59] Operation: 10+49=59
Exploring Operation: 49-10=39, Resulting Numbers: [21, 39]
Generated Node #0,2,1: 38:[21, 39] Operation: 49-10=39
Exploring Operation: 21-10=11, Resulting Numbers: [49, 11]
Generated Node #0,2,2: 38:[49, 11] Operation: 21-10=11
Exploring Operation: 10+21=31, Resulting Numbers: [49, 31]
Generated Node #0,2,3: 38:[49, 31] Operation: 10+21=31
Exploring Operation: 49-21=28, Resulting Numbers: [10, 28]
Generated Node #0,2,4: 38:[10, 28] Operation: 49-21=28
Moving to Node #0,1
Current State: 38:[10, 52, 24], Operations: ['73-49=24']
Exploring Operation: 52-24=28, Resulting Numbers: [10, 28]
Generated Node #0,1,0: 38:[10, 28] Operation: 52-24=28
Exploring Operation: 24-10=14, Resulting Numbers: [52, 14]
Generated Node #0,1,1: 38:[52, 14] Operation: 24-10=14
Exploring Operation: 52-10=42, Resulting Numbers: [24, 42]
Generated Node #0,1,2: 38:[24, 42] Operation: 52-10=42
Exploring Operation: 10+24=34, Resulting Numbers: [52, 34]
Generated Node #0,1,3: 38:[52, 34] Operation: 10+24=34
Exploring Operation: 10+52=62, Resulting Numbers: [24, 62]
Generated Node #0,1,4: 38:[24, 62] Operation: 10+52=62
Moving to Node #0,0
Current State: 38:[10, 73, 3], Operations: ['52-49=3']
Exploring Operation: 10-3=7, Resulting Numbers: [73, 7]
Generated Node #0,0,0: 38:[73, 7] Operation: 10-3=7
Exploring Operation: 10*3=30, Resulting Numbers: [73, 30]
Generated Node #0,0,1: 38:[73, 30] Operation: 10*3=30
Exploring Operation: 73-10=63, Resulting Numbers: [3, 63]
Generated Node #0,0,2: 38:[3, 63] Operation: 73-10=63
Exploring Operation: 10+3=13, Resulting Numbers: [73, 13]
Generated Node #0,0,3: 38:[73, 13] Operation: 10+3=13
Exploring Operation: 73-3=70, Resulting Numbers: [10, 70]
Generated Node #0,0,4: 38:[10, 70] Operation: 73-3=70
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 38:[3, 63], Operations: ['52-49=3', '73-10=63']
Exploring Operation: 3+63=66, Resulting Numbers: [66]
66,38 unequal: No Solution
Exploring Operation: 63/3=21, Resulting Numbers: [21]
21,38 unequal: No Solution
Exploring Operation: 63-3=60, Resulting Numbers: [60]
60,38 unequal: No Solution
Exploring Operation: 3*63=189, Resulting Numbers: [189]
189,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 38:[73, 7], Operations: ['52-49=3', '10-3=7']
Exploring Operation: 73-7=66, Resulting Numbers: [66]
66,38 unequal: No Solution
Exploring Operation: 73+7=80, Resulting Numbers: [80]
80,38 unequal: No Solution
Exploring Operation: 73*7=511, Resulting Numbers: [511]
511,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 38:[10, 70], Operations: ['52-49=3', '73-3=70']
Exploring Operation: 10*70=700, Resulting Numbers: [700]
700,38 unequal: No Solution
Exploring Operation: 10+70=80, Resulting Numbers: [80]
80,38 unequal: No Solution
Exploring Operation: 70-10=60, Resulting Numbers: [60]
60,38 unequal: No Solution
Exploring Operation: 70/10=7, Resulting Numbers: [7]
7,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 38:[73, 13], Operations: ['52-49=3', '10+3=13']
Exploring Operation: 73*13=949, Resulting Numbers: [949]
949,38 unequal: No Solution
Exploring Operation: 73-13=60, Resulting Numbers: [60]
60,38 unequal: No Solution
Exploring Operation: 73+13=86, Resulting Numbers: [86]
86,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 38:[73, 30], Operations: ['52-49=3', '10*3=30']
Exploring Operation: 73+30=103, Resulting Numbers: [103]
103,38 unequal: No Solution
Exploring Operation: 73*30=2190, Resulting Numbers: [2190]
2190,38 unequal: No Solution
Exploring Operation: 73-30=43, Resulting Numbers: [43]
43,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 38:[73, 52, 39], Operations: ['49-10=39']
Exploring Operation: 52-39=13, Resulting Numbers: [73, 13]
Generated Node #0,3,0: 38:[73, 13] Operation: 52-39=13
Exploring Operation: 73-39=34, Resulting Numbers: [52, 34]
Generated Node #0,3,1: 38:[52, 34] Operation: 73-39=34
Exploring Operation: 73+39=112, Resulting Numbers: [52, 112]
Generated Node #0,3,2: 38:[52, 112] Operation: 73+39=112
Exploring Operation: 73+52=125, Resulting Numbers: [39, 125]
Generated Node #0,3,3: 38:[39, 125] Operation: 73+52=125
Exploring Operation: 73-52=21, Resulting Numbers: [39, 21]
Generated Node #0,3,4: 38:[39, 21] Operation: 73-52=21
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 38:[39, 21], Operations: ['49-10=39', '73-52=21']
Exploring Operation: 39*21=819, Resulting Numbers: [819]
819,38 unequal: No Solution
Exploring Operation: 39-21=18, Resulting Numbers: [18]
18,38 unequal: No Solution
Exploring Operation: 39+21=60, Resulting Numbers: [60]
60,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 38:[52, 34], Operations: ['49-10=39', '73-39=34']
Exploring Operation: 52+34=86, Resulting Numbers: [86]
86,38 unequal: No Solution
Exploring Operation: 52*34=1768, Resulting Numbers: [1768]
1768,38 unequal: No Solution
Exploring Operation: 52-34=18, Resulting Numbers: [18]
18,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 38:[73, 13], Operations: ['49-10=39', '52-39=13']
Exploring Operation: 73-13=60, Resulting Numbers: [60]
60,38 unequal: No Solution
Exploring Operation: 73+13=86, Resulting Numbers: [86]
86,38 unequal: No Solution
Exploring Operation: 73*13=949, Resulting Numbers: [949]
949,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 38:[52, 112], Operations: ['49-10=39', '73+39=112']
Exploring Operation: 112-52=60, Resulting Numbers: [60]
60,38 unequal: No Solution
Exploring Operation: 52*112=5824, Resulting Numbers: [5824]
5824,38 unequal: No Solution
Exploring Operation: 52+112=164, Resulting Numbers: [164]
164,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 38:[39, 125], Operations: ['49-10=39', '73+52=125']
Exploring Operation: 39*125=4875, Resulting Numbers: [4875]
4875,38 unequal: No Solution
Exploring Operation: 125-39=86, Resulting Numbers: [86]
86,38 unequal: No Solution
Exploring Operation: 39+125=164, Resulting Numbers: [164]
164,38 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: 38:[49, 52, 63], Operations: ['73-10=63']
Exploring Operation: 49+52=101, Resulting Numbers: [63, 101]
Generated Node #0,4,0: 38:[63, 101] Operation: 49+52=101
Exploring Operation: 63-52=11, Resulting Numbers: [49, 11]
Generated Node #0,4,1: 38:[49, 11] Operation: 63-52=11
Exploring Operation: 49+63=112, Resulting Numbers: [52, 112]
Generated Node #0,4,2: 38:[52, 112] Operation: 49+63=112
Exploring Operation: 52-49=3, Resulting Numbers: [63, 3]
Generated Node #0,4,3: 38:[63, 3] Operation: 52-49=3
Exploring Operation: 63-49=14, Resulting Numbers: [52, 14]
Generated Node #0,4,4: 38:[52, 14] Operation: 63-49=14
Moving to Node #0,2,1
Current State: 38:[21, 39], Operations: ['73-52=21', '49-10=39']
Exploring Operation: 39-21=18, Resulting Numbers: [18]
18,38 unequal: No Solution
Exploring Operation: 21+39=60, Resulting Numbers: [60]
60,38 unequal: No Solution
Exploring Operation: 21*39=819, Resulting Numbers: [819]
819,38 unequal: No Solution
Moving to Node #0,1,2
Current State: 38:[24, 42], Operations: ['73-49=24', '52-10=42']
Exploring Operation: 24*42=1008, Resulting Numbers: [1008]
1008,38 unequal: No Solution
Exploring Operation: 42-24=18, Resulting Numbers: [18]
18,38 unequal: No Solution
Exploring Operation: 24+42=66, Resulting Numbers: [66]
66,38 unequal: No Solution
Moving to Node #0,1,0
Current State: 38:[10, 28], Operations: ['73-49=24', '52-24=28']
Exploring Operation: 10+28=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[10, 73, 49, 52], Operations: []
Exploring Operation: 73-49=24, Resulting Numbers: [10, 52, 24]
Generated Node #0,1: 38:[10, 52, 24] Operation: 73-49=24
Moving to Node #0,1
Current State: 38:[10, 52, 24], Operations: ['73-49=24']
Exploring Operation: 52-24=28, Resulting Numbers: [10, 28]
Generated Node #0,1,0: 38:[10, 28] Operation: 52-24=28
Moving to Node #0,1,0
Current State: 38:[10, 28], Operations: ['73-49=24', '52-24=28']
Exploring Operation: 10+28=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 0.936632 | hs_5 | mult_heuristic |
[
32,
54,
93,
75
] | 35 | [
"93-75=18",
"54/18=3",
"32+3=35"
] | Current State: 35:[32, 54, 93, 75], Operations: []
Exploring Operation: 93-75=18, Resulting Numbers: [32, 54, 18]
Generated Node #2: [32, 54, 18] from Operation: 93-75=18
Current State: 35:[32, 54, 18], Operations: ['93-75=18']
Exploring Operation: 54/18=3, Resulting Numbers: [32, 3]
Generated Node #3: [32, 3] from Operation: 54/18=3
Current State: 35:[32, 3], Operations: ['93-75=18', '54/18=3']
Exploring Operation: 32+3=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[32, 54, 93, 75], Operations: []
Exploring Operation: 75-54=21, Resulting Numbers: [32, 93, 21]
Generated Node #0,0: 35:[32, 93, 21] Operation: 75-54=21
Exploring Operation: 93-54=39, Resulting Numbers: [32, 75, 39]
Generated Node #0,1: 35:[32, 75, 39] Operation: 93-54=39
Exploring Operation: 93-32=61, Resulting Numbers: [54, 75, 61]
Generated Node #0,2: 35:[54, 75, 61] Operation: 93-32=61
Exploring Operation: 93-75=18, Resulting Numbers: [32, 54, 18]
Generated Node #0,3: 35:[32, 54, 18] Operation: 93-75=18
Start Sub Search at level 1: Moving to Node #0,3
Current State: 35:[32, 54, 18], Operations: ['93-75=18']
Exploring Operation: 54/18=3, Resulting Numbers: [32, 3]
Generated Node #0,3,0: 35:[32, 3] Operation: 54/18=3
Exploring Operation: 54-18=36, Resulting Numbers: [32, 36]
Generated Node #0,3,1: 35:[32, 36] Operation: 54-18=36
Exploring Operation: 54-32=22, Resulting Numbers: [18, 22]
Generated Node #0,3,2: 35:[18, 22] Operation: 54-32=22
Exploring Operation: 32-18=14, Resulting Numbers: [54, 14]
Generated Node #0,3,3: 35:[54, 14] Operation: 32-18=14
Moving to Node #0,3,1
Current State: 35:[32, 36], Operations: ['93-75=18', '54-18=36']
Exploring Operation: 32*36=1152, Resulting Numbers: [1152]
1152,35 unequal: No Solution
Exploring Operation: 32+36=68, Resulting Numbers: [68]
68,35 unequal: No Solution
Exploring Operation: 36-32=4, Resulting Numbers: [4]
4,35 unequal: No Solution
Moving to Node #0,3,0
Current State: 35:[32, 3], Operations: ['93-75=18', '54/18=3']
Exploring Operation: 32+3=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[32, 54, 93, 75], Operations: []
Exploring Operation: 93-75=18, Resulting Numbers: [32, 54, 18]
Generated Node #0,3: 35:[32, 54, 18] Operation: 93-75=18
Moving to Node #0,3
Current State: 35:[32, 54, 18], Operations: ['93-75=18']
Exploring Operation: 54/18=3, Resulting Numbers: [32, 3]
Generated Node #0,3,0: 35:[32, 3] Operation: 54/18=3
Moving to Node #0,3,0
Current State: 35:[32, 3], Operations: ['93-75=18', '54/18=3']
Exploring Operation: 32+3=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | mult_heuristic |
[
47,
60,
61,
2
] | 53 | [
"61-47=14",
"14/2=7",
"60-7=53"
] | Current State: 53:[47, 60, 61, 2], Operations: []
Exploring Operation: 61-47=14, Resulting Numbers: [60, 2, 14]
Generated Node #2: [60, 2, 14] from Operation: 61-47=14
Current State: 53:[60, 2, 14], Operations: ['61-47=14']
Exploring Operation: 14/2=7, Resulting Numbers: [60, 7]
Generated Node #3: [60, 7] from Operation: 14/2=7
Current State: 53:[60, 7], Operations: ['61-47=14', '14/2=7']
Exploring Operation: 60-7=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[47, 60, 61, 2], Operations: []
Exploring Operation: 47+2=49, Resulting Numbers: [60, 61, 49]
Generated Node #0,0: 53:[60, 61, 49] Operation: 47+2=49
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[60, 61, 49], Operations: ['47+2=49']
Exploring Operation: 61-49=12, Resulting Numbers: [60, 12]
Generated Node #0,0,0: 53:[60, 12] Operation: 61-49=12
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 53:[60, 12], Operations: ['47+2=49', '61-49=12']
Exploring Operation: 60-12=48, Resulting Numbers: [48]
48,53 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 |
[
84,
58,
21,
3
] | 51 | [
"84/21=4",
"58-3=55",
"55-4=51"
] | Current State: 51:[84, 58, 21, 3], Operations: []
Exploring Operation: 84/21=4, Resulting Numbers: [58, 3, 4]
Generated Node #2: [58, 3, 4] from Operation: 84/21=4
Current State: 51:[58, 3, 4], Operations: ['84/21=4']
Exploring Operation: 58-3=55, Resulting Numbers: [4, 55]
Generated Node #3: [4, 55] from Operation: 58-3=55
Current State: 51:[4, 55], Operations: ['84/21=4', '58-3=55']
Exploring Operation: 55-4=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[84, 58, 21, 3], Operations: []
Exploring Operation: 84/21=4, Resulting Numbers: [58, 3, 4]
Generated Node #0,0: 51:[58, 3, 4] Operation: 84/21=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[58, 3, 4], Operations: ['84/21=4']
Exploring Operation: 58-4=54, Resulting Numbers: [3, 54]
Generated Node #0,0,0: 51:[3, 54] Operation: 58-4=54
Moving to Node #0,0,0
Current State: 51:[3, 54], Operations: ['84/21=4', '58-4=54']
Exploring Operation: 54-3=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[84, 58, 21, 3], Operations: []
Exploring Operation: 84/21=4, Resulting Numbers: [58, 3, 4]
Generated Node #0,0: 51:[58, 3, 4] Operation: 84/21=4
Moving to Node #0,0
Current State: 51:[58, 3, 4], Operations: ['84/21=4']
Exploring Operation: 58-4=54, Resulting Numbers: [3, 54]
Generated Node #0,0,0: 51:[3, 54] Operation: 58-4=54
Moving to Node #0,0,0
Current State: 51:[3, 54], Operations: ['84/21=4', '58-4=54']
Exploring Operation: 54-3=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
52,
79,
30,
73
] | 28 | [
"52+79=131",
"30+73=103",
"131-103=28"
] | Current State: 28:[52, 79, 30, 73], Operations: []
Exploring Operation: 52+79=131, Resulting Numbers: [30, 73, 131]
Generated Node #2: [30, 73, 131] from Operation: 52+79=131
Current State: 28:[30, 73, 131], Operations: ['52+79=131']
Exploring Operation: 30+73=103, Resulting Numbers: [131, 103]
Generated Node #3: [131, 103] from Operation: 30+73=103
Current State: 28:[131, 103], Operations: ['52+79=131', '30+73=103']
Exploring Operation: 131-103=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[52, 79, 30, 73], Operations: []
Exploring Operation: 79-73=6, Resulting Numbers: [52, 30, 6]
Generated Node #0,0: 28:[52, 30, 6] Operation: 79-73=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[52, 30, 6], Operations: ['79-73=6']
Exploring Operation: 52-30=22, Resulting Numbers: [6, 22]
Generated Node #0,0,0: 28:[6, 22] Operation: 52-30=22
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 28:[6, 22], Operations: ['79-73=6', '52-30=22']
Exploring Operation: 6+22=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[52, 79, 30, 73], Operations: []
Exploring Operation: 79-73=6, Resulting Numbers: [52, 30, 6]
Generated Node #0,0: 28:[52, 30, 6] Operation: 79-73=6
Moving to Node #0,0
Current State: 28:[52, 30, 6], Operations: ['79-73=6']
Exploring Operation: 52-30=22, Resulting Numbers: [6, 22]
Generated Node #0,0,0: 28:[6, 22] Operation: 52-30=22
Moving to Node #0,0,0
Current State: 28:[6, 22], Operations: ['79-73=6', '52-30=22']
Exploring Operation: 6+22=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
16,
33,
3,
96
] | 69 | [
"96-16=80",
"33/3=11",
"80-11=69"
] | Current State: 69:[16, 33, 3, 96], Operations: []
Exploring Operation: 96-16=80, Resulting Numbers: [33, 3, 80]
Generated Node #2: [33, 3, 80] from Operation: 96-16=80
Current State: 69:[33, 3, 80], Operations: ['96-16=80']
Exploring Operation: 33/3=11, Resulting Numbers: [80, 11]
Generated Node #3: [80, 11] from Operation: 33/3=11
Current State: 69:[80, 11], Operations: ['96-16=80', '33/3=11']
Exploring Operation: 80-11=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[16, 33, 3, 96], Operations: []
Exploring Operation: 96-33=63, Resulting Numbers: [16, 3, 63]
Generated Node #0,0: 69:[16, 3, 63] Operation: 96-33=63
Exploring Operation: 96/16=6, Resulting Numbers: [33, 3, 6]
Generated Node #0,1: 69:[33, 3, 6] Operation: 96/16=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[16, 3, 63], Operations: ['96-33=63']
Exploring Operation: 16+3=19, Resulting Numbers: [63, 19]
Generated Node #0,0,0: 69:[63, 19] Operation: 16+3=19
Exploring Operation: 63/3=21, Resulting Numbers: [16, 21]
Generated Node #0,0,1: 69:[16, 21] Operation: 63/3=21
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 69:[16, 21], Operations: ['96-33=63', '63/3=21']
Exploring Operation: 16+21=37, Resulting Numbers: [37]
37,69 unequal: No Solution
Exploring Operation: 21-16=5, Resulting Numbers: [5]
5,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,0,0
Current State: 69:[63, 19], Operations: ['96-33=63', '16+3=19']
Exploring Operation: 63-19=44, Resulting Numbers: [44]
44,69 unequal: No Solution
Exploring Operation: 63+19=82, Resulting Numbers: [82]
82,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
Start Sub Search at level 1: Moving to Node #0,1
Current State: 69:[33, 3, 6], Operations: ['96/16=6']
Exploring Operation: 33-6=27, Resulting Numbers: [3, 27]
Generated Node #0,1,0: 69:[3, 27] Operation: 33-6=27
Exploring Operation: 33-3=30, Resulting Numbers: [6, 30]
Generated Node #0,1,1: 69:[6, 30] Operation: 33-3=30
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 69:[3, 27], Operations: ['96/16=6', '33-6=27']
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,69 unequal: No Solution
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,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,1,1
Current State: 69:[6, 30], Operations: ['96/16=6', '33-3=30']
Exploring Operation: 30-6=24, Resulting Numbers: [24]
24,69 unequal: No Solution
Exploring Operation: 30/6=5, Resulting Numbers: [5]
5,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_2 | sum_heuristic |
[
6,
27,
81,
35
] | 33 | [
"6*27=162",
"162/81=2",
"35-2=33"
] | Current State: 33:[6, 27, 81, 35], Operations: []
Exploring Operation: 6*27=162, Resulting Numbers: [81, 35, 162]
Generated Node #2: [81, 35, 162] from Operation: 6*27=162
Current State: 33:[81, 35, 162], Operations: ['6*27=162']
Exploring Operation: 162/81=2, Resulting Numbers: [35, 2]
Generated Node #3: [35, 2] from Operation: 162/81=2
Current State: 33:[35, 2], Operations: ['6*27=162', '162/81=2']
Exploring Operation: 35-2=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[6, 27, 81, 35], Operations: []
Exploring Operation: 81-35=46, Resulting Numbers: [6, 27, 46]
Generated Node #0,0: 33:[6, 27, 46] Operation: 81-35=46
Exploring Operation: 81-27=54, Resulting Numbers: [6, 35, 54]
Generated Node #0,1: 33:[6, 35, 54] Operation: 81-27=54
Exploring Operation: 81/27=3, Resulting Numbers: [6, 35, 3]
Generated Node #0,2: 33:[6, 35, 3] Operation: 81/27=3
Moving to Node #0,2
Current State: 33:[6, 35, 3], Operations: ['81/27=3']
Exploring Operation: 35-6=29, Resulting Numbers: [3, 29]
Generated Node #0,2,0: 33:[3, 29] Operation: 35-6=29
Exploring Operation: 6/3=2, Resulting Numbers: [35, 2]
Generated Node #0,2,1: 33:[35, 2] Operation: 6/3=2
Exploring Operation: 6-3=3, Resulting Numbers: [35, 3]
Generated Node #0,2,2: 33:[35, 3] Operation: 6-3=3
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 33:[35, 3], Operations: ['81/27=3', '6-3=3']
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,33 unequal: No Solution
Exploring Operation: 35+3=38, Resulting Numbers: [38]
38,33 unequal: No Solution
Exploring Operation: 35*3=105, Resulting Numbers: [105]
105,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 33:[35, 2], Operations: ['81/27=3', '6/3=2']
Exploring Operation: 35-2=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[6, 27, 81, 35], Operations: []
Exploring Operation: 81/27=3, Resulting Numbers: [6, 35, 3]
Generated Node #0,2: 33:[6, 35, 3] Operation: 81/27=3
Moving to Node #0,2
Current State: 33:[6, 35, 3], Operations: ['81/27=3']
Exploring Operation: 6/3=2, Resulting Numbers: [35, 2]
Generated Node #0,2,1: 33:[35, 2] Operation: 6/3=2
Moving to Node #0,2,1
Current State: 33:[35, 2], Operations: ['81/27=3', '6/3=2']
Exploring Operation: 35-2=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_3 | sum_heuristic |
[
28,
76,
21,
36
] | 93 | [
"76*21=1596",
"1596/28=57",
"36+57=93"
] | Current State: 93:[28, 76, 21, 36], Operations: []
Exploring Operation: 76*21=1596, Resulting Numbers: [28, 36, 1596]
Generated Node #2: [28, 36, 1596] from Operation: 76*21=1596
Current State: 93:[28, 36, 1596], Operations: ['76*21=1596']
Exploring Operation: 1596/28=57, Resulting Numbers: [36, 57]
Generated Node #3: [36, 57] from Operation: 1596/28=57
Current State: 93:[36, 57], Operations: ['76*21=1596', '1596/28=57']
Exploring Operation: 36+57=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[28, 76, 21, 36], Operations: []
Exploring Operation: 76+21=97, Resulting Numbers: [28, 36, 97]
Generated Node #0,0: 93:[28, 36, 97] Operation: 76+21=97
Start Sub Search at level 1: Moving to Node #0,0
Current State: 93:[28, 36, 97], Operations: ['76+21=97']
Exploring Operation: 36-28=8, Resulting Numbers: [97, 8]
Generated Node #0,0,0: 93:[97, 8] Operation: 36-28=8
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 93:[97, 8], Operations: ['76+21=97', '36-28=8']
Exploring Operation: 97-8=89, Resulting Numbers: [89]
89,93 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 |
[
67,
81,
42,
23
] | 69 | [
"81-67=14",
"42*23=966",
"966/14=69"
] | Current State: 69:[67, 81, 42, 23], Operations: []
Exploring Operation: 81-67=14, Resulting Numbers: [42, 23, 14]
Generated Node #2: [42, 23, 14] from Operation: 81-67=14
Current State: 69:[42, 23, 14], Operations: ['81-67=14']
Exploring Operation: 42*23=966, Resulting Numbers: [14, 966]
Generated Node #3: [14, 966] from Operation: 42*23=966
Current State: 69:[14, 966], Operations: ['81-67=14', '42*23=966']
Exploring Operation: 966/14=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[67, 81, 42, 23], Operations: []
Exploring Operation: 67-42=25, Resulting Numbers: [81, 23, 25]
Generated Node #0,0: 69:[81, 23, 25] Operation: 67-42=25
Exploring Operation: 42-23=19, Resulting Numbers: [67, 81, 19]
Generated Node #0,1: 69:[67, 81, 19] Operation: 42-23=19
Exploring Operation: 81-42=39, Resulting Numbers: [67, 23, 39]
Generated Node #0,2: 69:[67, 23, 39] Operation: 81-42=39
Exploring Operation: 42+23=65, Resulting Numbers: [67, 81, 65]
Generated Node #0,3: 69:[67, 81, 65] Operation: 42+23=65
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[81, 23, 25], Operations: ['67-42=25']
Exploring Operation: 81-23=58, Resulting Numbers: [25, 58]
Generated Node #0,0,0: 69:[25, 58] Operation: 81-23=58
Exploring Operation: 23+25=48, Resulting Numbers: [81, 48]
Generated Node #0,0,1: 69:[81, 48] Operation: 23+25=48
Exploring Operation: 25-23=2, Resulting Numbers: [81, 2]
Generated Node #0,0,2: 69:[81, 2] Operation: 25-23=2
Exploring Operation: 81-25=56, Resulting Numbers: [23, 56]
Generated Node #0,0,3: 69:[23, 56] Operation: 81-25=56
Moving to Node #0,0,0
Current State: 69:[25, 58], Operations: ['67-42=25', '81-23=58']
Exploring Operation: 25+58=83, Resulting Numbers: [83]
83,69 unequal: No Solution
Exploring Operation: 58-25=33, Resulting Numbers: [33]
33,69 unequal: No Solution
Exploring Operation: 25*58=1450, Resulting Numbers: [1450]
1450,69 unequal: No Solution
Moving to Node #0,0,3
Current State: 69:[23, 56], Operations: ['67-42=25', '81-25=56']
Exploring Operation: 56-23=33, Resulting Numbers: [33]
33,69 unequal: No Solution
Exploring Operation: 23+56=79, Resulting Numbers: [79]
79,69 unequal: No Solution
Exploring Operation: 23*56=1288, Resulting Numbers: [1288]
1288,69 unequal: No Solution
Moving to Node #0,0,2
Current State: 69:[81, 2], Operations: ['67-42=25', '25-23=2']
Exploring Operation: 81-2=79, Resulting Numbers: [79]
79,69 unequal: No Solution
Exploring Operation: 81*2=162, Resulting Numbers: [162]
162,69 unequal: No Solution
Exploring Operation: 81+2=83, Resulting Numbers: [83]
83,69 unequal: No Solution
Moving to Node #0,0,1
Current State: 69:[81, 48], Operations: ['67-42=25', '23+25=48']
Exploring Operation: 81+48=129, Resulting Numbers: [129]
129,69 unequal: No Solution
Exploring Operation: 81-48=33, Resulting Numbers: [33]
33,69 unequal: No Solution
Exploring Operation: 81*48=3888, Resulting Numbers: [3888]
3888,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,1
Current State: 69:[67, 81, 19], Operations: ['42-23=19']
Exploring Operation: 67-19=48, Resulting Numbers: [81, 48]
Generated Node #0,1,0: 69:[81, 48] Operation: 67-19=48
Exploring Operation: 81-19=62, Resulting Numbers: [67, 62]
Generated Node #0,1,1: 69:[67, 62] Operation: 81-19=62
Exploring Operation: 81-67=14, Resulting Numbers: [19, 14]
Generated Node #0,1,2: 69:[19, 14] Operation: 81-67=14
Exploring Operation: 67+19=86, Resulting Numbers: [81, 86]
Generated Node #0,1,3: 69:[81, 86] Operation: 67+19=86
Moving to Node #0,1,1
Current State: 69:[67, 62], Operations: ['42-23=19', '81-19=62']
Exploring Operation: 67-62=5, Resulting Numbers: [5]
5,69 unequal: No Solution
Exploring Operation: 67*62=4154, Resulting Numbers: [4154]
4154,69 unequal: No Solution
Exploring Operation: 67+62=129, Resulting Numbers: [129]
129,69 unequal: No Solution
Moving to Node #0,1,2
Current State: 69:[19, 14], Operations: ['42-23=19', '81-67=14']
Exploring Operation: 19*14=266, Resulting Numbers: [266]
266,69 unequal: No Solution
Exploring Operation: 19+14=33, Resulting Numbers: [33]
33,69 unequal: No Solution
Exploring Operation: 19-14=5, Resulting Numbers: [5]
5,69 unequal: No Solution
Moving to Node #0,1,3
Current State: 69:[81, 86], Operations: ['42-23=19', '67+19=86']
Exploring Operation: 81*86=6966, Resulting Numbers: [6966]
6966,69 unequal: No Solution
Exploring Operation: 86-81=5, Resulting Numbers: [5]
5,69 unequal: No Solution
Exploring Operation: 81+86=167, Resulting Numbers: [167]
167,69 unequal: No Solution
Moving to Node #0,1,0
Current State: 69:[81, 48], Operations: ['42-23=19', '67-19=48']
Exploring Operation: 81*48=3888, Resulting Numbers: [3888]
3888,69 unequal: No Solution
Exploring Operation: 81-48=33, Resulting Numbers: [33]
33,69 unequal: No Solution
Exploring Operation: 81+48=129, Resulting Numbers: [129]
129,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:[67, 23, 39], Operations: ['81-42=39']
Exploring Operation: 67+23=90, Resulting Numbers: [39, 90]
Generated Node #0,2,0: 69:[39, 90] Operation: 67+23=90
Exploring Operation: 39-23=16, Resulting Numbers: [67, 16]
Generated Node #0,2,1: 69:[67, 16] Operation: 39-23=16
Exploring Operation: 67-39=28, Resulting Numbers: [23, 28]
Generated Node #0,2,2: 69:[23, 28] Operation: 67-39=28
Exploring Operation: 23+39=62, Resulting Numbers: [67, 62]
Generated Node #0,2,3: 69:[67, 62] Operation: 23+39=62
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 69:[23, 28], Operations: ['81-42=39', '67-39=28']
Exploring Operation: 23+28=51, Resulting Numbers: [51]
51,69 unequal: No Solution
Exploring Operation: 23*28=644, Resulting Numbers: [644]
644,69 unequal: No Solution
Exploring Operation: 28-23=5, Resulting Numbers: [5]
5,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:[67, 16], Operations: ['81-42=39', '39-23=16']
Exploring Operation: 67+16=83, Resulting Numbers: [83]
83,69 unequal: No Solution
Exploring Operation: 67*16=1072, Resulting Numbers: [1072]
1072,69 unequal: No Solution
Exploring Operation: 67-16=51, Resulting Numbers: [51]
51,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:[67, 62], Operations: ['81-42=39', '23+39=62']
Exploring Operation: 67*62=4154, Resulting Numbers: [4154]
4154,69 unequal: No Solution
Exploring Operation: 67-62=5, Resulting Numbers: [5]
5,69 unequal: No Solution
Exploring Operation: 67+62=129, Resulting Numbers: [129]
129,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,0
Current State: 69:[39, 90], Operations: ['81-42=39', '67+23=90']
Exploring Operation: 90-39=51, Resulting Numbers: [51]
51,69 unequal: No Solution
Exploring Operation: 39+90=129, Resulting Numbers: [129]
129,69 unequal: No Solution
Exploring Operation: 39*90=3510, Resulting Numbers: [3510]
3510,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
Start Sub Search at level 1: Moving to Node #0,3
Current State: 69:[67, 81, 65], Operations: ['42+23=65']
Exploring Operation: 67-65=2, Resulting Numbers: [81, 2]
Generated Node #0,3,0: 69:[81, 2] Operation: 67-65=2
Exploring Operation: 81-67=14, Resulting Numbers: [65, 14]
Generated Node #0,3,1: 69:[65, 14] Operation: 81-67=14
Exploring Operation: 67+65=132, Resulting Numbers: [81, 132]
Generated Node #0,3,2: 69:[81, 132] Operation: 67+65=132
Exploring Operation: 81-65=16, Resulting Numbers: [67, 16]
Generated Node #0,3,3: 69:[67, 16] Operation: 81-65=16
Moving to Node #0,3,3
Current State: 69:[67, 16], Operations: ['42+23=65', '81-65=16']
Exploring Operation: 67+16=83, Resulting Numbers: [83]
83,69 unequal: No Solution
Exploring Operation: 67-16=51, Resulting Numbers: [51]
51,69 unequal: No Solution
Exploring Operation: 67*16=1072, Resulting Numbers: [1072]
1072,69 unequal: No Solution
Moving to Node #0,3,1
Current State: 69:[65, 14], Operations: ['42+23=65', '81-67=14']
Exploring Operation: 65-14=51, Resulting Numbers: [51]
51,69 unequal: No Solution
Exploring Operation: 65*14=910, Resulting Numbers: [910]
910,69 unequal: No Solution
Exploring Operation: 65+14=79, Resulting Numbers: [79]
79,69 unequal: No Solution
Moving to Node #0,3,0
Current State: 69:[81, 2], Operations: ['42+23=65', '67-65=2']
Exploring Operation: 81-2=79, Resulting Numbers: [79]
79,69 unequal: No Solution
Exploring Operation: 81*2=162, Resulting Numbers: [162]
162,69 unequal: No Solution
Exploring Operation: 81+2=83, Resulting Numbers: [83]
83,69 unequal: No Solution
Moving to Node #0,3,2
Current State: 69:[81, 132], Operations: ['42+23=65', '67+65=132']
Exploring Operation: 81*132=10692, Resulting Numbers: [10692]
10692,69 unequal: No Solution
Exploring Operation: 81+132=213, Resulting Numbers: [213]
213,69 unequal: No Solution
Exploring Operation: 132-81=51, Resulting Numbers: [51]
51,69 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 |
[
19,
11,
45,
68
] | 21 | [
"45-11=34",
"68/34=2",
"19+2=21"
] | Current State: 21:[19, 11, 45, 68], Operations: []
Exploring Operation: 45-11=34, Resulting Numbers: [19, 68, 34]
Generated Node #2: [19, 68, 34] from Operation: 45-11=34
Current State: 21:[19, 68, 34], Operations: ['45-11=34']
Exploring Operation: 68/34=2, Resulting Numbers: [19, 2]
Generated Node #3: [19, 2] from Operation: 68/34=2
Current State: 21:[19, 2], Operations: ['45-11=34', '68/34=2']
Exploring Operation: 19+2=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[19, 11, 45, 68], Operations: []
Exploring Operation: 68-45=23, Resulting Numbers: [19, 11, 23]
Generated Node #0,0: 21:[19, 11, 23] Operation: 68-45=23
Start Sub Search at level 1: Moving to Node #0,0
Current State: 21:[19, 11, 23], Operations: ['68-45=23']
Exploring Operation: 19-11=8, Resulting Numbers: [23, 8]
Generated Node #0,0,0: 21:[23, 8] Operation: 19-11=8
Moving to Node #0,0,0
Current State: 21:[23, 8], Operations: ['68-45=23', '19-11=8']
Exploring Operation: 23-8=15, Resulting Numbers: [15]
15,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
36,
62,
53,
32
] | 77 | [
"36+62=98",
"53-32=21",
"98-21=77"
] | Current State: 77:[36, 62, 53, 32], Operations: []
Exploring Operation: 36+62=98, Resulting Numbers: [53, 32, 98]
Generated Node #2: [53, 32, 98] from Operation: 36+62=98
Current State: 77:[53, 32, 98], Operations: ['36+62=98']
Exploring Operation: 53-32=21, Resulting Numbers: [98, 21]
Generated Node #3: [98, 21] from Operation: 53-32=21
Current State: 77:[98, 21], Operations: ['36+62=98', '53-32=21']
Exploring Operation: 98-21=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[36, 62, 53, 32], Operations: []
Exploring Operation: 36-32=4, Resulting Numbers: [62, 53, 4]
Generated Node #0,0: 77:[62, 53, 4] Operation: 36-32=4
Exploring Operation: 36+53=89, Resulting Numbers: [62, 32, 89]
Generated Node #0,1: 77:[62, 32, 89] Operation: 36+53=89
Exploring Operation: 53-36=17, Resulting Numbers: [62, 32, 17]
Generated Node #0,2: 77:[62, 32, 17] Operation: 53-36=17
Moving to Node #0,0
Current State: 77:[62, 53, 4], Operations: ['36-32=4']
Exploring Operation: 53+4=57, Resulting Numbers: [62, 57]
Generated Node #0,0,0: 77:[62, 57] Operation: 53+4=57
Exploring Operation: 62-53=9, Resulting Numbers: [4, 9]
Generated Node #0,0,1: 77:[4, 9] Operation: 62-53=9
Exploring Operation: 62+4=66, Resulting Numbers: [53, 66]
Generated Node #0,0,2: 77:[53, 66] Operation: 62+4=66
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 77:[4, 9], Operations: ['36-32=4', '62-53=9']
Exploring Operation: 4*9=36, Resulting Numbers: [36]
36,77 unequal: No Solution
Exploring Operation: 4+9=13, Resulting Numbers: [13]
13,77 unequal: No Solution
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,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:[62, 57], Operations: ['36-32=4', '53+4=57']
Exploring Operation: 62+57=119, Resulting Numbers: [119]
119,77 unequal: No Solution
Exploring Operation: 62*57=3534, Resulting Numbers: [3534]
3534,77 unequal: No Solution
Exploring Operation: 62-57=5, Resulting Numbers: [5]
5,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:[53, 66], Operations: ['36-32=4', '62+4=66']
Exploring Operation: 66-53=13, Resulting Numbers: [13]
13,77 unequal: No Solution
Exploring Operation: 53*66=3498, Resulting Numbers: [3498]
3498,77 unequal: No Solution
Exploring Operation: 53+66=119, Resulting Numbers: [119]
119,77 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: 77:[62, 32, 17], Operations: ['53-36=17']
Exploring Operation: 32-17=15, Resulting Numbers: [62, 15]
Generated Node #0,2,0: 77:[62, 15] Operation: 32-17=15
Exploring Operation: 62+32=94, Resulting Numbers: [17, 94]
Generated Node #0,2,1: 77:[17, 94] Operation: 62+32=94
Exploring Operation: 62+17=79, Resulting Numbers: [32, 79]
Generated Node #0,2,2: 77:[32, 79] Operation: 62+17=79
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 77:[62, 15], Operations: ['53-36=17', '32-17=15']
Exploring Operation: 62-15=47, Resulting Numbers: [47]
47,77 unequal: No Solution
Exploring Operation: 62*15=930, Resulting Numbers: [930]
930,77 unequal: No Solution
Exploring Operation: 62+15=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[36, 62, 53, 32], Operations: []
Exploring Operation: 53-36=17, Resulting Numbers: [62, 32, 17]
Generated Node #0,2: 77:[62, 32, 17] Operation: 53-36=17
Moving to Node #0,2
Current State: 77:[62, 32, 17], Operations: ['53-36=17']
Exploring Operation: 32-17=15, Resulting Numbers: [62, 15]
Generated Node #0,2,0: 77:[62, 15] Operation: 32-17=15
Moving to Node #0,2,0
Current State: 77:[62, 15], Operations: ['53-36=17', '32-17=15']
Exploring Operation: 62+15=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_3 | mult_heuristic |
[
43,
29,
74,
33
] | 58 | [
"74-43=31",
"33-31=2",
"29*2=58"
] | Current State: 58:[43, 29, 74, 33], Operations: []
Exploring Operation: 74-43=31, Resulting Numbers: [29, 33, 31]
Generated Node #2: [29, 33, 31] from Operation: 74-43=31
Current State: 58:[29, 33, 31], Operations: ['74-43=31']
Exploring Operation: 33-31=2, Resulting Numbers: [29, 2]
Generated Node #3: [29, 2] from Operation: 33-31=2
Current State: 58:[29, 2], Operations: ['74-43=31', '33-31=2']
Exploring Operation: 29*2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[43, 29, 74, 33], Operations: []
Exploring Operation: 43-33=10, Resulting Numbers: [29, 74, 10]
Generated Node #0,0: 58:[29, 74, 10] Operation: 43-33=10
Exploring Operation: 74-29=45, Resulting Numbers: [43, 33, 45]
Generated Node #0,1: 58:[43, 33, 45] Operation: 74-29=45
Exploring Operation: 74-33=41, Resulting Numbers: [43, 29, 41]
Generated Node #0,2: 58:[43, 29, 41] Operation: 74-33=41
Exploring Operation: 74-43=31, Resulting Numbers: [29, 33, 31]
Generated Node #0,3: 58:[29, 33, 31] Operation: 74-43=31
Start Sub Search at level 1: Moving to Node #0,3
Current State: 58:[29, 33, 31], Operations: ['74-43=31']
Exploring Operation: 31-29=2, Resulting Numbers: [33, 2]
Generated Node #0,3,0: 58:[33, 2] Operation: 31-29=2
Exploring Operation: 29+33=62, Resulting Numbers: [31, 62]
Generated Node #0,3,1: 58:[31, 62] Operation: 29+33=62
Exploring Operation: 33-31=2, Resulting Numbers: [29, 2]
Generated Node #0,3,2: 58:[29, 2] Operation: 33-31=2
Exploring Operation: 33-29=4, Resulting Numbers: [31, 4]
Generated Node #0,3,3: 58:[31, 4] Operation: 33-29=4
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 58:[29, 2], Operations: ['74-43=31', '33-31=2']
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,58 unequal: No Solution
Exploring Operation: 29+2=31, Resulting Numbers: [31]
31,58 unequal: No Solution
Exploring Operation: 29*2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[43, 29, 74, 33], Operations: []
Exploring Operation: 74-43=31, Resulting Numbers: [29, 33, 31]
Generated Node #0,3: 58:[29, 33, 31] Operation: 74-43=31
Moving to Node #0,3
Current State: 58:[29, 33, 31], Operations: ['74-43=31']
Exploring Operation: 33-31=2, Resulting Numbers: [29, 2]
Generated Node #0,3,2: 58:[29, 2] Operation: 33-31=2
Moving to Node #0,3,2
Current State: 58:[29, 2], Operations: ['74-43=31', '33-31=2']
Exploring Operation: 29*2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
39,
1,
21,
41
] | 20 | [
"39+1=40",
"41-21=20",
"40-20=20"
] | Current State: 20:[39, 1, 21, 41], Operations: []
Exploring Operation: 39+1=40, Resulting Numbers: [21, 41, 40]
Generated Node #2: [21, 41, 40] from Operation: 39+1=40
Current State: 20:[21, 41, 40], Operations: ['39+1=40']
Exploring Operation: 41-21=20, Resulting Numbers: [40, 20]
Generated Node #3: [40, 20] from Operation: 41-21=20
Current State: 20:[40, 20], Operations: ['39+1=40', '41-21=20']
Exploring Operation: 40-20=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[39, 1, 21, 41], Operations: []
Exploring Operation: 41-39=2, Resulting Numbers: [1, 21, 2]
Generated Node #0,0: 20:[1, 21, 2] Operation: 41-39=2
Exploring Operation: 41-21=20, Resulting Numbers: [39, 1, 20]
Generated Node #0,1: 20:[39, 1, 20] Operation: 41-21=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[1, 21, 2], Operations: ['41-39=2']
Exploring Operation: 21-1=20, Resulting Numbers: [2, 20]
Generated Node #0,0,0: 20:[2, 20] Operation: 21-1=20
Exploring Operation: 1*21=21, Resulting Numbers: [2, 21]
Generated Node #0,0,1: 20:[2, 21] Operation: 1*21=21
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 20:[2, 20], Operations: ['41-39=2', '21-1=20']
Exploring Operation: 2+20=22, Resulting Numbers: [22]
22,20 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 20:[2, 21], Operations: ['41-39=2', '1*21=21']
Exploring Operation: 2+21=23, Resulting Numbers: [23]
23,20 unequal: No Solution
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 20:[39, 1, 20], Operations: ['41-21=20']
Exploring Operation: 39-1=38, Resulting Numbers: [20, 38]
Generated Node #0,1,0: 20:[20, 38] Operation: 39-1=38
Exploring Operation: 39-20=19, Resulting Numbers: [1, 19]
Generated Node #0,1,1: 20:[1, 19] Operation: 39-20=19
Moving to Node #0,1,1
Current State: 20:[1, 19], Operations: ['41-21=20', '39-20=19']
Exploring Operation: 1+19=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[39, 1, 21, 41], Operations: []
Exploring Operation: 41-21=20, Resulting Numbers: [39, 1, 20]
Generated Node #0,1: 20:[39, 1, 20] Operation: 41-21=20
Moving to Node #0,1
Current State: 20:[39, 1, 20], Operations: ['41-21=20']
Exploring Operation: 39-20=19, Resulting Numbers: [1, 19]
Generated Node #0,1,1: 20:[1, 19] Operation: 39-20=19
Moving to Node #0,1,1
Current State: 20:[1, 19], Operations: ['41-21=20', '39-20=19']
Exploring Operation: 1+19=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_2 | mult_heuristic |
[
35,
63,
30,
4
] | 97 | [
"63-30=33",
"4*33=132",
"132-35=97"
] | Current State: 97:[35, 63, 30, 4], Operations: []
Exploring Operation: 63-30=33, Resulting Numbers: [35, 4, 33]
Generated Node #2: [35, 4, 33] from Operation: 63-30=33
Current State: 97:[35, 4, 33], Operations: ['63-30=33']
Exploring Operation: 4*33=132, Resulting Numbers: [35, 132]
Generated Node #3: [35, 132] from Operation: 4*33=132
Current State: 97:[35, 132], Operations: ['63-30=33', '4*33=132']
Exploring Operation: 132-35=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[35, 63, 30, 4], Operations: []
Exploring Operation: 30*4=120, Resulting Numbers: [35, 63, 120]
Generated Node #0,0: 97:[35, 63, 120] Operation: 30*4=120
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[35, 63, 120], Operations: ['30*4=120']
Exploring Operation: 35+63=98, Resulting Numbers: [120, 98]
Generated Node #0,0,0: 97:[120, 98] Operation: 35+63=98
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 97:[120, 98], Operations: ['30*4=120', '35+63=98']
Exploring Operation: 120-98=22, Resulting Numbers: [22]
22,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
95,
22,
14,
93
] | 50 | [
"95-93=2",
"14*2=28",
"22+28=50"
] | Current State: 50:[95, 22, 14, 93], Operations: []
Exploring Operation: 95-93=2, Resulting Numbers: [22, 14, 2]
Generated Node #2: [22, 14, 2] from Operation: 95-93=2
Current State: 50:[22, 14, 2], Operations: ['95-93=2']
Exploring Operation: 14*2=28, Resulting Numbers: [22, 28]
Generated Node #3: [22, 28] from Operation: 14*2=28
Current State: 50:[22, 28], Operations: ['95-93=2', '14*2=28']
Exploring Operation: 22+28=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[95, 22, 14, 93], Operations: []
Exploring Operation: 95-22=73, Resulting Numbers: [14, 93, 73]
Generated Node #0,0: 50:[14, 93, 73] Operation: 95-22=73
Exploring Operation: 95-93=2, Resulting Numbers: [22, 14, 2]
Generated Node #0,1: 50:[22, 14, 2] Operation: 95-93=2
Moving to Node #0,1
Current State: 50:[22, 14, 2], Operations: ['95-93=2']
Exploring Operation: 22-14=8, Resulting Numbers: [2, 8]
Generated Node #0,1,0: 50:[2, 8] Operation: 22-14=8
Exploring Operation: 22+2=24, Resulting Numbers: [14, 24]
Generated Node #0,1,1: 50:[14, 24] Operation: 22+2=24
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 50:[2, 8], Operations: ['95-93=2', '22-14=8']
Exploring Operation: 2+8=10, Resulting Numbers: [10]
10,50 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 50:[14, 24], Operations: ['95-93=2', '22+2=24']
Exploring Operation: 14+24=38, Resulting Numbers: [38]
38,50 unequal: No Solution
Exploring Operation: 24-14=10, Resulting Numbers: [10]
10,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 50:[14, 93, 73], Operations: ['95-22=73']
Exploring Operation: 93-14=79, Resulting Numbers: [73, 79]
Generated Node #0,0,0: 50:[73, 79] Operation: 93-14=79
Exploring Operation: 93-73=20, Resulting Numbers: [14, 20]
Generated Node #0,0,1: 50:[14, 20] Operation: 93-73=20
Moving to Node #0,0,1
Current State: 50:[14, 20], Operations: ['95-22=73', '93-73=20']
Exploring Operation: 14+20=34, Resulting Numbers: [34]
34,50 unequal: No Solution
Exploring Operation: 20-14=6, Resulting Numbers: [6]
6,50 unequal: No Solution
Moving to Node #0,0,0
Current State: 50:[73, 79], Operations: ['95-22=73', '93-14=79']
Exploring Operation: 73+79=152, Resulting Numbers: [152]
152,50 unequal: No Solution
Exploring Operation: 79-73=6, Resulting Numbers: [6]
6,50 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
25,
33,
8,
67
] | 30 | [
"8+67=75",
"75/25=3",
"33-3=30"
] | Current State: 30:[25, 33, 8, 67], Operations: []
Exploring Operation: 8+67=75, Resulting Numbers: [25, 33, 75]
Generated Node #2: [25, 33, 75] from Operation: 8+67=75
Current State: 30:[25, 33, 75], Operations: ['8+67=75']
Exploring Operation: 75/25=3, Resulting Numbers: [33, 3]
Generated Node #3: [33, 3] from Operation: 75/25=3
Current State: 30:[33, 3], Operations: ['8+67=75', '75/25=3']
Exploring Operation: 33-3=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[25, 33, 8, 67], Operations: []
Exploring Operation: 67-33=34, Resulting Numbers: [25, 8, 34]
Generated Node #0,0: 30:[25, 8, 34] Operation: 67-33=34
Moving to Node #0,0
Current State: 30:[25, 8, 34], Operations: ['67-33=34']
Exploring Operation: 34-25=9, Resulting Numbers: [8, 9]
Generated Node #0,0,0: 30:[8, 9] Operation: 34-25=9
Moving to Node #0,0,0
Current State: 30:[8, 9], Operations: ['67-33=34', '34-25=9']
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,30 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
21,
85,
13,
20
] | 18 | [
"85+20=105",
"105/21=5",
"13+5=18"
] | Current State: 18:[21, 85, 13, 20], Operations: []
Exploring Operation: 85+20=105, Resulting Numbers: [21, 13, 105]
Generated Node #2: [21, 13, 105] from Operation: 85+20=105
Current State: 18:[21, 13, 105], Operations: ['85+20=105']
Exploring Operation: 105/21=5, Resulting Numbers: [13, 5]
Generated Node #3: [13, 5] from Operation: 105/21=5
Current State: 18:[13, 5], Operations: ['85+20=105', '105/21=5']
Exploring Operation: 13+5=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[21, 85, 13, 20], Operations: []
Exploring Operation: 21-13=8, Resulting Numbers: [85, 20, 8]
Generated Node #0,0: 18:[85, 20, 8] Operation: 21-13=8
Exploring Operation: 85-13=72, Resulting Numbers: [21, 20, 72]
Generated Node #0,1: 18:[21, 20, 72] Operation: 85-13=72
Exploring Operation: 20-13=7, Resulting Numbers: [21, 85, 7]
Generated Node #0,2: 18:[21, 85, 7] Operation: 20-13=7
Exploring Operation: 85-21=64, Resulting Numbers: [13, 20, 64]
Generated Node #0,3: 18:[13, 20, 64] Operation: 85-21=64
Exploring Operation: 85-20=65, Resulting Numbers: [21, 13, 65]
Generated Node #0,4: 18:[21, 13, 65] Operation: 85-20=65
Moving to Node #0,3
Current State: 18:[13, 20, 64], Operations: ['85-21=64']
Exploring Operation: 20-13=7, Resulting Numbers: [64, 7]
Generated Node #0,3,0: 18:[64, 7] Operation: 20-13=7
Exploring Operation: 13+64=77, Resulting Numbers: [20, 77]
Generated Node #0,3,1: 18:[20, 77] Operation: 13+64=77
Exploring Operation: 64-20=44, Resulting Numbers: [13, 44]
Generated Node #0,3,2: 18:[13, 44] Operation: 64-20=44
Exploring Operation: 64-13=51, Resulting Numbers: [20, 51]
Generated Node #0,3,3: 18:[20, 51] Operation: 64-13=51
Exploring Operation: 13+20=33, Resulting Numbers: [64, 33]
Generated Node #0,3,4: 18:[64, 33] Operation: 13+20=33
Moving to Node #0,4
Current State: 18:[21, 13, 65], Operations: ['85-20=65']
Exploring Operation: 65/13=5, Resulting Numbers: [21, 5]
Generated Node #0,4,0: 18:[21, 5] Operation: 65/13=5
Exploring Operation: 65-13=52, Resulting Numbers: [21, 52]
Generated Node #0,4,1: 18:[21, 52] Operation: 65-13=52
Exploring Operation: 65-21=44, Resulting Numbers: [13, 44]
Generated Node #0,4,2: 18:[13, 44] Operation: 65-21=44
Exploring Operation: 21-13=8, Resulting Numbers: [65, 8]
Generated Node #0,4,3: 18:[65, 8] Operation: 21-13=8
Exploring Operation: 21+13=34, Resulting Numbers: [65, 34]
Generated Node #0,4,4: 18:[65, 34] Operation: 21+13=34
Moving to Node #0,1
Current State: 18:[21, 20, 72], Operations: ['85-13=72']
Exploring Operation: 72-21=51, Resulting Numbers: [20, 51]
Generated Node #0,1,0: 18:[20, 51] Operation: 72-21=51
Exploring Operation: 72-20=52, Resulting Numbers: [21, 52]
Generated Node #0,1,1: 18:[21, 52] Operation: 72-20=52
Exploring Operation: 21+72=93, Resulting Numbers: [20, 93]
Generated Node #0,1,2: 18:[20, 93] Operation: 21+72=93
Exploring Operation: 21+20=41, Resulting Numbers: [72, 41]
Generated Node #0,1,3: 18:[72, 41] Operation: 21+20=41
Exploring Operation: 21-20=1, Resulting Numbers: [72, 1]
Generated Node #0,1,4: 18:[72, 1] Operation: 21-20=1
Moving to Node #0,0
Current State: 18:[85, 20, 8], Operations: ['21-13=8']
Exploring Operation: 20-8=12, Resulting Numbers: [85, 12]
Generated Node #0,0,0: 18:[85, 12] Operation: 20-8=12
Exploring Operation: 20+8=28, Resulting Numbers: [85, 28]
Generated Node #0,0,1: 18:[85, 28] Operation: 20+8=28
Exploring Operation: 85+8=93, Resulting Numbers: [20, 93]
Generated Node #0,0,2: 18:[20, 93] Operation: 85+8=93
Exploring Operation: 85-8=77, Resulting Numbers: [20, 77]
Generated Node #0,0,3: 18:[20, 77] Operation: 85-8=77
Exploring Operation: 85-20=65, Resulting Numbers: [8, 65]
Generated Node #0,0,4: 18:[8, 65] Operation: 85-20=65
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 18:[8, 65], Operations: ['21-13=8', '85-20=65']
Exploring Operation: 65-8=57, Resulting Numbers: [57]
57,18 unequal: No Solution
Exploring Operation: 8*65=520, Resulting Numbers: [520]
520,18 unequal: No Solution
Exploring Operation: 8+65=73, Resulting Numbers: [73]
73,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 18:[20, 77], Operations: ['21-13=8', '85-8=77']
Exploring Operation: 77-20=57, Resulting Numbers: [57]
57,18 unequal: No Solution
Exploring Operation: 20*77=1540, Resulting Numbers: [1540]
1540,18 unequal: No Solution
Exploring Operation: 20+77=97, Resulting Numbers: [97]
97,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 18:[85, 12], Operations: ['21-13=8', '20-8=12']
Exploring Operation: 85+12=97, Resulting Numbers: [97]
97,18 unequal: No Solution
Exploring Operation: 85-12=73, Resulting Numbers: [73]
73,18 unequal: No Solution
Exploring Operation: 85*12=1020, Resulting Numbers: [1020]
1020,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 18:[85, 28], Operations: ['21-13=8', '20+8=28']
Exploring Operation: 85+28=113, Resulting Numbers: [113]
113,18 unequal: No Solution
Exploring Operation: 85-28=57, Resulting Numbers: [57]
57,18 unequal: No Solution
Exploring Operation: 85*28=2380, Resulting Numbers: [2380]
2380,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 18:[20, 93], Operations: ['21-13=8', '85+8=93']
Exploring Operation: 93-20=73, Resulting Numbers: [73]
73,18 unequal: No Solution
Exploring Operation: 20*93=1860, Resulting Numbers: [1860]
1860,18 unequal: No Solution
Exploring Operation: 20+93=113, Resulting Numbers: [113]
113,18 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: 18:[21, 85, 7], Operations: ['20-13=7']
Exploring Operation: 21-7=14, Resulting Numbers: [85, 14]
Generated Node #0,2,0: 18:[85, 14] Operation: 21-7=14
Exploring Operation: 85-7=78, Resulting Numbers: [21, 78]
Generated Node #0,2,1: 18:[21, 78] Operation: 85-7=78
Exploring Operation: 85-21=64, Resulting Numbers: [7, 64]
Generated Node #0,2,2: 18:[7, 64] Operation: 85-21=64
Exploring Operation: 21+7=28, Resulting Numbers: [85, 28]
Generated Node #0,2,3: 18:[85, 28] Operation: 21+7=28
Exploring Operation: 21/7=3, Resulting Numbers: [85, 3]
Generated Node #0,2,4: 18:[85, 3] Operation: 21/7=3
Moving to Node #0,4,0
Current State: 18:[21, 5], Operations: ['85-20=65', '65/13=5']
Exploring Operation: 21*5=105, Resulting Numbers: [105]
105,18 unequal: No Solution
Exploring Operation: 21+5=26, Resulting Numbers: [26]
26,18 unequal: No Solution
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,18 unequal: No Solution
Moving to Node #0,3,2
Current State: 18:[13, 44], Operations: ['85-21=64', '64-20=44']
Exploring Operation: 44-13=31, Resulting Numbers: [31]
31,18 unequal: No Solution
Exploring Operation: 13+44=57, Resulting Numbers: [57]
57,18 unequal: No Solution
Exploring Operation: 13*44=572, Resulting Numbers: [572]
572,18 unequal: No Solution
Moving to Node #0,4,2
Current State: 18:[13, 44], Operations: ['85-20=65', '65-21=44']
Exploring Operation: 13+44=57, Resulting Numbers: [57]
57,18 unequal: No Solution
Exploring Operation: 44-13=31, Resulting Numbers: [31]
31,18 unequal: No Solution
Exploring Operation: 13*44=572, Resulting Numbers: [572]
572,18 unequal: No Solution
Moving to Node #0,3,3
Current State: 18:[20, 51], Operations: ['85-21=64', '64-13=51']
Exploring Operation: 20+51=71, Resulting Numbers: [71]
71,18 unequal: No Solution
Exploring Operation: 20*51=1020, Resulting Numbers: [1020]
1020,18 unequal: No Solution
Exploring Operation: 51-20=31, Resulting Numbers: [31]
31,18 unequal: No Solution
Moving to Node #0,1,0
Current State: 18:[20, 51], Operations: ['85-13=72', '72-21=51']
Exploring Operation: 20*51=1020, Resulting Numbers: [1020]
1020,18 unequal: No Solution
Exploring Operation: 20+51=71, Resulting Numbers: [71]
71,18 unequal: No Solution
Exploring Operation: 51-20=31, Resulting Numbers: [31]
31,18 unequal: No Solution
Moving to Node #0,1,1
Current State: 18:[21, 52], Operations: ['85-13=72', '72-20=52']
Exploring Operation: 52-21=31, Resulting Numbers: [31]
31,18 unequal: No Solution
Exploring Operation: 21+52=73, Resulting Numbers: [73]
73,18 unequal: No Solution
Exploring Operation: 21*52=1092, Resulting Numbers: [1092]
1092,18 unequal: No Solution
Moving to Node #0,4,1
Current State: 18:[21, 52], Operations: ['85-20=65', '65-13=52']
Exploring Operation: 21*52=1092, Resulting Numbers: [1092]
1092,18 unequal: No Solution
Exploring Operation: 52-21=31, Resulting Numbers: [31]
31,18 unequal: No Solution
Exploring Operation: 21+52=73, Resulting Numbers: [73]
73,18 unequal: No Solution
Moving to Node #0,3,0
Current State: 18:[64, 7], Operations: ['85-21=64', '20-13=7']
Exploring Operation: 64+7=71, Resulting Numbers: [71]
71,18 unequal: No Solution
Exploring Operation: 64*7=448, Resulting Numbers: [448]
448,18 unequal: No Solution
Exploring Operation: 64-7=57, Resulting Numbers: [57]
57,18 unequal: No Solution
Moving to Node #0,2,2
Current State: 18:[7, 64], Operations: ['20-13=7', '85-21=64']
Exploring Operation: 7*64=448, Resulting Numbers: [448]
448,18 unequal: No Solution
Exploring Operation: 64-7=57, Resulting Numbers: [57]
57,18 unequal: No Solution
Exploring Operation: 7+64=71, Resulting Numbers: [71]
71,18 unequal: No Solution
Moving to Node #0,4,3
Current State: 18:[65, 8], Operations: ['85-20=65', '21-13=8']
Exploring Operation: 65+8=73, Resulting Numbers: [73]
73,18 unequal: No Solution
Exploring Operation: 65-8=57, Resulting Numbers: [57]
57,18 unequal: No Solution
Exploring Operation: 65*8=520, Resulting Numbers: [520]
520,18 unequal: No Solution
Moving to Node #0,1,4
Current State: 18:[72, 1], Operations: ['85-13=72', '21-20=1']
Exploring Operation: 72+1=73, Resulting Numbers: [73]
73,18 unequal: No Solution
Exploring Operation: 72*1=72, Resulting Numbers: [72]
72,18 unequal: No Solution
Exploring Operation: 72/1=72, Resulting Numbers: [72]
72,18 unequal: No Solution
Exploring Operation: 72-1=71, Resulting Numbers: [71]
71,18 unequal: No Solution
Moving to Node #0,3,4
Current State: 18:[64, 33], Operations: ['85-21=64', '13+20=33']
Exploring Operation: 64-33=31, Resulting Numbers: [31]
31,18 unequal: No Solution
Exploring Operation: 64*33=2112, Resulting Numbers: [2112]
2112,18 unequal: No Solution
Exploring Operation: 64+33=97, Resulting Numbers: [97]
97,18 unequal: No Solution
Moving to Node #0,3,1
Current State: 18:[20, 77], Operations: ['85-21=64', '13+64=77']
Exploring Operation: 77-20=57, Resulting Numbers: [57]
57,18 unequal: No Solution
Exploring Operation: 20+77=97, Resulting Numbers: [97]
97,18 unequal: No Solution
Exploring Operation: 20*77=1540, Resulting Numbers: [1540]
1540,18 unequal: No Solution
Moving to Node #0,2,1
Current State: 18:[21, 78], Operations: ['20-13=7', '85-7=78']
Exploring Operation: 78-21=57, Resulting Numbers: [57]
57,18 unequal: No Solution
Exploring Operation: 21*78=1638, Resulting Numbers: [1638]
1638,18 unequal: No Solution
Exploring Operation: 21+78=99, Resulting Numbers: [99]
99,18 unequal: No Solution
Moving to Node #0,4,4
Current State: 18:[65, 34], Operations: ['85-20=65', '21+13=34']
Exploring Operation: 65-34=31, Resulting Numbers: [31]
31,18 unequal: No Solution
Exploring Operation: 65*34=2210, Resulting Numbers: [2210]
2210,18 unequal: No Solution
Exploring Operation: 65+34=99, Resulting Numbers: [99]
99,18 unequal: No Solution
Moving to Node #0,2,4
Current State: 18:[85, 3], Operations: ['20-13=7', '21/7=3']
Exploring Operation: 85*3=255, Resulting Numbers: [255]
255,18 unequal: No Solution
Exploring Operation: 85-3=82, Resulting Numbers: [82]
82,18 unequal: No Solution
Exploring Operation: 85+3=88, Resulting Numbers: [88]
88,18 unequal: No Solution
Moving to Node #0,2,0
Current State: 18:[85, 14], Operations: ['20-13=7', '21-7=14']
Exploring Operation: 85-14=71, Resulting Numbers: [71]
71,18 unequal: No Solution
Exploring Operation: 85*14=1190, Resulting Numbers: [1190]
1190,18 unequal: No Solution
Exploring Operation: 85+14=99, Resulting Numbers: [99]
99,18 unequal: No Solution
Moving to Node #0,1,2
Current State: 18:[20, 93], Operations: ['85-13=72', '21+72=93']
Exploring Operation: 20+93=113, Resulting Numbers: [113]
113,18 unequal: No Solution
Exploring Operation: 93-20=73, Resulting Numbers: [73]
73,18 unequal: No Solution
Exploring Operation: 20*93=1860, Resulting Numbers: [1860]
1860,18 unequal: No Solution
Moving to Node #0,1,3
Current State: 18:[72, 41], Operations: ['85-13=72', '21+20=41']
Exploring Operation: 72*41=2952, Resulting Numbers: [2952]
2952,18 unequal: No Solution
Exploring Operation: 72-41=31, Resulting Numbers: [31]
31,18 unequal: No Solution
Exploring Operation: 72+41=113, Resulting Numbers: [113]
113,18 unequal: No Solution
Moving to Node #0,2,3
Current State: 18:[85, 28], Operations: ['20-13=7', '21+7=28']
Exploring Operation: 85+28=113, Resulting Numbers: [113]
113,18 unequal: No Solution
Exploring Operation: 85-28=57, Resulting Numbers: [57]
57,18 unequal: No Solution
Exploring Operation: 85*28=2380, Resulting Numbers: [2380]
2380,18 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
62,
77,
13,
70
] | 98 | [
"77-62=15",
"13+70=83",
"15+83=98"
] | Current State: 98:[62, 77, 13, 70], Operations: []
Exploring Operation: 77-62=15, Resulting Numbers: [13, 70, 15]
Generated Node #2: [13, 70, 15] from Operation: 77-62=15
Current State: 98:[13, 70, 15], Operations: ['77-62=15']
Exploring Operation: 13+70=83, Resulting Numbers: [15, 83]
Generated Node #3: [15, 83] from Operation: 13+70=83
Current State: 98:[15, 83], Operations: ['77-62=15', '13+70=83']
Exploring Operation: 15+83=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[62, 77, 13, 70], Operations: []
Exploring Operation: 77-70=7, Resulting Numbers: [62, 13, 7]
Generated Node #0,0: 98:[62, 13, 7] Operation: 77-70=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[62, 13, 7], Operations: ['77-70=7']
Exploring Operation: 62-13=49, Resulting Numbers: [7, 49]
Generated Node #0,0,0: 98:[7, 49] Operation: 62-13=49
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 98:[7, 49], Operations: ['77-70=7', '62-13=49']
Exploring Operation: 49/7=7, Resulting Numbers: [7]
7,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
63,
88,
21,
74
] | 13 | [
"74-63=11",
"88/11=8",
"21-8=13"
] | Current State: 13:[63, 88, 21, 74], Operations: []
Exploring Operation: 74-63=11, Resulting Numbers: [88, 21, 11]
Generated Node #2: [88, 21, 11] from Operation: 74-63=11
Current State: 13:[88, 21, 11], Operations: ['74-63=11']
Exploring Operation: 88/11=8, Resulting Numbers: [21, 8]
Generated Node #3: [21, 8] from Operation: 88/11=8
Current State: 13:[21, 8], Operations: ['74-63=11', '88/11=8']
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[63, 88, 21, 74], Operations: []
Exploring Operation: 88-74=14, Resulting Numbers: [63, 21, 14]
Generated Node #0,0: 13:[63, 21, 14] Operation: 88-74=14
Exploring Operation: 63-21=42, Resulting Numbers: [88, 74, 42]
Generated Node #0,1: 13:[88, 74, 42] Operation: 63-21=42
Exploring Operation: 88-63=25, Resulting Numbers: [21, 74, 25]
Generated Node #0,2: 13:[21, 74, 25] Operation: 88-63=25
Exploring Operation: 74-63=11, Resulting Numbers: [88, 21, 11]
Generated Node #0,3: 13:[88, 21, 11] Operation: 74-63=11
Exploring Operation: 63/21=3, Resulting Numbers: [88, 74, 3]
Generated Node #0,4: 13:[88, 74, 3] Operation: 63/21=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[63, 21, 14], Operations: ['88-74=14']
Exploring Operation: 63+21=84, Resulting Numbers: [14, 84]
Generated Node #0,0,0: 13:[14, 84] Operation: 63+21=84
Exploring Operation: 63-14=49, Resulting Numbers: [21, 49]
Generated Node #0,0,1: 13:[21, 49] Operation: 63-14=49
Exploring Operation: 63-21=42, Resulting Numbers: [14, 42]
Generated Node #0,0,2: 13:[14, 42] Operation: 63-21=42
Exploring Operation: 63/21=3, Resulting Numbers: [14, 3]
Generated Node #0,0,3: 13:[14, 3] Operation: 63/21=3
Exploring Operation: 21-14=7, Resulting Numbers: [63, 7]
Generated Node #0,0,4: 13:[63, 7] Operation: 21-14=7
Moving to Node #0,0,3
Current State: 13:[14, 3], Operations: ['88-74=14', '63/21=3']
Exploring Operation: 14+3=17, Resulting Numbers: [17]
17,13 unequal: No Solution
Exploring Operation: 14*3=42, Resulting Numbers: [42]
42,13 unequal: No Solution
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,13 unequal: No Solution
Moving to Node #0,0,2
Current State: 13:[14, 42], Operations: ['88-74=14', '63-21=42']
Exploring Operation: 14*42=588, Resulting Numbers: [588]
588,13 unequal: No Solution
Exploring Operation: 42/14=3, Resulting Numbers: [3]
3,13 unequal: No Solution
Exploring Operation: 42-14=28, Resulting Numbers: [28]
28,13 unequal: No Solution
Exploring Operation: 14+42=56, Resulting Numbers: [56]
56,13 unequal: No Solution
Moving to Node #0,0,1
Current State: 13:[21, 49], Operations: ['88-74=14', '63-14=49']
Exploring Operation: 21*49=1029, Resulting Numbers: [1029]
1029,13 unequal: No Solution
Exploring Operation: 49-21=28, Resulting Numbers: [28]
28,13 unequal: No Solution
Exploring Operation: 21+49=70, Resulting Numbers: [70]
70,13 unequal: No Solution
Moving to Node #0,0,4
Current State: 13:[63, 7], Operations: ['88-74=14', '21-14=7']
Exploring Operation: 63+7=70, Resulting Numbers: [70]
70,13 unequal: No Solution
Exploring Operation: 63/7=9, Resulting Numbers: [9]
9,13 unequal: No Solution
Exploring Operation: 63-7=56, Resulting Numbers: [56]
56,13 unequal: No Solution
Exploring Operation: 63*7=441, Resulting Numbers: [441]
441,13 unequal: No Solution
Moving to Node #0,0,0
Current State: 13:[14, 84], Operations: ['88-74=14', '63+21=84']
Exploring Operation: 84/14=6, Resulting Numbers: [6]
6,13 unequal: No Solution
Exploring Operation: 14*84=1176, Resulting Numbers: [1176]
1176,13 unequal: No Solution
Exploring Operation: 84-14=70, Resulting Numbers: [70]
70,13 unequal: No Solution
Exploring Operation: 14+84=98, Resulting Numbers: [98]
98,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
Current State: 13:[21, 74, 25], Operations: ['88-63=25']
Exploring Operation: 21+74=95, Resulting Numbers: [25, 95]
Generated Node #0,2,0: 13:[25, 95] Operation: 21+74=95
Exploring Operation: 74-25=49, Resulting Numbers: [21, 49]
Generated Node #0,2,1: 13:[21, 49] Operation: 74-25=49
Exploring Operation: 25-21=4, Resulting Numbers: [74, 4]
Generated Node #0,2,2: 13:[74, 4] Operation: 25-21=4
Exploring Operation: 74-21=53, Resulting Numbers: [25, 53]
Generated Node #0,2,3: 13:[25, 53] Operation: 74-21=53
Exploring Operation: 21+25=46, Resulting Numbers: [74, 46]
Generated Node #0,2,4: 13:[74, 46] Operation: 21+25=46
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 13:[21, 49], Operations: ['88-63=25', '74-25=49']
Exploring Operation: 49-21=28, Resulting Numbers: [28]
28,13 unequal: No Solution
Exploring Operation: 21+49=70, Resulting Numbers: [70]
70,13 unequal: No Solution
Exploring Operation: 21*49=1029, Resulting Numbers: [1029]
1029,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 13:[25, 53], Operations: ['88-63=25', '74-21=53']
Exploring Operation: 25*53=1325, Resulting Numbers: [1325]
1325,13 unequal: No Solution
Exploring Operation: 53-25=28, Resulting Numbers: [28]
28,13 unequal: No Solution
Exploring Operation: 25+53=78, Resulting Numbers: [78]
78,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 13:[74, 4], Operations: ['88-63=25', '25-21=4']
Exploring Operation: 74-4=70, Resulting Numbers: [70]
70,13 unequal: No Solution
Exploring Operation: 74*4=296, Resulting Numbers: [296]
296,13 unequal: No Solution
Exploring Operation: 74+4=78, Resulting Numbers: [78]
78,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 13:[25, 95], Operations: ['88-63=25', '21+74=95']
Exploring Operation: 25+95=120, Resulting Numbers: [120]
120,13 unequal: No Solution
Exploring Operation: 25*95=2375, Resulting Numbers: [2375]
2375,13 unequal: No Solution
Exploring Operation: 95-25=70, Resulting Numbers: [70]
70,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 13:[74, 46], Operations: ['88-63=25', '21+25=46']
Exploring Operation: 74+46=120, Resulting Numbers: [120]
120,13 unequal: No Solution
Exploring Operation: 74-46=28, Resulting Numbers: [28]
28,13 unequal: No Solution
Exploring Operation: 74*46=3404, Resulting Numbers: [3404]
3404,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 13:[88, 21, 11], Operations: ['74-63=11']
Exploring Operation: 88-21=67, Resulting Numbers: [11, 67]
Generated Node #0,3,0: 13:[11, 67] Operation: 88-21=67
Exploring Operation: 88+11=99, Resulting Numbers: [21, 99]
Generated Node #0,3,1: 13:[21, 99] Operation: 88+11=99
Exploring Operation: 21-11=10, Resulting Numbers: [88, 10]
Generated Node #0,3,2: 13:[88, 10] Operation: 21-11=10
Exploring Operation: 88-11=77, Resulting Numbers: [21, 77]
Generated Node #0,3,3: 13:[21, 77] Operation: 88-11=77
Exploring Operation: 88/11=8, Resulting Numbers: [21, 8]
Generated Node #0,3,4: 13:[21, 8] Operation: 88/11=8
Moving to Node #0,3,4
Current State: 13:[21, 8], Operations: ['74-63=11', '88/11=8']
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[63, 88, 21, 74], Operations: []
Exploring Operation: 74-63=11, Resulting Numbers: [88, 21, 11]
Generated Node #0,3: 13:[88, 21, 11] Operation: 74-63=11
Moving to Node #0,3
Current State: 13:[88, 21, 11], Operations: ['74-63=11']
Exploring Operation: 88/11=8, Resulting Numbers: [21, 8]
Generated Node #0,3,4: 13:[21, 8] Operation: 88/11=8
Moving to Node #0,3,4
Current State: 13:[21, 8], Operations: ['74-63=11', '88/11=8']
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 1
| 0.949653 | hs_5 | mult_heuristic |
[
66,
10,
46,
32
] | 16 | [
"66-46=20",
"10*32=320",
"320/20=16"
] | Current State: 16:[66, 10, 46, 32], Operations: []
Exploring Operation: 66-46=20, Resulting Numbers: [10, 32, 20]
Generated Node #2: [10, 32, 20] from Operation: 66-46=20
Current State: 16:[10, 32, 20], Operations: ['66-46=20']
Exploring Operation: 10*32=320, Resulting Numbers: [20, 320]
Generated Node #3: [20, 320] from Operation: 10*32=320
Current State: 16:[20, 320], Operations: ['66-46=20', '10*32=320']
Exploring Operation: 320/20=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[66, 10, 46, 32], Operations: []
Exploring Operation: 66-46=20, Resulting Numbers: [10, 32, 20]
Generated Node #0,0: 16:[10, 32, 20] Operation: 66-46=20
Moving to Node #0,0
Current State: 16:[10, 32, 20], Operations: ['66-46=20']
Exploring Operation: 32-20=12, Resulting Numbers: [10, 12]
Generated Node #0,0,0: 16:[10, 12] Operation: 32-20=12
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 16:[10, 12], Operations: ['66-46=20', '32-20=12']
Exploring Operation: 12-10=2, Resulting Numbers: [2]
2,16 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 |
[
16,
94,
88,
11
] | 86 | [
"94-16=78",
"88/11=8",
"78+8=86"
] | Current State: 86:[16, 94, 88, 11], Operations: []
Exploring Operation: 94-16=78, Resulting Numbers: [88, 11, 78]
Generated Node #2: [88, 11, 78] from Operation: 94-16=78
Current State: 86:[88, 11, 78], Operations: ['94-16=78']
Exploring Operation: 88/11=8, Resulting Numbers: [78, 8]
Generated Node #3: [78, 8] from Operation: 88/11=8
Current State: 86:[78, 8], Operations: ['94-16=78', '88/11=8']
Exploring Operation: 78+8=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[16, 94, 88, 11], Operations: []
Exploring Operation: 16+11=27, Resulting Numbers: [94, 88, 27]
Generated Node #0,0: 86:[94, 88, 27] Operation: 16+11=27
Exploring Operation: 94-11=83, Resulting Numbers: [16, 88, 83]
Generated Node #0,1: 86:[16, 88, 83] Operation: 94-11=83
Exploring Operation: 94-88=6, Resulting Numbers: [16, 11, 6]
Generated Node #0,2: 86:[16, 11, 6] Operation: 94-88=6
Exploring Operation: 94-16=78, Resulting Numbers: [88, 11, 78]
Generated Node #0,3: 86:[88, 11, 78] Operation: 94-16=78
Exploring Operation: 16-11=5, Resulting Numbers: [94, 88, 5]
Generated Node #0,4: 86:[94, 88, 5] Operation: 16-11=5
Moving to Node #0,4
Current State: 86:[94, 88, 5], Operations: ['16-11=5']
Exploring Operation: 88-5=83, Resulting Numbers: [94, 83]
Generated Node #0,4,0: 86:[94, 83] Operation: 88-5=83
Exploring Operation: 94-88=6, Resulting Numbers: [5, 6]
Generated Node #0,4,1: 86:[5, 6] Operation: 94-88=6
Exploring Operation: 88+5=93, Resulting Numbers: [94, 93]
Generated Node #0,4,2: 86:[94, 93] Operation: 88+5=93
Exploring Operation: 94+5=99, Resulting Numbers: [88, 99]
Generated Node #0,4,3: 86:[88, 99] Operation: 94+5=99
Exploring Operation: 94-5=89, Resulting Numbers: [88, 89]
Generated Node #0,4,4: 86:[88, 89] Operation: 94-5=89
Moving to Node #0,3
Current State: 86:[88, 11, 78], Operations: ['94-16=78']
Exploring Operation: 88-78=10, Resulting Numbers: [11, 10]
Generated Node #0,3,0: 86:[11, 10] Operation: 88-78=10
Exploring Operation: 88-11=77, Resulting Numbers: [78, 77]
Generated Node #0,3,1: 86:[78, 77] Operation: 88-11=77
Exploring Operation: 88/11=8, Resulting Numbers: [78, 8]
Generated Node #0,3,2: 86:[78, 8] Operation: 88/11=8
Exploring Operation: 88+11=99, Resulting Numbers: [78, 99]
Generated Node #0,3,3: 86:[78, 99] Operation: 88+11=99
Exploring Operation: 11+78=89, Resulting Numbers: [88, 89]
Generated Node #0,3,4: 86:[88, 89] Operation: 11+78=89
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 86:[88, 89], Operations: ['94-16=78', '11+78=89']
Exploring Operation: 88*89=7832, Resulting Numbers: [7832]
7832,86 unequal: No Solution
Exploring Operation: 89-88=1, Resulting Numbers: [1]
1,86 unequal: No Solution
Exploring Operation: 88+89=177, Resulting Numbers: [177]
177,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,3,2
Current State: 86:[78, 8], Operations: ['94-16=78', '88/11=8']
Exploring Operation: 78+8=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[16, 94, 88, 11], Operations: []
Exploring Operation: 94-16=78, Resulting Numbers: [88, 11, 78]
Generated Node #0,3: 86:[88, 11, 78] Operation: 94-16=78
Moving to Node #0,3
Current State: 86:[88, 11, 78], Operations: ['94-16=78']
Exploring Operation: 88/11=8, Resulting Numbers: [78, 8]
Generated Node #0,3,2: 86:[78, 8] Operation: 88/11=8
Moving to Node #0,3,2
Current State: 86:[78, 8], Operations: ['94-16=78', '88/11=8']
Exploring Operation: 78+8=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_5 | sum_heuristic |
[
47,
33,
57,
44
] | 30 | [
"47-44=3",
"33+57=90",
"90/3=30"
] | Current State: 30:[47, 33, 57, 44], Operations: []
Exploring Operation: 47-44=3, Resulting Numbers: [33, 57, 3]
Generated Node #2: [33, 57, 3] from Operation: 47-44=3
Current State: 30:[33, 57, 3], Operations: ['47-44=3']
Exploring Operation: 33+57=90, Resulting Numbers: [3, 90]
Generated Node #3: [3, 90] from Operation: 33+57=90
Current State: 30:[3, 90], Operations: ['47-44=3', '33+57=90']
Exploring Operation: 90/3=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[47, 33, 57, 44], Operations: []
Exploring Operation: 57-44=13, Resulting Numbers: [47, 33, 13]
Generated Node #0,0: 30:[47, 33, 13] Operation: 57-44=13
Exploring Operation: 57-47=10, Resulting Numbers: [33, 44, 10]
Generated Node #0,1: 30:[33, 44, 10] Operation: 57-47=10
Start Sub Search at level 1: Moving to Node #0,1
Current State: 30:[33, 44, 10], Operations: ['57-47=10']
Exploring Operation: 44-33=11, Resulting Numbers: [10, 11]
Generated Node #0,1,0: 30:[10, 11] Operation: 44-33=11
Exploring Operation: 44-10=34, Resulting Numbers: [33, 34]
Generated Node #0,1,1: 30:[33, 34] Operation: 44-10=34
Moving to Node #0,1,0
Current State: 30:[10, 11], Operations: ['57-47=10', '44-33=11']
Exploring Operation: 10+11=21, Resulting Numbers: [21]
21,30 unequal: No Solution
Exploring Operation: 11-10=1, Resulting Numbers: [1]
1,30 unequal: No Solution
Moving to Node #0,1,1
Current State: 30:[33, 34], Operations: ['57-47=10', '44-10=34']
Exploring Operation: 34-33=1, Resulting Numbers: [1]
1,30 unequal: No Solution
Exploring Operation: 33+34=67, Resulting Numbers: [67]
67,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 30:[47, 33, 13], Operations: ['57-44=13']
Exploring Operation: 47-33=14, Resulting Numbers: [13, 14]
Generated Node #0,0,0: 30:[13, 14] Operation: 47-33=14
Exploring Operation: 47-13=34, Resulting Numbers: [33, 34]
Generated Node #0,0,1: 30:[33, 34] Operation: 47-13=34
Moving to Node #0,0,0
Current State: 30:[13, 14], Operations: ['57-44=13', '47-33=14']
Exploring Operation: 13+14=27, Resulting Numbers: [27]
27,30 unequal: No Solution
Exploring Operation: 14-13=1, Resulting Numbers: [1]
1,30 unequal: No Solution
Moving to Node #0,0,1
Current State: 30:[33, 34], Operations: ['57-44=13', '47-13=34']
Exploring Operation: 33+34=67, Resulting Numbers: [67]
67,30 unequal: No Solution
Exploring Operation: 34-33=1, Resulting Numbers: [1]
1,30 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 |
[
64,
45,
49,
98
] | 82 | [
"49-45=4",
"64/4=16",
"98-16=82"
] | Current State: 82:[64, 45, 49, 98], Operations: []
Exploring Operation: 49-45=4, Resulting Numbers: [64, 98, 4]
Generated Node #2: [64, 98, 4] from Operation: 49-45=4
Current State: 82:[64, 98, 4], Operations: ['49-45=4']
Exploring Operation: 64/4=16, Resulting Numbers: [98, 16]
Generated Node #3: [98, 16] from Operation: 64/4=16
Current State: 82:[98, 16], Operations: ['49-45=4', '64/4=16']
Exploring Operation: 98-16=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[64, 45, 49, 98], Operations: []
Exploring Operation: 98/49=2, Resulting Numbers: [64, 45, 2]
Generated Node #0,0: 82:[64, 45, 2] Operation: 98/49=2
Exploring Operation: 98-64=34, Resulting Numbers: [45, 49, 34]
Generated Node #0,1: 82:[45, 49, 34] Operation: 98-64=34
Start Sub Search at level 1: Moving to Node #0,1
Current State: 82:[45, 49, 34], Operations: ['98-64=34']
Exploring Operation: 49-45=4, Resulting Numbers: [34, 4]
Generated Node #0,1,0: 82:[34, 4] Operation: 49-45=4
Exploring Operation: 49+34=83, Resulting Numbers: [45, 83]
Generated Node #0,1,1: 82:[45, 83] Operation: 49+34=83
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 82:[45, 83], Operations: ['98-64=34', '49+34=83']
Exploring Operation: 45+83=128, Resulting Numbers: [128]
128,82 unequal: No Solution
Exploring Operation: 83-45=38, Resulting Numbers: [38]
38,82 unequal: No Solution
No 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: 82:[34, 4], Operations: ['98-64=34', '49-45=4']
Exploring Operation: 34+4=38, Resulting Numbers: [38]
38,82 unequal: No Solution
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[64, 45, 2], Operations: ['98/49=2']
Exploring Operation: 64-45=19, Resulting Numbers: [2, 19]
Generated Node #0,0,0: 82:[2, 19] Operation: 64-45=19
Exploring Operation: 64/2=32, Resulting Numbers: [45, 32]
Generated Node #0,0,1: 82:[45, 32] Operation: 64/2=32
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 82:[45, 32], Operations: ['98/49=2', '64/2=32']
Exploring Operation: 45+32=77, Resulting Numbers: [77]
77,82 unequal: No Solution
Exploring Operation: 45-32=13, Resulting Numbers: [13]
13,82 unequal: No Solution
No 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: 82:[2, 19], Operations: ['98/49=2', '64-45=19']
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,82 unequal: No Solution
Exploring Operation: 2*19=38, Resulting Numbers: [38]
38,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
9,
16,
4,
68
] | 57 | [
"16-9=7",
"68-4=64",
"64-7=57"
] | Current State: 57:[9, 16, 4, 68], Operations: []
Exploring Operation: 16-9=7, Resulting Numbers: [4, 68, 7]
Generated Node #2: [4, 68, 7] from Operation: 16-9=7
Current State: 57:[4, 68, 7], Operations: ['16-9=7']
Exploring Operation: 68-4=64, Resulting Numbers: [7, 64]
Generated Node #3: [7, 64] from Operation: 68-4=64
Current State: 57:[7, 64], Operations: ['16-9=7', '68-4=64']
Exploring Operation: 64-7=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[9, 16, 4, 68], Operations: []
Exploring Operation: 68-9=59, Resulting Numbers: [16, 4, 59]
Generated Node #0,0: 57:[16, 4, 59] Operation: 68-9=59
Exploring Operation: 68/4=17, Resulting Numbers: [9, 16, 17]
Generated Node #0,1: 57:[9, 16, 17] Operation: 68/4=17
Moving to Node #0,0
Current State: 57:[16, 4, 59], Operations: ['68-9=59']
Exploring Operation: 16+4=20, Resulting Numbers: [59, 20]
Generated Node #0,0,0: 57:[59, 20] Operation: 16+4=20
Exploring Operation: 16/4=4, Resulting Numbers: [59, 4]
Generated Node #0,0,1: 57:[59, 4] Operation: 16/4=4
Moving to Node #0,1
Current State: 57:[9, 16, 17], Operations: ['68/4=17']
Exploring Operation: 9+16=25, Resulting Numbers: [17, 25]
Generated Node #0,1,0: 57:[17, 25] Operation: 9+16=25
Exploring Operation: 16-9=7, Resulting Numbers: [17, 7]
Generated Node #0,1,1: 57:[17, 7] Operation: 16-9=7
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 57:[17, 7], Operations: ['68/4=17', '16-9=7']
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,57 unequal: No Solution
Exploring Operation: 17+7=24, Resulting Numbers: [24]
24,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:[17, 25], Operations: ['68/4=17', '9+16=25']
Exploring Operation: 17+25=42, Resulting Numbers: [42]
42,57 unequal: No Solution
Exploring Operation: 25-17=8, Resulting Numbers: [8]
8,57 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: 57:[59, 20], Operations: ['68-9=59', '16+4=20']
Exploring Operation: 59-20=39, Resulting Numbers: [39]
39,57 unequal: No Solution
Exploring Operation: 59+20=79, Resulting Numbers: [79]
79,57 unequal: No Solution
Moving to Node #0,0,1
Current State: 57:[59, 4], Operations: ['68-9=59', '16/4=4']
Exploring Operation: 59-4=55, Resulting Numbers: [55]
55,57 unequal: No Solution
Exploring Operation: 59+4=63, Resulting Numbers: [63]
63,57 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
5,
73,
8,
97
] | 72 | [
"8-5=3",
"97-73=24",
"3*24=72"
] | Current State: 72:[5, 73, 8, 97], Operations: []
Exploring Operation: 8-5=3, Resulting Numbers: [73, 97, 3]
Generated Node #2: [73, 97, 3] from Operation: 8-5=3
Current State: 72:[73, 97, 3], Operations: ['8-5=3']
Exploring Operation: 97-73=24, Resulting Numbers: [3, 24]
Generated Node #3: [3, 24] from Operation: 97-73=24
Current State: 72:[3, 24], Operations: ['8-5=3', '97-73=24']
Exploring Operation: 3*24=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[5, 73, 8, 97], Operations: []
Exploring Operation: 8-5=3, Resulting Numbers: [73, 97, 3]
Generated Node #0,0: 72:[73, 97, 3] Operation: 8-5=3
Exploring Operation: 97-73=24, Resulting Numbers: [5, 8, 24]
Generated Node #0,1: 72:[5, 8, 24] Operation: 97-73=24
Exploring Operation: 97-5=92, Resulting Numbers: [73, 8, 92]
Generated Node #0,2: 72:[73, 8, 92] Operation: 97-5=92
Exploring Operation: 97-8=89, Resulting Numbers: [5, 73, 89]
Generated Node #0,3: 72:[5, 73, 89] Operation: 97-8=89
Start Sub Search at level 1: Moving to Node #0,1
Current State: 72:[5, 8, 24], Operations: ['97-73=24']
Exploring Operation: 24-5=19, Resulting Numbers: [8, 19]
Generated Node #0,1,0: 72:[8, 19] Operation: 24-5=19
Exploring Operation: 5+8=13, Resulting Numbers: [24, 13]
Generated Node #0,1,1: 72:[24, 13] Operation: 5+8=13
Exploring Operation: 8-5=3, Resulting Numbers: [24, 3]
Generated Node #0,1,2: 72:[24, 3] Operation: 8-5=3
Exploring Operation: 24/8=3, Resulting Numbers: [5, 3]
Generated Node #0,1,3: 72:[5, 3] Operation: 24/8=3
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 72:[24, 3], Operations: ['97-73=24', '8-5=3']
Exploring Operation: 24*3=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[5, 73, 8, 97], Operations: []
Exploring Operation: 97-73=24, Resulting Numbers: [5, 8, 24]
Generated Node #0,1: 72:[5, 8, 24] Operation: 97-73=24
Moving to Node #0,1
Current State: 72:[5, 8, 24], Operations: ['97-73=24']
Exploring Operation: 8-5=3, Resulting Numbers: [24, 3]
Generated Node #0,1,2: 72:[24, 3] Operation: 8-5=3
Moving to Node #0,1,2
Current State: 72:[24, 3], Operations: ['97-73=24', '8-5=3']
Exploring Operation: 24*3=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
52,
47,
94,
4
] | 74 | [
"52-47=5",
"4*5=20",
"94-20=74"
] | Current State: 74:[52, 47, 94, 4], Operations: []
Exploring Operation: 52-47=5, Resulting Numbers: [94, 4, 5]
Generated Node #2: [94, 4, 5] from Operation: 52-47=5
Current State: 74:[94, 4, 5], Operations: ['52-47=5']
Exploring Operation: 4*5=20, Resulting Numbers: [94, 20]
Generated Node #3: [94, 20] from Operation: 4*5=20
Current State: 74:[94, 20], Operations: ['52-47=5', '4*5=20']
Exploring Operation: 94-20=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[52, 47, 94, 4], Operations: []
Exploring Operation: 94-52=42, Resulting Numbers: [47, 4, 42]
Generated Node #0,0: 74:[47, 4, 42] Operation: 94-52=42
Exploring Operation: 94/47=2, Resulting Numbers: [52, 4, 2]
Generated Node #0,1: 74:[52, 4, 2] Operation: 94/47=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[47, 4, 42], Operations: ['94-52=42']
Exploring Operation: 47-42=5, Resulting Numbers: [4, 5]
Generated Node #0,0,0: 74:[4, 5] Operation: 47-42=5
Exploring Operation: 47-4=43, Resulting Numbers: [42, 43]
Generated Node #0,0,1: 74:[42, 43] Operation: 47-4=43
Moving to Node #0,0,0
Current State: 74:[4, 5], Operations: ['94-52=42', '47-42=5']
Exploring Operation: 4+5=9, Resulting Numbers: [9]
9,74 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,74 unequal: No Solution
Moving to Node #0,0,1
Current State: 74:[42, 43], Operations: ['94-52=42', '47-4=43']
Exploring Operation: 42+43=85, Resulting Numbers: [85]
85,74 unequal: No Solution
Exploring Operation: 43-42=1, Resulting Numbers: [1]
1,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 74:[52, 4, 2], Operations: ['94/47=2']
Exploring Operation: 52/4=13, Resulting Numbers: [2, 13]
Generated Node #0,1,0: 74:[2, 13] Operation: 52/4=13
Exploring Operation: 52-4=48, Resulting Numbers: [2, 48]
Generated Node #0,1,1: 74:[2, 48] Operation: 52-4=48
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 74:[2, 13], Operations: ['94/47=2', '52/4=13']
Exploring Operation: 2*13=26, Resulting Numbers: [26]
26,74 unequal: No Solution
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 74:[2, 48], Operations: ['94/47=2', '52-4=48']
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,74 unequal: No Solution
Exploring Operation: 2+48=50, Resulting Numbers: [50]
50,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
46,
20,
38,
48
] | 35 | [
"46+38=84",
"20*84=1680",
"1680/48=35"
] | Current State: 35:[46, 20, 38, 48], Operations: []
Exploring Operation: 46+38=84, Resulting Numbers: [20, 48, 84]
Generated Node #2: [20, 48, 84] from Operation: 46+38=84
Current State: 35:[20, 48, 84], Operations: ['46+38=84']
Exploring Operation: 20*84=1680, Resulting Numbers: [48, 1680]
Generated Node #3: [48, 1680] from Operation: 20*84=1680
Current State: 35:[48, 1680], Operations: ['46+38=84', '20*84=1680']
Exploring Operation: 1680/48=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[46, 20, 38, 48], Operations: []
Exploring Operation: 48-46=2, Resulting Numbers: [20, 38, 2]
Generated Node #0,0: 35:[20, 38, 2] Operation: 48-46=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[20, 38, 2], Operations: ['48-46=2']
Exploring Operation: 20/2=10, Resulting Numbers: [38, 10]
Generated Node #0,0,0: 35:[38, 10] Operation: 20/2=10
Moving to Node #0,0,0
Current State: 35:[38, 10], Operations: ['48-46=2', '20/2=10']
Exploring Operation: 38-10=28, Resulting Numbers: [28]
28,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
14,
5,
89,
98
] | 92 | [
"89-5=84",
"84/14=6",
"98-6=92"
] | Current State: 92:[14, 5, 89, 98], Operations: []
Exploring Operation: 89-5=84, Resulting Numbers: [14, 98, 84]
Generated Node #2: [14, 98, 84] from Operation: 89-5=84
Current State: 92:[14, 98, 84], Operations: ['89-5=84']
Exploring Operation: 84/14=6, Resulting Numbers: [98, 6]
Generated Node #3: [98, 6] from Operation: 84/14=6
Current State: 92:[98, 6], Operations: ['89-5=84', '84/14=6']
Exploring Operation: 98-6=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[14, 5, 89, 98], Operations: []
Exploring Operation: 14+5=19, Resulting Numbers: [89, 98, 19]
Generated Node #0,0: 92:[89, 98, 19] Operation: 14+5=19
Exploring Operation: 98-14=84, Resulting Numbers: [5, 89, 84]
Generated Node #0,1: 92:[5, 89, 84] Operation: 98-14=84
Exploring Operation: 98/14=7, Resulting Numbers: [5, 89, 7]
Generated Node #0,2: 92:[5, 89, 7] Operation: 98/14=7
Moving to Node #0,2
Current State: 92:[5, 89, 7], Operations: ['98/14=7']
Exploring Operation: 5+89=94, Resulting Numbers: [7, 94]
Generated Node #0,2,0: 92:[7, 94] Operation: 5+89=94
Exploring Operation: 7-5=2, Resulting Numbers: [89, 2]
Generated Node #0,2,1: 92:[89, 2] Operation: 7-5=2
Exploring Operation: 89+7=96, Resulting Numbers: [5, 96]
Generated Node #0,2,2: 92:[5, 96] Operation: 89+7=96
Moving to Node #0,1
Current State: 92:[5, 89, 84], Operations: ['98-14=84']
Exploring Operation: 5+84=89, Resulting Numbers: [89, 89]
Generated Node #0,1,0: 92:[89, 89] Operation: 5+84=89
Exploring Operation: 89-84=5, Resulting Numbers: [5, 5]
Generated Node #0,1,1: 92:[5, 5] Operation: 89-84=5
Exploring Operation: 5+89=94, Resulting Numbers: [84, 94]
Generated Node #0,1,2: 92:[84, 94] Operation: 5+89=94
Moving to Node #0,0
Current State: 92:[89, 98, 19], Operations: ['14+5=19']
Exploring Operation: 98-89=9, Resulting Numbers: [19, 9]
Generated Node #0,0,0: 92:[19, 9] Operation: 98-89=9
Exploring Operation: 98-19=79, Resulting Numbers: [89, 79]
Generated Node #0,0,1: 92:[89, 79] Operation: 98-19=79
Exploring Operation: 89+19=108, Resulting Numbers: [98, 108]
Generated Node #0,0,2: 92:[98, 108] Operation: 89+19=108
Moving to Node #0,1,1
Current State: 92:[5, 5], Operations: ['98-14=84', '89-84=5']
Exploring Operation: 5-5=0, Resulting Numbers: [0]
0,92 unequal: No Solution
Exploring Operation: 5*5=25, Resulting Numbers: [25]
25,92 unequal: No Solution
Exploring Operation: 5/5=1, Resulting Numbers: [1]
1,92 unequal: No Solution
Moving to Node #0,2,1
Current State: 92:[89, 2], Operations: ['98/14=7', '7-5=2']
Exploring Operation: 89+2=91, Resulting Numbers: [91]
91,92 unequal: No Solution
Exploring Operation: 89*2=178, Resulting Numbers: [178]
178,92 unequal: No Solution
Exploring Operation: 89-2=87, Resulting Numbers: [87]
87,92 unequal: No Solution
Moving to Node #0,2,2
Current State: 92:[5, 96], Operations: ['98/14=7', '89+7=96']
Exploring Operation: 5+96=101, Resulting Numbers: [101]
101,92 unequal: No Solution
Exploring Operation: 5*96=480, Resulting Numbers: [480]
480,92 unequal: No Solution
Exploring Operation: 96-5=91, Resulting Numbers: [91]
91,92 unequal: No Solution
Moving to Node #0,2,0
Current State: 92:[7, 94], Operations: ['98/14=7', '5+89=94']
Exploring Operation: 7+94=101, Resulting Numbers: [101]
101,92 unequal: No Solution
Exploring Operation: 7*94=658, Resulting Numbers: [658]
658,92 unequal: No Solution
Exploring Operation: 94-7=87, Resulting Numbers: [87]
87,92 unequal: No Solution
Moving to Node #0,1,0
Current State: 92:[89, 89], Operations: ['98-14=84', '5+84=89']
Exploring Operation: 89-89=0, Resulting Numbers: [0]
0,92 unequal: No Solution
Exploring Operation: 89/89=1, Resulting Numbers: [1]
1,92 unequal: No Solution
Exploring Operation: 89+89=178, Resulting Numbers: [178]
178,92 unequal: No Solution
Moving to Node #0,0,0
Current State: 92:[19, 9], Operations: ['14+5=19', '98-89=9']
Exploring Operation: 19+9=28, Resulting Numbers: [28]
28,92 unequal: No Solution
Exploring Operation: 19*9=171, Resulting Numbers: [171]
171,92 unequal: No Solution
Exploring Operation: 19-9=10, Resulting Numbers: [10]
10,92 unequal: No Solution
Moving to Node #0,1,2
Current State: 92:[84, 94], Operations: ['98-14=84', '5+89=94']
Exploring Operation: 84*94=7896, Resulting Numbers: [7896]
7896,92 unequal: No Solution
Exploring Operation: 84+94=178, Resulting Numbers: [178]
178,92 unequal: No Solution
Exploring Operation: 94-84=10, Resulting Numbers: [10]
10,92 unequal: No Solution
Moving to Node #0,0,1
Current State: 92:[89, 79], Operations: ['14+5=19', '98-19=79']
Exploring Operation: 89-79=10, Resulting Numbers: [10]
10,92 unequal: No Solution
Exploring Operation: 89+79=168, Resulting Numbers: [168]
168,92 unequal: No Solution
Exploring Operation: 89*79=7031, Resulting Numbers: [7031]
7031,92 unequal: No Solution
Moving to Node #0,0,2
Current State: 92:[98, 108], Operations: ['14+5=19', '89+19=108']
Exploring Operation: 98*108=10584, Resulting Numbers: [10584]
10584,92 unequal: No Solution
Exploring Operation: 108-98=10, Resulting Numbers: [10]
10,92 unequal: No Solution
Exploring Operation: 98+108=206, Resulting Numbers: [206]
206,92 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
57,
76,
11,
13
] | 62 | [
"76-11=65",
"65/13=5",
"57+5=62"
] | Current State: 62:[57, 76, 11, 13], Operations: []
Exploring Operation: 76-11=65, Resulting Numbers: [57, 13, 65]
Generated Node #2: [57, 13, 65] from Operation: 76-11=65
Current State: 62:[57, 13, 65], Operations: ['76-11=65']
Exploring Operation: 65/13=5, Resulting Numbers: [57, 5]
Generated Node #3: [57, 5] from Operation: 65/13=5
Current State: 62:[57, 5], Operations: ['76-11=65', '65/13=5']
Exploring Operation: 57+5=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[57, 76, 11, 13], Operations: []
Exploring Operation: 11+13=24, Resulting Numbers: [57, 76, 24]
Generated Node #0,0: 62:[57, 76, 24] Operation: 11+13=24
Exploring Operation: 13-11=2, Resulting Numbers: [57, 76, 2]
Generated Node #0,1: 62:[57, 76, 2] Operation: 13-11=2
Exploring Operation: 76-13=63, Resulting Numbers: [57, 11, 63]
Generated Node #0,2: 62:[57, 11, 63] Operation: 76-13=63
Exploring Operation: 76-11=65, Resulting Numbers: [57, 13, 65]
Generated Node #0,3: 62:[57, 13, 65] Operation: 76-11=65
Moving to Node #0,2
Current State: 62:[57, 11, 63], Operations: ['76-13=63']
Exploring Operation: 63-11=52, Resulting Numbers: [57, 52]
Generated Node #0,2,0: 62:[57, 52] Operation: 63-11=52
Exploring Operation: 63-57=6, Resulting Numbers: [11, 6]
Generated Node #0,2,1: 62:[11, 6] Operation: 63-57=6
Exploring Operation: 57-11=46, Resulting Numbers: [63, 46]
Generated Node #0,2,2: 62:[63, 46] Operation: 57-11=46
Exploring Operation: 57+11=68, Resulting Numbers: [63, 68]
Generated Node #0,2,3: 62:[63, 68] Operation: 57+11=68
Moving to Node #0,3
Current State: 62:[57, 13, 65], Operations: ['76-11=65']
Exploring Operation: 57-13=44, Resulting Numbers: [65, 44]
Generated Node #0,3,0: 62:[65, 44] Operation: 57-13=44
Exploring Operation: 65-13=52, Resulting Numbers: [57, 52]
Generated Node #0,3,1: 62:[57, 52] Operation: 65-13=52
Exploring Operation: 57+13=70, Resulting Numbers: [65, 70]
Generated Node #0,3,2: 62:[65, 70] Operation: 57+13=70
Exploring Operation: 65/13=5, Resulting Numbers: [57, 5]
Generated Node #0,3,3: 62:[57, 5] Operation: 65/13=5
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 62:[57, 5], Operations: ['76-11=65', '65/13=5']
Exploring Operation: 57-5=52, Resulting Numbers: [52]
52,62 unequal: No Solution
Exploring Operation: 57+5=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[57, 76, 11, 13], Operations: []
Exploring Operation: 76-11=65, Resulting Numbers: [57, 13, 65]
Generated Node #0,3: 62:[57, 13, 65] Operation: 76-11=65
Moving to Node #0,3
Current State: 62:[57, 13, 65], Operations: ['76-11=65']
Exploring Operation: 65/13=5, Resulting Numbers: [57, 5]
Generated Node #0,3,3: 62:[57, 5] Operation: 65/13=5
Moving to Node #0,3,3
Current State: 62:[57, 5], Operations: ['76-11=65', '65/13=5']
Exploring Operation: 57+5=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_4 | mult_heuristic |
[
8,
44,
37,
51
] | 66 | [
"8+44=52",
"51-37=14",
"52+14=66"
] | Current State: 66:[8, 44, 37, 51], Operations: []
Exploring Operation: 8+44=52, Resulting Numbers: [37, 51, 52]
Generated Node #2: [37, 51, 52] from Operation: 8+44=52
Current State: 66:[37, 51, 52], Operations: ['8+44=52']
Exploring Operation: 51-37=14, Resulting Numbers: [52, 14]
Generated Node #3: [52, 14] from Operation: 51-37=14
Current State: 66:[52, 14], Operations: ['8+44=52', '51-37=14']
Exploring Operation: 52+14=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[8, 44, 37, 51], Operations: []
Exploring Operation: 44-37=7, Resulting Numbers: [8, 51, 7]
Generated Node #0,0: 66:[8, 51, 7] Operation: 44-37=7
Exploring Operation: 51-44=7, Resulting Numbers: [8, 37, 7]
Generated Node #0,1: 66:[8, 37, 7] Operation: 51-44=7
Exploring Operation: 51-37=14, Resulting Numbers: [8, 44, 14]
Generated Node #0,2: 66:[8, 44, 14] Operation: 51-37=14
Moving to Node #0,1
Current State: 66:[8, 37, 7], Operations: ['51-44=7']
Exploring Operation: 37-7=30, Resulting Numbers: [8, 30]
Generated Node #0,1,0: 66:[8, 30] Operation: 37-7=30
Exploring Operation: 37-8=29, Resulting Numbers: [7, 29]
Generated Node #0,1,1: 66:[7, 29] Operation: 37-8=29
Exploring Operation: 8-7=1, Resulting Numbers: [37, 1]
Generated Node #0,1,2: 66:[37, 1] Operation: 8-7=1
Moving to Node #0,2
Current State: 66:[8, 44, 14], Operations: ['51-37=14']
Exploring Operation: 44-14=30, Resulting Numbers: [8, 30]
Generated Node #0,2,0: 66:[8, 30] Operation: 44-14=30
Exploring Operation: 44+14=58, Resulting Numbers: [8, 58]
Generated Node #0,2,1: 66:[8, 58] Operation: 44+14=58
Exploring Operation: 44-8=36, Resulting Numbers: [14, 36]
Generated Node #0,2,2: 66:[14, 36] Operation: 44-8=36
Moving to Node #0,0
Current State: 66:[8, 51, 7], Operations: ['44-37=7']
Exploring Operation: 8+51=59, Resulting Numbers: [7, 59]
Generated Node #0,0,0: 66:[7, 59] Operation: 8+51=59
Exploring Operation: 51+7=58, Resulting Numbers: [8, 58]
Generated Node #0,0,1: 66:[8, 58] Operation: 51+7=58
Exploring Operation: 51-8=43, Resulting Numbers: [7, 43]
Generated Node #0,0,2: 66:[7, 43] Operation: 51-8=43
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 66:[7, 59], Operations: ['44-37=7', '8+51=59']
Exploring Operation: 59-7=52, Resulting Numbers: [52]
52,66 unequal: No Solution
Exploring Operation: 7*59=413, Resulting Numbers: [413]
413,66 unequal: No Solution
Exploring Operation: 7+59=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[8, 44, 37, 51], Operations: []
Exploring Operation: 44-37=7, Resulting Numbers: [8, 51, 7]
Generated Node #0,0: 66:[8, 51, 7] Operation: 44-37=7
Moving to Node #0,0
Current State: 66:[8, 51, 7], Operations: ['44-37=7']
Exploring Operation: 8+51=59, Resulting Numbers: [7, 59]
Generated Node #0,0,0: 66:[7, 59] Operation: 8+51=59
Moving to Node #0,0,0
Current State: 66:[7, 59], Operations: ['44-37=7', '8+51=59']
Exploring Operation: 7+59=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_3 | sum_heuristic |
[
9,
40,
68,
7
] | 91 | [
"9*7=63",
"68-40=28",
"63+28=91"
] | Current State: 91:[9, 40, 68, 7], Operations: []
Exploring Operation: 9*7=63, Resulting Numbers: [40, 68, 63]
Generated Node #2: [40, 68, 63] from Operation: 9*7=63
Current State: 91:[40, 68, 63], Operations: ['9*7=63']
Exploring Operation: 68-40=28, Resulting Numbers: [63, 28]
Generated Node #3: [63, 28] from Operation: 68-40=28
Current State: 91:[63, 28], Operations: ['9*7=63', '68-40=28']
Exploring Operation: 63+28=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[9, 40, 68, 7], Operations: []
Exploring Operation: 68-40=28, Resulting Numbers: [9, 7, 28]
Generated Node #0,0: 91:[9, 7, 28] Operation: 68-40=28
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[9, 7, 28], Operations: ['68-40=28']
Exploring Operation: 28/7=4, Resulting Numbers: [9, 4]
Generated Node #0,0,0: 91:[9, 4] Operation: 28/7=4
Moving to Node #0,0,0
Current State: 91:[9, 4], Operations: ['68-40=28', '28/7=4']
Exploring Operation: 9+4=13, Resulting Numbers: [13]
13,91 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 |
[
79,
57,
25,
74
] | 27 | [
"79-57=22",
"74-25=49",
"49-22=27"
] | Current State: 27:[79, 57, 25, 74], Operations: []
Exploring Operation: 79-57=22, Resulting Numbers: [25, 74, 22]
Generated Node #2: [25, 74, 22] from Operation: 79-57=22
Current State: 27:[25, 74, 22], Operations: ['79-57=22']
Exploring Operation: 74-25=49, Resulting Numbers: [22, 49]
Generated Node #3: [22, 49] from Operation: 74-25=49
Current State: 27:[22, 49], Operations: ['79-57=22', '74-25=49']
Exploring Operation: 49-22=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[79, 57, 25, 74], Operations: []
Exploring Operation: 79-57=22, Resulting Numbers: [25, 74, 22]
Generated Node #0,0: 27:[25, 74, 22] Operation: 79-57=22
Exploring Operation: 79-74=5, Resulting Numbers: [57, 25, 5]
Generated Node #0,1: 27:[57, 25, 5] Operation: 79-74=5
Moving to Node #0,1
Current State: 27:[57, 25, 5], Operations: ['79-74=5']
Exploring Operation: 57-5=52, Resulting Numbers: [25, 52]
Generated Node #0,1,0: 27:[25, 52] Operation: 57-5=52
Exploring Operation: 57-25=32, Resulting Numbers: [5, 32]
Generated Node #0,1,1: 27:[5, 32] Operation: 57-25=32
Moving to Node #0,0
Current State: 27:[25, 74, 22], Operations: ['79-57=22']
Exploring Operation: 74-25=49, Resulting Numbers: [22, 49]
Generated Node #0,0,0: 27:[22, 49] Operation: 74-25=49
Exploring Operation: 74-22=52, Resulting Numbers: [25, 52]
Generated Node #0,0,1: 27:[25, 52] Operation: 74-22=52
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 27:[22, 49], Operations: ['79-57=22', '74-25=49']
Exploring Operation: 49-22=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[79, 57, 25, 74], Operations: []
Exploring Operation: 79-57=22, Resulting Numbers: [25, 74, 22]
Generated Node #0,0: 27:[25, 74, 22] Operation: 79-57=22
Moving to Node #0,0
Current State: 27:[25, 74, 22], Operations: ['79-57=22']
Exploring Operation: 74-25=49, Resulting Numbers: [22, 49]
Generated Node #0,0,0: 27:[22, 49] Operation: 74-25=49
Moving to Node #0,0,0
Current State: 27:[22, 49], Operations: ['79-57=22', '74-25=49']
Exploring Operation: 49-22=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
5,
3,
8,
99
] | 61 | [
"3*99=297",
"8+297=305",
"305/5=61"
] | Current State: 61:[5, 3, 8, 99], Operations: []
Exploring Operation: 3*99=297, Resulting Numbers: [5, 8, 297]
Generated Node #2: [5, 8, 297] from Operation: 3*99=297
Current State: 61:[5, 8, 297], Operations: ['3*99=297']
Exploring Operation: 8+297=305, Resulting Numbers: [5, 305]
Generated Node #3: [5, 305] from Operation: 8+297=305
Current State: 61:[5, 305], Operations: ['3*99=297', '8+297=305']
Exploring Operation: 305/5=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[5, 3, 8, 99], Operations: []
Exploring Operation: 5*3=15, Resulting Numbers: [8, 99, 15]
Generated Node #0,0: 61:[8, 99, 15] Operation: 5*3=15
Exploring Operation: 5*8=40, Resulting Numbers: [3, 99, 40]
Generated Node #0,1: 61:[3, 99, 40] Operation: 5*8=40
Exploring Operation: 3*8=24, Resulting Numbers: [5, 99, 24]
Generated Node #0,2: 61:[5, 99, 24] Operation: 3*8=24
Exploring Operation: 99/3=33, Resulting Numbers: [5, 8, 33]
Generated Node #0,3: 61:[5, 8, 33] Operation: 99/3=33
Moving to Node #0,1
Current State: 61:[3, 99, 40], Operations: ['5*8=40']
Exploring Operation: 99-3=96, Resulting Numbers: [40, 96]
Generated Node #0,1,0: 61:[40, 96] Operation: 99-3=96
Exploring Operation: 99/3=33, Resulting Numbers: [40, 33]
Generated Node #0,1,1: 61:[40, 33] Operation: 99/3=33
Exploring Operation: 99-40=59, Resulting Numbers: [3, 59]
Generated Node #0,1,2: 61:[3, 59] Operation: 99-40=59
Exploring Operation: 3+40=43, Resulting Numbers: [99, 43]
Generated Node #0,1,3: 61:[99, 43] Operation: 3+40=43
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 61:[40, 33], Operations: ['5*8=40', '99/3=33']
Exploring Operation: 40-33=7, Resulting Numbers: [7]
7,61 unequal: No Solution
Exploring Operation: 40+33=73, Resulting Numbers: [73]
73,61 unequal: No Solution
Exploring Operation: 40*33=1320, Resulting Numbers: [1320]
1320,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 61:[40, 96], Operations: ['5*8=40', '99-3=96']
Exploring Operation: 96-40=56, Resulting Numbers: [56]
56,61 unequal: No Solution
Exploring Operation: 40+96=136, Resulting Numbers: [136]
136,61 unequal: No Solution
Exploring Operation: 40*96=3840, Resulting Numbers: [3840]
3840,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 61:[99, 43], Operations: ['5*8=40', '3+40=43']
Exploring Operation: 99-43=56, Resulting Numbers: [56]
56,61 unequal: No Solution
Exploring Operation: 99*43=4257, Resulting Numbers: [4257]
4257,61 unequal: No Solution
Exploring Operation: 99+43=142, Resulting Numbers: [142]
142,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 61:[3, 59], Operations: ['5*8=40', '99-40=59']
Exploring Operation: 3+59=62, Resulting Numbers: [62]
62,61 unequal: No Solution
Exploring Operation: 3*59=177, Resulting Numbers: [177]
177,61 unequal: No Solution
Exploring Operation: 59-3=56, Resulting Numbers: [56]
56,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 61:[5, 99, 24], Operations: ['3*8=24']
Exploring Operation: 5+99=104, Resulting Numbers: [24, 104]
Generated Node #0,2,0: 61:[24, 104] Operation: 5+99=104
Exploring Operation: 5+24=29, Resulting Numbers: [99, 29]
Generated Node #0,2,1: 61:[99, 29] Operation: 5+24=29
Exploring Operation: 99-24=75, Resulting Numbers: [5, 75]
Generated Node #0,2,2: 61:[5, 75] Operation: 99-24=75
Exploring Operation: 99-5=94, Resulting Numbers: [24, 94]
Generated Node #0,2,3: 61:[24, 94] Operation: 99-5=94
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 61:[99, 29], Operations: ['3*8=24', '5+24=29']
Exploring Operation: 99+29=128, Resulting Numbers: [128]
128,61 unequal: No Solution
Exploring Operation: 99-29=70, Resulting Numbers: [70]
70,61 unequal: No Solution
Exploring Operation: 99*29=2871, Resulting Numbers: [2871]
2871,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 61:[5, 75], Operations: ['3*8=24', '99-24=75']
Exploring Operation: 5+75=80, Resulting Numbers: [80]
80,61 unequal: No Solution
Exploring Operation: 75/5=15, Resulting Numbers: [15]
15,61 unequal: No Solution
Exploring Operation: 75-5=70, Resulting Numbers: [70]
70,61 unequal: No Solution
Exploring Operation: 5*75=375, Resulting Numbers: [375]
375,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 61:[24, 94], Operations: ['3*8=24', '99-5=94']
Exploring Operation: 24*94=2256, Resulting Numbers: [2256]
2256,61 unequal: No Solution
Exploring Operation: 24+94=118, Resulting Numbers: [118]
118,61 unequal: No Solution
Exploring Operation: 94-24=70, Resulting Numbers: [70]
70,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 61:[24, 104], Operations: ['3*8=24', '5+99=104']
Exploring Operation: 24*104=2496, Resulting Numbers: [2496]
2496,61 unequal: No Solution
Exploring Operation: 24+104=128, Resulting Numbers: [128]
128,61 unequal: No Solution
Exploring Operation: 104-24=80, Resulting Numbers: [80]
80,61 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: 61:[5, 8, 33], Operations: ['99/3=33']
Exploring Operation: 5+8=13, Resulting Numbers: [33, 13]
Generated Node #0,3,0: 61:[33, 13] Operation: 5+8=13
Exploring Operation: 5+33=38, Resulting Numbers: [8, 38]
Generated Node #0,3,1: 61:[8, 38] Operation: 5+33=38
Exploring Operation: 5*8=40, Resulting Numbers: [33, 40]
Generated Node #0,3,2: 61:[33, 40] Operation: 5*8=40
Exploring Operation: 8+33=41, Resulting Numbers: [5, 41]
Generated Node #0,3,3: 61:[5, 41] Operation: 8+33=41
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 61:[33, 40], Operations: ['99/3=33', '5*8=40']
Exploring Operation: 33+40=73, Resulting Numbers: [73]
73,61 unequal: No Solution
Exploring Operation: 40-33=7, Resulting Numbers: [7]
7,61 unequal: No Solution
Exploring Operation: 33*40=1320, Resulting Numbers: [1320]
1320,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 61:[33, 13], Operations: ['99/3=33', '5+8=13']
Exploring Operation: 33*13=429, Resulting Numbers: [429]
429,61 unequal: No Solution
Exploring Operation: 33+13=46, Resulting Numbers: [46]
46,61 unequal: No Solution
Exploring Operation: 33-13=20, Resulting Numbers: [20]
20,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 61:[8, 38], Operations: ['99/3=33', '5+33=38']
Exploring Operation: 38-8=30, Resulting Numbers: [30]
30,61 unequal: No Solution
Exploring Operation: 8*38=304, Resulting Numbers: [304]
304,61 unequal: No Solution
Exploring Operation: 8+38=46, Resulting Numbers: [46]
46,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 61:[5, 41], Operations: ['99/3=33', '8+33=41']
Exploring Operation: 5+41=46, Resulting Numbers: [46]
46,61 unequal: No Solution
Exploring Operation: 41-5=36, Resulting Numbers: [36]
36,61 unequal: No Solution
Exploring Operation: 5*41=205, Resulting Numbers: [205]
205,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 61:[8, 99, 15], Operations: ['5*3=15']
Exploring Operation: 99-8=91, Resulting Numbers: [15, 91]
Generated Node #0,0,0: 61:[15, 91] Operation: 99-8=91
Exploring Operation: 99-15=84, Resulting Numbers: [8, 84]
Generated Node #0,0,1: 61:[8, 84] Operation: 99-15=84
Exploring Operation: 8+99=107, Resulting Numbers: [15, 107]
Generated Node #0,0,2: 61:[15, 107] Operation: 8+99=107
Exploring Operation: 8+15=23, Resulting Numbers: [99, 23]
Generated Node #0,0,3: 61:[99, 23] Operation: 8+15=23
Moving to Node #0,0,0
Current State: 61:[15, 91], Operations: ['5*3=15', '99-8=91']
Exploring Operation: 91-15=76, Resulting Numbers: [76]
76,61 unequal: No Solution
Exploring Operation: 15*91=1365, Resulting Numbers: [1365]
1365,61 unequal: No Solution
Exploring Operation: 15+91=106, Resulting Numbers: [106]
106,61 unequal: No Solution
Moving to Node #0,0,3
Current State: 61:[99, 23], Operations: ['5*3=15', '8+15=23']
Exploring Operation: 99+23=122, Resulting Numbers: [122]
122,61 unequal: No Solution
Exploring Operation: 99*23=2277, Resulting Numbers: [2277]
2277,61 unequal: No Solution
Exploring Operation: 99-23=76, Resulting Numbers: [76]
76,61 unequal: No Solution
Moving to Node #0,0,1
Current State: 61:[8, 84], Operations: ['5*3=15', '99-15=84']
Exploring Operation: 84-8=76, Resulting Numbers: [76]
76,61 unequal: No Solution
Exploring Operation: 8+84=92, Resulting Numbers: [92]
92,61 unequal: No Solution
Exploring Operation: 8*84=672, Resulting Numbers: [672]
672,61 unequal: No Solution
Moving to Node #0,0,2
Current State: 61:[15, 107], Operations: ['5*3=15', '8+99=107']
Exploring Operation: 107-15=92, Resulting Numbers: [92]
92,61 unequal: No Solution
Exploring Operation: 15*107=1605, Resulting Numbers: [1605]
1605,61 unequal: No Solution
Exploring Operation: 15+107=122, Resulting Numbers: [122]
122,61 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
5,
75,
58,
63
] | 100 | [
"63-58=5",
"5*5=25",
"75+25=100"
] | Current State: 100:[5, 75, 58, 63], Operations: []
Exploring Operation: 63-58=5, Resulting Numbers: [5, 75, 5]
Generated Node #2: [5, 75, 5] from Operation: 63-58=5
Current State: 100:[5, 75, 5], Operations: ['63-58=5']
Exploring Operation: 5*5=25, Resulting Numbers: [75, 25]
Generated Node #3: [75, 25] from Operation: 5*5=25
Current State: 100:[75, 25], Operations: ['63-58=5', '5*5=25']
Exploring Operation: 75+25=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[5, 75, 58, 63], Operations: []
Exploring Operation: 75-63=12, Resulting Numbers: [5, 58, 12]
Generated Node #0,0: 100:[5, 58, 12] Operation: 75-63=12
Exploring Operation: 75-58=17, Resulting Numbers: [5, 63, 17]
Generated Node #0,1: 100:[5, 63, 17] Operation: 75-58=17
Moving to Node #0,0
Current State: 100:[5, 58, 12], Operations: ['75-63=12']
Exploring Operation: 58-12=46, Resulting Numbers: [5, 46]
Generated Node #0,0,0: 100:[5, 46] Operation: 58-12=46
Exploring Operation: 58-5=53, Resulting Numbers: [12, 53]
Generated Node #0,0,1: 100:[12, 53] Operation: 58-5=53
Moving to Node #0,1
Current State: 100:[5, 63, 17], Operations: ['75-58=17']
Exploring Operation: 63-17=46, Resulting Numbers: [5, 46]
Generated Node #0,1,0: 100:[5, 46] Operation: 63-17=46
Exploring Operation: 63-5=58, Resulting Numbers: [17, 58]
Generated Node #0,1,1: 100:[17, 58] Operation: 63-5=58
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 100:[5, 46], Operations: ['75-58=17', '63-17=46']
Exploring Operation: 5+46=51, Resulting Numbers: [51]
51,100 unequal: No Solution
Exploring Operation: 46-5=41, Resulting Numbers: [41]
41,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,1,1
Current State: 100:[17, 58], Operations: ['75-58=17', '63-5=58']
Exploring Operation: 58-17=41, Resulting Numbers: [41]
41,100 unequal: No Solution
Exploring Operation: 17+58=75, Resulting Numbers: [75]
75,100 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: 100:[5, 46], Operations: ['75-63=12', '58-12=46']
Exploring Operation: 46-5=41, Resulting Numbers: [41]
41,100 unequal: No Solution
Exploring Operation: 5+46=51, Resulting Numbers: [51]
51,100 unequal: No Solution
Moving to Node #0,0,1
Current State: 100:[12, 53], Operations: ['75-63=12', '58-5=53']
Exploring Operation: 12+53=65, Resulting Numbers: [65]
65,100 unequal: No Solution
Exploring Operation: 53-12=41, Resulting Numbers: [41]
41,100 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
37,
27,
99,
43
] | 78 | [
"37+27=64",
"99+43=142",
"142-64=78"
] | Current State: 78:[37, 27, 99, 43], Operations: []
Exploring Operation: 37+27=64, Resulting Numbers: [99, 43, 64]
Generated Node #2: [99, 43, 64] from Operation: 37+27=64
Current State: 78:[99, 43, 64], Operations: ['37+27=64']
Exploring Operation: 99+43=142, Resulting Numbers: [64, 142]
Generated Node #3: [64, 142] from Operation: 99+43=142
Current State: 78:[64, 142], Operations: ['37+27=64', '99+43=142']
Exploring Operation: 142-64=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[37, 27, 99, 43], Operations: []
Exploring Operation: 37+43=80, Resulting Numbers: [27, 99, 80]
Generated Node #0,0: 78:[27, 99, 80] Operation: 37+43=80
Exploring Operation: 99-43=56, Resulting Numbers: [37, 27, 56]
Generated Node #0,1: 78:[37, 27, 56] Operation: 99-43=56
Exploring Operation: 43-37=6, Resulting Numbers: [27, 99, 6]
Generated Node #0,2: 78:[27, 99, 6] Operation: 43-37=6
Exploring Operation: 99-37=62, Resulting Numbers: [27, 43, 62]
Generated Node #0,3: 78:[27, 43, 62] Operation: 99-37=62
Exploring Operation: 99-27=72, Resulting Numbers: [37, 43, 72]
Generated Node #0,4: 78:[37, 43, 72] Operation: 99-27=72
Moving to Node #0,4
Current State: 78:[37, 43, 72], Operations: ['99-27=72']
Exploring Operation: 37+43=80, Resulting Numbers: [72, 80]
Generated Node #0,4,0: 78:[72, 80] Operation: 37+43=80
Exploring Operation: 43-37=6, Resulting Numbers: [72, 6]
Generated Node #0,4,1: 78:[72, 6] Operation: 43-37=6
Exploring Operation: 72-43=29, Resulting Numbers: [37, 29]
Generated Node #0,4,2: 78:[37, 29] Operation: 72-43=29
Exploring Operation: 72-37=35, Resulting Numbers: [43, 35]
Generated Node #0,4,3: 78:[43, 35] Operation: 72-37=35
Exploring Operation: 37+72=109, Resulting Numbers: [43, 109]
Generated Node #0,4,4: 78:[43, 109] Operation: 37+72=109
Moving to Node #0,1
Current State: 78:[37, 27, 56], Operations: ['99-43=56']
Exploring Operation: 56-27=29, Resulting Numbers: [37, 29]
Generated Node #0,1,0: 78:[37, 29] Operation: 56-27=29
Exploring Operation: 37+56=93, Resulting Numbers: [27, 93]
Generated Node #0,1,1: 78:[27, 93] Operation: 37+56=93
Exploring Operation: 27+56=83, Resulting Numbers: [37, 83]
Generated Node #0,1,2: 78:[37, 83] Operation: 27+56=83
Exploring Operation: 37-27=10, Resulting Numbers: [56, 10]
Generated Node #0,1,3: 78:[56, 10] Operation: 37-27=10
Exploring Operation: 56-37=19, Resulting Numbers: [27, 19]
Generated Node #0,1,4: 78:[27, 19] Operation: 56-37=19
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 78:[37, 29], Operations: ['99-43=56', '56-27=29']
Exploring Operation: 37*29=1073, Resulting Numbers: [1073]
1073,78 unequal: No Solution
Exploring Operation: 37-29=8, Resulting Numbers: [8]
8,78 unequal: No Solution
Exploring Operation: 37+29=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,1,2
Current State: 78:[37, 83], Operations: ['99-43=56', '27+56=83']
Exploring Operation: 37+83=120, Resulting Numbers: [120]
120,78 unequal: No Solution
Exploring Operation: 37*83=3071, Resulting Numbers: [3071]
3071,78 unequal: No Solution
Exploring Operation: 83-37=46, Resulting Numbers: [46]
46,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 78:[27, 19], Operations: ['99-43=56', '56-37=19']
Exploring Operation: 27+19=46, Resulting Numbers: [46]
46,78 unequal: No Solution
Exploring Operation: 27-19=8, Resulting Numbers: [8]
8,78 unequal: No Solution
Exploring Operation: 27*19=513, Resulting Numbers: [513]
513,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 78:[27, 93], Operations: ['99-43=56', '37+56=93']
Exploring Operation: 27*93=2511, Resulting Numbers: [2511]
2511,78 unequal: No Solution
Exploring Operation: 27+93=120, Resulting Numbers: [120]
120,78 unequal: No Solution
Exploring Operation: 93-27=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,1,3
Current State: 78:[56, 10], Operations: ['99-43=56', '37-27=10']
Exploring Operation: 56+10=66, Resulting Numbers: [66]
66,78 unequal: No Solution
Exploring Operation: 56-10=46, Resulting Numbers: [46]
46,78 unequal: No Solution
Exploring Operation: 56*10=560, Resulting Numbers: [560]
560,78 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: 78:[27, 43, 62], Operations: ['99-37=62']
Exploring Operation: 62-43=19, Resulting Numbers: [27, 19]
Generated Node #0,3,0: 78:[27, 19] Operation: 62-43=19
Exploring Operation: 62-27=35, Resulting Numbers: [43, 35]
Generated Node #0,3,1: 78:[43, 35] Operation: 62-27=35
Exploring Operation: 27+62=89, Resulting Numbers: [43, 89]
Generated Node #0,3,2: 78:[43, 89] Operation: 27+62=89
Exploring Operation: 43-27=16, Resulting Numbers: [62, 16]
Generated Node #0,3,3: 78:[62, 16] Operation: 43-27=16
Exploring Operation: 27+43=70, Resulting Numbers: [62, 70]
Generated Node #0,3,4: 78:[62, 70] Operation: 27+43=70
Moving to Node #0,2
Current State: 78:[27, 99, 6], Operations: ['43-37=6']
Exploring Operation: 27+6=33, Resulting Numbers: [99, 33]
Generated Node #0,2,0: 78:[99, 33] Operation: 27+6=33
Exploring Operation: 99+6=105, Resulting Numbers: [27, 105]
Generated Node #0,2,1: 78:[27, 105] Operation: 99+6=105
Exploring Operation: 99-6=93, Resulting Numbers: [27, 93]
Generated Node #0,2,2: 78:[27, 93] Operation: 99-6=93
Exploring Operation: 27-6=21, Resulting Numbers: [99, 21]
Generated Node #0,2,3: 78:[99, 21] Operation: 27-6=21
Exploring Operation: 99-27=72, Resulting Numbers: [6, 72]
Generated Node #0,2,4: 78:[6, 72] Operation: 99-27=72
Moving to Node #0,0
Current State: 78:[27, 99, 80], Operations: ['37+43=80']
Exploring Operation: 99-80=19, Resulting Numbers: [27, 19]
Generated Node #0,0,0: 78:[27, 19] Operation: 99-80=19
Exploring Operation: 80-27=53, Resulting Numbers: [99, 53]
Generated Node #0,0,1: 78:[99, 53] Operation: 80-27=53
Exploring Operation: 27+99=126, Resulting Numbers: [80, 126]
Generated Node #0,0,2: 78:[80, 126] Operation: 27+99=126
Exploring Operation: 27+80=107, Resulting Numbers: [99, 107]
Generated Node #0,0,3: 78:[99, 107] Operation: 27+80=107
Exploring Operation: 99-27=72, Resulting Numbers: [80, 72]
Generated Node #0,0,4: 78:[80, 72] Operation: 99-27=72
Moving to Node #0,4,2
Current State: 78:[37, 29], Operations: ['99-27=72', '72-43=29']
Exploring Operation: 37*29=1073, Resulting Numbers: [1073]
1073,78 unequal: No Solution
Exploring Operation: 37-29=8, Resulting Numbers: [8]
8,78 unequal: No Solution
Exploring Operation: 37+29=66, Resulting Numbers: [66]
66,78 unequal: No Solution
Moving to Node #0,4,1
Current State: 78:[72, 6], Operations: ['99-27=72', '43-37=6']
Exploring Operation: 72+6=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[37, 27, 99, 43], Operations: []
Exploring Operation: 99-27=72, Resulting Numbers: [37, 43, 72]
Generated Node #0,4: 78:[37, 43, 72] Operation: 99-27=72
Moving to Node #0,4
Current State: 78:[37, 43, 72], Operations: ['99-27=72']
Exploring Operation: 43-37=6, Resulting Numbers: [72, 6]
Generated Node #0,4,1: 78:[72, 6] Operation: 43-37=6
Moving to Node #0,4,1
Current State: 78:[72, 6], Operations: ['99-27=72', '43-37=6']
Exploring Operation: 72+6=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 0.953993 | hs_5 | sum_heuristic |
[
97,
83,
18,
15
] | 30 | [
"97+83=180",
"180/15=12",
"18+12=30"
] | Current State: 30:[97, 83, 18, 15], Operations: []
Exploring Operation: 97+83=180, Resulting Numbers: [18, 15, 180]
Generated Node #2: [18, 15, 180] from Operation: 97+83=180
Current State: 30:[18, 15, 180], Operations: ['97+83=180']
Exploring Operation: 180/15=12, Resulting Numbers: [18, 12]
Generated Node #3: [18, 12] from Operation: 180/15=12
Current State: 30:[18, 12], Operations: ['97+83=180', '180/15=12']
Exploring Operation: 18+12=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[97, 83, 18, 15], Operations: []
Exploring Operation: 97-15=82, Resulting Numbers: [83, 18, 82]
Generated Node #0,0: 30:[83, 18, 82] Operation: 97-15=82
Exploring Operation: 83-18=65, Resulting Numbers: [97, 15, 65]
Generated Node #0,1: 30:[97, 15, 65] Operation: 83-18=65
Exploring Operation: 97-83=14, Resulting Numbers: [18, 15, 14]
Generated Node #0,2: 30:[18, 15, 14] Operation: 97-83=14
Exploring Operation: 97-18=79, Resulting Numbers: [83, 15, 79]
Generated Node #0,3: 30:[83, 15, 79] Operation: 97-18=79
Start Sub Search at level 1: Moving to Node #0,2
Current State: 30:[18, 15, 14], Operations: ['97-83=14']
Exploring Operation: 18-15=3, Resulting Numbers: [14, 3]
Generated Node #0,2,0: 30:[14, 3] Operation: 18-15=3
Exploring Operation: 18+15=33, Resulting Numbers: [14, 33]
Generated Node #0,2,1: 30:[14, 33] Operation: 18+15=33
Exploring Operation: 18-14=4, Resulting Numbers: [15, 4]
Generated Node #0,2,2: 30:[15, 4] Operation: 18-14=4
Exploring Operation: 18+14=32, Resulting Numbers: [15, 32]
Generated Node #0,2,3: 30:[15, 32] Operation: 18+14=32
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 30:[14, 3], Operations: ['97-83=14', '18-15=3']
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,30 unequal: No Solution
Exploring Operation: 14+3=17, Resulting Numbers: [17]
17,30 unequal: No Solution
Exploring Operation: 14*3=42, Resulting Numbers: [42]
42,30 unequal: No Solution
No 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: 30:[15, 4], Operations: ['97-83=14', '18-14=4']
Exploring Operation: 15*4=60, Resulting Numbers: [60]
60,30 unequal: No Solution
Exploring Operation: 15+4=19, Resulting Numbers: [19]
19,30 unequal: No Solution
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,30 unequal: No Solution
No 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: 30:[15, 32], Operations: ['97-83=14', '18+14=32']
Exploring Operation: 32-15=17, Resulting Numbers: [17]
17,30 unequal: No Solution
Exploring Operation: 15+32=47, Resulting Numbers: [47]
47,30 unequal: No Solution
Exploring Operation: 15*32=480, Resulting Numbers: [480]
480,30 unequal: No Solution
No 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: 30:[14, 33], Operations: ['97-83=14', '18+15=33']
Exploring Operation: 14*33=462, Resulting Numbers: [462]
462,30 unequal: No Solution
Exploring Operation: 14+33=47, Resulting Numbers: [47]
47,30 unequal: No Solution
Exploring Operation: 33-14=19, Resulting Numbers: [19]
19,30 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: 30:[97, 15, 65], Operations: ['83-18=65']
Exploring Operation: 97+15=112, Resulting Numbers: [65, 112]
Generated Node #0,1,0: 30:[65, 112] Operation: 97+15=112
Exploring Operation: 65-15=50, Resulting Numbers: [97, 50]
Generated Node #0,1,1: 30:[97, 50] Operation: 65-15=50
Exploring Operation: 97-65=32, Resulting Numbers: [15, 32]
Generated Node #0,1,2: 30:[15, 32] Operation: 97-65=32
Exploring Operation: 97-15=82, Resulting Numbers: [65, 82]
Generated Node #0,1,3: 30:[65, 82] Operation: 97-15=82
Moving to Node #0,1,2
Current State: 30:[15, 32], Operations: ['83-18=65', '97-65=32']
Exploring Operation: 32-15=17, Resulting Numbers: [17]
17,30 unequal: No Solution
Exploring Operation: 15+32=47, Resulting Numbers: [47]
47,30 unequal: No Solution
Exploring Operation: 15*32=480, Resulting Numbers: [480]
480,30 unequal: No Solution
Moving to Node #0,1,3
Current State: 30:[65, 82], Operations: ['83-18=65', '97-15=82']
Exploring Operation: 65*82=5330, Resulting Numbers: [5330]
5330,30 unequal: No Solution
Exploring Operation: 82-65=17, Resulting Numbers: [17]
17,30 unequal: No Solution
Exploring Operation: 65+82=147, Resulting Numbers: [147]
147,30 unequal: No Solution
Moving to Node #0,1,1
Current State: 30:[97, 50], Operations: ['83-18=65', '65-15=50']
Exploring Operation: 97-50=47, Resulting Numbers: [47]
47,30 unequal: No Solution
Exploring Operation: 97*50=4850, Resulting Numbers: [4850]
4850,30 unequal: No Solution
Exploring Operation: 97+50=147, Resulting Numbers: [147]
147,30 unequal: No Solution
Moving to Node #0,1,0
Current State: 30:[65, 112], Operations: ['83-18=65', '97+15=112']
Exploring Operation: 65+112=177, Resulting Numbers: [177]
177,30 unequal: No Solution
Exploring Operation: 112-65=47, Resulting Numbers: [47]
47,30 unequal: No Solution
Exploring Operation: 65*112=7280, Resulting Numbers: [7280]
7280,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 30:[83, 15, 79], Operations: ['97-18=79']
Exploring Operation: 79-15=64, Resulting Numbers: [83, 64]
Generated Node #0,3,0: 30:[83, 64] Operation: 79-15=64
Exploring Operation: 83+15=98, Resulting Numbers: [79, 98]
Generated Node #0,3,1: 30:[79, 98] Operation: 83+15=98
Exploring Operation: 83-79=4, Resulting Numbers: [15, 4]
Generated Node #0,3,2: 30:[15, 4] Operation: 83-79=4
Exploring Operation: 83-15=68, Resulting Numbers: [79, 68]
Generated Node #0,3,3: 30:[79, 68] Operation: 83-15=68
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 30:[15, 4], Operations: ['97-18=79', '83-79=4']
Exploring Operation: 15*4=60, Resulting Numbers: [60]
60,30 unequal: No Solution
Exploring Operation: 15+4=19, Resulting Numbers: [19]
19,30 unequal: No Solution
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,30 unequal: No Solution
No 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: 30:[83, 64], Operations: ['97-18=79', '79-15=64']
Exploring Operation: 83*64=5312, Resulting Numbers: [5312]
5312,30 unequal: No Solution
Exploring Operation: 83+64=147, Resulting Numbers: [147]
147,30 unequal: No Solution
Exploring Operation: 83-64=19, Resulting Numbers: [19]
19,30 unequal: No Solution
No 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: 30:[79, 68], Operations: ['97-18=79', '83-15=68']
Exploring Operation: 79*68=5372, Resulting Numbers: [5372]
5372,30 unequal: No Solution
Exploring Operation: 79+68=147, Resulting Numbers: [147]
147,30 unequal: No Solution
Exploring Operation: 79-68=11, Resulting Numbers: [11]
11,30 unequal: No Solution
No 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: 30:[79, 98], Operations: ['97-18=79', '83+15=98']
Exploring Operation: 98-79=19, Resulting Numbers: [19]
19,30 unequal: No Solution
Exploring Operation: 79*98=7742, Resulting Numbers: [7742]
7742,30 unequal: No Solution
Exploring Operation: 79+98=177, Resulting Numbers: [177]
177,30 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: 30:[83, 18, 82], Operations: ['97-15=82']
Exploring Operation: 83+18=101, Resulting Numbers: [82, 101]
Generated Node #0,0,0: 30:[82, 101] Operation: 83+18=101
Exploring Operation: 82-18=64, Resulting Numbers: [83, 64]
Generated Node #0,0,1: 30:[83, 64] Operation: 82-18=64
Exploring Operation: 83-82=1, Resulting Numbers: [18, 1]
Generated Node #0,0,2: 30:[18, 1] Operation: 83-82=1
Exploring Operation: 83-18=65, Resulting Numbers: [82, 65]
Generated Node #0,0,3: 30:[82, 65] Operation: 83-18=65
Moving to Node #0,0,2
Current State: 30:[18, 1], Operations: ['97-15=82', '83-82=1']
Exploring Operation: 18*1=18, Resulting Numbers: [18]
18,30 unequal: No Solution
Exploring Operation: 18+1=19, Resulting Numbers: [19]
19,30 unequal: No Solution
Exploring Operation: 18-1=17, Resulting Numbers: [17]
17,30 unequal: No Solution
Exploring Operation: 18/1=18, Resulting Numbers: [18]
18,30 unequal: No Solution
Moving to Node #0,0,3
Current State: 30:[82, 65], Operations: ['97-15=82', '83-18=65']
Exploring Operation: 82*65=5330, Resulting Numbers: [5330]
5330,30 unequal: No Solution
Exploring Operation: 82-65=17, Resulting Numbers: [17]
17,30 unequal: No Solution
Exploring Operation: 82+65=147, Resulting Numbers: [147]
147,30 unequal: No Solution
Moving to Node #0,0,1
Current State: 30:[83, 64], Operations: ['97-15=82', '82-18=64']
Exploring Operation: 83+64=147, Resulting Numbers: [147]
147,30 unequal: No Solution
Exploring Operation: 83-64=19, Resulting Numbers: [19]
19,30 unequal: No Solution
Exploring Operation: 83*64=5312, Resulting Numbers: [5312]
5312,30 unequal: No Solution
Moving to Node #0,0,0
Current State: 30:[82, 101], Operations: ['97-15=82', '83+18=101']
Exploring Operation: 82*101=8282, Resulting Numbers: [8282]
8282,30 unequal: No Solution
Exploring Operation: 82+101=183, Resulting Numbers: [183]
183,30 unequal: No Solution
Exploring Operation: 101-82=19, Resulting Numbers: [19]
19,30 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 |
[
14,
85,
98,
52
] | 25 | [
"85-14=71",
"98-52=46",
"71-46=25"
] | Current State: 25:[14, 85, 98, 52], Operations: []
Exploring Operation: 85-14=71, Resulting Numbers: [98, 52, 71]
Generated Node #2: [98, 52, 71] from Operation: 85-14=71
Current State: 25:[98, 52, 71], Operations: ['85-14=71']
Exploring Operation: 98-52=46, Resulting Numbers: [71, 46]
Generated Node #3: [71, 46] from Operation: 98-52=46
Current State: 25:[71, 46], Operations: ['85-14=71', '98-52=46']
Exploring Operation: 71-46=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[14, 85, 98, 52], Operations: []
Exploring Operation: 98-85=13, Resulting Numbers: [14, 52, 13]
Generated Node #0,0: 25:[14, 52, 13] Operation: 98-85=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[14, 52, 13], Operations: ['98-85=13']
Exploring Operation: 52/13=4, Resulting Numbers: [14, 4]
Generated Node #0,0,0: 25:[14, 4] Operation: 52/13=4
Moving to Node #0,0,0
Current State: 25:[14, 4], Operations: ['98-85=13', '52/13=4']
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
25,
9,
98,
88
] | 39 | [
"25*9=225",
"98+88=186",
"225-186=39"
] | Current State: 39:[25, 9, 98, 88], Operations: []
Exploring Operation: 25*9=225, Resulting Numbers: [98, 88, 225]
Generated Node #2: [98, 88, 225] from Operation: 25*9=225
Current State: 39:[98, 88, 225], Operations: ['25*9=225']
Exploring Operation: 98+88=186, Resulting Numbers: [225, 186]
Generated Node #3: [225, 186] from Operation: 98+88=186
Current State: 39:[225, 186], Operations: ['25*9=225', '98+88=186']
Exploring Operation: 225-186=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[25, 9, 98, 88], Operations: []
Exploring Operation: 98-25=73, Resulting Numbers: [9, 88, 73]
Generated Node #0,0: 39:[9, 88, 73] Operation: 98-25=73
Exploring Operation: 98-9=89, Resulting Numbers: [25, 88, 89]
Generated Node #0,1: 39:[25, 88, 89] Operation: 98-9=89
Exploring Operation: 25-9=16, Resulting Numbers: [98, 88, 16]
Generated Node #0,2: 39:[98, 88, 16] Operation: 25-9=16
Exploring Operation: 98-88=10, Resulting Numbers: [25, 9, 10]
Generated Node #0,3: 39:[25, 9, 10] Operation: 98-88=10
Exploring Operation: 88-25=63, Resulting Numbers: [9, 98, 63]
Generated Node #0,4: 39:[9, 98, 63] Operation: 88-25=63
Moving to Node #0,3
Current State: 39:[25, 9, 10], Operations: ['98-88=10']
Exploring Operation: 25-10=15, Resulting Numbers: [9, 15]
Generated Node #0,3,0: 39:[9, 15] Operation: 25-10=15
Exploring Operation: 10-9=1, Resulting Numbers: [25, 1]
Generated Node #0,3,1: 39:[25, 1] Operation: 10-9=1
Exploring Operation: 25-9=16, Resulting Numbers: [10, 16]
Generated Node #0,3,2: 39:[10, 16] Operation: 25-9=16
Exploring Operation: 25+10=35, Resulting Numbers: [9, 35]
Generated Node #0,3,3: 39:[9, 35] Operation: 25+10=35
Exploring Operation: 25+9=34, Resulting Numbers: [10, 34]
Generated Node #0,3,4: 39:[10, 34] Operation: 25+9=34
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 39:[9, 15], Operations: ['98-88=10', '25-10=15']
Exploring Operation: 9*15=135, Resulting Numbers: [135]
135,39 unequal: No Solution
Exploring Operation: 15-9=6, Resulting Numbers: [6]
6,39 unequal: No Solution
Exploring Operation: 9+15=24, Resulting Numbers: [24]
24,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 39:[10, 16], Operations: ['98-88=10', '25-9=16']
Exploring Operation: 10+16=26, Resulting Numbers: [26]
26,39 unequal: No Solution
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,39 unequal: No Solution
Exploring Operation: 10*16=160, Resulting Numbers: [160]
160,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 39:[9, 35], Operations: ['98-88=10', '25+10=35']
Exploring Operation: 9+35=44, Resulting Numbers: [44]
44,39 unequal: No Solution
Exploring Operation: 9*35=315, Resulting Numbers: [315]
315,39 unequal: No Solution
Exploring Operation: 35-9=26, Resulting Numbers: [26]
26,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 39:[10, 34], Operations: ['98-88=10', '25+9=34']
Exploring Operation: 10+34=44, Resulting Numbers: [44]
44,39 unequal: No Solution
Exploring Operation: 10*34=340, Resulting Numbers: [340]
340,39 unequal: No Solution
Exploring Operation: 34-10=24, Resulting Numbers: [24]
24,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 39:[25, 1], Operations: ['98-88=10', '10-9=1']
Exploring Operation: 25*1=25, Resulting Numbers: [25]
25,39 unequal: No Solution
Exploring Operation: 25/1=25, Resulting Numbers: [25]
25,39 unequal: No Solution
Exploring Operation: 25+1=26, Resulting Numbers: [26]
26,39 unequal: No Solution
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,39 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: 39:[9, 98, 63], Operations: ['88-25=63']
Exploring Operation: 98-9=89, Resulting Numbers: [63, 89]
Generated Node #0,4,0: 39:[63, 89] Operation: 98-9=89
Exploring Operation: 63-9=54, Resulting Numbers: [98, 54]
Generated Node #0,4,1: 39:[98, 54] Operation: 63-9=54
Exploring Operation: 9+98=107, Resulting Numbers: [63, 107]
Generated Node #0,4,2: 39:[63, 107] Operation: 9+98=107
Exploring Operation: 98-63=35, Resulting Numbers: [9, 35]
Generated Node #0,4,3: 39:[9, 35] Operation: 98-63=35
Exploring Operation: 63/9=7, Resulting Numbers: [98, 7]
Generated Node #0,4,4: 39:[98, 7] Operation: 63/9=7
Moving to Node #0,0
Current State: 39:[9, 88, 73], Operations: ['98-25=73']
Exploring Operation: 73-9=64, Resulting Numbers: [88, 64]
Generated Node #0,0,0: 39:[88, 64] Operation: 73-9=64
Exploring Operation: 9+73=82, Resulting Numbers: [88, 82]
Generated Node #0,0,1: 39:[88, 82] Operation: 9+73=82
Exploring Operation: 88-73=15, Resulting Numbers: [9, 15]
Generated Node #0,0,2: 39:[9, 15] Operation: 88-73=15
Exploring Operation: 9+88=97, Resulting Numbers: [73, 97]
Generated Node #0,0,3: 39:[73, 97] Operation: 9+88=97
Exploring Operation: 88-9=79, Resulting Numbers: [73, 79]
Generated Node #0,0,4: 39:[73, 79] Operation: 88-9=79
Moving to Node #0,1
Current State: 39:[25, 88, 89], Operations: ['98-9=89']
Exploring Operation: 25+89=114, Resulting Numbers: [88, 114]
Generated Node #0,1,0: 39:[88, 114] Operation: 25+89=114
Exploring Operation: 25+88=113, Resulting Numbers: [89, 113]
Generated Node #0,1,1: 39:[89, 113] Operation: 25+88=113
Exploring Operation: 89-25=64, Resulting Numbers: [88, 64]
Generated Node #0,1,2: 39:[88, 64] Operation: 89-25=64
Exploring Operation: 89-88=1, Resulting Numbers: [25, 1]
Generated Node #0,1,3: 39:[25, 1] Operation: 89-88=1
Exploring Operation: 88-25=63, Resulting Numbers: [89, 63]
Generated Node #0,1,4: 39:[89, 63] Operation: 88-25=63
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 39:[25, 1], Operations: ['98-9=89', '89-88=1']
Exploring Operation: 25+1=26, Resulting Numbers: [26]
26,39 unequal: No Solution
Exploring Operation: 25/1=25, Resulting Numbers: [25]
25,39 unequal: No Solution
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,39 unequal: No Solution
Exploring Operation: 25*1=25, Resulting Numbers: [25]
25,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 39:[88, 64], Operations: ['98-9=89', '89-25=64']
Exploring Operation: 88*64=5632, Resulting Numbers: [5632]
5632,39 unequal: No Solution
Exploring Operation: 88-64=24, Resulting Numbers: [24]
24,39 unequal: No Solution
Exploring Operation: 88+64=152, Resulting Numbers: [152]
152,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 39:[89, 63], Operations: ['98-9=89', '88-25=63']
Exploring Operation: 89*63=5607, Resulting Numbers: [5607]
5607,39 unequal: No Solution
Exploring Operation: 89+63=152, Resulting Numbers: [152]
152,39 unequal: No Solution
Exploring Operation: 89-63=26, Resulting Numbers: [26]
26,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 39:[88, 114], Operations: ['98-9=89', '25+89=114']
Exploring Operation: 88*114=10032, Resulting Numbers: [10032]
10032,39 unequal: No Solution
Exploring Operation: 88+114=202, Resulting Numbers: [202]
202,39 unequal: No Solution
Exploring Operation: 114-88=26, Resulting Numbers: [26]
26,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 39:[89, 113], Operations: ['98-9=89', '25+88=113']
Exploring Operation: 89+113=202, Resulting Numbers: [202]
202,39 unequal: No Solution
Exploring Operation: 89*113=10057, Resulting Numbers: [10057]
10057,39 unequal: No Solution
Exploring Operation: 113-89=24, Resulting Numbers: [24]
24,39 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: 39:[98, 88, 16], Operations: ['25-9=16']
Exploring Operation: 88-16=72, Resulting Numbers: [98, 72]
Generated Node #0,2,0: 39:[98, 72] Operation: 88-16=72
Exploring Operation: 88+16=104, Resulting Numbers: [98, 104]
Generated Node #0,2,1: 39:[98, 104] Operation: 88+16=104
Exploring Operation: 98+16=114, Resulting Numbers: [88, 114]
Generated Node #0,2,2: 39:[88, 114] Operation: 98+16=114
Exploring Operation: 98-88=10, Resulting Numbers: [16, 10]
Generated Node #0,2,3: 39:[16, 10] Operation: 98-88=10
Exploring Operation: 98-16=82, Resulting Numbers: [88, 82]
Generated Node #0,2,4: 39:[88, 82] Operation: 98-16=82
Moving to Node #0,0,2
Current State: 39:[9, 15], Operations: ['98-25=73', '88-73=15']
Exploring Operation: 9*15=135, Resulting Numbers: [135]
135,39 unequal: No Solution
Exploring Operation: 15-9=6, Resulting Numbers: [6]
6,39 unequal: No Solution
Exploring Operation: 9+15=24, Resulting Numbers: [24]
24,39 unequal: No Solution
Moving to Node #0,2,3
Current State: 39:[16, 10], Operations: ['25-9=16', '98-88=10']
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,39 unequal: No Solution
Exploring Operation: 16+10=26, Resulting Numbers: [26]
26,39 unequal: No Solution
Exploring Operation: 16*10=160, Resulting Numbers: [160]
160,39 unequal: No Solution
Moving to Node #0,4,3
Current State: 39:[9, 35], Operations: ['88-25=63', '98-63=35']
Exploring Operation: 9*35=315, Resulting Numbers: [315]
315,39 unequal: No Solution
Exploring Operation: 9+35=44, Resulting Numbers: [44]
44,39 unequal: No Solution
Exploring Operation: 35-9=26, Resulting Numbers: [26]
26,39 unequal: No Solution
Moving to Node #0,4,4
Current State: 39:[98, 7], Operations: ['88-25=63', '63/9=7']
Exploring Operation: 98-7=91, Resulting Numbers: [91]
91,39 unequal: No Solution
Exploring Operation: 98/7=14, Resulting Numbers: [14]
14,39 unequal: No Solution
Exploring Operation: 98+7=105, Resulting Numbers: [105]
105,39 unequal: No Solution
Exploring Operation: 98*7=686, Resulting Numbers: [686]
686,39 unequal: No Solution
Moving to Node #0,0,0
Current State: 39:[88, 64], Operations: ['98-25=73', '73-9=64']
Exploring Operation: 88+64=152, Resulting Numbers: [152]
152,39 unequal: No Solution
Exploring Operation: 88*64=5632, Resulting Numbers: [5632]
5632,39 unequal: No Solution
Exploring Operation: 88-64=24, Resulting Numbers: [24]
24,39 unequal: No Solution
Moving to Node #0,4,0
Current State: 39:[63, 89], Operations: ['88-25=63', '98-9=89']
Exploring Operation: 63+89=152, Resulting Numbers: [152]
152,39 unequal: No Solution
Exploring Operation: 63*89=5607, Resulting Numbers: [5607]
5607,39 unequal: No Solution
Exploring Operation: 89-63=26, Resulting Numbers: [26]
26,39 unequal: No Solution
Moving to Node #0,4,1
Current State: 39:[98, 54], Operations: ['88-25=63', '63-9=54']
Exploring Operation: 98-54=44, Resulting Numbers: [44]
44,39 unequal: No Solution
Exploring Operation: 98*54=5292, Resulting Numbers: [5292]
5292,39 unequal: No Solution
Exploring Operation: 98+54=152, Resulting Numbers: [152]
152,39 unequal: No Solution
Moving to Node #0,0,4
Current State: 39:[73, 79], Operations: ['98-25=73', '88-9=79']
Exploring Operation: 73*79=5767, Resulting Numbers: [5767]
5767,39 unequal: No Solution
Exploring Operation: 79-73=6, Resulting Numbers: [6]
6,39 unequal: No Solution
Exploring Operation: 73+79=152, Resulting Numbers: [152]
152,39 unequal: No Solution
Moving to Node #0,2,0
Current State: 39:[98, 72], Operations: ['25-9=16', '88-16=72']
Exploring Operation: 98*72=7056, Resulting Numbers: [7056]
7056,39 unequal: No Solution
Exploring Operation: 98-72=26, Resulting Numbers: [26]
26,39 unequal: No Solution
Exploring Operation: 98+72=170, Resulting Numbers: [170]
170,39 unequal: No Solution
Moving to Node #0,2,4
Current State: 39:[88, 82], Operations: ['25-9=16', '98-16=82']
Exploring Operation: 88-82=6, Resulting Numbers: [6]
6,39 unequal: No Solution
Exploring Operation: 88*82=7216, Resulting Numbers: [7216]
7216,39 unequal: No Solution
Exploring Operation: 88+82=170, Resulting Numbers: [170]
170,39 unequal: No Solution
Moving to Node #0,4,2
Current State: 39:[63, 107], Operations: ['88-25=63', '9+98=107']
Exploring Operation: 63+107=170, Resulting Numbers: [170]
170,39 unequal: No Solution
Exploring Operation: 107-63=44, Resulting Numbers: [44]
44,39 unequal: No Solution
Exploring Operation: 63*107=6741, Resulting Numbers: [6741]
6741,39 unequal: No Solution
Moving to Node #0,0,3
Current State: 39:[73, 97], Operations: ['98-25=73', '9+88=97']
Exploring Operation: 73+97=170, Resulting Numbers: [170]
170,39 unequal: No Solution
Exploring Operation: 73*97=7081, Resulting Numbers: [7081]
7081,39 unequal: No Solution
Exploring Operation: 97-73=24, Resulting Numbers: [24]
24,39 unequal: No Solution
Moving to Node #0,0,1
Current State: 39:[88, 82], Operations: ['98-25=73', '9+73=82']
Exploring Operation: 88-82=6, Resulting Numbers: [6]
6,39 unequal: No Solution
Exploring Operation: 88*82=7216, Resulting Numbers: [7216]
7216,39 unequal: No Solution
Exploring Operation: 88+82=170, Resulting Numbers: [170]
170,39 unequal: No Solution
Moving to Node #0,2,1
Current State: 39:[98, 104], Operations: ['25-9=16', '88+16=104']
Exploring Operation: 98+104=202, Resulting Numbers: [202]
202,39 unequal: No Solution
Exploring Operation: 104-98=6, Resulting Numbers: [6]
6,39 unequal: No Solution
Exploring Operation: 98*104=10192, Resulting Numbers: [10192]
10192,39 unequal: No Solution
Moving to Node #0,2,2
Current State: 39:[88, 114], Operations: ['25-9=16', '98+16=114']
Exploring Operation: 88+114=202, Resulting Numbers: [202]
202,39 unequal: No Solution
Exploring Operation: 114-88=26, Resulting Numbers: [26]
26,39 unequal: No Solution
Exploring Operation: 88*114=10032, Resulting Numbers: [10032]
10032,39 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
2,
39,
8,
50
] | 22 | [
"50/2=25",
"39+8=47",
"47-25=22"
] | Current State: 22:[2, 39, 8, 50], Operations: []
Exploring Operation: 50/2=25, Resulting Numbers: [39, 8, 25]
Generated Node #2: [39, 8, 25] from Operation: 50/2=25
Current State: 22:[39, 8, 25], Operations: ['50/2=25']
Exploring Operation: 39+8=47, Resulting Numbers: [25, 47]
Generated Node #3: [25, 47] from Operation: 39+8=47
Current State: 22:[25, 47], Operations: ['50/2=25', '39+8=47']
Exploring Operation: 47-25=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[2, 39, 8, 50], Operations: []
Exploring Operation: 50/2=25, Resulting Numbers: [39, 8, 25]
Generated Node #0,0: 22:[39, 8, 25] Operation: 50/2=25
Exploring Operation: 39-8=31, Resulting Numbers: [2, 50, 31]
Generated Node #0,1: 22:[2, 50, 31] Operation: 39-8=31
Exploring Operation: 50-39=11, Resulting Numbers: [2, 8, 11]
Generated Node #0,2: 22:[2, 8, 11] Operation: 50-39=11
Moving to Node #0,2
Current State: 22:[2, 8, 11], Operations: ['50-39=11']
Exploring Operation: 8/2=4, Resulting Numbers: [11, 4]
Generated Node #0,2,0: 22:[11, 4] Operation: 8/2=4
Exploring Operation: 11-8=3, Resulting Numbers: [2, 3]
Generated Node #0,2,1: 22:[2, 3] Operation: 11-8=3
Exploring Operation: 2+8=10, Resulting Numbers: [11, 10]
Generated Node #0,2,2: 22:[11, 10] Operation: 2+8=10
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 22:[2, 3], Operations: ['50-39=11', '11-8=3']
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,22 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,22 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 22:[11, 10], Operations: ['50-39=11', '2+8=10']
Exploring Operation: 11*10=110, Resulting Numbers: [110]
110,22 unequal: No Solution
Exploring Operation: 11-10=1, Resulting Numbers: [1]
1,22 unequal: No Solution
Exploring Operation: 11+10=21, Resulting Numbers: [21]
21,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 22:[11, 4], Operations: ['50-39=11', '8/2=4']
Exploring Operation: 11+4=15, Resulting Numbers: [15]
15,22 unequal: No Solution
Exploring Operation: 11*4=44, Resulting Numbers: [44]
44,22 unequal: No Solution
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,22 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: 22:[39, 8, 25], Operations: ['50/2=25']
Exploring Operation: 25-8=17, Resulting Numbers: [39, 17]
Generated Node #0,0,0: 22:[39, 17] Operation: 25-8=17
Exploring Operation: 39-8=31, Resulting Numbers: [25, 31]
Generated Node #0,0,1: 22:[25, 31] Operation: 39-8=31
Exploring Operation: 39-25=14, Resulting Numbers: [8, 14]
Generated Node #0,0,2: 22:[8, 14] Operation: 39-25=14
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 22:[8, 14], Operations: ['50/2=25', '39-25=14']
Exploring Operation: 8+14=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[2, 39, 8, 50], Operations: []
Exploring Operation: 50/2=25, Resulting Numbers: [39, 8, 25]
Generated Node #0,0: 22:[39, 8, 25] Operation: 50/2=25
Moving to Node #0,0
Current State: 22:[39, 8, 25], Operations: ['50/2=25']
Exploring Operation: 39-25=14, Resulting Numbers: [8, 14]
Generated Node #0,0,2: 22:[8, 14] Operation: 39-25=14
Moving to Node #0,0,2
Current State: 22:[8, 14], Operations: ['50/2=25', '39-25=14']
Exploring Operation: 8+14=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_3 | sum_heuristic |
[
54,
10,
69,
73
] | 98 | [
"54-10=44",
"69+73=142",
"142-44=98"
] | Current State: 98:[54, 10, 69, 73], Operations: []
Exploring Operation: 54-10=44, Resulting Numbers: [69, 73, 44]
Generated Node #2: [69, 73, 44] from Operation: 54-10=44
Current State: 98:[69, 73, 44], Operations: ['54-10=44']
Exploring Operation: 69+73=142, Resulting Numbers: [44, 142]
Generated Node #3: [44, 142] from Operation: 69+73=142
Current State: 98:[44, 142], Operations: ['54-10=44', '69+73=142']
Exploring Operation: 142-44=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[54, 10, 69, 73], Operations: []
Exploring Operation: 73-69=4, Resulting Numbers: [54, 10, 4]
Generated Node #0,0: 98:[54, 10, 4] Operation: 73-69=4
Exploring Operation: 73-54=19, Resulting Numbers: [10, 69, 19]
Generated Node #0,1: 98:[10, 69, 19] Operation: 73-54=19
Exploring Operation: 69-54=15, Resulting Numbers: [10, 73, 15]
Generated Node #0,2: 98:[10, 73, 15] Operation: 69-54=15
Moving to Node #0,0
Current State: 98:[54, 10, 4], Operations: ['73-69=4']
Exploring Operation: 10-4=6, Resulting Numbers: [54, 6]
Generated Node #0,0,0: 98:[54, 6] Operation: 10-4=6
Exploring Operation: 10+4=14, Resulting Numbers: [54, 14]
Generated Node #0,0,1: 98:[54, 14] Operation: 10+4=14
Exploring Operation: 54-4=50, Resulting Numbers: [10, 50]
Generated Node #0,0,2: 98:[10, 50] Operation: 54-4=50
Moving to Node #0,1
Current State: 98:[10, 69, 19], Operations: ['73-54=19']
Exploring Operation: 69-10=59, Resulting Numbers: [19, 59]
Generated Node #0,1,0: 98:[19, 59] Operation: 69-10=59
Exploring Operation: 69+19=88, Resulting Numbers: [10, 88]
Generated Node #0,1,1: 98:[10, 88] Operation: 69+19=88
Exploring Operation: 69-19=50, Resulting Numbers: [10, 50]
Generated Node #0,1,2: 98:[10, 50] Operation: 69-19=50
Moving to Node #0,2
Current State: 98:[10, 73, 15], Operations: ['69-54=15']
Exploring Operation: 73-10=63, Resulting Numbers: [15, 63]
Generated Node #0,2,0: 98:[15, 63] Operation: 73-10=63
Exploring Operation: 73+15=88, Resulting Numbers: [10, 88]
Generated Node #0,2,1: 98:[10, 88] Operation: 73+15=88
Exploring Operation: 73-15=58, Resulting Numbers: [10, 58]
Generated Node #0,2,2: 98:[10, 58] Operation: 73-15=58
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 98:[10, 58], Operations: ['69-54=15', '73-15=58']
Exploring Operation: 10*58=580, Resulting Numbers: [580]
580,98 unequal: No Solution
Exploring Operation: 58-10=48, Resulting Numbers: [48]
48,98 unequal: No Solution
Exploring Operation: 10+58=68, Resulting Numbers: [68]
68,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,2,1
Current State: 98:[10, 88], Operations: ['69-54=15', '73+15=88']
Exploring Operation: 88-10=78, Resulting Numbers: [78]
78,98 unequal: No Solution
Exploring Operation: 10*88=880, Resulting Numbers: [880]
880,98 unequal: No Solution
Exploring Operation: 10+88=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[54, 10, 69, 73], Operations: []
Exploring Operation: 69-54=15, Resulting Numbers: [10, 73, 15]
Generated Node #0,2: 98:[10, 73, 15] Operation: 69-54=15
Moving to Node #0,2
Current State: 98:[10, 73, 15], Operations: ['69-54=15']
Exploring Operation: 73+15=88, Resulting Numbers: [10, 88]
Generated Node #0,2,1: 98:[10, 88] Operation: 73+15=88
Moving to Node #0,2,1
Current State: 98:[10, 88], Operations: ['69-54=15', '73+15=88']
Exploring Operation: 10+88=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_3 | mult_heuristic |
[
49,
6,
18,
28
] | 74 | [
"49+28=77",
"18/6=3",
"77-3=74"
] | Current State: 74:[49, 6, 18, 28], Operations: []
Exploring Operation: 49+28=77, Resulting Numbers: [6, 18, 77]
Generated Node #2: [6, 18, 77] from Operation: 49+28=77
Current State: 74:[6, 18, 77], Operations: ['49+28=77']
Exploring Operation: 18/6=3, Resulting Numbers: [77, 3]
Generated Node #3: [77, 3] from Operation: 18/6=3
Current State: 74:[77, 3], Operations: ['49+28=77', '18/6=3']
Exploring Operation: 77-3=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[49, 6, 18, 28], Operations: []
Exploring Operation: 18/6=3, Resulting Numbers: [49, 28, 3]
Generated Node #0,0: 74:[49, 28, 3] Operation: 18/6=3
Exploring Operation: 49+18=67, Resulting Numbers: [6, 28, 67]
Generated Node #0,1: 74:[6, 28, 67] Operation: 49+18=67
Exploring Operation: 28-18=10, Resulting Numbers: [49, 6, 10]
Generated Node #0,2: 74:[49, 6, 10] Operation: 28-18=10
Exploring Operation: 49-18=31, Resulting Numbers: [6, 28, 31]
Generated Node #0,3: 74:[6, 28, 31] Operation: 49-18=31
Exploring Operation: 49+28=77, Resulting Numbers: [6, 18, 77]
Generated Node #0,4: 74:[6, 18, 77] Operation: 49+28=77
Start Sub Search at level 1: Moving to Node #0,3
Current State: 74:[6, 28, 31], Operations: ['49-18=31']
Exploring Operation: 28+31=59, Resulting Numbers: [6, 59]
Generated Node #0,3,0: 74:[6, 59] Operation: 28+31=59
Exploring Operation: 6+28=34, Resulting Numbers: [31, 34]
Generated Node #0,3,1: 74:[31, 34] Operation: 6+28=34
Exploring Operation: 31-28=3, Resulting Numbers: [6, 3]
Generated Node #0,3,2: 74:[6, 3] Operation: 31-28=3
Exploring Operation: 28-6=22, Resulting Numbers: [31, 22]
Generated Node #0,3,3: 74:[31, 22] Operation: 28-6=22
Exploring Operation: 6+31=37, Resulting Numbers: [28, 37]
Generated Node #0,3,4: 74:[28, 37] Operation: 6+31=37
Moving to Node #0,3,2
Current State: 74:[6, 3], Operations: ['49-18=31', '31-28=3']
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,74 unequal: No Solution
Exploring Operation: 6*3=18, Resulting Numbers: [18]
18,74 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,74 unequal: No Solution
Exploring Operation: 6+3=9, Resulting Numbers: [9]
9,74 unequal: No Solution
Moving to Node #0,3,4
Current State: 74:[28, 37], Operations: ['49-18=31', '6+31=37']
Exploring Operation: 37-28=9, Resulting Numbers: [9]
9,74 unequal: No Solution
Exploring Operation: 28+37=65, Resulting Numbers: [65]
65,74 unequal: No Solution
Exploring Operation: 28*37=1036, Resulting Numbers: [1036]
1036,74 unequal: No Solution
Moving to Node #0,3,1
Current State: 74:[31, 34], Operations: ['49-18=31', '6+28=34']
Exploring Operation: 31*34=1054, Resulting Numbers: [1054]
1054,74 unequal: No Solution
Exploring Operation: 31+34=65, Resulting Numbers: [65]
65,74 unequal: No Solution
Exploring Operation: 34-31=3, Resulting Numbers: [3]
3,74 unequal: No Solution
Moving to Node #0,3,0
Current State: 74:[6, 59], Operations: ['49-18=31', '28+31=59']
Exploring Operation: 59-6=53, Resulting Numbers: [53]
53,74 unequal: No Solution
Exploring Operation: 6+59=65, Resulting Numbers: [65]
65,74 unequal: No Solution
Exploring Operation: 6*59=354, Resulting Numbers: [354]
354,74 unequal: No Solution
Moving to Node #0,3,3
Current State: 74:[31, 22], Operations: ['49-18=31', '28-6=22']
Exploring Operation: 31+22=53, Resulting Numbers: [53]
53,74 unequal: No Solution
Exploring Operation: 31-22=9, Resulting Numbers: [9]
9,74 unequal: No Solution
Exploring Operation: 31*22=682, Resulting Numbers: [682]
682,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 74:[6, 28, 67], Operations: ['49+18=67']
Exploring Operation: 67-6=61, Resulting Numbers: [28, 61]
Generated Node #0,1,0: 74:[28, 61] Operation: 67-6=61
Exploring Operation: 6+67=73, Resulting Numbers: [28, 73]
Generated Node #0,1,1: 74:[28, 73] Operation: 6+67=73
Exploring Operation: 67-28=39, Resulting Numbers: [6, 39]
Generated Node #0,1,2: 74:[6, 39] Operation: 67-28=39
Exploring Operation: 28-6=22, Resulting Numbers: [67, 22]
Generated Node #0,1,3: 74:[67, 22] Operation: 28-6=22
Exploring Operation: 6+28=34, Resulting Numbers: [67, 34]
Generated Node #0,1,4: 74:[67, 34] Operation: 6+28=34
Moving to Node #0,1,2
Current State: 74:[6, 39], Operations: ['49+18=67', '67-28=39']
Exploring Operation: 39-6=33, Resulting Numbers: [33]
33,74 unequal: No Solution
Exploring Operation: 6+39=45, Resulting Numbers: [45]
45,74 unequal: No Solution
Exploring Operation: 6*39=234, Resulting Numbers: [234]
234,74 unequal: No Solution
Moving to Node #0,1,4
Current State: 74:[67, 34], Operations: ['49+18=67', '6+28=34']
Exploring Operation: 67-34=33, Resulting Numbers: [33]
33,74 unequal: No Solution
Exploring Operation: 67*34=2278, Resulting Numbers: [2278]
2278,74 unequal: No Solution
Exploring Operation: 67+34=101, Resulting Numbers: [101]
101,74 unequal: No Solution
Moving to Node #0,1,1
Current State: 74:[28, 73], Operations: ['49+18=67', '6+67=73']
Exploring Operation: 28*73=2044, Resulting Numbers: [2044]
2044,74 unequal: No Solution
Exploring Operation: 73-28=45, Resulting Numbers: [45]
45,74 unequal: No Solution
Exploring Operation: 28+73=101, Resulting Numbers: [101]
101,74 unequal: No Solution
Moving to Node #0,1,0
Current State: 74:[28, 61], Operations: ['49+18=67', '67-6=61']
Exploring Operation: 61-28=33, Resulting Numbers: [33]
33,74 unequal: No Solution
Exploring Operation: 28+61=89, Resulting Numbers: [89]
89,74 unequal: No Solution
Exploring Operation: 28*61=1708, Resulting Numbers: [1708]
1708,74 unequal: No Solution
Moving to Node #0,1,3
Current State: 74:[67, 22], Operations: ['49+18=67', '28-6=22']
Exploring Operation: 67*22=1474, Resulting Numbers: [1474]
1474,74 unequal: No Solution
Exploring Operation: 67+22=89, Resulting Numbers: [89]
89,74 unequal: No Solution
Exploring Operation: 67-22=45, Resulting Numbers: [45]
45,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[49, 28, 3], Operations: ['18/6=3']
Exploring Operation: 49+28=77, Resulting Numbers: [3, 77]
Generated Node #0,0,0: 74:[3, 77] Operation: 49+28=77
Exploring Operation: 49-3=46, Resulting Numbers: [28, 46]
Generated Node #0,0,1: 74:[28, 46] Operation: 49-3=46
Exploring Operation: 49-28=21, Resulting Numbers: [3, 21]
Generated Node #0,0,2: 74:[3, 21] Operation: 49-28=21
Exploring Operation: 28*3=84, Resulting Numbers: [49, 84]
Generated Node #0,0,3: 74:[49, 84] Operation: 28*3=84
Exploring Operation: 28+3=31, Resulting Numbers: [49, 31]
Generated Node #0,0,4: 74:[49, 31] Operation: 28+3=31
Moving to Node #0,0,0
Current State: 74:[3, 77], Operations: ['18/6=3', '49+28=77']
Exploring Operation: 3*77=231, Resulting Numbers: [231]
231,74 unequal: No Solution
Exploring Operation: 3+77=80, Resulting Numbers: [80]
80,74 unequal: No Solution
Exploring Operation: 77-3=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[49, 6, 18, 28], Operations: []
Exploring Operation: 18/6=3, Resulting Numbers: [49, 28, 3]
Generated Node #0,0: 74:[49, 28, 3] Operation: 18/6=3
Moving to Node #0,0
Current State: 74:[49, 28, 3], Operations: ['18/6=3']
Exploring Operation: 49+28=77, Resulting Numbers: [3, 77]
Generated Node #0,0,0: 74:[3, 77] Operation: 49+28=77
Moving to Node #0,0,0
Current State: 74:[3, 77], Operations: ['18/6=3', '49+28=77']
Exploring Operation: 77-3=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 1
| 0.949653 | hs_5 | mult_heuristic |
[
38,
78,
56,
11
] | 40 | [
"78-56=22",
"22/11=2",
"38+2=40"
] | Current State: 40:[38, 78, 56, 11], Operations: []
Exploring Operation: 78-56=22, Resulting Numbers: [38, 11, 22]
Generated Node #2: [38, 11, 22] from Operation: 78-56=22
Current State: 40:[38, 11, 22], Operations: ['78-56=22']
Exploring Operation: 22/11=2, Resulting Numbers: [38, 2]
Generated Node #3: [38, 2] from Operation: 22/11=2
Current State: 40:[38, 2], Operations: ['78-56=22', '22/11=2']
Exploring Operation: 38+2=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[38, 78, 56, 11], Operations: []
Exploring Operation: 78-56=22, Resulting Numbers: [38, 11, 22]
Generated Node #0,0: 40:[38, 11, 22] Operation: 78-56=22
Exploring Operation: 56-38=18, Resulting Numbers: [78, 11, 18]
Generated Node #0,1: 40:[78, 11, 18] Operation: 56-38=18
Exploring Operation: 78-38=40, Resulting Numbers: [56, 11, 40]
Generated Node #0,2: 40:[56, 11, 40] Operation: 78-38=40
Start Sub Search at level 1: Moving to Node #0,0
Current State: 40:[38, 11, 22], Operations: ['78-56=22']
Exploring Operation: 22-11=11, Resulting Numbers: [38, 11]
Generated Node #0,0,0: 40:[38, 11] Operation: 22-11=11
Exploring Operation: 22/11=2, Resulting Numbers: [38, 2]
Generated Node #0,0,1: 40:[38, 2] Operation: 22/11=2
Exploring Operation: 38-22=16, Resulting Numbers: [11, 16]
Generated Node #0,0,2: 40:[11, 16] Operation: 38-22=16
Moving to Node #0,0,1
Current State: 40:[38, 2], Operations: ['78-56=22', '22/11=2']
Exploring Operation: 38+2=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[38, 78, 56, 11], Operations: []
Exploring Operation: 78-56=22, Resulting Numbers: [38, 11, 22]
Generated Node #0,0: 40:[38, 11, 22] Operation: 78-56=22
Moving to Node #0,0
Current State: 40:[38, 11, 22], Operations: ['78-56=22']
Exploring Operation: 22/11=2, Resulting Numbers: [38, 2]
Generated Node #0,0,1: 40:[38, 2] Operation: 22/11=2
Moving to Node #0,0,1
Current State: 40:[38, 2], Operations: ['78-56=22', '22/11=2']
Exploring Operation: 38+2=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
86,
71,
93,
43
] | 20 | [
"86/43=2",
"93-71=22",
"22-2=20"
] | Current State: 20:[86, 71, 93, 43], Operations: []
Exploring Operation: 86/43=2, Resulting Numbers: [71, 93, 2]
Generated Node #2: [71, 93, 2] from Operation: 86/43=2
Current State: 20:[71, 93, 2], Operations: ['86/43=2']
Exploring Operation: 93-71=22, Resulting Numbers: [2, 22]
Generated Node #3: [2, 22] from Operation: 93-71=22
Current State: 20:[2, 22], Operations: ['86/43=2', '93-71=22']
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[86, 71, 93, 43], Operations: []
Exploring Operation: 93-71=22, Resulting Numbers: [86, 43, 22]
Generated Node #0,0: 20:[86, 43, 22] Operation: 93-71=22
Exploring Operation: 93-86=7, Resulting Numbers: [71, 43, 7]
Generated Node #0,1: 20:[71, 43, 7] Operation: 93-86=7
Start Sub Search at level 1: Moving to Node #0,1
Current State: 20:[71, 43, 7], Operations: ['93-86=7']
Exploring Operation: 71-43=28, Resulting Numbers: [7, 28]
Generated Node #0,1,0: 20:[7, 28] Operation: 71-43=28
Exploring Operation: 71-7=64, Resulting Numbers: [43, 64]
Generated Node #0,1,1: 20:[43, 64] Operation: 71-7=64
Moving to Node #0,1,0
Current State: 20:[7, 28], Operations: ['93-86=7', '71-43=28']
Exploring Operation: 28/7=4, Resulting Numbers: [4]
4,20 unequal: No Solution
Exploring Operation: 28-7=21, Resulting Numbers: [21]
21,20 unequal: No Solution
Moving to Node #0,1,1
Current State: 20:[43, 64], Operations: ['93-86=7', '71-7=64']
Exploring Operation: 64-43=21, Resulting Numbers: [21]
21,20 unequal: No Solution
Exploring Operation: 43+64=107, Resulting Numbers: [107]
107,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
Current State: 20:[86, 43, 22], Operations: ['93-71=22']
Exploring Operation: 86-43=43, Resulting Numbers: [22, 43]
Generated Node #0,0,0: 20:[22, 43] Operation: 86-43=43
Exploring Operation: 86/43=2, Resulting Numbers: [22, 2]
Generated Node #0,0,1: 20:[22, 2] Operation: 86/43=2
Moving to Node #0,0,1
Current State: 20:[22, 2], Operations: ['93-71=22', '86/43=2']
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,20 unequal: No Solution
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[86, 71, 93, 43], Operations: []
Exploring Operation: 93-71=22, Resulting Numbers: [86, 43, 22]
Generated Node #0,0: 20:[86, 43, 22] Operation: 93-71=22
Moving to Node #0,0
Current State: 20:[86, 43, 22], Operations: ['93-71=22']
Exploring Operation: 86/43=2, Resulting Numbers: [22, 2]
Generated Node #0,0,1: 20:[22, 2] Operation: 86/43=2
Moving to Node #0,0,1
Current State: 20:[22, 2], Operations: ['93-71=22', '86/43=2']
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_2 | mult_heuristic |
[
22,
16,
12,
72
] | 45 | [
"22-12=10",
"72*10=720",
"720/16=45"
] | Current State: 45:[22, 16, 12, 72], Operations: []
Exploring Operation: 22-12=10, Resulting Numbers: [16, 72, 10]
Generated Node #2: [16, 72, 10] from Operation: 22-12=10
Current State: 45:[16, 72, 10], Operations: ['22-12=10']
Exploring Operation: 72*10=720, Resulting Numbers: [16, 720]
Generated Node #3: [16, 720] from Operation: 72*10=720
Current State: 45:[16, 720], Operations: ['22-12=10', '72*10=720']
Exploring Operation: 720/16=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[22, 16, 12, 72], Operations: []
Exploring Operation: 72/12=6, Resulting Numbers: [22, 16, 6]
Generated Node #0,0: 45:[22, 16, 6] Operation: 72/12=6
Exploring Operation: 72-22=50, Resulting Numbers: [16, 12, 50]
Generated Node #0,1: 45:[16, 12, 50] Operation: 72-22=50
Start Sub Search at level 1: Moving to Node #0,0
Current State: 45:[22, 16, 6], Operations: ['72/12=6']
Exploring Operation: 22-16=6, Resulting Numbers: [6, 6]
Generated Node #0,0,0: 45:[6, 6] Operation: 22-16=6
Exploring Operation: 22-6=16, Resulting Numbers: [16, 16]
Generated Node #0,0,1: 45:[16, 16] Operation: 22-6=16
Moving to Node #0,0,0
Current State: 45:[6, 6], Operations: ['72/12=6', '22-16=6']
Exploring Operation: 6+6=12, Resulting Numbers: [12]
12,45 unequal: No Solution
Exploring Operation: 6/6=1, Resulting Numbers: [1]
1,45 unequal: No Solution
Moving to Node #0,0,1
Current State: 45:[16, 16], Operations: ['72/12=6', '22-6=16']
Exploring Operation: 16/16=1, Resulting Numbers: [1]
1,45 unequal: No Solution
Exploring Operation: 16-16=0, Resulting Numbers: [0]
0,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 45:[16, 12, 50], Operations: ['72-22=50']
Exploring Operation: 16-12=4, Resulting Numbers: [50, 4]
Generated Node #0,1,0: 45:[50, 4] Operation: 16-12=4
Exploring Operation: 50-12=38, Resulting Numbers: [16, 38]
Generated Node #0,1,1: 45:[16, 38] Operation: 50-12=38
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 45:[50, 4], Operations: ['72-22=50', '16-12=4']
Exploring Operation: 50+4=54, Resulting Numbers: [54]
54,45 unequal: No Solution
Exploring Operation: 50-4=46, Resulting Numbers: [46]
46,45 unequal: No Solution
No 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: 45:[16, 38], Operations: ['72-22=50', '50-12=38']
Exploring Operation: 16+38=54, Resulting Numbers: [54]
54,45 unequal: No Solution
Exploring Operation: 38-16=22, Resulting Numbers: [22]
22,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_2 | mult_heuristic |
[
49,
97,
73,
99
] | 61 | [
"49+73=122",
"99-97=2",
"122/2=61"
] | Current State: 61:[49, 97, 73, 99], Operations: []
Exploring Operation: 49+73=122, Resulting Numbers: [97, 99, 122]
Generated Node #2: [97, 99, 122] from Operation: 49+73=122
Current State: 61:[97, 99, 122], Operations: ['49+73=122']
Exploring Operation: 99-97=2, Resulting Numbers: [122, 2]
Generated Node #3: [122, 2] from Operation: 99-97=2
Current State: 61:[122, 2], Operations: ['49+73=122', '99-97=2']
Exploring Operation: 122/2=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[49, 97, 73, 99], Operations: []
Exploring Operation: 99-49=50, Resulting Numbers: [97, 73, 50]
Generated Node #0,0: 61:[97, 73, 50] Operation: 99-49=50
Exploring Operation: 97-49=48, Resulting Numbers: [73, 99, 48]
Generated Node #0,1: 61:[73, 99, 48] Operation: 97-49=48
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[97, 73, 50], Operations: ['99-49=50']
Exploring Operation: 97-50=47, Resulting Numbers: [73, 47]
Generated Node #0,0,0: 61:[73, 47] Operation: 97-50=47
Exploring Operation: 97-73=24, Resulting Numbers: [50, 24]
Generated Node #0,0,1: 61:[50, 24] Operation: 97-73=24
Moving to Node #0,0,0
Current State: 61:[73, 47], Operations: ['99-49=50', '97-50=47']
Exploring Operation: 73-47=26, Resulting Numbers: [26]
26,61 unequal: No Solution
Exploring Operation: 73+47=120, Resulting Numbers: [120]
120,61 unequal: No Solution
Moving to Node #0,0,1
Current State: 61:[50, 24], Operations: ['99-49=50', '97-73=24']
Exploring Operation: 50+24=74, Resulting Numbers: [74]
74,61 unequal: No Solution
Exploring Operation: 50-24=26, Resulting Numbers: [26]
26,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 61:[73, 99, 48], Operations: ['97-49=48']
Exploring Operation: 99-48=51, Resulting Numbers: [73, 51]
Generated Node #0,1,0: 61:[73, 51] Operation: 99-48=51
Exploring Operation: 99-73=26, Resulting Numbers: [48, 26]
Generated Node #0,1,1: 61:[48, 26] Operation: 99-73=26
Moving to Node #0,1,0
Current State: 61:[73, 51], Operations: ['97-49=48', '99-48=51']
Exploring Operation: 73+51=124, Resulting Numbers: [124]
124,61 unequal: No Solution
Exploring Operation: 73-51=22, Resulting Numbers: [22]
22,61 unequal: No Solution
Moving to Node #0,1,1
Current State: 61:[48, 26], Operations: ['97-49=48', '99-73=26']
Exploring Operation: 48-26=22, Resulting Numbers: [22]
22,61 unequal: No Solution
Exploring Operation: 48+26=74, Resulting Numbers: [74]
74,61 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 |
[
70,
78,
27,
74
] | 25 | [
"70+78=148",
"148/74=2",
"27-2=25"
] | Current State: 25:[70, 78, 27, 74], Operations: []
Exploring Operation: 70+78=148, Resulting Numbers: [27, 74, 148]
Generated Node #2: [27, 74, 148] from Operation: 70+78=148
Current State: 25:[27, 74, 148], Operations: ['70+78=148']
Exploring Operation: 148/74=2, Resulting Numbers: [27, 2]
Generated Node #3: [27, 2] from Operation: 148/74=2
Current State: 25:[27, 2], Operations: ['70+78=148', '148/74=2']
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[70, 78, 27, 74], Operations: []
Exploring Operation: 70-27=43, Resulting Numbers: [78, 74, 43]
Generated Node #0,0: 25:[78, 74, 43] Operation: 70-27=43
Exploring Operation: 78-74=4, Resulting Numbers: [70, 27, 4]
Generated Node #0,1: 25:[70, 27, 4] Operation: 78-74=4
Exploring Operation: 74-70=4, Resulting Numbers: [78, 27, 4]
Generated Node #0,2: 25:[78, 27, 4] Operation: 74-70=4
Exploring Operation: 78-70=8, Resulting Numbers: [27, 74, 8]
Generated Node #0,3: 25:[27, 74, 8] Operation: 78-70=8
Moving to Node #0,1
Current State: 25:[70, 27, 4], Operations: ['78-74=4']
Exploring Operation: 27-4=23, Resulting Numbers: [70, 23]
Generated Node #0,1,0: 25:[70, 23] Operation: 27-4=23
Exploring Operation: 70-4=66, Resulting Numbers: [27, 66]
Generated Node #0,1,1: 25:[27, 66] Operation: 70-4=66
Exploring Operation: 70-27=43, Resulting Numbers: [4, 43]
Generated Node #0,1,2: 25:[4, 43] Operation: 70-27=43
Exploring Operation: 70+4=74, Resulting Numbers: [27, 74]
Generated Node #0,1,3: 25:[27, 74] Operation: 70+4=74
Moving to Node #0,3
Current State: 25:[27, 74, 8], Operations: ['78-70=8']
Exploring Operation: 27+8=35, Resulting Numbers: [74, 35]
Generated Node #0,3,0: 25:[74, 35] Operation: 27+8=35
Exploring Operation: 27-8=19, Resulting Numbers: [74, 19]
Generated Node #0,3,1: 25:[74, 19] Operation: 27-8=19
Exploring Operation: 74-27=47, Resulting Numbers: [8, 47]
Generated Node #0,3,2: 25:[8, 47] Operation: 74-27=47
Exploring Operation: 74-8=66, Resulting Numbers: [27, 66]
Generated Node #0,3,3: 25:[27, 66] Operation: 74-8=66
Moving to Node #0,2
Current State: 25:[78, 27, 4], Operations: ['74-70=4']
Exploring Operation: 78-27=51, Resulting Numbers: [4, 51]
Generated Node #0,2,0: 25:[4, 51] Operation: 78-27=51
Exploring Operation: 78+4=82, Resulting Numbers: [27, 82]
Generated Node #0,2,1: 25:[27, 82] Operation: 78+4=82
Exploring Operation: 27-4=23, Resulting Numbers: [78, 23]
Generated Node #0,2,2: 25:[78, 23] Operation: 27-4=23
Exploring Operation: 78-4=74, Resulting Numbers: [27, 74]
Generated Node #0,2,3: 25:[27, 74] Operation: 78-4=74
Moving to Node #0,0
Current State: 25:[78, 74, 43], Operations: ['70-27=43']
Exploring Operation: 74-43=31, Resulting Numbers: [78, 31]
Generated Node #0,0,0: 25:[78, 31] Operation: 74-43=31
Exploring Operation: 78-74=4, Resulting Numbers: [43, 4]
Generated Node #0,0,1: 25:[43, 4] Operation: 78-74=4
Exploring Operation: 78-43=35, Resulting Numbers: [74, 35]
Generated Node #0,0,2: 25:[74, 35] Operation: 78-43=35
Exploring Operation: 78+74=152, Resulting Numbers: [43, 152]
Generated Node #0,0,3: 25:[43, 152] Operation: 78+74=152
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 25:[43, 4], Operations: ['70-27=43', '78-74=4']
Exploring Operation: 43+4=47, Resulting Numbers: [47]
47,25 unequal: No Solution
Exploring Operation: 43*4=172, Resulting Numbers: [172]
172,25 unequal: No Solution
Exploring Operation: 43-4=39, Resulting Numbers: [39]
39,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 25:[78, 31], Operations: ['70-27=43', '74-43=31']
Exploring Operation: 78-31=47, Resulting Numbers: [47]
47,25 unequal: No Solution
Exploring Operation: 78+31=109, Resulting Numbers: [109]
109,25 unequal: No Solution
Exploring Operation: 78*31=2418, Resulting Numbers: [2418]
2418,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 25:[74, 35], Operations: ['70-27=43', '78-43=35']
Exploring Operation: 74-35=39, Resulting Numbers: [39]
39,25 unequal: No Solution
Exploring Operation: 74*35=2590, Resulting Numbers: [2590]
2590,25 unequal: No Solution
Exploring Operation: 74+35=109, Resulting Numbers: [109]
109,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 25:[43, 152], Operations: ['70-27=43', '78+74=152']
Exploring Operation: 43*152=6536, Resulting Numbers: [6536]
6536,25 unequal: No Solution
Exploring Operation: 152-43=109, Resulting Numbers: [109]
109,25 unequal: No Solution
Exploring Operation: 43+152=195, Resulting Numbers: [195]
195,25 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: 25:[4, 43], Operations: ['78-74=4', '70-27=43']
Exploring Operation: 4*43=172, Resulting Numbers: [172]
172,25 unequal: No Solution
Exploring Operation: 4+43=47, Resulting Numbers: [47]
47,25 unequal: No Solution
Exploring Operation: 43-4=39, Resulting Numbers: [39]
39,25 unequal: No Solution
Moving to Node #0,3,2
Current State: 25:[8, 47], Operations: ['78-70=8', '74-27=47']
Exploring Operation: 47-8=39, Resulting Numbers: [39]
39,25 unequal: No Solution
Exploring Operation: 8+47=55, Resulting Numbers: [55]
55,25 unequal: No Solution
Exploring Operation: 8*47=376, Resulting Numbers: [376]
376,25 unequal: No Solution
Moving to Node #0,2,0
Current State: 25:[4, 51], Operations: ['74-70=4', '78-27=51']
Exploring Operation: 4+51=55, Resulting Numbers: [55]
55,25 unequal: No Solution
Exploring Operation: 51-4=47, Resulting Numbers: [47]
47,25 unequal: No Solution
Exploring Operation: 4*51=204, Resulting Numbers: [204]
204,25 unequal: No Solution
Moving to Node #0,3,3
Current State: 25:[27, 66], Operations: ['78-70=8', '74-8=66']
Exploring Operation: 27+66=93, Resulting Numbers: [93]
93,25 unequal: No Solution
Exploring Operation: 66-27=39, Resulting Numbers: [39]
39,25 unequal: No Solution
Exploring Operation: 27*66=1782, Resulting Numbers: [1782]
1782,25 unequal: No Solution
Moving to Node #0,1,1
Current State: 25:[27, 66], Operations: ['78-74=4', '70-4=66']
Exploring Operation: 66-27=39, Resulting Numbers: [39]
39,25 unequal: No Solution
Exploring Operation: 27*66=1782, Resulting Numbers: [1782]
1782,25 unequal: No Solution
Exploring Operation: 27+66=93, Resulting Numbers: [93]
93,25 unequal: No Solution
Moving to Node #0,1,0
Current State: 25:[70, 23], Operations: ['78-74=4', '27-4=23']
Exploring Operation: 70+23=93, Resulting Numbers: [93]
93,25 unequal: No Solution
Exploring Operation: 70*23=1610, Resulting Numbers: [1610]
1610,25 unequal: No Solution
Exploring Operation: 70-23=47, Resulting Numbers: [47]
47,25 unequal: No Solution
Moving to Node #0,2,3
Current State: 25:[27, 74], Operations: ['74-70=4', '78-4=74']
Exploring Operation: 27*74=1998, Resulting Numbers: [1998]
1998,25 unequal: No Solution
Exploring Operation: 27+74=101, Resulting Numbers: [101]
101,25 unequal: No Solution
Exploring Operation: 74-27=47, Resulting Numbers: [47]
47,25 unequal: No Solution
Moving to Node #0,1,3
Current State: 25:[27, 74], Operations: ['78-74=4', '70+4=74']
Exploring Operation: 27*74=1998, Resulting Numbers: [1998]
1998,25 unequal: No Solution
Exploring Operation: 74-27=47, Resulting Numbers: [47]
47,25 unequal: No Solution
Exploring Operation: 27+74=101, Resulting Numbers: [101]
101,25 unequal: No Solution
Moving to Node #0,3,1
Current State: 25:[74, 19], Operations: ['78-70=8', '27-8=19']
Exploring Operation: 74+19=93, Resulting Numbers: [93]
93,25 unequal: No Solution
Exploring Operation: 74*19=1406, Resulting Numbers: [1406]
1406,25 unequal: No Solution
Exploring Operation: 74-19=55, Resulting Numbers: [55]
55,25 unequal: No Solution
Moving to Node #0,2,2
Current State: 25:[78, 23], Operations: ['74-70=4', '27-4=23']
Exploring Operation: 78+23=101, Resulting Numbers: [101]
101,25 unequal: No Solution
Exploring Operation: 78*23=1794, Resulting Numbers: [1794]
1794,25 unequal: No Solution
Exploring Operation: 78-23=55, Resulting Numbers: [55]
55,25 unequal: No Solution
Moving to Node #0,3,0
Current State: 25:[74, 35], Operations: ['78-70=8', '27+8=35']
Exploring Operation: 74-35=39, Resulting Numbers: [39]
39,25 unequal: No Solution
Exploring Operation: 74+35=109, Resulting Numbers: [109]
109,25 unequal: No Solution
Exploring Operation: 74*35=2590, Resulting Numbers: [2590]
2590,25 unequal: No Solution
Moving to Node #0,2,1
Current State: 25:[27, 82], Operations: ['74-70=4', '78+4=82']
Exploring Operation: 27+82=109, Resulting Numbers: [109]
109,25 unequal: No Solution
Exploring Operation: 82-27=55, Resulting Numbers: [55]
55,25 unequal: No Solution
Exploring Operation: 27*82=2214, Resulting Numbers: [2214]
2214,25 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
47,
84,
7,
82
] | 79 | [
"82-47=35",
"35/7=5",
"84-5=79"
] | Current State: 79:[47, 84, 7, 82], Operations: []
Exploring Operation: 82-47=35, Resulting Numbers: [84, 7, 35]
Generated Node #2: [84, 7, 35] from Operation: 82-47=35
Current State: 79:[84, 7, 35], Operations: ['82-47=35']
Exploring Operation: 35/7=5, Resulting Numbers: [84, 5]
Generated Node #3: [84, 5] from Operation: 35/7=5
Current State: 79:[84, 5], Operations: ['82-47=35', '35/7=5']
Exploring Operation: 84-5=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[47, 84, 7, 82], Operations: []
Exploring Operation: 84-7=77, Resulting Numbers: [47, 82, 77]
Generated Node #0,0: 79:[47, 82, 77] Operation: 84-7=77
Exploring Operation: 82-7=75, Resulting Numbers: [47, 84, 75]
Generated Node #0,1: 79:[47, 84, 75] Operation: 82-7=75
Exploring Operation: 47+7=54, Resulting Numbers: [84, 82, 54]
Generated Node #0,2: 79:[84, 82, 54] Operation: 47+7=54
Start Sub Search at level 1: Moving to Node #0,2
Current State: 79:[84, 82, 54], Operations: ['47+7=54']
Exploring Operation: 82-54=28, Resulting Numbers: [84, 28]
Generated Node #0,2,0: 79:[84, 28] Operation: 82-54=28
Exploring Operation: 84+54=138, Resulting Numbers: [82, 138]
Generated Node #0,2,1: 79:[82, 138] Operation: 84+54=138
Exploring Operation: 84-54=30, Resulting Numbers: [82, 30]
Generated Node #0,2,2: 79:[82, 30] Operation: 84-54=30
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 79:[82, 30], Operations: ['47+7=54', '84-54=30']
Exploring Operation: 82-30=52, Resulting Numbers: [52]
52,79 unequal: No Solution
Exploring Operation: 82*30=2460, Resulting Numbers: [2460]
2460,79 unequal: No Solution
Exploring Operation: 82+30=112, Resulting Numbers: [112]
112,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 79:[84, 28], Operations: ['47+7=54', '82-54=28']
Exploring Operation: 84+28=112, Resulting Numbers: [112]
112,79 unequal: No Solution
Exploring Operation: 84/28=3, Resulting Numbers: [3]
3,79 unequal: No Solution
Exploring Operation: 84-28=56, Resulting Numbers: [56]
56,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 79:[82, 138], Operations: ['47+7=54', '84+54=138']
Exploring Operation: 138-82=56, Resulting Numbers: [56]
56,79 unequal: No Solution
Exploring Operation: 82+138=220, Resulting Numbers: [220]
220,79 unequal: No Solution
Exploring Operation: 82*138=11316, Resulting Numbers: [11316]
11316,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[47, 82, 77], Operations: ['84-7=77']
Exploring Operation: 47+77=124, Resulting Numbers: [82, 124]
Generated Node #0,0,0: 79:[82, 124] Operation: 47+77=124
Exploring Operation: 82-47=35, Resulting Numbers: [77, 35]
Generated Node #0,0,1: 79:[77, 35] Operation: 82-47=35
Exploring Operation: 47+82=129, Resulting Numbers: [77, 129]
Generated Node #0,0,2: 79:[77, 129] Operation: 47+82=129
Moving to Node #0,0,1
Current State: 79:[77, 35], Operations: ['84-7=77', '82-47=35']
Exploring Operation: 77*35=2695, Resulting Numbers: [2695]
2695,79 unequal: No Solution
Exploring Operation: 77+35=112, Resulting Numbers: [112]
112,79 unequal: No Solution
Exploring Operation: 77-35=42, Resulting Numbers: [42]
42,79 unequal: No Solution
Moving to Node #0,0,0
Current State: 79:[82, 124], Operations: ['84-7=77', '47+77=124']
Exploring Operation: 82*124=10168, Resulting Numbers: [10168]
10168,79 unequal: No Solution
Exploring Operation: 82+124=206, Resulting Numbers: [206]
206,79 unequal: No Solution
Exploring Operation: 124-82=42, Resulting Numbers: [42]
42,79 unequal: No Solution
Moving to Node #0,0,2
Current State: 79:[77, 129], Operations: ['84-7=77', '47+82=129']
Exploring Operation: 77+129=206, Resulting Numbers: [206]
206,79 unequal: No Solution
Exploring Operation: 77*129=9933, Resulting Numbers: [9933]
9933,79 unequal: No Solution
Exploring Operation: 129-77=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,1
Current State: 79:[47, 84, 75], Operations: ['82-7=75']
Exploring Operation: 47+75=122, Resulting Numbers: [84, 122]
Generated Node #0,1,0: 79:[84, 122] Operation: 47+75=122
Exploring Operation: 47+84=131, Resulting Numbers: [75, 131]
Generated Node #0,1,1: 79:[75, 131] Operation: 47+84=131
Exploring Operation: 84-47=37, Resulting Numbers: [75, 37]
Generated Node #0,1,2: 79:[75, 37] Operation: 84-47=37
Moving to Node #0,1,2
Current State: 79:[75, 37], Operations: ['82-7=75', '84-47=37']
Exploring Operation: 75-37=38, Resulting Numbers: [38]
38,79 unequal: No Solution
Exploring Operation: 75+37=112, Resulting Numbers: [112]
112,79 unequal: No Solution
Exploring Operation: 75*37=2775, Resulting Numbers: [2775]
2775,79 unequal: No Solution
Moving to Node #0,1,0
Current State: 79:[84, 122], Operations: ['82-7=75', '47+75=122']
Exploring Operation: 84*122=10248, Resulting Numbers: [10248]
10248,79 unequal: No Solution
Exploring Operation: 84+122=206, Resulting Numbers: [206]
206,79 unequal: No Solution
Exploring Operation: 122-84=38, Resulting Numbers: [38]
38,79 unequal: No Solution
Moving to Node #0,1,1
Current State: 79:[75, 131], Operations: ['82-7=75', '47+84=131']
Exploring Operation: 131-75=56, Resulting Numbers: [56]
56,79 unequal: No Solution
Exploring Operation: 75*131=9825, Resulting Numbers: [9825]
9825,79 unequal: No Solution
Exploring Operation: 75+131=206, Resulting Numbers: [206]
206,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
36,
48,
80,
35
] | 57 | [
"48-36=12",
"80-35=45",
"12+45=57"
] | Current State: 57:[36, 48, 80, 35], Operations: []
Exploring Operation: 48-36=12, Resulting Numbers: [80, 35, 12]
Generated Node #2: [80, 35, 12] from Operation: 48-36=12
Current State: 57:[80, 35, 12], Operations: ['48-36=12']
Exploring Operation: 80-35=45, Resulting Numbers: [12, 45]
Generated Node #3: [12, 45] from Operation: 80-35=45
Current State: 57:[12, 45], Operations: ['48-36=12', '80-35=45']
Exploring Operation: 12+45=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[36, 48, 80, 35], Operations: []
Exploring Operation: 36-35=1, Resulting Numbers: [48, 80, 1]
Generated Node #0,0: 57:[48, 80, 1] Operation: 36-35=1
Exploring Operation: 80-36=44, Resulting Numbers: [48, 35, 44]
Generated Node #0,1: 57:[48, 35, 44] Operation: 80-36=44
Moving to Node #0,0
Current State: 57:[48, 80, 1], Operations: ['36-35=1']
Exploring Operation: 48+1=49, Resulting Numbers: [80, 49]
Generated Node #0,0,0: 57:[80, 49] Operation: 48+1=49
Exploring Operation: 80-48=32, Resulting Numbers: [1, 32]
Generated Node #0,0,1: 57:[1, 32] Operation: 80-48=32
Moving to Node #0,1
Current State: 57:[48, 35, 44], Operations: ['80-36=44']
Exploring Operation: 48-44=4, Resulting Numbers: [35, 4]
Generated Node #0,1,0: 57:[35, 4] Operation: 48-44=4
Exploring Operation: 44-35=9, Resulting Numbers: [48, 9]
Generated Node #0,1,1: 57:[48, 9] Operation: 44-35=9
Moving to Node #0,0,1
Current State: 57:[1, 32], Operations: ['36-35=1', '80-48=32']
Exploring Operation: 1*32=32, Resulting Numbers: [32]
32,57 unequal: No Solution
Exploring Operation: 32-1=31, Resulting Numbers: [31]
31,57 unequal: No Solution
Moving to Node #0,1,1
Current State: 57:[48, 9], Operations: ['80-36=44', '44-35=9']
Exploring Operation: 48-9=39, Resulting Numbers: [39]
39,57 unequal: No Solution
Exploring Operation: 48+9=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[36, 48, 80, 35], Operations: []
Exploring Operation: 80-36=44, Resulting Numbers: [48, 35, 44]
Generated Node #0,1: 57:[48, 35, 44] Operation: 80-36=44
Moving to Node #0,1
Current State: 57:[48, 35, 44], Operations: ['80-36=44']
Exploring Operation: 44-35=9, Resulting Numbers: [48, 9]
Generated Node #0,1,1: 57:[48, 9] Operation: 44-35=9
Moving to Node #0,1,1
Current State: 57:[48, 9], Operations: ['80-36=44', '44-35=9']
Exploring Operation: 48+9=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 0.987847 | hs_2 | mult_heuristic |
[
85,
82,
54,
34
] | 85 | [
"85-82=3",
"54+34=88",
"88-3=85"
] | Current State: 85:[85, 82, 54, 34], Operations: []
Exploring Operation: 85-82=3, Resulting Numbers: [54, 34, 3]
Generated Node #2: [54, 34, 3] from Operation: 85-82=3
Current State: 85:[54, 34, 3], Operations: ['85-82=3']
Exploring Operation: 54+34=88, Resulting Numbers: [3, 88]
Generated Node #3: [3, 88] from Operation: 54+34=88
Current State: 85:[3, 88], Operations: ['85-82=3', '54+34=88']
Exploring Operation: 88-3=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[85, 82, 54, 34], Operations: []
Exploring Operation: 82-54=28, Resulting Numbers: [85, 34, 28]
Generated Node #0,0: 85:[85, 34, 28] Operation: 82-54=28
Exploring Operation: 54-34=20, Resulting Numbers: [85, 82, 20]
Generated Node #0,1: 85:[85, 82, 20] Operation: 54-34=20
Exploring Operation: 54+34=88, Resulting Numbers: [85, 82, 88]
Generated Node #0,2: 85:[85, 82, 88] Operation: 54+34=88
Moving to Node #0,1
Current State: 85:[85, 82, 20], Operations: ['54-34=20']
Exploring Operation: 82+20=102, Resulting Numbers: [85, 102]
Generated Node #0,1,0: 85:[85, 102] Operation: 82+20=102
Exploring Operation: 85-82=3, Resulting Numbers: [20, 3]
Generated Node #0,1,1: 85:[20, 3] Operation: 85-82=3
Exploring Operation: 85+20=105, Resulting Numbers: [82, 105]
Generated Node #0,1,2: 85:[82, 105] Operation: 85+20=105
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 85:[20, 3], Operations: ['54-34=20', '85-82=3']
Exploring Operation: 20*3=60, Resulting Numbers: [60]
60,85 unequal: No Solution
Exploring Operation: 20+3=23, Resulting Numbers: [23]
23,85 unequal: No Solution
Exploring Operation: 20-3=17, Resulting Numbers: [17]
17,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 85:[85, 102], Operations: ['54-34=20', '82+20=102']
Exploring Operation: 85+102=187, Resulting Numbers: [187]
187,85 unequal: No Solution
Exploring Operation: 102-85=17, Resulting Numbers: [17]
17,85 unequal: No Solution
Exploring Operation: 85*102=8670, Resulting Numbers: [8670]
8670,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 85:[82, 105], Operations: ['54-34=20', '85+20=105']
Exploring Operation: 82+105=187, Resulting Numbers: [187]
187,85 unequal: No Solution
Exploring Operation: 82*105=8610, Resulting Numbers: [8610]
8610,85 unequal: No Solution
Exploring Operation: 105-82=23, Resulting Numbers: [23]
23,85 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: 85:[85, 82, 88], Operations: ['54+34=88']
Exploring Operation: 88-85=3, Resulting Numbers: [82, 3]
Generated Node #0,2,0: 85:[82, 3] Operation: 88-85=3
Exploring Operation: 85-82=3, Resulting Numbers: [88, 3]
Generated Node #0,2,1: 85:[88, 3] Operation: 85-82=3
Exploring Operation: 88-82=6, Resulting Numbers: [85, 6]
Generated Node #0,2,2: 85:[85, 6] Operation: 88-82=6
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 85:[85, 6], Operations: ['54+34=88', '88-82=6']
Exploring Operation: 85*6=510, Resulting Numbers: [510]
510,85 unequal: No Solution
Exploring Operation: 85-6=79, Resulting Numbers: [79]
79,85 unequal: No Solution
Exploring Operation: 85+6=91, Resulting Numbers: [91]
91,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 85:[82, 3], Operations: ['54+34=88', '88-85=3']
Exploring Operation: 82*3=246, Resulting Numbers: [246]
246,85 unequal: No Solution
Exploring Operation: 82+3=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[85, 82, 54, 34], Operations: []
Exploring Operation: 54+34=88, Resulting Numbers: [85, 82, 88]
Generated Node #0,2: 85:[85, 82, 88] Operation: 54+34=88
Moving to Node #0,2
Current State: 85:[85, 82, 88], Operations: ['54+34=88']
Exploring Operation: 88-85=3, Resulting Numbers: [82, 3]
Generated Node #0,2,0: 85:[82, 3] Operation: 88-85=3
Moving to Node #0,2,0
Current State: 85:[82, 3], Operations: ['54+34=88', '88-85=3']
Exploring Operation: 82+3=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_3 | mult_heuristic |
[
21,
7,
34,
22
] | 13 | [
"34+22=56",
"56/7=8",
"21-8=13"
] | Current State: 13:[21, 7, 34, 22], Operations: []
Exploring Operation: 34+22=56, Resulting Numbers: [21, 7, 56]
Generated Node #2: [21, 7, 56] from Operation: 34+22=56
Current State: 13:[21, 7, 56], Operations: ['34+22=56']
Exploring Operation: 56/7=8, Resulting Numbers: [21, 8]
Generated Node #3: [21, 8] from Operation: 56/7=8
Current State: 13:[21, 8], Operations: ['34+22=56', '56/7=8']
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[21, 7, 34, 22], Operations: []
Exploring Operation: 34-21=13, Resulting Numbers: [7, 22, 13]
Generated Node #0,0: 13:[7, 22, 13] Operation: 34-21=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[7, 22, 13], Operations: ['34-21=13']
Exploring Operation: 22-7=15, Resulting Numbers: [13, 15]
Generated Node #0,0,0: 13:[13, 15] Operation: 22-7=15
Moving to Node #0,0,0
Current State: 13:[13, 15], Operations: ['34-21=13', '22-7=15']
Exploring Operation: 15-13=2, Resulting Numbers: [2]
2,13 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,
77,
28,
49
] | 50 | [
"27*49=1323",
"77+1323=1400",
"1400/28=50"
] | Current State: 50:[27, 77, 28, 49], Operations: []
Exploring Operation: 27*49=1323, Resulting Numbers: [77, 28, 1323]
Generated Node #2: [77, 28, 1323] from Operation: 27*49=1323
Current State: 50:[77, 28, 1323], Operations: ['27*49=1323']
Exploring Operation: 77+1323=1400, Resulting Numbers: [28, 1400]
Generated Node #3: [28, 1400] from Operation: 77+1323=1400
Current State: 50:[28, 1400], Operations: ['27*49=1323', '77+1323=1400']
Exploring Operation: 1400/28=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[27, 77, 28, 49], Operations: []
Exploring Operation: 77-28=49, Resulting Numbers: [27, 49, 49]
Generated Node #0,0: 50:[27, 49, 49] Operation: 77-28=49
Exploring Operation: 77-27=50, Resulting Numbers: [28, 49, 50]
Generated Node #0,1: 50:[28, 49, 50] Operation: 77-27=50
Exploring Operation: 77-49=28, Resulting Numbers: [27, 28, 28]
Generated Node #0,2: 50:[27, 28, 28] Operation: 77-49=28
Exploring Operation: 28-27=1, Resulting Numbers: [77, 49, 1]
Generated Node #0,3: 50:[77, 49, 1] Operation: 28-27=1
Moving to Node #0,0
Current State: 50:[27, 49, 49], Operations: ['77-28=49']
Exploring Operation: 49-27=22, Resulting Numbers: [49, 22]
Generated Node #0,0,0: 50:[49, 22] Operation: 49-27=22
Exploring Operation: 49/49=1, Resulting Numbers: [27, 1]
Generated Node #0,0,1: 50:[27, 1] Operation: 49/49=1
Exploring Operation: 49-49=0, Resulting Numbers: [27, 0]
Generated Node #0,0,2: 50:[27, 0] Operation: 49-49=0
Exploring Operation: 49-27=22, Resulting Numbers: [49, 22]
Generated Node #0,0,3: 50:[49, 22] Operation: 49-27=22
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 50:[27, 1], Operations: ['77-28=49', '49/49=1']
Exploring Operation: 27+1=28, Resulting Numbers: [28]
28,50 unequal: No Solution
Exploring Operation: 27*1=27, Resulting Numbers: [27]
27,50 unequal: No Solution
Exploring Operation: 27/1=27, Resulting Numbers: [27]
27,50 unequal: No Solution
Exploring Operation: 27-1=26, Resulting Numbers: [26]
26,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,0,0
Current State: 50:[49, 22], Operations: ['77-28=49', '49-27=22']
Exploring Operation: 49+22=71, Resulting Numbers: [71]
71,50 unequal: No Solution
Exploring Operation: 49-22=27, Resulting Numbers: [27]
27,50 unequal: No Solution
Exploring Operation: 49*22=1078, Resulting Numbers: [1078]
1078,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,0,2
Current State: 50:[27, 0], Operations: ['77-28=49', '49-49=0']
Exploring Operation: 27+0=27, Resulting Numbers: [27]
27,50 unequal: No Solution
Exploring Operation: 27-0=27, Resulting Numbers: [27]
27,50 unequal: No Solution
Exploring Operation: 27*0=0, Resulting Numbers: [0]
0,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,0,3
Current State: 50:[49, 22], Operations: ['77-28=49', '49-27=22']
Exploring Operation: 49*22=1078, Resulting Numbers: [1078]
1078,50 unequal: No Solution
Exploring Operation: 49+22=71, Resulting Numbers: [71]
71,50 unequal: No Solution
Exploring Operation: 49-22=27, Resulting Numbers: [27]
27,50 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: 50:[28, 49, 50], Operations: ['77-27=50']
Exploring Operation: 50-28=22, Resulting Numbers: [49, 22]
Generated Node #0,1,0: 50:[49, 22] Operation: 50-28=22
Exploring Operation: 28+49=77, Resulting Numbers: [50, 77]
Generated Node #0,1,1: 50:[50, 77] Operation: 28+49=77
Exploring Operation: 50-49=1, Resulting Numbers: [28, 1]
Generated Node #0,1,2: 50:[28, 1] Operation: 50-49=1
Exploring Operation: 49-28=21, Resulting Numbers: [50, 21]
Generated Node #0,1,3: 50:[50, 21] Operation: 49-28=21
Moving to Node #0,2
Current State: 50:[27, 28, 28], Operations: ['77-49=28']
Exploring Operation: 28-27=1, Resulting Numbers: [28, 1]
Generated Node #0,2,0: 50:[28, 1] Operation: 28-27=1
Exploring Operation: 28-27=1, Resulting Numbers: [28, 1]
Generated Node #0,2,1: 50:[28, 1] Operation: 28-27=1
Exploring Operation: 28/28=1, Resulting Numbers: [27, 1]
Generated Node #0,2,2: 50:[27, 1] Operation: 28/28=1
Exploring Operation: 28-28=0, Resulting Numbers: [27, 0]
Generated Node #0,2,3: 50:[27, 0] Operation: 28-28=0
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 50:[27, 1], Operations: ['77-49=28', '28/28=1']
Exploring Operation: 27+1=28, Resulting Numbers: [28]
28,50 unequal: No Solution
Exploring Operation: 27-1=26, Resulting Numbers: [26]
26,50 unequal: No Solution
Exploring Operation: 27*1=27, Resulting Numbers: [27]
27,50 unequal: No Solution
Exploring Operation: 27/1=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,2,0
Current State: 50:[28, 1], Operations: ['77-49=28', '28-27=1']
Exploring Operation: 28+1=29, Resulting Numbers: [29]
29,50 unequal: No Solution
Exploring Operation: 28/1=28, Resulting Numbers: [28]
28,50 unequal: No Solution
Exploring Operation: 28*1=28, Resulting Numbers: [28]
28,50 unequal: No Solution
Exploring Operation: 28-1=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,2,1
Current State: 50:[28, 1], Operations: ['77-49=28', '28-27=1']
Exploring Operation: 28-1=27, Resulting Numbers: [27]
27,50 unequal: No Solution
Exploring Operation: 28+1=29, Resulting Numbers: [29]
29,50 unequal: No Solution
Exploring Operation: 28*1=28, Resulting Numbers: [28]
28,50 unequal: No Solution
Exploring Operation: 28/1=28, Resulting Numbers: [28]
28,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,2,3
Current State: 50:[27, 0], Operations: ['77-49=28', '28-28=0']
Exploring Operation: 27-0=27, Resulting Numbers: [27]
27,50 unequal: No Solution
Exploring Operation: 27+0=27, Resulting Numbers: [27]
27,50 unequal: No Solution
Exploring Operation: 27*0=0, Resulting Numbers: [0]
0,50 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: 50:[77, 49, 1], Operations: ['28-27=1']
Exploring Operation: 77-1=76, Resulting Numbers: [49, 76]
Generated Node #0,3,0: 50:[49, 76] Operation: 77-1=76
Exploring Operation: 77-49=28, Resulting Numbers: [1, 28]
Generated Node #0,3,1: 50:[1, 28] Operation: 77-49=28
Exploring Operation: 77*1=77, Resulting Numbers: [49, 77]
Generated Node #0,3,2: 50:[49, 77] Operation: 77*1=77
Exploring Operation: 49+1=50, Resulting Numbers: [77, 50]
Generated Node #0,3,3: 50:[77, 50] Operation: 49+1=50
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 50:[1, 28], Operations: ['28-27=1', '77-49=28']
Exploring Operation: 1*28=28, Resulting Numbers: [28]
28,50 unequal: No Solution
Exploring Operation: 28-1=27, Resulting Numbers: [27]
27,50 unequal: No Solution
Exploring Operation: 28/1=28, Resulting Numbers: [28]
28,50 unequal: No Solution
Exploring Operation: 1+28=29, Resulting Numbers: [29]
29,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,3,0
Current State: 50:[49, 76], Operations: ['28-27=1', '77-1=76']
Exploring Operation: 76-49=27, Resulting Numbers: [27]
27,50 unequal: No Solution
Exploring Operation: 49+76=125, Resulting Numbers: [125]
125,50 unequal: No Solution
Exploring Operation: 49*76=3724, Resulting Numbers: [3724]
3724,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,3,3
Current State: 50:[77, 50], Operations: ['28-27=1', '49+1=50']
Exploring Operation: 77*50=3850, Resulting Numbers: [3850]
3850,50 unequal: No Solution
Exploring Operation: 77-50=27, Resulting Numbers: [27]
27,50 unequal: No Solution
Exploring Operation: 77+50=127, Resulting Numbers: [127]
127,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,3,2
Current State: 50:[49, 77], Operations: ['28-27=1', '77*1=77']
Exploring Operation: 77-49=28, Resulting Numbers: [28]
28,50 unequal: No Solution
Exploring Operation: 49*77=3773, Resulting Numbers: [3773]
3773,50 unequal: No Solution
Exploring Operation: 49+77=126, Resulting Numbers: [126]
126,50 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: 50:[49, 22], Operations: ['77-27=50', '50-28=22']
Exploring Operation: 49-22=27, Resulting Numbers: [27]
27,50 unequal: No Solution
Exploring Operation: 49*22=1078, Resulting Numbers: [1078]
1078,50 unequal: No Solution
Exploring Operation: 49+22=71, Resulting Numbers: [71]
71,50 unequal: No Solution
Moving to Node #0,1,3
Current State: 50:[50, 21], Operations: ['77-27=50', '49-28=21']
Exploring Operation: 50*21=1050, Resulting Numbers: [1050]
1050,50 unequal: No Solution
Exploring Operation: 50+21=71, Resulting Numbers: [71]
71,50 unequal: No Solution
Exploring Operation: 50-21=29, Resulting Numbers: [29]
29,50 unequal: No Solution
Moving to Node #0,1,2
Current State: 50:[28, 1], Operations: ['77-27=50', '50-49=1']
Exploring Operation: 28/1=28, Resulting Numbers: [28]
28,50 unequal: No Solution
Exploring Operation: 28-1=27, Resulting Numbers: [27]
27,50 unequal: No Solution
Exploring Operation: 28+1=29, Resulting Numbers: [29]
29,50 unequal: No Solution
Exploring Operation: 28*1=28, Resulting Numbers: [28]
28,50 unequal: No Solution
Moving to Node #0,1,1
Current State: 50:[50, 77], Operations: ['77-27=50', '28+49=77']
Exploring Operation: 77-50=27, Resulting Numbers: [27]
27,50 unequal: No Solution
Exploring Operation: 50+77=127, Resulting Numbers: [127]
127,50 unequal: No Solution
Exploring Operation: 50*77=3850, Resulting Numbers: [3850]
3850,50 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
77,
2,
84,
18
] | 23 | [
"77+2=79",
"84+18=102",
"102-79=23"
] | Current State: 23:[77, 2, 84, 18], Operations: []
Exploring Operation: 77+2=79, Resulting Numbers: [84, 18, 79]
Generated Node #2: [84, 18, 79] from Operation: 77+2=79
Current State: 23:[84, 18, 79], Operations: ['77+2=79']
Exploring Operation: 84+18=102, Resulting Numbers: [79, 102]
Generated Node #3: [79, 102] from Operation: 84+18=102
Current State: 23:[79, 102], Operations: ['77+2=79', '84+18=102']
Exploring Operation: 102-79=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[77, 2, 84, 18], Operations: []
Exploring Operation: 84-77=7, Resulting Numbers: [2, 18, 7]
Generated Node #0,0: 23:[2, 18, 7] Operation: 84-77=7
Exploring Operation: 77-18=59, Resulting Numbers: [2, 84, 59]
Generated Node #0,1: 23:[2, 84, 59] Operation: 77-18=59
Exploring Operation: 84/2=42, Resulting Numbers: [77, 18, 42]
Generated Node #0,2: 23:[77, 18, 42] Operation: 84/2=42
Exploring Operation: 77-2=75, Resulting Numbers: [84, 18, 75]
Generated Node #0,3: 23:[84, 18, 75] Operation: 77-2=75
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[2, 18, 7], Operations: ['84-77=7']
Exploring Operation: 2+18=20, Resulting Numbers: [7, 20]
Generated Node #0,0,0: 23:[7, 20] Operation: 2+18=20
Exploring Operation: 18-2=16, Resulting Numbers: [7, 16]
Generated Node #0,0,1: 23:[7, 16] Operation: 18-2=16
Exploring Operation: 2+7=9, Resulting Numbers: [18, 9]
Generated Node #0,0,2: 23:[18, 9] Operation: 2+7=9
Exploring Operation: 2*7=14, Resulting Numbers: [18, 14]
Generated Node #0,0,3: 23:[18, 14] Operation: 2*7=14
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 23:[18, 14], Operations: ['84-77=7', '2*7=14']
Exploring Operation: 18+14=32, Resulting Numbers: [32]
32,23 unequal: No Solution
Exploring Operation: 18*14=252, Resulting Numbers: [252]
252,23 unequal: No Solution
Exploring Operation: 18-14=4, Resulting Numbers: [4]
4,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 23:[7, 20], Operations: ['84-77=7', '2+18=20']
Exploring Operation: 7+20=27, Resulting Numbers: [27]
27,23 unequal: No Solution
Exploring Operation: 7*20=140, Resulting Numbers: [140]
140,23 unequal: No Solution
Exploring Operation: 20-7=13, Resulting Numbers: [13]
13,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 23:[18, 9], Operations: ['84-77=7', '2+7=9']
Exploring Operation: 18/9=2, Resulting Numbers: [2]
2,23 unequal: No Solution
Exploring Operation: 18+9=27, Resulting Numbers: [27]
27,23 unequal: No Solution
Exploring Operation: 18*9=162, Resulting Numbers: [162]
162,23 unequal: No Solution
Exploring Operation: 18-9=9, Resulting Numbers: [9]
9,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 23:[7, 16], Operations: ['84-77=7', '18-2=16']
Exploring Operation: 7*16=112, Resulting Numbers: [112]
112,23 unequal: No Solution
Exploring Operation: 7+16=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[77, 2, 84, 18], Operations: []
Exploring Operation: 84-77=7, Resulting Numbers: [2, 18, 7]
Generated Node #0,0: 23:[2, 18, 7] Operation: 84-77=7
Moving to Node #0,0
Current State: 23:[2, 18, 7], Operations: ['84-77=7']
Exploring Operation: 18-2=16, Resulting Numbers: [7, 16]
Generated Node #0,0,1: 23:[7, 16] Operation: 18-2=16
Moving to Node #0,0,1
Current State: 23:[7, 16], Operations: ['84-77=7', '18-2=16']
Exploring Operation: 7+16=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.979167 | hs_4 | sum_heuristic |
[
8,
74,
21,
4
] | 83 | [
"74-8=66",
"21-4=17",
"66+17=83"
] | Current State: 83:[8, 74, 21, 4], Operations: []
Exploring Operation: 74-8=66, Resulting Numbers: [21, 4, 66]
Generated Node #2: [21, 4, 66] from Operation: 74-8=66
Current State: 83:[21, 4, 66], Operations: ['74-8=66']
Exploring Operation: 21-4=17, Resulting Numbers: [66, 17]
Generated Node #3: [66, 17] from Operation: 21-4=17
Current State: 83:[66, 17], Operations: ['74-8=66', '21-4=17']
Exploring Operation: 66+17=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[8, 74, 21, 4], Operations: []
Exploring Operation: 8*4=32, Resulting Numbers: [74, 21, 32]
Generated Node #0,0: 83:[74, 21, 32] Operation: 8*4=32
Exploring Operation: 21*4=84, Resulting Numbers: [8, 74, 84]
Generated Node #0,1: 83:[8, 74, 84] Operation: 21*4=84
Moving to Node #0,1
Current State: 83:[8, 74, 84], Operations: ['21*4=84']
Exploring Operation: 8+74=82, Resulting Numbers: [84, 82]
Generated Node #0,1,0: 83:[84, 82] Operation: 8+74=82
Exploring Operation: 84-8=76, Resulting Numbers: [74, 76]
Generated Node #0,1,1: 83:[74, 76] Operation: 84-8=76
Moving to Node #0,0
Current State: 83:[74, 21, 32], Operations: ['8*4=32']
Exploring Operation: 74+21=95, Resulting Numbers: [32, 95]
Generated Node #0,0,0: 83:[32, 95] Operation: 74+21=95
Exploring Operation: 21+32=53, Resulting Numbers: [74, 53]
Generated Node #0,0,1: 83:[74, 53] Operation: 21+32=53
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 83:[74, 53], Operations: ['8*4=32', '21+32=53']
Exploring Operation: 74-53=21, Resulting Numbers: [21]
21,83 unequal: No Solution
Exploring Operation: 74+53=127, Resulting Numbers: [127]
127,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 83:[32, 95], Operations: ['8*4=32', '74+21=95']
Exploring Operation: 32+95=127, Resulting Numbers: [127]
127,83 unequal: No Solution
Exploring Operation: 95-32=63, Resulting Numbers: [63]
63,83 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: 83:[84, 82], Operations: ['21*4=84', '8+74=82']
Exploring Operation: 84-82=2, Resulting Numbers: [2]
2,83 unequal: No Solution
Exploring Operation: 84+82=166, Resulting Numbers: [166]
166,83 unequal: No Solution
Moving to Node #0,1,1
Current State: 83:[74, 76], Operations: ['21*4=84', '84-8=76']
Exploring Operation: 74+76=150, Resulting Numbers: [150]
150,83 unequal: No Solution
Exploring Operation: 76-74=2, Resulting Numbers: [2]
2,83 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
27,
69,
19,
43
] | 14 | [
"27-19=8",
"69+43=112",
"112/8=14"
] | Current State: 14:[27, 69, 19, 43], Operations: []
Exploring Operation: 27-19=8, Resulting Numbers: [69, 43, 8]
Generated Node #2: [69, 43, 8] from Operation: 27-19=8
Current State: 14:[69, 43, 8], Operations: ['27-19=8']
Exploring Operation: 69+43=112, Resulting Numbers: [8, 112]
Generated Node #3: [8, 112] from Operation: 69+43=112
Current State: 14:[8, 112], Operations: ['27-19=8', '69+43=112']
Exploring Operation: 112/8=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[27, 69, 19, 43], Operations: []
Exploring Operation: 69-43=26, Resulting Numbers: [27, 19, 26]
Generated Node #0,0: 14:[27, 19, 26] Operation: 69-43=26
Moving to Node #0,0
Current State: 14:[27, 19, 26], Operations: ['69-43=26']
Exploring Operation: 27-26=1, Resulting Numbers: [19, 1]
Generated Node #0,0,0: 14:[19, 1] Operation: 27-26=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 14:[19, 1], Operations: ['69-43=26', '27-26=1']
Exploring Operation: 19-1=18, Resulting Numbers: [18]
18,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
85,
77,
5,
18
] | 15 | [
"85-77=8",
"5+18=23",
"23-8=15"
] | Current State: 15:[85, 77, 5, 18], Operations: []
Exploring Operation: 85-77=8, Resulting Numbers: [5, 18, 8]
Generated Node #2: [5, 18, 8] from Operation: 85-77=8
Current State: 15:[5, 18, 8], Operations: ['85-77=8']
Exploring Operation: 5+18=23, Resulting Numbers: [8, 23]
Generated Node #3: [8, 23] from Operation: 5+18=23
Current State: 15:[8, 23], Operations: ['85-77=8', '5+18=23']
Exploring Operation: 23-8=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[85, 77, 5, 18], Operations: []
Exploring Operation: 85/5=17, Resulting Numbers: [77, 18, 17]
Generated Node #0,0: 15:[77, 18, 17] Operation: 85/5=17
Exploring Operation: 85-18=67, Resulting Numbers: [77, 5, 67]
Generated Node #0,1: 15:[77, 5, 67] Operation: 85-18=67
Exploring Operation: 85-77=8, Resulting Numbers: [5, 18, 8]
Generated Node #0,2: 15:[5, 18, 8] Operation: 85-77=8
Start Sub Search at level 1: Moving to Node #0,2
Current State: 15:[5, 18, 8], Operations: ['85-77=8']
Exploring Operation: 18-5=13, Resulting Numbers: [8, 13]
Generated Node #0,2,0: 15:[8, 13] Operation: 18-5=13
Exploring Operation: 5+8=13, Resulting Numbers: [18, 13]
Generated Node #0,2,1: 15:[18, 13] Operation: 5+8=13
Exploring Operation: 8-5=3, Resulting Numbers: [18, 3]
Generated Node #0,2,2: 15:[18, 3] Operation: 8-5=3
Moving to Node #0,2,2
Current State: 15:[18, 3], Operations: ['85-77=8', '8-5=3']
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,15 unequal: No Solution
Exploring Operation: 18+3=21, Resulting Numbers: [21]
21,15 unequal: No Solution
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[85, 77, 5, 18], Operations: []
Exploring Operation: 85-77=8, Resulting Numbers: [5, 18, 8]
Generated Node #0,2: 15:[5, 18, 8] Operation: 85-77=8
Moving to Node #0,2
Current State: 15:[5, 18, 8], Operations: ['85-77=8']
Exploring Operation: 8-5=3, Resulting Numbers: [18, 3]
Generated Node #0,2,2: 15:[18, 3] Operation: 8-5=3
Moving to Node #0,2,2
Current State: 15:[18, 3], Operations: ['85-77=8', '8-5=3']
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
19,
42,
52,
28
] | 97 | [
"42*52=2184",
"2184/28=78",
"19+78=97"
] | Current State: 97:[19, 42, 52, 28], Operations: []
Exploring Operation: 42*52=2184, Resulting Numbers: [19, 28, 2184]
Generated Node #2: [19, 28, 2184] from Operation: 42*52=2184
Current State: 97:[19, 28, 2184], Operations: ['42*52=2184']
Exploring Operation: 2184/28=78, Resulting Numbers: [19, 78]
Generated Node #3: [19, 78] from Operation: 2184/28=78
Current State: 97:[19, 78], Operations: ['42*52=2184', '2184/28=78']
Exploring Operation: 19+78=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[19, 42, 52, 28], Operations: []
Exploring Operation: 19+52=71, Resulting Numbers: [42, 28, 71]
Generated Node #0,0: 97:[42, 28, 71] Operation: 19+52=71
Exploring Operation: 19+42=61, Resulting Numbers: [52, 28, 61]
Generated Node #0,1: 97:[52, 28, 61] Operation: 19+42=61
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[42, 28, 71], Operations: ['19+52=71']
Exploring Operation: 28+71=99, Resulting Numbers: [42, 99]
Generated Node #0,0,0: 97:[42, 99] Operation: 28+71=99
Exploring Operation: 42+28=70, Resulting Numbers: [71, 70]
Generated Node #0,0,1: 97:[71, 70] Operation: 42+28=70
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 97:[71, 70], Operations: ['19+52=71', '42+28=70']
Exploring Operation: 71+70=141, Resulting Numbers: [141]
141,97 unequal: No Solution
Exploring Operation: 71-70=1, Resulting Numbers: [1]
1,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 97:[42, 99], Operations: ['19+52=71', '28+71=99']
Exploring Operation: 99-42=57, Resulting Numbers: [57]
57,97 unequal: No Solution
Exploring Operation: 42+99=141, Resulting Numbers: [141]
141,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 97:[52, 28, 61], Operations: ['19+42=61']
Exploring Operation: 28+61=89, Resulting Numbers: [52, 89]
Generated Node #0,1,0: 97:[52, 89] Operation: 28+61=89
Exploring Operation: 52+28=80, Resulting Numbers: [61, 80]
Generated Node #0,1,1: 97:[61, 80] Operation: 52+28=80
Moving to Node #0,1,0
Current State: 97:[52, 89], Operations: ['19+42=61', '28+61=89']
Exploring Operation: 52+89=141, Resulting Numbers: [141]
141,97 unequal: No Solution
Exploring Operation: 89-52=37, Resulting Numbers: [37]
37,97 unequal: No Solution
Moving to Node #0,1,1
Current State: 97:[61, 80], Operations: ['19+42=61', '52+28=80']
Exploring Operation: 61+80=141, Resulting Numbers: [141]
141,97 unequal: No Solution
Exploring Operation: 80-61=19, Resulting Numbers: [19]
19,97 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 |
[
2,
15,
18,
98
] | 80 | [
"98-2=96",
"15*96=1440",
"1440/18=80"
] | Current State: 80:[2, 15, 18, 98], Operations: []
Exploring Operation: 98-2=96, Resulting Numbers: [15, 18, 96]
Generated Node #2: [15, 18, 96] from Operation: 98-2=96
Current State: 80:[15, 18, 96], Operations: ['98-2=96']
Exploring Operation: 15*96=1440, Resulting Numbers: [18, 1440]
Generated Node #3: [18, 1440] from Operation: 15*96=1440
Current State: 80:[18, 1440], Operations: ['98-2=96', '15*96=1440']
Exploring Operation: 1440/18=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[2, 15, 18, 98], Operations: []
Exploring Operation: 98-15=83, Resulting Numbers: [2, 18, 83]
Generated Node #0,0: 80:[2, 18, 83] Operation: 98-15=83
Exploring Operation: 98-18=80, Resulting Numbers: [2, 15, 80]
Generated Node #0,1: 80:[2, 15, 80] Operation: 98-18=80
Start Sub Search at level 1: Moving to Node #0,1
Current State: 80:[2, 15, 80], Operations: ['98-18=80']
Exploring Operation: 2+15=17, Resulting Numbers: [80, 17]
Generated Node #0,1,0: 80:[80, 17] Operation: 2+15=17
Exploring Operation: 80/2=40, Resulting Numbers: [15, 40]
Generated Node #0,1,1: 80:[15, 40] Operation: 80/2=40
Moving to Node #0,1,0
Current State: 80:[80, 17], Operations: ['98-18=80', '2+15=17']
Exploring Operation: 80+17=97, Resulting Numbers: [97]
97,80 unequal: No Solution
Exploring Operation: 80-17=63, Resulting Numbers: [63]
63,80 unequal: No Solution
Moving to Node #0,1,1
Current State: 80:[15, 40], Operations: ['98-18=80', '80/2=40']
Exploring Operation: 15+40=55, Resulting Numbers: [55]
55,80 unequal: No Solution
Exploring Operation: 40-15=25, Resulting Numbers: [25]
25,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[2, 18, 83], Operations: ['98-15=83']
Exploring Operation: 2+18=20, Resulting Numbers: [83, 20]
Generated Node #0,0,0: 80:[83, 20] Operation: 2+18=20
Exploring Operation: 18-2=16, Resulting Numbers: [83, 16]
Generated Node #0,0,1: 80:[83, 16] Operation: 18-2=16
Moving to Node #0,0,0
Current State: 80:[83, 20], Operations: ['98-15=83', '2+18=20']
Exploring Operation: 83-20=63, Resulting Numbers: [63]
63,80 unequal: No Solution
Exploring Operation: 83+20=103, Resulting Numbers: [103]
103,80 unequal: No Solution
Moving to Node #0,0,1
Current State: 80:[83, 16], Operations: ['98-15=83', '18-2=16']
Exploring Operation: 83+16=99, Resulting Numbers: [99]
99,80 unequal: No Solution
Exploring Operation: 83-16=67, Resulting Numbers: [67]
67,80 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 |
[
96,
97,
87,
71
] | 16 | [
"97-96=1",
"87-71=16",
"1*16=16"
] | Current State: 16:[96, 97, 87, 71], Operations: []
Exploring Operation: 97-96=1, Resulting Numbers: [87, 71, 1]
Generated Node #2: [87, 71, 1] from Operation: 97-96=1
Current State: 16:[87, 71, 1], Operations: ['97-96=1']
Exploring Operation: 87-71=16, Resulting Numbers: [1, 16]
Generated Node #3: [1, 16] from Operation: 87-71=16
Current State: 16:[1, 16], Operations: ['97-96=1', '87-71=16']
Exploring Operation: 1*16=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[96, 97, 87, 71], Operations: []
Exploring Operation: 96-87=9, Resulting Numbers: [97, 71, 9]
Generated Node #0,0: 16:[97, 71, 9] Operation: 96-87=9
Exploring Operation: 97-96=1, Resulting Numbers: [87, 71, 1]
Generated Node #0,1: 16:[87, 71, 1] Operation: 97-96=1
Exploring Operation: 97-87=10, Resulting Numbers: [96, 71, 10]
Generated Node #0,2: 16:[96, 71, 10] Operation: 97-87=10
Moving to Node #0,1
Current State: 16:[87, 71, 1], Operations: ['97-96=1']
Exploring Operation: 87-71=16, Resulting Numbers: [1, 16]
Generated Node #0,1,0: 16:[1, 16] Operation: 87-71=16
Exploring Operation: 71-1=70, Resulting Numbers: [87, 70]
Generated Node #0,1,1: 16:[87, 70] Operation: 71-1=70
Exploring Operation: 87-1=86, Resulting Numbers: [71, 86]
Generated Node #0,1,2: 16:[71, 86] Operation: 87-1=86
Moving to Node #0,0
Current State: 16:[97, 71, 9], Operations: ['96-87=9']
Exploring Operation: 97-71=26, Resulting Numbers: [9, 26]
Generated Node #0,0,0: 16:[9, 26] Operation: 97-71=26
Exploring Operation: 97-9=88, Resulting Numbers: [71, 88]
Generated Node #0,0,1: 16:[71, 88] Operation: 97-9=88
Exploring Operation: 71-9=62, Resulting Numbers: [97, 62]
Generated Node #0,0,2: 16:[97, 62] Operation: 71-9=62
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 16:[9, 26], Operations: ['96-87=9', '97-71=26']
Exploring Operation: 9*26=234, Resulting Numbers: [234]
234,16 unequal: No Solution
Exploring Operation: 26-9=17, Resulting Numbers: [17]
17,16 unequal: No Solution
Exploring Operation: 9+26=35, Resulting Numbers: [35]
35,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 16:[71, 88], Operations: ['96-87=9', '97-9=88']
Exploring Operation: 71+88=159, Resulting Numbers: [159]
159,16 unequal: No Solution
Exploring Operation: 71*88=6248, Resulting Numbers: [6248]
6248,16 unequal: No Solution
Exploring Operation: 88-71=17, Resulting Numbers: [17]
17,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 16:[97, 62], Operations: ['96-87=9', '71-9=62']
Exploring Operation: 97-62=35, Resulting Numbers: [35]
35,16 unequal: No Solution
Exploring Operation: 97*62=6014, Resulting Numbers: [6014]
6014,16 unequal: No Solution
Exploring Operation: 97+62=159, Resulting Numbers: [159]
159,16 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: 16:[96, 71, 10], Operations: ['97-87=10']
Exploring Operation: 96-10=86, Resulting Numbers: [71, 86]
Generated Node #0,2,0: 16:[71, 86] Operation: 96-10=86
Exploring Operation: 71-10=61, Resulting Numbers: [96, 61]
Generated Node #0,2,1: 16:[96, 61] Operation: 71-10=61
Exploring Operation: 96-71=25, Resulting Numbers: [10, 25]
Generated Node #0,2,2: 16:[10, 25] Operation: 96-71=25
Moving to Node #0,1,0
Current State: 16:[1, 16], Operations: ['97-96=1', '87-71=16']
Exploring Operation: 1*16=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[96, 97, 87, 71], Operations: []
Exploring Operation: 97-96=1, Resulting Numbers: [87, 71, 1]
Generated Node #0,1: 16:[87, 71, 1] Operation: 97-96=1
Moving to Node #0,1
Current State: 16:[87, 71, 1], Operations: ['97-96=1']
Exploring Operation: 87-71=16, Resulting Numbers: [1, 16]
Generated Node #0,1,0: 16:[1, 16] Operation: 87-71=16
Moving to Node #0,1,0
Current State: 16:[1, 16], Operations: ['97-96=1', '87-71=16']
Exploring Operation: 1*16=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 0.977431 | hs_3 | sum_heuristic |
[
3,
43,
19,
64
] | 50 | [
"3*19=57",
"43+64=107",
"107-57=50"
] | Current State: 50:[3, 43, 19, 64], Operations: []
Exploring Operation: 3*19=57, Resulting Numbers: [43, 64, 57]
Generated Node #2: [43, 64, 57] from Operation: 3*19=57
Current State: 50:[43, 64, 57], Operations: ['3*19=57']
Exploring Operation: 43+64=107, Resulting Numbers: [57, 107]
Generated Node #3: [57, 107] from Operation: 43+64=107
Current State: 50:[57, 107], Operations: ['3*19=57', '43+64=107']
Exploring Operation: 107-57=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[3, 43, 19, 64], Operations: []
Exploring Operation: 64-19=45, Resulting Numbers: [3, 43, 45]
Generated Node #0,0: 50:[3, 43, 45] Operation: 64-19=45
Exploring Operation: 64-43=21, Resulting Numbers: [3, 19, 21]
Generated Node #0,1: 50:[3, 19, 21] Operation: 64-43=21
Moving to Node #0,1
Current State: 50:[3, 19, 21], Operations: ['64-43=21']
Exploring Operation: 3+19=22, Resulting Numbers: [21, 22]
Generated Node #0,1,0: 50:[21, 22] Operation: 3+19=22
Exploring Operation: 21-19=2, Resulting Numbers: [3, 2]
Generated Node #0,1,1: 50:[3, 2] Operation: 21-19=2
Moving to Node #0,0
Current State: 50:[3, 43, 45], Operations: ['64-19=45']
Exploring Operation: 45-43=2, Resulting Numbers: [3, 2]
Generated Node #0,0,0: 50:[3, 2] Operation: 45-43=2
Exploring Operation: 3+43=46, Resulting Numbers: [45, 46]
Generated Node #0,0,1: 50:[45, 46] Operation: 3+43=46
Moving to Node #0,1,1
Current State: 50:[3, 2], Operations: ['64-43=21', '21-19=2']
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,50 unequal: No Solution
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,50 unequal: No Solution
Moving to Node #0,0,0
Current State: 50:[3, 2], Operations: ['64-19=45', '45-43=2']
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,50 unequal: No Solution
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,50 unequal: No Solution
Moving to Node #0,1,0
Current State: 50:[21, 22], Operations: ['64-43=21', '3+19=22']
Exploring Operation: 21+22=43, Resulting Numbers: [43]
43,50 unequal: No Solution
Exploring Operation: 22-21=1, Resulting Numbers: [1]
1,50 unequal: No Solution
Moving to Node #0,0,1
Current State: 50:[45, 46], Operations: ['64-19=45', '3+43=46']
Exploring Operation: 45+46=91, Resulting Numbers: [91]
91,50 unequal: No Solution
Exploring Operation: 46-45=1, Resulting Numbers: [1]
1,50 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
60,
24,
13,
49
] | 90 | [
"49-13=36",
"60*36=2160",
"2160/24=90"
] | Current State: 90:[60, 24, 13, 49], Operations: []
Exploring Operation: 49-13=36, Resulting Numbers: [60, 24, 36]
Generated Node #2: [60, 24, 36] from Operation: 49-13=36
Current State: 90:[60, 24, 36], Operations: ['49-13=36']
Exploring Operation: 60*36=2160, Resulting Numbers: [24, 2160]
Generated Node #3: [24, 2160] from Operation: 60*36=2160
Current State: 90:[24, 2160], Operations: ['49-13=36', '60*36=2160']
Exploring Operation: 2160/24=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[60, 24, 13, 49], Operations: []
Exploring Operation: 60-49=11, Resulting Numbers: [24, 13, 11]
Generated Node #0,0: 90:[24, 13, 11] Operation: 60-49=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[24, 13, 11], Operations: ['60-49=11']
Exploring Operation: 24-13=11, Resulting Numbers: [11, 11]
Generated Node #0,0,0: 90:[11, 11] Operation: 24-13=11
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 90:[11, 11], Operations: ['60-49=11', '24-13=11']
Exploring Operation: 11/11=1, Resulting Numbers: [1]
1,90 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 |
[
78,
68,
3,
65
] | 58 | [
"78-68=10",
"3+65=68",
"68-10=58"
] | Current State: 58:[78, 68, 3, 65], Operations: []
Exploring Operation: 78-68=10, Resulting Numbers: [3, 65, 10]
Generated Node #2: [3, 65, 10] from Operation: 78-68=10
Current State: 58:[3, 65, 10], Operations: ['78-68=10']
Exploring Operation: 3+65=68, Resulting Numbers: [10, 68]
Generated Node #3: [10, 68] from Operation: 3+65=68
Current State: 58:[10, 68], Operations: ['78-68=10', '3+65=68']
Exploring Operation: 68-10=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[78, 68, 3, 65], Operations: []
Exploring Operation: 78/3=26, Resulting Numbers: [68, 65, 26]
Generated Node #0,0: 58:[68, 65, 26] Operation: 78/3=26
Exploring Operation: 78-68=10, Resulting Numbers: [3, 65, 10]
Generated Node #0,1: 58:[3, 65, 10] Operation: 78-68=10
Start Sub Search at level 1: Moving to Node #0,1
Current State: 58:[3, 65, 10], Operations: ['78-68=10']
Exploring Operation: 3*10=30, Resulting Numbers: [65, 30]
Generated Node #0,1,0: 58:[65, 30] Operation: 3*10=30
Exploring Operation: 65-10=55, Resulting Numbers: [3, 55]
Generated Node #0,1,1: 58:[3, 55] Operation: 65-10=55
Moving to Node #0,1,1
Current State: 58:[3, 55], Operations: ['78-68=10', '65-10=55']
Exploring Operation: 3+55=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[78, 68, 3, 65], Operations: []
Exploring Operation: 78-68=10, Resulting Numbers: [3, 65, 10]
Generated Node #0,1: 58:[3, 65, 10] Operation: 78-68=10
Moving to Node #0,1
Current State: 58:[3, 65, 10], Operations: ['78-68=10']
Exploring Operation: 65-10=55, Resulting Numbers: [3, 55]
Generated Node #0,1,1: 58:[3, 55] Operation: 65-10=55
Moving to Node #0,1,1
Current State: 58:[3, 55], Operations: ['78-68=10', '65-10=55']
Exploring Operation: 3+55=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
23,
34,
38,
15
] | 46 | [
"23*38=874",
"34-15=19",
"874/19=46"
] | Current State: 46:[23, 34, 38, 15], Operations: []
Exploring Operation: 23*38=874, Resulting Numbers: [34, 15, 874]
Generated Node #2: [34, 15, 874] from Operation: 23*38=874
Current State: 46:[34, 15, 874], Operations: ['23*38=874']
Exploring Operation: 34-15=19, Resulting Numbers: [874, 19]
Generated Node #3: [874, 19] from Operation: 34-15=19
Current State: 46:[874, 19], Operations: ['23*38=874', '34-15=19']
Exploring Operation: 874/19=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[23, 34, 38, 15], Operations: []
Exploring Operation: 38-34=4, Resulting Numbers: [23, 15, 4]
Generated Node #0,0: 46:[23, 15, 4] Operation: 38-34=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 46:[23, 15, 4], Operations: ['38-34=4']
Exploring Operation: 15+4=19, Resulting Numbers: [23, 19]
Generated Node #0,0,0: 46:[23, 19] Operation: 15+4=19
Moving to Node #0,0,0
Current State: 46:[23, 19], Operations: ['38-34=4', '15+4=19']
Exploring Operation: 23-19=4, Resulting Numbers: [4]
4,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
8,
73,
95,
99
] | 75 | [
"99-95=4",
"8/4=2",
"73+2=75"
] | Current State: 75:[8, 73, 95, 99], Operations: []
Exploring Operation: 99-95=4, Resulting Numbers: [8, 73, 4]
Generated Node #2: [8, 73, 4] from Operation: 99-95=4
Current State: 75:[8, 73, 4], Operations: ['99-95=4']
Exploring Operation: 8/4=2, Resulting Numbers: [73, 2]
Generated Node #3: [73, 2] from Operation: 8/4=2
Current State: 75:[73, 2], Operations: ['99-95=4', '8/4=2']
Exploring Operation: 73+2=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[8, 73, 95, 99], Operations: []
Exploring Operation: 99-8=91, Resulting Numbers: [73, 95, 91]
Generated Node #0,0: 75:[73, 95, 91] Operation: 99-8=91
Exploring Operation: 95-73=22, Resulting Numbers: [8, 99, 22]
Generated Node #0,1: 75:[8, 99, 22] Operation: 95-73=22
Exploring Operation: 99-95=4, Resulting Numbers: [8, 73, 4]
Generated Node #0,2: 75:[8, 73, 4] Operation: 99-95=4
Exploring Operation: 95-8=87, Resulting Numbers: [73, 99, 87]
Generated Node #0,3: 75:[73, 99, 87] Operation: 95-8=87
Exploring Operation: 99-73=26, Resulting Numbers: [8, 95, 26]
Generated Node #0,4: 75:[8, 95, 26] Operation: 99-73=26
Moving to Node #0,2
Current State: 75:[8, 73, 4], Operations: ['99-95=4']
Exploring Operation: 8+4=12, Resulting Numbers: [73, 12]
Generated Node #0,2,0: 75:[73, 12] Operation: 8+4=12
Exploring Operation: 8+73=81, Resulting Numbers: [4, 81]
Generated Node #0,2,1: 75:[4, 81] Operation: 8+73=81
Exploring Operation: 8-4=4, Resulting Numbers: [73, 4]
Generated Node #0,2,2: 75:[73, 4] Operation: 8-4=4
Exploring Operation: 73+4=77, Resulting Numbers: [8, 77]
Generated Node #0,2,3: 75:[8, 77] Operation: 73+4=77
Exploring Operation: 8/4=2, Resulting Numbers: [73, 2]
Generated Node #0,2,4: 75:[73, 2] Operation: 8/4=2
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 75:[73, 4], Operations: ['99-95=4', '8-4=4']
Exploring Operation: 73*4=292, Resulting Numbers: [292]
292,75 unequal: No Solution
Exploring Operation: 73+4=77, Resulting Numbers: [77]
77,75 unequal: No Solution
Exploring Operation: 73-4=69, Resulting Numbers: [69]
69,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 75:[73, 2], Operations: ['99-95=4', '8/4=2']
Exploring Operation: 73-2=71, Resulting Numbers: [71]
71,75 unequal: No Solution
Exploring Operation: 73*2=146, Resulting Numbers: [146]
146,75 unequal: No Solution
Exploring Operation: 73+2=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[8, 73, 95, 99], Operations: []
Exploring Operation: 99-95=4, Resulting Numbers: [8, 73, 4]
Generated Node #0,2: 75:[8, 73, 4] Operation: 99-95=4
Moving to Node #0,2
Current State: 75:[8, 73, 4], Operations: ['99-95=4']
Exploring Operation: 8/4=2, Resulting Numbers: [73, 2]
Generated Node #0,2,4: 75:[73, 2] Operation: 8/4=2
Moving to Node #0,2,4
Current State: 75:[73, 2], Operations: ['99-95=4', '8/4=2']
Exploring Operation: 73+2=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_5 | sum_heuristic |
[
69,
4,
93,
77
] | 95 | [
"77-69=8",
"8/4=2",
"93+2=95"
] | Current State: 95:[69, 4, 93, 77], Operations: []
Exploring Operation: 77-69=8, Resulting Numbers: [4, 93, 8]
Generated Node #2: [4, 93, 8] from Operation: 77-69=8
Current State: 95:[4, 93, 8], Operations: ['77-69=8']
Exploring Operation: 8/4=2, Resulting Numbers: [93, 2]
Generated Node #3: [93, 2] from Operation: 8/4=2
Current State: 95:[93, 2], Operations: ['77-69=8', '8/4=2']
Exploring Operation: 93+2=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[69, 4, 93, 77], Operations: []
Exploring Operation: 4+77=81, Resulting Numbers: [69, 93, 81]
Generated Node #0,0: 95:[69, 93, 81] Operation: 4+77=81
Exploring Operation: 77-69=8, Resulting Numbers: [4, 93, 8]
Generated Node #0,1: 95:[4, 93, 8] Operation: 77-69=8
Exploring Operation: 93-77=16, Resulting Numbers: [69, 4, 16]
Generated Node #0,2: 95:[69, 4, 16] Operation: 93-77=16
Exploring Operation: 69+4=73, Resulting Numbers: [93, 77, 73]
Generated Node #0,3: 95:[93, 77, 73] Operation: 69+4=73
Exploring Operation: 93-69=24, Resulting Numbers: [4, 77, 24]
Generated Node #0,4: 95:[4, 77, 24] Operation: 93-69=24
Start Sub Search at level 1: Moving to Node #0,1
Current State: 95:[4, 93, 8], Operations: ['77-69=8']
Exploring Operation: 8/4=2, Resulting Numbers: [93, 2]
Generated Node #0,1,0: 95:[93, 2] Operation: 8/4=2
Exploring Operation: 93+8=101, Resulting Numbers: [4, 101]
Generated Node #0,1,1: 95:[4, 101] Operation: 93+8=101
Exploring Operation: 93-4=89, Resulting Numbers: [8, 89]
Generated Node #0,1,2: 95:[8, 89] Operation: 93-4=89
Exploring Operation: 4+93=97, Resulting Numbers: [8, 97]
Generated Node #0,1,3: 95:[8, 97] Operation: 4+93=97
Exploring Operation: 8-4=4, Resulting Numbers: [93, 4]
Generated Node #0,1,4: 95:[93, 4] Operation: 8-4=4
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 95:[93, 4], Operations: ['77-69=8', '8-4=4']
Exploring Operation: 93-4=89, Resulting Numbers: [89]
89,95 unequal: No Solution
Exploring Operation: 93+4=97, Resulting Numbers: [97]
97,95 unequal: No Solution
Exploring Operation: 93*4=372, Resulting Numbers: [372]
372,95 unequal: No Solution
No 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: 95:[93, 2], Operations: ['77-69=8', '8/4=2']
Exploring Operation: 93*2=186, Resulting Numbers: [186]
186,95 unequal: No Solution
Exploring Operation: 93+2=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[69, 4, 93, 77], Operations: []
Exploring Operation: 77-69=8, Resulting Numbers: [4, 93, 8]
Generated Node #0,1: 95:[4, 93, 8] Operation: 77-69=8
Moving to Node #0,1
Current State: 95:[4, 93, 8], Operations: ['77-69=8']
Exploring Operation: 8/4=2, Resulting Numbers: [93, 2]
Generated Node #0,1,0: 95:[93, 2] Operation: 8/4=2
Moving to Node #0,1,0
Current State: 95:[93, 2], Operations: ['77-69=8', '8/4=2']
Exploring Operation: 93+2=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_5 | sum_heuristic |
[
86,
46,
40,
66
] | 44 | [
"86-66=20",
"40/20=2",
"46-2=44"
] | Current State: 44:[86, 46, 40, 66], Operations: []
Exploring Operation: 86-66=20, Resulting Numbers: [46, 40, 20]
Generated Node #2: [46, 40, 20] from Operation: 86-66=20
Current State: 44:[46, 40, 20], Operations: ['86-66=20']
Exploring Operation: 40/20=2, Resulting Numbers: [46, 2]
Generated Node #3: [46, 2] from Operation: 40/20=2
Current State: 44:[46, 2], Operations: ['86-66=20', '40/20=2']
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[86, 46, 40, 66], Operations: []
Exploring Operation: 86-40=46, Resulting Numbers: [46, 66, 46]
Generated Node #0,0: 44:[46, 66, 46] Operation: 86-40=46
Exploring Operation: 66-46=20, Resulting Numbers: [86, 40, 20]
Generated Node #0,1: 44:[86, 40, 20] Operation: 66-46=20
Exploring Operation: 86-66=20, Resulting Numbers: [46, 40, 20]
Generated Node #0,2: 44:[46, 40, 20] Operation: 86-66=20
Exploring Operation: 86-46=40, Resulting Numbers: [40, 66, 40]
Generated Node #0,3: 44:[40, 66, 40] Operation: 86-46=40
Exploring Operation: 66-40=26, Resulting Numbers: [86, 46, 26]
Generated Node #0,4: 44:[86, 46, 26] Operation: 66-40=26
Start Sub Search at level 1: Moving to Node #0,2
Current State: 44:[46, 40, 20], Operations: ['86-66=20']
Exploring Operation: 46-40=6, Resulting Numbers: [20, 6]
Generated Node #0,2,0: 44:[20, 6] Operation: 46-40=6
Exploring Operation: 40+20=60, Resulting Numbers: [46, 60]
Generated Node #0,2,1: 44:[46, 60] Operation: 40+20=60
Exploring Operation: 46-20=26, Resulting Numbers: [40, 26]
Generated Node #0,2,2: 44:[40, 26] Operation: 46-20=26
Exploring Operation: 40-20=20, Resulting Numbers: [46, 20]
Generated Node #0,2,3: 44:[46, 20] Operation: 40-20=20
Exploring Operation: 40/20=2, Resulting Numbers: [46, 2]
Generated Node #0,2,4: 44:[46, 2] Operation: 40/20=2
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 44:[46, 2], Operations: ['86-66=20', '40/20=2']
Exploring Operation: 46*2=92, Resulting Numbers: [92]
92,44 unequal: No Solution
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,44 unequal: No Solution
Exploring Operation: 46+2=48, Resulting Numbers: [48]
48,44 unequal: No Solution
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[86, 46, 40, 66], Operations: []
Exploring Operation: 86-66=20, Resulting Numbers: [46, 40, 20]
Generated Node #0,2: 44:[46, 40, 20] Operation: 86-66=20
Moving to Node #0,2
Current State: 44:[46, 40, 20], Operations: ['86-66=20']
Exploring Operation: 40/20=2, Resulting Numbers: [46, 2]
Generated Node #0,2,4: 44:[46, 2] Operation: 40/20=2
Moving to Node #0,2,4
Current State: 44:[46, 2], Operations: ['86-66=20', '40/20=2']
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_5 | mult_heuristic |
[
16,
32,
4,
13
] | 92 | [
"16-13=3",
"32*3=96",
"96-4=92"
] | Current State: 92:[16, 32, 4, 13], Operations: []
Exploring Operation: 16-13=3, Resulting Numbers: [32, 4, 3]
Generated Node #2: [32, 4, 3] from Operation: 16-13=3
Current State: 92:[32, 4, 3], Operations: ['16-13=3']
Exploring Operation: 32*3=96, Resulting Numbers: [4, 96]
Generated Node #3: [4, 96] from Operation: 32*3=96
Current State: 92:[4, 96], Operations: ['16-13=3', '32*3=96']
Exploring Operation: 96-4=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[16, 32, 4, 13], Operations: []
Exploring Operation: 32+13=45, Resulting Numbers: [16, 4, 45]
Generated Node #0,0: 92:[16, 4, 45] Operation: 32+13=45
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[16, 4, 45], Operations: ['32+13=45']
Exploring Operation: 16/4=4, Resulting Numbers: [45, 4]
Generated Node #0,0,0: 92:[45, 4] Operation: 16/4=4
Moving to Node #0,0,0
Current State: 92:[45, 4], Operations: ['32+13=45', '16/4=4']
Exploring Operation: 45+4=49, Resulting Numbers: [49]
49,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
28,
8,
36,
36
] | 28 | [
"28+36=64",
"64/8=8",
"36-8=28"
] | Current State: 28:[28, 8, 36, 36], Operations: []
Exploring Operation: 28+36=64, Resulting Numbers: [8, 64]
Generated Node #2: [8, 64] from Operation: 28+36=64
Current State: 28:[8, 64], Operations: ['28+36=64']
Exploring Operation: 64/8=8, Resulting Numbers: [8]
8,28 equal: Goal Reached
Exploring Operation: 36-8=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[28, 8, 36, 36], Operations: []
Exploring Operation: 36/36=1, Resulting Numbers: [28, 8, 1]
Generated Node #0,0: 28:[28, 8, 1] Operation: 36/36=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[28, 8, 1], Operations: ['36/36=1']
Exploring Operation: 8-1=7, Resulting Numbers: [28, 7]
Generated Node #0,0,0: 28:[28, 7] Operation: 8-1=7
Moving to Node #0,0,0
Current State: 28:[28, 7], Operations: ['36/36=1', '8-1=7']
Exploring Operation: 28/7=4, Resulting Numbers: [4]
4,28 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.