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 |
|---|---|---|---|---|---|---|---|---|
[
54,
61,
24,
79
] | 21 | [
"79-61=18",
"54/18=3",
"24-3=21"
] | Current State: 21:[54, 61, 24, 79], Operations: []
Exploring Operation: 79-61=18, Resulting Numbers: [54, 24, 18]
Generated Node #2: [54, 24, 18] from Operation: 79-61=18
Current State: 21:[54, 24, 18], Operations: ['79-61=18']
Exploring Operation: 54/18=3, Resulting Numbers: [24, 3]
Generated Node #3: [24, 3] from Operation: 54/18=3
Current State: 21:[24, 3], Operations: ['79-61=18', '54/18=3']
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[54, 61, 24, 79], Operations: []
Exploring Operation: 61-54=7, Resulting Numbers: [24, 79, 7]
Generated Node #0,0: 21:[24, 79, 7] Operation: 61-54=7
Exploring Operation: 54-24=30, Resulting Numbers: [61, 79, 30]
Generated Node #0,1: 21:[61, 79, 30] Operation: 54-24=30
Exploring Operation: 79-61=18, Resulting Numbers: [54, 24, 18]
Generated Node #0,2: 21:[54, 24, 18] Operation: 79-61=18
Exploring Operation: 79-54=25, Resulting Numbers: [61, 24, 25]
Generated Node #0,3: 21:[61, 24, 25] Operation: 79-54=25
Start Sub Search at level 1: Moving to Node #0,2
Current State: 21:[54, 24, 18], Operations: ['79-61=18']
Exploring Operation: 54-18=36, Resulting Numbers: [24, 36]
Generated Node #0,2,0: 21:[24, 36] Operation: 54-18=36
Exploring Operation: 54/18=3, Resulting Numbers: [24, 3]
Generated Node #0,2,1: 21:[24, 3] Operation: 54/18=3
Exploring Operation: 54-24=30, Resulting Numbers: [18, 30]
Generated Node #0,2,2: 21:[18, 30] Operation: 54-24=30
Exploring Operation: 24-18=6, Resulting Numbers: [54, 6]
Generated Node #0,2,3: 21:[54, 6] Operation: 24-18=6
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 21:[24, 3], Operations: ['79-61=18', '54/18=3']
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[54, 61, 24, 79], Operations: []
Exploring Operation: 79-61=18, Resulting Numbers: [54, 24, 18]
Generated Node #0,2: 21:[54, 24, 18] Operation: 79-61=18
Moving to Node #0,2
Current State: 21:[54, 24, 18], Operations: ['79-61=18']
Exploring Operation: 54/18=3, Resulting Numbers: [24, 3]
Generated Node #0,2,1: 21:[24, 3] Operation: 54/18=3
Moving to Node #0,2,1
Current State: 21:[24, 3], Operations: ['79-61=18', '54/18=3']
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
97,
23,
45,
8
] | 42 | [
"97+45=142",
"23*8=184",
"184-142=42"
] | Current State: 42:[97, 23, 45, 8], Operations: []
Exploring Operation: 97+45=142, Resulting Numbers: [23, 8, 142]
Generated Node #2: [23, 8, 142] from Operation: 97+45=142
Current State: 42:[23, 8, 142], Operations: ['97+45=142']
Exploring Operation: 23*8=184, Resulting Numbers: [142, 184]
Generated Node #3: [142, 184] from Operation: 23*8=184
Current State: 42:[142, 184], Operations: ['97+45=142', '23*8=184']
Exploring Operation: 184-142=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[97, 23, 45, 8], Operations: []
Exploring Operation: 97-23=74, Resulting Numbers: [45, 8, 74]
Generated Node #0,0: 42:[45, 8, 74] Operation: 97-23=74
Exploring Operation: 97-45=52, Resulting Numbers: [23, 8, 52]
Generated Node #0,1: 42:[23, 8, 52] Operation: 97-45=52
Exploring Operation: 97-8=89, Resulting Numbers: [23, 45, 89]
Generated Node #0,2: 42:[23, 45, 89] Operation: 97-8=89
Moving to Node #0,1
Current State: 42:[23, 8, 52], Operations: ['97-45=52']
Exploring Operation: 23-8=15, Resulting Numbers: [52, 15]
Generated Node #0,1,0: 42:[52, 15] Operation: 23-8=15
Exploring Operation: 52-23=29, Resulting Numbers: [8, 29]
Generated Node #0,1,1: 42:[8, 29] Operation: 52-23=29
Exploring Operation: 52-8=44, Resulting Numbers: [23, 44]
Generated Node #0,1,2: 42:[23, 44] Operation: 52-8=44
Moving to Node #0,0
Current State: 42:[45, 8, 74], Operations: ['97-23=74']
Exploring Operation: 74-8=66, Resulting Numbers: [45, 66]
Generated Node #0,0,0: 42:[45, 66] Operation: 74-8=66
Exploring Operation: 45-8=37, Resulting Numbers: [74, 37]
Generated Node #0,0,1: 42:[74, 37] Operation: 45-8=37
Exploring Operation: 74-45=29, Resulting Numbers: [8, 29]
Generated Node #0,0,2: 42:[8, 29] Operation: 74-45=29
Moving to Node #0,2
Current State: 42:[23, 45, 89], Operations: ['97-8=89']
Exploring Operation: 89-23=66, Resulting Numbers: [45, 66]
Generated Node #0,2,0: 42:[45, 66] Operation: 89-23=66
Exploring Operation: 89-45=44, Resulting Numbers: [23, 44]
Generated Node #0,2,1: 42:[23, 44] Operation: 89-45=44
Exploring Operation: 45-23=22, Resulting Numbers: [89, 22]
Generated Node #0,2,2: 42:[89, 22] Operation: 45-23=22
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 42:[23, 44], Operations: ['97-8=89', '89-45=44']
Exploring Operation: 44-23=21, Resulting Numbers: [21]
21,42 unequal: No Solution
Exploring Operation: 23+44=67, Resulting Numbers: [67]
67,42 unequal: No Solution
Exploring Operation: 23*44=1012, Resulting Numbers: [1012]
1012,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 42:[45, 66], Operations: ['97-8=89', '89-23=66']
Exploring Operation: 45+66=111, Resulting Numbers: [111]
111,42 unequal: No Solution
Exploring Operation: 45*66=2970, Resulting Numbers: [2970]
2970,42 unequal: No Solution
Exploring Operation: 66-45=21, Resulting Numbers: [21]
21,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 42:[89, 22], Operations: ['97-8=89', '45-23=22']
Exploring Operation: 89+22=111, Resulting Numbers: [111]
111,42 unequal: No Solution
Exploring Operation: 89*22=1958, Resulting Numbers: [1958]
1958,42 unequal: No Solution
Exploring Operation: 89-22=67, Resulting Numbers: [67]
67,42 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: 42:[23, 44], Operations: ['97-45=52', '52-8=44']
Exploring Operation: 23+44=67, Resulting Numbers: [67]
67,42 unequal: No Solution
Exploring Operation: 44-23=21, Resulting Numbers: [21]
21,42 unequal: No Solution
Exploring Operation: 23*44=1012, Resulting Numbers: [1012]
1012,42 unequal: No Solution
Moving to Node #0,1,1
Current State: 42:[8, 29], Operations: ['97-45=52', '52-23=29']
Exploring Operation: 8*29=232, Resulting Numbers: [232]
232,42 unequal: No Solution
Exploring Operation: 8+29=37, Resulting Numbers: [37]
37,42 unequal: No Solution
Exploring Operation: 29-8=21, Resulting Numbers: [21]
21,42 unequal: No Solution
Moving to Node #0,0,2
Current State: 42:[8, 29], Operations: ['97-23=74', '74-45=29']
Exploring Operation: 8*29=232, Resulting Numbers: [232]
232,42 unequal: No Solution
Exploring Operation: 8+29=37, Resulting Numbers: [37]
37,42 unequal: No Solution
Exploring Operation: 29-8=21, Resulting Numbers: [21]
21,42 unequal: No Solution
Moving to Node #0,1,0
Current State: 42:[52, 15], Operations: ['97-45=52', '23-8=15']
Exploring Operation: 52+15=67, Resulting Numbers: [67]
67,42 unequal: No Solution
Exploring Operation: 52*15=780, Resulting Numbers: [780]
780,42 unequal: No Solution
Exploring Operation: 52-15=37, Resulting Numbers: [37]
37,42 unequal: No Solution
Moving to Node #0,0,0
Current State: 42:[45, 66], Operations: ['97-23=74', '74-8=66']
Exploring Operation: 66-45=21, Resulting Numbers: [21]
21,42 unequal: No Solution
Exploring Operation: 45*66=2970, Resulting Numbers: [2970]
2970,42 unequal: No Solution
Exploring Operation: 45+66=111, Resulting Numbers: [111]
111,42 unequal: No Solution
Moving to Node #0,0,1
Current State: 42:[74, 37], Operations: ['97-23=74', '45-8=37']
Exploring Operation: 74-37=37, Resulting Numbers: [37]
37,42 unequal: No Solution
Exploring Operation: 74+37=111, Resulting Numbers: [111]
111,42 unequal: No Solution
Exploring Operation: 74/37=2, Resulting Numbers: [2]
2,42 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
60,
54,
84,
50
] | 25 | [
"84-54=30",
"60/30=2",
"50/2=25"
] | Current State: 25:[60, 54, 84, 50], Operations: []
Exploring Operation: 84-54=30, Resulting Numbers: [60, 50, 30]
Generated Node #2: [60, 50, 30] from Operation: 84-54=30
Current State: 25:[60, 50, 30], Operations: ['84-54=30']
Exploring Operation: 60/30=2, Resulting Numbers: [50, 2]
Generated Node #3: [50, 2] from Operation: 60/30=2
Current State: 25:[50, 2], Operations: ['84-54=30', '60/30=2']
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[60, 54, 84, 50], Operations: []
Exploring Operation: 84-54=30, Resulting Numbers: [60, 50, 30]
Generated Node #0,0: 25:[60, 50, 30] Operation: 84-54=30
Exploring Operation: 84-60=24, Resulting Numbers: [54, 50, 24]
Generated Node #0,1: 25:[54, 50, 24] Operation: 84-60=24
Exploring Operation: 84-50=34, Resulting Numbers: [60, 54, 34]
Generated Node #0,2: 25:[60, 54, 34] Operation: 84-50=34
Moving to Node #0,1
Current State: 25:[54, 50, 24], Operations: ['84-60=24']
Exploring Operation: 50-24=26, Resulting Numbers: [54, 26]
Generated Node #0,1,0: 25:[54, 26] Operation: 50-24=26
Exploring Operation: 54-50=4, Resulting Numbers: [24, 4]
Generated Node #0,1,1: 25:[24, 4] Operation: 54-50=4
Exploring Operation: 54-24=30, Resulting Numbers: [50, 30]
Generated Node #0,1,2: 25:[50, 30] Operation: 54-24=30
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 25:[24, 4], Operations: ['84-60=24', '54-50=4']
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,25 unequal: No Solution
Exploring Operation: 24+4=28, Resulting Numbers: [28]
28,25 unequal: No Solution
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,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,1,0
Current State: 25:[54, 26], Operations: ['84-60=24', '50-24=26']
Exploring Operation: 54-26=28, Resulting Numbers: [28]
28,25 unequal: No Solution
Exploring Operation: 54*26=1404, Resulting Numbers: [1404]
1404,25 unequal: No Solution
Exploring Operation: 54+26=80, Resulting Numbers: [80]
80,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,1,2
Current State: 25:[50, 30], Operations: ['84-60=24', '54-24=30']
Exploring Operation: 50*30=1500, Resulting Numbers: [1500]
1500,25 unequal: No Solution
Exploring Operation: 50-30=20, Resulting Numbers: [20]
20,25 unequal: No Solution
Exploring Operation: 50+30=80, Resulting Numbers: [80]
80,25 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: 25:[60, 50, 30], Operations: ['84-54=30']
Exploring Operation: 60-50=10, Resulting Numbers: [30, 10]
Generated Node #0,0,0: 25:[30, 10] Operation: 60-50=10
Exploring Operation: 60-30=30, Resulting Numbers: [50, 30]
Generated Node #0,0,1: 25:[50, 30] Operation: 60-30=30
Exploring Operation: 60/30=2, Resulting Numbers: [50, 2]
Generated Node #0,0,2: 25:[50, 2] Operation: 60/30=2
Moving to Node #0,2
Current State: 25:[60, 54, 34], Operations: ['84-50=34']
Exploring Operation: 54-34=20, Resulting Numbers: [60, 20]
Generated Node #0,2,0: 25:[60, 20] Operation: 54-34=20
Exploring Operation: 60-54=6, Resulting Numbers: [34, 6]
Generated Node #0,2,1: 25:[34, 6] Operation: 60-54=6
Exploring Operation: 60-34=26, Resulting Numbers: [54, 26]
Generated Node #0,2,2: 25:[54, 26] Operation: 60-34=26
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 25:[34, 6], Operations: ['84-50=34', '60-54=6']
Exploring Operation: 34*6=204, Resulting Numbers: [204]
204,25 unequal: No Solution
Exploring Operation: 34-6=28, Resulting Numbers: [28]
28,25 unequal: No Solution
Exploring Operation: 34+6=40, Resulting Numbers: [40]
40,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 25:[54, 26], Operations: ['84-50=34', '60-34=26']
Exploring Operation: 54-26=28, Resulting Numbers: [28]
28,25 unequal: No Solution
Exploring Operation: 54+26=80, Resulting Numbers: [80]
80,25 unequal: No Solution
Exploring Operation: 54*26=1404, Resulting Numbers: [1404]
1404,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 25:[60, 20], Operations: ['84-50=34', '54-34=20']
Exploring Operation: 60+20=80, Resulting Numbers: [80]
80,25 unequal: No Solution
Exploring Operation: 60-20=40, Resulting Numbers: [40]
40,25 unequal: No Solution
Exploring Operation: 60/20=3, Resulting Numbers: [3]
3,25 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: 25:[30, 10], Operations: ['84-54=30', '60-50=10']
Exploring Operation: 30+10=40, Resulting Numbers: [40]
40,25 unequal: No Solution
Exploring Operation: 30/10=3, Resulting Numbers: [3]
3,25 unequal: No Solution
Exploring Operation: 30-10=20, Resulting Numbers: [20]
20,25 unequal: No Solution
Moving to Node #0,0,2
Current State: 25:[50, 2], Operations: ['84-54=30', '60/30=2']
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,25 unequal: No Solution
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[60, 54, 84, 50], Operations: []
Exploring Operation: 84-54=30, Resulting Numbers: [60, 50, 30]
Generated Node #0,0: 25:[60, 50, 30] Operation: 84-54=30
Moving to Node #0,0
Current State: 25:[60, 50, 30], Operations: ['84-54=30']
Exploring Operation: 60/30=2, Resulting Numbers: [50, 2]
Generated Node #0,0,2: 25:[50, 2] Operation: 60/30=2
Moving to Node #0,0,2
Current State: 25:[50, 2], Operations: ['84-54=30', '60/30=2']
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 0.966146 | hs_3 | sum_heuristic |
[
17,
64,
67,
79
] | 99 | [
"64-17=47",
"67+79=146",
"146-47=99"
] | Current State: 99:[17, 64, 67, 79], Operations: []
Exploring Operation: 64-17=47, Resulting Numbers: [67, 79, 47]
Generated Node #2: [67, 79, 47] from Operation: 64-17=47
Current State: 99:[67, 79, 47], Operations: ['64-17=47']
Exploring Operation: 67+79=146, Resulting Numbers: [47, 146]
Generated Node #3: [47, 146] from Operation: 67+79=146
Current State: 99:[47, 146], Operations: ['64-17=47', '67+79=146']
Exploring Operation: 146-47=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[17, 64, 67, 79], Operations: []
Exploring Operation: 67-64=3, Resulting Numbers: [17, 79, 3]
Generated Node #0,0: 99:[17, 79, 3] Operation: 67-64=3
Exploring Operation: 79-67=12, Resulting Numbers: [17, 64, 12]
Generated Node #0,1: 99:[17, 64, 12] Operation: 79-67=12
Exploring Operation: 79-64=15, Resulting Numbers: [17, 67, 15]
Generated Node #0,2: 99:[17, 67, 15] Operation: 79-64=15
Moving to Node #0,0
Current State: 99:[17, 79, 3], Operations: ['67-64=3']
Exploring Operation: 79+3=82, Resulting Numbers: [17, 82]
Generated Node #0,0,0: 99:[17, 82] Operation: 79+3=82
Exploring Operation: 17+79=96, Resulting Numbers: [3, 96]
Generated Node #0,0,1: 99:[3, 96] Operation: 17+79=96
Exploring Operation: 17-3=14, Resulting Numbers: [79, 14]
Generated Node #0,0,2: 99:[79, 14] Operation: 17-3=14
Moving to Node #0,1
Current State: 99:[17, 64, 12], Operations: ['79-67=12']
Exploring Operation: 17+64=81, Resulting Numbers: [12, 81]
Generated Node #0,1,0: 99:[12, 81] Operation: 17+64=81
Exploring Operation: 64-12=52, Resulting Numbers: [17, 52]
Generated Node #0,1,1: 99:[17, 52] Operation: 64-12=52
Exploring Operation: 64-17=47, Resulting Numbers: [12, 47]
Generated Node #0,1,2: 99:[12, 47] Operation: 64-17=47
Moving to Node #0,2
Current State: 99:[17, 67, 15], Operations: ['79-64=15']
Exploring Operation: 67+15=82, Resulting Numbers: [17, 82]
Generated Node #0,2,0: 99:[17, 82] Operation: 67+15=82
Exploring Operation: 17+67=84, Resulting Numbers: [15, 84]
Generated Node #0,2,1: 99:[15, 84] Operation: 17+67=84
Exploring Operation: 67-17=50, Resulting Numbers: [15, 50]
Generated Node #0,2,2: 99:[15, 50] Operation: 67-17=50
Moving to Node #0,0,1
Current State: 99:[3, 96], Operations: ['67-64=3', '17+79=96']
Exploring Operation: 96/3=32, Resulting Numbers: [32]
32,99 unequal: No Solution
Exploring Operation: 3+96=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[17, 64, 67, 79], Operations: []
Exploring Operation: 67-64=3, Resulting Numbers: [17, 79, 3]
Generated Node #0,0: 99:[17, 79, 3] Operation: 67-64=3
Moving to Node #0,0
Current State: 99:[17, 79, 3], Operations: ['67-64=3']
Exploring Operation: 17+79=96, Resulting Numbers: [3, 96]
Generated Node #0,0,1: 99:[3, 96] Operation: 17+79=96
Moving to Node #0,0,1
Current State: 99:[3, 96], Operations: ['67-64=3', '17+79=96']
Exploring Operation: 3+96=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 0.984375 | hs_3 | sum_heuristic |
[
91,
39,
84,
60
] | 92 | [
"91-39=52",
"84+60=144",
"144-52=92"
] | Current State: 92:[91, 39, 84, 60], Operations: []
Exploring Operation: 91-39=52, Resulting Numbers: [84, 60, 52]
Generated Node #2: [84, 60, 52] from Operation: 91-39=52
Current State: 92:[84, 60, 52], Operations: ['91-39=52']
Exploring Operation: 84+60=144, Resulting Numbers: [52, 144]
Generated Node #3: [52, 144] from Operation: 84+60=144
Current State: 92:[52, 144], Operations: ['91-39=52', '84+60=144']
Exploring Operation: 144-52=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[91, 39, 84, 60], Operations: []
Exploring Operation: 84-39=45, Resulting Numbers: [91, 60, 45]
Generated Node #0,0: 92:[91, 60, 45] Operation: 84-39=45
Exploring Operation: 60-39=21, Resulting Numbers: [91, 84, 21]
Generated Node #0,1: 92:[91, 84, 21] Operation: 60-39=21
Exploring Operation: 39+60=99, Resulting Numbers: [91, 84, 99]
Generated Node #0,2: 92:[91, 84, 99] Operation: 39+60=99
Exploring Operation: 84-60=24, Resulting Numbers: [91, 39, 24]
Generated Node #0,3: 92:[91, 39, 24] Operation: 84-60=24
Start Sub Search at level 1: Moving to Node #0,3
Current State: 92:[91, 39, 24], Operations: ['84-60=24']
Exploring Operation: 39-24=15, Resulting Numbers: [91, 15]
Generated Node #0,3,0: 92:[91, 15] Operation: 39-24=15
Exploring Operation: 91-24=67, Resulting Numbers: [39, 67]
Generated Node #0,3,1: 92:[39, 67] Operation: 91-24=67
Exploring Operation: 39+24=63, Resulting Numbers: [91, 63]
Generated Node #0,3,2: 92:[91, 63] Operation: 39+24=63
Exploring Operation: 91-39=52, Resulting Numbers: [24, 52]
Generated Node #0,3,3: 92:[24, 52] Operation: 91-39=52
Moving to Node #0,3,3
Current State: 92:[24, 52], Operations: ['84-60=24', '91-39=52']
Exploring Operation: 52-24=28, Resulting Numbers: [28]
28,92 unequal: No Solution
Exploring Operation: 24+52=76, Resulting Numbers: [76]
76,92 unequal: No Solution
Exploring Operation: 24*52=1248, Resulting Numbers: [1248]
1248,92 unequal: No Solution
Moving to Node #0,3,0
Current State: 92:[91, 15], Operations: ['84-60=24', '39-24=15']
Exploring Operation: 91-15=76, Resulting Numbers: [76]
76,92 unequal: No Solution
Exploring Operation: 91+15=106, Resulting Numbers: [106]
106,92 unequal: No Solution
Exploring Operation: 91*15=1365, Resulting Numbers: [1365]
1365,92 unequal: No Solution
Moving to Node #0,3,2
Current State: 92:[91, 63], Operations: ['84-60=24', '39+24=63']
Exploring Operation: 91*63=5733, Resulting Numbers: [5733]
5733,92 unequal: No Solution
Exploring Operation: 91-63=28, Resulting Numbers: [28]
28,92 unequal: No Solution
Exploring Operation: 91+63=154, Resulting Numbers: [154]
154,92 unequal: No Solution
Moving to Node #0,3,1
Current State: 92:[39, 67], Operations: ['84-60=24', '91-24=67']
Exploring Operation: 67-39=28, Resulting Numbers: [28]
28,92 unequal: No Solution
Exploring Operation: 39*67=2613, Resulting Numbers: [2613]
2613,92 unequal: No Solution
Exploring Operation: 39+67=106, Resulting Numbers: [106]
106,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 92:[91, 84, 21], Operations: ['60-39=21']
Exploring Operation: 84-21=63, Resulting Numbers: [91, 63]
Generated Node #0,1,0: 92:[91, 63] Operation: 84-21=63
Exploring Operation: 84/21=4, Resulting Numbers: [91, 4]
Generated Node #0,1,1: 92:[91, 4] Operation: 84/21=4
Exploring Operation: 84+21=105, Resulting Numbers: [91, 105]
Generated Node #0,1,2: 92:[91, 105] Operation: 84+21=105
Exploring Operation: 91-84=7, Resulting Numbers: [21, 7]
Generated Node #0,1,3: 92:[21, 7] Operation: 91-84=7
Moving to Node #0,1,1
Current State: 92:[91, 4], Operations: ['60-39=21', '84/21=4']
Exploring Operation: 91+4=95, Resulting Numbers: [95]
95,92 unequal: No Solution
Exploring Operation: 91*4=364, Resulting Numbers: [364]
364,92 unequal: No Solution
Exploring Operation: 91-4=87, Resulting Numbers: [87]
87,92 unequal: No Solution
Moving to Node #0,1,3
Current State: 92:[21, 7], Operations: ['60-39=21', '91-84=7']
Exploring Operation: 21/7=3, Resulting Numbers: [3]
3,92 unequal: No Solution
Exploring Operation: 21-7=14, Resulting Numbers: [14]
14,92 unequal: No Solution
Exploring Operation: 21*7=147, Resulting Numbers: [147]
147,92 unequal: No Solution
Exploring Operation: 21+7=28, Resulting Numbers: [28]
28,92 unequal: No Solution
Moving to Node #0,1,2
Current State: 92:[91, 105], Operations: ['60-39=21', '84+21=105']
Exploring Operation: 105-91=14, Resulting Numbers: [14]
14,92 unequal: No Solution
Exploring Operation: 91+105=196, Resulting Numbers: [196]
196,92 unequal: No Solution
Exploring Operation: 91*105=9555, Resulting Numbers: [9555]
9555,92 unequal: No Solution
Moving to Node #0,1,0
Current State: 92:[91, 63], Operations: ['60-39=21', '84-21=63']
Exploring Operation: 91*63=5733, Resulting Numbers: [5733]
5733,92 unequal: No Solution
Exploring Operation: 91-63=28, Resulting Numbers: [28]
28,92 unequal: No Solution
Exploring Operation: 91+63=154, Resulting Numbers: [154]
154,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[91, 60, 45], Operations: ['84-39=45']
Exploring Operation: 60+45=105, Resulting Numbers: [91, 105]
Generated Node #0,0,0: 92:[91, 105] Operation: 60+45=105
Exploring Operation: 91-60=31, Resulting Numbers: [45, 31]
Generated Node #0,0,1: 92:[45, 31] Operation: 91-60=31
Exploring Operation: 60-45=15, Resulting Numbers: [91, 15]
Generated Node #0,0,2: 92:[91, 15] Operation: 60-45=15
Exploring Operation: 91-45=46, Resulting Numbers: [60, 46]
Generated Node #0,0,3: 92:[60, 46] Operation: 91-45=46
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 92:[45, 31], Operations: ['84-39=45', '91-60=31']
Exploring Operation: 45+31=76, Resulting Numbers: [76]
76,92 unequal: No Solution
Exploring Operation: 45-31=14, Resulting Numbers: [14]
14,92 unequal: No Solution
Exploring Operation: 45*31=1395, Resulting Numbers: [1395]
1395,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 92:[91, 15], Operations: ['84-39=45', '60-45=15']
Exploring Operation: 91+15=106, Resulting Numbers: [106]
106,92 unequal: No Solution
Exploring Operation: 91-15=76, Resulting Numbers: [76]
76,92 unequal: No Solution
Exploring Operation: 91*15=1365, Resulting Numbers: [1365]
1365,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 92:[91, 105], Operations: ['84-39=45', '60+45=105']
Exploring Operation: 105-91=14, Resulting Numbers: [14]
14,92 unequal: No Solution
Exploring Operation: 91*105=9555, Resulting Numbers: [9555]
9555,92 unequal: No Solution
Exploring Operation: 91+105=196, Resulting Numbers: [196]
196,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 92:[60, 46], Operations: ['84-39=45', '91-45=46']
Exploring Operation: 60*46=2760, Resulting Numbers: [2760]
2760,92 unequal: No Solution
Exploring Operation: 60-46=14, Resulting Numbers: [14]
14,92 unequal: No Solution
Exploring Operation: 60+46=106, Resulting Numbers: [106]
106,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 92:[91, 84, 99], Operations: ['39+60=99']
Exploring Operation: 99-84=15, Resulting Numbers: [91, 15]
Generated Node #0,2,0: 92:[91, 15] Operation: 99-84=15
Exploring Operation: 99-91=8, Resulting Numbers: [84, 8]
Generated Node #0,2,1: 92:[84, 8] Operation: 99-91=8
Exploring Operation: 91+84=175, Resulting Numbers: [99, 175]
Generated Node #0,2,2: 92:[99, 175] Operation: 91+84=175
Exploring Operation: 91-84=7, Resulting Numbers: [99, 7]
Generated Node #0,2,3: 92:[99, 7] Operation: 91-84=7
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 92:[91, 15], Operations: ['39+60=99', '99-84=15']
Exploring Operation: 91+15=106, Resulting Numbers: [106]
106,92 unequal: No Solution
Exploring Operation: 91*15=1365, Resulting Numbers: [1365]
1365,92 unequal: No Solution
Exploring Operation: 91-15=76, Resulting Numbers: [76]
76,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 92:[99, 7], Operations: ['39+60=99', '91-84=7']
Exploring Operation: 99-7=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[91, 39, 84, 60], Operations: []
Exploring Operation: 39+60=99, Resulting Numbers: [91, 84, 99]
Generated Node #0,2: 92:[91, 84, 99] Operation: 39+60=99
Moving to Node #0,2
Current State: 92:[91, 84, 99], Operations: ['39+60=99']
Exploring Operation: 91-84=7, Resulting Numbers: [99, 7]
Generated Node #0,2,3: 92:[99, 7] Operation: 91-84=7
Moving to Node #0,2,3
Current State: 92:[99, 7], Operations: ['39+60=99', '91-84=7']
Exploring Operation: 99-7=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.943576 | hs_4 | sum_heuristic |
[
80,
38,
69,
19
] | 30 | [
"80+38=118",
"69+19=88",
"118-88=30"
] | Current State: 30:[80, 38, 69, 19], Operations: []
Exploring Operation: 80+38=118, Resulting Numbers: [69, 19, 118]
Generated Node #2: [69, 19, 118] from Operation: 80+38=118
Current State: 30:[69, 19, 118], Operations: ['80+38=118']
Exploring Operation: 69+19=88, Resulting Numbers: [118, 88]
Generated Node #3: [118, 88] from Operation: 69+19=88
Current State: 30:[118, 88], Operations: ['80+38=118', '69+19=88']
Exploring Operation: 118-88=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[80, 38, 69, 19], Operations: []
Exploring Operation: 80-69=11, Resulting Numbers: [38, 19, 11]
Generated Node #0,0: 30:[38, 19, 11] Operation: 80-69=11
Moving to Node #0,0
Current State: 30:[38, 19, 11], Operations: ['80-69=11']
Exploring Operation: 38/19=2, Resulting Numbers: [11, 2]
Generated Node #0,0,0: 30:[11, 2] Operation: 38/19=2
Moving to Node #0,0,0
Current State: 30:[11, 2], Operations: ['80-69=11', '38/19=2']
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,30 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
59,
2,
97,
58
] | 10 | [
"97-59=38",
"58-38=20",
"20/2=10"
] | Current State: 10:[59, 2, 97, 58], Operations: []
Exploring Operation: 97-59=38, Resulting Numbers: [2, 58, 38]
Generated Node #2: [2, 58, 38] from Operation: 97-59=38
Current State: 10:[2, 58, 38], Operations: ['97-59=38']
Exploring Operation: 58-38=20, Resulting Numbers: [2, 20]
Generated Node #3: [2, 20] from Operation: 58-38=20
Current State: 10:[2, 20], Operations: ['97-59=38', '58-38=20']
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[59, 2, 97, 58], Operations: []
Exploring Operation: 59-58=1, Resulting Numbers: [2, 97, 1]
Generated Node #0,0: 10:[2, 97, 1] Operation: 59-58=1
Exploring Operation: 97-59=38, Resulting Numbers: [2, 58, 38]
Generated Node #0,1: 10:[2, 58, 38] Operation: 97-59=38
Exploring Operation: 97-58=39, Resulting Numbers: [59, 2, 39]
Generated Node #0,2: 10:[59, 2, 39] Operation: 97-58=39
Moving to Node #0,1
Current State: 10:[2, 58, 38], Operations: ['97-59=38']
Exploring Operation: 58/2=29, Resulting Numbers: [38, 29]
Generated Node #0,1,0: 10:[38, 29] Operation: 58/2=29
Exploring Operation: 58-38=20, Resulting Numbers: [2, 20]
Generated Node #0,1,1: 10:[2, 20] Operation: 58-38=20
Exploring Operation: 38/2=19, Resulting Numbers: [58, 19]
Generated Node #0,1,2: 10:[58, 19] Operation: 38/2=19
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 10:[2, 20], Operations: ['97-59=38', '58-38=20']
Exploring Operation: 2+20=22, Resulting Numbers: [22]
22,10 unequal: No Solution
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,10 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[59, 2, 97, 58], Operations: []
Exploring Operation: 97-59=38, Resulting Numbers: [2, 58, 38]
Generated Node #0,1: 10:[2, 58, 38] Operation: 97-59=38
Moving to Node #0,1
Current State: 10:[2, 58, 38], Operations: ['97-59=38']
Exploring Operation: 58-38=20, Resulting Numbers: [2, 20]
Generated Node #0,1,1: 10:[2, 20] Operation: 58-38=20
Moving to Node #0,1,1
Current State: 10:[2, 20], Operations: ['97-59=38', '58-38=20']
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
86,
84,
96,
19
] | 55 | [
"86+84=170",
"96+19=115",
"170-115=55"
] | Current State: 55:[86, 84, 96, 19], Operations: []
Exploring Operation: 86+84=170, Resulting Numbers: [96, 19, 170]
Generated Node #2: [96, 19, 170] from Operation: 86+84=170
Current State: 55:[96, 19, 170], Operations: ['86+84=170']
Exploring Operation: 96+19=115, Resulting Numbers: [170, 115]
Generated Node #3: [170, 115] from Operation: 96+19=115
Current State: 55:[170, 115], Operations: ['86+84=170', '96+19=115']
Exploring Operation: 170-115=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[86, 84, 96, 19], Operations: []
Exploring Operation: 96-84=12, Resulting Numbers: [86, 19, 12]
Generated Node #0,0: 55:[86, 19, 12] Operation: 96-84=12
Exploring Operation: 96-86=10, Resulting Numbers: [84, 19, 10]
Generated Node #0,1: 55:[84, 19, 10] Operation: 96-86=10
Exploring Operation: 86-84=2, Resulting Numbers: [96, 19, 2]
Generated Node #0,2: 55:[96, 19, 2] Operation: 86-84=2
Exploring Operation: 86-19=67, Resulting Numbers: [84, 96, 67]
Generated Node #0,3: 55:[84, 96, 67] Operation: 86-19=67
Start Sub Search at level 1: Moving to Node #0,1
Current State: 55:[84, 19, 10], Operations: ['96-86=10']
Exploring Operation: 84+10=94, Resulting Numbers: [19, 94]
Generated Node #0,1,0: 55:[19, 94] Operation: 84+10=94
Exploring Operation: 84-10=74, Resulting Numbers: [19, 74]
Generated Node #0,1,1: 55:[19, 74] Operation: 84-10=74
Exploring Operation: 19-10=9, Resulting Numbers: [84, 9]
Generated Node #0,1,2: 55:[84, 9] Operation: 19-10=9
Exploring Operation: 84-19=65, Resulting Numbers: [10, 65]
Generated Node #0,1,3: 55:[10, 65] Operation: 84-19=65
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 55:[10, 65], Operations: ['96-86=10', '84-19=65']
Exploring Operation: 10*65=650, Resulting Numbers: [650]
650,55 unequal: No Solution
Exploring Operation: 65-10=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[86, 84, 96, 19], Operations: []
Exploring Operation: 96-86=10, Resulting Numbers: [84, 19, 10]
Generated Node #0,1: 55:[84, 19, 10] Operation: 96-86=10
Moving to Node #0,1
Current State: 55:[84, 19, 10], Operations: ['96-86=10']
Exploring Operation: 84-19=65, Resulting Numbers: [10, 65]
Generated Node #0,1,3: 55:[10, 65] Operation: 84-19=65
Moving to Node #0,1,3
Current State: 55:[10, 65], Operations: ['96-86=10', '84-19=65']
Exploring Operation: 65-10=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
10,
2,
31,
23
] | 29 | [
"10+23=33",
"2*31=62",
"62-33=29"
] | Current State: 29:[10, 2, 31, 23], Operations: []
Exploring Operation: 10+23=33, Resulting Numbers: [2, 31, 33]
Generated Node #2: [2, 31, 33] from Operation: 10+23=33
Current State: 29:[2, 31, 33], Operations: ['10+23=33']
Exploring Operation: 2*31=62, Resulting Numbers: [33, 62]
Generated Node #3: [33, 62] from Operation: 2*31=62
Current State: 29:[33, 62], Operations: ['10+23=33', '2*31=62']
Exploring Operation: 62-33=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[10, 2, 31, 23], Operations: []
Exploring Operation: 10+2=12, Resulting Numbers: [31, 23, 12]
Generated Node #0,0: 29:[31, 23, 12] Operation: 10+2=12
Exploring Operation: 10*2=20, Resulting Numbers: [31, 23, 20]
Generated Node #0,1: 29:[31, 23, 20] Operation: 10*2=20
Start Sub Search at level 1: Moving to Node #0,1
Current State: 29:[31, 23, 20], Operations: ['10*2=20']
Exploring Operation: 23+20=43, Resulting Numbers: [31, 43]
Generated Node #0,1,0: 29:[31, 43] Operation: 23+20=43
Exploring Operation: 31-20=11, Resulting Numbers: [23, 11]
Generated Node #0,1,1: 29:[23, 11] Operation: 31-20=11
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 29:[31, 43], Operations: ['10*2=20', '23+20=43']
Exploring Operation: 31+43=74, Resulting Numbers: [74]
74,29 unequal: No Solution
Exploring Operation: 43-31=12, Resulting Numbers: [12]
12,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 29:[23, 11], Operations: ['10*2=20', '31-20=11']
Exploring Operation: 23-11=12, Resulting Numbers: [12]
12,29 unequal: No Solution
Exploring Operation: 23+11=34, Resulting Numbers: [34]
34,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[31, 23, 12], Operations: ['10+2=12']
Exploring Operation: 31-12=19, Resulting Numbers: [23, 19]
Generated Node #0,0,0: 29:[23, 19] Operation: 31-12=19
Exploring Operation: 23+12=35, Resulting Numbers: [31, 35]
Generated Node #0,0,1: 29:[31, 35] Operation: 23+12=35
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 29:[31, 35], Operations: ['10+2=12', '23+12=35']
Exploring Operation: 35-31=4, Resulting Numbers: [4]
4,29 unequal: No Solution
Exploring Operation: 31+35=66, Resulting Numbers: [66]
66,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 29:[23, 19], Operations: ['10+2=12', '31-12=19']
Exploring Operation: 23-19=4, Resulting Numbers: [4]
4,29 unequal: No Solution
Exploring Operation: 23+19=42, Resulting Numbers: [42]
42,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
6,
50,
7,
24
] | 73 | [
"6+50=56",
"24-7=17",
"56+17=73"
] | Current State: 73:[6, 50, 7, 24], Operations: []
Exploring Operation: 6+50=56, Resulting Numbers: [7, 24, 56]
Generated Node #2: [7, 24, 56] from Operation: 6+50=56
Current State: 73:[7, 24, 56], Operations: ['6+50=56']
Exploring Operation: 24-7=17, Resulting Numbers: [56, 17]
Generated Node #3: [56, 17] from Operation: 24-7=17
Current State: 73:[56, 17], Operations: ['6+50=56', '24-7=17']
Exploring Operation: 56+17=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[6, 50, 7, 24], Operations: []
Exploring Operation: 6*7=42, Resulting Numbers: [50, 24, 42]
Generated Node #0,0: 73:[50, 24, 42] Operation: 6*7=42
Exploring Operation: 6+50=56, Resulting Numbers: [7, 24, 56]
Generated Node #0,1: 73:[7, 24, 56] Operation: 6+50=56
Exploring Operation: 6+7=13, Resulting Numbers: [50, 24, 13]
Generated Node #0,2: 73:[50, 24, 13] Operation: 6+7=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[50, 24, 42], Operations: ['6*7=42']
Exploring Operation: 50+42=92, Resulting Numbers: [24, 92]
Generated Node #0,0,0: 73:[24, 92] Operation: 50+42=92
Exploring Operation: 24+42=66, Resulting Numbers: [50, 66]
Generated Node #0,0,1: 73:[50, 66] Operation: 24+42=66
Exploring Operation: 50+24=74, Resulting Numbers: [42, 74]
Generated Node #0,0,2: 73:[42, 74] Operation: 50+24=74
Moving to Node #0,0,1
Current State: 73:[50, 66], Operations: ['6*7=42', '24+42=66']
Exploring Operation: 50+66=116, Resulting Numbers: [116]
116,73 unequal: No Solution
Exploring Operation: 50*66=3300, Resulting Numbers: [3300]
3300,73 unequal: No Solution
Exploring Operation: 66-50=16, Resulting Numbers: [16]
16,73 unequal: No Solution
Moving to Node #0,0,2
Current State: 73:[42, 74], Operations: ['6*7=42', '50+24=74']
Exploring Operation: 42+74=116, Resulting Numbers: [116]
116,73 unequal: No Solution
Exploring Operation: 74-42=32, Resulting Numbers: [32]
32,73 unequal: No Solution
Exploring Operation: 42*74=3108, Resulting Numbers: [3108]
3108,73 unequal: No Solution
Moving to Node #0,0,0
Current State: 73:[24, 92], Operations: ['6*7=42', '50+42=92']
Exploring Operation: 24+92=116, Resulting Numbers: [116]
116,73 unequal: No Solution
Exploring Operation: 24*92=2208, Resulting Numbers: [2208]
2208,73 unequal: No Solution
Exploring Operation: 92-24=68, Resulting Numbers: [68]
68,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 73:[7, 24, 56], Operations: ['6+50=56']
Exploring Operation: 24-7=17, Resulting Numbers: [56, 17]
Generated Node #0,1,0: 73:[56, 17] Operation: 24-7=17
Exploring Operation: 7+24=31, Resulting Numbers: [56, 31]
Generated Node #0,1,1: 73:[56, 31] Operation: 7+24=31
Exploring Operation: 7+56=63, Resulting Numbers: [24, 63]
Generated Node #0,1,2: 73:[24, 63] Operation: 7+56=63
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 73:[56, 31], Operations: ['6+50=56', '7+24=31']
Exploring Operation: 56-31=25, Resulting Numbers: [25]
25,73 unequal: No Solution
Exploring Operation: 56+31=87, Resulting Numbers: [87]
87,73 unequal: No Solution
Exploring Operation: 56*31=1736, Resulting Numbers: [1736]
1736,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 73:[24, 63], Operations: ['6+50=56', '7+56=63']
Exploring Operation: 24+63=87, Resulting Numbers: [87]
87,73 unequal: No Solution
Exploring Operation: 63-24=39, Resulting Numbers: [39]
39,73 unequal: No Solution
Exploring Operation: 24*63=1512, Resulting Numbers: [1512]
1512,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 73:[56, 17], Operations: ['6+50=56', '24-7=17']
Exploring Operation: 56-17=39, Resulting Numbers: [39]
39,73 unequal: No Solution
Exploring Operation: 56*17=952, Resulting Numbers: [952]
952,73 unequal: No Solution
Exploring Operation: 56+17=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[6, 50, 7, 24], Operations: []
Exploring Operation: 6+50=56, Resulting Numbers: [7, 24, 56]
Generated Node #0,1: 73:[7, 24, 56] Operation: 6+50=56
Moving to Node #0,1
Current State: 73:[7, 24, 56], Operations: ['6+50=56']
Exploring Operation: 24-7=17, Resulting Numbers: [56, 17]
Generated Node #0,1,0: 73:[56, 17] Operation: 24-7=17
Moving to Node #0,1,0
Current State: 73:[56, 17], Operations: ['6+50=56', '24-7=17']
Exploring Operation: 56+17=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.97309 | hs_3 | sum_heuristic |
[
94,
6,
36,
72
] | 96 | [
"94-72=22",
"6*22=132",
"132-36=96"
] | Current State: 96:[94, 6, 36, 72], Operations: []
Exploring Operation: 94-72=22, Resulting Numbers: [6, 36, 22]
Generated Node #2: [6, 36, 22] from Operation: 94-72=22
Current State: 96:[6, 36, 22], Operations: ['94-72=22']
Exploring Operation: 6*22=132, Resulting Numbers: [36, 132]
Generated Node #3: [36, 132] from Operation: 6*22=132
Current State: 96:[36, 132], Operations: ['94-72=22', '6*22=132']
Exploring Operation: 132-36=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[94, 6, 36, 72], Operations: []
Exploring Operation: 72/36=2, Resulting Numbers: [94, 6, 2]
Generated Node #0,0: 96:[94, 6, 2] Operation: 72/36=2
Moving to Node #0,0
Current State: 96:[94, 6, 2], Operations: ['72/36=2']
Exploring Operation: 94+2=96, Resulting Numbers: [6, 96]
Generated Node #0,0,0: 96:[6, 96] Operation: 94+2=96
Moving to Node #0,0,0
Current State: 96:[6, 96], Operations: ['72/36=2', '94+2=96']
Exploring Operation: 96/6=16, Resulting Numbers: [16]
16,96 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
65,
57,
3,
38
] | 24 | [
"65-38=27",
"3*27=81",
"81-57=24"
] | Current State: 24:[65, 57, 3, 38], Operations: []
Exploring Operation: 65-38=27, Resulting Numbers: [57, 3, 27]
Generated Node #2: [57, 3, 27] from Operation: 65-38=27
Current State: 24:[57, 3, 27], Operations: ['65-38=27']
Exploring Operation: 3*27=81, Resulting Numbers: [57, 81]
Generated Node #3: [57, 81] from Operation: 3*27=81
Current State: 24:[57, 81], Operations: ['65-38=27', '3*27=81']
Exploring Operation: 81-57=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[65, 57, 3, 38], Operations: []
Exploring Operation: 65-57=8, Resulting Numbers: [3, 38, 8]
Generated Node #0,0: 24:[3, 38, 8] Operation: 65-57=8
Exploring Operation: 65-38=27, Resulting Numbers: [57, 3, 27]
Generated Node #0,1: 24:[57, 3, 27] Operation: 65-38=27
Moving to Node #0,0
Current State: 24:[3, 38, 8], Operations: ['65-57=8']
Exploring Operation: 38-3=35, Resulting Numbers: [8, 35]
Generated Node #0,0,0: 24:[8, 35] Operation: 38-3=35
Exploring Operation: 38-8=30, Resulting Numbers: [3, 30]
Generated Node #0,0,1: 24:[3, 30] Operation: 38-8=30
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 24:[3, 30], Operations: ['65-57=8', '38-8=30']
Exploring Operation: 30-3=27, Resulting Numbers: [27]
27,24 unequal: No Solution
Exploring Operation: 30/3=10, Resulting Numbers: [10]
10,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 24:[8, 35], Operations: ['65-57=8', '38-3=35']
Exploring Operation: 35-8=27, Resulting Numbers: [27]
27,24 unequal: No Solution
Exploring Operation: 8+35=43, Resulting Numbers: [43]
43,24 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: 24:[57, 3, 27], Operations: ['65-38=27']
Exploring Operation: 57/3=19, Resulting Numbers: [27, 19]
Generated Node #0,1,0: 24:[27, 19] Operation: 57/3=19
Exploring Operation: 57-27=30, Resulting Numbers: [3, 30]
Generated Node #0,1,1: 24:[3, 30] Operation: 57-27=30
Moving to Node #0,1,1
Current State: 24:[3, 30], Operations: ['65-38=27', '57-27=30']
Exploring Operation: 30/3=10, Resulting Numbers: [10]
10,24 unequal: No Solution
Exploring Operation: 30-3=27, Resulting Numbers: [27]
27,24 unequal: No Solution
Moving to Node #0,1,0
Current State: 24:[27, 19], Operations: ['65-38=27', '57/3=19']
Exploring Operation: 27-19=8, Resulting Numbers: [8]
8,24 unequal: No Solution
Exploring Operation: 27+19=46, Resulting Numbers: [46]
46,24 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
91,
16,
71,
24
] | 60 | [
"91+16=107",
"71-24=47",
"107-47=60"
] | Current State: 60:[91, 16, 71, 24], Operations: []
Exploring Operation: 91+16=107, Resulting Numbers: [71, 24, 107]
Generated Node #2: [71, 24, 107] from Operation: 91+16=107
Current State: 60:[71, 24, 107], Operations: ['91+16=107']
Exploring Operation: 71-24=47, Resulting Numbers: [107, 47]
Generated Node #3: [107, 47] from Operation: 71-24=47
Current State: 60:[107, 47], Operations: ['91+16=107', '71-24=47']
Exploring Operation: 107-47=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[91, 16, 71, 24], Operations: []
Exploring Operation: 91-24=67, Resulting Numbers: [16, 71, 67]
Generated Node #0,0: 60:[16, 71, 67] Operation: 91-24=67
Exploring Operation: 91-71=20, Resulting Numbers: [16, 24, 20]
Generated Node #0,1: 60:[16, 24, 20] Operation: 91-71=20
Exploring Operation: 91-16=75, Resulting Numbers: [71, 24, 75]
Generated Node #0,2: 60:[71, 24, 75] Operation: 91-16=75
Moving to Node #0,1
Current State: 60:[16, 24, 20], Operations: ['91-71=20']
Exploring Operation: 24-20=4, Resulting Numbers: [16, 4]
Generated Node #0,1,0: 60:[16, 4] Operation: 24-20=4
Exploring Operation: 24-16=8, Resulting Numbers: [20, 8]
Generated Node #0,1,1: 60:[20, 8] Operation: 24-16=8
Exploring Operation: 20-16=4, Resulting Numbers: [24, 4]
Generated Node #0,1,2: 60:[24, 4] Operation: 20-16=4
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 60:[16, 4], Operations: ['91-71=20', '24-20=4']
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,60 unequal: No Solution
Exploring Operation: 16+4=20, Resulting Numbers: [20]
20,60 unequal: No Solution
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,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,1,1
Current State: 60:[20, 8], Operations: ['91-71=20', '24-16=8']
Exploring Operation: 20*8=160, Resulting Numbers: [160]
160,60 unequal: No Solution
Exploring Operation: 20+8=28, Resulting Numbers: [28]
28,60 unequal: No Solution
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,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,1,2
Current State: 60:[24, 4], Operations: ['91-71=20', '20-16=4']
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,60 unequal: No Solution
Exploring Operation: 24+4=28, Resulting Numbers: [28]
28,60 unequal: No Solution
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,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:[16, 71, 67], Operations: ['91-24=67']
Exploring Operation: 67-16=51, Resulting Numbers: [71, 51]
Generated Node #0,0,0: 60:[71, 51] Operation: 67-16=51
Exploring Operation: 71-67=4, Resulting Numbers: [16, 4]
Generated Node #0,0,1: 60:[16, 4] Operation: 71-67=4
Exploring Operation: 71-16=55, Resulting Numbers: [67, 55]
Generated Node #0,0,2: 60:[67, 55] Operation: 71-16=55
Moving to Node #0,2
Current State: 60:[71, 24, 75], Operations: ['91-16=75']
Exploring Operation: 75-71=4, Resulting Numbers: [24, 4]
Generated Node #0,2,0: 60:[24, 4] Operation: 75-71=4
Exploring Operation: 75-24=51, Resulting Numbers: [71, 51]
Generated Node #0,2,1: 60:[71, 51] Operation: 75-24=51
Exploring Operation: 71-24=47, Resulting Numbers: [75, 47]
Generated Node #0,2,2: 60:[75, 47] Operation: 71-24=47
Moving to Node #0,0,1
Current State: 60:[16, 4], Operations: ['91-24=67', '71-67=4']
Exploring Operation: 16+4=20, Resulting Numbers: [20]
20,60 unequal: No Solution
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,60 unequal: No Solution
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,60 unequal: No Solution
Moving to Node #0,2,0
Current State: 60:[24, 4], Operations: ['91-16=75', '75-71=4']
Exploring Operation: 24+4=28, Resulting Numbers: [28]
28,60 unequal: No Solution
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,60 unequal: No Solution
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,60 unequal: No Solution
Moving to Node #0,0,2
Current State: 60:[67, 55], Operations: ['91-24=67', '71-16=55']
Exploring Operation: 67*55=3685, Resulting Numbers: [3685]
3685,60 unequal: No Solution
Exploring Operation: 67+55=122, Resulting Numbers: [122]
122,60 unequal: No Solution
Exploring Operation: 67-55=12, Resulting Numbers: [12]
12,60 unequal: No Solution
Moving to Node #0,0,0
Current State: 60:[71, 51], Operations: ['91-24=67', '67-16=51']
Exploring Operation: 71+51=122, Resulting Numbers: [122]
122,60 unequal: No Solution
Exploring Operation: 71*51=3621, Resulting Numbers: [3621]
3621,60 unequal: No Solution
Exploring Operation: 71-51=20, Resulting Numbers: [20]
20,60 unequal: No Solution
Moving to Node #0,2,1
Current State: 60:[71, 51], Operations: ['91-16=75', '75-24=51']
Exploring Operation: 71*51=3621, Resulting Numbers: [3621]
3621,60 unequal: No Solution
Exploring Operation: 71-51=20, Resulting Numbers: [20]
20,60 unequal: No Solution
Exploring Operation: 71+51=122, Resulting Numbers: [122]
122,60 unequal: No Solution
Moving to Node #0,2,2
Current State: 60:[75, 47], Operations: ['91-16=75', '71-24=47']
Exploring Operation: 75-47=28, Resulting Numbers: [28]
28,60 unequal: No Solution
Exploring Operation: 75*47=3525, Resulting Numbers: [3525]
3525,60 unequal: No Solution
Exploring Operation: 75+47=122, Resulting Numbers: [122]
122,60 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
13,
7,
2,
22
] | 63 | [
"13+22=35",
"2*35=70",
"70-7=63"
] | Current State: 63:[13, 7, 2, 22], Operations: []
Exploring Operation: 13+22=35, Resulting Numbers: [7, 2, 35]
Generated Node #2: [7, 2, 35] from Operation: 13+22=35
Current State: 63:[7, 2, 35], Operations: ['13+22=35']
Exploring Operation: 2*35=70, Resulting Numbers: [7, 70]
Generated Node #3: [7, 70] from Operation: 2*35=70
Current State: 63:[7, 70], Operations: ['13+22=35', '2*35=70']
Exploring Operation: 70-7=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[13, 7, 2, 22], Operations: []
Exploring Operation: 22-13=9, Resulting Numbers: [7, 2, 9]
Generated Node #0,0: 63:[7, 2, 9] Operation: 22-13=9
Moving to Node #0,0
Current State: 63:[7, 2, 9], Operations: ['22-13=9']
Exploring Operation: 7+2=9, Resulting Numbers: [9, 9]
Generated Node #0,0,0: 63:[9, 9] Operation: 7+2=9
Moving to Node #0,0,0
Current State: 63:[9, 9], Operations: ['22-13=9', '7+2=9']
Exploring Operation: 9/9=1, Resulting Numbers: [1]
1,63 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
15,
5,
31,
16
] | 44 | [
"15/5=3",
"31+16=47",
"47-3=44"
] | Current State: 44:[15, 5, 31, 16], Operations: []
Exploring Operation: 15/5=3, Resulting Numbers: [31, 16, 3]
Generated Node #2: [31, 16, 3] from Operation: 15/5=3
Current State: 44:[31, 16, 3], Operations: ['15/5=3']
Exploring Operation: 31+16=47, Resulting Numbers: [3, 47]
Generated Node #3: [3, 47] from Operation: 31+16=47
Current State: 44:[3, 47], Operations: ['15/5=3', '31+16=47']
Exploring Operation: 47-3=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[15, 5, 31, 16], Operations: []
Exploring Operation: 31+16=47, Resulting Numbers: [15, 5, 47]
Generated Node #0,0: 44:[15, 5, 47] Operation: 31+16=47
Exploring Operation: 31-15=16, Resulting Numbers: [5, 16, 16]
Generated Node #0,1: 44:[5, 16, 16] Operation: 31-15=16
Exploring Operation: 31-16=15, Resulting Numbers: [15, 5, 15]
Generated Node #0,2: 44:[15, 5, 15] Operation: 31-16=15
Exploring Operation: 15+31=46, Resulting Numbers: [5, 16, 46]
Generated Node #0,3: 44:[5, 16, 46] Operation: 15+31=46
Moving to Node #0,0
Current State: 44:[15, 5, 47], Operations: ['31+16=47']
Exploring Operation: 47-5=42, Resulting Numbers: [15, 42]
Generated Node #0,0,0: 44:[15, 42] Operation: 47-5=42
Exploring Operation: 15+5=20, Resulting Numbers: [47, 20]
Generated Node #0,0,1: 44:[47, 20] Operation: 15+5=20
Exploring Operation: 15/5=3, Resulting Numbers: [47, 3]
Generated Node #0,0,2: 44:[47, 3] Operation: 15/5=3
Exploring Operation: 15-5=10, Resulting Numbers: [47, 10]
Generated Node #0,0,3: 44:[47, 10] Operation: 15-5=10
Moving to Node #0,3
Current State: 44:[5, 16, 46], Operations: ['15+31=46']
Exploring Operation: 46-5=41, Resulting Numbers: [16, 41]
Generated Node #0,3,0: 44:[16, 41] Operation: 46-5=41
Exploring Operation: 5+16=21, Resulting Numbers: [46, 21]
Generated Node #0,3,1: 44:[46, 21] Operation: 5+16=21
Exploring Operation: 46-16=30, Resulting Numbers: [5, 30]
Generated Node #0,3,2: 44:[5, 30] Operation: 46-16=30
Exploring Operation: 16-5=11, Resulting Numbers: [46, 11]
Generated Node #0,3,3: 44:[46, 11] Operation: 16-5=11
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 44:[46, 11], Operations: ['15+31=46', '16-5=11']
Exploring Operation: 46-11=35, Resulting Numbers: [35]
35,44 unequal: No Solution
Exploring Operation: 46+11=57, Resulting Numbers: [57]
57,44 unequal: No Solution
Exploring Operation: 46*11=506, Resulting Numbers: [506]
506,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 44:[46, 21], Operations: ['15+31=46', '5+16=21']
Exploring Operation: 46-21=25, Resulting Numbers: [25]
25,44 unequal: No Solution
Exploring Operation: 46+21=67, Resulting Numbers: [67]
67,44 unequal: No Solution
Exploring Operation: 46*21=966, Resulting Numbers: [966]
966,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 44:[16, 41], Operations: ['15+31=46', '46-5=41']
Exploring Operation: 41-16=25, Resulting Numbers: [25]
25,44 unequal: No Solution
Exploring Operation: 16+41=57, Resulting Numbers: [57]
57,44 unequal: No Solution
Exploring Operation: 16*41=656, Resulting Numbers: [656]
656,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 44:[5, 30], Operations: ['15+31=46', '46-16=30']
Exploring Operation: 30/5=6, Resulting Numbers: [6]
6,44 unequal: No Solution
Exploring Operation: 5*30=150, Resulting Numbers: [150]
150,44 unequal: No Solution
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,44 unequal: No Solution
Exploring Operation: 5+30=35, Resulting Numbers: [35]
35,44 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: 44:[15, 5, 15], Operations: ['31-16=15']
Exploring Operation: 15/5=3, Resulting Numbers: [15, 3]
Generated Node #0,2,0: 44:[15, 3] Operation: 15/5=3
Exploring Operation: 15-15=0, Resulting Numbers: [5, 0]
Generated Node #0,2,1: 44:[5, 0] Operation: 15-15=0
Exploring Operation: 15/15=1, Resulting Numbers: [5, 1]
Generated Node #0,2,2: 44:[5, 1] Operation: 15/15=1
Exploring Operation: 15-5=10, Resulting Numbers: [15, 10]
Generated Node #0,2,3: 44:[15, 10] Operation: 15-5=10
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 44:[5, 1], Operations: ['31-16=15', '15/15=1']
Exploring Operation: 5/1=5, Resulting Numbers: [5]
5,44 unequal: No Solution
Exploring Operation: 5+1=6, Resulting Numbers: [6]
6,44 unequal: No Solution
Exploring Operation: 5*1=5, Resulting Numbers: [5]
5,44 unequal: No Solution
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 44:[5, 0], Operations: ['31-16=15', '15-15=0']
Exploring Operation: 5-0=5, Resulting Numbers: [5]
5,44 unequal: No Solution
Exploring Operation: 5+0=5, Resulting Numbers: [5]
5,44 unequal: No Solution
Exploring Operation: 5*0=0, Resulting Numbers: [0]
0,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 44:[15, 3], Operations: ['31-16=15', '15/5=3']
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,44 unequal: No Solution
Exploring Operation: 15+3=18, Resulting Numbers: [18]
18,44 unequal: No Solution
Exploring Operation: 15*3=45, Resulting Numbers: [45]
45,44 unequal: No Solution
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 44:[15, 10], Operations: ['31-16=15', '15-5=10']
Exploring Operation: 15*10=150, Resulting Numbers: [150]
150,44 unequal: No Solution
Exploring Operation: 15-10=5, Resulting Numbers: [5]
5,44 unequal: No Solution
Exploring Operation: 15+10=25, Resulting Numbers: [25]
25,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 44:[5, 16, 16], Operations: ['31-15=16']
Exploring Operation: 16-16=0, Resulting Numbers: [5, 0]
Generated Node #0,1,0: 44:[5, 0] Operation: 16-16=0
Exploring Operation: 16/16=1, Resulting Numbers: [5, 1]
Generated Node #0,1,1: 44:[5, 1] Operation: 16/16=1
Exploring Operation: 16-5=11, Resulting Numbers: [16, 11]
Generated Node #0,1,2: 44:[16, 11] Operation: 16-5=11
Exploring Operation: 16-5=11, Resulting Numbers: [16, 11]
Generated Node #0,1,3: 44:[16, 11] Operation: 16-5=11
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 44:[5, 1], Operations: ['31-15=16', '16/16=1']
Exploring Operation: 5+1=6, Resulting Numbers: [6]
6,44 unequal: No Solution
Exploring Operation: 5/1=5, Resulting Numbers: [5]
5,44 unequal: No Solution
Exploring Operation: 5*1=5, Resulting Numbers: [5]
5,44 unequal: No Solution
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 44:[5, 0], Operations: ['31-15=16', '16-16=0']
Exploring Operation: 5-0=5, Resulting Numbers: [5]
5,44 unequal: No Solution
Exploring Operation: 5*0=0, Resulting Numbers: [0]
0,44 unequal: No Solution
Exploring Operation: 5+0=5, Resulting Numbers: [5]
5,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 44:[16, 11], Operations: ['31-15=16', '16-5=11']
Exploring Operation: 16*11=176, Resulting Numbers: [176]
176,44 unequal: No Solution
Exploring Operation: 16+11=27, Resulting Numbers: [27]
27,44 unequal: No Solution
Exploring Operation: 16-11=5, Resulting Numbers: [5]
5,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 44:[16, 11], Operations: ['31-15=16', '16-5=11']
Exploring Operation: 16+11=27, Resulting Numbers: [27]
27,44 unequal: No Solution
Exploring Operation: 16*11=176, Resulting Numbers: [176]
176,44 unequal: No Solution
Exploring Operation: 16-11=5, Resulting Numbers: [5]
5,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,2
Current State: 44:[47, 3], Operations: ['31+16=47', '15/5=3']
Exploring Operation: 47*3=141, Resulting Numbers: [141]
141,44 unequal: No Solution
Exploring Operation: 47-3=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[15, 5, 31, 16], Operations: []
Exploring Operation: 31+16=47, Resulting Numbers: [15, 5, 47]
Generated Node #0,0: 44:[15, 5, 47] Operation: 31+16=47
Moving to Node #0,0
Current State: 44:[15, 5, 47], Operations: ['31+16=47']
Exploring Operation: 15/5=3, Resulting Numbers: [47, 3]
Generated Node #0,0,2: 44:[47, 3] Operation: 15/5=3
Moving to Node #0,0,2
Current State: 44:[47, 3], Operations: ['31+16=47', '15/5=3']
Exploring Operation: 47-3=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 0.942708 | hs_4 | sum_heuristic |
[
12,
39,
83,
77
] | 33 | [
"39-12=27",
"83-77=6",
"27+6=33"
] | Current State: 33:[12, 39, 83, 77], Operations: []
Exploring Operation: 39-12=27, Resulting Numbers: [83, 77, 27]
Generated Node #2: [83, 77, 27] from Operation: 39-12=27
Current State: 33:[83, 77, 27], Operations: ['39-12=27']
Exploring Operation: 83-77=6, Resulting Numbers: [27, 6]
Generated Node #3: [27, 6] from Operation: 83-77=6
Current State: 33:[27, 6], Operations: ['39-12=27', '83-77=6']
Exploring Operation: 27+6=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[12, 39, 83, 77], Operations: []
Exploring Operation: 83-77=6, Resulting Numbers: [12, 39, 6]
Generated Node #0,0: 33:[12, 39, 6] Operation: 83-77=6
Exploring Operation: 77-39=38, Resulting Numbers: [12, 83, 38]
Generated Node #0,1: 33:[12, 83, 38] Operation: 77-39=38
Exploring Operation: 83-39=44, Resulting Numbers: [12, 77, 44]
Generated Node #0,2: 33:[12, 77, 44] Operation: 83-39=44
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[12, 39, 6], Operations: ['83-77=6']
Exploring Operation: 12/6=2, Resulting Numbers: [39, 2]
Generated Node #0,0,0: 33:[39, 2] Operation: 12/6=2
Exploring Operation: 39-6=33, Resulting Numbers: [12, 33]
Generated Node #0,0,1: 33:[12, 33] Operation: 39-6=33
Exploring Operation: 39-12=27, Resulting Numbers: [6, 27]
Generated Node #0,0,2: 33:[6, 27] Operation: 39-12=27
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 33:[12, 33], Operations: ['83-77=6', '39-6=33']
Exploring Operation: 12+33=45, Resulting Numbers: [45]
45,33 unequal: No Solution
Exploring Operation: 12*33=396, Resulting Numbers: [396]
396,33 unequal: No Solution
Exploring Operation: 33-12=21, Resulting Numbers: [21]
21,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 33:[39, 2], Operations: ['83-77=6', '12/6=2']
Exploring Operation: 39*2=78, Resulting Numbers: [78]
78,33 unequal: No Solution
Exploring Operation: 39+2=41, Resulting Numbers: [41]
41,33 unequal: No Solution
Exploring Operation: 39-2=37, Resulting Numbers: [37]
37,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 33:[6, 27], Operations: ['83-77=6', '39-12=27']
Exploring Operation: 27-6=21, Resulting Numbers: [21]
21,33 unequal: No Solution
Exploring Operation: 6+27=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[12, 39, 83, 77], Operations: []
Exploring Operation: 83-77=6, Resulting Numbers: [12, 39, 6]
Generated Node #0,0: 33:[12, 39, 6] Operation: 83-77=6
Moving to Node #0,0
Current State: 33:[12, 39, 6], Operations: ['83-77=6']
Exploring Operation: 39-12=27, Resulting Numbers: [6, 27]
Generated Node #0,0,2: 33:[6, 27] Operation: 39-12=27
Moving to Node #0,0,2
Current State: 33:[6, 27], Operations: ['83-77=6', '39-12=27']
Exploring Operation: 6+27=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_3 | mult_heuristic |
[
5,
9,
15,
97
] | 17 | [
"5+97=102",
"15-9=6",
"102/6=17"
] | Current State: 17:[5, 9, 15, 97], Operations: []
Exploring Operation: 5+97=102, Resulting Numbers: [9, 15, 102]
Generated Node #2: [9, 15, 102] from Operation: 5+97=102
Current State: 17:[9, 15, 102], Operations: ['5+97=102']
Exploring Operation: 15-9=6, Resulting Numbers: [102, 6]
Generated Node #3: [102, 6] from Operation: 15-9=6
Current State: 17:[102, 6], Operations: ['5+97=102', '15-9=6']
Exploring Operation: 102/6=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[5, 9, 15, 97], Operations: []
Exploring Operation: 97-5=92, Resulting Numbers: [9, 15, 92]
Generated Node #0,0: 17:[9, 15, 92] Operation: 97-5=92
Exploring Operation: 5+9=14, Resulting Numbers: [15, 97, 14]
Generated Node #0,1: 17:[15, 97, 14] Operation: 5+9=14
Exploring Operation: 97-9=88, Resulting Numbers: [5, 15, 88]
Generated Node #0,2: 17:[5, 15, 88] Operation: 97-9=88
Exploring Operation: 97-15=82, Resulting Numbers: [5, 9, 82]
Generated Node #0,3: 17:[5, 9, 82] Operation: 97-15=82
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[9, 15, 92], Operations: ['97-5=92']
Exploring Operation: 92-9=83, Resulting Numbers: [15, 83]
Generated Node #0,0,0: 17:[15, 83] Operation: 92-9=83
Exploring Operation: 15-9=6, Resulting Numbers: [92, 6]
Generated Node #0,0,1: 17:[92, 6] Operation: 15-9=6
Exploring Operation: 92-15=77, Resulting Numbers: [9, 77]
Generated Node #0,0,2: 17:[9, 77] Operation: 92-15=77
Exploring Operation: 9+15=24, Resulting Numbers: [92, 24]
Generated Node #0,0,3: 17:[92, 24] Operation: 9+15=24
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 17:[15, 83], Operations: ['97-5=92', '92-9=83']
Exploring Operation: 15+83=98, Resulting Numbers: [98]
98,17 unequal: No Solution
Exploring Operation: 83-15=68, Resulting Numbers: [68]
68,17 unequal: No Solution
Exploring Operation: 15*83=1245, Resulting Numbers: [1245]
1245,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 17:[9, 77], Operations: ['97-5=92', '92-15=77']
Exploring Operation: 9*77=693, Resulting Numbers: [693]
693,17 unequal: No Solution
Exploring Operation: 9+77=86, Resulting Numbers: [86]
86,17 unequal: No Solution
Exploring Operation: 77-9=68, Resulting Numbers: [68]
68,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 17:[92, 24], Operations: ['97-5=92', '9+15=24']
Exploring Operation: 92*24=2208, Resulting Numbers: [2208]
2208,17 unequal: No Solution
Exploring Operation: 92-24=68, Resulting Numbers: [68]
68,17 unequal: No Solution
Exploring Operation: 92+24=116, Resulting Numbers: [116]
116,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 17:[92, 6], Operations: ['97-5=92', '15-9=6']
Exploring Operation: 92-6=86, Resulting Numbers: [86]
86,17 unequal: No Solution
Exploring Operation: 92*6=552, Resulting Numbers: [552]
552,17 unequal: No Solution
Exploring Operation: 92+6=98, Resulting Numbers: [98]
98,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 17:[15, 97, 14], Operations: ['5+9=14']
Exploring Operation: 97-14=83, Resulting Numbers: [15, 83]
Generated Node #0,1,0: 17:[15, 83] Operation: 97-14=83
Exploring Operation: 15+14=29, Resulting Numbers: [97, 29]
Generated Node #0,1,1: 17:[97, 29] Operation: 15+14=29
Exploring Operation: 97-15=82, Resulting Numbers: [14, 82]
Generated Node #0,1,2: 17:[14, 82] Operation: 97-15=82
Exploring Operation: 15-14=1, Resulting Numbers: [97, 1]
Generated Node #0,1,3: 17:[97, 1] Operation: 15-14=1
Moving to Node #0,1,0
Current State: 17:[15, 83], Operations: ['5+9=14', '97-14=83']
Exploring Operation: 83-15=68, Resulting Numbers: [68]
68,17 unequal: No Solution
Exploring Operation: 15*83=1245, Resulting Numbers: [1245]
1245,17 unequal: No Solution
Exploring Operation: 15+83=98, Resulting Numbers: [98]
98,17 unequal: No Solution
Moving to Node #0,1,2
Current State: 17:[14, 82], Operations: ['5+9=14', '97-15=82']
Exploring Operation: 14*82=1148, Resulting Numbers: [1148]
1148,17 unequal: No Solution
Exploring Operation: 82-14=68, Resulting Numbers: [68]
68,17 unequal: No Solution
Exploring Operation: 14+82=96, Resulting Numbers: [96]
96,17 unequal: No Solution
Moving to Node #0,1,1
Current State: 17:[97, 29], Operations: ['5+9=14', '15+14=29']
Exploring Operation: 97*29=2813, Resulting Numbers: [2813]
2813,17 unequal: No Solution
Exploring Operation: 97-29=68, Resulting Numbers: [68]
68,17 unequal: No Solution
Exploring Operation: 97+29=126, Resulting Numbers: [126]
126,17 unequal: No Solution
Moving to Node #0,1,3
Current State: 17:[97, 1], Operations: ['5+9=14', '15-14=1']
Exploring Operation: 97-1=96, Resulting Numbers: [96]
96,17 unequal: No Solution
Exploring Operation: 97*1=97, Resulting Numbers: [97]
97,17 unequal: No Solution
Exploring Operation: 97/1=97, Resulting Numbers: [97]
97,17 unequal: No Solution
Exploring Operation: 97+1=98, Resulting Numbers: [98]
98,17 unequal: No Solution
No 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: 17:[5, 15, 88], Operations: ['97-9=88']
Exploring Operation: 15-5=10, Resulting Numbers: [88, 10]
Generated Node #0,2,0: 17:[88, 10] Operation: 15-5=10
Exploring Operation: 5+15=20, Resulting Numbers: [88, 20]
Generated Node #0,2,1: 17:[88, 20] Operation: 5+15=20
Exploring Operation: 88-15=73, Resulting Numbers: [5, 73]
Generated Node #0,2,2: 17:[5, 73] Operation: 88-15=73
Exploring Operation: 88-5=83, Resulting Numbers: [15, 83]
Generated Node #0,2,3: 17:[15, 83] Operation: 88-5=83
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 17:[5, 73], Operations: ['97-9=88', '88-15=73']
Exploring Operation: 5*73=365, Resulting Numbers: [365]
365,17 unequal: No Solution
Exploring Operation: 73-5=68, Resulting Numbers: [68]
68,17 unequal: No Solution
Exploring Operation: 5+73=78, Resulting Numbers: [78]
78,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 17:[15, 83], Operations: ['97-9=88', '88-5=83']
Exploring Operation: 15+83=98, Resulting Numbers: [98]
98,17 unequal: No Solution
Exploring Operation: 83-15=68, Resulting Numbers: [68]
68,17 unequal: No Solution
Exploring Operation: 15*83=1245, Resulting Numbers: [1245]
1245,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 17:[88, 20], Operations: ['97-9=88', '5+15=20']
Exploring Operation: 88*20=1760, Resulting Numbers: [1760]
1760,17 unequal: No Solution
Exploring Operation: 88+20=108, Resulting Numbers: [108]
108,17 unequal: No Solution
Exploring Operation: 88-20=68, Resulting Numbers: [68]
68,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 17:[88, 10], Operations: ['97-9=88', '15-5=10']
Exploring Operation: 88-10=78, Resulting Numbers: [78]
78,17 unequal: No Solution
Exploring Operation: 88+10=98, Resulting Numbers: [98]
98,17 unequal: No Solution
Exploring Operation: 88*10=880, Resulting Numbers: [880]
880,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 17:[5, 9, 82], Operations: ['97-15=82']
Exploring Operation: 9-5=4, Resulting Numbers: [82, 4]
Generated Node #0,3,0: 17:[82, 4] Operation: 9-5=4
Exploring Operation: 82-5=77, Resulting Numbers: [9, 77]
Generated Node #0,3,1: 17:[9, 77] Operation: 82-5=77
Exploring Operation: 5+9=14, Resulting Numbers: [82, 14]
Generated Node #0,3,2: 17:[82, 14] Operation: 5+9=14
Exploring Operation: 82-9=73, Resulting Numbers: [5, 73]
Generated Node #0,3,3: 17:[5, 73] Operation: 82-9=73
Moving to Node #0,3,1
Current State: 17:[9, 77], Operations: ['97-15=82', '82-5=77']
Exploring Operation: 77-9=68, Resulting Numbers: [68]
68,17 unequal: No Solution
Exploring Operation: 9+77=86, Resulting Numbers: [86]
86,17 unequal: No Solution
Exploring Operation: 9*77=693, Resulting Numbers: [693]
693,17 unequal: No Solution
Moving to Node #0,3,3
Current State: 17:[5, 73], Operations: ['97-15=82', '82-9=73']
Exploring Operation: 5*73=365, Resulting Numbers: [365]
365,17 unequal: No Solution
Exploring Operation: 73-5=68, Resulting Numbers: [68]
68,17 unequal: No Solution
Exploring Operation: 5+73=78, Resulting Numbers: [78]
78,17 unequal: No Solution
Moving to Node #0,3,2
Current State: 17:[82, 14], Operations: ['97-15=82', '5+9=14']
Exploring Operation: 82*14=1148, Resulting Numbers: [1148]
1148,17 unequal: No Solution
Exploring Operation: 82-14=68, Resulting Numbers: [68]
68,17 unequal: No Solution
Exploring Operation: 82+14=96, Resulting Numbers: [96]
96,17 unequal: No Solution
Moving to Node #0,3,0
Current State: 17:[82, 4], Operations: ['97-15=82', '9-5=4']
Exploring Operation: 82-4=78, Resulting Numbers: [78]
78,17 unequal: No Solution
Exploring Operation: 82*4=328, Resulting Numbers: [328]
328,17 unequal: No Solution
Exploring Operation: 82+4=86, Resulting Numbers: [86]
86,17 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 |
[
85,
19,
20,
87
] | 37 | [
"85+19=104",
"87-20=67",
"104-67=37"
] | Current State: 37:[85, 19, 20, 87], Operations: []
Exploring Operation: 85+19=104, Resulting Numbers: [20, 87, 104]
Generated Node #2: [20, 87, 104] from Operation: 85+19=104
Current State: 37:[20, 87, 104], Operations: ['85+19=104']
Exploring Operation: 87-20=67, Resulting Numbers: [104, 67]
Generated Node #3: [104, 67] from Operation: 87-20=67
Current State: 37:[104, 67], Operations: ['85+19=104', '87-20=67']
Exploring Operation: 104-67=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[85, 19, 20, 87], Operations: []
Exploring Operation: 87-85=2, Resulting Numbers: [19, 20, 2]
Generated Node #0,0: 37:[19, 20, 2] Operation: 87-85=2
Exploring Operation: 85-19=66, Resulting Numbers: [20, 87, 66]
Generated Node #0,1: 37:[20, 87, 66] Operation: 85-19=66
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[19, 20, 2], Operations: ['87-85=2']
Exploring Operation: 20*2=40, Resulting Numbers: [19, 40]
Generated Node #0,0,0: 37:[19, 40] Operation: 20*2=40
Exploring Operation: 19*2=38, Resulting Numbers: [20, 38]
Generated Node #0,0,1: 37:[20, 38] Operation: 19*2=38
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 37:[20, 38], Operations: ['87-85=2', '19*2=38']
Exploring Operation: 20+38=58, Resulting Numbers: [58]
58,37 unequal: No Solution
Exploring Operation: 38-20=18, Resulting Numbers: [18]
18,37 unequal: No Solution
No 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: 37:[19, 40], Operations: ['87-85=2', '20*2=40']
Exploring Operation: 19+40=59, Resulting Numbers: [59]
59,37 unequal: No Solution
Exploring Operation: 40-19=21, Resulting Numbers: [21]
21,37 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: 37:[20, 87, 66], Operations: ['85-19=66']
Exploring Operation: 87-20=67, Resulting Numbers: [66, 67]
Generated Node #0,1,0: 37:[66, 67] Operation: 87-20=67
Exploring Operation: 87-66=21, Resulting Numbers: [20, 21]
Generated Node #0,1,1: 37:[20, 21] Operation: 87-66=21
Moving to Node #0,1,1
Current State: 37:[20, 21], Operations: ['85-19=66', '87-66=21']
Exploring Operation: 21-20=1, Resulting Numbers: [1]
1,37 unequal: No Solution
Exploring Operation: 20+21=41, Resulting Numbers: [41]
41,37 unequal: No Solution
Moving to Node #0,1,0
Current State: 37:[66, 67], Operations: ['85-19=66', '87-20=67']
Exploring Operation: 66+67=133, Resulting Numbers: [133]
133,37 unequal: No Solution
Exploring Operation: 67-66=1, Resulting Numbers: [1]
1,37 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 |
[
28,
60,
34,
2
] | 68 | [
"60-28=32",
"34+2=36",
"32+36=68"
] | Current State: 68:[28, 60, 34, 2], Operations: []
Exploring Operation: 60-28=32, Resulting Numbers: [34, 2, 32]
Generated Node #2: [34, 2, 32] from Operation: 60-28=32
Current State: 68:[34, 2, 32], Operations: ['60-28=32']
Exploring Operation: 34+2=36, Resulting Numbers: [32, 36]
Generated Node #3: [32, 36] from Operation: 34+2=36
Current State: 68:[32, 36], Operations: ['60-28=32', '34+2=36']
Exploring Operation: 32+36=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[28, 60, 34, 2], Operations: []
Exploring Operation: 34-28=6, Resulting Numbers: [60, 2, 6]
Generated Node #0,0: 68:[60, 2, 6] Operation: 34-28=6
Exploring Operation: 60-28=32, Resulting Numbers: [34, 2, 32]
Generated Node #0,1: 68:[34, 2, 32] Operation: 60-28=32
Moving to Node #0,1
Current State: 68:[34, 2, 32], Operations: ['60-28=32']
Exploring Operation: 2+32=34, Resulting Numbers: [34, 34]
Generated Node #0,1,0: 68:[34, 34] Operation: 2+32=34
Exploring Operation: 34-32=2, Resulting Numbers: [2, 2]
Generated Node #0,1,1: 68:[2, 2] Operation: 34-32=2
Moving to Node #0,0
Current State: 68:[60, 2, 6], Operations: ['34-28=6']
Exploring Operation: 60/2=30, Resulting Numbers: [6, 30]
Generated Node #0,0,0: 68:[6, 30] Operation: 60/2=30
Exploring Operation: 60+6=66, Resulting Numbers: [2, 66]
Generated Node #0,0,1: 68:[2, 66] Operation: 60+6=66
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 68:[2, 66], Operations: ['34-28=6', '60+6=66']
Exploring Operation: 66/2=33, Resulting Numbers: [33]
33,68 unequal: No Solution
Exploring Operation: 2+66=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[28, 60, 34, 2], Operations: []
Exploring Operation: 34-28=6, Resulting Numbers: [60, 2, 6]
Generated Node #0,0: 68:[60, 2, 6] Operation: 34-28=6
Moving to Node #0,0
Current State: 68:[60, 2, 6], Operations: ['34-28=6']
Exploring Operation: 60+6=66, Resulting Numbers: [2, 66]
Generated Node #0,0,1: 68:[2, 66] Operation: 60+6=66
Moving to Node #0,0,1
Current State: 68:[2, 66], Operations: ['34-28=6', '60+6=66']
Exploring Operation: 2+66=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | mult_heuristic |
[
11,
55,
29,
37
] | 52 | [
"55-11=44",
"37-29=8",
"44+8=52"
] | Current State: 52:[11, 55, 29, 37], Operations: []
Exploring Operation: 55-11=44, Resulting Numbers: [29, 37, 44]
Generated Node #2: [29, 37, 44] from Operation: 55-11=44
Current State: 52:[29, 37, 44], Operations: ['55-11=44']
Exploring Operation: 37-29=8, Resulting Numbers: [44, 8]
Generated Node #3: [44, 8] from Operation: 37-29=8
Current State: 52:[44, 8], Operations: ['55-11=44', '37-29=8']
Exploring Operation: 44+8=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[11, 55, 29, 37], Operations: []
Exploring Operation: 55-29=26, Resulting Numbers: [11, 37, 26]
Generated Node #0,0: 52:[11, 37, 26] Operation: 55-29=26
Exploring Operation: 55-37=18, Resulting Numbers: [11, 29, 18]
Generated Node #0,1: 52:[11, 29, 18] Operation: 55-37=18
Exploring Operation: 37-11=26, Resulting Numbers: [55, 29, 26]
Generated Node #0,2: 52:[55, 29, 26] Operation: 37-11=26
Exploring Operation: 37-29=8, Resulting Numbers: [11, 55, 8]
Generated Node #0,3: 52:[11, 55, 8] Operation: 37-29=8
Exploring Operation: 11+37=48, Resulting Numbers: [55, 29, 48]
Generated Node #0,4: 52:[55, 29, 48] Operation: 11+37=48
Start Sub Search at level 1: Moving to Node #0,2
Current State: 52:[55, 29, 26], Operations: ['37-11=26']
Exploring Operation: 55-29=26, Resulting Numbers: [26, 26]
Generated Node #0,2,0: 52:[26, 26] Operation: 55-29=26
Exploring Operation: 29-26=3, Resulting Numbers: [55, 3]
Generated Node #0,2,1: 52:[55, 3] Operation: 29-26=3
Exploring Operation: 55-26=29, Resulting Numbers: [29, 29]
Generated Node #0,2,2: 52:[29, 29] Operation: 55-26=29
Exploring Operation: 55+29=84, Resulting Numbers: [26, 84]
Generated Node #0,2,3: 52:[26, 84] Operation: 55+29=84
Exploring Operation: 29+26=55, Resulting Numbers: [55, 55]
Generated Node #0,2,4: 52:[55, 55] Operation: 29+26=55
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 52:[26, 26], Operations: ['37-11=26', '55-29=26']
Exploring Operation: 26-26=0, Resulting Numbers: [0]
0,52 unequal: No Solution
Exploring Operation: 26+26=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[11, 55, 29, 37], Operations: []
Exploring Operation: 37-11=26, Resulting Numbers: [55, 29, 26]
Generated Node #0,2: 52:[55, 29, 26] Operation: 37-11=26
Moving to Node #0,2
Current State: 52:[55, 29, 26], Operations: ['37-11=26']
Exploring Operation: 55-29=26, Resulting Numbers: [26, 26]
Generated Node #0,2,0: 52:[26, 26] Operation: 55-29=26
Moving to Node #0,2,0
Current State: 52:[26, 26], Operations: ['37-11=26', '55-29=26']
Exploring Operation: 26+26=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
62,
46,
12,
60
] | 11 | [
"62-46=16",
"60/12=5",
"16-5=11"
] | Current State: 11:[62, 46, 12, 60], Operations: []
Exploring Operation: 62-46=16, Resulting Numbers: [12, 60, 16]
Generated Node #2: [12, 60, 16] from Operation: 62-46=16
Current State: 11:[12, 60, 16], Operations: ['62-46=16']
Exploring Operation: 60/12=5, Resulting Numbers: [16, 5]
Generated Node #3: [16, 5] from Operation: 60/12=5
Current State: 11:[16, 5], Operations: ['62-46=16', '60/12=5']
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[62, 46, 12, 60], Operations: []
Exploring Operation: 60-46=14, Resulting Numbers: [62, 12, 14]
Generated Node #0,0: 11:[62, 12, 14] Operation: 60-46=14
Exploring Operation: 62-46=16, Resulting Numbers: [12, 60, 16]
Generated Node #0,1: 11:[12, 60, 16] Operation: 62-46=16
Exploring Operation: 62-60=2, Resulting Numbers: [46, 12, 2]
Generated Node #0,2: 11:[46, 12, 2] Operation: 62-60=2
Exploring Operation: 62-12=50, Resulting Numbers: [46, 60, 50]
Generated Node #0,3: 11:[46, 60, 50] Operation: 62-12=50
Exploring Operation: 60/12=5, Resulting Numbers: [62, 46, 5]
Generated Node #0,4: 11:[62, 46, 5] Operation: 60/12=5
Start Sub Search at level 1: Moving to Node #0,2
Current State: 11:[46, 12, 2], Operations: ['62-60=2']
Exploring Operation: 46-12=34, Resulting Numbers: [2, 34]
Generated Node #0,2,0: 11:[2, 34] Operation: 46-12=34
Exploring Operation: 12-2=10, Resulting Numbers: [46, 10]
Generated Node #0,2,1: 11:[46, 10] Operation: 12-2=10
Exploring Operation: 46-2=44, Resulting Numbers: [12, 44]
Generated Node #0,2,2: 11:[12, 44] Operation: 46-2=44
Exploring Operation: 46+2=48, Resulting Numbers: [12, 48]
Generated Node #0,2,3: 11:[12, 48] Operation: 46+2=48
Exploring Operation: 46/2=23, Resulting Numbers: [12, 23]
Generated Node #0,2,4: 11:[12, 23] Operation: 46/2=23
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 11:[12, 23], Operations: ['62-60=2', '46/2=23']
Exploring Operation: 23-12=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[62, 46, 12, 60], Operations: []
Exploring Operation: 62-60=2, Resulting Numbers: [46, 12, 2]
Generated Node #0,2: 11:[46, 12, 2] Operation: 62-60=2
Moving to Node #0,2
Current State: 11:[46, 12, 2], Operations: ['62-60=2']
Exploring Operation: 46/2=23, Resulting Numbers: [12, 23]
Generated Node #0,2,4: 11:[12, 23] Operation: 46/2=23
Moving to Node #0,2,4
Current State: 11:[12, 23], Operations: ['62-60=2', '46/2=23']
Exploring Operation: 23-12=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
15,
32,
15,
78
] | 45 | [
"15/15=1",
"78-32=46",
"46-1=45"
] | Current State: 45:[15, 32, 15, 78], Operations: []
Exploring Operation: 15/15=1, Resulting Numbers: [32, 78, 1]
Generated Node #2: [32, 78, 1] from Operation: 15/15=1
Current State: 45:[32, 78, 1], Operations: ['15/15=1']
Exploring Operation: 78-32=46, Resulting Numbers: [1, 46]
Generated Node #3: [1, 46] from Operation: 78-32=46
Current State: 45:[1, 46], Operations: ['15/15=1', '78-32=46']
Exploring Operation: 46-1=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[15, 32, 15, 78], Operations: []
Exploring Operation: 15+32=47, Resulting Numbers: [15, 78, 47]
Generated Node #0,0: 45:[15, 78, 47] Operation: 15+32=47
Exploring Operation: 78-32=46, Resulting Numbers: [15, 15, 46]
Generated Node #0,1: 45:[15, 15, 46] Operation: 78-32=46
Exploring Operation: 78-15=63, Resulting Numbers: [32, 15, 63]
Generated Node #0,2: 45:[32, 15, 63] Operation: 78-15=63
Exploring Operation: 32-15=17, Resulting Numbers: [15, 78, 17]
Generated Node #0,3: 45:[15, 78, 17] Operation: 32-15=17
Exploring Operation: 78-15=63, Resulting Numbers: [15, 32, 63]
Generated Node #0,4: 45:[15, 32, 63] Operation: 78-15=63
Start Sub Search at level 1: Moving to Node #0,1
Current State: 45:[15, 15, 46], Operations: ['78-32=46']
Exploring Operation: 15-15=0, Resulting Numbers: [46, 0]
Generated Node #0,1,0: 45:[46, 0] Operation: 15-15=0
Exploring Operation: 15+15=30, Resulting Numbers: [46, 30]
Generated Node #0,1,1: 45:[46, 30] Operation: 15+15=30
Exploring Operation: 15/15=1, Resulting Numbers: [46, 1]
Generated Node #0,1,2: 45:[46, 1] Operation: 15/15=1
Exploring Operation: 46-15=31, Resulting Numbers: [15, 31]
Generated Node #0,1,3: 45:[15, 31] Operation: 46-15=31
Exploring Operation: 46-15=31, Resulting Numbers: [15, 31]
Generated Node #0,1,4: 45:[15, 31] Operation: 46-15=31
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 45:[46, 1], Operations: ['78-32=46', '15/15=1']
Exploring Operation: 46-1=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[15, 32, 15, 78], Operations: []
Exploring Operation: 78-32=46, Resulting Numbers: [15, 15, 46]
Generated Node #0,1: 45:[15, 15, 46] Operation: 78-32=46
Moving to Node #0,1
Current State: 45:[15, 15, 46], Operations: ['78-32=46']
Exploring Operation: 15/15=1, Resulting Numbers: [46, 1]
Generated Node #0,1,2: 45:[46, 1] Operation: 15/15=1
Moving to Node #0,1,2
Current State: 45:[46, 1], Operations: ['78-32=46', '15/15=1']
Exploring Operation: 46-1=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
55,
63,
28,
82
] | 61 | [
"28+82=110",
"110/55=2",
"63-2=61"
] | Current State: 61:[55, 63, 28, 82], Operations: []
Exploring Operation: 28+82=110, Resulting Numbers: [55, 63, 110]
Generated Node #2: [55, 63, 110] from Operation: 28+82=110
Current State: 61:[55, 63, 110], Operations: ['28+82=110']
Exploring Operation: 110/55=2, Resulting Numbers: [63, 2]
Generated Node #3: [63, 2] from Operation: 110/55=2
Current State: 61:[63, 2], Operations: ['28+82=110', '110/55=2']
Exploring Operation: 63-2=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[55, 63, 28, 82], Operations: []
Exploring Operation: 55+28=83, Resulting Numbers: [63, 82, 83]
Generated Node #0,0: 61:[63, 82, 83] Operation: 55+28=83
Exploring Operation: 55-28=27, Resulting Numbers: [63, 82, 27]
Generated Node #0,1: 61:[63, 82, 27] Operation: 55-28=27
Exploring Operation: 63-28=35, Resulting Numbers: [55, 82, 35]
Generated Node #0,2: 61:[55, 82, 35] Operation: 63-28=35
Exploring Operation: 82-28=54, Resulting Numbers: [55, 63, 54]
Generated Node #0,3: 61:[55, 63, 54] Operation: 82-28=54
Moving to Node #0,3
Current State: 61:[55, 63, 54], Operations: ['82-28=54']
Exploring Operation: 55-54=1, Resulting Numbers: [63, 1]
Generated Node #0,3,0: 61:[63, 1] Operation: 55-54=1
Exploring Operation: 63-54=9, Resulting Numbers: [55, 9]
Generated Node #0,3,1: 61:[55, 9] Operation: 63-54=9
Exploring Operation: 63-55=8, Resulting Numbers: [54, 8]
Generated Node #0,3,2: 61:[54, 8] Operation: 63-55=8
Exploring Operation: 55+54=109, Resulting Numbers: [63, 109]
Generated Node #0,3,3: 61:[63, 109] Operation: 55+54=109
Moving to Node #0,0
Current State: 61:[63, 82, 83], Operations: ['55+28=83']
Exploring Operation: 82-63=19, Resulting Numbers: [83, 19]
Generated Node #0,0,0: 61:[83, 19] Operation: 82-63=19
Exploring Operation: 83-82=1, Resulting Numbers: [63, 1]
Generated Node #0,0,1: 61:[63, 1] Operation: 83-82=1
Exploring Operation: 63+82=145, Resulting Numbers: [83, 145]
Generated Node #0,0,2: 61:[83, 145] Operation: 63+82=145
Exploring Operation: 83-63=20, Resulting Numbers: [82, 20]
Generated Node #0,0,3: 61:[82, 20] Operation: 83-63=20
Moving to Node #0,2
Current State: 61:[55, 82, 35], Operations: ['63-28=35']
Exploring Operation: 55-35=20, Resulting Numbers: [82, 20]
Generated Node #0,2,0: 61:[82, 20] Operation: 55-35=20
Exploring Operation: 82-35=47, Resulting Numbers: [55, 47]
Generated Node #0,2,1: 61:[55, 47] Operation: 82-35=47
Exploring Operation: 82-55=27, Resulting Numbers: [35, 27]
Generated Node #0,2,2: 61:[35, 27] Operation: 82-55=27
Exploring Operation: 55+35=90, Resulting Numbers: [82, 90]
Generated Node #0,2,3: 61:[82, 90] Operation: 55+35=90
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 61:[55, 47], Operations: ['63-28=35', '82-35=47']
Exploring Operation: 55-47=8, Resulting Numbers: [8]
8,61 unequal: No Solution
Exploring Operation: 55+47=102, Resulting Numbers: [102]
102,61 unequal: No Solution
Exploring Operation: 55*47=2585, Resulting Numbers: [2585]
2585,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:[82, 90], Operations: ['63-28=35', '55+35=90']
Exploring Operation: 82*90=7380, Resulting Numbers: [7380]
7380,61 unequal: No Solution
Exploring Operation: 82+90=172, Resulting Numbers: [172]
172,61 unequal: No Solution
Exploring Operation: 90-82=8, Resulting Numbers: [8]
8,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:[35, 27], Operations: ['63-28=35', '82-55=27']
Exploring Operation: 35-27=8, Resulting Numbers: [8]
8,61 unequal: No Solution
Exploring Operation: 35+27=62, Resulting Numbers: [62]
62,61 unequal: No Solution
Exploring Operation: 35*27=945, Resulting Numbers: [945]
945,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:[82, 20], Operations: ['63-28=35', '55-35=20']
Exploring Operation: 82-20=62, Resulting Numbers: [62]
62,61 unequal: No Solution
Exploring Operation: 82+20=102, Resulting Numbers: [102]
102,61 unequal: No Solution
Exploring Operation: 82*20=1640, Resulting Numbers: [1640]
1640,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 61:[63, 82, 27], Operations: ['55-28=27']
Exploring Operation: 63+27=90, Resulting Numbers: [82, 90]
Generated Node #0,1,0: 61:[82, 90] Operation: 63+27=90
Exploring Operation: 82-27=55, Resulting Numbers: [63, 55]
Generated Node #0,1,1: 61:[63, 55] Operation: 82-27=55
Exploring Operation: 82+27=109, Resulting Numbers: [63, 109]
Generated Node #0,1,2: 61:[63, 109] Operation: 82+27=109
Exploring Operation: 63-27=36, Resulting Numbers: [82, 36]
Generated Node #0,1,3: 61:[82, 36] Operation: 63-27=36
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 61:[63, 55], Operations: ['55-28=27', '82-27=55']
Exploring Operation: 63+55=118, Resulting Numbers: [118]
118,61 unequal: No Solution
Exploring Operation: 63*55=3465, Resulting Numbers: [3465]
3465,61 unequal: No Solution
Exploring Operation: 63-55=8, Resulting Numbers: [8]
8,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:[82, 36], Operations: ['55-28=27', '63-27=36']
Exploring Operation: 82-36=46, Resulting Numbers: [46]
46,61 unequal: No Solution
Exploring Operation: 82*36=2952, Resulting Numbers: [2952]
2952,61 unequal: No Solution
Exploring Operation: 82+36=118, Resulting Numbers: [118]
118,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:[82, 90], Operations: ['55-28=27', '63+27=90']
Exploring Operation: 82*90=7380, Resulting Numbers: [7380]
7380,61 unequal: No Solution
Exploring Operation: 82+90=172, Resulting Numbers: [172]
172,61 unequal: No Solution
Exploring Operation: 90-82=8, Resulting Numbers: [8]
8,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:[63, 109], Operations: ['55-28=27', '82+27=109']
Exploring Operation: 109-63=46, Resulting Numbers: [46]
46,61 unequal: No Solution
Exploring Operation: 63+109=172, Resulting Numbers: [172]
172,61 unequal: No Solution
Exploring Operation: 63*109=6867, Resulting Numbers: [6867]
6867,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,3
Current State: 61:[63, 109], Operations: ['82-28=54', '55+54=109']
Exploring Operation: 109-63=46, Resulting Numbers: [46]
46,61 unequal: No Solution
Exploring Operation: 63+109=172, Resulting Numbers: [172]
172,61 unequal: No Solution
Exploring Operation: 63*109=6867, Resulting Numbers: [6867]
6867,61 unequal: No Solution
Moving to Node #0,3,1
Current State: 61:[55, 9], Operations: ['82-28=54', '63-54=9']
Exploring Operation: 55-9=46, Resulting Numbers: [46]
46,61 unequal: No Solution
Exploring Operation: 55*9=495, Resulting Numbers: [495]
495,61 unequal: No Solution
Exploring Operation: 55+9=64, Resulting Numbers: [64]
64,61 unequal: No Solution
Moving to Node #0,3,2
Current State: 61:[54, 8], Operations: ['82-28=54', '63-55=8']
Exploring Operation: 54*8=432, Resulting Numbers: [432]
432,61 unequal: No Solution
Exploring Operation: 54+8=62, Resulting Numbers: [62]
62,61 unequal: No Solution
Exploring Operation: 54-8=46, Resulting Numbers: [46]
46,61 unequal: No Solution
Moving to Node #0,0,3
Current State: 61:[82, 20], Operations: ['55+28=83', '83-63=20']
Exploring Operation: 82*20=1640, Resulting Numbers: [1640]
1640,61 unequal: No Solution
Exploring Operation: 82-20=62, Resulting Numbers: [62]
62,61 unequal: No Solution
Exploring Operation: 82+20=102, Resulting Numbers: [102]
102,61 unequal: No Solution
Moving to Node #0,0,1
Current State: 61:[63, 1], Operations: ['55+28=83', '83-82=1']
Exploring Operation: 63+1=64, Resulting Numbers: [64]
64,61 unequal: No Solution
Exploring Operation: 63/1=63, Resulting Numbers: [63]
63,61 unequal: No Solution
Exploring Operation: 63*1=63, Resulting Numbers: [63]
63,61 unequal: No Solution
Exploring Operation: 63-1=62, Resulting Numbers: [62]
62,61 unequal: No Solution
Moving to Node #0,3,0
Current State: 61:[63, 1], Operations: ['82-28=54', '55-54=1']
Exploring Operation: 63+1=64, Resulting Numbers: [64]
64,61 unequal: No Solution
Exploring Operation: 63-1=62, Resulting Numbers: [62]
62,61 unequal: No Solution
Exploring Operation: 63*1=63, Resulting Numbers: [63]
63,61 unequal: No Solution
Exploring Operation: 63/1=63, Resulting Numbers: [63]
63,61 unequal: No Solution
Moving to Node #0,0,0
Current State: 61:[83, 19], Operations: ['55+28=83', '82-63=19']
Exploring Operation: 83*19=1577, Resulting Numbers: [1577]
1577,61 unequal: No Solution
Exploring Operation: 83-19=64, Resulting Numbers: [64]
64,61 unequal: No Solution
Exploring Operation: 83+19=102, Resulting Numbers: [102]
102,61 unequal: No Solution
Moving to Node #0,0,2
Current State: 61:[83, 145], Operations: ['55+28=83', '63+82=145']
Exploring Operation: 145-83=62, Resulting Numbers: [62]
62,61 unequal: No Solution
Exploring Operation: 83*145=12035, Resulting Numbers: [12035]
12035,61 unequal: No Solution
Exploring Operation: 83+145=228, Resulting Numbers: [228]
228,61 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
58,
42,
61,
31
] | 46 | [
"58-42=16",
"61-31=30",
"16+30=46"
] | Current State: 46:[58, 42, 61, 31], Operations: []
Exploring Operation: 58-42=16, Resulting Numbers: [61, 31, 16]
Generated Node #2: [61, 31, 16] from Operation: 58-42=16
Current State: 46:[61, 31, 16], Operations: ['58-42=16']
Exploring Operation: 61-31=30, Resulting Numbers: [16, 30]
Generated Node #3: [16, 30] from Operation: 61-31=30
Current State: 46:[16, 30], Operations: ['58-42=16', '61-31=30']
Exploring Operation: 16+30=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[58, 42, 61, 31], Operations: []
Exploring Operation: 58-31=27, Resulting Numbers: [42, 61, 27]
Generated Node #0,0: 46:[42, 61, 27] Operation: 58-31=27
Exploring Operation: 61-58=3, Resulting Numbers: [42, 31, 3]
Generated Node #0,1: 46:[42, 31, 3] Operation: 61-58=3
Start Sub Search at level 1: Moving to Node #0,1
Current State: 46:[42, 31, 3], Operations: ['61-58=3']
Exploring Operation: 42+3=45, Resulting Numbers: [31, 45]
Generated Node #0,1,0: 46:[31, 45] Operation: 42+3=45
Exploring Operation: 31-3=28, Resulting Numbers: [42, 28]
Generated Node #0,1,1: 46:[42, 28] Operation: 31-3=28
Moving to Node #0,1,0
Current State: 46:[31, 45], Operations: ['61-58=3', '42+3=45']
Exploring Operation: 31+45=76, Resulting Numbers: [76]
76,46 unequal: No Solution
Exploring Operation: 45-31=14, Resulting Numbers: [14]
14,46 unequal: No Solution
Moving to Node #0,1,1
Current State: 46:[42, 28], Operations: ['61-58=3', '31-3=28']
Exploring Operation: 42-28=14, Resulting Numbers: [14]
14,46 unequal: No Solution
Exploring Operation: 42+28=70, Resulting Numbers: [70]
70,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 46:[42, 61, 27], Operations: ['58-31=27']
Exploring Operation: 61-27=34, Resulting Numbers: [42, 34]
Generated Node #0,0,0: 46:[42, 34] Operation: 61-27=34
Exploring Operation: 61-42=19, Resulting Numbers: [27, 19]
Generated Node #0,0,1: 46:[27, 19] Operation: 61-42=19
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 46:[27, 19], Operations: ['58-31=27', '61-42=19']
Exploring Operation: 27+19=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[58, 42, 61, 31], Operations: []
Exploring Operation: 58-31=27, Resulting Numbers: [42, 61, 27]
Generated Node #0,0: 46:[42, 61, 27] Operation: 58-31=27
Moving to Node #0,0
Current State: 46:[42, 61, 27], Operations: ['58-31=27']
Exploring Operation: 61-42=19, Resulting Numbers: [27, 19]
Generated Node #0,0,1: 46:[27, 19] Operation: 61-42=19
Moving to Node #0,0,1
Current State: 46:[27, 19], Operations: ['58-31=27', '61-42=19']
Exploring Operation: 27+19=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_2 | mult_heuristic |
[
1,
36,
60,
5
] | 91 | [
"1*36=36",
"60-5=55",
"36+55=91"
] | Current State: 91:[1, 36, 60, 5], Operations: []
Exploring Operation: 1*36=36, Resulting Numbers: [60, 5, 36]
Generated Node #2: [60, 5, 36] from Operation: 1*36=36
Current State: 91:[60, 5, 36], Operations: ['1*36=36']
Exploring Operation: 60-5=55, Resulting Numbers: [36, 55]
Generated Node #3: [36, 55] from Operation: 60-5=55
Current State: 91:[36, 55], Operations: ['1*36=36', '60-5=55']
Exploring Operation: 36+55=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[1, 36, 60, 5], Operations: []
Exploring Operation: 60-36=24, Resulting Numbers: [1, 5, 24]
Generated Node #0,0: 91:[1, 5, 24] Operation: 60-36=24
Exploring Operation: 36-1=35, Resulting Numbers: [60, 5, 35]
Generated Node #0,1: 91:[60, 5, 35] Operation: 36-1=35
Exploring Operation: 1+60=61, Resulting Numbers: [36, 5, 61]
Generated Node #0,2: 91:[36, 5, 61] Operation: 1+60=61
Exploring Operation: 60/5=12, Resulting Numbers: [1, 36, 12]
Generated Node #0,3: 91:[1, 36, 12] Operation: 60/5=12
Exploring Operation: 36+60=96, Resulting Numbers: [1, 5, 96]
Generated Node #0,4: 91:[1, 5, 96] Operation: 36+60=96
Moving to Node #0,4
Current State: 91:[1, 5, 96], Operations: ['36+60=96']
Exploring Operation: 96-1=95, Resulting Numbers: [5, 95]
Generated Node #0,4,0: 91:[5, 95] Operation: 96-1=95
Exploring Operation: 1*5=5, Resulting Numbers: [96, 5]
Generated Node #0,4,1: 91:[96, 5] Operation: 1*5=5
Exploring Operation: 96-5=91, Resulting Numbers: [1, 91]
Generated Node #0,4,2: 91:[1, 91] Operation: 96-5=91
Exploring Operation: 1+5=6, Resulting Numbers: [96, 6]
Generated Node #0,4,3: 91:[96, 6] Operation: 1+5=6
Exploring Operation: 5/1=5, Resulting Numbers: [96, 5]
Generated Node #0,4,4: 91:[96, 5] Operation: 5/1=5
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 91:[5, 95], Operations: ['36+60=96', '96-1=95']
Exploring Operation: 5*95=475, Resulting Numbers: [475]
475,91 unequal: No Solution
Exploring Operation: 5+95=100, Resulting Numbers: [100]
100,91 unequal: No Solution
Exploring Operation: 95/5=19, Resulting Numbers: [19]
19,91 unequal: No Solution
Exploring Operation: 95-5=90, Resulting Numbers: [90]
90,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 91:[1, 91], Operations: ['36+60=96', '96-5=91']
Exploring Operation: 91-1=90, Resulting Numbers: [90]
90,91 unequal: No Solution
Exploring Operation: 91/1=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[1, 36, 60, 5], Operations: []
Exploring Operation: 36+60=96, Resulting Numbers: [1, 5, 96]
Generated Node #0,4: 91:[1, 5, 96] Operation: 36+60=96
Moving to Node #0,4
Current State: 91:[1, 5, 96], Operations: ['36+60=96']
Exploring Operation: 96-5=91, Resulting Numbers: [1, 91]
Generated Node #0,4,2: 91:[1, 91] Operation: 96-5=91
Moving to Node #0,4,2
Current State: 91:[1, 91], Operations: ['36+60=96', '96-5=91']
Exploring Operation: 91/1=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_5 | sum_heuristic |
[
14,
85,
98,
65
] | 92 | [
"85-14=71",
"98+65=163",
"163-71=92"
] | Current State: 92:[14, 85, 98, 65], Operations: []
Exploring Operation: 85-14=71, Resulting Numbers: [98, 65, 71]
Generated Node #2: [98, 65, 71] from Operation: 85-14=71
Current State: 92:[98, 65, 71], Operations: ['85-14=71']
Exploring Operation: 98+65=163, Resulting Numbers: [71, 163]
Generated Node #3: [71, 163] from Operation: 98+65=163
Current State: 92:[71, 163], Operations: ['85-14=71', '98+65=163']
Exploring Operation: 163-71=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[14, 85, 98, 65], Operations: []
Exploring Operation: 65-14=51, Resulting Numbers: [85, 98, 51]
Generated Node #0,0: 92:[85, 98, 51] Operation: 65-14=51
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[85, 98, 51], Operations: ['65-14=51']
Exploring Operation: 98-51=47, Resulting Numbers: [85, 47]
Generated Node #0,0,0: 92:[85, 47] Operation: 98-51=47
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 92:[85, 47], Operations: ['65-14=51', '98-51=47']
Exploring Operation: 85-47=38, Resulting Numbers: [38]
38,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
32,
88,
79,
80
] | 83 | [
"88-80=8",
"32/8=4",
"79+4=83"
] | Current State: 83:[32, 88, 79, 80], Operations: []
Exploring Operation: 88-80=8, Resulting Numbers: [32, 79, 8]
Generated Node #2: [32, 79, 8] from Operation: 88-80=8
Current State: 83:[32, 79, 8], Operations: ['88-80=8']
Exploring Operation: 32/8=4, Resulting Numbers: [79, 4]
Generated Node #3: [79, 4] from Operation: 32/8=4
Current State: 83:[79, 4], Operations: ['88-80=8', '32/8=4']
Exploring Operation: 79+4=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[32, 88, 79, 80], Operations: []
Exploring Operation: 32+80=112, Resulting Numbers: [88, 79, 112]
Generated Node #0,0: 83:[88, 79, 112] Operation: 32+80=112
Exploring Operation: 32+79=111, Resulting Numbers: [88, 80, 111]
Generated Node #0,1: 83:[88, 80, 111] Operation: 32+79=111
Exploring Operation: 88-32=56, Resulting Numbers: [79, 80, 56]
Generated Node #0,2: 83:[79, 80, 56] Operation: 88-32=56
Exploring Operation: 32+88=120, Resulting Numbers: [79, 80, 120]
Generated Node #0,3: 83:[79, 80, 120] Operation: 32+88=120
Exploring Operation: 79-32=47, Resulting Numbers: [88, 80, 47]
Generated Node #0,4: 83:[88, 80, 47] Operation: 79-32=47
Moving to Node #0,2
Current State: 83:[79, 80, 56], Operations: ['88-32=56']
Exploring Operation: 80+56=136, Resulting Numbers: [79, 136]
Generated Node #0,2,0: 83:[79, 136] Operation: 80+56=136
Exploring Operation: 79+56=135, Resulting Numbers: [80, 135]
Generated Node #0,2,1: 83:[80, 135] Operation: 79+56=135
Exploring Operation: 80-56=24, Resulting Numbers: [79, 24]
Generated Node #0,2,2: 83:[79, 24] Operation: 80-56=24
Exploring Operation: 79-56=23, Resulting Numbers: [80, 23]
Generated Node #0,2,3: 83:[80, 23] Operation: 79-56=23
Exploring Operation: 79+80=159, Resulting Numbers: [56, 159]
Generated Node #0,2,4: 83:[56, 159] Operation: 79+80=159
Moving to Node #0,1
Current State: 83:[88, 80, 111], Operations: ['32+79=111']
Exploring Operation: 88-80=8, Resulting Numbers: [111, 8]
Generated Node #0,1,0: 83:[111, 8] Operation: 88-80=8
Exploring Operation: 88+80=168, Resulting Numbers: [111, 168]
Generated Node #0,1,1: 83:[111, 168] Operation: 88+80=168
Exploring Operation: 111-80=31, Resulting Numbers: [88, 31]
Generated Node #0,1,2: 83:[88, 31] Operation: 111-80=31
Exploring Operation: 111-88=23, Resulting Numbers: [80, 23]
Generated Node #0,1,3: 83:[80, 23] Operation: 111-88=23
Exploring Operation: 80+111=191, Resulting Numbers: [88, 191]
Generated Node #0,1,4: 83:[88, 191] Operation: 80+111=191
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 83:[88, 31], Operations: ['32+79=111', '111-80=31']
Exploring Operation: 88*31=2728, Resulting Numbers: [2728]
2728,83 unequal: No Solution
Exploring Operation: 88+31=119, Resulting Numbers: [119]
119,83 unequal: No Solution
Exploring Operation: 88-31=57, Resulting Numbers: [57]
57,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,1,3
Current State: 83:[80, 23], Operations: ['32+79=111', '111-88=23']
Exploring Operation: 80+23=103, Resulting Numbers: [103]
103,83 unequal: No Solution
Exploring Operation: 80*23=1840, Resulting Numbers: [1840]
1840,83 unequal: No Solution
Exploring Operation: 80-23=57, Resulting Numbers: [57]
57,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,1,0
Current State: 83:[111, 8], Operations: ['32+79=111', '88-80=8']
Exploring Operation: 111-8=103, Resulting Numbers: [103]
103,83 unequal: No Solution
Exploring Operation: 111+8=119, Resulting Numbers: [119]
119,83 unequal: No Solution
Exploring Operation: 111*8=888, Resulting Numbers: [888]
888,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,1,1
Current State: 83:[111, 168], Operations: ['32+79=111', '88+80=168']
Exploring Operation: 111*168=18648, Resulting Numbers: [18648]
18648,83 unequal: No Solution
Exploring Operation: 168-111=57, Resulting Numbers: [57]
57,83 unequal: No Solution
Exploring Operation: 111+168=279, Resulting Numbers: [279]
279,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,1,4
Current State: 83:[88, 191], Operations: ['32+79=111', '80+111=191']
Exploring Operation: 88*191=16808, Resulting Numbers: [16808]
16808,83 unequal: No Solution
Exploring Operation: 191-88=103, Resulting Numbers: [103]
103,83 unequal: No Solution
Exploring Operation: 88+191=279, Resulting Numbers: [279]
279,83 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: 83:[88, 79, 112], Operations: ['32+80=112']
Exploring Operation: 112-88=24, Resulting Numbers: [79, 24]
Generated Node #0,0,0: 83:[79, 24] Operation: 112-88=24
Exploring Operation: 79+112=191, Resulting Numbers: [88, 191]
Generated Node #0,0,1: 83:[88, 191] Operation: 79+112=191
Exploring Operation: 88+79=167, Resulting Numbers: [112, 167]
Generated Node #0,0,2: 83:[112, 167] Operation: 88+79=167
Exploring Operation: 112-79=33, Resulting Numbers: [88, 33]
Generated Node #0,0,3: 83:[88, 33] Operation: 112-79=33
Exploring Operation: 88-79=9, Resulting Numbers: [112, 9]
Generated Node #0,0,4: 83:[112, 9] Operation: 88-79=9
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 83:[88, 33], Operations: ['32+80=112', '112-79=33']
Exploring Operation: 88-33=55, Resulting Numbers: [55]
55,83 unequal: No Solution
Exploring Operation: 88*33=2904, Resulting Numbers: [2904]
2904,83 unequal: No Solution
Exploring Operation: 88+33=121, Resulting Numbers: [121]
121,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:[79, 24], Operations: ['32+80=112', '112-88=24']
Exploring Operation: 79-24=55, Resulting Numbers: [55]
55,83 unequal: No Solution
Exploring Operation: 79*24=1896, Resulting Numbers: [1896]
1896,83 unequal: No Solution
Exploring Operation: 79+24=103, Resulting Numbers: [103]
103,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,4
Current State: 83:[112, 9], Operations: ['32+80=112', '88-79=9']
Exploring Operation: 112*9=1008, Resulting Numbers: [1008]
1008,83 unequal: No Solution
Exploring Operation: 112-9=103, Resulting Numbers: [103]
103,83 unequal: No Solution
Exploring Operation: 112+9=121, Resulting Numbers: [121]
121,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:[88, 191], Operations: ['32+80=112', '79+112=191']
Exploring Operation: 88+191=279, Resulting Numbers: [279]
279,83 unequal: No Solution
Exploring Operation: 88*191=16808, Resulting Numbers: [16808]
16808,83 unequal: No Solution
Exploring Operation: 191-88=103, Resulting Numbers: [103]
103,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:[112, 167], Operations: ['32+80=112', '88+79=167']
Exploring Operation: 112+167=279, Resulting Numbers: [279]
279,83 unequal: No Solution
Exploring Operation: 167-112=55, Resulting Numbers: [55]
55,83 unequal: No Solution
Exploring Operation: 112*167=18704, Resulting Numbers: [18704]
18704,83 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: 83:[79, 80, 120], Operations: ['32+88=120']
Exploring Operation: 79+120=199, Resulting Numbers: [80, 199]
Generated Node #0,3,0: 83:[80, 199] Operation: 79+120=199
Exploring Operation: 79+80=159, Resulting Numbers: [120, 159]
Generated Node #0,3,1: 83:[120, 159] Operation: 79+80=159
Exploring Operation: 80-79=1, Resulting Numbers: [120, 1]
Generated Node #0,3,2: 83:[120, 1] Operation: 80-79=1
Exploring Operation: 120-79=41, Resulting Numbers: [80, 41]
Generated Node #0,3,3: 83:[80, 41] Operation: 120-79=41
Exploring Operation: 120-80=40, Resulting Numbers: [79, 40]
Generated Node #0,3,4: 83:[79, 40] Operation: 120-80=40
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 83:[80, 41], Operations: ['32+88=120', '120-79=41']
Exploring Operation: 80-41=39, Resulting Numbers: [39]
39,83 unequal: No Solution
Exploring Operation: 80*41=3280, Resulting Numbers: [3280]
3280,83 unequal: No Solution
Exploring Operation: 80+41=121, Resulting Numbers: [121]
121,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,3,4
Current State: 83:[79, 40], Operations: ['32+88=120', '120-80=40']
Exploring Operation: 79+40=119, Resulting Numbers: [119]
119,83 unequal: No Solution
Exploring Operation: 79-40=39, Resulting Numbers: [39]
39,83 unequal: No Solution
Exploring Operation: 79*40=3160, Resulting Numbers: [3160]
3160,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,3,1
Current State: 83:[120, 159], Operations: ['32+88=120', '79+80=159']
Exploring Operation: 120*159=19080, Resulting Numbers: [19080]
19080,83 unequal: No Solution
Exploring Operation: 120+159=279, Resulting Numbers: [279]
279,83 unequal: No Solution
Exploring Operation: 159-120=39, Resulting Numbers: [39]
39,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,3,0
Current State: 83:[80, 199], Operations: ['32+88=120', '79+120=199']
Exploring Operation: 80*199=15920, Resulting Numbers: [15920]
15920,83 unequal: No Solution
Exploring Operation: 199-80=119, Resulting Numbers: [119]
119,83 unequal: No Solution
Exploring Operation: 80+199=279, Resulting Numbers: [279]
279,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,3,2
Current State: 83:[120, 1], Operations: ['32+88=120', '80-79=1']
Exploring Operation: 120+1=121, Resulting Numbers: [121]
121,83 unequal: No Solution
Exploring Operation: 120*1=120, Resulting Numbers: [120]
120,83 unequal: No Solution
Exploring Operation: 120/1=120, Resulting Numbers: [120]
120,83 unequal: No Solution
Exploring Operation: 120-1=119, Resulting Numbers: [119]
119,83 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: 83:[88, 80, 47], Operations: ['79-32=47']
Exploring Operation: 88+47=135, Resulting Numbers: [80, 135]
Generated Node #0,4,0: 83:[80, 135] Operation: 88+47=135
Exploring Operation: 80-47=33, Resulting Numbers: [88, 33]
Generated Node #0,4,1: 83:[88, 33] Operation: 80-47=33
Exploring Operation: 88-47=41, Resulting Numbers: [80, 41]
Generated Node #0,4,2: 83:[80, 41] Operation: 88-47=41
Exploring Operation: 80+47=127, Resulting Numbers: [88, 127]
Generated Node #0,4,3: 83:[88, 127] Operation: 80+47=127
Exploring Operation: 88-80=8, Resulting Numbers: [47, 8]
Generated Node #0,4,4: 83:[47, 8] Operation: 88-80=8
Moving to Node #0,4,2
Current State: 83:[80, 41], Operations: ['79-32=47', '88-47=41']
Exploring Operation: 80*41=3280, Resulting Numbers: [3280]
3280,83 unequal: No Solution
Exploring Operation: 80+41=121, Resulting Numbers: [121]
121,83 unequal: No Solution
Exploring Operation: 80-41=39, Resulting Numbers: [39]
39,83 unequal: No Solution
Moving to Node #0,4,3
Current State: 83:[88, 127], Operations: ['79-32=47', '80+47=127']
Exploring Operation: 88*127=11176, Resulting Numbers: [11176]
11176,83 unequal: No Solution
Exploring Operation: 127-88=39, Resulting Numbers: [39]
39,83 unequal: No Solution
Exploring Operation: 88+127=215, Resulting Numbers: [215]
215,83 unequal: No Solution
Moving to Node #0,2,1
Current State: 83:[80, 135], Operations: ['88-32=56', '79+56=135']
Exploring Operation: 135-80=55, Resulting Numbers: [55]
55,83 unequal: No Solution
Exploring Operation: 80+135=215, Resulting Numbers: [215]
215,83 unequal: No Solution
Exploring Operation: 80*135=10800, Resulting Numbers: [10800]
10800,83 unequal: No Solution
Moving to Node #0,4,0
Current State: 83:[80, 135], Operations: ['79-32=47', '88+47=135']
Exploring Operation: 80+135=215, Resulting Numbers: [215]
215,83 unequal: No Solution
Exploring Operation: 80*135=10800, Resulting Numbers: [10800]
10800,83 unequal: No Solution
Exploring Operation: 135-80=55, Resulting Numbers: [55]
55,83 unequal: No Solution
Moving to Node #0,4,1
Current State: 83:[88, 33], Operations: ['79-32=47', '80-47=33']
Exploring Operation: 88-33=55, Resulting Numbers: [55]
55,83 unequal: No Solution
Exploring Operation: 88*33=2904, Resulting Numbers: [2904]
2904,83 unequal: No Solution
Exploring Operation: 88+33=121, Resulting Numbers: [121]
121,83 unequal: No Solution
Moving to Node #0,2,0
Current State: 83:[79, 136], Operations: ['88-32=56', '80+56=136']
Exploring Operation: 79+136=215, Resulting Numbers: [215]
215,83 unequal: No Solution
Exploring Operation: 136-79=57, Resulting Numbers: [57]
57,83 unequal: No Solution
Exploring Operation: 79*136=10744, Resulting Numbers: [10744]
10744,83 unequal: No Solution
Moving to Node #0,2,2
Current State: 83:[79, 24], Operations: ['88-32=56', '80-56=24']
Exploring Operation: 79*24=1896, Resulting Numbers: [1896]
1896,83 unequal: No Solution
Exploring Operation: 79-24=55, Resulting Numbers: [55]
55,83 unequal: No Solution
Exploring Operation: 79+24=103, Resulting Numbers: [103]
103,83 unequal: No Solution
Moving to Node #0,2,3
Current State: 83:[80, 23], Operations: ['88-32=56', '79-56=23']
Exploring Operation: 80*23=1840, Resulting Numbers: [1840]
1840,83 unequal: No Solution
Exploring Operation: 80+23=103, Resulting Numbers: [103]
103,83 unequal: No Solution
Exploring Operation: 80-23=57, Resulting Numbers: [57]
57,83 unequal: No Solution
Moving to Node #0,2,4
Current State: 83:[56, 159], Operations: ['88-32=56', '79+80=159']
Exploring Operation: 56*159=8904, Resulting Numbers: [8904]
8904,83 unequal: No Solution
Exploring Operation: 56+159=215, Resulting Numbers: [215]
215,83 unequal: No Solution
Exploring Operation: 159-56=103, Resulting Numbers: [103]
103,83 unequal: No Solution
Moving to Node #0,4,4
Current State: 83:[47, 8], Operations: ['79-32=47', '88-80=8']
Exploring Operation: 47+8=55, Resulting Numbers: [55]
55,83 unequal: No Solution
Exploring Operation: 47-8=39, Resulting Numbers: [39]
39,83 unequal: No Solution
Exploring Operation: 47*8=376, Resulting Numbers: [376]
376,83 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
88,
3,
69,
99
] | 81 | [
"3+69=72",
"99*72=7128",
"7128/88=81"
] | Current State: 81:[88, 3, 69, 99], Operations: []
Exploring Operation: 3+69=72, Resulting Numbers: [88, 99, 72]
Generated Node #2: [88, 99, 72] from Operation: 3+69=72
Current State: 81:[88, 99, 72], Operations: ['3+69=72']
Exploring Operation: 99*72=7128, Resulting Numbers: [88, 7128]
Generated Node #3: [88, 7128] from Operation: 99*72=7128
Current State: 81:[88, 7128], Operations: ['3+69=72', '99*72=7128']
Exploring Operation: 7128/88=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[88, 3, 69, 99], Operations: []
Exploring Operation: 88-69=19, Resulting Numbers: [3, 99, 19]
Generated Node #0,0: 81:[3, 99, 19] Operation: 88-69=19
Exploring Operation: 99/3=33, Resulting Numbers: [88, 69, 33]
Generated Node #0,1: 81:[88, 69, 33] Operation: 99/3=33
Exploring Operation: 99-69=30, Resulting Numbers: [88, 3, 30]
Generated Node #0,2: 81:[88, 3, 30] Operation: 99-69=30
Exploring Operation: 99-88=11, Resulting Numbers: [3, 69, 11]
Generated Node #0,3: 81:[3, 69, 11] Operation: 99-88=11
Exploring Operation: 69/3=23, Resulting Numbers: [88, 99, 23]
Generated Node #0,4: 81:[88, 99, 23] Operation: 69/3=23
Moving to Node #0,2
Current State: 81:[88, 3, 30], Operations: ['99-69=30']
Exploring Operation: 88+3=91, Resulting Numbers: [30, 91]
Generated Node #0,2,0: 81:[30, 91] Operation: 88+3=91
Exploring Operation: 3+30=33, Resulting Numbers: [88, 33]
Generated Node #0,2,1: 81:[88, 33] Operation: 3+30=33
Exploring Operation: 30-3=27, Resulting Numbers: [88, 27]
Generated Node #0,2,2: 81:[88, 27] Operation: 30-3=27
Exploring Operation: 88-3=85, Resulting Numbers: [30, 85]
Generated Node #0,2,3: 81:[30, 85] Operation: 88-3=85
Exploring Operation: 30/3=10, Resulting Numbers: [88, 10]
Generated Node #0,2,4: 81:[88, 10] Operation: 30/3=10
Moving to Node #0,3
Current State: 81:[3, 69, 11], Operations: ['99-88=11']
Exploring Operation: 69+11=80, Resulting Numbers: [3, 80]
Generated Node #0,3,0: 81:[3, 80] Operation: 69+11=80
Exploring Operation: 69-3=66, Resulting Numbers: [11, 66]
Generated Node #0,3,1: 81:[11, 66] Operation: 69-3=66
Exploring Operation: 3+69=72, Resulting Numbers: [11, 72]
Generated Node #0,3,2: 81:[11, 72] Operation: 3+69=72
Exploring Operation: 69/3=23, Resulting Numbers: [11, 23]
Generated Node #0,3,3: 81:[11, 23] Operation: 69/3=23
Exploring Operation: 11-3=8, Resulting Numbers: [69, 8]
Generated Node #0,3,4: 81:[69, 8] Operation: 11-3=8
Moving to Node #0,1
Current State: 81:[88, 69, 33], Operations: ['99/3=33']
Exploring Operation: 69-33=36, Resulting Numbers: [88, 36]
Generated Node #0,1,0: 81:[88, 36] Operation: 69-33=36
Exploring Operation: 88-69=19, Resulting Numbers: [33, 19]
Generated Node #0,1,1: 81:[33, 19] Operation: 88-69=19
Exploring Operation: 69+33=102, Resulting Numbers: [88, 102]
Generated Node #0,1,2: 81:[88, 102] Operation: 69+33=102
Exploring Operation: 88+33=121, Resulting Numbers: [69, 121]
Generated Node #0,1,3: 81:[69, 121] Operation: 88+33=121
Exploring Operation: 88-33=55, Resulting Numbers: [69, 55]
Generated Node #0,1,4: 81:[69, 55] Operation: 88-33=55
Moving to Node #0,0
Current State: 81:[3, 99, 19], Operations: ['88-69=19']
Exploring Operation: 19-3=16, Resulting Numbers: [99, 16]
Generated Node #0,0,0: 81:[99, 16] Operation: 19-3=16
Exploring Operation: 99-3=96, Resulting Numbers: [19, 96]
Generated Node #0,0,1: 81:[19, 96] Operation: 99-3=96
Exploring Operation: 99/3=33, Resulting Numbers: [19, 33]
Generated Node #0,0,2: 81:[19, 33] Operation: 99/3=33
Exploring Operation: 3+19=22, Resulting Numbers: [99, 22]
Generated Node #0,0,3: 81:[99, 22] Operation: 3+19=22
Exploring Operation: 99-19=80, Resulting Numbers: [3, 80]
Generated Node #0,0,4: 81:[3, 80] Operation: 99-19=80
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 81:[3, 80], Operations: ['88-69=19', '99-19=80']
Exploring Operation: 80-3=77, Resulting Numbers: [77]
77,81 unequal: No Solution
Exploring Operation: 3*80=240, Resulting Numbers: [240]
240,81 unequal: No Solution
Exploring Operation: 3+80=83, Resulting Numbers: [83]
83,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 81:[19, 33], Operations: ['88-69=19', '99/3=33']
Exploring Operation: 19*33=627, Resulting Numbers: [627]
627,81 unequal: No Solution
Exploring Operation: 19+33=52, Resulting Numbers: [52]
52,81 unequal: No Solution
Exploring Operation: 33-19=14, Resulting Numbers: [14]
14,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 81:[19, 96], Operations: ['88-69=19', '99-3=96']
Exploring Operation: 19*96=1824, Resulting Numbers: [1824]
1824,81 unequal: No Solution
Exploring Operation: 19+96=115, Resulting Numbers: [115]
115,81 unequal: No Solution
Exploring Operation: 96-19=77, Resulting Numbers: [77]
77,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 81:[99, 22], Operations: ['88-69=19', '3+19=22']
Exploring Operation: 99-22=77, Resulting Numbers: [77]
77,81 unequal: No Solution
Exploring Operation: 99+22=121, Resulting Numbers: [121]
121,81 unequal: No Solution
Exploring Operation: 99*22=2178, Resulting Numbers: [2178]
2178,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 81:[99, 16], Operations: ['88-69=19', '19-3=16']
Exploring Operation: 99*16=1584, Resulting Numbers: [1584]
1584,81 unequal: No Solution
Exploring Operation: 99+16=115, Resulting Numbers: [115]
115,81 unequal: No Solution
Exploring Operation: 99-16=83, Resulting Numbers: [83]
83,81 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: 81:[88, 99, 23], Operations: ['69/3=23']
Exploring Operation: 99-23=76, Resulting Numbers: [88, 76]
Generated Node #0,4,0: 81:[88, 76] Operation: 99-23=76
Exploring Operation: 88-23=65, Resulting Numbers: [99, 65]
Generated Node #0,4,1: 81:[99, 65] Operation: 88-23=65
Exploring Operation: 88+23=111, Resulting Numbers: [99, 111]
Generated Node #0,4,2: 81:[99, 111] Operation: 88+23=111
Exploring Operation: 99-88=11, Resulting Numbers: [23, 11]
Generated Node #0,4,3: 81:[23, 11] Operation: 99-88=11
Exploring Operation: 99+23=122, Resulting Numbers: [88, 122]
Generated Node #0,4,4: 81:[88, 122] Operation: 99+23=122
Moving to Node #0,3,0
Current State: 81:[3, 80], Operations: ['99-88=11', '69+11=80']
Exploring Operation: 3*80=240, Resulting Numbers: [240]
240,81 unequal: No Solution
Exploring Operation: 80-3=77, Resulting Numbers: [77]
77,81 unequal: No Solution
Exploring Operation: 3+80=83, Resulting Numbers: [83]
83,81 unequal: No Solution
Moving to Node #0,3,3
Current State: 81:[11, 23], Operations: ['99-88=11', '69/3=23']
Exploring Operation: 11+23=34, Resulting Numbers: [34]
34,81 unequal: No Solution
Exploring Operation: 11*23=253, Resulting Numbers: [253]
253,81 unequal: No Solution
Exploring Operation: 23-11=12, Resulting Numbers: [12]
12,81 unequal: No Solution
Moving to Node #0,4,3
Current State: 81:[23, 11], Operations: ['69/3=23', '99-88=11']
Exploring Operation: 23-11=12, Resulting Numbers: [12]
12,81 unequal: No Solution
Exploring Operation: 23+11=34, Resulting Numbers: [34]
34,81 unequal: No Solution
Exploring Operation: 23*11=253, Resulting Numbers: [253]
253,81 unequal: No Solution
Moving to Node #0,2,2
Current State: 81:[88, 27], Operations: ['99-69=30', '30-3=27']
Exploring Operation: 88-27=61, Resulting Numbers: [61]
61,81 unequal: No Solution
Exploring Operation: 88+27=115, Resulting Numbers: [115]
115,81 unequal: No Solution
Exploring Operation: 88*27=2376, Resulting Numbers: [2376]
2376,81 unequal: No Solution
Moving to Node #0,2,3
Current State: 81:[30, 85], Operations: ['99-69=30', '88-3=85']
Exploring Operation: 30*85=2550, Resulting Numbers: [2550]
2550,81 unequal: No Solution
Exploring Operation: 30+85=115, Resulting Numbers: [115]
115,81 unequal: No Solution
Exploring Operation: 85-30=55, Resulting Numbers: [55]
55,81 unequal: No Solution
Moving to Node #0,2,4
Current State: 81:[88, 10], Operations: ['99-69=30', '30/3=10']
Exploring Operation: 88*10=880, Resulting Numbers: [880]
880,81 unequal: No Solution
Exploring Operation: 88+10=98, Resulting Numbers: [98]
98,81 unequal: No Solution
Exploring Operation: 88-10=78, Resulting Numbers: [78]
78,81 unequal: No Solution
Moving to Node #0,3,2
Current State: 81:[11, 72], Operations: ['99-88=11', '3+69=72']
Exploring Operation: 11+72=83, Resulting Numbers: [83]
83,81 unequal: No Solution
Exploring Operation: 11*72=792, Resulting Numbers: [792]
792,81 unequal: No Solution
Exploring Operation: 72-11=61, Resulting Numbers: [61]
61,81 unequal: No Solution
Moving to Node #0,4,0
Current State: 81:[88, 76], Operations: ['69/3=23', '99-23=76']
Exploring Operation: 88*76=6688, Resulting Numbers: [6688]
6688,81 unequal: No Solution
Exploring Operation: 88-76=12, Resulting Numbers: [12]
12,81 unequal: No Solution
Exploring Operation: 88+76=164, Resulting Numbers: [164]
164,81 unequal: No Solution
Moving to Node #0,2,1
Current State: 81:[88, 33], Operations: ['99-69=30', '3+30=33']
Exploring Operation: 88+33=121, Resulting Numbers: [121]
121,81 unequal: No Solution
Exploring Operation: 88*33=2904, Resulting Numbers: [2904]
2904,81 unequal: No Solution
Exploring Operation: 88-33=55, Resulting Numbers: [55]
55,81 unequal: No Solution
Moving to Node #0,3,4
Current State: 81:[69, 8], Operations: ['99-88=11', '11-3=8']
Exploring Operation: 69*8=552, Resulting Numbers: [552]
552,81 unequal: No Solution
Exploring Operation: 69-8=61, Resulting Numbers: [61]
61,81 unequal: No Solution
Exploring Operation: 69+8=77, Resulting Numbers: [77]
77,81 unequal: No Solution
Moving to Node #0,2,0
Current State: 81:[30, 91], Operations: ['99-69=30', '88+3=91']
Exploring Operation: 30*91=2730, Resulting Numbers: [2730]
2730,81 unequal: No Solution
Exploring Operation: 30+91=121, Resulting Numbers: [121]
121,81 unequal: No Solution
Exploring Operation: 91-30=61, Resulting Numbers: [61]
61,81 unequal: No Solution
Moving to Node #0,1,1
Current State: 81:[33, 19], Operations: ['99/3=33', '88-69=19']
Exploring Operation: 33+19=52, Resulting Numbers: [52]
52,81 unequal: No Solution
Exploring Operation: 33*19=627, Resulting Numbers: [627]
627,81 unequal: No Solution
Exploring Operation: 33-19=14, Resulting Numbers: [14]
14,81 unequal: No Solution
Moving to Node #0,1,0
Current State: 81:[88, 36], Operations: ['99/3=33', '69-33=36']
Exploring Operation: 88+36=124, Resulting Numbers: [124]
124,81 unequal: No Solution
Exploring Operation: 88*36=3168, Resulting Numbers: [3168]
3168,81 unequal: No Solution
Exploring Operation: 88-36=52, Resulting Numbers: [52]
52,81 unequal: No Solution
Moving to Node #0,3,1
Current State: 81:[11, 66], Operations: ['99-88=11', '69-3=66']
Exploring Operation: 11*66=726, Resulting Numbers: [726]
726,81 unequal: No Solution
Exploring Operation: 11+66=77, Resulting Numbers: [77]
77,81 unequal: No Solution
Exploring Operation: 66-11=55, Resulting Numbers: [55]
55,81 unequal: No Solution
Exploring Operation: 66/11=6, Resulting Numbers: [6]
6,81 unequal: No Solution
Moving to Node #0,1,2
Current State: 81:[88, 102], Operations: ['99/3=33', '69+33=102']
Exploring Operation: 102-88=14, Resulting Numbers: [14]
14,81 unequal: No Solution
Exploring Operation: 88+102=190, Resulting Numbers: [190]
190,81 unequal: No Solution
Exploring Operation: 88*102=8976, Resulting Numbers: [8976]
8976,81 unequal: No Solution
Moving to Node #0,4,1
Current State: 81:[99, 65], Operations: ['69/3=23', '88-23=65']
Exploring Operation: 99+65=164, Resulting Numbers: [164]
164,81 unequal: No Solution
Exploring Operation: 99*65=6435, Resulting Numbers: [6435]
6435,81 unequal: No Solution
Exploring Operation: 99-65=34, Resulting Numbers: [34]
34,81 unequal: No Solution
Moving to Node #0,1,4
Current State: 81:[69, 55], Operations: ['99/3=33', '88-33=55']
Exploring Operation: 69*55=3795, Resulting Numbers: [3795]
3795,81 unequal: No Solution
Exploring Operation: 69+55=124, Resulting Numbers: [124]
124,81 unequal: No Solution
Exploring Operation: 69-55=14, Resulting Numbers: [14]
14,81 unequal: No Solution
Moving to Node #0,4,4
Current State: 81:[88, 122], Operations: ['69/3=23', '99+23=122']
Exploring Operation: 122-88=34, Resulting Numbers: [34]
34,81 unequal: No Solution
Exploring Operation: 88+122=210, Resulting Numbers: [210]
210,81 unequal: No Solution
Exploring Operation: 88*122=10736, Resulting Numbers: [10736]
10736,81 unequal: No Solution
Moving to Node #0,4,2
Current State: 81:[99, 111], Operations: ['69/3=23', '88+23=111']
Exploring Operation: 99*111=10989, Resulting Numbers: [10989]
10989,81 unequal: No Solution
Exploring Operation: 111-99=12, Resulting Numbers: [12]
12,81 unequal: No Solution
Exploring Operation: 99+111=210, Resulting Numbers: [210]
210,81 unequal: No Solution
Moving to Node #0,1,3
Current State: 81:[69, 121], Operations: ['99/3=33', '88+33=121']
Exploring Operation: 69*121=8349, Resulting Numbers: [8349]
8349,81 unequal: No Solution
Exploring Operation: 121-69=52, Resulting Numbers: [52]
52,81 unequal: No Solution
Exploring Operation: 69+121=190, Resulting Numbers: [190]
190,81 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
55,
48,
99,
8
] | 98 | [
"55-48=7",
"99-8=91",
"7+91=98"
] | Current State: 98:[55, 48, 99, 8], Operations: []
Exploring Operation: 55-48=7, Resulting Numbers: [99, 8, 7]
Generated Node #2: [99, 8, 7] from Operation: 55-48=7
Current State: 98:[99, 8, 7], Operations: ['55-48=7']
Exploring Operation: 99-8=91, Resulting Numbers: [7, 91]
Generated Node #3: [7, 91] from Operation: 99-8=91
Current State: 98:[7, 91], Operations: ['55-48=7', '99-8=91']
Exploring Operation: 7+91=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[55, 48, 99, 8], Operations: []
Exploring Operation: 55-48=7, Resulting Numbers: [99, 8, 7]
Generated Node #0,0: 98:[99, 8, 7] Operation: 55-48=7
Exploring Operation: 55-8=47, Resulting Numbers: [48, 99, 47]
Generated Node #0,1: 98:[48, 99, 47] Operation: 55-8=47
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[99, 8, 7], Operations: ['55-48=7']
Exploring Operation: 8-7=1, Resulting Numbers: [99, 1]
Generated Node #0,0,0: 98:[99, 1] Operation: 8-7=1
Exploring Operation: 8+7=15, Resulting Numbers: [99, 15]
Generated Node #0,0,1: 98:[99, 15] Operation: 8+7=15
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 98:[99, 1], Operations: ['55-48=7', '8-7=1']
Exploring Operation: 99*1=99, Resulting Numbers: [99]
99,98 unequal: No Solution
Exploring Operation: 99-1=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[55, 48, 99, 8], Operations: []
Exploring Operation: 55-48=7, Resulting Numbers: [99, 8, 7]
Generated Node #0,0: 98:[99, 8, 7] Operation: 55-48=7
Moving to Node #0,0
Current State: 98:[99, 8, 7], Operations: ['55-48=7']
Exploring Operation: 8-7=1, Resulting Numbers: [99, 1]
Generated Node #0,0,0: 98:[99, 1] Operation: 8-7=1
Moving to Node #0,0,0
Current State: 98:[99, 1], Operations: ['55-48=7', '8-7=1']
Exploring Operation: 99-1=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
52,
46,
88,
68
] | 48 | [
"68-46=22",
"88/22=4",
"52-4=48"
] | Current State: 48:[52, 46, 88, 68], Operations: []
Exploring Operation: 68-46=22, Resulting Numbers: [52, 88, 22]
Generated Node #2: [52, 88, 22] from Operation: 68-46=22
Current State: 48:[52, 88, 22], Operations: ['68-46=22']
Exploring Operation: 88/22=4, Resulting Numbers: [52, 4]
Generated Node #3: [52, 4] from Operation: 88/22=4
Current State: 48:[52, 4], Operations: ['68-46=22', '88/22=4']
Exploring Operation: 52-4=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[52, 46, 88, 68], Operations: []
Exploring Operation: 88-68=20, Resulting Numbers: [52, 46, 20]
Generated Node #0,0: 48:[52, 46, 20] Operation: 88-68=20
Exploring Operation: 88-46=42, Resulting Numbers: [52, 68, 42]
Generated Node #0,1: 48:[52, 68, 42] Operation: 88-46=42
Moving to Node #0,0
Current State: 48:[52, 46, 20], Operations: ['88-68=20']
Exploring Operation: 52-46=6, Resulting Numbers: [20, 6]
Generated Node #0,0,0: 48:[20, 6] Operation: 52-46=6
Exploring Operation: 46-20=26, Resulting Numbers: [52, 26]
Generated Node #0,0,1: 48:[52, 26] Operation: 46-20=26
Moving to Node #0,1
Current State: 48:[52, 68, 42], Operations: ['88-46=42']
Exploring Operation: 68-42=26, Resulting Numbers: [52, 26]
Generated Node #0,1,0: 48:[52, 26] Operation: 68-42=26
Exploring Operation: 68-52=16, Resulting Numbers: [42, 16]
Generated Node #0,1,1: 48:[42, 16] Operation: 68-52=16
Moving to Node #0,0,0
Current State: 48:[20, 6], Operations: ['88-68=20', '52-46=6']
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,48 unequal: No Solution
Exploring Operation: 20+6=26, Resulting Numbers: [26]
26,48 unequal: No Solution
Moving to Node #0,1,0
Current State: 48:[52, 26], Operations: ['88-46=42', '68-42=26']
Exploring Operation: 52-26=26, Resulting Numbers: [26]
26,48 unequal: No Solution
Exploring Operation: 52/26=2, Resulting Numbers: [2]
2,48 unequal: No Solution
Moving to Node #0,0,1
Current State: 48:[52, 26], Operations: ['88-68=20', '46-20=26']
Exploring Operation: 52-26=26, Resulting Numbers: [26]
26,48 unequal: No Solution
Exploring Operation: 52/26=2, Resulting Numbers: [2]
2,48 unequal: No Solution
Moving to Node #0,1,1
Current State: 48:[42, 16], Operations: ['88-46=42', '68-52=16']
Exploring Operation: 42+16=58, Resulting Numbers: [58]
58,48 unequal: No Solution
Exploring Operation: 42-16=26, Resulting Numbers: [26]
26,48 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
7,
9,
17,
92
] | 77 | [
"9-7=2",
"92-17=75",
"2+75=77"
] | Current State: 77:[7, 9, 17, 92], Operations: []
Exploring Operation: 9-7=2, Resulting Numbers: [17, 92, 2]
Generated Node #2: [17, 92, 2] from Operation: 9-7=2
Current State: 77:[17, 92, 2], Operations: ['9-7=2']
Exploring Operation: 92-17=75, Resulting Numbers: [2, 75]
Generated Node #3: [2, 75] from Operation: 92-17=75
Current State: 77:[2, 75], Operations: ['9-7=2', '92-17=75']
Exploring Operation: 2+75=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[7, 9, 17, 92], Operations: []
Exploring Operation: 92-17=75, Resulting Numbers: [7, 9, 75]
Generated Node #0,0: 77:[7, 9, 75] Operation: 92-17=75
Moving to Node #0,0
Current State: 77:[7, 9, 75], Operations: ['92-17=75']
Exploring Operation: 7+9=16, Resulting Numbers: [75, 16]
Generated Node #0,0,0: 77:[75, 16] Operation: 7+9=16
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 77:[75, 16], Operations: ['92-17=75', '7+9=16']
Exploring Operation: 75+16=91, Resulting Numbers: [91]
91,77 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 |
[
2,
57,
72,
4
] | 69 | [
"2+4=6",
"72/6=12",
"57+12=69"
] | Current State: 69:[2, 57, 72, 4], Operations: []
Exploring Operation: 2+4=6, Resulting Numbers: [57, 72, 6]
Generated Node #2: [57, 72, 6] from Operation: 2+4=6
Current State: 69:[57, 72, 6], Operations: ['2+4=6']
Exploring Operation: 72/6=12, Resulting Numbers: [57, 12]
Generated Node #3: [57, 12] from Operation: 72/6=12
Current State: 69:[57, 12], Operations: ['2+4=6', '72/6=12']
Exploring Operation: 57+12=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[2, 57, 72, 4], Operations: []
Exploring Operation: 72-2=70, Resulting Numbers: [57, 4, 70]
Generated Node #0,0: 69:[57, 4, 70] Operation: 72-2=70
Exploring Operation: 57+4=61, Resulting Numbers: [2, 72, 61]
Generated Node #0,1: 69:[2, 72, 61] Operation: 57+4=61
Exploring Operation: 72-57=15, Resulting Numbers: [2, 4, 15]
Generated Node #0,2: 69:[2, 4, 15] Operation: 72-57=15
Exploring Operation: 2+57=59, Resulting Numbers: [72, 4, 59]
Generated Node #0,3: 69:[72, 4, 59] Operation: 2+57=59
Moving to Node #0,2
Current State: 69:[2, 4, 15], Operations: ['72-57=15']
Exploring Operation: 2*15=30, Resulting Numbers: [4, 30]
Generated Node #0,2,0: 69:[4, 30] Operation: 2*15=30
Exploring Operation: 4-2=2, Resulting Numbers: [15, 2]
Generated Node #0,2,1: 69:[15, 2] Operation: 4-2=2
Exploring Operation: 2+15=17, Resulting Numbers: [4, 17]
Generated Node #0,2,2: 69:[4, 17] Operation: 2+15=17
Exploring Operation: 4+15=19, Resulting Numbers: [2, 19]
Generated Node #0,2,3: 69:[2, 19] Operation: 4+15=19
Moving to Node #0,1
Current State: 69:[2, 72, 61], Operations: ['57+4=61']
Exploring Operation: 2+61=63, Resulting Numbers: [72, 63]
Generated Node #0,1,0: 69:[72, 63] Operation: 2+61=63
Exploring Operation: 72-61=11, Resulting Numbers: [2, 11]
Generated Node #0,1,1: 69:[2, 11] Operation: 72-61=11
Exploring Operation: 2+72=74, Resulting Numbers: [61, 74]
Generated Node #0,1,2: 69:[61, 74] Operation: 2+72=74
Exploring Operation: 72-2=70, Resulting Numbers: [61, 70]
Generated Node #0,1,3: 69:[61, 70] Operation: 72-2=70
Moving to Node #0,3
Current State: 69:[72, 4, 59], Operations: ['2+57=59']
Exploring Operation: 72/4=18, Resulting Numbers: [59, 18]
Generated Node #0,3,0: 69:[59, 18] Operation: 72/4=18
Exploring Operation: 72-59=13, Resulting Numbers: [4, 13]
Generated Node #0,3,1: 69:[4, 13] Operation: 72-59=13
Exploring Operation: 4+59=63, Resulting Numbers: [72, 63]
Generated Node #0,3,2: 69:[72, 63] Operation: 4+59=63
Exploring Operation: 72-4=68, Resulting Numbers: [59, 68]
Generated Node #0,3,3: 69:[59, 68] Operation: 72-4=68
Moving to Node #0,0
Current State: 69:[57, 4, 70], Operations: ['72-2=70']
Exploring Operation: 70-4=66, Resulting Numbers: [57, 66]
Generated Node #0,0,0: 69:[57, 66] Operation: 70-4=66
Exploring Operation: 57+4=61, Resulting Numbers: [70, 61]
Generated Node #0,0,1: 69:[70, 61] Operation: 57+4=61
Exploring Operation: 57-4=53, Resulting Numbers: [70, 53]
Generated Node #0,0,2: 69:[70, 53] Operation: 57-4=53
Exploring Operation: 70-57=13, Resulting Numbers: [4, 13]
Generated Node #0,0,3: 69:[4, 13] Operation: 70-57=13
Moving to Node #0,2,3
Current State: 69:[2, 19], Operations: ['72-57=15', '4+15=19']
Exploring Operation: 2*19=38, Resulting Numbers: [38]
38,69 unequal: No Solution
Exploring Operation: 2+19=21, Resulting Numbers: [21]
21,69 unequal: No Solution
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,69 unequal: No Solution
Moving to Node #0,2,2
Current State: 69:[4, 17], Operations: ['72-57=15', '2+15=17']
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,69 unequal: No Solution
Exploring Operation: 4+17=21, Resulting Numbers: [21]
21,69 unequal: No Solution
Exploring Operation: 4*17=68, Resulting Numbers: [68]
68,69 unequal: No Solution
Moving to Node #0,2,0
Current State: 69:[4, 30], Operations: ['72-57=15', '2*15=30']
Exploring Operation: 4+30=34, Resulting Numbers: [34]
34,69 unequal: No Solution
Exploring Operation: 4*30=120, Resulting Numbers: [120]
120,69 unequal: No Solution
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,69 unequal: No Solution
Moving to Node #0,1,3
Current State: 69:[61, 70], Operations: ['57+4=61', '72-2=70']
Exploring Operation: 61*70=4270, Resulting Numbers: [4270]
4270,69 unequal: No Solution
Exploring Operation: 70-61=9, Resulting Numbers: [9]
9,69 unequal: No Solution
Exploring Operation: 61+70=131, Resulting Numbers: [131]
131,69 unequal: No Solution
Moving to Node #0,1,1
Current State: 69:[2, 11], Operations: ['57+4=61', '72-61=11']
Exploring Operation: 2*11=22, Resulting Numbers: [22]
22,69 unequal: No Solution
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,69 unequal: No Solution
Exploring Operation: 2+11=13, Resulting Numbers: [13]
13,69 unequal: No Solution
Moving to Node #0,0,1
Current State: 69:[70, 61], Operations: ['72-2=70', '57+4=61']
Exploring Operation: 70*61=4270, Resulting Numbers: [4270]
4270,69 unequal: No Solution
Exploring Operation: 70+61=131, Resulting Numbers: [131]
131,69 unequal: No Solution
Exploring Operation: 70-61=9, Resulting Numbers: [9]
9,69 unequal: No Solution
Moving to Node #0,1,0
Current State: 69:[72, 63], Operations: ['57+4=61', '2+61=63']
Exploring Operation: 72+63=135, Resulting Numbers: [135]
135,69 unequal: No Solution
Exploring Operation: 72-63=9, Resulting Numbers: [9]
9,69 unequal: No Solution
Exploring Operation: 72*63=4536, Resulting Numbers: [4536]
4536,69 unequal: No Solution
Moving to Node #0,2,1
Current State: 69:[15, 2], Operations: ['72-57=15', '4-2=2']
Exploring Operation: 15+2=17, Resulting Numbers: [17]
17,69 unequal: No Solution
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,69 unequal: No Solution
Exploring Operation: 15*2=30, Resulting Numbers: [30]
30,69 unequal: No Solution
Moving to Node #0,3,2
Current State: 69:[72, 63], Operations: ['2+57=59', '4+59=63']
Exploring Operation: 72-63=9, Resulting Numbers: [9]
9,69 unequal: No Solution
Exploring Operation: 72*63=4536, Resulting Numbers: [4536]
4536,69 unequal: No Solution
Exploring Operation: 72+63=135, Resulting Numbers: [135]
135,69 unequal: No Solution
Moving to Node #0,0,3
Current State: 69:[4, 13], Operations: ['72-2=70', '70-57=13']
Exploring Operation: 4*13=52, Resulting Numbers: [52]
52,69 unequal: No Solution
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,69 unequal: No Solution
Exploring Operation: 4+13=17, Resulting Numbers: [17]
17,69 unequal: No Solution
Moving to Node #0,3,3
Current State: 69:[59, 68], Operations: ['2+57=59', '72-4=68']
Exploring Operation: 68-59=9, Resulting Numbers: [9]
9,69 unequal: No Solution
Exploring Operation: 59*68=4012, Resulting Numbers: [4012]
4012,69 unequal: No Solution
Exploring Operation: 59+68=127, Resulting Numbers: [127]
127,69 unequal: No Solution
Moving to Node #0,3,1
Current State: 69:[4, 13], Operations: ['2+57=59', '72-59=13']
Exploring Operation: 4*13=52, Resulting Numbers: [52]
52,69 unequal: No Solution
Exploring Operation: 4+13=17, Resulting Numbers: [17]
17,69 unequal: No Solution
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,69 unequal: No Solution
Moving to Node #0,1,2
Current State: 69:[61, 74], Operations: ['57+4=61', '2+72=74']
Exploring Operation: 74-61=13, Resulting Numbers: [13]
13,69 unequal: No Solution
Exploring Operation: 61+74=135, Resulting Numbers: [135]
135,69 unequal: No Solution
Exploring Operation: 61*74=4514, Resulting Numbers: [4514]
4514,69 unequal: No Solution
Moving to Node #0,0,0
Current State: 69:[57, 66], Operations: ['72-2=70', '70-4=66']
Exploring Operation: 57*66=3762, Resulting Numbers: [3762]
3762,69 unequal: No Solution
Exploring Operation: 57+66=123, Resulting Numbers: [123]
123,69 unequal: No Solution
Exploring Operation: 66-57=9, Resulting Numbers: [9]
9,69 unequal: No Solution
Moving to Node #0,3,0
Current State: 69:[59, 18], Operations: ['2+57=59', '72/4=18']
Exploring Operation: 59-18=41, Resulting Numbers: [41]
41,69 unequal: No Solution
Exploring Operation: 59+18=77, Resulting Numbers: [77]
77,69 unequal: No Solution
Exploring Operation: 59*18=1062, Resulting Numbers: [1062]
1062,69 unequal: No Solution
Moving to Node #0,0,2
Current State: 69:[70, 53], Operations: ['72-2=70', '57-4=53']
Exploring Operation: 70-53=17, Resulting Numbers: [17]
17,69 unequal: No Solution
Exploring Operation: 70*53=3710, Resulting Numbers: [3710]
3710,69 unequal: No Solution
Exploring Operation: 70+53=123, Resulting Numbers: [123]
123,69 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
19,
82,
7,
40
] | 49 | [
"82-19=63",
"63/7=9",
"40+9=49"
] | Current State: 49:[19, 82, 7, 40], Operations: []
Exploring Operation: 82-19=63, Resulting Numbers: [7, 40, 63]
Generated Node #2: [7, 40, 63] from Operation: 82-19=63
Current State: 49:[7, 40, 63], Operations: ['82-19=63']
Exploring Operation: 63/7=9, Resulting Numbers: [40, 9]
Generated Node #3: [40, 9] from Operation: 63/7=9
Current State: 49:[40, 9], Operations: ['82-19=63', '63/7=9']
Exploring Operation: 40+9=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[19, 82, 7, 40], Operations: []
Exploring Operation: 19+40=59, Resulting Numbers: [82, 7, 59]
Generated Node #0,0: 49:[82, 7, 59] Operation: 19+40=59
Exploring Operation: 82-40=42, Resulting Numbers: [19, 7, 42]
Generated Node #0,1: 49:[19, 7, 42] Operation: 82-40=42
Exploring Operation: 82-19=63, Resulting Numbers: [7, 40, 63]
Generated Node #0,2: 49:[7, 40, 63] Operation: 82-19=63
Start Sub Search at level 1: Moving to Node #0,1
Current State: 49:[19, 7, 42], Operations: ['82-40=42']
Exploring Operation: 19+42=61, Resulting Numbers: [7, 61]
Generated Node #0,1,0: 49:[7, 61] Operation: 19+42=61
Exploring Operation: 19-7=12, Resulting Numbers: [42, 12]
Generated Node #0,1,1: 49:[42, 12] Operation: 19-7=12
Exploring Operation: 7+42=49, Resulting Numbers: [19, 49]
Generated Node #0,1,2: 49:[19, 49] Operation: 7+42=49
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 49:[7, 61], Operations: ['82-40=42', '19+42=61']
Exploring Operation: 7*61=427, Resulting Numbers: [427]
427,49 unequal: No Solution
Exploring Operation: 7+61=68, Resulting Numbers: [68]
68,49 unequal: No Solution
Exploring Operation: 61-7=54, Resulting Numbers: [54]
54,49 unequal: No Solution
No 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: 49:[42, 12], Operations: ['82-40=42', '19-7=12']
Exploring Operation: 42*12=504, Resulting Numbers: [504]
504,49 unequal: No Solution
Exploring Operation: 42-12=30, Resulting Numbers: [30]
30,49 unequal: No Solution
Exploring Operation: 42+12=54, Resulting Numbers: [54]
54,49 unequal: No Solution
No 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: 49:[19, 49], Operations: ['82-40=42', '7+42=49']
Exploring Operation: 19+49=68, Resulting Numbers: [68]
68,49 unequal: No Solution
Exploring Operation: 19*49=931, Resulting Numbers: [931]
931,49 unequal: No Solution
Exploring Operation: 49-19=30, Resulting Numbers: [30]
30,49 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: 49:[7, 40, 63], Operations: ['82-19=63']
Exploring Operation: 63/7=9, Resulting Numbers: [40, 9]
Generated Node #0,2,0: 49:[40, 9] Operation: 63/7=9
Exploring Operation: 63-7=56, Resulting Numbers: [40, 56]
Generated Node #0,2,1: 49:[40, 56] Operation: 63-7=56
Exploring Operation: 7+40=47, Resulting Numbers: [63, 47]
Generated Node #0,2,2: 49:[63, 47] Operation: 7+40=47
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 49:[40, 9], Operations: ['82-19=63', '63/7=9']
Exploring Operation: 40*9=360, Resulting Numbers: [360]
360,49 unequal: No Solution
Exploring Operation: 40+9=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[19, 82, 7, 40], Operations: []
Exploring Operation: 82-19=63, Resulting Numbers: [7, 40, 63]
Generated Node #0,2: 49:[7, 40, 63] Operation: 82-19=63
Moving to Node #0,2
Current State: 49:[7, 40, 63], Operations: ['82-19=63']
Exploring Operation: 63/7=9, Resulting Numbers: [40, 9]
Generated Node #0,2,0: 49:[40, 9] Operation: 63/7=9
Moving to Node #0,2,0
Current State: 49:[40, 9], Operations: ['82-19=63', '63/7=9']
Exploring Operation: 40+9=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.979167 | hs_3 | sum_heuristic |
[
42,
5,
28,
93
] | 23 | [
"42-28=14",
"5*14=70",
"93-70=23"
] | Current State: 23:[42, 5, 28, 93], Operations: []
Exploring Operation: 42-28=14, Resulting Numbers: [5, 93, 14]
Generated Node #2: [5, 93, 14] from Operation: 42-28=14
Current State: 23:[5, 93, 14], Operations: ['42-28=14']
Exploring Operation: 5*14=70, Resulting Numbers: [93, 70]
Generated Node #3: [93, 70] from Operation: 5*14=70
Current State: 23:[93, 70], Operations: ['42-28=14', '5*14=70']
Exploring Operation: 93-70=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[42, 5, 28, 93], Operations: []
Exploring Operation: 93-42=51, Resulting Numbers: [5, 28, 51]
Generated Node #0,0: 23:[5, 28, 51] Operation: 93-42=51
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[5, 28, 51], Operations: ['93-42=51']
Exploring Operation: 51-28=23, Resulting Numbers: [5, 23]
Generated Node #0,0,0: 23:[5, 23] Operation: 51-28=23
Moving to Node #0,0,0
Current State: 23:[5, 23], Operations: ['93-42=51', '51-28=23']
Exploring Operation: 5+23=28, Resulting Numbers: [28]
28,23 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 |
[
72,
84,
16,
92
] | 74 | [
"92-84=8",
"16/8=2",
"72+2=74"
] | Current State: 74:[72, 84, 16, 92], Operations: []
Exploring Operation: 92-84=8, Resulting Numbers: [72, 16, 8]
Generated Node #2: [72, 16, 8] from Operation: 92-84=8
Current State: 74:[72, 16, 8], Operations: ['92-84=8']
Exploring Operation: 16/8=2, Resulting Numbers: [72, 2]
Generated Node #3: [72, 2] from Operation: 16/8=2
Current State: 74:[72, 2], Operations: ['92-84=8', '16/8=2']
Exploring Operation: 72+2=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[72, 84, 16, 92], Operations: []
Exploring Operation: 84-16=68, Resulting Numbers: [72, 92, 68]
Generated Node #0,0: 74:[72, 92, 68] Operation: 84-16=68
Exploring Operation: 92-16=76, Resulting Numbers: [72, 84, 76]
Generated Node #0,1: 74:[72, 84, 76] Operation: 92-16=76
Exploring Operation: 92-84=8, Resulting Numbers: [72, 16, 8]
Generated Node #0,2: 74:[72, 16, 8] Operation: 92-84=8
Moving to Node #0,1
Current State: 74:[72, 84, 76], Operations: ['92-16=76']
Exploring Operation: 76-72=4, Resulting Numbers: [84, 4]
Generated Node #0,1,0: 74:[84, 4] Operation: 76-72=4
Exploring Operation: 84-76=8, Resulting Numbers: [72, 8]
Generated Node #0,1,1: 74:[72, 8] Operation: 84-76=8
Exploring Operation: 84-72=12, Resulting Numbers: [76, 12]
Generated Node #0,1,2: 74:[76, 12] Operation: 84-72=12
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 74:[72, 8], Operations: ['92-16=76', '84-76=8']
Exploring Operation: 72-8=64, Resulting Numbers: [64]
64,74 unequal: No Solution
Exploring Operation: 72/8=9, Resulting Numbers: [9]
9,74 unequal: No Solution
Exploring Operation: 72+8=80, Resulting Numbers: [80]
80,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,0
Current State: 74:[84, 4], Operations: ['92-16=76', '76-72=4']
Exploring Operation: 84+4=88, Resulting Numbers: [88]
88,74 unequal: No Solution
Exploring Operation: 84/4=21, Resulting Numbers: [21]
21,74 unequal: No Solution
Exploring Operation: 84-4=80, Resulting Numbers: [80]
80,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,2
Current State: 74:[76, 12], Operations: ['92-16=76', '84-72=12']
Exploring Operation: 76-12=64, Resulting Numbers: [64]
64,74 unequal: No Solution
Exploring Operation: 76+12=88, Resulting Numbers: [88]
88,74 unequal: No Solution
Exploring Operation: 76*12=912, Resulting Numbers: [912]
912,74 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: 74:[72, 16, 8], Operations: ['92-84=8']
Exploring Operation: 16/8=2, Resulting Numbers: [72, 2]
Generated Node #0,2,0: 74:[72, 2] Operation: 16/8=2
Exploring Operation: 16-8=8, Resulting Numbers: [72, 8]
Generated Node #0,2,1: 74:[72, 8] Operation: 16-8=8
Exploring Operation: 16+8=24, Resulting Numbers: [72, 24]
Generated Node #0,2,2: 74:[72, 24] Operation: 16+8=24
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 74:[72, 2], Operations: ['92-84=8', '16/8=2']
Exploring Operation: 72-2=70, Resulting Numbers: [70]
70,74 unequal: No Solution
Exploring Operation: 72/2=36, Resulting Numbers: [36]
36,74 unequal: No Solution
Exploring Operation: 72+2=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[72, 84, 16, 92], Operations: []
Exploring Operation: 92-84=8, Resulting Numbers: [72, 16, 8]
Generated Node #0,2: 74:[72, 16, 8] Operation: 92-84=8
Moving to Node #0,2
Current State: 74:[72, 16, 8], Operations: ['92-84=8']
Exploring Operation: 16/8=2, Resulting Numbers: [72, 2]
Generated Node #0,2,0: 74:[72, 2] Operation: 16/8=2
Moving to Node #0,2,0
Current State: 74:[72, 2], Operations: ['92-84=8', '16/8=2']
Exploring Operation: 72+2=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_3 | sum_heuristic |
[
17,
26,
27,
94
] | 58 | [
"26-17=9",
"94-27=67",
"67-9=58"
] | Current State: 58:[17, 26, 27, 94], Operations: []
Exploring Operation: 26-17=9, Resulting Numbers: [27, 94, 9]
Generated Node #2: [27, 94, 9] from Operation: 26-17=9
Current State: 58:[27, 94, 9], Operations: ['26-17=9']
Exploring Operation: 94-27=67, Resulting Numbers: [9, 67]
Generated Node #3: [9, 67] from Operation: 94-27=67
Current State: 58:[9, 67], Operations: ['26-17=9', '94-27=67']
Exploring Operation: 67-9=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[17, 26, 27, 94], Operations: []
Exploring Operation: 94-17=77, Resulting Numbers: [26, 27, 77]
Generated Node #0,0: 58:[26, 27, 77] Operation: 94-17=77
Exploring Operation: 94-26=68, Resulting Numbers: [17, 27, 68]
Generated Node #0,1: 58:[17, 27, 68] Operation: 94-26=68
Moving to Node #0,0
Current State: 58:[26, 27, 77], Operations: ['94-17=77']
Exploring Operation: 77-26=51, Resulting Numbers: [27, 51]
Generated Node #0,0,0: 58:[27, 51] Operation: 77-26=51
Exploring Operation: 77-27=50, Resulting Numbers: [26, 50]
Generated Node #0,0,1: 58:[26, 50] Operation: 77-27=50
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 58:[27, 51], Operations: ['94-17=77', '77-26=51']
Exploring Operation: 51-27=24, Resulting Numbers: [24]
24,58 unequal: No Solution
Exploring Operation: 27+51=78, Resulting Numbers: [78]
78,58 unequal: No Solution
No 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: 58:[26, 50], Operations: ['94-17=77', '77-27=50']
Exploring Operation: 50-26=24, Resulting Numbers: [24]
24,58 unequal: No Solution
Exploring Operation: 26+50=76, Resulting Numbers: [76]
76,58 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: 58:[17, 27, 68], Operations: ['94-26=68']
Exploring Operation: 68-17=51, Resulting Numbers: [27, 51]
Generated Node #0,1,0: 58:[27, 51] Operation: 68-17=51
Exploring Operation: 68/17=4, Resulting Numbers: [27, 4]
Generated Node #0,1,1: 58:[27, 4] Operation: 68/17=4
Moving to Node #0,1,1
Current State: 58:[27, 4], Operations: ['94-26=68', '68/17=4']
Exploring Operation: 27-4=23, Resulting Numbers: [23]
23,58 unequal: No Solution
Exploring Operation: 27+4=31, Resulting Numbers: [31]
31,58 unequal: No Solution
Moving to Node #0,1,0
Current State: 58:[27, 51], Operations: ['94-26=68', '68-17=51']
Exploring Operation: 51-27=24, Resulting Numbers: [24]
24,58 unequal: No Solution
Exploring Operation: 27+51=78, Resulting Numbers: [78]
78,58 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
96,
6,
2,
53
] | 40 | [
"96-53=43",
"6/2=3",
"43-3=40"
] | Current State: 40:[96, 6, 2, 53], Operations: []
Exploring Operation: 96-53=43, Resulting Numbers: [6, 2, 43]
Generated Node #2: [6, 2, 43] from Operation: 96-53=43
Current State: 40:[6, 2, 43], Operations: ['96-53=43']
Exploring Operation: 6/2=3, Resulting Numbers: [43, 3]
Generated Node #3: [43, 3] from Operation: 6/2=3
Current State: 40:[43, 3], Operations: ['96-53=43', '6/2=3']
Exploring Operation: 43-3=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[96, 6, 2, 53], Operations: []
Exploring Operation: 96-53=43, Resulting Numbers: [6, 2, 43]
Generated Node #0,0: 40:[6, 2, 43] Operation: 96-53=43
Start Sub Search at level 1: Moving to Node #0,0
Current State: 40:[6, 2, 43], Operations: ['96-53=43']
Exploring Operation: 43-2=41, Resulting Numbers: [6, 41]
Generated Node #0,0,0: 40:[6, 41] Operation: 43-2=41
Moving to Node #0,0,0
Current State: 40:[6, 41], Operations: ['96-53=43', '43-2=41']
Exploring Operation: 41-6=35, Resulting Numbers: [35]
35,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
10,
26,
26,
8
] | 79 | [
"10*8=80",
"26/26=1",
"80-1=79"
] | Current State: 79:[10, 26, 26, 8], Operations: []
Exploring Operation: 10*8=80, Resulting Numbers: [26, 26, 80]
Generated Node #2: [26, 26, 80] from Operation: 10*8=80
Current State: 79:[26, 26, 80], Operations: ['10*8=80']
Exploring Operation: 26/26=1, Resulting Numbers: [80, 1]
Generated Node #3: [80, 1] from Operation: 26/26=1
Current State: 79:[80, 1], Operations: ['10*8=80', '26/26=1']
Exploring Operation: 80-1=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[10, 26, 26, 8], Operations: []
Exploring Operation: 10*8=80, Resulting Numbers: [26, 26, 80]
Generated Node #0,0: 79:[26, 26, 80] Operation: 10*8=80
Moving to Node #0,0
Current State: 79:[26, 26, 80], Operations: ['10*8=80']
Exploring Operation: 26+26=52, Resulting Numbers: [80, 52]
Generated Node #0,0,0: 79:[80, 52] Operation: 26+26=52
Moving to Node #0,0,0
Current State: 79:[80, 52], Operations: ['10*8=80', '26+26=52']
Exploring Operation: 80-52=28, Resulting Numbers: [28]
28,79 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
5,
75,
88,
35
] | 43 | [
"5+75=80",
"88+35=123",
"123-80=43"
] | Current State: 43:[5, 75, 88, 35], Operations: []
Exploring Operation: 5+75=80, Resulting Numbers: [88, 35, 80]
Generated Node #2: [88, 35, 80] from Operation: 5+75=80
Current State: 43:[88, 35, 80], Operations: ['5+75=80']
Exploring Operation: 88+35=123, Resulting Numbers: [80, 123]
Generated Node #3: [80, 123] from Operation: 88+35=123
Current State: 43:[80, 123], Operations: ['5+75=80', '88+35=123']
Exploring Operation: 123-80=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[5, 75, 88, 35], Operations: []
Exploring Operation: 88-5=83, Resulting Numbers: [75, 35, 83]
Generated Node #0,0: 43:[75, 35, 83] Operation: 88-5=83
Exploring Operation: 88-75=13, Resulting Numbers: [5, 35, 13]
Generated Node #0,1: 43:[5, 35, 13] Operation: 88-75=13
Exploring Operation: 5+35=40, Resulting Numbers: [75, 88, 40]
Generated Node #0,2: 43:[75, 88, 40] Operation: 5+35=40
Exploring Operation: 75-5=70, Resulting Numbers: [88, 35, 70]
Generated Node #0,3: 43:[88, 35, 70] Operation: 75-5=70
Start Sub Search at level 1: Moving to Node #0,1
Current State: 43:[5, 35, 13], Operations: ['88-75=13']
Exploring Operation: 5*13=65, Resulting Numbers: [35, 65]
Generated Node #0,1,0: 43:[35, 65] Operation: 5*13=65
Exploring Operation: 5+13=18, Resulting Numbers: [35, 18]
Generated Node #0,1,1: 43:[35, 18] Operation: 5+13=18
Exploring Operation: 5+35=40, Resulting Numbers: [13, 40]
Generated Node #0,1,2: 43:[13, 40] Operation: 5+35=40
Exploring Operation: 35-5=30, Resulting Numbers: [13, 30]
Generated Node #0,1,3: 43:[13, 30] Operation: 35-5=30
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 43:[35, 65], Operations: ['88-75=13', '5*13=65']
Exploring Operation: 35*65=2275, Resulting Numbers: [2275]
2275,43 unequal: No Solution
Exploring Operation: 35+65=100, Resulting Numbers: [100]
100,43 unequal: No Solution
Exploring Operation: 65-35=30, Resulting Numbers: [30]
30,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 43:[35, 18], Operations: ['88-75=13', '5+13=18']
Exploring Operation: 35*18=630, Resulting Numbers: [630]
630,43 unequal: No Solution
Exploring Operation: 35-18=17, Resulting Numbers: [17]
17,43 unequal: No Solution
Exploring Operation: 35+18=53, Resulting Numbers: [53]
53,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 43:[13, 40], Operations: ['88-75=13', '5+35=40']
Exploring Operation: 40-13=27, Resulting Numbers: [27]
27,43 unequal: No Solution
Exploring Operation: 13+40=53, Resulting Numbers: [53]
53,43 unequal: No Solution
Exploring Operation: 13*40=520, Resulting Numbers: [520]
520,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 43:[13, 30], Operations: ['88-75=13', '35-5=30']
Exploring Operation: 13+30=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[5, 75, 88, 35], Operations: []
Exploring Operation: 88-75=13, Resulting Numbers: [5, 35, 13]
Generated Node #0,1: 43:[5, 35, 13] Operation: 88-75=13
Moving to Node #0,1
Current State: 43:[5, 35, 13], Operations: ['88-75=13']
Exploring Operation: 35-5=30, Resulting Numbers: [13, 30]
Generated Node #0,1,3: 43:[13, 30] Operation: 35-5=30
Moving to Node #0,1,3
Current State: 43:[13, 30], Operations: ['88-75=13', '35-5=30']
Exploring Operation: 13+30=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980903 | hs_4 | mult_heuristic |
[
7,
60,
82,
45
] | 16 | [
"60-7=53",
"82-45=37",
"53-37=16"
] | Current State: 16:[7, 60, 82, 45], Operations: []
Exploring Operation: 60-7=53, Resulting Numbers: [82, 45, 53]
Generated Node #2: [82, 45, 53] from Operation: 60-7=53
Current State: 16:[82, 45, 53], Operations: ['60-7=53']
Exploring Operation: 82-45=37, Resulting Numbers: [53, 37]
Generated Node #3: [53, 37] from Operation: 82-45=37
Current State: 16:[53, 37], Operations: ['60-7=53', '82-45=37']
Exploring Operation: 53-37=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[7, 60, 82, 45], Operations: []
Exploring Operation: 82-60=22, Resulting Numbers: [7, 45, 22]
Generated Node #0,0: 16:[7, 45, 22] Operation: 82-60=22
Exploring Operation: 82-45=37, Resulting Numbers: [7, 60, 37]
Generated Node #0,1: 16:[7, 60, 37] Operation: 82-45=37
Exploring Operation: 60-45=15, Resulting Numbers: [7, 82, 15]
Generated Node #0,2: 16:[7, 82, 15] Operation: 60-45=15
Moving to Node #0,0
Current State: 16:[7, 45, 22], Operations: ['82-60=22']
Exploring Operation: 45-22=23, Resulting Numbers: [7, 23]
Generated Node #0,0,0: 16:[7, 23] Operation: 45-22=23
Exploring Operation: 22-7=15, Resulting Numbers: [45, 15]
Generated Node #0,0,1: 16:[45, 15] Operation: 22-7=15
Exploring Operation: 45-7=38, Resulting Numbers: [22, 38]
Generated Node #0,0,2: 16:[22, 38] Operation: 45-7=38
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 16:[7, 23], Operations: ['82-60=22', '45-22=23']
Exploring Operation: 7+23=30, Resulting Numbers: [30]
30,16 unequal: No Solution
Exploring Operation: 7*23=161, Resulting Numbers: [161]
161,16 unequal: No Solution
Exploring Operation: 23-7=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[7, 60, 82, 45], Operations: []
Exploring Operation: 82-60=22, Resulting Numbers: [7, 45, 22]
Generated Node #0,0: 16:[7, 45, 22] Operation: 82-60=22
Moving to Node #0,0
Current State: 16:[7, 45, 22], Operations: ['82-60=22']
Exploring Operation: 45-22=23, Resulting Numbers: [7, 23]
Generated Node #0,0,0: 16:[7, 23] Operation: 45-22=23
Moving to Node #0,0,0
Current State: 16:[7, 23], Operations: ['82-60=22', '45-22=23']
Exploring Operation: 23-7=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
26,
64,
29,
78
] | 31 | [
"78/26=3",
"64+29=93",
"93/3=31"
] | Current State: 31:[26, 64, 29, 78], Operations: []
Exploring Operation: 78/26=3, Resulting Numbers: [64, 29, 3]
Generated Node #2: [64, 29, 3] from Operation: 78/26=3
Current State: 31:[64, 29, 3], Operations: ['78/26=3']
Exploring Operation: 64+29=93, Resulting Numbers: [3, 93]
Generated Node #3: [3, 93] from Operation: 64+29=93
Current State: 31:[3, 93], Operations: ['78/26=3', '64+29=93']
Exploring Operation: 93/3=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[26, 64, 29, 78], Operations: []
Exploring Operation: 78-64=14, Resulting Numbers: [26, 29, 14]
Generated Node #0,0: 31:[26, 29, 14] Operation: 78-64=14
Exploring Operation: 64-26=38, Resulting Numbers: [29, 78, 38]
Generated Node #0,1: 31:[29, 78, 38] Operation: 64-26=38
Exploring Operation: 78-26=52, Resulting Numbers: [64, 29, 52]
Generated Node #0,2: 31:[64, 29, 52] Operation: 78-26=52
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[26, 29, 14], Operations: ['78-64=14']
Exploring Operation: 26+14=40, Resulting Numbers: [29, 40]
Generated Node #0,0,0: 31:[29, 40] Operation: 26+14=40
Exploring Operation: 29+14=43, Resulting Numbers: [26, 43]
Generated Node #0,0,1: 31:[26, 43] Operation: 29+14=43
Exploring Operation: 26-14=12, Resulting Numbers: [29, 12]
Generated Node #0,0,2: 31:[29, 12] Operation: 26-14=12
Moving to Node #0,0,0
Current State: 31:[29, 40], Operations: ['78-64=14', '26+14=40']
Exploring Operation: 40-29=11, Resulting Numbers: [11]
11,31 unequal: No Solution
Exploring Operation: 29+40=69, Resulting Numbers: [69]
69,31 unequal: No Solution
Exploring Operation: 29*40=1160, Resulting Numbers: [1160]
1160,31 unequal: No Solution
Moving to Node #0,0,1
Current State: 31:[26, 43], Operations: ['78-64=14', '29+14=43']
Exploring Operation: 26*43=1118, Resulting Numbers: [1118]
1118,31 unequal: No Solution
Exploring Operation: 26+43=69, Resulting Numbers: [69]
69,31 unequal: No Solution
Exploring Operation: 43-26=17, Resulting Numbers: [17]
17,31 unequal: No Solution
Moving to Node #0,0,2
Current State: 31:[29, 12], Operations: ['78-64=14', '26-14=12']
Exploring Operation: 29-12=17, Resulting Numbers: [17]
17,31 unequal: No Solution
Exploring Operation: 29+12=41, Resulting Numbers: [41]
41,31 unequal: No Solution
Exploring Operation: 29*12=348, Resulting Numbers: [348]
348,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 31:[29, 78, 38], Operations: ['64-26=38']
Exploring Operation: 38-29=9, Resulting Numbers: [78, 9]
Generated Node #0,1,0: 31:[78, 9] Operation: 38-29=9
Exploring Operation: 78-38=40, Resulting Numbers: [29, 40]
Generated Node #0,1,1: 31:[29, 40] Operation: 78-38=40
Exploring Operation: 78-29=49, Resulting Numbers: [38, 49]
Generated Node #0,1,2: 31:[38, 49] Operation: 78-29=49
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 31:[29, 40], Operations: ['64-26=38', '78-38=40']
Exploring Operation: 29+40=69, Resulting Numbers: [69]
69,31 unequal: No Solution
Exploring Operation: 29*40=1160, Resulting Numbers: [1160]
1160,31 unequal: No Solution
Exploring Operation: 40-29=11, Resulting Numbers: [11]
11,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:[38, 49], Operations: ['64-26=38', '78-29=49']
Exploring Operation: 49-38=11, Resulting Numbers: [11]
11,31 unequal: No Solution
Exploring Operation: 38*49=1862, Resulting Numbers: [1862]
1862,31 unequal: No Solution
Exploring Operation: 38+49=87, Resulting Numbers: [87]
87,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:[78, 9], Operations: ['64-26=38', '38-29=9']
Exploring Operation: 78*9=702, Resulting Numbers: [702]
702,31 unequal: No Solution
Exploring Operation: 78+9=87, Resulting Numbers: [87]
87,31 unequal: No Solution
Exploring Operation: 78-9=69, Resulting Numbers: [69]
69,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:[64, 29, 52], Operations: ['78-26=52']
Exploring Operation: 64-52=12, Resulting Numbers: [29, 12]
Generated Node #0,2,0: 31:[29, 12] Operation: 64-52=12
Exploring Operation: 52-29=23, Resulting Numbers: [64, 23]
Generated Node #0,2,1: 31:[64, 23] Operation: 52-29=23
Exploring Operation: 64-29=35, Resulting Numbers: [52, 35]
Generated Node #0,2,2: 31:[52, 35] Operation: 64-29=35
Moving to Node #0,2,0
Current State: 31:[29, 12], Operations: ['78-26=52', '64-52=12']
Exploring Operation: 29+12=41, Resulting Numbers: [41]
41,31 unequal: No Solution
Exploring Operation: 29*12=348, Resulting Numbers: [348]
348,31 unequal: No Solution
Exploring Operation: 29-12=17, Resulting Numbers: [17]
17,31 unequal: No Solution
Moving to Node #0,2,2
Current State: 31:[52, 35], Operations: ['78-26=52', '64-29=35']
Exploring Operation: 52+35=87, Resulting Numbers: [87]
87,31 unequal: No Solution
Exploring Operation: 52-35=17, Resulting Numbers: [17]
17,31 unequal: No Solution
Exploring Operation: 52*35=1820, Resulting Numbers: [1820]
1820,31 unequal: No Solution
Moving to Node #0,2,1
Current State: 31:[64, 23], Operations: ['78-26=52', '52-29=23']
Exploring Operation: 64+23=87, Resulting Numbers: [87]
87,31 unequal: No Solution
Exploring Operation: 64-23=41, Resulting Numbers: [41]
41,31 unequal: No Solution
Exploring Operation: 64*23=1472, Resulting Numbers: [1472]
1472,31 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 |
[
2,
3,
46,
70
] | 88 | [
"70-3=67",
"2*67=134",
"134-46=88"
] | Current State: 88:[2, 3, 46, 70], Operations: []
Exploring Operation: 70-3=67, Resulting Numbers: [2, 46, 67]
Generated Node #2: [2, 46, 67] from Operation: 70-3=67
Current State: 88:[2, 46, 67], Operations: ['70-3=67']
Exploring Operation: 2*67=134, Resulting Numbers: [46, 134]
Generated Node #3: [46, 134] from Operation: 2*67=134
Current State: 88:[46, 134], Operations: ['70-3=67', '2*67=134']
Exploring Operation: 134-46=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[2, 3, 46, 70], Operations: []
Exploring Operation: 70/2=35, Resulting Numbers: [3, 46, 35]
Generated Node #0,0: 88:[3, 46, 35] Operation: 70/2=35
Exploring Operation: 70-46=24, Resulting Numbers: [2, 3, 24]
Generated Node #0,1: 88:[2, 3, 24] Operation: 70-46=24
Start Sub Search at level 1: Moving to Node #0,1
Current State: 88:[2, 3, 24], Operations: ['70-46=24']
Exploring Operation: 24-2=22, Resulting Numbers: [3, 22]
Generated Node #0,1,0: 88:[3, 22] Operation: 24-2=22
Exploring Operation: 24/3=8, Resulting Numbers: [2, 8]
Generated Node #0,1,1: 88:[2, 8] Operation: 24/3=8
Moving to Node #0,1,1
Current State: 88:[2, 8], Operations: ['70-46=24', '24/3=8']
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,88 unequal: No Solution
Exploring Operation: 2+8=10, Resulting Numbers: [10]
10,88 unequal: No Solution
Moving to Node #0,1,0
Current State: 88:[3, 22], Operations: ['70-46=24', '24-2=22']
Exploring Operation: 3+22=25, Resulting Numbers: [25]
25,88 unequal: No Solution
Exploring Operation: 22-3=19, Resulting Numbers: [19]
19,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[3, 46, 35], Operations: ['70/2=35']
Exploring Operation: 3+35=38, Resulting Numbers: [46, 38]
Generated Node #0,0,0: 88:[46, 38] Operation: 3+35=38
Exploring Operation: 46-35=11, Resulting Numbers: [3, 11]
Generated Node #0,0,1: 88:[3, 11] Operation: 46-35=11
Moving to Node #0,0,1
Current State: 88:[3, 11], Operations: ['70/2=35', '46-35=11']
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,88 unequal: No Solution
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,88 unequal: No Solution
Moving to Node #0,0,0
Current State: 88:[46, 38], Operations: ['70/2=35', '3+35=38']
Exploring Operation: 46-38=8, Resulting Numbers: [8]
8,88 unequal: No Solution
Exploring Operation: 46+38=84, Resulting Numbers: [84]
84,88 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 |
[
2,
42,
14,
71
] | 86 | [
"2*71=142",
"42+14=56",
"142-56=86"
] | Current State: 86:[2, 42, 14, 71], Operations: []
Exploring Operation: 2*71=142, Resulting Numbers: [42, 14, 142]
Generated Node #2: [42, 14, 142] from Operation: 2*71=142
Current State: 86:[42, 14, 142], Operations: ['2*71=142']
Exploring Operation: 42+14=56, Resulting Numbers: [142, 56]
Generated Node #3: [142, 56] from Operation: 42+14=56
Current State: 86:[142, 56], Operations: ['2*71=142', '42+14=56']
Exploring Operation: 142-56=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[2, 42, 14, 71], Operations: []
Exploring Operation: 14+71=85, Resulting Numbers: [2, 42, 85]
Generated Node #0,0: 86:[2, 42, 85] Operation: 14+71=85
Moving to Node #0,0
Current State: 86:[2, 42, 85], Operations: ['14+71=85']
Exploring Operation: 85-42=43, Resulting Numbers: [2, 43]
Generated Node #0,0,0: 86:[2, 43] Operation: 85-42=43
Moving to Node #0,0,0
Current State: 86:[2, 43], Operations: ['14+71=85', '85-42=43']
Exploring Operation: 2*43=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[2, 42, 14, 71], Operations: []
Exploring Operation: 14+71=85, Resulting Numbers: [2, 42, 85]
Generated Node #0,0: 86:[2, 42, 85] Operation: 14+71=85
Moving to Node #0,0
Current State: 86:[2, 42, 85], Operations: ['14+71=85']
Exploring Operation: 85-42=43, Resulting Numbers: [2, 43]
Generated Node #0,0,0: 86:[2, 43] Operation: 85-42=43
Moving to Node #0,0,0
Current State: 86:[2, 43], Operations: ['14+71=85', '85-42=43']
Exploring Operation: 2*43=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
51,
7,
29,
25
] | 21 | [
"51-29=22",
"25-22=3",
"7*3=21"
] | Current State: 21:[51, 7, 29, 25], Operations: []
Exploring Operation: 51-29=22, Resulting Numbers: [7, 25, 22]
Generated Node #2: [7, 25, 22] from Operation: 51-29=22
Current State: 21:[7, 25, 22], Operations: ['51-29=22']
Exploring Operation: 25-22=3, Resulting Numbers: [7, 3]
Generated Node #3: [7, 3] from Operation: 25-22=3
Current State: 21:[7, 3], Operations: ['51-29=22', '25-22=3']
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[51, 7, 29, 25], Operations: []
Exploring Operation: 51-7=44, Resulting Numbers: [29, 25, 44]
Generated Node #0,0: 21:[29, 25, 44] Operation: 51-7=44
Exploring Operation: 29-25=4, Resulting Numbers: [51, 7, 4]
Generated Node #0,1: 21:[51, 7, 4] Operation: 29-25=4
Exploring Operation: 51-29=22, Resulting Numbers: [7, 25, 22]
Generated Node #0,2: 21:[7, 25, 22] Operation: 51-29=22
Exploring Operation: 51-25=26, Resulting Numbers: [7, 29, 26]
Generated Node #0,3: 21:[7, 29, 26] Operation: 51-25=26
Start Sub Search at level 1: Moving to Node #0,2
Current State: 21:[7, 25, 22], Operations: ['51-29=22']
Exploring Operation: 25-22=3, Resulting Numbers: [7, 3]
Generated Node #0,2,0: 21:[7, 3] Operation: 25-22=3
Exploring Operation: 25-7=18, Resulting Numbers: [22, 18]
Generated Node #0,2,1: 21:[22, 18] Operation: 25-7=18
Exploring Operation: 22-7=15, Resulting Numbers: [25, 15]
Generated Node #0,2,2: 21:[25, 15] Operation: 22-7=15
Exploring Operation: 7+25=32, Resulting Numbers: [22, 32]
Generated Node #0,2,3: 21:[22, 32] Operation: 7+25=32
Moving to Node #0,2,0
Current State: 21:[7, 3], Operations: ['51-29=22', '25-22=3']
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[51, 7, 29, 25], Operations: []
Exploring Operation: 51-29=22, Resulting Numbers: [7, 25, 22]
Generated Node #0,2: 21:[7, 25, 22] Operation: 51-29=22
Moving to Node #0,2
Current State: 21:[7, 25, 22], Operations: ['51-29=22']
Exploring Operation: 25-22=3, Resulting Numbers: [7, 3]
Generated Node #0,2,0: 21:[7, 3] Operation: 25-22=3
Moving to Node #0,2,0
Current State: 21:[7, 3], Operations: ['51-29=22', '25-22=3']
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
20,
32,
81,
45
] | 74 | [
"20+32=52",
"81+45=126",
"126-52=74"
] | Current State: 74:[20, 32, 81, 45], Operations: []
Exploring Operation: 20+32=52, Resulting Numbers: [81, 45, 52]
Generated Node #2: [81, 45, 52] from Operation: 20+32=52
Current State: 74:[81, 45, 52], Operations: ['20+32=52']
Exploring Operation: 81+45=126, Resulting Numbers: [52, 126]
Generated Node #3: [52, 126] from Operation: 81+45=126
Current State: 74:[52, 126], Operations: ['20+32=52', '81+45=126']
Exploring Operation: 126-52=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[20, 32, 81, 45], Operations: []
Exploring Operation: 81-45=36, Resulting Numbers: [20, 32, 36]
Generated Node #0,0: 74:[20, 32, 36] Operation: 81-45=36
Exploring Operation: 20+45=65, Resulting Numbers: [32, 81, 65]
Generated Node #0,1: 74:[32, 81, 65] Operation: 20+45=65
Moving to Node #0,1
Current State: 74:[32, 81, 65], Operations: ['20+45=65']
Exploring Operation: 81-65=16, Resulting Numbers: [32, 16]
Generated Node #0,1,0: 74:[32, 16] Operation: 81-65=16
Exploring Operation: 65-32=33, Resulting Numbers: [81, 33]
Generated Node #0,1,1: 74:[81, 33] Operation: 65-32=33
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 74:[81, 33], Operations: ['20+45=65', '65-32=33']
Exploring Operation: 81+33=114, Resulting Numbers: [114]
114,74 unequal: No Solution
Exploring Operation: 81-33=48, Resulting Numbers: [48]
48,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,0
Current State: 74:[32, 16], Operations: ['20+45=65', '81-65=16']
Exploring Operation: 32/16=2, Resulting Numbers: [2]
2,74 unequal: No Solution
Exploring Operation: 32+16=48, Resulting Numbers: [48]
48,74 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: 74:[20, 32, 36], Operations: ['81-45=36']
Exploring Operation: 20+32=52, Resulting Numbers: [36, 52]
Generated Node #0,0,0: 74:[36, 52] Operation: 20+32=52
Exploring Operation: 32-20=12, Resulting Numbers: [36, 12]
Generated Node #0,0,1: 74:[36, 12] Operation: 32-20=12
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 74:[36, 12], Operations: ['81-45=36', '32-20=12']
Exploring Operation: 36/12=3, Resulting Numbers: [3]
3,74 unequal: No Solution
Exploring Operation: 36+12=48, Resulting Numbers: [48]
48,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,0
Current State: 74:[36, 52], Operations: ['81-45=36', '20+32=52']
Exploring Operation: 36+52=88, Resulting Numbers: [88]
88,74 unequal: No Solution
Exploring Operation: 52-36=16, Resulting Numbers: [16]
16,74 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 |
[
50,
66,
9,
85
] | 81 | [
"50+85=135",
"135/9=15",
"66+15=81"
] | Current State: 81:[50, 66, 9, 85], Operations: []
Exploring Operation: 50+85=135, Resulting Numbers: [66, 9, 135]
Generated Node #2: [66, 9, 135] from Operation: 50+85=135
Current State: 81:[66, 9, 135], Operations: ['50+85=135']
Exploring Operation: 135/9=15, Resulting Numbers: [66, 15]
Generated Node #3: [66, 15] from Operation: 135/9=15
Current State: 81:[66, 15], Operations: ['50+85=135', '135/9=15']
Exploring Operation: 66+15=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[50, 66, 9, 85], Operations: []
Exploring Operation: 85-66=19, Resulting Numbers: [50, 9, 19]
Generated Node #0,0: 81:[50, 9, 19] Operation: 85-66=19
Exploring Operation: 85-50=35, Resulting Numbers: [66, 9, 35]
Generated Node #0,1: 81:[66, 9, 35] Operation: 85-50=35
Exploring Operation: 66-50=16, Resulting Numbers: [9, 85, 16]
Generated Node #0,2: 81:[9, 85, 16] Operation: 66-50=16
Moving to Node #0,2
Current State: 81:[9, 85, 16], Operations: ['66-50=16']
Exploring Operation: 85-9=76, Resulting Numbers: [16, 76]
Generated Node #0,2,0: 81:[16, 76] Operation: 85-9=76
Exploring Operation: 9+16=25, Resulting Numbers: [85, 25]
Generated Node #0,2,1: 81:[85, 25] Operation: 9+16=25
Exploring Operation: 16-9=7, Resulting Numbers: [85, 7]
Generated Node #0,2,2: 81:[85, 7] Operation: 16-9=7
Moving to Node #0,1
Current State: 81:[66, 9, 35], Operations: ['85-50=35']
Exploring Operation: 66-35=31, Resulting Numbers: [9, 31]
Generated Node #0,1,0: 81:[9, 31] Operation: 66-35=31
Exploring Operation: 66+9=75, Resulting Numbers: [35, 75]
Generated Node #0,1,1: 81:[35, 75] Operation: 66+9=75
Exploring Operation: 35-9=26, Resulting Numbers: [66, 26]
Generated Node #0,1,2: 81:[66, 26] Operation: 35-9=26
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 81:[9, 31], Operations: ['85-50=35', '66-35=31']
Exploring Operation: 31-9=22, Resulting Numbers: [22]
22,81 unequal: No Solution
Exploring Operation: 9+31=40, Resulting Numbers: [40]
40,81 unequal: No Solution
Exploring Operation: 9*31=279, Resulting Numbers: [279]
279,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 81:[35, 75], Operations: ['85-50=35', '66+9=75']
Exploring Operation: 75-35=40, Resulting Numbers: [40]
40,81 unequal: No Solution
Exploring Operation: 35*75=2625, Resulting Numbers: [2625]
2625,81 unequal: No Solution
Exploring Operation: 35+75=110, Resulting Numbers: [110]
110,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 81:[66, 26], Operations: ['85-50=35', '35-9=26']
Exploring Operation: 66*26=1716, Resulting Numbers: [1716]
1716,81 unequal: No Solution
Exploring Operation: 66+26=92, Resulting Numbers: [92]
92,81 unequal: No Solution
Exploring Operation: 66-26=40, Resulting Numbers: [40]
40,81 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: 81:[50, 9, 19], Operations: ['85-66=19']
Exploring Operation: 50-19=31, Resulting Numbers: [9, 31]
Generated Node #0,0,0: 81:[9, 31] Operation: 50-19=31
Exploring Operation: 50+19=69, Resulting Numbers: [9, 69]
Generated Node #0,0,1: 81:[9, 69] Operation: 50+19=69
Exploring Operation: 50-9=41, Resulting Numbers: [19, 41]
Generated Node #0,0,2: 81:[19, 41] Operation: 50-9=41
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 81:[9, 31], Operations: ['85-66=19', '50-19=31']
Exploring Operation: 31-9=22, Resulting Numbers: [22]
22,81 unequal: No Solution
Exploring Operation: 9+31=40, Resulting Numbers: [40]
40,81 unequal: No Solution
Exploring Operation: 9*31=279, Resulting Numbers: [279]
279,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 81:[9, 69], Operations: ['85-66=19', '50+19=69']
Exploring Operation: 9+69=78, Resulting Numbers: [78]
78,81 unequal: No Solution
Exploring Operation: 9*69=621, Resulting Numbers: [621]
621,81 unequal: No Solution
Exploring Operation: 69-9=60, Resulting Numbers: [60]
60,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 81:[19, 41], Operations: ['85-66=19', '50-9=41']
Exploring Operation: 19+41=60, Resulting Numbers: [60]
60,81 unequal: No Solution
Exploring Operation: 41-19=22, Resulting Numbers: [22]
22,81 unequal: No Solution
Exploring Operation: 19*41=779, Resulting Numbers: [779]
779,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,1
Current State: 81:[85, 25], Operations: ['66-50=16', '9+16=25']
Exploring Operation: 85-25=60, Resulting Numbers: [60]
60,81 unequal: No Solution
Exploring Operation: 85+25=110, Resulting Numbers: [110]
110,81 unequal: No Solution
Exploring Operation: 85*25=2125, Resulting Numbers: [2125]
2125,81 unequal: No Solution
Moving to Node #0,2,2
Current State: 81:[85, 7], Operations: ['66-50=16', '16-9=7']
Exploring Operation: 85*7=595, Resulting Numbers: [595]
595,81 unequal: No Solution
Exploring Operation: 85-7=78, Resulting Numbers: [78]
78,81 unequal: No Solution
Exploring Operation: 85+7=92, Resulting Numbers: [92]
92,81 unequal: No Solution
Moving to Node #0,2,0
Current State: 81:[16, 76], Operations: ['66-50=16', '85-9=76']
Exploring Operation: 76-16=60, Resulting Numbers: [60]
60,81 unequal: No Solution
Exploring Operation: 16+76=92, Resulting Numbers: [92]
92,81 unequal: No Solution
Exploring Operation: 16*76=1216, Resulting Numbers: [1216]
1216,81 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
8,
70,
86,
98
] | 26 | [
"98-86=12",
"8*12=96",
"96-70=26"
] | Current State: 26:[8, 70, 86, 98], Operations: []
Exploring Operation: 98-86=12, Resulting Numbers: [8, 70, 12]
Generated Node #2: [8, 70, 12] from Operation: 98-86=12
Current State: 26:[8, 70, 12], Operations: ['98-86=12']
Exploring Operation: 8*12=96, Resulting Numbers: [70, 96]
Generated Node #3: [70, 96] from Operation: 8*12=96
Current State: 26:[70, 96], Operations: ['98-86=12', '8*12=96']
Exploring Operation: 96-70=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[8, 70, 86, 98], Operations: []
Exploring Operation: 98-86=12, Resulting Numbers: [8, 70, 12]
Generated Node #0,0: 26:[8, 70, 12] Operation: 98-86=12
Exploring Operation: 86-70=16, Resulting Numbers: [8, 98, 16]
Generated Node #0,1: 26:[8, 98, 16] Operation: 86-70=16
Exploring Operation: 98-70=28, Resulting Numbers: [8, 86, 28]
Generated Node #0,2: 26:[8, 86, 28] Operation: 98-70=28
Moving to Node #0,0
Current State: 26:[8, 70, 12], Operations: ['98-86=12']
Exploring Operation: 70-8=62, Resulting Numbers: [12, 62]
Generated Node #0,0,0: 26:[12, 62] Operation: 70-8=62
Exploring Operation: 12-8=4, Resulting Numbers: [70, 4]
Generated Node #0,0,1: 26:[70, 4] Operation: 12-8=4
Exploring Operation: 70-12=58, Resulting Numbers: [8, 58]
Generated Node #0,0,2: 26:[8, 58] Operation: 70-12=58
Moving to Node #0,2
Current State: 26:[8, 86, 28], Operations: ['98-70=28']
Exploring Operation: 86-28=58, Resulting Numbers: [8, 58]
Generated Node #0,2,0: 26:[8, 58] Operation: 86-28=58
Exploring Operation: 28-8=20, Resulting Numbers: [86, 20]
Generated Node #0,2,1: 26:[86, 20] Operation: 28-8=20
Exploring Operation: 86-8=78, Resulting Numbers: [28, 78]
Generated Node #0,2,2: 26:[28, 78] Operation: 86-8=78
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 26:[8, 58], Operations: ['98-70=28', '86-28=58']
Exploring Operation: 8*58=464, Resulting Numbers: [464]
464,26 unequal: No Solution
Exploring Operation: 58-8=50, Resulting Numbers: [50]
50,26 unequal: No Solution
Exploring Operation: 8+58=66, Resulting Numbers: [66]
66,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 26:[28, 78], Operations: ['98-70=28', '86-8=78']
Exploring Operation: 78-28=50, Resulting Numbers: [50]
50,26 unequal: No Solution
Exploring Operation: 28*78=2184, Resulting Numbers: [2184]
2184,26 unequal: No Solution
Exploring Operation: 28+78=106, Resulting Numbers: [106]
106,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 26:[86, 20], Operations: ['98-70=28', '28-8=20']
Exploring Operation: 86-20=66, Resulting Numbers: [66]
66,26 unequal: No Solution
Exploring Operation: 86*20=1720, Resulting Numbers: [1720]
1720,26 unequal: No Solution
Exploring Operation: 86+20=106, Resulting Numbers: [106]
106,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 26:[8, 98, 16], Operations: ['86-70=16']
Exploring Operation: 16/8=2, Resulting Numbers: [98, 2]
Generated Node #0,1,0: 26:[98, 2] Operation: 16/8=2
Exploring Operation: 98-8=90, Resulting Numbers: [16, 90]
Generated Node #0,1,1: 26:[16, 90] Operation: 98-8=90
Exploring Operation: 98-16=82, Resulting Numbers: [8, 82]
Generated Node #0,1,2: 26:[8, 82] Operation: 98-16=82
Moving to Node #0,0,0
Current State: 26:[12, 62], Operations: ['98-86=12', '70-8=62']
Exploring Operation: 12+62=74, Resulting Numbers: [74]
74,26 unequal: No Solution
Exploring Operation: 12*62=744, Resulting Numbers: [744]
744,26 unequal: No Solution
Exploring Operation: 62-12=50, Resulting Numbers: [50]
50,26 unequal: No Solution
Moving to Node #0,0,2
Current State: 26:[8, 58], Operations: ['98-86=12', '70-12=58']
Exploring Operation: 8+58=66, Resulting Numbers: [66]
66,26 unequal: No Solution
Exploring Operation: 58-8=50, Resulting Numbers: [50]
50,26 unequal: No Solution
Exploring Operation: 8*58=464, Resulting Numbers: [464]
464,26 unequal: No Solution
Moving to Node #0,0,1
Current State: 26:[70, 4], Operations: ['98-86=12', '12-8=4']
Exploring Operation: 70*4=280, Resulting Numbers: [280]
280,26 unequal: No Solution
Exploring Operation: 70-4=66, Resulting Numbers: [66]
66,26 unequal: No Solution
Exploring Operation: 70+4=74, Resulting Numbers: [74]
74,26 unequal: No Solution
Moving to Node #0,1,2
Current State: 26:[8, 82], Operations: ['86-70=16', '98-16=82']
Exploring Operation: 8+82=90, Resulting Numbers: [90]
90,26 unequal: No Solution
Exploring Operation: 82-8=74, Resulting Numbers: [74]
74,26 unequal: No Solution
Exploring Operation: 8*82=656, Resulting Numbers: [656]
656,26 unequal: No Solution
Moving to Node #0,1,1
Current State: 26:[16, 90], Operations: ['86-70=16', '98-8=90']
Exploring Operation: 90-16=74, Resulting Numbers: [74]
74,26 unequal: No Solution
Exploring Operation: 16+90=106, Resulting Numbers: [106]
106,26 unequal: No Solution
Exploring Operation: 16*90=1440, Resulting Numbers: [1440]
1440,26 unequal: No Solution
Moving to Node #0,1,0
Current State: 26:[98, 2], Operations: ['86-70=16', '16/8=2']
Exploring Operation: 98+2=100, Resulting Numbers: [100]
100,26 unequal: No Solution
Exploring Operation: 98-2=96, Resulting Numbers: [96]
96,26 unequal: No Solution
Exploring Operation: 98/2=49, Resulting Numbers: [49]
49,26 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
2,
38,
31,
78
] | 62 | [
"2*38=76",
"78-76=2",
"31*2=62"
] | Current State: 62:[2, 38, 31, 78], Operations: []
Exploring Operation: 2*38=76, Resulting Numbers: [31, 78, 76]
Generated Node #2: [31, 78, 76] from Operation: 2*38=76
Current State: 62:[31, 78, 76], Operations: ['2*38=76']
Exploring Operation: 78-76=2, Resulting Numbers: [31, 2]
Generated Node #3: [31, 2] from Operation: 78-76=2
Current State: 62:[31, 2], Operations: ['2*38=76', '78-76=2']
Exploring Operation: 31*2=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[2, 38, 31, 78], Operations: []
Exploring Operation: 78-38=40, Resulting Numbers: [2, 31, 40]
Generated Node #0,0: 62:[2, 31, 40] Operation: 78-38=40
Exploring Operation: 78-2=76, Resulting Numbers: [38, 31, 76]
Generated Node #0,1: 62:[38, 31, 76] Operation: 78-2=76
Exploring Operation: 78/2=39, Resulting Numbers: [38, 31, 39]
Generated Node #0,2: 62:[38, 31, 39] Operation: 78/2=39
Exploring Operation: 38-2=36, Resulting Numbers: [31, 78, 36]
Generated Node #0,3: 62:[31, 78, 36] Operation: 38-2=36
Exploring Operation: 38-31=7, Resulting Numbers: [2, 78, 7]
Generated Node #0,4: 62:[2, 78, 7] Operation: 38-31=7
Moving to Node #0,0
Current State: 62:[2, 31, 40], Operations: ['78-38=40']
Exploring Operation: 2+31=33, Resulting Numbers: [40, 33]
Generated Node #0,0,0: 62:[40, 33] Operation: 2+31=33
Exploring Operation: 40-31=9, Resulting Numbers: [2, 9]
Generated Node #0,0,1: 62:[2, 9] Operation: 40-31=9
Exploring Operation: 31+40=71, Resulting Numbers: [2, 71]
Generated Node #0,0,2: 62:[2, 71] Operation: 31+40=71
Exploring Operation: 2*31=62, Resulting Numbers: [40, 62]
Generated Node #0,0,3: 62:[40, 62] Operation: 2*31=62
Exploring Operation: 40-2=38, Resulting Numbers: [31, 38]
Generated Node #0,0,4: 62:[31, 38] Operation: 40-2=38
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 62:[2, 9], Operations: ['78-38=40', '40-31=9']
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,62 unequal: No Solution
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,62 unequal: No Solution
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 62:[31, 38], Operations: ['78-38=40', '40-2=38']
Exploring Operation: 31+38=69, Resulting Numbers: [69]
69,62 unequal: No Solution
Exploring Operation: 38-31=7, Resulting Numbers: [7]
7,62 unequal: No Solution
Exploring Operation: 31*38=1178, Resulting Numbers: [1178]
1178,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 62:[2, 71], Operations: ['78-38=40', '31+40=71']
Exploring Operation: 2*71=142, Resulting Numbers: [142]
142,62 unequal: No Solution
Exploring Operation: 71-2=69, Resulting Numbers: [69]
69,62 unequal: No Solution
Exploring Operation: 2+71=73, Resulting Numbers: [73]
73,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 62:[40, 62], Operations: ['78-38=40', '2*31=62']
Exploring Operation: 40+62=102, Resulting Numbers: [102]
102,62 unequal: No Solution
Exploring Operation: 62-40=22, Resulting Numbers: [22]
22,62 unequal: No Solution
Exploring Operation: 40*62=2480, Resulting Numbers: [2480]
2480,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 62:[40, 33], Operations: ['78-38=40', '2+31=33']
Exploring Operation: 40-33=7, Resulting Numbers: [7]
7,62 unequal: No Solution
Exploring Operation: 40+33=73, Resulting Numbers: [73]
73,62 unequal: No Solution
Exploring Operation: 40*33=1320, Resulting Numbers: [1320]
1320,62 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: 62:[38, 31, 39], Operations: ['78/2=39']
Exploring Operation: 38+31=69, Resulting Numbers: [39, 69]
Generated Node #0,2,0: 62:[39, 69] Operation: 38+31=69
Exploring Operation: 39-38=1, Resulting Numbers: [31, 1]
Generated Node #0,2,1: 62:[31, 1] Operation: 39-38=1
Exploring Operation: 38-31=7, Resulting Numbers: [39, 7]
Generated Node #0,2,2: 62:[39, 7] Operation: 38-31=7
Exploring Operation: 39-31=8, Resulting Numbers: [38, 8]
Generated Node #0,2,3: 62:[38, 8] Operation: 39-31=8
Exploring Operation: 38+39=77, Resulting Numbers: [31, 77]
Generated Node #0,2,4: 62:[31, 77] Operation: 38+39=77
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 62:[31, 1], Operations: ['78/2=39', '39-38=1']
Exploring Operation: 31/1=31, Resulting Numbers: [31]
31,62 unequal: No Solution
Exploring Operation: 31*1=31, Resulting Numbers: [31]
31,62 unequal: No Solution
Exploring Operation: 31-1=30, Resulting Numbers: [30]
30,62 unequal: No Solution
Exploring Operation: 31+1=32, Resulting Numbers: [32]
32,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 62:[39, 7], Operations: ['78/2=39', '38-31=7']
Exploring Operation: 39+7=46, Resulting Numbers: [46]
46,62 unequal: No Solution
Exploring Operation: 39-7=32, Resulting Numbers: [32]
32,62 unequal: No Solution
Exploring Operation: 39*7=273, Resulting Numbers: [273]
273,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 62:[38, 8], Operations: ['78/2=39', '39-31=8']
Exploring Operation: 38+8=46, Resulting Numbers: [46]
46,62 unequal: No Solution
Exploring Operation: 38*8=304, Resulting Numbers: [304]
304,62 unequal: No Solution
Exploring Operation: 38-8=30, Resulting Numbers: [30]
30,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 62:[39, 69], Operations: ['78/2=39', '38+31=69']
Exploring Operation: 39*69=2691, Resulting Numbers: [2691]
2691,62 unequal: No Solution
Exploring Operation: 69-39=30, Resulting Numbers: [30]
30,62 unequal: No Solution
Exploring Operation: 39+69=108, Resulting Numbers: [108]
108,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 62:[31, 77], Operations: ['78/2=39', '38+39=77']
Exploring Operation: 31+77=108, Resulting Numbers: [108]
108,62 unequal: No Solution
Exploring Operation: 31*77=2387, Resulting Numbers: [2387]
2387,62 unequal: No Solution
Exploring Operation: 77-31=46, Resulting Numbers: [46]
46,62 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: 62:[38, 31, 76], Operations: ['78-2=76']
Exploring Operation: 76-31=45, Resulting Numbers: [38, 45]
Generated Node #0,1,0: 62:[38, 45] Operation: 76-31=45
Exploring Operation: 76-38=38, Resulting Numbers: [31, 38]
Generated Node #0,1,1: 62:[31, 38] Operation: 76-38=38
Exploring Operation: 38+31=69, Resulting Numbers: [76, 69]
Generated Node #0,1,2: 62:[76, 69] Operation: 38+31=69
Exploring Operation: 76/38=2, Resulting Numbers: [31, 2]
Generated Node #0,1,3: 62:[31, 2] Operation: 76/38=2
Exploring Operation: 38-31=7, Resulting Numbers: [76, 7]
Generated Node #0,1,4: 62:[76, 7] Operation: 38-31=7
Moving to Node #0,3
Current State: 62:[31, 78, 36], Operations: ['38-2=36']
Exploring Operation: 36-31=5, Resulting Numbers: [78, 5]
Generated Node #0,3,0: 62:[78, 5] Operation: 36-31=5
Exploring Operation: 78-36=42, Resulting Numbers: [31, 42]
Generated Node #0,3,1: 62:[31, 42] Operation: 78-36=42
Exploring Operation: 78-31=47, Resulting Numbers: [36, 47]
Generated Node #0,3,2: 62:[36, 47] Operation: 78-31=47
Exploring Operation: 31+78=109, Resulting Numbers: [36, 109]
Generated Node #0,3,3: 62:[36, 109] Operation: 31+78=109
Exploring Operation: 31+36=67, Resulting Numbers: [78, 67]
Generated Node #0,3,4: 62:[78, 67] Operation: 31+36=67
Moving to Node #0,4
Current State: 62:[2, 78, 7], Operations: ['38-31=7']
Exploring Operation: 2+78=80, Resulting Numbers: [7, 80]
Generated Node #0,4,0: 62:[7, 80] Operation: 2+78=80
Exploring Operation: 78-2=76, Resulting Numbers: [7, 76]
Generated Node #0,4,1: 62:[7, 76] Operation: 78-2=76
Exploring Operation: 78-7=71, Resulting Numbers: [2, 71]
Generated Node #0,4,2: 62:[2, 71] Operation: 78-7=71
Exploring Operation: 78/2=39, Resulting Numbers: [7, 39]
Generated Node #0,4,3: 62:[7, 39] Operation: 78/2=39
Exploring Operation: 7-2=5, Resulting Numbers: [78, 5]
Generated Node #0,4,4: 62:[78, 5] Operation: 7-2=5
Moving to Node #0,1,3
Current State: 62:[31, 2], Operations: ['78-2=76', '76/38=2']
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,62 unequal: No Solution
Exploring Operation: 31+2=33, Resulting Numbers: [33]
33,62 unequal: No Solution
Exploring Operation: 31*2=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[2, 38, 31, 78], Operations: []
Exploring Operation: 78-2=76, Resulting Numbers: [38, 31, 76]
Generated Node #0,1: 62:[38, 31, 76] Operation: 78-2=76
Moving to Node #0,1
Current State: 62:[38, 31, 76], Operations: ['78-2=76']
Exploring Operation: 76/38=2, Resulting Numbers: [31, 2]
Generated Node #0,1,3: 62:[31, 2] Operation: 76/38=2
Moving to Node #0,1,3
Current State: 62:[31, 2], Operations: ['78-2=76', '76/38=2']
Exploring Operation: 31*2=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 0.940972 | hs_5 | sum_heuristic |
[
78,
29,
81,
83
] | 68 | [
"83-81=2",
"78/2=39",
"29+39=68"
] | Current State: 68:[78, 29, 81, 83], Operations: []
Exploring Operation: 83-81=2, Resulting Numbers: [78, 29, 2]
Generated Node #2: [78, 29, 2] from Operation: 83-81=2
Current State: 68:[78, 29, 2], Operations: ['83-81=2']
Exploring Operation: 78/2=39, Resulting Numbers: [29, 39]
Generated Node #3: [29, 39] from Operation: 78/2=39
Current State: 68:[29, 39], Operations: ['83-81=2', '78/2=39']
Exploring Operation: 29+39=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[78, 29, 81, 83], Operations: []
Exploring Operation: 83-78=5, Resulting Numbers: [29, 81, 5]
Generated Node #0,0: 68:[29, 81, 5] Operation: 83-78=5
Exploring Operation: 83-81=2, Resulting Numbers: [78, 29, 2]
Generated Node #0,1: 68:[78, 29, 2] Operation: 83-81=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 68:[78, 29, 2], Operations: ['83-81=2']
Exploring Operation: 78-2=76, Resulting Numbers: [29, 76]
Generated Node #0,1,0: 68:[29, 76] Operation: 78-2=76
Exploring Operation: 78/2=39, Resulting Numbers: [29, 39]
Generated Node #0,1,1: 68:[29, 39] Operation: 78/2=39
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 68:[29, 39], Operations: ['83-81=2', '78/2=39']
Exploring Operation: 39-29=10, Resulting Numbers: [10]
10,68 unequal: No Solution
Exploring Operation: 29+39=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[78, 29, 81, 83], Operations: []
Exploring Operation: 83-81=2, Resulting Numbers: [78, 29, 2]
Generated Node #0,1: 68:[78, 29, 2] Operation: 83-81=2
Moving to Node #0,1
Current State: 68:[78, 29, 2], Operations: ['83-81=2']
Exploring Operation: 78/2=39, Resulting Numbers: [29, 39]
Generated Node #0,1,1: 68:[29, 39] Operation: 78/2=39
Moving to Node #0,1,1
Current State: 68:[29, 39], Operations: ['83-81=2', '78/2=39']
Exploring Operation: 29+39=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
35,
68,
26,
22
] | 29 | [
"68-35=33",
"26-22=4",
"33-4=29"
] | Current State: 29:[35, 68, 26, 22], Operations: []
Exploring Operation: 68-35=33, Resulting Numbers: [26, 22, 33]
Generated Node #2: [26, 22, 33] from Operation: 68-35=33
Current State: 29:[26, 22, 33], Operations: ['68-35=33']
Exploring Operation: 26-22=4, Resulting Numbers: [33, 4]
Generated Node #3: [33, 4] from Operation: 26-22=4
Current State: 29:[33, 4], Operations: ['68-35=33', '26-22=4']
Exploring Operation: 33-4=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[35, 68, 26, 22], Operations: []
Exploring Operation: 68-35=33, Resulting Numbers: [26, 22, 33]
Generated Node #0,0: 29:[26, 22, 33] Operation: 68-35=33
Moving to Node #0,0
Current State: 29:[26, 22, 33], Operations: ['68-35=33']
Exploring Operation: 33-22=11, Resulting Numbers: [26, 11]
Generated Node #0,0,0: 29:[26, 11] Operation: 33-22=11
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 29:[26, 11], Operations: ['68-35=33', '33-22=11']
Exploring Operation: 26+11=37, Resulting Numbers: [37]
37,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
78,
64,
38,
45
] | 80 | [
"64-45=19",
"38/19=2",
"78+2=80"
] | Current State: 80:[78, 64, 38, 45], Operations: []
Exploring Operation: 64-45=19, Resulting Numbers: [78, 38, 19]
Generated Node #2: [78, 38, 19] from Operation: 64-45=19
Current State: 80:[78, 38, 19], Operations: ['64-45=19']
Exploring Operation: 38/19=2, Resulting Numbers: [78, 2]
Generated Node #3: [78, 2] from Operation: 38/19=2
Current State: 80:[78, 2], Operations: ['64-45=19', '38/19=2']
Exploring Operation: 78+2=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[78, 64, 38, 45], Operations: []
Exploring Operation: 45-38=7, Resulting Numbers: [78, 64, 7]
Generated Node #0,0: 80:[78, 64, 7] Operation: 45-38=7
Exploring Operation: 78-38=40, Resulting Numbers: [64, 45, 40]
Generated Node #0,1: 80:[64, 45, 40] Operation: 78-38=40
Exploring Operation: 78-64=14, Resulting Numbers: [38, 45, 14]
Generated Node #0,2: 80:[38, 45, 14] Operation: 78-64=14
Exploring Operation: 64-38=26, Resulting Numbers: [78, 45, 26]
Generated Node #0,3: 80:[78, 45, 26] Operation: 64-38=26
Exploring Operation: 64-45=19, Resulting Numbers: [78, 38, 19]
Generated Node #0,4: 80:[78, 38, 19] Operation: 64-45=19
Moving to Node #0,4
Current State: 80:[78, 38, 19], Operations: ['64-45=19']
Exploring Operation: 78+19=97, Resulting Numbers: [38, 97]
Generated Node #0,4,0: 80:[38, 97] Operation: 78+19=97
Exploring Operation: 38/19=2, Resulting Numbers: [78, 2]
Generated Node #0,4,1: 80:[78, 2] Operation: 38/19=2
Exploring Operation: 38-19=19, Resulting Numbers: [78, 19]
Generated Node #0,4,2: 80:[78, 19] Operation: 38-19=19
Exploring Operation: 38+19=57, Resulting Numbers: [78, 57]
Generated Node #0,4,3: 80:[78, 57] Operation: 38+19=57
Exploring Operation: 78-38=40, Resulting Numbers: [19, 40]
Generated Node #0,4,4: 80:[19, 40] Operation: 78-38=40
Moving to Node #0,2
Current State: 80:[38, 45, 14], Operations: ['78-64=14']
Exploring Operation: 38-14=24, Resulting Numbers: [45, 24]
Generated Node #0,2,0: 80:[45, 24] Operation: 38-14=24
Exploring Operation: 45-14=31, Resulting Numbers: [38, 31]
Generated Node #0,2,1: 80:[38, 31] Operation: 45-14=31
Exploring Operation: 38+45=83, Resulting Numbers: [14, 83]
Generated Node #0,2,2: 80:[14, 83] Operation: 38+45=83
Exploring Operation: 38+14=52, Resulting Numbers: [45, 52]
Generated Node #0,2,3: 80:[45, 52] Operation: 38+14=52
Exploring Operation: 45-38=7, Resulting Numbers: [14, 7]
Generated Node #0,2,4: 80:[14, 7] Operation: 45-38=7
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 80:[14, 7], Operations: ['78-64=14', '45-38=7']
Exploring Operation: 14-7=7, Resulting Numbers: [7]
7,80 unequal: No Solution
Exploring Operation: 14/7=2, Resulting Numbers: [2]
2,80 unequal: No Solution
Exploring Operation: 14*7=98, Resulting Numbers: [98]
98,80 unequal: No Solution
Exploring Operation: 14+7=21, Resulting Numbers: [21]
21,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 80:[14, 83], Operations: ['78-64=14', '38+45=83']
Exploring Operation: 14*83=1162, Resulting Numbers: [1162]
1162,80 unequal: No Solution
Exploring Operation: 14+83=97, Resulting Numbers: [97]
97,80 unequal: No Solution
Exploring Operation: 83-14=69, Resulting Numbers: [69]
69,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 80:[45, 24], Operations: ['78-64=14', '38-14=24']
Exploring Operation: 45+24=69, Resulting Numbers: [69]
69,80 unequal: No Solution
Exploring Operation: 45-24=21, Resulting Numbers: [21]
21,80 unequal: No Solution
Exploring Operation: 45*24=1080, Resulting Numbers: [1080]
1080,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 80:[38, 31], Operations: ['78-64=14', '45-14=31']
Exploring Operation: 38-31=7, Resulting Numbers: [7]
7,80 unequal: No Solution
Exploring Operation: 38+31=69, Resulting Numbers: [69]
69,80 unequal: No Solution
Exploring Operation: 38*31=1178, Resulting Numbers: [1178]
1178,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 80:[45, 52], Operations: ['78-64=14', '38+14=52']
Exploring Operation: 45+52=97, Resulting Numbers: [97]
97,80 unequal: No Solution
Exploring Operation: 45*52=2340, Resulting Numbers: [2340]
2340,80 unequal: No Solution
Exploring Operation: 52-45=7, Resulting Numbers: [7]
7,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 80:[78, 45, 26], Operations: ['64-38=26']
Exploring Operation: 45-26=19, Resulting Numbers: [78, 19]
Generated Node #0,3,0: 80:[78, 19] Operation: 45-26=19
Exploring Operation: 78-26=52, Resulting Numbers: [45, 52]
Generated Node #0,3,1: 80:[45, 52] Operation: 78-26=52
Exploring Operation: 78/26=3, Resulting Numbers: [45, 3]
Generated Node #0,3,2: 80:[45, 3] Operation: 78/26=3
Exploring Operation: 78-45=33, Resulting Numbers: [26, 33]
Generated Node #0,3,3: 80:[26, 33] Operation: 78-45=33
Exploring Operation: 45+26=71, Resulting Numbers: [78, 71]
Generated Node #0,3,4: 80:[78, 71] Operation: 45+26=71
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 80:[78, 19], Operations: ['64-38=26', '45-26=19']
Exploring Operation: 78-19=59, Resulting Numbers: [59]
59,80 unequal: No Solution
Exploring Operation: 78+19=97, Resulting Numbers: [97]
97,80 unequal: No Solution
Exploring Operation: 78*19=1482, Resulting Numbers: [1482]
1482,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,3,2
Current State: 80:[45, 3], Operations: ['64-38=26', '78/26=3']
Exploring Operation: 45-3=42, Resulting Numbers: [42]
42,80 unequal: No Solution
Exploring Operation: 45/3=15, Resulting Numbers: [15]
15,80 unequal: No Solution
Exploring Operation: 45*3=135, Resulting Numbers: [135]
135,80 unequal: No Solution
Exploring Operation: 45+3=48, Resulting Numbers: [48]
48,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,3,4
Current State: 80:[78, 71], Operations: ['64-38=26', '45+26=71']
Exploring Operation: 78-71=7, Resulting Numbers: [7]
7,80 unequal: No Solution
Exploring Operation: 78+71=149, Resulting Numbers: [149]
149,80 unequal: No Solution
Exploring Operation: 78*71=5538, Resulting Numbers: [5538]
5538,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,3,3
Current State: 80:[26, 33], Operations: ['64-38=26', '78-45=33']
Exploring Operation: 33-26=7, Resulting Numbers: [7]
7,80 unequal: No Solution
Exploring Operation: 26+33=59, Resulting Numbers: [59]
59,80 unequal: No Solution
Exploring Operation: 26*33=858, Resulting Numbers: [858]
858,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,3,1
Current State: 80:[45, 52], Operations: ['64-38=26', '78-26=52']
Exploring Operation: 45*52=2340, Resulting Numbers: [2340]
2340,80 unequal: No Solution
Exploring Operation: 52-45=7, Resulting Numbers: [7]
7,80 unequal: No Solution
Exploring Operation: 45+52=97, Resulting Numbers: [97]
97,80 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: 80:[78, 64, 7], Operations: ['45-38=7']
Exploring Operation: 78-64=14, Resulting Numbers: [7, 14]
Generated Node #0,0,0: 80:[7, 14] Operation: 78-64=14
Exploring Operation: 64-7=57, Resulting Numbers: [78, 57]
Generated Node #0,0,1: 80:[78, 57] Operation: 64-7=57
Exploring Operation: 78-7=71, Resulting Numbers: [64, 71]
Generated Node #0,0,2: 80:[64, 71] Operation: 78-7=71
Exploring Operation: 78+7=85, Resulting Numbers: [64, 85]
Generated Node #0,0,3: 80:[64, 85] Operation: 78+7=85
Exploring Operation: 64+7=71, Resulting Numbers: [78, 71]
Generated Node #0,0,4: 80:[78, 71] Operation: 64+7=71
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 80:[7, 14], Operations: ['45-38=7', '78-64=14']
Exploring Operation: 7+14=21, Resulting Numbers: [21]
21,80 unequal: No Solution
Exploring Operation: 7*14=98, Resulting Numbers: [98]
98,80 unequal: No Solution
Exploring Operation: 14-7=7, Resulting Numbers: [7]
7,80 unequal: No Solution
Exploring Operation: 14/7=2, Resulting Numbers: [2]
2,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,4
Current State: 80:[78, 71], Operations: ['45-38=7', '64+7=71']
Exploring Operation: 78+71=149, Resulting Numbers: [149]
149,80 unequal: No Solution
Exploring Operation: 78*71=5538, Resulting Numbers: [5538]
5538,80 unequal: No Solution
Exploring Operation: 78-71=7, Resulting Numbers: [7]
7,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 80:[78, 57], Operations: ['45-38=7', '64-7=57']
Exploring Operation: 78-57=21, Resulting Numbers: [21]
21,80 unequal: No Solution
Exploring Operation: 78*57=4446, Resulting Numbers: [4446]
4446,80 unequal: No Solution
Exploring Operation: 78+57=135, Resulting Numbers: [135]
135,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 80:[64, 85], Operations: ['45-38=7', '78+7=85']
Exploring Operation: 64*85=5440, Resulting Numbers: [5440]
5440,80 unequal: No Solution
Exploring Operation: 64+85=149, Resulting Numbers: [149]
149,80 unequal: No Solution
Exploring Operation: 85-64=21, Resulting Numbers: [21]
21,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 80:[64, 71], Operations: ['45-38=7', '78-7=71']
Exploring Operation: 71-64=7, Resulting Numbers: [7]
7,80 unequal: No Solution
Exploring Operation: 64+71=135, Resulting Numbers: [135]
135,80 unequal: No Solution
Exploring Operation: 64*71=4544, Resulting Numbers: [4544]
4544,80 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: 80:[64, 45, 40], Operations: ['78-38=40']
Exploring Operation: 45+40=85, Resulting Numbers: [64, 85]
Generated Node #0,1,0: 80:[64, 85] Operation: 45+40=85
Exploring Operation: 64-45=19, Resulting Numbers: [40, 19]
Generated Node #0,1,1: 80:[40, 19] Operation: 64-45=19
Exploring Operation: 64+45=109, Resulting Numbers: [40, 109]
Generated Node #0,1,2: 80:[40, 109] Operation: 64+45=109
Exploring Operation: 64-40=24, Resulting Numbers: [45, 24]
Generated Node #0,1,3: 80:[45, 24] Operation: 64-40=24
Exploring Operation: 45-40=5, Resulting Numbers: [64, 5]
Generated Node #0,1,4: 80:[64, 5] Operation: 45-40=5
Moving to Node #0,4,4
Current State: 80:[19, 40], Operations: ['64-45=19', '78-38=40']
Exploring Operation: 40-19=21, Resulting Numbers: [21]
21,80 unequal: No Solution
Exploring Operation: 19+40=59, Resulting Numbers: [59]
59,80 unequal: No Solution
Exploring Operation: 19*40=760, Resulting Numbers: [760]
760,80 unequal: No Solution
Moving to Node #0,1,1
Current State: 80:[40, 19], Operations: ['78-38=40', '64-45=19']
Exploring Operation: 40+19=59, Resulting Numbers: [59]
59,80 unequal: No Solution
Exploring Operation: 40-19=21, Resulting Numbers: [21]
21,80 unequal: No Solution
Exploring Operation: 40*19=760, Resulting Numbers: [760]
760,80 unequal: No Solution
Moving to Node #0,4,1
Current State: 80:[78, 2], Operations: ['64-45=19', '38/19=2']
Exploring Operation: 78*2=156, Resulting Numbers: [156]
156,80 unequal: No Solution
Exploring Operation: 78+2=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[78, 64, 38, 45], Operations: []
Exploring Operation: 64-45=19, Resulting Numbers: [78, 38, 19]
Generated Node #0,4: 80:[78, 38, 19] Operation: 64-45=19
Moving to Node #0,4
Current State: 80:[78, 38, 19], Operations: ['64-45=19']
Exploring Operation: 38/19=2, Resulting Numbers: [78, 2]
Generated Node #0,4,1: 80:[78, 2] Operation: 38/19=2
Moving to Node #0,4,1
Current State: 80:[78, 2], Operations: ['64-45=19', '38/19=2']
Exploring Operation: 78+2=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 0.921875 | hs_5 | mult_heuristic |
[
33,
85,
9,
28
] | 26 | [
"33-28=5",
"85/5=17",
"9+17=26"
] | Current State: 26:[33, 85, 9, 28], Operations: []
Exploring Operation: 33-28=5, Resulting Numbers: [85, 9, 5]
Generated Node #2: [85, 9, 5] from Operation: 33-28=5
Current State: 26:[85, 9, 5], Operations: ['33-28=5']
Exploring Operation: 85/5=17, Resulting Numbers: [9, 17]
Generated Node #3: [9, 17] from Operation: 85/5=17
Current State: 26:[9, 17], Operations: ['33-28=5', '85/5=17']
Exploring Operation: 9+17=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[33, 85, 9, 28], Operations: []
Exploring Operation: 85-33=52, Resulting Numbers: [9, 28, 52]
Generated Node #0,0: 26:[9, 28, 52] Operation: 85-33=52
Start Sub Search at level 1: Moving to Node #0,0
Current State: 26:[9, 28, 52], Operations: ['85-33=52']
Exploring Operation: 52-28=24, Resulting Numbers: [9, 24]
Generated Node #0,0,0: 26:[9, 24] Operation: 52-28=24
Moving to Node #0,0,0
Current State: 26:[9, 24], Operations: ['85-33=52', '52-28=24']
Exploring Operation: 24-9=15, Resulting Numbers: [15]
15,26 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 |
[
76,
25,
57,
4
] | 52 | [
"57-25=32",
"4*32=128",
"128-76=52"
] | Current State: 52:[76, 25, 57, 4], Operations: []
Exploring Operation: 57-25=32, Resulting Numbers: [76, 4, 32]
Generated Node #2: [76, 4, 32] from Operation: 57-25=32
Current State: 52:[76, 4, 32], Operations: ['57-25=32']
Exploring Operation: 4*32=128, Resulting Numbers: [76, 128]
Generated Node #3: [76, 128] from Operation: 4*32=128
Current State: 52:[76, 128], Operations: ['57-25=32', '4*32=128']
Exploring Operation: 128-76=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[76, 25, 57, 4], Operations: []
Exploring Operation: 76-4=72, Resulting Numbers: [25, 57, 72]
Generated Node #0,0: 52:[25, 57, 72] Operation: 76-4=72
Exploring Operation: 76/4=19, Resulting Numbers: [25, 57, 19]
Generated Node #0,1: 52:[25, 57, 19] Operation: 76/4=19
Exploring Operation: 76-57=19, Resulting Numbers: [25, 4, 19]
Generated Node #0,2: 52:[25, 4, 19] Operation: 76-57=19
Exploring Operation: 76-25=51, Resulting Numbers: [57, 4, 51]
Generated Node #0,3: 52:[57, 4, 51] Operation: 76-25=51
Moving to Node #0,3
Current State: 52:[57, 4, 51], Operations: ['76-25=51']
Exploring Operation: 57-51=6, Resulting Numbers: [4, 6]
Generated Node #0,3,0: 52:[4, 6] Operation: 57-51=6
Exploring Operation: 4+51=55, Resulting Numbers: [57, 55]
Generated Node #0,3,1: 52:[57, 55] Operation: 4+51=55
Exploring Operation: 57+4=61, Resulting Numbers: [51, 61]
Generated Node #0,3,2: 52:[51, 61] Operation: 57+4=61
Exploring Operation: 57-4=53, Resulting Numbers: [51, 53]
Generated Node #0,3,3: 52:[51, 53] Operation: 57-4=53
Moving to Node #0,2
Current State: 52:[25, 4, 19], Operations: ['76-57=19']
Exploring Operation: 25-19=6, Resulting Numbers: [4, 6]
Generated Node #0,2,0: 52:[4, 6] Operation: 25-19=6
Exploring Operation: 19-4=15, Resulting Numbers: [25, 15]
Generated Node #0,2,1: 52:[25, 15] Operation: 19-4=15
Exploring Operation: 25+19=44, Resulting Numbers: [4, 44]
Generated Node #0,2,2: 52:[4, 44] Operation: 25+19=44
Exploring Operation: 4+19=23, Resulting Numbers: [25, 23]
Generated Node #0,2,3: 52:[25, 23] Operation: 4+19=23
Moving to Node #0,1
Current State: 52:[25, 57, 19], Operations: ['76/4=19']
Exploring Operation: 57/19=3, Resulting Numbers: [25, 3]
Generated Node #0,1,0: 52:[25, 3] Operation: 57/19=3
Exploring Operation: 57-25=32, Resulting Numbers: [19, 32]
Generated Node #0,1,1: 52:[19, 32] Operation: 57-25=32
Exploring Operation: 25+19=44, Resulting Numbers: [57, 44]
Generated Node #0,1,2: 52:[57, 44] Operation: 25+19=44
Exploring Operation: 25-19=6, Resulting Numbers: [57, 6]
Generated Node #0,1,3: 52:[57, 6] Operation: 25-19=6
Moving to Node #0,0
Current State: 52:[25, 57, 72], Operations: ['76-4=72']
Exploring Operation: 72-25=47, Resulting Numbers: [57, 47]
Generated Node #0,0,0: 52:[57, 47] Operation: 72-25=47
Exploring Operation: 72-57=15, Resulting Numbers: [25, 15]
Generated Node #0,0,1: 52:[25, 15] Operation: 72-57=15
Exploring Operation: 25+57=82, Resulting Numbers: [72, 82]
Generated Node #0,0,2: 52:[72, 82] Operation: 25+57=82
Exploring Operation: 57-25=32, Resulting Numbers: [72, 32]
Generated Node #0,0,3: 52:[72, 32] Operation: 57-25=32
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 52:[25, 15], Operations: ['76-4=72', '72-57=15']
Exploring Operation: 25+15=40, Resulting Numbers: [40]
40,52 unequal: No Solution
Exploring Operation: 25-15=10, Resulting Numbers: [10]
10,52 unequal: No Solution
Exploring Operation: 25*15=375, Resulting Numbers: [375]
375,52 unequal: No Solution
No 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: 52:[57, 47], Operations: ['76-4=72', '72-25=47']
Exploring Operation: 57+47=104, Resulting Numbers: [104]
104,52 unequal: No Solution
Exploring Operation: 57*47=2679, Resulting Numbers: [2679]
2679,52 unequal: No Solution
Exploring Operation: 57-47=10, Resulting Numbers: [10]
10,52 unequal: No Solution
No 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: 52:[72, 32], Operations: ['76-4=72', '57-25=32']
Exploring Operation: 72*32=2304, Resulting Numbers: [2304]
2304,52 unequal: No Solution
Exploring Operation: 72-32=40, Resulting Numbers: [40]
40,52 unequal: No Solution
Exploring Operation: 72+32=104, Resulting Numbers: [104]
104,52 unequal: No Solution
No 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: 52:[72, 82], Operations: ['76-4=72', '25+57=82']
Exploring Operation: 72+82=154, Resulting Numbers: [154]
154,52 unequal: No Solution
Exploring Operation: 82-72=10, Resulting Numbers: [10]
10,52 unequal: No Solution
Exploring Operation: 72*82=5904, Resulting Numbers: [5904]
5904,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,0
Current State: 52:[4, 6], Operations: ['76-25=51', '57-51=6']
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,52 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,52 unequal: No Solution
Moving to Node #0,3,3
Current State: 52:[51, 53], Operations: ['76-25=51', '57-4=53']
Exploring Operation: 53-51=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 51+53=104, Resulting Numbers: [104]
104,52 unequal: No Solution
Exploring Operation: 51*53=2703, Resulting Numbers: [2703]
2703,52 unequal: No Solution
Moving to Node #0,2,0
Current State: 52:[4, 6], Operations: ['76-57=19', '25-19=6']
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,52 unequal: No Solution
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,52 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Moving to Node #0,1,0
Current State: 52:[25, 3], Operations: ['76/4=19', '57/19=3']
Exploring Operation: 25*3=75, Resulting Numbers: [75]
75,52 unequal: No Solution
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,52 unequal: No Solution
Exploring Operation: 25+3=28, Resulting Numbers: [28]
28,52 unequal: No Solution
Moving to Node #0,2,1
Current State: 52:[25, 15], Operations: ['76-57=19', '19-4=15']
Exploring Operation: 25-15=10, Resulting Numbers: [10]
10,52 unequal: No Solution
Exploring Operation: 25+15=40, Resulting Numbers: [40]
40,52 unequal: No Solution
Exploring Operation: 25*15=375, Resulting Numbers: [375]
375,52 unequal: No Solution
Moving to Node #0,2,3
Current State: 52:[25, 23], Operations: ['76-57=19', '4+19=23']
Exploring Operation: 25*23=575, Resulting Numbers: [575]
575,52 unequal: No Solution
Exploring Operation: 25-23=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 25+23=48, Resulting Numbers: [48]
48,52 unequal: No Solution
Moving to Node #0,1,3
Current State: 52:[57, 6], Operations: ['76/4=19', '25-19=6']
Exploring Operation: 57*6=342, Resulting Numbers: [342]
342,52 unequal: No Solution
Exploring Operation: 57+6=63, Resulting Numbers: [63]
63,52 unequal: No Solution
Exploring Operation: 57-6=51, Resulting Numbers: [51]
51,52 unequal: No Solution
Moving to Node #0,3,1
Current State: 52:[57, 55], Operations: ['76-25=51', '4+51=55']
Exploring Operation: 57-55=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 57*55=3135, Resulting Numbers: [3135]
3135,52 unequal: No Solution
Exploring Operation: 57+55=112, Resulting Numbers: [112]
112,52 unequal: No Solution
Moving to Node #0,2,2
Current State: 52:[4, 44], Operations: ['76-57=19', '25+19=44']
Exploring Operation: 4+44=48, Resulting Numbers: [48]
48,52 unequal: No Solution
Exploring Operation: 44/4=11, Resulting Numbers: [11]
11,52 unequal: No Solution
Exploring Operation: 44-4=40, Resulting Numbers: [40]
40,52 unequal: No Solution
Exploring Operation: 4*44=176, Resulting Numbers: [176]
176,52 unequal: No Solution
Moving to Node #0,3,2
Current State: 52:[51, 61], Operations: ['76-25=51', '57+4=61']
Exploring Operation: 61-51=10, Resulting Numbers: [10]
10,52 unequal: No Solution
Exploring Operation: 51*61=3111, Resulting Numbers: [3111]
3111,52 unequal: No Solution
Exploring Operation: 51+61=112, Resulting Numbers: [112]
112,52 unequal: No Solution
Moving to Node #0,1,1
Current State: 52:[19, 32], Operations: ['76/4=19', '57-25=32']
Exploring Operation: 19+32=51, Resulting Numbers: [51]
51,52 unequal: No Solution
Exploring Operation: 19*32=608, Resulting Numbers: [608]
608,52 unequal: No Solution
Exploring Operation: 32-19=13, Resulting Numbers: [13]
13,52 unequal: No Solution
Moving to Node #0,1,2
Current State: 52:[57, 44], Operations: ['76/4=19', '25+19=44']
Exploring Operation: 57+44=101, Resulting Numbers: [101]
101,52 unequal: No Solution
Exploring Operation: 57-44=13, Resulting Numbers: [13]
13,52 unequal: No Solution
Exploring Operation: 57*44=2508, Resulting Numbers: [2508]
2508,52 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
5,
92,
50,
45
] | 92 | [
"5+92=97",
"50-45=5",
"97-5=92"
] | Current State: 92:[5, 92, 50, 45], Operations: []
Exploring Operation: 5+92=97, Resulting Numbers: [50, 45, 97]
Generated Node #2: [50, 45, 97] from Operation: 5+92=97
Current State: 92:[50, 45, 97], Operations: ['5+92=97']
Exploring Operation: 50-45=5, Resulting Numbers: [97, 5]
Generated Node #3: [97, 5] from Operation: 50-45=5
Current State: 92:[97, 5], Operations: ['5+92=97', '50-45=5']
Exploring Operation: 97-5=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[5, 92, 50, 45], Operations: []
Exploring Operation: 50-5=45, Resulting Numbers: [92, 45, 45]
Generated Node #0,0: 92:[92, 45, 45] Operation: 50-5=45
Exploring Operation: 92-50=42, Resulting Numbers: [5, 45, 42]
Generated Node #0,1: 92:[5, 45, 42] Operation: 92-50=42
Exploring Operation: 50+45=95, Resulting Numbers: [5, 92, 95]
Generated Node #0,2: 92:[5, 92, 95] Operation: 50+45=95
Exploring Operation: 50-45=5, Resulting Numbers: [5, 92, 5]
Generated Node #0,3: 92:[5, 92, 5] Operation: 50-45=5
Exploring Operation: 92-45=47, Resulting Numbers: [5, 50, 47]
Generated Node #0,4: 92:[5, 50, 47] Operation: 92-45=47
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[92, 45, 45], Operations: ['50-5=45']
Exploring Operation: 92-45=47, Resulting Numbers: [45, 47]
Generated Node #0,0,0: 92:[45, 47] Operation: 92-45=47
Exploring Operation: 45-45=0, Resulting Numbers: [92, 0]
Generated Node #0,0,1: 92:[92, 0] Operation: 45-45=0
Exploring Operation: 45+45=90, Resulting Numbers: [92, 90]
Generated Node #0,0,2: 92:[92, 90] Operation: 45+45=90
Exploring Operation: 45/45=1, Resulting Numbers: [92, 1]
Generated Node #0,0,3: 92:[92, 1] Operation: 45/45=1
Exploring Operation: 92-45=47, Resulting Numbers: [45, 47]
Generated Node #0,0,4: 92:[45, 47] Operation: 92-45=47
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 92:[92, 1], Operations: ['50-5=45', '45/45=1']
Exploring Operation: 92/1=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[5, 92, 50, 45], Operations: []
Exploring Operation: 50-5=45, Resulting Numbers: [92, 45, 45]
Generated Node #0,0: 92:[92, 45, 45] Operation: 50-5=45
Moving to Node #0,0
Current State: 92:[92, 45, 45], Operations: ['50-5=45']
Exploring Operation: 45/45=1, Resulting Numbers: [92, 1]
Generated Node #0,0,3: 92:[92, 1] Operation: 45/45=1
Moving to Node #0,0,3
Current State: 92:[92, 1], Operations: ['50-5=45', '45/45=1']
Exploring Operation: 92/1=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
53,
48,
2,
21
] | 59 | [
"53+48=101",
"2*21=42",
"101-42=59"
] | Current State: 59:[53, 48, 2, 21], Operations: []
Exploring Operation: 53+48=101, Resulting Numbers: [2, 21, 101]
Generated Node #2: [2, 21, 101] from Operation: 53+48=101
Current State: 59:[2, 21, 101], Operations: ['53+48=101']
Exploring Operation: 2*21=42, Resulting Numbers: [101, 42]
Generated Node #3: [101, 42] from Operation: 2*21=42
Current State: 59:[101, 42], Operations: ['53+48=101', '2*21=42']
Exploring Operation: 101-42=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[53, 48, 2, 21], Operations: []
Exploring Operation: 2*21=42, Resulting Numbers: [53, 48, 42]
Generated Node #0,0: 59:[53, 48, 42] Operation: 2*21=42
Exploring Operation: 48+2=50, Resulting Numbers: [53, 21, 50]
Generated Node #0,1: 59:[53, 21, 50] Operation: 48+2=50
Exploring Operation: 53+2=55, Resulting Numbers: [48, 21, 55]
Generated Node #0,2: 59:[48, 21, 55] Operation: 53+2=55
Exploring Operation: 53-2=51, Resulting Numbers: [48, 21, 51]
Generated Node #0,3: 59:[48, 21, 51] Operation: 53-2=51
Exploring Operation: 2+21=23, Resulting Numbers: [53, 48, 23]
Generated Node #0,4: 59:[53, 48, 23] Operation: 2+21=23
Moving to Node #0,0
Current State: 59:[53, 48, 42], Operations: ['2*21=42']
Exploring Operation: 53-42=11, Resulting Numbers: [48, 11]
Generated Node #0,0,0: 59:[48, 11] Operation: 53-42=11
Exploring Operation: 53+48=101, Resulting Numbers: [42, 101]
Generated Node #0,0,1: 59:[42, 101] Operation: 53+48=101
Exploring Operation: 48+42=90, Resulting Numbers: [53, 90]
Generated Node #0,0,2: 59:[53, 90] Operation: 48+42=90
Exploring Operation: 53+42=95, Resulting Numbers: [48, 95]
Generated Node #0,0,3: 59:[48, 95] Operation: 53+42=95
Exploring Operation: 48-42=6, Resulting Numbers: [53, 6]
Generated Node #0,0,4: 59:[53, 6] Operation: 48-42=6
Moving to Node #0,2
Current State: 59:[48, 21, 55], Operations: ['53+2=55']
Exploring Operation: 21+55=76, Resulting Numbers: [48, 76]
Generated Node #0,2,0: 59:[48, 76] Operation: 21+55=76
Exploring Operation: 48+21=69, Resulting Numbers: [55, 69]
Generated Node #0,2,1: 59:[55, 69] Operation: 48+21=69
Exploring Operation: 48-21=27, Resulting Numbers: [55, 27]
Generated Node #0,2,2: 59:[55, 27] Operation: 48-21=27
Exploring Operation: 48+55=103, Resulting Numbers: [21, 103]
Generated Node #0,2,3: 59:[21, 103] Operation: 48+55=103
Exploring Operation: 55-21=34, Resulting Numbers: [48, 34]
Generated Node #0,2,4: 59:[48, 34] Operation: 55-21=34
Moving to Node #0,1
Current State: 59:[53, 21, 50], Operations: ['48+2=50']
Exploring Operation: 21+50=71, Resulting Numbers: [53, 71]
Generated Node #0,1,0: 59:[53, 71] Operation: 21+50=71
Exploring Operation: 53+50=103, Resulting Numbers: [21, 103]
Generated Node #0,1,1: 59:[21, 103] Operation: 53+50=103
Exploring Operation: 50-21=29, Resulting Numbers: [53, 29]
Generated Node #0,1,2: 59:[53, 29] Operation: 50-21=29
Exploring Operation: 53-21=32, Resulting Numbers: [50, 32]
Generated Node #0,1,3: 59:[50, 32] Operation: 53-21=32
Exploring Operation: 53+21=74, Resulting Numbers: [50, 74]
Generated Node #0,1,4: 59:[50, 74] Operation: 53+21=74
Moving to Node #0,4
Current State: 59:[53, 48, 23], Operations: ['2+21=23']
Exploring Operation: 48-23=25, Resulting Numbers: [53, 25]
Generated Node #0,4,0: 59:[53, 25] Operation: 48-23=25
Exploring Operation: 53-23=30, Resulting Numbers: [48, 30]
Generated Node #0,4,1: 59:[48, 30] Operation: 53-23=30
Exploring Operation: 48+23=71, Resulting Numbers: [53, 71]
Generated Node #0,4,2: 59:[53, 71] Operation: 48+23=71
Exploring Operation: 53+48=101, Resulting Numbers: [23, 101]
Generated Node #0,4,3: 59:[23, 101] Operation: 53+48=101
Exploring Operation: 53+23=76, Resulting Numbers: [48, 76]
Generated Node #0,4,4: 59:[48, 76] Operation: 53+23=76
Moving to Node #0,3
Current State: 59:[48, 21, 51], Operations: ['53-2=51']
Exploring Operation: 48+51=99, Resulting Numbers: [21, 99]
Generated Node #0,3,0: 59:[21, 99] Operation: 48+51=99
Exploring Operation: 51-21=30, Resulting Numbers: [48, 30]
Generated Node #0,3,1: 59:[48, 30] Operation: 51-21=30
Exploring Operation: 48+21=69, Resulting Numbers: [51, 69]
Generated Node #0,3,2: 59:[51, 69] Operation: 48+21=69
Exploring Operation: 21+51=72, Resulting Numbers: [48, 72]
Generated Node #0,3,3: 59:[48, 72] Operation: 21+51=72
Exploring Operation: 48-21=27, Resulting Numbers: [51, 27]
Generated Node #0,3,4: 59:[51, 27] Operation: 48-21=27
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 59:[51, 69], Operations: ['53-2=51', '48+21=69']
Exploring Operation: 69-51=18, Resulting Numbers: [18]
18,59 unequal: No Solution
Exploring Operation: 51*69=3519, Resulting Numbers: [3519]
3519,59 unequal: No Solution
Exploring Operation: 51+69=120, Resulting Numbers: [120]
120,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 59:[48, 72], Operations: ['53-2=51', '21+51=72']
Exploring Operation: 72-48=24, Resulting Numbers: [24]
24,59 unequal: No Solution
Exploring Operation: 48+72=120, Resulting Numbers: [120]
120,59 unequal: No Solution
Exploring Operation: 48*72=3456, Resulting Numbers: [3456]
3456,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 59:[48, 30], Operations: ['53-2=51', '51-21=30']
Exploring Operation: 48-30=18, Resulting Numbers: [18]
18,59 unequal: No Solution
Exploring Operation: 48+30=78, Resulting Numbers: [78]
78,59 unequal: No Solution
Exploring Operation: 48*30=1440, Resulting Numbers: [1440]
1440,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 59:[51, 27], Operations: ['53-2=51', '48-21=27']
Exploring Operation: 51*27=1377, Resulting Numbers: [1377]
1377,59 unequal: No Solution
Exploring Operation: 51-27=24, Resulting Numbers: [24]
24,59 unequal: No Solution
Exploring Operation: 51+27=78, Resulting Numbers: [78]
78,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 59:[21, 99], Operations: ['53-2=51', '48+51=99']
Exploring Operation: 99-21=78, Resulting Numbers: [78]
78,59 unequal: No Solution
Exploring Operation: 21*99=2079, Resulting Numbers: [2079]
2079,59 unequal: No Solution
Exploring Operation: 21+99=120, Resulting Numbers: [120]
120,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,1
Current State: 59:[55, 69], Operations: ['53+2=55', '48+21=69']
Exploring Operation: 69-55=14, Resulting Numbers: [14]
14,59 unequal: No Solution
Exploring Operation: 55+69=124, Resulting Numbers: [124]
124,59 unequal: No Solution
Exploring Operation: 55*69=3795, Resulting Numbers: [3795]
3795,59 unequal: No Solution
Moving to Node #0,1,0
Current State: 59:[53, 71], Operations: ['48+2=50', '21+50=71']
Exploring Operation: 71-53=18, Resulting Numbers: [18]
18,59 unequal: No Solution
Exploring Operation: 53*71=3763, Resulting Numbers: [3763]
3763,59 unequal: No Solution
Exploring Operation: 53+71=124, Resulting Numbers: [124]
124,59 unequal: No Solution
Moving to Node #0,4,2
Current State: 59:[53, 71], Operations: ['2+21=23', '48+23=71']
Exploring Operation: 53*71=3763, Resulting Numbers: [3763]
3763,59 unequal: No Solution
Exploring Operation: 71-53=18, Resulting Numbers: [18]
18,59 unequal: No Solution
Exploring Operation: 53+71=124, Resulting Numbers: [124]
124,59 unequal: No Solution
Moving to Node #0,1,4
Current State: 59:[50, 74], Operations: ['48+2=50', '53+21=74']
Exploring Operation: 50*74=3700, Resulting Numbers: [3700]
3700,59 unequal: No Solution
Exploring Operation: 74-50=24, Resulting Numbers: [24]
24,59 unequal: No Solution
Exploring Operation: 50+74=124, Resulting Numbers: [124]
124,59 unequal: No Solution
Moving to Node #0,2,0
Current State: 59:[48, 76], Operations: ['53+2=55', '21+55=76']
Exploring Operation: 76-48=28, Resulting Numbers: [28]
28,59 unequal: No Solution
Exploring Operation: 48+76=124, Resulting Numbers: [124]
124,59 unequal: No Solution
Exploring Operation: 48*76=3648, Resulting Numbers: [3648]
3648,59 unequal: No Solution
Moving to Node #0,4,4
Current State: 59:[48, 76], Operations: ['2+21=23', '53+23=76']
Exploring Operation: 48+76=124, Resulting Numbers: [124]
124,59 unequal: No Solution
Exploring Operation: 48*76=3648, Resulting Numbers: [3648]
3648,59 unequal: No Solution
Exploring Operation: 76-48=28, Resulting Numbers: [28]
28,59 unequal: No Solution
Moving to Node #0,1,3
Current State: 59:[50, 32], Operations: ['48+2=50', '53-21=32']
Exploring Operation: 50-32=18, Resulting Numbers: [18]
18,59 unequal: No Solution
Exploring Operation: 50+32=82, Resulting Numbers: [82]
82,59 unequal: No Solution
Exploring Operation: 50*32=1600, Resulting Numbers: [1600]
1600,59 unequal: No Solution
Moving to Node #0,1,2
Current State: 59:[53, 29], Operations: ['48+2=50', '50-21=29']
Exploring Operation: 53-29=24, Resulting Numbers: [24]
24,59 unequal: No Solution
Exploring Operation: 53*29=1537, Resulting Numbers: [1537]
1537,59 unequal: No Solution
Exploring Operation: 53+29=82, Resulting Numbers: [82]
82,59 unequal: No Solution
Moving to Node #0,2,2
Current State: 59:[55, 27], Operations: ['53+2=55', '48-21=27']
Exploring Operation: 55+27=82, Resulting Numbers: [82]
82,59 unequal: No Solution
Exploring Operation: 55-27=28, Resulting Numbers: [28]
28,59 unequal: No Solution
Exploring Operation: 55*27=1485, Resulting Numbers: [1485]
1485,59 unequal: No Solution
Moving to Node #0,2,4
Current State: 59:[48, 34], Operations: ['53+2=55', '55-21=34']
Exploring Operation: 48+34=82, Resulting Numbers: [82]
82,59 unequal: No Solution
Exploring Operation: 48*34=1632, Resulting Numbers: [1632]
1632,59 unequal: No Solution
Exploring Operation: 48-34=14, Resulting Numbers: [14]
14,59 unequal: No Solution
Moving to Node #0,0,2
Current State: 59:[53, 90], Operations: ['2*21=42', '48+42=90']
Exploring Operation: 90-53=37, Resulting Numbers: [37]
37,59 unequal: No Solution
Exploring Operation: 53*90=4770, Resulting Numbers: [4770]
4770,59 unequal: No Solution
Exploring Operation: 53+90=143, Resulting Numbers: [143]
143,59 unequal: No Solution
Moving to Node #0,4,0
Current State: 59:[53, 25], Operations: ['2+21=23', '48-23=25']
Exploring Operation: 53*25=1325, Resulting Numbers: [1325]
1325,59 unequal: No Solution
Exploring Operation: 53-25=28, Resulting Numbers: [28]
28,59 unequal: No Solution
Exploring Operation: 53+25=78, Resulting Numbers: [78]
78,59 unequal: No Solution
Moving to Node #0,4,1
Current State: 59:[48, 30], Operations: ['2+21=23', '53-23=30']
Exploring Operation: 48+30=78, Resulting Numbers: [78]
78,59 unequal: No Solution
Exploring Operation: 48*30=1440, Resulting Numbers: [1440]
1440,59 unequal: No Solution
Exploring Operation: 48-30=18, Resulting Numbers: [18]
18,59 unequal: No Solution
Moving to Node #0,0,3
Current State: 59:[48, 95], Operations: ['2*21=42', '53+42=95']
Exploring Operation: 48*95=4560, Resulting Numbers: [4560]
4560,59 unequal: No Solution
Exploring Operation: 95-48=47, Resulting Numbers: [47]
47,59 unequal: No Solution
Exploring Operation: 48+95=143, Resulting Numbers: [143]
143,59 unequal: No Solution
Moving to Node #0,0,1
Current State: 59:[42, 101], Operations: ['2*21=42', '53+48=101']
Exploring Operation: 42+101=143, Resulting Numbers: [143]
143,59 unequal: No Solution
Exploring Operation: 42*101=4242, Resulting Numbers: [4242]
4242,59 unequal: No Solution
Exploring Operation: 101-42=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[53, 48, 2, 21], Operations: []
Exploring Operation: 2*21=42, Resulting Numbers: [53, 48, 42]
Generated Node #0,0: 59:[53, 48, 42] Operation: 2*21=42
Moving to Node #0,0
Current State: 59:[53, 48, 42], Operations: ['2*21=42']
Exploring Operation: 53+48=101, Resulting Numbers: [42, 101]
Generated Node #0,0,1: 59:[42, 101] Operation: 53+48=101
Moving to Node #0,0,1
Current State: 59:[42, 101], Operations: ['2*21=42', '53+48=101']
Exploring Operation: 101-42=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 0.918403 | hs_5 | mult_heuristic |
[
41,
59,
96,
9
] | 62 | [
"41-9=32",
"96/32=3",
"59+3=62"
] | Current State: 62:[41, 59, 96, 9], Operations: []
Exploring Operation: 41-9=32, Resulting Numbers: [59, 96, 32]
Generated Node #2: [59, 96, 32] from Operation: 41-9=32
Current State: 62:[59, 96, 32], Operations: ['41-9=32']
Exploring Operation: 96/32=3, Resulting Numbers: [59, 3]
Generated Node #3: [59, 3] from Operation: 96/32=3
Current State: 62:[59, 3], Operations: ['41-9=32', '96/32=3']
Exploring Operation: 59+3=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[41, 59, 96, 9], Operations: []
Exploring Operation: 96-9=87, Resulting Numbers: [41, 59, 87]
Generated Node #0,0: 62:[41, 59, 87] Operation: 96-9=87
Exploring Operation: 96-41=55, Resulting Numbers: [59, 9, 55]
Generated Node #0,1: 62:[59, 9, 55] Operation: 96-41=55
Exploring Operation: 96-59=37, Resulting Numbers: [41, 9, 37]
Generated Node #0,2: 62:[41, 9, 37] Operation: 96-59=37
Exploring Operation: 41-9=32, Resulting Numbers: [59, 96, 32]
Generated Node #0,3: 62:[59, 96, 32] Operation: 41-9=32
Start Sub Search at level 1: Moving to Node #0,1
Current State: 62:[59, 9, 55], Operations: ['96-41=55']
Exploring Operation: 59+9=68, Resulting Numbers: [55, 68]
Generated Node #0,1,0: 62:[55, 68] Operation: 59+9=68
Exploring Operation: 55-9=46, Resulting Numbers: [59, 46]
Generated Node #0,1,1: 62:[59, 46] Operation: 55-9=46
Exploring Operation: 59-55=4, Resulting Numbers: [9, 4]
Generated Node #0,1,2: 62:[9, 4] Operation: 59-55=4
Exploring Operation: 9+55=64, Resulting Numbers: [59, 64]
Generated Node #0,1,3: 62:[59, 64] Operation: 9+55=64
Moving to Node #0,1,3
Current State: 62:[59, 64], Operations: ['96-41=55', '9+55=64']
Exploring Operation: 59*64=3776, Resulting Numbers: [3776]
3776,62 unequal: No Solution
Exploring Operation: 64-59=5, Resulting Numbers: [5]
5,62 unequal: No Solution
Exploring Operation: 59+64=123, Resulting Numbers: [123]
123,62 unequal: No Solution
Moving to Node #0,1,2
Current State: 62:[9, 4], Operations: ['96-41=55', '59-55=4']
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,62 unequal: No Solution
Exploring Operation: 9*4=36, Resulting Numbers: [36]
36,62 unequal: No Solution
Exploring Operation: 9+4=13, Resulting Numbers: [13]
13,62 unequal: No Solution
Moving to Node #0,1,0
Current State: 62:[55, 68], Operations: ['96-41=55', '59+9=68']
Exploring Operation: 55*68=3740, Resulting Numbers: [3740]
3740,62 unequal: No Solution
Exploring Operation: 55+68=123, Resulting Numbers: [123]
123,62 unequal: No Solution
Exploring Operation: 68-55=13, Resulting Numbers: [13]
13,62 unequal: No Solution
Moving to Node #0,1,1
Current State: 62:[59, 46], Operations: ['96-41=55', '55-9=46']
Exploring Operation: 59+46=105, Resulting Numbers: [105]
105,62 unequal: No Solution
Exploring Operation: 59-46=13, Resulting Numbers: [13]
13,62 unequal: No Solution
Exploring Operation: 59*46=2714, Resulting Numbers: [2714]
2714,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 62:[41, 9, 37], Operations: ['96-59=37']
Exploring Operation: 41-9=32, Resulting Numbers: [37, 32]
Generated Node #0,2,0: 62:[37, 32] Operation: 41-9=32
Exploring Operation: 37-9=28, Resulting Numbers: [41, 28]
Generated Node #0,2,1: 62:[41, 28] Operation: 37-9=28
Exploring Operation: 41-37=4, Resulting Numbers: [9, 4]
Generated Node #0,2,2: 62:[9, 4] Operation: 41-37=4
Exploring Operation: 41+9=50, Resulting Numbers: [37, 50]
Generated Node #0,2,3: 62:[37, 50] Operation: 41+9=50
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 62:[37, 32], Operations: ['96-59=37', '41-9=32']
Exploring Operation: 37*32=1184, Resulting Numbers: [1184]
1184,62 unequal: No Solution
Exploring Operation: 37+32=69, Resulting Numbers: [69]
69,62 unequal: No Solution
Exploring Operation: 37-32=5, Resulting Numbers: [5]
5,62 unequal: No Solution
No 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: 62:[9, 4], Operations: ['96-59=37', '41-37=4']
Exploring Operation: 9+4=13, Resulting Numbers: [13]
13,62 unequal: No Solution
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,62 unequal: No Solution
Exploring Operation: 9*4=36, Resulting Numbers: [36]
36,62 unequal: No Solution
No 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: 62:[41, 28], Operations: ['96-59=37', '37-9=28']
Exploring Operation: 41+28=69, Resulting Numbers: [69]
69,62 unequal: No Solution
Exploring Operation: 41*28=1148, Resulting Numbers: [1148]
1148,62 unequal: No Solution
Exploring Operation: 41-28=13, Resulting Numbers: [13]
13,62 unequal: No Solution
No 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: 62:[37, 50], Operations: ['96-59=37', '41+9=50']
Exploring Operation: 37*50=1850, Resulting Numbers: [1850]
1850,62 unequal: No Solution
Exploring Operation: 37+50=87, Resulting Numbers: [87]
87,62 unequal: No Solution
Exploring Operation: 50-37=13, Resulting Numbers: [13]
13,62 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: 62:[41, 59, 87], Operations: ['96-9=87']
Exploring Operation: 87-41=46, Resulting Numbers: [59, 46]
Generated Node #0,0,0: 62:[59, 46] Operation: 87-41=46
Exploring Operation: 59-41=18, Resulting Numbers: [87, 18]
Generated Node #0,0,1: 62:[87, 18] Operation: 59-41=18
Exploring Operation: 87-59=28, Resulting Numbers: [41, 28]
Generated Node #0,0,2: 62:[41, 28] Operation: 87-59=28
Exploring Operation: 41+59=100, Resulting Numbers: [87, 100]
Generated Node #0,0,3: 62:[87, 100] Operation: 41+59=100
Moving to Node #0,0,2
Current State: 62:[41, 28], Operations: ['96-9=87', '87-59=28']
Exploring Operation: 41*28=1148, Resulting Numbers: [1148]
1148,62 unequal: No Solution
Exploring Operation: 41+28=69, Resulting Numbers: [69]
69,62 unequal: No Solution
Exploring Operation: 41-28=13, Resulting Numbers: [13]
13,62 unequal: No Solution
Moving to Node #0,0,0
Current State: 62:[59, 46], Operations: ['96-9=87', '87-41=46']
Exploring Operation: 59*46=2714, Resulting Numbers: [2714]
2714,62 unequal: No Solution
Exploring Operation: 59-46=13, Resulting Numbers: [13]
13,62 unequal: No Solution
Exploring Operation: 59+46=105, Resulting Numbers: [105]
105,62 unequal: No Solution
Moving to Node #0,0,1
Current State: 62:[87, 18], Operations: ['96-9=87', '59-41=18']
Exploring Operation: 87+18=105, Resulting Numbers: [105]
105,62 unequal: No Solution
Exploring Operation: 87-18=69, Resulting Numbers: [69]
69,62 unequal: No Solution
Exploring Operation: 87*18=1566, Resulting Numbers: [1566]
1566,62 unequal: No Solution
Moving to Node #0,0,3
Current State: 62:[87, 100], Operations: ['96-9=87', '41+59=100']
Exploring Operation: 87+100=187, Resulting Numbers: [187]
187,62 unequal: No Solution
Exploring Operation: 87*100=8700, Resulting Numbers: [8700]
8700,62 unequal: No Solution
Exploring Operation: 100-87=13, Resulting Numbers: [13]
13,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 62:[59, 96, 32], Operations: ['41-9=32']
Exploring Operation: 96-32=64, Resulting Numbers: [59, 64]
Generated Node #0,3,0: 62:[59, 64] Operation: 96-32=64
Exploring Operation: 96-59=37, Resulting Numbers: [32, 37]
Generated Node #0,3,1: 62:[32, 37] Operation: 96-59=37
Exploring Operation: 96/32=3, Resulting Numbers: [59, 3]
Generated Node #0,3,2: 62:[59, 3] Operation: 96/32=3
Exploring Operation: 59-32=27, Resulting Numbers: [96, 27]
Generated Node #0,3,3: 62:[96, 27] Operation: 59-32=27
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 62:[59, 3], Operations: ['41-9=32', '96/32=3']
Exploring Operation: 59-3=56, Resulting Numbers: [56]
56,62 unequal: No Solution
Exploring Operation: 59*3=177, Resulting Numbers: [177]
177,62 unequal: No Solution
Exploring Operation: 59+3=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[41, 59, 96, 9], Operations: []
Exploring Operation: 41-9=32, Resulting Numbers: [59, 96, 32]
Generated Node #0,3: 62:[59, 96, 32] Operation: 41-9=32
Moving to Node #0,3
Current State: 62:[59, 96, 32], Operations: ['41-9=32']
Exploring Operation: 96/32=3, Resulting Numbers: [59, 3]
Generated Node #0,3,2: 62:[59, 3] Operation: 96/32=3
Moving to Node #0,3,2
Current State: 62:[59, 3], Operations: ['41-9=32', '96/32=3']
Exploring Operation: 59+3=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.945313 | hs_4 | mult_heuristic |
[
39,
3,
2,
22
] | 49 | [
"39-22=17",
"3*17=51",
"51-2=49"
] | Current State: 49:[39, 3, 2, 22], Operations: []
Exploring Operation: 39-22=17, Resulting Numbers: [3, 2, 17]
Generated Node #2: [3, 2, 17] from Operation: 39-22=17
Current State: 49:[3, 2, 17], Operations: ['39-22=17']
Exploring Operation: 3*17=51, Resulting Numbers: [2, 51]
Generated Node #3: [2, 51] from Operation: 3*17=51
Current State: 49:[2, 51], Operations: ['39-22=17', '3*17=51']
Exploring Operation: 51-2=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[39, 3, 2, 22], Operations: []
Exploring Operation: 22/2=11, Resulting Numbers: [39, 3, 11]
Generated Node #0,0: 49:[39, 3, 11] Operation: 22/2=11
Moving to Node #0,0
Current State: 49:[39, 3, 11], Operations: ['22/2=11']
Exploring Operation: 39+11=50, Resulting Numbers: [3, 50]
Generated Node #0,0,0: 49:[3, 50] Operation: 39+11=50
Moving to Node #0,0,0
Current State: 49:[3, 50], Operations: ['22/2=11', '39+11=50']
Exploring Operation: 50-3=47, Resulting Numbers: [47]
47,49 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
56,
69,
18,
47
] | 16 | [
"69-56=13",
"47-18=29",
"29-13=16"
] | Current State: 16:[56, 69, 18, 47], Operations: []
Exploring Operation: 69-56=13, Resulting Numbers: [18, 47, 13]
Generated Node #2: [18, 47, 13] from Operation: 69-56=13
Current State: 16:[18, 47, 13], Operations: ['69-56=13']
Exploring Operation: 47-18=29, Resulting Numbers: [13, 29]
Generated Node #3: [13, 29] from Operation: 47-18=29
Current State: 16:[13, 29], Operations: ['69-56=13', '47-18=29']
Exploring Operation: 29-13=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[56, 69, 18, 47], Operations: []
Exploring Operation: 69-56=13, Resulting Numbers: [18, 47, 13]
Generated Node #0,0: 16:[18, 47, 13] Operation: 69-56=13
Exploring Operation: 56-18=38, Resulting Numbers: [69, 47, 38]
Generated Node #0,1: 16:[69, 47, 38] Operation: 56-18=38
Exploring Operation: 56-47=9, Resulting Numbers: [69, 18, 9]
Generated Node #0,2: 16:[69, 18, 9] Operation: 56-47=9
Exploring Operation: 69-47=22, Resulting Numbers: [56, 18, 22]
Generated Node #0,3: 16:[56, 18, 22] Operation: 69-47=22
Moving to Node #0,0
Current State: 16:[18, 47, 13], Operations: ['69-56=13']
Exploring Operation: 47-13=34, Resulting Numbers: [18, 34]
Generated Node #0,0,0: 16:[18, 34] Operation: 47-13=34
Exploring Operation: 18+13=31, Resulting Numbers: [47, 31]
Generated Node #0,0,1: 16:[47, 31] Operation: 18+13=31
Exploring Operation: 47-18=29, Resulting Numbers: [13, 29]
Generated Node #0,0,2: 16:[13, 29] Operation: 47-18=29
Exploring Operation: 18-13=5, Resulting Numbers: [47, 5]
Generated Node #0,0,3: 16:[47, 5] Operation: 18-13=5
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 16:[13, 29], Operations: ['69-56=13', '47-18=29']
Exploring Operation: 13+29=42, Resulting Numbers: [42]
42,16 unequal: No Solution
Exploring Operation: 29-13=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[56, 69, 18, 47], Operations: []
Exploring Operation: 69-56=13, Resulting Numbers: [18, 47, 13]
Generated Node #0,0: 16:[18, 47, 13] Operation: 69-56=13
Moving to Node #0,0
Current State: 16:[18, 47, 13], Operations: ['69-56=13']
Exploring Operation: 47-18=29, Resulting Numbers: [13, 29]
Generated Node #0,0,2: 16:[13, 29] Operation: 47-18=29
Moving to Node #0,0,2
Current State: 16:[13, 29], Operations: ['69-56=13', '47-18=29']
Exploring Operation: 29-13=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
37,
13,
61,
11
] | 45 | [
"37+61=98",
"13*11=143",
"143-98=45"
] | Current State: 45:[37, 13, 61, 11], Operations: []
Exploring Operation: 37+61=98, Resulting Numbers: [13, 11, 98]
Generated Node #2: [13, 11, 98] from Operation: 37+61=98
Current State: 45:[13, 11, 98], Operations: ['37+61=98']
Exploring Operation: 13*11=143, Resulting Numbers: [98, 143]
Generated Node #3: [98, 143] from Operation: 13*11=143
Current State: 45:[98, 143], Operations: ['37+61=98', '13*11=143']
Exploring Operation: 143-98=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[37, 13, 61, 11], Operations: []
Exploring Operation: 61-37=24, Resulting Numbers: [13, 11, 24]
Generated Node #0,0: 45:[13, 11, 24] Operation: 61-37=24
Moving to Node #0,0
Current State: 45:[13, 11, 24], Operations: ['61-37=24']
Exploring Operation: 24-13=11, Resulting Numbers: [11, 11]
Generated Node #0,0,0: 45:[11, 11] Operation: 24-13=11
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 45:[11, 11], Operations: ['61-37=24', '24-13=11']
Exploring Operation: 11/11=1, Resulting Numbers: [1]
1,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
51,
67,
9,
52
] | 57 | [
"51+67=118",
"9+52=61",
"118-61=57"
] | Current State: 57:[51, 67, 9, 52], Operations: []
Exploring Operation: 51+67=118, Resulting Numbers: [9, 52, 118]
Generated Node #2: [9, 52, 118] from Operation: 51+67=118
Current State: 57:[9, 52, 118], Operations: ['51+67=118']
Exploring Operation: 9+52=61, Resulting Numbers: [118, 61]
Generated Node #3: [118, 61] from Operation: 9+52=61
Current State: 57:[118, 61], Operations: ['51+67=118', '9+52=61']
Exploring Operation: 118-61=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[51, 67, 9, 52], Operations: []
Exploring Operation: 67-52=15, Resulting Numbers: [51, 9, 15]
Generated Node #0,0: 57:[51, 9, 15] Operation: 67-52=15
Exploring Operation: 67-51=16, Resulting Numbers: [9, 52, 16]
Generated Node #0,1: 57:[9, 52, 16] Operation: 67-51=16
Exploring Operation: 51+9=60, Resulting Numbers: [67, 52, 60]
Generated Node #0,2: 57:[67, 52, 60] Operation: 51+9=60
Exploring Operation: 67-9=58, Resulting Numbers: [51, 52, 58]
Generated Node #0,3: 57:[51, 52, 58] Operation: 67-9=58
Moving to Node #0,3
Current State: 57:[51, 52, 58], Operations: ['67-9=58']
Exploring Operation: 51+52=103, Resulting Numbers: [58, 103]
Generated Node #0,3,0: 57:[58, 103] Operation: 51+52=103
Exploring Operation: 58-52=6, Resulting Numbers: [51, 6]
Generated Node #0,3,1: 57:[51, 6] Operation: 58-52=6
Exploring Operation: 52-51=1, Resulting Numbers: [58, 1]
Generated Node #0,3,2: 57:[58, 1] Operation: 52-51=1
Exploring Operation: 58-51=7, Resulting Numbers: [52, 7]
Generated Node #0,3,3: 57:[52, 7] Operation: 58-51=7
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 57:[58, 1], Operations: ['67-9=58', '52-51=1']
Exploring Operation: 58+1=59, Resulting Numbers: [59]
59,57 unequal: No Solution
Exploring Operation: 58*1=58, Resulting Numbers: [58]
58,57 unequal: No Solution
Exploring Operation: 58-1=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[51, 67, 9, 52], Operations: []
Exploring Operation: 67-9=58, Resulting Numbers: [51, 52, 58]
Generated Node #0,3: 57:[51, 52, 58] Operation: 67-9=58
Moving to Node #0,3
Current State: 57:[51, 52, 58], Operations: ['67-9=58']
Exploring Operation: 52-51=1, Resulting Numbers: [58, 1]
Generated Node #0,3,2: 57:[58, 1] Operation: 52-51=1
Moving to Node #0,3,2
Current State: 57:[58, 1], Operations: ['67-9=58', '52-51=1']
Exploring Operation: 58-1=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
81,
14,
24,
95
] | 25 | [
"81+14=95",
"95/95=1",
"24+1=25"
] | Current State: 25:[81, 14, 24, 95], Operations: []
Exploring Operation: 81+14=95, Resulting Numbers: [24, 95, 95]
Generated Node #2: [24, 95, 95] from Operation: 81+14=95
Current State: 25:[24, 95, 95], Operations: ['81+14=95']
Exploring Operation: 95/95=1, Resulting Numbers: [24, 1]
Generated Node #3: [24, 1] from Operation: 95/95=1
Current State: 25:[24, 1], Operations: ['81+14=95', '95/95=1']
Exploring Operation: 24+1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[81, 14, 24, 95], Operations: []
Exploring Operation: 81-24=57, Resulting Numbers: [14, 95, 57]
Generated Node #0,0: 25:[14, 95, 57] Operation: 81-24=57
Exploring Operation: 95-81=14, Resulting Numbers: [14, 24, 14]
Generated Node #0,1: 25:[14, 24, 14] Operation: 95-81=14
Exploring Operation: 95-24=71, Resulting Numbers: [81, 14, 71]
Generated Node #0,2: 25:[81, 14, 71] Operation: 95-24=71
Moving to Node #0,1
Current State: 25:[14, 24, 14], Operations: ['95-81=14']
Exploring Operation: 14+14=28, Resulting Numbers: [24, 28]
Generated Node #0,1,0: 25:[24, 28] Operation: 14+14=28
Exploring Operation: 14/14=1, Resulting Numbers: [24, 1]
Generated Node #0,1,1: 25:[24, 1] Operation: 14/14=1
Exploring Operation: 14-14=0, Resulting Numbers: [24, 0]
Generated Node #0,1,2: 25:[24, 0] Operation: 14-14=0
Moving to Node #0,0
Current State: 25:[14, 95, 57], Operations: ['81-24=57']
Exploring Operation: 57-14=43, Resulting Numbers: [95, 43]
Generated Node #0,0,0: 25:[95, 43] Operation: 57-14=43
Exploring Operation: 95-14=81, Resulting Numbers: [57, 81]
Generated Node #0,0,1: 25:[57, 81] Operation: 95-14=81
Exploring Operation: 95-57=38, Resulting Numbers: [14, 38]
Generated Node #0,0,2: 25:[14, 38] Operation: 95-57=38
Moving to Node #0,2
Current State: 25:[81, 14, 71], Operations: ['95-24=71']
Exploring Operation: 71-14=57, Resulting Numbers: [81, 57]
Generated Node #0,2,0: 25:[81, 57] Operation: 71-14=57
Exploring Operation: 81-14=67, Resulting Numbers: [71, 67]
Generated Node #0,2,1: 25:[71, 67] Operation: 81-14=67
Exploring Operation: 81-71=10, Resulting Numbers: [14, 10]
Generated Node #0,2,2: 25:[14, 10] Operation: 81-71=10
Moving to Node #0,1,0
Current State: 25:[24, 28], Operations: ['95-81=14', '14+14=28']
Exploring Operation: 24*28=672, Resulting Numbers: [672]
672,25 unequal: No Solution
Exploring Operation: 28-24=4, Resulting Numbers: [4]
4,25 unequal: No Solution
Exploring Operation: 24+28=52, Resulting Numbers: [52]
52,25 unequal: No Solution
Moving to Node #0,1,1
Current State: 25:[24, 1], Operations: ['95-81=14', '14/14=1']
Exploring Operation: 24/1=24, Resulting Numbers: [24]
24,25 unequal: No Solution
Exploring Operation: 24*1=24, Resulting Numbers: [24]
24,25 unequal: No Solution
Exploring Operation: 24+1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[81, 14, 24, 95], Operations: []
Exploring Operation: 95-81=14, Resulting Numbers: [14, 24, 14]
Generated Node #0,1: 25:[14, 24, 14] Operation: 95-81=14
Moving to Node #0,1
Current State: 25:[14, 24, 14], Operations: ['95-81=14']
Exploring Operation: 14/14=1, Resulting Numbers: [24, 1]
Generated Node #0,1,1: 25:[24, 1] Operation: 14/14=1
Moving to Node #0,1,1
Current State: 25:[24, 1], Operations: ['95-81=14', '14/14=1']
Exploring Operation: 24+1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 0.980903 | hs_3 | mult_heuristic |
[
23,
34,
8,
69
] | 66 | [
"34-23=11",
"8+69=77",
"77-11=66"
] | Current State: 66:[23, 34, 8, 69], Operations: []
Exploring Operation: 34-23=11, Resulting Numbers: [8, 69, 11]
Generated Node #2: [8, 69, 11] from Operation: 34-23=11
Current State: 66:[8, 69, 11], Operations: ['34-23=11']
Exploring Operation: 8+69=77, Resulting Numbers: [11, 77]
Generated Node #3: [11, 77] from Operation: 8+69=77
Current State: 66:[11, 77], Operations: ['34-23=11', '8+69=77']
Exploring Operation: 77-11=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[23, 34, 8, 69], Operations: []
Exploring Operation: 69/23=3, Resulting Numbers: [34, 8, 3]
Generated Node #0,0: 66:[34, 8, 3] Operation: 69/23=3
Exploring Operation: 34-23=11, Resulting Numbers: [8, 69, 11]
Generated Node #0,1: 66:[8, 69, 11] Operation: 34-23=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[34, 8, 3], Operations: ['69/23=3']
Exploring Operation: 8-3=5, Resulting Numbers: [34, 5]
Generated Node #0,0,0: 66:[34, 5] Operation: 8-3=5
Exploring Operation: 8+3=11, Resulting Numbers: [34, 11]
Generated Node #0,0,1: 66:[34, 11] Operation: 8+3=11
Moving to Node #0,0,1
Current State: 66:[34, 11], Operations: ['69/23=3', '8+3=11']
Exploring Operation: 34+11=45, Resulting Numbers: [45]
45,66 unequal: No Solution
Exploring Operation: 34-11=23, Resulting Numbers: [23]
23,66 unequal: No Solution
Moving to Node #0,0,0
Current State: 66:[34, 5], Operations: ['69/23=3', '8-3=5']
Exploring Operation: 34-5=29, Resulting Numbers: [29]
29,66 unequal: No Solution
Exploring Operation: 34+5=39, Resulting Numbers: [39]
39,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 66:[8, 69, 11], Operations: ['34-23=11']
Exploring Operation: 11-8=3, Resulting Numbers: [69, 3]
Generated Node #0,1,0: 66:[69, 3] Operation: 11-8=3
Exploring Operation: 69-8=61, Resulting Numbers: [11, 61]
Generated Node #0,1,1: 66:[11, 61] Operation: 69-8=61
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 66:[69, 3], Operations: ['34-23=11', '11-8=3']
Exploring Operation: 69-3=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[23, 34, 8, 69], Operations: []
Exploring Operation: 34-23=11, Resulting Numbers: [8, 69, 11]
Generated Node #0,1: 66:[8, 69, 11] Operation: 34-23=11
Moving to Node #0,1
Current State: 66:[8, 69, 11], Operations: ['34-23=11']
Exploring Operation: 11-8=3, Resulting Numbers: [69, 3]
Generated Node #0,1,0: 66:[69, 3] Operation: 11-8=3
Moving to Node #0,1,0
Current State: 66:[69, 3], Operations: ['34-23=11', '11-8=3']
Exploring Operation: 69-3=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_2 | mult_heuristic |
[
16,
14,
89,
4
] | 81 | [
"16-14=2",
"4*2=8",
"89-8=81"
] | Current State: 81:[16, 14, 89, 4], Operations: []
Exploring Operation: 16-14=2, Resulting Numbers: [89, 4, 2]
Generated Node #2: [89, 4, 2] from Operation: 16-14=2
Current State: 81:[89, 4, 2], Operations: ['16-14=2']
Exploring Operation: 4*2=8, Resulting Numbers: [89, 8]
Generated Node #3: [89, 8] from Operation: 4*2=8
Current State: 81:[89, 8], Operations: ['16-14=2', '4*2=8']
Exploring Operation: 89-8=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[16, 14, 89, 4], Operations: []
Exploring Operation: 16+14=30, Resulting Numbers: [89, 4, 30]
Generated Node #0,0: 81:[89, 4, 30] Operation: 16+14=30
Exploring Operation: 89-16=73, Resulting Numbers: [14, 4, 73]
Generated Node #0,1: 81:[14, 4, 73] Operation: 89-16=73
Exploring Operation: 16-14=2, Resulting Numbers: [89, 4, 2]
Generated Node #0,2: 81:[89, 4, 2] Operation: 16-14=2
Moving to Node #0,2
Current State: 81:[89, 4, 2], Operations: ['16-14=2']
Exploring Operation: 89-2=87, Resulting Numbers: [4, 87]
Generated Node #0,2,0: 81:[4, 87] Operation: 89-2=87
Exploring Operation: 4*2=8, Resulting Numbers: [89, 8]
Generated Node #0,2,1: 81:[89, 8] Operation: 4*2=8
Exploring Operation: 89-4=85, Resulting Numbers: [2, 85]
Generated Node #0,2,2: 81:[2, 85] Operation: 89-4=85
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 81:[2, 85], Operations: ['16-14=2', '89-4=85']
Exploring Operation: 2+85=87, Resulting Numbers: [87]
87,81 unequal: No Solution
Exploring Operation: 85-2=83, Resulting Numbers: [83]
83,81 unequal: No Solution
Exploring Operation: 2*85=170, Resulting Numbers: [170]
170,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 81:[4, 87], Operations: ['16-14=2', '89-2=87']
Exploring Operation: 4*87=348, Resulting Numbers: [348]
348,81 unequal: No Solution
Exploring Operation: 4+87=91, Resulting Numbers: [91]
91,81 unequal: No Solution
Exploring Operation: 87-4=83, Resulting Numbers: [83]
83,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 81:[89, 8], Operations: ['16-14=2', '4*2=8']
Exploring Operation: 89-8=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[16, 14, 89, 4], Operations: []
Exploring Operation: 16-14=2, Resulting Numbers: [89, 4, 2]
Generated Node #0,2: 81:[89, 4, 2] Operation: 16-14=2
Moving to Node #0,2
Current State: 81:[89, 4, 2], Operations: ['16-14=2']
Exploring Operation: 4*2=8, Resulting Numbers: [89, 8]
Generated Node #0,2,1: 81:[89, 8] Operation: 4*2=8
Moving to Node #0,2,1
Current State: 81:[89, 8], Operations: ['16-14=2', '4*2=8']
Exploring Operation: 89-8=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_3 | sum_heuristic |
[
9,
55,
98,
91
] | 39 | [
"55-9=46",
"98-91=7",
"46-7=39"
] | Current State: 39:[9, 55, 98, 91], Operations: []
Exploring Operation: 55-9=46, Resulting Numbers: [98, 91, 46]
Generated Node #2: [98, 91, 46] from Operation: 55-9=46
Current State: 39:[98, 91, 46], Operations: ['55-9=46']
Exploring Operation: 98-91=7, Resulting Numbers: [46, 7]
Generated Node #3: [46, 7] from Operation: 98-91=7
Current State: 39:[46, 7], Operations: ['55-9=46', '98-91=7']
Exploring Operation: 46-7=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[9, 55, 98, 91], Operations: []
Exploring Operation: 98-91=7, Resulting Numbers: [9, 55, 7]
Generated Node #0,0: 39:[9, 55, 7] Operation: 98-91=7
Moving to Node #0,0
Current State: 39:[9, 55, 7], Operations: ['98-91=7']
Exploring Operation: 55-9=46, Resulting Numbers: [7, 46]
Generated Node #0,0,0: 39:[7, 46] Operation: 55-9=46
Moving to Node #0,0,0
Current State: 39:[7, 46], Operations: ['98-91=7', '55-9=46']
Exploring Operation: 46-7=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[9, 55, 98, 91], Operations: []
Exploring Operation: 98-91=7, Resulting Numbers: [9, 55, 7]
Generated Node #0,0: 39:[9, 55, 7] Operation: 98-91=7
Moving to Node #0,0
Current State: 39:[9, 55, 7], Operations: ['98-91=7']
Exploring Operation: 55-9=46, Resulting Numbers: [7, 46]
Generated Node #0,0,0: 39:[7, 46] Operation: 55-9=46
Moving to Node #0,0,0
Current State: 39:[7, 46], Operations: ['98-91=7', '55-9=46']
Exploring Operation: 46-7=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
86,
71,
65,
39
] | 53 | [
"86+71=157",
"65+39=104",
"157-104=53"
] | Current State: 53:[86, 71, 65, 39], Operations: []
Exploring Operation: 86+71=157, Resulting Numbers: [65, 39, 157]
Generated Node #2: [65, 39, 157] from Operation: 86+71=157
Current State: 53:[65, 39, 157], Operations: ['86+71=157']
Exploring Operation: 65+39=104, Resulting Numbers: [157, 104]
Generated Node #3: [157, 104] from Operation: 65+39=104
Current State: 53:[157, 104], Operations: ['86+71=157', '65+39=104']
Exploring Operation: 157-104=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[86, 71, 65, 39], Operations: []
Exploring Operation: 86-39=47, Resulting Numbers: [71, 65, 47]
Generated Node #0,0: 53:[71, 65, 47] Operation: 86-39=47
Exploring Operation: 86-71=15, Resulting Numbers: [65, 39, 15]
Generated Node #0,1: 53:[65, 39, 15] Operation: 86-71=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[71, 65, 47], Operations: ['86-39=47']
Exploring Operation: 71-65=6, Resulting Numbers: [47, 6]
Generated Node #0,0,0: 53:[47, 6] Operation: 71-65=6
Exploring Operation: 71-47=24, Resulting Numbers: [65, 24]
Generated Node #0,0,1: 53:[65, 24] Operation: 71-47=24
Moving to Node #0,0,1
Current State: 53:[65, 24], Operations: ['86-39=47', '71-47=24']
Exploring Operation: 65+24=89, Resulting Numbers: [89]
89,53 unequal: No Solution
Exploring Operation: 65-24=41, Resulting Numbers: [41]
41,53 unequal: No Solution
Moving to Node #0,0,0
Current State: 53:[47, 6], Operations: ['86-39=47', '71-65=6']
Exploring Operation: 47-6=41, Resulting Numbers: [41]
41,53 unequal: No Solution
Exploring Operation: 47+6=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[86, 71, 65, 39], Operations: []
Exploring Operation: 86-39=47, Resulting Numbers: [71, 65, 47]
Generated Node #0,0: 53:[71, 65, 47] Operation: 86-39=47
Moving to Node #0,0
Current State: 53:[71, 65, 47], Operations: ['86-39=47']
Exploring Operation: 71-65=6, Resulting Numbers: [47, 6]
Generated Node #0,0,0: 53:[47, 6] Operation: 71-65=6
Moving to Node #0,0,0
Current State: 53:[47, 6], Operations: ['86-39=47', '71-65=6']
Exploring Operation: 47+6=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | mult_heuristic |
[
5,
72,
7,
40
] | 11 | [
"72+40=112",
"112/7=16",
"16-5=11"
] | Current State: 11:[5, 72, 7, 40], Operations: []
Exploring Operation: 72+40=112, Resulting Numbers: [5, 7, 112]
Generated Node #2: [5, 7, 112] from Operation: 72+40=112
Current State: 11:[5, 7, 112], Operations: ['72+40=112']
Exploring Operation: 112/7=16, Resulting Numbers: [5, 16]
Generated Node #3: [5, 16] from Operation: 112/7=16
Current State: 11:[5, 16], Operations: ['72+40=112', '112/7=16']
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[5, 72, 7, 40], Operations: []
Exploring Operation: 40/5=8, Resulting Numbers: [72, 7, 8]
Generated Node #0,0: 11:[72, 7, 8] Operation: 40/5=8
Exploring Operation: 72-40=32, Resulting Numbers: [5, 7, 32]
Generated Node #0,1: 11:[5, 7, 32] Operation: 72-40=32
Start Sub Search at level 1: Moving to Node #0,1
Current State: 11:[5, 7, 32], Operations: ['72-40=32']
Exploring Operation: 32-5=27, Resulting Numbers: [7, 27]
Generated Node #0,1,0: 11:[7, 27] Operation: 32-5=27
Exploring Operation: 32-7=25, Resulting Numbers: [5, 25]
Generated Node #0,1,1: 11:[5, 25] Operation: 32-7=25
Moving to Node #0,1,0
Current State: 11:[7, 27], Operations: ['72-40=32', '32-5=27']
Exploring Operation: 7+27=34, Resulting Numbers: [34]
34,11 unequal: No Solution
Exploring Operation: 27-7=20, Resulting Numbers: [20]
20,11 unequal: No Solution
Moving to Node #0,1,1
Current State: 11:[5, 25], Operations: ['72-40=32', '32-7=25']
Exploring Operation: 25-5=20, Resulting Numbers: [20]
20,11 unequal: No Solution
Exploring Operation: 25/5=5, Resulting Numbers: [5]
5,11 unequal: No Solution
No 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: 11:[72, 7, 8], Operations: ['40/5=8']
Exploring Operation: 72-7=65, Resulting Numbers: [8, 65]
Generated Node #0,0,0: 11:[8, 65] Operation: 72-7=65
Exploring Operation: 72/8=9, Resulting Numbers: [7, 9]
Generated Node #0,0,1: 11:[7, 9] Operation: 72/8=9
Moving to Node #0,0,1
Current State: 11:[7, 9], Operations: ['40/5=8', '72/8=9']
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,11 unequal: No Solution
Exploring Operation: 7+9=16, Resulting Numbers: [16]
16,11 unequal: No Solution
Moving to Node #0,0,0
Current State: 11:[8, 65], Operations: ['40/5=8', '72-7=65']
Exploring Operation: 8+65=73, Resulting Numbers: [73]
73,11 unequal: No Solution
Exploring Operation: 65-8=57, Resulting Numbers: [57]
57,11 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,
91,
33,
63
] | 98 | [
"33-30=3",
"63*3=189",
"189-91=98"
] | Current State: 98:[30, 91, 33, 63], Operations: []
Exploring Operation: 33-30=3, Resulting Numbers: [91, 63, 3]
Generated Node #2: [91, 63, 3] from Operation: 33-30=3
Current State: 98:[91, 63, 3], Operations: ['33-30=3']
Exploring Operation: 63*3=189, Resulting Numbers: [91, 189]
Generated Node #3: [91, 189] from Operation: 63*3=189
Current State: 98:[91, 189], Operations: ['33-30=3', '63*3=189']
Exploring Operation: 189-91=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[30, 91, 33, 63], Operations: []
Exploring Operation: 30+63=93, Resulting Numbers: [91, 33, 93]
Generated Node #0,0: 98:[91, 33, 93] Operation: 30+63=93
Exploring Operation: 33-30=3, Resulting Numbers: [91, 63, 3]
Generated Node #0,1: 98:[91, 63, 3] Operation: 33-30=3
Exploring Operation: 30+33=63, Resulting Numbers: [91, 63, 63]
Generated Node #0,2: 98:[91, 63, 63] Operation: 30+33=63
Exploring Operation: 33+63=96, Resulting Numbers: [30, 91, 96]
Generated Node #0,3: 98:[30, 91, 96] Operation: 33+63=96
Start Sub Search at level 1: Moving to Node #0,1
Current State: 98:[91, 63, 3], Operations: ['33-30=3']
Exploring Operation: 63/3=21, Resulting Numbers: [91, 21]
Generated Node #0,1,0: 98:[91, 21] Operation: 63/3=21
Exploring Operation: 91+3=94, Resulting Numbers: [63, 94]
Generated Node #0,1,1: 98:[63, 94] Operation: 91+3=94
Exploring Operation: 91-63=28, Resulting Numbers: [3, 28]
Generated Node #0,1,2: 98:[3, 28] Operation: 91-63=28
Exploring Operation: 63-3=60, Resulting Numbers: [91, 60]
Generated Node #0,1,3: 98:[91, 60] Operation: 63-3=60
Moving to Node #0,1,0
Current State: 98:[91, 21], Operations: ['33-30=3', '63/3=21']
Exploring Operation: 91+21=112, Resulting Numbers: [112]
112,98 unequal: No Solution
Exploring Operation: 91-21=70, Resulting Numbers: [70]
70,98 unequal: No Solution
Exploring Operation: 91*21=1911, Resulting Numbers: [1911]
1911,98 unequal: No Solution
Moving to Node #0,1,2
Current State: 98:[3, 28], Operations: ['33-30=3', '91-63=28']
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,98 unequal: No Solution
Exploring Operation: 3*28=84, Resulting Numbers: [84]
84,98 unequal: No Solution
Exploring Operation: 3+28=31, Resulting Numbers: [31]
31,98 unequal: No Solution
Moving to Node #0,1,3
Current State: 98:[91, 60], Operations: ['33-30=3', '63-3=60']
Exploring Operation: 91*60=5460, Resulting Numbers: [5460]
5460,98 unequal: No Solution
Exploring Operation: 91-60=31, Resulting Numbers: [31]
31,98 unequal: No Solution
Exploring Operation: 91+60=151, Resulting Numbers: [151]
151,98 unequal: No Solution
Moving to Node #0,1,1
Current State: 98:[63, 94], Operations: ['33-30=3', '91+3=94']
Exploring Operation: 63*94=5922, Resulting Numbers: [5922]
5922,98 unequal: No Solution
Exploring Operation: 94-63=31, Resulting Numbers: [31]
31,98 unequal: No Solution
Exploring Operation: 63+94=157, Resulting Numbers: [157]
157,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,3
Current State: 98:[30, 91, 96], Operations: ['33+63=96']
Exploring Operation: 30+91=121, Resulting Numbers: [96, 121]
Generated Node #0,3,0: 98:[96, 121] Operation: 30+91=121
Exploring Operation: 91-30=61, Resulting Numbers: [96, 61]
Generated Node #0,3,1: 98:[96, 61] Operation: 91-30=61
Exploring Operation: 96-91=5, Resulting Numbers: [30, 5]
Generated Node #0,3,2: 98:[30, 5] Operation: 96-91=5
Exploring Operation: 96-30=66, Resulting Numbers: [91, 66]
Generated Node #0,3,3: 98:[91, 66] Operation: 96-30=66
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 98:[96, 61], Operations: ['33+63=96', '91-30=61']
Exploring Operation: 96+61=157, Resulting Numbers: [157]
157,98 unequal: No Solution
Exploring Operation: 96*61=5856, Resulting Numbers: [5856]
5856,98 unequal: No Solution
Exploring Operation: 96-61=35, Resulting Numbers: [35]
35,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 98:[30, 5], Operations: ['33+63=96', '96-91=5']
Exploring Operation: 30*5=150, Resulting Numbers: [150]
150,98 unequal: No Solution
Exploring Operation: 30+5=35, Resulting Numbers: [35]
35,98 unequal: No Solution
Exploring Operation: 30/5=6, Resulting Numbers: [6]
6,98 unequal: No Solution
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,98 unequal: No Solution
No 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: 98:[91, 66], Operations: ['33+63=96', '96-30=66']
Exploring Operation: 91+66=157, Resulting Numbers: [157]
157,98 unequal: No Solution
Exploring Operation: 91*66=6006, Resulting Numbers: [6006]
6006,98 unequal: No Solution
Exploring Operation: 91-66=25, Resulting Numbers: [25]
25,98 unequal: No Solution
No 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: 98:[96, 121], Operations: ['33+63=96', '30+91=121']
Exploring Operation: 96*121=11616, Resulting Numbers: [11616]
11616,98 unequal: No Solution
Exploring Operation: 96+121=217, Resulting Numbers: [217]
217,98 unequal: No Solution
Exploring Operation: 121-96=25, Resulting Numbers: [25]
25,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
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[91, 33, 93], Operations: ['30+63=93']
Exploring Operation: 91+33=124, Resulting Numbers: [93, 124]
Generated Node #0,0,0: 98:[93, 124] Operation: 91+33=124
Exploring Operation: 93-33=60, Resulting Numbers: [91, 60]
Generated Node #0,0,1: 98:[91, 60] Operation: 93-33=60
Exploring Operation: 93-91=2, Resulting Numbers: [33, 2]
Generated Node #0,0,2: 98:[33, 2] Operation: 93-91=2
Exploring Operation: 91-33=58, Resulting Numbers: [93, 58]
Generated Node #0,0,3: 98:[93, 58] Operation: 91-33=58
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 98:[93, 58], Operations: ['30+63=93', '91-33=58']
Exploring Operation: 93*58=5394, Resulting Numbers: [5394]
5394,98 unequal: No Solution
Exploring Operation: 93-58=35, Resulting Numbers: [35]
35,98 unequal: No Solution
Exploring Operation: 93+58=151, Resulting Numbers: [151]
151,98 unequal: No Solution
No 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: 98:[33, 2], Operations: ['30+63=93', '93-91=2']
Exploring Operation: 33*2=66, Resulting Numbers: [66]
66,98 unequal: No Solution
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,98 unequal: No Solution
Exploring Operation: 33+2=35, Resulting Numbers: [35]
35,98 unequal: No Solution
No 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: 98:[91, 60], Operations: ['30+63=93', '93-33=60']
Exploring Operation: 91-60=31, Resulting Numbers: [31]
31,98 unequal: No Solution
Exploring Operation: 91+60=151, Resulting Numbers: [151]
151,98 unequal: No Solution
Exploring Operation: 91*60=5460, Resulting Numbers: [5460]
5460,98 unequal: No Solution
No 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: 98:[93, 124], Operations: ['30+63=93', '91+33=124']
Exploring Operation: 124-93=31, Resulting Numbers: [31]
31,98 unequal: No Solution
Exploring Operation: 93*124=11532, Resulting Numbers: [11532]
11532,98 unequal: No Solution
Exploring Operation: 93+124=217, Resulting Numbers: [217]
217,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
Start Sub Search at level 1: Moving to Node #0,2
Current State: 98:[91, 63, 63], Operations: ['30+33=63']
Exploring Operation: 91-63=28, Resulting Numbers: [63, 28]
Generated Node #0,2,0: 98:[63, 28] Operation: 91-63=28
Exploring Operation: 63-63=0, Resulting Numbers: [91, 0]
Generated Node #0,2,1: 98:[91, 0] Operation: 63-63=0
Exploring Operation: 63/63=1, Resulting Numbers: [91, 1]
Generated Node #0,2,2: 98:[91, 1] Operation: 63/63=1
Exploring Operation: 91-63=28, Resulting Numbers: [63, 28]
Generated Node #0,2,3: 98:[63, 28] Operation: 91-63=28
Moving to Node #0,2,2
Current State: 98:[91, 1], Operations: ['30+33=63', '63/63=1']
Exploring Operation: 91/1=91, Resulting Numbers: [91]
91,98 unequal: No Solution
Exploring Operation: 91-1=90, Resulting Numbers: [90]
90,98 unequal: No Solution
Exploring Operation: 91+1=92, Resulting Numbers: [92]
92,98 unequal: No Solution
Exploring Operation: 91*1=91, Resulting Numbers: [91]
91,98 unequal: No Solution
Moving to Node #0,2,1
Current State: 98:[91, 0], Operations: ['30+33=63', '63-63=0']
Exploring Operation: 91+0=91, Resulting Numbers: [91]
91,98 unequal: No Solution
Exploring Operation: 91*0=0, Resulting Numbers: [0]
0,98 unequal: No Solution
Exploring Operation: 91-0=91, Resulting Numbers: [91]
91,98 unequal: No Solution
Moving to Node #0,2,3
Current State: 98:[63, 28], Operations: ['30+33=63', '91-63=28']
Exploring Operation: 63*28=1764, Resulting Numbers: [1764]
1764,98 unequal: No Solution
Exploring Operation: 63-28=35, Resulting Numbers: [35]
35,98 unequal: No Solution
Exploring Operation: 63+28=91, Resulting Numbers: [91]
91,98 unequal: No Solution
Moving to Node #0,2,0
Current State: 98:[63, 28], Operations: ['30+33=63', '91-63=28']
Exploring Operation: 63*28=1764, Resulting Numbers: [1764]
1764,98 unequal: No Solution
Exploring Operation: 63-28=35, Resulting Numbers: [35]
35,98 unequal: No Solution
Exploring Operation: 63+28=91, Resulting Numbers: [91]
91,98 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 |
[
15,
28,
1,
62
] | 76 | [
"28-15=13",
"1+62=63",
"13+63=76"
] | Current State: 76:[15, 28, 1, 62], Operations: []
Exploring Operation: 28-15=13, Resulting Numbers: [1, 62, 13]
Generated Node #2: [1, 62, 13] from Operation: 28-15=13
Current State: 76:[1, 62, 13], Operations: ['28-15=13']
Exploring Operation: 1+62=63, Resulting Numbers: [13, 63]
Generated Node #3: [13, 63] from Operation: 1+62=63
Current State: 76:[13, 63], Operations: ['28-15=13', '1+62=63']
Exploring Operation: 13+63=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[15, 28, 1, 62], Operations: []
Exploring Operation: 62-15=47, Resulting Numbers: [28, 1, 47]
Generated Node #0,0: 76:[28, 1, 47] Operation: 62-15=47
Exploring Operation: 15+62=77, Resulting Numbers: [28, 1, 77]
Generated Node #0,1: 76:[28, 1, 77] Operation: 15+62=77
Exploring Operation: 28+62=90, Resulting Numbers: [15, 1, 90]
Generated Node #0,2: 76:[15, 1, 90] Operation: 28+62=90
Exploring Operation: 62-28=34, Resulting Numbers: [15, 1, 34]
Generated Node #0,3: 76:[15, 1, 34] Operation: 62-28=34
Moving to Node #0,3
Current State: 76:[15, 1, 34], Operations: ['62-28=34']
Exploring Operation: 15+1=16, Resulting Numbers: [34, 16]
Generated Node #0,3,0: 76:[34, 16] Operation: 15+1=16
Exploring Operation: 34-15=19, Resulting Numbers: [1, 19]
Generated Node #0,3,1: 76:[1, 19] Operation: 34-15=19
Exploring Operation: 1+34=35, Resulting Numbers: [15, 35]
Generated Node #0,3,2: 76:[15, 35] Operation: 1+34=35
Exploring Operation: 15*1=15, Resulting Numbers: [34, 15]
Generated Node #0,3,3: 76:[34, 15] Operation: 15*1=15
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 76:[1, 19], Operations: ['62-28=34', '34-15=19']
Exploring Operation: 1*19=19, Resulting Numbers: [19]
19,76 unequal: No Solution
Exploring Operation: 19-1=18, Resulting Numbers: [18]
18,76 unequal: No Solution
Exploring Operation: 1+19=20, Resulting Numbers: [20]
20,76 unequal: No Solution
Exploring Operation: 19/1=19, Resulting Numbers: [19]
19,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 76:[34, 16], Operations: ['62-28=34', '15+1=16']
Exploring Operation: 34+16=50, Resulting Numbers: [50]
50,76 unequal: No Solution
Exploring Operation: 34-16=18, Resulting Numbers: [18]
18,76 unequal: No Solution
Exploring Operation: 34*16=544, Resulting Numbers: [544]
544,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 76:[15, 35], Operations: ['62-28=34', '1+34=35']
Exploring Operation: 15*35=525, Resulting Numbers: [525]
525,76 unequal: No Solution
Exploring Operation: 15+35=50, Resulting Numbers: [50]
50,76 unequal: No Solution
Exploring Operation: 35-15=20, Resulting Numbers: [20]
20,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 76:[34, 15], Operations: ['62-28=34', '15*1=15']
Exploring Operation: 34*15=510, Resulting Numbers: [510]
510,76 unequal: No Solution
Exploring Operation: 34-15=19, Resulting Numbers: [19]
19,76 unequal: No Solution
Exploring Operation: 34+15=49, Resulting Numbers: [49]
49,76 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: 76:[28, 1, 77], Operations: ['15+62=77']
Exploring Operation: 28*1=28, Resulting Numbers: [77, 28]
Generated Node #0,1,0: 76:[77, 28] Operation: 28*1=28
Exploring Operation: 77-1=76, Resulting Numbers: [28, 76]
Generated Node #0,1,1: 76:[28, 76] Operation: 77-1=76
Exploring Operation: 28+1=29, Resulting Numbers: [77, 29]
Generated Node #0,1,2: 76:[77, 29] Operation: 28+1=29
Exploring Operation: 28-1=27, Resulting Numbers: [77, 27]
Generated Node #0,1,3: 76:[77, 27] Operation: 28-1=27
Moving to Node #0,2
Current State: 76:[15, 1, 90], Operations: ['28+62=90']
Exploring Operation: 90-1=89, Resulting Numbers: [15, 89]
Generated Node #0,2,0: 76:[15, 89] Operation: 90-1=89
Exploring Operation: 15+1=16, Resulting Numbers: [90, 16]
Generated Node #0,2,1: 76:[90, 16] Operation: 15+1=16
Exploring Operation: 90-15=75, Resulting Numbers: [1, 75]
Generated Node #0,2,2: 76:[1, 75] Operation: 90-15=75
Exploring Operation: 90/15=6, Resulting Numbers: [1, 6]
Generated Node #0,2,3: 76:[1, 6] Operation: 90/15=6
Moving to Node #0,0
Current State: 76:[28, 1, 47], Operations: ['62-15=47']
Exploring Operation: 28-1=27, Resulting Numbers: [47, 27]
Generated Node #0,0,0: 76:[47, 27] Operation: 28-1=27
Exploring Operation: 28+47=75, Resulting Numbers: [1, 75]
Generated Node #0,0,1: 76:[1, 75] Operation: 28+47=75
Exploring Operation: 47-28=19, Resulting Numbers: [1, 19]
Generated Node #0,0,2: 76:[1, 19] Operation: 47-28=19
Exploring Operation: 47-1=46, Resulting Numbers: [28, 46]
Generated Node #0,0,3: 76:[28, 46] Operation: 47-1=46
Moving to Node #0,0,2
Current State: 76:[1, 19], Operations: ['62-15=47', '47-28=19']
Exploring Operation: 19-1=18, Resulting Numbers: [18]
18,76 unequal: No Solution
Exploring Operation: 19/1=19, Resulting Numbers: [19]
19,76 unequal: No Solution
Exploring Operation: 1*19=19, Resulting Numbers: [19]
19,76 unequal: No Solution
Exploring Operation: 1+19=20, Resulting Numbers: [20]
20,76 unequal: No Solution
Moving to Node #0,2,2
Current State: 76:[1, 75], Operations: ['28+62=90', '90-15=75']
Exploring Operation: 75-1=74, Resulting Numbers: [74]
74,76 unequal: No Solution
Exploring Operation: 1+75=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[15, 28, 1, 62], Operations: []
Exploring Operation: 28+62=90, Resulting Numbers: [15, 1, 90]
Generated Node #0,2: 76:[15, 1, 90] Operation: 28+62=90
Moving to Node #0,2
Current State: 76:[15, 1, 90], Operations: ['28+62=90']
Exploring Operation: 90-15=75, Resulting Numbers: [1, 75]
Generated Node #0,2,2: 76:[1, 75] Operation: 90-15=75
Moving to Node #0,2,2
Current State: 76:[1, 75], Operations: ['28+62=90', '90-15=75']
Exploring Operation: 1+75=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 0.962674 | hs_4 | sum_heuristic |
[
17,
14,
45,
40
] | 71 | [
"45-40=5",
"17*5=85",
"85-14=71"
] | Current State: 71:[17, 14, 45, 40], Operations: []
Exploring Operation: 45-40=5, Resulting Numbers: [17, 14, 5]
Generated Node #2: [17, 14, 5] from Operation: 45-40=5
Current State: 71:[17, 14, 5], Operations: ['45-40=5']
Exploring Operation: 17*5=85, Resulting Numbers: [14, 85]
Generated Node #3: [14, 85] from Operation: 17*5=85
Current State: 71:[14, 85], Operations: ['45-40=5', '17*5=85']
Exploring Operation: 85-14=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[17, 14, 45, 40], Operations: []
Exploring Operation: 17+45=62, Resulting Numbers: [14, 40, 62]
Generated Node #0,0: 71:[14, 40, 62] Operation: 17+45=62
Exploring Operation: 17+14=31, Resulting Numbers: [45, 40, 31]
Generated Node #0,1: 71:[45, 40, 31] Operation: 17+14=31
Exploring Operation: 14+45=59, Resulting Numbers: [17, 40, 59]
Generated Node #0,2: 71:[17, 40, 59] Operation: 14+45=59
Exploring Operation: 17+40=57, Resulting Numbers: [14, 45, 57]
Generated Node #0,3: 71:[14, 45, 57] Operation: 17+40=57
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[14, 40, 62], Operations: ['17+45=62']
Exploring Operation: 14+62=76, Resulting Numbers: [40, 76]
Generated Node #0,0,0: 71:[40, 76] Operation: 14+62=76
Exploring Operation: 14+40=54, Resulting Numbers: [62, 54]
Generated Node #0,0,1: 71:[62, 54] Operation: 14+40=54
Exploring Operation: 40-14=26, Resulting Numbers: [62, 26]
Generated Node #0,0,2: 71:[62, 26] Operation: 40-14=26
Exploring Operation: 62-14=48, Resulting Numbers: [40, 48]
Generated Node #0,0,3: 71:[40, 48] Operation: 62-14=48
Moving to Node #0,0,1
Current State: 71:[62, 54], Operations: ['17+45=62', '14+40=54']
Exploring Operation: 62+54=116, Resulting Numbers: [116]
116,71 unequal: No Solution
Exploring Operation: 62*54=3348, Resulting Numbers: [3348]
3348,71 unequal: No Solution
Exploring Operation: 62-54=8, Resulting Numbers: [8]
8,71 unequal: No Solution
Moving to Node #0,0,0
Current State: 71:[40, 76], Operations: ['17+45=62', '14+62=76']
Exploring Operation: 40*76=3040, Resulting Numbers: [3040]
3040,71 unequal: No Solution
Exploring Operation: 76-40=36, Resulting Numbers: [36]
36,71 unequal: No Solution
Exploring Operation: 40+76=116, Resulting Numbers: [116]
116,71 unequal: No Solution
Moving to Node #0,0,3
Current State: 71:[40, 48], Operations: ['17+45=62', '62-14=48']
Exploring Operation: 40*48=1920, Resulting Numbers: [1920]
1920,71 unequal: No Solution
Exploring Operation: 48-40=8, Resulting Numbers: [8]
8,71 unequal: No Solution
Exploring Operation: 40+48=88, Resulting Numbers: [88]
88,71 unequal: No Solution
Moving to Node #0,0,2
Current State: 71:[62, 26], Operations: ['17+45=62', '40-14=26']
Exploring Operation: 62+26=88, Resulting Numbers: [88]
88,71 unequal: No Solution
Exploring Operation: 62-26=36, Resulting Numbers: [36]
36,71 unequal: No Solution
Exploring Operation: 62*26=1612, Resulting Numbers: [1612]
1612,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:[45, 40, 31], Operations: ['17+14=31']
Exploring Operation: 40+31=71, Resulting Numbers: [45, 71]
Generated Node #0,1,0: 71:[45, 71] Operation: 40+31=71
Exploring Operation: 45+31=76, Resulting Numbers: [40, 76]
Generated Node #0,1,1: 71:[40, 76] Operation: 45+31=76
Exploring Operation: 45+40=85, Resulting Numbers: [31, 85]
Generated Node #0,1,2: 71:[31, 85] Operation: 45+40=85
Exploring Operation: 45-31=14, Resulting Numbers: [40, 14]
Generated Node #0,1,3: 71:[40, 14] Operation: 45-31=14
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 71:[45, 71], Operations: ['17+14=31', '40+31=71']
Exploring Operation: 45*71=3195, Resulting Numbers: [3195]
3195,71 unequal: No Solution
Exploring Operation: 45+71=116, Resulting Numbers: [116]
116,71 unequal: No Solution
Exploring Operation: 71-45=26, Resulting Numbers: [26]
26,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 71:[40, 76], Operations: ['17+14=31', '45+31=76']
Exploring Operation: 40+76=116, Resulting Numbers: [116]
116,71 unequal: No Solution
Exploring Operation: 76-40=36, Resulting Numbers: [36]
36,71 unequal: No Solution
Exploring Operation: 40*76=3040, Resulting Numbers: [3040]
3040,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 71:[31, 85], Operations: ['17+14=31', '45+40=85']
Exploring Operation: 85-31=54, Resulting Numbers: [54]
54,71 unequal: No Solution
Exploring Operation: 31+85=116, Resulting Numbers: [116]
116,71 unequal: No Solution
Exploring Operation: 31*85=2635, Resulting Numbers: [2635]
2635,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 71:[40, 14], Operations: ['17+14=31', '45-31=14']
Exploring Operation: 40-14=26, Resulting Numbers: [26]
26,71 unequal: No Solution
Exploring Operation: 40*14=560, Resulting Numbers: [560]
560,71 unequal: No Solution
Exploring Operation: 40+14=54, Resulting Numbers: [54]
54,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 71:[17, 40, 59], Operations: ['14+45=59']
Exploring Operation: 40-17=23, Resulting Numbers: [59, 23]
Generated Node #0,2,0: 71:[59, 23] Operation: 40-17=23
Exploring Operation: 17+59=76, Resulting Numbers: [40, 76]
Generated Node #0,2,1: 71:[40, 76] Operation: 17+59=76
Exploring Operation: 17+40=57, Resulting Numbers: [59, 57]
Generated Node #0,2,2: 71:[59, 57] Operation: 17+40=57
Exploring Operation: 59-17=42, Resulting Numbers: [40, 42]
Generated Node #0,2,3: 71:[40, 42] Operation: 59-17=42
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 71:[59, 57], Operations: ['14+45=59', '17+40=57']
Exploring Operation: 59*57=3363, Resulting Numbers: [3363]
3363,71 unequal: No Solution
Exploring Operation: 59-57=2, Resulting Numbers: [2]
2,71 unequal: No Solution
Exploring Operation: 59+57=116, Resulting Numbers: [116]
116,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 71:[40, 76], Operations: ['14+45=59', '17+59=76']
Exploring Operation: 40+76=116, Resulting Numbers: [116]
116,71 unequal: No Solution
Exploring Operation: 40*76=3040, Resulting Numbers: [3040]
3040,71 unequal: No Solution
Exploring Operation: 76-40=36, Resulting Numbers: [36]
36,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 71:[59, 23], Operations: ['14+45=59', '40-17=23']
Exploring Operation: 59+23=82, Resulting Numbers: [82]
82,71 unequal: No Solution
Exploring Operation: 59*23=1357, Resulting Numbers: [1357]
1357,71 unequal: No Solution
Exploring Operation: 59-23=36, Resulting Numbers: [36]
36,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 71:[40, 42], Operations: ['14+45=59', '59-17=42']
Exploring Operation: 40+42=82, Resulting Numbers: [82]
82,71 unequal: No Solution
Exploring Operation: 40*42=1680, Resulting Numbers: [1680]
1680,71 unequal: No Solution
Exploring Operation: 42-40=2, Resulting Numbers: [2]
2,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 71:[14, 45, 57], Operations: ['17+40=57']
Exploring Operation: 45-14=31, Resulting Numbers: [57, 31]
Generated Node #0,3,0: 71:[57, 31] Operation: 45-14=31
Exploring Operation: 14+57=71, Resulting Numbers: [45, 71]
Generated Node #0,3,1: 71:[45, 71] Operation: 14+57=71
Exploring Operation: 57-14=43, Resulting Numbers: [45, 43]
Generated Node #0,3,2: 71:[45, 43] Operation: 57-14=43
Exploring Operation: 14+45=59, Resulting Numbers: [57, 59]
Generated Node #0,3,3: 71:[57, 59] Operation: 14+45=59
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 71:[45, 71], Operations: ['17+40=57', '14+57=71']
Exploring Operation: 45+71=116, Resulting Numbers: [116]
116,71 unequal: No Solution
Exploring Operation: 71-45=26, Resulting Numbers: [26]
26,71 unequal: No Solution
Exploring Operation: 45*71=3195, Resulting Numbers: [3195]
3195,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,3,3
Current State: 71:[57, 59], Operations: ['17+40=57', '14+45=59']
Exploring Operation: 57+59=116, Resulting Numbers: [116]
116,71 unequal: No Solution
Exploring Operation: 57*59=3363, Resulting Numbers: [3363]
3363,71 unequal: No Solution
Exploring Operation: 59-57=2, Resulting Numbers: [2]
2,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,3,0
Current State: 71:[57, 31], Operations: ['17+40=57', '45-14=31']
Exploring Operation: 57+31=88, Resulting Numbers: [88]
88,71 unequal: No Solution
Exploring Operation: 57-31=26, Resulting Numbers: [26]
26,71 unequal: No Solution
Exploring Operation: 57*31=1767, Resulting Numbers: [1767]
1767,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,3,2
Current State: 71:[45, 43], Operations: ['17+40=57', '57-14=43']
Exploring Operation: 45-43=2, Resulting Numbers: [2]
2,71 unequal: No Solution
Exploring Operation: 45*43=1935, Resulting Numbers: [1935]
1935,71 unequal: No Solution
Exploring Operation: 45+43=88, Resulting Numbers: [88]
88,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
37,
11,
48,
46
] | 28 | [
"37-11=26",
"48-46=2",
"26+2=28"
] | Current State: 28:[37, 11, 48, 46], Operations: []
Exploring Operation: 37-11=26, Resulting Numbers: [48, 46, 26]
Generated Node #2: [48, 46, 26] from Operation: 37-11=26
Current State: 28:[48, 46, 26], Operations: ['37-11=26']
Exploring Operation: 48-46=2, Resulting Numbers: [26, 2]
Generated Node #3: [26, 2] from Operation: 48-46=2
Current State: 28:[26, 2], Operations: ['37-11=26', '48-46=2']
Exploring Operation: 26+2=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[37, 11, 48, 46], Operations: []
Exploring Operation: 46-37=9, Resulting Numbers: [11, 48, 9]
Generated Node #0,0: 28:[11, 48, 9] Operation: 46-37=9
Exploring Operation: 48-46=2, Resulting Numbers: [37, 11, 2]
Generated Node #0,1: 28:[37, 11, 2] Operation: 48-46=2
Exploring Operation: 48-37=11, Resulting Numbers: [11, 46, 11]
Generated Node #0,2: 28:[11, 46, 11] Operation: 48-37=11
Start Sub Search at level 1: Moving to Node #0,1
Current State: 28:[37, 11, 2], Operations: ['48-46=2']
Exploring Operation: 37-11=26, Resulting Numbers: [2, 26]
Generated Node #0,1,0: 28:[2, 26] Operation: 37-11=26
Exploring Operation: 11+2=13, Resulting Numbers: [37, 13]
Generated Node #0,1,1: 28:[37, 13] Operation: 11+2=13
Exploring Operation: 37-2=35, Resulting Numbers: [11, 35]
Generated Node #0,1,2: 28:[11, 35] Operation: 37-2=35
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 28:[2, 26], Operations: ['48-46=2', '37-11=26']
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,28 unequal: No Solution
Exploring Operation: 2+26=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[37, 11, 48, 46], Operations: []
Exploring Operation: 48-46=2, Resulting Numbers: [37, 11, 2]
Generated Node #0,1: 28:[37, 11, 2] Operation: 48-46=2
Moving to Node #0,1
Current State: 28:[37, 11, 2], Operations: ['48-46=2']
Exploring Operation: 37-11=26, Resulting Numbers: [2, 26]
Generated Node #0,1,0: 28:[2, 26] Operation: 37-11=26
Moving to Node #0,1,0
Current State: 28:[2, 26], Operations: ['48-46=2', '37-11=26']
Exploring Operation: 2+26=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
5,
58,
99,
62
] | 75 | [
"58+62=120",
"120/5=24",
"99-24=75"
] | Current State: 75:[5, 58, 99, 62], Operations: []
Exploring Operation: 58+62=120, Resulting Numbers: [5, 99, 120]
Generated Node #2: [5, 99, 120] from Operation: 58+62=120
Current State: 75:[5, 99, 120], Operations: ['58+62=120']
Exploring Operation: 120/5=24, Resulting Numbers: [99, 24]
Generated Node #3: [99, 24] from Operation: 120/5=24
Current State: 75:[99, 24], Operations: ['58+62=120', '120/5=24']
Exploring Operation: 99-24=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[5, 58, 99, 62], Operations: []
Exploring Operation: 99-58=41, Resulting Numbers: [5, 62, 41]
Generated Node #0,0: 75:[5, 62, 41] Operation: 99-58=41
Exploring Operation: 62-58=4, Resulting Numbers: [5, 99, 4]
Generated Node #0,1: 75:[5, 99, 4] Operation: 62-58=4
Exploring Operation: 99-5=94, Resulting Numbers: [58, 62, 94]
Generated Node #0,2: 75:[58, 62, 94] Operation: 99-5=94
Exploring Operation: 5+58=63, Resulting Numbers: [99, 62, 63]
Generated Node #0,3: 75:[99, 62, 63] Operation: 5+58=63
Exploring Operation: 99-62=37, Resulting Numbers: [5, 58, 37]
Generated Node #0,4: 75:[5, 58, 37] Operation: 99-62=37
Start Sub Search at level 1: Moving to Node #0,1
Current State: 75:[5, 99, 4], Operations: ['62-58=4']
Exploring Operation: 5+4=9, Resulting Numbers: [99, 9]
Generated Node #0,1,0: 75:[99, 9] Operation: 5+4=9
Exploring Operation: 5-4=1, Resulting Numbers: [99, 1]
Generated Node #0,1,1: 75:[99, 1] Operation: 5-4=1
Exploring Operation: 99+4=103, Resulting Numbers: [5, 103]
Generated Node #0,1,2: 75:[5, 103] Operation: 99+4=103
Exploring Operation: 99-5=94, Resulting Numbers: [4, 94]
Generated Node #0,1,3: 75:[4, 94] Operation: 99-5=94
Exploring Operation: 99-4=95, Resulting Numbers: [5, 95]
Generated Node #0,1,4: 75:[5, 95] Operation: 99-4=95
Moving to Node #0,1,3
Current State: 75:[4, 94], Operations: ['62-58=4', '99-5=94']
Exploring Operation: 4*94=376, Resulting Numbers: [376]
376,75 unequal: No Solution
Exploring Operation: 94-4=90, Resulting Numbers: [90]
90,75 unequal: No Solution
Exploring Operation: 4+94=98, Resulting Numbers: [98]
98,75 unequal: No Solution
Moving to Node #0,1,4
Current State: 75:[5, 95], Operations: ['62-58=4', '99-4=95']
Exploring Operation: 5*95=475, Resulting Numbers: [475]
475,75 unequal: No Solution
Exploring Operation: 5+95=100, Resulting Numbers: [100]
100,75 unequal: No Solution
Exploring Operation: 95-5=90, Resulting Numbers: [90]
90,75 unequal: No Solution
Exploring Operation: 95/5=19, Resulting Numbers: [19]
19,75 unequal: No Solution
Moving to Node #0,1,1
Current State: 75:[99, 1], Operations: ['62-58=4', '5-4=1']
Exploring Operation: 99*1=99, Resulting Numbers: [99]
99,75 unequal: No Solution
Exploring Operation: 99-1=98, Resulting Numbers: [98]
98,75 unequal: No Solution
Exploring Operation: 99+1=100, Resulting Numbers: [100]
100,75 unequal: No Solution
Exploring Operation: 99/1=99, Resulting Numbers: [99]
99,75 unequal: No Solution
Moving to Node #0,1,0
Current State: 75:[99, 9], Operations: ['62-58=4', '5+4=9']
Exploring Operation: 99+9=108, Resulting Numbers: [108]
108,75 unequal: No Solution
Exploring Operation: 99-9=90, Resulting Numbers: [90]
90,75 unequal: No Solution
Exploring Operation: 99*9=891, Resulting Numbers: [891]
891,75 unequal: No Solution
Exploring Operation: 99/9=11, Resulting Numbers: [11]
11,75 unequal: No Solution
Moving to Node #0,1,2
Current State: 75:[5, 103], Operations: ['62-58=4', '99+4=103']
Exploring Operation: 5+103=108, Resulting Numbers: [108]
108,75 unequal: No Solution
Exploring Operation: 5*103=515, Resulting Numbers: [515]
515,75 unequal: No Solution
Exploring Operation: 103-5=98, Resulting Numbers: [98]
98,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[5, 62, 41], Operations: ['99-58=41']
Exploring Operation: 41-5=36, Resulting Numbers: [62, 36]
Generated Node #0,0,0: 75:[62, 36] Operation: 41-5=36
Exploring Operation: 62+41=103, Resulting Numbers: [5, 103]
Generated Node #0,0,1: 75:[5, 103] Operation: 62+41=103
Exploring Operation: 62-41=21, Resulting Numbers: [5, 21]
Generated Node #0,0,2: 75:[5, 21] Operation: 62-41=21
Exploring Operation: 5+62=67, Resulting Numbers: [41, 67]
Generated Node #0,0,3: 75:[41, 67] Operation: 5+62=67
Exploring Operation: 62-5=57, Resulting Numbers: [41, 57]
Generated Node #0,0,4: 75:[41, 57] Operation: 62-5=57
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 75:[5, 21], Operations: ['99-58=41', '62-41=21']
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,75 unequal: No Solution
Exploring Operation: 5*21=105, Resulting Numbers: [105]
105,75 unequal: No Solution
Exploring Operation: 5+21=26, Resulting Numbers: [26]
26,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 75:[62, 36], Operations: ['99-58=41', '41-5=36']
Exploring Operation: 62*36=2232, Resulting Numbers: [2232]
2232,75 unequal: No Solution
Exploring Operation: 62-36=26, Resulting Numbers: [26]
26,75 unequal: No Solution
Exploring Operation: 62+36=98, Resulting Numbers: [98]
98,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 75:[41, 67], Operations: ['99-58=41', '5+62=67']
Exploring Operation: 41*67=2747, Resulting Numbers: [2747]
2747,75 unequal: No Solution
Exploring Operation: 41+67=108, Resulting Numbers: [108]
108,75 unequal: No Solution
Exploring Operation: 67-41=26, Resulting Numbers: [26]
26,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 75:[5, 103], Operations: ['99-58=41', '62+41=103']
Exploring Operation: 103-5=98, Resulting Numbers: [98]
98,75 unequal: No Solution
Exploring Operation: 5*103=515, Resulting Numbers: [515]
515,75 unequal: No Solution
Exploring Operation: 5+103=108, Resulting Numbers: [108]
108,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 75:[41, 57], Operations: ['99-58=41', '62-5=57']
Exploring Operation: 41*57=2337, Resulting Numbers: [2337]
2337,75 unequal: No Solution
Exploring Operation: 41+57=98, Resulting Numbers: [98]
98,75 unequal: No Solution
Exploring Operation: 57-41=16, Resulting Numbers: [16]
16,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 75:[5, 58, 37], Operations: ['99-62=37']
Exploring Operation: 5+58=63, Resulting Numbers: [37, 63]
Generated Node #0,4,0: 75:[37, 63] Operation: 5+58=63
Exploring Operation: 58+37=95, Resulting Numbers: [5, 95]
Generated Node #0,4,1: 75:[5, 95] Operation: 58+37=95
Exploring Operation: 58-37=21, Resulting Numbers: [5, 21]
Generated Node #0,4,2: 75:[5, 21] Operation: 58-37=21
Exploring Operation: 37-5=32, Resulting Numbers: [58, 32]
Generated Node #0,4,3: 75:[58, 32] Operation: 37-5=32
Exploring Operation: 58-5=53, Resulting Numbers: [37, 53]
Generated Node #0,4,4: 75:[37, 53] Operation: 58-5=53
Moving to Node #0,4,2
Current State: 75:[5, 21], Operations: ['99-62=37', '58-37=21']
Exploring Operation: 5+21=26, Resulting Numbers: [26]
26,75 unequal: No Solution
Exploring Operation: 5*21=105, Resulting Numbers: [105]
105,75 unequal: No Solution
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,75 unequal: No Solution
Moving to Node #0,4,1
Current State: 75:[5, 95], Operations: ['99-62=37', '58+37=95']
Exploring Operation: 95/5=19, Resulting Numbers: [19]
19,75 unequal: No Solution
Exploring Operation: 95-5=90, Resulting Numbers: [90]
90,75 unequal: No Solution
Exploring Operation: 5+95=100, Resulting Numbers: [100]
100,75 unequal: No Solution
Exploring Operation: 5*95=475, Resulting Numbers: [475]
475,75 unequal: No Solution
Moving to Node #0,4,0
Current State: 75:[37, 63], Operations: ['99-62=37', '5+58=63']
Exploring Operation: 37+63=100, Resulting Numbers: [100]
100,75 unequal: No Solution
Exploring Operation: 37*63=2331, Resulting Numbers: [2331]
2331,75 unequal: No Solution
Exploring Operation: 63-37=26, Resulting Numbers: [26]
26,75 unequal: No Solution
Moving to Node #0,4,3
Current State: 75:[58, 32], Operations: ['99-62=37', '37-5=32']
Exploring Operation: 58*32=1856, Resulting Numbers: [1856]
1856,75 unequal: No Solution
Exploring Operation: 58-32=26, Resulting Numbers: [26]
26,75 unequal: No Solution
Exploring Operation: 58+32=90, Resulting Numbers: [90]
90,75 unequal: No Solution
Moving to Node #0,4,4
Current State: 75:[37, 53], Operations: ['99-62=37', '58-5=53']
Exploring Operation: 37*53=1961, Resulting Numbers: [1961]
1961,75 unequal: No Solution
Exploring Operation: 37+53=90, Resulting Numbers: [90]
90,75 unequal: No Solution
Exploring Operation: 53-37=16, Resulting Numbers: [16]
16,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 75:[58, 62, 94], Operations: ['99-5=94']
Exploring Operation: 94-62=32, Resulting Numbers: [58, 32]
Generated Node #0,2,0: 75:[58, 32] Operation: 94-62=32
Exploring Operation: 94-58=36, Resulting Numbers: [62, 36]
Generated Node #0,2,1: 75:[62, 36] Operation: 94-58=36
Exploring Operation: 62-58=4, Resulting Numbers: [94, 4]
Generated Node #0,2,2: 75:[94, 4] Operation: 62-58=4
Exploring Operation: 58+94=152, Resulting Numbers: [62, 152]
Generated Node #0,2,3: 75:[62, 152] Operation: 58+94=152
Exploring Operation: 58+62=120, Resulting Numbers: [94, 120]
Generated Node #0,2,4: 75:[94, 120] Operation: 58+62=120
Moving to Node #0,2,2
Current State: 75:[94, 4], Operations: ['99-5=94', '62-58=4']
Exploring Operation: 94-4=90, Resulting Numbers: [90]
90,75 unequal: No Solution
Exploring Operation: 94*4=376, Resulting Numbers: [376]
376,75 unequal: No Solution
Exploring Operation: 94+4=98, Resulting Numbers: [98]
98,75 unequal: No Solution
Moving to Node #0,2,1
Current State: 75:[62, 36], Operations: ['99-5=94', '94-58=36']
Exploring Operation: 62+36=98, Resulting Numbers: [98]
98,75 unequal: No Solution
Exploring Operation: 62*36=2232, Resulting Numbers: [2232]
2232,75 unequal: No Solution
Exploring Operation: 62-36=26, Resulting Numbers: [26]
26,75 unequal: No Solution
Moving to Node #0,2,0
Current State: 75:[58, 32], Operations: ['99-5=94', '94-62=32']
Exploring Operation: 58*32=1856, Resulting Numbers: [1856]
1856,75 unequal: No Solution
Exploring Operation: 58+32=90, Resulting Numbers: [90]
90,75 unequal: No Solution
Exploring Operation: 58-32=26, Resulting Numbers: [26]
26,75 unequal: No Solution
Moving to Node #0,2,4
Current State: 75:[94, 120], Operations: ['99-5=94', '58+62=120']
Exploring Operation: 120-94=26, Resulting Numbers: [26]
26,75 unequal: No Solution
Exploring Operation: 94+120=214, Resulting Numbers: [214]
214,75 unequal: No Solution
Exploring Operation: 94*120=11280, Resulting Numbers: [11280]
11280,75 unequal: No Solution
Moving to Node #0,2,3
Current State: 75:[62, 152], Operations: ['99-5=94', '58+94=152']
Exploring Operation: 152-62=90, Resulting Numbers: [90]
90,75 unequal: No Solution
Exploring Operation: 62*152=9424, Resulting Numbers: [9424]
9424,75 unequal: No Solution
Exploring Operation: 62+152=214, Resulting Numbers: [214]
214,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 75:[99, 62, 63], Operations: ['5+58=63']
Exploring Operation: 99+62=161, Resulting Numbers: [63, 161]
Generated Node #0,3,0: 75:[63, 161] Operation: 99+62=161
Exploring Operation: 99-62=37, Resulting Numbers: [63, 37]
Generated Node #0,3,1: 75:[63, 37] Operation: 99-62=37
Exploring Operation: 63-62=1, Resulting Numbers: [99, 1]
Generated Node #0,3,2: 75:[99, 1] Operation: 63-62=1
Exploring Operation: 99-63=36, Resulting Numbers: [62, 36]
Generated Node #0,3,3: 75:[62, 36] Operation: 99-63=36
Exploring Operation: 62+63=125, Resulting Numbers: [99, 125]
Generated Node #0,3,4: 75:[99, 125] Operation: 62+63=125
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 75:[63, 37], Operations: ['5+58=63', '99-62=37']
Exploring Operation: 63+37=100, Resulting Numbers: [100]
100,75 unequal: No Solution
Exploring Operation: 63-37=26, Resulting Numbers: [26]
26,75 unequal: No Solution
Exploring Operation: 63*37=2331, Resulting Numbers: [2331]
2331,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 75:[62, 36], Operations: ['5+58=63', '99-63=36']
Exploring Operation: 62*36=2232, Resulting Numbers: [2232]
2232,75 unequal: No Solution
Exploring Operation: 62-36=26, Resulting Numbers: [26]
26,75 unequal: No Solution
Exploring Operation: 62+36=98, Resulting Numbers: [98]
98,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 75:[99, 1], Operations: ['5+58=63', '63-62=1']
Exploring Operation: 99+1=100, Resulting Numbers: [100]
100,75 unequal: No Solution
Exploring Operation: 99-1=98, Resulting Numbers: [98]
98,75 unequal: No Solution
Exploring Operation: 99*1=99, Resulting Numbers: [99]
99,75 unequal: No Solution
Exploring Operation: 99/1=99, Resulting Numbers: [99]
99,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 75:[99, 125], Operations: ['5+58=63', '62+63=125']
Exploring Operation: 99+125=224, Resulting Numbers: [224]
224,75 unequal: No Solution
Exploring Operation: 99*125=12375, Resulting Numbers: [12375]
12375,75 unequal: No Solution
Exploring Operation: 125-99=26, Resulting Numbers: [26]
26,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 75:[63, 161], Operations: ['5+58=63', '99+62=161']
Exploring Operation: 63+161=224, Resulting Numbers: [224]
224,75 unequal: No Solution
Exploring Operation: 161-63=98, Resulting Numbers: [98]
98,75 unequal: No Solution
Exploring Operation: 63*161=10143, Resulting Numbers: [10143]
10143,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
27,
97,
27,
3
] | 11 | [
"97-27=70",
"27*3=81",
"81-70=11"
] | Current State: 11:[27, 97, 27, 3], Operations: []
Exploring Operation: 97-27=70, Resulting Numbers: [3, 70]
Generated Node #2: [3, 70] from Operation: 97-27=70
Current State: 11:[3, 70], Operations: ['97-27=70']
Exploring Operation: 27*3=81, Resulting Numbers: [70, 81]
Generated Node #3: [70, 81] from Operation: 27*3=81
Current State: 11:[70, 81], Operations: ['97-27=70', '27*3=81']
Exploring Operation: 81-70=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[27, 97, 27, 3], Operations: []
Exploring Operation: 27/3=9, Resulting Numbers: [97, 27, 9]
Generated Node #0,0: 11:[97, 27, 9] Operation: 27/3=9
Exploring Operation: 97-27=70, Resulting Numbers: [27, 3, 70]
Generated Node #0,1: 11:[27, 3, 70] Operation: 97-27=70
Exploring Operation: 97-27=70, Resulting Numbers: [27, 3, 70]
Generated Node #0,2: 11:[27, 3, 70] Operation: 97-27=70
Exploring Operation: 27/27=1, Resulting Numbers: [97, 3, 1]
Generated Node #0,3: 11:[97, 3, 1] Operation: 27/27=1
Moving to Node #0,1
Current State: 11:[27, 3, 70], Operations: ['97-27=70']
Exploring Operation: 27-3=24, Resulting Numbers: [70, 24]
Generated Node #0,1,0: 11:[70, 24] Operation: 27-3=24
Exploring Operation: 70-27=43, Resulting Numbers: [3, 43]
Generated Node #0,1,1: 11:[3, 43] Operation: 70-27=43
Exploring Operation: 27/3=9, Resulting Numbers: [70, 9]
Generated Node #0,1,2: 11:[70, 9] Operation: 27/3=9
Exploring Operation: 70-3=67, Resulting Numbers: [27, 67]
Generated Node #0,1,3: 11:[27, 67] Operation: 70-3=67
Moving to Node #0,2
Current State: 11:[27, 3, 70], Operations: ['97-27=70']
Exploring Operation: 70-27=43, Resulting Numbers: [3, 43]
Generated Node #0,2,0: 11:[3, 43] Operation: 70-27=43
Exploring Operation: 27/3=9, Resulting Numbers: [70, 9]
Generated Node #0,2,1: 11:[70, 9] Operation: 27/3=9
Exploring Operation: 27-3=24, Resulting Numbers: [70, 24]
Generated Node #0,2,2: 11:[70, 24] Operation: 27-3=24
Exploring Operation: 70-3=67, Resulting Numbers: [27, 67]
Generated Node #0,2,3: 11:[27, 67] Operation: 70-3=67
Moving to Node #0,3
Current State: 11:[97, 3, 1], Operations: ['27/27=1']
Exploring Operation: 97-1=96, Resulting Numbers: [3, 96]
Generated Node #0,3,0: 11:[3, 96] Operation: 97-1=96
Exploring Operation: 97-3=94, Resulting Numbers: [1, 94]
Generated Node #0,3,1: 11:[1, 94] Operation: 97-3=94
Exploring Operation: 97*1=97, Resulting Numbers: [3, 97]
Generated Node #0,3,2: 11:[3, 97] Operation: 97*1=97
Exploring Operation: 3+1=4, Resulting Numbers: [97, 4]
Generated Node #0,3,3: 11:[97, 4] Operation: 3+1=4
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 11:[3, 96], Operations: ['27/27=1', '97-1=96']
Exploring Operation: 96-3=93, Resulting Numbers: [93]
93,11 unequal: No Solution
Exploring Operation: 3+96=99, Resulting Numbers: [99]
99,11 unequal: No Solution
Exploring Operation: 3*96=288, Resulting Numbers: [288]
288,11 unequal: No Solution
Exploring Operation: 96/3=32, Resulting Numbers: [32]
32,11 unequal: No Solution
No 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: 11:[1, 94], Operations: ['27/27=1', '97-3=94']
Exploring Operation: 94-1=93, Resulting Numbers: [93]
93,11 unequal: No Solution
Exploring Operation: 1*94=94, Resulting Numbers: [94]
94,11 unequal: No Solution
Exploring Operation: 94/1=94, Resulting Numbers: [94]
94,11 unequal: No Solution
Exploring Operation: 1+94=95, Resulting Numbers: [95]
95,11 unequal: No Solution
No 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: 11:[97, 4], Operations: ['27/27=1', '3+1=4']
Exploring Operation: 97+4=101, Resulting Numbers: [101]
101,11 unequal: No Solution
Exploring Operation: 97-4=93, Resulting Numbers: [93]
93,11 unequal: No Solution
Exploring Operation: 97*4=388, Resulting Numbers: [388]
388,11 unequal: No Solution
No 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: 11:[3, 97], Operations: ['27/27=1', '97*1=97']
Exploring Operation: 97-3=94, Resulting Numbers: [94]
94,11 unequal: No Solution
Exploring Operation: 3*97=291, Resulting Numbers: [291]
291,11 unequal: No Solution
Exploring Operation: 3+97=100, Resulting Numbers: [100]
100,11 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: 11:[97, 27, 9], Operations: ['27/3=9']
Exploring Operation: 27-9=18, Resulting Numbers: [97, 18]
Generated Node #0,0,0: 11:[97, 18] Operation: 27-9=18
Exploring Operation: 27/9=3, Resulting Numbers: [97, 3]
Generated Node #0,0,1: 11:[97, 3] Operation: 27/9=3
Exploring Operation: 97-27=70, Resulting Numbers: [9, 70]
Generated Node #0,0,2: 11:[9, 70] Operation: 97-27=70
Exploring Operation: 97-9=88, Resulting Numbers: [27, 88]
Generated Node #0,0,3: 11:[27, 88] Operation: 97-9=88
Moving to Node #0,1,1
Current State: 11:[3, 43], Operations: ['97-27=70', '70-27=43']
Exploring Operation: 3*43=129, Resulting Numbers: [129]
129,11 unequal: No Solution
Exploring Operation: 3+43=46, Resulting Numbers: [46]
46,11 unequal: No Solution
Exploring Operation: 43-3=40, Resulting Numbers: [40]
40,11 unequal: No Solution
Moving to Node #0,2,0
Current State: 11:[3, 43], Operations: ['97-27=70', '70-27=43']
Exploring Operation: 43-3=40, Resulting Numbers: [40]
40,11 unequal: No Solution
Exploring Operation: 3*43=129, Resulting Numbers: [129]
129,11 unequal: No Solution
Exploring Operation: 3+43=46, Resulting Numbers: [46]
46,11 unequal: No Solution
Moving to Node #0,2,1
Current State: 11:[70, 9], Operations: ['97-27=70', '27/3=9']
Exploring Operation: 70-9=61, Resulting Numbers: [61]
61,11 unequal: No Solution
Exploring Operation: 70+9=79, Resulting Numbers: [79]
79,11 unequal: No Solution
Exploring Operation: 70*9=630, Resulting Numbers: [630]
630,11 unequal: No Solution
Moving to Node #0,1,2
Current State: 11:[70, 9], Operations: ['97-27=70', '27/3=9']
Exploring Operation: 70+9=79, Resulting Numbers: [79]
79,11 unequal: No Solution
Exploring Operation: 70-9=61, Resulting Numbers: [61]
61,11 unequal: No Solution
Exploring Operation: 70*9=630, Resulting Numbers: [630]
630,11 unequal: No Solution
Moving to Node #0,0,2
Current State: 11:[9, 70], Operations: ['27/3=9', '97-27=70']
Exploring Operation: 9*70=630, Resulting Numbers: [630]
630,11 unequal: No Solution
Exploring Operation: 70-9=61, Resulting Numbers: [61]
61,11 unequal: No Solution
Exploring Operation: 9+70=79, Resulting Numbers: [79]
79,11 unequal: No Solution
Moving to Node #0,2,2
Current State: 11:[70, 24], Operations: ['97-27=70', '27-3=24']
Exploring Operation: 70-24=46, Resulting Numbers: [46]
46,11 unequal: No Solution
Exploring Operation: 70+24=94, Resulting Numbers: [94]
94,11 unequal: No Solution
Exploring Operation: 70*24=1680, Resulting Numbers: [1680]
1680,11 unequal: No Solution
Moving to Node #0,1,0
Current State: 11:[70, 24], Operations: ['97-27=70', '27-3=24']
Exploring Operation: 70*24=1680, Resulting Numbers: [1680]
1680,11 unequal: No Solution
Exploring Operation: 70+24=94, Resulting Numbers: [94]
94,11 unequal: No Solution
Exploring Operation: 70-24=46, Resulting Numbers: [46]
46,11 unequal: No Solution
Moving to Node #0,1,3
Current State: 11:[27, 67], Operations: ['97-27=70', '70-3=67']
Exploring Operation: 27+67=94, Resulting Numbers: [94]
94,11 unequal: No Solution
Exploring Operation: 67-27=40, Resulting Numbers: [40]
40,11 unequal: No Solution
Exploring Operation: 27*67=1809, Resulting Numbers: [1809]
1809,11 unequal: No Solution
Moving to Node #0,2,3
Current State: 11:[27, 67], Operations: ['97-27=70', '70-3=67']
Exploring Operation: 27+67=94, Resulting Numbers: [94]
94,11 unequal: No Solution
Exploring Operation: 27*67=1809, Resulting Numbers: [1809]
1809,11 unequal: No Solution
Exploring Operation: 67-27=40, Resulting Numbers: [40]
40,11 unequal: No Solution
Moving to Node #0,0,0
Current State: 11:[97, 18], Operations: ['27/3=9', '27-9=18']
Exploring Operation: 97-18=79, Resulting Numbers: [79]
79,11 unequal: No Solution
Exploring Operation: 97+18=115, Resulting Numbers: [115]
115,11 unequal: No Solution
Exploring Operation: 97*18=1746, Resulting Numbers: [1746]
1746,11 unequal: No Solution
Moving to Node #0,0,3
Current State: 11:[27, 88], Operations: ['27/3=9', '97-9=88']
Exploring Operation: 27+88=115, Resulting Numbers: [115]
115,11 unequal: No Solution
Exploring Operation: 27*88=2376, Resulting Numbers: [2376]
2376,11 unequal: No Solution
Exploring Operation: 88-27=61, Resulting Numbers: [61]
61,11 unequal: No Solution
Moving to Node #0,0,1
Current State: 11:[97, 3], Operations: ['27/3=9', '27/9=3']
Exploring Operation: 97-3=94, Resulting Numbers: [94]
94,11 unequal: No Solution
Exploring Operation: 97+3=100, Resulting Numbers: [100]
100,11 unequal: No Solution
Exploring Operation: 97*3=291, Resulting Numbers: [291]
291,11 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
12,
11,
23,
37
] | 32 | [
"11*37=407",
"407-23=384",
"384/12=32"
] | Current State: 32:[12, 11, 23, 37], Operations: []
Exploring Operation: 11*37=407, Resulting Numbers: [12, 23, 407]
Generated Node #2: [12, 23, 407] from Operation: 11*37=407
Current State: 32:[12, 23, 407], Operations: ['11*37=407']
Exploring Operation: 407-23=384, Resulting Numbers: [12, 384]
Generated Node #3: [12, 384] from Operation: 407-23=384
Current State: 32:[12, 384], Operations: ['11*37=407', '407-23=384']
Exploring Operation: 384/12=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[12, 11, 23, 37], Operations: []
Exploring Operation: 23-12=11, Resulting Numbers: [11, 37, 11]
Generated Node #0,0: 32:[11, 37, 11] Operation: 23-12=11
Exploring Operation: 12+23=35, Resulting Numbers: [11, 37, 35]
Generated Node #0,1: 32:[11, 37, 35] Operation: 12+23=35
Exploring Operation: 37-23=14, Resulting Numbers: [12, 11, 14]
Generated Node #0,2: 32:[12, 11, 14] Operation: 37-23=14
Moving to Node #0,2
Current State: 32:[12, 11, 14], Operations: ['37-23=14']
Exploring Operation: 14-12=2, Resulting Numbers: [11, 2]
Generated Node #0,2,0: 32:[11, 2] Operation: 14-12=2
Exploring Operation: 14-11=3, Resulting Numbers: [12, 3]
Generated Node #0,2,1: 32:[12, 3] Operation: 14-11=3
Exploring Operation: 12-11=1, Resulting Numbers: [14, 1]
Generated Node #0,2,2: 32:[14, 1] Operation: 12-11=1
Moving to Node #0,0
Current State: 32:[11, 37, 11], Operations: ['23-12=11']
Exploring Operation: 37-11=26, Resulting Numbers: [11, 26]
Generated Node #0,0,0: 32:[11, 26] Operation: 37-11=26
Exploring Operation: 11-11=0, Resulting Numbers: [37, 0]
Generated Node #0,0,1: 32:[37, 0] Operation: 11-11=0
Exploring Operation: 11/11=1, Resulting Numbers: [37, 1]
Generated Node #0,0,2: 32:[37, 1] Operation: 11/11=1
Moving to Node #0,1
Current State: 32:[11, 37, 35], Operations: ['12+23=35']
Exploring Operation: 35-11=24, Resulting Numbers: [37, 24]
Generated Node #0,1,0: 32:[37, 24] Operation: 35-11=24
Exploring Operation: 37-35=2, Resulting Numbers: [11, 2]
Generated Node #0,1,1: 32:[11, 2] Operation: 37-35=2
Exploring Operation: 37-11=26, Resulting Numbers: [35, 26]
Generated Node #0,1,2: 32:[35, 26] Operation: 37-11=26
Moving to Node #0,2,0
Current State: 32:[11, 2], Operations: ['37-23=14', '14-12=2']
Exploring Operation: 11+2=13, Resulting Numbers: [13]
13,32 unequal: No Solution
Exploring Operation: 11*2=22, Resulting Numbers: [22]
22,32 unequal: No Solution
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,32 unequal: No Solution
Moving to Node #0,1,1
Current State: 32:[11, 2], Operations: ['12+23=35', '37-35=2']
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,32 unequal: No Solution
Exploring Operation: 11*2=22, Resulting Numbers: [22]
22,32 unequal: No Solution
Exploring Operation: 11+2=13, Resulting Numbers: [13]
13,32 unequal: No Solution
Moving to Node #0,2,2
Current State: 32:[14, 1], Operations: ['37-23=14', '12-11=1']
Exploring Operation: 14*1=14, Resulting Numbers: [14]
14,32 unequal: No Solution
Exploring Operation: 14/1=14, Resulting Numbers: [14]
14,32 unequal: No Solution
Exploring Operation: 14+1=15, Resulting Numbers: [15]
15,32 unequal: No Solution
Moving to Node #0,2,1
Current State: 32:[12, 3], Operations: ['37-23=14', '14-11=3']
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,32 unequal: No Solution
Exploring Operation: 12+3=15, Resulting Numbers: [15]
15,32 unequal: No Solution
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,32 unequal: No Solution
Moving to Node #0,0,2
Current State: 32:[37, 1], Operations: ['23-12=11', '11/11=1']
Exploring Operation: 37*1=37, Resulting Numbers: [37]
37,32 unequal: No Solution
Exploring Operation: 37/1=37, Resulting Numbers: [37]
37,32 unequal: No Solution
Exploring Operation: 37-1=36, Resulting Numbers: [36]
36,32 unequal: No Solution
Moving to Node #0,0,1
Current State: 32:[37, 0], Operations: ['23-12=11', '11-11=0']
Exploring Operation: 37*0=0, Resulting Numbers: [0]
0,32 unequal: No Solution
Exploring Operation: 37+0=37, Resulting Numbers: [37]
37,32 unequal: No Solution
Exploring Operation: 37-0=37, Resulting Numbers: [37]
37,32 unequal: No Solution
Moving to Node #0,0,0
Current State: 32:[11, 26], Operations: ['23-12=11', '37-11=26']
Exploring Operation: 11*26=286, Resulting Numbers: [286]
286,32 unequal: No Solution
Exploring Operation: 11+26=37, Resulting Numbers: [37]
37,32 unequal: No Solution
Exploring Operation: 26-11=15, Resulting Numbers: [15]
15,32 unequal: No Solution
Moving to Node #0,1,2
Current State: 32:[35, 26], Operations: ['12+23=35', '37-11=26']
Exploring Operation: 35*26=910, Resulting Numbers: [910]
910,32 unequal: No Solution
Exploring Operation: 35+26=61, Resulting Numbers: [61]
61,32 unequal: No Solution
Exploring Operation: 35-26=9, Resulting Numbers: [9]
9,32 unequal: No Solution
Moving to Node #0,1,0
Current State: 32:[37, 24], Operations: ['12+23=35', '35-11=24']
Exploring Operation: 37+24=61, Resulting Numbers: [61]
61,32 unequal: No Solution
Exploring Operation: 37*24=888, Resulting Numbers: [888]
888,32 unequal: No Solution
Exploring Operation: 37-24=13, Resulting Numbers: [13]
13,32 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
77,
71,
88,
53
] | 29 | [
"77-71=6",
"88-53=35",
"35-6=29"
] | Current State: 29:[77, 71, 88, 53], Operations: []
Exploring Operation: 77-71=6, Resulting Numbers: [88, 53, 6]
Generated Node #2: [88, 53, 6] from Operation: 77-71=6
Current State: 29:[88, 53, 6], Operations: ['77-71=6']
Exploring Operation: 88-53=35, Resulting Numbers: [6, 35]
Generated Node #3: [6, 35] from Operation: 88-53=35
Current State: 29:[6, 35], Operations: ['77-71=6', '88-53=35']
Exploring Operation: 35-6=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[77, 71, 88, 53], Operations: []
Exploring Operation: 77-53=24, Resulting Numbers: [71, 88, 24]
Generated Node #0,0: 29:[71, 88, 24] Operation: 77-53=24
Exploring Operation: 88-53=35, Resulting Numbers: [77, 71, 35]
Generated Node #0,1: 29:[77, 71, 35] Operation: 88-53=35
Exploring Operation: 88-77=11, Resulting Numbers: [71, 53, 11]
Generated Node #0,2: 29:[71, 53, 11] Operation: 88-77=11
Exploring Operation: 88-71=17, Resulting Numbers: [77, 53, 17]
Generated Node #0,3: 29:[77, 53, 17] Operation: 88-71=17
Exploring Operation: 77-71=6, Resulting Numbers: [88, 53, 6]
Generated Node #0,4: 29:[88, 53, 6] Operation: 77-71=6
Moving to Node #0,2
Current State: 29:[71, 53, 11], Operations: ['88-77=11']
Exploring Operation: 53+11=64, Resulting Numbers: [71, 64]
Generated Node #0,2,0: 29:[71, 64] Operation: 53+11=64
Exploring Operation: 71+11=82, Resulting Numbers: [53, 82]
Generated Node #0,2,1: 29:[53, 82] Operation: 71+11=82
Exploring Operation: 71-11=60, Resulting Numbers: [53, 60]
Generated Node #0,2,2: 29:[53, 60] Operation: 71-11=60
Exploring Operation: 71-53=18, Resulting Numbers: [11, 18]
Generated Node #0,2,3: 29:[11, 18] Operation: 71-53=18
Exploring Operation: 53-11=42, Resulting Numbers: [71, 42]
Generated Node #0,2,4: 29:[71, 42] Operation: 53-11=42
Moving to Node #0,3
Current State: 29:[77, 53, 17], Operations: ['88-71=17']
Exploring Operation: 53-17=36, Resulting Numbers: [77, 36]
Generated Node #0,3,0: 29:[77, 36] Operation: 53-17=36
Exploring Operation: 77-53=24, Resulting Numbers: [17, 24]
Generated Node #0,3,1: 29:[17, 24] Operation: 77-53=24
Exploring Operation: 53+17=70, Resulting Numbers: [77, 70]
Generated Node #0,3,2: 29:[77, 70] Operation: 53+17=70
Exploring Operation: 77+17=94, Resulting Numbers: [53, 94]
Generated Node #0,3,3: 29:[53, 94] Operation: 77+17=94
Exploring Operation: 77-17=60, Resulting Numbers: [53, 60]
Generated Node #0,3,4: 29:[53, 60] Operation: 77-17=60
Moving to Node #0,1
Current State: 29:[77, 71, 35], Operations: ['88-53=35']
Exploring Operation: 77+71=148, Resulting Numbers: [35, 148]
Generated Node #0,1,0: 29:[35, 148] Operation: 77+71=148
Exploring Operation: 77-35=42, Resulting Numbers: [71, 42]
Generated Node #0,1,1: 29:[71, 42] Operation: 77-35=42
Exploring Operation: 77+35=112, Resulting Numbers: [71, 112]
Generated Node #0,1,2: 29:[71, 112] Operation: 77+35=112
Exploring Operation: 71-35=36, Resulting Numbers: [77, 36]
Generated Node #0,1,3: 29:[77, 36] Operation: 71-35=36
Exploring Operation: 77-71=6, Resulting Numbers: [35, 6]
Generated Node #0,1,4: 29:[35, 6] Operation: 77-71=6
Moving to Node #0,0
Current State: 29:[71, 88, 24], Operations: ['77-53=24']
Exploring Operation: 88-71=17, Resulting Numbers: [24, 17]
Generated Node #0,0,0: 29:[24, 17] Operation: 88-71=17
Exploring Operation: 88-24=64, Resulting Numbers: [71, 64]
Generated Node #0,0,1: 29:[71, 64] Operation: 88-24=64
Exploring Operation: 71-24=47, Resulting Numbers: [88, 47]
Generated Node #0,0,2: 29:[88, 47] Operation: 71-24=47
Exploring Operation: 71+24=95, Resulting Numbers: [88, 95]
Generated Node #0,0,3: 29:[88, 95] Operation: 71+24=95
Exploring Operation: 88+24=112, Resulting Numbers: [71, 112]
Generated Node #0,0,4: 29:[71, 112] Operation: 88+24=112
Moving to Node #0,4
Current State: 29:[88, 53, 6], Operations: ['77-71=6']
Exploring Operation: 53+6=59, Resulting Numbers: [88, 59]
Generated Node #0,4,0: 29:[88, 59] Operation: 53+6=59
Exploring Operation: 53-6=47, Resulting Numbers: [88, 47]
Generated Node #0,4,1: 29:[88, 47] Operation: 53-6=47
Exploring Operation: 88-6=82, Resulting Numbers: [53, 82]
Generated Node #0,4,2: 29:[53, 82] Operation: 88-6=82
Exploring Operation: 88+6=94, Resulting Numbers: [53, 94]
Generated Node #0,4,3: 29:[53, 94] Operation: 88+6=94
Exploring Operation: 88-53=35, Resulting Numbers: [6, 35]
Generated Node #0,4,4: 29:[6, 35] Operation: 88-53=35
Moving to Node #0,3,1
Current State: 29:[17, 24], Operations: ['88-71=17', '77-53=24']
Exploring Operation: 24-17=7, Resulting Numbers: [7]
7,29 unequal: No Solution
Exploring Operation: 17+24=41, Resulting Numbers: [41]
41,29 unequal: No Solution
Exploring Operation: 17*24=408, Resulting Numbers: [408]
408,29 unequal: No Solution
Moving to Node #0,0,0
Current State: 29:[24, 17], Operations: ['77-53=24', '88-71=17']
Exploring Operation: 24-17=7, Resulting Numbers: [7]
7,29 unequal: No Solution
Exploring Operation: 24+17=41, Resulting Numbers: [41]
41,29 unequal: No Solution
Exploring Operation: 24*17=408, Resulting Numbers: [408]
408,29 unequal: No Solution
Moving to Node #0,2,3
Current State: 29:[11, 18], Operations: ['88-77=11', '71-53=18']
Exploring Operation: 11*18=198, Resulting Numbers: [198]
198,29 unequal: No Solution
Exploring Operation: 18-11=7, Resulting Numbers: [7]
7,29 unequal: No Solution
Exploring Operation: 11+18=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[77, 71, 88, 53], Operations: []
Exploring Operation: 88-77=11, Resulting Numbers: [71, 53, 11]
Generated Node #0,2: 29:[71, 53, 11] Operation: 88-77=11
Moving to Node #0,2
Current State: 29:[71, 53, 11], Operations: ['88-77=11']
Exploring Operation: 71-53=18, Resulting Numbers: [11, 18]
Generated Node #0,2,3: 29:[11, 18] Operation: 71-53=18
Moving to Node #0,2,3
Current State: 29:[11, 18], Operations: ['88-77=11', '71-53=18']
Exploring Operation: 11+18=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 0.962674 | hs_5 | mult_heuristic |
[
92,
81,
88,
93
] | 55 | [
"92-81=11",
"93-88=5",
"11*5=55"
] | Current State: 55:[92, 81, 88, 93], Operations: []
Exploring Operation: 92-81=11, Resulting Numbers: [88, 93, 11]
Generated Node #2: [88, 93, 11] from Operation: 92-81=11
Current State: 55:[88, 93, 11], Operations: ['92-81=11']
Exploring Operation: 93-88=5, Resulting Numbers: [11, 5]
Generated Node #3: [11, 5] from Operation: 93-88=5
Current State: 55:[11, 5], Operations: ['92-81=11', '93-88=5']
Exploring Operation: 11*5=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[92, 81, 88, 93], Operations: []
Exploring Operation: 93-88=5, Resulting Numbers: [92, 81, 5]
Generated Node #0,0: 55:[92, 81, 5] Operation: 93-88=5
Exploring Operation: 93-92=1, Resulting Numbers: [81, 88, 1]
Generated Node #0,1: 55:[81, 88, 1] Operation: 93-92=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[92, 81, 5], Operations: ['93-88=5']
Exploring Operation: 92-5=87, Resulting Numbers: [81, 87]
Generated Node #0,0,0: 55:[81, 87] Operation: 92-5=87
Exploring Operation: 92-81=11, Resulting Numbers: [5, 11]
Generated Node #0,0,1: 55:[5, 11] Operation: 92-81=11
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 55:[5, 11], Operations: ['93-88=5', '92-81=11']
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[92, 81, 88, 93], Operations: []
Exploring Operation: 93-88=5, Resulting Numbers: [92, 81, 5]
Generated Node #0,0: 55:[92, 81, 5] Operation: 93-88=5
Moving to Node #0,0
Current State: 55:[92, 81, 5], Operations: ['93-88=5']
Exploring Operation: 92-81=11, Resulting Numbers: [5, 11]
Generated Node #0,0,1: 55:[5, 11] Operation: 92-81=11
Moving to Node #0,0,1
Current State: 55:[5, 11], Operations: ['93-88=5', '92-81=11']
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
39,
30,
69,
90
] | 25 | [
"39+69=108",
"30*90=2700",
"2700/108=25"
] | Current State: 25:[39, 30, 69, 90], Operations: []
Exploring Operation: 39+69=108, Resulting Numbers: [30, 90, 108]
Generated Node #2: [30, 90, 108] from Operation: 39+69=108
Current State: 25:[30, 90, 108], Operations: ['39+69=108']
Exploring Operation: 30*90=2700, Resulting Numbers: [108, 2700]
Generated Node #3: [108, 2700] from Operation: 30*90=2700
Current State: 25:[108, 2700], Operations: ['39+69=108', '30*90=2700']
Exploring Operation: 2700/108=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[39, 30, 69, 90], Operations: []
Exploring Operation: 90-69=21, Resulting Numbers: [39, 30, 21]
Generated Node #0,0: 25:[39, 30, 21] Operation: 90-69=21
Exploring Operation: 90-39=51, Resulting Numbers: [30, 69, 51]
Generated Node #0,1: 25:[30, 69, 51] Operation: 90-39=51
Exploring Operation: 69-39=30, Resulting Numbers: [30, 90, 30]
Generated Node #0,2: 25:[30, 90, 30] Operation: 69-39=30
Exploring Operation: 90/30=3, Resulting Numbers: [39, 69, 3]
Generated Node #0,3: 25:[39, 69, 3] Operation: 90/30=3
Exploring Operation: 69-30=39, Resulting Numbers: [39, 90, 39]
Generated Node #0,4: 25:[39, 90, 39] Operation: 69-30=39
Moving to Node #0,0
Current State: 25:[39, 30, 21], Operations: ['90-69=21']
Exploring Operation: 30+21=51, Resulting Numbers: [39, 51]
Generated Node #0,0,0: 25:[39, 51] Operation: 30+21=51
Exploring Operation: 30-21=9, Resulting Numbers: [39, 9]
Generated Node #0,0,1: 25:[39, 9] Operation: 30-21=9
Exploring Operation: 39+21=60, Resulting Numbers: [30, 60]
Generated Node #0,0,2: 25:[30, 60] Operation: 39+21=60
Exploring Operation: 39-30=9, Resulting Numbers: [21, 9]
Generated Node #0,0,3: 25:[21, 9] Operation: 39-30=9
Exploring Operation: 39-21=18, Resulting Numbers: [30, 18]
Generated Node #0,0,4: 25:[30, 18] Operation: 39-21=18
Moving to Node #0,3
Current State: 25:[39, 69, 3], Operations: ['90/30=3']
Exploring Operation: 69-39=30, Resulting Numbers: [3, 30]
Generated Node #0,3,0: 25:[3, 30] Operation: 69-39=30
Exploring Operation: 69-3=66, Resulting Numbers: [39, 66]
Generated Node #0,3,1: 25:[39, 66] Operation: 69-3=66
Exploring Operation: 39-3=36, Resulting Numbers: [69, 36]
Generated Node #0,3,2: 25:[69, 36] Operation: 39-3=36
Exploring Operation: 69/3=23, Resulting Numbers: [39, 23]
Generated Node #0,3,3: 25:[39, 23] Operation: 69/3=23
Exploring Operation: 39/3=13, Resulting Numbers: [69, 13]
Generated Node #0,3,4: 25:[69, 13] Operation: 39/3=13
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 25:[3, 30], Operations: ['90/30=3', '69-39=30']
Exploring Operation: 30/3=10, Resulting Numbers: [10]
10,25 unequal: No Solution
Exploring Operation: 3*30=90, Resulting Numbers: [90]
90,25 unequal: No Solution
Exploring Operation: 3+30=33, Resulting Numbers: [33]
33,25 unequal: No Solution
Exploring Operation: 30-3=27, Resulting Numbers: [27]
27,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,3,3
Current State: 25:[39, 23], Operations: ['90/30=3', '69/3=23']
Exploring Operation: 39*23=897, Resulting Numbers: [897]
897,25 unequal: No Solution
Exploring Operation: 39-23=16, Resulting Numbers: [16]
16,25 unequal: No Solution
Exploring Operation: 39+23=62, Resulting Numbers: [62]
62,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,3,4
Current State: 25:[69, 13], Operations: ['90/30=3', '39/3=13']
Exploring Operation: 69-13=56, Resulting Numbers: [56]
56,25 unequal: No Solution
Exploring Operation: 69*13=897, Resulting Numbers: [897]
897,25 unequal: No Solution
Exploring Operation: 69+13=82, Resulting Numbers: [82]
82,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,3,1
Current State: 25:[39, 66], Operations: ['90/30=3', '69-3=66']
Exploring Operation: 39*66=2574, Resulting Numbers: [2574]
2574,25 unequal: No Solution
Exploring Operation: 66-39=27, Resulting Numbers: [27]
27,25 unequal: No Solution
Exploring Operation: 39+66=105, Resulting Numbers: [105]
105,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,3,2
Current State: 25:[69, 36], Operations: ['90/30=3', '39-3=36']
Exploring Operation: 69-36=33, Resulting Numbers: [33]
33,25 unequal: No Solution
Exploring Operation: 69*36=2484, Resulting Numbers: [2484]
2484,25 unequal: No Solution
Exploring Operation: 69+36=105, Resulting Numbers: [105]
105,25 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: 25:[30, 69, 51], Operations: ['90-39=51']
Exploring Operation: 69-30=39, Resulting Numbers: [51, 39]
Generated Node #0,1,0: 25:[51, 39] Operation: 69-30=39
Exploring Operation: 69-51=18, Resulting Numbers: [30, 18]
Generated Node #0,1,1: 25:[30, 18] Operation: 69-51=18
Exploring Operation: 30+51=81, Resulting Numbers: [69, 81]
Generated Node #0,1,2: 25:[69, 81] Operation: 30+51=81
Exploring Operation: 30+69=99, Resulting Numbers: [51, 99]
Generated Node #0,1,3: 25:[51, 99] Operation: 30+69=99
Exploring Operation: 51-30=21, Resulting Numbers: [69, 21]
Generated Node #0,1,4: 25:[69, 21] Operation: 51-30=21
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 25:[30, 18], Operations: ['90-39=51', '69-51=18']
Exploring Operation: 30*18=540, Resulting Numbers: [540]
540,25 unequal: No Solution
Exploring Operation: 30-18=12, Resulting Numbers: [12]
12,25 unequal: No Solution
Exploring Operation: 30+18=48, Resulting Numbers: [48]
48,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,1,0
Current State: 25:[51, 39], Operations: ['90-39=51', '69-30=39']
Exploring Operation: 51*39=1989, Resulting Numbers: [1989]
1989,25 unequal: No Solution
Exploring Operation: 51+39=90, Resulting Numbers: [90]
90,25 unequal: No Solution
Exploring Operation: 51-39=12, Resulting Numbers: [12]
12,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,1,4
Current State: 25:[69, 21], Operations: ['90-39=51', '51-30=21']
Exploring Operation: 69+21=90, Resulting Numbers: [90]
90,25 unequal: No Solution
Exploring Operation: 69-21=48, Resulting Numbers: [48]
48,25 unequal: No Solution
Exploring Operation: 69*21=1449, Resulting Numbers: [1449]
1449,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,1,2
Current State: 25:[69, 81], Operations: ['90-39=51', '30+51=81']
Exploring Operation: 69*81=5589, Resulting Numbers: [5589]
5589,25 unequal: No Solution
Exploring Operation: 69+81=150, Resulting Numbers: [150]
150,25 unequal: No Solution
Exploring Operation: 81-69=12, Resulting Numbers: [12]
12,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,1,3
Current State: 25:[51, 99], Operations: ['90-39=51', '30+69=99']
Exploring Operation: 99-51=48, Resulting Numbers: [48]
48,25 unequal: No Solution
Exploring Operation: 51+99=150, Resulting Numbers: [150]
150,25 unequal: No Solution
Exploring Operation: 51*99=5049, Resulting Numbers: [5049]
5049,25 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: 25:[30, 90, 30], Operations: ['69-39=30']
Exploring Operation: 90/30=3, Resulting Numbers: [30, 3]
Generated Node #0,2,0: 25:[30, 3] Operation: 90/30=3
Exploring Operation: 90/30=3, Resulting Numbers: [30, 3]
Generated Node #0,2,1: 25:[30, 3] Operation: 90/30=3
Exploring Operation: 30/30=1, Resulting Numbers: [90, 1]
Generated Node #0,2,2: 25:[90, 1] Operation: 30/30=1
Exploring Operation: 90-30=60, Resulting Numbers: [30, 60]
Generated Node #0,2,3: 25:[30, 60] Operation: 90-30=60
Exploring Operation: 90-30=60, Resulting Numbers: [30, 60]
Generated Node #0,2,4: 25:[30, 60] Operation: 90-30=60
Moving to Node #0,4
Current State: 25:[39, 90, 39], Operations: ['69-30=39']
Exploring Operation: 39-39=0, Resulting Numbers: [90, 0]
Generated Node #0,4,0: 25:[90, 0] Operation: 39-39=0
Exploring Operation: 90-39=51, Resulting Numbers: [39, 51]
Generated Node #0,4,1: 25:[39, 51] Operation: 90-39=51
Exploring Operation: 39+90=129, Resulting Numbers: [39, 129]
Generated Node #0,4,2: 25:[39, 129] Operation: 39+90=129
Exploring Operation: 39/39=1, Resulting Numbers: [90, 1]
Generated Node #0,4,3: 25:[90, 1] Operation: 39/39=1
Exploring Operation: 90-39=51, Resulting Numbers: [39, 51]
Generated Node #0,4,4: 25:[39, 51] Operation: 90-39=51
Moving to Node #0,2,0
Current State: 25:[30, 3], Operations: ['69-39=30', '90/30=3']
Exploring Operation: 30-3=27, Resulting Numbers: [27]
27,25 unequal: No Solution
Exploring Operation: 30/3=10, Resulting Numbers: [10]
10,25 unequal: No Solution
Exploring Operation: 30+3=33, Resulting Numbers: [33]
33,25 unequal: No Solution
Exploring Operation: 30*3=90, Resulting Numbers: [90]
90,25 unequal: No Solution
Moving to Node #0,2,1
Current State: 25:[30, 3], Operations: ['69-39=30', '90/30=3']
Exploring Operation: 30-3=27, Resulting Numbers: [27]
27,25 unequal: No Solution
Exploring Operation: 30+3=33, Resulting Numbers: [33]
33,25 unequal: No Solution
Exploring Operation: 30*3=90, Resulting Numbers: [90]
90,25 unequal: No Solution
Exploring Operation: 30/3=10, Resulting Numbers: [10]
10,25 unequal: No Solution
Moving to Node #0,0,3
Current State: 25:[21, 9], Operations: ['90-69=21', '39-30=9']
Exploring Operation: 21+9=30, Resulting Numbers: [30]
30,25 unequal: No Solution
Exploring Operation: 21-9=12, Resulting Numbers: [12]
12,25 unequal: No Solution
Exploring Operation: 21*9=189, Resulting Numbers: [189]
189,25 unequal: No Solution
Moving to Node #0,0,4
Current State: 25:[30, 18], Operations: ['90-69=21', '39-21=18']
Exploring Operation: 30*18=540, Resulting Numbers: [540]
540,25 unequal: No Solution
Exploring Operation: 30+18=48, Resulting Numbers: [48]
48,25 unequal: No Solution
Exploring Operation: 30-18=12, Resulting Numbers: [12]
12,25 unequal: No Solution
Moving to Node #0,0,1
Current State: 25:[39, 9], Operations: ['90-69=21', '30-21=9']
Exploring Operation: 39*9=351, Resulting Numbers: [351]
351,25 unequal: No Solution
Exploring Operation: 39+9=48, Resulting Numbers: [48]
48,25 unequal: No Solution
Exploring Operation: 39-9=30, Resulting Numbers: [30]
30,25 unequal: No Solution
Moving to Node #0,4,4
Current State: 25:[39, 51], Operations: ['69-30=39', '90-39=51']
Exploring Operation: 51-39=12, Resulting Numbers: [12]
12,25 unequal: No Solution
Exploring Operation: 39*51=1989, Resulting Numbers: [1989]
1989,25 unequal: No Solution
Exploring Operation: 39+51=90, Resulting Numbers: [90]
90,25 unequal: No Solution
Moving to Node #0,0,2
Current State: 25:[30, 60], Operations: ['90-69=21', '39+21=60']
Exploring Operation: 60-30=30, Resulting Numbers: [30]
30,25 unequal: No Solution
Exploring Operation: 60/30=2, Resulting Numbers: [2]
2,25 unequal: No Solution
Exploring Operation: 30+60=90, Resulting Numbers: [90]
90,25 unequal: No Solution
Exploring Operation: 30*60=1800, Resulting Numbers: [1800]
1800,25 unequal: No Solution
Moving to Node #0,4,1
Current State: 25:[39, 51], Operations: ['69-30=39', '90-39=51']
Exploring Operation: 39*51=1989, Resulting Numbers: [1989]
1989,25 unequal: No Solution
Exploring Operation: 39+51=90, Resulting Numbers: [90]
90,25 unequal: No Solution
Exploring Operation: 51-39=12, Resulting Numbers: [12]
12,25 unequal: No Solution
Moving to Node #0,0,0
Current State: 25:[39, 51], Operations: ['90-69=21', '30+21=51']
Exploring Operation: 51-39=12, Resulting Numbers: [12]
12,25 unequal: No Solution
Exploring Operation: 39*51=1989, Resulting Numbers: [1989]
1989,25 unequal: No Solution
Exploring Operation: 39+51=90, Resulting Numbers: [90]
90,25 unequal: No Solution
Moving to Node #0,2,3
Current State: 25:[30, 60], Operations: ['69-39=30', '90-30=60']
Exploring Operation: 30+60=90, Resulting Numbers: [90]
90,25 unequal: No Solution
Exploring Operation: 60/30=2, Resulting Numbers: [2]
2,25 unequal: No Solution
Exploring Operation: 30*60=1800, Resulting Numbers: [1800]
1800,25 unequal: No Solution
Exploring Operation: 60-30=30, Resulting Numbers: [30]
30,25 unequal: No Solution
Moving to Node #0,2,4
Current State: 25:[30, 60], Operations: ['69-39=30', '90-30=60']
Exploring Operation: 30+60=90, Resulting Numbers: [90]
90,25 unequal: No Solution
Exploring Operation: 30*60=1800, Resulting Numbers: [1800]
1800,25 unequal: No Solution
Exploring Operation: 60-30=30, Resulting Numbers: [30]
30,25 unequal: No Solution
Exploring Operation: 60/30=2, Resulting Numbers: [2]
2,25 unequal: No Solution
Moving to Node #0,4,3
Current State: 25:[90, 1], Operations: ['69-30=39', '39/39=1']
Exploring Operation: 90/1=90, Resulting Numbers: [90]
90,25 unequal: No Solution
Exploring Operation: 90*1=90, Resulting Numbers: [90]
90,25 unequal: No Solution
Exploring Operation: 90+1=91, Resulting Numbers: [91]
91,25 unequal: No Solution
Exploring Operation: 90-1=89, Resulting Numbers: [89]
89,25 unequal: No Solution
Moving to Node #0,2,2
Current State: 25:[90, 1], Operations: ['69-39=30', '30/30=1']
Exploring Operation: 90-1=89, Resulting Numbers: [89]
89,25 unequal: No Solution
Exploring Operation: 90/1=90, Resulting Numbers: [90]
90,25 unequal: No Solution
Exploring Operation: 90*1=90, Resulting Numbers: [90]
90,25 unequal: No Solution
Exploring Operation: 90+1=91, Resulting Numbers: [91]
91,25 unequal: No Solution
Moving to Node #0,4,0
Current State: 25:[90, 0], Operations: ['69-30=39', '39-39=0']
Exploring Operation: 90*0=0, Resulting Numbers: [0]
0,25 unequal: No Solution
Exploring Operation: 90-0=90, Resulting Numbers: [90]
90,25 unequal: No Solution
Exploring Operation: 90+0=90, Resulting Numbers: [90]
90,25 unequal: No Solution
Moving to Node #0,4,2
Current State: 25:[39, 129], Operations: ['69-30=39', '39+90=129']
Exploring Operation: 129-39=90, Resulting Numbers: [90]
90,25 unequal: No Solution
Exploring Operation: 39+129=168, Resulting Numbers: [168]
168,25 unequal: No Solution
Exploring Operation: 39*129=5031, Resulting Numbers: [5031]
5031,25 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
42,
7,
56,
16
] | 34 | [
"42/7=6",
"56-16=40",
"40-6=34"
] | Current State: 34:[42, 7, 56, 16], Operations: []
Exploring Operation: 42/7=6, Resulting Numbers: [56, 16, 6]
Generated Node #2: [56, 16, 6] from Operation: 42/7=6
Current State: 34:[56, 16, 6], Operations: ['42/7=6']
Exploring Operation: 56-16=40, Resulting Numbers: [6, 40]
Generated Node #3: [6, 40] from Operation: 56-16=40
Current State: 34:[6, 40], Operations: ['42/7=6', '56-16=40']
Exploring Operation: 40-6=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[42, 7, 56, 16], Operations: []
Exploring Operation: 56-42=14, Resulting Numbers: [7, 16, 14]
Generated Node #0,0: 34:[7, 16, 14] Operation: 56-42=14
Exploring Operation: 42-7=35, Resulting Numbers: [56, 16, 35]
Generated Node #0,1: 34:[56, 16, 35] Operation: 42-7=35
Exploring Operation: 56/7=8, Resulting Numbers: [42, 16, 8]
Generated Node #0,2: 34:[42, 16, 8] Operation: 56/7=8
Exploring Operation: 56-7=49, Resulting Numbers: [42, 16, 49]
Generated Node #0,3: 34:[42, 16, 49] Operation: 56-7=49
Exploring Operation: 56-16=40, Resulting Numbers: [42, 7, 40]
Generated Node #0,4: 34:[42, 7, 40] Operation: 56-16=40
Moving to Node #0,0
Current State: 34:[7, 16, 14], Operations: ['56-42=14']
Exploring Operation: 16-14=2, Resulting Numbers: [7, 2]
Generated Node #0,0,0: 34:[7, 2] Operation: 16-14=2
Exploring Operation: 7+14=21, Resulting Numbers: [16, 21]
Generated Node #0,0,1: 34:[16, 21] Operation: 7+14=21
Exploring Operation: 7+16=23, Resulting Numbers: [14, 23]
Generated Node #0,0,2: 34:[14, 23] Operation: 7+16=23
Exploring Operation: 14-7=7, Resulting Numbers: [16, 7]
Generated Node #0,0,3: 34:[16, 7] Operation: 14-7=7
Exploring Operation: 14/7=2, Resulting Numbers: [16, 2]
Generated Node #0,0,4: 34:[16, 2] Operation: 14/7=2
Moving to Node #0,2
Current State: 34:[42, 16, 8], Operations: ['56/7=8']
Exploring Operation: 16+8=24, Resulting Numbers: [42, 24]
Generated Node #0,2,0: 34:[42, 24] Operation: 16+8=24
Exploring Operation: 42-8=34, Resulting Numbers: [16, 34]
Generated Node #0,2,1: 34:[16, 34] Operation: 42-8=34
Exploring Operation: 16-8=8, Resulting Numbers: [42, 8]
Generated Node #0,2,2: 34:[42, 8] Operation: 16-8=8
Exploring Operation: 42-16=26, Resulting Numbers: [8, 26]
Generated Node #0,2,3: 34:[8, 26] Operation: 42-16=26
Exploring Operation: 16/8=2, Resulting Numbers: [42, 2]
Generated Node #0,2,4: 34:[42, 2] Operation: 16/8=2
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 34:[16, 34], Operations: ['56/7=8', '42-8=34']
Exploring Operation: 16+34=50, Resulting Numbers: [50]
50,34 unequal: No Solution
Exploring Operation: 34-16=18, Resulting Numbers: [18]
18,34 unequal: No Solution
Exploring Operation: 16*34=544, Resulting Numbers: [544]
544,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 34:[42, 2], Operations: ['56/7=8', '16/8=2']
Exploring Operation: 42*2=84, Resulting Numbers: [84]
84,34 unequal: No Solution
Exploring Operation: 42+2=44, Resulting Numbers: [44]
44,34 unequal: No Solution
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,34 unequal: No Solution
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 34:[42, 8], Operations: ['56/7=8', '16-8=8']
Exploring Operation: 42*8=336, Resulting Numbers: [336]
336,34 unequal: No Solution
Exploring Operation: 42-8=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[42, 7, 56, 16], Operations: []
Exploring Operation: 56/7=8, Resulting Numbers: [42, 16, 8]
Generated Node #0,2: 34:[42, 16, 8] Operation: 56/7=8
Moving to Node #0,2
Current State: 34:[42, 16, 8], Operations: ['56/7=8']
Exploring Operation: 16-8=8, Resulting Numbers: [42, 8]
Generated Node #0,2,2: 34:[42, 8] Operation: 16-8=8
Moving to Node #0,2,2
Current State: 34:[42, 8], Operations: ['56/7=8', '16-8=8']
Exploring Operation: 42-8=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.975694 | hs_5 | sum_heuristic |
[
76,
15,
73,
5
] | 30 | [
"76-73=3",
"15-5=10",
"3*10=30"
] | Current State: 30:[76, 15, 73, 5], Operations: []
Exploring Operation: 76-73=3, Resulting Numbers: [15, 5, 3]
Generated Node #2: [15, 5, 3] from Operation: 76-73=3
Current State: 30:[15, 5, 3], Operations: ['76-73=3']
Exploring Operation: 15-5=10, Resulting Numbers: [3, 10]
Generated Node #3: [3, 10] from Operation: 15-5=10
Current State: 30:[3, 10], Operations: ['76-73=3', '15-5=10']
Exploring Operation: 3*10=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[76, 15, 73, 5], Operations: []
Exploring Operation: 76-15=61, Resulting Numbers: [73, 5, 61]
Generated Node #0,0: 30:[73, 5, 61] Operation: 76-15=61
Exploring Operation: 76-5=71, Resulting Numbers: [15, 73, 71]
Generated Node #0,1: 30:[15, 73, 71] Operation: 76-5=71
Exploring Operation: 76-73=3, Resulting Numbers: [15, 5, 3]
Generated Node #0,2: 30:[15, 5, 3] Operation: 76-73=3
Exploring Operation: 73-15=58, Resulting Numbers: [76, 5, 58]
Generated Node #0,3: 30:[76, 5, 58] Operation: 73-15=58
Moving to Node #0,2
Current State: 30:[15, 5, 3], Operations: ['76-73=3']
Exploring Operation: 5*3=15, Resulting Numbers: [15, 15]
Generated Node #0,2,0: 30:[15, 15] Operation: 5*3=15
Exploring Operation: 15/5=3, Resulting Numbers: [3, 3]
Generated Node #0,2,1: 30:[3, 3] Operation: 15/5=3
Exploring Operation: 15-5=10, Resulting Numbers: [3, 10]
Generated Node #0,2,2: 30:[3, 10] Operation: 15-5=10
Exploring Operation: 15/3=5, Resulting Numbers: [5, 5]
Generated Node #0,2,3: 30:[5, 5] Operation: 15/3=5
Moving to Node #0,3
Current State: 30:[76, 5, 58], Operations: ['73-15=58']
Exploring Operation: 76+5=81, Resulting Numbers: [58, 81]
Generated Node #0,3,0: 30:[58, 81] Operation: 76+5=81
Exploring Operation: 76-58=18, Resulting Numbers: [5, 18]
Generated Node #0,3,1: 30:[5, 18] Operation: 76-58=18
Exploring Operation: 58-5=53, Resulting Numbers: [76, 53]
Generated Node #0,3,2: 30:[76, 53] Operation: 58-5=53
Exploring Operation: 76-5=71, Resulting Numbers: [58, 71]
Generated Node #0,3,3: 30:[58, 71] Operation: 76-5=71
Moving to Node #0,0
Current State: 30:[73, 5, 61], Operations: ['76-15=61']
Exploring Operation: 73-5=68, Resulting Numbers: [61, 68]
Generated Node #0,0,0: 30:[61, 68] Operation: 73-5=68
Exploring Operation: 73-61=12, Resulting Numbers: [5, 12]
Generated Node #0,0,1: 30:[5, 12] Operation: 73-61=12
Exploring Operation: 73+5=78, Resulting Numbers: [61, 78]
Generated Node #0,0,2: 30:[61, 78] Operation: 73+5=78
Exploring Operation: 61-5=56, Resulting Numbers: [73, 56]
Generated Node #0,0,3: 30:[73, 56] Operation: 61-5=56
Moving to Node #0,1
Current State: 30:[15, 73, 71], Operations: ['76-5=71']
Exploring Operation: 73-15=58, Resulting Numbers: [71, 58]
Generated Node #0,1,0: 30:[71, 58] Operation: 73-15=58
Exploring Operation: 73-71=2, Resulting Numbers: [15, 2]
Generated Node #0,1,1: 30:[15, 2] Operation: 73-71=2
Exploring Operation: 15+73=88, Resulting Numbers: [71, 88]
Generated Node #0,1,2: 30:[71, 88] Operation: 15+73=88
Exploring Operation: 71-15=56, Resulting Numbers: [73, 56]
Generated Node #0,1,3: 30:[73, 56] Operation: 71-15=56
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 30:[15, 2], Operations: ['76-5=71', '73-71=2']
Exploring Operation: 15*2=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[76, 15, 73, 5], Operations: []
Exploring Operation: 76-5=71, Resulting Numbers: [15, 73, 71]
Generated Node #0,1: 30:[15, 73, 71] Operation: 76-5=71
Moving to Node #0,1
Current State: 30:[15, 73, 71], Operations: ['76-5=71']
Exploring Operation: 73-71=2, Resulting Numbers: [15, 2]
Generated Node #0,1,1: 30:[15, 2] Operation: 73-71=2
Moving to Node #0,1,1
Current State: 30:[15, 2], Operations: ['76-5=71', '73-71=2']
Exploring Operation: 15*2=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_4 | sum_heuristic |
[
81,
3,
36,
94
] | 79 | [
"81-36=45",
"45/3=15",
"94-15=79"
] | Current State: 79:[81, 3, 36, 94], Operations: []
Exploring Operation: 81-36=45, Resulting Numbers: [3, 94, 45]
Generated Node #2: [3, 94, 45] from Operation: 81-36=45
Current State: 79:[3, 94, 45], Operations: ['81-36=45']
Exploring Operation: 45/3=15, Resulting Numbers: [94, 15]
Generated Node #3: [94, 15] from Operation: 45/3=15
Current State: 79:[94, 15], Operations: ['81-36=45', '45/3=15']
Exploring Operation: 94-15=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[81, 3, 36, 94], Operations: []
Exploring Operation: 3*36=108, Resulting Numbers: [81, 94, 108]
Generated Node #0,0: 79:[81, 94, 108] Operation: 3*36=108
Exploring Operation: 94-3=91, Resulting Numbers: [81, 36, 91]
Generated Node #0,1: 79:[81, 36, 91] Operation: 94-3=91
Exploring Operation: 3+36=39, Resulting Numbers: [81, 94, 39]
Generated Node #0,2: 79:[81, 94, 39] Operation: 3+36=39
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[81, 94, 108], Operations: ['3*36=108']
Exploring Operation: 108-94=14, Resulting Numbers: [81, 14]
Generated Node #0,0,0: 79:[81, 14] Operation: 108-94=14
Exploring Operation: 108-81=27, Resulting Numbers: [94, 27]
Generated Node #0,0,1: 79:[94, 27] Operation: 108-81=27
Exploring Operation: 94-81=13, Resulting Numbers: [108, 13]
Generated Node #0,0,2: 79:[108, 13] Operation: 94-81=13
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 79:[81, 14], Operations: ['3*36=108', '108-94=14']
Exploring Operation: 81*14=1134, Resulting Numbers: [1134]
1134,79 unequal: No Solution
Exploring Operation: 81-14=67, Resulting Numbers: [67]
67,79 unequal: No Solution
Exploring Operation: 81+14=95, Resulting Numbers: [95]
95,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 79:[94, 27], Operations: ['3*36=108', '108-81=27']
Exploring Operation: 94*27=2538, Resulting Numbers: [2538]
2538,79 unequal: No Solution
Exploring Operation: 94-27=67, Resulting Numbers: [67]
67,79 unequal: No Solution
Exploring Operation: 94+27=121, Resulting Numbers: [121]
121,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 79:[108, 13], Operations: ['3*36=108', '94-81=13']
Exploring Operation: 108+13=121, Resulting Numbers: [121]
121,79 unequal: No Solution
Exploring Operation: 108-13=95, Resulting Numbers: [95]
95,79 unequal: No Solution
Exploring Operation: 108*13=1404, Resulting Numbers: [1404]
1404,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 79:[81, 36, 91], Operations: ['94-3=91']
Exploring Operation: 81+36=117, Resulting Numbers: [91, 117]
Generated Node #0,1,0: 79:[91, 117] Operation: 81+36=117
Exploring Operation: 81-36=45, Resulting Numbers: [91, 45]
Generated Node #0,1,1: 79:[91, 45] Operation: 81-36=45
Exploring Operation: 91-36=55, Resulting Numbers: [81, 55]
Generated Node #0,1,2: 79:[81, 55] Operation: 91-36=55
Moving to Node #0,1,2
Current State: 79:[81, 55], Operations: ['94-3=91', '91-36=55']
Exploring Operation: 81-55=26, Resulting Numbers: [26]
26,79 unequal: No Solution
Exploring Operation: 81+55=136, Resulting Numbers: [136]
136,79 unequal: No Solution
Exploring Operation: 81*55=4455, Resulting Numbers: [4455]
4455,79 unequal: No Solution
Moving to Node #0,1,1
Current State: 79:[91, 45], Operations: ['94-3=91', '81-36=45']
Exploring Operation: 91+45=136, Resulting Numbers: [136]
136,79 unequal: No Solution
Exploring Operation: 91-45=46, Resulting Numbers: [46]
46,79 unequal: No Solution
Exploring Operation: 91*45=4095, Resulting Numbers: [4095]
4095,79 unequal: No Solution
Moving to Node #0,1,0
Current State: 79:[91, 117], Operations: ['94-3=91', '81+36=117']
Exploring Operation: 117-91=26, Resulting Numbers: [26]
26,79 unequal: No Solution
Exploring Operation: 91+117=208, Resulting Numbers: [208]
208,79 unequal: No Solution
Exploring Operation: 91*117=10647, Resulting Numbers: [10647]
10647,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 79:[81, 94, 39], Operations: ['3+36=39']
Exploring Operation: 81+39=120, Resulting Numbers: [94, 120]
Generated Node #0,2,0: 79:[94, 120] Operation: 81+39=120
Exploring Operation: 94-39=55, Resulting Numbers: [81, 55]
Generated Node #0,2,1: 79:[81, 55] Operation: 94-39=55
Exploring Operation: 81-39=42, Resulting Numbers: [94, 42]
Generated Node #0,2,2: 79:[94, 42] Operation: 81-39=42
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 79:[81, 55], Operations: ['3+36=39', '94-39=55']
Exploring Operation: 81*55=4455, Resulting Numbers: [4455]
4455,79 unequal: No Solution
Exploring Operation: 81+55=136, Resulting Numbers: [136]
136,79 unequal: No Solution
Exploring Operation: 81-55=26, Resulting Numbers: [26]
26,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:[94, 42], Operations: ['3+36=39', '81-39=42']
Exploring Operation: 94+42=136, Resulting Numbers: [136]
136,79 unequal: No Solution
Exploring Operation: 94*42=3948, Resulting Numbers: [3948]
3948,79 unequal: No Solution
Exploring Operation: 94-42=52, Resulting Numbers: [52]
52,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:[94, 120], Operations: ['3+36=39', '81+39=120']
Exploring Operation: 94+120=214, Resulting Numbers: [214]
214,79 unequal: No Solution
Exploring Operation: 94*120=11280, Resulting Numbers: [11280]
11280,79 unequal: No Solution
Exploring Operation: 120-94=26, Resulting Numbers: [26]
26,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 |
[
37,
37,
49,
11
] | 11 | [
"37-37=0",
"49*0=0",
"11+0=11"
] | Current State: 11:[37, 37, 49, 11], Operations: []
Exploring Operation: 37-37=0, Resulting Numbers: [49, 11, 0]
Generated Node #2: [49, 11, 0] from Operation: 37-37=0
Current State: 11:[49, 11, 0], Operations: ['37-37=0']
Exploring Operation: 49*0=0, Resulting Numbers: [11, 0]
Generated Node #3: [11, 0] from Operation: 49*0=0
Current State: 11:[11, 0], Operations: ['37-37=0', '49*0=0']
Exploring Operation: 11+0=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[37, 37, 49, 11], Operations: []
Exploring Operation: 37-11=26, Resulting Numbers: [37, 49, 26]
Generated Node #0,0: 11:[37, 49, 26] Operation: 37-11=26
Exploring Operation: 37/37=1, Resulting Numbers: [49, 11, 1]
Generated Node #0,1: 11:[49, 11, 1] Operation: 37/37=1
Exploring Operation: 37-37=0, Resulting Numbers: [49, 11, 0]
Generated Node #0,2: 11:[49, 11, 0] Operation: 37-37=0
Exploring Operation: 49-37=12, Resulting Numbers: [37, 11, 12]
Generated Node #0,3: 11:[37, 11, 12] Operation: 49-37=12
Exploring Operation: 49-37=12, Resulting Numbers: [37, 11, 12]
Generated Node #0,4: 11:[37, 11, 12] Operation: 49-37=12
Moving to Node #0,3
Current State: 11:[37, 11, 12], Operations: ['49-37=12']
Exploring Operation: 37-11=26, Resulting Numbers: [12, 26]
Generated Node #0,3,0: 11:[12, 26] Operation: 37-11=26
Exploring Operation: 12-11=1, Resulting Numbers: [37, 1]
Generated Node #0,3,1: 11:[37, 1] Operation: 12-11=1
Exploring Operation: 37-12=25, Resulting Numbers: [11, 25]
Generated Node #0,3,2: 11:[11, 25] Operation: 37-12=25
Exploring Operation: 37+12=49, Resulting Numbers: [11, 49]
Generated Node #0,3,3: 11:[11, 49] Operation: 37+12=49
Exploring Operation: 37+11=48, Resulting Numbers: [12, 48]
Generated Node #0,3,4: 11:[12, 48] Operation: 37+11=48
Moving to Node #0,4
Current State: 11:[37, 11, 12], Operations: ['49-37=12']
Exploring Operation: 37-11=26, Resulting Numbers: [12, 26]
Generated Node #0,4,0: 11:[12, 26] Operation: 37-11=26
Exploring Operation: 37+11=48, Resulting Numbers: [12, 48]
Generated Node #0,4,1: 11:[12, 48] Operation: 37+11=48
Exploring Operation: 37-12=25, Resulting Numbers: [11, 25]
Generated Node #0,4,2: 11:[11, 25] Operation: 37-12=25
Exploring Operation: 12-11=1, Resulting Numbers: [37, 1]
Generated Node #0,4,3: 11:[37, 1] Operation: 12-11=1
Exploring Operation: 37+12=49, Resulting Numbers: [11, 49]
Generated Node #0,4,4: 11:[11, 49] Operation: 37+12=49
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 11:[11, 25], Operations: ['49-37=12', '37-12=25']
Exploring Operation: 25-11=14, Resulting Numbers: [14]
14,11 unequal: No Solution
Exploring Operation: 11+25=36, Resulting Numbers: [36]
36,11 unequal: No Solution
Exploring Operation: 11*25=275, Resulting Numbers: [275]
275,11 unequal: No Solution
No 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: 11:[12, 26], Operations: ['49-37=12', '37-11=26']
Exploring Operation: 12+26=38, Resulting Numbers: [38]
38,11 unequal: No Solution
Exploring Operation: 12*26=312, Resulting Numbers: [312]
312,11 unequal: No Solution
Exploring Operation: 26-12=14, Resulting Numbers: [14]
14,11 unequal: No Solution
No 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: 11:[37, 1], Operations: ['49-37=12', '12-11=1']
Exploring Operation: 37*1=37, Resulting Numbers: [37]
37,11 unequal: No Solution
Exploring Operation: 37+1=38, Resulting Numbers: [38]
38,11 unequal: No Solution
Exploring Operation: 37/1=37, Resulting Numbers: [37]
37,11 unequal: No Solution
Exploring Operation: 37-1=36, Resulting Numbers: [36]
36,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 11:[12, 48], Operations: ['49-37=12', '37+11=48']
Exploring Operation: 12+48=60, Resulting Numbers: [60]
60,11 unequal: No Solution
Exploring Operation: 12*48=576, Resulting Numbers: [576]
576,11 unequal: No Solution
Exploring Operation: 48-12=36, Resulting Numbers: [36]
36,11 unequal: No Solution
Exploring Operation: 48/12=4, Resulting Numbers: [4]
4,11 unequal: No Solution
No 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: 11:[11, 49], Operations: ['49-37=12', '37+12=49']
Exploring Operation: 49-11=38, Resulting Numbers: [38]
38,11 unequal: No Solution
Exploring Operation: 11*49=539, Resulting Numbers: [539]
539,11 unequal: No Solution
Exploring Operation: 11+49=60, Resulting Numbers: [60]
60,11 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: 11:[49, 11, 1], Operations: ['37/37=1']
Exploring Operation: 49-1=48, Resulting Numbers: [11, 48]
Generated Node #0,1,0: 11:[11, 48] Operation: 49-1=48
Exploring Operation: 49/1=49, Resulting Numbers: [11, 49]
Generated Node #0,1,1: 11:[11, 49] Operation: 49/1=49
Exploring Operation: 11*1=11, Resulting Numbers: [49, 11]
Generated Node #0,1,2: 11:[49, 11] Operation: 11*1=11
Exploring Operation: 49-11=38, Resulting Numbers: [1, 38]
Generated Node #0,1,3: 11:[1, 38] Operation: 49-11=38
Exploring Operation: 49*1=49, Resulting Numbers: [11, 49]
Generated Node #0,1,4: 11:[11, 49] Operation: 49*1=49
Moving to Node #0,2
Current State: 11:[49, 11, 0], Operations: ['37-37=0']
Exploring Operation: 49*0=0, Resulting Numbers: [11, 0]
Generated Node #0,2,0: 11:[11, 0] Operation: 49*0=0
Exploring Operation: 49-0=49, Resulting Numbers: [11, 49]
Generated Node #0,2,1: 11:[11, 49] Operation: 49-0=49
Exploring Operation: 49-11=38, Resulting Numbers: [0, 38]
Generated Node #0,2,2: 11:[0, 38] Operation: 49-11=38
Exploring Operation: 11+0=11, Resulting Numbers: [49, 11]
Generated Node #0,2,3: 11:[49, 11] Operation: 11+0=11
Exploring Operation: 49+0=49, Resulting Numbers: [11, 49]
Generated Node #0,2,4: 11:[11, 49] Operation: 49+0=49
Moving to Node #0,0
Current State: 11:[37, 49, 26], Operations: ['37-11=26']
Exploring Operation: 49-37=12, Resulting Numbers: [26, 12]
Generated Node #0,0,0: 11:[26, 12] Operation: 49-37=12
Exploring Operation: 49-26=23, Resulting Numbers: [37, 23]
Generated Node #0,0,1: 11:[37, 23] Operation: 49-26=23
Exploring Operation: 37-26=11, Resulting Numbers: [49, 11]
Generated Node #0,0,2: 11:[49, 11] Operation: 37-26=11
Exploring Operation: 37+49=86, Resulting Numbers: [26, 86]
Generated Node #0,0,3: 11:[26, 86] Operation: 37+49=86
Exploring Operation: 37+26=63, Resulting Numbers: [49, 63]
Generated Node #0,0,4: 11:[49, 63] Operation: 37+26=63
Moving to Node #0,2,0
Current State: 11:[11, 0], Operations: ['37-37=0', '49*0=0']
Exploring Operation: 11-0=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[37, 37, 49, 11], Operations: []
Exploring Operation: 37-37=0, Resulting Numbers: [49, 11, 0]
Generated Node #0,2: 11:[49, 11, 0] Operation: 37-37=0
Moving to Node #0,2
Current State: 11:[49, 11, 0], Operations: ['37-37=0']
Exploring Operation: 49*0=0, Resulting Numbers: [11, 0]
Generated Node #0,2,0: 11:[11, 0] Operation: 49*0=0
Moving to Node #0,2,0
Current State: 11:[11, 0], Operations: ['37-37=0', '49*0=0']
Exploring Operation: 11-0=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 0.954861 | hs_5 | sum_heuristic |
[
38,
26,
48,
43
] | 47 | [
"38-26=12",
"48/12=4",
"43+4=47"
] | Current State: 47:[38, 26, 48, 43], Operations: []
Exploring Operation: 38-26=12, Resulting Numbers: [48, 43, 12]
Generated Node #2: [48, 43, 12] from Operation: 38-26=12
Current State: 47:[48, 43, 12], Operations: ['38-26=12']
Exploring Operation: 48/12=4, Resulting Numbers: [43, 4]
Generated Node #3: [43, 4] from Operation: 48/12=4
Current State: 47:[43, 4], Operations: ['38-26=12', '48/12=4']
Exploring Operation: 43+4=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[38, 26, 48, 43], Operations: []
Exploring Operation: 48-26=22, Resulting Numbers: [38, 43, 22]
Generated Node #0,0: 47:[38, 43, 22] Operation: 48-26=22
Exploring Operation: 26+43=69, Resulting Numbers: [38, 48, 69]
Generated Node #0,1: 47:[38, 48, 69] Operation: 26+43=69
Exploring Operation: 38+26=64, Resulting Numbers: [48, 43, 64]
Generated Node #0,2: 47:[48, 43, 64] Operation: 38+26=64
Exploring Operation: 26+48=74, Resulting Numbers: [38, 43, 74]
Generated Node #0,3: 47:[38, 43, 74] Operation: 26+48=74
Exploring Operation: 38-26=12, Resulting Numbers: [48, 43, 12]
Generated Node #0,4: 47:[48, 43, 12] Operation: 38-26=12
Start Sub Search at level 1: Moving to Node #0,2
Current State: 47:[48, 43, 64], Operations: ['38+26=64']
Exploring Operation: 48+43=91, Resulting Numbers: [64, 91]
Generated Node #0,2,0: 47:[64, 91] Operation: 48+43=91
Exploring Operation: 48-43=5, Resulting Numbers: [64, 5]
Generated Node #0,2,1: 47:[64, 5] Operation: 48-43=5
Exploring Operation: 64-48=16, Resulting Numbers: [43, 16]
Generated Node #0,2,2: 47:[43, 16] Operation: 64-48=16
Exploring Operation: 43+64=107, Resulting Numbers: [48, 107]
Generated Node #0,2,3: 47:[48, 107] Operation: 43+64=107
Exploring Operation: 64-43=21, Resulting Numbers: [48, 21]
Generated Node #0,2,4: 47:[48, 21] Operation: 64-43=21
Moving to Node #0,2,4
Current State: 47:[48, 21], Operations: ['38+26=64', '64-43=21']
Exploring Operation: 48-21=27, Resulting Numbers: [27]
27,47 unequal: No Solution
Exploring Operation: 48+21=69, Resulting Numbers: [69]
69,47 unequal: No Solution
Exploring Operation: 48*21=1008, Resulting Numbers: [1008]
1008,47 unequal: No Solution
Moving to Node #0,2,2
Current State: 47:[43, 16], Operations: ['38+26=64', '64-48=16']
Exploring Operation: 43-16=27, Resulting Numbers: [27]
27,47 unequal: No Solution
Exploring Operation: 43+16=59, Resulting Numbers: [59]
59,47 unequal: No Solution
Exploring Operation: 43*16=688, Resulting Numbers: [688]
688,47 unequal: No Solution
Moving to Node #0,2,1
Current State: 47:[64, 5], Operations: ['38+26=64', '48-43=5']
Exploring Operation: 64+5=69, Resulting Numbers: [69]
69,47 unequal: No Solution
Exploring Operation: 64-5=59, Resulting Numbers: [59]
59,47 unequal: No Solution
Exploring Operation: 64*5=320, Resulting Numbers: [320]
320,47 unequal: No Solution
Moving to Node #0,2,0
Current State: 47:[64, 91], Operations: ['38+26=64', '48+43=91']
Exploring Operation: 91-64=27, Resulting Numbers: [27]
27,47 unequal: No Solution
Exploring Operation: 64*91=5824, Resulting Numbers: [5824]
5824,47 unequal: No Solution
Exploring Operation: 64+91=155, Resulting Numbers: [155]
155,47 unequal: No Solution
Moving to Node #0,2,3
Current State: 47:[48, 107], Operations: ['38+26=64', '43+64=107']
Exploring Operation: 107-48=59, Resulting Numbers: [59]
59,47 unequal: No Solution
Exploring Operation: 48*107=5136, Resulting Numbers: [5136]
5136,47 unequal: No Solution
Exploring Operation: 48+107=155, Resulting Numbers: [155]
155,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 47:[38, 48, 69], Operations: ['26+43=69']
Exploring Operation: 38+69=107, Resulting Numbers: [48, 107]
Generated Node #0,1,0: 47:[48, 107] Operation: 38+69=107
Exploring Operation: 48-38=10, Resulting Numbers: [69, 10]
Generated Node #0,1,1: 47:[69, 10] Operation: 48-38=10
Exploring Operation: 69-38=31, Resulting Numbers: [48, 31]
Generated Node #0,1,2: 47:[48, 31] Operation: 69-38=31
Exploring Operation: 69-48=21, Resulting Numbers: [38, 21]
Generated Node #0,1,3: 47:[38, 21] Operation: 69-48=21
Exploring Operation: 38+48=86, Resulting Numbers: [69, 86]
Generated Node #0,1,4: 47:[69, 86] Operation: 38+48=86
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 47:[48, 31], Operations: ['26+43=69', '69-38=31']
Exploring Operation: 48+31=79, Resulting Numbers: [79]
79,47 unequal: No Solution
Exploring Operation: 48-31=17, Resulting Numbers: [17]
17,47 unequal: No Solution
Exploring Operation: 48*31=1488, Resulting Numbers: [1488]
1488,47 unequal: No Solution
No 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: 47:[38, 21], Operations: ['26+43=69', '69-48=21']
Exploring Operation: 38*21=798, Resulting Numbers: [798]
798,47 unequal: No Solution
Exploring Operation: 38-21=17, Resulting Numbers: [17]
17,47 unequal: No Solution
Exploring Operation: 38+21=59, Resulting Numbers: [59]
59,47 unequal: No Solution
No 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: 47:[69, 10], Operations: ['26+43=69', '48-38=10']
Exploring Operation: 69-10=59, Resulting Numbers: [59]
59,47 unequal: No Solution
Exploring Operation: 69+10=79, Resulting Numbers: [79]
79,47 unequal: No Solution
Exploring Operation: 69*10=690, Resulting Numbers: [690]
690,47 unequal: No Solution
No 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: 47:[48, 107], Operations: ['26+43=69', '38+69=107']
Exploring Operation: 48+107=155, Resulting Numbers: [155]
155,47 unequal: No Solution
Exploring Operation: 107-48=59, Resulting Numbers: [59]
59,47 unequal: No Solution
Exploring Operation: 48*107=5136, Resulting Numbers: [5136]
5136,47 unequal: No Solution
No 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: 47:[69, 86], Operations: ['26+43=69', '38+48=86']
Exploring Operation: 69+86=155, Resulting Numbers: [155]
155,47 unequal: No Solution
Exploring Operation: 86-69=17, Resulting Numbers: [17]
17,47 unequal: No Solution
Exploring Operation: 69*86=5934, Resulting Numbers: [5934]
5934,47 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: 47:[38, 43, 22], Operations: ['48-26=22']
Exploring Operation: 43+22=65, Resulting Numbers: [38, 65]
Generated Node #0,0,0: 47:[38, 65] Operation: 43+22=65
Exploring Operation: 43-22=21, Resulting Numbers: [38, 21]
Generated Node #0,0,1: 47:[38, 21] Operation: 43-22=21
Exploring Operation: 38+43=81, Resulting Numbers: [22, 81]
Generated Node #0,0,2: 47:[22, 81] Operation: 38+43=81
Exploring Operation: 38-22=16, Resulting Numbers: [43, 16]
Generated Node #0,0,3: 47:[43, 16] Operation: 38-22=16
Exploring Operation: 38+22=60, Resulting Numbers: [43, 60]
Generated Node #0,0,4: 47:[43, 60] Operation: 38+22=60
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 47:[43, 60], Operations: ['48-26=22', '38+22=60']
Exploring Operation: 43+60=103, Resulting Numbers: [103]
103,47 unequal: No Solution
Exploring Operation: 43*60=2580, Resulting Numbers: [2580]
2580,47 unequal: No Solution
Exploring Operation: 60-43=17, Resulting Numbers: [17]
17,47 unequal: No Solution
No 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: 47:[38, 65], Operations: ['48-26=22', '43+22=65']
Exploring Operation: 38+65=103, Resulting Numbers: [103]
103,47 unequal: No Solution
Exploring Operation: 38*65=2470, Resulting Numbers: [2470]
2470,47 unequal: No Solution
Exploring Operation: 65-38=27, Resulting Numbers: [27]
27,47 unequal: No Solution
No 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: 47:[38, 21], Operations: ['48-26=22', '43-22=21']
Exploring Operation: 38*21=798, Resulting Numbers: [798]
798,47 unequal: No Solution
Exploring Operation: 38+21=59, Resulting Numbers: [59]
59,47 unequal: No Solution
Exploring Operation: 38-21=17, Resulting Numbers: [17]
17,47 unequal: No Solution
No 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: 47:[43, 16], Operations: ['48-26=22', '38-22=16']
Exploring Operation: 43+16=59, Resulting Numbers: [59]
59,47 unequal: No Solution
Exploring Operation: 43*16=688, Resulting Numbers: [688]
688,47 unequal: No Solution
Exploring Operation: 43-16=27, Resulting Numbers: [27]
27,47 unequal: No Solution
No 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: 47:[22, 81], Operations: ['48-26=22', '38+43=81']
Exploring Operation: 22*81=1782, Resulting Numbers: [1782]
1782,47 unequal: No Solution
Exploring Operation: 22+81=103, Resulting Numbers: [103]
103,47 unequal: No Solution
Exploring Operation: 81-22=59, Resulting Numbers: [59]
59,47 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: 47:[38, 43, 74], Operations: ['26+48=74']
Exploring Operation: 74-38=36, Resulting Numbers: [43, 36]
Generated Node #0,3,0: 47:[43, 36] Operation: 74-38=36
Exploring Operation: 38+43=81, Resulting Numbers: [74, 81]
Generated Node #0,3,1: 47:[74, 81] Operation: 38+43=81
Exploring Operation: 43-38=5, Resulting Numbers: [74, 5]
Generated Node #0,3,2: 47:[74, 5] Operation: 43-38=5
Exploring Operation: 38+74=112, Resulting Numbers: [43, 112]
Generated Node #0,3,3: 47:[43, 112] Operation: 38+74=112
Exploring Operation: 74-43=31, Resulting Numbers: [38, 31]
Generated Node #0,3,4: 47:[38, 31] Operation: 74-43=31
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 47:[43, 36], Operations: ['26+48=74', '74-38=36']
Exploring Operation: 43*36=1548, Resulting Numbers: [1548]
1548,47 unequal: No Solution
Exploring Operation: 43-36=7, Resulting Numbers: [7]
7,47 unequal: No Solution
Exploring Operation: 43+36=79, Resulting Numbers: [79]
79,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 47:[38, 31], Operations: ['26+48=74', '74-43=31']
Exploring Operation: 38+31=69, Resulting Numbers: [69]
69,47 unequal: No Solution
Exploring Operation: 38*31=1178, Resulting Numbers: [1178]
1178,47 unequal: No Solution
Exploring Operation: 38-31=7, Resulting Numbers: [7]
7,47 unequal: No Solution
No 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: 47:[74, 81], Operations: ['26+48=74', '38+43=81']
Exploring Operation: 74+81=155, Resulting Numbers: [155]
155,47 unequal: No Solution
Exploring Operation: 81-74=7, Resulting Numbers: [7]
7,47 unequal: No Solution
Exploring Operation: 74*81=5994, Resulting Numbers: [5994]
5994,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 47:[74, 5], Operations: ['26+48=74', '43-38=5']
Exploring Operation: 74-5=69, Resulting Numbers: [69]
69,47 unequal: No Solution
Exploring Operation: 74*5=370, Resulting Numbers: [370]
370,47 unequal: No Solution
Exploring Operation: 74+5=79, Resulting Numbers: [79]
79,47 unequal: No Solution
No 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: 47:[43, 112], Operations: ['26+48=74', '38+74=112']
Exploring Operation: 43*112=4816, Resulting Numbers: [4816]
4816,47 unequal: No Solution
Exploring Operation: 43+112=155, Resulting Numbers: [155]
155,47 unequal: No Solution
Exploring Operation: 112-43=69, Resulting Numbers: [69]
69,47 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: 47:[48, 43, 12], Operations: ['38-26=12']
Exploring Operation: 48-12=36, Resulting Numbers: [43, 36]
Generated Node #0,4,0: 47:[43, 36] Operation: 48-12=36
Exploring Operation: 43-12=31, Resulting Numbers: [48, 31]
Generated Node #0,4,1: 47:[48, 31] Operation: 43-12=31
Exploring Operation: 48/12=4, Resulting Numbers: [43, 4]
Generated Node #0,4,2: 47:[43, 4] Operation: 48/12=4
Exploring Operation: 43+12=55, Resulting Numbers: [48, 55]
Generated Node #0,4,3: 47:[48, 55] Operation: 43+12=55
Exploring Operation: 48+12=60, Resulting Numbers: [43, 60]
Generated Node #0,4,4: 47:[43, 60] Operation: 48+12=60
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 47:[48, 55], Operations: ['38-26=12', '43+12=55']
Exploring Operation: 48+55=103, Resulting Numbers: [103]
103,47 unequal: No Solution
Exploring Operation: 48*55=2640, Resulting Numbers: [2640]
2640,47 unequal: No Solution
Exploring Operation: 55-48=7, Resulting Numbers: [7]
7,47 unequal: No Solution
No 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: 47:[43, 36], Operations: ['38-26=12', '48-12=36']
Exploring Operation: 43-36=7, Resulting Numbers: [7]
7,47 unequal: No Solution
Exploring Operation: 43+36=79, Resulting Numbers: [79]
79,47 unequal: No Solution
Exploring Operation: 43*36=1548, Resulting Numbers: [1548]
1548,47 unequal: No Solution
No 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: 47:[48, 31], Operations: ['38-26=12', '43-12=31']
Exploring Operation: 48*31=1488, Resulting Numbers: [1488]
1488,47 unequal: No Solution
Exploring Operation: 48-31=17, Resulting Numbers: [17]
17,47 unequal: No Solution
Exploring Operation: 48+31=79, Resulting Numbers: [79]
79,47 unequal: No Solution
No 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: 47:[43, 60], Operations: ['38-26=12', '48+12=60']
Exploring Operation: 43*60=2580, Resulting Numbers: [2580]
2580,47 unequal: No Solution
Exploring Operation: 43+60=103, Resulting Numbers: [103]
103,47 unequal: No Solution
Exploring Operation: 60-43=17, Resulting Numbers: [17]
17,47 unequal: No Solution
No 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: 47:[43, 4], Operations: ['38-26=12', '48/12=4']
Exploring Operation: 43*4=172, Resulting Numbers: [172]
172,47 unequal: No Solution
Exploring Operation: 43+4=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[38, 26, 48, 43], Operations: []
Exploring Operation: 38-26=12, Resulting Numbers: [48, 43, 12]
Generated Node #0,4: 47:[48, 43, 12] Operation: 38-26=12
Moving to Node #0,4
Current State: 47:[48, 43, 12], Operations: ['38-26=12']
Exploring Operation: 48/12=4, Resulting Numbers: [43, 4]
Generated Node #0,4,2: 47:[43, 4] Operation: 48/12=4
Moving to Node #0,4,2
Current State: 47:[43, 4], Operations: ['38-26=12', '48/12=4']
Exploring Operation: 43+4=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.90625 | hs_5 | mult_heuristic |
[
27,
7,
2,
62
] | 79 | [
"27+7=34",
"34/2=17",
"62+17=79"
] | Current State: 79:[27, 7, 2, 62], Operations: []
Exploring Operation: 27+7=34, Resulting Numbers: [2, 62, 34]
Generated Node #2: [2, 62, 34] from Operation: 27+7=34
Current State: 79:[2, 62, 34], Operations: ['27+7=34']
Exploring Operation: 34/2=17, Resulting Numbers: [62, 17]
Generated Node #3: [62, 17] from Operation: 34/2=17
Current State: 79:[62, 17], Operations: ['27+7=34', '34/2=17']
Exploring Operation: 62+17=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[27, 7, 2, 62], Operations: []
Exploring Operation: 27*2=54, Resulting Numbers: [7, 62, 54]
Generated Node #0,0: 79:[7, 62, 54] Operation: 27*2=54
Exploring Operation: 7*2=14, Resulting Numbers: [27, 62, 14]
Generated Node #0,1: 79:[27, 62, 14] Operation: 7*2=14
Moving to Node #0,0
Current State: 79:[7, 62, 54], Operations: ['27*2=54']
Exploring Operation: 7+54=61, Resulting Numbers: [62, 61]
Generated Node #0,0,0: 79:[62, 61] Operation: 7+54=61
Exploring Operation: 7+62=69, Resulting Numbers: [54, 69]
Generated Node #0,0,1: 79:[54, 69] Operation: 7+62=69
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 79:[62, 61], Operations: ['27*2=54', '7+54=61']
Exploring Operation: 62-61=1, Resulting Numbers: [1]
1,79 unequal: No Solution
Exploring Operation: 62+61=123, Resulting Numbers: [123]
123,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 79:[54, 69], Operations: ['27*2=54', '7+62=69']
Exploring Operation: 69-54=15, Resulting Numbers: [15]
15,79 unequal: No Solution
Exploring Operation: 54+69=123, Resulting Numbers: [123]
123,79 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: 79:[27, 62, 14], Operations: ['7*2=14']
Exploring Operation: 27+14=41, Resulting Numbers: [62, 41]
Generated Node #0,1,0: 79:[62, 41] Operation: 27+14=41
Exploring Operation: 62+14=76, Resulting Numbers: [27, 76]
Generated Node #0,1,1: 79:[27, 76] Operation: 62+14=76
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 79:[62, 41], Operations: ['7*2=14', '27+14=41']
Exploring Operation: 62+41=103, Resulting Numbers: [103]
103,79 unequal: No Solution
Exploring Operation: 62-41=21, Resulting Numbers: [21]
21,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 79:[27, 76], Operations: ['7*2=14', '62+14=76']
Exploring Operation: 27+76=103, Resulting Numbers: [103]
103,79 unequal: No Solution
Exploring Operation: 76-27=49, Resulting Numbers: [49]
49,79 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 |
[
25,
78,
87,
78
] | 63 | [
"87-25=62",
"78/78=1",
"62+1=63"
] | Current State: 63:[25, 78, 87, 78], Operations: []
Exploring Operation: 87-25=62, Resulting Numbers: [78, 78, 62]
Generated Node #2: [78, 78, 62] from Operation: 87-25=62
Current State: 63:[78, 78, 62], Operations: ['87-25=62']
Exploring Operation: 78/78=1, Resulting Numbers: [62, 1]
Generated Node #3: [62, 1] from Operation: 78/78=1
Current State: 63:[62, 1], Operations: ['87-25=62', '78/78=1']
Exploring Operation: 62+1=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[25, 78, 87, 78], Operations: []
Exploring Operation: 87-78=9, Resulting Numbers: [25, 78, 9]
Generated Node #0,0: 63:[25, 78, 9] Operation: 87-78=9
Moving to Node #0,0
Current State: 63:[25, 78, 9], Operations: ['87-78=9']
Exploring Operation: 78-25=53, Resulting Numbers: [9, 53]
Generated Node #0,0,0: 63:[9, 53] Operation: 78-25=53
Moving to Node #0,0,0
Current State: 63:[9, 53], Operations: ['87-78=9', '78-25=53']
Exploring Operation: 9+53=62, Resulting Numbers: [62]
62,63 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
5,
56,
90,
13
] | 26 | [
"56-5=51",
"90-13=77",
"77-51=26"
] | Current State: 26:[5, 56, 90, 13], Operations: []
Exploring Operation: 56-5=51, Resulting Numbers: [90, 13, 51]
Generated Node #2: [90, 13, 51] from Operation: 56-5=51
Current State: 26:[90, 13, 51], Operations: ['56-5=51']
Exploring Operation: 90-13=77, Resulting Numbers: [51, 77]
Generated Node #3: [51, 77] from Operation: 90-13=77
Current State: 26:[51, 77], Operations: ['56-5=51', '90-13=77']
Exploring Operation: 77-51=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[5, 56, 90, 13], Operations: []
Exploring Operation: 90-56=34, Resulting Numbers: [5, 13, 34]
Generated Node #0,0: 26:[5, 13, 34] Operation: 90-56=34
Moving to Node #0,0
Current State: 26:[5, 13, 34], Operations: ['90-56=34']
Exploring Operation: 34-5=29, Resulting Numbers: [13, 29]
Generated Node #0,0,0: 26:[13, 29] Operation: 34-5=29
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 26:[13, 29], Operations: ['90-56=34', '34-5=29']
Exploring Operation: 29-13=16, Resulting Numbers: [16]
16,26 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 |
[
73,
3,
59,
1
] | 87 | [
"3-1=2",
"73*2=146",
"146-59=87"
] | Current State: 87:[73, 3, 59, 1], Operations: []
Exploring Operation: 3-1=2, Resulting Numbers: [73, 59, 2]
Generated Node #2: [73, 59, 2] from Operation: 3-1=2
Current State: 87:[73, 59, 2], Operations: ['3-1=2']
Exploring Operation: 73*2=146, Resulting Numbers: [59, 146]
Generated Node #3: [59, 146] from Operation: 73*2=146
Current State: 87:[59, 146], Operations: ['3-1=2', '73*2=146']
Exploring Operation: 146-59=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[73, 3, 59, 1], Operations: []
Exploring Operation: 73+1=74, Resulting Numbers: [3, 59, 74]
Generated Node #0,0: 87:[3, 59, 74] Operation: 73+1=74
Exploring Operation: 73+3=76, Resulting Numbers: [59, 1, 76]
Generated Node #0,1: 87:[59, 1, 76] Operation: 73+3=76
Exploring Operation: 73-59=14, Resulting Numbers: [3, 1, 14]
Generated Node #0,2: 87:[3, 1, 14] Operation: 73-59=14
Exploring Operation: 3+59=62, Resulting Numbers: [73, 1, 62]
Generated Node #0,3: 87:[73, 1, 62] Operation: 3+59=62
Moving to Node #0,2
Current State: 87:[3, 1, 14], Operations: ['73-59=14']
Exploring Operation: 14-1=13, Resulting Numbers: [3, 13]
Generated Node #0,2,0: 87:[3, 13] Operation: 14-1=13
Exploring Operation: 3/1=3, Resulting Numbers: [14, 3]
Generated Node #0,2,1: 87:[14, 3] Operation: 3/1=3
Exploring Operation: 3*1=3, Resulting Numbers: [14, 3]
Generated Node #0,2,2: 87:[14, 3] Operation: 3*1=3
Exploring Operation: 14-3=11, Resulting Numbers: [1, 11]
Generated Node #0,2,3: 87:[1, 11] Operation: 14-3=11
Moving to Node #0,1
Current State: 87:[59, 1, 76], Operations: ['73+3=76']
Exploring Operation: 1+76=77, Resulting Numbers: [59, 77]
Generated Node #0,1,0: 87:[59, 77] Operation: 1+76=77
Exploring Operation: 59*1=59, Resulting Numbers: [76, 59]
Generated Node #0,1,1: 87:[76, 59] Operation: 59*1=59
Exploring Operation: 76-59=17, Resulting Numbers: [1, 17]
Generated Node #0,1,2: 87:[1, 17] Operation: 76-59=17
Exploring Operation: 59+1=60, Resulting Numbers: [76, 60]
Generated Node #0,1,3: 87:[76, 60] Operation: 59+1=60
Moving to Node #0,0
Current State: 87:[3, 59, 74], Operations: ['73+1=74']
Exploring Operation: 74-59=15, Resulting Numbers: [3, 15]
Generated Node #0,0,0: 87:[3, 15] Operation: 74-59=15
Exploring Operation: 3+59=62, Resulting Numbers: [74, 62]
Generated Node #0,0,1: 87:[74, 62] Operation: 3+59=62
Exploring Operation: 59-3=56, Resulting Numbers: [74, 56]
Generated Node #0,0,2: 87:[74, 56] Operation: 59-3=56
Exploring Operation: 3+74=77, Resulting Numbers: [59, 77]
Generated Node #0,0,3: 87:[59, 77] Operation: 3+74=77
Moving to Node #0,3
Current State: 87:[73, 1, 62], Operations: ['3+59=62']
Exploring Operation: 1+62=63, Resulting Numbers: [73, 63]
Generated Node #0,3,0: 87:[73, 63] Operation: 1+62=63
Exploring Operation: 73-62=11, Resulting Numbers: [1, 11]
Generated Node #0,3,1: 87:[1, 11] Operation: 73-62=11
Exploring Operation: 73*1=73, Resulting Numbers: [62, 73]
Generated Node #0,3,2: 87:[62, 73] Operation: 73*1=73
Exploring Operation: 73+1=74, Resulting Numbers: [62, 74]
Generated Node #0,3,3: 87:[62, 74] Operation: 73+1=74
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 87:[1, 11], Operations: ['3+59=62', '73-62=11']
Exploring Operation: 1*11=11, Resulting Numbers: [11]
11,87 unequal: No Solution
Exploring Operation: 11-1=10, Resulting Numbers: [10]
10,87 unequal: No Solution
Exploring Operation: 1+11=12, Resulting Numbers: [12]
12,87 unequal: No Solution
Exploring Operation: 11/1=11, Resulting Numbers: [11]
11,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 87:[73, 63], Operations: ['3+59=62', '1+62=63']
Exploring Operation: 73*63=4599, Resulting Numbers: [4599]
4599,87 unequal: No Solution
Exploring Operation: 73+63=136, Resulting Numbers: [136]
136,87 unequal: No Solution
Exploring Operation: 73-63=10, Resulting Numbers: [10]
10,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 87:[62, 74], Operations: ['3+59=62', '73+1=74']
Exploring Operation: 62+74=136, Resulting Numbers: [136]
136,87 unequal: No Solution
Exploring Operation: 74-62=12, Resulting Numbers: [12]
12,87 unequal: No Solution
Exploring Operation: 62*74=4588, Resulting Numbers: [4588]
4588,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 87:[62, 73], Operations: ['3+59=62', '73*1=73']
Exploring Operation: 62+73=135, Resulting Numbers: [135]
135,87 unequal: No Solution
Exploring Operation: 73-62=11, Resulting Numbers: [11]
11,87 unequal: No Solution
Exploring Operation: 62*73=4526, Resulting Numbers: [4526]
4526,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,0
Current State: 87:[3, 13], Operations: ['73-59=14', '14-1=13']
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,87 unequal: No Solution
Exploring Operation: 3*13=39, Resulting Numbers: [39]
39,87 unequal: No Solution
Exploring Operation: 3+13=16, Resulting Numbers: [16]
16,87 unequal: No Solution
Moving to Node #0,2,3
Current State: 87:[1, 11], Operations: ['73-59=14', '14-3=11']
Exploring Operation: 11-1=10, Resulting Numbers: [10]
10,87 unequal: No Solution
Exploring Operation: 1+11=12, Resulting Numbers: [12]
12,87 unequal: No Solution
Exploring Operation: 1*11=11, Resulting Numbers: [11]
11,87 unequal: No Solution
Exploring Operation: 11/1=11, Resulting Numbers: [11]
11,87 unequal: No Solution
Moving to Node #0,2,1
Current State: 87:[14, 3], Operations: ['73-59=14', '3/1=3']
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,87 unequal: No Solution
Exploring Operation: 14+3=17, Resulting Numbers: [17]
17,87 unequal: No Solution
Exploring Operation: 14*3=42, Resulting Numbers: [42]
42,87 unequal: No Solution
Moving to Node #0,2,2
Current State: 87:[14, 3], Operations: ['73-59=14', '3*1=3']
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,87 unequal: No Solution
Exploring Operation: 14+3=17, Resulting Numbers: [17]
17,87 unequal: No Solution
Exploring Operation: 14*3=42, Resulting Numbers: [42]
42,87 unequal: No Solution
Moving to Node #0,0,0
Current State: 87:[3, 15], Operations: ['73+1=74', '74-59=15']
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,87 unequal: No Solution
Exploring Operation: 3+15=18, Resulting Numbers: [18]
18,87 unequal: No Solution
Exploring Operation: 3*15=45, Resulting Numbers: [45]
45,87 unequal: No Solution
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,87 unequal: No Solution
Moving to Node #0,1,2
Current State: 87:[1, 17], Operations: ['73+3=76', '76-59=17']
Exploring Operation: 17/1=17, Resulting Numbers: [17]
17,87 unequal: No Solution
Exploring Operation: 1+17=18, Resulting Numbers: [18]
18,87 unequal: No Solution
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,87 unequal: No Solution
Exploring Operation: 1*17=17, Resulting Numbers: [17]
17,87 unequal: No Solution
Moving to Node #0,1,3
Current State: 87:[76, 60], Operations: ['73+3=76', '59+1=60']
Exploring Operation: 76*60=4560, Resulting Numbers: [4560]
4560,87 unequal: No Solution
Exploring Operation: 76+60=136, Resulting Numbers: [136]
136,87 unequal: No Solution
Exploring Operation: 76-60=16, Resulting Numbers: [16]
16,87 unequal: No Solution
Moving to Node #0,1,0
Current State: 87:[59, 77], Operations: ['73+3=76', '1+76=77']
Exploring Operation: 59+77=136, Resulting Numbers: [136]
136,87 unequal: No Solution
Exploring Operation: 77-59=18, Resulting Numbers: [18]
18,87 unequal: No Solution
Exploring Operation: 59*77=4543, Resulting Numbers: [4543]
4543,87 unequal: No Solution
Moving to Node #0,0,3
Current State: 87:[59, 77], Operations: ['73+1=74', '3+74=77']
Exploring Operation: 77-59=18, Resulting Numbers: [18]
18,87 unequal: No Solution
Exploring Operation: 59*77=4543, Resulting Numbers: [4543]
4543,87 unequal: No Solution
Exploring Operation: 59+77=136, Resulting Numbers: [136]
136,87 unequal: No Solution
Moving to Node #0,0,1
Current State: 87:[74, 62], Operations: ['73+1=74', '3+59=62']
Exploring Operation: 74+62=136, Resulting Numbers: [136]
136,87 unequal: No Solution
Exploring Operation: 74-62=12, Resulting Numbers: [12]
12,87 unequal: No Solution
Exploring Operation: 74*62=4588, Resulting Numbers: [4588]
4588,87 unequal: No Solution
Moving to Node #0,1,1
Current State: 87:[76, 59], Operations: ['73+3=76', '59*1=59']
Exploring Operation: 76-59=17, Resulting Numbers: [17]
17,87 unequal: No Solution
Exploring Operation: 76*59=4484, Resulting Numbers: [4484]
4484,87 unequal: No Solution
Exploring Operation: 76+59=135, Resulting Numbers: [135]
135,87 unequal: No Solution
Moving to Node #0,0,2
Current State: 87:[74, 56], Operations: ['73+1=74', '59-3=56']
Exploring Operation: 74+56=130, Resulting Numbers: [130]
130,87 unequal: No Solution
Exploring Operation: 74*56=4144, Resulting Numbers: [4144]
4144,87 unequal: No Solution
Exploring Operation: 74-56=18, Resulting Numbers: [18]
18,87 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
33,
58,
30,
1
] | 61 | [
"33+58=91",
"30*1=30",
"91-30=61"
] | Current State: 61:[33, 58, 30, 1], Operations: []
Exploring Operation: 33+58=91, Resulting Numbers: [30, 1, 91]
Generated Node #2: [30, 1, 91] from Operation: 33+58=91
Current State: 61:[30, 1, 91], Operations: ['33+58=91']
Exploring Operation: 30*1=30, Resulting Numbers: [91, 30]
Generated Node #3: [91, 30] from Operation: 30*1=30
Current State: 61:[91, 30], Operations: ['33+58=91', '30*1=30']
Exploring Operation: 91-30=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[33, 58, 30, 1], Operations: []
Exploring Operation: 33+1=34, Resulting Numbers: [58, 30, 34]
Generated Node #0,0: 61:[58, 30, 34] Operation: 33+1=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[58, 30, 34], Operations: ['33+1=34']
Exploring Operation: 30+34=64, Resulting Numbers: [58, 64]
Generated Node #0,0,0: 61:[58, 64] Operation: 30+34=64
Moving to Node #0,0,0
Current State: 61:[58, 64], Operations: ['33+1=34', '30+34=64']
Exploring Operation: 64-58=6, Resulting Numbers: [6]
6,61 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 |
[
38,
7,
54,
37
] | 75 | [
"54-38=16",
"7*16=112",
"112-37=75"
] | Current State: 75:[38, 7, 54, 37], Operations: []
Exploring Operation: 54-38=16, Resulting Numbers: [7, 37, 16]
Generated Node #2: [7, 37, 16] from Operation: 54-38=16
Current State: 75:[7, 37, 16], Operations: ['54-38=16']
Exploring Operation: 7*16=112, Resulting Numbers: [37, 112]
Generated Node #3: [37, 112] from Operation: 7*16=112
Current State: 75:[37, 112], Operations: ['54-38=16', '7*16=112']
Exploring Operation: 112-37=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[38, 7, 54, 37], Operations: []
Exploring Operation: 54-37=17, Resulting Numbers: [38, 7, 17]
Generated Node #0,0: 75:[38, 7, 17] Operation: 54-37=17
Exploring Operation: 54-38=16, Resulting Numbers: [7, 37, 16]
Generated Node #0,1: 75:[7, 37, 16] Operation: 54-38=16
Exploring Operation: 38+37=75, Resulting Numbers: [7, 54, 75]
Generated Node #0,2: 75:[7, 54, 75] Operation: 38+37=75
Moving to Node #0,1
Current State: 75:[7, 37, 16], Operations: ['54-38=16']
Exploring Operation: 37-7=30, Resulting Numbers: [16, 30]
Generated Node #0,1,0: 75:[16, 30] Operation: 37-7=30
Exploring Operation: 37-16=21, Resulting Numbers: [7, 21]
Generated Node #0,1,1: 75:[7, 21] Operation: 37-16=21
Exploring Operation: 7+16=23, Resulting Numbers: [37, 23]
Generated Node #0,1,2: 75:[37, 23] Operation: 7+16=23
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 75:[16, 30], Operations: ['54-38=16', '37-7=30']
Exploring Operation: 16*30=480, Resulting Numbers: [480]
480,75 unequal: No Solution
Exploring Operation: 30-16=14, Resulting Numbers: [14]
14,75 unequal: No Solution
Exploring Operation: 16+30=46, Resulting Numbers: [46]
46,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 75:[7, 21], Operations: ['54-38=16', '37-16=21']
Exploring Operation: 21/7=3, Resulting Numbers: [3]
3,75 unequal: No Solution
Exploring Operation: 21-7=14, Resulting Numbers: [14]
14,75 unequal: No Solution
Exploring Operation: 7+21=28, Resulting Numbers: [28]
28,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 75:[37, 23], Operations: ['54-38=16', '7+16=23']
Exploring Operation: 37-23=14, Resulting Numbers: [14]
14,75 unequal: No Solution
Exploring Operation: 37*23=851, Resulting Numbers: [851]
851,75 unequal: No Solution
Exploring Operation: 37+23=60, Resulting Numbers: [60]
60,75 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: 75:[38, 7, 17], Operations: ['54-37=17']
Exploring Operation: 38-7=31, Resulting Numbers: [17, 31]
Generated Node #0,0,0: 75:[17, 31] Operation: 38-7=31
Exploring Operation: 7+17=24, Resulting Numbers: [38, 24]
Generated Node #0,0,1: 75:[38, 24] Operation: 7+17=24
Exploring Operation: 38-17=21, Resulting Numbers: [7, 21]
Generated Node #0,0,2: 75:[7, 21] Operation: 38-17=21
Moving to Node #0,2
Current State: 75:[7, 54, 75], Operations: ['38+37=75']
Exploring Operation: 75-54=21, Resulting Numbers: [7, 21]
Generated Node #0,2,0: 75:[7, 21] Operation: 75-54=21
Exploring Operation: 54-7=47, Resulting Numbers: [75, 47]
Generated Node #0,2,1: 75:[75, 47] Operation: 54-7=47
Exploring Operation: 7+54=61, Resulting Numbers: [75, 61]
Generated Node #0,2,2: 75:[75, 61] Operation: 7+54=61
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 75:[7, 21], Operations: ['38+37=75', '75-54=21']
Exploring Operation: 21/7=3, Resulting Numbers: [3]
3,75 unequal: No Solution
Exploring Operation: 7+21=28, Resulting Numbers: [28]
28,75 unequal: No Solution
Exploring Operation: 21-7=14, Resulting Numbers: [14]
14,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,2
Current State: 75:[75, 61], Operations: ['38+37=75', '7+54=61']
Exploring Operation: 75-61=14, Resulting Numbers: [14]
14,75 unequal: No Solution
Exploring Operation: 75*61=4575, Resulting Numbers: [4575]
4575,75 unequal: No Solution
Exploring Operation: 75+61=136, Resulting Numbers: [136]
136,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,1
Current State: 75:[75, 47], Operations: ['38+37=75', '54-7=47']
Exploring Operation: 75*47=3525, Resulting Numbers: [3525]
3525,75 unequal: No Solution
Exploring Operation: 75-47=28, Resulting Numbers: [28]
28,75 unequal: No Solution
Exploring Operation: 75+47=122, Resulting Numbers: [122]
122,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,2
Current State: 75:[7, 21], Operations: ['54-37=17', '38-17=21']
Exploring Operation: 7+21=28, Resulting Numbers: [28]
28,75 unequal: No Solution
Exploring Operation: 21/7=3, Resulting Numbers: [3]
3,75 unequal: No Solution
Exploring Operation: 21-7=14, Resulting Numbers: [14]
14,75 unequal: No Solution
Moving to Node #0,0,0
Current State: 75:[17, 31], Operations: ['54-37=17', '38-7=31']
Exploring Operation: 17+31=48, Resulting Numbers: [48]
48,75 unequal: No Solution
Exploring Operation: 17*31=527, Resulting Numbers: [527]
527,75 unequal: No Solution
Exploring Operation: 31-17=14, Resulting Numbers: [14]
14,75 unequal: No Solution
Moving to Node #0,0,1
Current State: 75:[38, 24], Operations: ['54-37=17', '7+17=24']
Exploring Operation: 38-24=14, Resulting Numbers: [14]
14,75 unequal: No Solution
Exploring Operation: 38*24=912, Resulting Numbers: [912]
912,75 unequal: No Solution
Exploring Operation: 38+24=62, Resulting Numbers: [62]
62,75 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
83,
73,
23,
85
] | 48 | [
"83+73=156",
"23+85=108",
"156-108=48"
] | Current State: 48:[83, 73, 23, 85], Operations: []
Exploring Operation: 83+73=156, Resulting Numbers: [23, 85, 156]
Generated Node #2: [23, 85, 156] from Operation: 83+73=156
Current State: 48:[23, 85, 156], Operations: ['83+73=156']
Exploring Operation: 23+85=108, Resulting Numbers: [156, 108]
Generated Node #3: [156, 108] from Operation: 23+85=108
Current State: 48:[156, 108], Operations: ['83+73=156', '23+85=108']
Exploring Operation: 156-108=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[83, 73, 23, 85], Operations: []
Exploring Operation: 85-83=2, Resulting Numbers: [73, 23, 2]
Generated Node #0,0: 48:[73, 23, 2] Operation: 85-83=2
Moving to Node #0,0
Current State: 48:[73, 23, 2], Operations: ['85-83=2']
Exploring Operation: 73-23=50, Resulting Numbers: [2, 50]
Generated Node #0,0,0: 48:[2, 50] Operation: 73-23=50
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 48:[2, 50], Operations: ['85-83=2', '73-23=50']
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[83, 73, 23, 85], Operations: []
Exploring Operation: 85-83=2, Resulting Numbers: [73, 23, 2]
Generated Node #0,0: 48:[73, 23, 2] Operation: 85-83=2
Moving to Node #0,0
Current State: 48:[73, 23, 2], Operations: ['85-83=2']
Exploring Operation: 73-23=50, Resulting Numbers: [2, 50]
Generated Node #0,0,0: 48:[2, 50] Operation: 73-23=50
Moving to Node #0,0,0
Current State: 48:[2, 50], Operations: ['85-83=2', '73-23=50']
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
67,
93,
72,
91
] | 31 | [
"91-67=24",
"93*24=2232",
"2232/72=31"
] | Current State: 31:[67, 93, 72, 91], Operations: []
Exploring Operation: 91-67=24, Resulting Numbers: [93, 72, 24]
Generated Node #2: [93, 72, 24] from Operation: 91-67=24
Current State: 31:[93, 72, 24], Operations: ['91-67=24']
Exploring Operation: 93*24=2232, Resulting Numbers: [72, 2232]
Generated Node #3: [72, 2232] from Operation: 93*24=2232
Current State: 31:[72, 2232], Operations: ['91-67=24', '93*24=2232']
Exploring Operation: 2232/72=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[67, 93, 72, 91], Operations: []
Exploring Operation: 93-72=21, Resulting Numbers: [67, 91, 21]
Generated Node #0,0: 31:[67, 91, 21] Operation: 93-72=21
Exploring Operation: 93-67=26, Resulting Numbers: [72, 91, 26]
Generated Node #0,1: 31:[72, 91, 26] Operation: 93-67=26
Exploring Operation: 93-91=2, Resulting Numbers: [67, 72, 2]
Generated Node #0,2: 31:[67, 72, 2] Operation: 93-91=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[67, 91, 21], Operations: ['93-72=21']
Exploring Operation: 91-21=70, Resulting Numbers: [67, 70]
Generated Node #0,0,0: 31:[67, 70] Operation: 91-21=70
Exploring Operation: 67-21=46, Resulting Numbers: [91, 46]
Generated Node #0,0,1: 31:[91, 46] Operation: 67-21=46
Exploring Operation: 91-67=24, Resulting Numbers: [21, 24]
Generated Node #0,0,2: 31:[21, 24] Operation: 91-67=24
Moving to Node #0,0,2
Current State: 31:[21, 24], Operations: ['93-72=21', '91-67=24']
Exploring Operation: 21+24=45, Resulting Numbers: [45]
45,31 unequal: No Solution
Exploring Operation: 21*24=504, Resulting Numbers: [504]
504,31 unequal: No Solution
Exploring Operation: 24-21=3, Resulting Numbers: [3]
3,31 unequal: No Solution
Moving to Node #0,0,0
Current State: 31:[67, 70], Operations: ['93-72=21', '91-21=70']
Exploring Operation: 67*70=4690, Resulting Numbers: [4690]
4690,31 unequal: No Solution
Exploring Operation: 67+70=137, Resulting Numbers: [137]
137,31 unequal: No Solution
Exploring Operation: 70-67=3, Resulting Numbers: [3]
3,31 unequal: No Solution
Moving to Node #0,0,1
Current State: 31:[91, 46], Operations: ['93-72=21', '67-21=46']
Exploring Operation: 91*46=4186, Resulting Numbers: [4186]
4186,31 unequal: No Solution
Exploring Operation: 91+46=137, Resulting Numbers: [137]
137,31 unequal: No Solution
Exploring Operation: 91-46=45, Resulting Numbers: [45]
45,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 31:[72, 91, 26], Operations: ['93-67=26']
Exploring Operation: 91-26=65, Resulting Numbers: [72, 65]
Generated Node #0,1,0: 31:[72, 65] Operation: 91-26=65
Exploring Operation: 72-26=46, Resulting Numbers: [91, 46]
Generated Node #0,1,1: 31:[91, 46] Operation: 72-26=46
Exploring Operation: 91-72=19, Resulting Numbers: [26, 19]
Generated Node #0,1,2: 31:[26, 19] Operation: 91-72=19
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 31:[26, 19], Operations: ['93-67=26', '91-72=19']
Exploring Operation: 26-19=7, Resulting Numbers: [7]
7,31 unequal: No Solution
Exploring Operation: 26+19=45, Resulting Numbers: [45]
45,31 unequal: No Solution
Exploring Operation: 26*19=494, Resulting Numbers: [494]
494,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:[72, 65], Operations: ['93-67=26', '91-26=65']
Exploring Operation: 72*65=4680, Resulting Numbers: [4680]
4680,31 unequal: No Solution
Exploring Operation: 72-65=7, Resulting Numbers: [7]
7,31 unequal: No Solution
Exploring Operation: 72+65=137, Resulting Numbers: [137]
137,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 31:[91, 46], Operations: ['93-67=26', '72-26=46']
Exploring Operation: 91*46=4186, Resulting Numbers: [4186]
4186,31 unequal: No Solution
Exploring Operation: 91-46=45, Resulting Numbers: [45]
45,31 unequal: No Solution
Exploring Operation: 91+46=137, Resulting Numbers: [137]
137,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:[67, 72, 2], Operations: ['93-91=2']
Exploring Operation: 67-2=65, Resulting Numbers: [72, 65]
Generated Node #0,2,0: 31:[72, 65] Operation: 67-2=65
Exploring Operation: 72/2=36, Resulting Numbers: [67, 36]
Generated Node #0,2,1: 31:[67, 36] Operation: 72/2=36
Exploring Operation: 72-67=5, Resulting Numbers: [2, 5]
Generated Node #0,2,2: 31:[2, 5] Operation: 72-67=5
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 31:[67, 36], Operations: ['93-91=2', '72/2=36']
Exploring Operation: 67-36=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[67, 93, 72, 91], Operations: []
Exploring Operation: 93-91=2, Resulting Numbers: [67, 72, 2]
Generated Node #0,2: 31:[67, 72, 2] Operation: 93-91=2
Moving to Node #0,2
Current State: 31:[67, 72, 2], Operations: ['93-91=2']
Exploring Operation: 72/2=36, Resulting Numbers: [67, 36]
Generated Node #0,2,1: 31:[67, 36] Operation: 72/2=36
Moving to Node #0,2,1
Current State: 31:[67, 36], Operations: ['93-91=2', '72/2=36']
Exploring Operation: 67-36=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.969618 | hs_3 | sum_heuristic |
[
14,
4,
54,
82
] | 72 | [
"54-14=40",
"40/4=10",
"82-10=72"
] | Current State: 72:[14, 4, 54, 82], Operations: []
Exploring Operation: 54-14=40, Resulting Numbers: [4, 82, 40]
Generated Node #2: [4, 82, 40] from Operation: 54-14=40
Current State: 72:[4, 82, 40], Operations: ['54-14=40']
Exploring Operation: 40/4=10, Resulting Numbers: [82, 10]
Generated Node #3: [82, 10] from Operation: 40/4=10
Current State: 72:[82, 10], Operations: ['54-14=40', '40/4=10']
Exploring Operation: 82-10=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[14, 4, 54, 82], Operations: []
Exploring Operation: 14+54=68, Resulting Numbers: [4, 82, 68]
Generated Node #0,0: 72:[4, 82, 68] Operation: 14+54=68
Exploring Operation: 82-54=28, Resulting Numbers: [14, 4, 28]
Generated Node #0,1: 72:[14, 4, 28] Operation: 82-54=28
Start Sub Search at level 1: Moving to Node #0,1
Current State: 72:[14, 4, 28], Operations: ['82-54=28']
Exploring Operation: 28-14=14, Resulting Numbers: [4, 14]
Generated Node #0,1,0: 72:[4, 14] Operation: 28-14=14
Exploring Operation: 28/14=2, Resulting Numbers: [4, 2]
Generated Node #0,1,1: 72:[4, 2] Operation: 28/14=2
Moving to Node #0,1,1
Current State: 72:[4, 2], Operations: ['82-54=28', '28/14=2']
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,72 unequal: No Solution
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,72 unequal: No Solution
Moving to Node #0,1,0
Current State: 72:[4, 14], Operations: ['82-54=28', '28-14=14']
Exploring Operation: 4+14=18, Resulting Numbers: [18]
18,72 unequal: No Solution
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[4, 82, 68], Operations: ['14+54=68']
Exploring Operation: 82-68=14, Resulting Numbers: [4, 14]
Generated Node #0,0,0: 72:[4, 14] Operation: 82-68=14
Exploring Operation: 82-4=78, Resulting Numbers: [68, 78]
Generated Node #0,0,1: 72:[68, 78] Operation: 82-4=78
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 72:[4, 14], Operations: ['14+54=68', '82-68=14']
Exploring Operation: 4+14=18, Resulting Numbers: [18]
18,72 unequal: No Solution
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 72:[68, 78], Operations: ['14+54=68', '82-4=78']
Exploring Operation: 78-68=10, Resulting Numbers: [10]
10,72 unequal: No Solution
Exploring Operation: 68+78=146, Resulting Numbers: [146]
146,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
9,
40,
51,
81
] | 90 | [
"40+51=91",
"91-81=10",
"9*10=90"
] | Current State: 90:[9, 40, 51, 81], Operations: []
Exploring Operation: 40+51=91, Resulting Numbers: [9, 81, 91]
Generated Node #2: [9, 81, 91] from Operation: 40+51=91
Current State: 90:[9, 81, 91], Operations: ['40+51=91']
Exploring Operation: 91-81=10, Resulting Numbers: [9, 10]
Generated Node #3: [9, 10] from Operation: 91-81=10
Current State: 90:[9, 10], Operations: ['40+51=91', '91-81=10']
Exploring Operation: 9*10=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[9, 40, 51, 81], Operations: []
Exploring Operation: 81-51=30, Resulting Numbers: [9, 40, 30]
Generated Node #0,0: 90:[9, 40, 30] Operation: 81-51=30
Exploring Operation: 51-40=11, Resulting Numbers: [9, 81, 11]
Generated Node #0,1: 90:[9, 81, 11] Operation: 51-40=11
Exploring Operation: 81-40=41, Resulting Numbers: [9, 51, 41]
Generated Node #0,2: 90:[9, 51, 41] Operation: 81-40=41
Exploring Operation: 9+81=90, Resulting Numbers: [40, 51, 90]
Generated Node #0,3: 90:[40, 51, 90] Operation: 9+81=90
Exploring Operation: 40+51=91, Resulting Numbers: [9, 81, 91]
Generated Node #0,4: 90:[9, 81, 91] Operation: 40+51=91
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[9, 40, 30], Operations: ['81-51=30']
Exploring Operation: 30-9=21, Resulting Numbers: [40, 21]
Generated Node #0,0,0: 90:[40, 21] Operation: 30-9=21
Exploring Operation: 9+30=39, Resulting Numbers: [40, 39]
Generated Node #0,0,1: 90:[40, 39] Operation: 9+30=39
Exploring Operation: 9+40=49, Resulting Numbers: [30, 49]
Generated Node #0,0,2: 90:[30, 49] Operation: 9+40=49
Exploring Operation: 40-9=31, Resulting Numbers: [30, 31]
Generated Node #0,0,3: 90:[30, 31] Operation: 40-9=31
Exploring Operation: 40-30=10, Resulting Numbers: [9, 10]
Generated Node #0,0,4: 90:[9, 10] Operation: 40-30=10
Moving to Node #0,0,4
Current State: 90:[9, 10], Operations: ['81-51=30', '40-30=10']
Exploring Operation: 9+10=19, Resulting Numbers: [19]
19,90 unequal: No Solution
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,90 unequal: No Solution
Exploring Operation: 9*10=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[9, 40, 51, 81], Operations: []
Exploring Operation: 81-51=30, Resulting Numbers: [9, 40, 30]
Generated Node #0,0: 90:[9, 40, 30] Operation: 81-51=30
Moving to Node #0,0
Current State: 90:[9, 40, 30], Operations: ['81-51=30']
Exploring Operation: 40-30=10, Resulting Numbers: [9, 10]
Generated Node #0,0,4: 90:[9, 10] Operation: 40-30=10
Moving to Node #0,0,4
Current State: 90:[9, 10], Operations: ['81-51=30', '40-30=10']
Exploring Operation: 9*10=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
36,
74,
2,
50
] | 49 | [
"36+50=86",
"74/2=37",
"86-37=49"
] | Current State: 49:[36, 74, 2, 50], Operations: []
Exploring Operation: 36+50=86, Resulting Numbers: [74, 2, 86]
Generated Node #2: [74, 2, 86] from Operation: 36+50=86
Current State: 49:[74, 2, 86], Operations: ['36+50=86']
Exploring Operation: 74/2=37, Resulting Numbers: [86, 37]
Generated Node #3: [86, 37] from Operation: 74/2=37
Current State: 49:[86, 37], Operations: ['36+50=86', '74/2=37']
Exploring Operation: 86-37=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[36, 74, 2, 50], Operations: []
Exploring Operation: 74/2=37, Resulting Numbers: [36, 50, 37]
Generated Node #0,0: 49:[36, 50, 37] Operation: 74/2=37
Exploring Operation: 74-36=38, Resulting Numbers: [2, 50, 38]
Generated Node #0,1: 49:[2, 50, 38] Operation: 74-36=38
Moving to Node #0,1
Current State: 49:[2, 50, 38], Operations: ['74-36=38']
Exploring Operation: 2+38=40, Resulting Numbers: [50, 40]
Generated Node #0,1,0: 49:[50, 40] Operation: 2+38=40
Exploring Operation: 50-38=12, Resulting Numbers: [2, 12]
Generated Node #0,1,1: 49:[2, 12] Operation: 50-38=12
Moving to Node #0,0
Current State: 49:[36, 50, 37], Operations: ['74/2=37']
Exploring Operation: 37-36=1, Resulting Numbers: [50, 1]
Generated Node #0,0,0: 49:[50, 1] Operation: 37-36=1
Exploring Operation: 50-36=14, Resulting Numbers: [37, 14]
Generated Node #0,0,1: 49:[37, 14] Operation: 50-36=14
Moving to Node #0,0,0
Current State: 49:[50, 1], Operations: ['74/2=37', '37-36=1']
Exploring Operation: 50-1=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[36, 74, 2, 50], Operations: []
Exploring Operation: 74/2=37, Resulting Numbers: [36, 50, 37]
Generated Node #0,0: 49:[36, 50, 37] Operation: 74/2=37
Moving to Node #0,0
Current State: 49:[36, 50, 37], Operations: ['74/2=37']
Exploring Operation: 37-36=1, Resulting Numbers: [50, 1]
Generated Node #0,0,0: 49:[50, 1] Operation: 37-36=1
Moving to Node #0,0,0
Current State: 49:[50, 1], Operations: ['74/2=37', '37-36=1']
Exploring Operation: 50-1=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 0.990451 | hs_2 | mult_heuristic |
[
49,
28,
13,
97
] | 46 | [
"97-13=84",
"84/28=3",
"49-3=46"
] | Current State: 46:[49, 28, 13, 97], Operations: []
Exploring Operation: 97-13=84, Resulting Numbers: [49, 28, 84]
Generated Node #2: [49, 28, 84] from Operation: 97-13=84
Current State: 46:[49, 28, 84], Operations: ['97-13=84']
Exploring Operation: 84/28=3, Resulting Numbers: [49, 3]
Generated Node #3: [49, 3] from Operation: 84/28=3
Current State: 46:[49, 3], Operations: ['97-13=84', '84/28=3']
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[49, 28, 13, 97], Operations: []
Exploring Operation: 97-28=69, Resulting Numbers: [49, 13, 69]
Generated Node #0,0: 46:[49, 13, 69] Operation: 97-28=69
Exploring Operation: 97-13=84, Resulting Numbers: [49, 28, 84]
Generated Node #0,1: 46:[49, 28, 84] Operation: 97-13=84
Exploring Operation: 97-49=48, Resulting Numbers: [28, 13, 48]
Generated Node #0,2: 46:[28, 13, 48] Operation: 97-49=48
Exploring Operation: 28+13=41, Resulting Numbers: [49, 97, 41]
Generated Node #0,3: 46:[49, 97, 41] Operation: 28+13=41
Start Sub Search at level 1: Moving to Node #0,2
Current State: 46:[28, 13, 48], Operations: ['97-49=48']
Exploring Operation: 48-13=35, Resulting Numbers: [28, 35]
Generated Node #0,2,0: 46:[28, 35] Operation: 48-13=35
Exploring Operation: 48-28=20, Resulting Numbers: [13, 20]
Generated Node #0,2,1: 46:[13, 20] Operation: 48-28=20
Exploring Operation: 28+13=41, Resulting Numbers: [48, 41]
Generated Node #0,2,2: 46:[48, 41] Operation: 28+13=41
Exploring Operation: 28-13=15, Resulting Numbers: [48, 15]
Generated Node #0,2,3: 46:[48, 15] Operation: 28-13=15
Moving to Node #0,2,2
Current State: 46:[48, 41], Operations: ['97-49=48', '28+13=41']
Exploring Operation: 48*41=1968, Resulting Numbers: [1968]
1968,46 unequal: No Solution
Exploring Operation: 48-41=7, Resulting Numbers: [7]
7,46 unequal: No Solution
Exploring Operation: 48+41=89, Resulting Numbers: [89]
89,46 unequal: No Solution
Moving to Node #0,2,3
Current State: 46:[48, 15], Operations: ['97-49=48', '28-13=15']
Exploring Operation: 48+15=63, Resulting Numbers: [63]
63,46 unequal: No Solution
Exploring Operation: 48-15=33, Resulting Numbers: [33]
33,46 unequal: No Solution
Exploring Operation: 48*15=720, Resulting Numbers: [720]
720,46 unequal: No Solution
Moving to Node #0,2,1
Current State: 46:[13, 20], Operations: ['97-49=48', '48-28=20']
Exploring Operation: 13+20=33, Resulting Numbers: [33]
33,46 unequal: No Solution
Exploring Operation: 20-13=7, Resulting Numbers: [7]
7,46 unequal: No Solution
Exploring Operation: 13*20=260, Resulting Numbers: [260]
260,46 unequal: No Solution
Moving to Node #0,2,0
Current State: 46:[28, 35], Operations: ['97-49=48', '48-13=35']
Exploring Operation: 35-28=7, Resulting Numbers: [7]
7,46 unequal: No Solution
Exploring Operation: 28+35=63, Resulting Numbers: [63]
63,46 unequal: No Solution
Exploring Operation: 28*35=980, Resulting Numbers: [980]
980,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 46:[49, 13, 69], Operations: ['97-28=69']
Exploring Operation: 69-49=20, Resulting Numbers: [13, 20]
Generated Node #0,0,0: 46:[13, 20] Operation: 69-49=20
Exploring Operation: 49+13=62, Resulting Numbers: [69, 62]
Generated Node #0,0,1: 46:[69, 62] Operation: 49+13=62
Exploring Operation: 69-13=56, Resulting Numbers: [49, 56]
Generated Node #0,0,2: 46:[49, 56] Operation: 69-13=56
Exploring Operation: 49-13=36, Resulting Numbers: [69, 36]
Generated Node #0,0,3: 46:[69, 36] Operation: 49-13=36
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 46:[13, 20], Operations: ['97-28=69', '69-49=20']
Exploring Operation: 13*20=260, Resulting Numbers: [260]
260,46 unequal: No Solution
Exploring Operation: 20-13=7, Resulting Numbers: [7]
7,46 unequal: No Solution
Exploring Operation: 13+20=33, Resulting Numbers: [33]
33,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 46:[49, 56], Operations: ['97-28=69', '69-13=56']
Exploring Operation: 49+56=105, Resulting Numbers: [105]
105,46 unequal: No Solution
Exploring Operation: 56-49=7, Resulting Numbers: [7]
7,46 unequal: No Solution
Exploring Operation: 49*56=2744, Resulting Numbers: [2744]
2744,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 46:[69, 36], Operations: ['97-28=69', '49-13=36']
Exploring Operation: 69-36=33, Resulting Numbers: [33]
33,46 unequal: No Solution
Exploring Operation: 69+36=105, Resulting Numbers: [105]
105,46 unequal: No Solution
Exploring Operation: 69*36=2484, Resulting Numbers: [2484]
2484,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 46:[69, 62], Operations: ['97-28=69', '49+13=62']
Exploring Operation: 69-62=7, Resulting Numbers: [7]
7,46 unequal: No Solution
Exploring Operation: 69+62=131, Resulting Numbers: [131]
131,46 unequal: No Solution
Exploring Operation: 69*62=4278, Resulting Numbers: [4278]
4278,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 46:[49, 28, 84], Operations: ['97-13=84']
Exploring Operation: 84/28=3, Resulting Numbers: [49, 3]
Generated Node #0,1,0: 46:[49, 3] Operation: 84/28=3
Exploring Operation: 84-28=56, Resulting Numbers: [49, 56]
Generated Node #0,1,1: 46:[49, 56] Operation: 84-28=56
Exploring Operation: 84-49=35, Resulting Numbers: [28, 35]
Generated Node #0,1,2: 46:[28, 35] Operation: 84-49=35
Exploring Operation: 49-28=21, Resulting Numbers: [84, 21]
Generated Node #0,1,3: 46:[84, 21] Operation: 49-28=21
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 46:[49, 3], Operations: ['97-13=84', '84/28=3']
Exploring Operation: 49+3=52, Resulting Numbers: [52]
52,46 unequal: No Solution
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[49, 28, 13, 97], Operations: []
Exploring Operation: 97-13=84, Resulting Numbers: [49, 28, 84]
Generated Node #0,1: 46:[49, 28, 84] Operation: 97-13=84
Moving to Node #0,1
Current State: 46:[49, 28, 84], Operations: ['97-13=84']
Exploring Operation: 84/28=3, Resulting Numbers: [49, 3]
Generated Node #0,1,0: 46:[49, 3] Operation: 84/28=3
Moving to Node #0,1,0
Current State: 46:[49, 3], Operations: ['97-13=84', '84/28=3']
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.960069 | hs_4 | mult_heuristic |
[
64,
75,
49,
94
] | 13 | [
"75-64=11",
"49+94=143",
"143/11=13"
] | Current State: 13:[64, 75, 49, 94], Operations: []
Exploring Operation: 75-64=11, Resulting Numbers: [49, 94, 11]
Generated Node #2: [49, 94, 11] from Operation: 75-64=11
Current State: 13:[49, 94, 11], Operations: ['75-64=11']
Exploring Operation: 49+94=143, Resulting Numbers: [11, 143]
Generated Node #3: [11, 143] from Operation: 49+94=143
Current State: 13:[11, 143], Operations: ['75-64=11', '49+94=143']
Exploring Operation: 143/11=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[64, 75, 49, 94], Operations: []
Exploring Operation: 75-64=11, Resulting Numbers: [49, 94, 11]
Generated Node #0,0: 13:[49, 94, 11] Operation: 75-64=11
Exploring Operation: 94-64=30, Resulting Numbers: [75, 49, 30]
Generated Node #0,1: 13:[75, 49, 30] Operation: 94-64=30
Exploring Operation: 94-75=19, Resulting Numbers: [64, 49, 19]
Generated Node #0,2: 13:[64, 49, 19] Operation: 94-75=19
Exploring Operation: 75-49=26, Resulting Numbers: [64, 94, 26]
Generated Node #0,3: 13:[64, 94, 26] Operation: 75-49=26
Exploring Operation: 64-49=15, Resulting Numbers: [75, 94, 15]
Generated Node #0,4: 13:[75, 94, 15] Operation: 64-49=15
Start Sub Search at level 1: Moving to Node #0,2
Current State: 13:[64, 49, 19], Operations: ['94-75=19']
Exploring Operation: 64+49=113, Resulting Numbers: [19, 113]
Generated Node #0,2,0: 13:[19, 113] Operation: 64+49=113
Exploring Operation: 64-49=15, Resulting Numbers: [19, 15]
Generated Node #0,2,1: 13:[19, 15] Operation: 64-49=15
Exploring Operation: 64+19=83, Resulting Numbers: [49, 83]
Generated Node #0,2,2: 13:[49, 83] Operation: 64+19=83
Exploring Operation: 49-19=30, Resulting Numbers: [64, 30]
Generated Node #0,2,3: 13:[64, 30] Operation: 49-19=30
Exploring Operation: 64-19=45, Resulting Numbers: [49, 45]
Generated Node #0,2,4: 13:[49, 45] Operation: 64-19=45
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 13:[19, 15], Operations: ['94-75=19', '64-49=15']
Exploring Operation: 19-15=4, Resulting Numbers: [4]
4,13 unequal: No Solution
Exploring Operation: 19+15=34, Resulting Numbers: [34]
34,13 unequal: No Solution
Exploring Operation: 19*15=285, Resulting Numbers: [285]
285,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:[64, 30], Operations: ['94-75=19', '49-19=30']
Exploring Operation: 64*30=1920, Resulting Numbers: [1920]
1920,13 unequal: No Solution
Exploring Operation: 64+30=94, Resulting Numbers: [94]
94,13 unequal: No Solution
Exploring Operation: 64-30=34, Resulting Numbers: [34]
34,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:[49, 45], Operations: ['94-75=19', '64-19=45']
Exploring Operation: 49+45=94, Resulting Numbers: [94]
94,13 unequal: No Solution
Exploring Operation: 49-45=4, Resulting Numbers: [4]
4,13 unequal: No Solution
Exploring Operation: 49*45=2205, Resulting Numbers: [2205]
2205,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:[19, 113], Operations: ['94-75=19', '64+49=113']
Exploring Operation: 19*113=2147, Resulting Numbers: [2147]
2147,13 unequal: No Solution
Exploring Operation: 113-19=94, Resulting Numbers: [94]
94,13 unequal: No Solution
Exploring Operation: 19+113=132, Resulting Numbers: [132]
132,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:[49, 83], Operations: ['94-75=19', '64+19=83']
Exploring Operation: 49*83=4067, Resulting Numbers: [4067]
4067,13 unequal: No Solution
Exploring Operation: 83-49=34, Resulting Numbers: [34]
34,13 unequal: No Solution
Exploring Operation: 49+83=132, Resulting Numbers: [132]
132,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 13:[75, 49, 30], Operations: ['94-64=30']
Exploring Operation: 49-30=19, Resulting Numbers: [75, 19]
Generated Node #0,1,0: 13:[75, 19] Operation: 49-30=19
Exploring Operation: 75-30=45, Resulting Numbers: [49, 45]
Generated Node #0,1,1: 13:[49, 45] Operation: 75-30=45
Exploring Operation: 75-49=26, Resulting Numbers: [30, 26]
Generated Node #0,1,2: 13:[30, 26] Operation: 75-49=26
Exploring Operation: 75+49=124, Resulting Numbers: [30, 124]
Generated Node #0,1,3: 13:[30, 124] Operation: 75+49=124
Exploring Operation: 75+30=105, Resulting Numbers: [49, 105]
Generated Node #0,1,4: 13:[49, 105] Operation: 75+30=105
Moving to Node #0,1,2
Current State: 13:[30, 26], Operations: ['94-64=30', '75-49=26']
Exploring Operation: 30-26=4, Resulting Numbers: [4]
4,13 unequal: No Solution
Exploring Operation: 30+26=56, Resulting Numbers: [56]
56,13 unequal: No Solution
Exploring Operation: 30*26=780, Resulting Numbers: [780]
780,13 unequal: No Solution
Moving to Node #0,1,1
Current State: 13:[49, 45], Operations: ['94-64=30', '75-30=45']
Exploring Operation: 49*45=2205, Resulting Numbers: [2205]
2205,13 unequal: No Solution
Exploring Operation: 49+45=94, Resulting Numbers: [94]
94,13 unequal: No Solution
Exploring Operation: 49-45=4, Resulting Numbers: [4]
4,13 unequal: No Solution
Moving to Node #0,1,0
Current State: 13:[75, 19], Operations: ['94-64=30', '49-30=19']
Exploring Operation: 75+19=94, Resulting Numbers: [94]
94,13 unequal: No Solution
Exploring Operation: 75-19=56, Resulting Numbers: [56]
56,13 unequal: No Solution
Exploring Operation: 75*19=1425, Resulting Numbers: [1425]
1425,13 unequal: No Solution
Moving to Node #0,1,3
Current State: 13:[30, 124], Operations: ['94-64=30', '75+49=124']
Exploring Operation: 124-30=94, Resulting Numbers: [94]
94,13 unequal: No Solution
Exploring Operation: 30+124=154, Resulting Numbers: [154]
154,13 unequal: No Solution
Exploring Operation: 30*124=3720, Resulting Numbers: [3720]
3720,13 unequal: No Solution
Moving to Node #0,1,4
Current State: 13:[49, 105], Operations: ['94-64=30', '75+30=105']
Exploring Operation: 105-49=56, Resulting Numbers: [56]
56,13 unequal: No Solution
Exploring Operation: 49+105=154, Resulting Numbers: [154]
154,13 unequal: No Solution
Exploring Operation: 49*105=5145, Resulting Numbers: [5145]
5145,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,0
Current State: 13:[49, 94, 11], Operations: ['75-64=11']
Exploring Operation: 49-11=38, Resulting Numbers: [94, 38]
Generated Node #0,0,0: 13:[94, 38] Operation: 49-11=38
Exploring Operation: 94-49=45, Resulting Numbers: [11, 45]
Generated Node #0,0,1: 13:[11, 45] Operation: 94-49=45
Exploring Operation: 49+11=60, Resulting Numbers: [94, 60]
Generated Node #0,0,2: 13:[94, 60] Operation: 49+11=60
Exploring Operation: 94+11=105, Resulting Numbers: [49, 105]
Generated Node #0,0,3: 13:[49, 105] Operation: 94+11=105
Exploring Operation: 94-11=83, Resulting Numbers: [49, 83]
Generated Node #0,0,4: 13:[49, 83] Operation: 94-11=83
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 13:[11, 45], Operations: ['75-64=11', '94-49=45']
Exploring Operation: 45-11=34, Resulting Numbers: [34]
34,13 unequal: No Solution
Exploring Operation: 11+45=56, Resulting Numbers: [56]
56,13 unequal: No Solution
Exploring Operation: 11*45=495, Resulting Numbers: [495]
495,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 13:[94, 38], Operations: ['75-64=11', '49-11=38']
Exploring Operation: 94+38=132, Resulting Numbers: [132]
132,13 unequal: No Solution
Exploring Operation: 94-38=56, Resulting Numbers: [56]
56,13 unequal: No Solution
Exploring Operation: 94*38=3572, Resulting Numbers: [3572]
3572,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 13:[49, 83], Operations: ['75-64=11', '94-11=83']
Exploring Operation: 83-49=34, Resulting Numbers: [34]
34,13 unequal: No Solution
Exploring Operation: 49+83=132, Resulting Numbers: [132]
132,13 unequal: No Solution
Exploring Operation: 49*83=4067, Resulting Numbers: [4067]
4067,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 13:[94, 60], Operations: ['75-64=11', '49+11=60']
Exploring Operation: 94+60=154, Resulting Numbers: [154]
154,13 unequal: No Solution
Exploring Operation: 94*60=5640, Resulting Numbers: [5640]
5640,13 unequal: No Solution
Exploring Operation: 94-60=34, Resulting Numbers: [34]
34,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 13:[49, 105], Operations: ['75-64=11', '94+11=105']
Exploring Operation: 105-49=56, Resulting Numbers: [56]
56,13 unequal: No Solution
Exploring Operation: 49*105=5145, Resulting Numbers: [5145]
5145,13 unequal: No Solution
Exploring Operation: 49+105=154, Resulting Numbers: [154]
154,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:[64, 94, 26], Operations: ['75-49=26']
Exploring Operation: 64-26=38, Resulting Numbers: [94, 38]
Generated Node #0,3,0: 13:[94, 38] Operation: 64-26=38
Exploring Operation: 94-26=68, Resulting Numbers: [64, 68]
Generated Node #0,3,1: 13:[64, 68] Operation: 94-26=68
Exploring Operation: 64+26=90, Resulting Numbers: [94, 90]
Generated Node #0,3,2: 13:[94, 90] Operation: 64+26=90
Exploring Operation: 64+94=158, Resulting Numbers: [26, 158]
Generated Node #0,3,3: 13:[26, 158] Operation: 64+94=158
Exploring Operation: 94-64=30, Resulting Numbers: [26, 30]
Generated Node #0,3,4: 13:[26, 30] Operation: 94-64=30
Moving to Node #0,3,4
Current State: 13:[26, 30], Operations: ['75-49=26', '94-64=30']
Exploring Operation: 26+30=56, Resulting Numbers: [56]
56,13 unequal: No Solution
Exploring Operation: 30-26=4, Resulting Numbers: [4]
4,13 unequal: No Solution
Exploring Operation: 26*30=780, Resulting Numbers: [780]
780,13 unequal: No Solution
Moving to Node #0,3,1
Current State: 13:[64, 68], Operations: ['75-49=26', '94-26=68']
Exploring Operation: 68-64=4, Resulting Numbers: [4]
4,13 unequal: No Solution
Exploring Operation: 64+68=132, Resulting Numbers: [132]
132,13 unequal: No Solution
Exploring Operation: 64*68=4352, Resulting Numbers: [4352]
4352,13 unequal: No Solution
Moving to Node #0,3,0
Current State: 13:[94, 38], Operations: ['75-49=26', '64-26=38']
Exploring Operation: 94-38=56, Resulting Numbers: [56]
56,13 unequal: No Solution
Exploring Operation: 94+38=132, Resulting Numbers: [132]
132,13 unequal: No Solution
Exploring Operation: 94*38=3572, Resulting Numbers: [3572]
3572,13 unequal: No Solution
Moving to Node #0,3,2
Current State: 13:[94, 90], Operations: ['75-49=26', '64+26=90']
Exploring Operation: 94*90=8460, Resulting Numbers: [8460]
8460,13 unequal: No Solution
Exploring Operation: 94-90=4, Resulting Numbers: [4]
4,13 unequal: No Solution
Exploring Operation: 94+90=184, Resulting Numbers: [184]
184,13 unequal: No Solution
Moving to Node #0,3,3
Current State: 13:[26, 158], Operations: ['75-49=26', '64+94=158']
Exploring Operation: 26*158=4108, Resulting Numbers: [4108]
4108,13 unequal: No Solution
Exploring Operation: 158-26=132, Resulting Numbers: [132]
132,13 unequal: No Solution
Exploring Operation: 26+158=184, Resulting Numbers: [184]
184,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,4
Current State: 13:[75, 94, 15], Operations: ['64-49=15']
Exploring Operation: 75-15=60, Resulting Numbers: [94, 60]
Generated Node #0,4,0: 13:[94, 60] Operation: 75-15=60
Exploring Operation: 94-75=19, Resulting Numbers: [15, 19]
Generated Node #0,4,1: 13:[15, 19] Operation: 94-75=19
Exploring Operation: 94-15=79, Resulting Numbers: [75, 79]
Generated Node #0,4,2: 13:[75, 79] Operation: 94-15=79
Exploring Operation: 75/15=5, Resulting Numbers: [94, 5]
Generated Node #0,4,3: 13:[94, 5] Operation: 75/15=5
Exploring Operation: 75+94=169, Resulting Numbers: [15, 169]
Generated Node #0,4,4: 13:[15, 169] Operation: 75+94=169
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 13:[15, 19], Operations: ['64-49=15', '94-75=19']
Exploring Operation: 15*19=285, Resulting Numbers: [285]
285,13 unequal: No Solution
Exploring Operation: 15+19=34, Resulting Numbers: [34]
34,13 unequal: No Solution
Exploring Operation: 19-15=4, Resulting Numbers: [4]
4,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,4,3
Current State: 13:[94, 5], Operations: ['64-49=15', '75/15=5']
Exploring Operation: 94*5=470, Resulting Numbers: [470]
470,13 unequal: No Solution
Exploring Operation: 94+5=99, Resulting Numbers: [99]
99,13 unequal: No Solution
Exploring Operation: 94-5=89, Resulting Numbers: [89]
89,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,4,0
Current State: 13:[94, 60], Operations: ['64-49=15', '75-15=60']
Exploring Operation: 94-60=34, Resulting Numbers: [34]
34,13 unequal: No Solution
Exploring Operation: 94+60=154, Resulting Numbers: [154]
154,13 unequal: No Solution
Exploring Operation: 94*60=5640, Resulting Numbers: [5640]
5640,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,4,2
Current State: 13:[75, 79], Operations: ['64-49=15', '94-15=79']
Exploring Operation: 75+79=154, Resulting Numbers: [154]
154,13 unequal: No Solution
Exploring Operation: 75*79=5925, Resulting Numbers: [5925]
5925,13 unequal: No Solution
Exploring Operation: 79-75=4, Resulting Numbers: [4]
4,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,4,4
Current State: 13:[15, 169], Operations: ['64-49=15', '75+94=169']
Exploring Operation: 15+169=184, Resulting Numbers: [184]
184,13 unequal: No Solution
Exploring Operation: 15*169=2535, Resulting Numbers: [2535]
2535,13 unequal: No Solution
Exploring Operation: 169-15=154, Resulting Numbers: [154]
154,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
No solution found.
| 0 | hs_5 | mult_heuristic |
[
7,
26,
10,
32
] | 65 | [
"32-7=25",
"26*25=650",
"650/10=65"
] | Current State: 65:[7, 26, 10, 32], Operations: []
Exploring Operation: 32-7=25, Resulting Numbers: [26, 10, 25]
Generated Node #2: [26, 10, 25] from Operation: 32-7=25
Current State: 65:[26, 10, 25], Operations: ['32-7=25']
Exploring Operation: 26*25=650, Resulting Numbers: [10, 650]
Generated Node #3: [10, 650] from Operation: 26*25=650
Current State: 65:[10, 650], Operations: ['32-7=25', '26*25=650']
Exploring Operation: 650/10=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[7, 26, 10, 32], Operations: []
Exploring Operation: 26-10=16, Resulting Numbers: [7, 32, 16]
Generated Node #0,0: 65:[7, 32, 16] Operation: 26-10=16
Exploring Operation: 32-26=6, Resulting Numbers: [7, 10, 6]
Generated Node #0,1: 65:[7, 10, 6] Operation: 32-26=6
Exploring Operation: 26+32=58, Resulting Numbers: [7, 10, 58]
Generated Node #0,2: 65:[7, 10, 58] Operation: 26+32=58
Moving to Node #0,1
Current State: 65:[7, 10, 6], Operations: ['32-26=6']
Exploring Operation: 10-7=3, Resulting Numbers: [6, 3]
Generated Node #0,1,0: 65:[6, 3] Operation: 10-7=3
Exploring Operation: 10-6=4, Resulting Numbers: [7, 4]
Generated Node #0,1,1: 65:[7, 4] Operation: 10-6=4
Exploring Operation: 7+6=13, Resulting Numbers: [10, 13]
Generated Node #0,1,2: 65:[10, 13] Operation: 7+6=13
Moving to Node #0,2
Current State: 65:[7, 10, 58], Operations: ['26+32=58']
Exploring Operation: 7+58=65, Resulting Numbers: [10, 65]
Generated Node #0,2,0: 65:[10, 65] Operation: 7+58=65
Exploring Operation: 10-7=3, Resulting Numbers: [58, 3]
Generated Node #0,2,1: 65:[58, 3] Operation: 10-7=3
Exploring Operation: 10+58=68, Resulting Numbers: [7, 68]
Generated Node #0,2,2: 65:[7, 68] Operation: 10+58=68
Moving to Node #0,0
Current State: 65:[7, 32, 16], Operations: ['26-10=16']
Exploring Operation: 32-16=16, Resulting Numbers: [7, 16]
Generated Node #0,0,0: 65:[7, 16] Operation: 32-16=16
Exploring Operation: 32/16=2, Resulting Numbers: [7, 2]
Generated Node #0,0,1: 65:[7, 2] Operation: 32/16=2
Exploring Operation: 32-7=25, Resulting Numbers: [16, 25]
Generated Node #0,0,2: 65:[16, 25] Operation: 32-7=25
Moving to Node #0,1,0
Current State: 65:[6, 3], Operations: ['32-26=6', '10-7=3']
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,65 unequal: No Solution
Exploring Operation: 6+3=9, Resulting Numbers: [9]
9,65 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,65 unequal: No Solution
Moving to Node #0,1,2
Current State: 65:[10, 13], Operations: ['32-26=6', '7+6=13']
Exploring Operation: 10*13=130, Resulting Numbers: [130]
130,65 unequal: No Solution
Exploring Operation: 10+13=23, Resulting Numbers: [23]
23,65 unequal: No Solution
Exploring Operation: 13-10=3, Resulting Numbers: [3]
3,65 unequal: No Solution
Moving to Node #0,1,1
Current State: 65:[7, 4], Operations: ['32-26=6', '10-6=4']
Exploring Operation: 7+4=11, Resulting Numbers: [11]
11,65 unequal: No Solution
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,65 unequal: No Solution
Exploring Operation: 7*4=28, Resulting Numbers: [28]
28,65 unequal: No Solution
Moving to Node #0,2,0
Current State: 65:[10, 65], Operations: ['26+32=58', '7+58=65']
Exploring Operation: 65-10=55, Resulting Numbers: [55]
55,65 unequal: No Solution
Exploring Operation: 10+65=75, Resulting Numbers: [75]
75,65 unequal: No Solution
Exploring Operation: 10*65=650, Resulting Numbers: [650]
650,65 unequal: No Solution
Moving to Node #0,0,0
Current State: 65:[7, 16], Operations: ['26-10=16', '32-16=16']
Exploring Operation: 7*16=112, Resulting Numbers: [112]
112,65 unequal: No Solution
Exploring Operation: 16-7=9, Resulting Numbers: [9]
9,65 unequal: No Solution
Exploring Operation: 7+16=23, Resulting Numbers: [23]
23,65 unequal: No Solution
Moving to Node #0,2,2
Current State: 65:[7, 68], Operations: ['26+32=58', '10+58=68']
Exploring Operation: 68-7=61, Resulting Numbers: [61]
61,65 unequal: No Solution
Exploring Operation: 7*68=476, Resulting Numbers: [476]
476,65 unequal: No Solution
Exploring Operation: 7+68=75, Resulting Numbers: [75]
75,65 unequal: No Solution
Moving to Node #0,0,1
Current State: 65:[7, 2], Operations: ['26-10=16', '32/16=2']
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,65 unequal: No Solution
Exploring Operation: 7+2=9, Resulting Numbers: [9]
9,65 unequal: No Solution
Exploring Operation: 7*2=14, Resulting Numbers: [14]
14,65 unequal: No Solution
Moving to Node #0,2,1
Current State: 65:[58, 3], Operations: ['26+32=58', '10-7=3']
Exploring Operation: 58*3=174, Resulting Numbers: [174]
174,65 unequal: No Solution
Exploring Operation: 58+3=61, Resulting Numbers: [61]
61,65 unequal: No Solution
Exploring Operation: 58-3=55, Resulting Numbers: [55]
55,65 unequal: No Solution
Moving to Node #0,0,2
Current State: 65:[16, 25], Operations: ['26-10=16', '32-7=25']
Exploring Operation: 25-16=9, Resulting Numbers: [9]
9,65 unequal: No Solution
Exploring Operation: 16+25=41, Resulting Numbers: [41]
41,65 unequal: No Solution
Exploring Operation: 16*25=400, Resulting Numbers: [400]
400,65 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
27,
63,
54,
53
] | 71 | [
"63-27=36",
"54+53=107",
"107-36=71"
] | Current State: 71:[27, 63, 54, 53], Operations: []
Exploring Operation: 63-27=36, Resulting Numbers: [54, 53, 36]
Generated Node #2: [54, 53, 36] from Operation: 63-27=36
Current State: 71:[54, 53, 36], Operations: ['63-27=36']
Exploring Operation: 54+53=107, Resulting Numbers: [36, 107]
Generated Node #3: [36, 107] from Operation: 54+53=107
Current State: 71:[36, 107], Operations: ['63-27=36', '54+53=107']
Exploring Operation: 107-36=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[27, 63, 54, 53], Operations: []
Exploring Operation: 54-27=27, Resulting Numbers: [63, 53, 27]
Generated Node #0,0: 71:[63, 53, 27] Operation: 54-27=27
Exploring Operation: 27+63=90, Resulting Numbers: [54, 53, 90]
Generated Node #0,1: 71:[54, 53, 90] Operation: 27+63=90
Exploring Operation: 63-27=36, Resulting Numbers: [54, 53, 36]
Generated Node #0,2: 71:[54, 53, 36] Operation: 63-27=36
Exploring Operation: 27+53=80, Resulting Numbers: [63, 54, 80]
Generated Node #0,3: 71:[63, 54, 80] Operation: 27+53=80
Exploring Operation: 27+54=81, Resulting Numbers: [63, 53, 81]
Generated Node #0,4: 71:[63, 53, 81] Operation: 27+54=81
Moving to Node #0,3
Current State: 71:[63, 54, 80], Operations: ['27+53=80']
Exploring Operation: 80-54=26, Resulting Numbers: [63, 26]
Generated Node #0,3,0: 71:[63, 26] Operation: 80-54=26
Exploring Operation: 54+80=134, Resulting Numbers: [63, 134]
Generated Node #0,3,1: 71:[63, 134] Operation: 54+80=134
Exploring Operation: 63+54=117, Resulting Numbers: [80, 117]
Generated Node #0,3,2: 71:[80, 117] Operation: 63+54=117
Exploring Operation: 80-63=17, Resulting Numbers: [54, 17]
Generated Node #0,3,3: 71:[54, 17] Operation: 80-63=17
Exploring Operation: 63-54=9, Resulting Numbers: [80, 9]
Generated Node #0,3,4: 71:[80, 9] Operation: 63-54=9
Moving to Node #0,4
Current State: 71:[63, 53, 81], Operations: ['27+54=81']
Exploring Operation: 63+53=116, Resulting Numbers: [81, 116]
Generated Node #0,4,0: 71:[81, 116] Operation: 63+53=116
Exploring Operation: 81-53=28, Resulting Numbers: [63, 28]
Generated Node #0,4,1: 71:[63, 28] Operation: 81-53=28
Exploring Operation: 63-53=10, Resulting Numbers: [81, 10]
Generated Node #0,4,2: 71:[81, 10] Operation: 63-53=10
Exploring Operation: 81-63=18, Resulting Numbers: [53, 18]
Generated Node #0,4,3: 71:[53, 18] Operation: 81-63=18
Exploring Operation: 53+81=134, Resulting Numbers: [63, 134]
Generated Node #0,4,4: 71:[63, 134] Operation: 53+81=134
Moving to Node #0,1
Current State: 71:[54, 53, 90], Operations: ['27+63=90']
Exploring Operation: 53+90=143, Resulting Numbers: [54, 143]
Generated Node #0,1,0: 71:[54, 143] Operation: 53+90=143
Exploring Operation: 54+53=107, Resulting Numbers: [90, 107]
Generated Node #0,1,1: 71:[90, 107] Operation: 54+53=107
Exploring Operation: 54-53=1, Resulting Numbers: [90, 1]
Generated Node #0,1,2: 71:[90, 1] Operation: 54-53=1
Exploring Operation: 90-54=36, Resulting Numbers: [53, 36]
Generated Node #0,1,3: 71:[53, 36] Operation: 90-54=36
Exploring Operation: 90-53=37, Resulting Numbers: [54, 37]
Generated Node #0,1,4: 71:[54, 37] Operation: 90-53=37
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 71:[54, 37], Operations: ['27+63=90', '90-53=37']
Exploring Operation: 54-37=17, Resulting Numbers: [17]
17,71 unequal: No Solution
Exploring Operation: 54*37=1998, Resulting Numbers: [1998]
1998,71 unequal: No Solution
Exploring Operation: 54+37=91, Resulting Numbers: [91]
91,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,3
Current State: 71:[53, 36], Operations: ['27+63=90', '90-54=36']
Exploring Operation: 53+36=89, Resulting Numbers: [89]
89,71 unequal: No Solution
Exploring Operation: 53*36=1908, Resulting Numbers: [1908]
1908,71 unequal: No Solution
Exploring Operation: 53-36=17, Resulting Numbers: [17]
17,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,1
Current State: 71:[90, 107], Operations: ['27+63=90', '54+53=107']
Exploring Operation: 107-90=17, Resulting Numbers: [17]
17,71 unequal: No Solution
Exploring Operation: 90*107=9630, Resulting Numbers: [9630]
9630,71 unequal: No Solution
Exploring Operation: 90+107=197, Resulting Numbers: [197]
197,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,0
Current State: 71:[54, 143], Operations: ['27+63=90', '53+90=143']
Exploring Operation: 54+143=197, Resulting Numbers: [197]
197,71 unequal: No Solution
Exploring Operation: 143-54=89, Resulting Numbers: [89]
89,71 unequal: No Solution
Exploring Operation: 54*143=7722, Resulting Numbers: [7722]
7722,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,2
Current State: 71:[90, 1], Operations: ['27+63=90', '54-53=1']
Exploring Operation: 90+1=91, Resulting Numbers: [91]
91,71 unequal: No Solution
Exploring Operation: 90/1=90, Resulting Numbers: [90]
90,71 unequal: No Solution
Exploring Operation: 90*1=90, Resulting Numbers: [90]
90,71 unequal: No Solution
Exploring Operation: 90-1=89, Resulting Numbers: [89]
89,71 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: 71:[63, 53, 27], Operations: ['54-27=27']
Exploring Operation: 53-27=26, Resulting Numbers: [63, 26]
Generated Node #0,0,0: 71:[63, 26] Operation: 53-27=26
Exploring Operation: 63+27=90, Resulting Numbers: [53, 90]
Generated Node #0,0,1: 71:[53, 90] Operation: 63+27=90
Exploring Operation: 63-27=36, Resulting Numbers: [53, 36]
Generated Node #0,0,2: 71:[53, 36] Operation: 63-27=36
Exploring Operation: 63+53=116, Resulting Numbers: [27, 116]
Generated Node #0,0,3: 71:[27, 116] Operation: 63+53=116
Exploring Operation: 53+27=80, Resulting Numbers: [63, 80]
Generated Node #0,0,4: 71:[63, 80] Operation: 53+27=80
Moving to Node #0,2
Current State: 71:[54, 53, 36], Operations: ['63-27=36']
Exploring Operation: 54+53=107, Resulting Numbers: [36, 107]
Generated Node #0,2,0: 71:[36, 107] Operation: 54+53=107
Exploring Operation: 53-36=17, Resulting Numbers: [54, 17]
Generated Node #0,2,1: 71:[54, 17] Operation: 53-36=17
Exploring Operation: 53+36=89, Resulting Numbers: [54, 89]
Generated Node #0,2,2: 71:[54, 89] Operation: 53+36=89
Exploring Operation: 54-36=18, Resulting Numbers: [53, 18]
Generated Node #0,2,3: 71:[53, 18] Operation: 54-36=18
Exploring Operation: 54+36=90, Resulting Numbers: [53, 90]
Generated Node #0,2,4: 71:[53, 90] Operation: 54+36=90
Moving to Node #0,0,4
Current State: 71:[63, 80], Operations: ['54-27=27', '53+27=80']
Exploring Operation: 63*80=5040, Resulting Numbers: [5040]
5040,71 unequal: No Solution
Exploring Operation: 63+80=143, Resulting Numbers: [143]
143,71 unequal: No Solution
Exploring Operation: 80-63=17, Resulting Numbers: [17]
17,71 unequal: No Solution
Moving to Node #0,2,2
Current State: 71:[54, 89], Operations: ['63-27=36', '53+36=89']
Exploring Operation: 89-54=35, Resulting Numbers: [35]
35,71 unequal: No Solution
Exploring Operation: 54+89=143, Resulting Numbers: [143]
143,71 unequal: No Solution
Exploring Operation: 54*89=4806, Resulting Numbers: [4806]
4806,71 unequal: No Solution
Moving to Node #0,0,1
Current State: 71:[53, 90], Operations: ['54-27=27', '63+27=90']
Exploring Operation: 53+90=143, Resulting Numbers: [143]
143,71 unequal: No Solution
Exploring Operation: 90-53=37, Resulting Numbers: [37]
37,71 unequal: No Solution
Exploring Operation: 53*90=4770, Resulting Numbers: [4770]
4770,71 unequal: No Solution
Moving to Node #0,2,4
Current State: 71:[53, 90], Operations: ['63-27=36', '54+36=90']
Exploring Operation: 90-53=37, Resulting Numbers: [37]
37,71 unequal: No Solution
Exploring Operation: 53+90=143, Resulting Numbers: [143]
143,71 unequal: No Solution
Exploring Operation: 53*90=4770, Resulting Numbers: [4770]
4770,71 unequal: No Solution
Moving to Node #0,4,1
Current State: 71:[63, 28], Operations: ['27+54=81', '81-53=28']
Exploring Operation: 63*28=1764, Resulting Numbers: [1764]
1764,71 unequal: No Solution
Exploring Operation: 63-28=35, Resulting Numbers: [35]
35,71 unequal: No Solution
Exploring Operation: 63+28=91, Resulting Numbers: [91]
91,71 unequal: No Solution
Moving to Node #0,0,2
Current State: 71:[53, 36], Operations: ['54-27=27', '63-27=36']
Exploring Operation: 53+36=89, Resulting Numbers: [89]
89,71 unequal: No Solution
Exploring Operation: 53*36=1908, Resulting Numbers: [1908]
1908,71 unequal: No Solution
Exploring Operation: 53-36=17, Resulting Numbers: [17]
17,71 unequal: No Solution
Moving to Node #0,3,0
Current State: 71:[63, 26], Operations: ['27+53=80', '80-54=26']
Exploring Operation: 63*26=1638, Resulting Numbers: [1638]
1638,71 unequal: No Solution
Exploring Operation: 63+26=89, Resulting Numbers: [89]
89,71 unequal: No Solution
Exploring Operation: 63-26=37, Resulting Numbers: [37]
37,71 unequal: No Solution
Moving to Node #0,0,0
Current State: 71:[63, 26], Operations: ['54-27=27', '53-27=26']
Exploring Operation: 63*26=1638, Resulting Numbers: [1638]
1638,71 unequal: No Solution
Exploring Operation: 63+26=89, Resulting Numbers: [89]
89,71 unequal: No Solution
Exploring Operation: 63-26=37, Resulting Numbers: [37]
37,71 unequal: No Solution
Moving to Node #0,4,0
Current State: 71:[81, 116], Operations: ['27+54=81', '63+53=116']
Exploring Operation: 81+116=197, Resulting Numbers: [197]
197,71 unequal: No Solution
Exploring Operation: 116-81=35, Resulting Numbers: [35]
35,71 unequal: No Solution
Exploring Operation: 81*116=9396, Resulting Numbers: [9396]
9396,71 unequal: No Solution
Moving to Node #0,3,2
Current State: 71:[80, 117], Operations: ['27+53=80', '63+54=117']
Exploring Operation: 117-80=37, Resulting Numbers: [37]
37,71 unequal: No Solution
Exploring Operation: 80+117=197, Resulting Numbers: [197]
197,71 unequal: No Solution
Exploring Operation: 80*117=9360, Resulting Numbers: [9360]
9360,71 unequal: No Solution
Moving to Node #0,2,1
Current State: 71:[54, 17], Operations: ['63-27=36', '53-36=17']
Exploring Operation: 54*17=918, Resulting Numbers: [918]
918,71 unequal: No Solution
Exploring Operation: 54+17=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[27, 63, 54, 53], Operations: []
Exploring Operation: 63-27=36, Resulting Numbers: [54, 53, 36]
Generated Node #0,2: 71:[54, 53, 36] Operation: 63-27=36
Moving to Node #0,2
Current State: 71:[54, 53, 36], Operations: ['63-27=36']
Exploring Operation: 53-36=17, Resulting Numbers: [54, 17]
Generated Node #0,2,1: 71:[54, 17] Operation: 53-36=17
Moving to Node #0,2,1
Current State: 71:[54, 17], Operations: ['63-27=36', '53-36=17']
Exploring Operation: 54+17=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 0.928819 | hs_5 | mult_heuristic |
[
93,
98,
95,
15
] | 81 | [
"93+98=191",
"95+15=110",
"191-110=81"
] | Current State: 81:[93, 98, 95, 15], Operations: []
Exploring Operation: 93+98=191, Resulting Numbers: [95, 15, 191]
Generated Node #2: [95, 15, 191] from Operation: 93+98=191
Current State: 81:[95, 15, 191], Operations: ['93+98=191']
Exploring Operation: 95+15=110, Resulting Numbers: [191, 110]
Generated Node #3: [191, 110] from Operation: 95+15=110
Current State: 81:[191, 110], Operations: ['93+98=191', '95+15=110']
Exploring Operation: 191-110=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[93, 98, 95, 15], Operations: []
Exploring Operation: 98-93=5, Resulting Numbers: [95, 15, 5]
Generated Node #0,0: 81:[95, 15, 5] Operation: 98-93=5
Exploring Operation: 98-95=3, Resulting Numbers: [93, 15, 3]
Generated Node #0,1: 81:[93, 15, 3] Operation: 98-95=3
Exploring Operation: 95-93=2, Resulting Numbers: [98, 15, 2]
Generated Node #0,2: 81:[98, 15, 2] Operation: 95-93=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 81:[93, 15, 3], Operations: ['98-95=3']
Exploring Operation: 93/3=31, Resulting Numbers: [15, 31]
Generated Node #0,1,0: 81:[15, 31] Operation: 93/3=31
Exploring Operation: 93-15=78, Resulting Numbers: [3, 78]
Generated Node #0,1,1: 81:[3, 78] Operation: 93-15=78
Exploring Operation: 15/3=5, Resulting Numbers: [93, 5]
Generated Node #0,1,2: 81:[93, 5] Operation: 15/3=5
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 81:[3, 78], Operations: ['98-95=3', '93-15=78']
Exploring Operation: 78-3=75, Resulting Numbers: [75]
75,81 unequal: No Solution
Exploring Operation: 78/3=26, Resulting Numbers: [26]
26,81 unequal: No Solution
Exploring Operation: 3+78=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[93, 98, 95, 15], Operations: []
Exploring Operation: 98-95=3, Resulting Numbers: [93, 15, 3]
Generated Node #0,1: 81:[93, 15, 3] Operation: 98-95=3
Moving to Node #0,1
Current State: 81:[93, 15, 3], Operations: ['98-95=3']
Exploring Operation: 93-15=78, Resulting Numbers: [3, 78]
Generated Node #0,1,1: 81:[3, 78] Operation: 93-15=78
Moving to Node #0,1,1
Current State: 81:[3, 78], Operations: ['98-95=3', '93-15=78']
Exploring Operation: 3+78=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
60,
86,
81,
79
] | 67 | [
"86-81=5",
"60/5=12",
"79-12=67"
] | Current State: 67:[60, 86, 81, 79], Operations: []
Exploring Operation: 86-81=5, Resulting Numbers: [60, 79, 5]
Generated Node #2: [60, 79, 5] from Operation: 86-81=5
Current State: 67:[60, 79, 5], Operations: ['86-81=5']
Exploring Operation: 60/5=12, Resulting Numbers: [79, 12]
Generated Node #3: [79, 12] from Operation: 60/5=12
Current State: 67:[79, 12], Operations: ['86-81=5', '60/5=12']
Exploring Operation: 79-12=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[60, 86, 81, 79], Operations: []
Exploring Operation: 86-60=26, Resulting Numbers: [81, 79, 26]
Generated Node #0,0: 67:[81, 79, 26] Operation: 86-60=26
Exploring Operation: 81-60=21, Resulting Numbers: [86, 79, 21]
Generated Node #0,1: 67:[86, 79, 21] Operation: 81-60=21
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[81, 79, 26], Operations: ['86-60=26']
Exploring Operation: 79-26=53, Resulting Numbers: [81, 53]
Generated Node #0,0,0: 67:[81, 53] Operation: 79-26=53
Exploring Operation: 81-26=55, Resulting Numbers: [79, 55]
Generated Node #0,0,1: 67:[79, 55] Operation: 81-26=55
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 67:[79, 55], Operations: ['86-60=26', '81-26=55']
Exploring Operation: 79+55=134, Resulting Numbers: [134]
134,67 unequal: No Solution
Exploring Operation: 79-55=24, Resulting Numbers: [24]
24,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 67:[81, 53], Operations: ['86-60=26', '79-26=53']
Exploring Operation: 81+53=134, Resulting Numbers: [134]
134,67 unequal: No Solution
Exploring Operation: 81-53=28, Resulting Numbers: [28]
28,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 67:[86, 79, 21], Operations: ['81-60=21']
Exploring Operation: 79-21=58, Resulting Numbers: [86, 58]
Generated Node #0,1,0: 67:[86, 58] Operation: 79-21=58
Exploring Operation: 86-21=65, Resulting Numbers: [79, 65]
Generated Node #0,1,1: 67:[79, 65] Operation: 86-21=65
Moving to Node #0,1,1
Current State: 67:[79, 65], Operations: ['81-60=21', '86-21=65']
Exploring Operation: 79+65=144, Resulting Numbers: [144]
144,67 unequal: No Solution
Exploring Operation: 79-65=14, Resulting Numbers: [14]
14,67 unequal: No Solution
Moving to Node #0,1,0
Current State: 67:[86, 58], Operations: ['81-60=21', '79-21=58']
Exploring Operation: 86+58=144, Resulting Numbers: [144]
144,67 unequal: No Solution
Exploring Operation: 86-58=28, Resulting Numbers: [28]
28,67 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 |
[
10,
50,
12,
86
] | 18 | [
"12-10=2",
"86-50=36",
"36/2=18"
] | Current State: 18:[10, 50, 12, 86], Operations: []
Exploring Operation: 12-10=2, Resulting Numbers: [50, 86, 2]
Generated Node #2: [50, 86, 2] from Operation: 12-10=2
Current State: 18:[50, 86, 2], Operations: ['12-10=2']
Exploring Operation: 86-50=36, Resulting Numbers: [2, 36]
Generated Node #3: [2, 36] from Operation: 86-50=36
Current State: 18:[2, 36], Operations: ['12-10=2', '86-50=36']
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[10, 50, 12, 86], Operations: []
Exploring Operation: 86-12=74, Resulting Numbers: [10, 50, 74]
Generated Node #0,0: 18:[10, 50, 74] Operation: 86-12=74
Exploring Operation: 50-12=38, Resulting Numbers: [10, 86, 38]
Generated Node #0,1: 18:[10, 86, 38] Operation: 50-12=38
Exploring Operation: 86-50=36, Resulting Numbers: [10, 12, 36]
Generated Node #0,2: 18:[10, 12, 36] Operation: 86-50=36
Exploring Operation: 50/10=5, Resulting Numbers: [12, 86, 5]
Generated Node #0,3: 18:[12, 86, 5] Operation: 50/10=5
Start Sub Search at level 1: Moving to Node #0,2
Current State: 18:[10, 12, 36], Operations: ['86-50=36']
Exploring Operation: 36/12=3, Resulting Numbers: [10, 3]
Generated Node #0,2,0: 18:[10, 3] Operation: 36/12=3
Exploring Operation: 12-10=2, Resulting Numbers: [36, 2]
Generated Node #0,2,1: 18:[36, 2] Operation: 12-10=2
Exploring Operation: 36-12=24, Resulting Numbers: [10, 24]
Generated Node #0,2,2: 18:[10, 24] Operation: 36-12=24
Exploring Operation: 36-10=26, Resulting Numbers: [12, 26]
Generated Node #0,2,3: 18:[12, 26] Operation: 36-10=26
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 18:[10, 3], Operations: ['86-50=36', '36/12=3']
Exploring Operation: 10+3=13, Resulting Numbers: [13]
13,18 unequal: No Solution
Exploring Operation: 10*3=30, Resulting Numbers: [30]
30,18 unequal: No Solution
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,18 unequal: No Solution
No 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: 18:[10, 24], Operations: ['86-50=36', '36-12=24']
Exploring Operation: 10+24=34, Resulting Numbers: [34]
34,18 unequal: No Solution
Exploring Operation: 24-10=14, Resulting Numbers: [14]
14,18 unequal: No Solution
Exploring Operation: 10*24=240, Resulting Numbers: [240]
240,18 unequal: No Solution
No 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: 18:[12, 26], Operations: ['86-50=36', '36-10=26']
Exploring Operation: 12+26=38, Resulting Numbers: [38]
38,18 unequal: No Solution
Exploring Operation: 26-12=14, Resulting Numbers: [14]
14,18 unequal: No Solution
Exploring Operation: 12*26=312, Resulting Numbers: [312]
312,18 unequal: No Solution
No 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: 18:[36, 2], Operations: ['86-50=36', '12-10=2']
Exploring Operation: 36*2=72, Resulting Numbers: [72]
72,18 unequal: No Solution
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,18 unequal: No Solution
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[10, 50, 12, 86], Operations: []
Exploring Operation: 86-50=36, Resulting Numbers: [10, 12, 36]
Generated Node #0,2: 18:[10, 12, 36] Operation: 86-50=36
Moving to Node #0,2
Current State: 18:[10, 12, 36], Operations: ['86-50=36']
Exploring Operation: 12-10=2, Resulting Numbers: [36, 2]
Generated Node #0,2,1: 18:[36, 2] Operation: 12-10=2
Moving to Node #0,2,1
Current State: 18:[36, 2], Operations: ['86-50=36', '12-10=2']
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.979167 | hs_4 | mult_heuristic |
[
4,
51,
14,
3
] | 99 | [
"51-4=47",
"47-14=33",
"3*33=99"
] | Current State: 99:[4, 51, 14, 3], Operations: []
Exploring Operation: 51-4=47, Resulting Numbers: [14, 3, 47]
Generated Node #2: [14, 3, 47] from Operation: 51-4=47
Current State: 99:[14, 3, 47], Operations: ['51-4=47']
Exploring Operation: 47-14=33, Resulting Numbers: [3, 33]
Generated Node #3: [3, 33] from Operation: 47-14=33
Current State: 99:[3, 33], Operations: ['51-4=47', '47-14=33']
Exploring Operation: 3*33=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[4, 51, 14, 3], Operations: []
Exploring Operation: 51/3=17, Resulting Numbers: [4, 14, 17]
Generated Node #0,0: 99:[4, 14, 17] Operation: 51/3=17
Exploring Operation: 51-14=37, Resulting Numbers: [4, 3, 37]
Generated Node #0,1: 99:[4, 3, 37] Operation: 51-14=37
Start Sub Search at level 1: Moving to Node #0,1
Current State: 99:[4, 3, 37], Operations: ['51-14=37']
Exploring Operation: 37-4=33, Resulting Numbers: [3, 33]
Generated Node #0,1,0: 99:[3, 33] Operation: 37-4=33
Exploring Operation: 37-3=34, Resulting Numbers: [4, 34]
Generated Node #0,1,1: 99:[4, 34] Operation: 37-3=34
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 99:[3, 33], Operations: ['51-14=37', '37-4=33']
Exploring Operation: 3*33=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[4, 51, 14, 3], Operations: []
Exploring Operation: 51-14=37, Resulting Numbers: [4, 3, 37]
Generated Node #0,1: 99:[4, 3, 37] Operation: 51-14=37
Moving to Node #0,1
Current State: 99:[4, 3, 37], Operations: ['51-14=37']
Exploring Operation: 37-4=33, Resulting Numbers: [3, 33]
Generated Node #0,1,0: 99:[3, 33] Operation: 37-4=33
Moving to Node #0,1,0
Current State: 99:[3, 33], Operations: ['51-14=37', '37-4=33']
Exploring Operation: 3*33=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.