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 |
|---|---|---|---|---|---|---|---|---|
[
16,
55,
34,
87
] | 14 | [
"55-16=39",
"87-34=53",
"53-39=14"
] | Current State: 14:[16, 55, 34, 87], Operations: []
Exploring Operation: 55-16=39, Resulting Numbers: [34, 87, 39]
Generated Node #2: [34, 87, 39] from Operation: 55-16=39
Current State: 14:[34, 87, 39], Operations: ['55-16=39']
Exploring Operation: 87-34=53, Resulting Numbers: [39, 53]
Generated Node #3: [39, 53] from Operation: 87-34=53
Current State: 14:[39, 53], Operations: ['55-16=39', '87-34=53']
Exploring Operation: 53-39=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[16, 55, 34, 87], Operations: []
Exploring Operation: 87-55=32, Resulting Numbers: [16, 34, 32]
Generated Node #0,0: 14:[16, 34, 32] Operation: 87-55=32
Exploring Operation: 55-34=21, Resulting Numbers: [16, 87, 21]
Generated Node #0,1: 14:[16, 87, 21] Operation: 55-34=21
Exploring Operation: 87-34=53, Resulting Numbers: [16, 55, 53]
Generated Node #0,2: 14:[16, 55, 53] Operation: 87-34=53
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[16, 34, 32], Operations: ['87-55=32']
Exploring Operation: 34-16=18, Resulting Numbers: [32, 18]
Generated Node #0,0,0: 14:[32, 18] Operation: 34-16=18
Exploring Operation: 32/16=2, Resulting Numbers: [34, 2]
Generated Node #0,0,1: 14:[34, 2] Operation: 32/16=2
Exploring Operation: 34-32=2, Resulting Numbers: [16, 2]
Generated Node #0,0,2: 14:[16, 2] Operation: 34-32=2
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 14:[16, 2], Operations: ['87-55=32', '34-32=2']
Exploring Operation: 16+2=18, Resulting Numbers: [18]
18,14 unequal: No Solution
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,14 unequal: No Solution
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[16, 55, 34, 87], Operations: []
Exploring Operation: 87-55=32, Resulting Numbers: [16, 34, 32]
Generated Node #0,0: 14:[16, 34, 32] Operation: 87-55=32
Moving to Node #0,0
Current State: 14:[16, 34, 32], Operations: ['87-55=32']
Exploring Operation: 34-32=2, Resulting Numbers: [16, 2]
Generated Node #0,0,2: 14:[16, 2] Operation: 34-32=2
Moving to Node #0,0,2
Current State: 14:[16, 2], Operations: ['87-55=32', '34-32=2']
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
61,
14,
35,
7
] | 15 | [
"61+14=75",
"35/7=5",
"75/5=15"
] | Current State: 15:[61, 14, 35, 7], Operations: []
Exploring Operation: 61+14=75, Resulting Numbers: [35, 7, 75]
Generated Node #2: [35, 7, 75] from Operation: 61+14=75
Current State: 15:[35, 7, 75], Operations: ['61+14=75']
Exploring Operation: 35/7=5, Resulting Numbers: [75, 5]
Generated Node #3: [75, 5] from Operation: 35/7=5
Current State: 15:[75, 5], Operations: ['61+14=75', '35/7=5']
Exploring Operation: 75/5=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[61, 14, 35, 7], Operations: []
Exploring Operation: 35/7=5, Resulting Numbers: [61, 14, 5]
Generated Node #0,0: 15:[61, 14, 5] Operation: 35/7=5
Exploring Operation: 35-14=21, Resulting Numbers: [61, 7, 21]
Generated Node #0,1: 15:[61, 7, 21] Operation: 35-14=21
Exploring Operation: 61-35=26, Resulting Numbers: [14, 7, 26]
Generated Node #0,2: 15:[14, 7, 26] Operation: 61-35=26
Exploring Operation: 61-7=54, Resulting Numbers: [14, 35, 54]
Generated Node #0,3: 15:[14, 35, 54] Operation: 61-7=54
Exploring Operation: 61-14=47, Resulting Numbers: [35, 7, 47]
Generated Node #0,4: 15:[35, 7, 47] Operation: 61-14=47
Start Sub Search at level 1: Moving to Node #0,2
Current State: 15:[14, 7, 26], Operations: ['61-35=26']
Exploring Operation: 26-7=19, Resulting Numbers: [14, 19]
Generated Node #0,2,0: 15:[14, 19] Operation: 26-7=19
Exploring Operation: 14+7=21, Resulting Numbers: [26, 21]
Generated Node #0,2,1: 15:[26, 21] Operation: 14+7=21
Exploring Operation: 14-7=7, Resulting Numbers: [26, 7]
Generated Node #0,2,2: 15:[26, 7] Operation: 14-7=7
Exploring Operation: 14/7=2, Resulting Numbers: [26, 2]
Generated Node #0,2,3: 15:[26, 2] Operation: 14/7=2
Exploring Operation: 26-14=12, Resulting Numbers: [7, 12]
Generated Node #0,2,4: 15:[7, 12] Operation: 26-14=12
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 15:[14, 19], Operations: ['61-35=26', '26-7=19']
Exploring Operation: 14*19=266, Resulting Numbers: [266]
266,15 unequal: No Solution
Exploring Operation: 14+19=33, Resulting Numbers: [33]
33,15 unequal: No Solution
Exploring Operation: 19-14=5, Resulting Numbers: [5]
5,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 15:[7, 12], Operations: ['61-35=26', '26-14=12']
Exploring Operation: 7*12=84, Resulting Numbers: [84]
84,15 unequal: No Solution
Exploring Operation: 12-7=5, Resulting Numbers: [5]
5,15 unequal: No Solution
Exploring Operation: 7+12=19, Resulting Numbers: [19]
19,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 15:[26, 2], Operations: ['61-35=26', '14/7=2']
Exploring Operation: 26*2=52, Resulting Numbers: [52]
52,15 unequal: No Solution
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,15 unequal: No Solution
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,15 unequal: No Solution
Exploring Operation: 26+2=28, Resulting Numbers: [28]
28,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 15:[26, 7], Operations: ['61-35=26', '14-7=7']
Exploring Operation: 26+7=33, Resulting Numbers: [33]
33,15 unequal: No Solution
Exploring Operation: 26*7=182, Resulting Numbers: [182]
182,15 unequal: No Solution
Exploring Operation: 26-7=19, Resulting Numbers: [19]
19,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 15:[26, 21], Operations: ['61-35=26', '14+7=21']
Exploring Operation: 26+21=47, Resulting Numbers: [47]
47,15 unequal: No Solution
Exploring Operation: 26-21=5, Resulting Numbers: [5]
5,15 unequal: No Solution
Exploring Operation: 26*21=546, Resulting Numbers: [546]
546,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 15:[61, 14, 5], Operations: ['35/7=5']
Exploring Operation: 14+5=19, Resulting Numbers: [61, 19]
Generated Node #0,0,0: 15:[61, 19] Operation: 14+5=19
Exploring Operation: 61-5=56, Resulting Numbers: [14, 56]
Generated Node #0,0,1: 15:[14, 56] Operation: 61-5=56
Exploring Operation: 61+5=66, Resulting Numbers: [14, 66]
Generated Node #0,0,2: 15:[14, 66] Operation: 61+5=66
Exploring Operation: 14-5=9, Resulting Numbers: [61, 9]
Generated Node #0,0,3: 15:[61, 9] Operation: 14-5=9
Exploring Operation: 61-14=47, Resulting Numbers: [5, 47]
Generated Node #0,0,4: 15:[5, 47] Operation: 61-14=47
Moving to Node #0,0,4
Current State: 15:[5, 47], Operations: ['35/7=5', '61-14=47']
Exploring Operation: 5*47=235, Resulting Numbers: [235]
235,15 unequal: No Solution
Exploring Operation: 47-5=42, Resulting Numbers: [42]
42,15 unequal: No Solution
Exploring Operation: 5+47=52, Resulting Numbers: [52]
52,15 unequal: No Solution
Moving to Node #0,0,1
Current State: 15:[14, 56], Operations: ['35/7=5', '61-5=56']
Exploring Operation: 14+56=70, Resulting Numbers: [70]
70,15 unequal: No Solution
Exploring Operation: 56-14=42, Resulting Numbers: [42]
42,15 unequal: No Solution
Exploring Operation: 56/14=4, Resulting Numbers: [4]
4,15 unequal: No Solution
Exploring Operation: 14*56=784, Resulting Numbers: [784]
784,15 unequal: No Solution
Moving to Node #0,0,0
Current State: 15:[61, 19], Operations: ['35/7=5', '14+5=19']
Exploring Operation: 61-19=42, Resulting Numbers: [42]
42,15 unequal: No Solution
Exploring Operation: 61+19=80, Resulting Numbers: [80]
80,15 unequal: No Solution
Exploring Operation: 61*19=1159, Resulting Numbers: [1159]
1159,15 unequal: No Solution
Moving to Node #0,0,3
Current State: 15:[61, 9], Operations: ['35/7=5', '14-5=9']
Exploring Operation: 61-9=52, Resulting Numbers: [52]
52,15 unequal: No Solution
Exploring Operation: 61*9=549, Resulting Numbers: [549]
549,15 unequal: No Solution
Exploring Operation: 61+9=70, Resulting Numbers: [70]
70,15 unequal: No Solution
Moving to Node #0,0,2
Current State: 15:[14, 66], Operations: ['35/7=5', '61+5=66']
Exploring Operation: 66-14=52, Resulting Numbers: [52]
52,15 unequal: No Solution
Exploring Operation: 14+66=80, Resulting Numbers: [80]
80,15 unequal: No Solution
Exploring Operation: 14*66=924, Resulting Numbers: [924]
924,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 15:[61, 7, 21], Operations: ['35-14=21']
Exploring Operation: 61+7=68, Resulting Numbers: [21, 68]
Generated Node #0,1,0: 15:[21, 68] Operation: 61+7=68
Exploring Operation: 21/7=3, Resulting Numbers: [61, 3]
Generated Node #0,1,1: 15:[61, 3] Operation: 21/7=3
Exploring Operation: 61-7=54, Resulting Numbers: [21, 54]
Generated Node #0,1,2: 15:[21, 54] Operation: 61-7=54
Exploring Operation: 61-21=40, Resulting Numbers: [7, 40]
Generated Node #0,1,3: 15:[7, 40] Operation: 61-21=40
Exploring Operation: 21-7=14, Resulting Numbers: [61, 14]
Generated Node #0,1,4: 15:[61, 14] Operation: 21-7=14
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 15:[7, 40], Operations: ['35-14=21', '61-21=40']
Exploring Operation: 7+40=47, Resulting Numbers: [47]
47,15 unequal: No Solution
Exploring Operation: 7*40=280, Resulting Numbers: [280]
280,15 unequal: No Solution
Exploring Operation: 40-7=33, Resulting Numbers: [33]
33,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 15:[21, 54], Operations: ['35-14=21', '61-7=54']
Exploring Operation: 21+54=75, Resulting Numbers: [75]
75,15 unequal: No Solution
Exploring Operation: 21*54=1134, Resulting Numbers: [1134]
1134,15 unequal: No Solution
Exploring Operation: 54-21=33, Resulting Numbers: [33]
33,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 15:[61, 3], Operations: ['35-14=21', '21/7=3']
Exploring Operation: 61+3=64, Resulting Numbers: [64]
64,15 unequal: No Solution
Exploring Operation: 61*3=183, Resulting Numbers: [183]
183,15 unequal: No Solution
Exploring Operation: 61-3=58, Resulting Numbers: [58]
58,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 15:[61, 14], Operations: ['35-14=21', '21-7=14']
Exploring Operation: 61+14=75, Resulting Numbers: [75]
75,15 unequal: No Solution
Exploring Operation: 61-14=47, Resulting Numbers: [47]
47,15 unequal: No Solution
Exploring Operation: 61*14=854, Resulting Numbers: [854]
854,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 15:[21, 68], Operations: ['35-14=21', '61+7=68']
Exploring Operation: 68-21=47, Resulting Numbers: [47]
47,15 unequal: No Solution
Exploring Operation: 21*68=1428, Resulting Numbers: [1428]
1428,15 unequal: No Solution
Exploring Operation: 21+68=89, Resulting Numbers: [89]
89,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 15:[35, 7, 47], Operations: ['61-14=47']
Exploring Operation: 35-7=28, Resulting Numbers: [47, 28]
Generated Node #0,4,0: 15:[47, 28] Operation: 35-7=28
Exploring Operation: 47-35=12, Resulting Numbers: [7, 12]
Generated Node #0,4,1: 15:[7, 12] Operation: 47-35=12
Exploring Operation: 35/7=5, Resulting Numbers: [47, 5]
Generated Node #0,4,2: 15:[47, 5] Operation: 35/7=5
Exploring Operation: 35+7=42, Resulting Numbers: [47, 42]
Generated Node #0,4,3: 15:[47, 42] Operation: 35+7=42
Exploring Operation: 47-7=40, Resulting Numbers: [35, 40]
Generated Node #0,4,4: 15:[35, 40] Operation: 47-7=40
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 15:[7, 12], Operations: ['61-14=47', '47-35=12']
Exploring Operation: 7+12=19, Resulting Numbers: [19]
19,15 unequal: No Solution
Exploring Operation: 7*12=84, Resulting Numbers: [84]
84,15 unequal: No Solution
Exploring Operation: 12-7=5, Resulting Numbers: [5]
5,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 15:[47, 5], Operations: ['61-14=47', '35/7=5']
Exploring Operation: 47*5=235, Resulting Numbers: [235]
235,15 unequal: No Solution
Exploring Operation: 47-5=42, Resulting Numbers: [42]
42,15 unequal: No Solution
Exploring Operation: 47+5=52, Resulting Numbers: [52]
52,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 15:[47, 28], Operations: ['61-14=47', '35-7=28']
Exploring Operation: 47*28=1316, Resulting Numbers: [1316]
1316,15 unequal: No Solution
Exploring Operation: 47-28=19, Resulting Numbers: [19]
19,15 unequal: No Solution
Exploring Operation: 47+28=75, Resulting Numbers: [75]
75,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 15:[35, 40], Operations: ['61-14=47', '47-7=40']
Exploring Operation: 35+40=75, Resulting Numbers: [75]
75,15 unequal: No Solution
Exploring Operation: 35*40=1400, Resulting Numbers: [1400]
1400,15 unequal: No Solution
Exploring Operation: 40-35=5, Resulting Numbers: [5]
5,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 15:[47, 42], Operations: ['61-14=47', '35+7=42']
Exploring Operation: 47*42=1974, Resulting Numbers: [1974]
1974,15 unequal: No Solution
Exploring Operation: 47+42=89, Resulting Numbers: [89]
89,15 unequal: No Solution
Exploring Operation: 47-42=5, Resulting Numbers: [5]
5,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 15:[14, 35, 54], Operations: ['61-7=54']
Exploring Operation: 35-14=21, Resulting Numbers: [54, 21]
Generated Node #0,3,0: 15:[54, 21] Operation: 35-14=21
Exploring Operation: 14+35=49, Resulting Numbers: [54, 49]
Generated Node #0,3,1: 15:[54, 49] Operation: 14+35=49
Exploring Operation: 54-14=40, Resulting Numbers: [35, 40]
Generated Node #0,3,2: 15:[35, 40] Operation: 54-14=40
Exploring Operation: 54-35=19, Resulting Numbers: [14, 19]
Generated Node #0,3,3: 15:[14, 19] Operation: 54-35=19
Exploring Operation: 14+54=68, Resulting Numbers: [35, 68]
Generated Node #0,3,4: 15:[35, 68] Operation: 14+54=68
Moving to Node #0,3,3
Current State: 15:[14, 19], Operations: ['61-7=54', '54-35=19']
Exploring Operation: 14*19=266, Resulting Numbers: [266]
266,15 unequal: No Solution
Exploring Operation: 14+19=33, Resulting Numbers: [33]
33,15 unequal: No Solution
Exploring Operation: 19-14=5, Resulting Numbers: [5]
5,15 unequal: No Solution
Moving to Node #0,3,2
Current State: 15:[35, 40], Operations: ['61-7=54', '54-14=40']
Exploring Operation: 35+40=75, Resulting Numbers: [75]
75,15 unequal: No Solution
Exploring Operation: 35*40=1400, Resulting Numbers: [1400]
1400,15 unequal: No Solution
Exploring Operation: 40-35=5, Resulting Numbers: [5]
5,15 unequal: No Solution
Moving to Node #0,3,0
Current State: 15:[54, 21], Operations: ['61-7=54', '35-14=21']
Exploring Operation: 54*21=1134, Resulting Numbers: [1134]
1134,15 unequal: No Solution
Exploring Operation: 54-21=33, Resulting Numbers: [33]
33,15 unequal: No Solution
Exploring Operation: 54+21=75, Resulting Numbers: [75]
75,15 unequal: No Solution
Moving to Node #0,3,1
Current State: 15:[54, 49], Operations: ['61-7=54', '14+35=49']
Exploring Operation: 54-49=5, Resulting Numbers: [5]
5,15 unequal: No Solution
Exploring Operation: 54*49=2646, Resulting Numbers: [2646]
2646,15 unequal: No Solution
Exploring Operation: 54+49=103, Resulting Numbers: [103]
103,15 unequal: No Solution
Moving to Node #0,3,4
Current State: 15:[35, 68], Operations: ['61-7=54', '14+54=68']
Exploring Operation: 68-35=33, Resulting Numbers: [33]
33,15 unequal: No Solution
Exploring Operation: 35*68=2380, Resulting Numbers: [2380]
2380,15 unequal: No Solution
Exploring Operation: 35+68=103, Resulting Numbers: [103]
103,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
2,
3,
16,
74
] | 87 | [
"74-16=58",
"58/2=29",
"3*29=87"
] | Current State: 87:[2, 3, 16, 74], Operations: []
Exploring Operation: 74-16=58, Resulting Numbers: [2, 3, 58]
Generated Node #2: [2, 3, 58] from Operation: 74-16=58
Current State: 87:[2, 3, 58], Operations: ['74-16=58']
Exploring Operation: 58/2=29, Resulting Numbers: [3, 29]
Generated Node #3: [3, 29] from Operation: 58/2=29
Current State: 87:[3, 29], Operations: ['74-16=58', '58/2=29']
Exploring Operation: 3*29=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[2, 3, 16, 74], Operations: []
Exploring Operation: 16+74=90, Resulting Numbers: [2, 3, 90]
Generated Node #0,0: 87:[2, 3, 90] Operation: 16+74=90
Moving to Node #0,0
Current State: 87:[2, 3, 90], Operations: ['16+74=90']
Exploring Operation: 90-2=88, Resulting Numbers: [3, 88]
Generated Node #0,0,0: 87:[3, 88] Operation: 90-2=88
Moving to Node #0,0,0
Current State: 87:[3, 88], Operations: ['16+74=90', '90-2=88']
Exploring Operation: 88-3=85, Resulting Numbers: [85]
85,87 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
24,
26,
52,
25
] | 73 | [
"24*52=1248",
"1248/26=48",
"25+48=73"
] | Current State: 73:[24, 26, 52, 25], Operations: []
Exploring Operation: 24*52=1248, Resulting Numbers: [26, 25, 1248]
Generated Node #2: [26, 25, 1248] from Operation: 24*52=1248
Current State: 73:[26, 25, 1248], Operations: ['24*52=1248']
Exploring Operation: 1248/26=48, Resulting Numbers: [25, 48]
Generated Node #3: [25, 48] from Operation: 1248/26=48
Current State: 73:[25, 48], Operations: ['24*52=1248', '1248/26=48']
Exploring Operation: 25+48=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[24, 26, 52, 25], Operations: []
Exploring Operation: 26+25=51, Resulting Numbers: [24, 52, 51]
Generated Node #0,0: 73:[24, 52, 51] Operation: 26+25=51
Exploring Operation: 24+25=49, Resulting Numbers: [26, 52, 49]
Generated Node #0,1: 73:[26, 52, 49] Operation: 24+25=49
Exploring Operation: 24+26=50, Resulting Numbers: [52, 25, 50]
Generated Node #0,2: 73:[52, 25, 50] Operation: 24+26=50
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[24, 52, 51], Operations: ['26+25=51']
Exploring Operation: 24+52=76, Resulting Numbers: [51, 76]
Generated Node #0,0,0: 73:[51, 76] Operation: 24+52=76
Exploring Operation: 52-24=28, Resulting Numbers: [51, 28]
Generated Node #0,0,1: 73:[51, 28] Operation: 52-24=28
Exploring Operation: 24+51=75, Resulting Numbers: [52, 75]
Generated Node #0,0,2: 73:[52, 75] Operation: 24+51=75
Moving to Node #0,0,2
Current State: 73:[52, 75], Operations: ['26+25=51', '24+51=75']
Exploring Operation: 75-52=23, Resulting Numbers: [23]
23,73 unequal: No Solution
Exploring Operation: 52*75=3900, Resulting Numbers: [3900]
3900,73 unequal: No Solution
Exploring Operation: 52+75=127, Resulting Numbers: [127]
127,73 unequal: No Solution
Moving to Node #0,0,0
Current State: 73:[51, 76], Operations: ['26+25=51', '24+52=76']
Exploring Operation: 76-51=25, Resulting Numbers: [25]
25,73 unequal: No Solution
Exploring Operation: 51*76=3876, Resulting Numbers: [3876]
3876,73 unequal: No Solution
Exploring Operation: 51+76=127, Resulting Numbers: [127]
127,73 unequal: No Solution
Moving to Node #0,0,1
Current State: 73:[51, 28], Operations: ['26+25=51', '52-24=28']
Exploring Operation: 51-28=23, Resulting Numbers: [23]
23,73 unequal: No Solution
Exploring Operation: 51+28=79, Resulting Numbers: [79]
79,73 unequal: No Solution
Exploring Operation: 51*28=1428, Resulting Numbers: [1428]
1428,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:[26, 52, 49], Operations: ['24+25=49']
Exploring Operation: 26+49=75, Resulting Numbers: [52, 75]
Generated Node #0,1,0: 73:[52, 75] Operation: 26+49=75
Exploring Operation: 52-26=26, Resulting Numbers: [49, 26]
Generated Node #0,1,1: 73:[49, 26] Operation: 52-26=26
Exploring Operation: 26+52=78, Resulting Numbers: [49, 78]
Generated Node #0,1,2: 73:[49, 78] Operation: 26+52=78
Moving to Node #0,1,0
Current State: 73:[52, 75], Operations: ['24+25=49', '26+49=75']
Exploring Operation: 52*75=3900, Resulting Numbers: [3900]
3900,73 unequal: No Solution
Exploring Operation: 52+75=127, Resulting Numbers: [127]
127,73 unequal: No Solution
Exploring Operation: 75-52=23, Resulting Numbers: [23]
23,73 unequal: No Solution
Moving to Node #0,1,2
Current State: 73:[49, 78], Operations: ['24+25=49', '26+52=78']
Exploring Operation: 78-49=29, Resulting Numbers: [29]
29,73 unequal: No Solution
Exploring Operation: 49+78=127, Resulting Numbers: [127]
127,73 unequal: No Solution
Exploring Operation: 49*78=3822, Resulting Numbers: [3822]
3822,73 unequal: No Solution
Moving to Node #0,1,1
Current State: 73:[49, 26], Operations: ['24+25=49', '52-26=26']
Exploring Operation: 49-26=23, Resulting Numbers: [23]
23,73 unequal: No Solution
Exploring Operation: 49+26=75, Resulting Numbers: [75]
75,73 unequal: No Solution
Exploring Operation: 49*26=1274, Resulting Numbers: [1274]
1274,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,2
Current State: 73:[52, 25, 50], Operations: ['24+26=50']
Exploring Operation: 52-25=27, Resulting Numbers: [50, 27]
Generated Node #0,2,0: 73:[50, 27] Operation: 52-25=27
Exploring Operation: 52+25=77, Resulting Numbers: [50, 77]
Generated Node #0,2,1: 73:[50, 77] Operation: 52+25=77
Exploring Operation: 25+50=75, Resulting Numbers: [52, 75]
Generated Node #0,2,2: 73:[52, 75] Operation: 25+50=75
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 73:[52, 75], Operations: ['24+26=50', '25+50=75']
Exploring Operation: 52+75=127, Resulting Numbers: [127]
127,73 unequal: No Solution
Exploring Operation: 75-52=23, Resulting Numbers: [23]
23,73 unequal: No Solution
Exploring Operation: 52*75=3900, Resulting Numbers: [3900]
3900,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,2,1
Current State: 73:[50, 77], Operations: ['24+26=50', '52+25=77']
Exploring Operation: 77-50=27, Resulting Numbers: [27]
27,73 unequal: No Solution
Exploring Operation: 50+77=127, Resulting Numbers: [127]
127,73 unequal: No Solution
Exploring Operation: 50*77=3850, Resulting Numbers: [3850]
3850,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,2,0
Current State: 73:[50, 27], Operations: ['24+26=50', '52-25=27']
Exploring Operation: 50*27=1350, Resulting Numbers: [1350]
1350,73 unequal: No Solution
Exploring Operation: 50+27=77, Resulting Numbers: [77]
77,73 unequal: No Solution
Exploring Operation: 50-27=23, Resulting Numbers: [23]
23,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
1,
39,
2,
43
] | 83 | [
"39-1=38",
"2+43=45",
"38+45=83"
] | Current State: 83:[1, 39, 2, 43], Operations: []
Exploring Operation: 39-1=38, Resulting Numbers: [2, 43, 38]
Generated Node #2: [2, 43, 38] from Operation: 39-1=38
Current State: 83:[2, 43, 38], Operations: ['39-1=38']
Exploring Operation: 2+43=45, Resulting Numbers: [38, 45]
Generated Node #3: [38, 45] from Operation: 2+43=45
Current State: 83:[38, 45], Operations: ['39-1=38', '2+43=45']
Exploring Operation: 38+45=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[1, 39, 2, 43], Operations: []
Exploring Operation: 1+39=40, Resulting Numbers: [2, 43, 40]
Generated Node #0,0: 83:[2, 43, 40] Operation: 1+39=40
Exploring Operation: 2*43=86, Resulting Numbers: [1, 39, 86]
Generated Node #0,1: 83:[1, 39, 86] Operation: 2*43=86
Exploring Operation: 39*2=78, Resulting Numbers: [1, 43, 78]
Generated Node #0,2: 83:[1, 43, 78] Operation: 39*2=78
Start Sub Search at level 1: Moving to Node #0,2
Current State: 83:[1, 43, 78], Operations: ['39*2=78']
Exploring Operation: 1+43=44, Resulting Numbers: [78, 44]
Generated Node #0,2,0: 83:[78, 44] Operation: 1+43=44
Exploring Operation: 1*43=43, Resulting Numbers: [78, 43]
Generated Node #0,2,1: 83:[78, 43] Operation: 1*43=43
Exploring Operation: 1+78=79, Resulting Numbers: [43, 79]
Generated Node #0,2,2: 83:[43, 79] Operation: 1+78=79
Moving to Node #0,2,0
Current State: 83:[78, 44], Operations: ['39*2=78', '1+43=44']
Exploring Operation: 78+44=122, Resulting Numbers: [122]
122,83 unequal: No Solution
Exploring Operation: 78-44=34, Resulting Numbers: [34]
34,83 unequal: No Solution
Exploring Operation: 78*44=3432, Resulting Numbers: [3432]
3432,83 unequal: No Solution
Moving to Node #0,2,2
Current State: 83:[43, 79], Operations: ['39*2=78', '1+78=79']
Exploring Operation: 79-43=36, Resulting Numbers: [36]
36,83 unequal: No Solution
Exploring Operation: 43+79=122, Resulting Numbers: [122]
122,83 unequal: No Solution
Exploring Operation: 43*79=3397, Resulting Numbers: [3397]
3397,83 unequal: No Solution
Moving to Node #0,2,1
Current State: 83:[78, 43], Operations: ['39*2=78', '1*43=43']
Exploring Operation: 78*43=3354, Resulting Numbers: [3354]
3354,83 unequal: No Solution
Exploring Operation: 78-43=35, Resulting Numbers: [35]
35,83 unequal: No Solution
Exploring Operation: 78+43=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,1
Current State: 83:[1, 39, 86], Operations: ['2*43=86']
Exploring Operation: 1*39=39, Resulting Numbers: [86, 39]
Generated Node #0,1,0: 83:[86, 39] Operation: 1*39=39
Exploring Operation: 86-1=85, Resulting Numbers: [39, 85]
Generated Node #0,1,1: 83:[39, 85] Operation: 86-1=85
Exploring Operation: 1+39=40, Resulting Numbers: [86, 40]
Generated Node #0,1,2: 83:[86, 40] Operation: 1+39=40
Moving to Node #0,1,1
Current State: 83:[39, 85], Operations: ['2*43=86', '86-1=85']
Exploring Operation: 39*85=3315, Resulting Numbers: [3315]
3315,83 unequal: No Solution
Exploring Operation: 39+85=124, Resulting Numbers: [124]
124,83 unequal: No Solution
Exploring Operation: 85-39=46, Resulting Numbers: [46]
46,83 unequal: No Solution
Moving to Node #0,1,2
Current State: 83:[86, 40], Operations: ['2*43=86', '1+39=40']
Exploring Operation: 86+40=126, Resulting Numbers: [126]
126,83 unequal: No Solution
Exploring Operation: 86-40=46, Resulting Numbers: [46]
46,83 unequal: No Solution
Exploring Operation: 86*40=3440, Resulting Numbers: [3440]
3440,83 unequal: No Solution
Moving to Node #0,1,0
Current State: 83:[86, 39], Operations: ['2*43=86', '1*39=39']
Exploring Operation: 86+39=125, Resulting Numbers: [125]
125,83 unequal: No Solution
Exploring Operation: 86-39=47, Resulting Numbers: [47]
47,83 unequal: No Solution
Exploring Operation: 86*39=3354, Resulting Numbers: [3354]
3354,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
Current State: 83:[2, 43, 40], Operations: ['1+39=40']
Exploring Operation: 2+43=45, Resulting Numbers: [40, 45]
Generated Node #0,0,0: 83:[40, 45] Operation: 2+43=45
Exploring Operation: 2*43=86, Resulting Numbers: [40, 86]
Generated Node #0,0,1: 83:[40, 86] Operation: 2*43=86
Exploring Operation: 2*40=80, Resulting Numbers: [43, 80]
Generated Node #0,0,2: 83:[43, 80] Operation: 2*40=80
Moving to Node #0,0,2
Current State: 83:[43, 80], Operations: ['1+39=40', '2*40=80']
Exploring Operation: 43*80=3440, Resulting Numbers: [3440]
3440,83 unequal: No Solution
Exploring Operation: 80-43=37, Resulting Numbers: [37]
37,83 unequal: No Solution
Exploring Operation: 43+80=123, Resulting Numbers: [123]
123,83 unequal: No Solution
Moving to Node #0,0,1
Current State: 83:[40, 86], Operations: ['1+39=40', '2*43=86']
Exploring Operation: 40*86=3440, Resulting Numbers: [3440]
3440,83 unequal: No Solution
Exploring Operation: 86-40=46, Resulting Numbers: [46]
46,83 unequal: No Solution
Exploring Operation: 40+86=126, Resulting Numbers: [126]
126,83 unequal: No Solution
Moving to Node #0,0,0
Current State: 83:[40, 45], Operations: ['1+39=40', '2+43=45']
Exploring Operation: 40+45=85, Resulting Numbers: [85]
85,83 unequal: No Solution
Exploring Operation: 45-40=5, Resulting Numbers: [5]
5,83 unequal: No Solution
Exploring Operation: 40*45=1800, Resulting Numbers: [1800]
1800,83 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 |
[
1,
76,
57,
29
] | 74 | [
"1+57=58",
"58/29=2",
"76-2=74"
] | Current State: 74:[1, 76, 57, 29], Operations: []
Exploring Operation: 1+57=58, Resulting Numbers: [76, 29, 58]
Generated Node #2: [76, 29, 58] from Operation: 1+57=58
Current State: 74:[76, 29, 58], Operations: ['1+57=58']
Exploring Operation: 58/29=2, Resulting Numbers: [76, 2]
Generated Node #3: [76, 2] from Operation: 58/29=2
Current State: 74:[76, 2], Operations: ['1+57=58', '58/29=2']
Exploring Operation: 76-2=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[1, 76, 57, 29], Operations: []
Exploring Operation: 1+29=30, Resulting Numbers: [76, 57, 30]
Generated Node #0,0: 74:[76, 57, 30] Operation: 1+29=30
Exploring Operation: 57+29=86, Resulting Numbers: [1, 76, 86]
Generated Node #0,1: 74:[1, 76, 86] Operation: 57+29=86
Exploring Operation: 1+57=58, Resulting Numbers: [76, 29, 58]
Generated Node #0,2: 74:[76, 29, 58] Operation: 1+57=58
Exploring Operation: 57-29=28, Resulting Numbers: [1, 76, 28]
Generated Node #0,3: 74:[1, 76, 28] Operation: 57-29=28
Exploring Operation: 76-1=75, Resulting Numbers: [57, 29, 75]
Generated Node #0,4: 74:[57, 29, 75] Operation: 76-1=75
Moving to Node #0,3
Current State: 74:[1, 76, 28], Operations: ['57-29=28']
Exploring Operation: 76-1=75, Resulting Numbers: [28, 75]
Generated Node #0,3,0: 74:[28, 75] Operation: 76-1=75
Exploring Operation: 1*28=28, Resulting Numbers: [76, 28]
Generated Node #0,3,1: 74:[76, 28] Operation: 1*28=28
Exploring Operation: 1+28=29, Resulting Numbers: [76, 29]
Generated Node #0,3,2: 74:[76, 29] Operation: 1+28=29
Exploring Operation: 76/1=76, Resulting Numbers: [28, 76]
Generated Node #0,3,3: 74:[28, 76] Operation: 76/1=76
Exploring Operation: 1*76=76, Resulting Numbers: [28, 76]
Generated Node #0,3,4: 74:[28, 76] Operation: 1*76=76
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 74:[28, 75], Operations: ['57-29=28', '76-1=75']
Exploring Operation: 28+75=103, Resulting Numbers: [103]
103,74 unequal: No Solution
Exploring Operation: 28*75=2100, Resulting Numbers: [2100]
2100,74 unequal: No Solution
Exploring Operation: 75-28=47, Resulting Numbers: [47]
47,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,3,2
Current State: 74:[76, 29], Operations: ['57-29=28', '1+28=29']
Exploring Operation: 76-29=47, Resulting Numbers: [47]
47,74 unequal: No Solution
Exploring Operation: 76+29=105, Resulting Numbers: [105]
105,74 unequal: No Solution
Exploring Operation: 76*29=2204, Resulting Numbers: [2204]
2204,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,3,1
Current State: 74:[76, 28], Operations: ['57-29=28', '1*28=28']
Exploring Operation: 76*28=2128, Resulting Numbers: [2128]
2128,74 unequal: No Solution
Exploring Operation: 76-28=48, Resulting Numbers: [48]
48,74 unequal: No Solution
Exploring Operation: 76+28=104, Resulting Numbers: [104]
104,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,3,3
Current State: 74:[28, 76], Operations: ['57-29=28', '76/1=76']
Exploring Operation: 28*76=2128, Resulting Numbers: [2128]
2128,74 unequal: No Solution
Exploring Operation: 28+76=104, Resulting Numbers: [104]
104,74 unequal: No Solution
Exploring Operation: 76-28=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,3,4
Current State: 74:[28, 76], Operations: ['57-29=28', '1*76=76']
Exploring Operation: 76-28=48, Resulting Numbers: [48]
48,74 unequal: No Solution
Exploring Operation: 28+76=104, Resulting Numbers: [104]
104,74 unequal: No Solution
Exploring Operation: 28*76=2128, Resulting Numbers: [2128]
2128,74 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: 74:[1, 76, 86], Operations: ['57+29=86']
Exploring Operation: 76/1=76, Resulting Numbers: [86, 76]
Generated Node #0,1,0: 74:[86, 76] Operation: 76/1=76
Exploring Operation: 86-1=85, Resulting Numbers: [76, 85]
Generated Node #0,1,1: 74:[76, 85] Operation: 86-1=85
Exploring Operation: 76-1=75, Resulting Numbers: [86, 75]
Generated Node #0,1,2: 74:[86, 75] Operation: 76-1=75
Exploring Operation: 1*76=76, Resulting Numbers: [86, 76]
Generated Node #0,1,3: 74:[86, 76] Operation: 1*76=76
Exploring Operation: 86-76=10, Resulting Numbers: [1, 10]
Generated Node #0,1,4: 74:[1, 10] Operation: 86-76=10
Moving to Node #0,0
Current State: 74:[76, 57, 30], Operations: ['1+29=30']
Exploring Operation: 76-30=46, Resulting Numbers: [57, 46]
Generated Node #0,0,0: 74:[57, 46] Operation: 76-30=46
Exploring Operation: 76+30=106, Resulting Numbers: [57, 106]
Generated Node #0,0,1: 74:[57, 106] Operation: 76+30=106
Exploring Operation: 76-57=19, Resulting Numbers: [30, 19]
Generated Node #0,0,2: 74:[30, 19] Operation: 76-57=19
Exploring Operation: 57+30=87, Resulting Numbers: [76, 87]
Generated Node #0,0,3: 74:[76, 87] Operation: 57+30=87
Exploring Operation: 57-30=27, Resulting Numbers: [76, 27]
Generated Node #0,0,4: 74:[76, 27] Operation: 57-30=27
Moving to Node #0,2
Current State: 74:[76, 29, 58], Operations: ['1+57=58']
Exploring Operation: 76-58=18, Resulting Numbers: [29, 18]
Generated Node #0,2,0: 74:[29, 18] Operation: 76-58=18
Exploring Operation: 29+58=87, Resulting Numbers: [76, 87]
Generated Node #0,2,1: 74:[76, 87] Operation: 29+58=87
Exploring Operation: 76-29=47, Resulting Numbers: [58, 47]
Generated Node #0,2,2: 74:[58, 47] Operation: 76-29=47
Exploring Operation: 58/29=2, Resulting Numbers: [76, 2]
Generated Node #0,2,3: 74:[76, 2] Operation: 58/29=2
Exploring Operation: 58-29=29, Resulting Numbers: [76, 29]
Generated Node #0,2,4: 74:[76, 29] Operation: 58-29=29
Moving to Node #0,4
Current State: 74:[57, 29, 75], Operations: ['76-1=75']
Exploring Operation: 75-57=18, Resulting Numbers: [29, 18]
Generated Node #0,4,0: 74:[29, 18] Operation: 75-57=18
Exploring Operation: 57-29=28, Resulting Numbers: [75, 28]
Generated Node #0,4,1: 74:[75, 28] Operation: 57-29=28
Exploring Operation: 29+75=104, Resulting Numbers: [57, 104]
Generated Node #0,4,2: 74:[57, 104] Operation: 29+75=104
Exploring Operation: 75-29=46, Resulting Numbers: [57, 46]
Generated Node #0,4,3: 74:[57, 46] Operation: 75-29=46
Exploring Operation: 57+29=86, Resulting Numbers: [75, 86]
Generated Node #0,4,4: 74:[75, 86] Operation: 57+29=86
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 74:[75, 28], Operations: ['76-1=75', '57-29=28']
Exploring Operation: 75-28=47, Resulting Numbers: [47]
47,74 unequal: No Solution
Exploring Operation: 75*28=2100, Resulting Numbers: [2100]
2100,74 unequal: No Solution
Exploring Operation: 75+28=103, Resulting Numbers: [103]
103,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,4,4
Current State: 74:[75, 86], Operations: ['76-1=75', '57+29=86']
Exploring Operation: 86-75=11, Resulting Numbers: [11]
11,74 unequal: No Solution
Exploring Operation: 75*86=6450, Resulting Numbers: [6450]
6450,74 unequal: No Solution
Exploring Operation: 75+86=161, Resulting Numbers: [161]
161,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,4,0
Current State: 74:[29, 18], Operations: ['76-1=75', '75-57=18']
Exploring Operation: 29+18=47, Resulting Numbers: [47]
47,74 unequal: No Solution
Exploring Operation: 29-18=11, Resulting Numbers: [11]
11,74 unequal: No Solution
Exploring Operation: 29*18=522, Resulting Numbers: [522]
522,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,4,3
Current State: 74:[57, 46], Operations: ['76-1=75', '75-29=46']
Exploring Operation: 57*46=2622, Resulting Numbers: [2622]
2622,74 unequal: No Solution
Exploring Operation: 57+46=103, Resulting Numbers: [103]
103,74 unequal: No Solution
Exploring Operation: 57-46=11, Resulting Numbers: [11]
11,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,4,2
Current State: 74:[57, 104], Operations: ['76-1=75', '29+75=104']
Exploring Operation: 57+104=161, Resulting Numbers: [161]
161,74 unequal: No Solution
Exploring Operation: 104-57=47, Resulting Numbers: [47]
47,74 unequal: No Solution
Exploring Operation: 57*104=5928, Resulting Numbers: [5928]
5928,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,3
Current State: 74:[76, 2], Operations: ['1+57=58', '58/29=2']
Exploring Operation: 76/2=38, Resulting Numbers: [38]
38,74 unequal: No Solution
Exploring Operation: 76-2=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[1, 76, 57, 29], Operations: []
Exploring Operation: 1+57=58, Resulting Numbers: [76, 29, 58]
Generated Node #0,2: 74:[76, 29, 58] Operation: 1+57=58
Moving to Node #0,2
Current State: 74:[76, 29, 58], Operations: ['1+57=58']
Exploring Operation: 58/29=2, Resulting Numbers: [76, 2]
Generated Node #0,2,3: 74:[76, 2] Operation: 58/29=2
Moving to Node #0,2,3
Current State: 74:[76, 2], Operations: ['1+57=58', '58/29=2']
Exploring Operation: 76-2=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 0.942708 | hs_5 | sum_heuristic |
[
6,
39,
75,
5
] | 30 | [
"6+39=45",
"75/5=15",
"45-15=30"
] | Current State: 30:[6, 39, 75, 5], Operations: []
Exploring Operation: 6+39=45, Resulting Numbers: [75, 5, 45]
Generated Node #2: [75, 5, 45] from Operation: 6+39=45
Current State: 30:[75, 5, 45], Operations: ['6+39=45']
Exploring Operation: 75/5=15, Resulting Numbers: [45, 15]
Generated Node #3: [45, 15] from Operation: 75/5=15
Current State: 30:[45, 15], Operations: ['6+39=45', '75/5=15']
Exploring Operation: 45-15=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[6, 39, 75, 5], Operations: []
Exploring Operation: 75/5=15, Resulting Numbers: [6, 39, 15]
Generated Node #0,0: 30:[6, 39, 15] Operation: 75/5=15
Exploring Operation: 75-39=36, Resulting Numbers: [6, 5, 36]
Generated Node #0,1: 30:[6, 5, 36] Operation: 75-39=36
Exploring Operation: 75-6=69, Resulting Numbers: [39, 5, 69]
Generated Node #0,2: 30:[39, 5, 69] Operation: 75-6=69
Exploring Operation: 39-6=33, Resulting Numbers: [75, 5, 33]
Generated Node #0,3: 30:[75, 5, 33] Operation: 39-6=33
Start Sub Search at level 1: Moving to Node #0,1
Current State: 30:[6, 5, 36], Operations: ['75-39=36']
Exploring Operation: 36/6=6, Resulting Numbers: [5, 6]
Generated Node #0,1,0: 30:[5, 6] Operation: 36/6=6
Exploring Operation: 36-6=30, Resulting Numbers: [5, 30]
Generated Node #0,1,1: 30:[5, 30] Operation: 36-6=30
Exploring Operation: 6*5=30, Resulting Numbers: [36, 30]
Generated Node #0,1,2: 30:[36, 30] Operation: 6*5=30
Exploring Operation: 36-5=31, Resulting Numbers: [6, 31]
Generated Node #0,1,3: 30:[6, 31] Operation: 36-5=31
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 30:[5, 6], Operations: ['75-39=36', '36/6=6']
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,30 unequal: No Solution
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,30 unequal: No Solution
Exploring Operation: 5*6=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[6, 39, 75, 5], Operations: []
Exploring Operation: 75-39=36, Resulting Numbers: [6, 5, 36]
Generated Node #0,1: 30:[6, 5, 36] Operation: 75-39=36
Moving to Node #0,1
Current State: 30:[6, 5, 36], Operations: ['75-39=36']
Exploring Operation: 36/6=6, Resulting Numbers: [5, 6]
Generated Node #0,1,0: 30:[5, 6] Operation: 36/6=6
Moving to Node #0,1,0
Current State: 30:[5, 6], Operations: ['75-39=36', '36/6=6']
Exploring Operation: 5*6=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
81,
82,
93,
20
] | 74 | [
"82-81=1",
"93-20=73",
"1+73=74"
] | Current State: 74:[81, 82, 93, 20], Operations: []
Exploring Operation: 82-81=1, Resulting Numbers: [93, 20, 1]
Generated Node #2: [93, 20, 1] from Operation: 82-81=1
Current State: 74:[93, 20, 1], Operations: ['82-81=1']
Exploring Operation: 93-20=73, Resulting Numbers: [1, 73]
Generated Node #3: [1, 73] from Operation: 93-20=73
Current State: 74:[1, 73], Operations: ['82-81=1', '93-20=73']
Exploring Operation: 1+73=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[81, 82, 93, 20], Operations: []
Exploring Operation: 93-20=73, Resulting Numbers: [81, 82, 73]
Generated Node #0,0: 74:[81, 82, 73] Operation: 93-20=73
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[81, 82, 73], Operations: ['93-20=73']
Exploring Operation: 82-81=1, Resulting Numbers: [73, 1]
Generated Node #0,0,0: 74:[73, 1] Operation: 82-81=1
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 74:[73, 1], Operations: ['93-20=73', '82-81=1']
Exploring Operation: 73+1=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[81, 82, 93, 20], Operations: []
Exploring Operation: 93-20=73, Resulting Numbers: [81, 82, 73]
Generated Node #0,0: 74:[81, 82, 73] Operation: 93-20=73
Moving to Node #0,0
Current State: 74:[81, 82, 73], Operations: ['93-20=73']
Exploring Operation: 82-81=1, Resulting Numbers: [73, 1]
Generated Node #0,0,0: 74:[73, 1] Operation: 82-81=1
Moving to Node #0,0,0
Current State: 74:[73, 1], Operations: ['93-20=73', '82-81=1']
Exploring Operation: 73+1=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
88,
77,
6,
40
] | 69 | [
"88-40=48",
"48/6=8",
"77-8=69"
] | Current State: 69:[88, 77, 6, 40], Operations: []
Exploring Operation: 88-40=48, Resulting Numbers: [77, 6, 48]
Generated Node #2: [77, 6, 48] from Operation: 88-40=48
Current State: 69:[77, 6, 48], Operations: ['88-40=48']
Exploring Operation: 48/6=8, Resulting Numbers: [77, 8]
Generated Node #3: [77, 8] from Operation: 48/6=8
Current State: 69:[77, 8], Operations: ['88-40=48', '48/6=8']
Exploring Operation: 77-8=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[88, 77, 6, 40], Operations: []
Exploring Operation: 88-6=82, Resulting Numbers: [77, 40, 82]
Generated Node #0,0: 69:[77, 40, 82] Operation: 88-6=82
Exploring Operation: 77-6=71, Resulting Numbers: [88, 40, 71]
Generated Node #0,1: 69:[88, 40, 71] Operation: 77-6=71
Exploring Operation: 88-77=11, Resulting Numbers: [6, 40, 11]
Generated Node #0,2: 69:[6, 40, 11] Operation: 88-77=11
Exploring Operation: 77-40=37, Resulting Numbers: [88, 6, 37]
Generated Node #0,3: 69:[88, 6, 37] Operation: 77-40=37
Exploring Operation: 88-40=48, Resulting Numbers: [77, 6, 48]
Generated Node #0,4: 69:[77, 6, 48] Operation: 88-40=48
Moving to Node #0,2
Current State: 69:[6, 40, 11], Operations: ['88-77=11']
Exploring Operation: 40-6=34, Resulting Numbers: [11, 34]
Generated Node #0,2,0: 69:[11, 34] Operation: 40-6=34
Exploring Operation: 40-11=29, Resulting Numbers: [6, 29]
Generated Node #0,2,1: 69:[6, 29] Operation: 40-11=29
Exploring Operation: 6*11=66, Resulting Numbers: [40, 66]
Generated Node #0,2,2: 69:[40, 66] Operation: 6*11=66
Exploring Operation: 11-6=5, Resulting Numbers: [40, 5]
Generated Node #0,2,3: 69:[40, 5] Operation: 11-6=5
Exploring Operation: 40+11=51, Resulting Numbers: [6, 51]
Generated Node #0,2,4: 69:[6, 51] Operation: 40+11=51
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 69:[6, 29], Operations: ['88-77=11', '40-11=29']
Exploring Operation: 29-6=23, Resulting Numbers: [23]
23,69 unequal: No Solution
Exploring Operation: 6*29=174, Resulting Numbers: [174]
174,69 unequal: No Solution
Exploring Operation: 6+29=35, Resulting Numbers: [35]
35,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 69:[11, 34], Operations: ['88-77=11', '40-6=34']
Exploring Operation: 11*34=374, Resulting Numbers: [374]
374,69 unequal: No Solution
Exploring Operation: 11+34=45, Resulting Numbers: [45]
45,69 unequal: No Solution
Exploring Operation: 34-11=23, Resulting Numbers: [23]
23,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 69:[40, 5], Operations: ['88-77=11', '11-6=5']
Exploring Operation: 40+5=45, Resulting Numbers: [45]
45,69 unequal: No Solution
Exploring Operation: 40-5=35, Resulting Numbers: [35]
35,69 unequal: No Solution
Exploring Operation: 40*5=200, Resulting Numbers: [200]
200,69 unequal: No Solution
Exploring Operation: 40/5=8, Resulting Numbers: [8]
8,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 69:[40, 66], Operations: ['88-77=11', '6*11=66']
Exploring Operation: 40+66=106, Resulting Numbers: [106]
106,69 unequal: No Solution
Exploring Operation: 66-40=26, Resulting Numbers: [26]
26,69 unequal: No Solution
Exploring Operation: 40*66=2640, Resulting Numbers: [2640]
2640,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 69:[6, 51], Operations: ['88-77=11', '40+11=51']
Exploring Operation: 51-6=45, Resulting Numbers: [45]
45,69 unequal: No Solution
Exploring Operation: 6*51=306, Resulting Numbers: [306]
306,69 unequal: No Solution
Exploring Operation: 6+51=57, Resulting Numbers: [57]
57,69 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: 69:[77, 6, 48], Operations: ['88-40=48']
Exploring Operation: 77-48=29, Resulting Numbers: [6, 29]
Generated Node #0,4,0: 69:[6, 29] Operation: 77-48=29
Exploring Operation: 6+48=54, Resulting Numbers: [77, 54]
Generated Node #0,4,1: 69:[77, 54] Operation: 6+48=54
Exploring Operation: 48/6=8, Resulting Numbers: [77, 8]
Generated Node #0,4,2: 69:[77, 8] Operation: 48/6=8
Exploring Operation: 77-6=71, Resulting Numbers: [48, 71]
Generated Node #0,4,3: 69:[48, 71] Operation: 77-6=71
Exploring Operation: 48-6=42, Resulting Numbers: [77, 42]
Generated Node #0,4,4: 69:[77, 42] Operation: 48-6=42
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 69:[6, 29], Operations: ['88-40=48', '77-48=29']
Exploring Operation: 6+29=35, Resulting Numbers: [35]
35,69 unequal: No Solution
Exploring Operation: 29-6=23, Resulting Numbers: [23]
23,69 unequal: No Solution
Exploring Operation: 6*29=174, Resulting Numbers: [174]
174,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 69:[77, 8], Operations: ['88-40=48', '48/6=8']
Exploring Operation: 77-8=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[88, 77, 6, 40], Operations: []
Exploring Operation: 88-40=48, Resulting Numbers: [77, 6, 48]
Generated Node #0,4: 69:[77, 6, 48] Operation: 88-40=48
Moving to Node #0,4
Current State: 69:[77, 6, 48], Operations: ['88-40=48']
Exploring Operation: 48/6=8, Resulting Numbers: [77, 8]
Generated Node #0,4,2: 69:[77, 8] Operation: 48/6=8
Moving to Node #0,4,2
Current State: 69:[77, 8], Operations: ['88-40=48', '48/6=8']
Exploring Operation: 77-8=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 1
| 0.966146 | hs_5 | sum_heuristic |
[
78,
45,
55,
60
] | 72 | [
"55-45=10",
"60/10=6",
"78-6=72"
] | Current State: 72:[78, 45, 55, 60], Operations: []
Exploring Operation: 55-45=10, Resulting Numbers: [78, 60, 10]
Generated Node #2: [78, 60, 10] from Operation: 55-45=10
Current State: 72:[78, 60, 10], Operations: ['55-45=10']
Exploring Operation: 60/10=6, Resulting Numbers: [78, 6]
Generated Node #3: [78, 6] from Operation: 60/10=6
Current State: 72:[78, 6], Operations: ['55-45=10', '60/10=6']
Exploring Operation: 78-6=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[78, 45, 55, 60], Operations: []
Exploring Operation: 55-45=10, Resulting Numbers: [78, 60, 10]
Generated Node #0,0: 72:[78, 60, 10] Operation: 55-45=10
Exploring Operation: 78-55=23, Resulting Numbers: [45, 60, 23]
Generated Node #0,1: 72:[45, 60, 23] Operation: 78-55=23
Exploring Operation: 60-55=5, Resulting Numbers: [78, 45, 5]
Generated Node #0,2: 72:[78, 45, 5] Operation: 60-55=5
Moving to Node #0,2
Current State: 72:[78, 45, 5], Operations: ['60-55=5']
Exploring Operation: 78-45=33, Resulting Numbers: [5, 33]
Generated Node #0,2,0: 72:[5, 33] Operation: 78-45=33
Exploring Operation: 45/5=9, Resulting Numbers: [78, 9]
Generated Node #0,2,1: 72:[78, 9] Operation: 45/5=9
Exploring Operation: 78-5=73, Resulting Numbers: [45, 73]
Generated Node #0,2,2: 72:[45, 73] Operation: 78-5=73
Moving to Node #0,0
Current State: 72:[78, 60, 10], Operations: ['55-45=10']
Exploring Operation: 78-60=18, Resulting Numbers: [10, 18]
Generated Node #0,0,0: 72:[10, 18] Operation: 78-60=18
Exploring Operation: 60/10=6, Resulting Numbers: [78, 6]
Generated Node #0,0,1: 72:[78, 6] Operation: 60/10=6
Exploring Operation: 60+10=70, Resulting Numbers: [78, 70]
Generated Node #0,0,2: 72:[78, 70] Operation: 60+10=70
Moving to Node #0,1
Current State: 72:[45, 60, 23], Operations: ['78-55=23']
Exploring Operation: 60-23=37, Resulting Numbers: [45, 37]
Generated Node #0,1,0: 72:[45, 37] Operation: 60-23=37
Exploring Operation: 60-45=15, Resulting Numbers: [23, 15]
Generated Node #0,1,1: 72:[23, 15] Operation: 60-45=15
Exploring Operation: 45-23=22, Resulting Numbers: [60, 22]
Generated Node #0,1,2: 72:[60, 22] Operation: 45-23=22
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 72:[23, 15], Operations: ['78-55=23', '60-45=15']
Exploring Operation: 23-15=8, Resulting Numbers: [8]
8,72 unequal: No Solution
Exploring Operation: 23+15=38, Resulting Numbers: [38]
38,72 unequal: No Solution
Exploring Operation: 23*15=345, Resulting Numbers: [345]
345,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,1,0
Current State: 72:[45, 37], Operations: ['78-55=23', '60-23=37']
Exploring Operation: 45-37=8, Resulting Numbers: [8]
8,72 unequal: No Solution
Exploring Operation: 45+37=82, Resulting Numbers: [82]
82,72 unequal: No Solution
Exploring Operation: 45*37=1665, Resulting Numbers: [1665]
1665,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,1,2
Current State: 72:[60, 22], Operations: ['78-55=23', '45-23=22']
Exploring Operation: 60-22=38, Resulting Numbers: [38]
38,72 unequal: No Solution
Exploring Operation: 60*22=1320, Resulting Numbers: [1320]
1320,72 unequal: No Solution
Exploring Operation: 60+22=82, Resulting Numbers: [82]
82,72 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: 72:[10, 18], Operations: ['55-45=10', '78-60=18']
Exploring Operation: 10+18=28, Resulting Numbers: [28]
28,72 unequal: No Solution
Exploring Operation: 10*18=180, Resulting Numbers: [180]
180,72 unequal: No Solution
Exploring Operation: 18-10=8, Resulting Numbers: [8]
8,72 unequal: No Solution
Moving to Node #0,2,0
Current State: 72:[5, 33], Operations: ['60-55=5', '78-45=33']
Exploring Operation: 5+33=38, Resulting Numbers: [38]
38,72 unequal: No Solution
Exploring Operation: 5*33=165, Resulting Numbers: [165]
165,72 unequal: No Solution
Exploring Operation: 33-5=28, Resulting Numbers: [28]
28,72 unequal: No Solution
Moving to Node #0,0,1
Current State: 72:[78, 6], Operations: ['55-45=10', '60/10=6']
Exploring Operation: 78+6=84, Resulting Numbers: [84]
84,72 unequal: No Solution
Exploring Operation: 78-6=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[78, 45, 55, 60], Operations: []
Exploring Operation: 55-45=10, Resulting Numbers: [78, 60, 10]
Generated Node #0,0: 72:[78, 60, 10] Operation: 55-45=10
Moving to Node #0,0
Current State: 72:[78, 60, 10], Operations: ['55-45=10']
Exploring Operation: 60/10=6, Resulting Numbers: [78, 6]
Generated Node #0,0,1: 72:[78, 6] Operation: 60/10=6
Moving to Node #0,0,1
Current State: 72:[78, 6], Operations: ['55-45=10', '60/10=6']
Exploring Operation: 78-6=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 0.971354 | hs_3 | mult_heuristic |
[
95,
31,
91,
64
] | 70 | [
"95+91=186",
"186/31=6",
"64+6=70"
] | Current State: 70:[95, 31, 91, 64], Operations: []
Exploring Operation: 95+91=186, Resulting Numbers: [31, 64, 186]
Generated Node #2: [31, 64, 186] from Operation: 95+91=186
Current State: 70:[31, 64, 186], Operations: ['95+91=186']
Exploring Operation: 186/31=6, Resulting Numbers: [64, 6]
Generated Node #3: [64, 6] from Operation: 186/31=6
Current State: 70:[64, 6], Operations: ['95+91=186', '186/31=6']
Exploring Operation: 64+6=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[95, 31, 91, 64], Operations: []
Exploring Operation: 95-64=31, Resulting Numbers: [31, 91, 31]
Generated Node #0,0: 70:[31, 91, 31] Operation: 95-64=31
Exploring Operation: 95-31=64, Resulting Numbers: [91, 64, 64]
Generated Node #0,1: 70:[91, 64, 64] Operation: 95-31=64
Exploring Operation: 95-91=4, Resulting Numbers: [31, 64, 4]
Generated Node #0,2: 70:[31, 64, 4] Operation: 95-91=4
Start Sub Search at level 1: Moving to Node #0,2
Current State: 70:[31, 64, 4], Operations: ['95-91=4']
Exploring Operation: 64+4=68, Resulting Numbers: [31, 68]
Generated Node #0,2,0: 70:[31, 68] Operation: 64+4=68
Exploring Operation: 31+4=35, Resulting Numbers: [64, 35]
Generated Node #0,2,1: 70:[64, 35] Operation: 31+4=35
Exploring Operation: 64-31=33, Resulting Numbers: [4, 33]
Generated Node #0,2,2: 70:[4, 33] Operation: 64-31=33
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 70:[4, 33], Operations: ['95-91=4', '64-31=33']
Exploring Operation: 4*33=132, Resulting Numbers: [132]
132,70 unequal: No Solution
Exploring Operation: 4+33=37, Resulting Numbers: [37]
37,70 unequal: No Solution
Exploring Operation: 33-4=29, Resulting Numbers: [29]
29,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 70:[31, 68], Operations: ['95-91=4', '64+4=68']
Exploring Operation: 68-31=37, Resulting Numbers: [37]
37,70 unequal: No Solution
Exploring Operation: 31*68=2108, Resulting Numbers: [2108]
2108,70 unequal: No Solution
Exploring Operation: 31+68=99, Resulting Numbers: [99]
99,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 70:[64, 35], Operations: ['95-91=4', '31+4=35']
Exploring Operation: 64-35=29, Resulting Numbers: [29]
29,70 unequal: No Solution
Exploring Operation: 64+35=99, Resulting Numbers: [99]
99,70 unequal: No Solution
Exploring Operation: 64*35=2240, Resulting Numbers: [2240]
2240,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[31, 91, 31], Operations: ['95-64=31']
Exploring Operation: 31/31=1, Resulting Numbers: [91, 1]
Generated Node #0,0,0: 70:[91, 1] Operation: 31/31=1
Exploring Operation: 91-31=60, Resulting Numbers: [31, 60]
Generated Node #0,0,1: 70:[31, 60] Operation: 91-31=60
Exploring Operation: 91-31=60, Resulting Numbers: [31, 60]
Generated Node #0,0,2: 70:[31, 60] Operation: 91-31=60
Moving to Node #0,0,1
Current State: 70:[31, 60], Operations: ['95-64=31', '91-31=60']
Exploring Operation: 60-31=29, Resulting Numbers: [29]
29,70 unequal: No Solution
Exploring Operation: 31*60=1860, Resulting Numbers: [1860]
1860,70 unequal: No Solution
Exploring Operation: 31+60=91, Resulting Numbers: [91]
91,70 unequal: No Solution
Moving to Node #0,0,2
Current State: 70:[31, 60], Operations: ['95-64=31', '91-31=60']
Exploring Operation: 31*60=1860, Resulting Numbers: [1860]
1860,70 unequal: No Solution
Exploring Operation: 60-31=29, Resulting Numbers: [29]
29,70 unequal: No Solution
Exploring Operation: 31+60=91, Resulting Numbers: [91]
91,70 unequal: No Solution
Moving to Node #0,0,0
Current State: 70:[91, 1], Operations: ['95-64=31', '31/31=1']
Exploring Operation: 91-1=90, Resulting Numbers: [90]
90,70 unequal: No Solution
Exploring Operation: 91/1=91, Resulting Numbers: [91]
91,70 unequal: No Solution
Exploring Operation: 91*1=91, Resulting Numbers: [91]
91,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 70:[91, 64, 64], Operations: ['95-31=64']
Exploring Operation: 91-64=27, Resulting Numbers: [64, 27]
Generated Node #0,1,0: 70:[64, 27] Operation: 91-64=27
Exploring Operation: 64/64=1, Resulting Numbers: [91, 1]
Generated Node #0,1,1: 70:[91, 1] Operation: 64/64=1
Exploring Operation: 91-64=27, Resulting Numbers: [64, 27]
Generated Node #0,1,2: 70:[64, 27] Operation: 91-64=27
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 70:[64, 27], Operations: ['95-31=64', '91-64=27']
Exploring Operation: 64+27=91, Resulting Numbers: [91]
91,70 unequal: No Solution
Exploring Operation: 64*27=1728, Resulting Numbers: [1728]
1728,70 unequal: No Solution
Exploring Operation: 64-27=37, Resulting Numbers: [37]
37,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 70:[64, 27], Operations: ['95-31=64', '91-64=27']
Exploring Operation: 64*27=1728, Resulting Numbers: [1728]
1728,70 unequal: No Solution
Exploring Operation: 64+27=91, Resulting Numbers: [91]
91,70 unequal: No Solution
Exploring Operation: 64-27=37, Resulting Numbers: [37]
37,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 70:[91, 1], Operations: ['95-31=64', '64/64=1']
Exploring Operation: 91-1=90, Resulting Numbers: [90]
90,70 unequal: No Solution
Exploring Operation: 91/1=91, Resulting Numbers: [91]
91,70 unequal: No Solution
Exploring Operation: 91*1=91, Resulting Numbers: [91]
91,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
56,
28,
94,
65
] | 31 | [
"56/28=2",
"94-65=29",
"2+29=31"
] | Current State: 31:[56, 28, 94, 65], Operations: []
Exploring Operation: 56/28=2, Resulting Numbers: [94, 65, 2]
Generated Node #2: [94, 65, 2] from Operation: 56/28=2
Current State: 31:[94, 65, 2], Operations: ['56/28=2']
Exploring Operation: 94-65=29, Resulting Numbers: [2, 29]
Generated Node #3: [2, 29] from Operation: 94-65=29
Current State: 31:[2, 29], Operations: ['56/28=2', '94-65=29']
Exploring Operation: 2+29=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[56, 28, 94, 65], Operations: []
Exploring Operation: 94-56=38, Resulting Numbers: [28, 65, 38]
Generated Node #0,0: 31:[28, 65, 38] Operation: 94-56=38
Exploring Operation: 94-65=29, Resulting Numbers: [56, 28, 29]
Generated Node #0,1: 31:[56, 28, 29] Operation: 94-65=29
Moving to Node #0,1
Current State: 31:[56, 28, 29], Operations: ['94-65=29']
Exploring Operation: 56-28=28, Resulting Numbers: [29, 28]
Generated Node #0,1,0: 31:[29, 28] Operation: 56-28=28
Exploring Operation: 56-29=27, Resulting Numbers: [28, 27]
Generated Node #0,1,1: 31:[28, 27] Operation: 56-29=27
Moving to Node #0,0
Current State: 31:[28, 65, 38], Operations: ['94-56=38']
Exploring Operation: 65-28=37, Resulting Numbers: [38, 37]
Generated Node #0,0,0: 31:[38, 37] Operation: 65-28=37
Exploring Operation: 65-38=27, Resulting Numbers: [28, 27]
Generated Node #0,0,1: 31:[28, 27] Operation: 65-38=27
Moving to Node #0,1,0
Current State: 31:[29, 28], Operations: ['94-65=29', '56-28=28']
Exploring Operation: 29+28=57, Resulting Numbers: [57]
57,31 unequal: No Solution
Exploring Operation: 29-28=1, Resulting Numbers: [1]
1,31 unequal: No Solution
Moving to Node #0,0,1
Current State: 31:[28, 27], Operations: ['94-56=38', '65-38=27']
Exploring Operation: 28+27=55, Resulting Numbers: [55]
55,31 unequal: No Solution
Exploring Operation: 28-27=1, Resulting Numbers: [1]
1,31 unequal: No Solution
Moving to Node #0,1,1
Current State: 31:[28, 27], Operations: ['94-65=29', '56-29=27']
Exploring Operation: 28+27=55, Resulting Numbers: [55]
55,31 unequal: No Solution
Exploring Operation: 28-27=1, Resulting Numbers: [1]
1,31 unequal: No Solution
Moving to Node #0,0,0
Current State: 31:[38, 37], Operations: ['94-56=38', '65-28=37']
Exploring Operation: 38-37=1, Resulting Numbers: [1]
1,31 unequal: No Solution
Exploring Operation: 38+37=75, Resulting Numbers: [75]
75,31 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
68,
34,
59,
11
] | 50 | [
"68/34=2",
"59-11=48",
"2+48=50"
] | Current State: 50:[68, 34, 59, 11], Operations: []
Exploring Operation: 68/34=2, Resulting Numbers: [59, 11, 2]
Generated Node #2: [59, 11, 2] from Operation: 68/34=2
Current State: 50:[59, 11, 2], Operations: ['68/34=2']
Exploring Operation: 59-11=48, Resulting Numbers: [2, 48]
Generated Node #3: [2, 48] from Operation: 59-11=48
Current State: 50:[2, 48], Operations: ['68/34=2', '59-11=48']
Exploring Operation: 2+48=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[68, 34, 59, 11], Operations: []
Exploring Operation: 68/34=2, Resulting Numbers: [59, 11, 2]
Generated Node #0,0: 50:[59, 11, 2] Operation: 68/34=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[59, 11, 2], Operations: ['68/34=2']
Exploring Operation: 59-11=48, Resulting Numbers: [2, 48]
Generated Node #0,0,0: 50:[2, 48] Operation: 59-11=48
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 50:[2, 48], Operations: ['68/34=2', '59-11=48']
Exploring Operation: 2+48=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[68, 34, 59, 11], Operations: []
Exploring Operation: 68/34=2, Resulting Numbers: [59, 11, 2]
Generated Node #0,0: 50:[59, 11, 2] Operation: 68/34=2
Moving to Node #0,0
Current State: 50:[59, 11, 2], Operations: ['68/34=2']
Exploring Operation: 59-11=48, Resulting Numbers: [2, 48]
Generated Node #0,0,0: 50:[2, 48] Operation: 59-11=48
Moving to Node #0,0,0
Current State: 50:[2, 48], Operations: ['68/34=2', '59-11=48']
Exploring Operation: 2+48=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
36,
14,
63,
35
] | 43 | [
"36*14=504",
"504/63=8",
"35+8=43"
] | Current State: 43:[36, 14, 63, 35], Operations: []
Exploring Operation: 36*14=504, Resulting Numbers: [63, 35, 504]
Generated Node #2: [63, 35, 504] from Operation: 36*14=504
Current State: 43:[63, 35, 504], Operations: ['36*14=504']
Exploring Operation: 504/63=8, Resulting Numbers: [35, 8]
Generated Node #3: [35, 8] from Operation: 504/63=8
Current State: 43:[35, 8], Operations: ['36*14=504', '504/63=8']
Exploring Operation: 35+8=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[36, 14, 63, 35], Operations: []
Exploring Operation: 36+14=50, Resulting Numbers: [63, 35, 50]
Generated Node #0,0: 43:[63, 35, 50] Operation: 36+14=50
Exploring Operation: 63-14=49, Resulting Numbers: [36, 35, 49]
Generated Node #0,1: 43:[36, 35, 49] Operation: 63-14=49
Exploring Operation: 14+35=49, Resulting Numbers: [36, 63, 49]
Generated Node #0,2: 43:[36, 63, 49] Operation: 14+35=49
Start Sub Search at level 1: Moving to Node #0,1
Current State: 43:[36, 35, 49], Operations: ['63-14=49']
Exploring Operation: 49-36=13, Resulting Numbers: [35, 13]
Generated Node #0,1,0: 43:[35, 13] Operation: 49-36=13
Exploring Operation: 49-35=14, Resulting Numbers: [36, 14]
Generated Node #0,1,1: 43:[36, 14] Operation: 49-35=14
Exploring Operation: 36+35=71, Resulting Numbers: [49, 71]
Generated Node #0,1,2: 43:[49, 71] Operation: 36+35=71
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 43:[49, 71], Operations: ['63-14=49', '36+35=71']
Exploring Operation: 49*71=3479, Resulting Numbers: [3479]
3479,43 unequal: No Solution
Exploring Operation: 71-49=22, Resulting Numbers: [22]
22,43 unequal: No Solution
Exploring Operation: 49+71=120, Resulting Numbers: [120]
120,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:[36, 14], Operations: ['63-14=49', '49-35=14']
Exploring Operation: 36-14=22, Resulting Numbers: [22]
22,43 unequal: No Solution
Exploring Operation: 36*14=504, Resulting Numbers: [504]
504,43 unequal: No Solution
Exploring Operation: 36+14=50, Resulting Numbers: [50]
50,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,0
Current State: 43:[35, 13], Operations: ['63-14=49', '49-36=13']
Exploring Operation: 35*13=455, Resulting Numbers: [455]
455,43 unequal: No Solution
Exploring Operation: 35+13=48, Resulting Numbers: [48]
48,43 unequal: No Solution
Exploring Operation: 35-13=22, Resulting Numbers: [22]
22,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 43:[36, 63, 49], Operations: ['14+35=49']
Exploring Operation: 63-36=27, Resulting Numbers: [49, 27]
Generated Node #0,2,0: 43:[49, 27] Operation: 63-36=27
Exploring Operation: 63-49=14, Resulting Numbers: [36, 14]
Generated Node #0,2,1: 43:[36, 14] Operation: 63-49=14
Exploring Operation: 49-36=13, Resulting Numbers: [63, 13]
Generated Node #0,2,2: 43:[63, 13] Operation: 49-36=13
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 43:[49, 27], Operations: ['14+35=49', '63-36=27']
Exploring Operation: 49-27=22, Resulting Numbers: [22]
22,43 unequal: No Solution
Exploring Operation: 49+27=76, Resulting Numbers: [76]
76,43 unequal: No Solution
Exploring Operation: 49*27=1323, Resulting Numbers: [1323]
1323,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,2,1
Current State: 43:[36, 14], Operations: ['14+35=49', '63-49=14']
Exploring Operation: 36*14=504, Resulting Numbers: [504]
504,43 unequal: No Solution
Exploring Operation: 36+14=50, Resulting Numbers: [50]
50,43 unequal: No Solution
Exploring Operation: 36-14=22, Resulting Numbers: [22]
22,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,2,2
Current State: 43:[63, 13], Operations: ['14+35=49', '49-36=13']
Exploring Operation: 63*13=819, Resulting Numbers: [819]
819,43 unequal: No Solution
Exploring Operation: 63-13=50, Resulting Numbers: [50]
50,43 unequal: No Solution
Exploring Operation: 63+13=76, Resulting Numbers: [76]
76,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[63, 35, 50], Operations: ['36+14=50']
Exploring Operation: 63-35=28, Resulting Numbers: [50, 28]
Generated Node #0,0,0: 43:[50, 28] Operation: 63-35=28
Exploring Operation: 50-35=15, Resulting Numbers: [63, 15]
Generated Node #0,0,1: 43:[63, 15] Operation: 50-35=15
Exploring Operation: 63-50=13, Resulting Numbers: [35, 13]
Generated Node #0,0,2: 43:[35, 13] Operation: 63-50=13
Moving to Node #0,0,0
Current State: 43:[50, 28], Operations: ['36+14=50', '63-35=28']
Exploring Operation: 50*28=1400, Resulting Numbers: [1400]
1400,43 unequal: No Solution
Exploring Operation: 50+28=78, Resulting Numbers: [78]
78,43 unequal: No Solution
Exploring Operation: 50-28=22, Resulting Numbers: [22]
22,43 unequal: No Solution
Moving to Node #0,0,2
Current State: 43:[35, 13], Operations: ['36+14=50', '63-50=13']
Exploring Operation: 35+13=48, Resulting Numbers: [48]
48,43 unequal: No Solution
Exploring Operation: 35*13=455, Resulting Numbers: [455]
455,43 unequal: No Solution
Exploring Operation: 35-13=22, Resulting Numbers: [22]
22,43 unequal: No Solution
Moving to Node #0,0,1
Current State: 43:[63, 15], Operations: ['36+14=50', '50-35=15']
Exploring Operation: 63-15=48, Resulting Numbers: [48]
48,43 unequal: No Solution
Exploring Operation: 63*15=945, Resulting Numbers: [945]
945,43 unequal: No Solution
Exploring Operation: 63+15=78, Resulting Numbers: [78]
78,43 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 |
[
10,
63,
58,
2
] | 70 | [
"63-58=5",
"2+5=7",
"10*7=70"
] | Current State: 70:[10, 63, 58, 2], Operations: []
Exploring Operation: 63-58=5, Resulting Numbers: [10, 2, 5]
Generated Node #2: [10, 2, 5] from Operation: 63-58=5
Current State: 70:[10, 2, 5], Operations: ['63-58=5']
Exploring Operation: 2+5=7, Resulting Numbers: [10, 7]
Generated Node #3: [10, 7] from Operation: 2+5=7
Current State: 70:[10, 7], Operations: ['63-58=5', '2+5=7']
Exploring Operation: 10*7=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[10, 63, 58, 2], Operations: []
Exploring Operation: 63+2=65, Resulting Numbers: [10, 58, 65]
Generated Node #0,0: 70:[10, 58, 65] Operation: 63+2=65
Exploring Operation: 10+63=73, Resulting Numbers: [58, 2, 73]
Generated Node #0,1: 70:[58, 2, 73] Operation: 10+63=73
Exploring Operation: 63-58=5, Resulting Numbers: [10, 2, 5]
Generated Node #0,2: 70:[10, 2, 5] Operation: 63-58=5
Exploring Operation: 10+58=68, Resulting Numbers: [63, 2, 68]
Generated Node #0,3: 70:[63, 2, 68] Operation: 10+58=68
Exploring Operation: 58/2=29, Resulting Numbers: [10, 63, 29]
Generated Node #0,4: 70:[10, 63, 29] Operation: 58/2=29
Start Sub Search at level 1: Moving to Node #0,2
Current State: 70:[10, 2, 5], Operations: ['63-58=5']
Exploring Operation: 2*5=10, Resulting Numbers: [10, 10]
Generated Node #0,2,0: 70:[10, 10] Operation: 2*5=10
Exploring Operation: 10/2=5, Resulting Numbers: [5, 5]
Generated Node #0,2,1: 70:[5, 5] Operation: 10/2=5
Exploring Operation: 2+5=7, Resulting Numbers: [10, 7]
Generated Node #0,2,2: 70:[10, 7] Operation: 2+5=7
Exploring Operation: 10/5=2, Resulting Numbers: [2, 2]
Generated Node #0,2,3: 70:[2, 2] Operation: 10/5=2
Exploring Operation: 10-5=5, Resulting Numbers: [2, 5]
Generated Node #0,2,4: 70:[2, 5] Operation: 10-5=5
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 70:[10, 10], Operations: ['63-58=5', '2*5=10']
Exploring Operation: 10-10=0, Resulting Numbers: [0]
0,70 unequal: No Solution
Exploring Operation: 10*10=100, Resulting Numbers: [100]
100,70 unequal: No Solution
Exploring Operation: 10+10=20, Resulting Numbers: [20]
20,70 unequal: No Solution
Exploring Operation: 10/10=1, Resulting Numbers: [1]
1,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 70:[5, 5], Operations: ['63-58=5', '10/2=5']
Exploring Operation: 5-5=0, Resulting Numbers: [0]
0,70 unequal: No Solution
Exploring Operation: 5+5=10, Resulting Numbers: [10]
10,70 unequal: No Solution
Exploring Operation: 5*5=25, Resulting Numbers: [25]
25,70 unequal: No Solution
Exploring Operation: 5/5=1, Resulting Numbers: [1]
1,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 70:[10, 7], Operations: ['63-58=5', '2+5=7']
Exploring Operation: 10-7=3, Resulting Numbers: [3]
3,70 unequal: No Solution
Exploring Operation: 10*7=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[10, 63, 58, 2], Operations: []
Exploring Operation: 63-58=5, Resulting Numbers: [10, 2, 5]
Generated Node #0,2: 70:[10, 2, 5] Operation: 63-58=5
Moving to Node #0,2
Current State: 70:[10, 2, 5], Operations: ['63-58=5']
Exploring Operation: 2+5=7, Resulting Numbers: [10, 7]
Generated Node #0,2,2: 70:[10, 7] Operation: 2+5=7
Moving to Node #0,2,2
Current State: 70:[10, 7], Operations: ['63-58=5', '2+5=7']
Exploring Operation: 10*7=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.979167 | hs_5 | mult_heuristic |
[
73,
16,
71,
74
] | 83 | [
"73+71=144",
"144/16=9",
"74+9=83"
] | Current State: 83:[73, 16, 71, 74], Operations: []
Exploring Operation: 73+71=144, Resulting Numbers: [16, 74, 144]
Generated Node #2: [16, 74, 144] from Operation: 73+71=144
Current State: 83:[16, 74, 144], Operations: ['73+71=144']
Exploring Operation: 144/16=9, Resulting Numbers: [74, 9]
Generated Node #3: [74, 9] from Operation: 144/16=9
Current State: 83:[74, 9], Operations: ['73+71=144', '144/16=9']
Exploring Operation: 74+9=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[73, 16, 71, 74], Operations: []
Exploring Operation: 71-16=55, Resulting Numbers: [73, 74, 55]
Generated Node #0,0: 83:[73, 74, 55] Operation: 71-16=55
Exploring Operation: 73-16=57, Resulting Numbers: [71, 74, 57]
Generated Node #0,1: 83:[71, 74, 57] Operation: 73-16=57
Exploring Operation: 73+16=89, Resulting Numbers: [71, 74, 89]
Generated Node #0,2: 83:[71, 74, 89] Operation: 73+16=89
Exploring Operation: 16+74=90, Resulting Numbers: [73, 71, 90]
Generated Node #0,3: 83:[73, 71, 90] Operation: 16+74=90
Exploring Operation: 16+71=87, Resulting Numbers: [73, 74, 87]
Generated Node #0,4: 83:[73, 74, 87] Operation: 16+71=87
Start Sub Search at level 1: Moving to Node #0,4
Current State: 83:[73, 74, 87], Operations: ['16+71=87']
Exploring Operation: 87-74=13, Resulting Numbers: [73, 13]
Generated Node #0,4,0: 83:[73, 13] Operation: 87-74=13
Exploring Operation: 73+87=160, Resulting Numbers: [74, 160]
Generated Node #0,4,1: 83:[74, 160] Operation: 73+87=160
Exploring Operation: 74-73=1, Resulting Numbers: [87, 1]
Generated Node #0,4,2: 83:[87, 1] Operation: 74-73=1
Exploring Operation: 87-73=14, Resulting Numbers: [74, 14]
Generated Node #0,4,3: 83:[74, 14] Operation: 87-73=14
Exploring Operation: 73+74=147, Resulting Numbers: [87, 147]
Generated Node #0,4,4: 83:[87, 147] Operation: 73+74=147
Moving to Node #0,4,4
Current State: 83:[87, 147], Operations: ['16+71=87', '73+74=147']
Exploring Operation: 147-87=60, Resulting Numbers: [60]
60,83 unequal: No Solution
Exploring Operation: 87*147=12789, Resulting Numbers: [12789]
12789,83 unequal: No Solution
Exploring Operation: 87+147=234, Resulting Numbers: [234]
234,83 unequal: No Solution
Moving to Node #0,4,3
Current State: 83:[74, 14], Operations: ['16+71=87', '87-73=14']
Exploring Operation: 74*14=1036, Resulting Numbers: [1036]
1036,83 unequal: No Solution
Exploring Operation: 74+14=88, Resulting Numbers: [88]
88,83 unequal: No Solution
Exploring Operation: 74-14=60, Resulting Numbers: [60]
60,83 unequal: No Solution
Moving to Node #0,4,0
Current State: 83:[73, 13], Operations: ['16+71=87', '87-74=13']
Exploring Operation: 73-13=60, Resulting Numbers: [60]
60,83 unequal: No Solution
Exploring Operation: 73+13=86, Resulting Numbers: [86]
86,83 unequal: No Solution
Exploring Operation: 73*13=949, Resulting Numbers: [949]
949,83 unequal: No Solution
Moving to Node #0,4,1
Current State: 83:[74, 160], Operations: ['16+71=87', '73+87=160']
Exploring Operation: 74*160=11840, Resulting Numbers: [11840]
11840,83 unequal: No Solution
Exploring Operation: 160-74=86, Resulting Numbers: [86]
86,83 unequal: No Solution
Exploring Operation: 74+160=234, Resulting Numbers: [234]
234,83 unequal: No Solution
Moving to Node #0,4,2
Current State: 83:[87, 1], Operations: ['16+71=87', '74-73=1']
Exploring Operation: 87*1=87, Resulting Numbers: [87]
87,83 unequal: No Solution
Exploring Operation: 87+1=88, Resulting Numbers: [88]
88,83 unequal: No Solution
Exploring Operation: 87/1=87, Resulting Numbers: [87]
87,83 unequal: No Solution
Exploring Operation: 87-1=86, Resulting Numbers: [86]
86,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 83:[71, 74, 89], Operations: ['73+16=89']
Exploring Operation: 71+74=145, Resulting Numbers: [89, 145]
Generated Node #0,2,0: 83:[89, 145] Operation: 71+74=145
Exploring Operation: 74-71=3, Resulting Numbers: [89, 3]
Generated Node #0,2,1: 83:[89, 3] Operation: 74-71=3
Exploring Operation: 89-71=18, Resulting Numbers: [74, 18]
Generated Node #0,2,2: 83:[74, 18] Operation: 89-71=18
Exploring Operation: 71+89=160, Resulting Numbers: [74, 160]
Generated Node #0,2,3: 83:[74, 160] Operation: 71+89=160
Exploring Operation: 89-74=15, Resulting Numbers: [71, 15]
Generated Node #0,2,4: 83:[71, 15] Operation: 89-74=15
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 83:[89, 145], Operations: ['73+16=89', '71+74=145']
Exploring Operation: 145-89=56, Resulting Numbers: [56]
56,83 unequal: No Solution
Exploring Operation: 89*145=12905, Resulting Numbers: [12905]
12905,83 unequal: No Solution
Exploring Operation: 89+145=234, Resulting Numbers: [234]
234,83 unequal: No Solution
No 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: 83:[74, 18], Operations: ['73+16=89', '89-71=18']
Exploring Operation: 74*18=1332, Resulting Numbers: [1332]
1332,83 unequal: No Solution
Exploring Operation: 74-18=56, Resulting Numbers: [56]
56,83 unequal: No Solution
Exploring Operation: 74+18=92, Resulting Numbers: [92]
92,83 unequal: No Solution
No 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: 83:[71, 15], Operations: ['73+16=89', '89-74=15']
Exploring Operation: 71*15=1065, Resulting Numbers: [1065]
1065,83 unequal: No Solution
Exploring Operation: 71+15=86, Resulting Numbers: [86]
86,83 unequal: No Solution
Exploring Operation: 71-15=56, Resulting Numbers: [56]
56,83 unequal: No Solution
No 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: 83:[89, 3], Operations: ['73+16=89', '74-71=3']
Exploring Operation: 89+3=92, Resulting Numbers: [92]
92,83 unequal: No Solution
Exploring Operation: 89*3=267, Resulting Numbers: [267]
267,83 unequal: No Solution
Exploring Operation: 89-3=86, Resulting Numbers: [86]
86,83 unequal: No Solution
No 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: 83:[74, 160], Operations: ['73+16=89', '71+89=160']
Exploring Operation: 74*160=11840, Resulting Numbers: [11840]
11840,83 unequal: No Solution
Exploring Operation: 160-74=86, Resulting Numbers: [86]
86,83 unequal: No Solution
Exploring Operation: 74+160=234, Resulting Numbers: [234]
234,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 83:[73, 71, 90], Operations: ['16+74=90']
Exploring Operation: 73-71=2, Resulting Numbers: [90, 2]
Generated Node #0,3,0: 83:[90, 2] Operation: 73-71=2
Exploring Operation: 90-73=17, Resulting Numbers: [71, 17]
Generated Node #0,3,1: 83:[71, 17] Operation: 90-73=17
Exploring Operation: 90-71=19, Resulting Numbers: [73, 19]
Generated Node #0,3,2: 83:[73, 19] Operation: 90-71=19
Exploring Operation: 73+71=144, Resulting Numbers: [90, 144]
Generated Node #0,3,3: 83:[90, 144] Operation: 73+71=144
Exploring Operation: 71+90=161, Resulting Numbers: [73, 161]
Generated Node #0,3,4: 83:[73, 161] Operation: 71+90=161
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 83:[90, 144], Operations: ['16+74=90', '73+71=144']
Exploring Operation: 90+144=234, Resulting Numbers: [234]
234,83 unequal: No Solution
Exploring Operation: 144-90=54, Resulting Numbers: [54]
54,83 unequal: No Solution
Exploring Operation: 90*144=12960, Resulting Numbers: [12960]
12960,83 unequal: No Solution
No 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: 83:[73, 19], Operations: ['16+74=90', '90-71=19']
Exploring Operation: 73+19=92, Resulting Numbers: [92]
92,83 unequal: No Solution
Exploring Operation: 73*19=1387, Resulting Numbers: [1387]
1387,83 unequal: No Solution
Exploring Operation: 73-19=54, Resulting Numbers: [54]
54,83 unequal: No Solution
No 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: 83:[71, 17], Operations: ['16+74=90', '90-73=17']
Exploring Operation: 71+17=88, Resulting Numbers: [88]
88,83 unequal: No Solution
Exploring Operation: 71-17=54, Resulting Numbers: [54]
54,83 unequal: No Solution
Exploring Operation: 71*17=1207, Resulting Numbers: [1207]
1207,83 unequal: No Solution
No 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: 83:[90, 2], Operations: ['16+74=90', '73-71=2']
Exploring Operation: 90*2=180, Resulting Numbers: [180]
180,83 unequal: No Solution
Exploring Operation: 90-2=88, Resulting Numbers: [88]
88,83 unequal: No Solution
Exploring Operation: 90/2=45, Resulting Numbers: [45]
45,83 unequal: No Solution
Exploring Operation: 90+2=92, Resulting Numbers: [92]
92,83 unequal: No Solution
No 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: 83:[73, 161], Operations: ['16+74=90', '71+90=161']
Exploring Operation: 73*161=11753, Resulting Numbers: [11753]
11753,83 unequal: No Solution
Exploring Operation: 73+161=234, Resulting Numbers: [234]
234,83 unequal: No Solution
Exploring Operation: 161-73=88, Resulting Numbers: [88]
88,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[73, 74, 55], Operations: ['71-16=55']
Exploring Operation: 73+74=147, Resulting Numbers: [55, 147]
Generated Node #0,0,0: 83:[55, 147] Operation: 73+74=147
Exploring Operation: 73-55=18, Resulting Numbers: [74, 18]
Generated Node #0,0,1: 83:[74, 18] Operation: 73-55=18
Exploring Operation: 74-55=19, Resulting Numbers: [73, 19]
Generated Node #0,0,2: 83:[73, 19] Operation: 74-55=19
Exploring Operation: 73+55=128, Resulting Numbers: [74, 128]
Generated Node #0,0,3: 83:[74, 128] Operation: 73+55=128
Exploring Operation: 74+55=129, Resulting Numbers: [73, 129]
Generated Node #0,0,4: 83:[73, 129] Operation: 74+55=129
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 83:[74, 128], Operations: ['71-16=55', '73+55=128']
Exploring Operation: 74*128=9472, Resulting Numbers: [9472]
9472,83 unequal: No Solution
Exploring Operation: 128-74=54, Resulting Numbers: [54]
54,83 unequal: No Solution
Exploring Operation: 74+128=202, Resulting Numbers: [202]
202,83 unequal: No Solution
No 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: 83:[73, 129], Operations: ['71-16=55', '74+55=129']
Exploring Operation: 73*129=9417, Resulting Numbers: [9417]
9417,83 unequal: No Solution
Exploring Operation: 129-73=56, Resulting Numbers: [56]
56,83 unequal: No Solution
Exploring Operation: 73+129=202, Resulting Numbers: [202]
202,83 unequal: No Solution
No 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: 83:[74, 18], Operations: ['71-16=55', '73-55=18']
Exploring Operation: 74-18=56, Resulting Numbers: [56]
56,83 unequal: No Solution
Exploring Operation: 74*18=1332, Resulting Numbers: [1332]
1332,83 unequal: No Solution
Exploring Operation: 74+18=92, Resulting Numbers: [92]
92,83 unequal: No Solution
No 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: 83:[73, 19], Operations: ['71-16=55', '74-55=19']
Exploring Operation: 73+19=92, Resulting Numbers: [92]
92,83 unequal: No Solution
Exploring Operation: 73*19=1387, Resulting Numbers: [1387]
1387,83 unequal: No Solution
Exploring Operation: 73-19=54, Resulting Numbers: [54]
54,83 unequal: No Solution
No 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: 83:[55, 147], Operations: ['71-16=55', '73+74=147']
Exploring Operation: 55*147=8085, Resulting Numbers: [8085]
8085,83 unequal: No Solution
Exploring Operation: 55+147=202, Resulting Numbers: [202]
202,83 unequal: No Solution
Exploring Operation: 147-55=92, Resulting Numbers: [92]
92,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 83:[71, 74, 57], Operations: ['73-16=57']
Exploring Operation: 71-57=14, Resulting Numbers: [74, 14]
Generated Node #0,1,0: 83:[74, 14] Operation: 71-57=14
Exploring Operation: 71+74=145, Resulting Numbers: [57, 145]
Generated Node #0,1,1: 83:[57, 145] Operation: 71+74=145
Exploring Operation: 74+57=131, Resulting Numbers: [71, 131]
Generated Node #0,1,2: 83:[71, 131] Operation: 74+57=131
Exploring Operation: 71+57=128, Resulting Numbers: [74, 128]
Generated Node #0,1,3: 83:[74, 128] Operation: 71+57=128
Exploring Operation: 74-57=17, Resulting Numbers: [71, 17]
Generated Node #0,1,4: 83:[71, 17] Operation: 74-57=17
Moving to Node #0,1,3
Current State: 83:[74, 128], Operations: ['73-16=57', '71+57=128']
Exploring Operation: 74*128=9472, Resulting Numbers: [9472]
9472,83 unequal: No Solution
Exploring Operation: 74+128=202, Resulting Numbers: [202]
202,83 unequal: No Solution
Exploring Operation: 128-74=54, Resulting Numbers: [54]
54,83 unequal: No Solution
Moving to Node #0,1,2
Current State: 83:[71, 131], Operations: ['73-16=57', '74+57=131']
Exploring Operation: 71+131=202, Resulting Numbers: [202]
202,83 unequal: No Solution
Exploring Operation: 131-71=60, Resulting Numbers: [60]
60,83 unequal: No Solution
Exploring Operation: 71*131=9301, Resulting Numbers: [9301]
9301,83 unequal: No Solution
Moving to Node #0,1,0
Current State: 83:[74, 14], Operations: ['73-16=57', '71-57=14']
Exploring Operation: 74+14=88, Resulting Numbers: [88]
88,83 unequal: No Solution
Exploring Operation: 74*14=1036, Resulting Numbers: [1036]
1036,83 unequal: No Solution
Exploring Operation: 74-14=60, Resulting Numbers: [60]
60,83 unequal: No Solution
Moving to Node #0,1,4
Current State: 83:[71, 17], Operations: ['73-16=57', '74-57=17']
Exploring Operation: 71+17=88, Resulting Numbers: [88]
88,83 unequal: No Solution
Exploring Operation: 71-17=54, Resulting Numbers: [54]
54,83 unequal: No Solution
Exploring Operation: 71*17=1207, Resulting Numbers: [1207]
1207,83 unequal: No Solution
Moving to Node #0,1,1
Current State: 83:[57, 145], Operations: ['73-16=57', '71+74=145']
Exploring Operation: 57*145=8265, Resulting Numbers: [8265]
8265,83 unequal: No Solution
Exploring Operation: 145-57=88, Resulting Numbers: [88]
88,83 unequal: No Solution
Exploring Operation: 57+145=202, Resulting Numbers: [202]
202,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
51,
54,
50,
1
] | 53 | [
"54-51=3",
"50*1=50",
"3+50=53"
] | Current State: 53:[51, 54, 50, 1], Operations: []
Exploring Operation: 54-51=3, Resulting Numbers: [50, 1, 3]
Generated Node #2: [50, 1, 3] from Operation: 54-51=3
Current State: 53:[50, 1, 3], Operations: ['54-51=3']
Exploring Operation: 50*1=50, Resulting Numbers: [3, 50]
Generated Node #3: [3, 50] from Operation: 50*1=50
Current State: 53:[3, 50], Operations: ['54-51=3', '50*1=50']
Exploring Operation: 3+50=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[51, 54, 50, 1], Operations: []
Exploring Operation: 51+1=52, Resulting Numbers: [54, 50, 52]
Generated Node #0,0: 53:[54, 50, 52] Operation: 51+1=52
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[54, 50, 52], Operations: ['51+1=52']
Exploring Operation: 54-50=4, Resulting Numbers: [52, 4]
Generated Node #0,0,0: 53:[52, 4] Operation: 54-50=4
Moving to Node #0,0,0
Current State: 53:[52, 4], Operations: ['51+1=52', '54-50=4']
Exploring Operation: 52+4=56, Resulting Numbers: [56]
56,53 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 |
[
40,
20,
30,
76
] | 54 | [
"76-40=36",
"30*36=1080",
"1080/20=54"
] | Current State: 54:[40, 20, 30, 76], Operations: []
Exploring Operation: 76-40=36, Resulting Numbers: [20, 30, 36]
Generated Node #2: [20, 30, 36] from Operation: 76-40=36
Current State: 54:[20, 30, 36], Operations: ['76-40=36']
Exploring Operation: 30*36=1080, Resulting Numbers: [20, 1080]
Generated Node #3: [20, 1080] from Operation: 30*36=1080
Current State: 54:[20, 1080], Operations: ['76-40=36', '30*36=1080']
Exploring Operation: 1080/20=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[40, 20, 30, 76], Operations: []
Exploring Operation: 76-30=46, Resulting Numbers: [40, 20, 46]
Generated Node #0,0: 54:[40, 20, 46] Operation: 76-30=46
Exploring Operation: 76-20=56, Resulting Numbers: [40, 30, 56]
Generated Node #0,1: 54:[40, 30, 56] Operation: 76-20=56
Exploring Operation: 40/20=2, Resulting Numbers: [30, 76, 2]
Generated Node #0,2: 54:[30, 76, 2] Operation: 40/20=2
Exploring Operation: 76-40=36, Resulting Numbers: [20, 30, 36]
Generated Node #0,3: 54:[20, 30, 36] Operation: 76-40=36
Moving to Node #0,3
Current State: 54:[20, 30, 36], Operations: ['76-40=36']
Exploring Operation: 36-30=6, Resulting Numbers: [20, 6]
Generated Node #0,3,0: 54:[20, 6] Operation: 36-30=6
Exploring Operation: 30-20=10, Resulting Numbers: [36, 10]
Generated Node #0,3,1: 54:[36, 10] Operation: 30-20=10
Exploring Operation: 20+36=56, Resulting Numbers: [30, 56]
Generated Node #0,3,2: 54:[30, 56] Operation: 20+36=56
Exploring Operation: 36-20=16, Resulting Numbers: [30, 16]
Generated Node #0,3,3: 54:[30, 16] Operation: 36-20=16
Moving to Node #0,1
Current State: 54:[40, 30, 56], Operations: ['76-20=56']
Exploring Operation: 56-30=26, Resulting Numbers: [40, 26]
Generated Node #0,1,0: 54:[40, 26] Operation: 56-30=26
Exploring Operation: 40-30=10, Resulting Numbers: [56, 10]
Generated Node #0,1,1: 54:[56, 10] Operation: 40-30=10
Exploring Operation: 40+30=70, Resulting Numbers: [56, 70]
Generated Node #0,1,2: 54:[56, 70] Operation: 40+30=70
Exploring Operation: 56-40=16, Resulting Numbers: [30, 16]
Generated Node #0,1,3: 54:[30, 16] Operation: 56-40=16
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 54:[56, 10], Operations: ['76-20=56', '40-30=10']
Exploring Operation: 56*10=560, Resulting Numbers: [560]
560,54 unequal: No Solution
Exploring Operation: 56+10=66, Resulting Numbers: [66]
66,54 unequal: No Solution
Exploring Operation: 56-10=46, Resulting Numbers: [46]
46,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 54:[30, 16], Operations: ['76-20=56', '56-40=16']
Exploring Operation: 30-16=14, Resulting Numbers: [14]
14,54 unequal: No Solution
Exploring Operation: 30*16=480, Resulting Numbers: [480]
480,54 unequal: No Solution
Exploring Operation: 30+16=46, Resulting Numbers: [46]
46,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 54:[40, 26], Operations: ['76-20=56', '56-30=26']
Exploring Operation: 40+26=66, Resulting Numbers: [66]
66,54 unequal: No Solution
Exploring Operation: 40-26=14, Resulting Numbers: [14]
14,54 unequal: No Solution
Exploring Operation: 40*26=1040, Resulting Numbers: [1040]
1040,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 54:[56, 70], Operations: ['76-20=56', '40+30=70']
Exploring Operation: 56*70=3920, Resulting Numbers: [3920]
3920,54 unequal: No Solution
Exploring Operation: 70-56=14, Resulting Numbers: [14]
14,54 unequal: No Solution
Exploring Operation: 56+70=126, Resulting Numbers: [126]
126,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 54:[40, 20, 46], Operations: ['76-30=46']
Exploring Operation: 40/20=2, Resulting Numbers: [46, 2]
Generated Node #0,0,0: 54:[46, 2] Operation: 40/20=2
Exploring Operation: 40-20=20, Resulting Numbers: [46, 20]
Generated Node #0,0,1: 54:[46, 20] Operation: 40-20=20
Exploring Operation: 40+20=60, Resulting Numbers: [46, 60]
Generated Node #0,0,2: 54:[46, 60] Operation: 40+20=60
Exploring Operation: 46-40=6, Resulting Numbers: [20, 6]
Generated Node #0,0,3: 54:[20, 6] Operation: 46-40=6
Moving to Node #0,2
Current State: 54:[30, 76, 2], Operations: ['40/20=2']
Exploring Operation: 76-30=46, Resulting Numbers: [2, 46]
Generated Node #0,2,0: 54:[2, 46] Operation: 76-30=46
Exploring Operation: 76/2=38, Resulting Numbers: [30, 38]
Generated Node #0,2,1: 54:[30, 38] Operation: 76/2=38
Exploring Operation: 76-2=74, Resulting Numbers: [30, 74]
Generated Node #0,2,2: 54:[30, 74] Operation: 76-2=74
Exploring Operation: 30-2=28, Resulting Numbers: [76, 28]
Generated Node #0,2,3: 54:[76, 28] Operation: 30-2=28
Moving to Node #0,3,0
Current State: 54:[20, 6], Operations: ['76-40=36', '36-30=6']
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,54 unequal: No Solution
Exploring Operation: 20+6=26, Resulting Numbers: [26]
26,54 unequal: No Solution
Exploring Operation: 20*6=120, Resulting Numbers: [120]
120,54 unequal: No Solution
Moving to Node #0,0,3
Current State: 54:[20, 6], Operations: ['76-30=46', '46-40=6']
Exploring Operation: 20+6=26, Resulting Numbers: [26]
26,54 unequal: No Solution
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,54 unequal: No Solution
Exploring Operation: 20*6=120, Resulting Numbers: [120]
120,54 unequal: No Solution
Moving to Node #0,3,3
Current State: 54:[30, 16], Operations: ['76-40=36', '36-20=16']
Exploring Operation: 30+16=46, Resulting Numbers: [46]
46,54 unequal: No Solution
Exploring Operation: 30*16=480, Resulting Numbers: [480]
480,54 unequal: No Solution
Exploring Operation: 30-16=14, Resulting Numbers: [14]
14,54 unequal: No Solution
Moving to Node #0,3,2
Current State: 54:[30, 56], Operations: ['76-40=36', '20+36=56']
Exploring Operation: 56-30=26, Resulting Numbers: [26]
26,54 unequal: No Solution
Exploring Operation: 30*56=1680, Resulting Numbers: [1680]
1680,54 unequal: No Solution
Exploring Operation: 30+56=86, Resulting Numbers: [86]
86,54 unequal: No Solution
Moving to Node #0,0,0
Current State: 54:[46, 2], Operations: ['76-30=46', '40/20=2']
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,54 unequal: No Solution
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,54 unequal: No Solution
Exploring Operation: 46+2=48, Resulting Numbers: [48]
48,54 unequal: No Solution
Exploring Operation: 46*2=92, Resulting Numbers: [92]
92,54 unequal: No Solution
Moving to Node #0,2,0
Current State: 54:[2, 46], Operations: ['40/20=2', '76-30=46']
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,54 unequal: No Solution
Exploring Operation: 2*46=92, Resulting Numbers: [92]
92,54 unequal: No Solution
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,54 unequal: No Solution
Exploring Operation: 2+46=48, Resulting Numbers: [48]
48,54 unequal: No Solution
Moving to Node #0,0,1
Current State: 54:[46, 20], Operations: ['76-30=46', '40-20=20']
Exploring Operation: 46+20=66, Resulting Numbers: [66]
66,54 unequal: No Solution
Exploring Operation: 46*20=920, Resulting Numbers: [920]
920,54 unequal: No Solution
Exploring Operation: 46-20=26, Resulting Numbers: [26]
26,54 unequal: No Solution
Moving to Node #0,3,1
Current State: 54:[36, 10], Operations: ['76-40=36', '30-20=10']
Exploring Operation: 36-10=26, Resulting Numbers: [26]
26,54 unequal: No Solution
Exploring Operation: 36*10=360, Resulting Numbers: [360]
360,54 unequal: No Solution
Exploring Operation: 36+10=46, Resulting Numbers: [46]
46,54 unequal: No Solution
Moving to Node #0,2,1
Current State: 54:[30, 38], Operations: ['40/20=2', '76/2=38']
Exploring Operation: 30+38=68, Resulting Numbers: [68]
68,54 unequal: No Solution
Exploring Operation: 38-30=8, Resulting Numbers: [8]
8,54 unequal: No Solution
Exploring Operation: 30*38=1140, Resulting Numbers: [1140]
1140,54 unequal: No Solution
Moving to Node #0,0,2
Current State: 54:[46, 60], Operations: ['76-30=46', '40+20=60']
Exploring Operation: 60-46=14, Resulting Numbers: [14]
14,54 unequal: No Solution
Exploring Operation: 46+60=106, Resulting Numbers: [106]
106,54 unequal: No Solution
Exploring Operation: 46*60=2760, Resulting Numbers: [2760]
2760,54 unequal: No Solution
Moving to Node #0,2,3
Current State: 54:[76, 28], Operations: ['40/20=2', '30-2=28']
Exploring Operation: 76+28=104, Resulting Numbers: [104]
104,54 unequal: No Solution
Exploring Operation: 76-28=48, Resulting Numbers: [48]
48,54 unequal: No Solution
Exploring Operation: 76*28=2128, Resulting Numbers: [2128]
2128,54 unequal: No Solution
Moving to Node #0,2,2
Current State: 54:[30, 74], Operations: ['40/20=2', '76-2=74']
Exploring Operation: 30+74=104, Resulting Numbers: [104]
104,54 unequal: No Solution
Exploring Operation: 30*74=2220, Resulting Numbers: [2220]
2220,54 unequal: No Solution
Exploring Operation: 74-30=44, Resulting Numbers: [44]
44,54 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
76,
29,
80,
68
] | 93 | [
"76+29=105",
"80-68=12",
"105-12=93"
] | Current State: 93:[76, 29, 80, 68], Operations: []
Exploring Operation: 76+29=105, Resulting Numbers: [80, 68, 105]
Generated Node #2: [80, 68, 105] from Operation: 76+29=105
Current State: 93:[80, 68, 105], Operations: ['76+29=105']
Exploring Operation: 80-68=12, Resulting Numbers: [105, 12]
Generated Node #3: [105, 12] from Operation: 80-68=12
Current State: 93:[105, 12], Operations: ['76+29=105', '80-68=12']
Exploring Operation: 105-12=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[76, 29, 80, 68], Operations: []
Exploring Operation: 80-68=12, Resulting Numbers: [76, 29, 12]
Generated Node #0,0: 93:[76, 29, 12] Operation: 80-68=12
Exploring Operation: 76-68=8, Resulting Numbers: [29, 80, 8]
Generated Node #0,1: 93:[29, 80, 8] Operation: 76-68=8
Exploring Operation: 29+68=97, Resulting Numbers: [76, 80, 97]
Generated Node #0,2: 93:[76, 80, 97] Operation: 29+68=97
Exploring Operation: 68-29=39, Resulting Numbers: [76, 80, 39]
Generated Node #0,3: 93:[76, 80, 39] Operation: 68-29=39
Exploring Operation: 80-76=4, Resulting Numbers: [29, 68, 4]
Generated Node #0,4: 93:[29, 68, 4] Operation: 80-76=4
Moving to Node #0,1
Current State: 93:[29, 80, 8], Operations: ['76-68=8']
Exploring Operation: 29+8=37, Resulting Numbers: [80, 37]
Generated Node #0,1,0: 93:[80, 37] Operation: 29+8=37
Exploring Operation: 29-8=21, Resulting Numbers: [80, 21]
Generated Node #0,1,1: 93:[80, 21] Operation: 29-8=21
Exploring Operation: 80/8=10, Resulting Numbers: [29, 10]
Generated Node #0,1,2: 93:[29, 10] Operation: 80/8=10
Exploring Operation: 29+80=109, Resulting Numbers: [8, 109]
Generated Node #0,1,3: 93:[8, 109] Operation: 29+80=109
Exploring Operation: 80+8=88, Resulting Numbers: [29, 88]
Generated Node #0,1,4: 93:[29, 88] Operation: 80+8=88
Moving to Node #0,4
Current State: 93:[29, 68, 4], Operations: ['80-76=4']
Exploring Operation: 68/4=17, Resulting Numbers: [29, 17]
Generated Node #0,4,0: 93:[29, 17] Operation: 68/4=17
Exploring Operation: 29+68=97, Resulting Numbers: [4, 97]
Generated Node #0,4,1: 93:[4, 97] Operation: 29+68=97
Exploring Operation: 29+4=33, Resulting Numbers: [68, 33]
Generated Node #0,4,2: 93:[68, 33] Operation: 29+4=33
Exploring Operation: 68-29=39, Resulting Numbers: [4, 39]
Generated Node #0,4,3: 93:[4, 39] Operation: 68-29=39
Exploring Operation: 68+4=72, Resulting Numbers: [29, 72]
Generated Node #0,4,4: 93:[29, 72] Operation: 68+4=72
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 93:[4, 97], Operations: ['80-76=4', '29+68=97']
Exploring Operation: 97-4=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[76, 29, 80, 68], Operations: []
Exploring Operation: 80-76=4, Resulting Numbers: [29, 68, 4]
Generated Node #0,4: 93:[29, 68, 4] Operation: 80-76=4
Moving to Node #0,4
Current State: 93:[29, 68, 4], Operations: ['80-76=4']
Exploring Operation: 29+68=97, Resulting Numbers: [4, 97]
Generated Node #0,4,1: 93:[4, 97] Operation: 29+68=97
Moving to Node #0,4,1
Current State: 93:[4, 97], Operations: ['80-76=4', '29+68=97']
Exploring Operation: 97-4=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_5 | sum_heuristic |
[
5,
2,
81,
54
] | 92 | [
"81-5=76",
"76/2=38",
"54+38=92"
] | Current State: 92:[5, 2, 81, 54], Operations: []
Exploring Operation: 81-5=76, Resulting Numbers: [2, 54, 76]
Generated Node #2: [2, 54, 76] from Operation: 81-5=76
Current State: 92:[2, 54, 76], Operations: ['81-5=76']
Exploring Operation: 76/2=38, Resulting Numbers: [54, 38]
Generated Node #3: [54, 38] from Operation: 76/2=38
Current State: 92:[54, 38], Operations: ['81-5=76', '76/2=38']
Exploring Operation: 54+38=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[5, 2, 81, 54], Operations: []
Exploring Operation: 54-5=49, Resulting Numbers: [2, 81, 49]
Generated Node #0,0: 92:[2, 81, 49] Operation: 54-5=49
Exploring Operation: 54/2=27, Resulting Numbers: [5, 81, 27]
Generated Node #0,1: 92:[5, 81, 27] Operation: 54/2=27
Exploring Operation: 2+81=83, Resulting Numbers: [5, 54, 83]
Generated Node #0,2: 92:[5, 54, 83] Operation: 2+81=83
Exploring Operation: 5+81=86, Resulting Numbers: [2, 54, 86]
Generated Node #0,3: 92:[2, 54, 86] Operation: 5+81=86
Exploring Operation: 81-54=27, Resulting Numbers: [5, 2, 27]
Generated Node #0,4: 92:[5, 2, 27] Operation: 81-54=27
Start Sub Search at level 1: Moving to Node #0,4
Current State: 92:[5, 2, 27], Operations: ['81-54=27']
Exploring Operation: 27-2=25, Resulting Numbers: [5, 25]
Generated Node #0,4,0: 92:[5, 25] Operation: 27-2=25
Exploring Operation: 27-5=22, Resulting Numbers: [2, 22]
Generated Node #0,4,1: 92:[2, 22] Operation: 27-5=22
Exploring Operation: 5-2=3, Resulting Numbers: [27, 3]
Generated Node #0,4,2: 92:[27, 3] Operation: 5-2=3
Exploring Operation: 5+2=7, Resulting Numbers: [27, 7]
Generated Node #0,4,3: 92:[27, 7] Operation: 5+2=7
Exploring Operation: 2+27=29, Resulting Numbers: [5, 29]
Generated Node #0,4,4: 92:[5, 29] Operation: 2+27=29
Moving to Node #0,4,1
Current State: 92:[2, 22], Operations: ['81-54=27', '27-5=22']
Exploring Operation: 2+22=24, Resulting Numbers: [24]
24,92 unequal: No Solution
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,92 unequal: No Solution
Exploring Operation: 2*22=44, Resulting Numbers: [44]
44,92 unequal: No Solution
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,92 unequal: No Solution
Moving to Node #0,4,0
Current State: 92:[5, 25], Operations: ['81-54=27', '27-2=25']
Exploring Operation: 5*25=125, Resulting Numbers: [125]
125,92 unequal: No Solution
Exploring Operation: 25/5=5, Resulting Numbers: [5]
5,92 unequal: No Solution
Exploring Operation: 5+25=30, Resulting Numbers: [30]
30,92 unequal: No Solution
Exploring Operation: 25-5=20, Resulting Numbers: [20]
20,92 unequal: No Solution
Moving to Node #0,4,2
Current State: 92:[27, 3], Operations: ['81-54=27', '5-2=3']
Exploring Operation: 27*3=81, Resulting Numbers: [81]
81,92 unequal: No Solution
Exploring Operation: 27+3=30, Resulting Numbers: [30]
30,92 unequal: No Solution
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,92 unequal: No Solution
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,92 unequal: No Solution
Moving to Node #0,4,3
Current State: 92:[27, 7], Operations: ['81-54=27', '5+2=7']
Exploring Operation: 27*7=189, Resulting Numbers: [189]
189,92 unequal: No Solution
Exploring Operation: 27+7=34, Resulting Numbers: [34]
34,92 unequal: No Solution
Exploring Operation: 27-7=20, Resulting Numbers: [20]
20,92 unequal: No Solution
Moving to Node #0,4,4
Current State: 92:[5, 29], Operations: ['81-54=27', '2+27=29']
Exploring Operation: 29-5=24, Resulting Numbers: [24]
24,92 unequal: No Solution
Exploring Operation: 5+29=34, Resulting Numbers: [34]
34,92 unequal: No Solution
Exploring Operation: 5*29=145, Resulting Numbers: [145]
145,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:[2, 81, 49], Operations: ['54-5=49']
Exploring Operation: 81-2=79, Resulting Numbers: [49, 79]
Generated Node #0,0,0: 92:[49, 79] Operation: 81-2=79
Exploring Operation: 81-49=32, Resulting Numbers: [2, 32]
Generated Node #0,0,1: 92:[2, 32] Operation: 81-49=32
Exploring Operation: 2+81=83, Resulting Numbers: [49, 83]
Generated Node #0,0,2: 92:[49, 83] Operation: 2+81=83
Exploring Operation: 2+49=51, Resulting Numbers: [81, 51]
Generated Node #0,0,3: 92:[81, 51] Operation: 2+49=51
Exploring Operation: 49-2=47, Resulting Numbers: [81, 47]
Generated Node #0,0,4: 92:[81, 47] Operation: 49-2=47
Moving to Node #0,0,1
Current State: 92:[2, 32], Operations: ['54-5=49', '81-49=32']
Exploring Operation: 2*32=64, Resulting Numbers: [64]
64,92 unequal: No Solution
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,92 unequal: No Solution
Exploring Operation: 2+32=34, Resulting Numbers: [34]
34,92 unequal: No Solution
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,92 unequal: No Solution
Moving to Node #0,0,4
Current State: 92:[81, 47], Operations: ['54-5=49', '49-2=47']
Exploring Operation: 81*47=3807, Resulting Numbers: [3807]
3807,92 unequal: No Solution
Exploring Operation: 81+47=128, Resulting Numbers: [128]
128,92 unequal: No Solution
Exploring Operation: 81-47=34, Resulting Numbers: [34]
34,92 unequal: No Solution
Moving to Node #0,0,2
Current State: 92:[49, 83], Operations: ['54-5=49', '2+81=83']
Exploring Operation: 49+83=132, Resulting Numbers: [132]
132,92 unequal: No Solution
Exploring Operation: 49*83=4067, Resulting Numbers: [4067]
4067,92 unequal: No Solution
Exploring Operation: 83-49=34, Resulting Numbers: [34]
34,92 unequal: No Solution
Moving to Node #0,0,0
Current State: 92:[49, 79], Operations: ['54-5=49', '81-2=79']
Exploring Operation: 49+79=128, Resulting Numbers: [128]
128,92 unequal: No Solution
Exploring Operation: 79-49=30, Resulting Numbers: [30]
30,92 unequal: No Solution
Exploring Operation: 49*79=3871, Resulting Numbers: [3871]
3871,92 unequal: No Solution
Moving to Node #0,0,3
Current State: 92:[81, 51], Operations: ['54-5=49', '2+49=51']
Exploring Operation: 81-51=30, Resulting Numbers: [30]
30,92 unequal: No Solution
Exploring Operation: 81+51=132, Resulting Numbers: [132]
132,92 unequal: No Solution
Exploring Operation: 81*51=4131, Resulting Numbers: [4131]
4131,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,3
Current State: 92:[2, 54, 86], Operations: ['5+81=86']
Exploring Operation: 86/2=43, Resulting Numbers: [54, 43]
Generated Node #0,3,0: 92:[54, 43] Operation: 86/2=43
Exploring Operation: 2+86=88, Resulting Numbers: [54, 88]
Generated Node #0,3,1: 92:[54, 88] Operation: 2+86=88
Exploring Operation: 86-54=32, Resulting Numbers: [2, 32]
Generated Node #0,3,2: 92:[2, 32] Operation: 86-54=32
Exploring Operation: 54/2=27, Resulting Numbers: [86, 27]
Generated Node #0,3,3: 92:[86, 27] Operation: 54/2=27
Exploring Operation: 54-2=52, Resulting Numbers: [86, 52]
Generated Node #0,3,4: 92:[86, 52] Operation: 54-2=52
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 92:[2, 32], Operations: ['5+81=86', '86-54=32']
Exploring Operation: 2+32=34, Resulting Numbers: [34]
34,92 unequal: No Solution
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,92 unequal: No Solution
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,92 unequal: No Solution
Exploring Operation: 2*32=64, Resulting Numbers: [64]
64,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,3,3
Current State: 92:[86, 27], Operations: ['5+81=86', '54/2=27']
Exploring Operation: 86+27=113, Resulting Numbers: [113]
113,92 unequal: No Solution
Exploring Operation: 86-27=59, Resulting Numbers: [59]
59,92 unequal: No Solution
Exploring Operation: 86*27=2322, Resulting Numbers: [2322]
2322,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,3,0
Current State: 92:[54, 43], Operations: ['5+81=86', '86/2=43']
Exploring Operation: 54*43=2322, Resulting Numbers: [2322]
2322,92 unequal: No Solution
Exploring Operation: 54-43=11, Resulting Numbers: [11]
11,92 unequal: No Solution
Exploring Operation: 54+43=97, Resulting Numbers: [97]
97,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,3,1
Current State: 92:[54, 88], Operations: ['5+81=86', '2+86=88']
Exploring Operation: 88-54=34, Resulting Numbers: [34]
34,92 unequal: No Solution
Exploring Operation: 54+88=142, Resulting Numbers: [142]
142,92 unequal: No Solution
Exploring Operation: 54*88=4752, Resulting Numbers: [4752]
4752,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,3,4
Current State: 92:[86, 52], Operations: ['5+81=86', '54-2=52']
Exploring Operation: 86-52=34, Resulting Numbers: [34]
34,92 unequal: No Solution
Exploring Operation: 86*52=4472, Resulting Numbers: [4472]
4472,92 unequal: No Solution
Exploring Operation: 86+52=138, Resulting Numbers: [138]
138,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,1
Current State: 92:[5, 81, 27], Operations: ['54/2=27']
Exploring Operation: 81/27=3, Resulting Numbers: [5, 3]
Generated Node #0,1,0: 92:[5, 3] Operation: 81/27=3
Exploring Operation: 81-27=54, Resulting Numbers: [5, 54]
Generated Node #0,1,1: 92:[5, 54] Operation: 81-27=54
Exploring Operation: 5+81=86, Resulting Numbers: [27, 86]
Generated Node #0,1,2: 92:[27, 86] Operation: 5+81=86
Exploring Operation: 81+27=108, Resulting Numbers: [5, 108]
Generated Node #0,1,3: 92:[5, 108] Operation: 81+27=108
Exploring Operation: 27-5=22, Resulting Numbers: [81, 22]
Generated Node #0,1,4: 92:[81, 22] Operation: 27-5=22
Moving to Node #0,1,0
Current State: 92:[5, 3], Operations: ['54/2=27', '81/27=3']
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,92 unequal: No Solution
Exploring Operation: 5+3=8, Resulting Numbers: [8]
8,92 unequal: No Solution
Exploring Operation: 5*3=15, Resulting Numbers: [15]
15,92 unequal: No Solution
Moving to Node #0,1,1
Current State: 92:[5, 54], Operations: ['54/2=27', '81-27=54']
Exploring Operation: 5+54=59, Resulting Numbers: [59]
59,92 unequal: No Solution
Exploring Operation: 54-5=49, Resulting Numbers: [49]
49,92 unequal: No Solution
Exploring Operation: 5*54=270, Resulting Numbers: [270]
270,92 unequal: No Solution
Moving to Node #0,1,2
Current State: 92:[27, 86], Operations: ['54/2=27', '5+81=86']
Exploring Operation: 86-27=59, Resulting Numbers: [59]
59,92 unequal: No Solution
Exploring Operation: 27+86=113, Resulting Numbers: [113]
113,92 unequal: No Solution
Exploring Operation: 27*86=2322, Resulting Numbers: [2322]
2322,92 unequal: No Solution
Moving to Node #0,1,4
Current State: 92:[81, 22], Operations: ['54/2=27', '27-5=22']
Exploring Operation: 81+22=103, Resulting Numbers: [103]
103,92 unequal: No Solution
Exploring Operation: 81*22=1782, Resulting Numbers: [1782]
1782,92 unequal: No Solution
Exploring Operation: 81-22=59, Resulting Numbers: [59]
59,92 unequal: No Solution
Moving to Node #0,1,3
Current State: 92:[5, 108], Operations: ['54/2=27', '81+27=108']
Exploring Operation: 5+108=113, Resulting Numbers: [113]
113,92 unequal: No Solution
Exploring Operation: 5*108=540, Resulting Numbers: [540]
540,92 unequal: No Solution
Exploring Operation: 108-5=103, Resulting Numbers: [103]
103,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 92:[5, 54, 83], Operations: ['2+81=83']
Exploring Operation: 5+54=59, Resulting Numbers: [83, 59]
Generated Node #0,2,0: 92:[83, 59] Operation: 5+54=59
Exploring Operation: 54-5=49, Resulting Numbers: [83, 49]
Generated Node #0,2,1: 92:[83, 49] Operation: 54-5=49
Exploring Operation: 83-54=29, Resulting Numbers: [5, 29]
Generated Node #0,2,2: 92:[5, 29] Operation: 83-54=29
Exploring Operation: 83-5=78, Resulting Numbers: [54, 78]
Generated Node #0,2,3: 92:[54, 78] Operation: 83-5=78
Exploring Operation: 5+83=88, Resulting Numbers: [54, 88]
Generated Node #0,2,4: 92:[54, 88] Operation: 5+83=88
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 92:[5, 29], Operations: ['2+81=83', '83-54=29']
Exploring Operation: 5+29=34, Resulting Numbers: [34]
34,92 unequal: No Solution
Exploring Operation: 5*29=145, Resulting Numbers: [145]
145,92 unequal: No Solution
Exploring Operation: 29-5=24, Resulting Numbers: [24]
24,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,1
Current State: 92:[83, 49], Operations: ['2+81=83', '54-5=49']
Exploring Operation: 83-49=34, Resulting Numbers: [34]
34,92 unequal: No Solution
Exploring Operation: 83*49=4067, Resulting Numbers: [4067]
4067,92 unequal: No Solution
Exploring Operation: 83+49=132, Resulting Numbers: [132]
132,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,4
Current State: 92:[54, 88], Operations: ['2+81=83', '5+83=88']
Exploring Operation: 54*88=4752, Resulting Numbers: [4752]
4752,92 unequal: No Solution
Exploring Operation: 54+88=142, Resulting Numbers: [142]
142,92 unequal: No Solution
Exploring Operation: 88-54=34, Resulting Numbers: [34]
34,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,0
Current State: 92:[83, 59], Operations: ['2+81=83', '5+54=59']
Exploring Operation: 83-59=24, Resulting Numbers: [24]
24,92 unequal: No Solution
Exploring Operation: 83+59=142, Resulting Numbers: [142]
142,92 unequal: No Solution
Exploring Operation: 83*59=4897, Resulting Numbers: [4897]
4897,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:[54, 78], Operations: ['2+81=83', '83-5=78']
Exploring Operation: 54*78=4212, Resulting Numbers: [4212]
4212,92 unequal: No Solution
Exploring Operation: 54+78=132, Resulting Numbers: [132]
132,92 unequal: No Solution
Exploring Operation: 78-54=24, Resulting Numbers: [24]
24,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_5 | mult_heuristic |
[
19,
69,
62,
27
] | 93 | [
"19+27=46",
"69*62=4278",
"4278/46=93"
] | Current State: 93:[19, 69, 62, 27], Operations: []
Exploring Operation: 19+27=46, Resulting Numbers: [69, 62, 46]
Generated Node #2: [69, 62, 46] from Operation: 19+27=46
Current State: 93:[69, 62, 46], Operations: ['19+27=46']
Exploring Operation: 69*62=4278, Resulting Numbers: [46, 4278]
Generated Node #3: [46, 4278] from Operation: 69*62=4278
Current State: 93:[46, 4278], Operations: ['19+27=46', '69*62=4278']
Exploring Operation: 4278/46=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[19, 69, 62, 27], Operations: []
Exploring Operation: 19+62=81, Resulting Numbers: [69, 27, 81]
Generated Node #0,0: 93:[69, 27, 81] Operation: 19+62=81
Exploring Operation: 19+69=88, Resulting Numbers: [62, 27, 88]
Generated Node #0,1: 93:[62, 27, 88] Operation: 19+69=88
Exploring Operation: 69-62=7, Resulting Numbers: [19, 27, 7]
Generated Node #0,2: 93:[19, 27, 7] Operation: 69-62=7
Moving to Node #0,2
Current State: 93:[19, 27, 7], Operations: ['69-62=7']
Exploring Operation: 27-19=8, Resulting Numbers: [7, 8]
Generated Node #0,2,0: 93:[7, 8] Operation: 27-19=8
Exploring Operation: 19+7=26, Resulting Numbers: [27, 26]
Generated Node #0,2,1: 93:[27, 26] Operation: 19+7=26
Exploring Operation: 19-7=12, Resulting Numbers: [27, 12]
Generated Node #0,2,2: 93:[27, 12] Operation: 19-7=12
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 93:[7, 8], Operations: ['69-62=7', '27-19=8']
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,93 unequal: No Solution
Exploring Operation: 7*8=56, Resulting Numbers: [56]
56,93 unequal: No Solution
Exploring Operation: 7+8=15, Resulting Numbers: [15]
15,93 unequal: No Solution
No 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: 93:[27, 26], Operations: ['69-62=7', '19+7=26']
Exploring Operation: 27*26=702, Resulting Numbers: [702]
702,93 unequal: No Solution
Exploring Operation: 27-26=1, Resulting Numbers: [1]
1,93 unequal: No Solution
Exploring Operation: 27+26=53, Resulting Numbers: [53]
53,93 unequal: No Solution
No 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: 93:[27, 12], Operations: ['69-62=7', '19-7=12']
Exploring Operation: 27+12=39, Resulting Numbers: [39]
39,93 unequal: No Solution
Exploring Operation: 27*12=324, Resulting Numbers: [324]
324,93 unequal: No Solution
Exploring Operation: 27-12=15, Resulting Numbers: [15]
15,93 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: 93:[69, 27, 81], Operations: ['19+62=81']
Exploring Operation: 69-27=42, Resulting Numbers: [81, 42]
Generated Node #0,0,0: 93:[81, 42] Operation: 69-27=42
Exploring Operation: 81-69=12, Resulting Numbers: [27, 12]
Generated Node #0,0,1: 93:[27, 12] Operation: 81-69=12
Exploring Operation: 69+27=96, Resulting Numbers: [81, 96]
Generated Node #0,0,2: 93:[81, 96] Operation: 69+27=96
Moving to Node #0,1
Current State: 93:[62, 27, 88], Operations: ['19+69=88']
Exploring Operation: 88-62=26, Resulting Numbers: [27, 26]
Generated Node #0,1,0: 93:[27, 26] Operation: 88-62=26
Exploring Operation: 62+27=89, Resulting Numbers: [88, 89]
Generated Node #0,1,1: 93:[88, 89] Operation: 62+27=89
Exploring Operation: 62-27=35, Resulting Numbers: [88, 35]
Generated Node #0,1,2: 93:[88, 35] Operation: 62-27=35
Moving to Node #0,1,0
Current State: 93:[27, 26], Operations: ['19+69=88', '88-62=26']
Exploring Operation: 27*26=702, Resulting Numbers: [702]
702,93 unequal: No Solution
Exploring Operation: 27+26=53, Resulting Numbers: [53]
53,93 unequal: No Solution
Exploring Operation: 27-26=1, Resulting Numbers: [1]
1,93 unequal: No Solution
Moving to Node #0,1,2
Current State: 93:[88, 35], Operations: ['19+69=88', '62-27=35']
Exploring Operation: 88-35=53, Resulting Numbers: [53]
53,93 unequal: No Solution
Exploring Operation: 88+35=123, Resulting Numbers: [123]
123,93 unequal: No Solution
Exploring Operation: 88*35=3080, Resulting Numbers: [3080]
3080,93 unequal: No Solution
Moving to Node #0,1,1
Current State: 93:[88, 89], Operations: ['19+69=88', '62+27=89']
Exploring Operation: 88+89=177, Resulting Numbers: [177]
177,93 unequal: No Solution
Exploring Operation: 89-88=1, Resulting Numbers: [1]
1,93 unequal: No Solution
Exploring Operation: 88*89=7832, Resulting Numbers: [7832]
7832,93 unequal: No Solution
Moving to Node #0,0,1
Current State: 93:[27, 12], Operations: ['19+62=81', '81-69=12']
Exploring Operation: 27-12=15, Resulting Numbers: [15]
15,93 unequal: No Solution
Exploring Operation: 27*12=324, Resulting Numbers: [324]
324,93 unequal: No Solution
Exploring Operation: 27+12=39, Resulting Numbers: [39]
39,93 unequal: No Solution
Moving to Node #0,0,2
Current State: 93:[81, 96], Operations: ['19+62=81', '69+27=96']
Exploring Operation: 96-81=15, Resulting Numbers: [15]
15,93 unequal: No Solution
Exploring Operation: 81+96=177, Resulting Numbers: [177]
177,93 unequal: No Solution
Exploring Operation: 81*96=7776, Resulting Numbers: [7776]
7776,93 unequal: No Solution
Moving to Node #0,0,0
Current State: 93:[81, 42], Operations: ['19+62=81', '69-27=42']
Exploring Operation: 81-42=39, Resulting Numbers: [39]
39,93 unequal: No Solution
Exploring Operation: 81+42=123, Resulting Numbers: [123]
123,93 unequal: No Solution
Exploring Operation: 81*42=3402, Resulting Numbers: [3402]
3402,93 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
6,
37,
41,
10
] | 94 | [
"6+37=43",
"41+10=51",
"43+51=94"
] | Current State: 94:[6, 37, 41, 10], Operations: []
Exploring Operation: 6+37=43, Resulting Numbers: [41, 10, 43]
Generated Node #2: [41, 10, 43] from Operation: 6+37=43
Current State: 94:[41, 10, 43], Operations: ['6+37=43']
Exploring Operation: 41+10=51, Resulting Numbers: [43, 51]
Generated Node #3: [43, 51] from Operation: 41+10=51
Current State: 94:[43, 51], Operations: ['6+37=43', '41+10=51']
Exploring Operation: 43+51=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[6, 37, 41, 10], Operations: []
Exploring Operation: 37+10=47, Resulting Numbers: [6, 41, 47]
Generated Node #0,0: 94:[6, 41, 47] Operation: 37+10=47
Exploring Operation: 6+37=43, Resulting Numbers: [41, 10, 43]
Generated Node #0,1: 94:[41, 10, 43] Operation: 6+37=43
Exploring Operation: 41-37=4, Resulting Numbers: [6, 10, 4]
Generated Node #0,2: 94:[6, 10, 4] Operation: 41-37=4
Exploring Operation: 6+41=47, Resulting Numbers: [37, 10, 47]
Generated Node #0,3: 94:[37, 10, 47] Operation: 6+41=47
Moving to Node #0,0
Current State: 94:[6, 41, 47], Operations: ['37+10=47']
Exploring Operation: 6+41=47, Resulting Numbers: [47, 47]
Generated Node #0,0,0: 94:[47, 47] Operation: 6+41=47
Exploring Operation: 41+47=88, Resulting Numbers: [6, 88]
Generated Node #0,0,1: 94:[6, 88] Operation: 41+47=88
Exploring Operation: 47-41=6, Resulting Numbers: [6, 6]
Generated Node #0,0,2: 94:[6, 6] Operation: 47-41=6
Exploring Operation: 41-6=35, Resulting Numbers: [47, 35]
Generated Node #0,0,3: 94:[47, 35] Operation: 41-6=35
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 94:[47, 47], Operations: ['37+10=47', '6+41=47']
Exploring Operation: 47/47=1, Resulting Numbers: [1]
1,94 unequal: No Solution
Exploring Operation: 47-47=0, Resulting Numbers: [0]
0,94 unequal: No Solution
Exploring Operation: 47+47=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[6, 37, 41, 10], Operations: []
Exploring Operation: 37+10=47, Resulting Numbers: [6, 41, 47]
Generated Node #0,0: 94:[6, 41, 47] Operation: 37+10=47
Moving to Node #0,0
Current State: 94:[6, 41, 47], Operations: ['37+10=47']
Exploring Operation: 6+41=47, Resulting Numbers: [47, 47]
Generated Node #0,0,0: 94:[47, 47] Operation: 6+41=47
Moving to Node #0,0,0
Current State: 94:[47, 47], Operations: ['37+10=47', '6+41=47']
Exploring Operation: 47+47=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
8,
73,
22,
66
] | 49 | [
"8*66=528",
"528/22=24",
"73-24=49"
] | Current State: 49:[8, 73, 22, 66], Operations: []
Exploring Operation: 8*66=528, Resulting Numbers: [73, 22, 528]
Generated Node #2: [73, 22, 528] from Operation: 8*66=528
Current State: 49:[73, 22, 528], Operations: ['8*66=528']
Exploring Operation: 528/22=24, Resulting Numbers: [73, 24]
Generated Node #3: [73, 24] from Operation: 528/22=24
Current State: 49:[73, 24], Operations: ['8*66=528', '528/22=24']
Exploring Operation: 73-24=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[8, 73, 22, 66], Operations: []
Exploring Operation: 73-22=51, Resulting Numbers: [8, 66, 51]
Generated Node #0,0: 49:[8, 66, 51] Operation: 73-22=51
Exploring Operation: 73-66=7, Resulting Numbers: [8, 22, 7]
Generated Node #0,1: 49:[8, 22, 7] Operation: 73-66=7
Exploring Operation: 66/22=3, Resulting Numbers: [8, 73, 3]
Generated Node #0,2: 49:[8, 73, 3] Operation: 66/22=3
Start Sub Search at level 1: Moving to Node #0,1
Current State: 49:[8, 22, 7], Operations: ['73-66=7']
Exploring Operation: 22-8=14, Resulting Numbers: [7, 14]
Generated Node #0,1,0: 49:[7, 14] Operation: 22-8=14
Exploring Operation: 22-7=15, Resulting Numbers: [8, 15]
Generated Node #0,1,1: 49:[8, 15] Operation: 22-7=15
Exploring Operation: 8+22=30, Resulting Numbers: [7, 30]
Generated Node #0,1,2: 49:[7, 30] Operation: 8+22=30
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 49:[7, 14], Operations: ['73-66=7', '22-8=14']
Exploring Operation: 14/7=2, Resulting Numbers: [2]
2,49 unequal: No Solution
Exploring Operation: 14-7=7, Resulting Numbers: [7]
7,49 unequal: No Solution
Exploring Operation: 7+14=21, Resulting Numbers: [21]
21,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:[8, 15], Operations: ['73-66=7', '22-7=15']
Exploring Operation: 8*15=120, Resulting Numbers: [120]
120,49 unequal: No Solution
Exploring Operation: 15-8=7, Resulting Numbers: [7]
7,49 unequal: No Solution
Exploring Operation: 8+15=23, Resulting Numbers: [23]
23,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:[7, 30], Operations: ['73-66=7', '8+22=30']
Exploring Operation: 7+30=37, Resulting Numbers: [37]
37,49 unequal: No Solution
Exploring Operation: 7*30=210, Resulting Numbers: [210]
210,49 unequal: No Solution
Exploring Operation: 30-7=23, Resulting Numbers: [23]
23,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,0
Current State: 49:[8, 66, 51], Operations: ['73-22=51']
Exploring Operation: 66-8=58, Resulting Numbers: [51, 58]
Generated Node #0,0,0: 49:[51, 58] Operation: 66-8=58
Exploring Operation: 51-8=43, Resulting Numbers: [66, 43]
Generated Node #0,0,1: 49:[66, 43] Operation: 51-8=43
Exploring Operation: 66-51=15, Resulting Numbers: [8, 15]
Generated Node #0,0,2: 49:[8, 15] Operation: 66-51=15
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 49:[8, 15], Operations: ['73-22=51', '66-51=15']
Exploring Operation: 15-8=7, Resulting Numbers: [7]
7,49 unequal: No Solution
Exploring Operation: 8*15=120, Resulting Numbers: [120]
120,49 unequal: No Solution
Exploring Operation: 8+15=23, Resulting Numbers: [23]
23,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,0,0
Current State: 49:[51, 58], Operations: ['73-22=51', '66-8=58']
Exploring Operation: 58-51=7, Resulting Numbers: [7]
7,49 unequal: No Solution
Exploring Operation: 51*58=2958, Resulting Numbers: [2958]
2958,49 unequal: No Solution
Exploring Operation: 51+58=109, Resulting Numbers: [109]
109,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,0,1
Current State: 49:[66, 43], Operations: ['73-22=51', '51-8=43']
Exploring Operation: 66+43=109, Resulting Numbers: [109]
109,49 unequal: No Solution
Exploring Operation: 66*43=2838, Resulting Numbers: [2838]
2838,49 unequal: No Solution
Exploring Operation: 66-43=23, Resulting Numbers: [23]
23,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:[8, 73, 3], Operations: ['66/22=3']
Exploring Operation: 73-3=70, Resulting Numbers: [8, 70]
Generated Node #0,2,0: 49:[8, 70] Operation: 73-3=70
Exploring Operation: 8-3=5, Resulting Numbers: [73, 5]
Generated Node #0,2,1: 49:[73, 5] Operation: 8-3=5
Exploring Operation: 73-8=65, Resulting Numbers: [3, 65]
Generated Node #0,2,2: 49:[3, 65] Operation: 73-8=65
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 49:[3, 65], Operations: ['66/22=3', '73-8=65']
Exploring Operation: 65-3=62, Resulting Numbers: [62]
62,49 unequal: No Solution
Exploring Operation: 3*65=195, Resulting Numbers: [195]
195,49 unequal: No Solution
Exploring Operation: 3+65=68, Resulting Numbers: [68]
68,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,2,0
Current State: 49:[8, 70], Operations: ['66/22=3', '73-3=70']
Exploring Operation: 8+70=78, Resulting Numbers: [78]
78,49 unequal: No Solution
Exploring Operation: 70-8=62, Resulting Numbers: [62]
62,49 unequal: No Solution
Exploring Operation: 8*70=560, Resulting Numbers: [560]
560,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,2,1
Current State: 49:[73, 5], Operations: ['66/22=3', '8-3=5']
Exploring Operation: 73*5=365, Resulting Numbers: [365]
365,49 unequal: No Solution
Exploring Operation: 73-5=68, Resulting Numbers: [68]
68,49 unequal: No Solution
Exploring Operation: 73+5=78, Resulting Numbers: [78]
78,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
No solution found.
| 0 | hs_3 | mult_heuristic |
[
34,
41,
50,
21
] | 53 | [
"41-34=7",
"21/7=3",
"50+3=53"
] | Current State: 53:[34, 41, 50, 21], Operations: []
Exploring Operation: 41-34=7, Resulting Numbers: [50, 21, 7]
Generated Node #2: [50, 21, 7] from Operation: 41-34=7
Current State: 53:[50, 21, 7], Operations: ['41-34=7']
Exploring Operation: 21/7=3, Resulting Numbers: [50, 3]
Generated Node #3: [50, 3] from Operation: 21/7=3
Current State: 53:[50, 3], Operations: ['41-34=7', '21/7=3']
Exploring Operation: 50+3=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[34, 41, 50, 21], Operations: []
Exploring Operation: 34+21=55, Resulting Numbers: [41, 50, 55]
Generated Node #0,0: 53:[41, 50, 55] Operation: 34+21=55
Moving to Node #0,0
Current State: 53:[41, 50, 55], Operations: ['34+21=55']
Exploring Operation: 41+50=91, Resulting Numbers: [55, 91]
Generated Node #0,0,0: 53:[55, 91] Operation: 41+50=91
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 53:[55, 91], Operations: ['34+21=55', '41+50=91']
Exploring Operation: 91-55=36, Resulting Numbers: [36]
36,53 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 |
[
70,
61,
25,
77
] | 43 | [
"70-61=9",
"77-25=52",
"52-9=43"
] | Current State: 43:[70, 61, 25, 77], Operations: []
Exploring Operation: 70-61=9, Resulting Numbers: [25, 77, 9]
Generated Node #2: [25, 77, 9] from Operation: 70-61=9
Current State: 43:[25, 77, 9], Operations: ['70-61=9']
Exploring Operation: 77-25=52, Resulting Numbers: [9, 52]
Generated Node #3: [9, 52] from Operation: 77-25=52
Current State: 43:[9, 52], Operations: ['70-61=9', '77-25=52']
Exploring Operation: 52-9=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[70, 61, 25, 77], Operations: []
Exploring Operation: 77-25=52, Resulting Numbers: [70, 61, 52]
Generated Node #0,0: 43:[70, 61, 52] Operation: 77-25=52
Exploring Operation: 70-25=45, Resulting Numbers: [61, 77, 45]
Generated Node #0,1: 43:[61, 77, 45] Operation: 70-25=45
Exploring Operation: 61-25=36, Resulting Numbers: [70, 77, 36]
Generated Node #0,2: 43:[70, 77, 36] Operation: 61-25=36
Moving to Node #0,0
Current State: 43:[70, 61, 52], Operations: ['77-25=52']
Exploring Operation: 61-52=9, Resulting Numbers: [70, 9]
Generated Node #0,0,0: 43:[70, 9] Operation: 61-52=9
Exploring Operation: 70-61=9, Resulting Numbers: [52, 9]
Generated Node #0,0,1: 43:[52, 9] Operation: 70-61=9
Exploring Operation: 70-52=18, Resulting Numbers: [61, 18]
Generated Node #0,0,2: 43:[61, 18] Operation: 70-52=18
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 43:[52, 9], Operations: ['77-25=52', '70-61=9']
Exploring Operation: 52*9=468, Resulting Numbers: [468]
468,43 unequal: No Solution
Exploring Operation: 52-9=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[70, 61, 25, 77], Operations: []
Exploring Operation: 77-25=52, Resulting Numbers: [70, 61, 52]
Generated Node #0,0: 43:[70, 61, 52] Operation: 77-25=52
Moving to Node #0,0
Current State: 43:[70, 61, 52], Operations: ['77-25=52']
Exploring Operation: 70-61=9, Resulting Numbers: [52, 9]
Generated Node #0,0,1: 43:[52, 9] Operation: 70-61=9
Moving to Node #0,0,1
Current State: 43:[52, 9], Operations: ['77-25=52', '70-61=9']
Exploring Operation: 52-9=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
35,
60,
12,
18
] | 70 | [
"35*60=2100",
"12+18=30",
"2100/30=70"
] | Current State: 70:[35, 60, 12, 18], Operations: []
Exploring Operation: 35*60=2100, Resulting Numbers: [12, 18, 2100]
Generated Node #2: [12, 18, 2100] from Operation: 35*60=2100
Current State: 70:[12, 18, 2100], Operations: ['35*60=2100']
Exploring Operation: 12+18=30, Resulting Numbers: [2100, 30]
Generated Node #3: [2100, 30] from Operation: 12+18=30
Current State: 70:[2100, 30], Operations: ['35*60=2100', '12+18=30']
Exploring Operation: 2100/30=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[35, 60, 12, 18], Operations: []
Exploring Operation: 60-18=42, Resulting Numbers: [35, 12, 42]
Generated Node #0,0: 70:[35, 12, 42] Operation: 60-18=42
Exploring Operation: 60+12=72, Resulting Numbers: [35, 18, 72]
Generated Node #0,1: 70:[35, 18, 72] Operation: 60+12=72
Exploring Operation: 60/12=5, Resulting Numbers: [35, 18, 5]
Generated Node #0,2: 70:[35, 18, 5] Operation: 60/12=5
Start Sub Search at level 1: Moving to Node #0,2
Current State: 70:[35, 18, 5], Operations: ['60/12=5']
Exploring Operation: 35-18=17, Resulting Numbers: [5, 17]
Generated Node #0,2,0: 70:[5, 17] Operation: 35-18=17
Exploring Operation: 18-5=13, Resulting Numbers: [35, 13]
Generated Node #0,2,1: 70:[35, 13] Operation: 18-5=13
Exploring Operation: 35/5=7, Resulting Numbers: [18, 7]
Generated Node #0,2,2: 70:[18, 7] Operation: 35/5=7
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 70:[35, 13], Operations: ['60/12=5', '18-5=13']
Exploring Operation: 35-13=22, Resulting Numbers: [22]
22,70 unequal: No Solution
Exploring Operation: 35+13=48, Resulting Numbers: [48]
48,70 unequal: No Solution
Exploring Operation: 35*13=455, Resulting Numbers: [455]
455,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 70:[5, 17], Operations: ['60/12=5', '35-18=17']
Exploring Operation: 5+17=22, Resulting Numbers: [22]
22,70 unequal: No Solution
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,70 unequal: No Solution
Exploring Operation: 5*17=85, Resulting Numbers: [85]
85,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 70:[18, 7], Operations: ['60/12=5', '35/5=7']
Exploring Operation: 18-7=11, Resulting Numbers: [11]
11,70 unequal: No Solution
Exploring Operation: 18+7=25, Resulting Numbers: [25]
25,70 unequal: No Solution
Exploring Operation: 18*7=126, Resulting Numbers: [126]
126,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 70:[35, 18, 72], Operations: ['60+12=72']
Exploring Operation: 72-35=37, Resulting Numbers: [18, 37]
Generated Node #0,1,0: 70:[18, 37] Operation: 72-35=37
Exploring Operation: 35-18=17, Resulting Numbers: [72, 17]
Generated Node #0,1,1: 70:[72, 17] Operation: 35-18=17
Exploring Operation: 72/18=4, Resulting Numbers: [35, 4]
Generated Node #0,1,2: 70:[35, 4] Operation: 72/18=4
Moving to Node #0,1,2
Current State: 70:[35, 4], Operations: ['60+12=72', '72/18=4']
Exploring Operation: 35*4=140, Resulting Numbers: [140]
140,70 unequal: No Solution
Exploring Operation: 35+4=39, Resulting Numbers: [39]
39,70 unequal: No Solution
Exploring Operation: 35-4=31, Resulting Numbers: [31]
31,70 unequal: No Solution
Moving to Node #0,1,1
Current State: 70:[72, 17], Operations: ['60+12=72', '35-18=17']
Exploring Operation: 72-17=55, Resulting Numbers: [55]
55,70 unequal: No Solution
Exploring Operation: 72+17=89, Resulting Numbers: [89]
89,70 unequal: No Solution
Exploring Operation: 72*17=1224, Resulting Numbers: [1224]
1224,70 unequal: No Solution
Moving to Node #0,1,0
Current State: 70:[18, 37], Operations: ['60+12=72', '72-35=37']
Exploring Operation: 37-18=19, Resulting Numbers: [19]
19,70 unequal: No Solution
Exploring Operation: 18*37=666, Resulting Numbers: [666]
666,70 unequal: No Solution
Exploring Operation: 18+37=55, Resulting Numbers: [55]
55,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[35, 12, 42], Operations: ['60-18=42']
Exploring Operation: 35+42=77, Resulting Numbers: [12, 77]
Generated Node #0,0,0: 70:[12, 77] Operation: 35+42=77
Exploring Operation: 42-35=7, Resulting Numbers: [12, 7]
Generated Node #0,0,1: 70:[12, 7] Operation: 42-35=7
Exploring Operation: 42-12=30, Resulting Numbers: [35, 30]
Generated Node #0,0,2: 70:[35, 30] Operation: 42-12=30
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 70:[12, 7], Operations: ['60-18=42', '42-35=7']
Exploring Operation: 12-7=5, Resulting Numbers: [5]
5,70 unequal: No Solution
Exploring Operation: 12+7=19, Resulting Numbers: [19]
19,70 unequal: No Solution
Exploring Operation: 12*7=84, Resulting Numbers: [84]
84,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 70:[35, 30], Operations: ['60-18=42', '42-12=30']
Exploring Operation: 35+30=65, Resulting Numbers: [65]
65,70 unequal: No Solution
Exploring Operation: 35-30=5, Resulting Numbers: [5]
5,70 unequal: No Solution
Exploring Operation: 35*30=1050, Resulting Numbers: [1050]
1050,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 70:[12, 77], Operations: ['60-18=42', '35+42=77']
Exploring Operation: 12*77=924, Resulting Numbers: [924]
924,70 unequal: No Solution
Exploring Operation: 77-12=65, Resulting Numbers: [65]
65,70 unequal: No Solution
Exploring Operation: 12+77=89, Resulting Numbers: [89]
89,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
48,
49,
65,
10
] | 80 | [
"48*65=3120",
"49-10=39",
"3120/39=80"
] | Current State: 80:[48, 49, 65, 10], Operations: []
Exploring Operation: 48*65=3120, Resulting Numbers: [49, 10, 3120]
Generated Node #2: [49, 10, 3120] from Operation: 48*65=3120
Current State: 80:[49, 10, 3120], Operations: ['48*65=3120']
Exploring Operation: 49-10=39, Resulting Numbers: [3120, 39]
Generated Node #3: [3120, 39] from Operation: 49-10=39
Current State: 80:[3120, 39], Operations: ['48*65=3120', '49-10=39']
Exploring Operation: 3120/39=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[48, 49, 65, 10], Operations: []
Exploring Operation: 49-48=1, Resulting Numbers: [65, 10, 1]
Generated Node #0,0: 80:[65, 10, 1] Operation: 49-48=1
Exploring Operation: 65-48=17, Resulting Numbers: [49, 10, 17]
Generated Node #0,1: 80:[49, 10, 17] Operation: 65-48=17
Exploring Operation: 65-49=16, Resulting Numbers: [48, 10, 16]
Generated Node #0,2: 80:[48, 10, 16] Operation: 65-49=16
Moving to Node #0,2
Current State: 80:[48, 10, 16], Operations: ['65-49=16']
Exploring Operation: 48-16=32, Resulting Numbers: [10, 32]
Generated Node #0,2,0: 80:[10, 32] Operation: 48-16=32
Exploring Operation: 48/16=3, Resulting Numbers: [10, 3]
Generated Node #0,2,1: 80:[10, 3] Operation: 48/16=3
Exploring Operation: 48-10=38, Resulting Numbers: [16, 38]
Generated Node #0,2,2: 80:[16, 38] Operation: 48-10=38
Moving to Node #0,1
Current State: 80:[49, 10, 17], Operations: ['65-48=17']
Exploring Operation: 49-10=39, Resulting Numbers: [17, 39]
Generated Node #0,1,0: 80:[17, 39] Operation: 49-10=39
Exploring Operation: 17-10=7, Resulting Numbers: [49, 7]
Generated Node #0,1,1: 80:[49, 7] Operation: 17-10=7
Exploring Operation: 49-17=32, Resulting Numbers: [10, 32]
Generated Node #0,1,2: 80:[10, 32] Operation: 49-17=32
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 80:[17, 39], Operations: ['65-48=17', '49-10=39']
Exploring Operation: 17+39=56, Resulting Numbers: [56]
56,80 unequal: No Solution
Exploring Operation: 39-17=22, Resulting Numbers: [22]
22,80 unequal: No Solution
Exploring Operation: 17*39=663, Resulting Numbers: [663]
663,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,1,2
Current State: 80:[10, 32], Operations: ['65-48=17', '49-17=32']
Exploring Operation: 10*32=320, Resulting Numbers: [320]
320,80 unequal: No Solution
Exploring Operation: 10+32=42, Resulting Numbers: [42]
42,80 unequal: No Solution
Exploring Operation: 32-10=22, Resulting Numbers: [22]
22,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,1,1
Current State: 80:[49, 7], Operations: ['65-48=17', '17-10=7']
Exploring Operation: 49/7=7, Resulting Numbers: [7]
7,80 unequal: No Solution
Exploring Operation: 49-7=42, Resulting Numbers: [42]
42,80 unequal: No Solution
Exploring Operation: 49+7=56, Resulting Numbers: [56]
56,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:[65, 10, 1], Operations: ['49-48=1']
Exploring Operation: 65*1=65, Resulting Numbers: [10, 65]
Generated Node #0,0,0: 80:[10, 65] Operation: 65*1=65
Exploring Operation: 65+10=75, Resulting Numbers: [1, 75]
Generated Node #0,0,1: 80:[1, 75] Operation: 65+10=75
Exploring Operation: 65+1=66, Resulting Numbers: [10, 66]
Generated Node #0,0,2: 80:[10, 66] Operation: 65+1=66
Moving to Node #0,2,1
Current State: 80:[10, 3], Operations: ['65-49=16', '48/16=3']
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,80 unequal: No Solution
Exploring Operation: 10+3=13, Resulting Numbers: [13]
13,80 unequal: No Solution
Exploring Operation: 10*3=30, Resulting Numbers: [30]
30,80 unequal: No Solution
Moving to Node #0,2,2
Current State: 80:[16, 38], Operations: ['65-49=16', '48-10=38']
Exploring Operation: 16+38=54, Resulting Numbers: [54]
54,80 unequal: No Solution
Exploring Operation: 38-16=22, Resulting Numbers: [22]
22,80 unequal: No Solution
Exploring Operation: 16*38=608, Resulting Numbers: [608]
608,80 unequal: No Solution
Moving to Node #0,0,1
Current State: 80:[1, 75], Operations: ['49-48=1', '65+10=75']
Exploring Operation: 1+75=76, Resulting Numbers: [76]
76,80 unequal: No Solution
Exploring Operation: 1*75=75, Resulting Numbers: [75]
75,80 unequal: No Solution
Exploring Operation: 75/1=75, Resulting Numbers: [75]
75,80 unequal: No Solution
Moving to Node #0,2,0
Current State: 80:[10, 32], Operations: ['65-49=16', '48-16=32']
Exploring Operation: 10*32=320, Resulting Numbers: [320]
320,80 unequal: No Solution
Exploring Operation: 10+32=42, Resulting Numbers: [42]
42,80 unequal: No Solution
Exploring Operation: 32-10=22, Resulting Numbers: [22]
22,80 unequal: No Solution
Moving to Node #0,0,2
Current State: 80:[10, 66], Operations: ['49-48=1', '65+1=66']
Exploring Operation: 66-10=56, Resulting Numbers: [56]
56,80 unequal: No Solution
Exploring Operation: 10*66=660, Resulting Numbers: [660]
660,80 unequal: No Solution
Exploring Operation: 10+66=76, Resulting Numbers: [76]
76,80 unequal: No Solution
Moving to Node #0,0,0
Current State: 80:[10, 65], Operations: ['49-48=1', '65*1=65']
Exploring Operation: 65-10=55, Resulting Numbers: [55]
55,80 unequal: No Solution
Exploring Operation: 10+65=75, Resulting Numbers: [75]
75,80 unequal: No Solution
Exploring Operation: 10*65=650, Resulting Numbers: [650]
650,80 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
14,
52,
47,
17
] | 71 | [
"14*52=728",
"47*17=799",
"799-728=71"
] | Current State: 71:[14, 52, 47, 17], Operations: []
Exploring Operation: 14*52=728, Resulting Numbers: [47, 17, 728]
Generated Node #2: [47, 17, 728] from Operation: 14*52=728
Current State: 71:[47, 17, 728], Operations: ['14*52=728']
Exploring Operation: 47*17=799, Resulting Numbers: [728, 799]
Generated Node #3: [728, 799] from Operation: 47*17=799
Current State: 71:[728, 799], Operations: ['14*52=728', '47*17=799']
Exploring Operation: 799-728=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[14, 52, 47, 17], Operations: []
Exploring Operation: 14+17=31, Resulting Numbers: [52, 47, 31]
Generated Node #0,0: 71:[52, 47, 31] Operation: 14+17=31
Exploring Operation: 14+52=66, Resulting Numbers: [47, 17, 66]
Generated Node #0,1: 71:[47, 17, 66] Operation: 14+52=66
Exploring Operation: 14+47=61, Resulting Numbers: [52, 17, 61]
Generated Node #0,2: 71:[52, 17, 61] Operation: 14+47=61
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[52, 47, 31], Operations: ['14+17=31']
Exploring Operation: 52+47=99, Resulting Numbers: [31, 99]
Generated Node #0,0,0: 71:[31, 99] Operation: 52+47=99
Exploring Operation: 47+31=78, Resulting Numbers: [52, 78]
Generated Node #0,0,1: 71:[52, 78] Operation: 47+31=78
Exploring Operation: 52+31=83, Resulting Numbers: [47, 83]
Generated Node #0,0,2: 71:[47, 83] Operation: 52+31=83
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 71:[52, 78], Operations: ['14+17=31', '47+31=78']
Exploring Operation: 78-52=26, Resulting Numbers: [26]
26,71 unequal: No Solution
Exploring Operation: 52*78=4056, Resulting Numbers: [4056]
4056,71 unequal: No Solution
Exploring Operation: 52+78=130, Resulting Numbers: [130]
130,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 71:[47, 83], Operations: ['14+17=31', '52+31=83']
Exploring Operation: 47+83=130, Resulting Numbers: [130]
130,71 unequal: No Solution
Exploring Operation: 47*83=3901, Resulting Numbers: [3901]
3901,71 unequal: No Solution
Exploring Operation: 83-47=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,0,0
Current State: 71:[31, 99], Operations: ['14+17=31', '52+47=99']
Exploring Operation: 99-31=68, Resulting Numbers: [68]
68,71 unequal: No Solution
Exploring Operation: 31*99=3069, Resulting Numbers: [3069]
3069,71 unequal: No Solution
Exploring Operation: 31+99=130, Resulting Numbers: [130]
130,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,1
Current State: 71:[47, 17, 66], Operations: ['14+52=66']
Exploring Operation: 47-17=30, Resulting Numbers: [66, 30]
Generated Node #0,1,0: 71:[66, 30] Operation: 47-17=30
Exploring Operation: 17+66=83, Resulting Numbers: [47, 83]
Generated Node #0,1,1: 71:[47, 83] Operation: 17+66=83
Exploring Operation: 47+17=64, Resulting Numbers: [66, 64]
Generated Node #0,1,2: 71:[66, 64] Operation: 47+17=64
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 71:[66, 64], Operations: ['14+52=66', '47+17=64']
Exploring Operation: 66+64=130, Resulting Numbers: [130]
130,71 unequal: No Solution
Exploring Operation: 66*64=4224, Resulting Numbers: [4224]
4224,71 unequal: No Solution
Exploring Operation: 66-64=2, Resulting Numbers: [2]
2,71 unequal: No Solution
No 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:[47, 83], Operations: ['14+52=66', '17+66=83']
Exploring Operation: 83-47=36, Resulting Numbers: [36]
36,71 unequal: No Solution
Exploring Operation: 47+83=130, Resulting Numbers: [130]
130,71 unequal: No Solution
Exploring Operation: 47*83=3901, Resulting Numbers: [3901]
3901,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,0
Current State: 71:[66, 30], Operations: ['14+52=66', '47-17=30']
Exploring Operation: 66+30=96, Resulting Numbers: [96]
96,71 unequal: No Solution
Exploring Operation: 66*30=1980, Resulting Numbers: [1980]
1980,71 unequal: No Solution
Exploring Operation: 66-30=36, Resulting Numbers: [36]
36,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:[52, 17, 61], Operations: ['14+47=61']
Exploring Operation: 52+17=69, Resulting Numbers: [61, 69]
Generated Node #0,2,0: 71:[61, 69] Operation: 52+17=69
Exploring Operation: 17+61=78, Resulting Numbers: [52, 78]
Generated Node #0,2,1: 71:[52, 78] Operation: 17+61=78
Exploring Operation: 52-17=35, Resulting Numbers: [61, 35]
Generated Node #0,2,2: 71:[61, 35] Operation: 52-17=35
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 71:[61, 69], Operations: ['14+47=61', '52+17=69']
Exploring Operation: 69-61=8, Resulting Numbers: [8]
8,71 unequal: No Solution
Exploring Operation: 61*69=4209, Resulting Numbers: [4209]
4209,71 unequal: No Solution
Exploring Operation: 61+69=130, Resulting Numbers: [130]
130,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:[52, 78], Operations: ['14+47=61', '17+61=78']
Exploring Operation: 52+78=130, Resulting Numbers: [130]
130,71 unequal: No Solution
Exploring Operation: 52*78=4056, Resulting Numbers: [4056]
4056,71 unequal: No Solution
Exploring Operation: 78-52=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,2,2
Current State: 71:[61, 35], Operations: ['14+47=61', '52-17=35']
Exploring Operation: 61*35=2135, Resulting Numbers: [2135]
2135,71 unequal: No Solution
Exploring Operation: 61-35=26, Resulting Numbers: [26]
26,71 unequal: No Solution
Exploring Operation: 61+35=96, Resulting Numbers: [96]
96,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_3 | mult_heuristic |
[
74,
93,
23,
7
] | 28 | [
"93-74=19",
"23-19=4",
"7*4=28"
] | Current State: 28:[74, 93, 23, 7], Operations: []
Exploring Operation: 93-74=19, Resulting Numbers: [23, 7, 19]
Generated Node #2: [23, 7, 19] from Operation: 93-74=19
Current State: 28:[23, 7, 19], Operations: ['93-74=19']
Exploring Operation: 23-19=4, Resulting Numbers: [7, 4]
Generated Node #3: [7, 4] from Operation: 23-19=4
Current State: 28:[7, 4], Operations: ['93-74=19', '23-19=4']
Exploring Operation: 7*4=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[74, 93, 23, 7], Operations: []
Exploring Operation: 74-23=51, Resulting Numbers: [93, 7, 51]
Generated Node #0,0: 28:[93, 7, 51] Operation: 74-23=51
Exploring Operation: 93-23=70, Resulting Numbers: [74, 7, 70]
Generated Node #0,1: 28:[74, 7, 70] Operation: 93-23=70
Exploring Operation: 93-74=19, Resulting Numbers: [23, 7, 19]
Generated Node #0,2: 28:[23, 7, 19] Operation: 93-74=19
Moving to Node #0,2
Current State: 28:[23, 7, 19], Operations: ['93-74=19']
Exploring Operation: 23-7=16, Resulting Numbers: [19, 16]
Generated Node #0,2,0: 28:[19, 16] Operation: 23-7=16
Exploring Operation: 23-19=4, Resulting Numbers: [7, 4]
Generated Node #0,2,1: 28:[7, 4] Operation: 23-19=4
Exploring Operation: 23+7=30, Resulting Numbers: [19, 30]
Generated Node #0,2,2: 28:[19, 30] Operation: 23+7=30
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 28:[7, 4], Operations: ['93-74=19', '23-19=4']
Exploring Operation: 7+4=11, Resulting Numbers: [11]
11,28 unequal: No Solution
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,28 unequal: No Solution
Exploring Operation: 7*4=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[74, 93, 23, 7], Operations: []
Exploring Operation: 93-74=19, Resulting Numbers: [23, 7, 19]
Generated Node #0,2: 28:[23, 7, 19] Operation: 93-74=19
Moving to Node #0,2
Current State: 28:[23, 7, 19], Operations: ['93-74=19']
Exploring Operation: 23-19=4, Resulting Numbers: [7, 4]
Generated Node #0,2,1: 28:[7, 4] Operation: 23-19=4
Moving to Node #0,2,1
Current State: 28:[7, 4], Operations: ['93-74=19', '23-19=4']
Exploring Operation: 7*4=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
94,
49,
20,
70
] | 95 | [
"94-49=45",
"70-20=50",
"45+50=95"
] | Current State: 95:[94, 49, 20, 70], Operations: []
Exploring Operation: 94-49=45, Resulting Numbers: [20, 70, 45]
Generated Node #2: [20, 70, 45] from Operation: 94-49=45
Current State: 95:[20, 70, 45], Operations: ['94-49=45']
Exploring Operation: 70-20=50, Resulting Numbers: [45, 50]
Generated Node #3: [45, 50] from Operation: 70-20=50
Current State: 95:[45, 50], Operations: ['94-49=45', '70-20=50']
Exploring Operation: 45+50=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[94, 49, 20, 70], Operations: []
Exploring Operation: 49+70=119, Resulting Numbers: [94, 20, 119]
Generated Node #0,0: 95:[94, 20, 119] Operation: 49+70=119
Exploring Operation: 70-49=21, Resulting Numbers: [94, 20, 21]
Generated Node #0,1: 95:[94, 20, 21] Operation: 70-49=21
Moving to Node #0,1
Current State: 95:[94, 20, 21], Operations: ['70-49=21']
Exploring Operation: 94+20=114, Resulting Numbers: [21, 114]
Generated Node #0,1,0: 95:[21, 114] Operation: 94+20=114
Exploring Operation: 21-20=1, Resulting Numbers: [94, 1]
Generated Node #0,1,1: 95:[94, 1] Operation: 21-20=1
Moving to Node #0,0
Current State: 95:[94, 20, 119], Operations: ['49+70=119']
Exploring Operation: 119-94=25, Resulting Numbers: [20, 25]
Generated Node #0,0,0: 95:[20, 25] Operation: 119-94=25
Exploring Operation: 119-20=99, Resulting Numbers: [94, 99]
Generated Node #0,0,1: 95:[94, 99] Operation: 119-20=99
Moving to Node #0,1,1
Current State: 95:[94, 1], Operations: ['70-49=21', '21-20=1']
Exploring Operation: 94+1=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[94, 49, 20, 70], Operations: []
Exploring Operation: 70-49=21, Resulting Numbers: [94, 20, 21]
Generated Node #0,1: 95:[94, 20, 21] Operation: 70-49=21
Moving to Node #0,1
Current State: 95:[94, 20, 21], Operations: ['70-49=21']
Exploring Operation: 21-20=1, Resulting Numbers: [94, 1]
Generated Node #0,1,1: 95:[94, 1] Operation: 21-20=1
Moving to Node #0,1,1
Current State: 95:[94, 1], Operations: ['70-49=21', '21-20=1']
Exploring Operation: 94+1=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 0.990451 | hs_2 | sum_heuristic |
[
44,
70,
46,
51
] | 31 | [
"70-44=26",
"51-46=5",
"26+5=31"
] | Current State: 31:[44, 70, 46, 51], Operations: []
Exploring Operation: 70-44=26, Resulting Numbers: [46, 51, 26]
Generated Node #2: [46, 51, 26] from Operation: 70-44=26
Current State: 31:[46, 51, 26], Operations: ['70-44=26']
Exploring Operation: 51-46=5, Resulting Numbers: [26, 5]
Generated Node #3: [26, 5] from Operation: 51-46=5
Current State: 31:[26, 5], Operations: ['70-44=26', '51-46=5']
Exploring Operation: 26+5=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[44, 70, 46, 51], Operations: []
Exploring Operation: 51-46=5, Resulting Numbers: [44, 70, 5]
Generated Node #0,0: 31:[44, 70, 5] Operation: 51-46=5
Exploring Operation: 70-46=24, Resulting Numbers: [44, 51, 24]
Generated Node #0,1: 31:[44, 51, 24] Operation: 70-46=24
Exploring Operation: 70-51=19, Resulting Numbers: [44, 46, 19]
Generated Node #0,2: 31:[44, 46, 19] Operation: 70-51=19
Exploring Operation: 51-44=7, Resulting Numbers: [70, 46, 7]
Generated Node #0,3: 31:[70, 46, 7] Operation: 51-44=7
Exploring Operation: 70-44=26, Resulting Numbers: [46, 51, 26]
Generated Node #0,4: 31:[46, 51, 26] Operation: 70-44=26
Moving to Node #0,1
Current State: 31:[44, 51, 24], Operations: ['70-46=24']
Exploring Operation: 51-24=27, Resulting Numbers: [44, 27]
Generated Node #0,1,0: 31:[44, 27] Operation: 51-24=27
Exploring Operation: 51-44=7, Resulting Numbers: [24, 7]
Generated Node #0,1,1: 31:[24, 7] Operation: 51-44=7
Exploring Operation: 51+24=75, Resulting Numbers: [44, 75]
Generated Node #0,1,2: 31:[44, 75] Operation: 51+24=75
Exploring Operation: 44-24=20, Resulting Numbers: [51, 20]
Generated Node #0,1,3: 31:[51, 20] Operation: 44-24=20
Exploring Operation: 44+24=68, Resulting Numbers: [51, 68]
Generated Node #0,1,4: 31:[51, 68] Operation: 44+24=68
Moving to Node #0,4
Current State: 31:[46, 51, 26], Operations: ['70-44=26']
Exploring Operation: 51-26=25, Resulting Numbers: [46, 25]
Generated Node #0,4,0: 31:[46, 25] Operation: 51-26=25
Exploring Operation: 51-46=5, Resulting Numbers: [26, 5]
Generated Node #0,4,1: 31:[26, 5] Operation: 51-46=5
Exploring Operation: 46+26=72, Resulting Numbers: [51, 72]
Generated Node #0,4,2: 31:[51, 72] Operation: 46+26=72
Exploring Operation: 51+26=77, Resulting Numbers: [46, 77]
Generated Node #0,4,3: 31:[46, 77] Operation: 51+26=77
Exploring Operation: 46-26=20, Resulting Numbers: [51, 20]
Generated Node #0,4,4: 31:[51, 20] Operation: 46-26=20
Moving to Node #0,2
Current State: 31:[44, 46, 19], Operations: ['70-51=19']
Exploring Operation: 46-19=27, Resulting Numbers: [44, 27]
Generated Node #0,2,0: 31:[44, 27] Operation: 46-19=27
Exploring Operation: 46+19=65, Resulting Numbers: [44, 65]
Generated Node #0,2,1: 31:[44, 65] Operation: 46+19=65
Exploring Operation: 46-44=2, Resulting Numbers: [19, 2]
Generated Node #0,2,2: 31:[19, 2] Operation: 46-44=2
Exploring Operation: 44+19=63, Resulting Numbers: [46, 63]
Generated Node #0,2,3: 31:[46, 63] Operation: 44+19=63
Exploring Operation: 44-19=25, Resulting Numbers: [46, 25]
Generated Node #0,2,4: 31:[46, 25] Operation: 44-19=25
Moving to Node #0,0
Current State: 31:[44, 70, 5], Operations: ['51-46=5']
Exploring Operation: 44+5=49, Resulting Numbers: [70, 49]
Generated Node #0,0,0: 31:[70, 49] Operation: 44+5=49
Exploring Operation: 44-5=39, Resulting Numbers: [70, 39]
Generated Node #0,0,1: 31:[70, 39] Operation: 44-5=39
Exploring Operation: 70/5=14, Resulting Numbers: [44, 14]
Generated Node #0,0,2: 31:[44, 14] Operation: 70/5=14
Exploring Operation: 70-5=65, Resulting Numbers: [44, 65]
Generated Node #0,0,3: 31:[44, 65] Operation: 70-5=65
Exploring Operation: 70-44=26, Resulting Numbers: [5, 26]
Generated Node #0,0,4: 31:[5, 26] Operation: 70-44=26
Moving to Node #0,3
Current State: 31:[70, 46, 7], Operations: ['51-44=7']
Exploring Operation: 70+7=77, Resulting Numbers: [46, 77]
Generated Node #0,3,0: 31:[46, 77] Operation: 70+7=77
Exploring Operation: 70-46=24, Resulting Numbers: [7, 24]
Generated Node #0,3,1: 31:[7, 24] Operation: 70-46=24
Exploring Operation: 46-7=39, Resulting Numbers: [70, 39]
Generated Node #0,3,2: 31:[70, 39] Operation: 46-7=39
Exploring Operation: 70/7=10, Resulting Numbers: [46, 10]
Generated Node #0,3,3: 31:[46, 10] Operation: 70/7=10
Exploring Operation: 70-7=63, Resulting Numbers: [46, 63]
Generated Node #0,3,4: 31:[46, 63] Operation: 70-7=63
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 31:[7, 24], Operations: ['51-44=7', '70-46=24']
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,31 unequal: No Solution
Exploring Operation: 7+24=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[44, 70, 46, 51], Operations: []
Exploring Operation: 51-44=7, Resulting Numbers: [70, 46, 7]
Generated Node #0,3: 31:[70, 46, 7] Operation: 51-44=7
Moving to Node #0,3
Current State: 31:[70, 46, 7], Operations: ['51-44=7']
Exploring Operation: 70-46=24, Resulting Numbers: [7, 24]
Generated Node #0,3,1: 31:[7, 24] Operation: 70-46=24
Moving to Node #0,3,1
Current State: 31:[7, 24], Operations: ['51-44=7', '70-46=24']
Exploring Operation: 7+24=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875 | hs_5 | mult_heuristic |
[
23,
70,
43,
43
] | 39 | [
"70-23=47",
"43+43=86",
"86-47=39"
] | Current State: 39:[23, 70, 43, 43], Operations: []
Exploring Operation: 70-23=47, Resulting Numbers: [43, 43, 47]
Generated Node #2: [43, 43, 47] from Operation: 70-23=47
Current State: 39:[43, 43, 47], Operations: ['70-23=47']
Exploring Operation: 43+43=86, Resulting Numbers: [47, 86]
Generated Node #3: [47, 86] from Operation: 43+43=86
Current State: 39:[47, 86], Operations: ['70-23=47', '43+43=86']
Exploring Operation: 86-47=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[23, 70, 43, 43], Operations: []
Exploring Operation: 43-23=20, Resulting Numbers: [70, 43, 20]
Generated Node #0,0: 39:[70, 43, 20] Operation: 43-23=20
Exploring Operation: 70-43=27, Resulting Numbers: [23, 43, 27]
Generated Node #0,1: 39:[23, 43, 27] Operation: 70-43=27
Exploring Operation: 43-23=20, Resulting Numbers: [70, 43, 20]
Generated Node #0,2: 39:[70, 43, 20] Operation: 43-23=20
Exploring Operation: 70-23=47, Resulting Numbers: [43, 43, 47]
Generated Node #0,3: 39:[43, 43, 47] Operation: 70-23=47
Exploring Operation: 70-43=27, Resulting Numbers: [23, 43, 27]
Generated Node #0,4: 39:[23, 43, 27] Operation: 70-43=27
Moving to Node #0,3
Current State: 39:[43, 43, 47], Operations: ['70-23=47']
Exploring Operation: 43/43=1, Resulting Numbers: [47, 1]
Generated Node #0,3,0: 39:[47, 1] Operation: 43/43=1
Exploring Operation: 47-43=4, Resulting Numbers: [43, 4]
Generated Node #0,3,1: 39:[43, 4] Operation: 47-43=4
Exploring Operation: 43+43=86, Resulting Numbers: [47, 86]
Generated Node #0,3,2: 39:[47, 86] Operation: 43+43=86
Exploring Operation: 47-43=4, Resulting Numbers: [43, 4]
Generated Node #0,3,3: 39:[43, 4] Operation: 47-43=4
Exploring Operation: 43-43=0, Resulting Numbers: [47, 0]
Generated Node #0,3,4: 39:[47, 0] Operation: 43-43=0
Moving to Node #0,4
Current State: 39:[23, 43, 27], Operations: ['70-43=27']
Exploring Operation: 27-23=4, Resulting Numbers: [43, 4]
Generated Node #0,4,0: 39:[43, 4] Operation: 27-23=4
Exploring Operation: 23+43=66, Resulting Numbers: [27, 66]
Generated Node #0,4,1: 39:[27, 66] Operation: 23+43=66
Exploring Operation: 43-27=16, Resulting Numbers: [23, 16]
Generated Node #0,4,2: 39:[23, 16] Operation: 43-27=16
Exploring Operation: 23+27=50, Resulting Numbers: [43, 50]
Generated Node #0,4,3: 39:[43, 50] Operation: 23+27=50
Exploring Operation: 43-23=20, Resulting Numbers: [27, 20]
Generated Node #0,4,4: 39:[27, 20] Operation: 43-23=20
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 39:[43, 4], Operations: ['70-43=27', '27-23=4']
Exploring Operation: 43+4=47, Resulting Numbers: [47]
47,39 unequal: No Solution
Exploring Operation: 43*4=172, Resulting Numbers: [172]
172,39 unequal: No Solution
Exploring Operation: 43-4=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[23, 70, 43, 43], Operations: []
Exploring Operation: 70-43=27, Resulting Numbers: [23, 43, 27]
Generated Node #0,4: 39:[23, 43, 27] Operation: 70-43=27
Moving to Node #0,4
Current State: 39:[23, 43, 27], Operations: ['70-43=27']
Exploring Operation: 27-23=4, Resulting Numbers: [43, 4]
Generated Node #0,4,0: 39:[43, 4] Operation: 27-23=4
Moving to Node #0,4,0
Current State: 39:[43, 4], Operations: ['70-43=27', '27-23=4']
Exploring Operation: 43-4=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_5 | mult_heuristic |
[
16,
83,
2,
55
] | 72 | [
"83-55=28",
"2*28=56",
"16+56=72"
] | Current State: 72:[16, 83, 2, 55], Operations: []
Exploring Operation: 83-55=28, Resulting Numbers: [16, 2, 28]
Generated Node #2: [16, 2, 28] from Operation: 83-55=28
Current State: 72:[16, 2, 28], Operations: ['83-55=28']
Exploring Operation: 2*28=56, Resulting Numbers: [16, 56]
Generated Node #3: [16, 56] from Operation: 2*28=56
Current State: 72:[16, 56], Operations: ['83-55=28', '2*28=56']
Exploring Operation: 16+56=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[16, 83, 2, 55], Operations: []
Exploring Operation: 83-55=28, Resulting Numbers: [16, 2, 28]
Generated Node #0,0: 72:[16, 2, 28] Operation: 83-55=28
Exploring Operation: 16+55=71, Resulting Numbers: [83, 2, 71]
Generated Node #0,1: 72:[83, 2, 71] Operation: 16+55=71
Exploring Operation: 55-16=39, Resulting Numbers: [83, 2, 39]
Generated Node #0,2: 72:[83, 2, 39] Operation: 55-16=39
Exploring Operation: 83-16=67, Resulting Numbers: [2, 55, 67]
Generated Node #0,3: 72:[2, 55, 67] Operation: 83-16=67
Moving to Node #0,0
Current State: 72:[16, 2, 28], Operations: ['83-55=28']
Exploring Operation: 28-16=12, Resulting Numbers: [2, 12]
Generated Node #0,0,0: 72:[2, 12] Operation: 28-16=12
Exploring Operation: 16/2=8, Resulting Numbers: [28, 8]
Generated Node #0,0,1: 72:[28, 8] Operation: 16/2=8
Exploring Operation: 16+2=18, Resulting Numbers: [28, 18]
Generated Node #0,0,2: 72:[28, 18] Operation: 16+2=18
Exploring Operation: 28-2=26, Resulting Numbers: [16, 26]
Generated Node #0,0,3: 72:[16, 26] Operation: 28-2=26
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 72:[2, 12], Operations: ['83-55=28', '28-16=12']
Exploring Operation: 2+12=14, Resulting Numbers: [14]
14,72 unequal: No Solution
Exploring Operation: 2*12=24, Resulting Numbers: [24]
24,72 unequal: No Solution
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,72 unequal: No Solution
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,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,1
Current State: 72:[28, 8], Operations: ['83-55=28', '16/2=8']
Exploring Operation: 28+8=36, Resulting Numbers: [36]
36,72 unequal: No Solution
Exploring Operation: 28*8=224, Resulting Numbers: [224]
224,72 unequal: No Solution
Exploring Operation: 28-8=20, Resulting Numbers: [20]
20,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,2
Current State: 72:[28, 18], Operations: ['83-55=28', '16+2=18']
Exploring Operation: 28+18=46, Resulting Numbers: [46]
46,72 unequal: No Solution
Exploring Operation: 28*18=504, Resulting Numbers: [504]
504,72 unequal: No Solution
Exploring Operation: 28-18=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,3
Current State: 72:[16, 26], Operations: ['83-55=28', '28-2=26']
Exploring Operation: 16+26=42, Resulting Numbers: [42]
42,72 unequal: No Solution
Exploring Operation: 16*26=416, Resulting Numbers: [416]
416,72 unequal: No Solution
Exploring Operation: 26-16=10, Resulting Numbers: [10]
10,72 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: 72:[83, 2, 71], Operations: ['16+55=71']
Exploring Operation: 83-2=81, Resulting Numbers: [71, 81]
Generated Node #0,1,0: 72:[71, 81] Operation: 83-2=81
Exploring Operation: 83-71=12, Resulting Numbers: [2, 12]
Generated Node #0,1,1: 72:[2, 12] Operation: 83-71=12
Exploring Operation: 2+71=73, Resulting Numbers: [83, 73]
Generated Node #0,1,2: 72:[83, 73] Operation: 2+71=73
Exploring Operation: 83+2=85, Resulting Numbers: [71, 85]
Generated Node #0,1,3: 72:[71, 85] Operation: 83+2=85
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 72:[2, 12], Operations: ['16+55=71', '83-71=12']
Exploring Operation: 2+12=14, Resulting Numbers: [14]
14,72 unequal: No Solution
Exploring Operation: 2*12=24, Resulting Numbers: [24]
24,72 unequal: No Solution
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,72 unequal: No Solution
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,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,1,0
Current State: 72:[71, 81], Operations: ['16+55=71', '83-2=81']
Exploring Operation: 71+81=152, Resulting Numbers: [152]
152,72 unequal: No Solution
Exploring Operation: 71*81=5751, Resulting Numbers: [5751]
5751,72 unequal: No Solution
Exploring Operation: 81-71=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,1,2
Current State: 72:[83, 73], Operations: ['16+55=71', '2+71=73']
Exploring Operation: 83+73=156, Resulting Numbers: [156]
156,72 unequal: No Solution
Exploring Operation: 83-73=10, Resulting Numbers: [10]
10,72 unequal: No Solution
Exploring Operation: 83*73=6059, Resulting Numbers: [6059]
6059,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,1,3
Current State: 72:[71, 85], Operations: ['16+55=71', '83+2=85']
Exploring Operation: 85-71=14, Resulting Numbers: [14]
14,72 unequal: No Solution
Exploring Operation: 71+85=156, Resulting Numbers: [156]
156,72 unequal: No Solution
Exploring Operation: 71*85=6035, Resulting Numbers: [6035]
6035,72 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: 72:[83, 2, 39], Operations: ['55-16=39']
Exploring Operation: 83-2=81, Resulting Numbers: [39, 81]
Generated Node #0,2,0: 72:[39, 81] Operation: 83-2=81
Exploring Operation: 83-39=44, Resulting Numbers: [2, 44]
Generated Node #0,2,1: 72:[2, 44] Operation: 83-39=44
Exploring Operation: 39-2=37, Resulting Numbers: [83, 37]
Generated Node #0,2,2: 72:[83, 37] Operation: 39-2=37
Exploring Operation: 83+2=85, Resulting Numbers: [39, 85]
Generated Node #0,2,3: 72:[39, 85] Operation: 83+2=85
Moving to Node #0,3
Current State: 72:[2, 55, 67], Operations: ['83-16=67']
Exploring Operation: 67-55=12, Resulting Numbers: [2, 12]
Generated Node #0,3,0: 72:[2, 12] Operation: 67-55=12
Exploring Operation: 2+67=69, Resulting Numbers: [55, 69]
Generated Node #0,3,1: 72:[55, 69] Operation: 2+67=69
Exploring Operation: 2+55=57, Resulting Numbers: [67, 57]
Generated Node #0,3,2: 72:[67, 57] Operation: 2+55=57
Exploring Operation: 55-2=53, Resulting Numbers: [67, 53]
Generated Node #0,3,3: 72:[67, 53] Operation: 55-2=53
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 72:[2, 12], Operations: ['83-16=67', '67-55=12']
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,72 unequal: No Solution
Exploring Operation: 2*12=24, Resulting Numbers: [24]
24,72 unequal: No Solution
Exploring Operation: 2+12=14, Resulting Numbers: [14]
14,72 unequal: No Solution
Exploring Operation: 12-2=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,3,1
Current State: 72:[55, 69], Operations: ['83-16=67', '2+67=69']
Exploring Operation: 55+69=124, Resulting Numbers: [124]
124,72 unequal: No Solution
Exploring Operation: 55*69=3795, Resulting Numbers: [3795]
3795,72 unequal: No Solution
Exploring Operation: 69-55=14, Resulting Numbers: [14]
14,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 72:[67, 57], Operations: ['83-16=67', '2+55=57']
Exploring Operation: 67+57=124, Resulting Numbers: [124]
124,72 unequal: No Solution
Exploring Operation: 67-57=10, Resulting Numbers: [10]
10,72 unequal: No Solution
Exploring Operation: 67*57=3819, Resulting Numbers: [3819]
3819,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 72:[67, 53], Operations: ['83-16=67', '55-2=53']
Exploring Operation: 67*53=3551, Resulting Numbers: [3551]
3551,72 unequal: No Solution
Exploring Operation: 67+53=120, Resulting Numbers: [120]
120,72 unequal: No Solution
Exploring Operation: 67-53=14, Resulting Numbers: [14]
14,72 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: 72:[2, 44], Operations: ['55-16=39', '83-39=44']
Exploring Operation: 44-2=42, Resulting Numbers: [42]
42,72 unequal: No Solution
Exploring Operation: 44/2=22, Resulting Numbers: [22]
22,72 unequal: No Solution
Exploring Operation: 2*44=88, Resulting Numbers: [88]
88,72 unequal: No Solution
Exploring Operation: 2+44=46, Resulting Numbers: [46]
46,72 unequal: No Solution
Moving to Node #0,2,2
Current State: 72:[83, 37], Operations: ['55-16=39', '39-2=37']
Exploring Operation: 83*37=3071, Resulting Numbers: [3071]
3071,72 unequal: No Solution
Exploring Operation: 83+37=120, Resulting Numbers: [120]
120,72 unequal: No Solution
Exploring Operation: 83-37=46, Resulting Numbers: [46]
46,72 unequal: No Solution
Moving to Node #0,2,0
Current State: 72:[39, 81], Operations: ['55-16=39', '83-2=81']
Exploring Operation: 39+81=120, Resulting Numbers: [120]
120,72 unequal: No Solution
Exploring Operation: 39*81=3159, Resulting Numbers: [3159]
3159,72 unequal: No Solution
Exploring Operation: 81-39=42, Resulting Numbers: [42]
42,72 unequal: No Solution
Moving to Node #0,2,3
Current State: 72:[39, 85], Operations: ['55-16=39', '83+2=85']
Exploring Operation: 85-39=46, Resulting Numbers: [46]
46,72 unequal: No Solution
Exploring Operation: 39*85=3315, Resulting Numbers: [3315]
3315,72 unequal: No Solution
Exploring Operation: 39+85=124, Resulting Numbers: [124]
124,72 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
65,
37,
35,
42
] | 95 | [
"65+37=102",
"42-35=7",
"102-7=95"
] | Current State: 95:[65, 37, 35, 42], Operations: []
Exploring Operation: 65+37=102, Resulting Numbers: [35, 42, 102]
Generated Node #2: [35, 42, 102] from Operation: 65+37=102
Current State: 95:[35, 42, 102], Operations: ['65+37=102']
Exploring Operation: 42-35=7, Resulting Numbers: [102, 7]
Generated Node #3: [102, 7] from Operation: 42-35=7
Current State: 95:[102, 7], Operations: ['65+37=102', '42-35=7']
Exploring Operation: 102-7=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[65, 37, 35, 42], Operations: []
Exploring Operation: 65+35=100, Resulting Numbers: [37, 42, 100]
Generated Node #0,0: 95:[37, 42, 100] Operation: 65+35=100
Exploring Operation: 65+37=102, Resulting Numbers: [35, 42, 102]
Generated Node #0,1: 95:[35, 42, 102] Operation: 65+37=102
Exploring Operation: 65-42=23, Resulting Numbers: [37, 35, 23]
Generated Node #0,2: 95:[37, 35, 23] Operation: 65-42=23
Moving to Node #0,2
Current State: 95:[37, 35, 23], Operations: ['65-42=23']
Exploring Operation: 35-23=12, Resulting Numbers: [37, 12]
Generated Node #0,2,0: 95:[37, 12] Operation: 35-23=12
Exploring Operation: 37-23=14, Resulting Numbers: [35, 14]
Generated Node #0,2,1: 95:[35, 14] Operation: 37-23=14
Exploring Operation: 37-35=2, Resulting Numbers: [23, 2]
Generated Node #0,2,2: 95:[23, 2] Operation: 37-35=2
Moving to Node #0,0
Current State: 95:[37, 42, 100], Operations: ['65+35=100']
Exploring Operation: 100-37=63, Resulting Numbers: [42, 63]
Generated Node #0,0,0: 95:[42, 63] Operation: 100-37=63
Exploring Operation: 42-37=5, Resulting Numbers: [100, 5]
Generated Node #0,0,1: 95:[100, 5] Operation: 42-37=5
Exploring Operation: 37+42=79, Resulting Numbers: [100, 79]
Generated Node #0,0,2: 95:[100, 79] Operation: 37+42=79
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 95:[100, 5], Operations: ['65+35=100', '42-37=5']
Exploring Operation: 100-5=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[65, 37, 35, 42], Operations: []
Exploring Operation: 65+35=100, Resulting Numbers: [37, 42, 100]
Generated Node #0,0: 95:[37, 42, 100] Operation: 65+35=100
Moving to Node #0,0
Current State: 95:[37, 42, 100], Operations: ['65+35=100']
Exploring Operation: 42-37=5, Resulting Numbers: [100, 5]
Generated Node #0,0,1: 95:[100, 5] Operation: 42-37=5
Moving to Node #0,0,1
Current State: 95:[100, 5], Operations: ['65+35=100', '42-37=5']
Exploring Operation: 100-5=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_3 | mult_heuristic |
[
70,
47,
36,
13
] | 94 | [
"70+47=117",
"36-13=23",
"117-23=94"
] | Current State: 94:[70, 47, 36, 13], Operations: []
Exploring Operation: 70+47=117, Resulting Numbers: [36, 13, 117]
Generated Node #2: [36, 13, 117] from Operation: 70+47=117
Current State: 94:[36, 13, 117], Operations: ['70+47=117']
Exploring Operation: 36-13=23, Resulting Numbers: [117, 23]
Generated Node #3: [117, 23] from Operation: 36-13=23
Current State: 94:[117, 23], Operations: ['70+47=117', '36-13=23']
Exploring Operation: 117-23=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[70, 47, 36, 13], Operations: []
Exploring Operation: 70-13=57, Resulting Numbers: [47, 36, 57]
Generated Node #0,0: 94:[47, 36, 57] Operation: 70-13=57
Exploring Operation: 70+13=83, Resulting Numbers: [47, 36, 83]
Generated Node #0,1: 94:[47, 36, 83] Operation: 70+13=83
Moving to Node #0,0
Current State: 94:[47, 36, 57], Operations: ['70-13=57']
Exploring Operation: 47-36=11, Resulting Numbers: [57, 11]
Generated Node #0,0,0: 94:[57, 11] Operation: 47-36=11
Exploring Operation: 36+57=93, Resulting Numbers: [47, 93]
Generated Node #0,0,1: 94:[47, 93] Operation: 36+57=93
Moving to Node #0,1
Current State: 94:[47, 36, 83], Operations: ['70+13=83']
Exploring Operation: 83-36=47, Resulting Numbers: [47, 47]
Generated Node #0,1,0: 94:[47, 47] Operation: 83-36=47
Exploring Operation: 47-36=11, Resulting Numbers: [83, 11]
Generated Node #0,1,1: 94:[83, 11] Operation: 47-36=11
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 94:[47, 47], Operations: ['70+13=83', '83-36=47']
Exploring Operation: 47+47=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[70, 47, 36, 13], Operations: []
Exploring Operation: 70+13=83, Resulting Numbers: [47, 36, 83]
Generated Node #0,1: 94:[47, 36, 83] Operation: 70+13=83
Moving to Node #0,1
Current State: 94:[47, 36, 83], Operations: ['70+13=83']
Exploring Operation: 83-36=47, Resulting Numbers: [47, 47]
Generated Node #0,1,0: 94:[47, 47] Operation: 83-36=47
Moving to Node #0,1,0
Current State: 94:[47, 47], Operations: ['70+13=83', '83-36=47']
Exploring Operation: 47+47=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
15,
34,
61,
63
] | 17 | [
"34-15=19",
"63-61=2",
"19-2=17"
] | Current State: 17:[15, 34, 61, 63], Operations: []
Exploring Operation: 34-15=19, Resulting Numbers: [61, 63, 19]
Generated Node #2: [61, 63, 19] from Operation: 34-15=19
Current State: 17:[61, 63, 19], Operations: ['34-15=19']
Exploring Operation: 63-61=2, Resulting Numbers: [19, 2]
Generated Node #3: [19, 2] from Operation: 63-61=2
Current State: 17:[19, 2], Operations: ['34-15=19', '63-61=2']
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[15, 34, 61, 63], Operations: []
Exploring Operation: 63-61=2, Resulting Numbers: [15, 34, 2]
Generated Node #0,0: 17:[15, 34, 2] Operation: 63-61=2
Exploring Operation: 61-34=27, Resulting Numbers: [15, 63, 27]
Generated Node #0,1: 17:[15, 63, 27] Operation: 61-34=27
Moving to Node #0,0
Current State: 17:[15, 34, 2], Operations: ['63-61=2']
Exploring Operation: 34-15=19, Resulting Numbers: [2, 19]
Generated Node #0,0,0: 17:[2, 19] Operation: 34-15=19
Exploring Operation: 34/2=17, Resulting Numbers: [15, 17]
Generated Node #0,0,1: 17:[15, 17] Operation: 34/2=17
Moving to Node #0,1
Current State: 17:[15, 63, 27], Operations: ['61-34=27']
Exploring Operation: 63-27=36, Resulting Numbers: [15, 36]
Generated Node #0,1,0: 17:[15, 36] Operation: 63-27=36
Exploring Operation: 63-15=48, Resulting Numbers: [27, 48]
Generated Node #0,1,1: 17:[27, 48] Operation: 63-15=48
Moving to Node #0,0,1
Current State: 17:[15, 17], Operations: ['63-61=2', '34/2=17']
Exploring Operation: 15+17=32, Resulting Numbers: [32]
32,17 unequal: No Solution
Exploring Operation: 17-15=2, Resulting Numbers: [2]
2,17 unequal: No Solution
Moving to Node #0,0,0
Current State: 17:[2, 19], Operations: ['63-61=2', '34-15=19']
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[15, 34, 61, 63], Operations: []
Exploring Operation: 63-61=2, Resulting Numbers: [15, 34, 2]
Generated Node #0,0: 17:[15, 34, 2] Operation: 63-61=2
Moving to Node #0,0
Current State: 17:[15, 34, 2], Operations: ['63-61=2']
Exploring Operation: 34-15=19, Resulting Numbers: [2, 19]
Generated Node #0,0,0: 17:[2, 19] Operation: 34-15=19
Moving to Node #0,0,0
Current State: 17:[2, 19], Operations: ['63-61=2', '34-15=19']
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 0.988715 | hs_2 | sum_heuristic |
[
94,
1,
70,
90
] | 67 | [
"94-1=93",
"70+90=160",
"160-93=67"
] | Current State: 67:[94, 1, 70, 90], Operations: []
Exploring Operation: 94-1=93, Resulting Numbers: [70, 90, 93]
Generated Node #2: [70, 90, 93] from Operation: 94-1=93
Current State: 67:[70, 90, 93], Operations: ['94-1=93']
Exploring Operation: 70+90=160, Resulting Numbers: [93, 160]
Generated Node #3: [93, 160] from Operation: 70+90=160
Current State: 67:[93, 160], Operations: ['94-1=93', '70+90=160']
Exploring Operation: 160-93=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[94, 1, 70, 90], Operations: []
Exploring Operation: 94*1=94, Resulting Numbers: [70, 90, 94]
Generated Node #0,0: 67:[70, 90, 94] Operation: 94*1=94
Exploring Operation: 90-1=89, Resulting Numbers: [94, 70, 89]
Generated Node #0,1: 67:[94, 70, 89] Operation: 90-1=89
Exploring Operation: 70-1=69, Resulting Numbers: [94, 90, 69]
Generated Node #0,2: 67:[94, 90, 69] Operation: 70-1=69
Exploring Operation: 94-1=93, Resulting Numbers: [70, 90, 93]
Generated Node #0,3: 67:[70, 90, 93] Operation: 94-1=93
Exploring Operation: 94/1=94, Resulting Numbers: [70, 90, 94]
Generated Node #0,4: 67:[70, 90, 94] Operation: 94/1=94
Moving to Node #0,1
Current State: 67:[94, 70, 89], Operations: ['90-1=89']
Exploring Operation: 94+89=183, Resulting Numbers: [70, 183]
Generated Node #0,1,0: 67:[70, 183] Operation: 94+89=183
Exploring Operation: 89-70=19, Resulting Numbers: [94, 19]
Generated Node #0,1,1: 67:[94, 19] Operation: 89-70=19
Exploring Operation: 94-70=24, Resulting Numbers: [89, 24]
Generated Node #0,1,2: 67:[89, 24] Operation: 94-70=24
Exploring Operation: 94-89=5, Resulting Numbers: [70, 5]
Generated Node #0,1,3: 67:[70, 5] Operation: 94-89=5
Exploring Operation: 94+70=164, Resulting Numbers: [89, 164]
Generated Node #0,1,4: 67:[89, 164] Operation: 94+70=164
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 67:[89, 24], Operations: ['90-1=89', '94-70=24']
Exploring Operation: 89+24=113, Resulting Numbers: [113]
113,67 unequal: No Solution
Exploring Operation: 89*24=2136, Resulting Numbers: [2136]
2136,67 unequal: No Solution
Exploring Operation: 89-24=65, Resulting Numbers: [65]
65,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 67:[70, 5], Operations: ['90-1=89', '94-89=5']
Exploring Operation: 70-5=65, Resulting Numbers: [65]
65,67 unequal: No Solution
Exploring Operation: 70+5=75, Resulting Numbers: [75]
75,67 unequal: No Solution
Exploring Operation: 70/5=14, Resulting Numbers: [14]
14,67 unequal: No Solution
Exploring Operation: 70*5=350, Resulting Numbers: [350]
350,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 67:[94, 19], Operations: ['90-1=89', '89-70=19']
Exploring Operation: 94+19=113, Resulting Numbers: [113]
113,67 unequal: No Solution
Exploring Operation: 94*19=1786, Resulting Numbers: [1786]
1786,67 unequal: No Solution
Exploring Operation: 94-19=75, Resulting Numbers: [75]
75,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 67:[70, 183], Operations: ['90-1=89', '94+89=183']
Exploring Operation: 70+183=253, Resulting Numbers: [253]
253,67 unequal: No Solution
Exploring Operation: 183-70=113, Resulting Numbers: [113]
113,67 unequal: No Solution
Exploring Operation: 70*183=12810, Resulting Numbers: [12810]
12810,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 67:[89, 164], Operations: ['90-1=89', '94+70=164']
Exploring Operation: 164-89=75, Resulting Numbers: [75]
75,67 unequal: No Solution
Exploring Operation: 89+164=253, Resulting Numbers: [253]
253,67 unequal: No Solution
Exploring Operation: 89*164=14596, Resulting Numbers: [14596]
14596,67 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: 67:[70, 90, 93], Operations: ['94-1=93']
Exploring Operation: 90-70=20, Resulting Numbers: [93, 20]
Generated Node #0,3,0: 67:[93, 20] Operation: 90-70=20
Exploring Operation: 93-70=23, Resulting Numbers: [90, 23]
Generated Node #0,3,1: 67:[90, 23] Operation: 93-70=23
Exploring Operation: 70+90=160, Resulting Numbers: [93, 160]
Generated Node #0,3,2: 67:[93, 160] Operation: 70+90=160
Exploring Operation: 70+93=163, Resulting Numbers: [90, 163]
Generated Node #0,3,3: 67:[90, 163] Operation: 70+93=163
Exploring Operation: 93-90=3, Resulting Numbers: [70, 3]
Generated Node #0,3,4: 67:[70, 3] Operation: 93-90=3
Moving to Node #0,2
Current State: 67:[94, 90, 69], Operations: ['70-1=69']
Exploring Operation: 94-69=25, Resulting Numbers: [90, 25]
Generated Node #0,2,0: 67:[90, 25] Operation: 94-69=25
Exploring Operation: 94-90=4, Resulting Numbers: [69, 4]
Generated Node #0,2,1: 67:[69, 4] Operation: 94-90=4
Exploring Operation: 94+90=184, Resulting Numbers: [69, 184]
Generated Node #0,2,2: 67:[69, 184] Operation: 94+90=184
Exploring Operation: 90-69=21, Resulting Numbers: [94, 21]
Generated Node #0,2,3: 67:[94, 21] Operation: 90-69=21
Exploring Operation: 94+69=163, Resulting Numbers: [90, 163]
Generated Node #0,2,4: 67:[90, 163] Operation: 94+69=163
Moving to Node #0,0
Current State: 67:[70, 90, 94], Operations: ['94*1=94']
Exploring Operation: 94-90=4, Resulting Numbers: [70, 4]
Generated Node #0,0,0: 67:[70, 4] Operation: 94-90=4
Exploring Operation: 94-70=24, Resulting Numbers: [90, 24]
Generated Node #0,0,1: 67:[90, 24] Operation: 94-70=24
Exploring Operation: 90-70=20, Resulting Numbers: [94, 20]
Generated Node #0,0,2: 67:[94, 20] Operation: 90-70=20
Exploring Operation: 70+90=160, Resulting Numbers: [94, 160]
Generated Node #0,0,3: 67:[94, 160] Operation: 70+90=160
Exploring Operation: 70+94=164, Resulting Numbers: [90, 164]
Generated Node #0,0,4: 67:[90, 164] Operation: 70+94=164
Moving to Node #0,4
Current State: 67:[70, 90, 94], Operations: ['94/1=94']
Exploring Operation: 70+94=164, Resulting Numbers: [90, 164]
Generated Node #0,4,0: 67:[90, 164] Operation: 70+94=164
Exploring Operation: 94-90=4, Resulting Numbers: [70, 4]
Generated Node #0,4,1: 67:[70, 4] Operation: 94-90=4
Exploring Operation: 94-70=24, Resulting Numbers: [90, 24]
Generated Node #0,4,2: 67:[90, 24] Operation: 94-70=24
Exploring Operation: 90-70=20, Resulting Numbers: [94, 20]
Generated Node #0,4,3: 67:[94, 20] Operation: 90-70=20
Exploring Operation: 70+90=160, Resulting Numbers: [94, 160]
Generated Node #0,4,4: 67:[94, 160] Operation: 70+90=160
Moving to Node #0,2,0
Current State: 67:[90, 25], Operations: ['70-1=69', '94-69=25']
Exploring Operation: 90+25=115, Resulting Numbers: [115]
115,67 unequal: No Solution
Exploring Operation: 90*25=2250, Resulting Numbers: [2250]
2250,67 unequal: No Solution
Exploring Operation: 90-25=65, Resulting Numbers: [65]
65,67 unequal: No Solution
Moving to Node #0,2,1
Current State: 67:[69, 4], Operations: ['70-1=69', '94-90=4']
Exploring Operation: 69*4=276, Resulting Numbers: [276]
276,67 unequal: No Solution
Exploring Operation: 69-4=65, Resulting Numbers: [65]
65,67 unequal: No Solution
Exploring Operation: 69+4=73, Resulting Numbers: [73]
73,67 unequal: No Solution
Moving to Node #0,0,1
Current State: 67:[90, 24], Operations: ['94*1=94', '94-70=24']
Exploring Operation: 90-24=66, Resulting Numbers: [66]
66,67 unequal: No Solution
Exploring Operation: 90+24=114, Resulting Numbers: [114]
114,67 unequal: No Solution
Exploring Operation: 90*24=2160, Resulting Numbers: [2160]
2160,67 unequal: No Solution
Moving to Node #0,0,0
Current State: 67:[70, 4], Operations: ['94*1=94', '94-90=4']
Exploring Operation: 70*4=280, Resulting Numbers: [280]
280,67 unequal: No Solution
Exploring Operation: 70-4=66, Resulting Numbers: [66]
66,67 unequal: No Solution
Exploring Operation: 70+4=74, Resulting Numbers: [74]
74,67 unequal: No Solution
Moving to Node #0,4,1
Current State: 67:[70, 4], Operations: ['94/1=94', '94-90=4']
Exploring Operation: 70+4=74, Resulting Numbers: [74]
74,67 unequal: No Solution
Exploring Operation: 70-4=66, Resulting Numbers: [66]
66,67 unequal: No Solution
Exploring Operation: 70*4=280, Resulting Numbers: [280]
280,67 unequal: No Solution
Moving to Node #0,4,2
Current State: 67:[90, 24], Operations: ['94/1=94', '94-70=24']
Exploring Operation: 90-24=66, Resulting Numbers: [66]
66,67 unequal: No Solution
Exploring Operation: 90*24=2160, Resulting Numbers: [2160]
2160,67 unequal: No Solution
Exploring Operation: 90+24=114, Resulting Numbers: [114]
114,67 unequal: No Solution
Moving to Node #0,3,1
Current State: 67:[90, 23], Operations: ['94-1=93', '93-70=23']
Exploring Operation: 90*23=2070, Resulting Numbers: [2070]
2070,67 unequal: No Solution
Exploring Operation: 90-23=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Moving to Node #0
Current State: 67:[94, 1, 70, 90], Operations: []
Exploring Operation: 94-1=93, Resulting Numbers: [70, 90, 93]
Generated Node #0,3: 67:[70, 90, 93] Operation: 94-1=93
Moving to Node #0,3
Current State: 67:[70, 90, 93], Operations: ['94-1=93']
Exploring Operation: 93-70=23, Resulting Numbers: [90, 23]
Generated Node #0,3,1: 67:[90, 23] Operation: 93-70=23
Moving to Node #0,3,1
Current State: 67:[90, 23], Operations: ['94-1=93', '93-70=23']
Exploring Operation: 90-23=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 0.939236 | hs_5 | mult_heuristic |
[
97,
38,
90,
69
] | 46 | [
"97+38=135",
"90*69=6210",
"6210/135=46"
] | Current State: 46:[97, 38, 90, 69], Operations: []
Exploring Operation: 97+38=135, Resulting Numbers: [90, 69, 135]
Generated Node #2: [90, 69, 135] from Operation: 97+38=135
Current State: 46:[90, 69, 135], Operations: ['97+38=135']
Exploring Operation: 90*69=6210, Resulting Numbers: [135, 6210]
Generated Node #3: [135, 6210] from Operation: 90*69=6210
Current State: 46:[135, 6210], Operations: ['97+38=135', '90*69=6210']
Exploring Operation: 6210/135=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[97, 38, 90, 69], Operations: []
Exploring Operation: 97-90=7, Resulting Numbers: [38, 69, 7]
Generated Node #0,0: 46:[38, 69, 7] Operation: 97-90=7
Exploring Operation: 97-69=28, Resulting Numbers: [38, 90, 28]
Generated Node #0,1: 46:[38, 90, 28] Operation: 97-69=28
Moving to Node #0,0
Current State: 46:[38, 69, 7], Operations: ['97-90=7']
Exploring Operation: 38+7=45, Resulting Numbers: [69, 45]
Generated Node #0,0,0: 46:[69, 45] Operation: 38+7=45
Exploring Operation: 69-38=31, Resulting Numbers: [7, 31]
Generated Node #0,0,1: 46:[7, 31] Operation: 69-38=31
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 46:[7, 31], Operations: ['97-90=7', '69-38=31']
Exploring Operation: 7+31=38, Resulting Numbers: [38]
38,46 unequal: No Solution
Exploring Operation: 31-7=24, Resulting Numbers: [24]
24,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 46:[69, 45], Operations: ['97-90=7', '38+7=45']
Exploring Operation: 69-45=24, Resulting Numbers: [24]
24,46 unequal: No Solution
Exploring Operation: 69+45=114, Resulting Numbers: [114]
114,46 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: 46:[38, 90, 28], Operations: ['97-69=28']
Exploring Operation: 90-38=52, Resulting Numbers: [28, 52]
Generated Node #0,1,0: 46:[28, 52] Operation: 90-38=52
Exploring Operation: 90-28=62, Resulting Numbers: [38, 62]
Generated Node #0,1,1: 46:[38, 62] Operation: 90-28=62
Moving to Node #0,1,0
Current State: 46:[28, 52], Operations: ['97-69=28', '90-38=52']
Exploring Operation: 28+52=80, Resulting Numbers: [80]
80,46 unequal: No Solution
Exploring Operation: 52-28=24, Resulting Numbers: [24]
24,46 unequal: No Solution
Moving to Node #0,1,1
Current State: 46:[38, 62], Operations: ['97-69=28', '90-28=62']
Exploring Operation: 38+62=100, Resulting Numbers: [100]
100,46 unequal: No Solution
Exploring Operation: 62-38=24, Resulting Numbers: [24]
24,46 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
39,
15,
10,
4
] | 56 | [
"39-15=24",
"24-10=14",
"4*14=56"
] | Current State: 56:[39, 15, 10, 4], Operations: []
Exploring Operation: 39-15=24, Resulting Numbers: [10, 4, 24]
Generated Node #2: [10, 4, 24] from Operation: 39-15=24
Current State: 56:[10, 4, 24], Operations: ['39-15=24']
Exploring Operation: 24-10=14, Resulting Numbers: [4, 14]
Generated Node #3: [4, 14] from Operation: 24-10=14
Current State: 56:[4, 14], Operations: ['39-15=24', '24-10=14']
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[39, 15, 10, 4], Operations: []
Exploring Operation: 39+15=54, Resulting Numbers: [10, 4, 54]
Generated Node #0,0: 56:[10, 4, 54] Operation: 39+15=54
Exploring Operation: 39-10=29, Resulting Numbers: [15, 4, 29]
Generated Node #0,1: 56:[15, 4, 29] Operation: 39-10=29
Start Sub Search at level 1: Moving to Node #0,1
Current State: 56:[15, 4, 29], Operations: ['39-10=29']
Exploring Operation: 29-15=14, Resulting Numbers: [4, 14]
Generated Node #0,1,0: 56:[4, 14] Operation: 29-15=14
Exploring Operation: 15-4=11, Resulting Numbers: [29, 11]
Generated Node #0,1,1: 56:[29, 11] Operation: 15-4=11
Moving to Node #0,1,0
Current State: 56:[4, 14], Operations: ['39-10=29', '29-15=14']
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,56 unequal: No Solution
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[39, 15, 10, 4], Operations: []
Exploring Operation: 39-10=29, Resulting Numbers: [15, 4, 29]
Generated Node #0,1: 56:[15, 4, 29] Operation: 39-10=29
Moving to Node #0,1
Current State: 56:[15, 4, 29], Operations: ['39-10=29']
Exploring Operation: 29-15=14, Resulting Numbers: [4, 14]
Generated Node #0,1,0: 56:[4, 14] Operation: 29-15=14
Moving to Node #0,1,0
Current State: 56:[4, 14], Operations: ['39-10=29', '29-15=14']
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
71,
74,
87,
12
] | 71 | [
"87-74=13",
"13-12=1",
"71*1=71"
] | Current State: 71:[71, 74, 87, 12], Operations: []
Exploring Operation: 87-74=13, Resulting Numbers: [71, 12, 13]
Generated Node #2: [71, 12, 13] from Operation: 87-74=13
Current State: 71:[71, 12, 13], Operations: ['87-74=13']
Exploring Operation: 13-12=1, Resulting Numbers: [71, 1]
Generated Node #3: [71, 1] from Operation: 13-12=1
Current State: 71:[71, 1], Operations: ['87-74=13', '13-12=1']
Exploring Operation: 71*1=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[71, 74, 87, 12], Operations: []
Exploring Operation: 87-12=75, Resulting Numbers: [71, 74, 75]
Generated Node #0,0: 71:[71, 74, 75] Operation: 87-12=75
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[71, 74, 75], Operations: ['87-12=75']
Exploring Operation: 75-71=4, Resulting Numbers: [74, 4]
Generated Node #0,0,0: 71:[74, 4] Operation: 75-71=4
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 71:[74, 4], Operations: ['87-12=75', '75-71=4']
Exploring Operation: 74-4=70, Resulting Numbers: [70]
70,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_1 | sum_heuristic |
[
18,
70,
66,
45
] | 94 | [
"18*70=1260",
"1260/45=28",
"66+28=94"
] | Current State: 94:[18, 70, 66, 45], Operations: []
Exploring Operation: 18*70=1260, Resulting Numbers: [66, 45, 1260]
Generated Node #2: [66, 45, 1260] from Operation: 18*70=1260
Current State: 94:[66, 45, 1260], Operations: ['18*70=1260']
Exploring Operation: 1260/45=28, Resulting Numbers: [66, 28]
Generated Node #3: [66, 28] from Operation: 1260/45=28
Current State: 94:[66, 28], Operations: ['18*70=1260', '1260/45=28']
Exploring Operation: 66+28=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[18, 70, 66, 45], Operations: []
Exploring Operation: 70-66=4, Resulting Numbers: [18, 45, 4]
Generated Node #0,0: 94:[18, 45, 4] Operation: 70-66=4
Exploring Operation: 70-18=52, Resulting Numbers: [66, 45, 52]
Generated Node #0,1: 94:[66, 45, 52] Operation: 70-18=52
Exploring Operation: 66-18=48, Resulting Numbers: [70, 45, 48]
Generated Node #0,2: 94:[70, 45, 48] Operation: 66-18=48
Exploring Operation: 18+66=84, Resulting Numbers: [70, 45, 84]
Generated Node #0,3: 94:[70, 45, 84] Operation: 18+66=84
Exploring Operation: 18+70=88, Resulting Numbers: [66, 45, 88]
Generated Node #0,4: 94:[66, 45, 88] Operation: 18+70=88
Moving to Node #0,0
Current State: 94:[18, 45, 4], Operations: ['70-66=4']
Exploring Operation: 45-18=27, Resulting Numbers: [4, 27]
Generated Node #0,0,0: 94:[4, 27] Operation: 45-18=27
Exploring Operation: 18+4=22, Resulting Numbers: [45, 22]
Generated Node #0,0,1: 94:[45, 22] Operation: 18+4=22
Exploring Operation: 18+45=63, Resulting Numbers: [4, 63]
Generated Node #0,0,2: 94:[4, 63] Operation: 18+45=63
Exploring Operation: 18-4=14, Resulting Numbers: [45, 14]
Generated Node #0,0,3: 94:[45, 14] Operation: 18-4=14
Exploring Operation: 45+4=49, Resulting Numbers: [18, 49]
Generated Node #0,0,4: 94:[18, 49] Operation: 45+4=49
Moving to Node #0,2
Current State: 94:[70, 45, 48], Operations: ['66-18=48']
Exploring Operation: 48-45=3, Resulting Numbers: [70, 3]
Generated Node #0,2,0: 94:[70, 3] Operation: 48-45=3
Exploring Operation: 70+45=115, Resulting Numbers: [48, 115]
Generated Node #0,2,1: 94:[48, 115] Operation: 70+45=115
Exploring Operation: 70-45=25, Resulting Numbers: [48, 25]
Generated Node #0,2,2: 94:[48, 25] Operation: 70-45=25
Exploring Operation: 45+48=93, Resulting Numbers: [70, 93]
Generated Node #0,2,3: 94:[70, 93] Operation: 45+48=93
Exploring Operation: 70-48=22, Resulting Numbers: [45, 22]
Generated Node #0,2,4: 94:[45, 22] Operation: 70-48=22
Moving to Node #0,1
Current State: 94:[66, 45, 52], Operations: ['70-18=52']
Exploring Operation: 66-45=21, Resulting Numbers: [52, 21]
Generated Node #0,1,0: 94:[52, 21] Operation: 66-45=21
Exploring Operation: 66-52=14, Resulting Numbers: [45, 14]
Generated Node #0,1,1: 94:[45, 14] Operation: 66-52=14
Exploring Operation: 45+52=97, Resulting Numbers: [66, 97]
Generated Node #0,1,2: 94:[66, 97] Operation: 45+52=97
Exploring Operation: 66+45=111, Resulting Numbers: [52, 111]
Generated Node #0,1,3: 94:[52, 111] Operation: 66+45=111
Exploring Operation: 52-45=7, Resulting Numbers: [66, 7]
Generated Node #0,1,4: 94:[66, 7] Operation: 52-45=7
Moving to Node #0,4
Current State: 94:[66, 45, 88], Operations: ['18+70=88']
Exploring Operation: 66+45=111, Resulting Numbers: [88, 111]
Generated Node #0,4,0: 94:[88, 111] Operation: 66+45=111
Exploring Operation: 88-66=22, Resulting Numbers: [45, 22]
Generated Node #0,4,1: 94:[45, 22] Operation: 88-66=22
Exploring Operation: 66-45=21, Resulting Numbers: [88, 21]
Generated Node #0,4,2: 94:[88, 21] Operation: 66-45=21
Exploring Operation: 45+88=133, Resulting Numbers: [66, 133]
Generated Node #0,4,3: 94:[66, 133] Operation: 45+88=133
Exploring Operation: 88-45=43, Resulting Numbers: [66, 43]
Generated Node #0,4,4: 94:[66, 43] Operation: 88-45=43
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 94:[45, 22], Operations: ['18+70=88', '88-66=22']
Exploring Operation: 45-22=23, Resulting Numbers: [23]
23,94 unequal: No Solution
Exploring Operation: 45+22=67, Resulting Numbers: [67]
67,94 unequal: No Solution
Exploring Operation: 45*22=990, Resulting Numbers: [990]
990,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 94:[88, 111], Operations: ['18+70=88', '66+45=111']
Exploring Operation: 88+111=199, Resulting Numbers: [199]
199,94 unequal: No Solution
Exploring Operation: 111-88=23, Resulting Numbers: [23]
23,94 unequal: No Solution
Exploring Operation: 88*111=9768, Resulting Numbers: [9768]
9768,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 94:[66, 43], Operations: ['18+70=88', '88-45=43']
Exploring Operation: 66-43=23, Resulting Numbers: [23]
23,94 unequal: No Solution
Exploring Operation: 66+43=109, Resulting Numbers: [109]
109,94 unequal: No Solution
Exploring Operation: 66*43=2838, Resulting Numbers: [2838]
2838,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 94:[88, 21], Operations: ['18+70=88', '66-45=21']
Exploring Operation: 88*21=1848, Resulting Numbers: [1848]
1848,94 unequal: No Solution
Exploring Operation: 88-21=67, Resulting Numbers: [67]
67,94 unequal: No Solution
Exploring Operation: 88+21=109, Resulting Numbers: [109]
109,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 94:[66, 133], Operations: ['18+70=88', '45+88=133']
Exploring Operation: 66+133=199, Resulting Numbers: [199]
199,94 unequal: No Solution
Exploring Operation: 66*133=8778, Resulting Numbers: [8778]
8778,94 unequal: No Solution
Exploring Operation: 133-66=67, Resulting Numbers: [67]
67,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 94:[70, 45, 84], Operations: ['18+66=84']
Exploring Operation: 45+84=129, Resulting Numbers: [70, 129]
Generated Node #0,3,0: 94:[70, 129] Operation: 45+84=129
Exploring Operation: 84-45=39, Resulting Numbers: [70, 39]
Generated Node #0,3,1: 94:[70, 39] Operation: 84-45=39
Exploring Operation: 84-70=14, Resulting Numbers: [45, 14]
Generated Node #0,3,2: 94:[45, 14] Operation: 84-70=14
Exploring Operation: 70+45=115, Resulting Numbers: [84, 115]
Generated Node #0,3,3: 94:[84, 115] Operation: 70+45=115
Exploring Operation: 70-45=25, Resulting Numbers: [84, 25]
Generated Node #0,3,4: 94:[84, 25] Operation: 70-45=25
Moving to Node #0,0,3
Current State: 94:[45, 14], Operations: ['70-66=4', '18-4=14']
Exploring Operation: 45*14=630, Resulting Numbers: [630]
630,94 unequal: No Solution
Exploring Operation: 45+14=59, Resulting Numbers: [59]
59,94 unequal: No Solution
Exploring Operation: 45-14=31, Resulting Numbers: [31]
31,94 unequal: No Solution
Moving to Node #0,1,1
Current State: 94:[45, 14], Operations: ['70-18=52', '66-52=14']
Exploring Operation: 45*14=630, Resulting Numbers: [630]
630,94 unequal: No Solution
Exploring Operation: 45-14=31, Resulting Numbers: [31]
31,94 unequal: No Solution
Exploring Operation: 45+14=59, Resulting Numbers: [59]
59,94 unequal: No Solution
Moving to Node #0,3,2
Current State: 94:[45, 14], Operations: ['18+66=84', '84-70=14']
Exploring Operation: 45+14=59, Resulting Numbers: [59]
59,94 unequal: No Solution
Exploring Operation: 45-14=31, Resulting Numbers: [31]
31,94 unequal: No Solution
Exploring Operation: 45*14=630, Resulting Numbers: [630]
630,94 unequal: No Solution
Moving to Node #0,0,4
Current State: 94:[18, 49], Operations: ['70-66=4', '45+4=49']
Exploring Operation: 18*49=882, Resulting Numbers: [882]
882,94 unequal: No Solution
Exploring Operation: 18+49=67, Resulting Numbers: [67]
67,94 unequal: No Solution
Exploring Operation: 49-18=31, Resulting Numbers: [31]
31,94 unequal: No Solution
Moving to Node #0,0,2
Current State: 94:[4, 63], Operations: ['70-66=4', '18+45=63']
Exploring Operation: 4*63=252, Resulting Numbers: [252]
252,94 unequal: No Solution
Exploring Operation: 63-4=59, Resulting Numbers: [59]
59,94 unequal: No Solution
Exploring Operation: 4+63=67, Resulting Numbers: [67]
67,94 unequal: No Solution
Moving to Node #0,2,4
Current State: 94:[45, 22], Operations: ['66-18=48', '70-48=22']
Exploring Operation: 45+22=67, Resulting Numbers: [67]
67,94 unequal: No Solution
Exploring Operation: 45*22=990, Resulting Numbers: [990]
990,94 unequal: No Solution
Exploring Operation: 45-22=23, Resulting Numbers: [23]
23,94 unequal: No Solution
Moving to Node #0,2,1
Current State: 94:[48, 115], Operations: ['66-18=48', '70+45=115']
Exploring Operation: 48+115=163, Resulting Numbers: [163]
163,94 unequal: No Solution
Exploring Operation: 115-48=67, Resulting Numbers: [67]
67,94 unequal: No Solution
Exploring Operation: 48*115=5520, Resulting Numbers: [5520]
5520,94 unequal: No Solution
Moving to Node #0,1,3
Current State: 94:[52, 111], Operations: ['70-18=52', '66+45=111']
Exploring Operation: 52*111=5772, Resulting Numbers: [5772]
5772,94 unequal: No Solution
Exploring Operation: 52+111=163, Resulting Numbers: [163]
163,94 unequal: No Solution
Exploring Operation: 111-52=59, Resulting Numbers: [59]
59,94 unequal: No Solution
Moving to Node #0,1,2
Current State: 94:[66, 97], Operations: ['70-18=52', '45+52=97']
Exploring Operation: 97-66=31, Resulting Numbers: [31]
31,94 unequal: No Solution
Exploring Operation: 66+97=163, Resulting Numbers: [163]
163,94 unequal: No Solution
Exploring Operation: 66*97=6402, Resulting Numbers: [6402]
6402,94 unequal: No Solution
Moving to Node #0,0,1
Current State: 94:[45, 22], Operations: ['70-66=4', '18+4=22']
Exploring Operation: 45-22=23, Resulting Numbers: [23]
23,94 unequal: No Solution
Exploring Operation: 45*22=990, Resulting Numbers: [990]
990,94 unequal: No Solution
Exploring Operation: 45+22=67, Resulting Numbers: [67]
67,94 unequal: No Solution
Moving to Node #0,0,0
Current State: 94:[4, 27], Operations: ['70-66=4', '45-18=27']
Exploring Operation: 27-4=23, Resulting Numbers: [23]
23,94 unequal: No Solution
Exploring Operation: 4+27=31, Resulting Numbers: [31]
31,94 unequal: No Solution
Exploring Operation: 4*27=108, Resulting Numbers: [108]
108,94 unequal: No Solution
Moving to Node #0,2,2
Current State: 94:[48, 25], Operations: ['66-18=48', '70-45=25']
Exploring Operation: 48+25=73, Resulting Numbers: [73]
73,94 unequal: No Solution
Exploring Operation: 48-25=23, Resulting Numbers: [23]
23,94 unequal: No Solution
Exploring Operation: 48*25=1200, Resulting Numbers: [1200]
1200,94 unequal: No Solution
Moving to Node #0,1,4
Current State: 94:[66, 7], Operations: ['70-18=52', '52-45=7']
Exploring Operation: 66*7=462, Resulting Numbers: [462]
462,94 unequal: No Solution
Exploring Operation: 66-7=59, Resulting Numbers: [59]
59,94 unequal: No Solution
Exploring Operation: 66+7=73, Resulting Numbers: [73]
73,94 unequal: No Solution
Moving to Node #0,1,0
Current State: 94:[52, 21], Operations: ['70-18=52', '66-45=21']
Exploring Operation: 52-21=31, Resulting Numbers: [31]
31,94 unequal: No Solution
Exploring Operation: 52+21=73, Resulting Numbers: [73]
73,94 unequal: No Solution
Exploring Operation: 52*21=1092, Resulting Numbers: [1092]
1092,94 unequal: No Solution
Moving to Node #0,2,3
Current State: 94:[70, 93], Operations: ['66-18=48', '45+48=93']
Exploring Operation: 70*93=6510, Resulting Numbers: [6510]
6510,94 unequal: No Solution
Exploring Operation: 93-70=23, Resulting Numbers: [23]
23,94 unequal: No Solution
Exploring Operation: 70+93=163, Resulting Numbers: [163]
163,94 unequal: No Solution
Moving to Node #0,2,0
Current State: 94:[70, 3], Operations: ['66-18=48', '48-45=3']
Exploring Operation: 70*3=210, Resulting Numbers: [210]
210,94 unequal: No Solution
Exploring Operation: 70+3=73, Resulting Numbers: [73]
73,94 unequal: No Solution
Exploring Operation: 70-3=67, Resulting Numbers: [67]
67,94 unequal: No Solution
Moving to Node #0,3,3
Current State: 94:[84, 115], Operations: ['18+66=84', '70+45=115']
Exploring Operation: 84+115=199, Resulting Numbers: [199]
199,94 unequal: No Solution
Exploring Operation: 84*115=9660, Resulting Numbers: [9660]
9660,94 unequal: No Solution
Exploring Operation: 115-84=31, Resulting Numbers: [31]
31,94 unequal: No Solution
Moving to Node #0,3,1
Current State: 94:[70, 39], Operations: ['18+66=84', '84-45=39']
Exploring Operation: 70-39=31, Resulting Numbers: [31]
31,94 unequal: No Solution
Exploring Operation: 70+39=109, Resulting Numbers: [109]
109,94 unequal: No Solution
Exploring Operation: 70*39=2730, Resulting Numbers: [2730]
2730,94 unequal: No Solution
Moving to Node #0,3,4
Current State: 94:[84, 25], Operations: ['18+66=84', '70-45=25']
Exploring Operation: 84+25=109, Resulting Numbers: [109]
109,94 unequal: No Solution
Exploring Operation: 84-25=59, Resulting Numbers: [59]
59,94 unequal: No Solution
Exploring Operation: 84*25=2100, Resulting Numbers: [2100]
2100,94 unequal: No Solution
Moving to Node #0,3,0
Current State: 94:[70, 129], Operations: ['18+66=84', '45+84=129']
Exploring Operation: 70*129=9030, Resulting Numbers: [9030]
9030,94 unequal: No Solution
Exploring Operation: 129-70=59, Resulting Numbers: [59]
59,94 unequal: No Solution
Exploring Operation: 70+129=199, Resulting Numbers: [199]
199,94 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
14,
65,
56,
66
] | 71 | [
"65-14=51",
"56+66=122",
"122-51=71"
] | Current State: 71:[14, 65, 56, 66], Operations: []
Exploring Operation: 65-14=51, Resulting Numbers: [56, 66, 51]
Generated Node #2: [56, 66, 51] from Operation: 65-14=51
Current State: 71:[56, 66, 51], Operations: ['65-14=51']
Exploring Operation: 56+66=122, Resulting Numbers: [51, 122]
Generated Node #3: [51, 122] from Operation: 56+66=122
Current State: 71:[51, 122], Operations: ['65-14=51', '56+66=122']
Exploring Operation: 122-51=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[14, 65, 56, 66], Operations: []
Exploring Operation: 14+56=70, Resulting Numbers: [65, 66, 70]
Generated Node #0,0: 71:[65, 66, 70] Operation: 14+56=70
Exploring Operation: 14+65=79, Resulting Numbers: [56, 66, 79]
Generated Node #0,1: 71:[56, 66, 79] Operation: 14+65=79
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[65, 66, 70], Operations: ['14+56=70']
Exploring Operation: 65+66=131, Resulting Numbers: [70, 131]
Generated Node #0,0,0: 71:[70, 131] Operation: 65+66=131
Exploring Operation: 65+70=135, Resulting Numbers: [66, 135]
Generated Node #0,0,1: 71:[66, 135] Operation: 65+70=135
Moving to Node #0,0,0
Current State: 71:[70, 131], Operations: ['14+56=70', '65+66=131']
Exploring Operation: 70+131=201, Resulting Numbers: [201]
201,71 unequal: No Solution
Exploring Operation: 131-70=61, Resulting Numbers: [61]
61,71 unequal: No Solution
Moving to Node #0,0,1
Current State: 71:[66, 135], Operations: ['14+56=70', '65+70=135']
Exploring Operation: 66+135=201, Resulting Numbers: [201]
201,71 unequal: No Solution
Exploring Operation: 135-66=69, Resulting Numbers: [69]
69,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:[56, 66, 79], Operations: ['14+65=79']
Exploring Operation: 79-56=23, Resulting Numbers: [66, 23]
Generated Node #0,1,0: 71:[66, 23] Operation: 79-56=23
Exploring Operation: 56+66=122, Resulting Numbers: [79, 122]
Generated Node #0,1,1: 71:[79, 122] Operation: 56+66=122
Moving to Node #0,1,0
Current State: 71:[66, 23], Operations: ['14+65=79', '79-56=23']
Exploring Operation: 66+23=89, Resulting Numbers: [89]
89,71 unequal: No Solution
Exploring Operation: 66-23=43, Resulting Numbers: [43]
43,71 unequal: No Solution
Moving to Node #0,1,1
Current State: 71:[79, 122], Operations: ['14+65=79', '56+66=122']
Exploring Operation: 79+122=201, Resulting Numbers: [201]
201,71 unequal: No Solution
Exploring Operation: 122-79=43, Resulting Numbers: [43]
43,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
32,
56,
5,
59
] | 58 | [
"5+59=64",
"64/32=2",
"56+2=58"
] | Current State: 58:[32, 56, 5, 59], Operations: []
Exploring Operation: 5+59=64, Resulting Numbers: [32, 56, 64]
Generated Node #2: [32, 56, 64] from Operation: 5+59=64
Current State: 58:[32, 56, 64], Operations: ['5+59=64']
Exploring Operation: 64/32=2, Resulting Numbers: [56, 2]
Generated Node #3: [56, 2] from Operation: 64/32=2
Current State: 58:[56, 2], Operations: ['5+59=64', '64/32=2']
Exploring Operation: 56+2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[32, 56, 5, 59], Operations: []
Exploring Operation: 32-5=27, Resulting Numbers: [56, 59, 27]
Generated Node #0,0: 58:[56, 59, 27] Operation: 32-5=27
Exploring Operation: 59-32=27, Resulting Numbers: [56, 5, 27]
Generated Node #0,1: 58:[56, 5, 27] Operation: 59-32=27
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[56, 59, 27], Operations: ['32-5=27']
Exploring Operation: 56-27=29, Resulting Numbers: [59, 29]
Generated Node #0,0,0: 58:[59, 29] Operation: 56-27=29
Exploring Operation: 59-56=3, Resulting Numbers: [27, 3]
Generated Node #0,0,1: 58:[27, 3] Operation: 59-56=3
Moving to Node #0,0,0
Current State: 58:[59, 29], Operations: ['32-5=27', '56-27=29']
Exploring Operation: 59+29=88, Resulting Numbers: [88]
88,58 unequal: No Solution
Exploring Operation: 59-29=30, Resulting Numbers: [30]
30,58 unequal: No Solution
Moving to Node #0,0,1
Current State: 58:[27, 3], Operations: ['32-5=27', '59-56=3']
Exploring Operation: 27+3=30, Resulting Numbers: [30]
30,58 unequal: No Solution
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,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,1
Current State: 58:[56, 5, 27], Operations: ['59-32=27']
Exploring Operation: 56-27=29, Resulting Numbers: [5, 29]
Generated Node #0,1,0: 58:[5, 29] Operation: 56-27=29
Exploring Operation: 56+5=61, Resulting Numbers: [27, 61]
Generated Node #0,1,1: 58:[27, 61] Operation: 56+5=61
Moving to Node #0,1,0
Current State: 58:[5, 29], Operations: ['59-32=27', '56-27=29']
Exploring Operation: 5+29=34, Resulting Numbers: [34]
34,58 unequal: No Solution
Exploring Operation: 29-5=24, Resulting Numbers: [24]
24,58 unequal: No Solution
Moving to Node #0,1,1
Current State: 58:[27, 61], Operations: ['59-32=27', '56+5=61']
Exploring Operation: 27+61=88, Resulting Numbers: [88]
88,58 unequal: No Solution
Exploring Operation: 61-27=34, Resulting Numbers: [34]
34,58 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 |
[
33,
57,
42,
63
] | 16 | [
"57-33=24",
"42*24=1008",
"1008/63=16"
] | Current State: 16:[33, 57, 42, 63], Operations: []
Exploring Operation: 57-33=24, Resulting Numbers: [42, 63, 24]
Generated Node #2: [42, 63, 24] from Operation: 57-33=24
Current State: 16:[42, 63, 24], Operations: ['57-33=24']
Exploring Operation: 42*24=1008, Resulting Numbers: [63, 1008]
Generated Node #3: [63, 1008] from Operation: 42*24=1008
Current State: 16:[63, 1008], Operations: ['57-33=24', '42*24=1008']
Exploring Operation: 1008/63=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[33, 57, 42, 63], Operations: []
Exploring Operation: 57-42=15, Resulting Numbers: [33, 63, 15]
Generated Node #0,0: 16:[33, 63, 15] Operation: 57-42=15
Exploring Operation: 63-57=6, Resulting Numbers: [33, 42, 6]
Generated Node #0,1: 16:[33, 42, 6] Operation: 63-57=6
Exploring Operation: 63-42=21, Resulting Numbers: [33, 57, 21]
Generated Node #0,2: 16:[33, 57, 21] Operation: 63-42=21
Moving to Node #0,1
Current State: 16:[33, 42, 6], Operations: ['63-57=6']
Exploring Operation: 33-6=27, Resulting Numbers: [42, 27]
Generated Node #0,1,0: 16:[42, 27] Operation: 33-6=27
Exploring Operation: 42-33=9, Resulting Numbers: [6, 9]
Generated Node #0,1,1: 16:[6, 9] Operation: 42-33=9
Exploring Operation: 42/6=7, Resulting Numbers: [33, 7]
Generated Node #0,1,2: 16:[33, 7] Operation: 42/6=7
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 16:[6, 9], Operations: ['63-57=6', '42-33=9']
Exploring Operation: 9-6=3, Resulting Numbers: [3]
3,16 unequal: No Solution
Exploring Operation: 6*9=54, Resulting Numbers: [54]
54,16 unequal: No Solution
Exploring Operation: 6+9=15, Resulting Numbers: [15]
15,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 16:[33, 7], Operations: ['63-57=6', '42/6=7']
Exploring Operation: 33+7=40, Resulting Numbers: [40]
40,16 unequal: No Solution
Exploring Operation: 33-7=26, Resulting Numbers: [26]
26,16 unequal: No Solution
Exploring Operation: 33*7=231, Resulting Numbers: [231]
231,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 16:[42, 27], Operations: ['63-57=6', '33-6=27']
Exploring Operation: 42-27=15, Resulting Numbers: [15]
15,16 unequal: No Solution
Exploring Operation: 42*27=1134, Resulting Numbers: [1134]
1134,16 unequal: No Solution
Exploring Operation: 42+27=69, Resulting Numbers: [69]
69,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 16:[33, 57, 21], Operations: ['63-42=21']
Exploring Operation: 57-21=36, Resulting Numbers: [33, 36]
Generated Node #0,2,0: 16:[33, 36] Operation: 57-21=36
Exploring Operation: 57-33=24, Resulting Numbers: [21, 24]
Generated Node #0,2,1: 16:[21, 24] Operation: 57-33=24
Exploring Operation: 33-21=12, Resulting Numbers: [57, 12]
Generated Node #0,2,2: 16:[57, 12] Operation: 33-21=12
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 16:[21, 24], Operations: ['63-42=21', '57-33=24']
Exploring Operation: 21+24=45, Resulting Numbers: [45]
45,16 unequal: No Solution
Exploring Operation: 24-21=3, Resulting Numbers: [3]
3,16 unequal: No Solution
Exploring Operation: 21*24=504, Resulting Numbers: [504]
504,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 16:[33, 36], Operations: ['63-42=21', '57-21=36']
Exploring Operation: 33+36=69, Resulting Numbers: [69]
69,16 unequal: No Solution
Exploring Operation: 36-33=3, Resulting Numbers: [3]
3,16 unequal: No Solution
Exploring Operation: 33*36=1188, Resulting Numbers: [1188]
1188,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 16:[57, 12], Operations: ['63-42=21', '33-21=12']
Exploring Operation: 57+12=69, Resulting Numbers: [69]
69,16 unequal: No Solution
Exploring Operation: 57-12=45, Resulting Numbers: [45]
45,16 unequal: No Solution
Exploring Operation: 57*12=684, Resulting Numbers: [684]
684,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 16:[33, 63, 15], Operations: ['57-42=15']
Exploring Operation: 63-33=30, Resulting Numbers: [15, 30]
Generated Node #0,0,0: 16:[15, 30] Operation: 63-33=30
Exploring Operation: 33-15=18, Resulting Numbers: [63, 18]
Generated Node #0,0,1: 16:[63, 18] Operation: 33-15=18
Exploring Operation: 63-15=48, Resulting Numbers: [33, 48]
Generated Node #0,0,2: 16:[33, 48] Operation: 63-15=48
Moving to Node #0,0,0
Current State: 16:[15, 30], Operations: ['57-42=15', '63-33=30']
Exploring Operation: 15+30=45, Resulting Numbers: [45]
45,16 unequal: No Solution
Exploring Operation: 30/15=2, Resulting Numbers: [2]
2,16 unequal: No Solution
Exploring Operation: 30-15=15, Resulting Numbers: [15]
15,16 unequal: No Solution
Moving to Node #0,0,1
Current State: 16:[63, 18], Operations: ['57-42=15', '33-15=18']
Exploring Operation: 63-18=45, Resulting Numbers: [45]
45,16 unequal: No Solution
Exploring Operation: 63+18=81, Resulting Numbers: [81]
81,16 unequal: No Solution
Exploring Operation: 63*18=1134, Resulting Numbers: [1134]
1134,16 unequal: No Solution
Moving to Node #0,0,2
Current State: 16:[33, 48], Operations: ['57-42=15', '63-15=48']
Exploring Operation: 33+48=81, Resulting Numbers: [81]
81,16 unequal: No Solution
Exploring Operation: 33*48=1584, Resulting Numbers: [1584]
1584,16 unequal: No Solution
Exploring Operation: 48-33=15, Resulting Numbers: [15]
15,16 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
12,
90,
42,
67
] | 77 | [
"12+90=102",
"67-42=25",
"102-25=77"
] | Current State: 77:[12, 90, 42, 67], Operations: []
Exploring Operation: 12+90=102, Resulting Numbers: [42, 67, 102]
Generated Node #2: [42, 67, 102] from Operation: 12+90=102
Current State: 77:[42, 67, 102], Operations: ['12+90=102']
Exploring Operation: 67-42=25, Resulting Numbers: [102, 25]
Generated Node #3: [102, 25] from Operation: 67-42=25
Current State: 77:[102, 25], Operations: ['12+90=102', '67-42=25']
Exploring Operation: 102-25=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[12, 90, 42, 67], Operations: []
Exploring Operation: 42-12=30, Resulting Numbers: [90, 67, 30]
Generated Node #0,0: 77:[90, 67, 30] Operation: 42-12=30
Exploring Operation: 67-42=25, Resulting Numbers: [12, 90, 25]
Generated Node #0,1: 77:[12, 90, 25] Operation: 67-42=25
Exploring Operation: 90-42=48, Resulting Numbers: [12, 67, 48]
Generated Node #0,2: 77:[12, 67, 48] Operation: 90-42=48
Exploring Operation: 90-12=78, Resulting Numbers: [42, 67, 78]
Generated Node #0,3: 77:[42, 67, 78] Operation: 90-12=78
Moving to Node #0,1
Current State: 77:[12, 90, 25], Operations: ['67-42=25']
Exploring Operation: 90-12=78, Resulting Numbers: [25, 78]
Generated Node #0,1,0: 77:[25, 78] Operation: 90-12=78
Exploring Operation: 12+90=102, Resulting Numbers: [25, 102]
Generated Node #0,1,1: 77:[25, 102] Operation: 12+90=102
Exploring Operation: 25-12=13, Resulting Numbers: [90, 13]
Generated Node #0,1,2: 77:[90, 13] Operation: 25-12=13
Exploring Operation: 90-25=65, Resulting Numbers: [12, 65]
Generated Node #0,1,3: 77:[12, 65] Operation: 90-25=65
Moving to Node #0,2
Current State: 77:[12, 67, 48], Operations: ['90-42=48']
Exploring Operation: 12+67=79, Resulting Numbers: [48, 79]
Generated Node #0,2,0: 77:[48, 79] Operation: 12+67=79
Exploring Operation: 12+48=60, Resulting Numbers: [67, 60]
Generated Node #0,2,1: 77:[67, 60] Operation: 12+48=60
Exploring Operation: 48/12=4, Resulting Numbers: [67, 4]
Generated Node #0,2,2: 77:[67, 4] Operation: 48/12=4
Exploring Operation: 67-48=19, Resulting Numbers: [12, 19]
Generated Node #0,2,3: 77:[12, 19] Operation: 67-48=19
Moving to Node #0,3
Current State: 77:[42, 67, 78], Operations: ['90-12=78']
Exploring Operation: 67-42=25, Resulting Numbers: [78, 25]
Generated Node #0,3,0: 77:[78, 25] Operation: 67-42=25
Exploring Operation: 78-67=11, Resulting Numbers: [42, 11]
Generated Node #0,3,1: 77:[42, 11] Operation: 78-67=11
Exploring Operation: 42+67=109, Resulting Numbers: [78, 109]
Generated Node #0,3,2: 77:[78, 109] Operation: 42+67=109
Exploring Operation: 78-42=36, Resulting Numbers: [67, 36]
Generated Node #0,3,3: 77:[67, 36] Operation: 78-42=36
Moving to Node #0,0
Current State: 77:[90, 67, 30], Operations: ['42-12=30']
Exploring Operation: 90-30=60, Resulting Numbers: [67, 60]
Generated Node #0,0,0: 77:[67, 60] Operation: 90-30=60
Exploring Operation: 90/30=3, Resulting Numbers: [67, 3]
Generated Node #0,0,1: 77:[67, 3] Operation: 90/30=3
Exploring Operation: 90-67=23, Resulting Numbers: [30, 23]
Generated Node #0,0,2: 77:[30, 23] Operation: 90-67=23
Exploring Operation: 67+30=97, Resulting Numbers: [90, 97]
Generated Node #0,0,3: 77:[90, 97] Operation: 67+30=97
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 77:[67, 3], Operations: ['42-12=30', '90/30=3']
Exploring Operation: 67+3=70, Resulting Numbers: [70]
70,77 unequal: No Solution
Exploring Operation: 67*3=201, Resulting Numbers: [201]
201,77 unequal: No Solution
Exploring Operation: 67-3=64, Resulting Numbers: [64]
64,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 77:[67, 60], Operations: ['42-12=30', '90-30=60']
Exploring Operation: 67*60=4020, Resulting Numbers: [4020]
4020,77 unequal: No Solution
Exploring Operation: 67-60=7, Resulting Numbers: [7]
7,77 unequal: No Solution
Exploring Operation: 67+60=127, Resulting Numbers: [127]
127,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 77:[30, 23], Operations: ['42-12=30', '90-67=23']
Exploring Operation: 30-23=7, Resulting Numbers: [7]
7,77 unequal: No Solution
Exploring Operation: 30+23=53, Resulting Numbers: [53]
53,77 unequal: No Solution
Exploring Operation: 30*23=690, Resulting Numbers: [690]
690,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 77:[90, 97], Operations: ['42-12=30', '67+30=97']
Exploring Operation: 90+97=187, Resulting Numbers: [187]
187,77 unequal: No Solution
Exploring Operation: 90*97=8730, Resulting Numbers: [8730]
8730,77 unequal: No Solution
Exploring Operation: 97-90=7, Resulting Numbers: [7]
7,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,3
Current State: 77:[12, 19], Operations: ['90-42=48', '67-48=19']
Exploring Operation: 19-12=7, Resulting Numbers: [7]
7,77 unequal: No Solution
Exploring Operation: 12*19=228, Resulting Numbers: [228]
228,77 unequal: No Solution
Exploring Operation: 12+19=31, Resulting Numbers: [31]
31,77 unequal: No Solution
Moving to Node #0,2,2
Current State: 77:[67, 4], Operations: ['90-42=48', '48/12=4']
Exploring Operation: 67-4=63, Resulting Numbers: [63]
63,77 unequal: No Solution
Exploring Operation: 67+4=71, Resulting Numbers: [71]
71,77 unequal: No Solution
Exploring Operation: 67*4=268, Resulting Numbers: [268]
268,77 unequal: No Solution
Moving to Node #0,1,3
Current State: 77:[12, 65], Operations: ['67-42=25', '90-25=65']
Exploring Operation: 12+65=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[12, 90, 42, 67], Operations: []
Exploring Operation: 67-42=25, Resulting Numbers: [12, 90, 25]
Generated Node #0,1: 77:[12, 90, 25] Operation: 67-42=25
Moving to Node #0,1
Current State: 77:[12, 90, 25], Operations: ['67-42=25']
Exploring Operation: 90-25=65, Resulting Numbers: [12, 65]
Generated Node #0,1,3: 77:[12, 65] Operation: 90-25=65
Moving to Node #0,1,3
Current State: 77:[12, 65], Operations: ['67-42=25', '90-25=65']
Exploring Operation: 12+65=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 0.962674 | hs_4 | mult_heuristic |
[
19,
12,
71,
94
] | 48 | [
"19+71=90",
"94-90=4",
"12*4=48"
] | Current State: 48:[19, 12, 71, 94], Operations: []
Exploring Operation: 19+71=90, Resulting Numbers: [12, 94, 90]
Generated Node #2: [12, 94, 90] from Operation: 19+71=90
Current State: 48:[12, 94, 90], Operations: ['19+71=90']
Exploring Operation: 94-90=4, Resulting Numbers: [12, 4]
Generated Node #3: [12, 4] from Operation: 94-90=4
Current State: 48:[12, 4], Operations: ['19+71=90', '94-90=4']
Exploring Operation: 12*4=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[19, 12, 71, 94], Operations: []
Exploring Operation: 94-19=75, Resulting Numbers: [12, 71, 75]
Generated Node #0,0: 48:[12, 71, 75] Operation: 94-19=75
Exploring Operation: 94-71=23, Resulting Numbers: [19, 12, 23]
Generated Node #0,1: 48:[19, 12, 23] Operation: 94-71=23
Exploring Operation: 71-12=59, Resulting Numbers: [19, 94, 59]
Generated Node #0,2: 48:[19, 94, 59] Operation: 71-12=59
Exploring Operation: 71-19=52, Resulting Numbers: [12, 94, 52]
Generated Node #0,3: 48:[12, 94, 52] Operation: 71-19=52
Start Sub Search at level 1: Moving to Node #0,1
Current State: 48:[19, 12, 23], Operations: ['94-71=23']
Exploring Operation: 19+23=42, Resulting Numbers: [12, 42]
Generated Node #0,1,0: 48:[12, 42] Operation: 19+23=42
Exploring Operation: 19-12=7, Resulting Numbers: [23, 7]
Generated Node #0,1,1: 48:[23, 7] Operation: 19-12=7
Exploring Operation: 23-12=11, Resulting Numbers: [19, 11]
Generated Node #0,1,2: 48:[19, 11] Operation: 23-12=11
Exploring Operation: 23-19=4, Resulting Numbers: [12, 4]
Generated Node #0,1,3: 48:[12, 4] Operation: 23-19=4
Moving to Node #0,1,3
Current State: 48:[12, 4], Operations: ['94-71=23', '23-19=4']
Exploring Operation: 12+4=16, Resulting Numbers: [16]
16,48 unequal: No Solution
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,48 unequal: No Solution
Exploring Operation: 12*4=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[19, 12, 71, 94], Operations: []
Exploring Operation: 94-71=23, Resulting Numbers: [19, 12, 23]
Generated Node #0,1: 48:[19, 12, 23] Operation: 94-71=23
Moving to Node #0,1
Current State: 48:[19, 12, 23], Operations: ['94-71=23']
Exploring Operation: 23-19=4, Resulting Numbers: [12, 4]
Generated Node #0,1,3: 48:[12, 4] Operation: 23-19=4
Moving to Node #0,1,3
Current State: 48:[12, 4], Operations: ['94-71=23', '23-19=4']
Exploring Operation: 12*4=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
25,
30,
10,
65
] | 53 | [
"30*10=300",
"300/25=12",
"65-12=53"
] | Current State: 53:[25, 30, 10, 65], Operations: []
Exploring Operation: 30*10=300, Resulting Numbers: [25, 65, 300]
Generated Node #2: [25, 65, 300] from Operation: 30*10=300
Current State: 53:[25, 65, 300], Operations: ['30*10=300']
Exploring Operation: 300/25=12, Resulting Numbers: [65, 12]
Generated Node #3: [65, 12] from Operation: 300/25=12
Current State: 53:[65, 12], Operations: ['30*10=300', '300/25=12']
Exploring Operation: 65-12=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[25, 30, 10, 65], Operations: []
Exploring Operation: 30+10=40, Resulting Numbers: [25, 65, 40]
Generated Node #0,0: 53:[25, 65, 40] Operation: 30+10=40
Exploring Operation: 65-10=55, Resulting Numbers: [25, 30, 55]
Generated Node #0,1: 53:[25, 30, 55] Operation: 65-10=55
Exploring Operation: 25+10=35, Resulting Numbers: [30, 65, 35]
Generated Node #0,2: 53:[30, 65, 35] Operation: 25+10=35
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[25, 65, 40], Operations: ['30+10=40']
Exploring Operation: 65-25=40, Resulting Numbers: [40, 40]
Generated Node #0,0,0: 53:[40, 40] Operation: 65-25=40
Exploring Operation: 25+40=65, Resulting Numbers: [65, 65]
Generated Node #0,0,1: 53:[65, 65] Operation: 25+40=65
Exploring Operation: 25+65=90, Resulting Numbers: [40, 90]
Generated Node #0,0,2: 53:[40, 90] Operation: 25+65=90
Moving to Node #0,0,1
Current State: 53:[65, 65], Operations: ['30+10=40', '25+40=65']
Exploring Operation: 65+65=130, Resulting Numbers: [130]
130,53 unequal: No Solution
Exploring Operation: 65-65=0, Resulting Numbers: [0]
0,53 unequal: No Solution
Exploring Operation: 65/65=1, Resulting Numbers: [1]
1,53 unequal: No Solution
Moving to Node #0,0,0
Current State: 53:[40, 40], Operations: ['30+10=40', '65-25=40']
Exploring Operation: 40-40=0, Resulting Numbers: [0]
0,53 unequal: No Solution
Exploring Operation: 40+40=80, Resulting Numbers: [80]
80,53 unequal: No Solution
Exploring Operation: 40/40=1, Resulting Numbers: [1]
1,53 unequal: No Solution
Moving to Node #0,0,2
Current State: 53:[40, 90], Operations: ['30+10=40', '25+65=90']
Exploring Operation: 40*90=3600, Resulting Numbers: [3600]
3600,53 unequal: No Solution
Exploring Operation: 40+90=130, Resulting Numbers: [130]
130,53 unequal: No Solution
Exploring Operation: 90-40=50, Resulting Numbers: [50]
50,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 53:[25, 30, 55], Operations: ['65-10=55']
Exploring Operation: 55-25=30, Resulting Numbers: [30, 30]
Generated Node #0,1,0: 53:[30, 30] Operation: 55-25=30
Exploring Operation: 30-25=5, Resulting Numbers: [55, 5]
Generated Node #0,1,1: 53:[55, 5] Operation: 30-25=5
Exploring Operation: 25+30=55, Resulting Numbers: [55, 55]
Generated Node #0,1,2: 53:[55, 55] Operation: 25+30=55
Moving to Node #0,1,2
Current State: 53:[55, 55], Operations: ['65-10=55', '25+30=55']
Exploring Operation: 55/55=1, Resulting Numbers: [1]
1,53 unequal: No Solution
Exploring Operation: 55+55=110, Resulting Numbers: [110]
110,53 unequal: No Solution
Exploring Operation: 55-55=0, Resulting Numbers: [0]
0,53 unequal: No Solution
Moving to Node #0,1,0
Current State: 53:[30, 30], Operations: ['65-10=55', '55-25=30']
Exploring Operation: 30+30=60, Resulting Numbers: [60]
60,53 unequal: No Solution
Exploring Operation: 30/30=1, Resulting Numbers: [1]
1,53 unequal: No Solution
Exploring Operation: 30-30=0, Resulting Numbers: [0]
0,53 unequal: No Solution
Moving to Node #0,1,1
Current State: 53:[55, 5], Operations: ['65-10=55', '30-25=5']
Exploring Operation: 55/5=11, Resulting Numbers: [11]
11,53 unequal: No Solution
Exploring Operation: 55+5=60, Resulting Numbers: [60]
60,53 unequal: No Solution
Exploring Operation: 55-5=50, Resulting Numbers: [50]
50,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 53:[30, 65, 35], Operations: ['25+10=35']
Exploring Operation: 65-30=35, Resulting Numbers: [35, 35]
Generated Node #0,2,0: 53:[35, 35] Operation: 65-30=35
Exploring Operation: 65-35=30, Resulting Numbers: [30, 30]
Generated Node #0,2,1: 53:[30, 30] Operation: 65-35=30
Exploring Operation: 30+35=65, Resulting Numbers: [65, 65]
Generated Node #0,2,2: 53:[65, 65] Operation: 30+35=65
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 53:[65, 65], Operations: ['25+10=35', '30+35=65']
Exploring Operation: 65-65=0, Resulting Numbers: [0]
0,53 unequal: No Solution
Exploring Operation: 65+65=130, Resulting Numbers: [130]
130,53 unequal: No Solution
Exploring Operation: 65/65=1, Resulting Numbers: [1]
1,53 unequal: No Solution
No 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: 53:[35, 35], Operations: ['25+10=35', '65-30=35']
Exploring Operation: 35+35=70, Resulting Numbers: [70]
70,53 unequal: No Solution
Exploring Operation: 35-35=0, Resulting Numbers: [0]
0,53 unequal: No Solution
Exploring Operation: 35/35=1, Resulting Numbers: [1]
1,53 unequal: No Solution
No 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: 53:[30, 30], Operations: ['25+10=35', '65-35=30']
Exploring Operation: 30-30=0, Resulting Numbers: [0]
0,53 unequal: No Solution
Exploring Operation: 30+30=60, Resulting Numbers: [60]
60,53 unequal: No Solution
Exploring Operation: 30/30=1, Resulting Numbers: [1]
1,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
35,
76,
49,
3
] | 34 | [
"49-35=14",
"3*14=42",
"76-42=34"
] | Current State: 34:[35, 76, 49, 3], Operations: []
Exploring Operation: 49-35=14, Resulting Numbers: [76, 3, 14]
Generated Node #2: [76, 3, 14] from Operation: 49-35=14
Current State: 34:[76, 3, 14], Operations: ['49-35=14']
Exploring Operation: 3*14=42, Resulting Numbers: [76, 42]
Generated Node #3: [76, 42] from Operation: 3*14=42
Current State: 34:[76, 42], Operations: ['49-35=14', '3*14=42']
Exploring Operation: 76-42=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[35, 76, 49, 3], Operations: []
Exploring Operation: 76-49=27, Resulting Numbers: [35, 3, 27]
Generated Node #0,0: 34:[35, 3, 27] Operation: 76-49=27
Exploring Operation: 76-35=41, Resulting Numbers: [49, 3, 41]
Generated Node #0,1: 34:[49, 3, 41] Operation: 76-35=41
Exploring Operation: 49-3=46, Resulting Numbers: [35, 76, 46]
Generated Node #0,2: 34:[35, 76, 46] Operation: 49-3=46
Exploring Operation: 49-35=14, Resulting Numbers: [76, 3, 14]
Generated Node #0,3: 34:[76, 3, 14] Operation: 49-35=14
Exploring Operation: 76-3=73, Resulting Numbers: [35, 49, 73]
Generated Node #0,4: 34:[35, 49, 73] Operation: 76-3=73
Moving to Node #0,0
Current State: 34:[35, 3, 27], Operations: ['76-49=27']
Exploring Operation: 27-3=24, Resulting Numbers: [35, 24]
Generated Node #0,0,0: 34:[35, 24] Operation: 27-3=24
Exploring Operation: 35-27=8, Resulting Numbers: [3, 8]
Generated Node #0,0,1: 34:[3, 8] Operation: 35-27=8
Exploring Operation: 35-3=32, Resulting Numbers: [27, 32]
Generated Node #0,0,2: 34:[27, 32] Operation: 35-3=32
Exploring Operation: 27/3=9, Resulting Numbers: [35, 9]
Generated Node #0,0,3: 34:[35, 9] Operation: 27/3=9
Exploring Operation: 3+27=30, Resulting Numbers: [35, 30]
Generated Node #0,0,4: 34:[35, 30] Operation: 3+27=30
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 34:[35, 30], Operations: ['76-49=27', '3+27=30']
Exploring Operation: 35+30=65, Resulting Numbers: [65]
65,34 unequal: No Solution
Exploring Operation: 35*30=1050, Resulting Numbers: [1050]
1050,34 unequal: No Solution
Exploring Operation: 35-30=5, Resulting Numbers: [5]
5,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 34:[3, 8], Operations: ['76-49=27', '35-27=8']
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,34 unequal: No Solution
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,34 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 34:[35, 24], Operations: ['76-49=27', '27-3=24']
Exploring Operation: 35-24=11, Resulting Numbers: [11]
11,34 unequal: No Solution
Exploring Operation: 35*24=840, Resulting Numbers: [840]
840,34 unequal: No Solution
Exploring Operation: 35+24=59, Resulting Numbers: [59]
59,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 34:[35, 9], Operations: ['76-49=27', '27/3=9']
Exploring Operation: 35-9=26, Resulting Numbers: [26]
26,34 unequal: No Solution
Exploring Operation: 35+9=44, Resulting Numbers: [44]
44,34 unequal: No Solution
Exploring Operation: 35*9=315, Resulting Numbers: [315]
315,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 34:[27, 32], Operations: ['76-49=27', '35-3=32']
Exploring Operation: 27*32=864, Resulting Numbers: [864]
864,34 unequal: No Solution
Exploring Operation: 32-27=5, Resulting Numbers: [5]
5,34 unequal: No Solution
Exploring Operation: 27+32=59, Resulting Numbers: [59]
59,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 34:[49, 3, 41], Operations: ['76-35=41']
Exploring Operation: 49-3=46, Resulting Numbers: [41, 46]
Generated Node #0,1,0: 34:[41, 46] Operation: 49-3=46
Exploring Operation: 49-41=8, Resulting Numbers: [3, 8]
Generated Node #0,1,1: 34:[3, 8] Operation: 49-41=8
Exploring Operation: 3+41=44, Resulting Numbers: [49, 44]
Generated Node #0,1,2: 34:[49, 44] Operation: 3+41=44
Exploring Operation: 41-3=38, Resulting Numbers: [49, 38]
Generated Node #0,1,3: 34:[49, 38] Operation: 41-3=38
Exploring Operation: 49+3=52, Resulting Numbers: [41, 52]
Generated Node #0,1,4: 34:[41, 52] Operation: 49+3=52
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 34:[3, 8], Operations: ['76-35=41', '49-41=8']
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,34 unequal: No Solution
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,34 unequal: No Solution
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 34:[41, 46], Operations: ['76-35=41', '49-3=46']
Exploring Operation: 41*46=1886, Resulting Numbers: [1886]
1886,34 unequal: No Solution
Exploring Operation: 41+46=87, Resulting Numbers: [87]
87,34 unequal: No Solution
Exploring Operation: 46-41=5, Resulting Numbers: [5]
5,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 34:[49, 38], Operations: ['76-35=41', '41-3=38']
Exploring Operation: 49-38=11, Resulting Numbers: [11]
11,34 unequal: No Solution
Exploring Operation: 49*38=1862, Resulting Numbers: [1862]
1862,34 unequal: No Solution
Exploring Operation: 49+38=87, Resulting Numbers: [87]
87,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 34:[49, 44], Operations: ['76-35=41', '3+41=44']
Exploring Operation: 49-44=5, Resulting Numbers: [5]
5,34 unequal: No Solution
Exploring Operation: 49+44=93, Resulting Numbers: [93]
93,34 unequal: No Solution
Exploring Operation: 49*44=2156, Resulting Numbers: [2156]
2156,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 34:[41, 52], Operations: ['76-35=41', '49+3=52']
Exploring Operation: 41+52=93, Resulting Numbers: [93]
93,34 unequal: No Solution
Exploring Operation: 52-41=11, Resulting Numbers: [11]
11,34 unequal: No Solution
Exploring Operation: 41*52=2132, Resulting Numbers: [2132]
2132,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 34:[76, 3, 14], Operations: ['49-35=14']
Exploring Operation: 3+14=17, Resulting Numbers: [76, 17]
Generated Node #0,3,0: 34:[76, 17] Operation: 3+14=17
Exploring Operation: 76-3=73, Resulting Numbers: [14, 73]
Generated Node #0,3,1: 34:[14, 73] Operation: 76-3=73
Exploring Operation: 76-14=62, Resulting Numbers: [3, 62]
Generated Node #0,3,2: 34:[3, 62] Operation: 76-14=62
Exploring Operation: 76+3=79, Resulting Numbers: [14, 79]
Generated Node #0,3,3: 34:[14, 79] Operation: 76+3=79
Exploring Operation: 14-3=11, Resulting Numbers: [76, 11]
Generated Node #0,3,4: 34:[76, 11] Operation: 14-3=11
Moving to Node #0,2
Current State: 34:[35, 76, 46], Operations: ['49-3=46']
Exploring Operation: 35+76=111, Resulting Numbers: [46, 111]
Generated Node #0,2,0: 34:[46, 111] Operation: 35+76=111
Exploring Operation: 76-46=30, Resulting Numbers: [35, 30]
Generated Node #0,2,1: 34:[35, 30] Operation: 76-46=30
Exploring Operation: 46-35=11, Resulting Numbers: [76, 11]
Generated Node #0,2,2: 34:[76, 11] Operation: 46-35=11
Exploring Operation: 35+46=81, Resulting Numbers: [76, 81]
Generated Node #0,2,3: 34:[76, 81] Operation: 35+46=81
Exploring Operation: 76-35=41, Resulting Numbers: [46, 41]
Generated Node #0,2,4: 34:[46, 41] Operation: 76-35=41
Moving to Node #0,4
Current State: 34:[35, 49, 73], Operations: ['76-3=73']
Exploring Operation: 35+49=84, Resulting Numbers: [73, 84]
Generated Node #0,4,0: 34:[73, 84] Operation: 35+49=84
Exploring Operation: 73-49=24, Resulting Numbers: [35, 24]
Generated Node #0,4,1: 34:[35, 24] Operation: 73-49=24
Exploring Operation: 73-35=38, Resulting Numbers: [49, 38]
Generated Node #0,4,2: 34:[49, 38] Operation: 73-35=38
Exploring Operation: 35+73=108, Resulting Numbers: [49, 108]
Generated Node #0,4,3: 34:[49, 108] Operation: 35+73=108
Exploring Operation: 49-35=14, Resulting Numbers: [73, 14]
Generated Node #0,4,4: 34:[73, 14] Operation: 49-35=14
Moving to Node #0,2,1
Current State: 34:[35, 30], Operations: ['49-3=46', '76-46=30']
Exploring Operation: 35+30=65, Resulting Numbers: [65]
65,34 unequal: No Solution
Exploring Operation: 35*30=1050, Resulting Numbers: [1050]
1050,34 unequal: No Solution
Exploring Operation: 35-30=5, Resulting Numbers: [5]
5,34 unequal: No Solution
Moving to Node #0,4,1
Current State: 34:[35, 24], Operations: ['76-3=73', '73-49=24']
Exploring Operation: 35-24=11, Resulting Numbers: [11]
11,34 unequal: No Solution
Exploring Operation: 35*24=840, Resulting Numbers: [840]
840,34 unequal: No Solution
Exploring Operation: 35+24=59, Resulting Numbers: [59]
59,34 unequal: No Solution
Moving to Node #0,2,4
Current State: 34:[46, 41], Operations: ['49-3=46', '76-35=41']
Exploring Operation: 46-41=5, Resulting Numbers: [5]
5,34 unequal: No Solution
Exploring Operation: 46+41=87, Resulting Numbers: [87]
87,34 unequal: No Solution
Exploring Operation: 46*41=1886, Resulting Numbers: [1886]
1886,34 unequal: No Solution
Moving to Node #0,4,2
Current State: 34:[49, 38], Operations: ['76-3=73', '73-35=38']
Exploring Operation: 49*38=1862, Resulting Numbers: [1862]
1862,34 unequal: No Solution
Exploring Operation: 49+38=87, Resulting Numbers: [87]
87,34 unequal: No Solution
Exploring Operation: 49-38=11, Resulting Numbers: [11]
11,34 unequal: No Solution
Moving to Node #0,3,2
Current State: 34:[3, 62], Operations: ['49-35=14', '76-14=62']
Exploring Operation: 62-3=59, Resulting Numbers: [59]
59,34 unequal: No Solution
Exploring Operation: 3+62=65, Resulting Numbers: [65]
65,34 unequal: No Solution
Exploring Operation: 3*62=186, Resulting Numbers: [186]
186,34 unequal: No Solution
Moving to Node #0,4,4
Current State: 34:[73, 14], Operations: ['76-3=73', '49-35=14']
Exploring Operation: 73-14=59, Resulting Numbers: [59]
59,34 unequal: No Solution
Exploring Operation: 73*14=1022, Resulting Numbers: [1022]
1022,34 unequal: No Solution
Exploring Operation: 73+14=87, Resulting Numbers: [87]
87,34 unequal: No Solution
Moving to Node #0,3,1
Current State: 34:[14, 73], Operations: ['49-35=14', '76-3=73']
Exploring Operation: 14+73=87, Resulting Numbers: [87]
87,34 unequal: No Solution
Exploring Operation: 14*73=1022, Resulting Numbers: [1022]
1022,34 unequal: No Solution
Exploring Operation: 73-14=59, Resulting Numbers: [59]
59,34 unequal: No Solution
Moving to Node #0,3,0
Current State: 34:[76, 17], Operations: ['49-35=14', '3+14=17']
Exploring Operation: 76*17=1292, Resulting Numbers: [1292]
1292,34 unequal: No Solution
Exploring Operation: 76-17=59, Resulting Numbers: [59]
59,34 unequal: No Solution
Exploring Operation: 76+17=93, Resulting Numbers: [93]
93,34 unequal: No Solution
Moving to Node #0,3,4
Current State: 34:[76, 11], Operations: ['49-35=14', '14-3=11']
Exploring Operation: 76+11=87, Resulting Numbers: [87]
87,34 unequal: No Solution
Exploring Operation: 76*11=836, Resulting Numbers: [836]
836,34 unequal: No Solution
Exploring Operation: 76-11=65, Resulting Numbers: [65]
65,34 unequal: No Solution
Moving to Node #0,3,3
Current State: 34:[14, 79], Operations: ['49-35=14', '76+3=79']
Exploring Operation: 79-14=65, Resulting Numbers: [65]
65,34 unequal: No Solution
Exploring Operation: 14+79=93, Resulting Numbers: [93]
93,34 unequal: No Solution
Exploring Operation: 14*79=1106, Resulting Numbers: [1106]
1106,34 unequal: No Solution
Moving to Node #0,2,2
Current State: 34:[76, 11], Operations: ['49-3=46', '46-35=11']
Exploring Operation: 76-11=65, Resulting Numbers: [65]
65,34 unequal: No Solution
Exploring Operation: 76*11=836, Resulting Numbers: [836]
836,34 unequal: No Solution
Exploring Operation: 76+11=87, Resulting Numbers: [87]
87,34 unequal: No Solution
Moving to Node #0,4,0
Current State: 34:[73, 84], Operations: ['76-3=73', '35+49=84']
Exploring Operation: 84-73=11, Resulting Numbers: [11]
11,34 unequal: No Solution
Exploring Operation: 73+84=157, Resulting Numbers: [157]
157,34 unequal: No Solution
Exploring Operation: 73*84=6132, Resulting Numbers: [6132]
6132,34 unequal: No Solution
Moving to Node #0,4,3
Current State: 34:[49, 108], Operations: ['76-3=73', '35+73=108']
Exploring Operation: 49*108=5292, Resulting Numbers: [5292]
5292,34 unequal: No Solution
Exploring Operation: 108-49=59, Resulting Numbers: [59]
59,34 unequal: No Solution
Exploring Operation: 49+108=157, Resulting Numbers: [157]
157,34 unequal: No Solution
Moving to Node #0,2,0
Current State: 34:[46, 111], Operations: ['49-3=46', '35+76=111']
Exploring Operation: 46*111=5106, Resulting Numbers: [5106]
5106,34 unequal: No Solution
Exploring Operation: 111-46=65, Resulting Numbers: [65]
65,34 unequal: No Solution
Exploring Operation: 46+111=157, Resulting Numbers: [157]
157,34 unequal: No Solution
Moving to Node #0,2,3
Current State: 34:[76, 81], Operations: ['49-3=46', '35+46=81']
Exploring Operation: 76*81=6156, Resulting Numbers: [6156]
6156,34 unequal: No Solution
Exploring Operation: 76+81=157, Resulting Numbers: [157]
157,34 unequal: No Solution
Exploring Operation: 81-76=5, Resulting Numbers: [5]
5,34 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
14,
26,
69,
63
] | 18 | [
"26-14=12",
"69-63=6",
"12+6=18"
] | Current State: 18:[14, 26, 69, 63], Operations: []
Exploring Operation: 26-14=12, Resulting Numbers: [69, 63, 12]
Generated Node #2: [69, 63, 12] from Operation: 26-14=12
Current State: 18:[69, 63, 12], Operations: ['26-14=12']
Exploring Operation: 69-63=6, Resulting Numbers: [12, 6]
Generated Node #3: [12, 6] from Operation: 69-63=6
Current State: 18:[12, 6], Operations: ['26-14=12', '69-63=6']
Exploring Operation: 12+6=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[14, 26, 69, 63], Operations: []
Exploring Operation: 63-26=37, Resulting Numbers: [14, 69, 37]
Generated Node #0,0: 18:[14, 69, 37] Operation: 63-26=37
Exploring Operation: 69-26=43, Resulting Numbers: [14, 63, 43]
Generated Node #0,1: 18:[14, 63, 43] Operation: 69-26=43
Exploring Operation: 63-14=49, Resulting Numbers: [26, 69, 49]
Generated Node #0,2: 18:[26, 69, 49] Operation: 63-14=49
Exploring Operation: 69-63=6, Resulting Numbers: [14, 26, 6]
Generated Node #0,3: 18:[14, 26, 6] Operation: 69-63=6
Exploring Operation: 69-14=55, Resulting Numbers: [26, 63, 55]
Generated Node #0,4: 18:[26, 63, 55] Operation: 69-14=55
Start Sub Search at level 1: Moving to Node #0,3
Current State: 18:[14, 26, 6], Operations: ['69-63=6']
Exploring Operation: 14-6=8, Resulting Numbers: [26, 8]
Generated Node #0,3,0: 18:[26, 8] Operation: 14-6=8
Exploring Operation: 26-14=12, Resulting Numbers: [6, 12]
Generated Node #0,3,1: 18:[6, 12] Operation: 26-14=12
Exploring Operation: 26-6=20, Resulting Numbers: [14, 20]
Generated Node #0,3,2: 18:[14, 20] Operation: 26-6=20
Exploring Operation: 14+6=20, Resulting Numbers: [26, 20]
Generated Node #0,3,3: 18:[26, 20] Operation: 14+6=20
Exploring Operation: 26+6=32, Resulting Numbers: [14, 32]
Generated Node #0,3,4: 18:[14, 32] Operation: 26+6=32
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 18:[6, 12], Operations: ['69-63=6', '26-14=12']
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,18 unequal: No Solution
Exploring Operation: 6*12=72, Resulting Numbers: [72]
72,18 unequal: No Solution
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,18 unequal: No Solution
Exploring Operation: 6+12=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[14, 26, 69, 63], Operations: []
Exploring Operation: 69-63=6, Resulting Numbers: [14, 26, 6]
Generated Node #0,3: 18:[14, 26, 6] Operation: 69-63=6
Moving to Node #0,3
Current State: 18:[14, 26, 6], Operations: ['69-63=6']
Exploring Operation: 26-14=12, Resulting Numbers: [6, 12]
Generated Node #0,3,1: 18:[6, 12] Operation: 26-14=12
Moving to Node #0,3,1
Current State: 18:[6, 12], Operations: ['69-63=6', '26-14=12']
Exploring Operation: 6+12=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_5 | mult_heuristic |
[
3,
71,
72,
37
] | 34 | [
"37-3=34",
"72-71=1",
"34*1=34"
] | Current State: 34:[3, 71, 72, 37], Operations: []
Exploring Operation: 37-3=34, Resulting Numbers: [71, 72, 34]
Generated Node #2: [71, 72, 34] from Operation: 37-3=34
Current State: 34:[71, 72, 34], Operations: ['37-3=34']
Exploring Operation: 72-71=1, Resulting Numbers: [34, 1]
Generated Node #3: [34, 1] from Operation: 72-71=1
Current State: 34:[34, 1], Operations: ['37-3=34', '72-71=1']
Exploring Operation: 34*1=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[3, 71, 72, 37], Operations: []
Exploring Operation: 72-71=1, Resulting Numbers: [3, 37, 1]
Generated Node #0,0: 34:[3, 37, 1] Operation: 72-71=1
Exploring Operation: 71-37=34, Resulting Numbers: [3, 72, 34]
Generated Node #0,1: 34:[3, 72, 34] Operation: 71-37=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[3, 37, 1], Operations: ['72-71=1']
Exploring Operation: 37-3=34, Resulting Numbers: [1, 34]
Generated Node #0,0,0: 34:[1, 34] Operation: 37-3=34
Exploring Operation: 3-1=2, Resulting Numbers: [37, 2]
Generated Node #0,0,1: 34:[37, 2] Operation: 3-1=2
Moving to Node #0,0,0
Current State: 34:[1, 34], Operations: ['72-71=1', '37-3=34']
Exploring Operation: 1*34=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[3, 71, 72, 37], Operations: []
Exploring Operation: 72-71=1, Resulting Numbers: [3, 37, 1]
Generated Node #0,0: 34:[3, 37, 1] Operation: 72-71=1
Moving to Node #0,0
Current State: 34:[3, 37, 1], Operations: ['72-71=1']
Exploring Operation: 37-3=34, Resulting Numbers: [1, 34]
Generated Node #0,0,0: 34:[1, 34] Operation: 37-3=34
Moving to Node #0,0,0
Current State: 34:[1, 34], Operations: ['72-71=1', '37-3=34']
Exploring Operation: 1*34=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
19,
93,
73,
91
] | 93 | [
"19+73=92",
"92-91=1",
"93*1=93"
] | Current State: 93:[19, 93, 73, 91], Operations: []
Exploring Operation: 19+73=92, Resulting Numbers: [93, 91, 92]
Generated Node #2: [93, 91, 92] from Operation: 19+73=92
Current State: 93:[93, 91, 92], Operations: ['19+73=92']
Exploring Operation: 92-91=1, Resulting Numbers: [93, 1]
Generated Node #3: [93, 1] from Operation: 92-91=1
Current State: 93:[93, 1], Operations: ['19+73=92', '92-91=1']
Exploring Operation: 93*1=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[19, 93, 73, 91], Operations: []
Exploring Operation: 73-19=54, Resulting Numbers: [93, 91, 54]
Generated Node #0,0: 93:[93, 91, 54] Operation: 73-19=54
Exploring Operation: 19+73=92, Resulting Numbers: [93, 91, 92]
Generated Node #0,1: 93:[93, 91, 92] Operation: 19+73=92
Exploring Operation: 93-73=20, Resulting Numbers: [19, 91, 20]
Generated Node #0,2: 93:[19, 91, 20] Operation: 93-73=20
Moving to Node #0,1
Current State: 93:[93, 91, 92], Operations: ['19+73=92']
Exploring Operation: 93-91=2, Resulting Numbers: [92, 2]
Generated Node #0,1,0: 93:[92, 2] Operation: 93-91=2
Exploring Operation: 93-92=1, Resulting Numbers: [91, 1]
Generated Node #0,1,1: 93:[91, 1] Operation: 93-92=1
Exploring Operation: 92-91=1, Resulting Numbers: [93, 1]
Generated Node #0,1,2: 93:[93, 1] Operation: 92-91=1
Moving to Node #0,0
Current State: 93:[93, 91, 54], Operations: ['73-19=54']
Exploring Operation: 93-91=2, Resulting Numbers: [54, 2]
Generated Node #0,0,0: 93:[54, 2] Operation: 93-91=2
Exploring Operation: 91-54=37, Resulting Numbers: [93, 37]
Generated Node #0,0,1: 93:[93, 37] Operation: 91-54=37
Exploring Operation: 93-54=39, Resulting Numbers: [91, 39]
Generated Node #0,0,2: 93:[91, 39] Operation: 93-54=39
Moving to Node #0,2
Current State: 93:[19, 91, 20], Operations: ['93-73=20']
Exploring Operation: 19+20=39, Resulting Numbers: [91, 39]
Generated Node #0,2,0: 93:[91, 39] Operation: 19+20=39
Exploring Operation: 19+91=110, Resulting Numbers: [20, 110]
Generated Node #0,2,1: 93:[20, 110] Operation: 19+91=110
Exploring Operation: 20-19=1, Resulting Numbers: [91, 1]
Generated Node #0,2,2: 93:[91, 1] Operation: 20-19=1
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 93:[91, 1], Operations: ['93-73=20', '20-19=1']
Exploring Operation: 91+1=92, Resulting Numbers: [92]
92,93 unequal: No Solution
Exploring Operation: 91*1=91, Resulting Numbers: [91]
91,93 unequal: No Solution
Exploring Operation: 91/1=91, Resulting Numbers: [91]
91,93 unequal: No Solution
No 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: 93:[91, 39], Operations: ['93-73=20', '19+20=39']
Exploring Operation: 91+39=130, Resulting Numbers: [130]
130,93 unequal: No Solution
Exploring Operation: 91*39=3549, Resulting Numbers: [3549]
3549,93 unequal: No Solution
Exploring Operation: 91-39=52, Resulting Numbers: [52]
52,93 unequal: No Solution
No 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: 93:[20, 110], Operations: ['93-73=20', '19+91=110']
Exploring Operation: 110-20=90, Resulting Numbers: [90]
90,93 unequal: No Solution
Exploring Operation: 20+110=130, Resulting Numbers: [130]
130,93 unequal: No Solution
Exploring Operation: 20*110=2200, Resulting Numbers: [2200]
2200,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 93:[92, 2], Operations: ['19+73=92', '93-91=2']
Exploring Operation: 92/2=46, Resulting Numbers: [46]
46,93 unequal: No Solution
Exploring Operation: 92+2=94, Resulting Numbers: [94]
94,93 unequal: No Solution
Exploring Operation: 92-2=90, Resulting Numbers: [90]
90,93 unequal: No Solution
Moving to Node #0,1,2
Current State: 93:[93, 1], Operations: ['19+73=92', '92-91=1']
Exploring Operation: 93+1=94, Resulting Numbers: [94]
94,93 unequal: No Solution
Exploring Operation: 93/1=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[19, 93, 73, 91], Operations: []
Exploring Operation: 19+73=92, Resulting Numbers: [93, 91, 92]
Generated Node #0,1: 93:[93, 91, 92] Operation: 19+73=92
Moving to Node #0,1
Current State: 93:[93, 91, 92], Operations: ['19+73=92']
Exploring Operation: 92-91=1, Resulting Numbers: [93, 1]
Generated Node #0,1,2: 93:[93, 1] Operation: 92-91=1
Moving to Node #0,1,2
Current State: 93:[93, 1], Operations: ['19+73=92', '92-91=1']
Exploring Operation: 93/1=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 0.973958 | hs_3 | mult_heuristic |
[
60,
84,
35,
6
] | 65 | [
"84-60=24",
"35+6=41",
"24+41=65"
] | Current State: 65:[60, 84, 35, 6], Operations: []
Exploring Operation: 84-60=24, Resulting Numbers: [35, 6, 24]
Generated Node #2: [35, 6, 24] from Operation: 84-60=24
Current State: 65:[35, 6, 24], Operations: ['84-60=24']
Exploring Operation: 35+6=41, Resulting Numbers: [24, 41]
Generated Node #3: [24, 41] from Operation: 35+6=41
Current State: 65:[24, 41], Operations: ['84-60=24', '35+6=41']
Exploring Operation: 24+41=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[60, 84, 35, 6], Operations: []
Exploring Operation: 84/6=14, Resulting Numbers: [60, 35, 14]
Generated Node #0,0: 65:[60, 35, 14] Operation: 84/6=14
Exploring Operation: 84-35=49, Resulting Numbers: [60, 6, 49]
Generated Node #0,1: 65:[60, 6, 49] Operation: 84-35=49
Moving to Node #0,1
Current State: 65:[60, 6, 49], Operations: ['84-35=49']
Exploring Operation: 6+49=55, Resulting Numbers: [60, 55]
Generated Node #0,1,0: 65:[60, 55] Operation: 6+49=55
Exploring Operation: 60-49=11, Resulting Numbers: [6, 11]
Generated Node #0,1,1: 65:[6, 11] Operation: 60-49=11
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 65:[6, 11], Operations: ['84-35=49', '60-49=11']
Exploring Operation: 6*11=66, Resulting Numbers: [66]
66,65 unequal: No Solution
Exploring Operation: 11-6=5, Resulting Numbers: [5]
5,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 65:[60, 55], Operations: ['84-35=49', '6+49=55']
Exploring Operation: 60+55=115, Resulting Numbers: [115]
115,65 unequal: No Solution
Exploring Operation: 60-55=5, Resulting Numbers: [5]
5,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 65:[60, 35, 14], Operations: ['84/6=14']
Exploring Operation: 35-14=21, Resulting Numbers: [60, 21]
Generated Node #0,0,0: 65:[60, 21] Operation: 35-14=21
Exploring Operation: 60-35=25, Resulting Numbers: [14, 25]
Generated Node #0,0,1: 65:[14, 25] Operation: 60-35=25
Moving to Node #0,0,0
Current State: 65:[60, 21], Operations: ['84/6=14', '35-14=21']
Exploring Operation: 60+21=81, Resulting Numbers: [81]
81,65 unequal: No Solution
Exploring Operation: 60-21=39, Resulting Numbers: [39]
39,65 unequal: No Solution
Moving to Node #0,0,1
Current State: 65:[14, 25], Operations: ['84/6=14', '60-35=25']
Exploring Operation: 14+25=39, Resulting Numbers: [39]
39,65 unequal: No Solution
Exploring Operation: 25-14=11, Resulting Numbers: [11]
11,65 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
55,
64,
64,
2
] | 75 | [
"64-55=9",
"64+2=66",
"9+66=75"
] | Current State: 75:[55, 64, 64, 2], Operations: []
Exploring Operation: 64-55=9, Resulting Numbers: [2, 9]
Generated Node #2: [2, 9] from Operation: 64-55=9
Current State: 75:[2, 9], Operations: ['64-55=9']
Exploring Operation: 64+2=66, Resulting Numbers: [9, 66]
Generated Node #3: [9, 66] from Operation: 64+2=66
Current State: 75:[9, 66], Operations: ['64-55=9', '64+2=66']
Exploring Operation: 9+66=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[55, 64, 64, 2], Operations: []
Exploring Operation: 64/2=32, Resulting Numbers: [55, 64, 32]
Generated Node #0,0: 75:[55, 64, 32] Operation: 64/2=32
Exploring Operation: 64/64=1, Resulting Numbers: [55, 2, 1]
Generated Node #0,1: 75:[55, 2, 1] Operation: 64/64=1
Exploring Operation: 64-64=0, Resulting Numbers: [55, 2, 0]
Generated Node #0,2: 75:[55, 2, 0] Operation: 64-64=0
Exploring Operation: 64-55=9, Resulting Numbers: [64, 2, 9]
Generated Node #0,3: 75:[64, 2, 9] Operation: 64-55=9
Exploring Operation: 64-55=9, Resulting Numbers: [64, 2, 9]
Generated Node #0,4: 75:[64, 2, 9] Operation: 64-55=9
Start Sub Search at level 1: Moving to Node #0,3
Current State: 75:[64, 2, 9], Operations: ['64-55=9']
Exploring Operation: 64+2=66, Resulting Numbers: [9, 66]
Generated Node #0,3,0: 75:[9, 66] Operation: 64+2=66
Exploring Operation: 9-2=7, Resulting Numbers: [64, 7]
Generated Node #0,3,1: 75:[64, 7] Operation: 9-2=7
Exploring Operation: 64/2=32, Resulting Numbers: [9, 32]
Generated Node #0,3,2: 75:[9, 32] Operation: 64/2=32
Exploring Operation: 2*9=18, Resulting Numbers: [64, 18]
Generated Node #0,3,3: 75:[64, 18] Operation: 2*9=18
Exploring Operation: 64+9=73, Resulting Numbers: [2, 73]
Generated Node #0,3,4: 75:[2, 73] Operation: 64+9=73
Moving to Node #0,3,4
Current State: 75:[2, 73], Operations: ['64-55=9', '64+9=73']
Exploring Operation: 2+73=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[55, 64, 64, 2], Operations: []
Exploring Operation: 64-55=9, Resulting Numbers: [64, 2, 9]
Generated Node #0,3: 75:[64, 2, 9] Operation: 64-55=9
Moving to Node #0,3
Current State: 75:[64, 2, 9], Operations: ['64-55=9']
Exploring Operation: 64+9=73, Resulting Numbers: [2, 73]
Generated Node #0,3,4: 75:[2, 73] Operation: 64+9=73
Moving to Node #0,3,4
Current State: 75:[2, 73], Operations: ['64-55=9', '64+9=73']
Exploring Operation: 2+73=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
33,
29,
26,
29
] | 60 | [
"33+26=59",
"29/29=1",
"59+1=60"
] | Current State: 60:[33, 29, 26, 29], Operations: []
Exploring Operation: 33+26=59, Resulting Numbers: [29, 29, 59]
Generated Node #2: [29, 29, 59] from Operation: 33+26=59
Current State: 60:[29, 29, 59], Operations: ['33+26=59']
Exploring Operation: 29/29=1, Resulting Numbers: [59, 1]
Generated Node #3: [59, 1] from Operation: 29/29=1
Current State: 60:[59, 1], Operations: ['33+26=59', '29/29=1']
Exploring Operation: 59+1=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[33, 29, 26, 29], Operations: []
Exploring Operation: 33-26=7, Resulting Numbers: [29, 29, 7]
Generated Node #0,0: 60:[29, 29, 7] Operation: 33-26=7
Exploring Operation: 29-26=3, Resulting Numbers: [33, 29, 3]
Generated Node #0,1: 60:[33, 29, 3] Operation: 29-26=3
Exploring Operation: 33+26=59, Resulting Numbers: [29, 29, 59]
Generated Node #0,2: 60:[29, 29, 59] Operation: 33+26=59
Moving to Node #0,0
Current State: 60:[29, 29, 7], Operations: ['33-26=7']
Exploring Operation: 29+29=58, Resulting Numbers: [7, 58]
Generated Node #0,0,0: 60:[7, 58] Operation: 29+29=58
Exploring Operation: 29-29=0, Resulting Numbers: [7, 0]
Generated Node #0,0,1: 60:[7, 0] Operation: 29-29=0
Exploring Operation: 29/29=1, Resulting Numbers: [7, 1]
Generated Node #0,0,2: 60:[7, 1] Operation: 29/29=1
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 60:[7, 1], Operations: ['33-26=7', '29/29=1']
Exploring Operation: 7*1=7, Resulting Numbers: [7]
7,60 unequal: No Solution
Exploring Operation: 7/1=7, Resulting Numbers: [7]
7,60 unequal: No Solution
Exploring Operation: 7-1=6, Resulting Numbers: [6]
6,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,0,0
Current State: 60:[7, 58], Operations: ['33-26=7', '29+29=58']
Exploring Operation: 7*58=406, Resulting Numbers: [406]
406,60 unequal: No Solution
Exploring Operation: 58-7=51, Resulting Numbers: [51]
51,60 unequal: No Solution
Exploring Operation: 7+58=65, Resulting Numbers: [65]
65,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,0,1
Current State: 60:[7, 0], Operations: ['33-26=7', '29-29=0']
Exploring Operation: 7-0=7, Resulting Numbers: [7]
7,60 unequal: No Solution
Exploring Operation: 7+0=7, Resulting Numbers: [7]
7,60 unequal: No Solution
Exploring Operation: 7*0=0, Resulting Numbers: [0]
0,60 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: 60:[29, 29, 59], Operations: ['33+26=59']
Exploring Operation: 59-29=30, Resulting Numbers: [29, 30]
Generated Node #0,2,0: 60:[29, 30] Operation: 59-29=30
Exploring Operation: 59-29=30, Resulting Numbers: [29, 30]
Generated Node #0,2,1: 60:[29, 30] Operation: 59-29=30
Exploring Operation: 29/29=1, Resulting Numbers: [59, 1]
Generated Node #0,2,2: 60:[59, 1] Operation: 29/29=1
Moving to Node #0,1
Current State: 60:[33, 29, 3], Operations: ['29-26=3']
Exploring Operation: 33-3=30, Resulting Numbers: [29, 30]
Generated Node #0,1,0: 60:[29, 30] Operation: 33-3=30
Exploring Operation: 33-29=4, Resulting Numbers: [3, 4]
Generated Node #0,1,1: 60:[3, 4] Operation: 33-29=4
Exploring Operation: 33+29=62, Resulting Numbers: [3, 62]
Generated Node #0,1,2: 60:[3, 62] Operation: 33+29=62
Moving to Node #0,1,1
Current State: 60:[3, 4], Operations: ['29-26=3', '33-29=4']
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,60 unequal: No Solution
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,60 unequal: No Solution
Moving to Node #0,2,0
Current State: 60:[29, 30], Operations: ['33+26=59', '59-29=30']
Exploring Operation: 30-29=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Exploring Operation: 29*30=870, Resulting Numbers: [870]
870,60 unequal: No Solution
Exploring Operation: 29+30=59, Resulting Numbers: [59]
59,60 unequal: No Solution
Moving to Node #0,1,0
Current State: 60:[29, 30], Operations: ['29-26=3', '33-3=30']
Exploring Operation: 29+30=59, Resulting Numbers: [59]
59,60 unequal: No Solution
Exploring Operation: 29*30=870, Resulting Numbers: [870]
870,60 unequal: No Solution
Exploring Operation: 30-29=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Moving to Node #0,2,1
Current State: 60:[29, 30], Operations: ['33+26=59', '59-29=30']
Exploring Operation: 29+30=59, Resulting Numbers: [59]
59,60 unequal: No Solution
Exploring Operation: 29*30=870, Resulting Numbers: [870]
870,60 unequal: No Solution
Exploring Operation: 30-29=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Moving to Node #0,1,2
Current State: 60:[3, 62], Operations: ['29-26=3', '33+29=62']
Exploring Operation: 62-3=59, Resulting Numbers: [59]
59,60 unequal: No Solution
Exploring Operation: 3*62=186, Resulting Numbers: [186]
186,60 unequal: No Solution
Exploring Operation: 3+62=65, Resulting Numbers: [65]
65,60 unequal: No Solution
Moving to Node #0,2,2
Current State: 60:[59, 1], Operations: ['33+26=59', '29/29=1']
Exploring Operation: 59/1=59, Resulting Numbers: [59]
59,60 unequal: No Solution
Exploring Operation: 59+1=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[33, 29, 26, 29], Operations: []
Exploring Operation: 33+26=59, Resulting Numbers: [29, 29, 59]
Generated Node #0,2: 60:[29, 29, 59] Operation: 33+26=59
Moving to Node #0,2
Current State: 60:[29, 29, 59], Operations: ['33+26=59']
Exploring Operation: 29/29=1, Resulting Numbers: [59, 1]
Generated Node #0,2,2: 60:[59, 1] Operation: 29/29=1
Moving to Node #0,2,2
Current State: 60:[59, 1], Operations: ['33+26=59', '29/29=1']
Exploring Operation: 59+1=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 0.963542 | hs_3 | mult_heuristic |
[
35,
6,
21,
96
] | 88 | [
"35-6=29",
"21+96=117",
"117-29=88"
] | Current State: 88:[35, 6, 21, 96], Operations: []
Exploring Operation: 35-6=29, Resulting Numbers: [21, 96, 29]
Generated Node #2: [21, 96, 29] from Operation: 35-6=29
Current State: 88:[21, 96, 29], Operations: ['35-6=29']
Exploring Operation: 21+96=117, Resulting Numbers: [29, 117]
Generated Node #3: [29, 117] from Operation: 21+96=117
Current State: 88:[29, 117], Operations: ['35-6=29', '21+96=117']
Exploring Operation: 117-29=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[35, 6, 21, 96], Operations: []
Exploring Operation: 96/6=16, Resulting Numbers: [35, 21, 16]
Generated Node #0,0: 88:[35, 21, 16] Operation: 96/6=16
Exploring Operation: 96-6=90, Resulting Numbers: [35, 21, 90]
Generated Node #0,1: 88:[35, 21, 90] Operation: 96-6=90
Exploring Operation: 35+6=41, Resulting Numbers: [21, 96, 41]
Generated Node #0,2: 88:[21, 96, 41] Operation: 35+6=41
Exploring Operation: 35-21=14, Resulting Numbers: [6, 96, 14]
Generated Node #0,3: 88:[6, 96, 14] Operation: 35-21=14
Moving to Node #0,1
Current State: 88:[35, 21, 90], Operations: ['96-6=90']
Exploring Operation: 35-21=14, Resulting Numbers: [90, 14]
Generated Node #0,1,0: 88:[90, 14] Operation: 35-21=14
Exploring Operation: 90-35=55, Resulting Numbers: [21, 55]
Generated Node #0,1,1: 88:[21, 55] Operation: 90-35=55
Exploring Operation: 35+21=56, Resulting Numbers: [90, 56]
Generated Node #0,1,2: 88:[90, 56] Operation: 35+21=56
Exploring Operation: 90-21=69, Resulting Numbers: [35, 69]
Generated Node #0,1,3: 88:[35, 69] Operation: 90-21=69
Moving to Node #0,2
Current State: 88:[21, 96, 41], Operations: ['35+6=41']
Exploring Operation: 96-21=75, Resulting Numbers: [41, 75]
Generated Node #0,2,0: 88:[41, 75] Operation: 96-21=75
Exploring Operation: 41-21=20, Resulting Numbers: [96, 20]
Generated Node #0,2,1: 88:[96, 20] Operation: 41-21=20
Exploring Operation: 96-41=55, Resulting Numbers: [21, 55]
Generated Node #0,2,2: 88:[21, 55] Operation: 96-41=55
Exploring Operation: 21+41=62, Resulting Numbers: [96, 62]
Generated Node #0,2,3: 88:[96, 62] Operation: 21+41=62
Moving to Node #0,3
Current State: 88:[6, 96, 14], Operations: ['35-21=14']
Exploring Operation: 96-6=90, Resulting Numbers: [14, 90]
Generated Node #0,3,0: 88:[14, 90] Operation: 96-6=90
Exploring Operation: 96/6=16, Resulting Numbers: [14, 16]
Generated Node #0,3,1: 88:[14, 16] Operation: 96/6=16
Exploring Operation: 14-6=8, Resulting Numbers: [96, 8]
Generated Node #0,3,2: 88:[96, 8] Operation: 14-6=8
Exploring Operation: 96-14=82, Resulting Numbers: [6, 82]
Generated Node #0,3,3: 88:[6, 82] Operation: 96-14=82
Moving to Node #0,0
Current State: 88:[35, 21, 16], Operations: ['96/6=16']
Exploring Operation: 21-16=5, Resulting Numbers: [35, 5]
Generated Node #0,0,0: 88:[35, 5] Operation: 21-16=5
Exploring Operation: 35-16=19, Resulting Numbers: [21, 19]
Generated Node #0,0,1: 88:[21, 19] Operation: 35-16=19
Exploring Operation: 35-21=14, Resulting Numbers: [16, 14]
Generated Node #0,0,2: 88:[16, 14] Operation: 35-21=14
Exploring Operation: 35+16=51, Resulting Numbers: [21, 51]
Generated Node #0,0,3: 88:[21, 51] Operation: 35+16=51
Moving to Node #0,0,1
Current State: 88:[21, 19], Operations: ['96/6=16', '35-16=19']
Exploring Operation: 21*19=399, Resulting Numbers: [399]
399,88 unequal: No Solution
Exploring Operation: 21-19=2, Resulting Numbers: [2]
2,88 unequal: No Solution
Exploring Operation: 21+19=40, Resulting Numbers: [40]
40,88 unequal: No Solution
Moving to Node #0,1,0
Current State: 88:[90, 14], Operations: ['96-6=90', '35-21=14']
Exploring Operation: 90*14=1260, Resulting Numbers: [1260]
1260,88 unequal: No Solution
Exploring Operation: 90+14=104, Resulting Numbers: [104]
104,88 unequal: No Solution
Exploring Operation: 90-14=76, Resulting Numbers: [76]
76,88 unequal: No Solution
Moving to Node #0,3,0
Current State: 88:[14, 90], Operations: ['35-21=14', '96-6=90']
Exploring Operation: 14+90=104, Resulting Numbers: [104]
104,88 unequal: No Solution
Exploring Operation: 90-14=76, Resulting Numbers: [76]
76,88 unequal: No Solution
Exploring Operation: 14*90=1260, Resulting Numbers: [1260]
1260,88 unequal: No Solution
Moving to Node #0,0,2
Current State: 88:[16, 14], Operations: ['96/6=16', '35-21=14']
Exploring Operation: 16-14=2, Resulting Numbers: [2]
2,88 unequal: No Solution
Exploring Operation: 16*14=224, Resulting Numbers: [224]
224,88 unequal: No Solution
Exploring Operation: 16+14=30, Resulting Numbers: [30]
30,88 unequal: No Solution
Moving to Node #0,0,3
Current State: 88:[21, 51], Operations: ['96/6=16', '35+16=51']
Exploring Operation: 21*51=1071, Resulting Numbers: [1071]
1071,88 unequal: No Solution
Exploring Operation: 21+51=72, Resulting Numbers: [72]
72,88 unequal: No Solution
Exploring Operation: 51-21=30, Resulting Numbers: [30]
30,88 unequal: No Solution
Moving to Node #0,3,3
Current State: 88:[6, 82], Operations: ['35-21=14', '96-14=82']
Exploring Operation: 82-6=76, Resulting Numbers: [76]
76,88 unequal: No Solution
Exploring Operation: 6+82=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[35, 6, 21, 96], Operations: []
Exploring Operation: 35-21=14, Resulting Numbers: [6, 96, 14]
Generated Node #0,3: 88:[6, 96, 14] Operation: 35-21=14
Moving to Node #0,3
Current State: 88:[6, 96, 14], Operations: ['35-21=14']
Exploring Operation: 96-14=82, Resulting Numbers: [6, 82]
Generated Node #0,3,3: 88:[6, 82] Operation: 96-14=82
Moving to Node #0,3,3
Current State: 88:[6, 82], Operations: ['35-21=14', '96-14=82']
Exploring Operation: 6+82=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 0.96441 | hs_4 | mult_heuristic |
[
13,
56,
59,
56
] | 59 | [
"56-56=0",
"13*0=0",
"59+0=59"
] | Current State: 59:[13, 56, 59, 56], Operations: []
Exploring Operation: 56-56=0, Resulting Numbers: [13, 59, 0]
Generated Node #2: [13, 59, 0] from Operation: 56-56=0
Current State: 59:[13, 59, 0], Operations: ['56-56=0']
Exploring Operation: 13*0=0, Resulting Numbers: [59, 0]
Generated Node #3: [59, 0] from Operation: 13*0=0
Current State: 59:[59, 0], Operations: ['56-56=0', '13*0=0']
Exploring Operation: 59+0=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[13, 56, 59, 56], Operations: []
Exploring Operation: 13+59=72, Resulting Numbers: [56, 56, 72]
Generated Node #0,0: 59:[56, 56, 72] Operation: 13+59=72
Exploring Operation: 56-13=43, Resulting Numbers: [59, 56, 43]
Generated Node #0,1: 59:[59, 56, 43] Operation: 56-13=43
Exploring Operation: 13+56=69, Resulting Numbers: [56, 59, 69]
Generated Node #0,2: 59:[56, 59, 69] Operation: 13+56=69
Exploring Operation: 59-13=46, Resulting Numbers: [56, 56, 46]
Generated Node #0,3: 59:[56, 56, 46] Operation: 59-13=46
Exploring Operation: 13+56=69, Resulting Numbers: [59, 56, 69]
Generated Node #0,4: 59:[59, 56, 69] Operation: 13+56=69
Moving to Node #0,2
Current State: 59:[56, 59, 69], Operations: ['13+56=69']
Exploring Operation: 69-59=10, Resulting Numbers: [56, 10]
Generated Node #0,2,0: 59:[56, 10] Operation: 69-59=10
Exploring Operation: 56+59=115, Resulting Numbers: [69, 115]
Generated Node #0,2,1: 59:[69, 115] Operation: 56+59=115
Exploring Operation: 56+69=125, Resulting Numbers: [59, 125]
Generated Node #0,2,2: 59:[59, 125] Operation: 56+69=125
Exploring Operation: 59-56=3, Resulting Numbers: [69, 3]
Generated Node #0,2,3: 59:[69, 3] Operation: 59-56=3
Exploring Operation: 69-56=13, Resulting Numbers: [59, 13]
Generated Node #0,2,4: 59:[59, 13] Operation: 69-56=13
Moving to Node #0,4
Current State: 59:[59, 56, 69], Operations: ['13+56=69']
Exploring Operation: 59+56=115, Resulting Numbers: [69, 115]
Generated Node #0,4,0: 59:[69, 115] Operation: 59+56=115
Exploring Operation: 59-56=3, Resulting Numbers: [69, 3]
Generated Node #0,4,1: 59:[69, 3] Operation: 59-56=3
Exploring Operation: 56+69=125, Resulting Numbers: [59, 125]
Generated Node #0,4,2: 59:[59, 125] Operation: 56+69=125
Exploring Operation: 69-56=13, Resulting Numbers: [59, 13]
Generated Node #0,4,3: 59:[59, 13] Operation: 69-56=13
Exploring Operation: 69-59=10, Resulting Numbers: [56, 10]
Generated Node #0,4,4: 59:[56, 10] Operation: 69-59=10
Moving to Node #0,0
Current State: 59:[56, 56, 72], Operations: ['13+59=72']
Exploring Operation: 56+56=112, Resulting Numbers: [72, 112]
Generated Node #0,0,0: 59:[72, 112] Operation: 56+56=112
Exploring Operation: 72-56=16, Resulting Numbers: [56, 16]
Generated Node #0,0,1: 59:[56, 16] Operation: 72-56=16
Exploring Operation: 56-56=0, Resulting Numbers: [72, 0]
Generated Node #0,0,2: 59:[72, 0] Operation: 56-56=0
Exploring Operation: 72-56=16, Resulting Numbers: [56, 16]
Generated Node #0,0,3: 59:[56, 16] Operation: 72-56=16
Exploring Operation: 56/56=1, Resulting Numbers: [72, 1]
Generated Node #0,0,4: 59:[72, 1] Operation: 56/56=1
Moving to Node #0,1
Current State: 59:[59, 56, 43], Operations: ['56-13=43']
Exploring Operation: 56+43=99, Resulting Numbers: [59, 99]
Generated Node #0,1,0: 59:[59, 99] Operation: 56+43=99
Exploring Operation: 59+56=115, Resulting Numbers: [43, 115]
Generated Node #0,1,1: 59:[43, 115] Operation: 59+56=115
Exploring Operation: 56-43=13, Resulting Numbers: [59, 13]
Generated Node #0,1,2: 59:[59, 13] Operation: 56-43=13
Exploring Operation: 59-43=16, Resulting Numbers: [56, 16]
Generated Node #0,1,3: 59:[56, 16] Operation: 59-43=16
Exploring Operation: 59+43=102, Resulting Numbers: [56, 102]
Generated Node #0,1,4: 59:[56, 102] Operation: 59+43=102
Moving to Node #0,3
Current State: 59:[56, 56, 46], Operations: ['59-13=46']
Exploring Operation: 56-46=10, Resulting Numbers: [56, 10]
Generated Node #0,3,0: 59:[56, 10] Operation: 56-46=10
Exploring Operation: 56-46=10, Resulting Numbers: [56, 10]
Generated Node #0,3,1: 59:[56, 10] Operation: 56-46=10
Exploring Operation: 56+46=102, Resulting Numbers: [56, 102]
Generated Node #0,3,2: 59:[56, 102] Operation: 56+46=102
Exploring Operation: 56+56=112, Resulting Numbers: [46, 112]
Generated Node #0,3,3: 59:[46, 112] Operation: 56+56=112
Exploring Operation: 56+46=102, Resulting Numbers: [56, 102]
Generated Node #0,3,4: 59:[56, 102] Operation: 56+46=102
Moving to Node #0,1,0
Current State: 59:[59, 99], Operations: ['56-13=43', '56+43=99']
Exploring Operation: 59+99=158, Resulting Numbers: [158]
158,59 unequal: No Solution
Exploring Operation: 59*99=5841, Resulting Numbers: [5841]
5841,59 unequal: No Solution
Exploring Operation: 99-59=40, Resulting Numbers: [40]
40,59 unequal: No Solution
Moving to Node #0,4,3
Current State: 59:[59, 13], Operations: ['13+56=69', '69-56=13']
Exploring Operation: 59*13=767, Resulting Numbers: [767]
767,59 unequal: No Solution
Exploring Operation: 59+13=72, Resulting Numbers: [72]
72,59 unequal: No Solution
Exploring Operation: 59-13=46, Resulting Numbers: [46]
46,59 unequal: No Solution
Moving to Node #0,0,3
Current State: 59:[56, 16], Operations: ['13+59=72', '72-56=16']
Exploring Operation: 56-16=40, Resulting Numbers: [40]
40,59 unequal: No Solution
Exploring Operation: 56+16=72, Resulting Numbers: [72]
72,59 unequal: No Solution
Exploring Operation: 56*16=896, Resulting Numbers: [896]
896,59 unequal: No Solution
Moving to Node #0,2,4
Current State: 59:[59, 13], Operations: ['13+56=69', '69-56=13']
Exploring Operation: 59-13=46, Resulting Numbers: [46]
46,59 unequal: No Solution
Exploring Operation: 59+13=72, Resulting Numbers: [72]
72,59 unequal: No Solution
Exploring Operation: 59*13=767, Resulting Numbers: [767]
767,59 unequal: No Solution
Moving to Node #0,3,2
Current State: 59:[56, 102], Operations: ['59-13=46', '56+46=102']
Exploring Operation: 56+102=158, Resulting Numbers: [158]
158,59 unequal: No Solution
Exploring Operation: 102-56=46, Resulting Numbers: [46]
46,59 unequal: No Solution
Exploring Operation: 56*102=5712, Resulting Numbers: [5712]
5712,59 unequal: No Solution
Moving to Node #0,3,4
Current State: 59:[56, 102], Operations: ['59-13=46', '56+46=102']
Exploring Operation: 102-56=46, Resulting Numbers: [46]
46,59 unequal: No Solution
Exploring Operation: 56+102=158, Resulting Numbers: [158]
158,59 unequal: No Solution
Exploring Operation: 56*102=5712, Resulting Numbers: [5712]
5712,59 unequal: No Solution
Moving to Node #0,0,1
Current State: 59:[56, 16], Operations: ['13+59=72', '72-56=16']
Exploring Operation: 56+16=72, Resulting Numbers: [72]
72,59 unequal: No Solution
Exploring Operation: 56*16=896, Resulting Numbers: [896]
896,59 unequal: No Solution
Exploring Operation: 56-16=40, Resulting Numbers: [40]
40,59 unequal: No Solution
Moving to Node #0,1,3
Current State: 59:[56, 16], Operations: ['56-13=43', '59-43=16']
Exploring Operation: 56-16=40, Resulting Numbers: [40]
40,59 unequal: No Solution
Exploring Operation: 56*16=896, Resulting Numbers: [896]
896,59 unequal: No Solution
Exploring Operation: 56+16=72, Resulting Numbers: [72]
72,59 unequal: No Solution
Moving to Node #0,1,4
Current State: 59:[56, 102], Operations: ['56-13=43', '59+43=102']
Exploring Operation: 56+102=158, Resulting Numbers: [158]
158,59 unequal: No Solution
Exploring Operation: 102-56=46, Resulting Numbers: [46]
46,59 unequal: No Solution
Exploring Operation: 56*102=5712, Resulting Numbers: [5712]
5712,59 unequal: No Solution
Moving to Node #0,1,2
Current State: 59:[59, 13], Operations: ['56-13=43', '56-43=13']
Exploring Operation: 59+13=72, Resulting Numbers: [72]
72,59 unequal: No Solution
Exploring Operation: 59-13=46, Resulting Numbers: [46]
46,59 unequal: No Solution
Exploring Operation: 59*13=767, Resulting Numbers: [767]
767,59 unequal: No Solution
Moving to Node #0,4,4
Current State: 59:[56, 10], Operations: ['13+56=69', '69-59=10']
Exploring Operation: 56+10=66, Resulting Numbers: [66]
66,59 unequal: No Solution
Exploring Operation: 56*10=560, Resulting Numbers: [560]
560,59 unequal: No Solution
Exploring Operation: 56-10=46, Resulting Numbers: [46]
46,59 unequal: No Solution
Moving to Node #0,3,1
Current State: 59:[56, 10], Operations: ['59-13=46', '56-46=10']
Exploring Operation: 56-10=46, Resulting Numbers: [46]
46,59 unequal: No Solution
Exploring Operation: 56*10=560, Resulting Numbers: [560]
560,59 unequal: No Solution
Exploring Operation: 56+10=66, Resulting Numbers: [66]
66,59 unequal: No Solution
Moving to Node #0,3,0
Current State: 59:[56, 10], Operations: ['59-13=46', '56-46=10']
Exploring Operation: 56+10=66, Resulting Numbers: [66]
66,59 unequal: No Solution
Exploring Operation: 56*10=560, Resulting Numbers: [560]
560,59 unequal: No Solution
Exploring Operation: 56-10=46, Resulting Numbers: [46]
46,59 unequal: No Solution
Moving to Node #0,2,0
Current State: 59:[56, 10], Operations: ['13+56=69', '69-59=10']
Exploring Operation: 56-10=46, Resulting Numbers: [46]
46,59 unequal: No Solution
Exploring Operation: 56+10=66, Resulting Numbers: [66]
66,59 unequal: No Solution
Exploring Operation: 56*10=560, Resulting Numbers: [560]
560,59 unequal: No Solution
Moving to Node #0,3,3
Current State: 59:[46, 112], Operations: ['59-13=46', '56+56=112']
Exploring Operation: 46+112=158, Resulting Numbers: [158]
158,59 unequal: No Solution
Exploring Operation: 112-46=66, Resulting Numbers: [66]
66,59 unequal: No Solution
Exploring Operation: 46*112=5152, Resulting Numbers: [5152]
5152,59 unequal: No Solution
Moving to Node #0,0,0
Current State: 59:[72, 112], Operations: ['13+59=72', '56+56=112']
Exploring Operation: 72+112=184, Resulting Numbers: [184]
184,59 unequal: No Solution
Exploring Operation: 112-72=40, Resulting Numbers: [40]
40,59 unequal: No Solution
Exploring Operation: 72*112=8064, Resulting Numbers: [8064]
8064,59 unequal: No Solution
Moving to Node #0,2,1
Current State: 59:[69, 115], Operations: ['13+56=69', '56+59=115']
Exploring Operation: 69+115=184, Resulting Numbers: [184]
184,59 unequal: No Solution
Exploring Operation: 69*115=7935, Resulting Numbers: [7935]
7935,59 unequal: No Solution
Exploring Operation: 115-69=46, Resulting Numbers: [46]
46,59 unequal: No Solution
Moving to Node #0,2,3
Current State: 59:[69, 3], Operations: ['13+56=69', '59-56=3']
Exploring Operation: 69-3=66, Resulting Numbers: [66]
66,59 unequal: No Solution
Exploring Operation: 69*3=207, Resulting Numbers: [207]
207,59 unequal: No Solution
Exploring Operation: 69+3=72, Resulting Numbers: [72]
72,59 unequal: No Solution
Exploring Operation: 69/3=23, Resulting Numbers: [23]
23,59 unequal: No Solution
Moving to Node #0,4,0
Current State: 59:[69, 115], Operations: ['13+56=69', '59+56=115']
Exploring Operation: 115-69=46, Resulting Numbers: [46]
46,59 unequal: No Solution
Exploring Operation: 69*115=7935, Resulting Numbers: [7935]
7935,59 unequal: No Solution
Exploring Operation: 69+115=184, Resulting Numbers: [184]
184,59 unequal: No Solution
Moving to Node #0,4,1
Current State: 59:[69, 3], Operations: ['13+56=69', '59-56=3']
Exploring Operation: 69-3=66, Resulting Numbers: [66]
66,59 unequal: No Solution
Exploring Operation: 69+3=72, Resulting Numbers: [72]
72,59 unequal: No Solution
Exploring Operation: 69/3=23, Resulting Numbers: [23]
23,59 unequal: No Solution
Exploring Operation: 69*3=207, Resulting Numbers: [207]
207,59 unequal: No Solution
Moving to Node #0,2,2
Current State: 59:[59, 125], Operations: ['13+56=69', '56+69=125']
Exploring Operation: 59+125=184, Resulting Numbers: [184]
184,59 unequal: No Solution
Exploring Operation: 125-59=66, Resulting Numbers: [66]
66,59 unequal: No Solution
Exploring Operation: 59*125=7375, Resulting Numbers: [7375]
7375,59 unequal: No Solution
Moving to Node #0,4,2
Current State: 59:[59, 125], Operations: ['13+56=69', '56+69=125']
Exploring Operation: 59+125=184, Resulting Numbers: [184]
184,59 unequal: No Solution
Exploring Operation: 59*125=7375, Resulting Numbers: [7375]
7375,59 unequal: No Solution
Exploring Operation: 125-59=66, Resulting Numbers: [66]
66,59 unequal: No Solution
Moving to Node #0,0,4
Current State: 59:[72, 1], Operations: ['13+59=72', '56/56=1']
Exploring Operation: 72+1=73, Resulting Numbers: [73]
73,59 unequal: No Solution
Exploring Operation: 72-1=71, Resulting Numbers: [71]
71,59 unequal: No Solution
Exploring Operation: 72*1=72, Resulting Numbers: [72]
72,59 unequal: No Solution
Exploring Operation: 72/1=72, Resulting Numbers: [72]
72,59 unequal: No Solution
Moving to Node #0,0,2
Current State: 59:[72, 0], Operations: ['13+59=72', '56-56=0']
Exploring Operation: 72*0=0, Resulting Numbers: [0]
0,59 unequal: No Solution
Exploring Operation: 72-0=72, Resulting Numbers: [72]
72,59 unequal: No Solution
Exploring Operation: 72+0=72, Resulting Numbers: [72]
72,59 unequal: No Solution
Moving to Node #0,1,1
Current State: 59:[43, 115], Operations: ['56-13=43', '59+56=115']
Exploring Operation: 43+115=158, Resulting Numbers: [158]
158,59 unequal: No Solution
Exploring Operation: 115-43=72, Resulting Numbers: [72]
72,59 unequal: No Solution
Exploring Operation: 43*115=4945, Resulting Numbers: [4945]
4945,59 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
67,
16,
50,
12
] | 75 | [
"67+50=117",
"16*12=192",
"192-117=75"
] | Current State: 75:[67, 16, 50, 12], Operations: []
Exploring Operation: 67+50=117, Resulting Numbers: [16, 12, 117]
Generated Node #2: [16, 12, 117] from Operation: 67+50=117
Current State: 75:[16, 12, 117], Operations: ['67+50=117']
Exploring Operation: 16*12=192, Resulting Numbers: [117, 192]
Generated Node #3: [117, 192] from Operation: 16*12=192
Current State: 75:[117, 192], Operations: ['67+50=117', '16*12=192']
Exploring Operation: 192-117=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[67, 16, 50, 12], Operations: []
Exploring Operation: 16+50=66, Resulting Numbers: [67, 12, 66]
Generated Node #0,0: 75:[67, 12, 66] Operation: 16+50=66
Exploring Operation: 67-50=17, Resulting Numbers: [16, 12, 17]
Generated Node #0,1: 75:[16, 12, 17] Operation: 67-50=17
Start Sub Search at level 1: Moving to Node #0,1
Current State: 75:[16, 12, 17], Operations: ['67-50=17']
Exploring Operation: 17-12=5, Resulting Numbers: [16, 5]
Generated Node #0,1,0: 75:[16, 5] Operation: 17-12=5
Exploring Operation: 16-12=4, Resulting Numbers: [17, 4]
Generated Node #0,1,1: 75:[17, 4] Operation: 16-12=4
Moving to Node #0,1,0
Current State: 75:[16, 5], Operations: ['67-50=17', '17-12=5']
Exploring Operation: 16+5=21, Resulting Numbers: [21]
21,75 unequal: No Solution
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,75 unequal: No Solution
Moving to Node #0,1,1
Current State: 75:[17, 4], Operations: ['67-50=17', '16-12=4']
Exploring Operation: 17+4=21, Resulting Numbers: [21]
21,75 unequal: No Solution
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,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:[67, 12, 66], Operations: ['16+50=66']
Exploring Operation: 67-66=1, Resulting Numbers: [12, 1]
Generated Node #0,0,0: 75:[12, 1] Operation: 67-66=1
Exploring Operation: 12+66=78, Resulting Numbers: [67, 78]
Generated Node #0,0,1: 75:[67, 78] Operation: 12+66=78
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 75:[12, 1], Operations: ['16+50=66', '67-66=1']
Exploring Operation: 12+1=13, Resulting Numbers: [13]
13,75 unequal: No Solution
Exploring Operation: 12*1=12, Resulting Numbers: [12]
12,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:[67, 78], Operations: ['16+50=66', '12+66=78']
Exploring Operation: 78-67=11, Resulting Numbers: [11]
11,75 unequal: No Solution
Exploring Operation: 67+78=145, Resulting Numbers: [145]
145,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
19,
78,
78,
54
] | 73 | [
"19+78=97",
"78-54=24",
"97-24=73"
] | Current State: 73:[19, 78, 78, 54], Operations: []
Exploring Operation: 19+78=97, Resulting Numbers: [54, 97]
Generated Node #2: [54, 97] from Operation: 19+78=97
Current State: 73:[54, 97], Operations: ['19+78=97']
Exploring Operation: 78-54=24, Resulting Numbers: [97, 24]
Generated Node #3: [97, 24] from Operation: 78-54=24
Current State: 73:[97, 24], Operations: ['19+78=97', '78-54=24']
Exploring Operation: 97-24=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[19, 78, 78, 54], Operations: []
Exploring Operation: 78-19=59, Resulting Numbers: [78, 54, 59]
Generated Node #0,0: 73:[78, 54, 59] Operation: 78-19=59
Exploring Operation: 78-19=59, Resulting Numbers: [78, 54, 59]
Generated Node #0,1: 73:[78, 54, 59] Operation: 78-19=59
Exploring Operation: 19+54=73, Resulting Numbers: [78, 78, 73]
Generated Node #0,2: 73:[78, 78, 73] Operation: 19+54=73
Moving to Node #0,2
Current State: 73:[78, 78, 73], Operations: ['19+54=73']
Exploring Operation: 78-73=5, Resulting Numbers: [78, 5]
Generated Node #0,2,0: 73:[78, 5] Operation: 78-73=5
Exploring Operation: 78-78=0, Resulting Numbers: [73, 0]
Generated Node #0,2,1: 73:[73, 0] Operation: 78-78=0
Exploring Operation: 78/78=1, Resulting Numbers: [73, 1]
Generated Node #0,2,2: 73:[73, 1] Operation: 78/78=1
Moving to Node #0,0
Current State: 73:[78, 54, 59], Operations: ['78-19=59']
Exploring Operation: 78-54=24, Resulting Numbers: [59, 24]
Generated Node #0,0,0: 73:[59, 24] Operation: 78-54=24
Exploring Operation: 78+54=132, Resulting Numbers: [59, 132]
Generated Node #0,0,1: 73:[59, 132] Operation: 78+54=132
Exploring Operation: 54+59=113, Resulting Numbers: [78, 113]
Generated Node #0,0,2: 73:[78, 113] Operation: 54+59=113
Moving to Node #0,1
Current State: 73:[78, 54, 59], Operations: ['78-19=59']
Exploring Operation: 54+59=113, Resulting Numbers: [78, 113]
Generated Node #0,1,0: 73:[78, 113] Operation: 54+59=113
Exploring Operation: 78+54=132, Resulting Numbers: [59, 132]
Generated Node #0,1,1: 73:[59, 132] Operation: 78+54=132
Exploring Operation: 78-54=24, Resulting Numbers: [59, 24]
Generated Node #0,1,2: 73:[59, 24] Operation: 78-54=24
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 73:[78, 113], Operations: ['78-19=59', '54+59=113']
Exploring Operation: 78+113=191, Resulting Numbers: [191]
191,73 unequal: No Solution
Exploring Operation: 78*113=8814, Resulting Numbers: [8814]
8814,73 unequal: No Solution
Exploring Operation: 113-78=35, Resulting Numbers: [35]
35,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,2
Current State: 73:[59, 24], Operations: ['78-19=59', '78-54=24']
Exploring Operation: 59-24=35, Resulting Numbers: [35]
35,73 unequal: No Solution
Exploring Operation: 59*24=1416, Resulting Numbers: [1416]
1416,73 unequal: No Solution
Exploring Operation: 59+24=83, Resulting Numbers: [83]
83,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,1
Current State: 73:[59, 132], Operations: ['78-19=59', '78+54=132']
Exploring Operation: 132-59=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[19, 78, 78, 54], Operations: []
Exploring Operation: 78-19=59, Resulting Numbers: [78, 54, 59]
Generated Node #0,1: 73:[78, 54, 59] Operation: 78-19=59
Moving to Node #0,1
Current State: 73:[78, 54, 59], Operations: ['78-19=59']
Exploring Operation: 78+54=132, Resulting Numbers: [59, 132]
Generated Node #0,1,1: 73:[59, 132] Operation: 78+54=132
Moving to Node #0,1,1
Current State: 73:[59, 132], Operations: ['78-19=59', '78+54=132']
Exploring Operation: 132-59=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_3 | mult_heuristic |
[
36,
29,
19,
62
] | 71 | [
"36-29=7",
"19*7=133",
"133-62=71"
] | Current State: 71:[36, 29, 19, 62], Operations: []
Exploring Operation: 36-29=7, Resulting Numbers: [19, 62, 7]
Generated Node #2: [19, 62, 7] from Operation: 36-29=7
Current State: 71:[19, 62, 7], Operations: ['36-29=7']
Exploring Operation: 19*7=133, Resulting Numbers: [62, 133]
Generated Node #3: [62, 133] from Operation: 19*7=133
Current State: 71:[62, 133], Operations: ['36-29=7', '19*7=133']
Exploring Operation: 133-62=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[36, 29, 19, 62], Operations: []
Exploring Operation: 36+29=65, Resulting Numbers: [19, 62, 65]
Generated Node #0,0: 71:[19, 62, 65] Operation: 36+29=65
Exploring Operation: 36+19=55, Resulting Numbers: [29, 62, 55]
Generated Node #0,1: 71:[29, 62, 55] Operation: 36+19=55
Exploring Operation: 19+62=81, Resulting Numbers: [36, 29, 81]
Generated Node #0,2: 71:[36, 29, 81] Operation: 19+62=81
Exploring Operation: 29+19=48, Resulting Numbers: [36, 62, 48]
Generated Node #0,3: 71:[36, 62, 48] Operation: 29+19=48
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[19, 62, 65], Operations: ['36+29=65']
Exploring Operation: 19+62=81, Resulting Numbers: [65, 81]
Generated Node #0,0,0: 71:[65, 81] Operation: 19+62=81
Exploring Operation: 19+65=84, Resulting Numbers: [62, 84]
Generated Node #0,0,1: 71:[62, 84] Operation: 19+65=84
Exploring Operation: 65-19=46, Resulting Numbers: [62, 46]
Generated Node #0,0,2: 71:[62, 46] Operation: 65-19=46
Exploring Operation: 62-19=43, Resulting Numbers: [65, 43]
Generated Node #0,0,3: 71:[65, 43] Operation: 62-19=43
Moving to Node #0,0,0
Current State: 71:[65, 81], Operations: ['36+29=65', '19+62=81']
Exploring Operation: 81-65=16, Resulting Numbers: [16]
16,71 unequal: No Solution
Exploring Operation: 65*81=5265, Resulting Numbers: [5265]
5265,71 unequal: No Solution
Exploring Operation: 65+81=146, Resulting Numbers: [146]
146,71 unequal: No Solution
Moving to Node #0,0,1
Current State: 71:[62, 84], Operations: ['36+29=65', '19+65=84']
Exploring Operation: 62+84=146, Resulting Numbers: [146]
146,71 unequal: No Solution
Exploring Operation: 62*84=5208, Resulting Numbers: [5208]
5208,71 unequal: No Solution
Exploring Operation: 84-62=22, Resulting Numbers: [22]
22,71 unequal: No Solution
Moving to Node #0,0,3
Current State: 71:[65, 43], Operations: ['36+29=65', '62-19=43']
Exploring Operation: 65+43=108, Resulting Numbers: [108]
108,71 unequal: No Solution
Exploring Operation: 65*43=2795, Resulting Numbers: [2795]
2795,71 unequal: No Solution
Exploring Operation: 65-43=22, Resulting Numbers: [22]
22,71 unequal: No Solution
Moving to Node #0,0,2
Current State: 71:[62, 46], Operations: ['36+29=65', '65-19=46']
Exploring Operation: 62*46=2852, Resulting Numbers: [2852]
2852,71 unequal: No Solution
Exploring Operation: 62+46=108, Resulting Numbers: [108]
108,71 unequal: No Solution
Exploring Operation: 62-46=16, Resulting Numbers: [16]
16,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:[29, 62, 55], Operations: ['36+19=55']
Exploring Operation: 29+62=91, Resulting Numbers: [55, 91]
Generated Node #0,1,0: 71:[55, 91] Operation: 29+62=91
Exploring Operation: 62-29=33, Resulting Numbers: [55, 33]
Generated Node #0,1,1: 71:[55, 33] Operation: 62-29=33
Exploring Operation: 55-29=26, Resulting Numbers: [62, 26]
Generated Node #0,1,2: 71:[62, 26] Operation: 55-29=26
Exploring Operation: 29+55=84, Resulting Numbers: [62, 84]
Generated Node #0,1,3: 71:[62, 84] Operation: 29+55=84
Moving to Node #0,1,3
Current State: 71:[62, 84], Operations: ['36+19=55', '29+55=84']
Exploring Operation: 84-62=22, Resulting Numbers: [22]
22,71 unequal: No Solution
Exploring Operation: 62+84=146, Resulting Numbers: [146]
146,71 unequal: No Solution
Exploring Operation: 62*84=5208, Resulting Numbers: [5208]
5208,71 unequal: No Solution
Moving to Node #0,1,0
Current State: 71:[55, 91], Operations: ['36+19=55', '29+62=91']
Exploring Operation: 55+91=146, Resulting Numbers: [146]
146,71 unequal: No Solution
Exploring Operation: 91-55=36, Resulting Numbers: [36]
36,71 unequal: No Solution
Exploring Operation: 55*91=5005, Resulting Numbers: [5005]
5005,71 unequal: No Solution
Moving to Node #0,1,2
Current State: 71:[62, 26], Operations: ['36+19=55', '55-29=26']
Exploring Operation: 62-26=36, Resulting Numbers: [36]
36,71 unequal: No Solution
Exploring Operation: 62+26=88, Resulting Numbers: [88]
88,71 unequal: No Solution
Exploring Operation: 62*26=1612, Resulting Numbers: [1612]
1612,71 unequal: No Solution
Moving to Node #0,1,1
Current State: 71:[55, 33], Operations: ['36+19=55', '62-29=33']
Exploring Operation: 55+33=88, Resulting Numbers: [88]
88,71 unequal: No Solution
Exploring Operation: 55-33=22, Resulting Numbers: [22]
22,71 unequal: No Solution
Exploring Operation: 55*33=1815, Resulting Numbers: [1815]
1815,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,3
Current State: 71:[36, 62, 48], Operations: ['29+19=48']
Exploring Operation: 48-36=12, Resulting Numbers: [62, 12]
Generated Node #0,3,0: 71:[62, 12] Operation: 48-36=12
Exploring Operation: 36+48=84, Resulting Numbers: [62, 84]
Generated Node #0,3,1: 71:[62, 84] Operation: 36+48=84
Exploring Operation: 36+62=98, Resulting Numbers: [48, 98]
Generated Node #0,3,2: 71:[48, 98] Operation: 36+62=98
Exploring Operation: 62-36=26, Resulting Numbers: [48, 26]
Generated Node #0,3,3: 71:[48, 26] Operation: 62-36=26
Moving to Node #0,3,1
Current State: 71:[62, 84], Operations: ['29+19=48', '36+48=84']
Exploring Operation: 62+84=146, Resulting Numbers: [146]
146,71 unequal: No Solution
Exploring Operation: 84-62=22, Resulting Numbers: [22]
22,71 unequal: No Solution
Exploring Operation: 62*84=5208, Resulting Numbers: [5208]
5208,71 unequal: No Solution
Moving to Node #0,3,2
Current State: 71:[48, 98], Operations: ['29+19=48', '36+62=98']
Exploring Operation: 98-48=50, Resulting Numbers: [50]
50,71 unequal: No Solution
Exploring Operation: 48+98=146, Resulting Numbers: [146]
146,71 unequal: No Solution
Exploring Operation: 48*98=4704, Resulting Numbers: [4704]
4704,71 unequal: No Solution
Moving to Node #0,3,3
Current State: 71:[48, 26], Operations: ['29+19=48', '62-36=26']
Exploring Operation: 48+26=74, Resulting Numbers: [74]
74,71 unequal: No Solution
Exploring Operation: 48*26=1248, Resulting Numbers: [1248]
1248,71 unequal: No Solution
Exploring Operation: 48-26=22, Resulting Numbers: [22]
22,71 unequal: No Solution
Moving to Node #0,3,0
Current State: 71:[62, 12], Operations: ['29+19=48', '48-36=12']
Exploring Operation: 62*12=744, Resulting Numbers: [744]
744,71 unequal: No Solution
Exploring Operation: 62-12=50, Resulting Numbers: [50]
50,71 unequal: No Solution
Exploring Operation: 62+12=74, Resulting Numbers: [74]
74,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,2
Current State: 71:[36, 29, 81], Operations: ['19+62=81']
Exploring Operation: 36-29=7, Resulting Numbers: [81, 7]
Generated Node #0,2,0: 71:[81, 7] Operation: 36-29=7
Exploring Operation: 81-29=52, Resulting Numbers: [36, 52]
Generated Node #0,2,1: 71:[36, 52] Operation: 81-29=52
Exploring Operation: 36+29=65, Resulting Numbers: [81, 65]
Generated Node #0,2,2: 71:[81, 65] Operation: 36+29=65
Exploring Operation: 81-36=45, Resulting Numbers: [29, 45]
Generated Node #0,2,3: 71:[29, 45] Operation: 81-36=45
Moving to Node #0,2,2
Current State: 71:[81, 65], Operations: ['19+62=81', '36+29=65']
Exploring Operation: 81-65=16, Resulting Numbers: [16]
16,71 unequal: No Solution
Exploring Operation: 81+65=146, Resulting Numbers: [146]
146,71 unequal: No Solution
Exploring Operation: 81*65=5265, Resulting Numbers: [5265]
5265,71 unequal: No Solution
Moving to Node #0,2,1
Current State: 71:[36, 52], Operations: ['19+62=81', '81-29=52']
Exploring Operation: 36*52=1872, Resulting Numbers: [1872]
1872,71 unequal: No Solution
Exploring Operation: 36+52=88, Resulting Numbers: [88]
88,71 unequal: No Solution
Exploring Operation: 52-36=16, Resulting Numbers: [16]
16,71 unequal: No Solution
Moving to Node #0,2,3
Current State: 71:[29, 45], Operations: ['19+62=81', '81-36=45']
Exploring Operation: 29+45=74, Resulting Numbers: [74]
74,71 unequal: No Solution
Exploring Operation: 29*45=1305, Resulting Numbers: [1305]
1305,71 unequal: No Solution
Exploring Operation: 45-29=16, Resulting Numbers: [16]
16,71 unequal: No Solution
Moving to Node #0,2,0
Current State: 71:[81, 7], Operations: ['19+62=81', '36-29=7']
Exploring Operation: 81*7=567, Resulting Numbers: [567]
567,71 unequal: No Solution
Exploring Operation: 81+7=88, Resulting Numbers: [88]
88,71 unequal: No Solution
Exploring Operation: 81-7=74, Resulting Numbers: [74]
74,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
82,
1,
69,
2
] | 13 | [
"82-69=13",
"2-1=1",
"13*1=13"
] | Current State: 13:[82, 1, 69, 2], Operations: []
Exploring Operation: 82-69=13, Resulting Numbers: [1, 2, 13]
Generated Node #2: [1, 2, 13] from Operation: 82-69=13
Current State: 13:[1, 2, 13], Operations: ['82-69=13']
Exploring Operation: 2-1=1, Resulting Numbers: [13, 1]
Generated Node #3: [13, 1] from Operation: 2-1=1
Current State: 13:[13, 1], Operations: ['82-69=13', '2-1=1']
Exploring Operation: 13*1=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[82, 1, 69, 2], Operations: []
Exploring Operation: 82-69=13, Resulting Numbers: [1, 2, 13]
Generated Node #0,0: 13:[1, 2, 13] Operation: 82-69=13
Moving to Node #0,0
Current State: 13:[1, 2, 13], Operations: ['82-69=13']
Exploring Operation: 1+2=3, Resulting Numbers: [13, 3]
Generated Node #0,0,0: 13:[13, 3] Operation: 1+2=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 13:[13, 3], Operations: ['82-69=13', '1+2=3']
Exploring Operation: 13+3=16, Resulting Numbers: [16]
16,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
40,
41,
80,
31
] | 30 | [
"40+41=81",
"80+31=111",
"111-81=30"
] | Current State: 30:[40, 41, 80, 31], Operations: []
Exploring Operation: 40+41=81, Resulting Numbers: [80, 31, 81]
Generated Node #2: [80, 31, 81] from Operation: 40+41=81
Current State: 30:[80, 31, 81], Operations: ['40+41=81']
Exploring Operation: 80+31=111, Resulting Numbers: [81, 111]
Generated Node #3: [81, 111] from Operation: 80+31=111
Current State: 30:[81, 111], Operations: ['40+41=81', '80+31=111']
Exploring Operation: 111-81=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[40, 41, 80, 31], Operations: []
Exploring Operation: 80/40=2, Resulting Numbers: [41, 31, 2]
Generated Node #0,0: 30:[41, 31, 2] Operation: 80/40=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 30:[41, 31, 2], Operations: ['80/40=2']
Exploring Operation: 41-31=10, Resulting Numbers: [2, 10]
Generated Node #0,0,0: 30:[2, 10] Operation: 41-31=10
Moving to Node #0,0,0
Current State: 30:[2, 10], Operations: ['80/40=2', '41-31=10']
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,30 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 |
[
10,
56,
16,
86
] | 36 | [
"10+56=66",
"16+86=102",
"102-66=36"
] | Current State: 36:[10, 56, 16, 86], Operations: []
Exploring Operation: 10+56=66, Resulting Numbers: [16, 86, 66]
Generated Node #2: [16, 86, 66] from Operation: 10+56=66
Current State: 36:[16, 86, 66], Operations: ['10+56=66']
Exploring Operation: 16+86=102, Resulting Numbers: [66, 102]
Generated Node #3: [66, 102] from Operation: 16+86=102
Current State: 36:[66, 102], Operations: ['10+56=66', '16+86=102']
Exploring Operation: 102-66=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[10, 56, 16, 86], Operations: []
Exploring Operation: 86-56=30, Resulting Numbers: [10, 16, 30]
Generated Node #0,0: 36:[10, 16, 30] Operation: 86-56=30
Exploring Operation: 56-16=40, Resulting Numbers: [10, 86, 40]
Generated Node #0,1: 36:[10, 86, 40] Operation: 56-16=40
Exploring Operation: 56-10=46, Resulting Numbers: [16, 86, 46]
Generated Node #0,2: 36:[16, 86, 46] Operation: 56-10=46
Exploring Operation: 86-16=70, Resulting Numbers: [10, 56, 70]
Generated Node #0,3: 36:[10, 56, 70] Operation: 86-16=70
Moving to Node #0,0
Current State: 36:[10, 16, 30], Operations: ['86-56=30']
Exploring Operation: 16-10=6, Resulting Numbers: [30, 6]
Generated Node #0,0,0: 36:[30, 6] Operation: 16-10=6
Exploring Operation: 30/10=3, Resulting Numbers: [16, 3]
Generated Node #0,0,1: 36:[16, 3] Operation: 30/10=3
Exploring Operation: 30-16=14, Resulting Numbers: [10, 14]
Generated Node #0,0,2: 36:[10, 14] Operation: 30-16=14
Exploring Operation: 30-10=20, Resulting Numbers: [16, 20]
Generated Node #0,0,3: 36:[16, 20] Operation: 30-10=20
Moving to Node #0,3
Current State: 36:[10, 56, 70], Operations: ['86-16=70']
Exploring Operation: 70-10=60, Resulting Numbers: [56, 60]
Generated Node #0,3,0: 36:[56, 60] Operation: 70-10=60
Exploring Operation: 70/10=7, Resulting Numbers: [56, 7]
Generated Node #0,3,1: 36:[56, 7] Operation: 70/10=7
Exploring Operation: 56-10=46, Resulting Numbers: [70, 46]
Generated Node #0,3,2: 36:[70, 46] Operation: 56-10=46
Exploring Operation: 70-56=14, Resulting Numbers: [10, 14]
Generated Node #0,3,3: 36:[10, 14] Operation: 70-56=14
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 36:[10, 14], Operations: ['86-16=70', '70-56=14']
Exploring Operation: 10+14=24, Resulting Numbers: [24]
24,36 unequal: No Solution
Exploring Operation: 10*14=140, Resulting Numbers: [140]
140,36 unequal: No Solution
Exploring Operation: 14-10=4, Resulting Numbers: [4]
4,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 36:[56, 7], Operations: ['86-16=70', '70/10=7']
Exploring Operation: 56+7=63, Resulting Numbers: [63]
63,36 unequal: No Solution
Exploring Operation: 56/7=8, Resulting Numbers: [8]
8,36 unequal: No Solution
Exploring Operation: 56-7=49, Resulting Numbers: [49]
49,36 unequal: No Solution
Exploring Operation: 56*7=392, Resulting Numbers: [392]
392,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 36:[56, 60], Operations: ['86-16=70', '70-10=60']
Exploring Operation: 56*60=3360, Resulting Numbers: [3360]
3360,36 unequal: No Solution
Exploring Operation: 60-56=4, Resulting Numbers: [4]
4,36 unequal: No Solution
Exploring Operation: 56+60=116, Resulting Numbers: [116]
116,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 36:[70, 46], Operations: ['86-16=70', '56-10=46']
Exploring Operation: 70+46=116, Resulting Numbers: [116]
116,36 unequal: No Solution
Exploring Operation: 70-46=24, Resulting Numbers: [24]
24,36 unequal: No Solution
Exploring Operation: 70*46=3220, Resulting Numbers: [3220]
3220,36 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: 36:[10, 86, 40], Operations: ['56-16=40']
Exploring Operation: 86-10=76, Resulting Numbers: [40, 76]
Generated Node #0,1,0: 36:[40, 76] Operation: 86-10=76
Exploring Operation: 86-40=46, Resulting Numbers: [10, 46]
Generated Node #0,1,1: 36:[10, 46] Operation: 86-40=46
Exploring Operation: 40/10=4, Resulting Numbers: [86, 4]
Generated Node #0,1,2: 36:[86, 4] Operation: 40/10=4
Exploring Operation: 40-10=30, Resulting Numbers: [86, 30]
Generated Node #0,1,3: 36:[86, 30] Operation: 40-10=30
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 36:[10, 46], Operations: ['56-16=40', '86-40=46']
Exploring Operation: 10*46=460, Resulting Numbers: [460]
460,36 unequal: No Solution
Exploring Operation: 46-10=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[10, 56, 16, 86], Operations: []
Exploring Operation: 56-16=40, Resulting Numbers: [10, 86, 40]
Generated Node #0,1: 36:[10, 86, 40] Operation: 56-16=40
Moving to Node #0,1
Current State: 36:[10, 86, 40], Operations: ['56-16=40']
Exploring Operation: 86-40=46, Resulting Numbers: [10, 46]
Generated Node #0,1,1: 36:[10, 46] Operation: 86-40=46
Moving to Node #0,1,1
Current State: 36:[10, 46], Operations: ['56-16=40', '86-40=46']
Exploring Operation: 46-10=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.969618 | hs_4 | sum_heuristic |
[
58,
66,
26,
74
] | 76 | [
"58+66=124",
"74-26=48",
"124-48=76"
] | Current State: 76:[58, 66, 26, 74], Operations: []
Exploring Operation: 58+66=124, Resulting Numbers: [26, 74, 124]
Generated Node #2: [26, 74, 124] from Operation: 58+66=124
Current State: 76:[26, 74, 124], Operations: ['58+66=124']
Exploring Operation: 74-26=48, Resulting Numbers: [124, 48]
Generated Node #3: [124, 48] from Operation: 74-26=48
Current State: 76:[124, 48], Operations: ['58+66=124', '74-26=48']
Exploring Operation: 124-48=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[58, 66, 26, 74], Operations: []
Exploring Operation: 58+26=84, Resulting Numbers: [66, 74, 84]
Generated Node #0,0: 76:[66, 74, 84] Operation: 58+26=84
Exploring Operation: 66-58=8, Resulting Numbers: [26, 74, 8]
Generated Node #0,1: 76:[26, 74, 8] Operation: 66-58=8
Exploring Operation: 58-26=32, Resulting Numbers: [66, 74, 32]
Generated Node #0,2: 76:[66, 74, 32] Operation: 58-26=32
Moving to Node #0,1
Current State: 76:[26, 74, 8], Operations: ['66-58=8']
Exploring Operation: 26-8=18, Resulting Numbers: [74, 18]
Generated Node #0,1,0: 76:[74, 18] Operation: 26-8=18
Exploring Operation: 26+8=34, Resulting Numbers: [74, 34]
Generated Node #0,1,1: 76:[74, 34] Operation: 26+8=34
Exploring Operation: 74+8=82, Resulting Numbers: [26, 82]
Generated Node #0,1,2: 76:[26, 82] Operation: 74+8=82
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 76:[74, 18], Operations: ['66-58=8', '26-8=18']
Exploring Operation: 74+18=92, Resulting Numbers: [92]
92,76 unequal: No Solution
Exploring Operation: 74*18=1332, Resulting Numbers: [1332]
1332,76 unequal: No Solution
Exploring Operation: 74-18=56, Resulting Numbers: [56]
56,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 76:[74, 34], Operations: ['66-58=8', '26+8=34']
Exploring Operation: 74*34=2516, Resulting Numbers: [2516]
2516,76 unequal: No Solution
Exploring Operation: 74-34=40, Resulting Numbers: [40]
40,76 unequal: No Solution
Exploring Operation: 74+34=108, Resulting Numbers: [108]
108,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,1,2
Current State: 76:[26, 82], Operations: ['66-58=8', '74+8=82']
Exploring Operation: 26*82=2132, Resulting Numbers: [2132]
2132,76 unequal: No Solution
Exploring Operation: 26+82=108, Resulting Numbers: [108]
108,76 unequal: No Solution
Exploring Operation: 82-26=56, Resulting Numbers: [56]
56,76 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: 76:[66, 74, 32], Operations: ['58-26=32']
Exploring Operation: 66-32=34, Resulting Numbers: [74, 34]
Generated Node #0,2,0: 76:[74, 34] Operation: 66-32=34
Exploring Operation: 74-32=42, Resulting Numbers: [66, 42]
Generated Node #0,2,1: 76:[66, 42] Operation: 74-32=42
Exploring Operation: 74-66=8, Resulting Numbers: [32, 8]
Generated Node #0,2,2: 76:[32, 8] Operation: 74-66=8
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 76:[74, 34], Operations: ['58-26=32', '66-32=34']
Exploring Operation: 74-34=40, Resulting Numbers: [40]
40,76 unequal: No Solution
Exploring Operation: 74*34=2516, Resulting Numbers: [2516]
2516,76 unequal: No Solution
Exploring Operation: 74+34=108, Resulting Numbers: [108]
108,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,2,2
Current State: 76:[32, 8], Operations: ['58-26=32', '74-66=8']
Exploring Operation: 32/8=4, Resulting Numbers: [4]
4,76 unequal: No Solution
Exploring Operation: 32+8=40, Resulting Numbers: [40]
40,76 unequal: No Solution
Exploring Operation: 32-8=24, Resulting Numbers: [24]
24,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,2,1
Current State: 76:[66, 42], Operations: ['58-26=32', '74-32=42']
Exploring Operation: 66-42=24, Resulting Numbers: [24]
24,76 unequal: No Solution
Exploring Operation: 66+42=108, Resulting Numbers: [108]
108,76 unequal: No Solution
Exploring Operation: 66*42=2772, Resulting Numbers: [2772]
2772,76 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: 76:[66, 74, 84], Operations: ['58+26=84']
Exploring Operation: 84-74=10, Resulting Numbers: [66, 10]
Generated Node #0,0,0: 76:[66, 10] Operation: 84-74=10
Exploring Operation: 74-66=8, Resulting Numbers: [84, 8]
Generated Node #0,0,1: 76:[84, 8] Operation: 74-66=8
Exploring Operation: 84-66=18, Resulting Numbers: [74, 18]
Generated Node #0,0,2: 76:[74, 18] Operation: 84-66=18
Moving to Node #0,0,2
Current State: 76:[74, 18], Operations: ['58+26=84', '84-66=18']
Exploring Operation: 74*18=1332, Resulting Numbers: [1332]
1332,76 unequal: No Solution
Exploring Operation: 74+18=92, Resulting Numbers: [92]
92,76 unequal: No Solution
Exploring Operation: 74-18=56, Resulting Numbers: [56]
56,76 unequal: No Solution
Moving to Node #0,0,1
Current State: 76:[84, 8], Operations: ['58+26=84', '74-66=8']
Exploring Operation: 84-8=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[58, 66, 26, 74], Operations: []
Exploring Operation: 58+26=84, Resulting Numbers: [66, 74, 84]
Generated Node #0,0: 76:[66, 74, 84] Operation: 58+26=84
Moving to Node #0,0
Current State: 76:[66, 74, 84], Operations: ['58+26=84']
Exploring Operation: 74-66=8, Resulting Numbers: [84, 8]
Generated Node #0,0,1: 76:[84, 8] Operation: 74-66=8
Moving to Node #0,0,1
Current State: 76:[84, 8], Operations: ['58+26=84', '74-66=8']
Exploring Operation: 84-8=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 0.967014 | hs_3 | mult_heuristic |
[
66,
57,
29,
38
] | 18 | [
"66-57=9",
"38-29=9",
"9+9=18"
] | Current State: 18:[66, 57, 29, 38], Operations: []
Exploring Operation: 66-57=9, Resulting Numbers: [29, 38, 9]
Generated Node #2: [29, 38, 9] from Operation: 66-57=9
Current State: 18:[29, 38, 9], Operations: ['66-57=9']
Exploring Operation: 38-29=9, Resulting Numbers: [9, 9]
Generated Node #3: [9, 9] from Operation: 38-29=9
Current State: 18:[9, 9], Operations: ['66-57=9', '38-29=9']
Exploring Operation: 9+9=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[66, 57, 29, 38], Operations: []
Exploring Operation: 66-57=9, Resulting Numbers: [29, 38, 9]
Generated Node #0,0: 18:[29, 38, 9] Operation: 66-57=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 18:[29, 38, 9], Operations: ['66-57=9']
Exploring Operation: 38-29=9, Resulting Numbers: [9, 9]
Generated Node #0,0,0: 18:[9, 9] Operation: 38-29=9
Moving to Node #0,0,0
Current State: 18:[9, 9], Operations: ['66-57=9', '38-29=9']
Exploring Operation: 9+9=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[66, 57, 29, 38], Operations: []
Exploring Operation: 66-57=9, Resulting Numbers: [29, 38, 9]
Generated Node #0,0: 18:[29, 38, 9] Operation: 66-57=9
Moving to Node #0,0
Current State: 18:[29, 38, 9], Operations: ['66-57=9']
Exploring Operation: 38-29=9, Resulting Numbers: [9, 9]
Generated Node #0,0,0: 18:[9, 9] Operation: 38-29=9
Moving to Node #0,0,0
Current State: 18:[9, 9], Operations: ['66-57=9', '38-29=9']
Exploring Operation: 9+9=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
40,
91,
10,
65
] | 56 | [
"40+91=131",
"10+65=75",
"131-75=56"
] | Current State: 56:[40, 91, 10, 65], Operations: []
Exploring Operation: 40+91=131, Resulting Numbers: [10, 65, 131]
Generated Node #2: [10, 65, 131] from Operation: 40+91=131
Current State: 56:[10, 65, 131], Operations: ['40+91=131']
Exploring Operation: 10+65=75, Resulting Numbers: [131, 75]
Generated Node #3: [131, 75] from Operation: 10+65=75
Current State: 56:[131, 75], Operations: ['40+91=131', '10+65=75']
Exploring Operation: 131-75=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[40, 91, 10, 65], Operations: []
Exploring Operation: 91-40=51, Resulting Numbers: [10, 65, 51]
Generated Node #0,0: 56:[10, 65, 51] Operation: 91-40=51
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[10, 65, 51], Operations: ['91-40=51']
Exploring Operation: 65-51=14, Resulting Numbers: [10, 14]
Generated Node #0,0,0: 56:[10, 14] Operation: 65-51=14
Moving to Node #0,0,0
Current State: 56:[10, 14], Operations: ['91-40=51', '65-51=14']
Exploring Operation: 14-10=4, Resulting Numbers: [4]
4,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
71,
23,
82,
28
] | 62 | [
"71-23=48",
"82+28=110",
"110-48=62"
] | Current State: 62:[71, 23, 82, 28], Operations: []
Exploring Operation: 71-23=48, Resulting Numbers: [82, 28, 48]
Generated Node #2: [82, 28, 48] from Operation: 71-23=48
Current State: 62:[82, 28, 48], Operations: ['71-23=48']
Exploring Operation: 82+28=110, Resulting Numbers: [48, 110]
Generated Node #3: [48, 110] from Operation: 82+28=110
Current State: 62:[48, 110], Operations: ['71-23=48', '82+28=110']
Exploring Operation: 110-48=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[71, 23, 82, 28], Operations: []
Exploring Operation: 82-28=54, Resulting Numbers: [71, 23, 54]
Generated Node #0,0: 62:[71, 23, 54] Operation: 82-28=54
Exploring Operation: 82-23=59, Resulting Numbers: [71, 28, 59]
Generated Node #0,1: 62:[71, 28, 59] Operation: 82-23=59
Exploring Operation: 82-71=11, Resulting Numbers: [23, 28, 11]
Generated Node #0,2: 62:[23, 28, 11] Operation: 82-71=11
Start Sub Search at level 1: Moving to Node #0,1
Current State: 62:[71, 28, 59], Operations: ['82-23=59']
Exploring Operation: 71-59=12, Resulting Numbers: [28, 12]
Generated Node #0,1,0: 62:[28, 12] Operation: 71-59=12
Exploring Operation: 59-28=31, Resulting Numbers: [71, 31]
Generated Node #0,1,1: 62:[71, 31] Operation: 59-28=31
Exploring Operation: 71-28=43, Resulting Numbers: [59, 43]
Generated Node #0,1,2: 62:[59, 43] Operation: 71-28=43
Moving to Node #0,1,1
Current State: 62:[71, 31], Operations: ['82-23=59', '59-28=31']
Exploring Operation: 71+31=102, Resulting Numbers: [102]
102,62 unequal: No Solution
Exploring Operation: 71*31=2201, Resulting Numbers: [2201]
2201,62 unequal: No Solution
Exploring Operation: 71-31=40, Resulting Numbers: [40]
40,62 unequal: No Solution
Moving to Node #0,1,0
Current State: 62:[28, 12], Operations: ['82-23=59', '71-59=12']
Exploring Operation: 28-12=16, Resulting Numbers: [16]
16,62 unequal: No Solution
Exploring Operation: 28+12=40, Resulting Numbers: [40]
40,62 unequal: No Solution
Exploring Operation: 28*12=336, Resulting Numbers: [336]
336,62 unequal: No Solution
Moving to Node #0,1,2
Current State: 62:[59, 43], Operations: ['82-23=59', '71-28=43']
Exploring Operation: 59-43=16, Resulting Numbers: [16]
16,62 unequal: No Solution
Exploring Operation: 59+43=102, Resulting Numbers: [102]
102,62 unequal: No Solution
Exploring Operation: 59*43=2537, Resulting Numbers: [2537]
2537,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:[23, 28, 11], Operations: ['82-71=11']
Exploring Operation: 23-11=12, Resulting Numbers: [28, 12]
Generated Node #0,2,0: 62:[28, 12] Operation: 23-11=12
Exploring Operation: 28-23=5, Resulting Numbers: [11, 5]
Generated Node #0,2,1: 62:[11, 5] Operation: 28-23=5
Exploring Operation: 23+11=34, Resulting Numbers: [28, 34]
Generated Node #0,2,2: 62:[28, 34] Operation: 23+11=34
Moving to Node #0,2,2
Current State: 62:[28, 34], Operations: ['82-71=11', '23+11=34']
Exploring Operation: 28+34=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[71, 23, 82, 28], Operations: []
Exploring Operation: 82-71=11, Resulting Numbers: [23, 28, 11]
Generated Node #0,2: 62:[23, 28, 11] Operation: 82-71=11
Moving to Node #0,2
Current State: 62:[23, 28, 11], Operations: ['82-71=11']
Exploring Operation: 23+11=34, Resulting Numbers: [28, 34]
Generated Node #0,2,2: 62:[28, 34] Operation: 23+11=34
Moving to Node #0,2,2
Current State: 62:[28, 34], Operations: ['82-71=11', '23+11=34']
Exploring Operation: 28+34=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_3 | sum_heuristic |
[
53,
26,
90,
14
] | 49 | [
"53-26=27",
"90-14=76",
"76-27=49"
] | Current State: 49:[53, 26, 90, 14], Operations: []
Exploring Operation: 53-26=27, Resulting Numbers: [90, 14, 27]
Generated Node #2: [90, 14, 27] from Operation: 53-26=27
Current State: 49:[90, 14, 27], Operations: ['53-26=27']
Exploring Operation: 90-14=76, Resulting Numbers: [27, 76]
Generated Node #3: [27, 76] from Operation: 90-14=76
Current State: 49:[27, 76], Operations: ['53-26=27', '90-14=76']
Exploring Operation: 76-27=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[53, 26, 90, 14], Operations: []
Exploring Operation: 26-14=12, Resulting Numbers: [53, 90, 12]
Generated Node #0,0: 49:[53, 90, 12] Operation: 26-14=12
Exploring Operation: 90-14=76, Resulting Numbers: [53, 26, 76]
Generated Node #0,1: 49:[53, 26, 76] Operation: 90-14=76
Exploring Operation: 90-53=37, Resulting Numbers: [26, 14, 37]
Generated Node #0,2: 49:[26, 14, 37] Operation: 90-53=37
Exploring Operation: 90-26=64, Resulting Numbers: [53, 14, 64]
Generated Node #0,3: 49:[53, 14, 64] Operation: 90-26=64
Start Sub Search at level 1: Moving to Node #0,3
Current State: 49:[53, 14, 64], Operations: ['90-26=64']
Exploring Operation: 64-14=50, Resulting Numbers: [53, 50]
Generated Node #0,3,0: 49:[53, 50] Operation: 64-14=50
Exploring Operation: 53-14=39, Resulting Numbers: [64, 39]
Generated Node #0,3,1: 49:[64, 39] Operation: 53-14=39
Exploring Operation: 53+14=67, Resulting Numbers: [64, 67]
Generated Node #0,3,2: 49:[64, 67] Operation: 53+14=67
Exploring Operation: 64-53=11, Resulting Numbers: [14, 11]
Generated Node #0,3,3: 49:[14, 11] Operation: 64-53=11
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 49:[53, 50], Operations: ['90-26=64', '64-14=50']
Exploring Operation: 53*50=2650, Resulting Numbers: [2650]
2650,49 unequal: No Solution
Exploring Operation: 53-50=3, Resulting Numbers: [3]
3,49 unequal: No Solution
Exploring Operation: 53+50=103, Resulting Numbers: [103]
103,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,3,3
Current State: 49:[14, 11], Operations: ['90-26=64', '64-53=11']
Exploring Operation: 14+11=25, Resulting Numbers: [25]
25,49 unequal: No Solution
Exploring Operation: 14-11=3, Resulting Numbers: [3]
3,49 unequal: No Solution
Exploring Operation: 14*11=154, Resulting Numbers: [154]
154,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,3,1
Current State: 49:[64, 39], Operations: ['90-26=64', '53-14=39']
Exploring Operation: 64+39=103, Resulting Numbers: [103]
103,49 unequal: No Solution
Exploring Operation: 64*39=2496, Resulting Numbers: [2496]
2496,49 unequal: No Solution
Exploring Operation: 64-39=25, Resulting Numbers: [25]
25,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,3,2
Current State: 49:[64, 67], Operations: ['90-26=64', '53+14=67']
Exploring Operation: 67-64=3, Resulting Numbers: [3]
3,49 unequal: No Solution
Exploring Operation: 64+67=131, Resulting Numbers: [131]
131,49 unequal: No Solution
Exploring Operation: 64*67=4288, Resulting Numbers: [4288]
4288,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:[26, 14, 37], Operations: ['90-53=37']
Exploring Operation: 26+14=40, Resulting Numbers: [37, 40]
Generated Node #0,2,0: 49:[37, 40] Operation: 26+14=40
Exploring Operation: 37-26=11, Resulting Numbers: [14, 11]
Generated Node #0,2,1: 49:[14, 11] Operation: 37-26=11
Exploring Operation: 26+37=63, Resulting Numbers: [14, 63]
Generated Node #0,2,2: 49:[14, 63] Operation: 26+37=63
Exploring Operation: 26-14=12, Resulting Numbers: [37, 12]
Generated Node #0,2,3: 49:[37, 12] Operation: 26-14=12
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 49:[14, 11], Operations: ['90-53=37', '37-26=11']
Exploring Operation: 14-11=3, Resulting Numbers: [3]
3,49 unequal: No Solution
Exploring Operation: 14+11=25, Resulting Numbers: [25]
25,49 unequal: No Solution
Exploring Operation: 14*11=154, Resulting Numbers: [154]
154,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,2,3
Current State: 49:[37, 12], Operations: ['90-53=37', '26-14=12']
Exploring Operation: 37-12=25, Resulting Numbers: [25]
25,49 unequal: No Solution
Exploring Operation: 37+12=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[53, 26, 90, 14], Operations: []
Exploring Operation: 90-53=37, Resulting Numbers: [26, 14, 37]
Generated Node #0,2: 49:[26, 14, 37] Operation: 90-53=37
Moving to Node #0,2
Current State: 49:[26, 14, 37], Operations: ['90-53=37']
Exploring Operation: 26-14=12, Resulting Numbers: [37, 12]
Generated Node #0,2,3: 49:[37, 12] Operation: 26-14=12
Moving to Node #0,2,3
Current State: 49:[37, 12], Operations: ['90-53=37', '26-14=12']
Exploring Operation: 37+12=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.971354 | hs_4 | mult_heuristic |
[
44,
95,
14,
17
] | 37 | [
"17-14=3",
"44*3=132",
"132-95=37"
] | Current State: 37:[44, 95, 14, 17], Operations: []
Exploring Operation: 17-14=3, Resulting Numbers: [44, 95, 3]
Generated Node #2: [44, 95, 3] from Operation: 17-14=3
Current State: 37:[44, 95, 3], Operations: ['17-14=3']
Exploring Operation: 44*3=132, Resulting Numbers: [95, 132]
Generated Node #3: [95, 132] from Operation: 44*3=132
Current State: 37:[95, 132], Operations: ['17-14=3', '44*3=132']
Exploring Operation: 132-95=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[44, 95, 14, 17], Operations: []
Exploring Operation: 95-14=81, Resulting Numbers: [44, 17, 81]
Generated Node #0,0: 37:[44, 17, 81] Operation: 95-14=81
Exploring Operation: 95-44=51, Resulting Numbers: [14, 17, 51]
Generated Node #0,1: 37:[14, 17, 51] Operation: 95-44=51
Exploring Operation: 14+17=31, Resulting Numbers: [44, 95, 31]
Generated Node #0,2: 37:[44, 95, 31] Operation: 14+17=31
Exploring Operation: 95-17=78, Resulting Numbers: [44, 14, 78]
Generated Node #0,3: 37:[44, 14, 78] Operation: 95-17=78
Moving to Node #0,1
Current State: 37:[14, 17, 51], Operations: ['95-44=51']
Exploring Operation: 14+17=31, Resulting Numbers: [51, 31]
Generated Node #0,1,0: 37:[51, 31] Operation: 14+17=31
Exploring Operation: 51-14=37, Resulting Numbers: [17, 37]
Generated Node #0,1,1: 37:[17, 37] Operation: 51-14=37
Exploring Operation: 51-17=34, Resulting Numbers: [14, 34]
Generated Node #0,1,2: 37:[14, 34] Operation: 51-17=34
Exploring Operation: 17-14=3, Resulting Numbers: [51, 3]
Generated Node #0,1,3: 37:[51, 3] Operation: 17-14=3
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 37:[51, 31], Operations: ['95-44=51', '14+17=31']
Exploring Operation: 51+31=82, Resulting Numbers: [82]
82,37 unequal: No Solution
Exploring Operation: 51*31=1581, Resulting Numbers: [1581]
1581,37 unequal: No Solution
Exploring Operation: 51-31=20, Resulting Numbers: [20]
20,37 unequal: No Solution
No 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: 37:[17, 37], Operations: ['95-44=51', '51-14=37']
Exploring Operation: 17*37=629, Resulting Numbers: [629]
629,37 unequal: No Solution
Exploring Operation: 17+37=54, Resulting Numbers: [54]
54,37 unequal: No Solution
Exploring Operation: 37-17=20, Resulting Numbers: [20]
20,37 unequal: No Solution
No 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: 37:[14, 34], Operations: ['95-44=51', '51-17=34']
Exploring Operation: 34-14=20, Resulting Numbers: [20]
20,37 unequal: No Solution
Exploring Operation: 14*34=476, Resulting Numbers: [476]
476,37 unequal: No Solution
Exploring Operation: 14+34=48, Resulting Numbers: [48]
48,37 unequal: No Solution
No 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: 37:[51, 3], Operations: ['95-44=51', '17-14=3']
Exploring Operation: 51/3=17, Resulting Numbers: [17]
17,37 unequal: No Solution
Exploring Operation: 51*3=153, Resulting Numbers: [153]
153,37 unequal: No Solution
Exploring Operation: 51-3=48, Resulting Numbers: [48]
48,37 unequal: No Solution
Exploring Operation: 51+3=54, Resulting Numbers: [54]
54,37 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: 37:[44, 95, 31], Operations: ['14+17=31']
Exploring Operation: 44+31=75, Resulting Numbers: [95, 75]
Generated Node #0,2,0: 37:[95, 75] Operation: 44+31=75
Exploring Operation: 44-31=13, Resulting Numbers: [95, 13]
Generated Node #0,2,1: 37:[95, 13] Operation: 44-31=13
Exploring Operation: 95-44=51, Resulting Numbers: [31, 51]
Generated Node #0,2,2: 37:[31, 51] Operation: 95-44=51
Exploring Operation: 95-31=64, Resulting Numbers: [44, 64]
Generated Node #0,2,3: 37:[44, 64] Operation: 95-31=64
Moving to Node #0,0
Current State: 37:[44, 17, 81], Operations: ['95-14=81']
Exploring Operation: 81-17=64, Resulting Numbers: [44, 64]
Generated Node #0,0,0: 37:[44, 64] Operation: 81-17=64
Exploring Operation: 44-17=27, Resulting Numbers: [81, 27]
Generated Node #0,0,1: 37:[81, 27] Operation: 44-17=27
Exploring Operation: 44+17=61, Resulting Numbers: [81, 61]
Generated Node #0,0,2: 37:[81, 61] Operation: 44+17=61
Exploring Operation: 81-44=37, Resulting Numbers: [17, 37]
Generated Node #0,0,3: 37:[17, 37] Operation: 81-44=37
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 37:[17, 37], Operations: ['95-14=81', '81-44=37']
Exploring Operation: 17*37=629, Resulting Numbers: [629]
629,37 unequal: No Solution
Exploring Operation: 37-17=20, Resulting Numbers: [20]
20,37 unequal: No Solution
Exploring Operation: 17+37=54, Resulting Numbers: [54]
54,37 unequal: No Solution
No 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: 37:[44, 64], Operations: ['95-14=81', '81-17=64']
Exploring Operation: 44+64=108, Resulting Numbers: [108]
108,37 unequal: No Solution
Exploring Operation: 64-44=20, Resulting Numbers: [20]
20,37 unequal: No Solution
Exploring Operation: 44*64=2816, Resulting Numbers: [2816]
2816,37 unequal: No Solution
No 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: 37:[81, 27], Operations: ['95-14=81', '44-17=27']
Exploring Operation: 81-27=54, Resulting Numbers: [54]
54,37 unequal: No Solution
Exploring Operation: 81*27=2187, Resulting Numbers: [2187]
2187,37 unequal: No Solution
Exploring Operation: 81/27=3, Resulting Numbers: [3]
3,37 unequal: No Solution
Exploring Operation: 81+27=108, Resulting Numbers: [108]
108,37 unequal: No Solution
No 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: 37:[81, 61], Operations: ['95-14=81', '44+17=61']
Exploring Operation: 81*61=4941, Resulting Numbers: [4941]
4941,37 unequal: No Solution
Exploring Operation: 81-61=20, Resulting Numbers: [20]
20,37 unequal: No Solution
Exploring Operation: 81+61=142, Resulting Numbers: [142]
142,37 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: 37:[44, 14, 78], Operations: ['95-17=78']
Exploring Operation: 44-14=30, Resulting Numbers: [78, 30]
Generated Node #0,3,0: 37:[78, 30] Operation: 44-14=30
Exploring Operation: 78-44=34, Resulting Numbers: [14, 34]
Generated Node #0,3,1: 37:[14, 34] Operation: 78-44=34
Exploring Operation: 44+14=58, Resulting Numbers: [78, 58]
Generated Node #0,3,2: 37:[78, 58] Operation: 44+14=58
Exploring Operation: 78-14=64, Resulting Numbers: [44, 64]
Generated Node #0,3,3: 37:[44, 64] Operation: 78-14=64
Moving to Node #0,2,2
Current State: 37:[31, 51], Operations: ['14+17=31', '95-44=51']
Exploring Operation: 31*51=1581, Resulting Numbers: [1581]
1581,37 unequal: No Solution
Exploring Operation: 51-31=20, Resulting Numbers: [20]
20,37 unequal: No Solution
Exploring Operation: 31+51=82, Resulting Numbers: [82]
82,37 unequal: No Solution
Moving to Node #0,3,1
Current State: 37:[14, 34], Operations: ['95-17=78', '78-44=34']
Exploring Operation: 14+34=48, Resulting Numbers: [48]
48,37 unequal: No Solution
Exploring Operation: 34-14=20, Resulting Numbers: [20]
20,37 unequal: No Solution
Exploring Operation: 14*34=476, Resulting Numbers: [476]
476,37 unequal: No Solution
Moving to Node #0,3,3
Current State: 37:[44, 64], Operations: ['95-17=78', '78-14=64']
Exploring Operation: 64-44=20, Resulting Numbers: [20]
20,37 unequal: No Solution
Exploring Operation: 44*64=2816, Resulting Numbers: [2816]
2816,37 unequal: No Solution
Exploring Operation: 44+64=108, Resulting Numbers: [108]
108,37 unequal: No Solution
Moving to Node #0,2,3
Current State: 37:[44, 64], Operations: ['14+17=31', '95-31=64']
Exploring Operation: 44+64=108, Resulting Numbers: [108]
108,37 unequal: No Solution
Exploring Operation: 64-44=20, Resulting Numbers: [20]
20,37 unequal: No Solution
Exploring Operation: 44*64=2816, Resulting Numbers: [2816]
2816,37 unequal: No Solution
Moving to Node #0,3,0
Current State: 37:[78, 30], Operations: ['95-17=78', '44-14=30']
Exploring Operation: 78+30=108, Resulting Numbers: [108]
108,37 unequal: No Solution
Exploring Operation: 78*30=2340, Resulting Numbers: [2340]
2340,37 unequal: No Solution
Exploring Operation: 78-30=48, Resulting Numbers: [48]
48,37 unequal: No Solution
Moving to Node #0,3,2
Current State: 37:[78, 58], Operations: ['95-17=78', '44+14=58']
Exploring Operation: 78*58=4524, Resulting Numbers: [4524]
4524,37 unequal: No Solution
Exploring Operation: 78+58=136, Resulting Numbers: [136]
136,37 unequal: No Solution
Exploring Operation: 78-58=20, Resulting Numbers: [20]
20,37 unequal: No Solution
Moving to Node #0,2,1
Current State: 37:[95, 13], Operations: ['14+17=31', '44-31=13']
Exploring Operation: 95*13=1235, Resulting Numbers: [1235]
1235,37 unequal: No Solution
Exploring Operation: 95-13=82, Resulting Numbers: [82]
82,37 unequal: No Solution
Exploring Operation: 95+13=108, Resulting Numbers: [108]
108,37 unequal: No Solution
Moving to Node #0,2,0
Current State: 37:[95, 75], Operations: ['14+17=31', '44+31=75']
Exploring Operation: 95-75=20, Resulting Numbers: [20]
20,37 unequal: No Solution
Exploring Operation: 95*75=7125, Resulting Numbers: [7125]
7125,37 unequal: No Solution
Exploring Operation: 95+75=170, Resulting Numbers: [170]
170,37 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
84,
48,
34,
76
] | 37 | [
"76-48=28",
"84/28=3",
"34+3=37"
] | Current State: 37:[84, 48, 34, 76], Operations: []
Exploring Operation: 76-48=28, Resulting Numbers: [84, 34, 28]
Generated Node #2: [84, 34, 28] from Operation: 76-48=28
Current State: 37:[84, 34, 28], Operations: ['76-48=28']
Exploring Operation: 84/28=3, Resulting Numbers: [34, 3]
Generated Node #3: [34, 3] from Operation: 84/28=3
Current State: 37:[34, 3], Operations: ['76-48=28', '84/28=3']
Exploring Operation: 34+3=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[84, 48, 34, 76], Operations: []
Exploring Operation: 84-48=36, Resulting Numbers: [34, 76, 36]
Generated Node #0,0: 37:[34, 76, 36] Operation: 84-48=36
Exploring Operation: 84-76=8, Resulting Numbers: [48, 34, 8]
Generated Node #0,1: 37:[48, 34, 8] Operation: 84-76=8
Moving to Node #0,0
Current State: 37:[34, 76, 36], Operations: ['84-48=36']
Exploring Operation: 76-34=42, Resulting Numbers: [36, 42]
Generated Node #0,0,0: 37:[36, 42] Operation: 76-34=42
Exploring Operation: 76-36=40, Resulting Numbers: [34, 40]
Generated Node #0,0,1: 37:[34, 40] Operation: 76-36=40
Moving to Node #0,1
Current State: 37:[48, 34, 8], Operations: ['84-76=8']
Exploring Operation: 48-8=40, Resulting Numbers: [34, 40]
Generated Node #0,1,0: 37:[34, 40] Operation: 48-8=40
Exploring Operation: 34+8=42, Resulting Numbers: [48, 42]
Generated Node #0,1,1: 37:[48, 42] Operation: 34+8=42
Moving to Node #0,0,0
Current State: 37:[36, 42], Operations: ['84-48=36', '76-34=42']
Exploring Operation: 42-36=6, Resulting Numbers: [6]
6,37 unequal: No Solution
Exploring Operation: 36+42=78, Resulting Numbers: [78]
78,37 unequal: No Solution
Moving to Node #0,1,0
Current State: 37:[34, 40], Operations: ['84-76=8', '48-8=40']
Exploring Operation: 40-34=6, Resulting Numbers: [6]
6,37 unequal: No Solution
Exploring Operation: 34+40=74, Resulting Numbers: [74]
74,37 unequal: No Solution
Moving to Node #0,0,1
Current State: 37:[34, 40], Operations: ['84-48=36', '76-36=40']
Exploring Operation: 40-34=6, Resulting Numbers: [6]
6,37 unequal: No Solution
Exploring Operation: 34+40=74, Resulting Numbers: [74]
74,37 unequal: No Solution
Moving to Node #0,1,1
Current State: 37:[48, 42], Operations: ['84-76=8', '34+8=42']
Exploring Operation: 48+42=90, Resulting Numbers: [90]
90,37 unequal: No Solution
Exploring Operation: 48-42=6, Resulting Numbers: [6]
6,37 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
93,
63,
69,
89
] | 24 | [
"93-89=4",
"69-63=6",
"4*6=24"
] | Current State: 24:[93, 63, 69, 89], Operations: []
Exploring Operation: 93-89=4, Resulting Numbers: [63, 69, 4]
Generated Node #2: [63, 69, 4] from Operation: 93-89=4
Current State: 24:[63, 69, 4], Operations: ['93-89=4']
Exploring Operation: 69-63=6, Resulting Numbers: [4, 6]
Generated Node #3: [4, 6] from Operation: 69-63=6
Current State: 24:[4, 6], Operations: ['93-89=4', '69-63=6']
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[93, 63, 69, 89], Operations: []
Exploring Operation: 93-89=4, Resulting Numbers: [63, 69, 4]
Generated Node #0,0: 24:[63, 69, 4] Operation: 93-89=4
Exploring Operation: 89-69=20, Resulting Numbers: [93, 63, 20]
Generated Node #0,1: 24:[93, 63, 20] Operation: 89-69=20
Exploring Operation: 93-63=30, Resulting Numbers: [69, 89, 30]
Generated Node #0,2: 24:[69, 89, 30] Operation: 93-63=30
Exploring Operation: 93-69=24, Resulting Numbers: [63, 89, 24]
Generated Node #0,3: 24:[63, 89, 24] Operation: 93-69=24
Moving to Node #0,0
Current State: 24:[63, 69, 4], Operations: ['93-89=4']
Exploring Operation: 63-4=59, Resulting Numbers: [69, 59]
Generated Node #0,0,0: 24:[69, 59] Operation: 63-4=59
Exploring Operation: 63+4=67, Resulting Numbers: [69, 67]
Generated Node #0,0,1: 24:[69, 67] Operation: 63+4=67
Exploring Operation: 69-4=65, Resulting Numbers: [63, 65]
Generated Node #0,0,2: 24:[63, 65] Operation: 69-4=65
Exploring Operation: 69-63=6, Resulting Numbers: [4, 6]
Generated Node #0,0,3: 24:[4, 6] Operation: 69-63=6
Moving to Node #0,3
Current State: 24:[63, 89, 24], Operations: ['93-69=24']
Exploring Operation: 89-63=26, Resulting Numbers: [24, 26]
Generated Node #0,3,0: 24:[24, 26] Operation: 89-63=26
Exploring Operation: 63+89=152, Resulting Numbers: [24, 152]
Generated Node #0,3,1: 24:[24, 152] Operation: 63+89=152
Exploring Operation: 63-24=39, Resulting Numbers: [89, 39]
Generated Node #0,3,2: 24:[89, 39] Operation: 63-24=39
Exploring Operation: 89-24=65, Resulting Numbers: [63, 65]
Generated Node #0,3,3: 24:[63, 65] Operation: 89-24=65
Moving to Node #0,1
Current State: 24:[93, 63, 20], Operations: ['89-69=20']
Exploring Operation: 93+20=113, Resulting Numbers: [63, 113]
Generated Node #0,1,0: 24:[63, 113] Operation: 93+20=113
Exploring Operation: 63-20=43, Resulting Numbers: [93, 43]
Generated Node #0,1,1: 24:[93, 43] Operation: 63-20=43
Exploring Operation: 93-63=30, Resulting Numbers: [20, 30]
Generated Node #0,1,2: 24:[20, 30] Operation: 93-63=30
Exploring Operation: 93-20=73, Resulting Numbers: [63, 73]
Generated Node #0,1,3: 24:[63, 73] Operation: 93-20=73
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 24:[20, 30], Operations: ['89-69=20', '93-63=30']
Exploring Operation: 20+30=50, Resulting Numbers: [50]
50,24 unequal: No Solution
Exploring Operation: 30-20=10, Resulting Numbers: [10]
10,24 unequal: No Solution
Exploring Operation: 20*30=600, Resulting Numbers: [600]
600,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 24:[93, 43], Operations: ['89-69=20', '63-20=43']
Exploring Operation: 93*43=3999, Resulting Numbers: [3999]
3999,24 unequal: No Solution
Exploring Operation: 93+43=136, Resulting Numbers: [136]
136,24 unequal: No Solution
Exploring Operation: 93-43=50, Resulting Numbers: [50]
50,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 24:[63, 73], Operations: ['89-69=20', '93-20=73']
Exploring Operation: 63+73=136, Resulting Numbers: [136]
136,24 unequal: No Solution
Exploring Operation: 73-63=10, Resulting Numbers: [10]
10,24 unequal: No Solution
Exploring Operation: 63*73=4599, Resulting Numbers: [4599]
4599,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 24:[63, 113], Operations: ['89-69=20', '93+20=113']
Exploring Operation: 113-63=50, Resulting Numbers: [50]
50,24 unequal: No Solution
Exploring Operation: 63*113=7119, Resulting Numbers: [7119]
7119,24 unequal: No Solution
Exploring Operation: 63+113=176, Resulting Numbers: [176]
176,24 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: 24:[69, 89, 30], Operations: ['93-63=30']
Exploring Operation: 69-30=39, Resulting Numbers: [89, 39]
Generated Node #0,2,0: 24:[89, 39] Operation: 69-30=39
Exploring Operation: 89-30=59, Resulting Numbers: [69, 59]
Generated Node #0,2,1: 24:[69, 59] Operation: 89-30=59
Exploring Operation: 69+89=158, Resulting Numbers: [30, 158]
Generated Node #0,2,2: 24:[30, 158] Operation: 69+89=158
Exploring Operation: 89-69=20, Resulting Numbers: [30, 20]
Generated Node #0,2,3: 24:[30, 20] Operation: 89-69=20
Moving to Node #0,0,3
Current State: 24:[4, 6], Operations: ['93-89=4', '69-63=6']
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,24 unequal: No Solution
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[93, 63, 69, 89], Operations: []
Exploring Operation: 93-89=4, Resulting Numbers: [63, 69, 4]
Generated Node #0,0: 24:[63, 69, 4] Operation: 93-89=4
Moving to Node #0,0
Current State: 24:[63, 69, 4], Operations: ['93-89=4']
Exploring Operation: 69-63=6, Resulting Numbers: [4, 6]
Generated Node #0,0,3: 24:[4, 6] Operation: 69-63=6
Moving to Node #0,0,3
Current State: 24:[4, 6], Operations: ['93-89=4', '69-63=6']
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 0.967014 | hs_4 | mult_heuristic |
[
34,
21,
7,
4
] | 63 | [
"34-21=13",
"13-4=9",
"7*9=63"
] | Current State: 63:[34, 21, 7, 4], Operations: []
Exploring Operation: 34-21=13, Resulting Numbers: [7, 4, 13]
Generated Node #2: [7, 4, 13] from Operation: 34-21=13
Current State: 63:[7, 4, 13], Operations: ['34-21=13']
Exploring Operation: 13-4=9, Resulting Numbers: [7, 9]
Generated Node #3: [7, 9] from Operation: 13-4=9
Current State: 63:[7, 9], Operations: ['34-21=13', '13-4=9']
Exploring Operation: 7*9=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[34, 21, 7, 4], Operations: []
Exploring Operation: 34-21=13, Resulting Numbers: [7, 4, 13]
Generated Node #0,0: 63:[7, 4, 13] Operation: 34-21=13
Exploring Operation: 34-7=27, Resulting Numbers: [21, 4, 27]
Generated Node #0,1: 63:[21, 4, 27] Operation: 34-7=27
Exploring Operation: 34+21=55, Resulting Numbers: [7, 4, 55]
Generated Node #0,2: 63:[7, 4, 55] Operation: 34+21=55
Exploring Operation: 34-4=30, Resulting Numbers: [21, 7, 30]
Generated Node #0,3: 63:[21, 7, 30] Operation: 34-4=30
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[7, 4, 13], Operations: ['34-21=13']
Exploring Operation: 7-4=3, Resulting Numbers: [13, 3]
Generated Node #0,0,0: 63:[13, 3] Operation: 7-4=3
Exploring Operation: 13-7=6, Resulting Numbers: [4, 6]
Generated Node #0,0,1: 63:[4, 6] Operation: 13-7=6
Exploring Operation: 7+13=20, Resulting Numbers: [4, 20]
Generated Node #0,0,2: 63:[4, 20] Operation: 7+13=20
Exploring Operation: 13-4=9, Resulting Numbers: [7, 9]
Generated Node #0,0,3: 63:[7, 9] Operation: 13-4=9
Moving to Node #0,0,3
Current State: 63:[7, 9], Operations: ['34-21=13', '13-4=9']
Exploring Operation: 7*9=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[34, 21, 7, 4], Operations: []
Exploring Operation: 34-21=13, Resulting Numbers: [7, 4, 13]
Generated Node #0,0: 63:[7, 4, 13] Operation: 34-21=13
Moving to Node #0,0
Current State: 63:[7, 4, 13], Operations: ['34-21=13']
Exploring Operation: 13-4=9, Resulting Numbers: [7, 9]
Generated Node #0,0,3: 63:[7, 9] Operation: 13-4=9
Moving to Node #0,0,3
Current State: 63:[7, 9], Operations: ['34-21=13', '13-4=9']
Exploring Operation: 7*9=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
6,
18,
46,
1
] | 34 | [
"18-6=12",
"46*1=46",
"46-12=34"
] | Current State: 34:[6, 18, 46, 1], Operations: []
Exploring Operation: 18-6=12, Resulting Numbers: [46, 1, 12]
Generated Node #2: [46, 1, 12] from Operation: 18-6=12
Current State: 34:[46, 1, 12], Operations: ['18-6=12']
Exploring Operation: 46*1=46, Resulting Numbers: [12, 46]
Generated Node #3: [12, 46] from Operation: 46*1=46
Current State: 34:[12, 46], Operations: ['18-6=12', '46*1=46']
Exploring Operation: 46-12=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[6, 18, 46, 1], Operations: []
Exploring Operation: 6-1=5, Resulting Numbers: [18, 46, 5]
Generated Node #0,0: 34:[18, 46, 5] Operation: 6-1=5
Exploring Operation: 18/6=3, Resulting Numbers: [46, 1, 3]
Generated Node #0,1: 34:[46, 1, 3] Operation: 18/6=3
Exploring Operation: 46-6=40, Resulting Numbers: [18, 1, 40]
Generated Node #0,2: 34:[18, 1, 40] Operation: 46-6=40
Exploring Operation: 46-18=28, Resulting Numbers: [6, 1, 28]
Generated Node #0,3: 34:[6, 1, 28] Operation: 46-18=28
Start Sub Search at level 1: Moving to Node #0,2
Current State: 34:[18, 1, 40], Operations: ['46-6=40']
Exploring Operation: 18-1=17, Resulting Numbers: [40, 17]
Generated Node #0,2,0: 34:[40, 17] Operation: 18-1=17
Exploring Operation: 18*1=18, Resulting Numbers: [40, 18]
Generated Node #0,2,1: 34:[40, 18] Operation: 18*1=18
Exploring Operation: 40-1=39, Resulting Numbers: [18, 39]
Generated Node #0,2,2: 34:[18, 39] Operation: 40-1=39
Exploring Operation: 40-18=22, Resulting Numbers: [1, 22]
Generated Node #0,2,3: 34:[1, 22] Operation: 40-18=22
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 34:[40, 17], Operations: ['46-6=40', '18-1=17']
Exploring Operation: 40*17=680, Resulting Numbers: [680]
680,34 unequal: No Solution
Exploring Operation: 40+17=57, Resulting Numbers: [57]
57,34 unequal: No Solution
Exploring Operation: 40-17=23, Resulting Numbers: [23]
23,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 34:[18, 39], Operations: ['46-6=40', '40-1=39']
Exploring Operation: 39-18=21, Resulting Numbers: [21]
21,34 unequal: No Solution
Exploring Operation: 18*39=702, Resulting Numbers: [702]
702,34 unequal: No Solution
Exploring Operation: 18+39=57, Resulting Numbers: [57]
57,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 34:[1, 22], Operations: ['46-6=40', '40-18=22']
Exploring Operation: 1*22=22, Resulting Numbers: [22]
22,34 unequal: No Solution
Exploring Operation: 22/1=22, Resulting Numbers: [22]
22,34 unequal: No Solution
Exploring Operation: 22-1=21, Resulting Numbers: [21]
21,34 unequal: No Solution
Exploring Operation: 1+22=23, Resulting Numbers: [23]
23,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 34:[40, 18], Operations: ['46-6=40', '18*1=18']
Exploring Operation: 40*18=720, Resulting Numbers: [720]
720,34 unequal: No Solution
Exploring Operation: 40+18=58, Resulting Numbers: [58]
58,34 unequal: No Solution
Exploring Operation: 40-18=22, Resulting Numbers: [22]
22,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 34:[6, 1, 28], Operations: ['46-18=28']
Exploring Operation: 28-6=22, Resulting Numbers: [1, 22]
Generated Node #0,3,0: 34:[1, 22] Operation: 28-6=22
Exploring Operation: 6+28=34, Resulting Numbers: [1, 34]
Generated Node #0,3,1: 34:[1, 34] Operation: 6+28=34
Exploring Operation: 1+28=29, Resulting Numbers: [6, 29]
Generated Node #0,3,2: 34:[6, 29] Operation: 1+28=29
Exploring Operation: 6-1=5, Resulting Numbers: [28, 5]
Generated Node #0,3,3: 34:[28, 5] Operation: 6-1=5
Moving to Node #0,3,1
Current State: 34:[1, 34], Operations: ['46-18=28', '6+28=34']
Exploring Operation: 1*34=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[6, 18, 46, 1], Operations: []
Exploring Operation: 46-18=28, Resulting Numbers: [6, 1, 28]
Generated Node #0,3: 34:[6, 1, 28] Operation: 46-18=28
Moving to Node #0,3
Current State: 34:[6, 1, 28], Operations: ['46-18=28']
Exploring Operation: 6+28=34, Resulting Numbers: [1, 34]
Generated Node #0,3,1: 34:[1, 34] Operation: 6+28=34
Moving to Node #0,3,1
Current State: 34:[1, 34], Operations: ['46-18=28', '6+28=34']
Exploring Operation: 1*34=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 | hs_4 | mult_heuristic |
[
90,
60,
66,
18
] | 78 | [
"90-60=30",
"66-18=48",
"30+48=78"
] | Current State: 78:[90, 60, 66, 18], Operations: []
Exploring Operation: 90-60=30, Resulting Numbers: [66, 18, 30]
Generated Node #2: [66, 18, 30] from Operation: 90-60=30
Current State: 78:[66, 18, 30], Operations: ['90-60=30']
Exploring Operation: 66-18=48, Resulting Numbers: [30, 48]
Generated Node #3: [30, 48] from Operation: 66-18=48
Current State: 78:[30, 48], Operations: ['90-60=30', '66-18=48']
Exploring Operation: 30+48=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[90, 60, 66, 18], Operations: []
Exploring Operation: 66-60=6, Resulting Numbers: [90, 18, 6]
Generated Node #0,0: 78:[90, 18, 6] Operation: 66-60=6
Exploring Operation: 60+18=78, Resulting Numbers: [90, 66, 78]
Generated Node #0,1: 78:[90, 66, 78] Operation: 60+18=78
Exploring Operation: 90-60=30, Resulting Numbers: [66, 18, 30]
Generated Node #0,2: 78:[66, 18, 30] Operation: 90-60=30
Moving to Node #0,0
Current State: 78:[90, 18, 6], Operations: ['66-60=6']
Exploring Operation: 90/6=15, Resulting Numbers: [18, 15]
Generated Node #0,0,0: 78:[18, 15] Operation: 90/6=15
Exploring Operation: 90/18=5, Resulting Numbers: [6, 5]
Generated Node #0,0,1: 78:[6, 5] Operation: 90/18=5
Exploring Operation: 90-18=72, Resulting Numbers: [6, 72]
Generated Node #0,0,2: 78:[6, 72] Operation: 90-18=72
Moving to Node #0,2
Current State: 78:[66, 18, 30], Operations: ['90-60=30']
Exploring Operation: 66-30=36, Resulting Numbers: [18, 36]
Generated Node #0,2,0: 78:[18, 36] Operation: 66-30=36
Exploring Operation: 66-18=48, Resulting Numbers: [30, 48]
Generated Node #0,2,1: 78:[30, 48] Operation: 66-18=48
Exploring Operation: 66+18=84, Resulting Numbers: [30, 84]
Generated Node #0,2,2: 78:[30, 84] Operation: 66+18=84
Moving to Node #0,1
Current State: 78:[90, 66, 78], Operations: ['60+18=78']
Exploring Operation: 90-66=24, Resulting Numbers: [78, 24]
Generated Node #0,1,0: 78:[78, 24] Operation: 90-66=24
Exploring Operation: 90-78=12, Resulting Numbers: [66, 12]
Generated Node #0,1,1: 78:[66, 12] Operation: 90-78=12
Exploring Operation: 78-66=12, Resulting Numbers: [90, 12]
Generated Node #0,1,2: 78:[90, 12] Operation: 78-66=12
Moving to Node #0,0,1
Current State: 78:[6, 5], Operations: ['66-60=6', '90/18=5']
Exploring Operation: 6*5=30, Resulting Numbers: [30]
30,78 unequal: No Solution
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,78 unequal: No Solution
Exploring Operation: 6+5=11, Resulting Numbers: [11]
11,78 unequal: No Solution
Moving to Node #0,1,0
Current State: 78:[78, 24], Operations: ['60+18=78', '90-66=24']
Exploring Operation: 78-24=54, Resulting Numbers: [54]
54,78 unequal: No Solution
Exploring Operation: 78*24=1872, Resulting Numbers: [1872]
1872,78 unequal: No Solution
Exploring Operation: 78+24=102, Resulting Numbers: [102]
102,78 unequal: No Solution
Moving to Node #0,0,2
Current State: 78:[6, 72], Operations: ['66-60=6', '90-18=72']
Exploring Operation: 72/6=12, Resulting Numbers: [12]
12,78 unequal: No Solution
Exploring Operation: 6+72=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[90, 60, 66, 18], Operations: []
Exploring Operation: 66-60=6, Resulting Numbers: [90, 18, 6]
Generated Node #0,0: 78:[90, 18, 6] Operation: 66-60=6
Moving to Node #0,0
Current State: 78:[90, 18, 6], Operations: ['66-60=6']
Exploring Operation: 90-18=72, Resulting Numbers: [6, 72]
Generated Node #0,0,2: 78:[6, 72] Operation: 90-18=72
Moving to Node #0,0,2
Current State: 78:[6, 72], Operations: ['66-60=6', '90-18=72']
Exploring Operation: 6+72=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 0.979167 | hs_3 | sum_heuristic |
[
96,
26,
49,
92
] | 27 | [
"96-26=70",
"92-49=43",
"70-43=27"
] | Current State: 27:[96, 26, 49, 92], Operations: []
Exploring Operation: 96-26=70, Resulting Numbers: [49, 92, 70]
Generated Node #2: [49, 92, 70] from Operation: 96-26=70
Current State: 27:[49, 92, 70], Operations: ['96-26=70']
Exploring Operation: 92-49=43, Resulting Numbers: [70, 43]
Generated Node #3: [70, 43] from Operation: 92-49=43
Current State: 27:[70, 43], Operations: ['96-26=70', '92-49=43']
Exploring Operation: 70-43=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[96, 26, 49, 92], Operations: []
Exploring Operation: 92-49=43, Resulting Numbers: [96, 26, 43]
Generated Node #0,0: 27:[96, 26, 43] Operation: 92-49=43
Exploring Operation: 96-26=70, Resulting Numbers: [49, 92, 70]
Generated Node #0,1: 27:[49, 92, 70] Operation: 96-26=70
Exploring Operation: 96-92=4, Resulting Numbers: [26, 49, 4]
Generated Node #0,2: 27:[26, 49, 4] Operation: 96-92=4
Exploring Operation: 96-49=47, Resulting Numbers: [26, 92, 47]
Generated Node #0,3: 27:[26, 92, 47] Operation: 96-49=47
Start Sub Search at level 1: Moving to Node #0,2
Current State: 27:[26, 49, 4], Operations: ['96-92=4']
Exploring Operation: 49-26=23, Resulting Numbers: [4, 23]
Generated Node #0,2,0: 27:[4, 23] Operation: 49-26=23
Exploring Operation: 26+4=30, Resulting Numbers: [49, 30]
Generated Node #0,2,1: 27:[49, 30] Operation: 26+4=30
Exploring Operation: 26-4=22, Resulting Numbers: [49, 22]
Generated Node #0,2,2: 27:[49, 22] Operation: 26-4=22
Exploring Operation: 49-4=45, Resulting Numbers: [26, 45]
Generated Node #0,2,3: 27:[26, 45] Operation: 49-4=45
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 27:[4, 23], Operations: ['96-92=4', '49-26=23']
Exploring Operation: 23-4=19, Resulting Numbers: [19]
19,27 unequal: No Solution
Exploring Operation: 4*23=92, Resulting Numbers: [92]
92,27 unequal: No Solution
Exploring Operation: 4+23=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[96, 26, 49, 92], Operations: []
Exploring Operation: 96-92=4, Resulting Numbers: [26, 49, 4]
Generated Node #0,2: 27:[26, 49, 4] Operation: 96-92=4
Moving to Node #0,2
Current State: 27:[26, 49, 4], Operations: ['96-92=4']
Exploring Operation: 49-26=23, Resulting Numbers: [4, 23]
Generated Node #0,2,0: 27:[4, 23] Operation: 49-26=23
Moving to Node #0,2,0
Current State: 27:[4, 23], Operations: ['96-92=4', '49-26=23']
Exploring Operation: 4+23=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
86,
44,
1,
65
] | 67 | [
"44-1=43",
"86/43=2",
"65+2=67"
] | Current State: 67:[86, 44, 1, 65], Operations: []
Exploring Operation: 44-1=43, Resulting Numbers: [86, 65, 43]
Generated Node #2: [86, 65, 43] from Operation: 44-1=43
Current State: 67:[86, 65, 43], Operations: ['44-1=43']
Exploring Operation: 86/43=2, Resulting Numbers: [65, 2]
Generated Node #3: [65, 2] from Operation: 86/43=2
Current State: 67:[65, 2], Operations: ['44-1=43', '86/43=2']
Exploring Operation: 65+2=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[86, 44, 1, 65], Operations: []
Exploring Operation: 86-1=85, Resulting Numbers: [44, 65, 85]
Generated Node #0,0: 67:[44, 65, 85] Operation: 86-1=85
Exploring Operation: 44+1=45, Resulting Numbers: [86, 65, 45]
Generated Node #0,1: 67:[86, 65, 45] Operation: 44+1=45
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[44, 65, 85], Operations: ['86-1=85']
Exploring Operation: 44+65=109, Resulting Numbers: [85, 109]
Generated Node #0,0,0: 67:[85, 109] Operation: 44+65=109
Exploring Operation: 85-44=41, Resulting Numbers: [65, 41]
Generated Node #0,0,1: 67:[65, 41] Operation: 85-44=41
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 67:[65, 41], Operations: ['86-1=85', '85-44=41']
Exploring Operation: 65+41=106, Resulting Numbers: [106]
106,67 unequal: No Solution
Exploring Operation: 65-41=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:[85, 109], Operations: ['86-1=85', '44+65=109']
Exploring Operation: 109-85=24, Resulting Numbers: [24]
24,67 unequal: No Solution
Exploring Operation: 85+109=194, Resulting Numbers: [194]
194,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, 65, 45], Operations: ['44+1=45']
Exploring Operation: 65+45=110, Resulting Numbers: [86, 110]
Generated Node #0,1,0: 67:[86, 110] Operation: 65+45=110
Exploring Operation: 86-45=41, Resulting Numbers: [65, 41]
Generated Node #0,1,1: 67:[65, 41] Operation: 86-45=41
Moving to Node #0,1,1
Current State: 67:[65, 41], Operations: ['44+1=45', '86-45=41']
Exploring Operation: 65+41=106, Resulting Numbers: [106]
106,67 unequal: No Solution
Exploring Operation: 65-41=24, Resulting Numbers: [24]
24,67 unequal: No Solution
Moving to Node #0,1,0
Current State: 67:[86, 110], Operations: ['44+1=45', '65+45=110']
Exploring Operation: 110-86=24, Resulting Numbers: [24]
24,67 unequal: No Solution
Exploring Operation: 86+110=196, Resulting Numbers: [196]
196,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 |
[
73,
52,
46,
31
] | 56 | [
"73-52=21",
"46+31=77",
"77-21=56"
] | Current State: 56:[73, 52, 46, 31], Operations: []
Exploring Operation: 73-52=21, Resulting Numbers: [46, 31, 21]
Generated Node #2: [46, 31, 21] from Operation: 73-52=21
Current State: 56:[46, 31, 21], Operations: ['73-52=21']
Exploring Operation: 46+31=77, Resulting Numbers: [21, 77]
Generated Node #3: [21, 77] from Operation: 46+31=77
Current State: 56:[21, 77], Operations: ['73-52=21', '46+31=77']
Exploring Operation: 77-21=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[73, 52, 46, 31], Operations: []
Exploring Operation: 73-52=21, Resulting Numbers: [46, 31, 21]
Generated Node #0,0: 56:[46, 31, 21] Operation: 73-52=21
Exploring Operation: 73-46=27, Resulting Numbers: [52, 31, 27]
Generated Node #0,1: 56:[52, 31, 27] Operation: 73-46=27
Moving to Node #0,1
Current State: 56:[52, 31, 27], Operations: ['73-46=27']
Exploring Operation: 31-27=4, Resulting Numbers: [52, 4]
Generated Node #0,1,0: 56:[52, 4] Operation: 31-27=4
Exploring Operation: 52-27=25, Resulting Numbers: [31, 25]
Generated Node #0,1,1: 56:[31, 25] Operation: 52-27=25
Moving to Node #0,0
Current State: 56:[46, 31, 21], Operations: ['73-52=21']
Exploring Operation: 46-21=25, Resulting Numbers: [31, 25]
Generated Node #0,0,0: 56:[31, 25] Operation: 46-21=25
Exploring Operation: 46-31=15, Resulting Numbers: [21, 15]
Generated Node #0,0,1: 56:[21, 15] Operation: 46-31=15
Moving to Node #0,1,0
Current State: 56:[52, 4], Operations: ['73-46=27', '31-27=4']
Exploring Operation: 52+4=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[73, 52, 46, 31], Operations: []
Exploring Operation: 73-46=27, Resulting Numbers: [52, 31, 27]
Generated Node #0,1: 56:[52, 31, 27] Operation: 73-46=27
Moving to Node #0,1
Current State: 56:[52, 31, 27], Operations: ['73-46=27']
Exploring Operation: 31-27=4, Resulting Numbers: [52, 4]
Generated Node #0,1,0: 56:[52, 4] Operation: 31-27=4
Moving to Node #0,1,0
Current State: 56:[52, 4], Operations: ['73-46=27', '31-27=4']
Exploring Operation: 52+4=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 0.990451 | hs_2 | mult_heuristic |
[
28,
54,
9,
49
] | 71 | [
"28+49=77",
"54/9=6",
"77-6=71"
] | Current State: 71:[28, 54, 9, 49], Operations: []
Exploring Operation: 28+49=77, Resulting Numbers: [54, 9, 77]
Generated Node #2: [54, 9, 77] from Operation: 28+49=77
Current State: 71:[54, 9, 77], Operations: ['28+49=77']
Exploring Operation: 54/9=6, Resulting Numbers: [77, 6]
Generated Node #3: [77, 6] from Operation: 54/9=6
Current State: 71:[77, 6], Operations: ['28+49=77', '54/9=6']
Exploring Operation: 77-6=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[28, 54, 9, 49], Operations: []
Exploring Operation: 28+9=37, Resulting Numbers: [54, 49, 37]
Generated Node #0,0: 71:[54, 49, 37] Operation: 28+9=37
Moving to Node #0,0
Current State: 71:[54, 49, 37], Operations: ['28+9=37']
Exploring Operation: 49+37=86, Resulting Numbers: [54, 86]
Generated Node #0,0,0: 71:[54, 86] Operation: 49+37=86
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 71:[54, 86], Operations: ['28+9=37', '49+37=86']
Exploring Operation: 86-54=32, Resulting Numbers: [32]
32,71 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 |
[
67,
21,
50,
58
] | 96 | [
"67+21=88",
"58-50=8",
"88+8=96"
] | Current State: 96:[67, 21, 50, 58], Operations: []
Exploring Operation: 67+21=88, Resulting Numbers: [50, 58, 88]
Generated Node #2: [50, 58, 88] from Operation: 67+21=88
Current State: 96:[50, 58, 88], Operations: ['67+21=88']
Exploring Operation: 58-50=8, Resulting Numbers: [88, 8]
Generated Node #3: [88, 8] from Operation: 58-50=8
Current State: 96:[88, 8], Operations: ['67+21=88', '58-50=8']
Exploring Operation: 88+8=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[67, 21, 50, 58], Operations: []
Exploring Operation: 67-21=46, Resulting Numbers: [50, 58, 46]
Generated Node #0,0: 96:[50, 58, 46] Operation: 67-21=46
Exploring Operation: 67-58=9, Resulting Numbers: [21, 50, 9]
Generated Node #0,1: 96:[21, 50, 9] Operation: 67-58=9
Start Sub Search at level 1: Moving to Node #0,1
Current State: 96:[21, 50, 9], Operations: ['67-58=9']
Exploring Operation: 21-9=12, Resulting Numbers: [50, 12]
Generated Node #0,1,0: 96:[50, 12] Operation: 21-9=12
Exploring Operation: 50-21=29, Resulting Numbers: [9, 29]
Generated Node #0,1,1: 96:[9, 29] Operation: 50-21=29
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 96:[50, 12], Operations: ['67-58=9', '21-9=12']
Exploring Operation: 50+12=62, Resulting Numbers: [62]
62,96 unequal: No Solution
Exploring Operation: 50-12=38, Resulting Numbers: [38]
38,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 96:[9, 29], Operations: ['67-58=9', '50-21=29']
Exploring Operation: 9+29=38, Resulting Numbers: [38]
38,96 unequal: No Solution
Exploring Operation: 29-9=20, Resulting Numbers: [20]
20,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[50, 58, 46], Operations: ['67-21=46']
Exploring Operation: 58-46=12, Resulting Numbers: [50, 12]
Generated Node #0,0,0: 96:[50, 12] Operation: 58-46=12
Exploring Operation: 58-50=8, Resulting Numbers: [46, 8]
Generated Node #0,0,1: 96:[46, 8] Operation: 58-50=8
Moving to Node #0,0,0
Current State: 96:[50, 12], Operations: ['67-21=46', '58-46=12']
Exploring Operation: 50+12=62, Resulting Numbers: [62]
62,96 unequal: No Solution
Exploring Operation: 50-12=38, Resulting Numbers: [38]
38,96 unequal: No Solution
Moving to Node #0,0,1
Current State: 96:[46, 8], Operations: ['67-21=46', '58-50=8']
Exploring Operation: 46+8=54, Resulting Numbers: [54]
54,96 unequal: No Solution
Exploring Operation: 46-8=38, Resulting Numbers: [38]
38,96 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 |
[
40,
90,
45,
54
] | 35 | [
"40*45=1800",
"90+1800=1890",
"1890/54=35"
] | Current State: 35:[40, 90, 45, 54], Operations: []
Exploring Operation: 40*45=1800, Resulting Numbers: [90, 54, 1800]
Generated Node #2: [90, 54, 1800] from Operation: 40*45=1800
Current State: 35:[90, 54, 1800], Operations: ['40*45=1800']
Exploring Operation: 90+1800=1890, Resulting Numbers: [54, 1890]
Generated Node #3: [54, 1890] from Operation: 90+1800=1890
Current State: 35:[54, 1890], Operations: ['40*45=1800', '90+1800=1890']
Exploring Operation: 1890/54=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[40, 90, 45, 54], Operations: []
Exploring Operation: 90-45=45, Resulting Numbers: [40, 54, 45]
Generated Node #0,0: 35:[40, 54, 45] Operation: 90-45=45
Exploring Operation: 90-54=36, Resulting Numbers: [40, 45, 36]
Generated Node #0,1: 35:[40, 45, 36] Operation: 90-54=36
Exploring Operation: 90/45=2, Resulting Numbers: [40, 54, 2]
Generated Node #0,2: 35:[40, 54, 2] Operation: 90/45=2
Moving to Node #0,1
Current State: 35:[40, 45, 36], Operations: ['90-54=36']
Exploring Operation: 45-36=9, Resulting Numbers: [40, 9]
Generated Node #0,1,0: 35:[40, 9] Operation: 45-36=9
Exploring Operation: 45-40=5, Resulting Numbers: [36, 5]
Generated Node #0,1,1: 35:[36, 5] Operation: 45-40=5
Exploring Operation: 40-36=4, Resulting Numbers: [45, 4]
Generated Node #0,1,2: 35:[45, 4] Operation: 40-36=4
Moving to Node #0,2
Current State: 35:[40, 54, 2], Operations: ['90/45=2']
Exploring Operation: 40-2=38, Resulting Numbers: [54, 38]
Generated Node #0,2,0: 35:[54, 38] Operation: 40-2=38
Exploring Operation: 54-40=14, Resulting Numbers: [2, 14]
Generated Node #0,2,1: 35:[2, 14] Operation: 54-40=14
Exploring Operation: 54/2=27, Resulting Numbers: [40, 27]
Generated Node #0,2,2: 35:[40, 27] Operation: 54/2=27
Moving to Node #0,0
Current State: 35:[40, 54, 45], Operations: ['90-45=45']
Exploring Operation: 54-40=14, Resulting Numbers: [45, 14]
Generated Node #0,0,0: 35:[45, 14] Operation: 54-40=14
Exploring Operation: 45-40=5, Resulting Numbers: [54, 5]
Generated Node #0,0,1: 35:[54, 5] Operation: 45-40=5
Exploring Operation: 54-45=9, Resulting Numbers: [40, 9]
Generated Node #0,0,2: 35:[40, 9] Operation: 54-45=9
Moving to Node #0,1,1
Current State: 35:[36, 5], Operations: ['90-54=36', '45-40=5']
Exploring Operation: 36*5=180, Resulting Numbers: [180]
180,35 unequal: No Solution
Exploring Operation: 36-5=31, Resulting Numbers: [31]
31,35 unequal: No Solution
Exploring Operation: 36+5=41, Resulting Numbers: [41]
41,35 unequal: No Solution
Moving to Node #0,0,2
Current State: 35:[40, 9], Operations: ['90-45=45', '54-45=9']
Exploring Operation: 40*9=360, Resulting Numbers: [360]
360,35 unequal: No Solution
Exploring Operation: 40-9=31, Resulting Numbers: [31]
31,35 unequal: No Solution
Exploring Operation: 40+9=49, Resulting Numbers: [49]
49,35 unequal: No Solution
Moving to Node #0,1,0
Current State: 35:[40, 9], Operations: ['90-54=36', '45-36=9']
Exploring Operation: 40+9=49, Resulting Numbers: [49]
49,35 unequal: No Solution
Exploring Operation: 40-9=31, Resulting Numbers: [31]
31,35 unequal: No Solution
Exploring Operation: 40*9=360, Resulting Numbers: [360]
360,35 unequal: No Solution
Moving to Node #0,2,1
Current State: 35:[2, 14], Operations: ['90/45=2', '54-40=14']
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,35 unequal: No Solution
Exploring Operation: 2*14=28, Resulting Numbers: [28]
28,35 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,35 unequal: No Solution
Moving to Node #0,1,2
Current State: 35:[45, 4], Operations: ['90-54=36', '40-36=4']
Exploring Operation: 45+4=49, Resulting Numbers: [49]
49,35 unequal: No Solution
Exploring Operation: 45*4=180, Resulting Numbers: [180]
180,35 unequal: No Solution
Exploring Operation: 45-4=41, Resulting Numbers: [41]
41,35 unequal: No Solution
Moving to Node #0,2,2
Current State: 35:[40, 27], Operations: ['90/45=2', '54/2=27']
Exploring Operation: 40*27=1080, Resulting Numbers: [1080]
1080,35 unequal: No Solution
Exploring Operation: 40-27=13, Resulting Numbers: [13]
13,35 unequal: No Solution
Exploring Operation: 40+27=67, Resulting Numbers: [67]
67,35 unequal: No Solution
Moving to Node #0,0,0
Current State: 35:[45, 14], Operations: ['90-45=45', '54-40=14']
Exploring Operation: 45-14=31, Resulting Numbers: [31]
31,35 unequal: No Solution
Exploring Operation: 45+14=59, Resulting Numbers: [59]
59,35 unequal: No Solution
Exploring Operation: 45*14=630, Resulting Numbers: [630]
630,35 unequal: No Solution
Moving to Node #0,0,1
Current State: 35:[54, 5], Operations: ['90-45=45', '45-40=5']
Exploring Operation: 54*5=270, Resulting Numbers: [270]
270,35 unequal: No Solution
Exploring Operation: 54-5=49, Resulting Numbers: [49]
49,35 unequal: No Solution
Exploring Operation: 54+5=59, Resulting Numbers: [59]
59,35 unequal: No Solution
Moving to Node #0,2,0
Current State: 35:[54, 38], Operations: ['90/45=2', '40-2=38']
Exploring Operation: 54-38=16, Resulting Numbers: [16]
16,35 unequal: No Solution
Exploring Operation: 54*38=2052, Resulting Numbers: [2052]
2052,35 unequal: No Solution
Exploring Operation: 54+38=92, Resulting Numbers: [92]
92,35 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
79,
8,
54,
95
] | 78 | [
"79-8=71",
"54+95=149",
"149-71=78"
] | Current State: 78:[79, 8, 54, 95], Operations: []
Exploring Operation: 79-8=71, Resulting Numbers: [54, 95, 71]
Generated Node #2: [54, 95, 71] from Operation: 79-8=71
Current State: 78:[54, 95, 71], Operations: ['79-8=71']
Exploring Operation: 54+95=149, Resulting Numbers: [71, 149]
Generated Node #3: [71, 149] from Operation: 54+95=149
Current State: 78:[71, 149], Operations: ['79-8=71', '54+95=149']
Exploring Operation: 149-71=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[79, 8, 54, 95], Operations: []
Exploring Operation: 95-54=41, Resulting Numbers: [79, 8, 41]
Generated Node #0,0: 78:[79, 8, 41] Operation: 95-54=41
Exploring Operation: 79-54=25, Resulting Numbers: [8, 95, 25]
Generated Node #0,1: 78:[8, 95, 25] Operation: 79-54=25
Moving to Node #0,0
Current State: 78:[79, 8, 41], Operations: ['95-54=41']
Exploring Operation: 79-41=38, Resulting Numbers: [8, 38]
Generated Node #0,0,0: 78:[8, 38] Operation: 79-41=38
Exploring Operation: 41-8=33, Resulting Numbers: [79, 33]
Generated Node #0,0,1: 78:[79, 33] Operation: 41-8=33
Moving to Node #0,1
Current State: 78:[8, 95, 25], Operations: ['79-54=25']
Exploring Operation: 95-25=70, Resulting Numbers: [8, 70]
Generated Node #0,1,0: 78:[8, 70] Operation: 95-25=70
Exploring Operation: 95-8=87, Resulting Numbers: [25, 87]
Generated Node #0,1,1: 78:[25, 87] Operation: 95-8=87
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 78:[8, 70], Operations: ['79-54=25', '95-25=70']
Exploring Operation: 70-8=62, Resulting Numbers: [62]
62,78 unequal: No Solution
Exploring Operation: 8+70=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[79, 8, 54, 95], Operations: []
Exploring Operation: 79-54=25, Resulting Numbers: [8, 95, 25]
Generated Node #0,1: 78:[8, 95, 25] Operation: 79-54=25
Moving to Node #0,1
Current State: 78:[8, 95, 25], Operations: ['79-54=25']
Exploring Operation: 95-25=70, Resulting Numbers: [8, 70]
Generated Node #0,1,0: 78:[8, 70] Operation: 95-25=70
Moving to Node #0,1,0
Current State: 78:[8, 70], Operations: ['79-54=25', '95-25=70']
Exploring Operation: 8+70=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | mult_heuristic |
[
78,
11,
78,
86
] | 96 | [
"78/78=1",
"11+86=97",
"97-1=96"
] | Current State: 96:[78, 11, 78, 86], Operations: []
Exploring Operation: 78/78=1, Resulting Numbers: [11, 86, 1]
Generated Node #2: [11, 86, 1] from Operation: 78/78=1
Current State: 96:[11, 86, 1], Operations: ['78/78=1']
Exploring Operation: 11+86=97, Resulting Numbers: [1, 97]
Generated Node #3: [1, 97] from Operation: 11+86=97
Current State: 96:[1, 97], Operations: ['78/78=1', '11+86=97']
Exploring Operation: 97-1=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[78, 11, 78, 86], Operations: []
Exploring Operation: 78/78=1, Resulting Numbers: [11, 86, 1]
Generated Node #0,0: 96:[11, 86, 1] Operation: 78/78=1
Exploring Operation: 78-78=0, Resulting Numbers: [11, 86, 0]
Generated Node #0,1: 96:[11, 86, 0] Operation: 78-78=0
Moving to Node #0,0
Current State: 96:[11, 86, 1], Operations: ['78/78=1']
Exploring Operation: 11+86=97, Resulting Numbers: [1, 97]
Generated Node #0,0,0: 96:[1, 97] Operation: 11+86=97
Exploring Operation: 11+1=12, Resulting Numbers: [86, 12]
Generated Node #0,0,1: 96:[86, 12] Operation: 11+1=12
Moving to Node #0,1
Current State: 96:[11, 86, 0], Operations: ['78-78=0']
Exploring Operation: 11+86=97, Resulting Numbers: [0, 97]
Generated Node #0,1,0: 96:[0, 97] Operation: 11+86=97
Exploring Operation: 86*0=0, Resulting Numbers: [11, 0]
Generated Node #0,1,1: 96:[11, 0] Operation: 86*0=0
Moving to Node #0,0,0
Current State: 96:[1, 97], Operations: ['78/78=1', '11+86=97']
Exploring Operation: 1*97=97, Resulting Numbers: [97]
97,96 unequal: No Solution
Exploring Operation: 97-1=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[78, 11, 78, 86], Operations: []
Exploring Operation: 78/78=1, Resulting Numbers: [11, 86, 1]
Generated Node #0,0: 96:[11, 86, 1] Operation: 78/78=1
Moving to Node #0,0
Current State: 96:[11, 86, 1], Operations: ['78/78=1']
Exploring Operation: 11+86=97, Resulting Numbers: [1, 97]
Generated Node #0,0,0: 96:[1, 97] Operation: 11+86=97
Moving to Node #0,0,0
Current State: 96:[1, 97], Operations: ['78/78=1', '11+86=97']
Exploring Operation: 97-1=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 0.989583 | hs_2 | sum_heuristic |
[
73,
19,
53,
68
] | 71 | [
"53-19=34",
"68/34=2",
"73-2=71"
] | Current State: 71:[73, 19, 53, 68], Operations: []
Exploring Operation: 53-19=34, Resulting Numbers: [73, 68, 34]
Generated Node #2: [73, 68, 34] from Operation: 53-19=34
Current State: 71:[73, 68, 34], Operations: ['53-19=34']
Exploring Operation: 68/34=2, Resulting Numbers: [73, 2]
Generated Node #3: [73, 2] from Operation: 68/34=2
Current State: 71:[73, 2], Operations: ['53-19=34', '68/34=2']
Exploring Operation: 73-2=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[73, 19, 53, 68], Operations: []
Exploring Operation: 73+19=92, Resulting Numbers: [53, 68, 92]
Generated Node #0,0: 71:[53, 68, 92] Operation: 73+19=92
Exploring Operation: 53-19=34, Resulting Numbers: [73, 68, 34]
Generated Node #0,1: 71:[73, 68, 34] Operation: 53-19=34
Exploring Operation: 73-19=54, Resulting Numbers: [53, 68, 54]
Generated Node #0,2: 71:[53, 68, 54] Operation: 73-19=54
Exploring Operation: 19+68=87, Resulting Numbers: [73, 53, 87]
Generated Node #0,3: 71:[73, 53, 87] Operation: 19+68=87
Exploring Operation: 19+53=72, Resulting Numbers: [73, 68, 72]
Generated Node #0,4: 71:[73, 68, 72] Operation: 19+53=72
Start Sub Search at level 1: Moving to Node #0,4
Current State: 71:[73, 68, 72], Operations: ['19+53=72']
Exploring Operation: 68+72=140, Resulting Numbers: [73, 140]
Generated Node #0,4,0: 71:[73, 140] Operation: 68+72=140
Exploring Operation: 72-68=4, Resulting Numbers: [73, 4]
Generated Node #0,4,1: 71:[73, 4] Operation: 72-68=4
Exploring Operation: 73+68=141, Resulting Numbers: [72, 141]
Generated Node #0,4,2: 71:[72, 141] Operation: 73+68=141
Exploring Operation: 73-68=5, Resulting Numbers: [72, 5]
Generated Node #0,4,3: 71:[72, 5] Operation: 73-68=5
Exploring Operation: 73-72=1, Resulting Numbers: [68, 1]
Generated Node #0,4,4: 71:[68, 1] Operation: 73-72=1
Moving to Node #0,4,3
Current State: 71:[72, 5], Operations: ['19+53=72', '73-68=5']
Exploring Operation: 72-5=67, Resulting Numbers: [67]
67,71 unequal: No Solution
Exploring Operation: 72+5=77, Resulting Numbers: [77]
77,71 unequal: No Solution
Exploring Operation: 72*5=360, Resulting Numbers: [360]
360,71 unequal: No Solution
Moving to Node #0,4,1
Current State: 71:[73, 4], Operations: ['19+53=72', '72-68=4']
Exploring Operation: 73+4=77, Resulting Numbers: [77]
77,71 unequal: No Solution
Exploring Operation: 73-4=69, Resulting Numbers: [69]
69,71 unequal: No Solution
Exploring Operation: 73*4=292, Resulting Numbers: [292]
292,71 unequal: No Solution
Moving to Node #0,4,0
Current State: 71:[73, 140], Operations: ['19+53=72', '68+72=140']
Exploring Operation: 140-73=67, Resulting Numbers: [67]
67,71 unequal: No Solution
Exploring Operation: 73+140=213, Resulting Numbers: [213]
213,71 unequal: No Solution
Exploring Operation: 73*140=10220, Resulting Numbers: [10220]
10220,71 unequal: No Solution
Moving to Node #0,4,2
Current State: 71:[72, 141], Operations: ['19+53=72', '73+68=141']
Exploring Operation: 141-72=69, Resulting Numbers: [69]
69,71 unequal: No Solution
Exploring Operation: 72*141=10152, Resulting Numbers: [10152]
10152,71 unequal: No Solution
Exploring Operation: 72+141=213, Resulting Numbers: [213]
213,71 unequal: No Solution
Moving to Node #0,4,4
Current State: 71:[68, 1], Operations: ['19+53=72', '73-72=1']
Exploring Operation: 68*1=68, Resulting Numbers: [68]
68,71 unequal: No Solution
Exploring Operation: 68/1=68, Resulting Numbers: [68]
68,71 unequal: No Solution
Exploring Operation: 68-1=67, Resulting Numbers: [67]
67,71 unequal: No Solution
Exploring Operation: 68+1=69, Resulting Numbers: [69]
69,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,3
Current State: 71:[73, 53, 87], Operations: ['19+68=87']
Exploring Operation: 87-53=34, Resulting Numbers: [73, 34]
Generated Node #0,3,0: 71:[73, 34] Operation: 87-53=34
Exploring Operation: 73+53=126, Resulting Numbers: [87, 126]
Generated Node #0,3,1: 71:[87, 126] Operation: 73+53=126
Exploring Operation: 53+87=140, Resulting Numbers: [73, 140]
Generated Node #0,3,2: 71:[73, 140] Operation: 53+87=140
Exploring Operation: 87-73=14, Resulting Numbers: [53, 14]
Generated Node #0,3,3: 71:[53, 14] Operation: 87-73=14
Exploring Operation: 73-53=20, Resulting Numbers: [87, 20]
Generated Node #0,3,4: 71:[87, 20] Operation: 73-53=20
Moving to Node #0,3,0
Current State: 71:[73, 34], Operations: ['19+68=87', '87-53=34']
Exploring Operation: 73-34=39, Resulting Numbers: [39]
39,71 unequal: No Solution
Exploring Operation: 73*34=2482, Resulting Numbers: [2482]
2482,71 unequal: No Solution
Exploring Operation: 73+34=107, Resulting Numbers: [107]
107,71 unequal: No Solution
Moving to Node #0,3,4
Current State: 71:[87, 20], Operations: ['19+68=87', '73-53=20']
Exploring Operation: 87-20=67, Resulting Numbers: [67]
67,71 unequal: No Solution
Exploring Operation: 87+20=107, Resulting Numbers: [107]
107,71 unequal: No Solution
Exploring Operation: 87*20=1740, Resulting Numbers: [1740]
1740,71 unequal: No Solution
Moving to Node #0,3,1
Current State: 71:[87, 126], Operations: ['19+68=87', '73+53=126']
Exploring Operation: 87+126=213, Resulting Numbers: [213]
213,71 unequal: No Solution
Exploring Operation: 126-87=39, Resulting Numbers: [39]
39,71 unequal: No Solution
Exploring Operation: 87*126=10962, Resulting Numbers: [10962]
10962,71 unequal: No Solution
Moving to Node #0,3,2
Current State: 71:[73, 140], Operations: ['19+68=87', '53+87=140']
Exploring Operation: 140-73=67, Resulting Numbers: [67]
67,71 unequal: No Solution
Exploring Operation: 73+140=213, Resulting Numbers: [213]
213,71 unequal: No Solution
Exploring Operation: 73*140=10220, Resulting Numbers: [10220]
10220,71 unequal: No Solution
Moving to Node #0,3,3
Current State: 71:[53, 14], Operations: ['19+68=87', '87-73=14']
Exploring Operation: 53-14=39, Resulting Numbers: [39]
39,71 unequal: No Solution
Exploring Operation: 53+14=67, Resulting Numbers: [67]
67,71 unequal: No Solution
Exploring Operation: 53*14=742, Resulting Numbers: [742]
742,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,2
Current State: 71:[53, 68, 54], Operations: ['73-19=54']
Exploring Operation: 68-53=15, Resulting Numbers: [54, 15]
Generated Node #0,2,0: 71:[54, 15] Operation: 68-53=15
Exploring Operation: 54-53=1, Resulting Numbers: [68, 1]
Generated Node #0,2,1: 71:[68, 1] Operation: 54-53=1
Exploring Operation: 53+54=107, Resulting Numbers: [68, 107]
Generated Node #0,2,2: 71:[68, 107] Operation: 53+54=107
Exploring Operation: 68+54=122, Resulting Numbers: [53, 122]
Generated Node #0,2,3: 71:[53, 122] Operation: 68+54=122
Exploring Operation: 53+68=121, Resulting Numbers: [54, 121]
Generated Node #0,2,4: 71:[54, 121] Operation: 53+68=121
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 71:[68, 107], Operations: ['73-19=54', '53+54=107']
Exploring Operation: 68*107=7276, Resulting Numbers: [7276]
7276,71 unequal: No Solution
Exploring Operation: 68+107=175, Resulting Numbers: [175]
175,71 unequal: No Solution
Exploring Operation: 107-68=39, Resulting Numbers: [39]
39,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,4
Current State: 71:[54, 121], Operations: ['73-19=54', '53+68=121']
Exploring Operation: 54+121=175, Resulting Numbers: [175]
175,71 unequal: No Solution
Exploring Operation: 121-54=67, Resulting Numbers: [67]
67,71 unequal: No Solution
Exploring Operation: 54*121=6534, Resulting Numbers: [6534]
6534,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:[53, 122], Operations: ['73-19=54', '68+54=122']
Exploring Operation: 122-53=69, Resulting Numbers: [69]
69,71 unequal: No Solution
Exploring Operation: 53+122=175, Resulting Numbers: [175]
175,71 unequal: No Solution
Exploring Operation: 53*122=6466, Resulting Numbers: [6466]
6466,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:[54, 15], Operations: ['73-19=54', '68-53=15']
Exploring Operation: 54+15=69, Resulting Numbers: [69]
69,71 unequal: No Solution
Exploring Operation: 54-15=39, Resulting Numbers: [39]
39,71 unequal: No Solution
Exploring Operation: 54*15=810, Resulting Numbers: [810]
810,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:[68, 1], Operations: ['73-19=54', '54-53=1']
Exploring Operation: 68+1=69, Resulting Numbers: [69]
69,71 unequal: No Solution
Exploring Operation: 68-1=67, Resulting Numbers: [67]
67,71 unequal: No Solution
Exploring Operation: 68*1=68, Resulting Numbers: [68]
68,71 unequal: No Solution
Exploring Operation: 68/1=68, Resulting Numbers: [68]
68,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,0
Current State: 71:[53, 68, 92], Operations: ['73+19=92']
Exploring Operation: 68-53=15, Resulting Numbers: [92, 15]
Generated Node #0,0,0: 71:[92, 15] Operation: 68-53=15
Exploring Operation: 53+92=145, Resulting Numbers: [68, 145]
Generated Node #0,0,1: 71:[68, 145] Operation: 53+92=145
Exploring Operation: 92-68=24, Resulting Numbers: [53, 24]
Generated Node #0,0,2: 71:[53, 24] Operation: 92-68=24
Exploring Operation: 53+68=121, Resulting Numbers: [92, 121]
Generated Node #0,0,3: 71:[92, 121] Operation: 53+68=121
Exploring Operation: 92-53=39, Resulting Numbers: [68, 39]
Generated Node #0,0,4: 71:[68, 39] Operation: 92-53=39
Moving to Node #0,0,4
Current State: 71:[68, 39], Operations: ['73+19=92', '92-53=39']
Exploring Operation: 68-39=29, Resulting Numbers: [29]
29,71 unequal: No Solution
Exploring Operation: 68+39=107, Resulting Numbers: [107]
107,71 unequal: No Solution
Exploring Operation: 68*39=2652, Resulting Numbers: [2652]
2652,71 unequal: No Solution
Moving to Node #0,0,2
Current State: 71:[53, 24], Operations: ['73+19=92', '92-68=24']
Exploring Operation: 53*24=1272, Resulting Numbers: [1272]
1272,71 unequal: No Solution
Exploring Operation: 53+24=77, Resulting Numbers: [77]
77,71 unequal: No Solution
Exploring Operation: 53-24=29, Resulting Numbers: [29]
29,71 unequal: No Solution
Moving to Node #0,0,3
Current State: 71:[92, 121], Operations: ['73+19=92', '53+68=121']
Exploring Operation: 121-92=29, Resulting Numbers: [29]
29,71 unequal: No Solution
Exploring Operation: 92+121=213, Resulting Numbers: [213]
213,71 unequal: No Solution
Exploring Operation: 92*121=11132, Resulting Numbers: [11132]
11132,71 unequal: No Solution
Moving to Node #0,0,0
Current State: 71:[92, 15], Operations: ['73+19=92', '68-53=15']
Exploring Operation: 92-15=77, Resulting Numbers: [77]
77,71 unequal: No Solution
Exploring Operation: 92*15=1380, Resulting Numbers: [1380]
1380,71 unequal: No Solution
Exploring Operation: 92+15=107, Resulting Numbers: [107]
107,71 unequal: No Solution
Moving to Node #0,0,1
Current State: 71:[68, 145], Operations: ['73+19=92', '53+92=145']
Exploring Operation: 68*145=9860, Resulting Numbers: [9860]
9860,71 unequal: No Solution
Exploring Operation: 68+145=213, Resulting Numbers: [213]
213,71 unequal: No Solution
Exploring Operation: 145-68=77, Resulting Numbers: [77]
77,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:[73, 68, 34], Operations: ['53-19=34']
Exploring Operation: 68/34=2, Resulting Numbers: [73, 2]
Generated Node #0,1,0: 71:[73, 2] Operation: 68/34=2
Exploring Operation: 68+34=102, Resulting Numbers: [73, 102]
Generated Node #0,1,1: 71:[73, 102] Operation: 68+34=102
Exploring Operation: 68-34=34, Resulting Numbers: [73, 34]
Generated Node #0,1,2: 71:[73, 34] Operation: 68-34=34
Exploring Operation: 73-34=39, Resulting Numbers: [68, 39]
Generated Node #0,1,3: 71:[68, 39] Operation: 73-34=39
Exploring Operation: 73+34=107, Resulting Numbers: [68, 107]
Generated Node #0,1,4: 71:[68, 107] Operation: 73+34=107
Moving to Node #0,1,1
Current State: 71:[73, 102], Operations: ['53-19=34', '68+34=102']
Exploring Operation: 73*102=7446, Resulting Numbers: [7446]
7446,71 unequal: No Solution
Exploring Operation: 73+102=175, Resulting Numbers: [175]
175,71 unequal: No Solution
Exploring Operation: 102-73=29, Resulting Numbers: [29]
29,71 unequal: No Solution
Moving to Node #0,1,3
Current State: 71:[68, 39], Operations: ['53-19=34', '73-34=39']
Exploring Operation: 68+39=107, Resulting Numbers: [107]
107,71 unequal: No Solution
Exploring Operation: 68-39=29, Resulting Numbers: [29]
29,71 unequal: No Solution
Exploring Operation: 68*39=2652, Resulting Numbers: [2652]
2652,71 unequal: No Solution
Moving to Node #0,1,2
Current State: 71:[73, 34], Operations: ['53-19=34', '68-34=34']
Exploring Operation: 73*34=2482, Resulting Numbers: [2482]
2482,71 unequal: No Solution
Exploring Operation: 73+34=107, Resulting Numbers: [107]
107,71 unequal: No Solution
Exploring Operation: 73-34=39, Resulting Numbers: [39]
39,71 unequal: No Solution
Moving to Node #0,1,4
Current State: 71:[68, 107], Operations: ['53-19=34', '73+34=107']
Exploring Operation: 68+107=175, Resulting Numbers: [175]
175,71 unequal: No Solution
Exploring Operation: 68*107=7276, Resulting Numbers: [7276]
7276,71 unequal: No Solution
Exploring Operation: 107-68=39, Resulting Numbers: [39]
39,71 unequal: No Solution
Moving to Node #0,1,0
Current State: 71:[73, 2], Operations: ['53-19=34', '68/34=2']
Exploring Operation: 73*2=146, Resulting Numbers: [146]
146,71 unequal: No Solution
Exploring Operation: 73+2=75, Resulting Numbers: [75]
75,71 unequal: No Solution
Exploring Operation: 73-2=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[73, 19, 53, 68], Operations: []
Exploring Operation: 53-19=34, Resulting Numbers: [73, 68, 34]
Generated Node #0,1: 71:[73, 68, 34] Operation: 53-19=34
Moving to Node #0,1
Current State: 71:[73, 68, 34], Operations: ['53-19=34']
Exploring Operation: 68/34=2, Resulting Numbers: [73, 2]
Generated Node #0,1,0: 71:[73, 2] Operation: 68/34=2
Moving to Node #0,1,0
Current State: 71:[73, 2], Operations: ['53-19=34', '68/34=2']
Exploring Operation: 73-2=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Exit Sub Search at level 1
| 0.903646 | hs_5 | sum_heuristic |
[
78,
88,
94,
97
] | 25 | [
"78+88=166",
"94+97=191",
"191-166=25"
] | Current State: 25:[78, 88, 94, 97], Operations: []
Exploring Operation: 78+88=166, Resulting Numbers: [94, 97, 166]
Generated Node #2: [94, 97, 166] from Operation: 78+88=166
Current State: 25:[94, 97, 166], Operations: ['78+88=166']
Exploring Operation: 94+97=191, Resulting Numbers: [166, 191]
Generated Node #3: [166, 191] from Operation: 94+97=191
Current State: 25:[166, 191], Operations: ['78+88=166', '94+97=191']
Exploring Operation: 191-166=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[78, 88, 94, 97], Operations: []
Exploring Operation: 94-88=6, Resulting Numbers: [78, 97, 6]
Generated Node #0,0: 25:[78, 97, 6] Operation: 94-88=6
Exploring Operation: 97-94=3, Resulting Numbers: [78, 88, 3]
Generated Node #0,1: 25:[78, 88, 3] Operation: 97-94=3
Moving to Node #0,1
Current State: 25:[78, 88, 3], Operations: ['97-94=3']
Exploring Operation: 78/3=26, Resulting Numbers: [88, 26]
Generated Node #0,1,0: 25:[88, 26] Operation: 78/3=26
Exploring Operation: 88-78=10, Resulting Numbers: [3, 10]
Generated Node #0,1,1: 25:[3, 10] Operation: 88-78=10
Moving to Node #0,0
Current State: 25:[78, 97, 6], Operations: ['94-88=6']
Exploring Operation: 78/6=13, Resulting Numbers: [97, 13]
Generated Node #0,0,0: 25:[97, 13] Operation: 78/6=13
Exploring Operation: 97-78=19, Resulting Numbers: [6, 19]
Generated Node #0,0,1: 25:[6, 19] Operation: 97-78=19
Moving to Node #0,1,1
Current State: 25:[3, 10], Operations: ['97-94=3', '88-78=10']
Exploring Operation: 3*10=30, Resulting Numbers: [30]
30,25 unequal: No Solution
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,25 unequal: No Solution
Moving to Node #0,0,1
Current State: 25:[6, 19], Operations: ['94-88=6', '97-78=19']
Exploring Operation: 19-6=13, Resulting Numbers: [13]
13,25 unequal: No Solution
Exploring Operation: 6+19=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[78, 88, 94, 97], Operations: []
Exploring Operation: 94-88=6, Resulting Numbers: [78, 97, 6]
Generated Node #0,0: 25:[78, 97, 6] Operation: 94-88=6
Moving to Node #0,0
Current State: 25:[78, 97, 6], Operations: ['94-88=6']
Exploring Operation: 97-78=19, Resulting Numbers: [6, 19]
Generated Node #0,0,1: 25:[6, 19] Operation: 97-78=19
Moving to Node #0,0,1
Current State: 25:[6, 19], Operations: ['94-88=6', '97-78=19']
Exploring Operation: 6+19=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 0.987847 | hs_2 | sum_heuristic |
[
35,
88,
16,
69
] | 12 | [
"35+88=123",
"69+123=192",
"192/16=12"
] | Current State: 12:[35, 88, 16, 69], Operations: []
Exploring Operation: 35+88=123, Resulting Numbers: [16, 69, 123]
Generated Node #2: [16, 69, 123] from Operation: 35+88=123
Current State: 12:[16, 69, 123], Operations: ['35+88=123']
Exploring Operation: 69+123=192, Resulting Numbers: [16, 192]
Generated Node #3: [16, 192] from Operation: 69+123=192
Current State: 12:[16, 192], Operations: ['35+88=123', '69+123=192']
Exploring Operation: 192/16=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[35, 88, 16, 69], Operations: []
Exploring Operation: 88-35=53, Resulting Numbers: [16, 69, 53]
Generated Node #0,0: 12:[16, 69, 53] Operation: 88-35=53
Exploring Operation: 88-69=19, Resulting Numbers: [35, 16, 19]
Generated Node #0,1: 12:[35, 16, 19] Operation: 88-69=19
Exploring Operation: 69-35=34, Resulting Numbers: [88, 16, 34]
Generated Node #0,2: 12:[88, 16, 34] Operation: 69-35=34
Moving to Node #0,1
Current State: 12:[35, 16, 19], Operations: ['88-69=19']
Exploring Operation: 35-19=16, Resulting Numbers: [16, 16]
Generated Node #0,1,0: 12:[16, 16] Operation: 35-19=16
Exploring Operation: 19-16=3, Resulting Numbers: [35, 3]
Generated Node #0,1,1: 12:[35, 3] Operation: 19-16=3
Exploring Operation: 35-16=19, Resulting Numbers: [19, 19]
Generated Node #0,1,2: 12:[19, 19] Operation: 35-16=19
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 12:[16, 16], Operations: ['88-69=19', '35-19=16']
Exploring Operation: 16/16=1, Resulting Numbers: [1]
1,12 unequal: No Solution
Exploring Operation: 16+16=32, Resulting Numbers: [32]
32,12 unequal: No Solution
Exploring Operation: 16-16=0, Resulting Numbers: [0]
0,12 unequal: No Solution
No 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: 12:[19, 19], Operations: ['88-69=19', '35-16=19']
Exploring Operation: 19/19=1, Resulting Numbers: [1]
1,12 unequal: No Solution
Exploring Operation: 19-19=0, Resulting Numbers: [0]
0,12 unequal: No Solution
Exploring Operation: 19+19=38, Resulting Numbers: [38]
38,12 unequal: No Solution
No 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: 12:[35, 3], Operations: ['88-69=19', '19-16=3']
Exploring Operation: 35*3=105, Resulting Numbers: [105]
105,12 unequal: No Solution
Exploring Operation: 35+3=38, Resulting Numbers: [38]
38,12 unequal: No Solution
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,12 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: 12:[16, 69, 53], Operations: ['88-35=53']
Exploring Operation: 69-16=53, Resulting Numbers: [53, 53]
Generated Node #0,0,0: 12:[53, 53] Operation: 69-16=53
Exploring Operation: 53-16=37, Resulting Numbers: [69, 37]
Generated Node #0,0,1: 12:[69, 37] Operation: 53-16=37
Exploring Operation: 69-53=16, Resulting Numbers: [16, 16]
Generated Node #0,0,2: 12:[16, 16] Operation: 69-53=16
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 12:[16, 16], Operations: ['88-35=53', '69-53=16']
Exploring Operation: 16/16=1, Resulting Numbers: [1]
1,12 unequal: No Solution
Exploring Operation: 16+16=32, Resulting Numbers: [32]
32,12 unequal: No Solution
Exploring Operation: 16-16=0, Resulting Numbers: [0]
0,12 unequal: No Solution
No 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: 12:[53, 53], Operations: ['88-35=53', '69-16=53']
Exploring Operation: 53-53=0, Resulting Numbers: [0]
0,12 unequal: No Solution
Exploring Operation: 53+53=106, Resulting Numbers: [106]
106,12 unequal: No Solution
Exploring Operation: 53/53=1, Resulting Numbers: [1]
1,12 unequal: No Solution
No 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: 12:[69, 37], Operations: ['88-35=53', '53-16=37']
Exploring Operation: 69-37=32, Resulting Numbers: [32]
32,12 unequal: No Solution
Exploring Operation: 69*37=2553, Resulting Numbers: [2553]
2553,12 unequal: No Solution
Exploring Operation: 69+37=106, Resulting Numbers: [106]
106,12 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: 12:[88, 16, 34], Operations: ['69-35=34']
Exploring Operation: 88-16=72, Resulting Numbers: [34, 72]
Generated Node #0,2,0: 12:[34, 72] Operation: 88-16=72
Exploring Operation: 34-16=18, Resulting Numbers: [88, 18]
Generated Node #0,2,1: 12:[88, 18] Operation: 34-16=18
Exploring Operation: 88-34=54, Resulting Numbers: [16, 54]
Generated Node #0,2,2: 12:[16, 54] Operation: 88-34=54
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 12:[16, 54], Operations: ['69-35=34', '88-34=54']
Exploring Operation: 16+54=70, Resulting Numbers: [70]
70,12 unequal: No Solution
Exploring Operation: 16*54=864, Resulting Numbers: [864]
864,12 unequal: No Solution
Exploring Operation: 54-16=38, Resulting Numbers: [38]
38,12 unequal: No Solution
No 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: 12:[34, 72], Operations: ['69-35=34', '88-16=72']
Exploring Operation: 34*72=2448, Resulting Numbers: [2448]
2448,12 unequal: No Solution
Exploring Operation: 72-34=38, Resulting Numbers: [38]
38,12 unequal: No Solution
Exploring Operation: 34+72=106, Resulting Numbers: [106]
106,12 unequal: No Solution
No 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: 12:[88, 18], Operations: ['69-35=34', '34-16=18']
Exploring Operation: 88-18=70, Resulting Numbers: [70]
70,12 unequal: No Solution
Exploring Operation: 88*18=1584, Resulting Numbers: [1584]
1584,12 unequal: No Solution
Exploring Operation: 88+18=106, Resulting Numbers: [106]
106,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
18,
37,
37,
16
] | 74 | [
"18*37=666",
"37*16=592",
"666-592=74"
] | Current State: 74:[18, 37, 37, 16], Operations: []
Exploring Operation: 18*37=666, Resulting Numbers: [16, 666]
Generated Node #2: [16, 666] from Operation: 18*37=666
Current State: 74:[16, 666], Operations: ['18*37=666']
Exploring Operation: 37*16=592, Resulting Numbers: [666, 592]
Generated Node #3: [666, 592] from Operation: 37*16=592
Current State: 74:[666, 592], Operations: ['18*37=666', '37*16=592']
Exploring Operation: 666-592=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[18, 37, 37, 16], Operations: []
Exploring Operation: 18-16=2, Resulting Numbers: [37, 37, 2]
Generated Node #0,0: 74:[37, 37, 2] Operation: 18-16=2
Exploring Operation: 18+16=34, Resulting Numbers: [37, 37, 34]
Generated Node #0,1: 74:[37, 37, 34] Operation: 18+16=34
Moving to Node #0,0
Current State: 74:[37, 37, 2], Operations: ['18-16=2']
Exploring Operation: 37*2=74, Resulting Numbers: [37, 74]
Generated Node #0,0,0: 74:[37, 74] Operation: 37*2=74
Exploring Operation: 37+37=74, Resulting Numbers: [2, 74]
Generated Node #0,0,1: 74:[2, 74] Operation: 37+37=74
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 74:[37, 74], Operations: ['18-16=2', '37*2=74']
Exploring Operation: 74/37=2, Resulting Numbers: [2]
2,74 unequal: No Solution
Exploring Operation: 74-37=37, Resulting Numbers: [37]
37,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,1
Current State: 74:[2, 74], Operations: ['18-16=2', '37+37=74']
Exploring Operation: 74/2=37, Resulting Numbers: [37]
37,74 unequal: No Solution
Exploring Operation: 2+74=76, Resulting Numbers: [76]
76,74 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: 74:[37, 37, 34], Operations: ['18+16=34']
Exploring Operation: 37-34=3, Resulting Numbers: [37, 3]
Generated Node #0,1,0: 74:[37, 3] Operation: 37-34=3
Exploring Operation: 37-34=3, Resulting Numbers: [37, 3]
Generated Node #0,1,1: 74:[37, 3] Operation: 37-34=3
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 74:[37, 3], Operations: ['18+16=34', '37-34=3']
Exploring Operation: 37-3=34, Resulting Numbers: [34]
34,74 unequal: No Solution
Exploring Operation: 37+3=40, Resulting Numbers: [40]
40,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,1
Current State: 74:[37, 3], Operations: ['18+16=34', '37-34=3']
Exploring Operation: 37-3=34, Resulting Numbers: [34]
34,74 unequal: No Solution
Exploring Operation: 37+3=40, Resulting Numbers: [40]
40,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 | mult_heuristic |
[
72,
13,
17,
90
] | 59 | [
"72+90=162",
"13*17=221",
"221-162=59"
] | Current State: 59:[72, 13, 17, 90], Operations: []
Exploring Operation: 72+90=162, Resulting Numbers: [13, 17, 162]
Generated Node #2: [13, 17, 162] from Operation: 72+90=162
Current State: 59:[13, 17, 162], Operations: ['72+90=162']
Exploring Operation: 13*17=221, Resulting Numbers: [162, 221]
Generated Node #3: [162, 221] from Operation: 13*17=221
Current State: 59:[162, 221], Operations: ['72+90=162', '13*17=221']
Exploring Operation: 221-162=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[72, 13, 17, 90], Operations: []
Exploring Operation: 72-13=59, Resulting Numbers: [17, 90, 59]
Generated Node #0,0: 59:[17, 90, 59] Operation: 72-13=59
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[17, 90, 59], Operations: ['72-13=59']
Exploring Operation: 90-17=73, Resulting Numbers: [59, 73]
Generated Node #0,0,0: 59:[59, 73] Operation: 90-17=73
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 59:[59, 73], Operations: ['72-13=59', '90-17=73']
Exploring Operation: 73-59=14, Resulting Numbers: [14]
14,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
80,
88,
7,
76
] | 91 | [
"88-80=8",
"7+76=83",
"8+83=91"
] | Current State: 91:[80, 88, 7, 76], Operations: []
Exploring Operation: 88-80=8, Resulting Numbers: [7, 76, 8]
Generated Node #2: [7, 76, 8] from Operation: 88-80=8
Current State: 91:[7, 76, 8], Operations: ['88-80=8']
Exploring Operation: 7+76=83, Resulting Numbers: [8, 83]
Generated Node #3: [8, 83] from Operation: 7+76=83
Current State: 91:[8, 83], Operations: ['88-80=8', '7+76=83']
Exploring Operation: 8+83=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[80, 88, 7, 76], Operations: []
Exploring Operation: 80+7=87, Resulting Numbers: [88, 76, 87]
Generated Node #0,0: 91:[88, 76, 87] Operation: 80+7=87
Exploring Operation: 88-76=12, Resulting Numbers: [80, 7, 12]
Generated Node #0,1: 91:[80, 7, 12] Operation: 88-76=12
Exploring Operation: 88-80=8, Resulting Numbers: [7, 76, 8]
Generated Node #0,2: 91:[7, 76, 8] Operation: 88-80=8
Exploring Operation: 80-76=4, Resulting Numbers: [88, 7, 4]
Generated Node #0,3: 91:[88, 7, 4] Operation: 80-76=4
Start Sub Search at level 1: Moving to Node #0,3
Current State: 91:[88, 7, 4], Operations: ['80-76=4']
Exploring Operation: 88+4=92, Resulting Numbers: [7, 92]
Generated Node #0,3,0: 91:[7, 92] Operation: 88+4=92
Exploring Operation: 88-4=84, Resulting Numbers: [7, 84]
Generated Node #0,3,1: 91:[7, 84] Operation: 88-4=84
Exploring Operation: 88+7=95, Resulting Numbers: [4, 95]
Generated Node #0,3,2: 91:[4, 95] Operation: 88+7=95
Exploring Operation: 7+4=11, Resulting Numbers: [88, 11]
Generated Node #0,3,3: 91:[88, 11] Operation: 7+4=11
Moving to Node #0,3,0
Current State: 91:[7, 92], Operations: ['80-76=4', '88+4=92']
Exploring Operation: 92-7=85, Resulting Numbers: [85]
85,91 unequal: No Solution
Exploring Operation: 7+92=99, Resulting Numbers: [99]
99,91 unequal: No Solution
Exploring Operation: 7*92=644, Resulting Numbers: [644]
644,91 unequal: No Solution
Moving to Node #0,3,3
Current State: 91:[88, 11], Operations: ['80-76=4', '7+4=11']
Exploring Operation: 88*11=968, Resulting Numbers: [968]
968,91 unequal: No Solution
Exploring Operation: 88/11=8, Resulting Numbers: [8]
8,91 unequal: No Solution
Exploring Operation: 88-11=77, Resulting Numbers: [77]
77,91 unequal: No Solution
Exploring Operation: 88+11=99, Resulting Numbers: [99]
99,91 unequal: No Solution
Moving to Node #0,3,2
Current State: 91:[4, 95], Operations: ['80-76=4', '88+7=95']
Exploring Operation: 4+95=99, Resulting Numbers: [99]
99,91 unequal: No Solution
Exploring Operation: 4*95=380, Resulting Numbers: [380]
380,91 unequal: No Solution
Exploring Operation: 95-4=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[80, 88, 7, 76], Operations: []
Exploring Operation: 80-76=4, Resulting Numbers: [88, 7, 4]
Generated Node #0,3: 91:[88, 7, 4] Operation: 80-76=4
Moving to Node #0,3
Current State: 91:[88, 7, 4], Operations: ['80-76=4']
Exploring Operation: 88+7=95, Resulting Numbers: [4, 95]
Generated Node #0,3,2: 91:[4, 95] Operation: 88+7=95
Moving to Node #0,3,2
Current State: 91:[4, 95], Operations: ['80-76=4', '88+7=95']
Exploring Operation: 95-4=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_4 | sum_heuristic |
[
53,
57,
12,
76
] | 84 | [
"57-53=4",
"12+76=88",
"88-4=84"
] | Current State: 84:[53, 57, 12, 76], Operations: []
Exploring Operation: 57-53=4, Resulting Numbers: [12, 76, 4]
Generated Node #2: [12, 76, 4] from Operation: 57-53=4
Current State: 84:[12, 76, 4], Operations: ['57-53=4']
Exploring Operation: 12+76=88, Resulting Numbers: [4, 88]
Generated Node #3: [4, 88] from Operation: 12+76=88
Current State: 84:[4, 88], Operations: ['57-53=4', '12+76=88']
Exploring Operation: 88-4=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[53, 57, 12, 76], Operations: []
Exploring Operation: 57-53=4, Resulting Numbers: [12, 76, 4]
Generated Node #0,0: 84:[12, 76, 4] Operation: 57-53=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[12, 76, 4], Operations: ['57-53=4']
Exploring Operation: 76/4=19, Resulting Numbers: [12, 19]
Generated Node #0,0,0: 84:[12, 19] Operation: 76/4=19
Moving to Node #0,0,0
Current State: 84:[12, 19], Operations: ['57-53=4', '76/4=19']
Exploring Operation: 19-12=7, Resulting Numbers: [7]
7,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
39,
2,
1,
10
] | 23 | [
"2+1=3",
"39/3=13",
"10+13=23"
] | Current State: 23:[39, 2, 1, 10], Operations: []
Exploring Operation: 2+1=3, Resulting Numbers: [39, 10, 3]
Generated Node #2: [39, 10, 3] from Operation: 2+1=3
Current State: 23:[39, 10, 3], Operations: ['2+1=3']
Exploring Operation: 39/3=13, Resulting Numbers: [10, 13]
Generated Node #3: [10, 13] from Operation: 39/3=13
Current State: 23:[10, 13], Operations: ['2+1=3', '39/3=13']
Exploring Operation: 10+13=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[39, 2, 1, 10], Operations: []
Exploring Operation: 39-1=38, Resulting Numbers: [2, 10, 38]
Generated Node #0,0: 23:[2, 10, 38] Operation: 39-1=38
Exploring Operation: 2+1=3, Resulting Numbers: [39, 10, 3]
Generated Node #0,1: 23:[39, 10, 3] Operation: 2+1=3
Exploring Operation: 2*10=20, Resulting Numbers: [39, 1, 20]
Generated Node #0,2: 23:[39, 1, 20] Operation: 2*10=20
Exploring Operation: 39-2=37, Resulting Numbers: [1, 10, 37]
Generated Node #0,3: 23:[1, 10, 37] Operation: 39-2=37
Exploring Operation: 39-10=29, Resulting Numbers: [2, 1, 29]
Generated Node #0,4: 23:[2, 1, 29] Operation: 39-10=29
Moving to Node #0,2
Current State: 23:[39, 1, 20], Operations: ['2*10=20']
Exploring Operation: 39*1=39, Resulting Numbers: [20, 39]
Generated Node #0,2,0: 23:[20, 39] Operation: 39*1=39
Exploring Operation: 1+20=21, Resulting Numbers: [39, 21]
Generated Node #0,2,1: 23:[39, 21] Operation: 1+20=21
Exploring Operation: 39/1=39, Resulting Numbers: [20, 39]
Generated Node #0,2,2: 23:[20, 39] Operation: 39/1=39
Exploring Operation: 39-1=38, Resulting Numbers: [20, 38]
Generated Node #0,2,3: 23:[20, 38] Operation: 39-1=38
Exploring Operation: 1*20=20, Resulting Numbers: [39, 20]
Generated Node #0,2,4: 23:[39, 20] Operation: 1*20=20
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 23:[39, 21], Operations: ['2*10=20', '1+20=21']
Exploring Operation: 39-21=18, Resulting Numbers: [18]
18,23 unequal: No Solution
Exploring Operation: 39*21=819, Resulting Numbers: [819]
819,23 unequal: No Solution
Exploring Operation: 39+21=60, Resulting Numbers: [60]
60,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 23:[20, 38], Operations: ['2*10=20', '39-1=38']
Exploring Operation: 20+38=58, Resulting Numbers: [58]
58,23 unequal: No Solution
Exploring Operation: 20*38=760, Resulting Numbers: [760]
760,23 unequal: No Solution
Exploring Operation: 38-20=18, Resulting Numbers: [18]
18,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 23:[20, 39], Operations: ['2*10=20', '39*1=39']
Exploring Operation: 20*39=780, Resulting Numbers: [780]
780,23 unequal: No Solution
Exploring Operation: 39-20=19, Resulting Numbers: [19]
19,23 unequal: No Solution
Exploring Operation: 20+39=59, Resulting Numbers: [59]
59,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 23:[20, 39], Operations: ['2*10=20', '39/1=39']
Exploring Operation: 39-20=19, Resulting Numbers: [19]
19,23 unequal: No Solution
Exploring Operation: 20+39=59, Resulting Numbers: [59]
59,23 unequal: No Solution
Exploring Operation: 20*39=780, Resulting Numbers: [780]
780,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 23:[39, 20], Operations: ['2*10=20', '1*20=20']
Exploring Operation: 39*20=780, Resulting Numbers: [780]
780,23 unequal: No Solution
Exploring Operation: 39-20=19, Resulting Numbers: [19]
19,23 unequal: No Solution
Exploring Operation: 39+20=59, Resulting Numbers: [59]
59,23 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: 23:[39, 10, 3], Operations: ['2+1=3']
Exploring Operation: 39-3=36, Resulting Numbers: [10, 36]
Generated Node #0,1,0: 23:[10, 36] Operation: 39-3=36
Exploring Operation: 10*3=30, Resulting Numbers: [39, 30]
Generated Node #0,1,1: 23:[39, 30] Operation: 10*3=30
Exploring Operation: 10+3=13, Resulting Numbers: [39, 13]
Generated Node #0,1,2: 23:[39, 13] Operation: 10+3=13
Exploring Operation: 39-10=29, Resulting Numbers: [3, 29]
Generated Node #0,1,3: 23:[3, 29] Operation: 39-10=29
Exploring Operation: 39/3=13, Resulting Numbers: [10, 13]
Generated Node #0,1,4: 23:[10, 13] Operation: 39/3=13
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 23:[39, 30], Operations: ['2+1=3', '10*3=30']
Exploring Operation: 39-30=9, Resulting Numbers: [9]
9,23 unequal: No Solution
Exploring Operation: 39*30=1170, Resulting Numbers: [1170]
1170,23 unequal: No Solution
Exploring Operation: 39+30=69, Resulting Numbers: [69]
69,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 23:[10, 13], Operations: ['2+1=3', '39/3=13']
Exploring Operation: 10+13=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[39, 2, 1, 10], Operations: []
Exploring Operation: 2+1=3, Resulting Numbers: [39, 10, 3]
Generated Node #0,1: 23:[39, 10, 3] Operation: 2+1=3
Moving to Node #0,1
Current State: 23:[39, 10, 3], Operations: ['2+1=3']
Exploring Operation: 39/3=13, Resulting Numbers: [10, 13]
Generated Node #0,1,4: 23:[10, 13] Operation: 39/3=13
Moving to Node #0,1,4
Current State: 23:[10, 13], Operations: ['2+1=3', '39/3=13']
Exploring Operation: 10+13=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 1
| 0.967014 | hs_5 | mult_heuristic |
[
34,
14,
32,
8
] | 22 | [
"14*32=448",
"448/8=56",
"56-34=22"
] | Current State: 22:[34, 14, 32, 8], Operations: []
Exploring Operation: 14*32=448, Resulting Numbers: [34, 8, 448]
Generated Node #2: [34, 8, 448] from Operation: 14*32=448
Current State: 22:[34, 8, 448], Operations: ['14*32=448']
Exploring Operation: 448/8=56, Resulting Numbers: [34, 56]
Generated Node #3: [34, 56] from Operation: 448/8=56
Current State: 22:[34, 56], Operations: ['14*32=448', '448/8=56']
Exploring Operation: 56-34=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[34, 14, 32, 8], Operations: []
Exploring Operation: 34-32=2, Resulting Numbers: [14, 8, 2]
Generated Node #0,0: 22:[14, 8, 2] Operation: 34-32=2
Exploring Operation: 32-8=24, Resulting Numbers: [34, 14, 24]
Generated Node #0,1: 22:[34, 14, 24] Operation: 32-8=24
Exploring Operation: 34-8=26, Resulting Numbers: [14, 32, 26]
Generated Node #0,2: 22:[14, 32, 26] Operation: 34-8=26
Exploring Operation: 34-14=20, Resulting Numbers: [32, 8, 20]
Generated Node #0,3: 22:[32, 8, 20] Operation: 34-14=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[14, 8, 2], Operations: ['34-32=2']
Exploring Operation: 14-8=6, Resulting Numbers: [2, 6]
Generated Node #0,0,0: 22:[2, 6] Operation: 14-8=6
Exploring Operation: 14-2=12, Resulting Numbers: [8, 12]
Generated Node #0,0,1: 22:[8, 12] Operation: 14-2=12
Exploring Operation: 14+8=22, Resulting Numbers: [2, 22]
Generated Node #0,0,2: 22:[2, 22] Operation: 14+8=22
Exploring Operation: 8+2=10, Resulting Numbers: [14, 10]
Generated Node #0,0,3: 22:[14, 10] Operation: 8+2=10
Moving to Node #0,0,2
Current State: 22:[2, 22], Operations: ['34-32=2', '14+8=22']
Exploring Operation: 2*22=44, Resulting Numbers: [44]
44,22 unequal: No Solution
Exploring Operation: 2+22=24, Resulting Numbers: [24]
24,22 unequal: No Solution
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,22 unequal: No Solution
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,22 unequal: No Solution
Moving to Node #0,0,1
Current State: 22:[8, 12], Operations: ['34-32=2', '14-2=12']
Exploring Operation: 8*12=96, Resulting Numbers: [96]
96,22 unequal: No Solution
Exploring Operation: 12-8=4, Resulting Numbers: [4]
4,22 unequal: No Solution
Exploring Operation: 8+12=20, Resulting Numbers: [20]
20,22 unequal: No Solution
Moving to Node #0,0,0
Current State: 22:[2, 6], Operations: ['34-32=2', '14-8=6']
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,22 unequal: No Solution
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,22 unequal: No Solution
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,22 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,22 unequal: No Solution
Moving to Node #0,0,3
Current State: 22:[14, 10], Operations: ['34-32=2', '8+2=10']
Exploring Operation: 14*10=140, Resulting Numbers: [140]
140,22 unequal: No Solution
Exploring Operation: 14+10=24, Resulting Numbers: [24]
24,22 unequal: No Solution
Exploring Operation: 14-10=4, Resulting Numbers: [4]
4,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 22:[32, 8, 20], Operations: ['34-14=20']
Exploring Operation: 20-8=12, Resulting Numbers: [32, 12]
Generated Node #0,3,0: 22:[32, 12] Operation: 20-8=12
Exploring Operation: 32-20=12, Resulting Numbers: [8, 12]
Generated Node #0,3,1: 22:[8, 12] Operation: 32-20=12
Exploring Operation: 32-8=24, Resulting Numbers: [20, 24]
Generated Node #0,3,2: 22:[20, 24] Operation: 32-8=24
Exploring Operation: 32/8=4, Resulting Numbers: [20, 4]
Generated Node #0,3,3: 22:[20, 4] Operation: 32/8=4
Moving to Node #0,3,1
Current State: 22:[8, 12], Operations: ['34-14=20', '32-20=12']
Exploring Operation: 8+12=20, Resulting Numbers: [20]
20,22 unequal: No Solution
Exploring Operation: 8*12=96, Resulting Numbers: [96]
96,22 unequal: No Solution
Exploring Operation: 12-8=4, Resulting Numbers: [4]
4,22 unequal: No Solution
Moving to Node #0,3,3
Current State: 22:[20, 4], Operations: ['34-14=20', '32/8=4']
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,22 unequal: No Solution
Exploring Operation: 20+4=24, Resulting Numbers: [24]
24,22 unequal: No Solution
Exploring Operation: 20*4=80, Resulting Numbers: [80]
80,22 unequal: No Solution
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,22 unequal: No Solution
Moving to Node #0,3,2
Current State: 22:[20, 24], Operations: ['34-14=20', '32-8=24']
Exploring Operation: 24-20=4, Resulting Numbers: [4]
4,22 unequal: No Solution
Exploring Operation: 20+24=44, Resulting Numbers: [44]
44,22 unequal: No Solution
Exploring Operation: 20*24=480, Resulting Numbers: [480]
480,22 unequal: No Solution
Moving to Node #0,3,0
Current State: 22:[32, 12], Operations: ['34-14=20', '20-8=12']
Exploring Operation: 32-12=20, Resulting Numbers: [20]
20,22 unequal: No Solution
Exploring Operation: 32+12=44, Resulting Numbers: [44]
44,22 unequal: No Solution
Exploring Operation: 32*12=384, Resulting Numbers: [384]
384,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 22:[34, 14, 24], Operations: ['32-8=24']
Exploring Operation: 34-14=20, Resulting Numbers: [24, 20]
Generated Node #0,1,0: 22:[24, 20] Operation: 34-14=20
Exploring Operation: 34-24=10, Resulting Numbers: [14, 10]
Generated Node #0,1,1: 22:[14, 10] Operation: 34-24=10
Exploring Operation: 24-14=10, Resulting Numbers: [34, 10]
Generated Node #0,1,2: 22:[34, 10] Operation: 24-14=10
Exploring Operation: 34+14=48, Resulting Numbers: [24, 48]
Generated Node #0,1,3: 22:[24, 48] Operation: 34+14=48
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 22:[24, 20], Operations: ['32-8=24', '34-14=20']
Exploring Operation: 24+20=44, Resulting Numbers: [44]
44,22 unequal: No Solution
Exploring Operation: 24*20=480, Resulting Numbers: [480]
480,22 unequal: No Solution
Exploring Operation: 24-20=4, Resulting Numbers: [4]
4,22 unequal: No Solution
No 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: 22:[14, 10], Operations: ['32-8=24', '34-24=10']
Exploring Operation: 14+10=24, Resulting Numbers: [24]
24,22 unequal: No Solution
Exploring Operation: 14*10=140, Resulting Numbers: [140]
140,22 unequal: No Solution
Exploring Operation: 14-10=4, Resulting Numbers: [4]
4,22 unequal: No Solution
No 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: 22:[34, 10], Operations: ['32-8=24', '24-14=10']
Exploring Operation: 34-10=24, Resulting Numbers: [24]
24,22 unequal: No Solution
Exploring Operation: 34*10=340, Resulting Numbers: [340]
340,22 unequal: No Solution
Exploring Operation: 34+10=44, Resulting Numbers: [44]
44,22 unequal: No Solution
No 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: 22:[24, 48], Operations: ['32-8=24', '34+14=48']
Exploring Operation: 24*48=1152, Resulting Numbers: [1152]
1152,22 unequal: No Solution
Exploring Operation: 48/24=2, Resulting Numbers: [2]
2,22 unequal: No Solution
Exploring Operation: 48-24=24, Resulting Numbers: [24]
24,22 unequal: No Solution
Exploring Operation: 24+48=72, Resulting Numbers: [72]
72,22 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: 22:[14, 32, 26], Operations: ['34-8=26']
Exploring Operation: 32-26=6, Resulting Numbers: [14, 6]
Generated Node #0,2,0: 22:[14, 6] Operation: 32-26=6
Exploring Operation: 26-14=12, Resulting Numbers: [32, 12]
Generated Node #0,2,1: 22:[32, 12] Operation: 26-14=12
Exploring Operation: 14+32=46, Resulting Numbers: [26, 46]
Generated Node #0,2,2: 22:[26, 46] Operation: 14+32=46
Exploring Operation: 32-14=18, Resulting Numbers: [26, 18]
Generated Node #0,2,3: 22:[26, 18] Operation: 32-14=18
Moving to Node #0,2,0
Current State: 22:[14, 6], Operations: ['34-8=26', '32-26=6']
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,22 unequal: No Solution
Exploring Operation: 14+6=20, Resulting Numbers: [20]
20,22 unequal: No Solution
Exploring Operation: 14*6=84, Resulting Numbers: [84]
84,22 unequal: No Solution
Moving to Node #0,2,3
Current State: 22:[26, 18], Operations: ['34-8=26', '32-14=18']
Exploring Operation: 26+18=44, Resulting Numbers: [44]
44,22 unequal: No Solution
Exploring Operation: 26-18=8, Resulting Numbers: [8]
8,22 unequal: No Solution
Exploring Operation: 26*18=468, Resulting Numbers: [468]
468,22 unequal: No Solution
Moving to Node #0,2,1
Current State: 22:[32, 12], Operations: ['34-8=26', '26-14=12']
Exploring Operation: 32-12=20, Resulting Numbers: [20]
20,22 unequal: No Solution
Exploring Operation: 32*12=384, Resulting Numbers: [384]
384,22 unequal: No Solution
Exploring Operation: 32+12=44, Resulting Numbers: [44]
44,22 unequal: No Solution
Moving to Node #0,2,2
Current State: 22:[26, 46], Operations: ['34-8=26', '14+32=46']
Exploring Operation: 46-26=20, Resulting Numbers: [20]
20,22 unequal: No Solution
Exploring Operation: 26*46=1196, Resulting Numbers: [1196]
1196,22 unequal: No Solution
Exploring Operation: 26+46=72, Resulting Numbers: [72]
72,22 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 |
[
88,
87,
96,
85
] | 52 | [
"87-85=2",
"88/2=44",
"96-44=52"
] | Current State: 52:[88, 87, 96, 85], Operations: []
Exploring Operation: 87-85=2, Resulting Numbers: [88, 96, 2]
Generated Node #2: [88, 96, 2] from Operation: 87-85=2
Current State: 52:[88, 96, 2], Operations: ['87-85=2']
Exploring Operation: 88/2=44, Resulting Numbers: [96, 44]
Generated Node #3: [96, 44] from Operation: 88/2=44
Current State: 52:[96, 44], Operations: ['87-85=2', '88/2=44']
Exploring Operation: 96-44=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[88, 87, 96, 85], Operations: []
Exploring Operation: 96-88=8, Resulting Numbers: [87, 85, 8]
Generated Node #0,0: 52:[87, 85, 8] Operation: 96-88=8
Exploring Operation: 88-87=1, Resulting Numbers: [96, 85, 1]
Generated Node #0,1: 52:[96, 85, 1] Operation: 88-87=1
Exploring Operation: 96-87=9, Resulting Numbers: [88, 85, 9]
Generated Node #0,2: 52:[88, 85, 9] Operation: 96-87=9
Exploring Operation: 96-85=11, Resulting Numbers: [88, 87, 11]
Generated Node #0,3: 52:[88, 87, 11] Operation: 96-85=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[87, 85, 8], Operations: ['96-88=8']
Exploring Operation: 87+8=95, Resulting Numbers: [85, 95]
Generated Node #0,0,0: 52:[85, 95] Operation: 87+8=95
Exploring Operation: 87-8=79, Resulting Numbers: [85, 79]
Generated Node #0,0,1: 52:[85, 79] Operation: 87-8=79
Exploring Operation: 85-8=77, Resulting Numbers: [87, 77]
Generated Node #0,0,2: 52:[87, 77] Operation: 85-8=77
Exploring Operation: 87-85=2, Resulting Numbers: [8, 2]
Generated Node #0,0,3: 52:[8, 2] Operation: 87-85=2
Moving to Node #0,0,3
Current State: 52:[8, 2], Operations: ['96-88=8', '87-85=2']
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,52 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,52 unequal: No Solution
Exploring Operation: 8*2=16, Resulting Numbers: [16]
16,52 unequal: No Solution
Exploring Operation: 8+2=10, Resulting Numbers: [10]
10,52 unequal: No Solution
Moving to Node #0,0,2
Current State: 52:[87, 77], Operations: ['96-88=8', '85-8=77']
Exploring Operation: 87-77=10, Resulting Numbers: [10]
10,52 unequal: No Solution
Exploring Operation: 87*77=6699, Resulting Numbers: [6699]
6699,52 unequal: No Solution
Exploring Operation: 87+77=164, Resulting Numbers: [164]
164,52 unequal: No Solution
Moving to Node #0,0,1
Current State: 52:[85, 79], Operations: ['96-88=8', '87-8=79']
Exploring Operation: 85*79=6715, Resulting Numbers: [6715]
6715,52 unequal: No Solution
Exploring Operation: 85-79=6, Resulting Numbers: [6]
6,52 unequal: No Solution
Exploring Operation: 85+79=164, Resulting Numbers: [164]
164,52 unequal: No Solution
Moving to Node #0,0,0
Current State: 52:[85, 95], Operations: ['96-88=8', '87+8=95']
Exploring Operation: 95-85=10, Resulting Numbers: [10]
10,52 unequal: No Solution
Exploring Operation: 85+95=180, Resulting Numbers: [180]
180,52 unequal: No Solution
Exploring Operation: 85*95=8075, Resulting Numbers: [8075]
8075,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,2
Current State: 52:[88, 85, 9], Operations: ['96-87=9']
Exploring Operation: 88+9=97, Resulting Numbers: [85, 97]
Generated Node #0,2,0: 52:[85, 97] Operation: 88+9=97
Exploring Operation: 88-85=3, Resulting Numbers: [9, 3]
Generated Node #0,2,1: 52:[9, 3] Operation: 88-85=3
Exploring Operation: 88-9=79, Resulting Numbers: [85, 79]
Generated Node #0,2,2: 52:[85, 79] Operation: 88-9=79
Exploring Operation: 85-9=76, Resulting Numbers: [88, 76]
Generated Node #0,2,3: 52:[88, 76] Operation: 85-9=76
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 52:[9, 3], Operations: ['96-87=9', '88-85=3']
Exploring Operation: 9+3=12, Resulting Numbers: [12]
12,52 unequal: No Solution
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,52 unequal: No Solution
Exploring Operation: 9*3=27, Resulting Numbers: [27]
27,52 unequal: No Solution
No 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: 52:[85, 79], Operations: ['96-87=9', '88-9=79']
Exploring Operation: 85*79=6715, Resulting Numbers: [6715]
6715,52 unequal: No Solution
Exploring Operation: 85+79=164, Resulting Numbers: [164]
164,52 unequal: No Solution
Exploring Operation: 85-79=6, Resulting Numbers: [6]
6,52 unequal: No Solution
No 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: 52:[88, 76], Operations: ['96-87=9', '85-9=76']
Exploring Operation: 88+76=164, Resulting Numbers: [164]
164,52 unequal: No Solution
Exploring Operation: 88-76=12, Resulting Numbers: [12]
12,52 unequal: No Solution
Exploring Operation: 88*76=6688, Resulting Numbers: [6688]
6688,52 unequal: No Solution
No 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: 52:[85, 97], Operations: ['96-87=9', '88+9=97']
Exploring Operation: 85+97=182, Resulting Numbers: [182]
182,52 unequal: No Solution
Exploring Operation: 97-85=12, Resulting Numbers: [12]
12,52 unequal: No Solution
Exploring Operation: 85*97=8245, Resulting Numbers: [8245]
8245,52 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: 52:[88, 87, 11], Operations: ['96-85=11']
Exploring Operation: 87-11=76, Resulting Numbers: [88, 76]
Generated Node #0,3,0: 52:[88, 76] Operation: 87-11=76
Exploring Operation: 88/11=8, Resulting Numbers: [87, 8]
Generated Node #0,3,1: 52:[87, 8] Operation: 88/11=8
Exploring Operation: 88-11=77, Resulting Numbers: [87, 77]
Generated Node #0,3,2: 52:[87, 77] Operation: 88-11=77
Exploring Operation: 88-87=1, Resulting Numbers: [11, 1]
Generated Node #0,3,3: 52:[11, 1] Operation: 88-87=1
Moving to Node #0,3,3
Current State: 52:[11, 1], Operations: ['96-85=11', '88-87=1']
Exploring Operation: 11-1=10, Resulting Numbers: [10]
10,52 unequal: No Solution
Exploring Operation: 11*1=11, Resulting Numbers: [11]
11,52 unequal: No Solution
Exploring Operation: 11/1=11, Resulting Numbers: [11]
11,52 unequal: No Solution
Exploring Operation: 11+1=12, Resulting Numbers: [12]
12,52 unequal: No Solution
Moving to Node #0,3,1
Current State: 52:[87, 8], Operations: ['96-85=11', '88/11=8']
Exploring Operation: 87-8=79, Resulting Numbers: [79]
79,52 unequal: No Solution
Exploring Operation: 87+8=95, Resulting Numbers: [95]
95,52 unequal: No Solution
Exploring Operation: 87*8=696, Resulting Numbers: [696]
696,52 unequal: No Solution
Moving to Node #0,3,2
Current State: 52:[87, 77], Operations: ['96-85=11', '88-11=77']
Exploring Operation: 87*77=6699, Resulting Numbers: [6699]
6699,52 unequal: No Solution
Exploring Operation: 87-77=10, Resulting Numbers: [10]
10,52 unequal: No Solution
Exploring Operation: 87+77=164, Resulting Numbers: [164]
164,52 unequal: No Solution
Moving to Node #0,3,0
Current State: 52:[88, 76], Operations: ['96-85=11', '87-11=76']
Exploring Operation: 88+76=164, Resulting Numbers: [164]
164,52 unequal: No Solution
Exploring Operation: 88*76=6688, Resulting Numbers: [6688]
6688,52 unequal: No Solution
Exploring Operation: 88-76=12, Resulting Numbers: [12]
12,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,1
Current State: 52:[96, 85, 1], Operations: ['88-87=1']
Exploring Operation: 96-1=95, Resulting Numbers: [85, 95]
Generated Node #0,1,0: 52:[85, 95] Operation: 96-1=95
Exploring Operation: 85-1=84, Resulting Numbers: [96, 84]
Generated Node #0,1,1: 52:[96, 84] Operation: 85-1=84
Exploring Operation: 96*1=96, Resulting Numbers: [85, 96]
Generated Node #0,1,2: 52:[85, 96] Operation: 96*1=96
Exploring Operation: 96-85=11, Resulting Numbers: [1, 11]
Generated Node #0,1,3: 52:[1, 11] Operation: 96-85=11
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 52:[1, 11], Operations: ['88-87=1', '96-85=11']
Exploring Operation: 11/1=11, Resulting Numbers: [11]
11,52 unequal: No Solution
Exploring Operation: 1*11=11, Resulting Numbers: [11]
11,52 unequal: No Solution
Exploring Operation: 11-1=10, Resulting Numbers: [10]
10,52 unequal: No Solution
Exploring Operation: 1+11=12, Resulting Numbers: [12]
12,52 unequal: No Solution
No 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: 52:[85, 95], Operations: ['88-87=1', '96-1=95']
Exploring Operation: 85+95=180, Resulting Numbers: [180]
180,52 unequal: No Solution
Exploring Operation: 85*95=8075, Resulting Numbers: [8075]
8075,52 unequal: No Solution
Exploring Operation: 95-85=10, Resulting Numbers: [10]
10,52 unequal: No Solution
No 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: 52:[96, 84], Operations: ['88-87=1', '85-1=84']
Exploring Operation: 96+84=180, Resulting Numbers: [180]
180,52 unequal: No Solution
Exploring Operation: 96*84=8064, Resulting Numbers: [8064]
8064,52 unequal: No Solution
Exploring Operation: 96-84=12, Resulting Numbers: [12]
12,52 unequal: No Solution
No 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: 52:[85, 96], Operations: ['88-87=1', '96*1=96']
Exploring Operation: 85+96=181, Resulting Numbers: [181]
181,52 unequal: No Solution
Exploring Operation: 85*96=8160, Resulting Numbers: [8160]
8160,52 unequal: No Solution
Exploring Operation: 96-85=11, Resulting Numbers: [11]
11,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
23,
24,
7,
29
] | 23 | [
"24-23=1",
"29-7=22",
"1+22=23"
] | Current State: 23:[23, 24, 7, 29], Operations: []
Exploring Operation: 24-23=1, Resulting Numbers: [7, 29, 1]
Generated Node #2: [7, 29, 1] from Operation: 24-23=1
Current State: 23:[7, 29, 1], Operations: ['24-23=1']
Exploring Operation: 29-7=22, Resulting Numbers: [1, 22]
Generated Node #3: [1, 22] from Operation: 29-7=22
Current State: 23:[1, 22], Operations: ['24-23=1', '29-7=22']
Exploring Operation: 1+22=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[23, 24, 7, 29], Operations: []
Exploring Operation: 23+7=30, Resulting Numbers: [24, 29, 30]
Generated Node #0,0: 23:[24, 29, 30] Operation: 23+7=30
Exploring Operation: 29-7=22, Resulting Numbers: [23, 24, 22]
Generated Node #0,1: 23:[23, 24, 22] Operation: 29-7=22
Exploring Operation: 23-7=16, Resulting Numbers: [24, 29, 16]
Generated Node #0,2: 23:[24, 29, 16] Operation: 23-7=16
Exploring Operation: 24-7=17, Resulting Numbers: [23, 29, 17]
Generated Node #0,3: 23:[23, 29, 17] Operation: 24-7=17
Start Sub Search at level 1: Moving to Node #0,1
Current State: 23:[23, 24, 22], Operations: ['29-7=22']
Exploring Operation: 23+22=45, Resulting Numbers: [24, 45]
Generated Node #0,1,0: 23:[24, 45] Operation: 23+22=45
Exploring Operation: 24-23=1, Resulting Numbers: [22, 1]
Generated Node #0,1,1: 23:[22, 1] Operation: 24-23=1
Exploring Operation: 24-22=2, Resulting Numbers: [23, 2]
Generated Node #0,1,2: 23:[23, 2] Operation: 24-22=2
Exploring Operation: 23-22=1, Resulting Numbers: [24, 1]
Generated Node #0,1,3: 23:[24, 1] Operation: 23-22=1
Moving to Node #0,1,2
Current State: 23:[23, 2], Operations: ['29-7=22', '24-22=2']
Exploring Operation: 23+2=25, Resulting Numbers: [25]
25,23 unequal: No Solution
Exploring Operation: 23*2=46, Resulting Numbers: [46]
46,23 unequal: No Solution
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,23 unequal: No Solution
Moving to Node #0,1,1
Current State: 23:[22, 1], Operations: ['29-7=22', '24-23=1']
Exploring Operation: 22*1=22, Resulting Numbers: [22]
22,23 unequal: No Solution
Exploring Operation: 22+1=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[23, 24, 7, 29], Operations: []
Exploring Operation: 29-7=22, Resulting Numbers: [23, 24, 22]
Generated Node #0,1: 23:[23, 24, 22] Operation: 29-7=22
Moving to Node #0,1
Current State: 23:[23, 24, 22], Operations: ['29-7=22']
Exploring Operation: 24-23=1, Resulting Numbers: [22, 1]
Generated Node #0,1,1: 23:[22, 1] Operation: 24-23=1
Moving to Node #0,1,1
Current State: 23:[22, 1], Operations: ['29-7=22', '24-23=1']
Exploring Operation: 22+1=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | mult_heuristic |
[
52,
29,
54,
77
] | 50 | [
"52+29=81",
"54+77=131",
"131-81=50"
] | Current State: 50:[52, 29, 54, 77], Operations: []
Exploring Operation: 52+29=81, Resulting Numbers: [54, 77, 81]
Generated Node #2: [54, 77, 81] from Operation: 52+29=81
Current State: 50:[54, 77, 81], Operations: ['52+29=81']
Exploring Operation: 54+77=131, Resulting Numbers: [81, 131]
Generated Node #3: [81, 131] from Operation: 54+77=131
Current State: 50:[81, 131], Operations: ['52+29=81', '54+77=131']
Exploring Operation: 131-81=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[52, 29, 54, 77], Operations: []
Exploring Operation: 77-54=23, Resulting Numbers: [52, 29, 23]
Generated Node #0,0: 50:[52, 29, 23] Operation: 77-54=23
Exploring Operation: 77-52=25, Resulting Numbers: [29, 54, 25]
Generated Node #0,1: 50:[29, 54, 25] Operation: 77-52=25
Exploring Operation: 77-29=48, Resulting Numbers: [52, 54, 48]
Generated Node #0,2: 50:[52, 54, 48] Operation: 77-29=48
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[52, 29, 23], Operations: ['77-54=23']
Exploring Operation: 29-23=6, Resulting Numbers: [52, 6]
Generated Node #0,0,0: 50:[52, 6] Operation: 29-23=6
Exploring Operation: 29+23=52, Resulting Numbers: [52, 52]
Generated Node #0,0,1: 50:[52, 52] Operation: 29+23=52
Exploring Operation: 52-29=23, Resulting Numbers: [23, 23]
Generated Node #0,0,2: 50:[23, 23] Operation: 52-29=23
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 50:[52, 6], Operations: ['77-54=23', '29-23=6']
Exploring Operation: 52-6=46, Resulting Numbers: [46]
46,50 unequal: No Solution
Exploring Operation: 52+6=58, Resulting Numbers: [58]
58,50 unequal: No Solution
Exploring Operation: 52*6=312, Resulting Numbers: [312]
312,50 unequal: No Solution
No 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: 50:[52, 52], Operations: ['77-54=23', '29+23=52']
Exploring Operation: 52+52=104, Resulting Numbers: [104]
104,50 unequal: No Solution
Exploring Operation: 52-52=0, Resulting Numbers: [0]
0,50 unequal: No Solution
Exploring Operation: 52/52=1, Resulting Numbers: [1]
1,50 unequal: No Solution
No 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: 50:[23, 23], Operations: ['77-54=23', '52-29=23']
Exploring Operation: 23/23=1, Resulting Numbers: [1]
1,50 unequal: No Solution
Exploring Operation: 23+23=46, Resulting Numbers: [46]
46,50 unequal: No Solution
Exploring Operation: 23-23=0, Resulting Numbers: [0]
0,50 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: 50:[29, 54, 25], Operations: ['77-52=25']
Exploring Operation: 29-25=4, Resulting Numbers: [54, 4]
Generated Node #0,1,0: 50:[54, 4] Operation: 29-25=4
Exploring Operation: 54-29=25, Resulting Numbers: [25, 25]
Generated Node #0,1,1: 50:[25, 25] Operation: 54-29=25
Exploring Operation: 29+25=54, Resulting Numbers: [54, 54]
Generated Node #0,1,2: 50:[54, 54] Operation: 29+25=54
Moving to Node #0,1,1
Current State: 50:[25, 25], Operations: ['77-52=25', '54-29=25']
Exploring Operation: 25+25=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[52, 29, 54, 77], Operations: []
Exploring Operation: 77-52=25, Resulting Numbers: [29, 54, 25]
Generated Node #0,1: 50:[29, 54, 25] Operation: 77-52=25
Moving to Node #0,1
Current State: 50:[29, 54, 25], Operations: ['77-52=25']
Exploring Operation: 54-29=25, Resulting Numbers: [25, 25]
Generated Node #0,1,1: 50:[25, 25] Operation: 54-29=25
Moving to Node #0,1,1
Current State: 50:[25, 25], Operations: ['77-52=25', '54-29=25']
Exploring Operation: 25+25=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_3 | sum_heuristic |
[
22,
92,
4,
93
] | 18 | [
"22-4=18",
"93-92=1",
"18*1=18"
] | Current State: 18:[22, 92, 4, 93], Operations: []
Exploring Operation: 22-4=18, Resulting Numbers: [92, 93, 18]
Generated Node #2: [92, 93, 18] from Operation: 22-4=18
Current State: 18:[92, 93, 18], Operations: ['22-4=18']
Exploring Operation: 93-92=1, Resulting Numbers: [18, 1]
Generated Node #3: [18, 1] from Operation: 93-92=1
Current State: 18:[18, 1], Operations: ['22-4=18', '93-92=1']
Exploring Operation: 18*1=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[22, 92, 4, 93], Operations: []
Exploring Operation: 93-92=1, Resulting Numbers: [22, 4, 1]
Generated Node #0,0: 18:[22, 4, 1] Operation: 93-92=1
Exploring Operation: 92/4=23, Resulting Numbers: [22, 93, 23]
Generated Node #0,1: 18:[22, 93, 23] Operation: 92/4=23
Exploring Operation: 92-22=70, Resulting Numbers: [4, 93, 70]
Generated Node #0,2: 18:[4, 93, 70] Operation: 92-22=70
Exploring Operation: 93-22=71, Resulting Numbers: [92, 4, 71]
Generated Node #0,3: 18:[92, 4, 71] Operation: 93-22=71
Moving to Node #0,0
Current State: 18:[22, 4, 1], Operations: ['93-92=1']
Exploring Operation: 22*1=22, Resulting Numbers: [4, 22]
Generated Node #0,0,0: 18:[4, 22] Operation: 22*1=22
Exploring Operation: 22-1=21, Resulting Numbers: [4, 21]
Generated Node #0,0,1: 18:[4, 21] Operation: 22-1=21
Exploring Operation: 22-4=18, Resulting Numbers: [1, 18]
Generated Node #0,0,2: 18:[1, 18] Operation: 22-4=18
Exploring Operation: 4-1=3, Resulting Numbers: [22, 3]
Generated Node #0,0,3: 18:[22, 3] Operation: 4-1=3
Moving to Node #0,1
Current State: 18:[22, 93, 23], Operations: ['92/4=23']
Exploring Operation: 93-22=71, Resulting Numbers: [23, 71]
Generated Node #0,1,0: 18:[23, 71] Operation: 93-22=71
Exploring Operation: 22+93=115, Resulting Numbers: [23, 115]
Generated Node #0,1,1: 18:[23, 115] Operation: 22+93=115
Exploring Operation: 93-23=70, Resulting Numbers: [22, 70]
Generated Node #0,1,2: 18:[22, 70] Operation: 93-23=70
Exploring Operation: 23-22=1, Resulting Numbers: [93, 1]
Generated Node #0,1,3: 18:[93, 1] Operation: 23-22=1
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 18:[22, 70], Operations: ['92/4=23', '93-23=70']
Exploring Operation: 22*70=1540, Resulting Numbers: [1540]
1540,18 unequal: No Solution
Exploring Operation: 22+70=92, Resulting Numbers: [92]
92,18 unequal: No Solution
Exploring Operation: 70-22=48, Resulting Numbers: [48]
48,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 18:[23, 71], Operations: ['92/4=23', '93-22=71']
Exploring Operation: 23+71=94, Resulting Numbers: [94]
94,18 unequal: No Solution
Exploring Operation: 23*71=1633, Resulting Numbers: [1633]
1633,18 unequal: No Solution
Exploring Operation: 71-23=48, Resulting Numbers: [48]
48,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 18:[93, 1], Operations: ['92/4=23', '23-22=1']
Exploring Operation: 93/1=93, Resulting Numbers: [93]
93,18 unequal: No Solution
Exploring Operation: 93+1=94, Resulting Numbers: [94]
94,18 unequal: No Solution
Exploring Operation: 93*1=93, Resulting Numbers: [93]
93,18 unequal: No Solution
Exploring Operation: 93-1=92, Resulting Numbers: [92]
92,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 18:[23, 115], Operations: ['92/4=23', '22+93=115']
Exploring Operation: 23*115=2645, Resulting Numbers: [2645]
2645,18 unequal: No Solution
Exploring Operation: 115/23=5, Resulting Numbers: [5]
5,18 unequal: No Solution
Exploring Operation: 115-23=92, Resulting Numbers: [92]
92,18 unequal: No Solution
Exploring Operation: 23+115=138, Resulting Numbers: [138]
138,18 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: 18:[92, 4, 71], Operations: ['93-22=71']
Exploring Operation: 92/4=23, Resulting Numbers: [71, 23]
Generated Node #0,3,0: 18:[71, 23] Operation: 92/4=23
Exploring Operation: 71-4=67, Resulting Numbers: [92, 67]
Generated Node #0,3,1: 18:[92, 67] Operation: 71-4=67
Exploring Operation: 92-4=88, Resulting Numbers: [71, 88]
Generated Node #0,3,2: 18:[71, 88] Operation: 92-4=88
Exploring Operation: 92-71=21, Resulting Numbers: [4, 21]
Generated Node #0,3,3: 18:[4, 21] Operation: 92-71=21
Moving to Node #0,2
Current State: 18:[4, 93, 70], Operations: ['92-22=70']
Exploring Operation: 93-70=23, Resulting Numbers: [4, 23]
Generated Node #0,2,0: 18:[4, 23] Operation: 93-70=23
Exploring Operation: 4+93=97, Resulting Numbers: [70, 97]
Generated Node #0,2,1: 18:[70, 97] Operation: 4+93=97
Exploring Operation: 93-4=89, Resulting Numbers: [70, 89]
Generated Node #0,2,2: 18:[70, 89] Operation: 93-4=89
Exploring Operation: 70-4=66, Resulting Numbers: [93, 66]
Generated Node #0,2,3: 18:[93, 66] Operation: 70-4=66
Moving to Node #0,0,2
Current State: 18:[1, 18], Operations: ['93-92=1', '22-4=18']
Exploring Operation: 1*18=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[22, 92, 4, 93], Operations: []
Exploring Operation: 93-92=1, Resulting Numbers: [22, 4, 1]
Generated Node #0,0: 18:[22, 4, 1] Operation: 93-92=1
Moving to Node #0,0
Current State: 18:[22, 4, 1], Operations: ['93-92=1']
Exploring Operation: 22-4=18, Resulting Numbers: [1, 18]
Generated Node #0,0,2: 18:[1, 18] Operation: 22-4=18
Moving to Node #0,0,2
Current State: 18:[1, 18], Operations: ['93-92=1', '22-4=18']
Exploring Operation: 1*18=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 0.966146 | hs_4 | mult_heuristic |
[
82,
85,
46,
67
] | 71 | [
"85-82=3",
"46*3=138",
"138-67=71"
] | Current State: 71:[82, 85, 46, 67], Operations: []
Exploring Operation: 85-82=3, Resulting Numbers: [46, 67, 3]
Generated Node #2: [46, 67, 3] from Operation: 85-82=3
Current State: 71:[46, 67, 3], Operations: ['85-82=3']
Exploring Operation: 46*3=138, Resulting Numbers: [67, 138]
Generated Node #3: [67, 138] from Operation: 46*3=138
Current State: 71:[67, 138], Operations: ['85-82=3', '46*3=138']
Exploring Operation: 138-67=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[82, 85, 46, 67], Operations: []
Exploring Operation: 82-46=36, Resulting Numbers: [85, 67, 36]
Generated Node #0,0: 71:[85, 67, 36] Operation: 82-46=36
Exploring Operation: 85-46=39, Resulting Numbers: [82, 67, 39]
Generated Node #0,1: 71:[82, 67, 39] Operation: 85-46=39
Start Sub Search at level 1: Moving to Node #0,1
Current State: 71:[82, 67, 39], Operations: ['85-46=39']
Exploring Operation: 82-39=43, Resulting Numbers: [67, 43]
Generated Node #0,1,0: 71:[67, 43] Operation: 82-39=43
Exploring Operation: 67+39=106, Resulting Numbers: [82, 106]
Generated Node #0,1,1: 71:[82, 106] Operation: 67+39=106
Moving to Node #0,1,0
Current State: 71:[67, 43], Operations: ['85-46=39', '82-39=43']
Exploring Operation: 67-43=24, Resulting Numbers: [24]
24,71 unequal: No Solution
Exploring Operation: 67+43=110, Resulting Numbers: [110]
110,71 unequal: No Solution
Moving to Node #0,1,1
Current State: 71:[82, 106], Operations: ['85-46=39', '67+39=106']
Exploring Operation: 106-82=24, Resulting Numbers: [24]
24,71 unequal: No Solution
Exploring Operation: 82+106=188, Resulting Numbers: [188]
188,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[85, 67, 36], Operations: ['82-46=36']
Exploring Operation: 85-36=49, Resulting Numbers: [67, 49]
Generated Node #0,0,0: 71:[67, 49] Operation: 85-36=49
Exploring Operation: 67+36=103, Resulting Numbers: [85, 103]
Generated Node #0,0,1: 71:[85, 103] Operation: 67+36=103
Moving to Node #0,0,0
Current State: 71:[67, 49], Operations: ['82-46=36', '85-36=49']
Exploring Operation: 67-49=18, Resulting Numbers: [18]
18,71 unequal: No Solution
Exploring Operation: 67+49=116, Resulting Numbers: [116]
116,71 unequal: No Solution
Moving to Node #0,0,1
Current State: 71:[85, 103], Operations: ['82-46=36', '67+36=103']
Exploring Operation: 85+103=188, Resulting Numbers: [188]
188,71 unequal: No Solution
Exploring Operation: 103-85=18, Resulting Numbers: [18]
18,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
52,
2,
88,
53
] | 34 | [
"52+88=140",
"2*53=106",
"140-106=34"
] | Current State: 34:[52, 2, 88, 53], Operations: []
Exploring Operation: 52+88=140, Resulting Numbers: [2, 53, 140]
Generated Node #2: [2, 53, 140] from Operation: 52+88=140
Current State: 34:[2, 53, 140], Operations: ['52+88=140']
Exploring Operation: 2*53=106, Resulting Numbers: [140, 106]
Generated Node #3: [140, 106] from Operation: 2*53=106
Current State: 34:[140, 106], Operations: ['52+88=140', '2*53=106']
Exploring Operation: 140-106=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[52, 2, 88, 53], Operations: []
Exploring Operation: 53-52=1, Resulting Numbers: [2, 88, 1]
Generated Node #0,0: 34:[2, 88, 1] Operation: 53-52=1
Exploring Operation: 88-52=36, Resulting Numbers: [2, 53, 36]
Generated Node #0,1: 34:[2, 53, 36] Operation: 88-52=36
Exploring Operation: 88-53=35, Resulting Numbers: [52, 2, 35]
Generated Node #0,2: 34:[52, 2, 35] Operation: 88-53=35
Exploring Operation: 88/2=44, Resulting Numbers: [52, 53, 44]
Generated Node #0,3: 34:[52, 53, 44] Operation: 88/2=44
Moving to Node #0,2
Current State: 34:[52, 2, 35], Operations: ['88-53=35']
Exploring Operation: 52/2=26, Resulting Numbers: [35, 26]
Generated Node #0,2,0: 34:[35, 26] Operation: 52/2=26
Exploring Operation: 35-2=33, Resulting Numbers: [52, 33]
Generated Node #0,2,1: 34:[52, 33] Operation: 35-2=33
Exploring Operation: 52-2=50, Resulting Numbers: [35, 50]
Generated Node #0,2,2: 34:[35, 50] Operation: 52-2=50
Exploring Operation: 52-35=17, Resulting Numbers: [2, 17]
Generated Node #0,2,3: 34:[2, 17] Operation: 52-35=17
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 34:[2, 17], Operations: ['88-53=35', '52-35=17']
Exploring Operation: 2+17=19, Resulting Numbers: [19]
19,34 unequal: No Solution
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[52, 2, 88, 53], Operations: []
Exploring Operation: 88-53=35, Resulting Numbers: [52, 2, 35]
Generated Node #0,2: 34:[52, 2, 35] Operation: 88-53=35
Moving to Node #0,2
Current State: 34:[52, 2, 35], Operations: ['88-53=35']
Exploring Operation: 52-35=17, Resulting Numbers: [2, 17]
Generated Node #0,2,3: 34:[2, 17] Operation: 52-35=17
Moving to Node #0,2,3
Current State: 34:[2, 17], Operations: ['88-53=35', '52-35=17']
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
81,
65,
41,
44
] | 92 | [
"44-41=3",
"81/3=27",
"65+27=92"
] | Current State: 92:[81, 65, 41, 44], Operations: []
Exploring Operation: 44-41=3, Resulting Numbers: [81, 65, 3]
Generated Node #2: [81, 65, 3] from Operation: 44-41=3
Current State: 92:[81, 65, 3], Operations: ['44-41=3']
Exploring Operation: 81/3=27, Resulting Numbers: [65, 27]
Generated Node #3: [65, 27] from Operation: 81/3=27
Current State: 92:[65, 27], Operations: ['44-41=3', '81/3=27']
Exploring Operation: 65+27=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[81, 65, 41, 44], Operations: []
Exploring Operation: 65-41=24, Resulting Numbers: [81, 44, 24]
Generated Node #0,0: 92:[81, 44, 24] Operation: 65-41=24
Exploring Operation: 65-44=21, Resulting Numbers: [81, 41, 21]
Generated Node #0,1: 92:[81, 41, 21] Operation: 65-44=21
Exploring Operation: 81-65=16, Resulting Numbers: [41, 44, 16]
Generated Node #0,2: 92:[41, 44, 16] Operation: 81-65=16
Exploring Operation: 81-41=40, Resulting Numbers: [65, 44, 40]
Generated Node #0,3: 92:[65, 44, 40] Operation: 81-41=40
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[81, 44, 24], Operations: ['65-41=24']
Exploring Operation: 81-24=57, Resulting Numbers: [44, 57]
Generated Node #0,0,0: 92:[44, 57] Operation: 81-24=57
Exploring Operation: 44-24=20, Resulting Numbers: [81, 20]
Generated Node #0,0,1: 92:[81, 20] Operation: 44-24=20
Exploring Operation: 81+24=105, Resulting Numbers: [44, 105]
Generated Node #0,0,2: 92:[44, 105] Operation: 81+24=105
Exploring Operation: 81-44=37, Resulting Numbers: [24, 37]
Generated Node #0,0,3: 92:[24, 37] Operation: 81-44=37
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 92:[24, 37], Operations: ['65-41=24', '81-44=37']
Exploring Operation: 24*37=888, Resulting Numbers: [888]
888,92 unequal: No Solution
Exploring Operation: 37-24=13, Resulting Numbers: [13]
13,92 unequal: No Solution
Exploring Operation: 24+37=61, Resulting Numbers: [61]
61,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:[44, 57], Operations: ['65-41=24', '81-24=57']
Exploring Operation: 44*57=2508, Resulting Numbers: [2508]
2508,92 unequal: No Solution
Exploring Operation: 57-44=13, Resulting Numbers: [13]
13,92 unequal: No Solution
Exploring Operation: 44+57=101, Resulting Numbers: [101]
101,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,1
Current State: 92:[81, 20], Operations: ['65-41=24', '44-24=20']
Exploring Operation: 81-20=61, Resulting Numbers: [61]
61,92 unequal: No Solution
Exploring Operation: 81*20=1620, Resulting Numbers: [1620]
1620,92 unequal: No Solution
Exploring Operation: 81+20=101, Resulting Numbers: [101]
101,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:[44, 105], Operations: ['65-41=24', '81+24=105']
Exploring Operation: 105-44=61, Resulting Numbers: [61]
61,92 unequal: No Solution
Exploring Operation: 44+105=149, Resulting Numbers: [149]
149,92 unequal: No Solution
Exploring Operation: 44*105=4620, Resulting Numbers: [4620]
4620,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:[41, 44, 16], Operations: ['81-65=16']
Exploring Operation: 44-16=28, Resulting Numbers: [41, 28]
Generated Node #0,2,0: 92:[41, 28] Operation: 44-16=28
Exploring Operation: 41-16=25, Resulting Numbers: [44, 25]
Generated Node #0,2,1: 92:[44, 25] Operation: 41-16=25
Exploring Operation: 41+16=57, Resulting Numbers: [44, 57]
Generated Node #0,2,2: 92:[44, 57] Operation: 41+16=57
Exploring Operation: 44-41=3, Resulting Numbers: [16, 3]
Generated Node #0,2,3: 92:[16, 3] Operation: 44-41=3
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 92:[44, 25], Operations: ['81-65=16', '41-16=25']
Exploring Operation: 44+25=69, Resulting Numbers: [69]
69,92 unequal: No Solution
Exploring Operation: 44-25=19, Resulting Numbers: [19]
19,92 unequal: No Solution
Exploring Operation: 44*25=1100, Resulting Numbers: [1100]
1100,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:[16, 3], Operations: ['81-65=16', '44-41=3']
Exploring Operation: 16+3=19, Resulting Numbers: [19]
19,92 unequal: No Solution
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,92 unequal: No Solution
Exploring Operation: 16*3=48, Resulting Numbers: [48]
48,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,0
Current State: 92:[41, 28], Operations: ['81-65=16', '44-16=28']
Exploring Operation: 41+28=69, Resulting Numbers: [69]
69,92 unequal: No Solution
Exploring Operation: 41*28=1148, Resulting Numbers: [1148]
1148,92 unequal: No Solution
Exploring Operation: 41-28=13, Resulting Numbers: [13]
13,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,2
Current State: 92:[44, 57], Operations: ['81-65=16', '41+16=57']
Exploring Operation: 44*57=2508, Resulting Numbers: [2508]
2508,92 unequal: No Solution
Exploring Operation: 44+57=101, Resulting Numbers: [101]
101,92 unequal: No Solution
Exploring Operation: 57-44=13, Resulting Numbers: [13]
13,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,1
Current State: 92:[81, 41, 21], Operations: ['65-44=21']
Exploring Operation: 81-21=60, Resulting Numbers: [41, 60]
Generated Node #0,1,0: 92:[41, 60] Operation: 81-21=60
Exploring Operation: 41-21=20, Resulting Numbers: [81, 20]
Generated Node #0,1,1: 92:[81, 20] Operation: 41-21=20
Exploring Operation: 81+21=102, Resulting Numbers: [41, 102]
Generated Node #0,1,2: 92:[41, 102] Operation: 81+21=102
Exploring Operation: 81-41=40, Resulting Numbers: [21, 40]
Generated Node #0,1,3: 92:[21, 40] Operation: 81-41=40
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 92:[21, 40], Operations: ['65-44=21', '81-41=40']
Exploring Operation: 40-21=19, Resulting Numbers: [19]
19,92 unequal: No Solution
Exploring Operation: 21+40=61, Resulting Numbers: [61]
61,92 unequal: No Solution
Exploring Operation: 21*40=840, Resulting Numbers: [840]
840,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 92:[81, 20], Operations: ['65-44=21', '41-21=20']
Exploring Operation: 81+20=101, Resulting Numbers: [101]
101,92 unequal: No Solution
Exploring Operation: 81*20=1620, Resulting Numbers: [1620]
1620,92 unequal: No Solution
Exploring Operation: 81-20=61, Resulting Numbers: [61]
61,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 92:[41, 102], Operations: ['65-44=21', '81+21=102']
Exploring Operation: 102-41=61, Resulting Numbers: [61]
61,92 unequal: No Solution
Exploring Operation: 41+102=143, Resulting Numbers: [143]
143,92 unequal: No Solution
Exploring Operation: 41*102=4182, Resulting Numbers: [4182]
4182,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 92:[41, 60], Operations: ['65-44=21', '81-21=60']
Exploring Operation: 60-41=19, Resulting Numbers: [19]
19,92 unequal: No Solution
Exploring Operation: 41*60=2460, Resulting Numbers: [2460]
2460,92 unequal: No Solution
Exploring Operation: 41+60=101, Resulting Numbers: [101]
101,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,3
Current State: 92:[65, 44, 40], Operations: ['81-41=40']
Exploring Operation: 65-40=25, Resulting Numbers: [44, 25]
Generated Node #0,3,0: 92:[44, 25] Operation: 65-40=25
Exploring Operation: 65+40=105, Resulting Numbers: [44, 105]
Generated Node #0,3,1: 92:[44, 105] Operation: 65+40=105
Exploring Operation: 44-40=4, Resulting Numbers: [65, 4]
Generated Node #0,3,2: 92:[65, 4] Operation: 44-40=4
Exploring Operation: 65-44=21, Resulting Numbers: [40, 21]
Generated Node #0,3,3: 92:[40, 21] Operation: 65-44=21
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 92:[44, 25], Operations: ['81-41=40', '65-40=25']
Exploring Operation: 44+25=69, Resulting Numbers: [69]
69,92 unequal: No Solution
Exploring Operation: 44-25=19, Resulting Numbers: [19]
19,92 unequal: No Solution
Exploring Operation: 44*25=1100, Resulting Numbers: [1100]
1100,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,3,3
Current State: 92:[40, 21], Operations: ['81-41=40', '65-44=21']
Exploring Operation: 40-21=19, Resulting Numbers: [19]
19,92 unequal: No Solution
Exploring Operation: 40+21=61, Resulting Numbers: [61]
61,92 unequal: No Solution
Exploring Operation: 40*21=840, Resulting Numbers: [840]
840,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,3,1
Current State: 92:[44, 105], Operations: ['81-41=40', '65+40=105']
Exploring Operation: 105-44=61, Resulting Numbers: [61]
61,92 unequal: No Solution
Exploring Operation: 44*105=4620, Resulting Numbers: [4620]
4620,92 unequal: No Solution
Exploring Operation: 44+105=149, Resulting Numbers: [149]
149,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,3,2
Current State: 92:[65, 4], Operations: ['81-41=40', '44-40=4']
Exploring Operation: 65*4=260, Resulting Numbers: [260]
260,92 unequal: No Solution
Exploring Operation: 65+4=69, Resulting Numbers: [69]
69,92 unequal: No Solution
Exploring Operation: 65-4=61, Resulting Numbers: [61]
61,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_4 | sum_heuristic |
[
68,
93,
46,
7
] | 69 | [
"68+93=161",
"161/7=23",
"46+23=69"
] | Current State: 69:[68, 93, 46, 7], Operations: []
Exploring Operation: 68+93=161, Resulting Numbers: [46, 7, 161]
Generated Node #2: [46, 7, 161] from Operation: 68+93=161
Current State: 69:[46, 7, 161], Operations: ['68+93=161']
Exploring Operation: 161/7=23, Resulting Numbers: [46, 23]
Generated Node #3: [46, 23] from Operation: 161/7=23
Current State: 69:[46, 23], Operations: ['68+93=161', '161/7=23']
Exploring Operation: 46+23=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[68, 93, 46, 7], Operations: []
Exploring Operation: 93-46=47, Resulting Numbers: [68, 7, 47]
Generated Node #0,0: 69:[68, 7, 47] Operation: 93-46=47
Exploring Operation: 93-68=25, Resulting Numbers: [46, 7, 25]
Generated Node #0,1: 69:[46, 7, 25] Operation: 93-68=25
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[68, 7, 47], Operations: ['93-46=47']
Exploring Operation: 7+47=54, Resulting Numbers: [68, 54]
Generated Node #0,0,0: 69:[68, 54] Operation: 7+47=54
Exploring Operation: 68-47=21, Resulting Numbers: [7, 21]
Generated Node #0,0,1: 69:[7, 21] Operation: 68-47=21
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 69:[7, 21], Operations: ['93-46=47', '68-47=21']
Exploring Operation: 21/7=3, Resulting Numbers: [3]
3,69 unequal: No Solution
Exploring Operation: 7+21=28, Resulting Numbers: [28]
28,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 69:[68, 54], Operations: ['93-46=47', '7+47=54']
Exploring Operation: 68-54=14, Resulting Numbers: [14]
14,69 unequal: No Solution
Exploring Operation: 68+54=122, Resulting Numbers: [122]
122,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 69:[46, 7, 25], Operations: ['93-68=25']
Exploring Operation: 46-25=21, Resulting Numbers: [7, 21]
Generated Node #0,1,0: 69:[7, 21] Operation: 46-25=21
Exploring Operation: 46+25=71, Resulting Numbers: [7, 71]
Generated Node #0,1,1: 69:[7, 71] Operation: 46+25=71
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 69:[7, 21], Operations: ['93-68=25', '46-25=21']
Exploring Operation: 21/7=3, Resulting Numbers: [3]
3,69 unequal: No Solution
Exploring Operation: 7+21=28, Resulting Numbers: [28]
28,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 69:[7, 71], Operations: ['93-68=25', '46+25=71']
Exploring Operation: 71-7=64, Resulting Numbers: [64]
64,69 unequal: No Solution
Exploring Operation: 7+71=78, Resulting Numbers: [78]
78,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
68,
29,
78,
5
] | 24 | [
"68+29=97",
"78-5=73",
"97-73=24"
] | Current State: 24:[68, 29, 78, 5], Operations: []
Exploring Operation: 68+29=97, Resulting Numbers: [78, 5, 97]
Generated Node #2: [78, 5, 97] from Operation: 68+29=97
Current State: 24:[78, 5, 97], Operations: ['68+29=97']
Exploring Operation: 78-5=73, Resulting Numbers: [97, 73]
Generated Node #3: [97, 73] from Operation: 78-5=73
Current State: 24:[97, 73], Operations: ['68+29=97', '78-5=73']
Exploring Operation: 97-73=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[68, 29, 78, 5], Operations: []
Exploring Operation: 78-68=10, Resulting Numbers: [29, 5, 10]
Generated Node #0,0: 24:[29, 5, 10] Operation: 78-68=10
Exploring Operation: 68-29=39, Resulting Numbers: [78, 5, 39]
Generated Node #0,1: 24:[78, 5, 39] Operation: 68-29=39
Exploring Operation: 78-29=49, Resulting Numbers: [68, 5, 49]
Generated Node #0,2: 24:[68, 5, 49] Operation: 78-29=49
Exploring Operation: 68-5=63, Resulting Numbers: [29, 78, 63]
Generated Node #0,3: 24:[29, 78, 63] Operation: 68-5=63
Moving to Node #0,0
Current State: 24:[29, 5, 10], Operations: ['78-68=10']
Exploring Operation: 10-5=5, Resulting Numbers: [29, 5]
Generated Node #0,0,0: 24:[29, 5] Operation: 10-5=5
Exploring Operation: 10/5=2, Resulting Numbers: [29, 2]
Generated Node #0,0,1: 24:[29, 2] Operation: 10/5=2
Exploring Operation: 29-10=19, Resulting Numbers: [5, 19]
Generated Node #0,0,2: 24:[5, 19] Operation: 29-10=19
Exploring Operation: 29-5=24, Resulting Numbers: [10, 24]
Generated Node #0,0,3: 24:[10, 24] Operation: 29-5=24
Moving to Node #0,2
Current State: 24:[68, 5, 49], Operations: ['78-29=49']
Exploring Operation: 49-5=44, Resulting Numbers: [68, 44]
Generated Node #0,2,0: 24:[68, 44] Operation: 49-5=44
Exploring Operation: 68-49=19, Resulting Numbers: [5, 19]
Generated Node #0,2,1: 24:[5, 19] Operation: 68-49=19
Exploring Operation: 68-5=63, Resulting Numbers: [49, 63]
Generated Node #0,2,2: 24:[49, 63] Operation: 68-5=63
Exploring Operation: 68+5=73, Resulting Numbers: [49, 73]
Generated Node #0,2,3: 24:[49, 73] Operation: 68+5=73
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 24:[5, 19], Operations: ['78-29=49', '68-49=19']
Exploring Operation: 19-5=14, Resulting Numbers: [14]
14,24 unequal: No Solution
Exploring Operation: 5*19=95, Resulting Numbers: [95]
95,24 unequal: No Solution
Exploring Operation: 5+19=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[68, 29, 78, 5], Operations: []
Exploring Operation: 78-29=49, Resulting Numbers: [68, 5, 49]
Generated Node #0,2: 24:[68, 5, 49] Operation: 78-29=49
Moving to Node #0,2
Current State: 24:[68, 5, 49], Operations: ['78-29=49']
Exploring Operation: 68-49=19, Resulting Numbers: [5, 19]
Generated Node #0,2,1: 24:[5, 19] Operation: 68-49=19
Moving to Node #0,2,1
Current State: 24:[5, 19], Operations: ['78-29=49', '68-49=19']
Exploring Operation: 5+19=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_4 | mult_heuristic |
[
66,
5,
46,
34
] | 58 | [
"66+46=112",
"5*34=170",
"170-112=58"
] | Current State: 58:[66, 5, 46, 34], Operations: []
Exploring Operation: 66+46=112, Resulting Numbers: [5, 34, 112]
Generated Node #2: [5, 34, 112] from Operation: 66+46=112
Current State: 58:[5, 34, 112], Operations: ['66+46=112']
Exploring Operation: 5*34=170, Resulting Numbers: [112, 170]
Generated Node #3: [112, 170] from Operation: 5*34=170
Current State: 58:[112, 170], Operations: ['66+46=112', '5*34=170']
Exploring Operation: 170-112=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[66, 5, 46, 34], Operations: []
Exploring Operation: 66-46=20, Resulting Numbers: [5, 34, 20]
Generated Node #0,0: 58:[5, 34, 20] Operation: 66-46=20
Exploring Operation: 5+46=51, Resulting Numbers: [66, 34, 51]
Generated Node #0,1: 58:[66, 34, 51] Operation: 5+46=51
Exploring Operation: 66-34=32, Resulting Numbers: [5, 46, 32]
Generated Node #0,2: 58:[5, 46, 32] Operation: 66-34=32
Exploring Operation: 66-5=61, Resulting Numbers: [46, 34, 61]
Generated Node #0,3: 58:[46, 34, 61] Operation: 66-5=61
Moving to Node #0,0
Current State: 58:[5, 34, 20], Operations: ['66-46=20']
Exploring Operation: 5+20=25, Resulting Numbers: [34, 25]
Generated Node #0,0,0: 58:[34, 25] Operation: 5+20=25
Exploring Operation: 20/5=4, Resulting Numbers: [34, 4]
Generated Node #0,0,1: 58:[34, 4] Operation: 20/5=4
Exploring Operation: 34-5=29, Resulting Numbers: [20, 29]
Generated Node #0,0,2: 58:[20, 29] Operation: 34-5=29
Exploring Operation: 34+20=54, Resulting Numbers: [5, 54]
Generated Node #0,0,3: 58:[5, 54] Operation: 34+20=54
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 58:[34, 4], Operations: ['66-46=20', '20/5=4']
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,58 unequal: No Solution
Exploring Operation: 34+4=38, Resulting Numbers: [38]
38,58 unequal: No Solution
Exploring Operation: 34*4=136, Resulting Numbers: [136]
136,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,3
Current State: 58:[5, 54], Operations: ['66-46=20', '34+20=54']
Exploring Operation: 5*54=270, Resulting Numbers: [270]
270,58 unequal: No Solution
Exploring Operation: 54-5=49, Resulting Numbers: [49]
49,58 unequal: No Solution
Exploring Operation: 5+54=59, Resulting Numbers: [59]
59,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,0
Current State: 58:[34, 25], Operations: ['66-46=20', '5+20=25']
Exploring Operation: 34-25=9, Resulting Numbers: [9]
9,58 unequal: No Solution
Exploring Operation: 34*25=850, Resulting Numbers: [850]
850,58 unequal: No Solution
Exploring Operation: 34+25=59, Resulting Numbers: [59]
59,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,2
Current State: 58:[20, 29], Operations: ['66-46=20', '34-5=29']
Exploring Operation: 29-20=9, Resulting Numbers: [9]
9,58 unequal: No Solution
Exploring Operation: 20+29=49, Resulting Numbers: [49]
49,58 unequal: No Solution
Exploring Operation: 20*29=580, Resulting Numbers: [580]
580,58 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: 58:[5, 46, 32], Operations: ['66-34=32']
Exploring Operation: 5+46=51, Resulting Numbers: [32, 51]
Generated Node #0,2,0: 58:[32, 51] Operation: 5+46=51
Exploring Operation: 32-5=27, Resulting Numbers: [46, 27]
Generated Node #0,2,1: 58:[46, 27] Operation: 32-5=27
Exploring Operation: 46-32=14, Resulting Numbers: [5, 14]
Generated Node #0,2,2: 58:[5, 14] Operation: 46-32=14
Exploring Operation: 46-5=41, Resulting Numbers: [32, 41]
Generated Node #0,2,3: 58:[32, 41] Operation: 46-5=41
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 58:[32, 51], Operations: ['66-34=32', '5+46=51']
Exploring Operation: 51-32=19, Resulting Numbers: [19]
19,58 unequal: No Solution
Exploring Operation: 32*51=1632, Resulting Numbers: [1632]
1632,58 unequal: No Solution
Exploring Operation: 32+51=83, Resulting Numbers: [83]
83,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,2,1
Current State: 58:[46, 27], Operations: ['66-34=32', '32-5=27']
Exploring Operation: 46*27=1242, Resulting Numbers: [1242]
1242,58 unequal: No Solution
Exploring Operation: 46-27=19, Resulting Numbers: [19]
19,58 unequal: No Solution
Exploring Operation: 46+27=73, Resulting Numbers: [73]
73,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,2,2
Current State: 58:[5, 14], Operations: ['66-34=32', '46-32=14']
Exploring Operation: 5*14=70, Resulting Numbers: [70]
70,58 unequal: No Solution
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,58 unequal: No Solution
Exploring Operation: 5+14=19, Resulting Numbers: [19]
19,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,2,3
Current State: 58:[32, 41], Operations: ['66-34=32', '46-5=41']
Exploring Operation: 41-32=9, Resulting Numbers: [9]
9,58 unequal: No Solution
Exploring Operation: 32+41=73, Resulting Numbers: [73]
73,58 unequal: No Solution
Exploring Operation: 32*41=1312, Resulting Numbers: [1312]
1312,58 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: 58:[46, 34, 61], Operations: ['66-5=61']
Exploring Operation: 61-46=15, Resulting Numbers: [34, 15]
Generated Node #0,3,0: 58:[34, 15] Operation: 61-46=15
Exploring Operation: 61-34=27, Resulting Numbers: [46, 27]
Generated Node #0,3,1: 58:[46, 27] Operation: 61-34=27
Exploring Operation: 46+34=80, Resulting Numbers: [61, 80]
Generated Node #0,3,2: 58:[61, 80] Operation: 46+34=80
Exploring Operation: 46-34=12, Resulting Numbers: [61, 12]
Generated Node #0,3,3: 58:[61, 12] Operation: 46-34=12
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 58:[61, 12], Operations: ['66-5=61', '46-34=12']
Exploring Operation: 61+12=73, Resulting Numbers: [73]
73,58 unequal: No Solution
Exploring Operation: 61-12=49, Resulting Numbers: [49]
49,58 unequal: No Solution
Exploring Operation: 61*12=732, Resulting Numbers: [732]
732,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,3,1
Current State: 58:[46, 27], Operations: ['66-5=61', '61-34=27']
Exploring Operation: 46*27=1242, Resulting Numbers: [1242]
1242,58 unequal: No Solution
Exploring Operation: 46-27=19, Resulting Numbers: [19]
19,58 unequal: No Solution
Exploring Operation: 46+27=73, Resulting Numbers: [73]
73,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,3,0
Current State: 58:[34, 15], Operations: ['66-5=61', '61-46=15']
Exploring Operation: 34+15=49, Resulting Numbers: [49]
49,58 unequal: No Solution
Exploring Operation: 34*15=510, Resulting Numbers: [510]
510,58 unequal: No Solution
Exploring Operation: 34-15=19, Resulting Numbers: [19]
19,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,3,2
Current State: 58:[61, 80], Operations: ['66-5=61', '46+34=80']
Exploring Operation: 61+80=141, Resulting Numbers: [141]
141,58 unequal: No Solution
Exploring Operation: 61*80=4880, Resulting Numbers: [4880]
4880,58 unequal: No Solution
Exploring Operation: 80-61=19, Resulting Numbers: [19]
19,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:[66, 34, 51], Operations: ['5+46=51']
Exploring Operation: 66-51=15, Resulting Numbers: [34, 15]
Generated Node #0,1,0: 58:[34, 15] Operation: 66-51=15
Exploring Operation: 51-34=17, Resulting Numbers: [66, 17]
Generated Node #0,1,1: 58:[66, 17] Operation: 51-34=17
Exploring Operation: 34+51=85, Resulting Numbers: [66, 85]
Generated Node #0,1,2: 58:[66, 85] Operation: 34+51=85
Exploring Operation: 66-34=32, Resulting Numbers: [51, 32]
Generated Node #0,1,3: 58:[51, 32] Operation: 66-34=32
Moving to Node #0,1,3
Current State: 58:[51, 32], Operations: ['5+46=51', '66-34=32']
Exploring Operation: 51*32=1632, Resulting Numbers: [1632]
1632,58 unequal: No Solution
Exploring Operation: 51+32=83, Resulting Numbers: [83]
83,58 unequal: No Solution
Exploring Operation: 51-32=19, Resulting Numbers: [19]
19,58 unequal: No Solution
Moving to Node #0,1,0
Current State: 58:[34, 15], Operations: ['5+46=51', '66-51=15']
Exploring Operation: 34-15=19, Resulting Numbers: [19]
19,58 unequal: No Solution
Exploring Operation: 34*15=510, Resulting Numbers: [510]
510,58 unequal: No Solution
Exploring Operation: 34+15=49, Resulting Numbers: [49]
49,58 unequal: No Solution
Moving to Node #0,1,1
Current State: 58:[66, 17], Operations: ['5+46=51', '51-34=17']
Exploring Operation: 66*17=1122, Resulting Numbers: [1122]
1122,58 unequal: No Solution
Exploring Operation: 66-17=49, Resulting Numbers: [49]
49,58 unequal: No Solution
Exploring Operation: 66+17=83, Resulting Numbers: [83]
83,58 unequal: No Solution
Moving to Node #0,1,2
Current State: 58:[66, 85], Operations: ['5+46=51', '34+51=85']
Exploring Operation: 66+85=151, Resulting Numbers: [151]
151,58 unequal: No Solution
Exploring Operation: 85-66=19, Resulting Numbers: [19]
19,58 unequal: No Solution
Exploring Operation: 66*85=5610, Resulting Numbers: [5610]
5610,58 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.