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 |
|---|---|---|---|---|---|---|---|---|
[
95,
24,
91,
76
] | 13 | [
"95-91=4",
"76-24=52",
"52/4=13"
] | Current State: 13:[95, 24, 91, 76], Operations: []
Exploring Operation: 95-91=4, Resulting Numbers: [24, 76, 4]
Generated Node #2: [24, 76, 4] from Operation: 95-91=4
Current State: 13:[24, 76, 4], Operations: ['95-91=4']
Exploring Operation: 76-24=52, Resulting Numbers: [4, 52]
Generated Node #3: [4, 52] from Operation: 76-24=52
Current State: 13:[4, 52], Operations: ['95-91=4', '76-24=52']
Exploring Operation: 52/4=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[95, 24, 91, 76], Operations: []
Exploring Operation: 95-91=4, Resulting Numbers: [24, 76, 4]
Generated Node #0,0: 13:[24, 76, 4] Operation: 95-91=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[24, 76, 4], Operations: ['95-91=4']
Exploring Operation: 76/4=19, Resulting Numbers: [24, 19]
Generated Node #0,0,0: 13:[24, 19] Operation: 76/4=19
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 13:[24, 19], Operations: ['95-91=4', '76/4=19']
Exploring Operation: 24-19=5, Resulting Numbers: [5]
5,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
70,
96,
90,
27
] | 37 | [
"96-70=26",
"90-27=63",
"63-26=37"
] | Current State: 37:[70, 96, 90, 27], Operations: []
Exploring Operation: 96-70=26, Resulting Numbers: [90, 27, 26]
Generated Node #2: [90, 27, 26] from Operation: 96-70=26
Current State: 37:[90, 27, 26], Operations: ['96-70=26']
Exploring Operation: 90-27=63, Resulting Numbers: [26, 63]
Generated Node #3: [26, 63] from Operation: 90-27=63
Current State: 37:[26, 63], Operations: ['96-70=26', '90-27=63']
Exploring Operation: 63-26=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[70, 96, 90, 27], Operations: []
Exploring Operation: 90-70=20, Resulting Numbers: [96, 27, 20]
Generated Node #0,0: 37:[96, 27, 20] Operation: 90-70=20
Exploring Operation: 70-27=43, Resulting Numbers: [96, 90, 43]
Generated Node #0,1: 37:[96, 90, 43] Operation: 70-27=43
Exploring Operation: 96-70=26, Resulting Numbers: [90, 27, 26]
Generated Node #0,2: 37:[90, 27, 26] Operation: 96-70=26
Exploring Operation: 96-90=6, Resulting Numbers: [70, 27, 6]
Generated Node #0,3: 37:[70, 27, 6] Operation: 96-90=6
Start Sub Search at level 1: Moving to Node #0,2
Current State: 37:[90, 27, 26], Operations: ['96-70=26']
Exploring Operation: 90-27=63, Resulting Numbers: [26, 63]
Generated Node #0,2,0: 37:[26, 63] Operation: 90-27=63
Exploring Operation: 27+26=53, Resulting Numbers: [90, 53]
Generated Node #0,2,1: 37:[90, 53] Operation: 27+26=53
Exploring Operation: 90+26=116, Resulting Numbers: [27, 116]
Generated Node #0,2,2: 37:[27, 116] Operation: 90+26=116
Exploring Operation: 90-26=64, Resulting Numbers: [27, 64]
Generated Node #0,2,3: 37:[27, 64] Operation: 90-26=64
Moving to Node #0,2,0
Current State: 37:[26, 63], Operations: ['96-70=26', '90-27=63']
Exploring Operation: 26+63=89, Resulting Numbers: [89]
89,37 unequal: No Solution
Exploring Operation: 26*63=1638, Resulting Numbers: [1638]
1638,37 unequal: No Solution
Exploring Operation: 63-26=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[70, 96, 90, 27], Operations: []
Exploring Operation: 96-70=26, Resulting Numbers: [90, 27, 26]
Generated Node #0,2: 37:[90, 27, 26] Operation: 96-70=26
Moving to Node #0,2
Current State: 37:[90, 27, 26], Operations: ['96-70=26']
Exploring Operation: 90-27=63, Resulting Numbers: [26, 63]
Generated Node #0,2,0: 37:[26, 63] Operation: 90-27=63
Moving to Node #0,2,0
Current State: 37:[26, 63], Operations: ['96-70=26', '90-27=63']
Exploring Operation: 63-26=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
42,
21,
11,
65
] | 43 | [
"42/21=2",
"11*2=22",
"65-22=43"
] | Current State: 43:[42, 21, 11, 65], Operations: []
Exploring Operation: 42/21=2, Resulting Numbers: [11, 65, 2]
Generated Node #2: [11, 65, 2] from Operation: 42/21=2
Current State: 43:[11, 65, 2], Operations: ['42/21=2']
Exploring Operation: 11*2=22, Resulting Numbers: [65, 22]
Generated Node #3: [65, 22] from Operation: 11*2=22
Current State: 43:[65, 22], Operations: ['42/21=2', '11*2=22']
Exploring Operation: 65-22=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[42, 21, 11, 65], Operations: []
Exploring Operation: 21+11=32, Resulting Numbers: [42, 65, 32]
Generated Node #0,0: 43:[42, 65, 32] Operation: 21+11=32
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[42, 65, 32], Operations: ['21+11=32']
Exploring Operation: 65-32=33, Resulting Numbers: [42, 33]
Generated Node #0,0,0: 43:[42, 33] Operation: 65-32=33
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 43:[42, 33], Operations: ['21+11=32', '65-32=33']
Exploring Operation: 42+33=75, Resulting Numbers: [75]
75,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
2,
24,
51,
19
] | 65 | [
"2*19=38",
"51-24=27",
"38+27=65"
] | Current State: 65:[2, 24, 51, 19], Operations: []
Exploring Operation: 2*19=38, Resulting Numbers: [24, 51, 38]
Generated Node #2: [24, 51, 38] from Operation: 2*19=38
Current State: 65:[24, 51, 38], Operations: ['2*19=38']
Exploring Operation: 51-24=27, Resulting Numbers: [38, 27]
Generated Node #3: [38, 27] from Operation: 51-24=27
Current State: 65:[38, 27], Operations: ['2*19=38', '51-24=27']
Exploring Operation: 38+27=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[2, 24, 51, 19], Operations: []
Exploring Operation: 51+19=70, Resulting Numbers: [2, 24, 70]
Generated Node #0,0: 65:[2, 24, 70] Operation: 51+19=70
Exploring Operation: 24/2=12, Resulting Numbers: [51, 19, 12]
Generated Node #0,1: 65:[51, 19, 12] Operation: 24/2=12
Exploring Operation: 24+51=75, Resulting Numbers: [2, 19, 75]
Generated Node #0,2: 65:[2, 19, 75] Operation: 24+51=75
Exploring Operation: 24-19=5, Resulting Numbers: [2, 51, 5]
Generated Node #0,3: 65:[2, 51, 5] Operation: 24-19=5
Moving to Node #0,3
Current State: 65:[2, 51, 5], Operations: ['24-19=5']
Exploring Operation: 2+51=53, Resulting Numbers: [5, 53]
Generated Node #0,3,0: 65:[5, 53] Operation: 2+51=53
Exploring Operation: 2+5=7, Resulting Numbers: [51, 7]
Generated Node #0,3,1: 65:[51, 7] Operation: 2+5=7
Exploring Operation: 51+5=56, Resulting Numbers: [2, 56]
Generated Node #0,3,2: 65:[2, 56] Operation: 51+5=56
Exploring Operation: 51-2=49, Resulting Numbers: [5, 49]
Generated Node #0,3,3: 65:[5, 49] Operation: 51-2=49
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 65:[5, 53], Operations: ['24-19=5', '2+51=53']
Exploring Operation: 5+53=58, Resulting Numbers: [58]
58,65 unequal: No Solution
Exploring Operation: 53-5=48, Resulting Numbers: [48]
48,65 unequal: No Solution
Exploring Operation: 5*53=265, Resulting Numbers: [265]
265,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 65:[2, 56], Operations: ['24-19=5', '51+5=56']
Exploring Operation: 56/2=28, Resulting Numbers: [28]
28,65 unequal: No Solution
Exploring Operation: 2*56=112, Resulting Numbers: [112]
112,65 unequal: No Solution
Exploring Operation: 56-2=54, Resulting Numbers: [54]
54,65 unequal: No Solution
Exploring Operation: 2+56=58, Resulting Numbers: [58]
58,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 65:[51, 7], Operations: ['24-19=5', '2+5=7']
Exploring Operation: 51-7=44, Resulting Numbers: [44]
44,65 unequal: No Solution
Exploring Operation: 51+7=58, Resulting Numbers: [58]
58,65 unequal: No Solution
Exploring Operation: 51*7=357, Resulting Numbers: [357]
357,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 65:[5, 49], Operations: ['24-19=5', '51-2=49']
Exploring Operation: 49-5=44, Resulting Numbers: [44]
44,65 unequal: No Solution
Exploring Operation: 5*49=245, Resulting Numbers: [245]
245,65 unequal: No Solution
Exploring Operation: 5+49=54, Resulting Numbers: [54]
54,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 65:[2, 19, 75], Operations: ['24+51=75']
Exploring Operation: 2+19=21, Resulting Numbers: [75, 21]
Generated Node #0,2,0: 65:[75, 21] Operation: 2+19=21
Exploring Operation: 75-19=56, Resulting Numbers: [2, 56]
Generated Node #0,2,1: 65:[2, 56] Operation: 75-19=56
Exploring Operation: 19-2=17, Resulting Numbers: [75, 17]
Generated Node #0,2,2: 65:[75, 17] Operation: 19-2=17
Exploring Operation: 75-2=73, Resulting Numbers: [19, 73]
Generated Node #0,2,3: 65:[19, 73] Operation: 75-2=73
Moving to Node #0,0
Current State: 65:[2, 24, 70], Operations: ['51+19=70']
Exploring Operation: 70-2=68, Resulting Numbers: [24, 68]
Generated Node #0,0,0: 65:[24, 68] Operation: 70-2=68
Exploring Operation: 2+24=26, Resulting Numbers: [70, 26]
Generated Node #0,0,1: 65:[70, 26] Operation: 2+24=26
Exploring Operation: 24/2=12, Resulting Numbers: [70, 12]
Generated Node #0,0,2: 65:[70, 12] Operation: 24/2=12
Exploring Operation: 24-2=22, Resulting Numbers: [70, 22]
Generated Node #0,0,3: 65:[70, 22] Operation: 24-2=22
Moving to Node #0,1
Current State: 65:[51, 19, 12], Operations: ['24/2=12']
Exploring Operation: 19-12=7, Resulting Numbers: [51, 7]
Generated Node #0,1,0: 65:[51, 7] Operation: 19-12=7
Exploring Operation: 51+12=63, Resulting Numbers: [19, 63]
Generated Node #0,1,1: 65:[19, 63] Operation: 51+12=63
Exploring Operation: 51-19=32, Resulting Numbers: [12, 32]
Generated Node #0,1,2: 65:[12, 32] Operation: 51-19=32
Exploring Operation: 51+19=70, Resulting Numbers: [12, 70]
Generated Node #0,1,3: 65:[12, 70] Operation: 51+19=70
Moving to Node #0,0,2
Current State: 65:[70, 12], Operations: ['51+19=70', '24/2=12']
Exploring Operation: 70+12=82, Resulting Numbers: [82]
82,65 unequal: No Solution
Exploring Operation: 70*12=840, Resulting Numbers: [840]
840,65 unequal: No Solution
Exploring Operation: 70-12=58, Resulting Numbers: [58]
58,65 unequal: No Solution
Moving to Node #0,1,3
Current State: 65:[12, 70], Operations: ['24/2=12', '51+19=70']
Exploring Operation: 12*70=840, Resulting Numbers: [840]
840,65 unequal: No Solution
Exploring Operation: 70-12=58, Resulting Numbers: [58]
58,65 unequal: No Solution
Exploring Operation: 12+70=82, Resulting Numbers: [82]
82,65 unequal: No Solution
Moving to Node #0,1,1
Current State: 65:[19, 63], Operations: ['24/2=12', '51+12=63']
Exploring Operation: 19+63=82, Resulting Numbers: [82]
82,65 unequal: No Solution
Exploring Operation: 19*63=1197, Resulting Numbers: [1197]
1197,65 unequal: No Solution
Exploring Operation: 63-19=44, Resulting Numbers: [44]
44,65 unequal: No Solution
Moving to Node #0,2,1
Current State: 65:[2, 56], Operations: ['24+51=75', '75-19=56']
Exploring Operation: 56-2=54, Resulting Numbers: [54]
54,65 unequal: No Solution
Exploring Operation: 2*56=112, Resulting Numbers: [112]
112,65 unequal: No Solution
Exploring Operation: 56/2=28, Resulting Numbers: [28]
28,65 unequal: No Solution
Exploring Operation: 2+56=58, Resulting Numbers: [58]
58,65 unequal: No Solution
Moving to Node #0,2,3
Current State: 65:[19, 73], Operations: ['24+51=75', '75-2=73']
Exploring Operation: 19*73=1387, Resulting Numbers: [1387]
1387,65 unequal: No Solution
Exploring Operation: 73-19=54, Resulting Numbers: [54]
54,65 unequal: No Solution
Exploring Operation: 19+73=92, Resulting Numbers: [92]
92,65 unequal: No Solution
Moving to Node #0,0,3
Current State: 65:[70, 22], Operations: ['51+19=70', '24-2=22']
Exploring Operation: 70+22=92, Resulting Numbers: [92]
92,65 unequal: No Solution
Exploring Operation: 70*22=1540, Resulting Numbers: [1540]
1540,65 unequal: No Solution
Exploring Operation: 70-22=48, Resulting Numbers: [48]
48,65 unequal: No Solution
Moving to Node #0,0,0
Current State: 65:[24, 68], Operations: ['51+19=70', '70-2=68']
Exploring Operation: 24+68=92, Resulting Numbers: [92]
92,65 unequal: No Solution
Exploring Operation: 24*68=1632, Resulting Numbers: [1632]
1632,65 unequal: No Solution
Exploring Operation: 68-24=44, Resulting Numbers: [44]
44,65 unequal: No Solution
Moving to Node #0,2,2
Current State: 65:[75, 17], Operations: ['24+51=75', '19-2=17']
Exploring Operation: 75*17=1275, Resulting Numbers: [1275]
1275,65 unequal: No Solution
Exploring Operation: 75+17=92, Resulting Numbers: [92]
92,65 unequal: No Solution
Exploring Operation: 75-17=58, Resulting Numbers: [58]
58,65 unequal: No Solution
Moving to Node #0,1,0
Current State: 65:[51, 7], Operations: ['24/2=12', '19-12=7']
Exploring Operation: 51+7=58, Resulting Numbers: [58]
58,65 unequal: No Solution
Exploring Operation: 51*7=357, Resulting Numbers: [357]
357,65 unequal: No Solution
Exploring Operation: 51-7=44, Resulting Numbers: [44]
44,65 unequal: No Solution
Moving to Node #0,0,1
Current State: 65:[70, 26], Operations: ['51+19=70', '2+24=26']
Exploring Operation: 70+26=96, Resulting Numbers: [96]
96,65 unequal: No Solution
Exploring Operation: 70-26=44, Resulting Numbers: [44]
44,65 unequal: No Solution
Exploring Operation: 70*26=1820, Resulting Numbers: [1820]
1820,65 unequal: No Solution
Moving to Node #0,2,0
Current State: 65:[75, 21], Operations: ['24+51=75', '2+19=21']
Exploring Operation: 75-21=54, Resulting Numbers: [54]
54,65 unequal: No Solution
Exploring Operation: 75*21=1575, Resulting Numbers: [1575]
1575,65 unequal: No Solution
Exploring Operation: 75+21=96, Resulting Numbers: [96]
96,65 unequal: No Solution
Moving to Node #0,1,2
Current State: 65:[12, 32], Operations: ['24/2=12', '51-19=32']
Exploring Operation: 12+32=44, Resulting Numbers: [44]
44,65 unequal: No Solution
Exploring Operation: 12*32=384, Resulting Numbers: [384]
384,65 unequal: No Solution
Exploring Operation: 32-12=20, Resulting Numbers: [20]
20,65 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
65,
80,
3,
24
] | 42 | [
"80-65=15",
"3+24=27",
"15+27=42"
] | Current State: 42:[65, 80, 3, 24], Operations: []
Exploring Operation: 80-65=15, Resulting Numbers: [3, 24, 15]
Generated Node #2: [3, 24, 15] from Operation: 80-65=15
Current State: 42:[3, 24, 15], Operations: ['80-65=15']
Exploring Operation: 3+24=27, Resulting Numbers: [15, 27]
Generated Node #3: [15, 27] from Operation: 3+24=27
Current State: 42:[15, 27], Operations: ['80-65=15', '3+24=27']
Exploring Operation: 15+27=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[65, 80, 3, 24], Operations: []
Exploring Operation: 65-3=62, Resulting Numbers: [80, 24, 62]
Generated Node #0,0: 42:[80, 24, 62] Operation: 65-3=62
Exploring Operation: 80-65=15, Resulting Numbers: [3, 24, 15]
Generated Node #0,1: 42:[3, 24, 15] Operation: 80-65=15
Exploring Operation: 65-24=41, Resulting Numbers: [80, 3, 41]
Generated Node #0,2: 42:[80, 3, 41] Operation: 65-24=41
Exploring Operation: 80-24=56, Resulting Numbers: [65, 3, 56]
Generated Node #0,3: 42:[65, 3, 56] Operation: 80-24=56
Moving to Node #0,1
Current State: 42:[3, 24, 15], Operations: ['80-65=15']
Exploring Operation: 24-3=21, Resulting Numbers: [15, 21]
Generated Node #0,1,0: 42:[15, 21] Operation: 24-3=21
Exploring Operation: 24-15=9, Resulting Numbers: [3, 9]
Generated Node #0,1,1: 42:[3, 9] Operation: 24-15=9
Exploring Operation: 24/3=8, Resulting Numbers: [15, 8]
Generated Node #0,1,2: 42:[15, 8] Operation: 24/3=8
Exploring Operation: 24+15=39, Resulting Numbers: [3, 39]
Generated Node #0,1,3: 42:[3, 39] Operation: 24+15=39
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 42:[15, 21], Operations: ['80-65=15', '24-3=21']
Exploring Operation: 21-15=6, Resulting Numbers: [6]
6,42 unequal: No Solution
Exploring Operation: 15+21=36, Resulting Numbers: [36]
36,42 unequal: No Solution
Exploring Operation: 15*21=315, Resulting Numbers: [315]
315,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 42:[3, 9], Operations: ['80-65=15', '24-15=9']
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,42 unequal: No Solution
Exploring Operation: 3*9=27, Resulting Numbers: [27]
27,42 unequal: No Solution
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,42 unequal: No Solution
Exploring Operation: 3+9=12, Resulting Numbers: [12]
12,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 42:[15, 8], Operations: ['80-65=15', '24/3=8']
Exploring Operation: 15+8=23, Resulting Numbers: [23]
23,42 unequal: No Solution
Exploring Operation: 15-8=7, Resulting Numbers: [7]
7,42 unequal: No Solution
Exploring Operation: 15*8=120, Resulting Numbers: [120]
120,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 42:[3, 39], Operations: ['80-65=15', '24+15=39']
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,42 unequal: No Solution
Exploring Operation: 3*39=117, Resulting Numbers: [117]
117,42 unequal: No Solution
Exploring Operation: 3+39=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[65, 80, 3, 24], Operations: []
Exploring Operation: 80-65=15, Resulting Numbers: [3, 24, 15]
Generated Node #0,1: 42:[3, 24, 15] Operation: 80-65=15
Moving to Node #0,1
Current State: 42:[3, 24, 15], Operations: ['80-65=15']
Exploring Operation: 24+15=39, Resulting Numbers: [3, 39]
Generated Node #0,1,3: 42:[3, 39] Operation: 24+15=39
Moving to Node #0,1,3
Current State: 42:[3, 39], Operations: ['80-65=15', '24+15=39']
Exploring Operation: 3+39=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_4 | mult_heuristic |
[
57,
70,
28,
59
] | 84 | [
"59-57=2",
"70-28=42",
"2*42=84"
] | Current State: 84:[57, 70, 28, 59], Operations: []
Exploring Operation: 59-57=2, Resulting Numbers: [70, 28, 2]
Generated Node #2: [70, 28, 2] from Operation: 59-57=2
Current State: 84:[70, 28, 2], Operations: ['59-57=2']
Exploring Operation: 70-28=42, Resulting Numbers: [2, 42]
Generated Node #3: [2, 42] from Operation: 70-28=42
Current State: 84:[2, 42], Operations: ['59-57=2', '70-28=42']
Exploring Operation: 2*42=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[57, 70, 28, 59], Operations: []
Exploring Operation: 59-57=2, Resulting Numbers: [70, 28, 2]
Generated Node #0,0: 84:[70, 28, 2] Operation: 59-57=2
Exploring Operation: 70-59=11, Resulting Numbers: [57, 28, 11]
Generated Node #0,1: 84:[57, 28, 11] Operation: 70-59=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[70, 28, 2], Operations: ['59-57=2']
Exploring Operation: 70-28=42, Resulting Numbers: [2, 42]
Generated Node #0,0,0: 84:[2, 42] Operation: 70-28=42
Exploring Operation: 70/2=35, Resulting Numbers: [28, 35]
Generated Node #0,0,1: 84:[28, 35] Operation: 70/2=35
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 84:[2, 42], Operations: ['59-57=2', '70-28=42']
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,84 unequal: No Solution
Exploring Operation: 2*42=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[57, 70, 28, 59], Operations: []
Exploring Operation: 59-57=2, Resulting Numbers: [70, 28, 2]
Generated Node #0,0: 84:[70, 28, 2] Operation: 59-57=2
Moving to Node #0,0
Current State: 84:[70, 28, 2], Operations: ['59-57=2']
Exploring Operation: 70-28=42, Resulting Numbers: [2, 42]
Generated Node #0,0,0: 84:[2, 42] Operation: 70-28=42
Moving to Node #0,0,0
Current State: 84:[2, 42], Operations: ['59-57=2', '70-28=42']
Exploring Operation: 2*42=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
2,
51,
41,
25
] | 17 | [
"51-2=49",
"41+25=66",
"66-49=17"
] | Current State: 17:[2, 51, 41, 25], Operations: []
Exploring Operation: 51-2=49, Resulting Numbers: [41, 25, 49]
Generated Node #2: [41, 25, 49] from Operation: 51-2=49
Current State: 17:[41, 25, 49], Operations: ['51-2=49']
Exploring Operation: 41+25=66, Resulting Numbers: [49, 66]
Generated Node #3: [49, 66] from Operation: 41+25=66
Current State: 17:[49, 66], Operations: ['51-2=49', '41+25=66']
Exploring Operation: 66-49=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[2, 51, 41, 25], Operations: []
Exploring Operation: 51-25=26, Resulting Numbers: [2, 41, 26]
Generated Node #0,0: 17:[2, 41, 26] Operation: 51-25=26
Exploring Operation: 41-25=16, Resulting Numbers: [2, 51, 16]
Generated Node #0,1: 17:[2, 51, 16] Operation: 41-25=16
Exploring Operation: 51-2=49, Resulting Numbers: [41, 25, 49]
Generated Node #0,2: 17:[41, 25, 49] Operation: 51-2=49
Exploring Operation: 51-41=10, Resulting Numbers: [2, 25, 10]
Generated Node #0,3: 17:[2, 25, 10] Operation: 51-41=10
Moving to Node #0,3
Current State: 17:[2, 25, 10], Operations: ['51-41=10']
Exploring Operation: 2+10=12, Resulting Numbers: [25, 12]
Generated Node #0,3,0: 17:[25, 12] Operation: 2+10=12
Exploring Operation: 2+25=27, Resulting Numbers: [10, 27]
Generated Node #0,3,1: 17:[10, 27] Operation: 2+25=27
Exploring Operation: 2*10=20, Resulting Numbers: [25, 20]
Generated Node #0,3,2: 17:[25, 20] Operation: 2*10=20
Exploring Operation: 25-2=23, Resulting Numbers: [10, 23]
Generated Node #0,3,3: 17:[10, 23] Operation: 25-2=23
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 17:[25, 20], Operations: ['51-41=10', '2*10=20']
Exploring Operation: 25+20=45, Resulting Numbers: [45]
45,17 unequal: No Solution
Exploring Operation: 25-20=5, Resulting Numbers: [5]
5,17 unequal: No Solution
Exploring Operation: 25*20=500, Resulting Numbers: [500]
500,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 17:[25, 12], Operations: ['51-41=10', '2+10=12']
Exploring Operation: 25*12=300, Resulting Numbers: [300]
300,17 unequal: No Solution
Exploring Operation: 25+12=37, Resulting Numbers: [37]
37,17 unequal: No Solution
Exploring Operation: 25-12=13, Resulting Numbers: [13]
13,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 17:[10, 23], Operations: ['51-41=10', '25-2=23']
Exploring Operation: 10+23=33, Resulting Numbers: [33]
33,17 unequal: No Solution
Exploring Operation: 10*23=230, Resulting Numbers: [230]
230,17 unequal: No Solution
Exploring Operation: 23-10=13, Resulting Numbers: [13]
13,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 17:[10, 27], Operations: ['51-41=10', '2+25=27']
Exploring Operation: 27-10=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[2, 51, 41, 25], Operations: []
Exploring Operation: 51-41=10, Resulting Numbers: [2, 25, 10]
Generated Node #0,3: 17:[2, 25, 10] Operation: 51-41=10
Moving to Node #0,3
Current State: 17:[2, 25, 10], Operations: ['51-41=10']
Exploring Operation: 2+25=27, Resulting Numbers: [10, 27]
Generated Node #0,3,1: 17:[10, 27] Operation: 2+25=27
Moving to Node #0,3,1
Current State: 17:[10, 27], Operations: ['51-41=10', '2+25=27']
Exploring Operation: 27-10=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_4 | sum_heuristic |
[
33,
5,
21,
2
] | 92 | [
"33*2=66",
"5+21=26",
"66+26=92"
] | Current State: 92:[33, 5, 21, 2], Operations: []
Exploring Operation: 33*2=66, Resulting Numbers: [5, 21, 66]
Generated Node #2: [5, 21, 66] from Operation: 33*2=66
Current State: 92:[5, 21, 66], Operations: ['33*2=66']
Exploring Operation: 5+21=26, Resulting Numbers: [66, 26]
Generated Node #3: [66, 26] from Operation: 5+21=26
Current State: 92:[66, 26], Operations: ['33*2=66', '5+21=26']
Exploring Operation: 66+26=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[33, 5, 21, 2], Operations: []
Exploring Operation: 33+21=54, Resulting Numbers: [5, 2, 54]
Generated Node #0,0: 92:[5, 2, 54] Operation: 33+21=54
Exploring Operation: 33-5=28, Resulting Numbers: [21, 2, 28]
Generated Node #0,1: 92:[21, 2, 28] Operation: 33-5=28
Exploring Operation: 33-2=31, Resulting Numbers: [5, 21, 31]
Generated Node #0,2: 92:[5, 21, 31] Operation: 33-2=31
Exploring Operation: 33+5=38, Resulting Numbers: [21, 2, 38]
Generated Node #0,3: 92:[21, 2, 38] Operation: 33+5=38
Exploring Operation: 33-21=12, Resulting Numbers: [5, 2, 12]
Generated Node #0,4: 92:[5, 2, 12] Operation: 33-21=12
Moving to Node #0,1
Current State: 92:[21, 2, 28], Operations: ['33-5=28']
Exploring Operation: 21*2=42, Resulting Numbers: [28, 42]
Generated Node #0,1,0: 92:[28, 42] Operation: 21*2=42
Exploring Operation: 21+28=49, Resulting Numbers: [2, 49]
Generated Node #0,1,1: 92:[2, 49] Operation: 21+28=49
Exploring Operation: 21+2=23, Resulting Numbers: [28, 23]
Generated Node #0,1,2: 92:[28, 23] Operation: 21+2=23
Exploring Operation: 28-21=7, Resulting Numbers: [2, 7]
Generated Node #0,1,3: 92:[2, 7] Operation: 28-21=7
Exploring Operation: 28-2=26, Resulting Numbers: [21, 26]
Generated Node #0,1,4: 92:[21, 26] Operation: 28-2=26
Moving to Node #0,4
Current State: 92:[5, 2, 12], Operations: ['33-21=12']
Exploring Operation: 12-2=10, Resulting Numbers: [5, 10]
Generated Node #0,4,0: 92:[5, 10] Operation: 12-2=10
Exploring Operation: 5+12=17, Resulting Numbers: [2, 17]
Generated Node #0,4,1: 92:[2, 17] Operation: 5+12=17
Exploring Operation: 2*12=24, Resulting Numbers: [5, 24]
Generated Node #0,4,2: 92:[5, 24] Operation: 2*12=24
Exploring Operation: 12/2=6, Resulting Numbers: [5, 6]
Generated Node #0,4,3: 92:[5, 6] Operation: 12/2=6
Exploring Operation: 12-5=7, Resulting Numbers: [2, 7]
Generated Node #0,4,4: 92:[2, 7] Operation: 12-5=7
Moving to Node #0,0
Current State: 92:[5, 2, 54], Operations: ['33+21=54']
Exploring Operation: 54/2=27, Resulting Numbers: [5, 27]
Generated Node #0,0,0: 92:[5, 27] Operation: 54/2=27
Exploring Operation: 5+2=7, Resulting Numbers: [54, 7]
Generated Node #0,0,1: 92:[54, 7] Operation: 5+2=7
Exploring Operation: 54-2=52, Resulting Numbers: [5, 52]
Generated Node #0,0,2: 92:[5, 52] Operation: 54-2=52
Exploring Operation: 54-5=49, Resulting Numbers: [2, 49]
Generated Node #0,0,3: 92:[2, 49] Operation: 54-5=49
Exploring Operation: 5-2=3, Resulting Numbers: [54, 3]
Generated Node #0,0,4: 92:[54, 3] Operation: 5-2=3
Moving to Node #0,3
Current State: 92:[21, 2, 38], Operations: ['33+5=38']
Exploring Operation: 21+2=23, Resulting Numbers: [38, 23]
Generated Node #0,3,0: 92:[38, 23] Operation: 21+2=23
Exploring Operation: 38-21=17, Resulting Numbers: [2, 17]
Generated Node #0,3,1: 92:[2, 17] Operation: 38-21=17
Exploring Operation: 2+38=40, Resulting Numbers: [21, 40]
Generated Node #0,3,2: 92:[21, 40] Operation: 2+38=40
Exploring Operation: 38/2=19, Resulting Numbers: [21, 19]
Generated Node #0,3,3: 92:[21, 19] Operation: 38/2=19
Exploring Operation: 21*2=42, Resulting Numbers: [38, 42]
Generated Node #0,3,4: 92:[38, 42] Operation: 21*2=42
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 92:[2, 17], Operations: ['33+5=38', '38-21=17']
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,92 unequal: No Solution
Exploring Operation: 2+17=19, Resulting Numbers: [19]
19,92 unequal: No Solution
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,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,3
Current State: 92:[21, 19], Operations: ['33+5=38', '38/2=19']
Exploring Operation: 21+19=40, Resulting Numbers: [40]
40,92 unequal: No Solution
Exploring Operation: 21*19=399, Resulting Numbers: [399]
399,92 unequal: No Solution
Exploring Operation: 21-19=2, Resulting Numbers: [2]
2,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,0
Current State: 92:[38, 23], Operations: ['33+5=38', '21+2=23']
Exploring Operation: 38*23=874, Resulting Numbers: [874]
874,92 unequal: No Solution
Exploring Operation: 38+23=61, Resulting Numbers: [61]
61,92 unequal: No Solution
Exploring Operation: 38-23=15, Resulting Numbers: [15]
15,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,2
Current State: 92:[21, 40], Operations: ['33+5=38', '2+38=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 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 92:[38, 42], Operations: ['33+5=38', '21*2=42']
Exploring Operation: 42-38=4, Resulting Numbers: [4]
4,92 unequal: No Solution
Exploring Operation: 38+42=80, Resulting Numbers: [80]
80,92 unequal: No Solution
Exploring Operation: 38*42=1596, Resulting Numbers: [1596]
1596,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 92:[5, 21, 31], Operations: ['33-2=31']
Exploring Operation: 5+21=26, Resulting Numbers: [31, 26]
Generated Node #0,2,0: 92:[31, 26] Operation: 5+21=26
Exploring Operation: 31-21=10, Resulting Numbers: [5, 10]
Generated Node #0,2,1: 92:[5, 10] Operation: 31-21=10
Exploring Operation: 31-5=26, Resulting Numbers: [21, 26]
Generated Node #0,2,2: 92:[21, 26] Operation: 31-5=26
Exploring Operation: 21+31=52, Resulting Numbers: [5, 52]
Generated Node #0,2,3: 92:[5, 52] Operation: 21+31=52
Exploring Operation: 5+31=36, Resulting Numbers: [21, 36]
Generated Node #0,2,4: 92:[21, 36] Operation: 5+31=36
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 92:[21, 26], Operations: ['33-2=31', '31-5=26']
Exploring Operation: 21*26=546, Resulting Numbers: [546]
546,92 unequal: No Solution
Exploring Operation: 26-21=5, Resulting Numbers: [5]
5,92 unequal: No Solution
Exploring Operation: 21+26=47, Resulting Numbers: [47]
47,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 92:[5, 10], Operations: ['33-2=31', '31-21=10']
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,92 unequal: No Solution
Exploring Operation: 5*10=50, Resulting Numbers: [50]
50,92 unequal: No Solution
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,92 unequal: No Solution
Exploring Operation: 5+10=15, Resulting Numbers: [15]
15,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 92:[5, 52], Operations: ['33-2=31', '21+31=52']
Exploring Operation: 52-5=47, Resulting Numbers: [47]
47,92 unequal: No Solution
Exploring Operation: 5+52=57, Resulting Numbers: [57]
57,92 unequal: No Solution
Exploring Operation: 5*52=260, Resulting Numbers: [260]
260,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,0
Current State: 92:[31, 26], Operations: ['33-2=31', '5+21=26']
Exploring Operation: 31+26=57, Resulting Numbers: [57]
57,92 unequal: No Solution
Exploring Operation: 31*26=806, Resulting Numbers: [806]
806,92 unequal: No Solution
Exploring Operation: 31-26=5, Resulting Numbers: [5]
5,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,4
Current State: 92:[21, 36], Operations: ['33-2=31', '5+31=36']
Exploring Operation: 21+36=57, Resulting Numbers: [57]
57,92 unequal: No Solution
Exploring Operation: 21*36=756, Resulting Numbers: [756]
756,92 unequal: No Solution
Exploring Operation: 36-21=15, Resulting Numbers: [15]
15,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,2
Current State: 92:[5, 24], Operations: ['33-21=12', '2*12=24']
Exploring Operation: 5*24=120, Resulting Numbers: [120]
120,92 unequal: No Solution
Exploring Operation: 5+24=29, Resulting Numbers: [29]
29,92 unequal: No Solution
Exploring Operation: 24-5=19, Resulting Numbers: [19]
19,92 unequal: No Solution
Moving to Node #0,1,1
Current State: 92:[2, 49], Operations: ['33-5=28', '21+28=49']
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,92 unequal: No Solution
Exploring Operation: 2+49=51, Resulting Numbers: [51]
51,92 unequal: No Solution
Exploring Operation: 2*49=98, Resulting Numbers: [98]
98,92 unequal: No Solution
Moving to Node #0,4,3
Current State: 92:[5, 6], Operations: ['33-21=12', '12/2=6']
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,92 unequal: No Solution
Exploring Operation: 5*6=30, Resulting Numbers: [30]
30,92 unequal: No Solution
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,92 unequal: No Solution
Moving to Node #0,1,3
Current State: 92:[2, 7], Operations: ['33-5=28', '28-21=7']
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,92 unequal: No Solution
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,92 unequal: No Solution
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,92 unequal: No Solution
Moving to Node #0,0,3
Current State: 92:[2, 49], Operations: ['33+21=54', '54-5=49']
Exploring Operation: 2+49=51, Resulting Numbers: [51]
51,92 unequal: No Solution
Exploring Operation: 2*49=98, Resulting Numbers: [98]
98,92 unequal: No Solution
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,92 unequal: No Solution
Moving to Node #0,4,4
Current State: 92:[2, 7], Operations: ['33-21=12', '12-5=7']
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,92 unequal: No Solution
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,92 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,92 unequal: No Solution
Moving to Node #0,1,2
Current State: 92:[28, 23], Operations: ['33-5=28', '21+2=23']
Exploring Operation: 28+23=51, Resulting Numbers: [51]
51,92 unequal: No Solution
Exploring Operation: 28-23=5, Resulting Numbers: [5]
5,92 unequal: No Solution
Exploring Operation: 28*23=644, Resulting Numbers: [644]
644,92 unequal: No Solution
Moving to Node #0,0,0
Current State: 92:[5, 27], Operations: ['33+21=54', '54/2=27']
Exploring Operation: 27-5=22, Resulting Numbers: [22]
22,92 unequal: No Solution
Exploring Operation: 5*27=135, Resulting Numbers: [135]
135,92 unequal: No Solution
Exploring Operation: 5+27=32, Resulting Numbers: [32]
32,92 unequal: No Solution
Moving to Node #0,1,4
Current State: 92:[21, 26], Operations: ['33-5=28', '28-2=26']
Exploring Operation: 21*26=546, Resulting Numbers: [546]
546,92 unequal: No Solution
Exploring Operation: 21+26=47, Resulting Numbers: [47]
47,92 unequal: No Solution
Exploring Operation: 26-21=5, Resulting Numbers: [5]
5,92 unequal: No Solution
Moving to Node #0,4,1
Current State: 92:[2, 17], Operations: ['33-21=12', '5+12=17']
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,92 unequal: No Solution
Exploring Operation: 2+17=19, Resulting Numbers: [19]
19,92 unequal: No Solution
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,92 unequal: No Solution
Moving to Node #0,0,2
Current State: 92:[5, 52], Operations: ['33+21=54', '54-2=52']
Exploring Operation: 52-5=47, Resulting Numbers: [47]
47,92 unequal: No Solution
Exploring Operation: 5+52=57, Resulting Numbers: [57]
57,92 unequal: No Solution
Exploring Operation: 5*52=260, Resulting Numbers: [260]
260,92 unequal: No Solution
Moving to Node #0,4,0
Current State: 92:[5, 10], Operations: ['33-21=12', '12-2=10']
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,92 unequal: No Solution
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,92 unequal: No Solution
Exploring Operation: 5+10=15, Resulting Numbers: [15]
15,92 unequal: No Solution
Exploring Operation: 5*10=50, Resulting Numbers: [50]
50,92 unequal: No Solution
Moving to Node #0,1,0
Current State: 92:[28, 42], Operations: ['33-5=28', '21*2=42']
Exploring Operation: 42-28=14, Resulting Numbers: [14]
14,92 unequal: No Solution
Exploring Operation: 28+42=70, Resulting Numbers: [70]
70,92 unequal: No Solution
Exploring Operation: 28*42=1176, Resulting Numbers: [1176]
1176,92 unequal: No Solution
Moving to Node #0,0,4
Current State: 92:[54, 3], Operations: ['33+21=54', '5-2=3']
Exploring Operation: 54+3=57, Resulting Numbers: [57]
57,92 unequal: No Solution
Exploring Operation: 54*3=162, Resulting Numbers: [162]
162,92 unequal: No Solution
Exploring Operation: 54/3=18, Resulting Numbers: [18]
18,92 unequal: No Solution
Exploring Operation: 54-3=51, Resulting Numbers: [51]
51,92 unequal: No Solution
Moving to Node #0,0,1
Current State: 92:[54, 7], Operations: ['33+21=54', '5+2=7']
Exploring Operation: 54-7=47, Resulting Numbers: [47]
47,92 unequal: No Solution
Exploring Operation: 54+7=61, Resulting Numbers: [61]
61,92 unequal: No Solution
Exploring Operation: 54*7=378, Resulting Numbers: [378]
378,92 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
5,
6,
32,
9
] | 40 | [
"6-5=1",
"32+9=41",
"41-1=40"
] | Current State: 40:[5, 6, 32, 9], Operations: []
Exploring Operation: 6-5=1, Resulting Numbers: [32, 9, 1]
Generated Node #2: [32, 9, 1] from Operation: 6-5=1
Current State: 40:[32, 9, 1], Operations: ['6-5=1']
Exploring Operation: 32+9=41, Resulting Numbers: [1, 41]
Generated Node #3: [1, 41] from Operation: 32+9=41
Current State: 40:[1, 41], Operations: ['6-5=1', '32+9=41']
Exploring Operation: 41-1=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[5, 6, 32, 9], Operations: []
Exploring Operation: 5+32=37, Resulting Numbers: [6, 9, 37]
Generated Node #0,0: 40:[6, 9, 37] Operation: 5+32=37
Exploring Operation: 6+32=38, Resulting Numbers: [5, 9, 38]
Generated Node #0,1: 40:[5, 9, 38] Operation: 6+32=38
Exploring Operation: 32-9=23, Resulting Numbers: [5, 6, 23]
Generated Node #0,2: 40:[5, 6, 23] Operation: 32-9=23
Exploring Operation: 32+9=41, Resulting Numbers: [5, 6, 41]
Generated Node #0,3: 40:[5, 6, 41] Operation: 32+9=41
Start Sub Search at level 1: Moving to Node #0,3
Current State: 40:[5, 6, 41], Operations: ['32+9=41']
Exploring Operation: 6-5=1, Resulting Numbers: [41, 1]
Generated Node #0,3,0: 40:[41, 1] Operation: 6-5=1
Exploring Operation: 41-6=35, Resulting Numbers: [5, 35]
Generated Node #0,3,1: 40:[5, 35] Operation: 41-6=35
Exploring Operation: 5+6=11, Resulting Numbers: [41, 11]
Generated Node #0,3,2: 40:[41, 11] Operation: 5+6=11
Exploring Operation: 41-5=36, Resulting Numbers: [6, 36]
Generated Node #0,3,3: 40:[6, 36] Operation: 41-5=36
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 40:[41, 1], Operations: ['32+9=41', '6-5=1']
Exploring Operation: 41/1=41, Resulting Numbers: [41]
41,40 unequal: No Solution
Exploring Operation: 41*1=41, Resulting Numbers: [41]
41,40 unequal: No Solution
Exploring Operation: 41-1=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[5, 6, 32, 9], Operations: []
Exploring Operation: 32+9=41, Resulting Numbers: [5, 6, 41]
Generated Node #0,3: 40:[5, 6, 41] Operation: 32+9=41
Moving to Node #0,3
Current State: 40:[5, 6, 41], Operations: ['32+9=41']
Exploring Operation: 6-5=1, Resulting Numbers: [41, 1]
Generated Node #0,3,0: 40:[41, 1] Operation: 6-5=1
Moving to Node #0,3,0
Current State: 40:[41, 1], Operations: ['32+9=41', '6-5=1']
Exploring Operation: 41-1=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
51,
6,
99,
30
] | 55 | [
"51+99=150",
"150/6=25",
"30+25=55"
] | Current State: 55:[51, 6, 99, 30], Operations: []
Exploring Operation: 51+99=150, Resulting Numbers: [6, 30, 150]
Generated Node #2: [6, 30, 150] from Operation: 51+99=150
Current State: 55:[6, 30, 150], Operations: ['51+99=150']
Exploring Operation: 150/6=25, Resulting Numbers: [30, 25]
Generated Node #3: [30, 25] from Operation: 150/6=25
Current State: 55:[30, 25], Operations: ['51+99=150', '150/6=25']
Exploring Operation: 30+25=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[51, 6, 99, 30], Operations: []
Exploring Operation: 99-51=48, Resulting Numbers: [6, 30, 48]
Generated Node #0,0: 55:[6, 30, 48] Operation: 99-51=48
Exploring Operation: 99-30=69, Resulting Numbers: [51, 6, 69]
Generated Node #0,1: 55:[51, 6, 69] Operation: 99-30=69
Moving to Node #0,1
Current State: 55:[51, 6, 69], Operations: ['99-30=69']
Exploring Operation: 69-6=63, Resulting Numbers: [51, 63]
Generated Node #0,1,0: 55:[51, 63] Operation: 69-6=63
Exploring Operation: 69-51=18, Resulting Numbers: [6, 18]
Generated Node #0,1,1: 55:[6, 18] Operation: 69-51=18
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 55:[6, 18], Operations: ['99-30=69', '69-51=18']
Exploring Operation: 18/6=3, Resulting Numbers: [3]
3,55 unequal: No Solution
Exploring Operation: 18-6=12, Resulting Numbers: [12]
12,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 55:[51, 63], Operations: ['99-30=69', '69-6=63']
Exploring Operation: 63-51=12, Resulting Numbers: [12]
12,55 unequal: No Solution
Exploring Operation: 51+63=114, Resulting Numbers: [114]
114,55 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: 55:[6, 30, 48], Operations: ['99-51=48']
Exploring Operation: 30/6=5, Resulting Numbers: [48, 5]
Generated Node #0,0,0: 55:[48, 5] Operation: 30/6=5
Exploring Operation: 48-30=18, Resulting Numbers: [6, 18]
Generated Node #0,0,1: 55:[6, 18] Operation: 48-30=18
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 55:[48, 5], Operations: ['99-51=48', '30/6=5']
Exploring Operation: 48-5=43, Resulting Numbers: [43]
43,55 unequal: No Solution
Exploring Operation: 48+5=53, Resulting Numbers: [53]
53,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 55:[6, 18], Operations: ['99-51=48', '48-30=18']
Exploring Operation: 18/6=3, Resulting Numbers: [3]
3,55 unequal: No Solution
Exploring Operation: 18-6=12, Resulting Numbers: [12]
12,55 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 |
[
76,
48,
76,
12
] | 57 | [
"76*48=3648",
"76-12=64",
"3648/64=57"
] | Current State: 57:[76, 48, 76, 12], Operations: []
Exploring Operation: 76*48=3648, Resulting Numbers: [12, 3648]
Generated Node #2: [12, 3648] from Operation: 76*48=3648
Current State: 57:[12, 3648], Operations: ['76*48=3648']
Exploring Operation: 76-12=64, Resulting Numbers: [3648, 64]
Generated Node #3: [3648, 64] from Operation: 76-12=64
Current State: 57:[3648, 64], Operations: ['76*48=3648', '76-12=64']
Exploring Operation: 3648/64=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[76, 48, 76, 12], Operations: []
Exploring Operation: 76-48=28, Resulting Numbers: [76, 12, 28]
Generated Node #0,0: 57:[76, 12, 28] Operation: 76-48=28
Exploring Operation: 76-12=64, Resulting Numbers: [48, 76, 64]
Generated Node #0,1: 57:[48, 76, 64] Operation: 76-12=64
Exploring Operation: 76-76=0, Resulting Numbers: [48, 12, 0]
Generated Node #0,2: 57:[48, 12, 0] Operation: 76-76=0
Exploring Operation: 76/76=1, Resulting Numbers: [48, 12, 1]
Generated Node #0,3: 57:[48, 12, 1] Operation: 76/76=1
Start Sub Search at level 1: Moving to Node #0,3
Current State: 57:[48, 12, 1], Operations: ['76/76=1']
Exploring Operation: 48/12=4, Resulting Numbers: [1, 4]
Generated Node #0,3,0: 57:[1, 4] Operation: 48/12=4
Exploring Operation: 12+1=13, Resulting Numbers: [48, 13]
Generated Node #0,3,1: 57:[48, 13] Operation: 12+1=13
Exploring Operation: 48+1=49, Resulting Numbers: [12, 49]
Generated Node #0,3,2: 57:[12, 49] Operation: 48+1=49
Exploring Operation: 48+12=60, Resulting Numbers: [1, 60]
Generated Node #0,3,3: 57:[1, 60] Operation: 48+12=60
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 57:[1, 4], Operations: ['76/76=1', '48/12=4']
Exploring Operation: 1*4=4, Resulting Numbers: [4]
4,57 unequal: No Solution
Exploring Operation: 1+4=5, Resulting Numbers: [5]
5,57 unequal: No Solution
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,57 unequal: No Solution
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 57:[1, 60], Operations: ['76/76=1', '48+12=60']
Exploring Operation: 1+60=61, Resulting Numbers: [61]
61,57 unequal: No Solution
Exploring Operation: 60-1=59, Resulting Numbers: [59]
59,57 unequal: No Solution
Exploring Operation: 60/1=60, Resulting Numbers: [60]
60,57 unequal: No Solution
Exploring Operation: 1*60=60, Resulting Numbers: [60]
60,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 57:[48, 13], Operations: ['76/76=1', '12+1=13']
Exploring Operation: 48+13=61, Resulting Numbers: [61]
61,57 unequal: No Solution
Exploring Operation: 48-13=35, Resulting Numbers: [35]
35,57 unequal: No Solution
Exploring Operation: 48*13=624, Resulting Numbers: [624]
624,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 57:[12, 49], Operations: ['76/76=1', '48+1=49']
Exploring Operation: 12+49=61, Resulting Numbers: [61]
61,57 unequal: No Solution
Exploring Operation: 49-12=37, Resulting Numbers: [37]
37,57 unequal: No Solution
Exploring Operation: 12*49=588, Resulting Numbers: [588]
588,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 57:[48, 12, 0], Operations: ['76-76=0']
Exploring Operation: 12*0=0, Resulting Numbers: [48, 0]
Generated Node #0,2,0: 57:[48, 0] Operation: 12*0=0
Exploring Operation: 48*0=0, Resulting Numbers: [12, 0]
Generated Node #0,2,1: 57:[12, 0] Operation: 48*0=0
Exploring Operation: 48/12=4, Resulting Numbers: [0, 4]
Generated Node #0,2,2: 57:[0, 4] Operation: 48/12=4
Exploring Operation: 48+12=60, Resulting Numbers: [0, 60]
Generated Node #0,2,3: 57:[0, 60] Operation: 48+12=60
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 57:[0, 4], Operations: ['76-76=0', '48/12=4']
Exploring Operation: 0+4=4, Resulting Numbers: [4]
4,57 unequal: No Solution
Exploring Operation: 0*4=0, Resulting Numbers: [0]
0,57 unequal: No Solution
Exploring Operation: 4-0=4, Resulting Numbers: [4]
4,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 57:[0, 60], Operations: ['76-76=0', '48+12=60']
Exploring Operation: 60-0=60, Resulting Numbers: [60]
60,57 unequal: No Solution
Exploring Operation: 0*60=0, Resulting Numbers: [0]
0,57 unequal: No Solution
Exploring Operation: 0+60=60, Resulting Numbers: [60]
60,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 57:[12, 0], Operations: ['76-76=0', '48*0=0']
Exploring Operation: 12*0=0, Resulting Numbers: [0]
0,57 unequal: No Solution
Exploring Operation: 12+0=12, Resulting Numbers: [12]
12,57 unequal: No Solution
Exploring Operation: 12-0=12, Resulting Numbers: [12]
12,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 57:[48, 0], Operations: ['76-76=0', '12*0=0']
Exploring Operation: 48*0=0, Resulting Numbers: [0]
0,57 unequal: No Solution
Exploring Operation: 48-0=48, Resulting Numbers: [48]
48,57 unequal: No Solution
Exploring Operation: 48+0=48, Resulting Numbers: [48]
48,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 57:[76, 12, 28], Operations: ['76-48=28']
Exploring Operation: 76-12=64, Resulting Numbers: [28, 64]
Generated Node #0,0,0: 57:[28, 64] Operation: 76-12=64
Exploring Operation: 12+28=40, Resulting Numbers: [76, 40]
Generated Node #0,0,1: 57:[76, 40] Operation: 12+28=40
Exploring Operation: 28-12=16, Resulting Numbers: [76, 16]
Generated Node #0,0,2: 57:[76, 16] Operation: 28-12=16
Exploring Operation: 76-28=48, Resulting Numbers: [12, 48]
Generated Node #0,0,3: 57:[12, 48] Operation: 76-28=48
Moving to Node #0,0,0
Current State: 57:[28, 64], Operations: ['76-48=28', '76-12=64']
Exploring Operation: 64-28=36, Resulting Numbers: [36]
36,57 unequal: No Solution
Exploring Operation: 28+64=92, Resulting Numbers: [92]
92,57 unequal: No Solution
Exploring Operation: 28*64=1792, Resulting Numbers: [1792]
1792,57 unequal: No Solution
Moving to Node #0,0,3
Current State: 57:[12, 48], Operations: ['76-48=28', '76-28=48']
Exploring Operation: 48/12=4, Resulting Numbers: [4]
4,57 unequal: No Solution
Exploring Operation: 12+48=60, Resulting Numbers: [60]
60,57 unequal: No Solution
Exploring Operation: 12*48=576, Resulting Numbers: [576]
576,57 unequal: No Solution
Exploring Operation: 48-12=36, Resulting Numbers: [36]
36,57 unequal: No Solution
Moving to Node #0,0,2
Current State: 57:[76, 16], Operations: ['76-48=28', '28-12=16']
Exploring Operation: 76*16=1216, Resulting Numbers: [1216]
1216,57 unequal: No Solution
Exploring Operation: 76-16=60, Resulting Numbers: [60]
60,57 unequal: No Solution
Exploring Operation: 76+16=92, Resulting Numbers: [92]
92,57 unequal: No Solution
Moving to Node #0,0,1
Current State: 57:[76, 40], Operations: ['76-48=28', '12+28=40']
Exploring Operation: 76*40=3040, Resulting Numbers: [3040]
3040,57 unequal: No Solution
Exploring Operation: 76+40=116, Resulting Numbers: [116]
116,57 unequal: No Solution
Exploring Operation: 76-40=36, Resulting Numbers: [36]
36,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 57:[48, 76, 64], Operations: ['76-12=64']
Exploring Operation: 64-48=16, Resulting Numbers: [76, 16]
Generated Node #0,1,0: 57:[76, 16] Operation: 64-48=16
Exploring Operation: 48+76=124, Resulting Numbers: [64, 124]
Generated Node #0,1,1: 57:[64, 124] Operation: 48+76=124
Exploring Operation: 76-64=12, Resulting Numbers: [48, 12]
Generated Node #0,1,2: 57:[48, 12] Operation: 76-64=12
Exploring Operation: 76-48=28, Resulting Numbers: [64, 28]
Generated Node #0,1,3: 57:[64, 28] Operation: 76-48=28
Moving to Node #0,1,2
Current State: 57:[48, 12], Operations: ['76-12=64', '76-64=12']
Exploring Operation: 48/12=4, Resulting Numbers: [4]
4,57 unequal: No Solution
Exploring Operation: 48*12=576, Resulting Numbers: [576]
576,57 unequal: No Solution
Exploring Operation: 48-12=36, Resulting Numbers: [36]
36,57 unequal: No Solution
Exploring Operation: 48+12=60, Resulting Numbers: [60]
60,57 unequal: No Solution
Moving to Node #0,1,3
Current State: 57:[64, 28], Operations: ['76-12=64', '76-48=28']
Exploring Operation: 64*28=1792, Resulting Numbers: [1792]
1792,57 unequal: No Solution
Exploring Operation: 64+28=92, Resulting Numbers: [92]
92,57 unequal: No Solution
Exploring Operation: 64-28=36, Resulting Numbers: [36]
36,57 unequal: No Solution
Moving to Node #0,1,0
Current State: 57:[76, 16], Operations: ['76-12=64', '64-48=16']
Exploring Operation: 76+16=92, Resulting Numbers: [92]
92,57 unequal: No Solution
Exploring Operation: 76*16=1216, Resulting Numbers: [1216]
1216,57 unequal: No Solution
Exploring Operation: 76-16=60, Resulting Numbers: [60]
60,57 unequal: No Solution
Moving to Node #0,1,1
Current State: 57:[64, 124], Operations: ['76-12=64', '48+76=124']
Exploring Operation: 124-64=60, Resulting Numbers: [60]
60,57 unequal: No Solution
Exploring Operation: 64*124=7936, Resulting Numbers: [7936]
7936,57 unequal: No Solution
Exploring Operation: 64+124=188, Resulting Numbers: [188]
188,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
24,
56,
19,
77
] | 22 | [
"24+56=80",
"77-19=58",
"80-58=22"
] | Current State: 22:[24, 56, 19, 77], Operations: []
Exploring Operation: 24+56=80, Resulting Numbers: [19, 77, 80]
Generated Node #2: [19, 77, 80] from Operation: 24+56=80
Current State: 22:[19, 77, 80], Operations: ['24+56=80']
Exploring Operation: 77-19=58, Resulting Numbers: [80, 58]
Generated Node #3: [80, 58] from Operation: 77-19=58
Current State: 22:[80, 58], Operations: ['24+56=80', '77-19=58']
Exploring Operation: 80-58=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[24, 56, 19, 77], Operations: []
Exploring Operation: 77-24=53, Resulting Numbers: [56, 19, 53]
Generated Node #0,0: 22:[56, 19, 53] Operation: 77-24=53
Exploring Operation: 77-56=21, Resulting Numbers: [24, 19, 21]
Generated Node #0,1: 22:[24, 19, 21] Operation: 77-56=21
Exploring Operation: 56-24=32, Resulting Numbers: [19, 77, 32]
Generated Node #0,2: 22:[19, 77, 32] Operation: 56-24=32
Start Sub Search at level 1: Moving to Node #0,1
Current State: 22:[24, 19, 21], Operations: ['77-56=21']
Exploring Operation: 21-19=2, Resulting Numbers: [24, 2]
Generated Node #0,1,0: 22:[24, 2] Operation: 21-19=2
Exploring Operation: 24-21=3, Resulting Numbers: [19, 3]
Generated Node #0,1,1: 22:[19, 3] Operation: 24-21=3
Exploring Operation: 24-19=5, Resulting Numbers: [21, 5]
Generated Node #0,1,2: 22:[21, 5] Operation: 24-19=5
Moving to Node #0,1,0
Current State: 22:[24, 2], Operations: ['77-56=21', '21-19=2']
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,22 unequal: No Solution
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[24, 56, 19, 77], Operations: []
Exploring Operation: 77-56=21, Resulting Numbers: [24, 19, 21]
Generated Node #0,1: 22:[24, 19, 21] Operation: 77-56=21
Moving to Node #0,1
Current State: 22:[24, 19, 21], Operations: ['77-56=21']
Exploring Operation: 21-19=2, Resulting Numbers: [24, 2]
Generated Node #0,1,0: 22:[24, 2] Operation: 21-19=2
Moving to Node #0,1,0
Current State: 22:[24, 2], Operations: ['77-56=21', '21-19=2']
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
92,
31,
62,
94
] | 48 | [
"92*31=2852",
"2852/62=46",
"94-46=48"
] | Current State: 48:[92, 31, 62, 94], Operations: []
Exploring Operation: 92*31=2852, Resulting Numbers: [62, 94, 2852]
Generated Node #2: [62, 94, 2852] from Operation: 92*31=2852
Current State: 48:[62, 94, 2852], Operations: ['92*31=2852']
Exploring Operation: 2852/62=46, Resulting Numbers: [94, 46]
Generated Node #3: [94, 46] from Operation: 2852/62=46
Current State: 48:[94, 46], Operations: ['92*31=2852', '2852/62=46']
Exploring Operation: 94-46=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[92, 31, 62, 94], Operations: []
Exploring Operation: 92-31=61, Resulting Numbers: [62, 94, 61]
Generated Node #0,0: 48:[62, 94, 61] Operation: 92-31=61
Exploring Operation: 94-62=32, Resulting Numbers: [92, 31, 32]
Generated Node #0,1: 48:[92, 31, 32] Operation: 94-62=32
Exploring Operation: 94-31=63, Resulting Numbers: [92, 62, 63]
Generated Node #0,2: 48:[92, 62, 63] Operation: 94-31=63
Exploring Operation: 94-92=2, Resulting Numbers: [31, 62, 2]
Generated Node #0,3: 48:[31, 62, 2] Operation: 94-92=2
Exploring Operation: 92-62=30, Resulting Numbers: [31, 94, 30]
Generated Node #0,4: 48:[31, 94, 30] Operation: 92-62=30
Start Sub Search at level 1: Moving to Node #0,3
Current State: 48:[31, 62, 2], Operations: ['94-92=2']
Exploring Operation: 62-2=60, Resulting Numbers: [31, 60]
Generated Node #0,3,0: 48:[31, 60] Operation: 62-2=60
Exploring Operation: 62-31=31, Resulting Numbers: [2, 31]
Generated Node #0,3,1: 48:[2, 31] Operation: 62-31=31
Exploring Operation: 62/2=31, Resulting Numbers: [31, 31]
Generated Node #0,3,2: 48:[31, 31] Operation: 62/2=31
Exploring Operation: 31-2=29, Resulting Numbers: [62, 29]
Generated Node #0,3,3: 48:[62, 29] Operation: 31-2=29
Exploring Operation: 62/31=2, Resulting Numbers: [2, 2]
Generated Node #0,3,4: 48:[2, 2] Operation: 62/31=2
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 48:[2, 2], Operations: ['94-92=2', '62/31=2']
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,48 unequal: No Solution
Exploring Operation: 2-2=0, Resulting Numbers: [0]
0,48 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,48 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,48 unequal: No Solution
No 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: 48:[2, 31], Operations: ['94-92=2', '62-31=31']
Exploring Operation: 2+31=33, Resulting Numbers: [33]
33,48 unequal: No Solution
Exploring Operation: 2*31=62, Resulting Numbers: [62]
62,48 unequal: No Solution
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,48 unequal: No Solution
No 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: 48:[31, 31], Operations: ['94-92=2', '62/2=31']
Exploring Operation: 31-31=0, Resulting Numbers: [0]
0,48 unequal: No Solution
Exploring Operation: 31*31=961, Resulting Numbers: [961]
961,48 unequal: No Solution
Exploring Operation: 31+31=62, Resulting Numbers: [62]
62,48 unequal: No Solution
Exploring Operation: 31/31=1, Resulting Numbers: [1]
1,48 unequal: No Solution
No 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: 48:[31, 60], Operations: ['94-92=2', '62-2=60']
Exploring Operation: 60-31=29, Resulting Numbers: [29]
29,48 unequal: No Solution
Exploring Operation: 31*60=1860, Resulting Numbers: [1860]
1860,48 unequal: No Solution
Exploring Operation: 31+60=91, Resulting Numbers: [91]
91,48 unequal: No Solution
No 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: 48:[62, 29], Operations: ['94-92=2', '31-2=29']
Exploring Operation: 62+29=91, Resulting Numbers: [91]
91,48 unequal: No Solution
Exploring Operation: 62*29=1798, Resulting Numbers: [1798]
1798,48 unequal: No Solution
Exploring Operation: 62-29=33, Resulting Numbers: [33]
33,48 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: 48:[92, 31, 32], Operations: ['94-62=32']
Exploring Operation: 92-32=60, Resulting Numbers: [31, 60]
Generated Node #0,1,0: 48:[31, 60] Operation: 92-32=60
Exploring Operation: 31+32=63, Resulting Numbers: [92, 63]
Generated Node #0,1,1: 48:[92, 63] Operation: 31+32=63
Exploring Operation: 92-31=61, Resulting Numbers: [32, 61]
Generated Node #0,1,2: 48:[32, 61] Operation: 92-31=61
Exploring Operation: 32-31=1, Resulting Numbers: [92, 1]
Generated Node #0,1,3: 48:[92, 1] Operation: 32-31=1
Exploring Operation: 92+31=123, Resulting Numbers: [32, 123]
Generated Node #0,1,4: 48:[32, 123] Operation: 92+31=123
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 48:[31, 60], Operations: ['94-62=32', '92-32=60']
Exploring Operation: 31+60=91, Resulting Numbers: [91]
91,48 unequal: No Solution
Exploring Operation: 60-31=29, Resulting Numbers: [29]
29,48 unequal: No Solution
Exploring Operation: 31*60=1860, Resulting Numbers: [1860]
1860,48 unequal: No Solution
No 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: 48:[32, 61], Operations: ['94-62=32', '92-31=61']
Exploring Operation: 61-32=29, Resulting Numbers: [29]
29,48 unequal: No Solution
Exploring Operation: 32*61=1952, Resulting Numbers: [1952]
1952,48 unequal: No Solution
Exploring Operation: 32+61=93, Resulting Numbers: [93]
93,48 unequal: No Solution
No 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: 48:[92, 1], Operations: ['94-62=32', '32-31=1']
Exploring Operation: 92-1=91, Resulting Numbers: [91]
91,48 unequal: No Solution
Exploring Operation: 92*1=92, Resulting Numbers: [92]
92,48 unequal: No Solution
Exploring Operation: 92+1=93, Resulting Numbers: [93]
93,48 unequal: No Solution
Exploring Operation: 92/1=92, Resulting Numbers: [92]
92,48 unequal: No Solution
No 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: 48:[92, 63], Operations: ['94-62=32', '31+32=63']
Exploring Operation: 92-63=29, Resulting Numbers: [29]
29,48 unequal: No Solution
Exploring Operation: 92+63=155, Resulting Numbers: [155]
155,48 unequal: No Solution
Exploring Operation: 92*63=5796, Resulting Numbers: [5796]
5796,48 unequal: No Solution
No 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: 48:[32, 123], Operations: ['94-62=32', '92+31=123']
Exploring Operation: 123-32=91, Resulting Numbers: [91]
91,48 unequal: No Solution
Exploring Operation: 32+123=155, Resulting Numbers: [155]
155,48 unequal: No Solution
Exploring Operation: 32*123=3936, Resulting Numbers: [3936]
3936,48 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: 48:[31, 94, 30], Operations: ['92-62=30']
Exploring Operation: 31+94=125, Resulting Numbers: [30, 125]
Generated Node #0,4,0: 48:[30, 125] Operation: 31+94=125
Exploring Operation: 94-30=64, Resulting Numbers: [31, 64]
Generated Node #0,4,1: 48:[31, 64] Operation: 94-30=64
Exploring Operation: 31-30=1, Resulting Numbers: [94, 1]
Generated Node #0,4,2: 48:[94, 1] Operation: 31-30=1
Exploring Operation: 31+30=61, Resulting Numbers: [94, 61]
Generated Node #0,4,3: 48:[94, 61] Operation: 31+30=61
Exploring Operation: 94-31=63, Resulting Numbers: [30, 63]
Generated Node #0,4,4: 48:[30, 63] Operation: 94-31=63
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 48:[30, 63], Operations: ['92-62=30', '94-31=63']
Exploring Operation: 63-30=33, Resulting Numbers: [33]
33,48 unequal: No Solution
Exploring Operation: 30+63=93, Resulting Numbers: [93]
93,48 unequal: No Solution
Exploring Operation: 30*63=1890, Resulting Numbers: [1890]
1890,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 48:[31, 64], Operations: ['92-62=30', '94-30=64']
Exploring Operation: 31*64=1984, Resulting Numbers: [1984]
1984,48 unequal: No Solution
Exploring Operation: 31+64=95, Resulting Numbers: [95]
95,48 unequal: No Solution
Exploring Operation: 64-31=33, Resulting Numbers: [33]
33,48 unequal: No Solution
No 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: 48:[94, 1], Operations: ['92-62=30', '31-30=1']
Exploring Operation: 94*1=94, Resulting Numbers: [94]
94,48 unequal: No Solution
Exploring Operation: 94+1=95, Resulting Numbers: [95]
95,48 unequal: No Solution
Exploring Operation: 94/1=94, Resulting Numbers: [94]
94,48 unequal: No Solution
Exploring Operation: 94-1=93, Resulting Numbers: [93]
93,48 unequal: No Solution
No 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: 48:[94, 61], Operations: ['92-62=30', '31+30=61']
Exploring Operation: 94-61=33, Resulting Numbers: [33]
33,48 unequal: No Solution
Exploring Operation: 94*61=5734, Resulting Numbers: [5734]
5734,48 unequal: No Solution
Exploring Operation: 94+61=155, Resulting Numbers: [155]
155,48 unequal: No Solution
No 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: 48:[30, 125], Operations: ['92-62=30', '31+94=125']
Exploring Operation: 30*125=3750, Resulting Numbers: [3750]
3750,48 unequal: No Solution
Exploring Operation: 30+125=155, Resulting Numbers: [155]
155,48 unequal: No Solution
Exploring Operation: 125-30=95, Resulting Numbers: [95]
95,48 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: 48:[62, 94, 61], Operations: ['92-31=61']
Exploring Operation: 62+61=123, Resulting Numbers: [94, 123]
Generated Node #0,0,0: 48:[94, 123] Operation: 62+61=123
Exploring Operation: 94-62=32, Resulting Numbers: [61, 32]
Generated Node #0,0,1: 48:[61, 32] Operation: 94-62=32
Exploring Operation: 94-61=33, Resulting Numbers: [62, 33]
Generated Node #0,0,2: 48:[62, 33] Operation: 94-61=33
Exploring Operation: 62+94=156, Resulting Numbers: [61, 156]
Generated Node #0,0,3: 48:[61, 156] Operation: 62+94=156
Exploring Operation: 62-61=1, Resulting Numbers: [94, 1]
Generated Node #0,0,4: 48:[94, 1] Operation: 62-61=1
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 48:[61, 32], Operations: ['92-31=61', '94-62=32']
Exploring Operation: 61*32=1952, Resulting Numbers: [1952]
1952,48 unequal: No Solution
Exploring Operation: 61+32=93, Resulting Numbers: [93]
93,48 unequal: No Solution
Exploring Operation: 61-32=29, Resulting Numbers: [29]
29,48 unequal: No Solution
No 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: 48:[62, 33], Operations: ['92-31=61', '94-61=33']
Exploring Operation: 62*33=2046, Resulting Numbers: [2046]
2046,48 unequal: No Solution
Exploring Operation: 62+33=95, Resulting Numbers: [95]
95,48 unequal: No Solution
Exploring Operation: 62-33=29, Resulting Numbers: [29]
29,48 unequal: No Solution
No 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: 48:[94, 1], Operations: ['92-31=61', '62-61=1']
Exploring Operation: 94+1=95, Resulting Numbers: [95]
95,48 unequal: No Solution
Exploring Operation: 94*1=94, Resulting Numbers: [94]
94,48 unequal: No Solution
Exploring Operation: 94-1=93, Resulting Numbers: [93]
93,48 unequal: No Solution
Exploring Operation: 94/1=94, Resulting Numbers: [94]
94,48 unequal: No Solution
No 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: 48:[94, 123], Operations: ['92-31=61', '62+61=123']
Exploring Operation: 94*123=11562, Resulting Numbers: [11562]
11562,48 unequal: No Solution
Exploring Operation: 123-94=29, Resulting Numbers: [29]
29,48 unequal: No Solution
Exploring Operation: 94+123=217, Resulting Numbers: [217]
217,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 48:[61, 156], Operations: ['92-31=61', '62+94=156']
Exploring Operation: 61*156=9516, Resulting Numbers: [9516]
9516,48 unequal: No Solution
Exploring Operation: 61+156=217, Resulting Numbers: [217]
217,48 unequal: No Solution
Exploring Operation: 156-61=95, Resulting Numbers: [95]
95,48 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: 48:[92, 62, 63], Operations: ['94-31=63']
Exploring Operation: 63-62=1, Resulting Numbers: [92, 1]
Generated Node #0,2,0: 48:[92, 1] Operation: 63-62=1
Exploring Operation: 92-62=30, Resulting Numbers: [63, 30]
Generated Node #0,2,1: 48:[63, 30] Operation: 92-62=30
Exploring Operation: 92+62=154, Resulting Numbers: [63, 154]
Generated Node #0,2,2: 48:[63, 154] Operation: 92+62=154
Exploring Operation: 92-63=29, Resulting Numbers: [62, 29]
Generated Node #0,2,3: 48:[62, 29] Operation: 92-63=29
Exploring Operation: 92+63=155, Resulting Numbers: [62, 155]
Generated Node #0,2,4: 48:[62, 155] Operation: 92+63=155
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 48:[62, 29], Operations: ['94-31=63', '92-63=29']
Exploring Operation: 62*29=1798, Resulting Numbers: [1798]
1798,48 unequal: No Solution
Exploring Operation: 62+29=91, Resulting Numbers: [91]
91,48 unequal: No Solution
Exploring Operation: 62-29=33, Resulting Numbers: [33]
33,48 unequal: No Solution
No 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: 48:[63, 30], Operations: ['94-31=63', '92-62=30']
Exploring Operation: 63+30=93, Resulting Numbers: [93]
93,48 unequal: No Solution
Exploring Operation: 63-30=33, Resulting Numbers: [33]
33,48 unequal: No Solution
Exploring Operation: 63*30=1890, Resulting Numbers: [1890]
1890,48 unequal: No Solution
No 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: 48:[92, 1], Operations: ['94-31=63', '63-62=1']
Exploring Operation: 92*1=92, Resulting Numbers: [92]
92,48 unequal: No Solution
Exploring Operation: 92-1=91, Resulting Numbers: [91]
91,48 unequal: No Solution
Exploring Operation: 92/1=92, Resulting Numbers: [92]
92,48 unequal: No Solution
Exploring Operation: 92+1=93, Resulting Numbers: [93]
93,48 unequal: No Solution
No 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: 48:[63, 154], Operations: ['94-31=63', '92+62=154']
Exploring Operation: 63+154=217, Resulting Numbers: [217]
217,48 unequal: No Solution
Exploring Operation: 154-63=91, Resulting Numbers: [91]
91,48 unequal: No Solution
Exploring Operation: 63*154=9702, Resulting Numbers: [9702]
9702,48 unequal: No Solution
No 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: 48:[62, 155], Operations: ['94-31=63', '92+63=155']
Exploring Operation: 155-62=93, Resulting Numbers: [93]
93,48 unequal: No Solution
Exploring Operation: 62+155=217, Resulting Numbers: [217]
217,48 unequal: No Solution
Exploring Operation: 62*155=9610, Resulting Numbers: [9610]
9610,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
7,
4,
56,
74
] | 67 | [
"7+74=81",
"56/4=14",
"81-14=67"
] | Current State: 67:[7, 4, 56, 74], Operations: []
Exploring Operation: 7+74=81, Resulting Numbers: [4, 56, 81]
Generated Node #2: [4, 56, 81] from Operation: 7+74=81
Current State: 67:[4, 56, 81], Operations: ['7+74=81']
Exploring Operation: 56/4=14, Resulting Numbers: [81, 14]
Generated Node #3: [81, 14] from Operation: 56/4=14
Current State: 67:[81, 14], Operations: ['7+74=81', '56/4=14']
Exploring Operation: 81-14=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[7, 4, 56, 74], Operations: []
Exploring Operation: 74-7=67, Resulting Numbers: [4, 56, 67]
Generated Node #0,0: 67:[4, 56, 67] Operation: 74-7=67
Exploring Operation: 7+56=63, Resulting Numbers: [4, 74, 63]
Generated Node #0,1: 67:[4, 74, 63] Operation: 7+56=63
Exploring Operation: 7+4=11, Resulting Numbers: [56, 74, 11]
Generated Node #0,2: 67:[56, 74, 11] Operation: 7+4=11
Exploring Operation: 7*4=28, Resulting Numbers: [56, 74, 28]
Generated Node #0,3: 67:[56, 74, 28] Operation: 7*4=28
Start Sub Search at level 1: Moving to Node #0,3
Current State: 67:[56, 74, 28], Operations: ['7*4=28']
Exploring Operation: 74+28=102, Resulting Numbers: [56, 102]
Generated Node #0,3,0: 67:[56, 102] Operation: 74+28=102
Exploring Operation: 56-28=28, Resulting Numbers: [74, 28]
Generated Node #0,3,1: 67:[74, 28] Operation: 56-28=28
Exploring Operation: 56+28=84, Resulting Numbers: [74, 84]
Generated Node #0,3,2: 67:[74, 84] Operation: 56+28=84
Exploring Operation: 74-28=46, Resulting Numbers: [56, 46]
Generated Node #0,3,3: 67:[56, 46] Operation: 74-28=46
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 67:[74, 84], Operations: ['7*4=28', '56+28=84']
Exploring Operation: 74*84=6216, Resulting Numbers: [6216]
6216,67 unequal: No Solution
Exploring Operation: 74+84=158, Resulting Numbers: [158]
158,67 unequal: No Solution
Exploring Operation: 84-74=10, Resulting Numbers: [10]
10,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,3,3
Current State: 67:[56, 46], Operations: ['7*4=28', '74-28=46']
Exploring Operation: 56+46=102, Resulting Numbers: [102]
102,67 unequal: No Solution
Exploring Operation: 56-46=10, Resulting Numbers: [10]
10,67 unequal: No Solution
Exploring Operation: 56*46=2576, Resulting Numbers: [2576]
2576,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,3,0
Current State: 67:[56, 102], Operations: ['7*4=28', '74+28=102']
Exploring Operation: 56+102=158, Resulting Numbers: [158]
158,67 unequal: No Solution
Exploring Operation: 102-56=46, Resulting Numbers: [46]
46,67 unequal: No Solution
Exploring Operation: 56*102=5712, Resulting Numbers: [5712]
5712,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,3,1
Current State: 67:[74, 28], Operations: ['7*4=28', '56-28=28']
Exploring Operation: 74+28=102, Resulting Numbers: [102]
102,67 unequal: No Solution
Exploring Operation: 74*28=2072, Resulting Numbers: [2072]
2072,67 unequal: No Solution
Exploring Operation: 74-28=46, Resulting Numbers: [46]
46,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,0
Current State: 67:[4, 56, 67], Operations: ['74-7=67']
Exploring Operation: 4+56=60, Resulting Numbers: [67, 60]
Generated Node #0,0,0: 67:[67, 60] Operation: 4+56=60
Exploring Operation: 4+67=71, Resulting Numbers: [56, 71]
Generated Node #0,0,1: 67:[56, 71] Operation: 4+67=71
Exploring Operation: 67-4=63, Resulting Numbers: [56, 63]
Generated Node #0,0,2: 67:[56, 63] Operation: 67-4=63
Exploring Operation: 56-4=52, Resulting Numbers: [67, 52]
Generated Node #0,0,3: 67:[67, 52] Operation: 56-4=52
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 67:[67, 60], Operations: ['74-7=67', '4+56=60']
Exploring Operation: 67-60=7, Resulting Numbers: [7]
7,67 unequal: No Solution
Exploring Operation: 67*60=4020, Resulting Numbers: [4020]
4020,67 unequal: No Solution
Exploring Operation: 67+60=127, Resulting Numbers: [127]
127,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,1
Current State: 67:[56, 71], Operations: ['74-7=67', '4+67=71']
Exploring Operation: 56+71=127, Resulting Numbers: [127]
127,67 unequal: No Solution
Exploring Operation: 71-56=15, Resulting Numbers: [15]
15,67 unequal: No Solution
Exploring Operation: 56*71=3976, Resulting Numbers: [3976]
3976,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,2
Current State: 67:[56, 63], Operations: ['74-7=67', '67-4=63']
Exploring Operation: 56*63=3528, Resulting Numbers: [3528]
3528,67 unequal: No Solution
Exploring Operation: 56+63=119, Resulting Numbers: [119]
119,67 unequal: No Solution
Exploring Operation: 63-56=7, Resulting Numbers: [7]
7,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,3
Current State: 67:[67, 52], Operations: ['74-7=67', '56-4=52']
Exploring Operation: 67*52=3484, Resulting Numbers: [3484]
3484,67 unequal: No Solution
Exploring Operation: 67+52=119, Resulting Numbers: [119]
119,67 unequal: No Solution
Exploring Operation: 67-52=15, Resulting Numbers: [15]
15,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:[4, 74, 63], Operations: ['7+56=63']
Exploring Operation: 63-4=59, Resulting Numbers: [74, 59]
Generated Node #0,1,0: 67:[74, 59] Operation: 63-4=59
Exploring Operation: 4+74=78, Resulting Numbers: [63, 78]
Generated Node #0,1,1: 67:[63, 78] Operation: 4+74=78
Exploring Operation: 4+63=67, Resulting Numbers: [74, 67]
Generated Node #0,1,2: 67:[74, 67] Operation: 4+63=67
Exploring Operation: 74-4=70, Resulting Numbers: [63, 70]
Generated Node #0,1,3: 67:[63, 70] Operation: 74-4=70
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 67:[74, 67], Operations: ['7+56=63', '4+63=67']
Exploring Operation: 74+67=141, Resulting Numbers: [141]
141,67 unequal: No Solution
Exploring Operation: 74-67=7, Resulting Numbers: [7]
7,67 unequal: No Solution
Exploring Operation: 74*67=4958, Resulting Numbers: [4958]
4958,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 67:[63, 70], Operations: ['7+56=63', '74-4=70']
Exploring Operation: 63+70=133, Resulting Numbers: [133]
133,67 unequal: No Solution
Exploring Operation: 63*70=4410, Resulting Numbers: [4410]
4410,67 unequal: No Solution
Exploring Operation: 70-63=7, Resulting Numbers: [7]
7,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 67:[74, 59], Operations: ['7+56=63', '63-4=59']
Exploring Operation: 74-59=15, Resulting Numbers: [15]
15,67 unequal: No Solution
Exploring Operation: 74*59=4366, Resulting Numbers: [4366]
4366,67 unequal: No Solution
Exploring Operation: 74+59=133, Resulting Numbers: [133]
133,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 67:[63, 78], Operations: ['7+56=63', '4+74=78']
Exploring Operation: 63*78=4914, Resulting Numbers: [4914]
4914,67 unequal: No Solution
Exploring Operation: 63+78=141, Resulting Numbers: [141]
141,67 unequal: No Solution
Exploring Operation: 78-63=15, Resulting Numbers: [15]
15,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,2
Current State: 67:[56, 74, 11], Operations: ['7+4=11']
Exploring Operation: 74+11=85, Resulting Numbers: [56, 85]
Generated Node #0,2,0: 67:[56, 85] Operation: 74+11=85
Exploring Operation: 74-11=63, Resulting Numbers: [56, 63]
Generated Node #0,2,1: 67:[56, 63] Operation: 74-11=63
Exploring Operation: 56-11=45, Resulting Numbers: [74, 45]
Generated Node #0,2,2: 67:[74, 45] Operation: 56-11=45
Exploring Operation: 56+11=67, Resulting Numbers: [74, 67]
Generated Node #0,2,3: 67:[74, 67] Operation: 56+11=67
Moving to Node #0,2,3
Current State: 67:[74, 67], Operations: ['7+4=11', '56+11=67']
Exploring Operation: 74-67=7, Resulting Numbers: [7]
7,67 unequal: No Solution
Exploring Operation: 74*67=4958, Resulting Numbers: [4958]
4958,67 unequal: No Solution
Exploring Operation: 74+67=141, Resulting Numbers: [141]
141,67 unequal: No Solution
Moving to Node #0,2,1
Current State: 67:[56, 63], Operations: ['7+4=11', '74-11=63']
Exploring Operation: 56+63=119, Resulting Numbers: [119]
119,67 unequal: No Solution
Exploring Operation: 56*63=3528, Resulting Numbers: [3528]
3528,67 unequal: No Solution
Exploring Operation: 63-56=7, Resulting Numbers: [7]
7,67 unequal: No Solution
Moving to Node #0,2,2
Current State: 67:[74, 45], Operations: ['7+4=11', '56-11=45']
Exploring Operation: 74-45=29, Resulting Numbers: [29]
29,67 unequal: No Solution
Exploring Operation: 74+45=119, Resulting Numbers: [119]
119,67 unequal: No Solution
Exploring Operation: 74*45=3330, Resulting Numbers: [3330]
3330,67 unequal: No Solution
Moving to Node #0,2,0
Current State: 67:[56, 85], Operations: ['7+4=11', '74+11=85']
Exploring Operation: 56+85=141, Resulting Numbers: [141]
141,67 unequal: No Solution
Exploring Operation: 85-56=29, Resulting Numbers: [29]
29,67 unequal: No Solution
Exploring Operation: 56*85=4760, Resulting Numbers: [4760]
4760,67 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 |
[
48,
33,
9,
77
] | 36 | [
"48+33=81",
"81-77=4",
"9*4=36"
] | Current State: 36:[48, 33, 9, 77], Operations: []
Exploring Operation: 48+33=81, Resulting Numbers: [9, 77, 81]
Generated Node #2: [9, 77, 81] from Operation: 48+33=81
Current State: 36:[9, 77, 81], Operations: ['48+33=81']
Exploring Operation: 81-77=4, Resulting Numbers: [9, 4]
Generated Node #3: [9, 4] from Operation: 81-77=4
Current State: 36:[9, 4], Operations: ['48+33=81', '81-77=4']
Exploring Operation: 9*4=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[48, 33, 9, 77], Operations: []
Exploring Operation: 48-9=39, Resulting Numbers: [33, 77, 39]
Generated Node #0,0: 36:[33, 77, 39] Operation: 48-9=39
Exploring Operation: 77-33=44, Resulting Numbers: [48, 9, 44]
Generated Node #0,1: 36:[48, 9, 44] Operation: 77-33=44
Exploring Operation: 48-33=15, Resulting Numbers: [9, 77, 15]
Generated Node #0,2: 36:[9, 77, 15] Operation: 48-33=15
Exploring Operation: 77-48=29, Resulting Numbers: [33, 9, 29]
Generated Node #0,3: 36:[33, 9, 29] Operation: 77-48=29
Start Sub Search at level 1: Moving to Node #0,3
Current State: 36:[33, 9, 29], Operations: ['77-48=29']
Exploring Operation: 9+29=38, Resulting Numbers: [33, 38]
Generated Node #0,3,0: 36:[33, 38] Operation: 9+29=38
Exploring Operation: 29-9=20, Resulting Numbers: [33, 20]
Generated Node #0,3,1: 36:[33, 20] Operation: 29-9=20
Exploring Operation: 33-29=4, Resulting Numbers: [9, 4]
Generated Node #0,3,2: 36:[9, 4] Operation: 33-29=4
Exploring Operation: 33+9=42, Resulting Numbers: [29, 42]
Generated Node #0,3,3: 36:[29, 42] Operation: 33+9=42
Moving to Node #0,3,2
Current State: 36:[9, 4], Operations: ['77-48=29', '33-29=4']
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,36 unequal: No Solution
Exploring Operation: 9*4=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[48, 33, 9, 77], Operations: []
Exploring Operation: 77-48=29, Resulting Numbers: [33, 9, 29]
Generated Node #0,3: 36:[33, 9, 29] Operation: 77-48=29
Moving to Node #0,3
Current State: 36:[33, 9, 29], Operations: ['77-48=29']
Exploring Operation: 33-29=4, Resulting Numbers: [9, 4]
Generated Node #0,3,2: 36:[9, 4] Operation: 33-29=4
Moving to Node #0,3,2
Current State: 36:[9, 4], Operations: ['77-48=29', '33-29=4']
Exploring Operation: 9*4=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
27,
62,
83,
78
] | 84 | [
"27+62=89",
"83-78=5",
"89-5=84"
] | Current State: 84:[27, 62, 83, 78], Operations: []
Exploring Operation: 27+62=89, Resulting Numbers: [83, 78, 89]
Generated Node #2: [83, 78, 89] from Operation: 27+62=89
Current State: 84:[83, 78, 89], Operations: ['27+62=89']
Exploring Operation: 83-78=5, Resulting Numbers: [89, 5]
Generated Node #3: [89, 5] from Operation: 83-78=5
Current State: 84:[89, 5], Operations: ['27+62=89', '83-78=5']
Exploring Operation: 89-5=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[27, 62, 83, 78], Operations: []
Exploring Operation: 27+62=89, Resulting Numbers: [83, 78, 89]
Generated Node #0,0: 84:[83, 78, 89] Operation: 27+62=89
Exploring Operation: 62-27=35, Resulting Numbers: [83, 78, 35]
Generated Node #0,1: 84:[83, 78, 35] Operation: 62-27=35
Exploring Operation: 78-62=16, Resulting Numbers: [27, 83, 16]
Generated Node #0,2: 84:[27, 83, 16] Operation: 78-62=16
Exploring Operation: 83-62=21, Resulting Numbers: [27, 78, 21]
Generated Node #0,3: 84:[27, 78, 21] Operation: 83-62=21
Start Sub Search at level 1: Moving to Node #0,2
Current State: 84:[27, 83, 16], Operations: ['78-62=16']
Exploring Operation: 83-27=56, Resulting Numbers: [16, 56]
Generated Node #0,2,0: 84:[16, 56] Operation: 83-27=56
Exploring Operation: 83+16=99, Resulting Numbers: [27, 99]
Generated Node #0,2,1: 84:[27, 99] Operation: 83+16=99
Exploring Operation: 27+16=43, Resulting Numbers: [83, 43]
Generated Node #0,2,2: 84:[83, 43] Operation: 27+16=43
Exploring Operation: 27-16=11, Resulting Numbers: [83, 11]
Generated Node #0,2,3: 84:[83, 11] Operation: 27-16=11
Moving to Node #0,2,2
Current State: 84:[83, 43], Operations: ['78-62=16', '27+16=43']
Exploring Operation: 83+43=126, Resulting Numbers: [126]
126,84 unequal: No Solution
Exploring Operation: 83*43=3569, Resulting Numbers: [3569]
3569,84 unequal: No Solution
Exploring Operation: 83-43=40, Resulting Numbers: [40]
40,84 unequal: No Solution
Moving to Node #0,2,3
Current State: 84:[83, 11], Operations: ['78-62=16', '27-16=11']
Exploring Operation: 83-11=72, Resulting Numbers: [72]
72,84 unequal: No Solution
Exploring Operation: 83*11=913, Resulting Numbers: [913]
913,84 unequal: No Solution
Exploring Operation: 83+11=94, Resulting Numbers: [94]
94,84 unequal: No Solution
Moving to Node #0,2,1
Current State: 84:[27, 99], Operations: ['78-62=16', '83+16=99']
Exploring Operation: 27+99=126, Resulting Numbers: [126]
126,84 unequal: No Solution
Exploring Operation: 27*99=2673, Resulting Numbers: [2673]
2673,84 unequal: No Solution
Exploring Operation: 99-27=72, Resulting Numbers: [72]
72,84 unequal: No Solution
Moving to Node #0,2,0
Current State: 84:[16, 56], Operations: ['78-62=16', '83-27=56']
Exploring Operation: 16+56=72, Resulting Numbers: [72]
72,84 unequal: No Solution
Exploring Operation: 56-16=40, Resulting Numbers: [40]
40,84 unequal: No Solution
Exploring Operation: 16*56=896, Resulting Numbers: [896]
896,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 84:[27, 78, 21], Operations: ['83-62=21']
Exploring Operation: 78+21=99, Resulting Numbers: [27, 99]
Generated Node #0,3,0: 84:[27, 99] Operation: 78+21=99
Exploring Operation: 78-27=51, Resulting Numbers: [21, 51]
Generated Node #0,3,1: 84:[21, 51] Operation: 78-27=51
Exploring Operation: 27-21=6, Resulting Numbers: [78, 6]
Generated Node #0,3,2: 84:[78, 6] Operation: 27-21=6
Exploring Operation: 27+21=48, Resulting Numbers: [78, 48]
Generated Node #0,3,3: 84:[78, 48] Operation: 27+21=48
Moving to Node #0,3,2
Current State: 84:[78, 6], Operations: ['83-62=21', '27-21=6']
Exploring Operation: 78*6=468, Resulting Numbers: [468]
468,84 unequal: No Solution
Exploring Operation: 78+6=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[27, 62, 83, 78], Operations: []
Exploring Operation: 83-62=21, Resulting Numbers: [27, 78, 21]
Generated Node #0,3: 84:[27, 78, 21] Operation: 83-62=21
Moving to Node #0,3
Current State: 84:[27, 78, 21], Operations: ['83-62=21']
Exploring Operation: 27-21=6, Resulting Numbers: [78, 6]
Generated Node #0,3,2: 84:[78, 6] Operation: 27-21=6
Moving to Node #0,3,2
Current State: 84:[78, 6], Operations: ['83-62=21', '27-21=6']
Exploring Operation: 78+6=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 | hs_4 | sum_heuristic |
[
53,
70,
4,
80
] | 12 | [
"70-53=17",
"4*17=68",
"80-68=12"
] | Current State: 12:[53, 70, 4, 80], Operations: []
Exploring Operation: 70-53=17, Resulting Numbers: [4, 80, 17]
Generated Node #2: [4, 80, 17] from Operation: 70-53=17
Current State: 12:[4, 80, 17], Operations: ['70-53=17']
Exploring Operation: 4*17=68, Resulting Numbers: [80, 68]
Generated Node #3: [80, 68] from Operation: 4*17=68
Current State: 12:[80, 68], Operations: ['70-53=17', '4*17=68']
Exploring Operation: 80-68=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[53, 70, 4, 80], Operations: []
Exploring Operation: 80/4=20, Resulting Numbers: [53, 70, 20]
Generated Node #0,0: 12:[53, 70, 20] Operation: 80/4=20
Exploring Operation: 80-70=10, Resulting Numbers: [53, 4, 10]
Generated Node #0,1: 12:[53, 4, 10] Operation: 80-70=10
Exploring Operation: 80-53=27, Resulting Numbers: [70, 4, 27]
Generated Node #0,2: 12:[70, 4, 27] Operation: 80-53=27
Exploring Operation: 70-53=17, Resulting Numbers: [4, 80, 17]
Generated Node #0,3: 12:[4, 80, 17] Operation: 70-53=17
Start Sub Search at level 1: Moving to Node #0,1
Current State: 12:[53, 4, 10], Operations: ['80-70=10']
Exploring Operation: 53-4=49, Resulting Numbers: [10, 49]
Generated Node #0,1,0: 12:[10, 49] Operation: 53-4=49
Exploring Operation: 53-10=43, Resulting Numbers: [4, 43]
Generated Node #0,1,1: 12:[4, 43] Operation: 53-10=43
Exploring Operation: 10-4=6, Resulting Numbers: [53, 6]
Generated Node #0,1,2: 12:[53, 6] Operation: 10-4=6
Exploring Operation: 4+10=14, Resulting Numbers: [53, 14]
Generated Node #0,1,3: 12:[53, 14] Operation: 4+10=14
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 12:[4, 43], Operations: ['80-70=10', '53-10=43']
Exploring Operation: 4+43=47, Resulting Numbers: [47]
47,12 unequal: No Solution
Exploring Operation: 43-4=39, Resulting Numbers: [39]
39,12 unequal: No Solution
Exploring Operation: 4*43=172, Resulting Numbers: [172]
172,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 12:[10, 49], Operations: ['80-70=10', '53-4=49']
Exploring Operation: 10*49=490, Resulting Numbers: [490]
490,12 unequal: No Solution
Exploring Operation: 49-10=39, Resulting Numbers: [39]
39,12 unequal: No Solution
Exploring Operation: 10+49=59, Resulting Numbers: [59]
59,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 12:[53, 6], Operations: ['80-70=10', '10-4=6']
Exploring Operation: 53*6=318, Resulting Numbers: [318]
318,12 unequal: No Solution
Exploring Operation: 53-6=47, Resulting Numbers: [47]
47,12 unequal: No Solution
Exploring Operation: 53+6=59, Resulting Numbers: [59]
59,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 12:[53, 14], Operations: ['80-70=10', '4+10=14']
Exploring Operation: 53+14=67, Resulting Numbers: [67]
67,12 unequal: No Solution
Exploring Operation: 53-14=39, Resulting Numbers: [39]
39,12 unequal: No Solution
Exploring Operation: 53*14=742, Resulting Numbers: [742]
742,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 12:[70, 4, 27], Operations: ['80-53=27']
Exploring Operation: 70+4=74, Resulting Numbers: [27, 74]
Generated Node #0,2,0: 12:[27, 74] Operation: 70+4=74
Exploring Operation: 27-4=23, Resulting Numbers: [70, 23]
Generated Node #0,2,1: 12:[70, 23] Operation: 27-4=23
Exploring Operation: 70-27=43, Resulting Numbers: [4, 43]
Generated Node #0,2,2: 12:[4, 43] Operation: 70-27=43
Exploring Operation: 70-4=66, Resulting Numbers: [27, 66]
Generated Node #0,2,3: 12:[27, 66] Operation: 70-4=66
Moving to Node #0,2,2
Current State: 12:[4, 43], Operations: ['80-53=27', '70-27=43']
Exploring Operation: 4*43=172, Resulting Numbers: [172]
172,12 unequal: No Solution
Exploring Operation: 43-4=39, Resulting Numbers: [39]
39,12 unequal: No Solution
Exploring Operation: 4+43=47, Resulting Numbers: [47]
47,12 unequal: No Solution
Moving to Node #0,2,3
Current State: 12:[27, 66], Operations: ['80-53=27', '70-4=66']
Exploring Operation: 27*66=1782, Resulting Numbers: [1782]
1782,12 unequal: No Solution
Exploring Operation: 27+66=93, Resulting Numbers: [93]
93,12 unequal: No Solution
Exploring Operation: 66-27=39, Resulting Numbers: [39]
39,12 unequal: No Solution
Moving to Node #0,2,1
Current State: 12:[70, 23], Operations: ['80-53=27', '27-4=23']
Exploring Operation: 70*23=1610, Resulting Numbers: [1610]
1610,12 unequal: No Solution
Exploring Operation: 70-23=47, Resulting Numbers: [47]
47,12 unequal: No Solution
Exploring Operation: 70+23=93, Resulting Numbers: [93]
93,12 unequal: No Solution
Moving to Node #0,2,0
Current State: 12:[27, 74], Operations: ['80-53=27', '70+4=74']
Exploring Operation: 74-27=47, Resulting Numbers: [47]
47,12 unequal: No Solution
Exploring Operation: 27+74=101, Resulting Numbers: [101]
101,12 unequal: No Solution
Exploring Operation: 27*74=1998, Resulting Numbers: [1998]
1998,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,3
Current State: 12:[4, 80, 17], Operations: ['70-53=17']
Exploring Operation: 80/4=20, Resulting Numbers: [17, 20]
Generated Node #0,3,0: 12:[17, 20] Operation: 80/4=20
Exploring Operation: 80-17=63, Resulting Numbers: [4, 63]
Generated Node #0,3,1: 12:[4, 63] Operation: 80-17=63
Exploring Operation: 80-4=76, Resulting Numbers: [17, 76]
Generated Node #0,3,2: 12:[17, 76] Operation: 80-4=76
Exploring Operation: 17-4=13, Resulting Numbers: [80, 13]
Generated Node #0,3,3: 12:[80, 13] Operation: 17-4=13
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 12:[17, 20], Operations: ['70-53=17', '80/4=20']
Exploring Operation: 17*20=340, Resulting Numbers: [340]
340,12 unequal: No Solution
Exploring Operation: 20-17=3, Resulting Numbers: [3]
3,12 unequal: No Solution
Exploring Operation: 17+20=37, Resulting Numbers: [37]
37,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 12:[4, 63], Operations: ['70-53=17', '80-17=63']
Exploring Operation: 63-4=59, Resulting Numbers: [59]
59,12 unequal: No Solution
Exploring Operation: 4*63=252, Resulting Numbers: [252]
252,12 unequal: No Solution
Exploring Operation: 4+63=67, Resulting Numbers: [67]
67,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 12:[17, 76], Operations: ['70-53=17', '80-4=76']
Exploring Operation: 17*76=1292, Resulting Numbers: [1292]
1292,12 unequal: No Solution
Exploring Operation: 76-17=59, Resulting Numbers: [59]
59,12 unequal: No Solution
Exploring Operation: 17+76=93, Resulting Numbers: [93]
93,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 12:[80, 13], Operations: ['70-53=17', '17-4=13']
Exploring Operation: 80-13=67, Resulting Numbers: [67]
67,12 unequal: No Solution
Exploring Operation: 80*13=1040, Resulting Numbers: [1040]
1040,12 unequal: No Solution
Exploring Operation: 80+13=93, Resulting Numbers: [93]
93,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 12:[53, 70, 20], Operations: ['80/4=20']
Exploring Operation: 53+70=123, Resulting Numbers: [20, 123]
Generated Node #0,0,0: 12:[20, 123] Operation: 53+70=123
Exploring Operation: 70-53=17, Resulting Numbers: [20, 17]
Generated Node #0,0,1: 12:[20, 17] Operation: 70-53=17
Exploring Operation: 70-20=50, Resulting Numbers: [53, 50]
Generated Node #0,0,2: 12:[53, 50] Operation: 70-20=50
Exploring Operation: 53-20=33, Resulting Numbers: [70, 33]
Generated Node #0,0,3: 12:[70, 33] Operation: 53-20=33
Moving to Node #0,0,1
Current State: 12:[20, 17], Operations: ['80/4=20', '70-53=17']
Exploring Operation: 20*17=340, Resulting Numbers: [340]
340,12 unequal: No Solution
Exploring Operation: 20+17=37, Resulting Numbers: [37]
37,12 unequal: No Solution
Exploring Operation: 20-17=3, Resulting Numbers: [3]
3,12 unequal: No Solution
Moving to Node #0,0,3
Current State: 12:[70, 33], Operations: ['80/4=20', '53-20=33']
Exploring Operation: 70+33=103, Resulting Numbers: [103]
103,12 unequal: No Solution
Exploring Operation: 70-33=37, Resulting Numbers: [37]
37,12 unequal: No Solution
Exploring Operation: 70*33=2310, Resulting Numbers: [2310]
2310,12 unequal: No Solution
Moving to Node #0,0,2
Current State: 12:[53, 50], Operations: ['80/4=20', '70-20=50']
Exploring Operation: 53*50=2650, Resulting Numbers: [2650]
2650,12 unequal: No Solution
Exploring Operation: 53-50=3, Resulting Numbers: [3]
3,12 unequal: No Solution
Exploring Operation: 53+50=103, Resulting Numbers: [103]
103,12 unequal: No Solution
Moving to Node #0,0,0
Current State: 12:[20, 123], Operations: ['80/4=20', '53+70=123']
Exploring Operation: 20+123=143, Resulting Numbers: [143]
143,12 unequal: No Solution
Exploring Operation: 123-20=103, Resulting Numbers: [103]
103,12 unequal: No Solution
Exploring Operation: 20*123=2460, Resulting Numbers: [2460]
2460,12 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 |
[
87,
50,
64,
19
] | 82 | [
"87-50=37",
"64-19=45",
"37+45=82"
] | Current State: 82:[87, 50, 64, 19], Operations: []
Exploring Operation: 87-50=37, Resulting Numbers: [64, 19, 37]
Generated Node #2: [64, 19, 37] from Operation: 87-50=37
Current State: 82:[64, 19, 37], Operations: ['87-50=37']
Exploring Operation: 64-19=45, Resulting Numbers: [37, 45]
Generated Node #3: [37, 45] from Operation: 64-19=45
Current State: 82:[37, 45], Operations: ['87-50=37', '64-19=45']
Exploring Operation: 37+45=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[87, 50, 64, 19], Operations: []
Exploring Operation: 64-50=14, Resulting Numbers: [87, 19, 14]
Generated Node #0,0: 82:[87, 19, 14] Operation: 64-50=14
Exploring Operation: 50-19=31, Resulting Numbers: [87, 64, 31]
Generated Node #0,1: 82:[87, 64, 31] Operation: 50-19=31
Exploring Operation: 64+19=83, Resulting Numbers: [87, 50, 83]
Generated Node #0,2: 82:[87, 50, 83] Operation: 64+19=83
Exploring Operation: 50+19=69, Resulting Numbers: [87, 64, 69]
Generated Node #0,3: 82:[87, 64, 69] Operation: 50+19=69
Exploring Operation: 64-19=45, Resulting Numbers: [87, 50, 45]
Generated Node #0,4: 82:[87, 50, 45] Operation: 64-19=45
Start Sub Search at level 1: Moving to Node #0,2
Current State: 82:[87, 50, 83], Operations: ['64+19=83']
Exploring Operation: 87-83=4, Resulting Numbers: [50, 4]
Generated Node #0,2,0: 82:[50, 4] Operation: 87-83=4
Exploring Operation: 87-50=37, Resulting Numbers: [83, 37]
Generated Node #0,2,1: 82:[83, 37] Operation: 87-50=37
Exploring Operation: 87+50=137, Resulting Numbers: [83, 137]
Generated Node #0,2,2: 82:[83, 137] Operation: 87+50=137
Exploring Operation: 50+83=133, Resulting Numbers: [87, 133]
Generated Node #0,2,3: 82:[87, 133] Operation: 50+83=133
Exploring Operation: 83-50=33, Resulting Numbers: [87, 33]
Generated Node #0,2,4: 82:[87, 33] Operation: 83-50=33
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 82:[83, 37], Operations: ['64+19=83', '87-50=37']
Exploring Operation: 83+37=120, Resulting Numbers: [120]
120,82 unequal: No Solution
Exploring Operation: 83-37=46, Resulting Numbers: [46]
46,82 unequal: No Solution
Exploring Operation: 83*37=3071, Resulting Numbers: [3071]
3071,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 82:[50, 4], Operations: ['64+19=83', '87-83=4']
Exploring Operation: 50+4=54, Resulting Numbers: [54]
54,82 unequal: No Solution
Exploring Operation: 50-4=46, Resulting Numbers: [46]
46,82 unequal: No Solution
Exploring Operation: 50*4=200, Resulting Numbers: [200]
200,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 82:[87, 33], Operations: ['64+19=83', '83-50=33']
Exploring Operation: 87-33=54, Resulting Numbers: [54]
54,82 unequal: No Solution
Exploring Operation: 87*33=2871, Resulting Numbers: [2871]
2871,82 unequal: No Solution
Exploring Operation: 87+33=120, Resulting Numbers: [120]
120,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 82:[83, 137], Operations: ['64+19=83', '87+50=137']
Exploring Operation: 83*137=11371, Resulting Numbers: [11371]
11371,82 unequal: No Solution
Exploring Operation: 83+137=220, Resulting Numbers: [220]
220,82 unequal: No Solution
Exploring Operation: 137-83=54, Resulting Numbers: [54]
54,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 82:[87, 133], Operations: ['64+19=83', '50+83=133']
Exploring Operation: 87*133=11571, Resulting Numbers: [11571]
11571,82 unequal: No Solution
Exploring Operation: 87+133=220, Resulting Numbers: [220]
220,82 unequal: No Solution
Exploring Operation: 133-87=46, Resulting Numbers: [46]
46,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 82:[87, 50, 45], Operations: ['64-19=45']
Exploring Operation: 87-50=37, Resulting Numbers: [45, 37]
Generated Node #0,4,0: 82:[45, 37] Operation: 87-50=37
Exploring Operation: 50+45=95, Resulting Numbers: [87, 95]
Generated Node #0,4,1: 82:[87, 95] Operation: 50+45=95
Exploring Operation: 87+50=137, Resulting Numbers: [45, 137]
Generated Node #0,4,2: 82:[45, 137] Operation: 87+50=137
Exploring Operation: 87-45=42, Resulting Numbers: [50, 42]
Generated Node #0,4,3: 82:[50, 42] Operation: 87-45=42
Exploring Operation: 50-45=5, Resulting Numbers: [87, 5]
Generated Node #0,4,4: 82:[87, 5] Operation: 50-45=5
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 82:[45, 37], Operations: ['64-19=45', '87-50=37']
Exploring Operation: 45*37=1665, Resulting Numbers: [1665]
1665,82 unequal: No Solution
Exploring Operation: 45-37=8, Resulting Numbers: [8]
8,82 unequal: No Solution
Exploring Operation: 45+37=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[87, 50, 64, 19], Operations: []
Exploring Operation: 64-19=45, Resulting Numbers: [87, 50, 45]
Generated Node #0,4: 82:[87, 50, 45] Operation: 64-19=45
Moving to Node #0,4
Current State: 82:[87, 50, 45], Operations: ['64-19=45']
Exploring Operation: 87-50=37, Resulting Numbers: [45, 37]
Generated Node #0,4,0: 82:[45, 37] Operation: 87-50=37
Moving to Node #0,4,0
Current State: 82:[45, 37], Operations: ['64-19=45', '87-50=37']
Exploring Operation: 45+37=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.967882 | hs_5 | sum_heuristic |
[
83,
67,
15,
69
] | 96 | [
"83+67=150",
"69-15=54",
"150-54=96"
] | Current State: 96:[83, 67, 15, 69], Operations: []
Exploring Operation: 83+67=150, Resulting Numbers: [15, 69, 150]
Generated Node #2: [15, 69, 150] from Operation: 83+67=150
Current State: 96:[15, 69, 150], Operations: ['83+67=150']
Exploring Operation: 69-15=54, Resulting Numbers: [150, 54]
Generated Node #3: [150, 54] from Operation: 69-15=54
Current State: 96:[150, 54], Operations: ['83+67=150', '69-15=54']
Exploring Operation: 150-54=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[83, 67, 15, 69], Operations: []
Exploring Operation: 69-67=2, Resulting Numbers: [83, 15, 2]
Generated Node #0,0: 96:[83, 15, 2] Operation: 69-67=2
Exploring Operation: 83-67=16, Resulting Numbers: [15, 69, 16]
Generated Node #0,1: 96:[15, 69, 16] Operation: 83-67=16
Exploring Operation: 83-69=14, Resulting Numbers: [67, 15, 14]
Generated Node #0,2: 96:[67, 15, 14] Operation: 83-69=14
Exploring Operation: 67-15=52, Resulting Numbers: [83, 69, 52]
Generated Node #0,3: 96:[83, 69, 52] Operation: 67-15=52
Exploring Operation: 69-15=54, Resulting Numbers: [83, 67, 54]
Generated Node #0,4: 96:[83, 67, 54] Operation: 69-15=54
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[83, 15, 2], Operations: ['69-67=2']
Exploring Operation: 83+15=98, Resulting Numbers: [2, 98]
Generated Node #0,0,0: 96:[2, 98] Operation: 83+15=98
Exploring Operation: 15-2=13, Resulting Numbers: [83, 13]
Generated Node #0,0,1: 96:[83, 13] Operation: 15-2=13
Exploring Operation: 15+2=17, Resulting Numbers: [83, 17]
Generated Node #0,0,2: 96:[83, 17] Operation: 15+2=17
Exploring Operation: 83+2=85, Resulting Numbers: [15, 85]
Generated Node #0,0,3: 96:[15, 85] Operation: 83+2=85
Exploring Operation: 15*2=30, Resulting Numbers: [83, 30]
Generated Node #0,0,4: 96:[83, 30] Operation: 15*2=30
Moving to Node #0,0,0
Current State: 96:[2, 98], Operations: ['69-67=2', '83+15=98']
Exploring Operation: 2*98=196, Resulting Numbers: [196]
196,96 unequal: No Solution
Exploring Operation: 2+98=100, Resulting Numbers: [100]
100,96 unequal: No Solution
Exploring Operation: 98-2=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[83, 67, 15, 69], Operations: []
Exploring Operation: 69-67=2, Resulting Numbers: [83, 15, 2]
Generated Node #0,0: 96:[83, 15, 2] Operation: 69-67=2
Moving to Node #0,0
Current State: 96:[83, 15, 2], Operations: ['69-67=2']
Exploring Operation: 83+15=98, Resulting Numbers: [2, 98]
Generated Node #0,0,0: 96:[2, 98] Operation: 83+15=98
Moving to Node #0,0,0
Current State: 96:[2, 98], Operations: ['69-67=2', '83+15=98']
Exploring Operation: 98-2=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
31,
41,
69,
5
] | 74 | [
"41-31=10",
"69-5=64",
"10+64=74"
] | Current State: 74:[31, 41, 69, 5], Operations: []
Exploring Operation: 41-31=10, Resulting Numbers: [69, 5, 10]
Generated Node #2: [69, 5, 10] from Operation: 41-31=10
Current State: 74:[69, 5, 10], Operations: ['41-31=10']
Exploring Operation: 69-5=64, Resulting Numbers: [10, 64]
Generated Node #3: [10, 64] from Operation: 69-5=64
Current State: 74:[10, 64], Operations: ['41-31=10', '69-5=64']
Exploring Operation: 10+64=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[31, 41, 69, 5], Operations: []
Exploring Operation: 69+5=74, Resulting Numbers: [31, 41, 74]
Generated Node #0,0: 74:[31, 41, 74] Operation: 69+5=74
Exploring Operation: 69-31=38, Resulting Numbers: [41, 5, 38]
Generated Node #0,1: 74:[41, 5, 38] Operation: 69-31=38
Exploring Operation: 31+5=36, Resulting Numbers: [41, 69, 36]
Generated Node #0,2: 74:[41, 69, 36] Operation: 31+5=36
Exploring Operation: 31+41=72, Resulting Numbers: [69, 5, 72]
Generated Node #0,3: 74:[69, 5, 72] Operation: 31+41=72
Exploring Operation: 41-5=36, Resulting Numbers: [31, 69, 36]
Generated Node #0,4: 74:[31, 69, 36] Operation: 41-5=36
Moving to Node #0,1
Current State: 74:[41, 5, 38], Operations: ['69-31=38']
Exploring Operation: 41-38=3, Resulting Numbers: [5, 3]
Generated Node #0,1,0: 74:[5, 3] Operation: 41-38=3
Exploring Operation: 41+5=46, Resulting Numbers: [38, 46]
Generated Node #0,1,1: 74:[38, 46] Operation: 41+5=46
Exploring Operation: 38-5=33, Resulting Numbers: [41, 33]
Generated Node #0,1,2: 74:[41, 33] Operation: 38-5=33
Exploring Operation: 41-5=36, Resulting Numbers: [38, 36]
Generated Node #0,1,3: 74:[38, 36] Operation: 41-5=36
Exploring Operation: 41+38=79, Resulting Numbers: [5, 79]
Generated Node #0,1,4: 74:[5, 79] Operation: 41+38=79
Moving to Node #0,2
Current State: 74:[41, 69, 36], Operations: ['31+5=36']
Exploring Operation: 41-36=5, Resulting Numbers: [69, 5]
Generated Node #0,2,0: 74:[69, 5] Operation: 41-36=5
Exploring Operation: 69-41=28, Resulting Numbers: [36, 28]
Generated Node #0,2,1: 74:[36, 28] Operation: 69-41=28
Exploring Operation: 69+36=105, Resulting Numbers: [41, 105]
Generated Node #0,2,2: 74:[41, 105] Operation: 69+36=105
Exploring Operation: 41+36=77, Resulting Numbers: [69, 77]
Generated Node #0,2,3: 74:[69, 77] Operation: 41+36=77
Exploring Operation: 69-36=33, Resulting Numbers: [41, 33]
Generated Node #0,2,4: 74:[41, 33] Operation: 69-36=33
Moving to Node #0,0
Current State: 74:[31, 41, 74], Operations: ['69+5=74']
Exploring Operation: 31+41=72, Resulting Numbers: [74, 72]
Generated Node #0,0,0: 74:[74, 72] Operation: 31+41=72
Exploring Operation: 74-41=33, Resulting Numbers: [31, 33]
Generated Node #0,0,1: 74:[31, 33] Operation: 74-41=33
Exploring Operation: 31+74=105, Resulting Numbers: [41, 105]
Generated Node #0,0,2: 74:[41, 105] Operation: 31+74=105
Exploring Operation: 41-31=10, Resulting Numbers: [74, 10]
Generated Node #0,0,3: 74:[74, 10] Operation: 41-31=10
Exploring Operation: 74-31=43, Resulting Numbers: [41, 43]
Generated Node #0,0,4: 74:[41, 43] Operation: 74-31=43
Moving to Node #0,3
Current State: 74:[69, 5, 72], Operations: ['31+41=72']
Exploring Operation: 5+72=77, Resulting Numbers: [69, 77]
Generated Node #0,3,0: 74:[69, 77] Operation: 5+72=77
Exploring Operation: 72-69=3, Resulting Numbers: [5, 3]
Generated Node #0,3,1: 74:[5, 3] Operation: 72-69=3
Exploring Operation: 69-5=64, Resulting Numbers: [72, 64]
Generated Node #0,3,2: 74:[72, 64] Operation: 69-5=64
Exploring Operation: 72-5=67, Resulting Numbers: [69, 67]
Generated Node #0,3,3: 74:[69, 67] Operation: 72-5=67
Exploring Operation: 69+5=74, Resulting Numbers: [72, 74]
Generated Node #0,3,4: 74:[72, 74] Operation: 69+5=74
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 74:[72, 74], Operations: ['31+41=72', '69+5=74']
Exploring Operation: 72+74=146, Resulting Numbers: [146]
146,74 unequal: No Solution
Exploring Operation: 74-72=2, Resulting Numbers: [2]
2,74 unequal: No Solution
Exploring Operation: 72*74=5328, Resulting Numbers: [5328]
5328,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:[5, 3], Operations: ['31+41=72', '72-69=3']
Exploring Operation: 5+3=8, Resulting Numbers: [8]
8,74 unequal: No Solution
Exploring Operation: 5*3=15, Resulting Numbers: [15]
15,74 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,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,0
Current State: 74:[69, 77], Operations: ['31+41=72', '5+72=77']
Exploring Operation: 69*77=5313, Resulting Numbers: [5313]
5313,74 unequal: No Solution
Exploring Operation: 69+77=146, Resulting Numbers: [146]
146,74 unequal: No Solution
Exploring Operation: 77-69=8, Resulting Numbers: [8]
8,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:[72, 64], Operations: ['31+41=72', '69-5=64']
Exploring Operation: 72+64=136, Resulting Numbers: [136]
136,74 unequal: No Solution
Exploring Operation: 72*64=4608, Resulting Numbers: [4608]
4608,74 unequal: No Solution
Exploring Operation: 72-64=8, Resulting Numbers: [8]
8,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:[69, 67], Operations: ['31+41=72', '72-5=67']
Exploring Operation: 69*67=4623, Resulting Numbers: [4623]
4623,74 unequal: No Solution
Exploring Operation: 69-67=2, Resulting Numbers: [2]
2,74 unequal: No Solution
Exploring Operation: 69+67=136, Resulting Numbers: [136]
136,74 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: 74:[31, 69, 36], Operations: ['41-5=36']
Exploring Operation: 36-31=5, Resulting Numbers: [69, 5]
Generated Node #0,4,0: 74:[69, 5] Operation: 36-31=5
Exploring Operation: 69-31=38, Resulting Numbers: [36, 38]
Generated Node #0,4,1: 74:[36, 38] Operation: 69-31=38
Exploring Operation: 31+69=100, Resulting Numbers: [36, 100]
Generated Node #0,4,2: 74:[36, 100] Operation: 31+69=100
Exploring Operation: 69-36=33, Resulting Numbers: [31, 33]
Generated Node #0,4,3: 74:[31, 33] Operation: 69-36=33
Exploring Operation: 31+36=67, Resulting Numbers: [69, 67]
Generated Node #0,4,4: 74:[69, 67] Operation: 31+36=67
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 74:[36, 38], Operations: ['41-5=36', '69-31=38']
Exploring Operation: 38-36=2, Resulting Numbers: [2]
2,74 unequal: No Solution
Exploring Operation: 36*38=1368, Resulting Numbers: [1368]
1368,74 unequal: No Solution
Exploring Operation: 36+38=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[31, 41, 69, 5], Operations: []
Exploring Operation: 41-5=36, Resulting Numbers: [31, 69, 36]
Generated Node #0,4: 74:[31, 69, 36] Operation: 41-5=36
Moving to Node #0,4
Current State: 74:[31, 69, 36], Operations: ['41-5=36']
Exploring Operation: 69-31=38, Resulting Numbers: [36, 38]
Generated Node #0,4,1: 74:[36, 38] Operation: 69-31=38
Moving to Node #0,4,1
Current State: 74:[36, 38], Operations: ['41-5=36', '69-31=38']
Exploring Operation: 36+38=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 1
| 0.954861 | hs_5 | mult_heuristic |
[
39,
37,
93,
56
] | 19 | [
"39-37=2",
"56*2=112",
"112-93=19"
] | Current State: 19:[39, 37, 93, 56], Operations: []
Exploring Operation: 39-37=2, Resulting Numbers: [93, 56, 2]
Generated Node #2: [93, 56, 2] from Operation: 39-37=2
Current State: 19:[93, 56, 2], Operations: ['39-37=2']
Exploring Operation: 56*2=112, Resulting Numbers: [93, 112]
Generated Node #3: [93, 112] from Operation: 56*2=112
Current State: 19:[93, 112], Operations: ['39-37=2', '56*2=112']
Exploring Operation: 112-93=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[39, 37, 93, 56], Operations: []
Exploring Operation: 93-37=56, Resulting Numbers: [39, 56, 56]
Generated Node #0,0: 19:[39, 56, 56] Operation: 93-37=56
Exploring Operation: 93-56=37, Resulting Numbers: [39, 37, 37]
Generated Node #0,1: 19:[39, 37, 37] Operation: 93-56=37
Exploring Operation: 56-37=19, Resulting Numbers: [39, 93, 19]
Generated Node #0,2: 19:[39, 93, 19] Operation: 56-37=19
Exploring Operation: 56-39=17, Resulting Numbers: [37, 93, 17]
Generated Node #0,3: 19:[37, 93, 17] Operation: 56-39=17
Exploring Operation: 93-39=54, Resulting Numbers: [37, 56, 54]
Generated Node #0,4: 19:[37, 56, 54] Operation: 93-39=54
Start Sub Search at level 1: Moving to Node #0,1
Current State: 19:[39, 37, 37], Operations: ['93-56=37']
Exploring Operation: 37-37=0, Resulting Numbers: [39, 0]
Generated Node #0,1,0: 19:[39, 0] Operation: 37-37=0
Exploring Operation: 39-37=2, Resulting Numbers: [37, 2]
Generated Node #0,1,1: 19:[37, 2] Operation: 39-37=2
Exploring Operation: 39+37=76, Resulting Numbers: [37, 76]
Generated Node #0,1,2: 19:[37, 76] Operation: 39+37=76
Exploring Operation: 37/37=1, Resulting Numbers: [39, 1]
Generated Node #0,1,3: 19:[39, 1] Operation: 37/37=1
Exploring Operation: 39-37=2, Resulting Numbers: [37, 2]
Generated Node #0,1,4: 19:[37, 2] Operation: 39-37=2
Moving to Node #0,1,1
Current State: 19:[37, 2], Operations: ['93-56=37', '39-37=2']
Exploring Operation: 37*2=74, Resulting Numbers: [74]
74,19 unequal: No Solution
Exploring Operation: 37+2=39, Resulting Numbers: [39]
39,19 unequal: No Solution
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,19 unequal: No Solution
Moving to Node #0,1,4
Current State: 19:[37, 2], Operations: ['93-56=37', '39-37=2']
Exploring Operation: 37+2=39, Resulting Numbers: [39]
39,19 unequal: No Solution
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,19 unequal: No Solution
Exploring Operation: 37*2=74, Resulting Numbers: [74]
74,19 unequal: No Solution
Moving to Node #0,1,3
Current State: 19:[39, 1], Operations: ['93-56=37', '37/37=1']
Exploring Operation: 39*1=39, Resulting Numbers: [39]
39,19 unequal: No Solution
Exploring Operation: 39+1=40, Resulting Numbers: [40]
40,19 unequal: No Solution
Exploring Operation: 39/1=39, Resulting Numbers: [39]
39,19 unequal: No Solution
Exploring Operation: 39-1=38, Resulting Numbers: [38]
38,19 unequal: No Solution
Moving to Node #0,1,0
Current State: 19:[39, 0], Operations: ['93-56=37', '37-37=0']
Exploring Operation: 39-0=39, Resulting Numbers: [39]
39,19 unequal: No Solution
Exploring Operation: 39+0=39, Resulting Numbers: [39]
39,19 unequal: No Solution
Exploring Operation: 39*0=0, Resulting Numbers: [0]
0,19 unequal: No Solution
Moving to Node #0,1,2
Current State: 19:[37, 76], Operations: ['93-56=37', '39+37=76']
Exploring Operation: 76-37=39, Resulting Numbers: [39]
39,19 unequal: No Solution
Exploring Operation: 37+76=113, Resulting Numbers: [113]
113,19 unequal: No Solution
Exploring Operation: 37*76=2812, Resulting Numbers: [2812]
2812,19 unequal: No Solution
No 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: 19:[37, 56, 54], Operations: ['93-39=54']
Exploring Operation: 54-37=17, Resulting Numbers: [56, 17]
Generated Node #0,4,0: 19:[56, 17] Operation: 54-37=17
Exploring Operation: 37+56=93, Resulting Numbers: [54, 93]
Generated Node #0,4,1: 19:[54, 93] Operation: 37+56=93
Exploring Operation: 56-54=2, Resulting Numbers: [37, 2]
Generated Node #0,4,2: 19:[37, 2] Operation: 56-54=2
Exploring Operation: 37+54=91, Resulting Numbers: [56, 91]
Generated Node #0,4,3: 19:[56, 91] Operation: 37+54=91
Exploring Operation: 56-37=19, Resulting Numbers: [54, 19]
Generated Node #0,4,4: 19:[54, 19] Operation: 56-37=19
Moving to Node #0,4,2
Current State: 19:[37, 2], Operations: ['93-39=54', '56-54=2']
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,19 unequal: No Solution
Exploring Operation: 37*2=74, Resulting Numbers: [74]
74,19 unequal: No Solution
Exploring Operation: 37+2=39, Resulting Numbers: [39]
39,19 unequal: No Solution
Moving to Node #0,4,4
Current State: 19:[54, 19], Operations: ['93-39=54', '56-37=19']
Exploring Operation: 54*19=1026, Resulting Numbers: [1026]
1026,19 unequal: No Solution
Exploring Operation: 54-19=35, Resulting Numbers: [35]
35,19 unequal: No Solution
Exploring Operation: 54+19=73, Resulting Numbers: [73]
73,19 unequal: No Solution
Moving to Node #0,4,0
Current State: 19:[56, 17], Operations: ['93-39=54', '54-37=17']
Exploring Operation: 56-17=39, Resulting Numbers: [39]
39,19 unequal: No Solution
Exploring Operation: 56+17=73, Resulting Numbers: [73]
73,19 unequal: No Solution
Exploring Operation: 56*17=952, Resulting Numbers: [952]
952,19 unequal: No Solution
Moving to Node #0,4,1
Current State: 19:[54, 93], Operations: ['93-39=54', '37+56=93']
Exploring Operation: 54+93=147, Resulting Numbers: [147]
147,19 unequal: No Solution
Exploring Operation: 54*93=5022, Resulting Numbers: [5022]
5022,19 unequal: No Solution
Exploring Operation: 93-54=39, Resulting Numbers: [39]
39,19 unequal: No Solution
Moving to Node #0,4,3
Current State: 19:[56, 91], Operations: ['93-39=54', '37+54=91']
Exploring Operation: 56+91=147, Resulting Numbers: [147]
147,19 unequal: No Solution
Exploring Operation: 91-56=35, Resulting Numbers: [35]
35,19 unequal: No Solution
Exploring Operation: 56*91=5096, Resulting Numbers: [5096]
5096,19 unequal: No Solution
No 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: 19:[39, 56, 56], Operations: ['93-37=56']
Exploring Operation: 39+56=95, Resulting Numbers: [56, 95]
Generated Node #0,0,0: 19:[56, 95] Operation: 39+56=95
Exploring Operation: 56/56=1, Resulting Numbers: [39, 1]
Generated Node #0,0,1: 19:[39, 1] Operation: 56/56=1
Exploring Operation: 56-56=0, Resulting Numbers: [39, 0]
Generated Node #0,0,2: 19:[39, 0] Operation: 56-56=0
Exploring Operation: 56-39=17, Resulting Numbers: [56, 17]
Generated Node #0,0,3: 19:[56, 17] Operation: 56-39=17
Exploring Operation: 56-39=17, Resulting Numbers: [56, 17]
Generated Node #0,0,4: 19:[56, 17] Operation: 56-39=17
Moving to Node #0,0,1
Current State: 19:[39, 1], Operations: ['93-37=56', '56/56=1']
Exploring Operation: 39*1=39, Resulting Numbers: [39]
39,19 unequal: No Solution
Exploring Operation: 39/1=39, Resulting Numbers: [39]
39,19 unequal: No Solution
Exploring Operation: 39+1=40, Resulting Numbers: [40]
40,19 unequal: No Solution
Exploring Operation: 39-1=38, Resulting Numbers: [38]
38,19 unequal: No Solution
Moving to Node #0,0,3
Current State: 19:[56, 17], Operations: ['93-37=56', '56-39=17']
Exploring Operation: 56+17=73, Resulting Numbers: [73]
73,19 unequal: No Solution
Exploring Operation: 56-17=39, Resulting Numbers: [39]
39,19 unequal: No Solution
Exploring Operation: 56*17=952, Resulting Numbers: [952]
952,19 unequal: No Solution
Moving to Node #0,0,2
Current State: 19:[39, 0], Operations: ['93-37=56', '56-56=0']
Exploring Operation: 39+0=39, Resulting Numbers: [39]
39,19 unequal: No Solution
Exploring Operation: 39-0=39, Resulting Numbers: [39]
39,19 unequal: No Solution
Exploring Operation: 39*0=0, Resulting Numbers: [0]
0,19 unequal: No Solution
Moving to Node #0,0,4
Current State: 19:[56, 17], Operations: ['93-37=56', '56-39=17']
Exploring Operation: 56+17=73, Resulting Numbers: [73]
73,19 unequal: No Solution
Exploring Operation: 56-17=39, Resulting Numbers: [39]
39,19 unequal: No Solution
Exploring Operation: 56*17=952, Resulting Numbers: [952]
952,19 unequal: No Solution
Moving to Node #0,0,0
Current State: 19:[56, 95], Operations: ['93-37=56', '39+56=95']
Exploring Operation: 56+95=151, Resulting Numbers: [151]
151,19 unequal: No Solution
Exploring Operation: 95-56=39, Resulting Numbers: [39]
39,19 unequal: No Solution
Exploring Operation: 56*95=5320, Resulting Numbers: [5320]
5320,19 unequal: No Solution
No 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: 19:[39, 93, 19], Operations: ['56-37=19']
Exploring Operation: 39+93=132, Resulting Numbers: [19, 132]
Generated Node #0,2,0: 19:[19, 132] Operation: 39+93=132
Exploring Operation: 39+19=58, Resulting Numbers: [93, 58]
Generated Node #0,2,1: 19:[93, 58] Operation: 39+19=58
Exploring Operation: 93-39=54, Resulting Numbers: [19, 54]
Generated Node #0,2,2: 19:[19, 54] Operation: 93-39=54
Exploring Operation: 93-19=74, Resulting Numbers: [39, 74]
Generated Node #0,2,3: 19:[39, 74] Operation: 93-19=74
Exploring Operation: 39-19=20, Resulting Numbers: [93, 20]
Generated Node #0,2,4: 19:[93, 20] Operation: 39-19=20
Moving to Node #0,2,2
Current State: 19:[19, 54], Operations: ['56-37=19', '93-39=54']
Exploring Operation: 54-19=35, Resulting Numbers: [35]
35,19 unequal: No Solution
Exploring Operation: 19+54=73, Resulting Numbers: [73]
73,19 unequal: No Solution
Exploring Operation: 19*54=1026, Resulting Numbers: [1026]
1026,19 unequal: No Solution
Moving to Node #0,2,4
Current State: 19:[93, 20], Operations: ['56-37=19', '39-19=20']
Exploring Operation: 93-20=73, Resulting Numbers: [73]
73,19 unequal: No Solution
Exploring Operation: 93*20=1860, Resulting Numbers: [1860]
1860,19 unequal: No Solution
Exploring Operation: 93+20=113, Resulting Numbers: [113]
113,19 unequal: No Solution
Moving to Node #0,2,3
Current State: 19:[39, 74], Operations: ['56-37=19', '93-19=74']
Exploring Operation: 39*74=2886, Resulting Numbers: [2886]
2886,19 unequal: No Solution
Exploring Operation: 39+74=113, Resulting Numbers: [113]
113,19 unequal: No Solution
Exploring Operation: 74-39=35, Resulting Numbers: [35]
35,19 unequal: No Solution
Moving to Node #0,2,0
Current State: 19:[19, 132], Operations: ['56-37=19', '39+93=132']
Exploring Operation: 132-19=113, Resulting Numbers: [113]
113,19 unequal: No Solution
Exploring Operation: 19*132=2508, Resulting Numbers: [2508]
2508,19 unequal: No Solution
Exploring Operation: 19+132=151, Resulting Numbers: [151]
151,19 unequal: No Solution
Moving to Node #0,2,1
Current State: 19:[93, 58], Operations: ['56-37=19', '39+19=58']
Exploring Operation: 93*58=5394, Resulting Numbers: [5394]
5394,19 unequal: No Solution
Exploring Operation: 93+58=151, Resulting Numbers: [151]
151,19 unequal: No Solution
Exploring Operation: 93-58=35, Resulting Numbers: [35]
35,19 unequal: No Solution
No 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: 19:[37, 93, 17], Operations: ['56-39=17']
Exploring Operation: 93-37=56, Resulting Numbers: [17, 56]
Generated Node #0,3,0: 19:[17, 56] Operation: 93-37=56
Exploring Operation: 93-17=76, Resulting Numbers: [37, 76]
Generated Node #0,3,1: 19:[37, 76] Operation: 93-17=76
Exploring Operation: 37-17=20, Resulting Numbers: [93, 20]
Generated Node #0,3,2: 19:[93, 20] Operation: 37-17=20
Exploring Operation: 37+17=54, Resulting Numbers: [93, 54]
Generated Node #0,3,3: 19:[93, 54] Operation: 37+17=54
Exploring Operation: 93+17=110, Resulting Numbers: [37, 110]
Generated Node #0,3,4: 19:[37, 110] Operation: 93+17=110
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 19:[17, 56], Operations: ['56-39=17', '93-37=56']
Exploring Operation: 56-17=39, Resulting Numbers: [39]
39,19 unequal: No Solution
Exploring Operation: 17*56=952, Resulting Numbers: [952]
952,19 unequal: No Solution
Exploring Operation: 17+56=73, Resulting Numbers: [73]
73,19 unequal: No Solution
No 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: 19:[37, 76], Operations: ['56-39=17', '93-17=76']
Exploring Operation: 76-37=39, Resulting Numbers: [39]
39,19 unequal: No Solution
Exploring Operation: 37+76=113, Resulting Numbers: [113]
113,19 unequal: No Solution
Exploring Operation: 37*76=2812, Resulting Numbers: [2812]
2812,19 unequal: No Solution
No 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: 19:[93, 20], Operations: ['56-39=17', '37-17=20']
Exploring Operation: 93+20=113, Resulting Numbers: [113]
113,19 unequal: No Solution
Exploring Operation: 93-20=73, Resulting Numbers: [73]
73,19 unequal: No Solution
Exploring Operation: 93*20=1860, Resulting Numbers: [1860]
1860,19 unequal: No Solution
No 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: 19:[93, 54], Operations: ['56-39=17', '37+17=54']
Exploring Operation: 93*54=5022, Resulting Numbers: [5022]
5022,19 unequal: No Solution
Exploring Operation: 93-54=39, Resulting Numbers: [39]
39,19 unequal: No Solution
Exploring Operation: 93+54=147, Resulting Numbers: [147]
147,19 unequal: No Solution
No 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: 19:[37, 110], Operations: ['56-39=17', '93+17=110']
Exploring Operation: 37+110=147, Resulting Numbers: [147]
147,19 unequal: No Solution
Exploring Operation: 37*110=4070, Resulting Numbers: [4070]
4070,19 unequal: No Solution
Exploring Operation: 110-37=73, Resulting Numbers: [73]
73,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
60,
36,
61,
67
] | 31 | [
"61-60=1",
"67-36=31",
"1*31=31"
] | Current State: 31:[60, 36, 61, 67], Operations: []
Exploring Operation: 61-60=1, Resulting Numbers: [36, 67, 1]
Generated Node #2: [36, 67, 1] from Operation: 61-60=1
Current State: 31:[36, 67, 1], Operations: ['61-60=1']
Exploring Operation: 67-36=31, Resulting Numbers: [1, 31]
Generated Node #3: [1, 31] from Operation: 67-36=31
Current State: 31:[1, 31], Operations: ['61-60=1', '67-36=31']
Exploring Operation: 1*31=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[60, 36, 61, 67], Operations: []
Exploring Operation: 67-60=7, Resulting Numbers: [36, 61, 7]
Generated Node #0,0: 31:[36, 61, 7] Operation: 67-60=7
Exploring Operation: 67-36=31, Resulting Numbers: [60, 61, 31]
Generated Node #0,1: 31:[60, 61, 31] Operation: 67-36=31
Exploring Operation: 67-61=6, Resulting Numbers: [60, 36, 6]
Generated Node #0,2: 31:[60, 36, 6] Operation: 67-61=6
Exploring Operation: 61-36=25, Resulting Numbers: [60, 67, 25]
Generated Node #0,3: 31:[60, 67, 25] Operation: 61-36=25
Exploring Operation: 61-60=1, Resulting Numbers: [36, 67, 1]
Generated Node #0,4: 31:[36, 67, 1] Operation: 61-60=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[36, 61, 7], Operations: ['67-60=7']
Exploring Operation: 36+7=43, Resulting Numbers: [61, 43]
Generated Node #0,0,0: 31:[61, 43] Operation: 36+7=43
Exploring Operation: 36-7=29, Resulting Numbers: [61, 29]
Generated Node #0,0,1: 31:[61, 29] Operation: 36-7=29
Exploring Operation: 61-7=54, Resulting Numbers: [36, 54]
Generated Node #0,0,2: 31:[36, 54] Operation: 61-7=54
Exploring Operation: 61-36=25, Resulting Numbers: [7, 25]
Generated Node #0,0,3: 31:[7, 25] Operation: 61-36=25
Exploring Operation: 61+7=68, Resulting Numbers: [36, 68]
Generated Node #0,0,4: 31:[36, 68] Operation: 61+7=68
Moving to Node #0,0,2
Current State: 31:[36, 54], Operations: ['67-60=7', '61-7=54']
Exploring Operation: 36*54=1944, Resulting Numbers: [1944]
1944,31 unequal: No Solution
Exploring Operation: 54-36=18, Resulting Numbers: [18]
18,31 unequal: No Solution
Exploring Operation: 36+54=90, Resulting Numbers: [90]
90,31 unequal: No Solution
Moving to Node #0,0,3
Current State: 31:[7, 25], Operations: ['67-60=7', '61-36=25']
Exploring Operation: 25-7=18, Resulting Numbers: [18]
18,31 unequal: No Solution
Exploring Operation: 7*25=175, Resulting Numbers: [175]
175,31 unequal: No Solution
Exploring Operation: 7+25=32, Resulting Numbers: [32]
32,31 unequal: No Solution
Moving to Node #0,0,1
Current State: 31:[61, 29], Operations: ['67-60=7', '36-7=29']
Exploring Operation: 61*29=1769, Resulting Numbers: [1769]
1769,31 unequal: No Solution
Exploring Operation: 61-29=32, Resulting Numbers: [32]
32,31 unequal: No Solution
Exploring Operation: 61+29=90, Resulting Numbers: [90]
90,31 unequal: No Solution
Moving to Node #0,0,0
Current State: 31:[61, 43], Operations: ['67-60=7', '36+7=43']
Exploring Operation: 61+43=104, Resulting Numbers: [104]
104,31 unequal: No Solution
Exploring Operation: 61-43=18, Resulting Numbers: [18]
18,31 unequal: No Solution
Exploring Operation: 61*43=2623, Resulting Numbers: [2623]
2623,31 unequal: No Solution
Moving to Node #0,0,4
Current State: 31:[36, 68], Operations: ['67-60=7', '61+7=68']
Exploring Operation: 36+68=104, Resulting Numbers: [104]
104,31 unequal: No Solution
Exploring Operation: 68-36=32, Resulting Numbers: [32]
32,31 unequal: No Solution
Exploring Operation: 36*68=2448, Resulting Numbers: [2448]
2448,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 31:[60, 61, 31], Operations: ['67-36=31']
Exploring Operation: 60+61=121, Resulting Numbers: [31, 121]
Generated Node #0,1,0: 31:[31, 121] Operation: 60+61=121
Exploring Operation: 61-60=1, Resulting Numbers: [31, 1]
Generated Node #0,1,1: 31:[31, 1] Operation: 61-60=1
Exploring Operation: 60+31=91, Resulting Numbers: [61, 91]
Generated Node #0,1,2: 31:[61, 91] Operation: 60+31=91
Exploring Operation: 61-31=30, Resulting Numbers: [60, 30]
Generated Node #0,1,3: 31:[60, 30] Operation: 61-31=30
Exploring Operation: 60-31=29, Resulting Numbers: [61, 29]
Generated Node #0,1,4: 31:[61, 29] Operation: 60-31=29
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 31:[31, 1], Operations: ['67-36=31', '61-60=1']
Exploring Operation: 31*1=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[60, 36, 61, 67], Operations: []
Exploring Operation: 67-36=31, Resulting Numbers: [60, 61, 31]
Generated Node #0,1: 31:[60, 61, 31] Operation: 67-36=31
Moving to Node #0,1
Current State: 31:[60, 61, 31], Operations: ['67-36=31']
Exploring Operation: 61-60=1, Resulting Numbers: [31, 1]
Generated Node #0,1,1: 31:[31, 1] Operation: 61-60=1
Moving to Node #0,1,1
Current State: 31:[31, 1], Operations: ['67-36=31', '61-60=1']
Exploring Operation: 31*1=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.969618 | hs_5 | sum_heuristic |
[
83,
15,
96,
53
] | 25 | [
"83-15=68",
"96-53=43",
"68-43=25"
] | Current State: 25:[83, 15, 96, 53], Operations: []
Exploring Operation: 83-15=68, Resulting Numbers: [96, 53, 68]
Generated Node #2: [96, 53, 68] from Operation: 83-15=68
Current State: 25:[96, 53, 68], Operations: ['83-15=68']
Exploring Operation: 96-53=43, Resulting Numbers: [68, 43]
Generated Node #3: [68, 43] from Operation: 96-53=43
Current State: 25:[68, 43], Operations: ['83-15=68', '96-53=43']
Exploring Operation: 68-43=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[83, 15, 96, 53], Operations: []
Exploring Operation: 96-83=13, Resulting Numbers: [15, 53, 13]
Generated Node #0,0: 25:[15, 53, 13] Operation: 96-83=13
Exploring Operation: 83-53=30, Resulting Numbers: [15, 96, 30]
Generated Node #0,1: 25:[15, 96, 30] Operation: 83-53=30
Exploring Operation: 96-53=43, Resulting Numbers: [83, 15, 43]
Generated Node #0,2: 25:[83, 15, 43] Operation: 96-53=43
Moving to Node #0,0
Current State: 25:[15, 53, 13], Operations: ['96-83=13']
Exploring Operation: 15+13=28, Resulting Numbers: [53, 28]
Generated Node #0,0,0: 25:[53, 28] Operation: 15+13=28
Exploring Operation: 53-13=40, Resulting Numbers: [15, 40]
Generated Node #0,0,1: 25:[15, 40] Operation: 53-13=40
Exploring Operation: 53-15=38, Resulting Numbers: [13, 38]
Generated Node #0,0,2: 25:[13, 38] Operation: 53-15=38
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 25:[13, 38], Operations: ['96-83=13', '53-15=38']
Exploring Operation: 13*38=494, Resulting Numbers: [494]
494,25 unequal: No Solution
Exploring Operation: 38-13=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[83, 15, 96, 53], Operations: []
Exploring Operation: 96-83=13, Resulting Numbers: [15, 53, 13]
Generated Node #0,0: 25:[15, 53, 13] Operation: 96-83=13
Moving to Node #0,0
Current State: 25:[15, 53, 13], Operations: ['96-83=13']
Exploring Operation: 53-15=38, Resulting Numbers: [13, 38]
Generated Node #0,0,2: 25:[13, 38] Operation: 53-15=38
Moving to Node #0,0,2
Current State: 25:[13, 38], Operations: ['96-83=13', '53-15=38']
Exploring Operation: 38-13=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
3,
35,
52,
58
] | 78 | [
"35-3=32",
"52+58=110",
"110-32=78"
] | Current State: 78:[3, 35, 52, 58], Operations: []
Exploring Operation: 35-3=32, Resulting Numbers: [52, 58, 32]
Generated Node #2: [52, 58, 32] from Operation: 35-3=32
Current State: 78:[52, 58, 32], Operations: ['35-3=32']
Exploring Operation: 52+58=110, Resulting Numbers: [32, 110]
Generated Node #3: [32, 110] from Operation: 52+58=110
Current State: 78:[32, 110], Operations: ['35-3=32', '52+58=110']
Exploring Operation: 110-32=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[3, 35, 52, 58], Operations: []
Exploring Operation: 58-52=6, Resulting Numbers: [3, 35, 6]
Generated Node #0,0: 78:[3, 35, 6] Operation: 58-52=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[3, 35, 6], Operations: ['58-52=6']
Exploring Operation: 3+35=38, Resulting Numbers: [6, 38]
Generated Node #0,0,0: 78:[6, 38] Operation: 3+35=38
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 78:[6, 38], Operations: ['58-52=6', '3+35=38']
Exploring Operation: 6+38=44, Resulting Numbers: [44]
44,78 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 |
[
22,
2,
25,
28
] | 44 | [
"28-22=6",
"2*25=50",
"50-6=44"
] | Current State: 44:[22, 2, 25, 28], Operations: []
Exploring Operation: 28-22=6, Resulting Numbers: [2, 25, 6]
Generated Node #2: [2, 25, 6] from Operation: 28-22=6
Current State: 44:[2, 25, 6], Operations: ['28-22=6']
Exploring Operation: 2*25=50, Resulting Numbers: [6, 50]
Generated Node #3: [6, 50] from Operation: 2*25=50
Current State: 44:[6, 50], Operations: ['28-22=6', '2*25=50']
Exploring Operation: 50-6=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[22, 2, 25, 28], Operations: []
Exploring Operation: 28-25=3, Resulting Numbers: [22, 2, 3]
Generated Node #0,0: 44:[22, 2, 3] Operation: 28-25=3
Exploring Operation: 28-22=6, Resulting Numbers: [2, 25, 6]
Generated Node #0,1: 44:[2, 25, 6] Operation: 28-22=6
Exploring Operation: 28/2=14, Resulting Numbers: [22, 25, 14]
Generated Node #0,2: 44:[22, 25, 14] Operation: 28/2=14
Moving to Node #0,0
Current State: 44:[22, 2, 3], Operations: ['28-25=3']
Exploring Operation: 2+3=5, Resulting Numbers: [22, 5]
Generated Node #0,0,0: 44:[22, 5] Operation: 2+3=5
Exploring Operation: 22*2=44, Resulting Numbers: [3, 44]
Generated Node #0,0,1: 44:[3, 44] Operation: 22*2=44
Exploring Operation: 22/2=11, Resulting Numbers: [3, 11]
Generated Node #0,0,2: 44:[3, 11] Operation: 22/2=11
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 44:[22, 5], Operations: ['28-25=3', '2+3=5']
Exploring Operation: 22-5=17, Resulting Numbers: [17]
17,44 unequal: No Solution
Exploring Operation: 22+5=27, Resulting Numbers: [27]
27,44 unequal: No Solution
Exploring Operation: 22*5=110, Resulting Numbers: [110]
110,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 44:[3, 44], Operations: ['28-25=3', '22*2=44']
Exploring Operation: 44-3=41, Resulting Numbers: [41]
41,44 unequal: No Solution
Exploring Operation: 3+44=47, Resulting Numbers: [47]
47,44 unequal: No Solution
Exploring Operation: 3*44=132, Resulting Numbers: [132]
132,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 44:[3, 11], Operations: ['28-25=3', '22/2=11']
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,44 unequal: No Solution
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,44 unequal: No Solution
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 44:[2, 25, 6], Operations: ['28-22=6']
Exploring Operation: 25-6=19, Resulting Numbers: [2, 19]
Generated Node #0,1,0: 44:[2, 19] Operation: 25-6=19
Exploring Operation: 6-2=4, Resulting Numbers: [25, 4]
Generated Node #0,1,1: 44:[25, 4] Operation: 6-2=4
Exploring Operation: 25-2=23, Resulting Numbers: [6, 23]
Generated Node #0,1,2: 44:[6, 23] Operation: 25-2=23
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 44:[2, 19], Operations: ['28-22=6', '25-6=19']
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,44 unequal: No Solution
Exploring Operation: 2+19=21, Resulting Numbers: [21]
21,44 unequal: No Solution
Exploring Operation: 2*19=38, Resulting Numbers: [38]
38,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 44:[25, 4], Operations: ['28-22=6', '6-2=4']
Exploring Operation: 25+4=29, Resulting Numbers: [29]
29,44 unequal: No Solution
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,44 unequal: No Solution
Exploring Operation: 25*4=100, Resulting Numbers: [100]
100,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 44:[6, 23], Operations: ['28-22=6', '25-2=23']
Exploring Operation: 6*23=138, Resulting Numbers: [138]
138,44 unequal: No Solution
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,44 unequal: No Solution
Exploring Operation: 6+23=29, Resulting Numbers: [29]
29,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 44:[22, 25, 14], Operations: ['28/2=14']
Exploring Operation: 25+14=39, Resulting Numbers: [22, 39]
Generated Node #0,2,0: 44:[22, 39] Operation: 25+14=39
Exploring Operation: 25-14=11, Resulting Numbers: [22, 11]
Generated Node #0,2,1: 44:[22, 11] Operation: 25-14=11
Exploring Operation: 25-22=3, Resulting Numbers: [14, 3]
Generated Node #0,2,2: 44:[14, 3] Operation: 25-22=3
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 44:[22, 11], Operations: ['28/2=14', '25-14=11']
Exploring Operation: 22-11=11, Resulting Numbers: [11]
11,44 unequal: No Solution
Exploring Operation: 22/11=2, Resulting Numbers: [2]
2,44 unequal: No Solution
Exploring Operation: 22+11=33, Resulting Numbers: [33]
33,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 44:[14, 3], Operations: ['28/2=14', '25-22=3']
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,44 unequal: No Solution
Exploring Operation: 14+3=17, Resulting Numbers: [17]
17,44 unequal: No Solution
Exploring Operation: 14*3=42, Resulting Numbers: [42]
42,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 44:[22, 39], Operations: ['28/2=14', '25+14=39']
Exploring Operation: 22*39=858, Resulting Numbers: [858]
858,44 unequal: No Solution
Exploring Operation: 22+39=61, Resulting Numbers: [61]
61,44 unequal: No Solution
Exploring Operation: 39-22=17, Resulting Numbers: [17]
17,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
12,
72,
15,
12
] | 20 | [
"72-12=60",
"15-12=3",
"60/3=20"
] | Current State: 20:[12, 72, 15, 12], Operations: []
Exploring Operation: 72-12=60, Resulting Numbers: [15, 60]
Generated Node #2: [15, 60] from Operation: 72-12=60
Current State: 20:[15, 60], Operations: ['72-12=60']
Exploring Operation: 15-12=3, Resulting Numbers: [60, 3]
Generated Node #3: [60, 3] from Operation: 15-12=3
Current State: 20:[60, 3], Operations: ['72-12=60', '15-12=3']
Exploring Operation: 60/3=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[12, 72, 15, 12], Operations: []
Exploring Operation: 72/12=6, Resulting Numbers: [15, 12, 6]
Generated Node #0,0: 20:[15, 12, 6] Operation: 72/12=6
Exploring Operation: 72/12=6, Resulting Numbers: [12, 15, 6]
Generated Node #0,1: 20:[12, 15, 6] Operation: 72/12=6
Exploring Operation: 72-15=57, Resulting Numbers: [12, 12, 57]
Generated Node #0,2: 20:[12, 12, 57] Operation: 72-15=57
Moving to Node #0,0
Current State: 20:[15, 12, 6], Operations: ['72/12=6']
Exploring Operation: 15-6=9, Resulting Numbers: [12, 9]
Generated Node #0,0,0: 20:[12, 9] Operation: 15-6=9
Exploring Operation: 15-12=3, Resulting Numbers: [6, 3]
Generated Node #0,0,1: 20:[6, 3] Operation: 15-12=3
Exploring Operation: 15+6=21, Resulting Numbers: [12, 21]
Generated Node #0,0,2: 20:[12, 21] Operation: 15+6=21
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 20:[6, 3], Operations: ['72/12=6', '15-12=3']
Exploring Operation: 6+3=9, Resulting Numbers: [9]
9,20 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,20 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 20:[12, 9], Operations: ['72/12=6', '15-6=9']
Exploring Operation: 12*9=108, Resulting Numbers: [108]
108,20 unequal: No Solution
Exploring Operation: 12+9=21, Resulting Numbers: [21]
21,20 unequal: No Solution
Exploring Operation: 12-9=3, Resulting Numbers: [3]
3,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 20:[12, 21], Operations: ['72/12=6', '15+6=21']
Exploring Operation: 21-12=9, Resulting Numbers: [9]
9,20 unequal: No Solution
Exploring Operation: 12+21=33, Resulting Numbers: [33]
33,20 unequal: No Solution
Exploring Operation: 12*21=252, Resulting Numbers: [252]
252,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 20:[12, 15, 6], Operations: ['72/12=6']
Exploring Operation: 15+6=21, Resulting Numbers: [12, 21]
Generated Node #0,1,0: 20:[12, 21] Operation: 15+6=21
Exploring Operation: 15-12=3, Resulting Numbers: [6, 3]
Generated Node #0,1,1: 20:[6, 3] Operation: 15-12=3
Exploring Operation: 15-6=9, Resulting Numbers: [12, 9]
Generated Node #0,1,2: 20:[12, 9] Operation: 15-6=9
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 20:[6, 3], Operations: ['72/12=6', '15-12=3']
Exploring Operation: 6+3=9, Resulting Numbers: [9]
9,20 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,20 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 20:[12, 21], Operations: ['72/12=6', '15+6=21']
Exploring Operation: 12+21=33, Resulting Numbers: [33]
33,20 unequal: No Solution
Exploring Operation: 21-12=9, Resulting Numbers: [9]
9,20 unequal: No Solution
Exploring Operation: 12*21=252, Resulting Numbers: [252]
252,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 20:[12, 9], Operations: ['72/12=6', '15-6=9']
Exploring Operation: 12*9=108, Resulting Numbers: [108]
108,20 unequal: No Solution
Exploring Operation: 12-9=3, Resulting Numbers: [3]
3,20 unequal: No Solution
Exploring Operation: 12+9=21, Resulting Numbers: [21]
21,20 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: 20:[12, 12, 57], Operations: ['72-15=57']
Exploring Operation: 57-12=45, Resulting Numbers: [12, 45]
Generated Node #0,2,0: 20:[12, 45] Operation: 57-12=45
Exploring Operation: 12/12=1, Resulting Numbers: [57, 1]
Generated Node #0,2,1: 20:[57, 1] Operation: 12/12=1
Exploring Operation: 57-12=45, Resulting Numbers: [12, 45]
Generated Node #0,2,2: 20:[12, 45] Operation: 57-12=45
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 20:[12, 45], Operations: ['72-15=57', '57-12=45']
Exploring Operation: 12*45=540, Resulting Numbers: [540]
540,20 unequal: No Solution
Exploring Operation: 45-12=33, Resulting Numbers: [33]
33,20 unequal: No Solution
Exploring Operation: 12+45=57, Resulting Numbers: [57]
57,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 20:[12, 45], Operations: ['72-15=57', '57-12=45']
Exploring Operation: 12*45=540, Resulting Numbers: [540]
540,20 unequal: No Solution
Exploring Operation: 45-12=33, Resulting Numbers: [33]
33,20 unequal: No Solution
Exploring Operation: 12+45=57, Resulting Numbers: [57]
57,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 20:[57, 1], Operations: ['72-15=57', '12/12=1']
Exploring Operation: 57-1=56, Resulting Numbers: [56]
56,20 unequal: No Solution
Exploring Operation: 57*1=57, Resulting Numbers: [57]
57,20 unequal: No Solution
Exploring Operation: 57/1=57, Resulting Numbers: [57]
57,20 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 |
[
50,
74,
56,
47
] | 54 | [
"50-47=3",
"74-56=18",
"3*18=54"
] | Current State: 54:[50, 74, 56, 47], Operations: []
Exploring Operation: 50-47=3, Resulting Numbers: [74, 56, 3]
Generated Node #2: [74, 56, 3] from Operation: 50-47=3
Current State: 54:[74, 56, 3], Operations: ['50-47=3']
Exploring Operation: 74-56=18, Resulting Numbers: [3, 18]
Generated Node #3: [3, 18] from Operation: 74-56=18
Current State: 54:[3, 18], Operations: ['50-47=3', '74-56=18']
Exploring Operation: 3*18=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[50, 74, 56, 47], Operations: []
Exploring Operation: 74-47=27, Resulting Numbers: [50, 56, 27]
Generated Node #0,0: 54:[50, 56, 27] Operation: 74-47=27
Exploring Operation: 74-56=18, Resulting Numbers: [50, 47, 18]
Generated Node #0,1: 54:[50, 47, 18] Operation: 74-56=18
Exploring Operation: 74-50=24, Resulting Numbers: [56, 47, 24]
Generated Node #0,2: 54:[56, 47, 24] Operation: 74-50=24
Moving to Node #0,0
Current State: 54:[50, 56, 27], Operations: ['74-47=27']
Exploring Operation: 50-27=23, Resulting Numbers: [56, 23]
Generated Node #0,0,0: 54:[56, 23] Operation: 50-27=23
Exploring Operation: 56-50=6, Resulting Numbers: [27, 6]
Generated Node #0,0,1: 54:[27, 6] Operation: 56-50=6
Exploring Operation: 56-27=29, Resulting Numbers: [50, 29]
Generated Node #0,0,2: 54:[50, 29] Operation: 56-27=29
Moving to Node #0,1
Current State: 54:[50, 47, 18], Operations: ['74-56=18']
Exploring Operation: 50-18=32, Resulting Numbers: [47, 32]
Generated Node #0,1,0: 54:[47, 32] Operation: 50-18=32
Exploring Operation: 47-18=29, Resulting Numbers: [50, 29]
Generated Node #0,1,1: 54:[50, 29] Operation: 47-18=29
Exploring Operation: 50-47=3, Resulting Numbers: [18, 3]
Generated Node #0,1,2: 54:[18, 3] Operation: 50-47=3
Moving to Node #0,2
Current State: 54:[56, 47, 24], Operations: ['74-50=24']
Exploring Operation: 56-24=32, Resulting Numbers: [47, 32]
Generated Node #0,2,0: 54:[47, 32] Operation: 56-24=32
Exploring Operation: 56-47=9, Resulting Numbers: [24, 9]
Generated Node #0,2,1: 54:[24, 9] Operation: 56-47=9
Exploring Operation: 47-24=23, Resulting Numbers: [56, 23]
Generated Node #0,2,2: 54:[56, 23] Operation: 47-24=23
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 54:[24, 9], Operations: ['74-50=24', '56-47=9']
Exploring Operation: 24-9=15, Resulting Numbers: [15]
15,54 unequal: No Solution
Exploring Operation: 24*9=216, Resulting Numbers: [216]
216,54 unequal: No Solution
Exploring Operation: 24+9=33, Resulting Numbers: [33]
33,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,2,2
Current State: 54:[56, 23], Operations: ['74-50=24', '47-24=23']
Exploring Operation: 56-23=33, Resulting Numbers: [33]
33,54 unequal: No Solution
Exploring Operation: 56*23=1288, Resulting Numbers: [1288]
1288,54 unequal: No Solution
Exploring Operation: 56+23=79, Resulting Numbers: [79]
79,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,2,0
Current State: 54:[47, 32], Operations: ['74-50=24', '56-24=32']
Exploring Operation: 47-32=15, Resulting Numbers: [15]
15,54 unequal: No Solution
Exploring Operation: 47+32=79, Resulting Numbers: [79]
79,54 unequal: No Solution
Exploring Operation: 47*32=1504, Resulting Numbers: [1504]
1504,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 54:[27, 6], Operations: ['74-47=27', '56-50=6']
Exploring Operation: 27*6=162, Resulting Numbers: [162]
162,54 unequal: No Solution
Exploring Operation: 27+6=33, Resulting Numbers: [33]
33,54 unequal: No Solution
Exploring Operation: 27-6=21, Resulting Numbers: [21]
21,54 unequal: No Solution
Moving to Node #0,1,2
Current State: 54:[18, 3], Operations: ['74-56=18', '50-47=3']
Exploring Operation: 18*3=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[50, 74, 56, 47], Operations: []
Exploring Operation: 74-56=18, Resulting Numbers: [50, 47, 18]
Generated Node #0,1: 54:[50, 47, 18] Operation: 74-56=18
Moving to Node #0,1
Current State: 54:[50, 47, 18], Operations: ['74-56=18']
Exploring Operation: 50-47=3, Resulting Numbers: [18, 3]
Generated Node #0,1,2: 54:[18, 3] Operation: 50-47=3
Moving to Node #0,1,2
Current State: 54:[18, 3], Operations: ['74-56=18', '50-47=3']
Exploring Operation: 18*3=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 0.974826 | hs_3 | sum_heuristic |
[
97,
31,
16,
90
] | 22 | [
"97+31=128",
"16+90=106",
"128-106=22"
] | Current State: 22:[97, 31, 16, 90], Operations: []
Exploring Operation: 97+31=128, Resulting Numbers: [16, 90, 128]
Generated Node #2: [16, 90, 128] from Operation: 97+31=128
Current State: 22:[16, 90, 128], Operations: ['97+31=128']
Exploring Operation: 16+90=106, Resulting Numbers: [128, 106]
Generated Node #3: [128, 106] from Operation: 16+90=106
Current State: 22:[128, 106], Operations: ['97+31=128', '16+90=106']
Exploring Operation: 128-106=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[97, 31, 16, 90], Operations: []
Exploring Operation: 90-31=59, Resulting Numbers: [97, 16, 59]
Generated Node #0,0: 22:[97, 16, 59] Operation: 90-31=59
Exploring Operation: 97-31=66, Resulting Numbers: [16, 90, 66]
Generated Node #0,1: 22:[16, 90, 66] Operation: 97-31=66
Exploring Operation: 90-16=74, Resulting Numbers: [97, 31, 74]
Generated Node #0,2: 22:[97, 31, 74] Operation: 90-16=74
Exploring Operation: 97-90=7, Resulting Numbers: [31, 16, 7]
Generated Node #0,3: 22:[31, 16, 7] Operation: 97-90=7
Exploring Operation: 97-16=81, Resulting Numbers: [31, 90, 81]
Generated Node #0,4: 22:[31, 90, 81] Operation: 97-16=81
Moving to Node #0,3
Current State: 22:[31, 16, 7], Operations: ['97-90=7']
Exploring Operation: 31+7=38, Resulting Numbers: [16, 38]
Generated Node #0,3,0: 22:[16, 38] Operation: 31+7=38
Exploring Operation: 31-7=24, Resulting Numbers: [16, 24]
Generated Node #0,3,1: 22:[16, 24] Operation: 31-7=24
Exploring Operation: 31-16=15, Resulting Numbers: [7, 15]
Generated Node #0,3,2: 22:[7, 15] Operation: 31-16=15
Exploring Operation: 16+7=23, Resulting Numbers: [31, 23]
Generated Node #0,3,3: 22:[31, 23] Operation: 16+7=23
Exploring Operation: 16-7=9, Resulting Numbers: [31, 9]
Generated Node #0,3,4: 22:[31, 9] Operation: 16-7=9
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 22:[16, 24], Operations: ['97-90=7', '31-7=24']
Exploring Operation: 24-16=8, Resulting Numbers: [8]
8,22 unequal: No Solution
Exploring Operation: 16+24=40, Resulting Numbers: [40]
40,22 unequal: No Solution
Exploring Operation: 16*24=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,3,2
Current State: 22:[7, 15], Operations: ['97-90=7', '31-16=15']
Exploring Operation: 7*15=105, Resulting Numbers: [105]
105,22 unequal: No Solution
Exploring Operation: 7+15=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[97, 31, 16, 90], Operations: []
Exploring Operation: 97-90=7, Resulting Numbers: [31, 16, 7]
Generated Node #0,3: 22:[31, 16, 7] Operation: 97-90=7
Moving to Node #0,3
Current State: 22:[31, 16, 7], Operations: ['97-90=7']
Exploring Operation: 31-16=15, Resulting Numbers: [7, 15]
Generated Node #0,3,2: 22:[7, 15] Operation: 31-16=15
Moving to Node #0,3,2
Current State: 22:[7, 15], Operations: ['97-90=7', '31-16=15']
Exploring Operation: 7+15=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_5 | sum_heuristic |
[
83,
10,
52,
29
] | 70 | [
"83+10=93",
"52-29=23",
"93-23=70"
] | Current State: 70:[83, 10, 52, 29], Operations: []
Exploring Operation: 83+10=93, Resulting Numbers: [52, 29, 93]
Generated Node #2: [52, 29, 93] from Operation: 83+10=93
Current State: 70:[52, 29, 93], Operations: ['83+10=93']
Exploring Operation: 52-29=23, Resulting Numbers: [93, 23]
Generated Node #3: [93, 23] from Operation: 52-29=23
Current State: 70:[93, 23], Operations: ['83+10=93', '52-29=23']
Exploring Operation: 93-23=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[83, 10, 52, 29], Operations: []
Exploring Operation: 83-52=31, Resulting Numbers: [10, 29, 31]
Generated Node #0,0: 70:[10, 29, 31] Operation: 83-52=31
Moving to Node #0,0
Current State: 70:[10, 29, 31], Operations: ['83-52=31']
Exploring Operation: 31-29=2, Resulting Numbers: [10, 2]
Generated Node #0,0,0: 70:[10, 2] Operation: 31-29=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 70:[10, 2], Operations: ['83-52=31', '31-29=2']
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
21,
4,
63,
47
] | 35 | [
"63/21=3",
"4*3=12",
"47-12=35"
] | Current State: 35:[21, 4, 63, 47], Operations: []
Exploring Operation: 63/21=3, Resulting Numbers: [4, 47, 3]
Generated Node #2: [4, 47, 3] from Operation: 63/21=3
Current State: 35:[4, 47, 3], Operations: ['63/21=3']
Exploring Operation: 4*3=12, Resulting Numbers: [47, 12]
Generated Node #3: [47, 12] from Operation: 4*3=12
Current State: 35:[47, 12], Operations: ['63/21=3', '4*3=12']
Exploring Operation: 47-12=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[21, 4, 63, 47], Operations: []
Exploring Operation: 63-47=16, Resulting Numbers: [21, 4, 16]
Generated Node #0,0: 35:[21, 4, 16] Operation: 63-47=16
Exploring Operation: 21+4=25, Resulting Numbers: [63, 47, 25]
Generated Node #0,1: 35:[63, 47, 25] Operation: 21+4=25
Exploring Operation: 47-21=26, Resulting Numbers: [4, 63, 26]
Generated Node #0,2: 35:[4, 63, 26] Operation: 47-21=26
Exploring Operation: 63-21=42, Resulting Numbers: [4, 47, 42]
Generated Node #0,3: 35:[4, 47, 42] Operation: 63-21=42
Exploring Operation: 63/21=3, Resulting Numbers: [4, 47, 3]
Generated Node #0,4: 35:[4, 47, 3] Operation: 63/21=3
Start Sub Search at level 1: Moving to Node #0,4
Current State: 35:[4, 47, 3], Operations: ['63/21=3']
Exploring Operation: 47+3=50, Resulting Numbers: [4, 50]
Generated Node #0,4,0: 35:[4, 50] Operation: 47+3=50
Exploring Operation: 4+3=7, Resulting Numbers: [47, 7]
Generated Node #0,4,1: 35:[47, 7] Operation: 4+3=7
Exploring Operation: 4-3=1, Resulting Numbers: [47, 1]
Generated Node #0,4,2: 35:[47, 1] Operation: 4-3=1
Exploring Operation: 47-4=43, Resulting Numbers: [3, 43]
Generated Node #0,4,3: 35:[3, 43] Operation: 47-4=43
Exploring Operation: 47-3=44, Resulting Numbers: [4, 44]
Generated Node #0,4,4: 35:[4, 44] Operation: 47-3=44
Moving to Node #0,4,3
Current State: 35:[3, 43], Operations: ['63/21=3', '47-4=43']
Exploring Operation: 3+43=46, Resulting Numbers: [46]
46,35 unequal: No Solution
Exploring Operation: 3*43=129, Resulting Numbers: [129]
129,35 unequal: No Solution
Exploring Operation: 43-3=40, Resulting Numbers: [40]
40,35 unequal: No Solution
Moving to Node #0,4,4
Current State: 35:[4, 44], Operations: ['63/21=3', '47-3=44']
Exploring Operation: 44/4=11, Resulting Numbers: [11]
11,35 unequal: No Solution
Exploring Operation: 44-4=40, Resulting Numbers: [40]
40,35 unequal: No Solution
Exploring Operation: 4*44=176, Resulting Numbers: [176]
176,35 unequal: No Solution
Exploring Operation: 4+44=48, Resulting Numbers: [48]
48,35 unequal: No Solution
Moving to Node #0,4,1
Current State: 35:[47, 7], Operations: ['63/21=3', '4+3=7']
Exploring Operation: 47*7=329, Resulting Numbers: [329]
329,35 unequal: No Solution
Exploring Operation: 47+7=54, Resulting Numbers: [54]
54,35 unequal: No Solution
Exploring Operation: 47-7=40, Resulting Numbers: [40]
40,35 unequal: No Solution
Moving to Node #0,4,0
Current State: 35:[4, 50], Operations: ['63/21=3', '47+3=50']
Exploring Operation: 4+50=54, Resulting Numbers: [54]
54,35 unequal: No Solution
Exploring Operation: 50-4=46, Resulting Numbers: [46]
46,35 unequal: No Solution
Exploring Operation: 4*50=200, Resulting Numbers: [200]
200,35 unequal: No Solution
Moving to Node #0,4,2
Current State: 35:[47, 1], Operations: ['63/21=3', '4-3=1']
Exploring Operation: 47/1=47, Resulting Numbers: [47]
47,35 unequal: No Solution
Exploring Operation: 47-1=46, Resulting Numbers: [46]
46,35 unequal: No Solution
Exploring Operation: 47*1=47, Resulting Numbers: [47]
47,35 unequal: No Solution
Exploring Operation: 47+1=48, Resulting Numbers: [48]
48,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 35:[4, 47, 42], Operations: ['63-21=42']
Exploring Operation: 47-42=5, Resulting Numbers: [4, 5]
Generated Node #0,3,0: 35:[4, 5] Operation: 47-42=5
Exploring Operation: 4+42=46, Resulting Numbers: [47, 46]
Generated Node #0,3,1: 35:[47, 46] Operation: 4+42=46
Exploring Operation: 42-4=38, Resulting Numbers: [47, 38]
Generated Node #0,3,2: 35:[47, 38] Operation: 42-4=38
Exploring Operation: 47-4=43, Resulting Numbers: [42, 43]
Generated Node #0,3,3: 35:[42, 43] Operation: 47-4=43
Exploring Operation: 4+47=51, Resulting Numbers: [42, 51]
Generated Node #0,3,4: 35:[42, 51] Operation: 4+47=51
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 35:[4, 5], Operations: ['63-21=42', '47-42=5']
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,35 unequal: No Solution
Exploring Operation: 4*5=20, Resulting Numbers: [20]
20,35 unequal: No Solution
Exploring Operation: 4+5=9, Resulting Numbers: [9]
9,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 35:[47, 38], Operations: ['63-21=42', '42-4=38']
Exploring Operation: 47+38=85, Resulting Numbers: [85]
85,35 unequal: No Solution
Exploring Operation: 47-38=9, Resulting Numbers: [9]
9,35 unequal: No Solution
Exploring Operation: 47*38=1786, Resulting Numbers: [1786]
1786,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 35:[42, 43], Operations: ['63-21=42', '47-4=43']
Exploring Operation: 43-42=1, Resulting Numbers: [1]
1,35 unequal: No Solution
Exploring Operation: 42*43=1806, Resulting Numbers: [1806]
1806,35 unequal: No Solution
Exploring Operation: 42+43=85, Resulting Numbers: [85]
85,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 35:[47, 46], Operations: ['63-21=42', '4+42=46']
Exploring Operation: 47*46=2162, Resulting Numbers: [2162]
2162,35 unequal: No Solution
Exploring Operation: 47+46=93, Resulting Numbers: [93]
93,35 unequal: No Solution
Exploring Operation: 47-46=1, Resulting Numbers: [1]
1,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 35:[42, 51], Operations: ['63-21=42', '4+47=51']
Exploring Operation: 51-42=9, Resulting Numbers: [9]
9,35 unequal: No Solution
Exploring Operation: 42+51=93, Resulting Numbers: [93]
93,35 unequal: No Solution
Exploring Operation: 42*51=2142, Resulting Numbers: [2142]
2142,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[21, 4, 16], Operations: ['63-47=16']
Exploring Operation: 16/4=4, Resulting Numbers: [21, 4]
Generated Node #0,0,0: 35:[21, 4] Operation: 16/4=4
Exploring Operation: 21+4=25, Resulting Numbers: [16, 25]
Generated Node #0,0,1: 35:[16, 25] Operation: 21+4=25
Exploring Operation: 21+16=37, Resulting Numbers: [4, 37]
Generated Node #0,0,2: 35:[4, 37] Operation: 21+16=37
Exploring Operation: 21-16=5, Resulting Numbers: [4, 5]
Generated Node #0,0,3: 35:[4, 5] Operation: 21-16=5
Exploring Operation: 21-4=17, Resulting Numbers: [16, 17]
Generated Node #0,0,4: 35:[16, 17] Operation: 21-4=17
Moving to Node #0,0,3
Current State: 35:[4, 5], Operations: ['63-47=16', '21-16=5']
Exploring Operation: 4+5=9, Resulting Numbers: [9]
9,35 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,35 unequal: No Solution
Exploring Operation: 4*5=20, Resulting Numbers: [20]
20,35 unequal: No Solution
Moving to Node #0,0,2
Current State: 35:[4, 37], Operations: ['63-47=16', '21+16=37']
Exploring Operation: 4*37=148, Resulting Numbers: [148]
148,35 unequal: No Solution
Exploring Operation: 37-4=33, Resulting Numbers: [33]
33,35 unequal: No Solution
Exploring Operation: 4+37=41, Resulting Numbers: [41]
41,35 unequal: No Solution
Moving to Node #0,0,0
Current State: 35:[21, 4], Operations: ['63-47=16', '16/4=4']
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,35 unequal: No Solution
Exploring Operation: 21*4=84, Resulting Numbers: [84]
84,35 unequal: No Solution
Exploring Operation: 21+4=25, Resulting Numbers: [25]
25,35 unequal: No Solution
Moving to Node #0,0,1
Current State: 35:[16, 25], Operations: ['63-47=16', '21+4=25']
Exploring Operation: 16*25=400, Resulting Numbers: [400]
400,35 unequal: No Solution
Exploring Operation: 16+25=41, Resulting Numbers: [41]
41,35 unequal: No Solution
Exploring Operation: 25-16=9, Resulting Numbers: [9]
9,35 unequal: No Solution
Moving to Node #0,0,4
Current State: 35:[16, 17], Operations: ['63-47=16', '21-4=17']
Exploring Operation: 16*17=272, Resulting Numbers: [272]
272,35 unequal: No Solution
Exploring Operation: 16+17=33, Resulting Numbers: [33]
33,35 unequal: No Solution
Exploring Operation: 17-16=1, Resulting Numbers: [1]
1,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 35:[4, 63, 26], Operations: ['47-21=26']
Exploring Operation: 4+26=30, Resulting Numbers: [63, 30]
Generated Node #0,2,0: 35:[63, 30] Operation: 4+26=30
Exploring Operation: 63-26=37, Resulting Numbers: [4, 37]
Generated Node #0,2,1: 35:[4, 37] Operation: 63-26=37
Exploring Operation: 26-4=22, Resulting Numbers: [63, 22]
Generated Node #0,2,2: 35:[63, 22] Operation: 26-4=22
Exploring Operation: 63-4=59, Resulting Numbers: [26, 59]
Generated Node #0,2,3: 35:[26, 59] Operation: 63-4=59
Exploring Operation: 4+63=67, Resulting Numbers: [26, 67]
Generated Node #0,2,4: 35:[26, 67] Operation: 4+63=67
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 35:[4, 37], Operations: ['47-21=26', '63-26=37']
Exploring Operation: 37-4=33, Resulting Numbers: [33]
33,35 unequal: No Solution
Exploring Operation: 4+37=41, Resulting Numbers: [41]
41,35 unequal: No Solution
Exploring Operation: 4*37=148, Resulting Numbers: [148]
148,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 35:[63, 30], Operations: ['47-21=26', '4+26=30']
Exploring Operation: 63-30=33, Resulting Numbers: [33]
33,35 unequal: No Solution
Exploring Operation: 63*30=1890, Resulting Numbers: [1890]
1890,35 unequal: No Solution
Exploring Operation: 63+30=93, Resulting Numbers: [93]
93,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 35:[26, 59], Operations: ['47-21=26', '63-4=59']
Exploring Operation: 26+59=85, Resulting Numbers: [85]
85,35 unequal: No Solution
Exploring Operation: 26*59=1534, Resulting Numbers: [1534]
1534,35 unequal: No Solution
Exploring Operation: 59-26=33, Resulting Numbers: [33]
33,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 35:[63, 22], Operations: ['47-21=26', '26-4=22']
Exploring Operation: 63+22=85, Resulting Numbers: [85]
85,35 unequal: No Solution
Exploring Operation: 63*22=1386, Resulting Numbers: [1386]
1386,35 unequal: No Solution
Exploring Operation: 63-22=41, Resulting Numbers: [41]
41,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 35:[26, 67], Operations: ['47-21=26', '4+63=67']
Exploring Operation: 26+67=93, Resulting Numbers: [93]
93,35 unequal: No Solution
Exploring Operation: 67-26=41, Resulting Numbers: [41]
41,35 unequal: No Solution
Exploring Operation: 26*67=1742, Resulting Numbers: [1742]
1742,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 35:[63, 47, 25], Operations: ['21+4=25']
Exploring Operation: 63-25=38, Resulting Numbers: [47, 38]
Generated Node #0,1,0: 35:[47, 38] Operation: 63-25=38
Exploring Operation: 47-25=22, Resulting Numbers: [63, 22]
Generated Node #0,1,1: 35:[63, 22] Operation: 47-25=22
Exploring Operation: 63+25=88, Resulting Numbers: [47, 88]
Generated Node #0,1,2: 35:[47, 88] Operation: 63+25=88
Exploring Operation: 63-47=16, Resulting Numbers: [25, 16]
Generated Node #0,1,3: 35:[25, 16] Operation: 63-47=16
Exploring Operation: 47+25=72, Resulting Numbers: [63, 72]
Generated Node #0,1,4: 35:[63, 72] Operation: 47+25=72
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 35:[47, 38], Operations: ['21+4=25', '63-25=38']
Exploring Operation: 47+38=85, Resulting Numbers: [85]
85,35 unequal: No Solution
Exploring Operation: 47-38=9, Resulting Numbers: [9]
9,35 unequal: No Solution
Exploring Operation: 47*38=1786, Resulting Numbers: [1786]
1786,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 35:[25, 16], Operations: ['21+4=25', '63-47=16']
Exploring Operation: 25-16=9, Resulting Numbers: [9]
9,35 unequal: No Solution
Exploring Operation: 25*16=400, Resulting Numbers: [400]
400,35 unequal: No Solution
Exploring Operation: 25+16=41, Resulting Numbers: [41]
41,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 35:[63, 22], Operations: ['21+4=25', '47-25=22']
Exploring Operation: 63-22=41, Resulting Numbers: [41]
41,35 unequal: No Solution
Exploring Operation: 63+22=85, Resulting Numbers: [85]
85,35 unequal: No Solution
Exploring Operation: 63*22=1386, Resulting Numbers: [1386]
1386,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 35:[47, 88], Operations: ['21+4=25', '63+25=88']
Exploring Operation: 88-47=41, Resulting Numbers: [41]
41,35 unequal: No Solution
Exploring Operation: 47*88=4136, Resulting Numbers: [4136]
4136,35 unequal: No Solution
Exploring Operation: 47+88=135, Resulting Numbers: [135]
135,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 35:[63, 72], Operations: ['21+4=25', '47+25=72']
Exploring Operation: 63*72=4536, Resulting Numbers: [4536]
4536,35 unequal: No Solution
Exploring Operation: 63+72=135, Resulting Numbers: [135]
135,35 unequal: No Solution
Exploring Operation: 72-63=9, Resulting Numbers: [9]
9,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
67,
37,
11,
14
] | 41 | [
"67-11=56",
"56/14=4",
"37+4=41"
] | Current State: 41:[67, 37, 11, 14], Operations: []
Exploring Operation: 67-11=56, Resulting Numbers: [37, 14, 56]
Generated Node #2: [37, 14, 56] from Operation: 67-11=56
Current State: 41:[37, 14, 56], Operations: ['67-11=56']
Exploring Operation: 56/14=4, Resulting Numbers: [37, 4]
Generated Node #3: [37, 4] from Operation: 56/14=4
Current State: 41:[37, 4], Operations: ['67-11=56', '56/14=4']
Exploring Operation: 37+4=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[67, 37, 11, 14], Operations: []
Exploring Operation: 11+14=25, Resulting Numbers: [67, 37, 25]
Generated Node #0,0: 41:[67, 37, 25] Operation: 11+14=25
Exploring Operation: 67-11=56, Resulting Numbers: [37, 14, 56]
Generated Node #0,1: 41:[37, 14, 56] Operation: 67-11=56
Exploring Operation: 67-14=53, Resulting Numbers: [37, 11, 53]
Generated Node #0,2: 41:[37, 11, 53] Operation: 67-14=53
Moving to Node #0,0
Current State: 41:[67, 37, 25], Operations: ['11+14=25']
Exploring Operation: 67-25=42, Resulting Numbers: [37, 42]
Generated Node #0,0,0: 41:[37, 42] Operation: 67-25=42
Exploring Operation: 67-37=30, Resulting Numbers: [25, 30]
Generated Node #0,0,1: 41:[25, 30] Operation: 67-37=30
Exploring Operation: 37+25=62, Resulting Numbers: [67, 62]
Generated Node #0,0,2: 41:[67, 62] Operation: 37+25=62
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 41:[37, 42], Operations: ['11+14=25', '67-25=42']
Exploring Operation: 37+42=79, Resulting Numbers: [79]
79,41 unequal: No Solution
Exploring Operation: 37*42=1554, Resulting Numbers: [1554]
1554,41 unequal: No Solution
Exploring Operation: 42-37=5, Resulting Numbers: [5]
5,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 41:[25, 30], Operations: ['11+14=25', '67-37=30']
Exploring Operation: 30-25=5, Resulting Numbers: [5]
5,41 unequal: No Solution
Exploring Operation: 25*30=750, Resulting Numbers: [750]
750,41 unequal: No Solution
Exploring Operation: 25+30=55, Resulting Numbers: [55]
55,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 41:[67, 62], Operations: ['11+14=25', '37+25=62']
Exploring Operation: 67-62=5, Resulting Numbers: [5]
5,41 unequal: No Solution
Exploring Operation: 67+62=129, Resulting Numbers: [129]
129,41 unequal: No Solution
Exploring Operation: 67*62=4154, Resulting Numbers: [4154]
4154,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 41:[37, 14, 56], Operations: ['67-11=56']
Exploring Operation: 37-14=23, Resulting Numbers: [56, 23]
Generated Node #0,1,0: 41:[56, 23] Operation: 37-14=23
Exploring Operation: 56-14=42, Resulting Numbers: [37, 42]
Generated Node #0,1,1: 41:[37, 42] Operation: 56-14=42
Exploring Operation: 37+14=51, Resulting Numbers: [56, 51]
Generated Node #0,1,2: 41:[56, 51] Operation: 37+14=51
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 41:[37, 42], Operations: ['67-11=56', '56-14=42']
Exploring Operation: 37*42=1554, Resulting Numbers: [1554]
1554,41 unequal: No Solution
Exploring Operation: 42-37=5, Resulting Numbers: [5]
5,41 unequal: No Solution
Exploring Operation: 37+42=79, Resulting Numbers: [79]
79,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 41:[56, 51], Operations: ['67-11=56', '37+14=51']
Exploring Operation: 56+51=107, Resulting Numbers: [107]
107,41 unequal: No Solution
Exploring Operation: 56-51=5, Resulting Numbers: [5]
5,41 unequal: No Solution
Exploring Operation: 56*51=2856, Resulting Numbers: [2856]
2856,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 41:[56, 23], Operations: ['67-11=56', '37-14=23']
Exploring Operation: 56-23=33, Resulting Numbers: [33]
33,41 unequal: No Solution
Exploring Operation: 56+23=79, Resulting Numbers: [79]
79,41 unequal: No Solution
Exploring Operation: 56*23=1288, Resulting Numbers: [1288]
1288,41 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: 41:[37, 11, 53], Operations: ['67-14=53']
Exploring Operation: 53-11=42, Resulting Numbers: [37, 42]
Generated Node #0,2,0: 41:[37, 42] Operation: 53-11=42
Exploring Operation: 37+11=48, Resulting Numbers: [53, 48]
Generated Node #0,2,1: 41:[53, 48] Operation: 37+11=48
Exploring Operation: 37-11=26, Resulting Numbers: [53, 26]
Generated Node #0,2,2: 41:[53, 26] Operation: 37-11=26
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 41:[37, 42], Operations: ['67-14=53', '53-11=42']
Exploring Operation: 37+42=79, Resulting Numbers: [79]
79,41 unequal: No Solution
Exploring Operation: 42-37=5, Resulting Numbers: [5]
5,41 unequal: No Solution
Exploring Operation: 37*42=1554, Resulting Numbers: [1554]
1554,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 41:[53, 48], Operations: ['67-14=53', '37+11=48']
Exploring Operation: 53+48=101, Resulting Numbers: [101]
101,41 unequal: No Solution
Exploring Operation: 53*48=2544, Resulting Numbers: [2544]
2544,41 unequal: No Solution
Exploring Operation: 53-48=5, Resulting Numbers: [5]
5,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 41:[53, 26], Operations: ['67-14=53', '37-11=26']
Exploring Operation: 53-26=27, Resulting Numbers: [27]
27,41 unequal: No Solution
Exploring Operation: 53*26=1378, Resulting Numbers: [1378]
1378,41 unequal: No Solution
Exploring Operation: 53+26=79, Resulting Numbers: [79]
79,41 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 |
[
13,
29,
36,
14
] | 91 | [
"36-29=7",
"14-7=7",
"13*7=91"
] | Current State: 91:[13, 29, 36, 14], Operations: []
Exploring Operation: 36-29=7, Resulting Numbers: [13, 14, 7]
Generated Node #2: [13, 14, 7] from Operation: 36-29=7
Current State: 91:[13, 14, 7], Operations: ['36-29=7']
Exploring Operation: 14-7=7, Resulting Numbers: [13, 7]
Generated Node #3: [13, 7] from Operation: 14-7=7
Current State: 91:[13, 7], Operations: ['36-29=7', '14-7=7']
Exploring Operation: 13*7=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[13, 29, 36, 14], Operations: []
Exploring Operation: 29-14=15, Resulting Numbers: [13, 36, 15]
Generated Node #0,0: 91:[13, 36, 15] Operation: 29-14=15
Exploring Operation: 36-29=7, Resulting Numbers: [13, 14, 7]
Generated Node #0,1: 91:[13, 14, 7] Operation: 36-29=7
Start Sub Search at level 1: Moving to Node #0,1
Current State: 91:[13, 14, 7], Operations: ['36-29=7']
Exploring Operation: 14-7=7, Resulting Numbers: [13, 7]
Generated Node #0,1,0: 91:[13, 7] Operation: 14-7=7
Exploring Operation: 13*7=91, Resulting Numbers: [14, 91]
Generated Node #0,1,1: 91:[14, 91] Operation: 13*7=91
Moving to Node #0,1,0
Current State: 91:[13, 7], Operations: ['36-29=7', '14-7=7']
Exploring Operation: 13-7=6, Resulting Numbers: [6]
6,91 unequal: No Solution
Exploring Operation: 13*7=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[13, 29, 36, 14], Operations: []
Exploring Operation: 36-29=7, Resulting Numbers: [13, 14, 7]
Generated Node #0,1: 91:[13, 14, 7] Operation: 36-29=7
Moving to Node #0,1
Current State: 91:[13, 14, 7], Operations: ['36-29=7']
Exploring Operation: 14-7=7, Resulting Numbers: [13, 7]
Generated Node #0,1,0: 91:[13, 7] Operation: 14-7=7
Moving to Node #0,1,0
Current State: 91:[13, 7], Operations: ['36-29=7', '14-7=7']
Exploring Operation: 13*7=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
7,
22,
40,
10
] | 50 | [
"7*40=280",
"280/10=28",
"22+28=50"
] | Current State: 50:[7, 22, 40, 10], Operations: []
Exploring Operation: 7*40=280, Resulting Numbers: [22, 10, 280]
Generated Node #2: [22, 10, 280] from Operation: 7*40=280
Current State: 50:[22, 10, 280], Operations: ['7*40=280']
Exploring Operation: 280/10=28, Resulting Numbers: [22, 28]
Generated Node #3: [22, 28] from Operation: 280/10=28
Current State: 50:[22, 28], Operations: ['7*40=280', '280/10=28']
Exploring Operation: 22+28=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[7, 22, 40, 10], Operations: []
Exploring Operation: 40+10=50, Resulting Numbers: [7, 22, 50]
Generated Node #0,0: 50:[7, 22, 50] Operation: 40+10=50
Exploring Operation: 7+40=47, Resulting Numbers: [22, 10, 47]
Generated Node #0,1: 50:[22, 10, 47] Operation: 7+40=47
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[7, 22, 50], Operations: ['40+10=50']
Exploring Operation: 7+22=29, Resulting Numbers: [50, 29]
Generated Node #0,0,0: 50:[50, 29] Operation: 7+22=29
Exploring Operation: 22-7=15, Resulting Numbers: [50, 15]
Generated Node #0,0,1: 50:[50, 15] Operation: 22-7=15
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 50:[50, 29], Operations: ['40+10=50', '7+22=29']
Exploring Operation: 50-29=21, Resulting Numbers: [21]
21,50 unequal: No Solution
Exploring Operation: 50+29=79, Resulting Numbers: [79]
79,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:[50, 15], Operations: ['40+10=50', '22-7=15']
Exploring Operation: 50+15=65, Resulting Numbers: [65]
65,50 unequal: No Solution
Exploring Operation: 50-15=35, Resulting Numbers: [35]
35,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:[22, 10, 47], Operations: ['7+40=47']
Exploring Operation: 47-22=25, Resulting Numbers: [10, 25]
Generated Node #0,1,0: 50:[10, 25] Operation: 47-22=25
Exploring Operation: 22-10=12, Resulting Numbers: [47, 12]
Generated Node #0,1,1: 50:[47, 12] Operation: 22-10=12
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 50:[10, 25], Operations: ['7+40=47', '47-22=25']
Exploring Operation: 25-10=15, Resulting Numbers: [15]
15,50 unequal: No Solution
Exploring Operation: 10+25=35, Resulting Numbers: [35]
35,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,1,1
Current State: 50:[47, 12], Operations: ['7+40=47', '22-10=12']
Exploring Operation: 47+12=59, Resulting Numbers: [59]
59,50 unequal: No Solution
Exploring Operation: 47-12=35, Resulting Numbers: [35]
35,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
No solution found.
| 0 | hs_2 | mult_heuristic |
[
56,
24,
94,
52
] | 32 | [
"56*24=1344",
"94-52=42",
"1344/42=32"
] | Current State: 32:[56, 24, 94, 52], Operations: []
Exploring Operation: 56*24=1344, Resulting Numbers: [94, 52, 1344]
Generated Node #2: [94, 52, 1344] from Operation: 56*24=1344
Current State: 32:[94, 52, 1344], Operations: ['56*24=1344']
Exploring Operation: 94-52=42, Resulting Numbers: [1344, 42]
Generated Node #3: [1344, 42] from Operation: 94-52=42
Current State: 32:[1344, 42], Operations: ['56*24=1344', '94-52=42']
Exploring Operation: 1344/42=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[56, 24, 94, 52], Operations: []
Exploring Operation: 94-56=38, Resulting Numbers: [24, 52, 38]
Generated Node #0,0: 32:[24, 52, 38] Operation: 94-56=38
Exploring Operation: 94-52=42, Resulting Numbers: [56, 24, 42]
Generated Node #0,1: 32:[56, 24, 42] Operation: 94-52=42
Moving to Node #0,0
Current State: 32:[24, 52, 38], Operations: ['94-56=38']
Exploring Operation: 52-24=28, Resulting Numbers: [38, 28]
Generated Node #0,0,0: 32:[38, 28] Operation: 52-24=28
Exploring Operation: 52-38=14, Resulting Numbers: [24, 14]
Generated Node #0,0,1: 32:[24, 14] Operation: 52-38=14
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 32:[38, 28], Operations: ['94-56=38', '52-24=28']
Exploring Operation: 38+28=66, Resulting Numbers: [66]
66,32 unequal: No Solution
Exploring Operation: 38-28=10, Resulting Numbers: [10]
10,32 unequal: No Solution
No 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: 32:[24, 14], Operations: ['94-56=38', '52-38=14']
Exploring Operation: 24-14=10, Resulting Numbers: [10]
10,32 unequal: No Solution
Exploring Operation: 24+14=38, Resulting Numbers: [38]
38,32 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: 32:[56, 24, 42], Operations: ['94-52=42']
Exploring Operation: 56-42=14, Resulting Numbers: [24, 14]
Generated Node #0,1,0: 32:[24, 14] Operation: 56-42=14
Exploring Operation: 56-24=32, Resulting Numbers: [42, 32]
Generated Node #0,1,1: 32:[42, 32] Operation: 56-24=32
Moving to Node #0,1,0
Current State: 32:[24, 14], Operations: ['94-52=42', '56-42=14']
Exploring Operation: 24+14=38, Resulting Numbers: [38]
38,32 unequal: No Solution
Exploring Operation: 24-14=10, Resulting Numbers: [10]
10,32 unequal: No Solution
Moving to Node #0,1,1
Current State: 32:[42, 32], Operations: ['94-52=42', '56-24=32']
Exploring Operation: 42-32=10, Resulting Numbers: [10]
10,32 unequal: No Solution
Exploring Operation: 42+32=74, Resulting Numbers: [74]
74,32 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
44,
13,
82,
39
] | 100 | [
"44+13=57",
"82-39=43",
"57+43=100"
] | Current State: 100:[44, 13, 82, 39], Operations: []
Exploring Operation: 44+13=57, Resulting Numbers: [82, 39, 57]
Generated Node #2: [82, 39, 57] from Operation: 44+13=57
Current State: 100:[82, 39, 57], Operations: ['44+13=57']
Exploring Operation: 82-39=43, Resulting Numbers: [57, 43]
Generated Node #3: [57, 43] from Operation: 82-39=43
Current State: 100:[57, 43], Operations: ['44+13=57', '82-39=43']
Exploring Operation: 57+43=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[44, 13, 82, 39], Operations: []
Exploring Operation: 82-39=43, Resulting Numbers: [44, 13, 43]
Generated Node #0,0: 100:[44, 13, 43] Operation: 82-39=43
Moving to Node #0,0
Current State: 100:[44, 13, 43], Operations: ['82-39=43']
Exploring Operation: 44-43=1, Resulting Numbers: [13, 1]
Generated Node #0,0,0: 100:[13, 1] Operation: 44-43=1
Moving to Node #0,0,0
Current State: 100:[13, 1], Operations: ['82-39=43', '44-43=1']
Exploring Operation: 13-1=12, Resulting Numbers: [12]
12,100 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
56,
45,
7,
6
] | 83 | [
"56-45=11",
"7*11=77",
"6+77=83"
] | Current State: 83:[56, 45, 7, 6], Operations: []
Exploring Operation: 56-45=11, Resulting Numbers: [7, 6, 11]
Generated Node #2: [7, 6, 11] from Operation: 56-45=11
Current State: 83:[7, 6, 11], Operations: ['56-45=11']
Exploring Operation: 7*11=77, Resulting Numbers: [6, 77]
Generated Node #3: [6, 77] from Operation: 7*11=77
Current State: 83:[6, 77], Operations: ['56-45=11', '7*11=77']
Exploring Operation: 6+77=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[56, 45, 7, 6], Operations: []
Exploring Operation: 56+7=63, Resulting Numbers: [45, 6, 63]
Generated Node #0,0: 83:[45, 6, 63] Operation: 56+7=63
Exploring Operation: 45+7=52, Resulting Numbers: [56, 6, 52]
Generated Node #0,1: 83:[56, 6, 52] Operation: 45+7=52
Exploring Operation: 45+6=51, Resulting Numbers: [56, 7, 51]
Generated Node #0,2: 83:[56, 7, 51] Operation: 45+6=51
Exploring Operation: 7*6=42, Resulting Numbers: [56, 45, 42]
Generated Node #0,3: 83:[56, 45, 42] Operation: 7*6=42
Exploring Operation: 56+6=62, Resulting Numbers: [45, 7, 62]
Generated Node #0,4: 83:[45, 7, 62] Operation: 56+6=62
Start Sub Search at level 1: Moving to Node #0,3
Current State: 83:[56, 45, 42], Operations: ['7*6=42']
Exploring Operation: 45+42=87, Resulting Numbers: [56, 87]
Generated Node #0,3,0: 83:[56, 87] Operation: 45+42=87
Exploring Operation: 56+42=98, Resulting Numbers: [45, 98]
Generated Node #0,3,1: 83:[45, 98] Operation: 56+42=98
Exploring Operation: 45-42=3, Resulting Numbers: [56, 3]
Generated Node #0,3,2: 83:[56, 3] Operation: 45-42=3
Exploring Operation: 56+45=101, Resulting Numbers: [42, 101]
Generated Node #0,3,3: 83:[42, 101] Operation: 56+45=101
Exploring Operation: 56-42=14, Resulting Numbers: [45, 14]
Generated Node #0,3,4: 83:[45, 14] Operation: 56-42=14
Moving to Node #0,3,0
Current State: 83:[56, 87], Operations: ['7*6=42', '45+42=87']
Exploring Operation: 56*87=4872, Resulting Numbers: [4872]
4872,83 unequal: No Solution
Exploring Operation: 56+87=143, Resulting Numbers: [143]
143,83 unequal: No Solution
Exploring Operation: 87-56=31, Resulting Numbers: [31]
31,83 unequal: No Solution
Moving to Node #0,3,1
Current State: 83:[45, 98], Operations: ['7*6=42', '56+42=98']
Exploring Operation: 98-45=53, Resulting Numbers: [53]
53,83 unequal: No Solution
Exploring Operation: 45*98=4410, Resulting Numbers: [4410]
4410,83 unequal: No Solution
Exploring Operation: 45+98=143, Resulting Numbers: [143]
143,83 unequal: No Solution
Moving to Node #0,3,3
Current State: 83:[42, 101], Operations: ['7*6=42', '56+45=101']
Exploring Operation: 101-42=59, Resulting Numbers: [59]
59,83 unequal: No Solution
Exploring Operation: 42+101=143, Resulting Numbers: [143]
143,83 unequal: No Solution
Exploring Operation: 42*101=4242, Resulting Numbers: [4242]
4242,83 unequal: No Solution
Moving to Node #0,3,2
Current State: 83:[56, 3], Operations: ['7*6=42', '45-42=3']
Exploring Operation: 56*3=168, Resulting Numbers: [168]
168,83 unequal: No Solution
Exploring Operation: 56-3=53, Resulting Numbers: [53]
53,83 unequal: No Solution
Exploring Operation: 56+3=59, Resulting Numbers: [59]
59,83 unequal: No Solution
Moving to Node #0,3,4
Current State: 83:[45, 14], Operations: ['7*6=42', '56-42=14']
Exploring Operation: 45+14=59, Resulting Numbers: [59]
59,83 unequal: No Solution
Exploring Operation: 45-14=31, Resulting Numbers: [31]
31,83 unequal: No Solution
Exploring Operation: 45*14=630, Resulting Numbers: [630]
630,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:[45, 6, 63], Operations: ['56+7=63']
Exploring Operation: 63-6=57, Resulting Numbers: [45, 57]
Generated Node #0,0,0: 83:[45, 57] Operation: 63-6=57
Exploring Operation: 45-6=39, Resulting Numbers: [63, 39]
Generated Node #0,0,1: 83:[63, 39] Operation: 45-6=39
Exploring Operation: 6+63=69, Resulting Numbers: [45, 69]
Generated Node #0,0,2: 83:[45, 69] Operation: 6+63=69
Exploring Operation: 45+63=108, Resulting Numbers: [6, 108]
Generated Node #0,0,3: 83:[6, 108] Operation: 45+63=108
Exploring Operation: 45+6=51, Resulting Numbers: [63, 51]
Generated Node #0,0,4: 83:[63, 51] Operation: 45+6=51
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 83:[45, 69], Operations: ['56+7=63', '6+63=69']
Exploring Operation: 45+69=114, Resulting Numbers: [114]
114,83 unequal: No Solution
Exploring Operation: 69-45=24, Resulting Numbers: [24]
24,83 unequal: No Solution
Exploring Operation: 45*69=3105, Resulting Numbers: [3105]
3105,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:[63, 51], Operations: ['56+7=63', '45+6=51']
Exploring Operation: 63*51=3213, Resulting Numbers: [3213]
3213,83 unequal: No Solution
Exploring Operation: 63+51=114, Resulting Numbers: [114]
114,83 unequal: No Solution
Exploring Operation: 63-51=12, Resulting Numbers: [12]
12,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:[45, 57], Operations: ['56+7=63', '63-6=57']
Exploring Operation: 57-45=12, Resulting Numbers: [12]
12,83 unequal: No Solution
Exploring Operation: 45*57=2565, Resulting Numbers: [2565]
2565,83 unequal: No Solution
Exploring Operation: 45+57=102, Resulting Numbers: [102]
102,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:[63, 39], Operations: ['56+7=63', '45-6=39']
Exploring Operation: 63+39=102, Resulting Numbers: [102]
102,83 unequal: No Solution
Exploring Operation: 63*39=2457, Resulting Numbers: [2457]
2457,83 unequal: No Solution
Exploring Operation: 63-39=24, Resulting Numbers: [24]
24,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,3
Current State: 83:[6, 108], Operations: ['56+7=63', '45+63=108']
Exploring Operation: 108-6=102, Resulting Numbers: [102]
102,83 unequal: No Solution
Exploring Operation: 6+108=114, Resulting Numbers: [114]
114,83 unequal: No Solution
Exploring Operation: 6*108=648, Resulting Numbers: [648]
648,83 unequal: No Solution
Exploring Operation: 108/6=18, Resulting Numbers: [18]
18,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 83:[56, 6, 52], Operations: ['45+7=52']
Exploring Operation: 56+6=62, Resulting Numbers: [52, 62]
Generated Node #0,1,0: 83:[52, 62] Operation: 56+6=62
Exploring Operation: 52-6=46, Resulting Numbers: [56, 46]
Generated Node #0,1,1: 83:[56, 46] Operation: 52-6=46
Exploring Operation: 56-6=50, Resulting Numbers: [52, 50]
Generated Node #0,1,2: 83:[52, 50] Operation: 56-6=50
Exploring Operation: 56+52=108, Resulting Numbers: [6, 108]
Generated Node #0,1,3: 83:[6, 108] Operation: 56+52=108
Exploring Operation: 6+52=58, Resulting Numbers: [56, 58]
Generated Node #0,1,4: 83:[56, 58] Operation: 6+52=58
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 83:[52, 62], Operations: ['45+7=52', '56+6=62']
Exploring Operation: 52*62=3224, Resulting Numbers: [3224]
3224,83 unequal: No Solution
Exploring Operation: 52+62=114, Resulting Numbers: [114]
114,83 unequal: No Solution
Exploring Operation: 62-52=10, Resulting Numbers: [10]
10,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,1,4
Current State: 83:[56, 58], Operations: ['45+7=52', '6+52=58']
Exploring Operation: 56*58=3248, Resulting Numbers: [3248]
3248,83 unequal: No Solution
Exploring Operation: 56+58=114, Resulting Numbers: [114]
114,83 unequal: No Solution
Exploring Operation: 58-56=2, Resulting Numbers: [2]
2,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,1,1
Current State: 83:[56, 46], Operations: ['45+7=52', '52-6=46']
Exploring Operation: 56*46=2576, Resulting Numbers: [2576]
2576,83 unequal: No Solution
Exploring Operation: 56+46=102, Resulting Numbers: [102]
102,83 unequal: No Solution
Exploring Operation: 56-46=10, Resulting Numbers: [10]
10,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,1,2
Current State: 83:[52, 50], Operations: ['45+7=52', '56-6=50']
Exploring Operation: 52*50=2600, Resulting Numbers: [2600]
2600,83 unequal: No Solution
Exploring Operation: 52+50=102, Resulting Numbers: [102]
102,83 unequal: No Solution
Exploring Operation: 52-50=2, Resulting Numbers: [2]
2,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,1,3
Current State: 83:[6, 108], Operations: ['45+7=52', '56+52=108']
Exploring Operation: 108-6=102, Resulting Numbers: [102]
102,83 unequal: No Solution
Exploring Operation: 108/6=18, Resulting Numbers: [18]
18,83 unequal: No Solution
Exploring Operation: 6+108=114, Resulting Numbers: [114]
114,83 unequal: No Solution
Exploring Operation: 6*108=648, Resulting Numbers: [648]
648,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,2
Current State: 83:[56, 7, 51], Operations: ['45+6=51']
Exploring Operation: 51-7=44, Resulting Numbers: [56, 44]
Generated Node #0,2,0: 83:[56, 44] Operation: 51-7=44
Exploring Operation: 7+51=58, Resulting Numbers: [56, 58]
Generated Node #0,2,1: 83:[56, 58] Operation: 7+51=58
Exploring Operation: 56+7=63, Resulting Numbers: [51, 63]
Generated Node #0,2,2: 83:[51, 63] Operation: 56+7=63
Exploring Operation: 56+51=107, Resulting Numbers: [7, 107]
Generated Node #0,2,3: 83:[7, 107] Operation: 56+51=107
Exploring Operation: 56-7=49, Resulting Numbers: [51, 49]
Generated Node #0,2,4: 83:[51, 49] Operation: 56-7=49
Moving to Node #0,2,1
Current State: 83:[56, 58], Operations: ['45+6=51', '7+51=58']
Exploring Operation: 56+58=114, Resulting Numbers: [114]
114,83 unequal: No Solution
Exploring Operation: 58-56=2, Resulting Numbers: [2]
2,83 unequal: No Solution
Exploring Operation: 56*58=3248, Resulting Numbers: [3248]
3248,83 unequal: No Solution
Moving to Node #0,2,2
Current State: 83:[51, 63], Operations: ['45+6=51', '56+7=63']
Exploring Operation: 63-51=12, Resulting Numbers: [12]
12,83 unequal: No Solution
Exploring Operation: 51*63=3213, Resulting Numbers: [3213]
3213,83 unequal: No Solution
Exploring Operation: 51+63=114, Resulting Numbers: [114]
114,83 unequal: No Solution
Moving to Node #0,2,0
Current State: 83:[56, 44], Operations: ['45+6=51', '51-7=44']
Exploring Operation: 56-44=12, Resulting Numbers: [12]
12,83 unequal: No Solution
Exploring Operation: 56+44=100, Resulting Numbers: [100]
100,83 unequal: No Solution
Exploring Operation: 56*44=2464, Resulting Numbers: [2464]
2464,83 unequal: No Solution
Moving to Node #0,2,4
Current State: 83:[51, 49], Operations: ['45+6=51', '56-7=49']
Exploring Operation: 51+49=100, Resulting Numbers: [100]
100,83 unequal: No Solution
Exploring Operation: 51*49=2499, Resulting Numbers: [2499]
2499,83 unequal: No Solution
Exploring Operation: 51-49=2, Resulting Numbers: [2]
2,83 unequal: No Solution
Moving to Node #0,2,3
Current State: 83:[7, 107], Operations: ['45+6=51', '56+51=107']
Exploring Operation: 107-7=100, Resulting Numbers: [100]
100,83 unequal: No Solution
Exploring Operation: 7*107=749, Resulting Numbers: [749]
749,83 unequal: No Solution
Exploring Operation: 7+107=114, Resulting Numbers: [114]
114,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,4
Current State: 83:[45, 7, 62], Operations: ['56+6=62']
Exploring Operation: 45-7=38, Resulting Numbers: [62, 38]
Generated Node #0,4,0: 83:[62, 38] Operation: 45-7=38
Exploring Operation: 7+62=69, Resulting Numbers: [45, 69]
Generated Node #0,4,1: 83:[45, 69] Operation: 7+62=69
Exploring Operation: 45+7=52, Resulting Numbers: [62, 52]
Generated Node #0,4,2: 83:[62, 52] Operation: 45+7=52
Exploring Operation: 45+62=107, Resulting Numbers: [7, 107]
Generated Node #0,4,3: 83:[7, 107] Operation: 45+62=107
Exploring Operation: 62-7=55, Resulting Numbers: [45, 55]
Generated Node #0,4,4: 83:[45, 55] Operation: 62-7=55
Moving to Node #0,4,1
Current State: 83:[45, 69], Operations: ['56+6=62', '7+62=69']
Exploring Operation: 69-45=24, Resulting Numbers: [24]
24,83 unequal: No Solution
Exploring Operation: 45*69=3105, Resulting Numbers: [3105]
3105,83 unequal: No Solution
Exploring Operation: 45+69=114, Resulting Numbers: [114]
114,83 unequal: No Solution
Moving to Node #0,4,2
Current State: 83:[62, 52], Operations: ['56+6=62', '45+7=52']
Exploring Operation: 62*52=3224, Resulting Numbers: [3224]
3224,83 unequal: No Solution
Exploring Operation: 62-52=10, Resulting Numbers: [10]
10,83 unequal: No Solution
Exploring Operation: 62+52=114, Resulting Numbers: [114]
114,83 unequal: No Solution
Moving to Node #0,4,0
Current State: 83:[62, 38], Operations: ['56+6=62', '45-7=38']
Exploring Operation: 62+38=100, Resulting Numbers: [100]
100,83 unequal: No Solution
Exploring Operation: 62*38=2356, Resulting Numbers: [2356]
2356,83 unequal: No Solution
Exploring Operation: 62-38=24, Resulting Numbers: [24]
24,83 unequal: No Solution
Moving to Node #0,4,4
Current State: 83:[45, 55], Operations: ['56+6=62', '62-7=55']
Exploring Operation: 55-45=10, Resulting Numbers: [10]
10,83 unequal: No Solution
Exploring Operation: 45*55=2475, Resulting Numbers: [2475]
2475,83 unequal: No Solution
Exploring Operation: 45+55=100, Resulting Numbers: [100]
100,83 unequal: No Solution
Moving to Node #0,4,3
Current State: 83:[7, 107], Operations: ['56+6=62', '45+62=107']
Exploring Operation: 107-7=100, Resulting Numbers: [100]
100,83 unequal: No Solution
Exploring Operation: 7*107=749, Resulting Numbers: [749]
749,83 unequal: No Solution
Exploring Operation: 7+107=114, Resulting Numbers: [114]
114,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 | sum_heuristic |
[
76,
98,
93,
40
] | 31 | [
"98-76=22",
"93-40=53",
"53-22=31"
] | Current State: 31:[76, 98, 93, 40], Operations: []
Exploring Operation: 98-76=22, Resulting Numbers: [93, 40, 22]
Generated Node #2: [93, 40, 22] from Operation: 98-76=22
Current State: 31:[93, 40, 22], Operations: ['98-76=22']
Exploring Operation: 93-40=53, Resulting Numbers: [22, 53]
Generated Node #3: [22, 53] from Operation: 93-40=53
Current State: 31:[22, 53], Operations: ['98-76=22', '93-40=53']
Exploring Operation: 53-22=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[76, 98, 93, 40], Operations: []
Exploring Operation: 98-93=5, Resulting Numbers: [76, 40, 5]
Generated Node #0,0: 31:[76, 40, 5] Operation: 98-93=5
Exploring Operation: 98-76=22, Resulting Numbers: [93, 40, 22]
Generated Node #0,1: 31:[93, 40, 22] Operation: 98-76=22
Moving to Node #0,0
Current State: 31:[76, 40, 5], Operations: ['98-93=5']
Exploring Operation: 76-5=71, Resulting Numbers: [40, 71]
Generated Node #0,0,0: 31:[40, 71] Operation: 76-5=71
Exploring Operation: 76-40=36, Resulting Numbers: [5, 36]
Generated Node #0,0,1: 31:[5, 36] Operation: 76-40=36
Moving to Node #0,1
Current State: 31:[93, 40, 22], Operations: ['98-76=22']
Exploring Operation: 93-40=53, Resulting Numbers: [22, 53]
Generated Node #0,1,0: 31:[22, 53] Operation: 93-40=53
Exploring Operation: 93-22=71, Resulting Numbers: [40, 71]
Generated Node #0,1,1: 31:[40, 71] Operation: 93-22=71
Moving to Node #0,0,1
Current State: 31:[5, 36], Operations: ['98-93=5', '76-40=36']
Exploring Operation: 5+36=41, Resulting Numbers: [41]
41,31 unequal: No Solution
Exploring Operation: 36-5=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[76, 98, 93, 40], Operations: []
Exploring Operation: 98-93=5, Resulting Numbers: [76, 40, 5]
Generated Node #0,0: 31:[76, 40, 5] Operation: 98-93=5
Moving to Node #0,0
Current State: 31:[76, 40, 5], Operations: ['98-93=5']
Exploring Operation: 76-40=36, Resulting Numbers: [5, 36]
Generated Node #0,0,1: 31:[5, 36] Operation: 76-40=36
Moving to Node #0,0,1
Current State: 31:[5, 36], Operations: ['98-93=5', '76-40=36']
Exploring Operation: 36-5=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 0.989583 | hs_2 | sum_heuristic |
[
93,
2,
7,
8
] | 17 | [
"93-8=85",
"7-2=5",
"85/5=17"
] | Current State: 17:[93, 2, 7, 8], Operations: []
Exploring Operation: 93-8=85, Resulting Numbers: [2, 7, 85]
Generated Node #2: [2, 7, 85] from Operation: 93-8=85
Current State: 17:[2, 7, 85], Operations: ['93-8=85']
Exploring Operation: 7-2=5, Resulting Numbers: [85, 5]
Generated Node #3: [85, 5] from Operation: 7-2=5
Current State: 17:[85, 5], Operations: ['93-8=85', '7-2=5']
Exploring Operation: 85/5=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[93, 2, 7, 8], Operations: []
Exploring Operation: 2*8=16, Resulting Numbers: [93, 7, 16]
Generated Node #0,0: 17:[93, 7, 16] Operation: 2*8=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[93, 7, 16], Operations: ['2*8=16']
Exploring Operation: 93-7=86, Resulting Numbers: [16, 86]
Generated Node #0,0,0: 17:[16, 86] Operation: 93-7=86
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 17:[16, 86], Operations: ['2*8=16', '93-7=86']
Exploring Operation: 86-16=70, Resulting Numbers: [70]
70,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
59,
9,
9,
84
] | 26 | [
"84-59=25",
"9/9=1",
"25+1=26"
] | Current State: 26:[59, 9, 9, 84], Operations: []
Exploring Operation: 84-59=25, Resulting Numbers: [9, 9, 25]
Generated Node #2: [9, 9, 25] from Operation: 84-59=25
Current State: 26:[9, 9, 25], Operations: ['84-59=25']
Exploring Operation: 9/9=1, Resulting Numbers: [25, 1]
Generated Node #3: [25, 1] from Operation: 9/9=1
Current State: 26:[25, 1], Operations: ['84-59=25', '9/9=1']
Exploring Operation: 25+1=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[59, 9, 9, 84], Operations: []
Exploring Operation: 59-9=50, Resulting Numbers: [9, 84, 50]
Generated Node #0,0: 26:[9, 84, 50] Operation: 59-9=50
Exploring Operation: 59-9=50, Resulting Numbers: [9, 84, 50]
Generated Node #0,1: 26:[9, 84, 50] Operation: 59-9=50
Exploring Operation: 84-59=25, Resulting Numbers: [9, 9, 25]
Generated Node #0,2: 26:[9, 9, 25] Operation: 84-59=25
Moving to Node #0,2
Current State: 26:[9, 9, 25], Operations: ['84-59=25']
Exploring Operation: 9+9=18, Resulting Numbers: [25, 18]
Generated Node #0,2,0: 26:[25, 18] Operation: 9+9=18
Exploring Operation: 9/9=1, Resulting Numbers: [25, 1]
Generated Node #0,2,1: 26:[25, 1] Operation: 9/9=1
Exploring Operation: 9-9=0, Resulting Numbers: [25, 0]
Generated Node #0,2,2: 26:[25, 0] Operation: 9-9=0
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 26:[25, 1], Operations: ['84-59=25', '9/9=1']
Exploring Operation: 25+1=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[59, 9, 9, 84], Operations: []
Exploring Operation: 84-59=25, Resulting Numbers: [9, 9, 25]
Generated Node #0,2: 26:[9, 9, 25] Operation: 84-59=25
Moving to Node #0,2
Current State: 26:[9, 9, 25], Operations: ['84-59=25']
Exploring Operation: 9/9=1, Resulting Numbers: [25, 1]
Generated Node #0,2,1: 26:[25, 1] Operation: 9/9=1
Moving to Node #0,2,1
Current State: 26:[25, 1], Operations: ['84-59=25', '9/9=1']
Exploring Operation: 25+1=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
43,
20,
18,
8
] | 86 | [
"43*20=860",
"18-8=10",
"860/10=86"
] | Current State: 86:[43, 20, 18, 8], Operations: []
Exploring Operation: 43*20=860, Resulting Numbers: [18, 8, 860]
Generated Node #2: [18, 8, 860] from Operation: 43*20=860
Current State: 86:[18, 8, 860], Operations: ['43*20=860']
Exploring Operation: 18-8=10, Resulting Numbers: [860, 10]
Generated Node #3: [860, 10] from Operation: 18-8=10
Current State: 86:[860, 10], Operations: ['43*20=860', '18-8=10']
Exploring Operation: 860/10=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[43, 20, 18, 8], Operations: []
Exploring Operation: 20-18=2, Resulting Numbers: [43, 8, 2]
Generated Node #0,0: 86:[43, 8, 2] Operation: 20-18=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[43, 8, 2], Operations: ['20-18=2']
Exploring Operation: 8/2=4, Resulting Numbers: [43, 4]
Generated Node #0,0,0: 86:[43, 4] Operation: 8/2=4
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 86:[43, 4], Operations: ['20-18=2', '8/2=4']
Exploring Operation: 43+4=47, Resulting Numbers: [47]
47,86 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 |
[
4,
74,
23,
20
] | 62 | [
"23-20=3",
"4*3=12",
"74-12=62"
] | Current State: 62:[4, 74, 23, 20], Operations: []
Exploring Operation: 23-20=3, Resulting Numbers: [4, 74, 3]
Generated Node #2: [4, 74, 3] from Operation: 23-20=3
Current State: 62:[4, 74, 3], Operations: ['23-20=3']
Exploring Operation: 4*3=12, Resulting Numbers: [74, 12]
Generated Node #3: [74, 12] from Operation: 4*3=12
Current State: 62:[74, 12], Operations: ['23-20=3', '4*3=12']
Exploring Operation: 74-12=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[4, 74, 23, 20], Operations: []
Exploring Operation: 23-20=3, Resulting Numbers: [4, 74, 3]
Generated Node #0,0: 62:[4, 74, 3] Operation: 23-20=3
Moving to Node #0,0
Current State: 62:[4, 74, 3], Operations: ['23-20=3']
Exploring Operation: 74-4=70, Resulting Numbers: [3, 70]
Generated Node #0,0,0: 62:[3, 70] Operation: 74-4=70
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 62:[3, 70], Operations: ['23-20=3', '74-4=70']
Exploring Operation: 70-3=67, Resulting Numbers: [67]
67,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
1,
32,
31,
84
] | 85 | [
"1*32=32",
"84-31=53",
"32+53=85"
] | Current State: 85:[1, 32, 31, 84], Operations: []
Exploring Operation: 1*32=32, Resulting Numbers: [31, 84, 32]
Generated Node #2: [31, 84, 32] from Operation: 1*32=32
Current State: 85:[31, 84, 32], Operations: ['1*32=32']
Exploring Operation: 84-31=53, Resulting Numbers: [32, 53]
Generated Node #3: [32, 53] from Operation: 84-31=53
Current State: 85:[32, 53], Operations: ['1*32=32', '84-31=53']
Exploring Operation: 32+53=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[1, 32, 31, 84], Operations: []
Exploring Operation: 32-1=31, Resulting Numbers: [31, 84, 31]
Generated Node #0,0: 85:[31, 84, 31] Operation: 32-1=31
Exploring Operation: 32+31=63, Resulting Numbers: [1, 84, 63]
Generated Node #0,1: 85:[1, 84, 63] Operation: 32+31=63
Exploring Operation: 32-31=1, Resulting Numbers: [1, 84, 1]
Generated Node #0,2: 85:[1, 84, 1] Operation: 32-31=1
Exploring Operation: 31-1=30, Resulting Numbers: [32, 84, 30]
Generated Node #0,3: 85:[32, 84, 30] Operation: 31-1=30
Moving to Node #0,2
Current State: 85:[1, 84, 1], Operations: ['32-31=1']
Exploring Operation: 1*84=84, Resulting Numbers: [1, 84]
Generated Node #0,2,0: 85:[1, 84] Operation: 1*84=84
Exploring Operation: 1+84=85, Resulting Numbers: [1, 85]
Generated Node #0,2,1: 85:[1, 85] Operation: 1+84=85
Exploring Operation: 84+1=85, Resulting Numbers: [1, 85]
Generated Node #0,2,2: 85:[1, 85] Operation: 84+1=85
Exploring Operation: 1+1=2, Resulting Numbers: [84, 2]
Generated Node #0,2,3: 85:[84, 2] Operation: 1+1=2
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 85:[1, 85], Operations: ['32-31=1', '1+84=85']
Exploring Operation: 85/1=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[1, 32, 31, 84], Operations: []
Exploring Operation: 32-31=1, Resulting Numbers: [1, 84, 1]
Generated Node #0,2: 85:[1, 84, 1] Operation: 32-31=1
Moving to Node #0,2
Current State: 85:[1, 84, 1], Operations: ['32-31=1']
Exploring Operation: 1+84=85, Resulting Numbers: [1, 85]
Generated Node #0,2,1: 85:[1, 85] Operation: 1+84=85
Moving to Node #0,2,1
Current State: 85:[1, 85], Operations: ['32-31=1', '1+84=85']
Exploring Operation: 85/1=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
25,
93,
68,
87
] | 82 | [
"93-87=6",
"25*6=150",
"150-68=82"
] | Current State: 82:[25, 93, 68, 87], Operations: []
Exploring Operation: 93-87=6, Resulting Numbers: [25, 68, 6]
Generated Node #2: [25, 68, 6] from Operation: 93-87=6
Current State: 82:[25, 68, 6], Operations: ['93-87=6']
Exploring Operation: 25*6=150, Resulting Numbers: [68, 150]
Generated Node #3: [68, 150] from Operation: 25*6=150
Current State: 82:[68, 150], Operations: ['93-87=6', '25*6=150']
Exploring Operation: 150-68=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[25, 93, 68, 87], Operations: []
Exploring Operation: 68-25=43, Resulting Numbers: [93, 87, 43]
Generated Node #0,0: 82:[93, 87, 43] Operation: 68-25=43
Exploring Operation: 93-87=6, Resulting Numbers: [25, 68, 6]
Generated Node #0,1: 82:[25, 68, 6] Operation: 93-87=6
Exploring Operation: 25+68=93, Resulting Numbers: [93, 87, 93]
Generated Node #0,2: 82:[93, 87, 93] Operation: 25+68=93
Exploring Operation: 93-25=68, Resulting Numbers: [68, 87, 68]
Generated Node #0,3: 82:[68, 87, 68] Operation: 93-25=68
Moving to Node #0,0
Current State: 82:[93, 87, 43], Operations: ['68-25=43']
Exploring Operation: 93-43=50, Resulting Numbers: [87, 50]
Generated Node #0,0,0: 82:[87, 50] Operation: 93-43=50
Exploring Operation: 93+43=136, Resulting Numbers: [87, 136]
Generated Node #0,0,1: 82:[87, 136] Operation: 93+43=136
Exploring Operation: 93-87=6, Resulting Numbers: [43, 6]
Generated Node #0,0,2: 82:[43, 6] Operation: 93-87=6
Exploring Operation: 87-43=44, Resulting Numbers: [93, 44]
Generated Node #0,0,3: 82:[93, 44] Operation: 87-43=44
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 82:[43, 6], Operations: ['68-25=43', '93-87=6']
Exploring Operation: 43+6=49, Resulting Numbers: [49]
49,82 unequal: No Solution
Exploring Operation: 43-6=37, Resulting Numbers: [37]
37,82 unequal: No Solution
Exploring Operation: 43*6=258, Resulting Numbers: [258]
258,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 82:[87, 50], Operations: ['68-25=43', '93-43=50']
Exploring Operation: 87-50=37, Resulting Numbers: [37]
37,82 unequal: No Solution
Exploring Operation: 87+50=137, Resulting Numbers: [137]
137,82 unequal: No Solution
Exploring Operation: 87*50=4350, Resulting Numbers: [4350]
4350,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 82:[93, 44], Operations: ['68-25=43', '87-43=44']
Exploring Operation: 93+44=137, Resulting Numbers: [137]
137,82 unequal: No Solution
Exploring Operation: 93*44=4092, Resulting Numbers: [4092]
4092,82 unequal: No Solution
Exploring Operation: 93-44=49, Resulting Numbers: [49]
49,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 82:[87, 136], Operations: ['68-25=43', '93+43=136']
Exploring Operation: 87+136=223, Resulting Numbers: [223]
223,82 unequal: No Solution
Exploring Operation: 136-87=49, Resulting Numbers: [49]
49,82 unequal: No Solution
Exploring Operation: 87*136=11832, Resulting Numbers: [11832]
11832,82 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: 82:[93, 87, 93], Operations: ['25+68=93']
Exploring Operation: 93-93=0, Resulting Numbers: [87, 0]
Generated Node #0,2,0: 82:[87, 0] Operation: 93-93=0
Exploring Operation: 93-87=6, Resulting Numbers: [93, 6]
Generated Node #0,2,1: 82:[93, 6] Operation: 93-87=6
Exploring Operation: 93/93=1, Resulting Numbers: [87, 1]
Generated Node #0,2,2: 82:[87, 1] Operation: 93/93=1
Exploring Operation: 93-87=6, Resulting Numbers: [93, 6]
Generated Node #0,2,3: 82:[93, 6] Operation: 93-87=6
Moving to Node #0,3
Current State: 82:[68, 87, 68], Operations: ['93-25=68']
Exploring Operation: 87-68=19, Resulting Numbers: [68, 19]
Generated Node #0,3,0: 82:[68, 19] Operation: 87-68=19
Exploring Operation: 68-68=0, Resulting Numbers: [87, 0]
Generated Node #0,3,1: 82:[87, 0] Operation: 68-68=0
Exploring Operation: 87-68=19, Resulting Numbers: [68, 19]
Generated Node #0,3,2: 82:[68, 19] Operation: 87-68=19
Exploring Operation: 68/68=1, Resulting Numbers: [87, 1]
Generated Node #0,3,3: 82:[87, 1] Operation: 68/68=1
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 82:[87, 1], Operations: ['93-25=68', '68/68=1']
Exploring Operation: 87+1=88, Resulting Numbers: [88]
88,82 unequal: No Solution
Exploring Operation: 87*1=87, Resulting Numbers: [87]
87,82 unequal: No Solution
Exploring Operation: 87/1=87, Resulting Numbers: [87]
87,82 unequal: No Solution
Exploring Operation: 87-1=86, Resulting Numbers: [86]
86,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 82:[87, 0], Operations: ['93-25=68', '68-68=0']
Exploring Operation: 87*0=0, Resulting Numbers: [0]
0,82 unequal: No Solution
Exploring Operation: 87-0=87, Resulting Numbers: [87]
87,82 unequal: No Solution
Exploring Operation: 87+0=87, Resulting Numbers: [87]
87,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 82:[68, 19], Operations: ['93-25=68', '87-68=19']
Exploring Operation: 68-19=49, Resulting Numbers: [49]
49,82 unequal: No Solution
Exploring Operation: 68+19=87, Resulting Numbers: [87]
87,82 unequal: No Solution
Exploring Operation: 68*19=1292, Resulting Numbers: [1292]
1292,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 82:[68, 19], Operations: ['93-25=68', '87-68=19']
Exploring Operation: 68*19=1292, Resulting Numbers: [1292]
1292,82 unequal: No Solution
Exploring Operation: 68-19=49, Resulting Numbers: [49]
49,82 unequal: No Solution
Exploring Operation: 68+19=87, Resulting Numbers: [87]
87,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 82:[25, 68, 6], Operations: ['93-87=6']
Exploring Operation: 68+6=74, Resulting Numbers: [25, 74]
Generated Node #0,1,0: 82:[25, 74] Operation: 68+6=74
Exploring Operation: 68-25=43, Resulting Numbers: [6, 43]
Generated Node #0,1,1: 82:[6, 43] Operation: 68-25=43
Exploring Operation: 25+68=93, Resulting Numbers: [6, 93]
Generated Node #0,1,2: 82:[6, 93] Operation: 25+68=93
Exploring Operation: 25+6=31, Resulting Numbers: [68, 31]
Generated Node #0,1,3: 82:[68, 31] Operation: 25+6=31
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 82:[6, 43], Operations: ['93-87=6', '68-25=43']
Exploring Operation: 43-6=37, Resulting Numbers: [37]
37,82 unequal: No Solution
Exploring Operation: 6*43=258, Resulting Numbers: [258]
258,82 unequal: No Solution
Exploring Operation: 6+43=49, Resulting Numbers: [49]
49,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 82:[6, 93], Operations: ['93-87=6', '25+68=93']
Exploring Operation: 93-6=87, Resulting Numbers: [87]
87,82 unequal: No Solution
Exploring Operation: 6+93=99, Resulting Numbers: [99]
99,82 unequal: No Solution
Exploring Operation: 6*93=558, Resulting Numbers: [558]
558,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 82:[25, 74], Operations: ['93-87=6', '68+6=74']
Exploring Operation: 74-25=49, Resulting Numbers: [49]
49,82 unequal: No Solution
Exploring Operation: 25*74=1850, Resulting Numbers: [1850]
1850,82 unequal: No Solution
Exploring Operation: 25+74=99, Resulting Numbers: [99]
99,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 82:[68, 31], Operations: ['93-87=6', '25+6=31']
Exploring Operation: 68*31=2108, Resulting Numbers: [2108]
2108,82 unequal: No Solution
Exploring Operation: 68+31=99, Resulting Numbers: [99]
99,82 unequal: No Solution
Exploring Operation: 68-31=37, Resulting Numbers: [37]
37,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,2
Current State: 82:[87, 1], Operations: ['25+68=93', '93/93=1']
Exploring Operation: 87/1=87, Resulting Numbers: [87]
87,82 unequal: No Solution
Exploring Operation: 87*1=87, Resulting Numbers: [87]
87,82 unequal: No Solution
Exploring Operation: 87-1=86, Resulting Numbers: [86]
86,82 unequal: No Solution
Exploring Operation: 87+1=88, Resulting Numbers: [88]
88,82 unequal: No Solution
Moving to Node #0,2,0
Current State: 82:[87, 0], Operations: ['25+68=93', '93-93=0']
Exploring Operation: 87*0=0, Resulting Numbers: [0]
0,82 unequal: No Solution
Exploring Operation: 87-0=87, Resulting Numbers: [87]
87,82 unequal: No Solution
Exploring Operation: 87+0=87, Resulting Numbers: [87]
87,82 unequal: No Solution
Moving to Node #0,2,3
Current State: 82:[93, 6], Operations: ['25+68=93', '93-87=6']
Exploring Operation: 93-6=87, Resulting Numbers: [87]
87,82 unequal: No Solution
Exploring Operation: 93*6=558, Resulting Numbers: [558]
558,82 unequal: No Solution
Exploring Operation: 93+6=99, Resulting Numbers: [99]
99,82 unequal: No Solution
Moving to Node #0,2,1
Current State: 82:[93, 6], Operations: ['25+68=93', '93-87=6']
Exploring Operation: 93-6=87, Resulting Numbers: [87]
87,82 unequal: No Solution
Exploring Operation: 93+6=99, Resulting Numbers: [99]
99,82 unequal: No Solution
Exploring Operation: 93*6=558, Resulting Numbers: [558]
558,82 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
87,
30,
3,
42
] | 43 | [
"87-30=57",
"42/3=14",
"57-14=43"
] | Current State: 43:[87, 30, 3, 42], Operations: []
Exploring Operation: 87-30=57, Resulting Numbers: [3, 42, 57]
Generated Node #2: [3, 42, 57] from Operation: 87-30=57
Current State: 43:[3, 42, 57], Operations: ['87-30=57']
Exploring Operation: 42/3=14, Resulting Numbers: [57, 14]
Generated Node #3: [57, 14] from Operation: 42/3=14
Current State: 43:[57, 14], Operations: ['87-30=57', '42/3=14']
Exploring Operation: 57-14=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[87, 30, 3, 42], Operations: []
Exploring Operation: 87/3=29, Resulting Numbers: [30, 42, 29]
Generated Node #0,0: 43:[30, 42, 29] Operation: 87/3=29
Exploring Operation: 87-3=84, Resulting Numbers: [30, 42, 84]
Generated Node #0,1: 43:[30, 42, 84] Operation: 87-3=84
Exploring Operation: 87-30=57, Resulting Numbers: [3, 42, 57]
Generated Node #0,2: 43:[3, 42, 57] Operation: 87-30=57
Exploring Operation: 87-42=45, Resulting Numbers: [30, 3, 45]
Generated Node #0,3: 43:[30, 3, 45] Operation: 87-42=45
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[30, 42, 29], Operations: ['87/3=29']
Exploring Operation: 42+29=71, Resulting Numbers: [30, 71]
Generated Node #0,0,0: 43:[30, 71] Operation: 42+29=71
Exploring Operation: 30+42=72, Resulting Numbers: [29, 72]
Generated Node #0,0,1: 43:[29, 72] Operation: 30+42=72
Exploring Operation: 30+29=59, Resulting Numbers: [42, 59]
Generated Node #0,0,2: 43:[42, 59] Operation: 30+29=59
Exploring Operation: 30-29=1, Resulting Numbers: [42, 1]
Generated Node #0,0,3: 43:[42, 1] Operation: 30-29=1
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 43:[42, 59], Operations: ['87/3=29', '30+29=59']
Exploring Operation: 42+59=101, Resulting Numbers: [101]
101,43 unequal: No Solution
Exploring Operation: 59-42=17, Resulting Numbers: [17]
17,43 unequal: No Solution
Exploring Operation: 42*59=2478, Resulting Numbers: [2478]
2478,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 43:[30, 71], Operations: ['87/3=29', '42+29=71']
Exploring Operation: 30+71=101, Resulting Numbers: [101]
101,43 unequal: No Solution
Exploring Operation: 30*71=2130, Resulting Numbers: [2130]
2130,43 unequal: No Solution
Exploring Operation: 71-30=41, Resulting Numbers: [41]
41,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 43:[29, 72], Operations: ['87/3=29', '30+42=72']
Exploring Operation: 72-29=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[87, 30, 3, 42], Operations: []
Exploring Operation: 87/3=29, Resulting Numbers: [30, 42, 29]
Generated Node #0,0: 43:[30, 42, 29] Operation: 87/3=29
Moving to Node #0,0
Current State: 43:[30, 42, 29], Operations: ['87/3=29']
Exploring Operation: 30+42=72, Resulting Numbers: [29, 72]
Generated Node #0,0,1: 43:[29, 72] Operation: 30+42=72
Moving to Node #0,0,1
Current State: 43:[29, 72], Operations: ['87/3=29', '30+42=72']
Exploring Operation: 72-29=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_4 | sum_heuristic |
[
5,
42,
71,
92
] | 81 | [
"92-42=50",
"50/5=10",
"71+10=81"
] | Current State: 81:[5, 42, 71, 92], Operations: []
Exploring Operation: 92-42=50, Resulting Numbers: [5, 71, 50]
Generated Node #2: [5, 71, 50] from Operation: 92-42=50
Current State: 81:[5, 71, 50], Operations: ['92-42=50']
Exploring Operation: 50/5=10, Resulting Numbers: [71, 10]
Generated Node #3: [71, 10] from Operation: 50/5=10
Current State: 81:[71, 10], Operations: ['92-42=50', '50/5=10']
Exploring Operation: 71+10=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[5, 42, 71, 92], Operations: []
Exploring Operation: 71-42=29, Resulting Numbers: [5, 92, 29]
Generated Node #0,0: 81:[5, 92, 29] Operation: 71-42=29
Exploring Operation: 92-71=21, Resulting Numbers: [5, 42, 21]
Generated Node #0,1: 81:[5, 42, 21] Operation: 92-71=21
Moving to Node #0,0
Current State: 81:[5, 92, 29], Operations: ['71-42=29']
Exploring Operation: 92-5=87, Resulting Numbers: [29, 87]
Generated Node #0,0,0: 81:[29, 87] Operation: 92-5=87
Exploring Operation: 29-5=24, Resulting Numbers: [92, 24]
Generated Node #0,0,1: 81:[92, 24] Operation: 29-5=24
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 81:[29, 87], Operations: ['71-42=29', '92-5=87']
Exploring Operation: 87/29=3, Resulting Numbers: [3]
3,81 unequal: No Solution
Exploring Operation: 87-29=58, Resulting Numbers: [58]
58,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 81:[92, 24], Operations: ['71-42=29', '29-5=24']
Exploring Operation: 92-24=68, Resulting Numbers: [68]
68,81 unequal: No Solution
Exploring Operation: 92+24=116, Resulting Numbers: [116]
116,81 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: 81:[5, 42, 21], Operations: ['92-71=21']
Exploring Operation: 42/21=2, Resulting Numbers: [5, 2]
Generated Node #0,1,0: 81:[5, 2] Operation: 42/21=2
Exploring Operation: 42-21=21, Resulting Numbers: [5, 21]
Generated Node #0,1,1: 81:[5, 21] Operation: 42-21=21
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 81:[5, 2], Operations: ['92-71=21', '42/21=2']
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,81 unequal: No Solution
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 81:[5, 21], Operations: ['92-71=21', '42-21=21']
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,81 unequal: No Solution
Exploring Operation: 5+21=26, Resulting Numbers: [26]
26,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
2,
28,
57,
20
] | 95 | [
"20/2=10",
"28+57=85",
"10+85=95"
] | Current State: 95:[2, 28, 57, 20], Operations: []
Exploring Operation: 20/2=10, Resulting Numbers: [28, 57, 10]
Generated Node #2: [28, 57, 10] from Operation: 20/2=10
Current State: 95:[28, 57, 10], Operations: ['20/2=10']
Exploring Operation: 28+57=85, Resulting Numbers: [10, 85]
Generated Node #3: [10, 85] from Operation: 28+57=85
Current State: 95:[10, 85], Operations: ['20/2=10', '28+57=85']
Exploring Operation: 10+85=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[2, 28, 57, 20], Operations: []
Exploring Operation: 28+57=85, Resulting Numbers: [2, 20, 85]
Generated Node #0,0: 95:[2, 20, 85] Operation: 28+57=85
Exploring Operation: 57-28=29, Resulting Numbers: [2, 20, 29]
Generated Node #0,1: 95:[2, 20, 29] Operation: 57-28=29
Exploring Operation: 2*57=114, Resulting Numbers: [28, 20, 114]
Generated Node #0,2: 95:[28, 20, 114] Operation: 2*57=114
Moving to Node #0,0
Current State: 95:[2, 20, 85], Operations: ['28+57=85']
Exploring Operation: 2+20=22, Resulting Numbers: [85, 22]
Generated Node #0,0,0: 95:[85, 22] Operation: 2+20=22
Exploring Operation: 20-2=18, Resulting Numbers: [85, 18]
Generated Node #0,0,1: 95:[85, 18] Operation: 20-2=18
Exploring Operation: 2+85=87, Resulting Numbers: [20, 87]
Generated Node #0,0,2: 95:[20, 87] Operation: 2+85=87
Moving to Node #0,1
Current State: 95:[2, 20, 29], Operations: ['57-28=29']
Exploring Operation: 29-2=27, Resulting Numbers: [20, 27]
Generated Node #0,1,0: 95:[20, 27] Operation: 29-2=27
Exploring Operation: 20-2=18, Resulting Numbers: [29, 18]
Generated Node #0,1,1: 95:[29, 18] Operation: 20-2=18
Exploring Operation: 29-20=9, Resulting Numbers: [2, 9]
Generated Node #0,1,2: 95:[2, 9] Operation: 29-20=9
Moving to Node #0,2
Current State: 95:[28, 20, 114], Operations: ['2*57=114']
Exploring Operation: 28-20=8, Resulting Numbers: [114, 8]
Generated Node #0,2,0: 95:[114, 8] Operation: 28-20=8
Exploring Operation: 114-20=94, Resulting Numbers: [28, 94]
Generated Node #0,2,1: 95:[28, 94] Operation: 114-20=94
Exploring Operation: 114-28=86, Resulting Numbers: [20, 86]
Generated Node #0,2,2: 95:[20, 86] Operation: 114-28=86
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 95:[28, 94], Operations: ['2*57=114', '114-20=94']
Exploring Operation: 28*94=2632, Resulting Numbers: [2632]
2632,95 unequal: No Solution
Exploring Operation: 28+94=122, Resulting Numbers: [122]
122,95 unequal: No Solution
Exploring Operation: 94-28=66, Resulting Numbers: [66]
66,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 95:[20, 86], Operations: ['2*57=114', '114-28=86']
Exploring Operation: 20*86=1720, Resulting Numbers: [1720]
1720,95 unequal: No Solution
Exploring Operation: 86-20=66, Resulting Numbers: [66]
66,95 unequal: No Solution
Exploring Operation: 20+86=106, Resulting Numbers: [106]
106,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 95:[114, 8], Operations: ['2*57=114', '28-20=8']
Exploring Operation: 114+8=122, Resulting Numbers: [122]
122,95 unequal: No Solution
Exploring Operation: 114-8=106, Resulting Numbers: [106]
106,95 unequal: No Solution
Exploring Operation: 114*8=912, Resulting Numbers: [912]
912,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 95:[2, 9], Operations: ['57-28=29', '29-20=9']
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,95 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,95 unequal: No Solution
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,95 unequal: No Solution
Moving to Node #0,0,2
Current State: 95:[20, 87], Operations: ['28+57=85', '2+85=87']
Exploring Operation: 20+87=107, Resulting Numbers: [107]
107,95 unequal: No Solution
Exploring Operation: 87-20=67, Resulting Numbers: [67]
67,95 unequal: No Solution
Exploring Operation: 20*87=1740, Resulting Numbers: [1740]
1740,95 unequal: No Solution
Moving to Node #0,1,0
Current State: 95:[20, 27], Operations: ['57-28=29', '29-2=27']
Exploring Operation: 27-20=7, Resulting Numbers: [7]
7,95 unequal: No Solution
Exploring Operation: 20+27=47, Resulting Numbers: [47]
47,95 unequal: No Solution
Exploring Operation: 20*27=540, Resulting Numbers: [540]
540,95 unequal: No Solution
Moving to Node #0,1,1
Current State: 95:[29, 18], Operations: ['57-28=29', '20-2=18']
Exploring Operation: 29-18=11, Resulting Numbers: [11]
11,95 unequal: No Solution
Exploring Operation: 29+18=47, Resulting Numbers: [47]
47,95 unequal: No Solution
Exploring Operation: 29*18=522, Resulting Numbers: [522]
522,95 unequal: No Solution
Moving to Node #0,0,1
Current State: 95:[85, 18], Operations: ['28+57=85', '20-2=18']
Exploring Operation: 85*18=1530, Resulting Numbers: [1530]
1530,95 unequal: No Solution
Exploring Operation: 85+18=103, Resulting Numbers: [103]
103,95 unequal: No Solution
Exploring Operation: 85-18=67, Resulting Numbers: [67]
67,95 unequal: No Solution
Moving to Node #0,0,0
Current State: 95:[85, 22], Operations: ['28+57=85', '2+20=22']
Exploring Operation: 85*22=1870, Resulting Numbers: [1870]
1870,95 unequal: No Solution
Exploring Operation: 85+22=107, Resulting Numbers: [107]
107,95 unequal: No Solution
Exploring Operation: 85-22=63, Resulting Numbers: [63]
63,95 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
26,
68,
23,
89
] | 73 | [
"26*68=1768",
"1768-89=1679",
"1679/23=73"
] | Current State: 73:[26, 68, 23, 89], Operations: []
Exploring Operation: 26*68=1768, Resulting Numbers: [23, 89, 1768]
Generated Node #2: [23, 89, 1768] from Operation: 26*68=1768
Current State: 73:[23, 89, 1768], Operations: ['26*68=1768']
Exploring Operation: 1768-89=1679, Resulting Numbers: [23, 1679]
Generated Node #3: [23, 1679] from Operation: 1768-89=1679
Current State: 73:[23, 1679], Operations: ['26*68=1768', '1768-89=1679']
Exploring Operation: 1679/23=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[26, 68, 23, 89], Operations: []
Exploring Operation: 89-23=66, Resulting Numbers: [26, 68, 66]
Generated Node #0,0: 73:[26, 68, 66] Operation: 89-23=66
Exploring Operation: 26+23=49, Resulting Numbers: [68, 89, 49]
Generated Node #0,1: 73:[68, 89, 49] Operation: 26+23=49
Exploring Operation: 89-26=63, Resulting Numbers: [68, 23, 63]
Generated Node #0,2: 73:[68, 23, 63] Operation: 89-26=63
Exploring Operation: 68+23=91, Resulting Numbers: [26, 89, 91]
Generated Node #0,3: 73:[26, 89, 91] Operation: 68+23=91
Moving to Node #0,1
Current State: 73:[68, 89, 49], Operations: ['26+23=49']
Exploring Operation: 89+49=138, Resulting Numbers: [68, 138]
Generated Node #0,1,0: 73:[68, 138] Operation: 89+49=138
Exploring Operation: 89-49=40, Resulting Numbers: [68, 40]
Generated Node #0,1,1: 73:[68, 40] Operation: 89-49=40
Exploring Operation: 68-49=19, Resulting Numbers: [89, 19]
Generated Node #0,1,2: 73:[89, 19] Operation: 68-49=19
Exploring Operation: 68+49=117, Resulting Numbers: [89, 117]
Generated Node #0,1,3: 73:[89, 117] Operation: 68+49=117
Moving to Node #0,0
Current State: 73:[26, 68, 66], Operations: ['89-23=66']
Exploring Operation: 68-26=42, Resulting Numbers: [66, 42]
Generated Node #0,0,0: 73:[66, 42] Operation: 68-26=42
Exploring Operation: 66-26=40, Resulting Numbers: [68, 40]
Generated Node #0,0,1: 73:[68, 40] Operation: 66-26=40
Exploring Operation: 26+66=92, Resulting Numbers: [68, 92]
Generated Node #0,0,2: 73:[68, 92] Operation: 26+66=92
Exploring Operation: 26+68=94, Resulting Numbers: [66, 94]
Generated Node #0,0,3: 73:[66, 94] Operation: 26+68=94
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 73:[68, 92], Operations: ['89-23=66', '26+66=92']
Exploring Operation: 92-68=24, Resulting Numbers: [24]
24,73 unequal: No Solution
Exploring Operation: 68*92=6256, Resulting Numbers: [6256]
6256,73 unequal: No Solution
Exploring Operation: 68+92=160, Resulting Numbers: [160]
160,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,0,3
Current State: 73:[66, 94], Operations: ['89-23=66', '26+68=94']
Exploring Operation: 66+94=160, Resulting Numbers: [160]
160,73 unequal: No Solution
Exploring Operation: 66*94=6204, Resulting Numbers: [6204]
6204,73 unequal: No Solution
Exploring Operation: 94-66=28, Resulting Numbers: [28]
28,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,0,0
Current State: 73:[66, 42], Operations: ['89-23=66', '68-26=42']
Exploring Operation: 66*42=2772, Resulting Numbers: [2772]
2772,73 unequal: No Solution
Exploring Operation: 66-42=24, Resulting Numbers: [24]
24,73 unequal: No Solution
Exploring Operation: 66+42=108, Resulting Numbers: [108]
108,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,0,1
Current State: 73:[68, 40], Operations: ['89-23=66', '66-26=40']
Exploring Operation: 68+40=108, Resulting Numbers: [108]
108,73 unequal: No Solution
Exploring Operation: 68-40=28, Resulting Numbers: [28]
28,73 unequal: No Solution
Exploring Operation: 68*40=2720, Resulting Numbers: [2720]
2720,73 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: 73:[68, 23, 63], Operations: ['89-26=63']
Exploring Operation: 23+63=86, Resulting Numbers: [68, 86]
Generated Node #0,2,0: 73:[68, 86] Operation: 23+63=86
Exploring Operation: 63-23=40, Resulting Numbers: [68, 40]
Generated Node #0,2,1: 73:[68, 40] Operation: 63-23=40
Exploring Operation: 68+23=91, Resulting Numbers: [63, 91]
Generated Node #0,2,2: 73:[63, 91] Operation: 68+23=91
Exploring Operation: 68-23=45, Resulting Numbers: [63, 45]
Generated Node #0,2,3: 73:[63, 45] Operation: 68-23=45
Moving to Node #0,3
Current State: 73:[26, 89, 91], Operations: ['68+23=91']
Exploring Operation: 91-26=65, Resulting Numbers: [89, 65]
Generated Node #0,3,0: 73:[89, 65] Operation: 91-26=65
Exploring Operation: 26+89=115, Resulting Numbers: [91, 115]
Generated Node #0,3,1: 73:[91, 115] Operation: 26+89=115
Exploring Operation: 89-26=63, Resulting Numbers: [91, 63]
Generated Node #0,3,2: 73:[91, 63] Operation: 89-26=63
Exploring Operation: 26+91=117, Resulting Numbers: [89, 117]
Generated Node #0,3,3: 73:[89, 117] Operation: 26+91=117
Moving to Node #0,2,0
Current State: 73:[68, 86], Operations: ['89-26=63', '23+63=86']
Exploring Operation: 68+86=154, Resulting Numbers: [154]
154,73 unequal: No Solution
Exploring Operation: 86-68=18, Resulting Numbers: [18]
18,73 unequal: No Solution
Exploring Operation: 68*86=5848, Resulting Numbers: [5848]
5848,73 unequal: No Solution
Moving to Node #0,3,0
Current State: 73:[89, 65], Operations: ['68+23=91', '91-26=65']
Exploring Operation: 89*65=5785, Resulting Numbers: [5785]
5785,73 unequal: No Solution
Exploring Operation: 89+65=154, Resulting Numbers: [154]
154,73 unequal: No Solution
Exploring Operation: 89-65=24, Resulting Numbers: [24]
24,73 unequal: No Solution
Moving to Node #0,2,2
Current State: 73:[63, 91], Operations: ['89-26=63', '68+23=91']
Exploring Operation: 63*91=5733, Resulting Numbers: [5733]
5733,73 unequal: No Solution
Exploring Operation: 63+91=154, Resulting Numbers: [154]
154,73 unequal: No Solution
Exploring Operation: 91-63=28, Resulting Numbers: [28]
28,73 unequal: No Solution
Moving to Node #0,3,2
Current State: 73:[91, 63], Operations: ['68+23=91', '89-26=63']
Exploring Operation: 91*63=5733, Resulting Numbers: [5733]
5733,73 unequal: No Solution
Exploring Operation: 91+63=154, Resulting Numbers: [154]
154,73 unequal: No Solution
Exploring Operation: 91-63=28, Resulting Numbers: [28]
28,73 unequal: No Solution
Moving to Node #0,2,1
Current State: 73:[68, 40], Operations: ['89-26=63', '63-23=40']
Exploring Operation: 68+40=108, Resulting Numbers: [108]
108,73 unequal: No Solution
Exploring Operation: 68-40=28, Resulting Numbers: [28]
28,73 unequal: No Solution
Exploring Operation: 68*40=2720, Resulting Numbers: [2720]
2720,73 unequal: No Solution
Moving to Node #0,1,1
Current State: 73:[68, 40], Operations: ['26+23=49', '89-49=40']
Exploring Operation: 68+40=108, Resulting Numbers: [108]
108,73 unequal: No Solution
Exploring Operation: 68-40=28, Resulting Numbers: [28]
28,73 unequal: No Solution
Exploring Operation: 68*40=2720, Resulting Numbers: [2720]
2720,73 unequal: No Solution
Moving to Node #0,2,3
Current State: 73:[63, 45], Operations: ['89-26=63', '68-23=45']
Exploring Operation: 63*45=2835, Resulting Numbers: [2835]
2835,73 unequal: No Solution
Exploring Operation: 63-45=18, Resulting Numbers: [18]
18,73 unequal: No Solution
Exploring Operation: 63+45=108, Resulting Numbers: [108]
108,73 unequal: No Solution
Moving to Node #0,3,3
Current State: 73:[89, 117], Operations: ['68+23=91', '26+91=117']
Exploring Operation: 89+117=206, Resulting Numbers: [206]
206,73 unequal: No Solution
Exploring Operation: 89*117=10413, Resulting Numbers: [10413]
10413,73 unequal: No Solution
Exploring Operation: 117-89=28, Resulting Numbers: [28]
28,73 unequal: No Solution
Moving to Node #0,1,3
Current State: 73:[89, 117], Operations: ['26+23=49', '68+49=117']
Exploring Operation: 89+117=206, Resulting Numbers: [206]
206,73 unequal: No Solution
Exploring Operation: 89*117=10413, Resulting Numbers: [10413]
10413,73 unequal: No Solution
Exploring Operation: 117-89=28, Resulting Numbers: [28]
28,73 unequal: No Solution
Moving to Node #0,3,1
Current State: 73:[91, 115], Operations: ['68+23=91', '26+89=115']
Exploring Operation: 115-91=24, Resulting Numbers: [24]
24,73 unequal: No Solution
Exploring Operation: 91*115=10465, Resulting Numbers: [10465]
10465,73 unequal: No Solution
Exploring Operation: 91+115=206, Resulting Numbers: [206]
206,73 unequal: No Solution
Moving to Node #0,1,2
Current State: 73:[89, 19], Operations: ['26+23=49', '68-49=19']
Exploring Operation: 89+19=108, Resulting Numbers: [108]
108,73 unequal: No Solution
Exploring Operation: 89-19=70, Resulting Numbers: [70]
70,73 unequal: No Solution
Exploring Operation: 89*19=1691, Resulting Numbers: [1691]
1691,73 unequal: No Solution
Moving to Node #0,1,0
Current State: 73:[68, 138], Operations: ['26+23=49', '89+49=138']
Exploring Operation: 138-68=70, Resulting Numbers: [70]
70,73 unequal: No Solution
Exploring Operation: 68*138=9384, Resulting Numbers: [9384]
9384,73 unequal: No Solution
Exploring Operation: 68+138=206, Resulting Numbers: [206]
206,73 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
80,
16,
95,
19
] | 12 | [
"80-16=64",
"95-19=76",
"76-64=12"
] | Current State: 12:[80, 16, 95, 19], Operations: []
Exploring Operation: 80-16=64, Resulting Numbers: [95, 19, 64]
Generated Node #2: [95, 19, 64] from Operation: 80-16=64
Current State: 12:[95, 19, 64], Operations: ['80-16=64']
Exploring Operation: 95-19=76, Resulting Numbers: [64, 76]
Generated Node #3: [64, 76] from Operation: 95-19=76
Current State: 12:[64, 76], Operations: ['80-16=64', '95-19=76']
Exploring Operation: 76-64=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[80, 16, 95, 19], Operations: []
Exploring Operation: 95-80=15, Resulting Numbers: [16, 19, 15]
Generated Node #0,0: 12:[16, 19, 15] Operation: 95-80=15
Exploring Operation: 95/19=5, Resulting Numbers: [80, 16, 5]
Generated Node #0,1: 12:[80, 16, 5] Operation: 95/19=5
Exploring Operation: 80-19=61, Resulting Numbers: [16, 95, 61]
Generated Node #0,2: 12:[16, 95, 61] Operation: 80-19=61
Exploring Operation: 95-19=76, Resulting Numbers: [80, 16, 76]
Generated Node #0,3: 12:[80, 16, 76] Operation: 95-19=76
Exploring Operation: 80/16=5, Resulting Numbers: [95, 19, 5]
Generated Node #0,4: 12:[95, 19, 5] Operation: 80/16=5
Moving to Node #0,0
Current State: 12:[16, 19, 15], Operations: ['95-80=15']
Exploring Operation: 19-15=4, Resulting Numbers: [16, 4]
Generated Node #0,0,0: 12:[16, 4] Operation: 19-15=4
Exploring Operation: 16+15=31, Resulting Numbers: [19, 31]
Generated Node #0,0,1: 12:[19, 31] Operation: 16+15=31
Exploring Operation: 16-15=1, Resulting Numbers: [19, 1]
Generated Node #0,0,2: 12:[19, 1] Operation: 16-15=1
Exploring Operation: 19-16=3, Resulting Numbers: [15, 3]
Generated Node #0,0,3: 12:[15, 3] Operation: 19-16=3
Exploring Operation: 16+19=35, Resulting Numbers: [15, 35]
Generated Node #0,0,4: 12:[15, 35] Operation: 16+19=35
Moving to Node #0,1
Current State: 12:[80, 16, 5], Operations: ['95/19=5']
Exploring Operation: 80/5=16, Resulting Numbers: [16, 16]
Generated Node #0,1,0: 12:[16, 16] Operation: 80/5=16
Exploring Operation: 80-16=64, Resulting Numbers: [5, 64]
Generated Node #0,1,1: 12:[5, 64] Operation: 80-16=64
Exploring Operation: 80-5=75, Resulting Numbers: [16, 75]
Generated Node #0,1,2: 12:[16, 75] Operation: 80-5=75
Exploring Operation: 16-5=11, Resulting Numbers: [80, 11]
Generated Node #0,1,3: 12:[80, 11] Operation: 16-5=11
Exploring Operation: 80/16=5, Resulting Numbers: [5, 5]
Generated Node #0,1,4: 12:[5, 5] Operation: 80/16=5
Moving to Node #0,4
Current State: 12:[95, 19, 5], Operations: ['80/16=5']
Exploring Operation: 95-5=90, Resulting Numbers: [19, 90]
Generated Node #0,4,0: 12:[19, 90] Operation: 95-5=90
Exploring Operation: 19-5=14, Resulting Numbers: [95, 14]
Generated Node #0,4,1: 12:[95, 14] Operation: 19-5=14
Exploring Operation: 95/19=5, Resulting Numbers: [5, 5]
Generated Node #0,4,2: 12:[5, 5] Operation: 95/19=5
Exploring Operation: 95/5=19, Resulting Numbers: [19, 19]
Generated Node #0,4,3: 12:[19, 19] Operation: 95/5=19
Exploring Operation: 95-19=76, Resulting Numbers: [5, 76]
Generated Node #0,4,4: 12:[5, 76] Operation: 95-19=76
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 12:[5, 5], Operations: ['80/16=5', '95/19=5']
Exploring Operation: 5+5=10, Resulting Numbers: [10]
10,12 unequal: No Solution
Exploring Operation: 5-5=0, Resulting Numbers: [0]
0,12 unequal: No Solution
Exploring Operation: 5*5=25, Resulting Numbers: [25]
25,12 unequal: No Solution
Exploring Operation: 5/5=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,4,3
Current State: 12:[19, 19], Operations: ['80/16=5', '95/5=19']
Exploring Operation: 19+19=38, Resulting Numbers: [38]
38,12 unequal: No Solution
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=361, Resulting Numbers: [361]
361,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,4,4
Current State: 12:[5, 76], Operations: ['80/16=5', '95-19=76']
Exploring Operation: 5*76=380, Resulting Numbers: [380]
380,12 unequal: No Solution
Exploring Operation: 5+76=81, Resulting Numbers: [81]
81,12 unequal: No Solution
Exploring Operation: 76-5=71, Resulting Numbers: [71]
71,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,4,0
Current State: 12:[19, 90], Operations: ['80/16=5', '95-5=90']
Exploring Operation: 19*90=1710, Resulting Numbers: [1710]
1710,12 unequal: No Solution
Exploring Operation: 19+90=109, Resulting Numbers: [109]
109,12 unequal: No Solution
Exploring Operation: 90-19=71, Resulting Numbers: [71]
71,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,4,1
Current State: 12:[95, 14], Operations: ['80/16=5', '19-5=14']
Exploring Operation: 95-14=81, Resulting Numbers: [81]
81,12 unequal: No Solution
Exploring Operation: 95+14=109, Resulting Numbers: [109]
109,12 unequal: No Solution
Exploring Operation: 95*14=1330, Resulting Numbers: [1330]
1330,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:[16, 95, 61], Operations: ['80-19=61']
Exploring Operation: 16+61=77, Resulting Numbers: [95, 77]
Generated Node #0,2,0: 12:[95, 77] Operation: 16+61=77
Exploring Operation: 95-16=79, Resulting Numbers: [61, 79]
Generated Node #0,2,1: 12:[61, 79] Operation: 95-16=79
Exploring Operation: 95-61=34, Resulting Numbers: [16, 34]
Generated Node #0,2,2: 12:[16, 34] Operation: 95-61=34
Exploring Operation: 16+95=111, Resulting Numbers: [61, 111]
Generated Node #0,2,3: 12:[61, 111] Operation: 16+95=111
Exploring Operation: 61-16=45, Resulting Numbers: [95, 45]
Generated Node #0,2,4: 12:[95, 45] Operation: 61-16=45
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 12:[16, 34], Operations: ['80-19=61', '95-61=34']
Exploring Operation: 16*34=544, Resulting Numbers: [544]
544,12 unequal: No Solution
Exploring Operation: 16+34=50, Resulting Numbers: [50]
50,12 unequal: No Solution
Exploring Operation: 34-16=18, Resulting Numbers: [18]
18,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:[61, 79], Operations: ['80-19=61', '95-16=79']
Exploring Operation: 79-61=18, Resulting Numbers: [18]
18,12 unequal: No Solution
Exploring Operation: 61+79=140, Resulting Numbers: [140]
140,12 unequal: No Solution
Exploring Operation: 61*79=4819, Resulting Numbers: [4819]
4819,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,4
Current State: 12:[95, 45], Operations: ['80-19=61', '61-16=45']
Exploring Operation: 95*45=4275, Resulting Numbers: [4275]
4275,12 unequal: No Solution
Exploring Operation: 95+45=140, Resulting Numbers: [140]
140,12 unequal: No Solution
Exploring Operation: 95-45=50, Resulting Numbers: [50]
50,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:[95, 77], Operations: ['80-19=61', '16+61=77']
Exploring Operation: 95-77=18, Resulting Numbers: [18]
18,12 unequal: No Solution
Exploring Operation: 95+77=172, Resulting Numbers: [172]
172,12 unequal: No Solution
Exploring Operation: 95*77=7315, Resulting Numbers: [7315]
7315,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,3
Current State: 12:[61, 111], Operations: ['80-19=61', '16+95=111']
Exploring Operation: 61+111=172, Resulting Numbers: [172]
172,12 unequal: No Solution
Exploring Operation: 111-61=50, Resulting Numbers: [50]
50,12 unequal: No Solution
Exploring Operation: 61*111=6771, Resulting Numbers: [6771]
6771,12 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: 12:[80, 16, 76], Operations: ['95-19=76']
Exploring Operation: 80/16=5, Resulting Numbers: [76, 5]
Generated Node #0,3,0: 12:[76, 5] Operation: 80/16=5
Exploring Operation: 80-16=64, Resulting Numbers: [76, 64]
Generated Node #0,3,1: 12:[76, 64] Operation: 80-16=64
Exploring Operation: 76-16=60, Resulting Numbers: [80, 60]
Generated Node #0,3,2: 12:[80, 60] Operation: 76-16=60
Exploring Operation: 80+16=96, Resulting Numbers: [76, 96]
Generated Node #0,3,3: 12:[76, 96] Operation: 80+16=96
Exploring Operation: 80-76=4, Resulting Numbers: [16, 4]
Generated Node #0,3,4: 12:[16, 4] Operation: 80-76=4
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 12:[16, 4], Operations: ['95-19=76', '80-76=4']
Exploring Operation: 16*4=64, Resulting Numbers: [64]
64,12 unequal: No Solution
Exploring Operation: 16+4=20, Resulting Numbers: [20]
20,12 unequal: No Solution
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,12 unequal: No Solution
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[80, 16, 95, 19], Operations: []
Exploring Operation: 95-19=76, Resulting Numbers: [80, 16, 76]
Generated Node #0,3: 12:[80, 16, 76] Operation: 95-19=76
Moving to Node #0,3
Current State: 12:[80, 16, 76], Operations: ['95-19=76']
Exploring Operation: 80-76=4, Resulting Numbers: [16, 4]
Generated Node #0,3,4: 12:[16, 4] Operation: 80-76=4
Moving to Node #0,3,4
Current State: 12:[16, 4], Operations: ['95-19=76', '80-76=4']
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.939236 | hs_5 | mult_heuristic |
[
12,
30,
40,
35
] | 23 | [
"30-12=18",
"40-35=5",
"18+5=23"
] | Current State: 23:[12, 30, 40, 35], Operations: []
Exploring Operation: 30-12=18, Resulting Numbers: [40, 35, 18]
Generated Node #2: [40, 35, 18] from Operation: 30-12=18
Current State: 23:[40, 35, 18], Operations: ['30-12=18']
Exploring Operation: 40-35=5, Resulting Numbers: [18, 5]
Generated Node #3: [18, 5] from Operation: 40-35=5
Current State: 23:[18, 5], Operations: ['30-12=18', '40-35=5']
Exploring Operation: 18+5=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[12, 30, 40, 35], Operations: []
Exploring Operation: 40-30=10, Resulting Numbers: [12, 35, 10]
Generated Node #0,0: 23:[12, 35, 10] Operation: 40-30=10
Exploring Operation: 35-12=23, Resulting Numbers: [30, 40, 23]
Generated Node #0,1: 23:[30, 40, 23] Operation: 35-12=23
Exploring Operation: 40-12=28, Resulting Numbers: [30, 35, 28]
Generated Node #0,2: 23:[30, 35, 28] Operation: 40-12=28
Exploring Operation: 40-35=5, Resulting Numbers: [12, 30, 5]
Generated Node #0,3: 23:[12, 30, 5] Operation: 40-35=5
Exploring Operation: 30-12=18, Resulting Numbers: [40, 35, 18]
Generated Node #0,4: 23:[40, 35, 18] Operation: 30-12=18
Start Sub Search at level 1: Moving to Node #0,1
Current State: 23:[30, 40, 23], Operations: ['35-12=23']
Exploring Operation: 40-30=10, Resulting Numbers: [23, 10]
Generated Node #0,1,0: 23:[23, 10] Operation: 40-30=10
Exploring Operation: 30-23=7, Resulting Numbers: [40, 7]
Generated Node #0,1,1: 23:[40, 7] Operation: 30-23=7
Exploring Operation: 40-23=17, Resulting Numbers: [30, 17]
Generated Node #0,1,2: 23:[30, 17] Operation: 40-23=17
Exploring Operation: 30+40=70, Resulting Numbers: [23, 70]
Generated Node #0,1,3: 23:[23, 70] Operation: 30+40=70
Exploring Operation: 30+23=53, Resulting Numbers: [40, 53]
Generated Node #0,1,4: 23:[40, 53] Operation: 30+23=53
Moving to Node #0,1,0
Current State: 23:[23, 10], Operations: ['35-12=23', '40-30=10']
Exploring Operation: 23-10=13, Resulting Numbers: [13]
13,23 unequal: No Solution
Exploring Operation: 23*10=230, Resulting Numbers: [230]
230,23 unequal: No Solution
Exploring Operation: 23+10=33, Resulting Numbers: [33]
33,23 unequal: No Solution
Moving to Node #0,1,2
Current State: 23:[30, 17], Operations: ['35-12=23', '40-23=17']
Exploring Operation: 30-17=13, Resulting Numbers: [13]
13,23 unequal: No Solution
Exploring Operation: 30+17=47, Resulting Numbers: [47]
47,23 unequal: No Solution
Exploring Operation: 30*17=510, Resulting Numbers: [510]
510,23 unequal: No Solution
Moving to Node #0,1,1
Current State: 23:[40, 7], Operations: ['35-12=23', '30-23=7']
Exploring Operation: 40-7=33, Resulting Numbers: [33]
33,23 unequal: No Solution
Exploring Operation: 40+7=47, Resulting Numbers: [47]
47,23 unequal: No Solution
Exploring Operation: 40*7=280, Resulting Numbers: [280]
280,23 unequal: No Solution
Moving to Node #0,1,3
Current State: 23:[23, 70], Operations: ['35-12=23', '30+40=70']
Exploring Operation: 70-23=47, Resulting Numbers: [47]
47,23 unequal: No Solution
Exploring Operation: 23+70=93, Resulting Numbers: [93]
93,23 unequal: No Solution
Exploring Operation: 23*70=1610, Resulting Numbers: [1610]
1610,23 unequal: No Solution
Moving to Node #0,1,4
Current State: 23:[40, 53], Operations: ['35-12=23', '30+23=53']
Exploring Operation: 53-40=13, Resulting Numbers: [13]
13,23 unequal: No Solution
Exploring Operation: 40*53=2120, Resulting Numbers: [2120]
2120,23 unequal: No Solution
Exploring Operation: 40+53=93, Resulting Numbers: [93]
93,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
Current State: 23:[30, 35, 28], Operations: ['40-12=28']
Exploring Operation: 30-28=2, Resulting Numbers: [35, 2]
Generated Node #0,2,0: 23:[35, 2] Operation: 30-28=2
Exploring Operation: 30+28=58, Resulting Numbers: [35, 58]
Generated Node #0,2,1: 23:[35, 58] Operation: 30+28=58
Exploring Operation: 35-30=5, Resulting Numbers: [28, 5]
Generated Node #0,2,2: 23:[28, 5] Operation: 35-30=5
Exploring Operation: 30+35=65, Resulting Numbers: [28, 65]
Generated Node #0,2,3: 23:[28, 65] Operation: 30+35=65
Exploring Operation: 35-28=7, Resulting Numbers: [30, 7]
Generated Node #0,2,4: 23:[30, 7] Operation: 35-28=7
Moving to Node #0,2,2
Current State: 23:[28, 5], Operations: ['40-12=28', '35-30=5']
Exploring Operation: 28-5=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[12, 30, 40, 35], Operations: []
Exploring Operation: 40-12=28, Resulting Numbers: [30, 35, 28]
Generated Node #0,2: 23:[30, 35, 28] Operation: 40-12=28
Moving to Node #0,2
Current State: 23:[30, 35, 28], Operations: ['40-12=28']
Exploring Operation: 35-30=5, Resulting Numbers: [28, 5]
Generated Node #0,2,2: 23:[28, 5] Operation: 35-30=5
Moving to Node #0,2,2
Current State: 23:[28, 5], Operations: ['40-12=28', '35-30=5']
Exploring Operation: 28-5=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 1
| 0.969618 | hs_5 | mult_heuristic |
[
99,
4,
12,
57
] | 20 | [
"99-4=95",
"12*95=1140",
"1140/57=20"
] | Current State: 20:[99, 4, 12, 57], Operations: []
Exploring Operation: 99-4=95, Resulting Numbers: [12, 57, 95]
Generated Node #2: [12, 57, 95] from Operation: 99-4=95
Current State: 20:[12, 57, 95], Operations: ['99-4=95']
Exploring Operation: 12*95=1140, Resulting Numbers: [57, 1140]
Generated Node #3: [57, 1140] from Operation: 12*95=1140
Current State: 20:[57, 1140], Operations: ['99-4=95', '12*95=1140']
Exploring Operation: 1140/57=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[99, 4, 12, 57], Operations: []
Exploring Operation: 57-12=45, Resulting Numbers: [99, 4, 45]
Generated Node #0,0: 20:[99, 4, 45] Operation: 57-12=45
Exploring Operation: 99-57=42, Resulting Numbers: [4, 12, 42]
Generated Node #0,1: 20:[4, 12, 42] Operation: 99-57=42
Exploring Operation: 99-12=87, Resulting Numbers: [4, 57, 87]
Generated Node #0,2: 20:[4, 57, 87] Operation: 99-12=87
Exploring Operation: 99-4=95, Resulting Numbers: [12, 57, 95]
Generated Node #0,3: 20:[12, 57, 95] Operation: 99-4=95
Start Sub Search at level 1: Moving to Node #0,1
Current State: 20:[4, 12, 42], Operations: ['99-57=42']
Exploring Operation: 12/4=3, Resulting Numbers: [42, 3]
Generated Node #0,1,0: 20:[42, 3] Operation: 12/4=3
Exploring Operation: 42-12=30, Resulting Numbers: [4, 30]
Generated Node #0,1,1: 20:[4, 30] Operation: 42-12=30
Exploring Operation: 12-4=8, Resulting Numbers: [42, 8]
Generated Node #0,1,2: 20:[42, 8] Operation: 12-4=8
Exploring Operation: 42-4=38, Resulting Numbers: [12, 38]
Generated Node #0,1,3: 20:[12, 38] Operation: 42-4=38
Moving to Node #0,1,1
Current State: 20:[4, 30], Operations: ['99-57=42', '42-12=30']
Exploring Operation: 4*30=120, Resulting Numbers: [120]
120,20 unequal: No Solution
Exploring Operation: 4+30=34, Resulting Numbers: [34]
34,20 unequal: No Solution
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,20 unequal: No Solution
Moving to Node #0,1,3
Current State: 20:[12, 38], Operations: ['99-57=42', '42-4=38']
Exploring Operation: 12+38=50, Resulting Numbers: [50]
50,20 unequal: No Solution
Exploring Operation: 12*38=456, Resulting Numbers: [456]
456,20 unequal: No Solution
Exploring Operation: 38-12=26, Resulting Numbers: [26]
26,20 unequal: No Solution
Moving to Node #0,1,0
Current State: 20:[42, 3], Operations: ['99-57=42', '12/4=3']
Exploring Operation: 42+3=45, Resulting Numbers: [45]
45,20 unequal: No Solution
Exploring Operation: 42*3=126, Resulting Numbers: [126]
126,20 unequal: No Solution
Exploring Operation: 42/3=14, Resulting Numbers: [14]
14,20 unequal: No Solution
Exploring Operation: 42-3=39, Resulting Numbers: [39]
39,20 unequal: No Solution
Moving to Node #0,1,2
Current State: 20:[42, 8], Operations: ['99-57=42', '12-4=8']
Exploring Operation: 42-8=34, Resulting Numbers: [34]
34,20 unequal: No Solution
Exploring Operation: 42*8=336, Resulting Numbers: [336]
336,20 unequal: No Solution
Exploring Operation: 42+8=50, Resulting Numbers: [50]
50,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[99, 4, 45], Operations: ['57-12=45']
Exploring Operation: 99-4=95, Resulting Numbers: [45, 95]
Generated Node #0,0,0: 20:[45, 95] Operation: 99-4=95
Exploring Operation: 45-4=41, Resulting Numbers: [99, 41]
Generated Node #0,0,1: 20:[99, 41] Operation: 45-4=41
Exploring Operation: 99+4=103, Resulting Numbers: [45, 103]
Generated Node #0,0,2: 20:[45, 103] Operation: 99+4=103
Exploring Operation: 99-45=54, Resulting Numbers: [4, 54]
Generated Node #0,0,3: 20:[4, 54] Operation: 99-45=54
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 20:[4, 54], Operations: ['57-12=45', '99-45=54']
Exploring Operation: 4+54=58, Resulting Numbers: [58]
58,20 unequal: No Solution
Exploring Operation: 54-4=50, Resulting Numbers: [50]
50,20 unequal: No Solution
Exploring Operation: 4*54=216, Resulting Numbers: [216]
216,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 20:[45, 95], Operations: ['57-12=45', '99-4=95']
Exploring Operation: 95-45=50, Resulting Numbers: [50]
50,20 unequal: No Solution
Exploring Operation: 45*95=4275, Resulting Numbers: [4275]
4275,20 unequal: No Solution
Exploring Operation: 45+95=140, Resulting Numbers: [140]
140,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 20:[99, 41], Operations: ['57-12=45', '45-4=41']
Exploring Operation: 99-41=58, Resulting Numbers: [58]
58,20 unequal: No Solution
Exploring Operation: 99*41=4059, Resulting Numbers: [4059]
4059,20 unequal: No Solution
Exploring Operation: 99+41=140, Resulting Numbers: [140]
140,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 20:[45, 103], Operations: ['57-12=45', '99+4=103']
Exploring Operation: 103-45=58, Resulting Numbers: [58]
58,20 unequal: No Solution
Exploring Operation: 45*103=4635, Resulting Numbers: [4635]
4635,20 unequal: No Solution
Exploring Operation: 45+103=148, Resulting Numbers: [148]
148,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 20:[4, 57, 87], Operations: ['99-12=87']
Exploring Operation: 57-4=53, Resulting Numbers: [87, 53]
Generated Node #0,2,0: 20:[87, 53] Operation: 57-4=53
Exploring Operation: 87-57=30, Resulting Numbers: [4, 30]
Generated Node #0,2,1: 20:[4, 30] Operation: 87-57=30
Exploring Operation: 87-4=83, Resulting Numbers: [57, 83]
Generated Node #0,2,2: 20:[57, 83] Operation: 87-4=83
Exploring Operation: 4+57=61, Resulting Numbers: [87, 61]
Generated Node #0,2,3: 20:[87, 61] Operation: 4+57=61
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 20:[4, 30], Operations: ['99-12=87', '87-57=30']
Exploring Operation: 4*30=120, Resulting Numbers: [120]
120,20 unequal: No Solution
Exploring Operation: 4+30=34, Resulting Numbers: [34]
34,20 unequal: No Solution
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 20:[87, 53], Operations: ['99-12=87', '57-4=53']
Exploring Operation: 87+53=140, Resulting Numbers: [140]
140,20 unequal: No Solution
Exploring Operation: 87*53=4611, Resulting Numbers: [4611]
4611,20 unequal: No Solution
Exploring Operation: 87-53=34, Resulting Numbers: [34]
34,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 20:[57, 83], Operations: ['99-12=87', '87-4=83']
Exploring Operation: 57*83=4731, Resulting Numbers: [4731]
4731,20 unequal: No Solution
Exploring Operation: 83-57=26, Resulting Numbers: [26]
26,20 unequal: No Solution
Exploring Operation: 57+83=140, Resulting Numbers: [140]
140,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 20:[87, 61], Operations: ['99-12=87', '4+57=61']
Exploring Operation: 87*61=5307, Resulting Numbers: [5307]
5307,20 unequal: No Solution
Exploring Operation: 87-61=26, Resulting Numbers: [26]
26,20 unequal: No Solution
Exploring Operation: 87+61=148, Resulting Numbers: [148]
148,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 20:[12, 57, 95], Operations: ['99-4=95']
Exploring Operation: 12+57=69, Resulting Numbers: [95, 69]
Generated Node #0,3,0: 20:[95, 69] Operation: 12+57=69
Exploring Operation: 95-12=83, Resulting Numbers: [57, 83]
Generated Node #0,3,1: 20:[57, 83] Operation: 95-12=83
Exploring Operation: 95-57=38, Resulting Numbers: [12, 38]
Generated Node #0,3,2: 20:[12, 38] Operation: 95-57=38
Exploring Operation: 57-12=45, Resulting Numbers: [95, 45]
Generated Node #0,3,3: 20:[95, 45] Operation: 57-12=45
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 20:[12, 38], Operations: ['99-4=95', '95-57=38']
Exploring Operation: 12*38=456, Resulting Numbers: [456]
456,20 unequal: No Solution
Exploring Operation: 12+38=50, Resulting Numbers: [50]
50,20 unequal: No Solution
Exploring Operation: 38-12=26, Resulting Numbers: [26]
26,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 20:[57, 83], Operations: ['99-4=95', '95-12=83']
Exploring Operation: 83-57=26, Resulting Numbers: [26]
26,20 unequal: No Solution
Exploring Operation: 57*83=4731, Resulting Numbers: [4731]
4731,20 unequal: No Solution
Exploring Operation: 57+83=140, Resulting Numbers: [140]
140,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 20:[95, 45], Operations: ['99-4=95', '57-12=45']
Exploring Operation: 95+45=140, Resulting Numbers: [140]
140,20 unequal: No Solution
Exploring Operation: 95-45=50, Resulting Numbers: [50]
50,20 unequal: No Solution
Exploring Operation: 95*45=4275, Resulting Numbers: [4275]
4275,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 20:[95, 69], Operations: ['99-4=95', '12+57=69']
Exploring Operation: 95*69=6555, Resulting Numbers: [6555]
6555,20 unequal: No Solution
Exploring Operation: 95-69=26, Resulting Numbers: [26]
26,20 unequal: No Solution
Exploring Operation: 95+69=164, Resulting Numbers: [164]
164,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
25,
21,
72,
36
] | 81 | [
"25-21=4",
"36/4=9",
"72+9=81"
] | Current State: 81:[25, 21, 72, 36], Operations: []
Exploring Operation: 25-21=4, Resulting Numbers: [72, 36, 4]
Generated Node #2: [72, 36, 4] from Operation: 25-21=4
Current State: 81:[72, 36, 4], Operations: ['25-21=4']
Exploring Operation: 36/4=9, Resulting Numbers: [72, 9]
Generated Node #3: [72, 9] from Operation: 36/4=9
Current State: 81:[72, 9], Operations: ['25-21=4', '36/4=9']
Exploring Operation: 72+9=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[25, 21, 72, 36], Operations: []
Exploring Operation: 72/36=2, Resulting Numbers: [25, 21, 2]
Generated Node #0,0: 81:[25, 21, 2] Operation: 72/36=2
Exploring Operation: 36-25=11, Resulting Numbers: [21, 72, 11]
Generated Node #0,1: 81:[21, 72, 11] Operation: 36-25=11
Exploring Operation: 36-21=15, Resulting Numbers: [25, 72, 15]
Generated Node #0,2: 81:[25, 72, 15] Operation: 36-21=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[25, 21, 2], Operations: ['72/36=2']
Exploring Operation: 25-21=4, Resulting Numbers: [2, 4]
Generated Node #0,0,0: 81:[2, 4] Operation: 25-21=4
Exploring Operation: 25+2=27, Resulting Numbers: [21, 27]
Generated Node #0,0,1: 81:[21, 27] Operation: 25+2=27
Exploring Operation: 21+2=23, Resulting Numbers: [25, 23]
Generated Node #0,0,2: 81:[25, 23] Operation: 21+2=23
Moving to Node #0,0,0
Current State: 81:[2, 4], Operations: ['72/36=2', '25-21=4']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,81 unequal: No Solution
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,81 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,81 unequal: No Solution
Moving to Node #0,0,1
Current State: 81:[21, 27], Operations: ['72/36=2', '25+2=27']
Exploring Operation: 21*27=567, Resulting Numbers: [567]
567,81 unequal: No Solution
Exploring Operation: 21+27=48, Resulting Numbers: [48]
48,81 unequal: No Solution
Exploring Operation: 27-21=6, Resulting Numbers: [6]
6,81 unequal: No Solution
Moving to Node #0,0,2
Current State: 81:[25, 23], Operations: ['72/36=2', '21+2=23']
Exploring Operation: 25*23=575, Resulting Numbers: [575]
575,81 unequal: No Solution
Exploring Operation: 25-23=2, Resulting Numbers: [2]
2,81 unequal: No Solution
Exploring Operation: 25+23=48, Resulting Numbers: [48]
48,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 81:[21, 72, 11], Operations: ['36-25=11']
Exploring Operation: 21+72=93, Resulting Numbers: [11, 93]
Generated Node #0,1,0: 81:[11, 93] Operation: 21+72=93
Exploring Operation: 21-11=10, Resulting Numbers: [72, 10]
Generated Node #0,1,1: 81:[72, 10] Operation: 21-11=10
Exploring Operation: 72+11=83, Resulting Numbers: [21, 83]
Generated Node #0,1,2: 81:[21, 83] Operation: 72+11=83
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 81:[21, 83], Operations: ['36-25=11', '72+11=83']
Exploring Operation: 21*83=1743, Resulting Numbers: [1743]
1743,81 unequal: No Solution
Exploring Operation: 83-21=62, Resulting Numbers: [62]
62,81 unequal: No Solution
Exploring Operation: 21+83=104, Resulting Numbers: [104]
104,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 81:[72, 10], Operations: ['36-25=11', '21-11=10']
Exploring Operation: 72-10=62, Resulting Numbers: [62]
62,81 unequal: No Solution
Exploring Operation: 72*10=720, Resulting Numbers: [720]
720,81 unequal: No Solution
Exploring Operation: 72+10=82, Resulting Numbers: [82]
82,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 81:[11, 93], Operations: ['36-25=11', '21+72=93']
Exploring Operation: 93-11=82, Resulting Numbers: [82]
82,81 unequal: No Solution
Exploring Operation: 11*93=1023, Resulting Numbers: [1023]
1023,81 unequal: No Solution
Exploring Operation: 11+93=104, Resulting Numbers: [104]
104,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 81:[25, 72, 15], Operations: ['36-21=15']
Exploring Operation: 72+15=87, Resulting Numbers: [25, 87]
Generated Node #0,2,0: 81:[25, 87] Operation: 72+15=87
Exploring Operation: 25+72=97, Resulting Numbers: [15, 97]
Generated Node #0,2,1: 81:[15, 97] Operation: 25+72=97
Exploring Operation: 25-15=10, Resulting Numbers: [72, 10]
Generated Node #0,2,2: 81:[72, 10] Operation: 25-15=10
Moving to Node #0,2,0
Current State: 81:[25, 87], Operations: ['36-21=15', '72+15=87']
Exploring Operation: 25*87=2175, Resulting Numbers: [2175]
2175,81 unequal: No Solution
Exploring Operation: 87-25=62, Resulting Numbers: [62]
62,81 unequal: No Solution
Exploring Operation: 25+87=112, Resulting Numbers: [112]
112,81 unequal: No Solution
Moving to Node #0,2,2
Current State: 81:[72, 10], Operations: ['36-21=15', '25-15=10']
Exploring Operation: 72*10=720, Resulting Numbers: [720]
720,81 unequal: No Solution
Exploring Operation: 72-10=62, Resulting Numbers: [62]
62,81 unequal: No Solution
Exploring Operation: 72+10=82, Resulting Numbers: [82]
82,81 unequal: No Solution
Moving to Node #0,2,1
Current State: 81:[15, 97], Operations: ['36-21=15', '25+72=97']
Exploring Operation: 97-15=82, Resulting Numbers: [82]
82,81 unequal: No Solution
Exploring Operation: 15*97=1455, Resulting Numbers: [1455]
1455,81 unequal: No Solution
Exploring Operation: 15+97=112, Resulting Numbers: [112]
112,81 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 |
[
4,
64,
56,
12
] | 44 | [
"64-56=8",
"4*8=32",
"12+32=44"
] | Current State: 44:[4, 64, 56, 12], Operations: []
Exploring Operation: 64-56=8, Resulting Numbers: [4, 12, 8]
Generated Node #2: [4, 12, 8] from Operation: 64-56=8
Current State: 44:[4, 12, 8], Operations: ['64-56=8']
Exploring Operation: 4*8=32, Resulting Numbers: [12, 32]
Generated Node #3: [12, 32] from Operation: 4*8=32
Current State: 44:[12, 32], Operations: ['64-56=8', '4*8=32']
Exploring Operation: 12+32=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[4, 64, 56, 12], Operations: []
Exploring Operation: 64/4=16, Resulting Numbers: [56, 12, 16]
Generated Node #0,0: 44:[56, 12, 16] Operation: 64/4=16
Exploring Operation: 64-56=8, Resulting Numbers: [4, 12, 8]
Generated Node #0,1: 44:[4, 12, 8] Operation: 64-56=8
Exploring Operation: 64-12=52, Resulting Numbers: [4, 56, 52]
Generated Node #0,2: 44:[4, 56, 52] Operation: 64-12=52
Moving to Node #0,1
Current State: 44:[4, 12, 8], Operations: ['64-56=8']
Exploring Operation: 8/4=2, Resulting Numbers: [12, 2]
Generated Node #0,1,0: 44:[12, 2] Operation: 8/4=2
Exploring Operation: 8-4=4, Resulting Numbers: [12, 4]
Generated Node #0,1,1: 44:[12, 4] Operation: 8-4=4
Exploring Operation: 12-8=4, Resulting Numbers: [4, 4]
Generated Node #0,1,2: 44:[4, 4] Operation: 12-8=4
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 44:[4, 4], Operations: ['64-56=8', '12-8=4']
Exploring Operation: 4-4=0, Resulting Numbers: [0]
0,44 unequal: No Solution
Exploring Operation: 4/4=1, Resulting Numbers: [1]
1,44 unequal: No Solution
Exploring Operation: 4+4=8, Resulting Numbers: [8]
8,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 44:[12, 2], Operations: ['64-56=8', '8/4=2']
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,44 unequal: No Solution
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,44 unequal: No Solution
Exploring Operation: 12*2=24, Resulting Numbers: [24]
24,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 44:[12, 4], Operations: ['64-56=8', '8-4=4']
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,44 unequal: No Solution
Exploring Operation: 12*4=48, Resulting Numbers: [48]
48,44 unequal: No Solution
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,44 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: 44:[56, 12, 16], Operations: ['64/4=16']
Exploring Operation: 56-16=40, Resulting Numbers: [12, 40]
Generated Node #0,0,0: 44:[12, 40] Operation: 56-16=40
Exploring Operation: 16-12=4, Resulting Numbers: [56, 4]
Generated Node #0,0,1: 44:[56, 4] Operation: 16-12=4
Exploring Operation: 56-12=44, Resulting Numbers: [16, 44]
Generated Node #0,0,2: 44:[16, 44] Operation: 56-12=44
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 44:[12, 40], Operations: ['64/4=16', '56-16=40']
Exploring Operation: 12*40=480, Resulting Numbers: [480]
480,44 unequal: No Solution
Exploring Operation: 40-12=28, Resulting Numbers: [28]
28,44 unequal: No Solution
Exploring Operation: 12+40=52, Resulting Numbers: [52]
52,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 44:[16, 44], Operations: ['64/4=16', '56-12=44']
Exploring Operation: 16*44=704, Resulting Numbers: [704]
704,44 unequal: No Solution
Exploring Operation: 16+44=60, Resulting Numbers: [60]
60,44 unequal: No Solution
Exploring Operation: 44-16=28, Resulting Numbers: [28]
28,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 44:[56, 4], Operations: ['64/4=16', '16-12=4']
Exploring Operation: 56-4=52, Resulting Numbers: [52]
52,44 unequal: No Solution
Exploring Operation: 56+4=60, Resulting Numbers: [60]
60,44 unequal: No Solution
Exploring Operation: 56/4=14, Resulting Numbers: [14]
14,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 44:[4, 56, 52], Operations: ['64-12=52']
Exploring Operation: 52/4=13, Resulting Numbers: [56, 13]
Generated Node #0,2,0: 44:[56, 13] Operation: 52/4=13
Exploring Operation: 56/4=14, Resulting Numbers: [52, 14]
Generated Node #0,2,1: 44:[52, 14] Operation: 56/4=14
Exploring Operation: 56-52=4, Resulting Numbers: [4, 4]
Generated Node #0,2,2: 44:[4, 4] Operation: 56-52=4
Moving to Node #0,2,2
Current State: 44:[4, 4], Operations: ['64-12=52', '56-52=4']
Exploring Operation: 4-4=0, Resulting Numbers: [0]
0,44 unequal: No Solution
Exploring Operation: 4+4=8, Resulting Numbers: [8]
8,44 unequal: No Solution
Exploring Operation: 4/4=1, Resulting Numbers: [1]
1,44 unequal: No Solution
Moving to Node #0,2,1
Current State: 44:[52, 14], Operations: ['64-12=52', '56/4=14']
Exploring Operation: 52-14=38, Resulting Numbers: [38]
38,44 unequal: No Solution
Exploring Operation: 52*14=728, Resulting Numbers: [728]
728,44 unequal: No Solution
Exploring Operation: 52+14=66, Resulting Numbers: [66]
66,44 unequal: No Solution
Moving to Node #0,2,0
Current State: 44:[56, 13], Operations: ['64-12=52', '52/4=13']
Exploring Operation: 56*13=728, Resulting Numbers: [728]
728,44 unequal: No Solution
Exploring Operation: 56+13=69, Resulting Numbers: [69]
69,44 unequal: No Solution
Exploring Operation: 56-13=43, Resulting Numbers: [43]
43,44 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
41,
50,
22,
40
] | 53 | [
"50-41=9",
"22+40=62",
"62-9=53"
] | Current State: 53:[41, 50, 22, 40], Operations: []
Exploring Operation: 50-41=9, Resulting Numbers: [22, 40, 9]
Generated Node #2: [22, 40, 9] from Operation: 50-41=9
Current State: 53:[22, 40, 9], Operations: ['50-41=9']
Exploring Operation: 22+40=62, Resulting Numbers: [9, 62]
Generated Node #3: [9, 62] from Operation: 22+40=62
Current State: 53:[9, 62], Operations: ['50-41=9', '22+40=62']
Exploring Operation: 62-9=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[41, 50, 22, 40], Operations: []
Exploring Operation: 50+22=72, Resulting Numbers: [41, 40, 72]
Generated Node #0,0: 53:[41, 40, 72] Operation: 50+22=72
Exploring Operation: 22+40=62, Resulting Numbers: [41, 50, 62]
Generated Node #0,1: 53:[41, 50, 62] Operation: 22+40=62
Exploring Operation: 41+22=63, Resulting Numbers: [50, 40, 63]
Generated Node #0,2: 53:[50, 40, 63] Operation: 41+22=63
Exploring Operation: 41-22=19, Resulting Numbers: [50, 40, 19]
Generated Node #0,3: 53:[50, 40, 19] Operation: 41-22=19
Start Sub Search at level 1: Moving to Node #0,1
Current State: 53:[41, 50, 62], Operations: ['22+40=62']
Exploring Operation: 62-41=21, Resulting Numbers: [50, 21]
Generated Node #0,1,0: 53:[50, 21] Operation: 62-41=21
Exploring Operation: 41+62=103, Resulting Numbers: [50, 103]
Generated Node #0,1,1: 53:[50, 103] Operation: 41+62=103
Exploring Operation: 50-41=9, Resulting Numbers: [62, 9]
Generated Node #0,1,2: 53:[62, 9] Operation: 50-41=9
Exploring Operation: 41+50=91, Resulting Numbers: [62, 91]
Generated Node #0,1,3: 53:[62, 91] Operation: 41+50=91
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 53:[50, 21], Operations: ['22+40=62', '62-41=21']
Exploring Operation: 50-21=29, Resulting Numbers: [29]
29,53 unequal: No Solution
Exploring Operation: 50+21=71, Resulting Numbers: [71]
71,53 unequal: No Solution
Exploring Operation: 50*21=1050, Resulting Numbers: [1050]
1050,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,1,3
Current State: 53:[62, 91], Operations: ['22+40=62', '41+50=91']
Exploring Operation: 62*91=5642, Resulting Numbers: [5642]
5642,53 unequal: No Solution
Exploring Operation: 62+91=153, Resulting Numbers: [153]
153,53 unequal: No Solution
Exploring Operation: 91-62=29, Resulting Numbers: [29]
29,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,1,1
Current State: 53:[50, 103], Operations: ['22+40=62', '41+62=103']
Exploring Operation: 50*103=5150, Resulting Numbers: [5150]
5150,53 unequal: No Solution
Exploring Operation: 103-50=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[41, 50, 22, 40], Operations: []
Exploring Operation: 22+40=62, Resulting Numbers: [41, 50, 62]
Generated Node #0,1: 53:[41, 50, 62] Operation: 22+40=62
Moving to Node #0,1
Current State: 53:[41, 50, 62], Operations: ['22+40=62']
Exploring Operation: 41+62=103, Resulting Numbers: [50, 103]
Generated Node #0,1,1: 53:[50, 103] Operation: 41+62=103
Moving to Node #0,1,1
Current State: 53:[50, 103], Operations: ['22+40=62', '41+62=103']
Exploring Operation: 103-50=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.982639 | hs_4 | mult_heuristic |
[
15,
71,
71,
61
] | 61 | [
"71-71=0",
"15*0=0",
"61+0=61"
] | Current State: 61:[15, 71, 71, 61], Operations: []
Exploring Operation: 71-71=0, Resulting Numbers: [15, 61, 0]
Generated Node #2: [15, 61, 0] from Operation: 71-71=0
Current State: 61:[15, 61, 0], Operations: ['71-71=0']
Exploring Operation: 15*0=0, Resulting Numbers: [61, 0]
Generated Node #3: [61, 0] from Operation: 15*0=0
Current State: 61:[61, 0], Operations: ['71-71=0', '15*0=0']
Exploring Operation: 61+0=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[15, 71, 71, 61], Operations: []
Exploring Operation: 15+71=86, Resulting Numbers: [71, 61, 86]
Generated Node #0,0: 61:[71, 61, 86] Operation: 15+71=86
Exploring Operation: 71-15=56, Resulting Numbers: [71, 61, 56]
Generated Node #0,1: 61:[71, 61, 56] Operation: 71-15=56
Exploring Operation: 15+71=86, Resulting Numbers: [71, 61, 86]
Generated Node #0,2: 61:[71, 61, 86] Operation: 15+71=86
Exploring Operation: 71-15=56, Resulting Numbers: [71, 61, 56]
Generated Node #0,3: 61:[71, 61, 56] Operation: 71-15=56
Moving to Node #0,1
Current State: 61:[71, 61, 56], Operations: ['71-15=56']
Exploring Operation: 71+56=127, Resulting Numbers: [61, 127]
Generated Node #0,1,0: 61:[61, 127] Operation: 71+56=127
Exploring Operation: 61+56=117, Resulting Numbers: [71, 117]
Generated Node #0,1,1: 61:[71, 117] Operation: 61+56=117
Exploring Operation: 71-61=10, Resulting Numbers: [56, 10]
Generated Node #0,1,2: 61:[56, 10] Operation: 71-61=10
Exploring Operation: 71-56=15, Resulting Numbers: [61, 15]
Generated Node #0,1,3: 61:[61, 15] Operation: 71-56=15
Moving to Node #0,3
Current State: 61:[71, 61, 56], Operations: ['71-15=56']
Exploring Operation: 71-56=15, Resulting Numbers: [61, 15]
Generated Node #0,3,0: 61:[61, 15] Operation: 71-56=15
Exploring Operation: 71+56=127, Resulting Numbers: [61, 127]
Generated Node #0,3,1: 61:[61, 127] Operation: 71+56=127
Exploring Operation: 71-61=10, Resulting Numbers: [56, 10]
Generated Node #0,3,2: 61:[56, 10] Operation: 71-61=10
Exploring Operation: 61+56=117, Resulting Numbers: [71, 117]
Generated Node #0,3,3: 61:[71, 117] Operation: 61+56=117
Moving to Node #0,2
Current State: 61:[71, 61, 86], Operations: ['15+71=86']
Exploring Operation: 86-71=15, Resulting Numbers: [61, 15]
Generated Node #0,2,0: 61:[61, 15] Operation: 86-71=15
Exploring Operation: 86-61=25, Resulting Numbers: [71, 25]
Generated Node #0,2,1: 61:[71, 25] Operation: 86-61=25
Exploring Operation: 71-61=10, Resulting Numbers: [86, 10]
Generated Node #0,2,2: 61:[86, 10] Operation: 71-61=10
Exploring Operation: 71+61=132, Resulting Numbers: [86, 132]
Generated Node #0,2,3: 61:[86, 132] Operation: 71+61=132
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 61:[61, 15], Operations: ['15+71=86', '86-71=15']
Exploring Operation: 61+15=76, Resulting Numbers: [76]
76,61 unequal: No Solution
Exploring Operation: 61*15=915, Resulting Numbers: [915]
915,61 unequal: No Solution
Exploring Operation: 61-15=46, Resulting Numbers: [46]
46,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 61:[71, 25], Operations: ['15+71=86', '86-61=25']
Exploring Operation: 71-25=46, Resulting Numbers: [46]
46,61 unequal: No Solution
Exploring Operation: 71*25=1775, Resulting Numbers: [1775]
1775,61 unequal: No Solution
Exploring Operation: 71+25=96, Resulting Numbers: [96]
96,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 61:[86, 10], Operations: ['15+71=86', '71-61=10']
Exploring Operation: 86+10=96, Resulting Numbers: [96]
96,61 unequal: No Solution
Exploring Operation: 86-10=76, Resulting Numbers: [76]
76,61 unequal: No Solution
Exploring Operation: 86*10=860, Resulting Numbers: [860]
860,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 61:[86, 132], Operations: ['15+71=86', '71+61=132']
Exploring Operation: 86*132=11352, Resulting Numbers: [11352]
11352,61 unequal: No Solution
Exploring Operation: 132-86=46, Resulting Numbers: [46]
46,61 unequal: No Solution
Exploring Operation: 86+132=218, Resulting Numbers: [218]
218,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 61:[71, 61, 86], Operations: ['15+71=86']
Exploring Operation: 86-61=25, Resulting Numbers: [71, 25]
Generated Node #0,0,0: 61:[71, 25] Operation: 86-61=25
Exploring Operation: 71-61=10, Resulting Numbers: [86, 10]
Generated Node #0,0,1: 61:[86, 10] Operation: 71-61=10
Exploring Operation: 86-71=15, Resulting Numbers: [61, 15]
Generated Node #0,0,2: 61:[61, 15] Operation: 86-71=15
Exploring Operation: 71+61=132, Resulting Numbers: [86, 132]
Generated Node #0,0,3: 61:[86, 132] Operation: 71+61=132
Moving to Node #0,1,3
Current State: 61:[61, 15], Operations: ['71-15=56', '71-56=15']
Exploring Operation: 61+15=76, Resulting Numbers: [76]
76,61 unequal: No Solution
Exploring Operation: 61-15=46, Resulting Numbers: [46]
46,61 unequal: No Solution
Exploring Operation: 61*15=915, Resulting Numbers: [915]
915,61 unequal: No Solution
Moving to Node #0,3,0
Current State: 61:[61, 15], Operations: ['71-15=56', '71-56=15']
Exploring Operation: 61+15=76, Resulting Numbers: [76]
76,61 unequal: No Solution
Exploring Operation: 61-15=46, Resulting Numbers: [46]
46,61 unequal: No Solution
Exploring Operation: 61*15=915, Resulting Numbers: [915]
915,61 unequal: No Solution
Moving to Node #0,0,2
Current State: 61:[61, 15], Operations: ['15+71=86', '86-71=15']
Exploring Operation: 61*15=915, Resulting Numbers: [915]
915,61 unequal: No Solution
Exploring Operation: 61+15=76, Resulting Numbers: [76]
76,61 unequal: No Solution
Exploring Operation: 61-15=46, Resulting Numbers: [46]
46,61 unequal: No Solution
Moving to Node #0,0,0
Current State: 61:[71, 25], Operations: ['15+71=86', '86-61=25']
Exploring Operation: 71*25=1775, Resulting Numbers: [1775]
1775,61 unequal: No Solution
Exploring Operation: 71-25=46, Resulting Numbers: [46]
46,61 unequal: No Solution
Exploring Operation: 71+25=96, Resulting Numbers: [96]
96,61 unequal: No Solution
Moving to Node #0,3,2
Current State: 61:[56, 10], Operations: ['71-15=56', '71-61=10']
Exploring Operation: 56-10=46, Resulting Numbers: [46]
46,61 unequal: No Solution
Exploring Operation: 56*10=560, Resulting Numbers: [560]
560,61 unequal: No Solution
Exploring Operation: 56+10=66, Resulting Numbers: [66]
66,61 unequal: No Solution
Moving to Node #0,1,2
Current State: 61:[56, 10], Operations: ['71-15=56', '71-61=10']
Exploring Operation: 56+10=66, Resulting Numbers: [66]
66,61 unequal: No Solution
Exploring Operation: 56-10=46, Resulting Numbers: [46]
46,61 unequal: No Solution
Exploring Operation: 56*10=560, Resulting Numbers: [560]
560,61 unequal: No Solution
Moving to Node #0,3,1
Current State: 61:[61, 127], Operations: ['71-15=56', '71+56=127']
Exploring Operation: 61+127=188, Resulting Numbers: [188]
188,61 unequal: No Solution
Exploring Operation: 127-61=66, Resulting Numbers: [66]
66,61 unequal: No Solution
Exploring Operation: 61*127=7747, Resulting Numbers: [7747]
7747,61 unequal: No Solution
Moving to Node #0,1,0
Current State: 61:[61, 127], Operations: ['71-15=56', '71+56=127']
Exploring Operation: 127-61=66, Resulting Numbers: [66]
66,61 unequal: No Solution
Exploring Operation: 61*127=7747, Resulting Numbers: [7747]
7747,61 unequal: No Solution
Exploring Operation: 61+127=188, Resulting Numbers: [188]
188,61 unequal: No Solution
Moving to Node #0,1,1
Current State: 61:[71, 117], Operations: ['71-15=56', '61+56=117']
Exploring Operation: 71+117=188, Resulting Numbers: [188]
188,61 unequal: No Solution
Exploring Operation: 117-71=46, Resulting Numbers: [46]
46,61 unequal: No Solution
Exploring Operation: 71*117=8307, Resulting Numbers: [8307]
8307,61 unequal: No Solution
Moving to Node #0,3,3
Current State: 61:[71, 117], Operations: ['71-15=56', '61+56=117']
Exploring Operation: 71*117=8307, Resulting Numbers: [8307]
8307,61 unequal: No Solution
Exploring Operation: 71+117=188, Resulting Numbers: [188]
188,61 unequal: No Solution
Exploring Operation: 117-71=46, Resulting Numbers: [46]
46,61 unequal: No Solution
Moving to Node #0,0,1
Current State: 61:[86, 10], Operations: ['15+71=86', '71-61=10']
Exploring Operation: 86*10=860, Resulting Numbers: [860]
860,61 unequal: No Solution
Exploring Operation: 86-10=76, Resulting Numbers: [76]
76,61 unequal: No Solution
Exploring Operation: 86+10=96, Resulting Numbers: [96]
96,61 unequal: No Solution
Moving to Node #0,0,3
Current State: 61:[86, 132], Operations: ['15+71=86', '71+61=132']
Exploring Operation: 132-86=46, Resulting Numbers: [46]
46,61 unequal: No Solution
Exploring Operation: 86*132=11352, Resulting Numbers: [11352]
11352,61 unequal: No Solution
Exploring Operation: 86+132=218, Resulting Numbers: [218]
218,61 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
79,
82,
55,
44
] | 77 | [
"82-79=3",
"44*3=132",
"132-55=77"
] | Current State: 77:[79, 82, 55, 44], Operations: []
Exploring Operation: 82-79=3, Resulting Numbers: [55, 44, 3]
Generated Node #2: [55, 44, 3] from Operation: 82-79=3
Current State: 77:[55, 44, 3], Operations: ['82-79=3']
Exploring Operation: 44*3=132, Resulting Numbers: [55, 132]
Generated Node #3: [55, 132] from Operation: 44*3=132
Current State: 77:[55, 132], Operations: ['82-79=3', '44*3=132']
Exploring Operation: 132-55=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[79, 82, 55, 44], Operations: []
Exploring Operation: 79-44=35, Resulting Numbers: [82, 55, 35]
Generated Node #0,0: 77:[82, 55, 35] Operation: 79-44=35
Exploring Operation: 79-55=24, Resulting Numbers: [82, 44, 24]
Generated Node #0,1: 77:[82, 44, 24] Operation: 79-55=24
Exploring Operation: 55-44=11, Resulting Numbers: [79, 82, 11]
Generated Node #0,2: 77:[79, 82, 11] Operation: 55-44=11
Exploring Operation: 55+44=99, Resulting Numbers: [79, 82, 99]
Generated Node #0,3: 77:[79, 82, 99] Operation: 55+44=99
Start Sub Search at level 1: Moving to Node #0,2
Current State: 77:[79, 82, 11], Operations: ['55-44=11']
Exploring Operation: 82-11=71, Resulting Numbers: [79, 71]
Generated Node #0,2,0: 77:[79, 71] Operation: 82-11=71
Exploring Operation: 82-79=3, Resulting Numbers: [11, 3]
Generated Node #0,2,1: 77:[11, 3] Operation: 82-79=3
Exploring Operation: 79+11=90, Resulting Numbers: [82, 90]
Generated Node #0,2,2: 77:[82, 90] Operation: 79+11=90
Exploring Operation: 79-11=68, Resulting Numbers: [82, 68]
Generated Node #0,2,3: 77:[82, 68] Operation: 79-11=68
Moving to Node #0,2,1
Current State: 77:[11, 3], Operations: ['55-44=11', '82-79=3']
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,77 unequal: No Solution
Exploring Operation: 11*3=33, Resulting Numbers: [33]
33,77 unequal: No Solution
Exploring Operation: 11+3=14, Resulting Numbers: [14]
14,77 unequal: No Solution
Moving to Node #0,2,0
Current State: 77:[79, 71], Operations: ['55-44=11', '82-11=71']
Exploring Operation: 79+71=150, Resulting Numbers: [150]
150,77 unequal: No Solution
Exploring Operation: 79*71=5609, Resulting Numbers: [5609]
5609,77 unequal: No Solution
Exploring Operation: 79-71=8, Resulting Numbers: [8]
8,77 unequal: No Solution
Moving to Node #0,2,3
Current State: 77:[82, 68], Operations: ['55-44=11', '79-11=68']
Exploring Operation: 82-68=14, Resulting Numbers: [14]
14,77 unequal: No Solution
Exploring Operation: 82+68=150, Resulting Numbers: [150]
150,77 unequal: No Solution
Exploring Operation: 82*68=5576, Resulting Numbers: [5576]
5576,77 unequal: No Solution
Moving to Node #0,2,2
Current State: 77:[82, 90], Operations: ['55-44=11', '79+11=90']
Exploring Operation: 82+90=172, Resulting Numbers: [172]
172,77 unequal: No Solution
Exploring Operation: 90-82=8, Resulting Numbers: [8]
8,77 unequal: No Solution
Exploring Operation: 82*90=7380, Resulting Numbers: [7380]
7380,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,3
Current State: 77:[79, 82, 99], Operations: ['55+44=99']
Exploring Operation: 99-82=17, Resulting Numbers: [79, 17]
Generated Node #0,3,0: 77:[79, 17] Operation: 99-82=17
Exploring Operation: 82-79=3, Resulting Numbers: [99, 3]
Generated Node #0,3,1: 77:[99, 3] Operation: 82-79=3
Exploring Operation: 79+82=161, Resulting Numbers: [99, 161]
Generated Node #0,3,2: 77:[99, 161] Operation: 79+82=161
Exploring Operation: 99-79=20, Resulting Numbers: [82, 20]
Generated Node #0,3,3: 77:[82, 20] Operation: 99-79=20
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 77:[79, 17], Operations: ['55+44=99', '99-82=17']
Exploring Operation: 79-17=62, Resulting Numbers: [62]
62,77 unequal: No Solution
Exploring Operation: 79+17=96, Resulting Numbers: [96]
96,77 unequal: No Solution
Exploring Operation: 79*17=1343, Resulting Numbers: [1343]
1343,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 77:[82, 20], Operations: ['55+44=99', '99-79=20']
Exploring Operation: 82-20=62, Resulting Numbers: [62]
62,77 unequal: No Solution
Exploring Operation: 82+20=102, Resulting Numbers: [102]
102,77 unequal: No Solution
Exploring Operation: 82*20=1640, Resulting Numbers: [1640]
1640,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 77:[99, 3], Operations: ['55+44=99', '82-79=3']
Exploring Operation: 99*3=297, Resulting Numbers: [297]
297,77 unequal: No Solution
Exploring Operation: 99-3=96, Resulting Numbers: [96]
96,77 unequal: No Solution
Exploring Operation: 99+3=102, Resulting Numbers: [102]
102,77 unequal: No Solution
Exploring Operation: 99/3=33, Resulting Numbers: [33]
33,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 77:[99, 161], Operations: ['55+44=99', '79+82=161']
Exploring Operation: 99*161=15939, Resulting Numbers: [15939]
15939,77 unequal: No Solution
Exploring Operation: 161-99=62, Resulting Numbers: [62]
62,77 unequal: No Solution
Exploring Operation: 99+161=260, Resulting Numbers: [260]
260,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[82, 55, 35], Operations: ['79-44=35']
Exploring Operation: 55-35=20, Resulting Numbers: [82, 20]
Generated Node #0,0,0: 77:[82, 20] Operation: 55-35=20
Exploring Operation: 82-35=47, Resulting Numbers: [55, 47]
Generated Node #0,0,1: 77:[55, 47] Operation: 82-35=47
Exploring Operation: 55+35=90, Resulting Numbers: [82, 90]
Generated Node #0,0,2: 77:[82, 90] Operation: 55+35=90
Exploring Operation: 82-55=27, Resulting Numbers: [35, 27]
Generated Node #0,0,3: 77:[35, 27] Operation: 82-55=27
Moving to Node #0,0,0
Current State: 77:[82, 20], Operations: ['79-44=35', '55-35=20']
Exploring Operation: 82*20=1640, Resulting Numbers: [1640]
1640,77 unequal: No Solution
Exploring Operation: 82+20=102, Resulting Numbers: [102]
102,77 unequal: No Solution
Exploring Operation: 82-20=62, Resulting Numbers: [62]
62,77 unequal: No Solution
Moving to Node #0,0,2
Current State: 77:[82, 90], Operations: ['79-44=35', '55+35=90']
Exploring Operation: 90-82=8, Resulting Numbers: [8]
8,77 unequal: No Solution
Exploring Operation: 82+90=172, Resulting Numbers: [172]
172,77 unequal: No Solution
Exploring Operation: 82*90=7380, Resulting Numbers: [7380]
7380,77 unequal: No Solution
Moving to Node #0,0,3
Current State: 77:[35, 27], Operations: ['79-44=35', '82-55=27']
Exploring Operation: 35-27=8, Resulting Numbers: [8]
8,77 unequal: No Solution
Exploring Operation: 35+27=62, Resulting Numbers: [62]
62,77 unequal: No Solution
Exploring Operation: 35*27=945, Resulting Numbers: [945]
945,77 unequal: No Solution
Moving to Node #0,0,1
Current State: 77:[55, 47], Operations: ['79-44=35', '82-35=47']
Exploring Operation: 55+47=102, Resulting Numbers: [102]
102,77 unequal: No Solution
Exploring Operation: 55*47=2585, Resulting Numbers: [2585]
2585,77 unequal: No Solution
Exploring Operation: 55-47=8, Resulting Numbers: [8]
8,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,1
Current State: 77:[82, 44, 24], Operations: ['79-55=24']
Exploring Operation: 44-24=20, Resulting Numbers: [82, 20]
Generated Node #0,1,0: 77:[82, 20] Operation: 44-24=20
Exploring Operation: 82-44=38, Resulting Numbers: [24, 38]
Generated Node #0,1,1: 77:[24, 38] Operation: 82-44=38
Exploring Operation: 44+24=68, Resulting Numbers: [82, 68]
Generated Node #0,1,2: 77:[82, 68] Operation: 44+24=68
Exploring Operation: 82-24=58, Resulting Numbers: [44, 58]
Generated Node #0,1,3: 77:[44, 58] Operation: 82-24=58
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 77:[82, 20], Operations: ['79-55=24', '44-24=20']
Exploring Operation: 82*20=1640, Resulting Numbers: [1640]
1640,77 unequal: No Solution
Exploring Operation: 82-20=62, Resulting Numbers: [62]
62,77 unequal: No Solution
Exploring Operation: 82+20=102, Resulting Numbers: [102]
102,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 77:[82, 68], Operations: ['79-55=24', '44+24=68']
Exploring Operation: 82+68=150, Resulting Numbers: [150]
150,77 unequal: No Solution
Exploring Operation: 82*68=5576, Resulting Numbers: [5576]
5576,77 unequal: No Solution
Exploring Operation: 82-68=14, Resulting Numbers: [14]
14,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 77:[24, 38], Operations: ['79-55=24', '82-44=38']
Exploring Operation: 24+38=62, Resulting Numbers: [62]
62,77 unequal: No Solution
Exploring Operation: 38-24=14, Resulting Numbers: [14]
14,77 unequal: No Solution
Exploring Operation: 24*38=912, Resulting Numbers: [912]
912,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 77:[44, 58], Operations: ['79-55=24', '82-24=58']
Exploring Operation: 44*58=2552, Resulting Numbers: [2552]
2552,77 unequal: No Solution
Exploring Operation: 58-44=14, Resulting Numbers: [14]
14,77 unequal: No Solution
Exploring Operation: 44+58=102, Resulting Numbers: [102]
102,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
3,
81,
1,
80
] | 79 | [
"3-1=2",
"80*2=160",
"160-81=79"
] | Current State: 79:[3, 81, 1, 80], Operations: []
Exploring Operation: 3-1=2, Resulting Numbers: [81, 80, 2]
Generated Node #2: [81, 80, 2] from Operation: 3-1=2
Current State: 79:[81, 80, 2], Operations: ['3-1=2']
Exploring Operation: 80*2=160, Resulting Numbers: [81, 160]
Generated Node #3: [81, 160] from Operation: 80*2=160
Current State: 79:[81, 160], Operations: ['3-1=2', '80*2=160']
Exploring Operation: 160-81=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[3, 81, 1, 80], Operations: []
Exploring Operation: 81-1=80, Resulting Numbers: [3, 80, 80]
Generated Node #0,0: 79:[3, 80, 80] Operation: 81-1=80
Exploring Operation: 80-1=79, Resulting Numbers: [3, 81, 79]
Generated Node #0,1: 79:[3, 81, 79] Operation: 80-1=79
Exploring Operation: 3+1=4, Resulting Numbers: [81, 80, 4]
Generated Node #0,2: 79:[81, 80, 4] Operation: 3+1=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[3, 80, 80], Operations: ['81-1=80']
Exploring Operation: 3+80=83, Resulting Numbers: [80, 83]
Generated Node #0,0,0: 79:[80, 83] Operation: 3+80=83
Exploring Operation: 80-3=77, Resulting Numbers: [80, 77]
Generated Node #0,0,1: 79:[80, 77] Operation: 80-3=77
Exploring Operation: 80-3=77, Resulting Numbers: [80, 77]
Generated Node #0,0,2: 79:[80, 77] Operation: 80-3=77
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 79:[80, 77], Operations: ['81-1=80', '80-3=77']
Exploring Operation: 80*77=6160, Resulting Numbers: [6160]
6160,79 unequal: No Solution
Exploring Operation: 80-77=3, Resulting Numbers: [3]
3,79 unequal: No Solution
Exploring Operation: 80+77=157, Resulting Numbers: [157]
157,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 79:[80, 77], Operations: ['81-1=80', '80-3=77']
Exploring Operation: 80+77=157, Resulting Numbers: [157]
157,79 unequal: No Solution
Exploring Operation: 80*77=6160, Resulting Numbers: [6160]
6160,79 unequal: No Solution
Exploring Operation: 80-77=3, Resulting Numbers: [3]
3,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 79:[80, 83], Operations: ['81-1=80', '3+80=83']
Exploring Operation: 83-80=3, Resulting Numbers: [3]
3,79 unequal: No Solution
Exploring Operation: 80*83=6640, Resulting Numbers: [6640]
6640,79 unequal: No Solution
Exploring Operation: 80+83=163, Resulting Numbers: [163]
163,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 79:[3, 81, 79], Operations: ['80-1=79']
Exploring Operation: 3+79=82, Resulting Numbers: [81, 82]
Generated Node #0,1,0: 79:[81, 82] Operation: 3+79=82
Exploring Operation: 81-3=78, Resulting Numbers: [79, 78]
Generated Node #0,1,1: 79:[79, 78] Operation: 81-3=78
Exploring Operation: 3+81=84, Resulting Numbers: [79, 84]
Generated Node #0,1,2: 79:[79, 84] Operation: 3+81=84
Moving to Node #0,1,1
Current State: 79:[79, 78], Operations: ['80-1=79', '81-3=78']
Exploring Operation: 79*78=6162, Resulting Numbers: [6162]
6162,79 unequal: No Solution
Exploring Operation: 79-78=1, Resulting Numbers: [1]
1,79 unequal: No Solution
Exploring Operation: 79+78=157, Resulting Numbers: [157]
157,79 unequal: No Solution
Moving to Node #0,1,0
Current State: 79:[81, 82], Operations: ['80-1=79', '3+79=82']
Exploring Operation: 81+82=163, Resulting Numbers: [163]
163,79 unequal: No Solution
Exploring Operation: 82-81=1, Resulting Numbers: [1]
1,79 unequal: No Solution
Exploring Operation: 81*82=6642, Resulting Numbers: [6642]
6642,79 unequal: No Solution
Moving to Node #0,1,2
Current State: 79:[79, 84], Operations: ['80-1=79', '3+81=84']
Exploring Operation: 84-79=5, Resulting Numbers: [5]
5,79 unequal: No Solution
Exploring Operation: 79+84=163, Resulting Numbers: [163]
163,79 unequal: No Solution
Exploring Operation: 79*84=6636, Resulting Numbers: [6636]
6636,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 79:[81, 80, 4], Operations: ['3+1=4']
Exploring Operation: 81-4=77, Resulting Numbers: [80, 77]
Generated Node #0,2,0: 79:[80, 77] Operation: 81-4=77
Exploring Operation: 81+4=85, Resulting Numbers: [80, 85]
Generated Node #0,2,1: 79:[80, 85] Operation: 81+4=85
Exploring Operation: 80-4=76, Resulting Numbers: [81, 76]
Generated Node #0,2,2: 79:[81, 76] Operation: 80-4=76
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 79:[80, 77], Operations: ['3+1=4', '81-4=77']
Exploring Operation: 80-77=3, Resulting Numbers: [3]
3,79 unequal: No Solution
Exploring Operation: 80*77=6160, Resulting Numbers: [6160]
6160,79 unequal: No Solution
Exploring Operation: 80+77=157, Resulting Numbers: [157]
157,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 79:[81, 76], Operations: ['3+1=4', '80-4=76']
Exploring Operation: 81-76=5, Resulting Numbers: [5]
5,79 unequal: No Solution
Exploring Operation: 81*76=6156, Resulting Numbers: [6156]
6156,79 unequal: No Solution
Exploring Operation: 81+76=157, Resulting Numbers: [157]
157,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 79:[80, 85], Operations: ['3+1=4', '81+4=85']
Exploring Operation: 80*85=6800, Resulting Numbers: [6800]
6800,79 unequal: No Solution
Exploring Operation: 80+85=165, Resulting Numbers: [165]
165,79 unequal: No Solution
Exploring Operation: 85-80=5, Resulting Numbers: [5]
5,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
97,
26,
32,
89
] | 22 | [
"97-89=8",
"32/8=4",
"26-4=22"
] | Current State: 22:[97, 26, 32, 89], Operations: []
Exploring Operation: 97-89=8, Resulting Numbers: [26, 32, 8]
Generated Node #2: [26, 32, 8] from Operation: 97-89=8
Current State: 22:[26, 32, 8], Operations: ['97-89=8']
Exploring Operation: 32/8=4, Resulting Numbers: [26, 4]
Generated Node #3: [26, 4] from Operation: 32/8=4
Current State: 22:[26, 4], Operations: ['97-89=8', '32/8=4']
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[97, 26, 32, 89], Operations: []
Exploring Operation: 97-89=8, Resulting Numbers: [26, 32, 8]
Generated Node #0,0: 22:[26, 32, 8] Operation: 97-89=8
Exploring Operation: 89-32=57, Resulting Numbers: [97, 26, 57]
Generated Node #0,1: 22:[97, 26, 57] Operation: 89-32=57
Exploring Operation: 97-32=65, Resulting Numbers: [26, 89, 65]
Generated Node #0,2: 22:[26, 89, 65] Operation: 97-32=65
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[26, 32, 8], Operations: ['97-89=8']
Exploring Operation: 32-26=6, Resulting Numbers: [8, 6]
Generated Node #0,0,0: 22:[8, 6] Operation: 32-26=6
Exploring Operation: 32/8=4, Resulting Numbers: [26, 4]
Generated Node #0,0,1: 22:[26, 4] Operation: 32/8=4
Exploring Operation: 32-8=24, Resulting Numbers: [26, 24]
Generated Node #0,0,2: 22:[26, 24] Operation: 32-8=24
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 22:[26, 4], Operations: ['97-89=8', '32/8=4']
Exploring Operation: 26*4=104, Resulting Numbers: [104]
104,22 unequal: No Solution
Exploring Operation: 26+4=30, Resulting Numbers: [30]
30,22 unequal: No Solution
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[97, 26, 32, 89], Operations: []
Exploring Operation: 97-89=8, Resulting Numbers: [26, 32, 8]
Generated Node #0,0: 22:[26, 32, 8] Operation: 97-89=8
Moving to Node #0,0
Current State: 22:[26, 32, 8], Operations: ['97-89=8']
Exploring Operation: 32/8=4, Resulting Numbers: [26, 4]
Generated Node #0,0,1: 22:[26, 4] Operation: 32/8=4
Moving to Node #0,0,1
Current State: 22:[26, 4], Operations: ['97-89=8', '32/8=4']
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
30,
27,
33,
70
] | 35 | [
"30*70=2100",
"27+33=60",
"2100/60=35"
] | Current State: 35:[30, 27, 33, 70], Operations: []
Exploring Operation: 30*70=2100, Resulting Numbers: [27, 33, 2100]
Generated Node #2: [27, 33, 2100] from Operation: 30*70=2100
Current State: 35:[27, 33, 2100], Operations: ['30*70=2100']
Exploring Operation: 27+33=60, Resulting Numbers: [2100, 60]
Generated Node #3: [2100, 60] from Operation: 27+33=60
Current State: 35:[2100, 60], Operations: ['30*70=2100', '27+33=60']
Exploring Operation: 2100/60=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[30, 27, 33, 70], Operations: []
Exploring Operation: 70-30=40, Resulting Numbers: [27, 33, 40]
Generated Node #0,0: 35:[27, 33, 40] Operation: 70-30=40
Exploring Operation: 70-33=37, Resulting Numbers: [30, 27, 37]
Generated Node #0,1: 35:[30, 27, 37] Operation: 70-33=37
Exploring Operation: 70-27=43, Resulting Numbers: [30, 33, 43]
Generated Node #0,2: 35:[30, 33, 43] Operation: 70-27=43
Moving to Node #0,0
Current State: 35:[27, 33, 40], Operations: ['70-30=40']
Exploring Operation: 33-27=6, Resulting Numbers: [40, 6]
Generated Node #0,0,0: 35:[40, 6] Operation: 33-27=6
Exploring Operation: 40-33=7, Resulting Numbers: [27, 7]
Generated Node #0,0,1: 35:[27, 7] Operation: 40-33=7
Exploring Operation: 40-27=13, Resulting Numbers: [33, 13]
Generated Node #0,0,2: 35:[33, 13] Operation: 40-27=13
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 35:[40, 6], Operations: ['70-30=40', '33-27=6']
Exploring Operation: 40-6=34, Resulting Numbers: [34]
34,35 unequal: No Solution
Exploring Operation: 40+6=46, Resulting Numbers: [46]
46,35 unequal: No Solution
Exploring Operation: 40*6=240, Resulting Numbers: [240]
240,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 35:[27, 7], Operations: ['70-30=40', '40-33=7']
Exploring Operation: 27*7=189, Resulting Numbers: [189]
189,35 unequal: No Solution
Exploring Operation: 27+7=34, Resulting Numbers: [34]
34,35 unequal: No Solution
Exploring Operation: 27-7=20, Resulting Numbers: [20]
20,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 35:[33, 13], Operations: ['70-30=40', '40-27=13']
Exploring Operation: 33-13=20, Resulting Numbers: [20]
20,35 unequal: No Solution
Exploring Operation: 33+13=46, Resulting Numbers: [46]
46,35 unequal: No Solution
Exploring Operation: 33*13=429, Resulting Numbers: [429]
429,35 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: 35:[30, 27, 37], Operations: ['70-33=37']
Exploring Operation: 37-30=7, Resulting Numbers: [27, 7]
Generated Node #0,1,0: 35:[27, 7] Operation: 37-30=7
Exploring Operation: 37-27=10, Resulting Numbers: [30, 10]
Generated Node #0,1,1: 35:[30, 10] Operation: 37-27=10
Exploring Operation: 30-27=3, Resulting Numbers: [37, 3]
Generated Node #0,1,2: 35:[37, 3] Operation: 30-27=3
Moving to Node #0,2
Current State: 35:[30, 33, 43], Operations: ['70-27=43']
Exploring Operation: 33-30=3, Resulting Numbers: [43, 3]
Generated Node #0,2,0: 35:[43, 3] Operation: 33-30=3
Exploring Operation: 43-30=13, Resulting Numbers: [33, 13]
Generated Node #0,2,1: 35:[33, 13] Operation: 43-30=13
Exploring Operation: 43-33=10, Resulting Numbers: [30, 10]
Generated Node #0,2,2: 35:[30, 10] Operation: 43-33=10
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 35:[33, 13], Operations: ['70-27=43', '43-30=13']
Exploring Operation: 33+13=46, Resulting Numbers: [46]
46,35 unequal: No Solution
Exploring Operation: 33-13=20, Resulting Numbers: [20]
20,35 unequal: No Solution
Exploring Operation: 33*13=429, Resulting Numbers: [429]
429,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 35:[30, 10], Operations: ['70-27=43', '43-33=10']
Exploring Operation: 30/10=3, Resulting Numbers: [3]
3,35 unequal: No Solution
Exploring Operation: 30-10=20, Resulting Numbers: [20]
20,35 unequal: No Solution
Exploring Operation: 30+10=40, Resulting Numbers: [40]
40,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 35:[43, 3], Operations: ['70-27=43', '33-30=3']
Exploring Operation: 43-3=40, Resulting Numbers: [40]
40,35 unequal: No Solution
Exploring Operation: 43+3=46, Resulting Numbers: [46]
46,35 unequal: No Solution
Exploring Operation: 43*3=129, Resulting Numbers: [129]
129,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 35:[37, 3], Operations: ['70-33=37', '30-27=3']
Exploring Operation: 37*3=111, Resulting Numbers: [111]
111,35 unequal: No Solution
Exploring Operation: 37+3=40, Resulting Numbers: [40]
40,35 unequal: No Solution
Exploring Operation: 37-3=34, Resulting Numbers: [34]
34,35 unequal: No Solution
Moving to Node #0,1,0
Current State: 35:[27, 7], Operations: ['70-33=37', '37-30=7']
Exploring Operation: 27-7=20, Resulting Numbers: [20]
20,35 unequal: No Solution
Exploring Operation: 27+7=34, Resulting Numbers: [34]
34,35 unequal: No Solution
Exploring Operation: 27*7=189, Resulting Numbers: [189]
189,35 unequal: No Solution
Moving to Node #0,1,1
Current State: 35:[30, 10], Operations: ['70-33=37', '37-27=10']
Exploring Operation: 30/10=3, Resulting Numbers: [3]
3,35 unequal: No Solution
Exploring Operation: 30-10=20, Resulting Numbers: [20]
20,35 unequal: No Solution
Exploring Operation: 30+10=40, Resulting Numbers: [40]
40,35 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
12,
94,
19,
28
] | 24 | [
"12*94=1128",
"19+28=47",
"1128/47=24"
] | Current State: 24:[12, 94, 19, 28], Operations: []
Exploring Operation: 12*94=1128, Resulting Numbers: [19, 28, 1128]
Generated Node #2: [19, 28, 1128] from Operation: 12*94=1128
Current State: 24:[19, 28, 1128], Operations: ['12*94=1128']
Exploring Operation: 19+28=47, Resulting Numbers: [1128, 47]
Generated Node #3: [1128, 47] from Operation: 19+28=47
Current State: 24:[1128, 47], Operations: ['12*94=1128', '19+28=47']
Exploring Operation: 1128/47=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[12, 94, 19, 28], Operations: []
Exploring Operation: 94-28=66, Resulting Numbers: [12, 19, 66]
Generated Node #0,0: 24:[12, 19, 66] Operation: 94-28=66
Moving to Node #0,0
Current State: 24:[12, 19, 66], Operations: ['94-28=66']
Exploring Operation: 66-19=47, Resulting Numbers: [12, 47]
Generated Node #0,0,0: 24:[12, 47] Operation: 66-19=47
Moving to Node #0,0,0
Current State: 24:[12, 47], Operations: ['94-28=66', '66-19=47']
Exploring Operation: 47-12=35, Resulting Numbers: [35]
35,24 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
79,
69,
26,
70
] | 86 | [
"79-69=10",
"26+70=96",
"96-10=86"
] | Current State: 86:[79, 69, 26, 70], Operations: []
Exploring Operation: 79-69=10, Resulting Numbers: [26, 70, 10]
Generated Node #2: [26, 70, 10] from Operation: 79-69=10
Current State: 86:[26, 70, 10], Operations: ['79-69=10']
Exploring Operation: 26+70=96, Resulting Numbers: [10, 96]
Generated Node #3: [10, 96] from Operation: 26+70=96
Current State: 86:[10, 96], Operations: ['79-69=10', '26+70=96']
Exploring Operation: 96-10=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[79, 69, 26, 70], Operations: []
Exploring Operation: 69-26=43, Resulting Numbers: [79, 70, 43]
Generated Node #0,0: 86:[79, 70, 43] Operation: 69-26=43
Exploring Operation: 70-69=1, Resulting Numbers: [79, 26, 1]
Generated Node #0,1: 86:[79, 26, 1] Operation: 70-69=1
Exploring Operation: 70-26=44, Resulting Numbers: [79, 69, 44]
Generated Node #0,2: 86:[79, 69, 44] Operation: 70-26=44
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[79, 70, 43], Operations: ['69-26=43']
Exploring Operation: 79-70=9, Resulting Numbers: [43, 9]
Generated Node #0,0,0: 86:[43, 9] Operation: 79-70=9
Exploring Operation: 70-43=27, Resulting Numbers: [79, 27]
Generated Node #0,0,1: 86:[79, 27] Operation: 70-43=27
Exploring Operation: 79-43=36, Resulting Numbers: [70, 36]
Generated Node #0,0,2: 86:[70, 36] Operation: 79-43=36
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 86:[43, 9], Operations: ['69-26=43', '79-70=9']
Exploring Operation: 43+9=52, Resulting Numbers: [52]
52,86 unequal: No Solution
Exploring Operation: 43-9=34, Resulting Numbers: [34]
34,86 unequal: No Solution
Exploring Operation: 43*9=387, Resulting Numbers: [387]
387,86 unequal: No Solution
No 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: 86:[79, 27], Operations: ['69-26=43', '70-43=27']
Exploring Operation: 79-27=52, Resulting Numbers: [52]
52,86 unequal: No Solution
Exploring Operation: 79+27=106, Resulting Numbers: [106]
106,86 unequal: No Solution
Exploring Operation: 79*27=2133, Resulting Numbers: [2133]
2133,86 unequal: No Solution
No 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: 86:[70, 36], Operations: ['69-26=43', '79-43=36']
Exploring Operation: 70*36=2520, Resulting Numbers: [2520]
2520,86 unequal: No Solution
Exploring Operation: 70-36=34, Resulting Numbers: [34]
34,86 unequal: No Solution
Exploring Operation: 70+36=106, Resulting Numbers: [106]
106,86 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: 86:[79, 26, 1], Operations: ['70-69=1']
Exploring Operation: 79+1=80, Resulting Numbers: [26, 80]
Generated Node #0,1,0: 86:[26, 80] Operation: 79+1=80
Exploring Operation: 79-26=53, Resulting Numbers: [1, 53]
Generated Node #0,1,1: 86:[1, 53] Operation: 79-26=53
Exploring Operation: 79+26=105, Resulting Numbers: [1, 105]
Generated Node #0,1,2: 86:[1, 105] Operation: 79+26=105
Moving to Node #0,1,1
Current State: 86:[1, 53], Operations: ['70-69=1', '79-26=53']
Exploring Operation: 53/1=53, Resulting Numbers: [53]
53,86 unequal: No Solution
Exploring Operation: 1*53=53, Resulting Numbers: [53]
53,86 unequal: No Solution
Exploring Operation: 53-1=52, Resulting Numbers: [52]
52,86 unequal: No Solution
Moving to Node #0,1,2
Current State: 86:[1, 105], Operations: ['70-69=1', '79+26=105']
Exploring Operation: 105-1=104, Resulting Numbers: [104]
104,86 unequal: No Solution
Exploring Operation: 105/1=105, Resulting Numbers: [105]
105,86 unequal: No Solution
Exploring Operation: 1*105=105, Resulting Numbers: [105]
105,86 unequal: No Solution
Moving to Node #0,1,0
Current State: 86:[26, 80], Operations: ['70-69=1', '79+1=80']
Exploring Operation: 26+80=106, Resulting Numbers: [106]
106,86 unequal: No Solution
Exploring Operation: 80-26=54, Resulting Numbers: [54]
54,86 unequal: No Solution
Exploring Operation: 26*80=2080, Resulting Numbers: [2080]
2080,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 86:[79, 69, 44], Operations: ['70-26=44']
Exploring Operation: 69-44=25, Resulting Numbers: [79, 25]
Generated Node #0,2,0: 86:[79, 25] Operation: 69-44=25
Exploring Operation: 79-69=10, Resulting Numbers: [44, 10]
Generated Node #0,2,1: 86:[44, 10] Operation: 79-69=10
Exploring Operation: 79-44=35, Resulting Numbers: [69, 35]
Generated Node #0,2,2: 86:[69, 35] Operation: 79-44=35
Moving to Node #0,2,1
Current State: 86:[44, 10], Operations: ['70-26=44', '79-69=10']
Exploring Operation: 44+10=54, Resulting Numbers: [54]
54,86 unequal: No Solution
Exploring Operation: 44-10=34, Resulting Numbers: [34]
34,86 unequal: No Solution
Exploring Operation: 44*10=440, Resulting Numbers: [440]
440,86 unequal: No Solution
Moving to Node #0,2,0
Current State: 86:[79, 25], Operations: ['70-26=44', '69-44=25']
Exploring Operation: 79-25=54, Resulting Numbers: [54]
54,86 unequal: No Solution
Exploring Operation: 79+25=104, Resulting Numbers: [104]
104,86 unequal: No Solution
Exploring Operation: 79*25=1975, Resulting Numbers: [1975]
1975,86 unequal: No Solution
Moving to Node #0,2,2
Current State: 86:[69, 35], Operations: ['70-26=44', '79-44=35']
Exploring Operation: 69*35=2415, Resulting Numbers: [2415]
2415,86 unequal: No Solution
Exploring Operation: 69-35=34, Resulting Numbers: [34]
34,86 unequal: No Solution
Exploring Operation: 69+35=104, Resulting Numbers: [104]
104,86 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 |
[
4,
2,
34,
47
] | 55 | [
"34-2=32",
"32/4=8",
"47+8=55"
] | Current State: 55:[4, 2, 34, 47], Operations: []
Exploring Operation: 34-2=32, Resulting Numbers: [4, 47, 32]
Generated Node #2: [4, 47, 32] from Operation: 34-2=32
Current State: 55:[4, 47, 32], Operations: ['34-2=32']
Exploring Operation: 32/4=8, Resulting Numbers: [47, 8]
Generated Node #3: [47, 8] from Operation: 32/4=8
Current State: 55:[47, 8], Operations: ['34-2=32', '32/4=8']
Exploring Operation: 47+8=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[4, 2, 34, 47], Operations: []
Exploring Operation: 4+34=38, Resulting Numbers: [2, 47, 38]
Generated Node #0,0: 55:[2, 47, 38] Operation: 4+34=38
Exploring Operation: 34/2=17, Resulting Numbers: [4, 47, 17]
Generated Node #0,1: 55:[4, 47, 17] Operation: 34/2=17
Exploring Operation: 4+47=51, Resulting Numbers: [2, 34, 51]
Generated Node #0,2: 55:[2, 34, 51] Operation: 4+47=51
Exploring Operation: 2*34=68, Resulting Numbers: [4, 47, 68]
Generated Node #0,3: 55:[4, 47, 68] Operation: 2*34=68
Exploring Operation: 47-34=13, Resulting Numbers: [4, 2, 13]
Generated Node #0,4: 55:[4, 2, 13] Operation: 47-34=13
Start Sub Search at level 1: Moving to Node #0,4
Current State: 55:[4, 2, 13], Operations: ['47-34=13']
Exploring Operation: 13-2=11, Resulting Numbers: [4, 11]
Generated Node #0,4,0: 55:[4, 11] Operation: 13-2=11
Exploring Operation: 4+2=6, Resulting Numbers: [13, 6]
Generated Node #0,4,1: 55:[13, 6] Operation: 4+2=6
Exploring Operation: 4/2=2, Resulting Numbers: [13, 2]
Generated Node #0,4,2: 55:[13, 2] Operation: 4/2=2
Exploring Operation: 4-2=2, Resulting Numbers: [13, 2]
Generated Node #0,4,3: 55:[13, 2] Operation: 4-2=2
Exploring Operation: 4*2=8, Resulting Numbers: [13, 8]
Generated Node #0,4,4: 55:[13, 8] Operation: 4*2=8
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 55:[4, 11], Operations: ['47-34=13', '13-2=11']
Exploring Operation: 4+11=15, Resulting Numbers: [15]
15,55 unequal: No Solution
Exploring Operation: 4*11=44, Resulting Numbers: [44]
44,55 unequal: No Solution
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 55:[13, 6], Operations: ['47-34=13', '4+2=6']
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,55 unequal: No Solution
Exploring Operation: 13*6=78, Resulting Numbers: [78]
78,55 unequal: No Solution
Exploring Operation: 13+6=19, Resulting Numbers: [19]
19,55 unequal: No Solution
No 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: 55:[13, 2], Operations: ['47-34=13', '4/2=2']
Exploring Operation: 13+2=15, Resulting Numbers: [15]
15,55 unequal: No Solution
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,55 unequal: No Solution
Exploring Operation: 13*2=26, Resulting Numbers: [26]
26,55 unequal: No Solution
No 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: 55:[13, 2], Operations: ['47-34=13', '4-2=2']
Exploring Operation: 13*2=26, Resulting Numbers: [26]
26,55 unequal: No Solution
Exploring Operation: 13+2=15, Resulting Numbers: [15]
15,55 unequal: No Solution
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,55 unequal: No Solution
No 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: 55:[13, 8], Operations: ['47-34=13', '4*2=8']
Exploring Operation: 13*8=104, Resulting Numbers: [104]
104,55 unequal: No Solution
Exploring Operation: 13-8=5, Resulting Numbers: [5]
5,55 unequal: No Solution
Exploring Operation: 13+8=21, Resulting Numbers: [21]
21,55 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: 55:[4, 47, 17], Operations: ['34/2=17']
Exploring Operation: 4+47=51, Resulting Numbers: [17, 51]
Generated Node #0,1,0: 55:[17, 51] Operation: 4+47=51
Exploring Operation: 4+17=21, Resulting Numbers: [47, 21]
Generated Node #0,1,1: 55:[47, 21] Operation: 4+17=21
Exploring Operation: 47+17=64, Resulting Numbers: [4, 64]
Generated Node #0,1,2: 55:[4, 64] Operation: 47+17=64
Exploring Operation: 17-4=13, Resulting Numbers: [47, 13]
Generated Node #0,1,3: 55:[47, 13] Operation: 17-4=13
Exploring Operation: 47-4=43, Resulting Numbers: [17, 43]
Generated Node #0,1,4: 55:[17, 43] Operation: 47-4=43
Moving to Node #0,1,0
Current State: 55:[17, 51], Operations: ['34/2=17', '4+47=51']
Exploring Operation: 17+51=68, Resulting Numbers: [68]
68,55 unequal: No Solution
Exploring Operation: 51-17=34, Resulting Numbers: [34]
34,55 unequal: No Solution
Exploring Operation: 51/17=3, Resulting Numbers: [3]
3,55 unequal: No Solution
Exploring Operation: 17*51=867, Resulting Numbers: [867]
867,55 unequal: No Solution
Moving to Node #0,1,3
Current State: 55:[47, 13], Operations: ['34/2=17', '17-4=13']
Exploring Operation: 47+13=60, Resulting Numbers: [60]
60,55 unequal: No Solution
Exploring Operation: 47*13=611, Resulting Numbers: [611]
611,55 unequal: No Solution
Exploring Operation: 47-13=34, Resulting Numbers: [34]
34,55 unequal: No Solution
Moving to Node #0,1,2
Current State: 55:[4, 64], Operations: ['34/2=17', '47+17=64']
Exploring Operation: 64-4=60, Resulting Numbers: [60]
60,55 unequal: No Solution
Exploring Operation: 4*64=256, Resulting Numbers: [256]
256,55 unequal: No Solution
Exploring Operation: 4+64=68, Resulting Numbers: [68]
68,55 unequal: No Solution
Exploring Operation: 64/4=16, Resulting Numbers: [16]
16,55 unequal: No Solution
Moving to Node #0,1,1
Current State: 55:[47, 21], Operations: ['34/2=17', '4+17=21']
Exploring Operation: 47+21=68, Resulting Numbers: [68]
68,55 unequal: No Solution
Exploring Operation: 47-21=26, Resulting Numbers: [26]
26,55 unequal: No Solution
Exploring Operation: 47*21=987, Resulting Numbers: [987]
987,55 unequal: No Solution
Moving to Node #0,1,4
Current State: 55:[17, 43], Operations: ['34/2=17', '47-4=43']
Exploring Operation: 43-17=26, Resulting Numbers: [26]
26,55 unequal: No Solution
Exploring Operation: 17*43=731, Resulting Numbers: [731]
731,55 unequal: No Solution
Exploring Operation: 17+43=60, Resulting Numbers: [60]
60,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 55:[4, 47, 68], Operations: ['2*34=68']
Exploring Operation: 68-47=21, Resulting Numbers: [4, 21]
Generated Node #0,3,0: 55:[4, 21] Operation: 68-47=21
Exploring Operation: 47-4=43, Resulting Numbers: [68, 43]
Generated Node #0,3,1: 55:[68, 43] Operation: 47-4=43
Exploring Operation: 4+47=51, Resulting Numbers: [68, 51]
Generated Node #0,3,2: 55:[68, 51] Operation: 4+47=51
Exploring Operation: 68-4=64, Resulting Numbers: [47, 64]
Generated Node #0,3,3: 55:[47, 64] Operation: 68-4=64
Exploring Operation: 68/4=17, Resulting Numbers: [47, 17]
Generated Node #0,3,4: 55:[47, 17] Operation: 68/4=17
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 55:[4, 21], Operations: ['2*34=68', '68-47=21']
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,55 unequal: No Solution
Exploring Operation: 4*21=84, Resulting Numbers: [84]
84,55 unequal: No Solution
Exploring Operation: 4+21=25, Resulting Numbers: [25]
25,55 unequal: No Solution
No 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: 55:[47, 17], Operations: ['2*34=68', '68/4=17']
Exploring Operation: 47+17=64, Resulting Numbers: [64]
64,55 unequal: No Solution
Exploring Operation: 47-17=30, Resulting Numbers: [30]
30,55 unequal: No Solution
Exploring Operation: 47*17=799, Resulting Numbers: [799]
799,55 unequal: No Solution
No 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: 55:[68, 51], Operations: ['2*34=68', '4+47=51']
Exploring Operation: 68*51=3468, Resulting Numbers: [3468]
3468,55 unequal: No Solution
Exploring Operation: 68+51=119, Resulting Numbers: [119]
119,55 unequal: No Solution
Exploring Operation: 68-51=17, Resulting Numbers: [17]
17,55 unequal: No Solution
No 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: 55:[47, 64], Operations: ['2*34=68', '68-4=64']
Exploring Operation: 47*64=3008, Resulting Numbers: [3008]
3008,55 unequal: No Solution
Exploring Operation: 64-47=17, Resulting Numbers: [17]
17,55 unequal: No Solution
Exploring Operation: 47+64=111, Resulting Numbers: [111]
111,55 unequal: No Solution
No 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: 55:[68, 43], Operations: ['2*34=68', '47-4=43']
Exploring Operation: 68*43=2924, Resulting Numbers: [2924]
2924,55 unequal: No Solution
Exploring Operation: 68+43=111, Resulting Numbers: [111]
111,55 unequal: No Solution
Exploring Operation: 68-43=25, Resulting Numbers: [25]
25,55 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: 55:[2, 47, 38], Operations: ['4+34=38']
Exploring Operation: 38/2=19, Resulting Numbers: [47, 19]
Generated Node #0,0,0: 55:[47, 19] Operation: 38/2=19
Exploring Operation: 2+38=40, Resulting Numbers: [47, 40]
Generated Node #0,0,1: 55:[47, 40] Operation: 2+38=40
Exploring Operation: 47-38=9, Resulting Numbers: [2, 9]
Generated Node #0,0,2: 55:[2, 9] Operation: 47-38=9
Exploring Operation: 47-2=45, Resulting Numbers: [38, 45]
Generated Node #0,0,3: 55:[38, 45] Operation: 47-2=45
Exploring Operation: 2+47=49, Resulting Numbers: [38, 49]
Generated Node #0,0,4: 55:[38, 49] Operation: 2+47=49
Moving to Node #0,0,2
Current State: 55:[2, 9], Operations: ['4+34=38', '47-38=9']
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,55 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,55 unequal: No Solution
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,55 unequal: No Solution
Moving to Node #0,0,0
Current State: 55:[47, 19], Operations: ['4+34=38', '38/2=19']
Exploring Operation: 47+19=66, Resulting Numbers: [66]
66,55 unequal: No Solution
Exploring Operation: 47-19=28, Resulting Numbers: [28]
28,55 unequal: No Solution
Exploring Operation: 47*19=893, Resulting Numbers: [893]
893,55 unequal: No Solution
Moving to Node #0,0,1
Current State: 55:[47, 40], Operations: ['4+34=38', '2+38=40']
Exploring Operation: 47*40=1880, Resulting Numbers: [1880]
1880,55 unequal: No Solution
Exploring Operation: 47-40=7, Resulting Numbers: [7]
7,55 unequal: No Solution
Exploring Operation: 47+40=87, Resulting Numbers: [87]
87,55 unequal: No Solution
Moving to Node #0,0,4
Current State: 55:[38, 49], Operations: ['4+34=38', '2+47=49']
Exploring Operation: 38*49=1862, Resulting Numbers: [1862]
1862,55 unequal: No Solution
Exploring Operation: 38+49=87, Resulting Numbers: [87]
87,55 unequal: No Solution
Exploring Operation: 49-38=11, Resulting Numbers: [11]
11,55 unequal: No Solution
Moving to Node #0,0,3
Current State: 55:[38, 45], Operations: ['4+34=38', '47-2=45']
Exploring Operation: 38*45=1710, Resulting Numbers: [1710]
1710,55 unequal: No Solution
Exploring Operation: 45-38=7, Resulting Numbers: [7]
7,55 unequal: No Solution
Exploring Operation: 38+45=83, Resulting Numbers: [83]
83,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 55:[2, 34, 51], Operations: ['4+47=51']
Exploring Operation: 51-34=17, Resulting Numbers: [2, 17]
Generated Node #0,2,0: 55:[2, 17] Operation: 51-34=17
Exploring Operation: 2+51=53, Resulting Numbers: [34, 53]
Generated Node #0,2,1: 55:[34, 53] Operation: 2+51=53
Exploring Operation: 34/2=17, Resulting Numbers: [51, 17]
Generated Node #0,2,2: 55:[51, 17] Operation: 34/2=17
Exploring Operation: 2*34=68, Resulting Numbers: [51, 68]
Generated Node #0,2,3: 55:[51, 68] Operation: 2*34=68
Exploring Operation: 2+34=36, Resulting Numbers: [51, 36]
Generated Node #0,2,4: 55:[51, 36] Operation: 2+34=36
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 55:[2, 17], Operations: ['4+47=51', '51-34=17']
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,55 unequal: No Solution
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,55 unequal: No Solution
Exploring Operation: 2+17=19, Resulting Numbers: [19]
19,55 unequal: No Solution
No 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: 55:[51, 17], Operations: ['4+47=51', '34/2=17']
Exploring Operation: 51*17=867, Resulting Numbers: [867]
867,55 unequal: No Solution
Exploring Operation: 51-17=34, Resulting Numbers: [34]
34,55 unequal: No Solution
Exploring Operation: 51/17=3, Resulting Numbers: [3]
3,55 unequal: No Solution
Exploring Operation: 51+17=68, Resulting Numbers: [68]
68,55 unequal: No Solution
No 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: 55:[51, 68], Operations: ['4+47=51', '2*34=68']
Exploring Operation: 51+68=119, Resulting Numbers: [119]
119,55 unequal: No Solution
Exploring Operation: 51*68=3468, Resulting Numbers: [3468]
3468,55 unequal: No Solution
Exploring Operation: 68-51=17, Resulting Numbers: [17]
17,55 unequal: No Solution
No 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: 55:[34, 53], Operations: ['4+47=51', '2+51=53']
Exploring Operation: 34*53=1802, Resulting Numbers: [1802]
1802,55 unequal: No Solution
Exploring Operation: 34+53=87, Resulting Numbers: [87]
87,55 unequal: No Solution
Exploring Operation: 53-34=19, Resulting Numbers: [19]
19,55 unequal: No Solution
No 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: 55:[51, 36], Operations: ['4+47=51', '2+34=36']
Exploring Operation: 51-36=15, Resulting Numbers: [15]
15,55 unequal: No Solution
Exploring Operation: 51*36=1836, Resulting Numbers: [1836]
1836,55 unequal: No Solution
Exploring Operation: 51+36=87, Resulting Numbers: [87]
87,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
54,
66,
9,
45
] | 64 | [
"66*45=2970",
"2970/54=55",
"9+55=64"
] | Current State: 64:[54, 66, 9, 45], Operations: []
Exploring Operation: 66*45=2970, Resulting Numbers: [54, 9, 2970]
Generated Node #2: [54, 9, 2970] from Operation: 66*45=2970
Current State: 64:[54, 9, 2970], Operations: ['66*45=2970']
Exploring Operation: 2970/54=55, Resulting Numbers: [9, 55]
Generated Node #3: [9, 55] from Operation: 2970/54=55
Current State: 64:[9, 55], Operations: ['66*45=2970', '2970/54=55']
Exploring Operation: 9+55=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[54, 66, 9, 45], Operations: []
Exploring Operation: 54+9=63, Resulting Numbers: [66, 45, 63]
Generated Node #0,0: 64:[66, 45, 63] Operation: 54+9=63
Exploring Operation: 66-45=21, Resulting Numbers: [54, 9, 21]
Generated Node #0,1: 64:[54, 9, 21] Operation: 66-45=21
Exploring Operation: 45/9=5, Resulting Numbers: [54, 66, 5]
Generated Node #0,2: 64:[54, 66, 5] Operation: 45/9=5
Exploring Operation: 45-9=36, Resulting Numbers: [54, 66, 36]
Generated Node #0,3: 64:[54, 66, 36] Operation: 45-9=36
Exploring Operation: 54-45=9, Resulting Numbers: [66, 9, 9]
Generated Node #0,4: 64:[66, 9, 9] Operation: 54-45=9
Moving to Node #0,4
Current State: 64:[66, 9, 9], Operations: ['54-45=9']
Exploring Operation: 9-9=0, Resulting Numbers: [66, 0]
Generated Node #0,4,0: 64:[66, 0] Operation: 9-9=0
Exploring Operation: 9+9=18, Resulting Numbers: [66, 18]
Generated Node #0,4,1: 64:[66, 18] Operation: 9+9=18
Exploring Operation: 66-9=57, Resulting Numbers: [9, 57]
Generated Node #0,4,2: 64:[9, 57] Operation: 66-9=57
Exploring Operation: 9/9=1, Resulting Numbers: [66, 1]
Generated Node #0,4,3: 64:[66, 1] Operation: 9/9=1
Exploring Operation: 66-9=57, Resulting Numbers: [9, 57]
Generated Node #0,4,4: 64:[9, 57] Operation: 66-9=57
Moving to Node #0,2
Current State: 64:[54, 66, 5], Operations: ['45/9=5']
Exploring Operation: 66-54=12, Resulting Numbers: [5, 12]
Generated Node #0,2,0: 64:[5, 12] Operation: 66-54=12
Exploring Operation: 54-5=49, Resulting Numbers: [66, 49]
Generated Node #0,2,1: 64:[66, 49] Operation: 54-5=49
Exploring Operation: 54+5=59, Resulting Numbers: [66, 59]
Generated Node #0,2,2: 64:[66, 59] Operation: 54+5=59
Exploring Operation: 66+5=71, Resulting Numbers: [54, 71]
Generated Node #0,2,3: 64:[54, 71] Operation: 66+5=71
Exploring Operation: 66-5=61, Resulting Numbers: [54, 61]
Generated Node #0,2,4: 64:[54, 61] Operation: 66-5=61
Moving to Node #0,0
Current State: 64:[66, 45, 63], Operations: ['54+9=63']
Exploring Operation: 66-63=3, Resulting Numbers: [45, 3]
Generated Node #0,0,0: 64:[45, 3] Operation: 66-63=3
Exploring Operation: 66-45=21, Resulting Numbers: [63, 21]
Generated Node #0,0,1: 64:[63, 21] Operation: 66-45=21
Exploring Operation: 45+63=108, Resulting Numbers: [66, 108]
Generated Node #0,0,2: 64:[66, 108] Operation: 45+63=108
Exploring Operation: 63-45=18, Resulting Numbers: [66, 18]
Generated Node #0,0,3: 64:[66, 18] Operation: 63-45=18
Exploring Operation: 66+45=111, Resulting Numbers: [63, 111]
Generated Node #0,0,4: 64:[63, 111] Operation: 66+45=111
Moving to Node #0,1
Current State: 64:[54, 9, 21], Operations: ['66-45=21']
Exploring Operation: 54-21=33, Resulting Numbers: [9, 33]
Generated Node #0,1,0: 64:[9, 33] Operation: 54-21=33
Exploring Operation: 54/9=6, Resulting Numbers: [21, 6]
Generated Node #0,1,1: 64:[21, 6] Operation: 54/9=6
Exploring Operation: 54+21=75, Resulting Numbers: [9, 75]
Generated Node #0,1,2: 64:[9, 75] Operation: 54+21=75
Exploring Operation: 54+9=63, Resulting Numbers: [21, 63]
Generated Node #0,1,3: 64:[21, 63] Operation: 54+9=63
Exploring Operation: 9+21=30, Resulting Numbers: [54, 30]
Generated Node #0,1,4: 64:[54, 30] Operation: 9+21=30
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 64:[9, 33], Operations: ['66-45=21', '54-21=33']
Exploring Operation: 9+33=42, Resulting Numbers: [42]
42,64 unequal: No Solution
Exploring Operation: 9*33=297, Resulting Numbers: [297]
297,64 unequal: No Solution
Exploring Operation: 33-9=24, Resulting Numbers: [24]
24,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 64:[21, 63], Operations: ['66-45=21', '54+9=63']
Exploring Operation: 21+63=84, Resulting Numbers: [84]
84,64 unequal: No Solution
Exploring Operation: 21*63=1323, Resulting Numbers: [1323]
1323,64 unequal: No Solution
Exploring Operation: 63/21=3, Resulting Numbers: [3]
3,64 unequal: No Solution
Exploring Operation: 63-21=42, Resulting Numbers: [42]
42,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 64:[21, 6], Operations: ['66-45=21', '54/9=6']
Exploring Operation: 21*6=126, Resulting Numbers: [126]
126,64 unequal: No Solution
Exploring Operation: 21+6=27, Resulting Numbers: [27]
27,64 unequal: No Solution
Exploring Operation: 21-6=15, Resulting Numbers: [15]
15,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 64:[9, 75], Operations: ['66-45=21', '54+21=75']
Exploring Operation: 75-9=66, Resulting Numbers: [66]
66,64 unequal: No Solution
Exploring Operation: 9+75=84, Resulting Numbers: [84]
84,64 unequal: No Solution
Exploring Operation: 9*75=675, Resulting Numbers: [675]
675,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 64:[54, 30], Operations: ['66-45=21', '9+21=30']
Exploring Operation: 54+30=84, Resulting Numbers: [84]
84,64 unequal: No Solution
Exploring Operation: 54-30=24, Resulting Numbers: [24]
24,64 unequal: No Solution
Exploring Operation: 54*30=1620, Resulting Numbers: [1620]
1620,64 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: 64:[54, 66, 36], Operations: ['45-9=36']
Exploring Operation: 54+36=90, Resulting Numbers: [66, 90]
Generated Node #0,3,0: 64:[66, 90] Operation: 54+36=90
Exploring Operation: 66-36=30, Resulting Numbers: [54, 30]
Generated Node #0,3,1: 64:[54, 30] Operation: 66-36=30
Exploring Operation: 66-54=12, Resulting Numbers: [36, 12]
Generated Node #0,3,2: 64:[36, 12] Operation: 66-54=12
Exploring Operation: 66+36=102, Resulting Numbers: [54, 102]
Generated Node #0,3,3: 64:[54, 102] Operation: 66+36=102
Exploring Operation: 54-36=18, Resulting Numbers: [66, 18]
Generated Node #0,3,4: 64:[66, 18] Operation: 54-36=18
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 64:[66, 18], Operations: ['45-9=36', '54-36=18']
Exploring Operation: 66+18=84, Resulting Numbers: [84]
84,64 unequal: No Solution
Exploring Operation: 66*18=1188, Resulting Numbers: [1188]
1188,64 unequal: No Solution
Exploring Operation: 66-18=48, Resulting Numbers: [48]
48,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 64:[36, 12], Operations: ['45-9=36', '66-54=12']
Exploring Operation: 36-12=24, Resulting Numbers: [24]
24,64 unequal: No Solution
Exploring Operation: 36+12=48, Resulting Numbers: [48]
48,64 unequal: No Solution
Exploring Operation: 36*12=432, Resulting Numbers: [432]
432,64 unequal: No Solution
Exploring Operation: 36/12=3, Resulting Numbers: [3]
3,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 64:[54, 30], Operations: ['45-9=36', '66-36=30']
Exploring Operation: 54+30=84, Resulting Numbers: [84]
84,64 unequal: No Solution
Exploring Operation: 54-30=24, Resulting Numbers: [24]
24,64 unequal: No Solution
Exploring Operation: 54*30=1620, Resulting Numbers: [1620]
1620,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 64:[66, 90], Operations: ['45-9=36', '54+36=90']
Exploring Operation: 66*90=5940, Resulting Numbers: [5940]
5940,64 unequal: No Solution
Exploring Operation: 66+90=156, Resulting Numbers: [156]
156,64 unequal: No Solution
Exploring Operation: 90-66=24, Resulting Numbers: [24]
24,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 64:[54, 102], Operations: ['45-9=36', '66+36=102']
Exploring Operation: 54*102=5508, Resulting Numbers: [5508]
5508,64 unequal: No Solution
Exploring Operation: 102-54=48, Resulting Numbers: [48]
48,64 unequal: No Solution
Exploring Operation: 54+102=156, Resulting Numbers: [156]
156,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,3
Current State: 64:[66, 1], Operations: ['54-45=9', '9/9=1']
Exploring Operation: 66/1=66, Resulting Numbers: [66]
66,64 unequal: No Solution
Exploring Operation: 66*1=66, Resulting Numbers: [66]
66,64 unequal: No Solution
Exploring Operation: 66-1=65, Resulting Numbers: [65]
65,64 unequal: No Solution
Exploring Operation: 66+1=67, Resulting Numbers: [67]
67,64 unequal: No Solution
Moving to Node #0,4,1
Current State: 64:[66, 18], Operations: ['54-45=9', '9+9=18']
Exploring Operation: 66*18=1188, Resulting Numbers: [1188]
1188,64 unequal: No Solution
Exploring Operation: 66+18=84, Resulting Numbers: [84]
84,64 unequal: No Solution
Exploring Operation: 66-18=48, Resulting Numbers: [48]
48,64 unequal: No Solution
Moving to Node #0,4,0
Current State: 64:[66, 0], Operations: ['54-45=9', '9-9=0']
Exploring Operation: 66-0=66, Resulting Numbers: [66]
66,64 unequal: No Solution
Exploring Operation: 66+0=66, Resulting Numbers: [66]
66,64 unequal: No Solution
Exploring Operation: 66*0=0, Resulting Numbers: [0]
0,64 unequal: No Solution
Moving to Node #0,0,3
Current State: 64:[66, 18], Operations: ['54+9=63', '63-45=18']
Exploring Operation: 66+18=84, Resulting Numbers: [84]
84,64 unequal: No Solution
Exploring Operation: 66-18=48, Resulting Numbers: [48]
48,64 unequal: No Solution
Exploring Operation: 66*18=1188, Resulting Numbers: [1188]
1188,64 unequal: No Solution
Moving to Node #0,2,0
Current State: 64:[5, 12], Operations: ['45/9=5', '66-54=12']
Exploring Operation: 5+12=17, Resulting Numbers: [17]
17,64 unequal: No Solution
Exploring Operation: 12-5=7, Resulting Numbers: [7]
7,64 unequal: No Solution
Exploring Operation: 5*12=60, Resulting Numbers: [60]
60,64 unequal: No Solution
Moving to Node #0,0,1
Current State: 64:[63, 21], Operations: ['54+9=63', '66-45=21']
Exploring Operation: 63-21=42, Resulting Numbers: [42]
42,64 unequal: No Solution
Exploring Operation: 63+21=84, Resulting Numbers: [84]
84,64 unequal: No Solution
Exploring Operation: 63/21=3, Resulting Numbers: [3]
3,64 unequal: No Solution
Exploring Operation: 63*21=1323, Resulting Numbers: [1323]
1323,64 unequal: No Solution
Moving to Node #0,2,2
Current State: 64:[66, 59], Operations: ['45/9=5', '54+5=59']
Exploring Operation: 66+59=125, Resulting Numbers: [125]
125,64 unequal: No Solution
Exploring Operation: 66*59=3894, Resulting Numbers: [3894]
3894,64 unequal: No Solution
Exploring Operation: 66-59=7, Resulting Numbers: [7]
7,64 unequal: No Solution
Moving to Node #0,4,4
Current State: 64:[9, 57], Operations: ['54-45=9', '66-9=57']
Exploring Operation: 57-9=48, Resulting Numbers: [48]
48,64 unequal: No Solution
Exploring Operation: 9*57=513, Resulting Numbers: [513]
513,64 unequal: No Solution
Exploring Operation: 9+57=66, Resulting Numbers: [66]
66,64 unequal: No Solution
Moving to Node #0,4,2
Current State: 64:[9, 57], Operations: ['54-45=9', '66-9=57']
Exploring Operation: 9*57=513, Resulting Numbers: [513]
513,64 unequal: No Solution
Exploring Operation: 57-9=48, Resulting Numbers: [48]
48,64 unequal: No Solution
Exploring Operation: 9+57=66, Resulting Numbers: [66]
66,64 unequal: No Solution
Moving to Node #0,2,4
Current State: 64:[54, 61], Operations: ['45/9=5', '66-5=61']
Exploring Operation: 54*61=3294, Resulting Numbers: [3294]
3294,64 unequal: No Solution
Exploring Operation: 61-54=7, Resulting Numbers: [7]
7,64 unequal: No Solution
Exploring Operation: 54+61=115, Resulting Numbers: [115]
115,64 unequal: No Solution
Moving to Node #0,0,0
Current State: 64:[45, 3], Operations: ['54+9=63', '66-63=3']
Exploring Operation: 45*3=135, Resulting Numbers: [135]
135,64 unequal: No Solution
Exploring Operation: 45/3=15, Resulting Numbers: [15]
15,64 unequal: No Solution
Exploring Operation: 45+3=48, Resulting Numbers: [48]
48,64 unequal: No Solution
Exploring Operation: 45-3=42, Resulting Numbers: [42]
42,64 unequal: No Solution
Moving to Node #0,2,3
Current State: 64:[54, 71], Operations: ['45/9=5', '66+5=71']
Exploring Operation: 54*71=3834, Resulting Numbers: [3834]
3834,64 unequal: No Solution
Exploring Operation: 71-54=17, Resulting Numbers: [17]
17,64 unequal: No Solution
Exploring Operation: 54+71=125, Resulting Numbers: [125]
125,64 unequal: No Solution
Moving to Node #0,2,1
Current State: 64:[66, 49], Operations: ['45/9=5', '54-5=49']
Exploring Operation: 66-49=17, Resulting Numbers: [17]
17,64 unequal: No Solution
Exploring Operation: 66*49=3234, Resulting Numbers: [3234]
3234,64 unequal: No Solution
Exploring Operation: 66+49=115, Resulting Numbers: [115]
115,64 unequal: No Solution
Moving to Node #0,0,2
Current State: 64:[66, 108], Operations: ['54+9=63', '45+63=108']
Exploring Operation: 66*108=7128, Resulting Numbers: [7128]
7128,64 unequal: No Solution
Exploring Operation: 66+108=174, Resulting Numbers: [174]
174,64 unequal: No Solution
Exploring Operation: 108-66=42, Resulting Numbers: [42]
42,64 unequal: No Solution
Moving to Node #0,0,4
Current State: 64:[63, 111], Operations: ['54+9=63', '66+45=111']
Exploring Operation: 63+111=174, Resulting Numbers: [174]
174,64 unequal: No Solution
Exploring Operation: 111-63=48, Resulting Numbers: [48]
48,64 unequal: No Solution
Exploring Operation: 63*111=6993, Resulting Numbers: [6993]
6993,64 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
75,
84,
86,
98
] | 21 | [
"84-75=9",
"98-86=12",
"9+12=21"
] | Current State: 21:[75, 84, 86, 98], Operations: []
Exploring Operation: 84-75=9, Resulting Numbers: [86, 98, 9]
Generated Node #2: [86, 98, 9] from Operation: 84-75=9
Current State: 21:[86, 98, 9], Operations: ['84-75=9']
Exploring Operation: 98-86=12, Resulting Numbers: [9, 12]
Generated Node #3: [9, 12] from Operation: 98-86=12
Current State: 21:[9, 12], Operations: ['84-75=9', '98-86=12']
Exploring Operation: 9+12=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[75, 84, 86, 98], Operations: []
Exploring Operation: 84-75=9, Resulting Numbers: [86, 98, 9]
Generated Node #0,0: 21:[86, 98, 9] Operation: 84-75=9
Exploring Operation: 86-84=2, Resulting Numbers: [75, 98, 2]
Generated Node #0,1: 21:[75, 98, 2] Operation: 86-84=2
Exploring Operation: 98-84=14, Resulting Numbers: [75, 86, 14]
Generated Node #0,2: 21:[75, 86, 14] Operation: 98-84=14
Exploring Operation: 98-86=12, Resulting Numbers: [75, 84, 12]
Generated Node #0,3: 21:[75, 84, 12] Operation: 98-86=12
Exploring Operation: 98-75=23, Resulting Numbers: [84, 86, 23]
Generated Node #0,4: 21:[84, 86, 23] Operation: 98-75=23
Moving to Node #0,3
Current State: 21:[75, 84, 12], Operations: ['98-86=12']
Exploring Operation: 75-12=63, Resulting Numbers: [84, 63]
Generated Node #0,3,0: 21:[84, 63] Operation: 75-12=63
Exploring Operation: 84/12=7, Resulting Numbers: [75, 7]
Generated Node #0,3,1: 21:[75, 7] Operation: 84/12=7
Exploring Operation: 84-75=9, Resulting Numbers: [12, 9]
Generated Node #0,3,2: 21:[12, 9] Operation: 84-75=9
Exploring Operation: 84-12=72, Resulting Numbers: [75, 72]
Generated Node #0,3,3: 21:[75, 72] Operation: 84-12=72
Exploring Operation: 75+12=87, Resulting Numbers: [84, 87]
Generated Node #0,3,4: 21:[84, 87] Operation: 75+12=87
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 21:[12, 9], Operations: ['98-86=12', '84-75=9']
Exploring Operation: 12*9=108, Resulting Numbers: [108]
108,21 unequal: No Solution
Exploring Operation: 12-9=3, Resulting Numbers: [3]
3,21 unequal: No Solution
Exploring Operation: 12+9=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[75, 84, 86, 98], Operations: []
Exploring Operation: 98-86=12, Resulting Numbers: [75, 84, 12]
Generated Node #0,3: 21:[75, 84, 12] Operation: 98-86=12
Moving to Node #0,3
Current State: 21:[75, 84, 12], Operations: ['98-86=12']
Exploring Operation: 84-75=9, Resulting Numbers: [12, 9]
Generated Node #0,3,2: 21:[12, 9] Operation: 84-75=9
Moving to Node #0,3,2
Current State: 21:[12, 9], Operations: ['98-86=12', '84-75=9']
Exploring Operation: 12+9=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
2,
90,
66,
78
] | 57 | [
"90/2=45",
"78-66=12",
"45+12=57"
] | Current State: 57:[2, 90, 66, 78], Operations: []
Exploring Operation: 90/2=45, Resulting Numbers: [66, 78, 45]
Generated Node #2: [66, 78, 45] from Operation: 90/2=45
Current State: 57:[66, 78, 45], Operations: ['90/2=45']
Exploring Operation: 78-66=12, Resulting Numbers: [45, 12]
Generated Node #3: [45, 12] from Operation: 78-66=12
Current State: 57:[45, 12], Operations: ['90/2=45', '78-66=12']
Exploring Operation: 45+12=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[2, 90, 66, 78], Operations: []
Exploring Operation: 90-78=12, Resulting Numbers: [2, 66, 12]
Generated Node #0,0: 57:[2, 66, 12] Operation: 90-78=12
Exploring Operation: 78/2=39, Resulting Numbers: [90, 66, 39]
Generated Node #0,1: 57:[90, 66, 39] Operation: 78/2=39
Exploring Operation: 90-66=24, Resulting Numbers: [2, 78, 24]
Generated Node #0,2: 57:[2, 78, 24] Operation: 90-66=24
Exploring Operation: 90/2=45, Resulting Numbers: [66, 78, 45]
Generated Node #0,3: 57:[66, 78, 45] Operation: 90/2=45
Exploring Operation: 78-66=12, Resulting Numbers: [2, 90, 12]
Generated Node #0,4: 57:[2, 90, 12] Operation: 78-66=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 57:[2, 66, 12], Operations: ['90-78=12']
Exploring Operation: 2+12=14, Resulting Numbers: [66, 14]
Generated Node #0,0,0: 57:[66, 14] Operation: 2+12=14
Exploring Operation: 2*12=24, Resulting Numbers: [66, 24]
Generated Node #0,0,1: 57:[66, 24] Operation: 2*12=24
Exploring Operation: 66-12=54, Resulting Numbers: [2, 54]
Generated Node #0,0,2: 57:[2, 54] Operation: 66-12=54
Exploring Operation: 66-2=64, Resulting Numbers: [12, 64]
Generated Node #0,0,3: 57:[12, 64] Operation: 66-2=64
Exploring Operation: 12/2=6, Resulting Numbers: [66, 6]
Generated Node #0,0,4: 57:[66, 6] Operation: 12/2=6
Moving to Node #0,0,2
Current State: 57:[2, 54], Operations: ['90-78=12', '66-12=54']
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,57 unequal: No Solution
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,57 unequal: No Solution
Exploring Operation: 2*54=108, Resulting Numbers: [108]
108,57 unequal: No Solution
Exploring Operation: 2+54=56, Resulting Numbers: [56]
56,57 unequal: No Solution
Moving to Node #0,0,4
Current State: 57:[66, 6], Operations: ['90-78=12', '12/2=6']
Exploring Operation: 66+6=72, Resulting Numbers: [72]
72,57 unequal: No Solution
Exploring Operation: 66-6=60, Resulting Numbers: [60]
60,57 unequal: No Solution
Exploring Operation: 66/6=11, Resulting Numbers: [11]
11,57 unequal: No Solution
Exploring Operation: 66*6=396, Resulting Numbers: [396]
396,57 unequal: No Solution
Moving to Node #0,0,0
Current State: 57:[66, 14], Operations: ['90-78=12', '2+12=14']
Exploring Operation: 66*14=924, Resulting Numbers: [924]
924,57 unequal: No Solution
Exploring Operation: 66+14=80, Resulting Numbers: [80]
80,57 unequal: No Solution
Exploring Operation: 66-14=52, Resulting Numbers: [52]
52,57 unequal: No Solution
Moving to Node #0,0,1
Current State: 57:[66, 24], Operations: ['90-78=12', '2*12=24']
Exploring Operation: 66+24=90, Resulting Numbers: [90]
90,57 unequal: No Solution
Exploring Operation: 66*24=1584, Resulting Numbers: [1584]
1584,57 unequal: No Solution
Exploring Operation: 66-24=42, Resulting Numbers: [42]
42,57 unequal: No Solution
Moving to Node #0,0,3
Current State: 57:[12, 64], Operations: ['90-78=12', '66-2=64']
Exploring Operation: 64-12=52, Resulting Numbers: [52]
52,57 unequal: No Solution
Exploring Operation: 12*64=768, Resulting Numbers: [768]
768,57 unequal: No Solution
Exploring Operation: 12+64=76, Resulting Numbers: [76]
76,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 57:[2, 78, 24], Operations: ['90-66=24']
Exploring Operation: 78/2=39, Resulting Numbers: [24, 39]
Generated Node #0,2,0: 57:[24, 39] Operation: 78/2=39
Exploring Operation: 24-2=22, Resulting Numbers: [78, 22]
Generated Node #0,2,1: 57:[78, 22] Operation: 24-2=22
Exploring Operation: 2+78=80, Resulting Numbers: [24, 80]
Generated Node #0,2,2: 57:[24, 80] Operation: 2+78=80
Exploring Operation: 78-2=76, Resulting Numbers: [24, 76]
Generated Node #0,2,3: 57:[24, 76] Operation: 78-2=76
Exploring Operation: 78-24=54, Resulting Numbers: [2, 54]
Generated Node #0,2,4: 57:[2, 54] Operation: 78-24=54
Moving to Node #0,2,4
Current State: 57:[2, 54], Operations: ['90-66=24', '78-24=54']
Exploring Operation: 2+54=56, Resulting Numbers: [56]
56,57 unequal: No Solution
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,57 unequal: No Solution
Exploring Operation: 2*54=108, Resulting Numbers: [108]
108,57 unequal: No Solution
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,57 unequal: No Solution
Moving to Node #0,2,0
Current State: 57:[24, 39], Operations: ['90-66=24', '78/2=39']
Exploring Operation: 39-24=15, Resulting Numbers: [15]
15,57 unequal: No Solution
Exploring Operation: 24*39=936, Resulting Numbers: [936]
936,57 unequal: No Solution
Exploring Operation: 24+39=63, Resulting Numbers: [63]
63,57 unequal: No Solution
Moving to Node #0,2,1
Current State: 57:[78, 22], Operations: ['90-66=24', '24-2=22']
Exploring Operation: 78+22=100, Resulting Numbers: [100]
100,57 unequal: No Solution
Exploring Operation: 78-22=56, Resulting Numbers: [56]
56,57 unequal: No Solution
Exploring Operation: 78*22=1716, Resulting Numbers: [1716]
1716,57 unequal: No Solution
Moving to Node #0,2,3
Current State: 57:[24, 76], Operations: ['90-66=24', '78-2=76']
Exploring Operation: 24*76=1824, Resulting Numbers: [1824]
1824,57 unequal: No Solution
Exploring Operation: 76-24=52, Resulting Numbers: [52]
52,57 unequal: No Solution
Exploring Operation: 24+76=100, Resulting Numbers: [100]
100,57 unequal: No Solution
Moving to Node #0,2,2
Current State: 57:[24, 80], Operations: ['90-66=24', '2+78=80']
Exploring Operation: 80-24=56, Resulting Numbers: [56]
56,57 unequal: No Solution
Exploring Operation: 24+80=104, Resulting Numbers: [104]
104,57 unequal: No Solution
Exploring Operation: 24*80=1920, Resulting Numbers: [1920]
1920,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 57:[2, 90, 12], Operations: ['78-66=12']
Exploring Operation: 2+12=14, Resulting Numbers: [90, 14]
Generated Node #0,4,0: 57:[90, 14] Operation: 2+12=14
Exploring Operation: 12/2=6, Resulting Numbers: [90, 6]
Generated Node #0,4,1: 57:[90, 6] Operation: 12/2=6
Exploring Operation: 90/2=45, Resulting Numbers: [12, 45]
Generated Node #0,4,2: 57:[12, 45] Operation: 90/2=45
Exploring Operation: 90-2=88, Resulting Numbers: [12, 88]
Generated Node #0,4,3: 57:[12, 88] Operation: 90-2=88
Exploring Operation: 90-12=78, Resulting Numbers: [2, 78]
Generated Node #0,4,4: 57:[2, 78] Operation: 90-12=78
Moving to Node #0,4,2
Current State: 57:[12, 45], Operations: ['78-66=12', '90/2=45']
Exploring Operation: 12*45=540, Resulting Numbers: [540]
540,57 unequal: No Solution
Exploring Operation: 12+45=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[2, 90, 66, 78], Operations: []
Exploring Operation: 78-66=12, Resulting Numbers: [2, 90, 12]
Generated Node #0,4: 57:[2, 90, 12] Operation: 78-66=12
Moving to Node #0,4
Current State: 57:[2, 90, 12], Operations: ['78-66=12']
Exploring Operation: 90/2=45, Resulting Numbers: [12, 45]
Generated Node #0,4,2: 57:[12, 45] Operation: 90/2=45
Moving to Node #0,4,2
Current State: 57:[12, 45], Operations: ['78-66=12', '90/2=45']
Exploring Operation: 12+45=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 1
| 0.948785 | hs_5 | sum_heuristic |
[
89,
60,
91,
60
] | 90 | [
"91-89=2",
"60/2=30",
"60+30=90"
] | Current State: 90:[89, 60, 91, 60], Operations: []
Exploring Operation: 91-89=2, Resulting Numbers: [60, 60, 2]
Generated Node #2: [60, 60, 2] from Operation: 91-89=2
Current State: 90:[60, 60, 2], Operations: ['91-89=2']
Exploring Operation: 60/2=30, Resulting Numbers: [30]
30,90 equal: Goal Reached
Exploring Operation: 60+30=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[89, 60, 91, 60], Operations: []
Exploring Operation: 89-60=29, Resulting Numbers: [91, 60, 29]
Generated Node #0,0: 90:[91, 60, 29] Operation: 89-60=29
Exploring Operation: 91-60=31, Resulting Numbers: [89, 60, 31]
Generated Node #0,1: 90:[89, 60, 31] Operation: 91-60=31
Exploring Operation: 89-60=29, Resulting Numbers: [60, 91, 29]
Generated Node #0,2: 90:[60, 91, 29] Operation: 89-60=29
Exploring Operation: 60-60=0, Resulting Numbers: [89, 91, 0]
Generated Node #0,3: 90:[89, 91, 0] Operation: 60-60=0
Exploring Operation: 60/60=1, Resulting Numbers: [89, 91, 1]
Generated Node #0,4: 90:[89, 91, 1] Operation: 60/60=1
Moving to Node #0,4
Current State: 90:[89, 91, 1], Operations: ['60/60=1']
Exploring Operation: 91-89=2, Resulting Numbers: [1, 2]
Generated Node #0,4,0: 90:[1, 2] Operation: 91-89=2
Exploring Operation: 89*1=89, Resulting Numbers: [91, 89]
Generated Node #0,4,1: 90:[91, 89] Operation: 89*1=89
Exploring Operation: 91-1=90, Resulting Numbers: [89, 90]
Generated Node #0,4,2: 90:[89, 90] Operation: 91-1=90
Exploring Operation: 89+1=90, Resulting Numbers: [91, 90]
Generated Node #0,4,3: 90:[91, 90] Operation: 89+1=90
Exploring Operation: 89/1=89, Resulting Numbers: [91, 89]
Generated Node #0,4,4: 90:[91, 89] Operation: 89/1=89
Moving to Node #0,3
Current State: 90:[89, 91, 0], Operations: ['60-60=0']
Exploring Operation: 91-0=91, Resulting Numbers: [89, 91]
Generated Node #0,3,0: 90:[89, 91] Operation: 91-0=91
Exploring Operation: 91-89=2, Resulting Numbers: [0, 2]
Generated Node #0,3,1: 90:[0, 2] Operation: 91-89=2
Exploring Operation: 89-0=89, Resulting Numbers: [91, 89]
Generated Node #0,3,2: 90:[91, 89] Operation: 89-0=89
Exploring Operation: 89+0=89, Resulting Numbers: [91, 89]
Generated Node #0,3,3: 90:[91, 89] Operation: 89+0=89
Exploring Operation: 91+0=91, Resulting Numbers: [89, 91]
Generated Node #0,3,4: 90:[89, 91] Operation: 91+0=91
Moving to Node #0,0
Current State: 90:[91, 60, 29], Operations: ['89-60=29']
Exploring Operation: 91-29=62, Resulting Numbers: [60, 62]
Generated Node #0,0,0: 90:[60, 62] Operation: 91-29=62
Exploring Operation: 91+29=120, Resulting Numbers: [60, 120]
Generated Node #0,0,1: 90:[60, 120] Operation: 91+29=120
Exploring Operation: 91-60=31, Resulting Numbers: [29, 31]
Generated Node #0,0,2: 90:[29, 31] Operation: 91-60=31
Exploring Operation: 60+29=89, Resulting Numbers: [91, 89]
Generated Node #0,0,3: 90:[91, 89] Operation: 60+29=89
Exploring Operation: 60-29=31, Resulting Numbers: [91, 31]
Generated Node #0,0,4: 90:[91, 31] Operation: 60-29=31
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 90:[29, 31], Operations: ['89-60=29', '91-60=31']
Exploring Operation: 31-29=2, Resulting Numbers: [2]
2,90 unequal: No Solution
Exploring Operation: 29*31=899, Resulting Numbers: [899]
899,90 unequal: No Solution
Exploring Operation: 29+31=60, Resulting Numbers: [60]
60,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 90:[91, 89], Operations: ['89-60=29', '60+29=89']
Exploring Operation: 91+89=180, Resulting Numbers: [180]
180,90 unequal: No Solution
Exploring Operation: 91-89=2, Resulting Numbers: [2]
2,90 unequal: No Solution
Exploring Operation: 91*89=8099, Resulting Numbers: [8099]
8099,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 90:[91, 31], Operations: ['89-60=29', '60-29=31']
Exploring Operation: 91*31=2821, Resulting Numbers: [2821]
2821,90 unequal: No Solution
Exploring Operation: 91-31=60, Resulting Numbers: [60]
60,90 unequal: No Solution
Exploring Operation: 91+31=122, Resulting Numbers: [122]
122,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 90:[60, 62], Operations: ['89-60=29', '91-29=62']
Exploring Operation: 60*62=3720, Resulting Numbers: [3720]
3720,90 unequal: No Solution
Exploring Operation: 60+62=122, Resulting Numbers: [122]
122,90 unequal: No Solution
Exploring Operation: 62-60=2, Resulting Numbers: [2]
2,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 90:[60, 120], Operations: ['89-60=29', '91+29=120']
Exploring Operation: 120-60=60, Resulting Numbers: [60]
60,90 unequal: No Solution
Exploring Operation: 60+120=180, Resulting Numbers: [180]
180,90 unequal: No Solution
Exploring Operation: 120/60=2, Resulting Numbers: [2]
2,90 unequal: No Solution
Exploring Operation: 60*120=7200, Resulting Numbers: [7200]
7200,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 90:[89, 60, 31], Operations: ['91-60=31']
Exploring Operation: 60-31=29, Resulting Numbers: [89, 29]
Generated Node #0,1,0: 90:[89, 29] Operation: 60-31=29
Exploring Operation: 60+31=91, Resulting Numbers: [89, 91]
Generated Node #0,1,1: 90:[89, 91] Operation: 60+31=91
Exploring Operation: 89+31=120, Resulting Numbers: [60, 120]
Generated Node #0,1,2: 90:[60, 120] Operation: 89+31=120
Exploring Operation: 89-31=58, Resulting Numbers: [60, 58]
Generated Node #0,1,3: 90:[60, 58] Operation: 89-31=58
Exploring Operation: 89-60=29, Resulting Numbers: [31, 29]
Generated Node #0,1,4: 90:[31, 29] Operation: 89-60=29
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 90:[89, 29], Operations: ['91-60=31', '60-31=29']
Exploring Operation: 89*29=2581, Resulting Numbers: [2581]
2581,90 unequal: No Solution
Exploring Operation: 89+29=118, Resulting Numbers: [118]
118,90 unequal: No Solution
Exploring Operation: 89-29=60, Resulting Numbers: [60]
60,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 90:[89, 91], Operations: ['91-60=31', '60+31=91']
Exploring Operation: 89*91=8099, Resulting Numbers: [8099]
8099,90 unequal: No Solution
Exploring Operation: 89+91=180, Resulting Numbers: [180]
180,90 unequal: No Solution
Exploring Operation: 91-89=2, Resulting Numbers: [2]
2,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 90:[31, 29], Operations: ['91-60=31', '89-60=29']
Exploring Operation: 31+29=60, Resulting Numbers: [60]
60,90 unequal: No Solution
Exploring Operation: 31*29=899, Resulting Numbers: [899]
899,90 unequal: No Solution
Exploring Operation: 31-29=2, Resulting Numbers: [2]
2,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 90:[60, 58], Operations: ['91-60=31', '89-31=58']
Exploring Operation: 60+58=118, Resulting Numbers: [118]
118,90 unequal: No Solution
Exploring Operation: 60-58=2, Resulting Numbers: [2]
2,90 unequal: No Solution
Exploring Operation: 60*58=3480, Resulting Numbers: [3480]
3480,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 90:[60, 120], Operations: ['91-60=31', '89+31=120']
Exploring Operation: 60+120=180, Resulting Numbers: [180]
180,90 unequal: No Solution
Exploring Operation: 120/60=2, Resulting Numbers: [2]
2,90 unequal: No Solution
Exploring Operation: 60*120=7200, Resulting Numbers: [7200]
7200,90 unequal: No Solution
Exploring Operation: 120-60=60, Resulting Numbers: [60]
60,90 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: 90:[60, 91, 29], Operations: ['89-60=29']
Exploring Operation: 91-60=31, Resulting Numbers: [29, 31]
Generated Node #0,2,0: 90:[29, 31] Operation: 91-60=31
Exploring Operation: 91-29=62, Resulting Numbers: [60, 62]
Generated Node #0,2,1: 90:[60, 62] Operation: 91-29=62
Exploring Operation: 60-29=31, Resulting Numbers: [91, 31]
Generated Node #0,2,2: 90:[91, 31] Operation: 60-29=31
Exploring Operation: 91+29=120, Resulting Numbers: [60, 120]
Generated Node #0,2,3: 90:[60, 120] Operation: 91+29=120
Exploring Operation: 60+29=89, Resulting Numbers: [91, 89]
Generated Node #0,2,4: 90:[91, 89] Operation: 60+29=89
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 90:[29, 31], Operations: ['89-60=29', '91-60=31']
Exploring Operation: 31-29=2, Resulting Numbers: [2]
2,90 unequal: No Solution
Exploring Operation: 29+31=60, Resulting Numbers: [60]
60,90 unequal: No Solution
Exploring Operation: 29*31=899, Resulting Numbers: [899]
899,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 90:[91, 31], Operations: ['89-60=29', '60-29=31']
Exploring Operation: 91*31=2821, Resulting Numbers: [2821]
2821,90 unequal: No Solution
Exploring Operation: 91+31=122, Resulting Numbers: [122]
122,90 unequal: No Solution
Exploring Operation: 91-31=60, Resulting Numbers: [60]
60,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 90:[91, 89], Operations: ['89-60=29', '60+29=89']
Exploring Operation: 91+89=180, Resulting Numbers: [180]
180,90 unequal: No Solution
Exploring Operation: 91*89=8099, Resulting Numbers: [8099]
8099,90 unequal: No Solution
Exploring Operation: 91-89=2, Resulting Numbers: [2]
2,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 90:[60, 62], Operations: ['89-60=29', '91-29=62']
Exploring Operation: 60+62=122, Resulting Numbers: [122]
122,90 unequal: No Solution
Exploring Operation: 60*62=3720, Resulting Numbers: [3720]
3720,90 unequal: No Solution
Exploring Operation: 62-60=2, Resulting Numbers: [2]
2,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 90:[60, 120], Operations: ['89-60=29', '91+29=120']
Exploring Operation: 120/60=2, Resulting Numbers: [2]
2,90 unequal: No Solution
Exploring Operation: 60+120=180, Resulting Numbers: [180]
180,90 unequal: No Solution
Exploring Operation: 60*120=7200, Resulting Numbers: [7200]
7200,90 unequal: No Solution
Exploring Operation: 120-60=60, Resulting Numbers: [60]
60,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,0
Current State: 90:[1, 2], Operations: ['60/60=1', '91-89=2']
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,90 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,90 unequal: No Solution
Exploring Operation: 1+2=3, Resulting Numbers: [3]
3,90 unequal: No Solution
Exploring Operation: 1*2=2, Resulting Numbers: [2]
2,90 unequal: No Solution
Moving to Node #0,4,3
Current State: 90:[91, 90], Operations: ['60/60=1', '89+1=90']
Exploring Operation: 91+90=181, Resulting Numbers: [181]
181,90 unequal: No Solution
Exploring Operation: 91-90=1, Resulting Numbers: [1]
1,90 unequal: No Solution
Exploring Operation: 91*90=8190, Resulting Numbers: [8190]
8190,90 unequal: No Solution
Moving to Node #0,4,2
Current State: 90:[89, 90], Operations: ['60/60=1', '91-1=90']
Exploring Operation: 90-89=1, Resulting Numbers: [1]
1,90 unequal: No Solution
Exploring Operation: 89*90=8010, Resulting Numbers: [8010]
8010,90 unequal: No Solution
Exploring Operation: 89+90=179, Resulting Numbers: [179]
179,90 unequal: No Solution
Moving to Node #0,3,1
Current State: 90:[0, 2], Operations: ['60-60=0', '91-89=2']
Exploring Operation: 0+2=2, Resulting Numbers: [2]
2,90 unequal: No Solution
Exploring Operation: 2-0=2, Resulting Numbers: [2]
2,90 unequal: No Solution
Exploring Operation: 0*2=0, Resulting Numbers: [0]
0,90 unequal: No Solution
Moving to Node #0,3,4
Current State: 90:[89, 91], Operations: ['60-60=0', '91+0=91']
Exploring Operation: 89+91=180, Resulting Numbers: [180]
180,90 unequal: No Solution
Exploring Operation: 91-89=2, Resulting Numbers: [2]
2,90 unequal: No Solution
Exploring Operation: 89*91=8099, Resulting Numbers: [8099]
8099,90 unequal: No Solution
Moving to Node #0,3,0
Current State: 90:[89, 91], Operations: ['60-60=0', '91-0=91']
Exploring Operation: 89*91=8099, Resulting Numbers: [8099]
8099,90 unequal: No Solution
Exploring Operation: 89+91=180, Resulting Numbers: [180]
180,90 unequal: No Solution
Exploring Operation: 91-89=2, Resulting Numbers: [2]
2,90 unequal: No Solution
Moving to Node #0,3,2
Current State: 90:[91, 89], Operations: ['60-60=0', '89-0=89']
Exploring Operation: 91-89=2, Resulting Numbers: [2]
2,90 unequal: No Solution
Exploring Operation: 91*89=8099, Resulting Numbers: [8099]
8099,90 unequal: No Solution
Exploring Operation: 91+89=180, Resulting Numbers: [180]
180,90 unequal: No Solution
Moving to Node #0,3,3
Current State: 90:[91, 89], Operations: ['60-60=0', '89+0=89']
Exploring Operation: 91-89=2, Resulting Numbers: [2]
2,90 unequal: No Solution
Exploring Operation: 91*89=8099, Resulting Numbers: [8099]
8099,90 unequal: No Solution
Exploring Operation: 91+89=180, Resulting Numbers: [180]
180,90 unequal: No Solution
Moving to Node #0,4,4
Current State: 90:[91, 89], Operations: ['60/60=1', '89/1=89']
Exploring Operation: 91*89=8099, Resulting Numbers: [8099]
8099,90 unequal: No Solution
Exploring Operation: 91+89=180, Resulting Numbers: [180]
180,90 unequal: No Solution
Exploring Operation: 91-89=2, Resulting Numbers: [2]
2,90 unequal: No Solution
Moving to Node #0,4,1
Current State: 90:[91, 89], Operations: ['60/60=1', '89*1=89']
Exploring Operation: 91*89=8099, Resulting Numbers: [8099]
8099,90 unequal: No Solution
Exploring Operation: 91-89=2, Resulting Numbers: [2]
2,90 unequal: No Solution
Exploring Operation: 91+89=180, Resulting Numbers: [180]
180,90 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
4,
69,
90,
69
] | 52 | [
"4+69=73",
"90-69=21",
"73-21=52"
] | Current State: 52:[4, 69, 90, 69], Operations: []
Exploring Operation: 4+69=73, Resulting Numbers: [90, 73]
Generated Node #2: [90, 73] from Operation: 4+69=73
Current State: 52:[90, 73], Operations: ['4+69=73']
Exploring Operation: 90-69=21, Resulting Numbers: [73, 21]
Generated Node #3: [73, 21] from Operation: 90-69=21
Current State: 52:[73, 21], Operations: ['4+69=73', '90-69=21']
Exploring Operation: 73-21=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[4, 69, 90, 69], Operations: []
Exploring Operation: 69-69=0, Resulting Numbers: [4, 90, 0]
Generated Node #0,0: 52:[4, 90, 0] Operation: 69-69=0
Exploring Operation: 69-4=65, Resulting Numbers: [90, 69, 65]
Generated Node #0,1: 52:[90, 69, 65] Operation: 69-4=65
Exploring Operation: 90-69=21, Resulting Numbers: [4, 69, 21]
Generated Node #0,2: 52:[4, 69, 21] Operation: 90-69=21
Exploring Operation: 69/69=1, Resulting Numbers: [4, 90, 1]
Generated Node #0,3: 52:[4, 90, 1] Operation: 69/69=1
Exploring Operation: 90-69=21, Resulting Numbers: [4, 69, 21]
Generated Node #0,4: 52:[4, 69, 21] Operation: 90-69=21
Moving to Node #0,2
Current State: 52:[4, 69, 21], Operations: ['90-69=21']
Exploring Operation: 69-21=48, Resulting Numbers: [4, 48]
Generated Node #0,2,0: 52:[4, 48] Operation: 69-21=48
Exploring Operation: 21-4=17, Resulting Numbers: [69, 17]
Generated Node #0,2,1: 52:[69, 17] Operation: 21-4=17
Exploring Operation: 4+21=25, Resulting Numbers: [69, 25]
Generated Node #0,2,2: 52:[69, 25] Operation: 4+21=25
Exploring Operation: 69-4=65, Resulting Numbers: [21, 65]
Generated Node #0,2,3: 52:[21, 65] Operation: 69-4=65
Exploring Operation: 4+69=73, Resulting Numbers: [21, 73]
Generated Node #0,2,4: 52:[21, 73] Operation: 4+69=73
Moving to Node #0,4
Current State: 52:[4, 69, 21], Operations: ['90-69=21']
Exploring Operation: 21-4=17, Resulting Numbers: [69, 17]
Generated Node #0,4,0: 52:[69, 17] Operation: 21-4=17
Exploring Operation: 4+21=25, Resulting Numbers: [69, 25]
Generated Node #0,4,1: 52:[69, 25] Operation: 4+21=25
Exploring Operation: 69-21=48, Resulting Numbers: [4, 48]
Generated Node #0,4,2: 52:[4, 48] Operation: 69-21=48
Exploring Operation: 69-4=65, Resulting Numbers: [21, 65]
Generated Node #0,4,3: 52:[21, 65] Operation: 69-4=65
Exploring Operation: 4+69=73, Resulting Numbers: [21, 73]
Generated Node #0,4,4: 52:[21, 73] Operation: 4+69=73
Moving to Node #0,3
Current State: 52:[4, 90, 1], Operations: ['69/69=1']
Exploring Operation: 90-1=89, Resulting Numbers: [4, 89]
Generated Node #0,3,0: 52:[4, 89] Operation: 90-1=89
Exploring Operation: 90*1=90, Resulting Numbers: [4, 90]
Generated Node #0,3,1: 52:[4, 90] Operation: 90*1=90
Exploring Operation: 4/1=4, Resulting Numbers: [90, 4]
Generated Node #0,3,2: 52:[90, 4] Operation: 4/1=4
Exploring Operation: 4*1=4, Resulting Numbers: [90, 4]
Generated Node #0,3,3: 52:[90, 4] Operation: 4*1=4
Exploring Operation: 90-4=86, Resulting Numbers: [1, 86]
Generated Node #0,3,4: 52:[1, 86] Operation: 90-4=86
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 52:[1, 86], Operations: ['69/69=1', '90-4=86']
Exploring Operation: 1+86=87, Resulting Numbers: [87]
87,52 unequal: No Solution
Exploring Operation: 86-1=85, Resulting Numbers: [85]
85,52 unequal: No Solution
Exploring Operation: 86/1=86, Resulting Numbers: [86]
86,52 unequal: No Solution
Exploring Operation: 1*86=86, Resulting Numbers: [86]
86,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,3,0
Current State: 52:[4, 89], Operations: ['69/69=1', '90-1=89']
Exploring Operation: 89-4=85, Resulting Numbers: [85]
85,52 unequal: No Solution
Exploring Operation: 4*89=356, Resulting Numbers: [356]
356,52 unequal: No Solution
Exploring Operation: 4+89=93, Resulting Numbers: [93]
93,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,3,1
Current State: 52:[4, 90], Operations: ['69/69=1', '90*1=90']
Exploring Operation: 90-4=86, Resulting Numbers: [86]
86,52 unequal: No Solution
Exploring Operation: 4*90=360, Resulting Numbers: [360]
360,52 unequal: No Solution
Exploring Operation: 4+90=94, Resulting Numbers: [94]
94,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,3,2
Current State: 52:[90, 4], Operations: ['69/69=1', '4/1=4']
Exploring Operation: 90*4=360, Resulting Numbers: [360]
360,52 unequal: No Solution
Exploring Operation: 90-4=86, Resulting Numbers: [86]
86,52 unequal: No Solution
Exploring Operation: 90+4=94, Resulting Numbers: [94]
94,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,3,3
Current State: 52:[90, 4], Operations: ['69/69=1', '4*1=4']
Exploring Operation: 90-4=86, Resulting Numbers: [86]
86,52 unequal: No Solution
Exploring Operation: 90*4=360, Resulting Numbers: [360]
360,52 unequal: No Solution
Exploring Operation: 90+4=94, Resulting Numbers: [94]
94,52 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: 52:[4, 90, 0], Operations: ['69-69=0']
Exploring Operation: 4-0=4, Resulting Numbers: [90, 4]
Generated Node #0,0,0: 52:[90, 4] Operation: 4-0=4
Exploring Operation: 4+0=4, Resulting Numbers: [90, 4]
Generated Node #0,0,1: 52:[90, 4] Operation: 4+0=4
Exploring Operation: 90-4=86, Resulting Numbers: [0, 86]
Generated Node #0,0,2: 52:[0, 86] Operation: 90-4=86
Exploring Operation: 90*0=0, Resulting Numbers: [4, 0]
Generated Node #0,0,3: 52:[4, 0] Operation: 90*0=0
Exploring Operation: 90+0=90, Resulting Numbers: [4, 90]
Generated Node #0,0,4: 52:[4, 90] Operation: 90+0=90
Moving to Node #0,1
Current State: 52:[90, 69, 65], Operations: ['69-4=65']
Exploring Operation: 90+65=155, Resulting Numbers: [69, 155]
Generated Node #0,1,0: 52:[69, 155] Operation: 90+65=155
Exploring Operation: 90-69=21, Resulting Numbers: [65, 21]
Generated Node #0,1,1: 52:[65, 21] Operation: 90-69=21
Exploring Operation: 69-65=4, Resulting Numbers: [90, 4]
Generated Node #0,1,2: 52:[90, 4] Operation: 69-65=4
Exploring Operation: 90+69=159, Resulting Numbers: [65, 159]
Generated Node #0,1,3: 52:[65, 159] Operation: 90+69=159
Exploring Operation: 90-65=25, Resulting Numbers: [69, 25]
Generated Node #0,1,4: 52:[69, 25] Operation: 90-65=25
Moving to Node #0,0,3
Current State: 52:[4, 0], Operations: ['69-69=0', '90*0=0']
Exploring Operation: 4+0=4, Resulting Numbers: [4]
4,52 unequal: No Solution
Exploring Operation: 4*0=0, Resulting Numbers: [0]
0,52 unequal: No Solution
Exploring Operation: 4-0=4, Resulting Numbers: [4]
4,52 unequal: No Solution
Moving to Node #0,4,2
Current State: 52:[4, 48], Operations: ['90-69=21', '69-21=48']
Exploring Operation: 4+48=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[4, 69, 90, 69], Operations: []
Exploring Operation: 90-69=21, Resulting Numbers: [4, 69, 21]
Generated Node #0,4: 52:[4, 69, 21] Operation: 90-69=21
Moving to Node #0,4
Current State: 52:[4, 69, 21], Operations: ['90-69=21']
Exploring Operation: 69-21=48, Resulting Numbers: [4, 48]
Generated Node #0,4,2: 52:[4, 48] Operation: 69-21=48
Moving to Node #0,4,2
Current State: 52:[4, 48], Operations: ['90-69=21', '69-21=48']
Exploring Operation: 4+48=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 0.953125 | hs_5 | sum_heuristic |
[
52,
45,
54,
63
] | 63 | [
"52-45=7",
"63-54=9",
"7*9=63"
] | Current State: 63:[52, 45, 54, 63], Operations: []
Exploring Operation: 52-45=7, Resulting Numbers: [54, 63, 7]
Generated Node #2: [54, 63, 7] from Operation: 52-45=7
Current State: 63:[54, 63, 7], Operations: ['52-45=7']
Exploring Operation: 63-54=9, Resulting Numbers: [7, 9]
Generated Node #3: [7, 9] from Operation: 63-54=9
Current State: 63:[7, 9], Operations: ['52-45=7', '63-54=9']
Exploring Operation: 7*9=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[52, 45, 54, 63], Operations: []
Exploring Operation: 63-52=11, Resulting Numbers: [45, 54, 11]
Generated Node #0,0: 63:[45, 54, 11] Operation: 63-52=11
Exploring Operation: 52-45=7, Resulting Numbers: [54, 63, 7]
Generated Node #0,1: 63:[54, 63, 7] Operation: 52-45=7
Exploring Operation: 54-45=9, Resulting Numbers: [52, 63, 9]
Generated Node #0,2: 63:[52, 63, 9] Operation: 54-45=9
Exploring Operation: 63-45=18, Resulting Numbers: [52, 54, 18]
Generated Node #0,3: 63:[52, 54, 18] Operation: 63-45=18
Exploring Operation: 54-52=2, Resulting Numbers: [45, 63, 2]
Generated Node #0,4: 63:[45, 63, 2] Operation: 54-52=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 63:[54, 63, 7], Operations: ['52-45=7']
Exploring Operation: 63/7=9, Resulting Numbers: [54, 9]
Generated Node #0,1,0: 63:[54, 9] Operation: 63/7=9
Exploring Operation: 54-7=47, Resulting Numbers: [63, 47]
Generated Node #0,1,1: 63:[63, 47] Operation: 54-7=47
Exploring Operation: 63-54=9, Resulting Numbers: [7, 9]
Generated Node #0,1,2: 63:[7, 9] Operation: 63-54=9
Exploring Operation: 63+7=70, Resulting Numbers: [54, 70]
Generated Node #0,1,3: 63:[54, 70] Operation: 63+7=70
Exploring Operation: 54+7=61, Resulting Numbers: [63, 61]
Generated Node #0,1,4: 63:[63, 61] Operation: 54+7=61
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 63:[7, 9], Operations: ['52-45=7', '63-54=9']
Exploring Operation: 7*9=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[52, 45, 54, 63], Operations: []
Exploring Operation: 52-45=7, Resulting Numbers: [54, 63, 7]
Generated Node #0,1: 63:[54, 63, 7] Operation: 52-45=7
Moving to Node #0,1
Current State: 63:[54, 63, 7], Operations: ['52-45=7']
Exploring Operation: 63-54=9, Resulting Numbers: [7, 9]
Generated Node #0,1,2: 63:[7, 9] Operation: 63-54=9
Moving to Node #0,1,2
Current State: 63:[7, 9], Operations: ['52-45=7', '63-54=9']
Exploring Operation: 7*9=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
22,
93,
38,
56
] | 82 | [
"22*93=2046",
"38*56=2128",
"2128-2046=82"
] | Current State: 82:[22, 93, 38, 56], Operations: []
Exploring Operation: 22*93=2046, Resulting Numbers: [38, 56, 2046]
Generated Node #2: [38, 56, 2046] from Operation: 22*93=2046
Current State: 82:[38, 56, 2046], Operations: ['22*93=2046']
Exploring Operation: 38*56=2128, Resulting Numbers: [2046, 2128]
Generated Node #3: [2046, 2128] from Operation: 38*56=2128
Current State: 82:[2046, 2128], Operations: ['22*93=2046', '38*56=2128']
Exploring Operation: 2128-2046=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[22, 93, 38, 56], Operations: []
Exploring Operation: 22+56=78, Resulting Numbers: [93, 38, 78]
Generated Node #0,0: 82:[93, 38, 78] Operation: 22+56=78
Moving to Node #0,0
Current State: 82:[93, 38, 78], Operations: ['22+56=78']
Exploring Operation: 78-38=40, Resulting Numbers: [93, 40]
Generated Node #0,0,0: 82:[93, 40] Operation: 78-38=40
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 82:[93, 40], Operations: ['22+56=78', '78-38=40']
Exploring Operation: 93-40=53, Resulting Numbers: [53]
53,82 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 |
[
91,
12,
43,
67
] | 89 | [
"67-43=24",
"24/12=2",
"91-2=89"
] | Current State: 89:[91, 12, 43, 67], Operations: []
Exploring Operation: 67-43=24, Resulting Numbers: [91, 12, 24]
Generated Node #2: [91, 12, 24] from Operation: 67-43=24
Current State: 89:[91, 12, 24], Operations: ['67-43=24']
Exploring Operation: 24/12=2, Resulting Numbers: [91, 2]
Generated Node #3: [91, 2] from Operation: 24/12=2
Current State: 89:[91, 2], Operations: ['67-43=24', '24/12=2']
Exploring Operation: 91-2=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[91, 12, 43, 67], Operations: []
Exploring Operation: 91+12=103, Resulting Numbers: [43, 67, 103]
Generated Node #0,0: 89:[43, 67, 103] Operation: 91+12=103
Exploring Operation: 91-12=79, Resulting Numbers: [43, 67, 79]
Generated Node #0,1: 89:[43, 67, 79] Operation: 91-12=79
Exploring Operation: 12+43=55, Resulting Numbers: [91, 67, 55]
Generated Node #0,2: 89:[91, 67, 55] Operation: 12+43=55
Exploring Operation: 12+67=79, Resulting Numbers: [91, 43, 79]
Generated Node #0,3: 89:[91, 43, 79] Operation: 12+67=79
Moving to Node #0,2
Current State: 89:[91, 67, 55], Operations: ['12+43=55']
Exploring Operation: 67+55=122, Resulting Numbers: [91, 122]
Generated Node #0,2,0: 89:[91, 122] Operation: 67+55=122
Exploring Operation: 91+55=146, Resulting Numbers: [67, 146]
Generated Node #0,2,1: 89:[67, 146] Operation: 91+55=146
Exploring Operation: 67-55=12, Resulting Numbers: [91, 12]
Generated Node #0,2,2: 89:[91, 12] Operation: 67-55=12
Exploring Operation: 91-55=36, Resulting Numbers: [67, 36]
Generated Node #0,2,3: 89:[67, 36] Operation: 91-55=36
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 89:[91, 122], Operations: ['12+43=55', '67+55=122']
Exploring Operation: 122-91=31, Resulting Numbers: [31]
31,89 unequal: No Solution
Exploring Operation: 91+122=213, Resulting Numbers: [213]
213,89 unequal: No Solution
Exploring Operation: 91*122=11102, Resulting Numbers: [11102]
11102,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 89:[67, 36], Operations: ['12+43=55', '91-55=36']
Exploring Operation: 67+36=103, Resulting Numbers: [103]
103,89 unequal: No Solution
Exploring Operation: 67*36=2412, Resulting Numbers: [2412]
2412,89 unequal: No Solution
Exploring Operation: 67-36=31, Resulting Numbers: [31]
31,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 89:[67, 146], Operations: ['12+43=55', '91+55=146']
Exploring Operation: 67*146=9782, Resulting Numbers: [9782]
9782,89 unequal: No Solution
Exploring Operation: 67+146=213, Resulting Numbers: [213]
213,89 unequal: No Solution
Exploring Operation: 146-67=79, Resulting Numbers: [79]
79,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 89:[91, 12], Operations: ['12+43=55', '67-55=12']
Exploring Operation: 91+12=103, Resulting Numbers: [103]
103,89 unequal: No Solution
Exploring Operation: 91-12=79, Resulting Numbers: [79]
79,89 unequal: No Solution
Exploring Operation: 91*12=1092, Resulting Numbers: [1092]
1092,89 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: 89:[91, 43, 79], Operations: ['12+67=79']
Exploring Operation: 91-43=48, Resulting Numbers: [79, 48]
Generated Node #0,3,0: 89:[79, 48] Operation: 91-43=48
Exploring Operation: 91+43=134, Resulting Numbers: [79, 134]
Generated Node #0,3,1: 89:[79, 134] Operation: 91+43=134
Exploring Operation: 79-43=36, Resulting Numbers: [91, 36]
Generated Node #0,3,2: 89:[91, 36] Operation: 79-43=36
Exploring Operation: 43+79=122, Resulting Numbers: [91, 122]
Generated Node #0,3,3: 89:[91, 122] Operation: 43+79=122
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 89:[91, 122], Operations: ['12+67=79', '43+79=122']
Exploring Operation: 91+122=213, Resulting Numbers: [213]
213,89 unequal: No Solution
Exploring Operation: 122-91=31, Resulting Numbers: [31]
31,89 unequal: No Solution
Exploring Operation: 91*122=11102, Resulting Numbers: [11102]
11102,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 89:[79, 48], Operations: ['12+67=79', '91-43=48']
Exploring Operation: 79-48=31, Resulting Numbers: [31]
31,89 unequal: No Solution
Exploring Operation: 79*48=3792, Resulting Numbers: [3792]
3792,89 unequal: No Solution
Exploring Operation: 79+48=127, Resulting Numbers: [127]
127,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 89:[79, 134], Operations: ['12+67=79', '91+43=134']
Exploring Operation: 79*134=10586, Resulting Numbers: [10586]
10586,89 unequal: No Solution
Exploring Operation: 134-79=55, Resulting Numbers: [55]
55,89 unequal: No Solution
Exploring Operation: 79+134=213, Resulting Numbers: [213]
213,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 89:[91, 36], Operations: ['12+67=79', '79-43=36']
Exploring Operation: 91*36=3276, Resulting Numbers: [3276]
3276,89 unequal: No Solution
Exploring Operation: 91+36=127, Resulting Numbers: [127]
127,89 unequal: No Solution
Exploring Operation: 91-36=55, Resulting Numbers: [55]
55,89 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: 89:[43, 67, 79], Operations: ['91-12=79']
Exploring Operation: 43+79=122, Resulting Numbers: [67, 122]
Generated Node #0,1,0: 89:[67, 122] Operation: 43+79=122
Exploring Operation: 67-43=24, Resulting Numbers: [79, 24]
Generated Node #0,1,1: 89:[79, 24] Operation: 67-43=24
Exploring Operation: 43+67=110, Resulting Numbers: [79, 110]
Generated Node #0,1,2: 89:[79, 110] Operation: 43+67=110
Exploring Operation: 79-43=36, Resulting Numbers: [67, 36]
Generated Node #0,1,3: 89:[67, 36] Operation: 79-43=36
Moving to Node #0,0
Current State: 89:[43, 67, 103], Operations: ['91+12=103']
Exploring Operation: 43+67=110, Resulting Numbers: [103, 110]
Generated Node #0,0,0: 89:[103, 110] Operation: 43+67=110
Exploring Operation: 43+103=146, Resulting Numbers: [67, 146]
Generated Node #0,0,1: 89:[67, 146] Operation: 43+103=146
Exploring Operation: 67-43=24, Resulting Numbers: [103, 24]
Generated Node #0,0,2: 89:[103, 24] Operation: 67-43=24
Exploring Operation: 103-43=60, Resulting Numbers: [67, 60]
Generated Node #0,0,3: 89:[67, 60] Operation: 103-43=60
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 89:[103, 110], Operations: ['91+12=103', '43+67=110']
Exploring Operation: 110-103=7, Resulting Numbers: [7]
7,89 unequal: No Solution
Exploring Operation: 103*110=11330, Resulting Numbers: [11330]
11330,89 unequal: No Solution
Exploring Operation: 103+110=213, Resulting Numbers: [213]
213,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 89:[67, 60], Operations: ['91+12=103', '103-43=60']
Exploring Operation: 67*60=4020, Resulting Numbers: [4020]
4020,89 unequal: No Solution
Exploring Operation: 67+60=127, Resulting Numbers: [127]
127,89 unequal: No Solution
Exploring Operation: 67-60=7, Resulting Numbers: [7]
7,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 89:[67, 146], Operations: ['91+12=103', '43+103=146']
Exploring Operation: 67*146=9782, Resulting Numbers: [9782]
9782,89 unequal: No Solution
Exploring Operation: 67+146=213, Resulting Numbers: [213]
213,89 unequal: No Solution
Exploring Operation: 146-67=79, Resulting Numbers: [79]
79,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 89:[103, 24], Operations: ['91+12=103', '67-43=24']
Exploring Operation: 103*24=2472, Resulting Numbers: [2472]
2472,89 unequal: No Solution
Exploring Operation: 103+24=127, Resulting Numbers: [127]
127,89 unequal: No Solution
Exploring Operation: 103-24=79, Resulting Numbers: [79]
79,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 89:[79, 110], Operations: ['91-12=79', '43+67=110']
Exploring Operation: 79+110=189, Resulting Numbers: [189]
189,89 unequal: No Solution
Exploring Operation: 79*110=8690, Resulting Numbers: [8690]
8690,89 unequal: No Solution
Exploring Operation: 110-79=31, Resulting Numbers: [31]
31,89 unequal: No Solution
Moving to Node #0,1,0
Current State: 89:[67, 122], Operations: ['91-12=79', '43+79=122']
Exploring Operation: 67*122=8174, Resulting Numbers: [8174]
8174,89 unequal: No Solution
Exploring Operation: 67+122=189, Resulting Numbers: [189]
189,89 unequal: No Solution
Exploring Operation: 122-67=55, Resulting Numbers: [55]
55,89 unequal: No Solution
Moving to Node #0,1,3
Current State: 89:[67, 36], Operations: ['91-12=79', '79-43=36']
Exploring Operation: 67-36=31, Resulting Numbers: [31]
31,89 unequal: No Solution
Exploring Operation: 67*36=2412, Resulting Numbers: [2412]
2412,89 unequal: No Solution
Exploring Operation: 67+36=103, Resulting Numbers: [103]
103,89 unequal: No Solution
Moving to Node #0,1,1
Current State: 89:[79, 24], Operations: ['91-12=79', '67-43=24']
Exploring Operation: 79+24=103, Resulting Numbers: [103]
103,89 unequal: No Solution
Exploring Operation: 79-24=55, Resulting Numbers: [55]
55,89 unequal: No Solution
Exploring Operation: 79*24=1896, Resulting Numbers: [1896]
1896,89 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
47,
61,
23,
3
] | 83 | [
"61-47=14",
"23*3=69",
"14+69=83"
] | Current State: 83:[47, 61, 23, 3], Operations: []
Exploring Operation: 61-47=14, Resulting Numbers: [23, 3, 14]
Generated Node #2: [23, 3, 14] from Operation: 61-47=14
Current State: 83:[23, 3, 14], Operations: ['61-47=14']
Exploring Operation: 23*3=69, Resulting Numbers: [14, 69]
Generated Node #3: [14, 69] from Operation: 23*3=69
Current State: 83:[14, 69], Operations: ['61-47=14', '23*3=69']
Exploring Operation: 14+69=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[47, 61, 23, 3], Operations: []
Exploring Operation: 23*3=69, Resulting Numbers: [47, 61, 69]
Generated Node #0,0: 83:[47, 61, 69] Operation: 23*3=69
Moving to Node #0,0
Current State: 83:[47, 61, 69], Operations: ['23*3=69']
Exploring Operation: 47+61=108, Resulting Numbers: [69, 108]
Generated Node #0,0,0: 83:[69, 108] Operation: 47+61=108
Moving to Node #0,0,0
Current State: 83:[69, 108], Operations: ['23*3=69', '47+61=108']
Exploring Operation: 108-69=39, Resulting Numbers: [39]
39,83 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
23,
15,
53,
28
] | 63 | [
"23+15=38",
"53-28=25",
"38+25=63"
] | Current State: 63:[23, 15, 53, 28], Operations: []
Exploring Operation: 23+15=38, Resulting Numbers: [53, 28, 38]
Generated Node #2: [53, 28, 38] from Operation: 23+15=38
Current State: 63:[53, 28, 38], Operations: ['23+15=38']
Exploring Operation: 53-28=25, Resulting Numbers: [38, 25]
Generated Node #3: [38, 25] from Operation: 53-28=25
Current State: 63:[38, 25], Operations: ['23+15=38', '53-28=25']
Exploring Operation: 38+25=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[23, 15, 53, 28], Operations: []
Exploring Operation: 15+53=68, Resulting Numbers: [23, 28, 68]
Generated Node #0,0: 63:[23, 28, 68] Operation: 15+53=68
Exploring Operation: 53-28=25, Resulting Numbers: [23, 15, 25]
Generated Node #0,1: 63:[23, 15, 25] Operation: 53-28=25
Start Sub Search at level 1: Moving to Node #0,1
Current State: 63:[23, 15, 25], Operations: ['53-28=25']
Exploring Operation: 23-15=8, Resulting Numbers: [25, 8]
Generated Node #0,1,0: 63:[25, 8] Operation: 23-15=8
Exploring Operation: 25-15=10, Resulting Numbers: [23, 10]
Generated Node #0,1,1: 63:[23, 10] Operation: 25-15=10
Moving to Node #0,1,1
Current State: 63:[23, 10], Operations: ['53-28=25', '25-15=10']
Exploring Operation: 23-10=13, Resulting Numbers: [13]
13,63 unequal: No Solution
Exploring Operation: 23+10=33, Resulting Numbers: [33]
33,63 unequal: No Solution
Moving to Node #0,1,0
Current State: 63:[25, 8], Operations: ['53-28=25', '23-15=8']
Exploring Operation: 25-8=17, Resulting Numbers: [17]
17,63 unequal: No Solution
Exploring Operation: 25+8=33, Resulting Numbers: [33]
33,63 unequal: No Solution
No 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: 63:[23, 28, 68], Operations: ['15+53=68']
Exploring Operation: 28-23=5, Resulting Numbers: [68, 5]
Generated Node #0,0,0: 63:[68, 5] Operation: 28-23=5
Exploring Operation: 23+28=51, Resulting Numbers: [68, 51]
Generated Node #0,0,1: 63:[68, 51] Operation: 23+28=51
Moving to Node #0,0,0
Current State: 63:[68, 5], Operations: ['15+53=68', '28-23=5']
Exploring Operation: 68+5=73, Resulting Numbers: [73]
73,63 unequal: No Solution
Exploring Operation: 68-5=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[23, 15, 53, 28], Operations: []
Exploring Operation: 15+53=68, Resulting Numbers: [23, 28, 68]
Generated Node #0,0: 63:[23, 28, 68] Operation: 15+53=68
Moving to Node #0,0
Current State: 63:[23, 28, 68], Operations: ['15+53=68']
Exploring Operation: 28-23=5, Resulting Numbers: [68, 5]
Generated Node #0,0,0: 63:[68, 5] Operation: 28-23=5
Moving to Node #0,0,0
Current State: 63:[68, 5], Operations: ['15+53=68', '28-23=5']
Exploring Operation: 68-5=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_2 | sum_heuristic |
[
96,
68,
93,
2
] | 73 | [
"96+68=164",
"93-2=91",
"164-91=73"
] | Current State: 73:[96, 68, 93, 2], Operations: []
Exploring Operation: 96+68=164, Resulting Numbers: [93, 2, 164]
Generated Node #2: [93, 2, 164] from Operation: 96+68=164
Current State: 73:[93, 2, 164], Operations: ['96+68=164']
Exploring Operation: 93-2=91, Resulting Numbers: [164, 91]
Generated Node #3: [164, 91] from Operation: 93-2=91
Current State: 73:[164, 91], Operations: ['96+68=164', '93-2=91']
Exploring Operation: 164-91=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[96, 68, 93, 2], Operations: []
Exploring Operation: 93-2=91, Resulting Numbers: [96, 68, 91]
Generated Node #0,0: 73:[96, 68, 91] Operation: 93-2=91
Exploring Operation: 96-2=94, Resulting Numbers: [68, 93, 94]
Generated Node #0,1: 73:[68, 93, 94] Operation: 96-2=94
Exploring Operation: 68+2=70, Resulting Numbers: [96, 93, 70]
Generated Node #0,2: 73:[96, 93, 70] Operation: 68+2=70
Moving to Node #0,0
Current State: 73:[96, 68, 91], Operations: ['93-2=91']
Exploring Operation: 91-68=23, Resulting Numbers: [96, 23]
Generated Node #0,0,0: 73:[96, 23] Operation: 91-68=23
Exploring Operation: 96-68=28, Resulting Numbers: [91, 28]
Generated Node #0,0,1: 73:[91, 28] Operation: 96-68=28
Exploring Operation: 96-91=5, Resulting Numbers: [68, 5]
Generated Node #0,0,2: 73:[68, 5] Operation: 96-91=5
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 73:[91, 28], Operations: ['93-2=91', '96-68=28']
Exploring Operation: 91+28=119, Resulting Numbers: [119]
119,73 unequal: No Solution
Exploring Operation: 91*28=2548, Resulting Numbers: [2548]
2548,73 unequal: No Solution
Exploring Operation: 91-28=63, Resulting Numbers: [63]
63,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,0,0
Current State: 73:[96, 23], Operations: ['93-2=91', '91-68=23']
Exploring Operation: 96-23=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[96, 68, 93, 2], Operations: []
Exploring Operation: 93-2=91, Resulting Numbers: [96, 68, 91]
Generated Node #0,0: 73:[96, 68, 91] Operation: 93-2=91
Moving to Node #0,0
Current State: 73:[96, 68, 91], Operations: ['93-2=91']
Exploring Operation: 91-68=23, Resulting Numbers: [96, 23]
Generated Node #0,0,0: 73:[96, 23] Operation: 91-68=23
Moving to Node #0,0,0
Current State: 73:[96, 23], Operations: ['93-2=91', '91-68=23']
Exploring Operation: 96-23=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_3 | sum_heuristic |
[
67,
56,
94,
1
] | 84 | [
"67-56=11",
"94+1=95",
"95-11=84"
] | Current State: 84:[67, 56, 94, 1], Operations: []
Exploring Operation: 67-56=11, Resulting Numbers: [94, 1, 11]
Generated Node #2: [94, 1, 11] from Operation: 67-56=11
Current State: 84:[94, 1, 11], Operations: ['67-56=11']
Exploring Operation: 94+1=95, Resulting Numbers: [11, 95]
Generated Node #3: [11, 95] from Operation: 94+1=95
Current State: 84:[11, 95], Operations: ['67-56=11', '94+1=95']
Exploring Operation: 95-11=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[67, 56, 94, 1], Operations: []
Exploring Operation: 94-56=38, Resulting Numbers: [67, 1, 38]
Generated Node #0,0: 84:[67, 1, 38] Operation: 94-56=38
Exploring Operation: 67-56=11, Resulting Numbers: [94, 1, 11]
Generated Node #0,1: 84:[94, 1, 11] Operation: 67-56=11
Exploring Operation: 94-67=27, Resulting Numbers: [56, 1, 27]
Generated Node #0,2: 84:[56, 1, 27] Operation: 94-67=27
Exploring Operation: 67+1=68, Resulting Numbers: [56, 94, 68]
Generated Node #0,3: 84:[56, 94, 68] Operation: 67+1=68
Start Sub Search at level 1: Moving to Node #0,1
Current State: 84:[94, 1, 11], Operations: ['67-56=11']
Exploring Operation: 94-1=93, Resulting Numbers: [11, 93]
Generated Node #0,1,0: 84:[11, 93] Operation: 94-1=93
Exploring Operation: 94*1=94, Resulting Numbers: [11, 94]
Generated Node #0,1,1: 84:[11, 94] Operation: 94*1=94
Exploring Operation: 94-11=83, Resulting Numbers: [1, 83]
Generated Node #0,1,2: 84:[1, 83] Operation: 94-11=83
Exploring Operation: 1+11=12, Resulting Numbers: [94, 12]
Generated Node #0,1,3: 84:[94, 12] Operation: 1+11=12
Moving to Node #0,1,2
Current State: 84:[1, 83], Operations: ['67-56=11', '94-11=83']
Exploring Operation: 1*83=83, Resulting Numbers: [83]
83,84 unequal: No Solution
Exploring Operation: 83/1=83, Resulting Numbers: [83]
83,84 unequal: No Solution
Exploring Operation: 1+83=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[67, 56, 94, 1], Operations: []
Exploring Operation: 67-56=11, Resulting Numbers: [94, 1, 11]
Generated Node #0,1: 84:[94, 1, 11] Operation: 67-56=11
Moving to Node #0,1
Current State: 84:[94, 1, 11], Operations: ['67-56=11']
Exploring Operation: 94-11=83, Resulting Numbers: [1, 83]
Generated Node #0,1,2: 84:[1, 83] Operation: 94-11=83
Moving to Node #0,1,2
Current State: 84:[1, 83], Operations: ['67-56=11', '94-11=83']
Exploring Operation: 1+83=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
20,
42,
72,
74
] | 20 | [
"42-20=22",
"74-72=2",
"22-2=20"
] | Current State: 20:[20, 42, 72, 74], Operations: []
Exploring Operation: 42-20=22, Resulting Numbers: [72, 74, 22]
Generated Node #2: [72, 74, 22] from Operation: 42-20=22
Current State: 20:[72, 74, 22], Operations: ['42-20=22']
Exploring Operation: 74-72=2, Resulting Numbers: [22, 2]
Generated Node #3: [22, 2] from Operation: 74-72=2
Current State: 20:[22, 2], Operations: ['42-20=22', '74-72=2']
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[20, 42, 72, 74], Operations: []
Exploring Operation: 74-72=2, Resulting Numbers: [20, 42, 2]
Generated Node #0,0: 20:[20, 42, 2] Operation: 74-72=2
Moving to Node #0,0
Current State: 20:[20, 42, 2], Operations: ['74-72=2']
Exploring Operation: 42/2=21, Resulting Numbers: [20, 21]
Generated Node #0,0,0: 20:[20, 21] Operation: 42/2=21
Moving to Node #0,0,0
Current State: 20:[20, 21], Operations: ['74-72=2', '42/2=21']
Exploring Operation: 21-20=1, Resulting Numbers: [1]
1,20 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
55,
2,
95,
77
] | 92 | [
"55*2=110",
"95-77=18",
"110-18=92"
] | Current State: 92:[55, 2, 95, 77], Operations: []
Exploring Operation: 55*2=110, Resulting Numbers: [95, 77, 110]
Generated Node #2: [95, 77, 110] from Operation: 55*2=110
Current State: 92:[95, 77, 110], Operations: ['55*2=110']
Exploring Operation: 95-77=18, Resulting Numbers: [110, 18]
Generated Node #3: [110, 18] from Operation: 95-77=18
Current State: 92:[110, 18], Operations: ['55*2=110', '95-77=18']
Exploring Operation: 110-18=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[55, 2, 95, 77], Operations: []
Exploring Operation: 95-55=40, Resulting Numbers: [2, 77, 40]
Generated Node #0,0: 92:[2, 77, 40] Operation: 95-55=40
Exploring Operation: 95-77=18, Resulting Numbers: [55, 2, 18]
Generated Node #0,1: 92:[55, 2, 18] Operation: 95-77=18
Exploring Operation: 77-55=22, Resulting Numbers: [2, 95, 22]
Generated Node #0,2: 92:[2, 95, 22] Operation: 77-55=22
Moving to Node #0,2
Current State: 92:[2, 95, 22], Operations: ['77-55=22']
Exploring Operation: 2+22=24, Resulting Numbers: [95, 24]
Generated Node #0,2,0: 92:[95, 24] Operation: 2+22=24
Exploring Operation: 2*22=44, Resulting Numbers: [95, 44]
Generated Node #0,2,1: 92:[95, 44] Operation: 2*22=44
Exploring Operation: 95-2=93, Resulting Numbers: [22, 93]
Generated Node #0,2,2: 92:[22, 93] Operation: 95-2=93
Moving to Node #0,1
Current State: 92:[55, 2, 18], Operations: ['95-77=18']
Exploring Operation: 2+18=20, Resulting Numbers: [55, 20]
Generated Node #0,1,0: 92:[55, 20] Operation: 2+18=20
Exploring Operation: 55-2=53, Resulting Numbers: [18, 53]
Generated Node #0,1,1: 92:[18, 53] Operation: 55-2=53
Exploring Operation: 55-18=37, Resulting Numbers: [2, 37]
Generated Node #0,1,2: 92:[2, 37] Operation: 55-18=37
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 92:[2, 37], Operations: ['95-77=18', '55-18=37']
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,92 unequal: No Solution
Exploring Operation: 2+37=39, Resulting Numbers: [39]
39,92 unequal: No Solution
Exploring Operation: 2*37=74, Resulting Numbers: [74]
74,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 92:[55, 20], Operations: ['95-77=18', '2+18=20']
Exploring Operation: 55+20=75, Resulting Numbers: [75]
75,92 unequal: No Solution
Exploring Operation: 55*20=1100, Resulting Numbers: [1100]
1100,92 unequal: No Solution
Exploring Operation: 55-20=35, Resulting Numbers: [35]
35,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 92:[18, 53], Operations: ['95-77=18', '55-2=53']
Exploring Operation: 18+53=71, Resulting Numbers: [71]
71,92 unequal: No Solution
Exploring Operation: 53-18=35, Resulting Numbers: [35]
35,92 unequal: No Solution
Exploring Operation: 18*53=954, Resulting Numbers: [954]
954,92 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: 92:[2, 77, 40], Operations: ['95-55=40']
Exploring Operation: 2+77=79, Resulting Numbers: [40, 79]
Generated Node #0,0,0: 92:[40, 79] Operation: 2+77=79
Exploring Operation: 77-40=37, Resulting Numbers: [2, 37]
Generated Node #0,0,1: 92:[2, 37] Operation: 77-40=37
Exploring Operation: 40/2=20, Resulting Numbers: [77, 20]
Generated Node #0,0,2: 92:[77, 20] Operation: 40/2=20
Moving to Node #0,2,2
Current State: 92:[22, 93], Operations: ['77-55=22', '95-2=93']
Exploring Operation: 22*93=2046, Resulting Numbers: [2046]
2046,92 unequal: No Solution
Exploring Operation: 22+93=115, Resulting Numbers: [115]
115,92 unequal: No Solution
Exploring Operation: 93-22=71, Resulting Numbers: [71]
71,92 unequal: No Solution
Moving to Node #0,2,0
Current State: 92:[95, 24], Operations: ['77-55=22', '2+22=24']
Exploring Operation: 95+24=119, Resulting Numbers: [119]
119,92 unequal: No Solution
Exploring Operation: 95*24=2280, Resulting Numbers: [2280]
2280,92 unequal: No Solution
Exploring Operation: 95-24=71, Resulting Numbers: [71]
71,92 unequal: No Solution
Moving to Node #0,2,1
Current State: 92:[95, 44], Operations: ['77-55=22', '2*22=44']
Exploring Operation: 95+44=139, Resulting Numbers: [139]
139,92 unequal: No Solution
Exploring Operation: 95*44=4180, Resulting Numbers: [4180]
4180,92 unequal: No Solution
Exploring Operation: 95-44=51, Resulting Numbers: [51]
51,92 unequal: No Solution
Moving to Node #0,0,1
Current State: 92:[2, 37], Operations: ['95-55=40', '77-40=37']
Exploring Operation: 2+37=39, Resulting Numbers: [39]
39,92 unequal: No Solution
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,92 unequal: No Solution
Exploring Operation: 2*37=74, Resulting Numbers: [74]
74,92 unequal: No Solution
Moving to Node #0,0,2
Current State: 92:[77, 20], Operations: ['95-55=40', '40/2=20']
Exploring Operation: 77-20=57, Resulting Numbers: [57]
57,92 unequal: No Solution
Exploring Operation: 77*20=1540, Resulting Numbers: [1540]
1540,92 unequal: No Solution
Exploring Operation: 77+20=97, Resulting Numbers: [97]
97,92 unequal: No Solution
Moving to Node #0,0,0
Current State: 92:[40, 79], Operations: ['95-55=40', '2+77=79']
Exploring Operation: 40+79=119, Resulting Numbers: [119]
119,92 unequal: No Solution
Exploring Operation: 40*79=3160, Resulting Numbers: [3160]
3160,92 unequal: No Solution
Exploring Operation: 79-40=39, Resulting Numbers: [39]
39,92 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
2,
80,
54,
47
] | 94 | [
"54-47=7",
"2*7=14",
"80+14=94"
] | Current State: 94:[2, 80, 54, 47], Operations: []
Exploring Operation: 54-47=7, Resulting Numbers: [2, 80, 7]
Generated Node #2: [2, 80, 7] from Operation: 54-47=7
Current State: 94:[2, 80, 7], Operations: ['54-47=7']
Exploring Operation: 2*7=14, Resulting Numbers: [80, 14]
Generated Node #3: [80, 14] from Operation: 2*7=14
Current State: 94:[80, 14], Operations: ['54-47=7', '2*7=14']
Exploring Operation: 80+14=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[2, 80, 54, 47], Operations: []
Exploring Operation: 80/2=40, Resulting Numbers: [54, 47, 40]
Generated Node #0,0: 94:[54, 47, 40] Operation: 80/2=40
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[54, 47, 40], Operations: ['80/2=40']
Exploring Operation: 54+40=94, Resulting Numbers: [47, 94]
Generated Node #0,0,0: 94:[47, 94] Operation: 54+40=94
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 94:[47, 94], Operations: ['80/2=40', '54+40=94']
Exploring Operation: 94-47=47, Resulting Numbers: [47]
47,94 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 |
[
42,
90,
3,
86
] | 70 | [
"90-42=48",
"48/3=16",
"86-16=70"
] | Current State: 70:[42, 90, 3, 86], Operations: []
Exploring Operation: 90-42=48, Resulting Numbers: [3, 86, 48]
Generated Node #2: [3, 86, 48] from Operation: 90-42=48
Current State: 70:[3, 86, 48], Operations: ['90-42=48']
Exploring Operation: 48/3=16, Resulting Numbers: [86, 16]
Generated Node #3: [86, 16] from Operation: 48/3=16
Current State: 70:[86, 16], Operations: ['90-42=48', '48/3=16']
Exploring Operation: 86-16=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[42, 90, 3, 86], Operations: []
Exploring Operation: 90-42=48, Resulting Numbers: [3, 86, 48]
Generated Node #0,0: 70:[3, 86, 48] Operation: 90-42=48
Exploring Operation: 90-86=4, Resulting Numbers: [42, 3, 4]
Generated Node #0,1: 70:[42, 3, 4] Operation: 90-86=4
Exploring Operation: 90/3=30, Resulting Numbers: [42, 86, 30]
Generated Node #0,2: 70:[42, 86, 30] Operation: 90/3=30
Start Sub Search at level 1: Moving to Node #0,1
Current State: 70:[42, 3, 4], Operations: ['90-86=4']
Exploring Operation: 42/3=14, Resulting Numbers: [4, 14]
Generated Node #0,1,0: 70:[4, 14] Operation: 42/3=14
Exploring Operation: 42-3=39, Resulting Numbers: [4, 39]
Generated Node #0,1,1: 70:[4, 39] Operation: 42-3=39
Exploring Operation: 42-4=38, Resulting Numbers: [3, 38]
Generated Node #0,1,2: 70:[3, 38] Operation: 42-4=38
Moving to Node #0,1,0
Current State: 70:[4, 14], Operations: ['90-86=4', '42/3=14']
Exploring Operation: 4+14=18, Resulting Numbers: [18]
18,70 unequal: No Solution
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,70 unequal: No Solution
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,70 unequal: No Solution
Moving to Node #0,1,2
Current State: 70:[3, 38], Operations: ['90-86=4', '42-4=38']
Exploring Operation: 3+38=41, Resulting Numbers: [41]
41,70 unequal: No Solution
Exploring Operation: 3*38=114, Resulting Numbers: [114]
114,70 unequal: No Solution
Exploring Operation: 38-3=35, Resulting Numbers: [35]
35,70 unequal: No Solution
Moving to Node #0,1,1
Current State: 70:[4, 39], Operations: ['90-86=4', '42-3=39']
Exploring Operation: 4+39=43, Resulting Numbers: [43]
43,70 unequal: No Solution
Exploring Operation: 4*39=156, Resulting Numbers: [156]
156,70 unequal: No Solution
Exploring Operation: 39-4=35, Resulting Numbers: [35]
35,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 70:[42, 86, 30], Operations: ['90/3=30']
Exploring Operation: 42-30=12, Resulting Numbers: [86, 12]
Generated Node #0,2,0: 70:[86, 12] Operation: 42-30=12
Exploring Operation: 86-42=44, Resulting Numbers: [30, 44]
Generated Node #0,2,1: 70:[30, 44] Operation: 86-42=44
Exploring Operation: 42+30=72, Resulting Numbers: [86, 72]
Generated Node #0,2,2: 70:[86, 72] Operation: 42+30=72
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 70:[30, 44], Operations: ['90/3=30', '86-42=44']
Exploring Operation: 44-30=14, Resulting Numbers: [14]
14,70 unequal: No Solution
Exploring Operation: 30*44=1320, Resulting Numbers: [1320]
1320,70 unequal: No Solution
Exploring Operation: 30+44=74, Resulting Numbers: [74]
74,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:[86, 12], Operations: ['90/3=30', '42-30=12']
Exploring Operation: 86*12=1032, Resulting Numbers: [1032]
1032,70 unequal: No Solution
Exploring Operation: 86-12=74, Resulting Numbers: [74]
74,70 unequal: No Solution
Exploring Operation: 86+12=98, Resulting Numbers: [98]
98,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:[86, 72], Operations: ['90/3=30', '42+30=72']
Exploring Operation: 86-72=14, Resulting Numbers: [14]
14,70 unequal: No Solution
Exploring Operation: 86*72=6192, Resulting Numbers: [6192]
6192,70 unequal: No Solution
Exploring Operation: 86+72=158, Resulting Numbers: [158]
158,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:[3, 86, 48], Operations: ['90-42=48']
Exploring Operation: 48/3=16, Resulting Numbers: [86, 16]
Generated Node #0,0,0: 70:[86, 16] Operation: 48/3=16
Exploring Operation: 86-3=83, Resulting Numbers: [48, 83]
Generated Node #0,0,1: 70:[48, 83] Operation: 86-3=83
Exploring Operation: 86-48=38, Resulting Numbers: [3, 38]
Generated Node #0,0,2: 70:[3, 38] Operation: 86-48=38
Moving to Node #0,0,2
Current State: 70:[3, 38], Operations: ['90-42=48', '86-48=38']
Exploring Operation: 3+38=41, Resulting Numbers: [41]
41,70 unequal: No Solution
Exploring Operation: 3*38=114, Resulting Numbers: [114]
114,70 unequal: No Solution
Exploring Operation: 38-3=35, Resulting Numbers: [35]
35,70 unequal: No Solution
Moving to Node #0,0,0
Current State: 70:[86, 16], Operations: ['90-42=48', '48/3=16']
Exploring Operation: 86+16=102, Resulting Numbers: [102]
102,70 unequal: No Solution
Exploring Operation: 86-16=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[42, 90, 3, 86], Operations: []
Exploring Operation: 90-42=48, Resulting Numbers: [3, 86, 48]
Generated Node #0,0: 70:[3, 86, 48] Operation: 90-42=48
Moving to Node #0,0
Current State: 70:[3, 86, 48], Operations: ['90-42=48']
Exploring Operation: 48/3=16, Resulting Numbers: [86, 16]
Generated Node #0,0,0: 70:[86, 16] Operation: 48/3=16
Moving to Node #0,0,0
Current State: 70:[86, 16], Operations: ['90-42=48', '48/3=16']
Exploring Operation: 86-16=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 1
| 0.966146 | hs_3 | mult_heuristic |
[
60,
3,
49,
12
] | 47 | [
"60-49=11",
"3*12=36",
"11+36=47"
] | Current State: 47:[60, 3, 49, 12], Operations: []
Exploring Operation: 60-49=11, Resulting Numbers: [3, 12, 11]
Generated Node #2: [3, 12, 11] from Operation: 60-49=11
Current State: 47:[3, 12, 11], Operations: ['60-49=11']
Exploring Operation: 3*12=36, Resulting Numbers: [11, 36]
Generated Node #3: [11, 36] from Operation: 3*12=36
Current State: 47:[11, 36], Operations: ['60-49=11', '3*12=36']
Exploring Operation: 11+36=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[60, 3, 49, 12], Operations: []
Exploring Operation: 3*12=36, Resulting Numbers: [60, 49, 36]
Generated Node #0,0: 47:[60, 49, 36] Operation: 3*12=36
Exploring Operation: 60-3=57, Resulting Numbers: [49, 12, 57]
Generated Node #0,1: 47:[49, 12, 57] Operation: 60-3=57
Exploring Operation: 60-12=48, Resulting Numbers: [3, 49, 48]
Generated Node #0,2: 47:[3, 49, 48] Operation: 60-12=48
Moving to Node #0,0
Current State: 47:[60, 49, 36], Operations: ['3*12=36']
Exploring Operation: 60-49=11, Resulting Numbers: [36, 11]
Generated Node #0,0,0: 47:[36, 11] Operation: 60-49=11
Exploring Operation: 60-36=24, Resulting Numbers: [49, 24]
Generated Node #0,0,1: 47:[49, 24] Operation: 60-36=24
Exploring Operation: 49-36=13, Resulting Numbers: [60, 13]
Generated Node #0,0,2: 47:[60, 13] Operation: 49-36=13
Moving to Node #0,1
Current State: 47:[49, 12, 57], Operations: ['60-3=57']
Exploring Operation: 49-12=37, Resulting Numbers: [57, 37]
Generated Node #0,1,0: 47:[57, 37] Operation: 49-12=37
Exploring Operation: 49+12=61, Resulting Numbers: [57, 61]
Generated Node #0,1,1: 47:[57, 61] Operation: 49+12=61
Exploring Operation: 57-12=45, Resulting Numbers: [49, 45]
Generated Node #0,1,2: 47:[49, 45] Operation: 57-12=45
Moving to Node #0,2
Current State: 47:[3, 49, 48], Operations: ['60-12=48']
Exploring Operation: 49-3=46, Resulting Numbers: [48, 46]
Generated Node #0,2,0: 47:[48, 46] Operation: 49-3=46
Exploring Operation: 3+49=52, Resulting Numbers: [48, 52]
Generated Node #0,2,1: 47:[48, 52] Operation: 3+49=52
Exploring Operation: 48-3=45, Resulting Numbers: [49, 45]
Generated Node #0,2,2: 47:[49, 45] Operation: 48-3=45
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 47:[48, 46], Operations: ['60-12=48', '49-3=46']
Exploring Operation: 48*46=2208, Resulting Numbers: [2208]
2208,47 unequal: No Solution
Exploring Operation: 48-46=2, Resulting Numbers: [2]
2,47 unequal: No Solution
Exploring Operation: 48+46=94, Resulting Numbers: [94]
94,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 47:[49, 45], Operations: ['60-12=48', '48-3=45']
Exploring Operation: 49*45=2205, Resulting Numbers: [2205]
2205,47 unequal: No Solution
Exploring Operation: 49-45=4, Resulting Numbers: [4]
4,47 unequal: No Solution
Exploring Operation: 49+45=94, Resulting Numbers: [94]
94,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 47:[48, 52], Operations: ['60-12=48', '3+49=52']
Exploring Operation: 52-48=4, Resulting Numbers: [4]
4,47 unequal: No Solution
Exploring Operation: 48+52=100, Resulting Numbers: [100]
100,47 unequal: No Solution
Exploring Operation: 48*52=2496, Resulting Numbers: [2496]
2496,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 47:[49, 45], Operations: ['60-3=57', '57-12=45']
Exploring Operation: 49+45=94, Resulting Numbers: [94]
94,47 unequal: No Solution
Exploring Operation: 49*45=2205, Resulting Numbers: [2205]
2205,47 unequal: No Solution
Exploring Operation: 49-45=4, Resulting Numbers: [4]
4,47 unequal: No Solution
Moving to Node #0,1,0
Current State: 47:[57, 37], Operations: ['60-3=57', '49-12=37']
Exploring Operation: 57*37=2109, Resulting Numbers: [2109]
2109,47 unequal: No Solution
Exploring Operation: 57+37=94, Resulting Numbers: [94]
94,47 unequal: No Solution
Exploring Operation: 57-37=20, Resulting Numbers: [20]
20,47 unequal: No Solution
Moving to Node #0,1,1
Current State: 47:[57, 61], Operations: ['60-3=57', '49+12=61']
Exploring Operation: 57*61=3477, Resulting Numbers: [3477]
3477,47 unequal: No Solution
Exploring Operation: 57+61=118, Resulting Numbers: [118]
118,47 unequal: No Solution
Exploring Operation: 61-57=4, Resulting Numbers: [4]
4,47 unequal: No Solution
Moving to Node #0,0,1
Current State: 47:[49, 24], Operations: ['3*12=36', '60-36=24']
Exploring Operation: 49+24=73, Resulting Numbers: [73]
73,47 unequal: No Solution
Exploring Operation: 49-24=25, Resulting Numbers: [25]
25,47 unequal: No Solution
Exploring Operation: 49*24=1176, Resulting Numbers: [1176]
1176,47 unequal: No Solution
Moving to Node #0,0,0
Current State: 47:[36, 11], Operations: ['3*12=36', '60-49=11']
Exploring Operation: 36+11=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[60, 3, 49, 12], Operations: []
Exploring Operation: 3*12=36, Resulting Numbers: [60, 49, 36]
Generated Node #0,0: 47:[60, 49, 36] Operation: 3*12=36
Moving to Node #0,0
Current State: 47:[60, 49, 36], Operations: ['3*12=36']
Exploring Operation: 60-49=11, Resulting Numbers: [36, 11]
Generated Node #0,0,0: 47:[36, 11] Operation: 60-49=11
Moving to Node #0,0,0
Current State: 47:[36, 11], Operations: ['3*12=36', '60-49=11']
Exploring Operation: 36+11=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 0.967014 | hs_3 | sum_heuristic |
[
89,
51,
52,
38
] | 10 | [
"89+51=140",
"52-38=14",
"140/14=10"
] | Current State: 10:[89, 51, 52, 38], Operations: []
Exploring Operation: 89+51=140, Resulting Numbers: [52, 38, 140]
Generated Node #2: [52, 38, 140] from Operation: 89+51=140
Current State: 10:[52, 38, 140], Operations: ['89+51=140']
Exploring Operation: 52-38=14, Resulting Numbers: [140, 14]
Generated Node #3: [140, 14] from Operation: 52-38=14
Current State: 10:[140, 14], Operations: ['89+51=140', '52-38=14']
Exploring Operation: 140/14=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[89, 51, 52, 38], Operations: []
Exploring Operation: 89-52=37, Resulting Numbers: [51, 38, 37]
Generated Node #0,0: 10:[51, 38, 37] Operation: 89-52=37
Exploring Operation: 89-51=38, Resulting Numbers: [52, 38, 38]
Generated Node #0,1: 10:[52, 38, 38] Operation: 89-51=38
Exploring Operation: 89-38=51, Resulting Numbers: [51, 52, 51]
Generated Node #0,2: 10:[51, 52, 51] Operation: 89-38=51
Exploring Operation: 52-51=1, Resulting Numbers: [89, 38, 1]
Generated Node #0,3: 10:[89, 38, 1] Operation: 52-51=1
Moving to Node #0,0
Current State: 10:[51, 38, 37], Operations: ['89-52=37']
Exploring Operation: 38-37=1, Resulting Numbers: [51, 1]
Generated Node #0,0,0: 10:[51, 1] Operation: 38-37=1
Exploring Operation: 51+38=89, Resulting Numbers: [37, 89]
Generated Node #0,0,1: 10:[37, 89] Operation: 51+38=89
Exploring Operation: 51-38=13, Resulting Numbers: [37, 13]
Generated Node #0,0,2: 10:[37, 13] Operation: 51-38=13
Exploring Operation: 51-37=14, Resulting Numbers: [38, 14]
Generated Node #0,0,3: 10:[38, 14] Operation: 51-37=14
Moving to Node #0,1
Current State: 10:[52, 38, 38], Operations: ['89-51=38']
Exploring Operation: 52-38=14, Resulting Numbers: [38, 14]
Generated Node #0,1,0: 10:[38, 14] Operation: 52-38=14
Exploring Operation: 38/38=1, Resulting Numbers: [52, 1]
Generated Node #0,1,1: 10:[52, 1] Operation: 38/38=1
Exploring Operation: 52-38=14, Resulting Numbers: [38, 14]
Generated Node #0,1,2: 10:[38, 14] Operation: 52-38=14
Exploring Operation: 38-38=0, Resulting Numbers: [52, 0]
Generated Node #0,1,3: 10:[52, 0] Operation: 38-38=0
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 10:[38, 14], Operations: ['89-51=38', '52-38=14']
Exploring Operation: 38*14=532, Resulting Numbers: [532]
532,10 unequal: No Solution
Exploring Operation: 38-14=24, Resulting Numbers: [24]
24,10 unequal: No Solution
Exploring Operation: 38+14=52, Resulting Numbers: [52]
52,10 unequal: No Solution
No 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: 10:[38, 14], Operations: ['89-51=38', '52-38=14']
Exploring Operation: 38*14=532, Resulting Numbers: [532]
532,10 unequal: No Solution
Exploring Operation: 38-14=24, Resulting Numbers: [24]
24,10 unequal: No Solution
Exploring Operation: 38+14=52, Resulting Numbers: [52]
52,10 unequal: No Solution
No 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: 10:[52, 1], Operations: ['89-51=38', '38/38=1']
Exploring Operation: 52/1=52, Resulting Numbers: [52]
52,10 unequal: No Solution
Exploring Operation: 52-1=51, Resulting Numbers: [51]
51,10 unequal: No Solution
Exploring Operation: 52*1=52, Resulting Numbers: [52]
52,10 unequal: No Solution
Exploring Operation: 52+1=53, Resulting Numbers: [53]
53,10 unequal: No Solution
No 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: 10:[52, 0], Operations: ['89-51=38', '38-38=0']
Exploring Operation: 52-0=52, Resulting Numbers: [52]
52,10 unequal: No Solution
Exploring Operation: 52+0=52, Resulting Numbers: [52]
52,10 unequal: No Solution
Exploring Operation: 52*0=0, Resulting Numbers: [0]
0,10 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: 10:[89, 38, 1], Operations: ['52-51=1']
Exploring Operation: 38-1=37, Resulting Numbers: [89, 37]
Generated Node #0,3,0: 10:[89, 37] Operation: 38-1=37
Exploring Operation: 89-1=88, Resulting Numbers: [38, 88]
Generated Node #0,3,1: 10:[38, 88] Operation: 89-1=88
Exploring Operation: 89*1=89, Resulting Numbers: [38, 89]
Generated Node #0,3,2: 10:[38, 89] Operation: 89*1=89
Exploring Operation: 89-38=51, Resulting Numbers: [1, 51]
Generated Node #0,3,3: 10:[1, 51] Operation: 89-38=51
Moving to Node #0,2
Current State: 10:[51, 52, 51], Operations: ['89-38=51']
Exploring Operation: 52-51=1, Resulting Numbers: [51, 1]
Generated Node #0,2,0: 10:[51, 1] Operation: 52-51=1
Exploring Operation: 52-51=1, Resulting Numbers: [51, 1]
Generated Node #0,2,1: 10:[51, 1] Operation: 52-51=1
Exploring Operation: 51/51=1, Resulting Numbers: [52, 1]
Generated Node #0,2,2: 10:[52, 1] Operation: 51/51=1
Exploring Operation: 51-51=0, Resulting Numbers: [52, 0]
Generated Node #0,2,3: 10:[52, 0] Operation: 51-51=0
Moving to Node #0,0,2
Current State: 10:[37, 13], Operations: ['89-52=37', '51-38=13']
Exploring Operation: 37+13=50, Resulting Numbers: [50]
50,10 unequal: No Solution
Exploring Operation: 37*13=481, Resulting Numbers: [481]
481,10 unequal: No Solution
Exploring Operation: 37-13=24, Resulting Numbers: [24]
24,10 unequal: No Solution
Moving to Node #0,0,3
Current State: 10:[38, 14], Operations: ['89-52=37', '51-37=14']
Exploring Operation: 38-14=24, Resulting Numbers: [24]
24,10 unequal: No Solution
Exploring Operation: 38*14=532, Resulting Numbers: [532]
532,10 unequal: No Solution
Exploring Operation: 38+14=52, Resulting Numbers: [52]
52,10 unequal: No Solution
Moving to Node #0,0,0
Current State: 10:[51, 1], Operations: ['89-52=37', '38-37=1']
Exploring Operation: 51/1=51, Resulting Numbers: [51]
51,10 unequal: No Solution
Exploring Operation: 51+1=52, Resulting Numbers: [52]
52,10 unequal: No Solution
Exploring Operation: 51-1=50, Resulting Numbers: [50]
50,10 unequal: No Solution
Exploring Operation: 51*1=51, Resulting Numbers: [51]
51,10 unequal: No Solution
Moving to Node #0,3,3
Current State: 10:[1, 51], Operations: ['52-51=1', '89-38=51']
Exploring Operation: 51-1=50, Resulting Numbers: [50]
50,10 unequal: No Solution
Exploring Operation: 51/1=51, Resulting Numbers: [51]
51,10 unequal: No Solution
Exploring Operation: 1*51=51, Resulting Numbers: [51]
51,10 unequal: No Solution
Exploring Operation: 1+51=52, Resulting Numbers: [52]
52,10 unequal: No Solution
Moving to Node #0,2,1
Current State: 10:[51, 1], Operations: ['89-38=51', '52-51=1']
Exploring Operation: 51/1=51, Resulting Numbers: [51]
51,10 unequal: No Solution
Exploring Operation: 51-1=50, Resulting Numbers: [50]
50,10 unequal: No Solution
Exploring Operation: 51+1=52, Resulting Numbers: [52]
52,10 unequal: No Solution
Exploring Operation: 51*1=51, Resulting Numbers: [51]
51,10 unequal: No Solution
Moving to Node #0,2,0
Current State: 10:[51, 1], Operations: ['89-38=51', '52-51=1']
Exploring Operation: 51/1=51, Resulting Numbers: [51]
51,10 unequal: No Solution
Exploring Operation: 51*1=51, Resulting Numbers: [51]
51,10 unequal: No Solution
Exploring Operation: 51+1=52, Resulting Numbers: [52]
52,10 unequal: No Solution
Exploring Operation: 51-1=50, Resulting Numbers: [50]
50,10 unequal: No Solution
Moving to Node #0,2,2
Current State: 10:[52, 1], Operations: ['89-38=51', '51/51=1']
Exploring Operation: 52-1=51, Resulting Numbers: [51]
51,10 unequal: No Solution
Exploring Operation: 52+1=53, Resulting Numbers: [53]
53,10 unequal: No Solution
Exploring Operation: 52*1=52, Resulting Numbers: [52]
52,10 unequal: No Solution
Exploring Operation: 52/1=52, Resulting Numbers: [52]
52,10 unequal: No Solution
Moving to Node #0,2,3
Current State: 10:[52, 0], Operations: ['89-38=51', '51-51=0']
Exploring Operation: 52+0=52, Resulting Numbers: [52]
52,10 unequal: No Solution
Exploring Operation: 52*0=0, Resulting Numbers: [0]
0,10 unequal: No Solution
Exploring Operation: 52-0=52, Resulting Numbers: [52]
52,10 unequal: No Solution
Moving to Node #0,3,1
Current State: 10:[38, 88], Operations: ['52-51=1', '89-1=88']
Exploring Operation: 38+88=126, Resulting Numbers: [126]
126,10 unequal: No Solution
Exploring Operation: 88-38=50, Resulting Numbers: [50]
50,10 unequal: No Solution
Exploring Operation: 38*88=3344, Resulting Numbers: [3344]
3344,10 unequal: No Solution
Moving to Node #0,3,0
Current State: 10:[89, 37], Operations: ['52-51=1', '38-1=37']
Exploring Operation: 89*37=3293, Resulting Numbers: [3293]
3293,10 unequal: No Solution
Exploring Operation: 89-37=52, Resulting Numbers: [52]
52,10 unequal: No Solution
Exploring Operation: 89+37=126, Resulting Numbers: [126]
126,10 unequal: No Solution
Moving to Node #0,0,1
Current State: 10:[37, 89], Operations: ['89-52=37', '51+38=89']
Exploring Operation: 89-37=52, Resulting Numbers: [52]
52,10 unequal: No Solution
Exploring Operation: 37*89=3293, Resulting Numbers: [3293]
3293,10 unequal: No Solution
Exploring Operation: 37+89=126, Resulting Numbers: [126]
126,10 unequal: No Solution
Moving to Node #0,3,2
Current State: 10:[38, 89], Operations: ['52-51=1', '89*1=89']
Exploring Operation: 38*89=3382, Resulting Numbers: [3382]
3382,10 unequal: No Solution
Exploring Operation: 38+89=127, Resulting Numbers: [127]
127,10 unequal: No Solution
Exploring Operation: 89-38=51, Resulting Numbers: [51]
51,10 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
62,
48,
27,
75
] | 34 | [
"62-48=14",
"75-27=48",
"48-14=34"
] | Current State: 34:[62, 48, 27, 75], Operations: []
Exploring Operation: 62-48=14, Resulting Numbers: [27, 75, 14]
Generated Node #2: [27, 75, 14] from Operation: 62-48=14
Current State: 34:[27, 75, 14], Operations: ['62-48=14']
Exploring Operation: 75-27=48, Resulting Numbers: [14, 48]
Generated Node #3: [14, 48] from Operation: 75-27=48
Current State: 34:[14, 48], Operations: ['62-48=14', '75-27=48']
Exploring Operation: 48-14=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[62, 48, 27, 75], Operations: []
Exploring Operation: 62-48=14, Resulting Numbers: [27, 75, 14]
Generated Node #0,0: 34:[27, 75, 14] Operation: 62-48=14
Exploring Operation: 75-48=27, Resulting Numbers: [62, 27, 27]
Generated Node #0,1: 34:[62, 27, 27] Operation: 75-48=27
Exploring Operation: 75-62=13, Resulting Numbers: [48, 27, 13]
Generated Node #0,2: 34:[48, 27, 13] Operation: 75-62=13
Start Sub Search at level 1: Moving to Node #0,2
Current State: 34:[48, 27, 13], Operations: ['75-62=13']
Exploring Operation: 48-27=21, Resulting Numbers: [13, 21]
Generated Node #0,2,0: 34:[13, 21] Operation: 48-27=21
Exploring Operation: 48-13=35, Resulting Numbers: [27, 35]
Generated Node #0,2,1: 34:[27, 35] Operation: 48-13=35
Exploring Operation: 27-13=14, Resulting Numbers: [48, 14]
Generated Node #0,2,2: 34:[48, 14] Operation: 27-13=14
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 34:[13, 21], Operations: ['75-62=13', '48-27=21']
Exploring Operation: 21-13=8, Resulting Numbers: [8]
8,34 unequal: No Solution
Exploring Operation: 13+21=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[62, 48, 27, 75], Operations: []
Exploring Operation: 75-62=13, Resulting Numbers: [48, 27, 13]
Generated Node #0,2: 34:[48, 27, 13] Operation: 75-62=13
Moving to Node #0,2
Current State: 34:[48, 27, 13], Operations: ['75-62=13']
Exploring Operation: 48-27=21, Resulting Numbers: [13, 21]
Generated Node #0,2,0: 34:[13, 21] Operation: 48-27=21
Moving to Node #0,2,0
Current State: 34:[13, 21], Operations: ['75-62=13', '48-27=21']
Exploring Operation: 13+21=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
71,
39,
10,
82
] | 93 | [
"71+39=110",
"110/10=11",
"82+11=93"
] | Current State: 93:[71, 39, 10, 82], Operations: []
Exploring Operation: 71+39=110, Resulting Numbers: [10, 82, 110]
Generated Node #2: [10, 82, 110] from Operation: 71+39=110
Current State: 93:[10, 82, 110], Operations: ['71+39=110']
Exploring Operation: 110/10=11, Resulting Numbers: [82, 11]
Generated Node #3: [82, 11] from Operation: 110/10=11
Current State: 93:[82, 11], Operations: ['71+39=110', '110/10=11']
Exploring Operation: 82+11=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[71, 39, 10, 82], Operations: []
Exploring Operation: 82-71=11, Resulting Numbers: [39, 10, 11]
Generated Node #0,0: 93:[39, 10, 11] Operation: 82-71=11
Exploring Operation: 71+10=81, Resulting Numbers: [39, 82, 81]
Generated Node #0,1: 93:[39, 82, 81] Operation: 71+10=81
Exploring Operation: 71-39=32, Resulting Numbers: [10, 82, 32]
Generated Node #0,2: 93:[10, 82, 32] Operation: 71-39=32
Start Sub Search at level 1: Moving to Node #0,2
Current State: 93:[10, 82, 32], Operations: ['71-39=32']
Exploring Operation: 32-10=22, Resulting Numbers: [82, 22]
Generated Node #0,2,0: 93:[82, 22] Operation: 32-10=22
Exploring Operation: 82-10=72, Resulting Numbers: [32, 72]
Generated Node #0,2,1: 93:[32, 72] Operation: 82-10=72
Exploring Operation: 10+82=92, Resulting Numbers: [32, 92]
Generated Node #0,2,2: 93:[32, 92] Operation: 10+82=92
Moving to Node #0,2,2
Current State: 93:[32, 92], Operations: ['71-39=32', '10+82=92']
Exploring Operation: 32+92=124, Resulting Numbers: [124]
124,93 unequal: No Solution
Exploring Operation: 32*92=2944, Resulting Numbers: [2944]
2944,93 unequal: No Solution
Exploring Operation: 92-32=60, Resulting Numbers: [60]
60,93 unequal: No Solution
Moving to Node #0,2,0
Current State: 93:[82, 22], Operations: ['71-39=32', '32-10=22']
Exploring Operation: 82*22=1804, Resulting Numbers: [1804]
1804,93 unequal: No Solution
Exploring Operation: 82-22=60, Resulting Numbers: [60]
60,93 unequal: No Solution
Exploring Operation: 82+22=104, Resulting Numbers: [104]
104,93 unequal: No Solution
Moving to Node #0,2,1
Current State: 93:[32, 72], Operations: ['71-39=32', '82-10=72']
Exploring Operation: 72-32=40, Resulting Numbers: [40]
40,93 unequal: No Solution
Exploring Operation: 32*72=2304, Resulting Numbers: [2304]
2304,93 unequal: No Solution
Exploring Operation: 32+72=104, Resulting Numbers: [104]
104,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,0
Current State: 93:[39, 10, 11], Operations: ['82-71=11']
Exploring Operation: 39-11=28, Resulting Numbers: [10, 28]
Generated Node #0,0,0: 93:[10, 28] Operation: 39-11=28
Exploring Operation: 39-10=29, Resulting Numbers: [11, 29]
Generated Node #0,0,1: 93:[11, 29] Operation: 39-10=29
Exploring Operation: 11-10=1, Resulting Numbers: [39, 1]
Generated Node #0,0,2: 93:[39, 1] Operation: 11-10=1
Moving to Node #0,0,0
Current State: 93:[10, 28], Operations: ['82-71=11', '39-11=28']
Exploring Operation: 10+28=38, Resulting Numbers: [38]
38,93 unequal: No Solution
Exploring Operation: 10*28=280, Resulting Numbers: [280]
280,93 unequal: No Solution
Exploring Operation: 28-10=18, Resulting Numbers: [18]
18,93 unequal: No Solution
Moving to Node #0,0,1
Current State: 93:[11, 29], Operations: ['82-71=11', '39-10=29']
Exploring Operation: 11*29=319, Resulting Numbers: [319]
319,93 unequal: No Solution
Exploring Operation: 29-11=18, Resulting Numbers: [18]
18,93 unequal: No Solution
Exploring Operation: 11+29=40, Resulting Numbers: [40]
40,93 unequal: No Solution
Moving to Node #0,0,2
Current State: 93:[39, 1], Operations: ['82-71=11', '11-10=1']
Exploring Operation: 39/1=39, Resulting Numbers: [39]
39,93 unequal: No Solution
Exploring Operation: 39-1=38, Resulting Numbers: [38]
38,93 unequal: No Solution
Exploring Operation: 39*1=39, Resulting Numbers: [39]
39,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,1
Current State: 93:[39, 82, 81], Operations: ['71+10=81']
Exploring Operation: 82-39=43, Resulting Numbers: [81, 43]
Generated Node #0,1,0: 93:[81, 43] Operation: 82-39=43
Exploring Operation: 81-39=42, Resulting Numbers: [82, 42]
Generated Node #0,1,1: 93:[82, 42] Operation: 81-39=42
Exploring Operation: 82-81=1, Resulting Numbers: [39, 1]
Generated Node #0,1,2: 93:[39, 1] Operation: 82-81=1
Moving to Node #0,1,2
Current State: 93:[39, 1], Operations: ['71+10=81', '82-81=1']
Exploring Operation: 39/1=39, Resulting Numbers: [39]
39,93 unequal: No Solution
Exploring Operation: 39-1=38, Resulting Numbers: [38]
38,93 unequal: No Solution
Exploring Operation: 39*1=39, Resulting Numbers: [39]
39,93 unequal: No Solution
Moving to Node #0,1,1
Current State: 93:[82, 42], Operations: ['71+10=81', '81-39=42']
Exploring Operation: 82-42=40, Resulting Numbers: [40]
40,93 unequal: No Solution
Exploring Operation: 82*42=3444, Resulting Numbers: [3444]
3444,93 unequal: No Solution
Exploring Operation: 82+42=124, Resulting Numbers: [124]
124,93 unequal: No Solution
Moving to Node #0,1,0
Current State: 93:[81, 43], Operations: ['71+10=81', '82-39=43']
Exploring Operation: 81+43=124, Resulting Numbers: [124]
124,93 unequal: No Solution
Exploring Operation: 81-43=38, Resulting Numbers: [38]
38,93 unequal: No Solution
Exploring Operation: 81*43=3483, Resulting Numbers: [3483]
3483,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
7,
60,
2,
15
] | 11 | [
"60+2=62",
"15+62=77",
"77/7=11"
] | Current State: 11:[7, 60, 2, 15], Operations: []
Exploring Operation: 60+2=62, Resulting Numbers: [7, 15, 62]
Generated Node #2: [7, 15, 62] from Operation: 60+2=62
Current State: 11:[7, 15, 62], Operations: ['60+2=62']
Exploring Operation: 15+62=77, Resulting Numbers: [7, 77]
Generated Node #3: [7, 77] from Operation: 15+62=77
Current State: 11:[7, 77], Operations: ['60+2=62', '15+62=77']
Exploring Operation: 77/7=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[7, 60, 2, 15], Operations: []
Exploring Operation: 60/2=30, Resulting Numbers: [7, 15, 30]
Generated Node #0,0: 11:[7, 15, 30] Operation: 60/2=30
Exploring Operation: 60-15=45, Resulting Numbers: [7, 2, 45]
Generated Node #0,1: 11:[7, 2, 45] Operation: 60-15=45
Exploring Operation: 60/15=4, Resulting Numbers: [7, 2, 4]
Generated Node #0,2: 11:[7, 2, 4] Operation: 60/15=4
Moving to Node #0,2
Current State: 11:[7, 2, 4], Operations: ['60/15=4']
Exploring Operation: 2*4=8, Resulting Numbers: [7, 8]
Generated Node #0,2,0: 11:[7, 8] Operation: 2*4=8
Exploring Operation: 7+4=11, Resulting Numbers: [2, 11]
Generated Node #0,2,1: 11:[2, 11] Operation: 7+4=11
Exploring Operation: 7+2=9, Resulting Numbers: [4, 9]
Generated Node #0,2,2: 11:[4, 9] Operation: 7+2=9
Moving to Node #0,0
Current State: 11:[7, 15, 30], Operations: ['60/2=30']
Exploring Operation: 30/15=2, Resulting Numbers: [7, 2]
Generated Node #0,0,0: 11:[7, 2] Operation: 30/15=2
Exploring Operation: 30-7=23, Resulting Numbers: [15, 23]
Generated Node #0,0,1: 11:[15, 23] Operation: 30-7=23
Exploring Operation: 30-15=15, Resulting Numbers: [7, 15]
Generated Node #0,0,2: 11:[7, 15] Operation: 30-15=15
Moving to Node #0,1
Current State: 11:[7, 2, 45], Operations: ['60-15=45']
Exploring Operation: 45-2=43, Resulting Numbers: [7, 43]
Generated Node #0,1,0: 11:[7, 43] Operation: 45-2=43
Exploring Operation: 45-7=38, Resulting Numbers: [2, 38]
Generated Node #0,1,1: 11:[2, 38] Operation: 45-7=38
Exploring Operation: 7+2=9, Resulting Numbers: [45, 9]
Generated Node #0,1,2: 11:[45, 9] Operation: 7+2=9
Moving to Node #0,2,0
Current State: 11:[7, 8], Operations: ['60/15=4', '2*4=8']
Exploring Operation: 7+8=15, Resulting Numbers: [15]
15,11 unequal: No Solution
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,11 unequal: No Solution
Exploring Operation: 7*8=56, Resulting Numbers: [56]
56,11 unequal: No Solution
Moving to Node #0,0,2
Current State: 11:[7, 15], Operations: ['60/2=30', '30-15=15']
Exploring Operation: 7*15=105, Resulting Numbers: [105]
105,11 unequal: No Solution
Exploring Operation: 7+15=22, Resulting Numbers: [22]
22,11 unequal: No Solution
Exploring Operation: 15-7=8, Resulting Numbers: [8]
8,11 unequal: No Solution
Moving to Node #0,2,2
Current State: 11:[4, 9], Operations: ['60/15=4', '7+2=9']
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,11 unequal: No Solution
Exploring Operation: 4*9=36, Resulting Numbers: [36]
36,11 unequal: No Solution
Exploring Operation: 4+9=13, Resulting Numbers: [13]
13,11 unequal: No Solution
Moving to Node #0,2,1
Current State: 11:[2, 11], Operations: ['60/15=4', '7+4=11']
Exploring Operation: 2+11=13, Resulting Numbers: [13]
13,11 unequal: No Solution
Exploring Operation: 2*11=22, Resulting Numbers: [22]
22,11 unequal: No Solution
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,11 unequal: No Solution
Moving to Node #0,0,0
Current State: 11:[7, 2], Operations: ['60/2=30', '30/15=2']
Exploring Operation: 7+2=9, Resulting Numbers: [9]
9,11 unequal: No Solution
Exploring Operation: 7*2=14, Resulting Numbers: [14]
14,11 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,11 unequal: No Solution
Moving to Node #0,0,1
Current State: 11:[15, 23], Operations: ['60/2=30', '30-7=23']
Exploring Operation: 15+23=38, Resulting Numbers: [38]
38,11 unequal: No Solution
Exploring Operation: 23-15=8, Resulting Numbers: [8]
8,11 unequal: No Solution
Exploring Operation: 15*23=345, Resulting Numbers: [345]
345,11 unequal: No Solution
Moving to Node #0,1,2
Current State: 11:[45, 9], Operations: ['60-15=45', '7+2=9']
Exploring Operation: 45-9=36, Resulting Numbers: [36]
36,11 unequal: No Solution
Exploring Operation: 45/9=5, Resulting Numbers: [5]
5,11 unequal: No Solution
Exploring Operation: 45+9=54, Resulting Numbers: [54]
54,11 unequal: No Solution
Moving to Node #0,1,0
Current State: 11:[7, 43], Operations: ['60-15=45', '45-2=43']
Exploring Operation: 7*43=301, Resulting Numbers: [301]
301,11 unequal: No Solution
Exploring Operation: 43-7=36, Resulting Numbers: [36]
36,11 unequal: No Solution
Exploring Operation: 7+43=50, Resulting Numbers: [50]
50,11 unequal: No Solution
Moving to Node #0,1,1
Current State: 11:[2, 38], Operations: ['60-15=45', '45-7=38']
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,11 unequal: No Solution
Exploring Operation: 2+38=40, Resulting Numbers: [40]
40,11 unequal: No Solution
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,11 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
77,
5,
63,
67
] | 51 | [
"63+67=130",
"130/5=26",
"77-26=51"
] | Current State: 51:[77, 5, 63, 67], Operations: []
Exploring Operation: 63+67=130, Resulting Numbers: [77, 5, 130]
Generated Node #2: [77, 5, 130] from Operation: 63+67=130
Current State: 51:[77, 5, 130], Operations: ['63+67=130']
Exploring Operation: 130/5=26, Resulting Numbers: [77, 26]
Generated Node #3: [77, 26] from Operation: 130/5=26
Current State: 51:[77, 26], Operations: ['63+67=130', '130/5=26']
Exploring Operation: 77-26=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[77, 5, 63, 67], Operations: []
Exploring Operation: 67-63=4, Resulting Numbers: [77, 5, 4]
Generated Node #0,0: 51:[77, 5, 4] Operation: 67-63=4
Exploring Operation: 77-63=14, Resulting Numbers: [5, 67, 14]
Generated Node #0,1: 51:[5, 67, 14] Operation: 77-63=14
Exploring Operation: 77-5=72, Resulting Numbers: [63, 67, 72]
Generated Node #0,2: 51:[63, 67, 72] Operation: 77-5=72
Exploring Operation: 77-67=10, Resulting Numbers: [5, 63, 10]
Generated Node #0,3: 51:[5, 63, 10] Operation: 77-67=10
Start Sub Search at level 1: Moving to Node #0,1
Current State: 51:[5, 67, 14], Operations: ['77-63=14']
Exploring Operation: 67-14=53, Resulting Numbers: [5, 53]
Generated Node #0,1,0: 51:[5, 53] Operation: 67-14=53
Exploring Operation: 14-5=9, Resulting Numbers: [67, 9]
Generated Node #0,1,1: 51:[67, 9] Operation: 14-5=9
Exploring Operation: 5+14=19, Resulting Numbers: [67, 19]
Generated Node #0,1,2: 51:[67, 19] Operation: 5+14=19
Exploring Operation: 67-5=62, Resulting Numbers: [14, 62]
Generated Node #0,1,3: 51:[14, 62] Operation: 67-5=62
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 51:[5, 53], Operations: ['77-63=14', '67-14=53']
Exploring Operation: 5*53=265, Resulting Numbers: [265]
265,51 unequal: No Solution
Exploring Operation: 53-5=48, Resulting Numbers: [48]
48,51 unequal: No Solution
Exploring Operation: 5+53=58, Resulting Numbers: [58]
58,51 unequal: No Solution
No 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: 51:[14, 62], Operations: ['77-63=14', '67-5=62']
Exploring Operation: 14*62=868, Resulting Numbers: [868]
868,51 unequal: No Solution
Exploring Operation: 14+62=76, Resulting Numbers: [76]
76,51 unequal: No Solution
Exploring Operation: 62-14=48, Resulting Numbers: [48]
48,51 unequal: No Solution
No 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: 51:[67, 19], Operations: ['77-63=14', '5+14=19']
Exploring Operation: 67-19=48, Resulting Numbers: [48]
48,51 unequal: No Solution
Exploring Operation: 67*19=1273, Resulting Numbers: [1273]
1273,51 unequal: No Solution
Exploring Operation: 67+19=86, Resulting Numbers: [86]
86,51 unequal: No Solution
No 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: 51:[67, 9], Operations: ['77-63=14', '14-5=9']
Exploring Operation: 67+9=76, Resulting Numbers: [76]
76,51 unequal: No Solution
Exploring Operation: 67*9=603, Resulting Numbers: [603]
603,51 unequal: No Solution
Exploring Operation: 67-9=58, Resulting Numbers: [58]
58,51 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: 51:[5, 63, 10], Operations: ['77-67=10']
Exploring Operation: 10/5=2, Resulting Numbers: [63, 2]
Generated Node #0,3,0: 51:[63, 2] Operation: 10/5=2
Exploring Operation: 5*10=50, Resulting Numbers: [63, 50]
Generated Node #0,3,1: 51:[63, 50] Operation: 5*10=50
Exploring Operation: 63-5=58, Resulting Numbers: [10, 58]
Generated Node #0,3,2: 51:[10, 58] Operation: 63-5=58
Exploring Operation: 63-10=53, Resulting Numbers: [5, 53]
Generated Node #0,3,3: 51:[5, 53] Operation: 63-10=53
Moving to Node #0,3,3
Current State: 51:[5, 53], Operations: ['77-67=10', '63-10=53']
Exploring Operation: 5*53=265, Resulting Numbers: [265]
265,51 unequal: No Solution
Exploring Operation: 53-5=48, Resulting Numbers: [48]
48,51 unequal: No Solution
Exploring Operation: 5+53=58, Resulting Numbers: [58]
58,51 unequal: No Solution
Moving to Node #0,3,1
Current State: 51:[63, 50], Operations: ['77-67=10', '5*10=50']
Exploring Operation: 63*50=3150, Resulting Numbers: [3150]
3150,51 unequal: No Solution
Exploring Operation: 63-50=13, Resulting Numbers: [13]
13,51 unequal: No Solution
Exploring Operation: 63+50=113, Resulting Numbers: [113]
113,51 unequal: No Solution
Moving to Node #0,3,0
Current State: 51:[63, 2], Operations: ['77-67=10', '10/5=2']
Exploring Operation: 63+2=65, Resulting Numbers: [65]
65,51 unequal: No Solution
Exploring Operation: 63*2=126, Resulting Numbers: [126]
126,51 unequal: No Solution
Exploring Operation: 63-2=61, Resulting Numbers: [61]
61,51 unequal: No Solution
Moving to Node #0,3,2
Current State: 51:[10, 58], Operations: ['77-67=10', '63-5=58']
Exploring Operation: 10*58=580, Resulting Numbers: [580]
580,51 unequal: No Solution
Exploring Operation: 58-10=48, Resulting Numbers: [48]
48,51 unequal: No Solution
Exploring Operation: 10+58=68, Resulting Numbers: [68]
68,51 unequal: No Solution
No 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: 51:[77, 5, 4], Operations: ['67-63=4']
Exploring Operation: 5*4=20, Resulting Numbers: [77, 20]
Generated Node #0,0,0: 51:[77, 20] Operation: 5*4=20
Exploring Operation: 77-4=73, Resulting Numbers: [5, 73]
Generated Node #0,0,1: 51:[5, 73] Operation: 77-4=73
Exploring Operation: 77-5=72, Resulting Numbers: [4, 72]
Generated Node #0,0,2: 51:[4, 72] Operation: 77-5=72
Exploring Operation: 5-4=1, Resulting Numbers: [77, 1]
Generated Node #0,0,3: 51:[77, 1] Operation: 5-4=1
Moving to Node #0,0,2
Current State: 51:[4, 72], Operations: ['67-63=4', '77-5=72']
Exploring Operation: 72/4=18, Resulting Numbers: [18]
18,51 unequal: No Solution
Exploring Operation: 72-4=68, Resulting Numbers: [68]
68,51 unequal: No Solution
Exploring Operation: 4+72=76, Resulting Numbers: [76]
76,51 unequal: No Solution
Exploring Operation: 4*72=288, Resulting Numbers: [288]
288,51 unequal: No Solution
Moving to Node #0,0,1
Current State: 51:[5, 73], Operations: ['67-63=4', '77-4=73']
Exploring Operation: 5*73=365, Resulting Numbers: [365]
365,51 unequal: No Solution
Exploring Operation: 73-5=68, Resulting Numbers: [68]
68,51 unequal: No Solution
Exploring Operation: 5+73=78, Resulting Numbers: [78]
78,51 unequal: No Solution
Moving to Node #0,0,3
Current State: 51:[77, 1], Operations: ['67-63=4', '5-4=1']
Exploring Operation: 77*1=77, Resulting Numbers: [77]
77,51 unequal: No Solution
Exploring Operation: 77+1=78, Resulting Numbers: [78]
78,51 unequal: No Solution
Exploring Operation: 77-1=76, Resulting Numbers: [76]
76,51 unequal: No Solution
Exploring Operation: 77/1=77, Resulting Numbers: [77]
77,51 unequal: No Solution
Moving to Node #0,0,0
Current State: 51:[77, 20], Operations: ['67-63=4', '5*4=20']
Exploring Operation: 77*20=1540, Resulting Numbers: [1540]
1540,51 unequal: No Solution
Exploring Operation: 77+20=97, Resulting Numbers: [97]
97,51 unequal: No Solution
Exploring Operation: 77-20=57, Resulting Numbers: [57]
57,51 unequal: No Solution
No 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: 51:[63, 67, 72], Operations: ['77-5=72']
Exploring Operation: 72-63=9, Resulting Numbers: [67, 9]
Generated Node #0,2,0: 51:[67, 9] Operation: 72-63=9
Exploring Operation: 63+67=130, Resulting Numbers: [72, 130]
Generated Node #0,2,1: 51:[72, 130] Operation: 63+67=130
Exploring Operation: 67-63=4, Resulting Numbers: [72, 4]
Generated Node #0,2,2: 51:[72, 4] Operation: 67-63=4
Exploring Operation: 72-67=5, Resulting Numbers: [63, 5]
Generated Node #0,2,3: 51:[63, 5] Operation: 72-67=5
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 51:[63, 5], Operations: ['77-5=72', '72-67=5']
Exploring Operation: 63-5=58, Resulting Numbers: [58]
58,51 unequal: No Solution
Exploring Operation: 63+5=68, Resulting Numbers: [68]
68,51 unequal: No Solution
Exploring Operation: 63*5=315, Resulting Numbers: [315]
315,51 unequal: No Solution
No 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: 51:[67, 9], Operations: ['77-5=72', '72-63=9']
Exploring Operation: 67-9=58, Resulting Numbers: [58]
58,51 unequal: No Solution
Exploring Operation: 67*9=603, Resulting Numbers: [603]
603,51 unequal: No Solution
Exploring Operation: 67+9=76, Resulting Numbers: [76]
76,51 unequal: No Solution
No 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: 51:[72, 4], Operations: ['77-5=72', '67-63=4']
Exploring Operation: 72/4=18, Resulting Numbers: [18]
18,51 unequal: No Solution
Exploring Operation: 72-4=68, Resulting Numbers: [68]
68,51 unequal: No Solution
Exploring Operation: 72*4=288, Resulting Numbers: [288]
288,51 unequal: No Solution
Exploring Operation: 72+4=76, Resulting Numbers: [76]
76,51 unequal: No Solution
No 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: 51:[72, 130], Operations: ['77-5=72', '63+67=130']
Exploring Operation: 72+130=202, Resulting Numbers: [202]
202,51 unequal: No Solution
Exploring Operation: 72*130=9360, Resulting Numbers: [9360]
9360,51 unequal: No Solution
Exploring Operation: 130-72=58, Resulting Numbers: [58]
58,51 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 |
[
91,
2,
68,
19
] | 76 | [
"91+19=110",
"68/2=34",
"110-34=76"
] | Current State: 76:[91, 2, 68, 19], Operations: []
Exploring Operation: 91+19=110, Resulting Numbers: [2, 68, 110]
Generated Node #2: [2, 68, 110] from Operation: 91+19=110
Current State: 76:[2, 68, 110], Operations: ['91+19=110']
Exploring Operation: 68/2=34, Resulting Numbers: [110, 34]
Generated Node #3: [110, 34] from Operation: 68/2=34
Current State: 76:[110, 34], Operations: ['91+19=110', '68/2=34']
Exploring Operation: 110-34=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[91, 2, 68, 19], Operations: []
Exploring Operation: 68/2=34, Resulting Numbers: [91, 19, 34]
Generated Node #0,0: 76:[91, 19, 34] Operation: 68/2=34
Exploring Operation: 91-19=72, Resulting Numbers: [2, 68, 72]
Generated Node #0,1: 76:[2, 68, 72] Operation: 91-19=72
Exploring Operation: 91-2=89, Resulting Numbers: [68, 19, 89]
Generated Node #0,2: 76:[68, 19, 89] Operation: 91-2=89
Exploring Operation: 91-68=23, Resulting Numbers: [2, 19, 23]
Generated Node #0,3: 76:[2, 19, 23] Operation: 91-68=23
Exploring Operation: 2+68=70, Resulting Numbers: [91, 19, 70]
Generated Node #0,4: 76:[91, 19, 70] Operation: 2+68=70
Start Sub Search at level 1: Moving to Node #0,3
Current State: 76:[2, 19, 23], Operations: ['91-68=23']
Exploring Operation: 2*19=38, Resulting Numbers: [23, 38]
Generated Node #0,3,0: 76:[23, 38] Operation: 2*19=38
Exploring Operation: 19+23=42, Resulting Numbers: [2, 42]
Generated Node #0,3,1: 76:[2, 42] Operation: 19+23=42
Exploring Operation: 23-2=21, Resulting Numbers: [19, 21]
Generated Node #0,3,2: 76:[19, 21] Operation: 23-2=21
Exploring Operation: 23-19=4, Resulting Numbers: [2, 4]
Generated Node #0,3,3: 76:[2, 4] Operation: 23-19=4
Exploring Operation: 2+19=21, Resulting Numbers: [23, 21]
Generated Node #0,3,4: 76:[23, 21] Operation: 2+19=21
Moving to Node #0,3,3
Current State: 76:[2, 4], Operations: ['91-68=23', '23-19=4']
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,76 unequal: No Solution
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,76 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,76 unequal: No Solution
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,76 unequal: No Solution
Moving to Node #0,3,2
Current State: 76:[19, 21], Operations: ['91-68=23', '23-2=21']
Exploring Operation: 19+21=40, Resulting Numbers: [40]
40,76 unequal: No Solution
Exploring Operation: 19*21=399, Resulting Numbers: [399]
399,76 unequal: No Solution
Exploring Operation: 21-19=2, Resulting Numbers: [2]
2,76 unequal: No Solution
Moving to Node #0,3,0
Current State: 76:[23, 38], Operations: ['91-68=23', '2*19=38']
Exploring Operation: 23+38=61, Resulting Numbers: [61]
61,76 unequal: No Solution
Exploring Operation: 23*38=874, Resulting Numbers: [874]
874,76 unequal: No Solution
Exploring Operation: 38-23=15, Resulting Numbers: [15]
15,76 unequal: No Solution
Moving to Node #0,3,1
Current State: 76:[2, 42], Operations: ['91-68=23', '19+23=42']
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,76 unequal: No Solution
Exploring Operation: 2+42=44, Resulting Numbers: [44]
44,76 unequal: No Solution
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,76 unequal: No Solution
Exploring Operation: 2*42=84, Resulting Numbers: [84]
84,76 unequal: No Solution
Moving to Node #0,3,4
Current State: 76:[23, 21], Operations: ['91-68=23', '2+19=21']
Exploring Operation: 23+21=44, Resulting Numbers: [44]
44,76 unequal: No Solution
Exploring Operation: 23-21=2, Resulting Numbers: [2]
2,76 unequal: No Solution
Exploring Operation: 23*21=483, Resulting Numbers: [483]
483,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
Current State: 76:[2, 68, 72], Operations: ['91-19=72']
Exploring Operation: 2+68=70, Resulting Numbers: [72, 70]
Generated Node #0,1,0: 76:[72, 70] Operation: 2+68=70
Exploring Operation: 72/2=36, Resulting Numbers: [68, 36]
Generated Node #0,1,1: 76:[68, 36] Operation: 72/2=36
Exploring Operation: 72-68=4, Resulting Numbers: [2, 4]
Generated Node #0,1,2: 76:[2, 4] Operation: 72-68=4
Exploring Operation: 68/2=34, Resulting Numbers: [72, 34]
Generated Node #0,1,3: 76:[72, 34] Operation: 68/2=34
Exploring Operation: 2+72=74, Resulting Numbers: [68, 74]
Generated Node #0,1,4: 76:[68, 74] Operation: 2+72=74
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 76:[2, 4], Operations: ['91-19=72', '72-68=4']
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,76 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,76 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,76 unequal: No Solution
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,76 unequal: No Solution
No 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: 76:[72, 34], Operations: ['91-19=72', '68/2=34']
Exploring Operation: 72-34=38, Resulting Numbers: [38]
38,76 unequal: No Solution
Exploring Operation: 72+34=106, Resulting Numbers: [106]
106,76 unequal: No Solution
Exploring Operation: 72*34=2448, Resulting Numbers: [2448]
2448,76 unequal: No Solution
No 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: 76:[72, 70], Operations: ['91-19=72', '2+68=70']
Exploring Operation: 72*70=5040, Resulting Numbers: [5040]
5040,76 unequal: No Solution
Exploring Operation: 72-70=2, Resulting Numbers: [2]
2,76 unequal: No Solution
Exploring Operation: 72+70=142, Resulting Numbers: [142]
142,76 unequal: No Solution
No 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: 76:[68, 36], Operations: ['91-19=72', '72/2=36']
Exploring Operation: 68+36=104, Resulting Numbers: [104]
104,76 unequal: No Solution
Exploring Operation: 68-36=32, Resulting Numbers: [32]
32,76 unequal: No Solution
Exploring Operation: 68*36=2448, Resulting Numbers: [2448]
2448,76 unequal: No Solution
No 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: 76:[68, 74], Operations: ['91-19=72', '2+72=74']
Exploring Operation: 68+74=142, Resulting Numbers: [142]
142,76 unequal: No Solution
Exploring Operation: 74-68=6, Resulting Numbers: [6]
6,76 unequal: No Solution
Exploring Operation: 68*74=5032, Resulting Numbers: [5032]
5032,76 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: 76:[91, 19, 34], Operations: ['68/2=34']
Exploring Operation: 91-34=57, Resulting Numbers: [19, 57]
Generated Node #0,0,0: 76:[19, 57] Operation: 91-34=57
Exploring Operation: 91-19=72, Resulting Numbers: [34, 72]
Generated Node #0,0,1: 76:[34, 72] Operation: 91-19=72
Exploring Operation: 91+19=110, Resulting Numbers: [34, 110]
Generated Node #0,0,2: 76:[34, 110] Operation: 91+19=110
Exploring Operation: 19+34=53, Resulting Numbers: [91, 53]
Generated Node #0,0,3: 76:[91, 53] Operation: 19+34=53
Exploring Operation: 34-19=15, Resulting Numbers: [91, 15]
Generated Node #0,0,4: 76:[91, 15] Operation: 34-19=15
Moving to Node #0,0,1
Current State: 76:[34, 72], Operations: ['68/2=34', '91-19=72']
Exploring Operation: 34+72=106, Resulting Numbers: [106]
106,76 unequal: No Solution
Exploring Operation: 72-34=38, Resulting Numbers: [38]
38,76 unequal: No Solution
Exploring Operation: 34*72=2448, Resulting Numbers: [2448]
2448,76 unequal: No Solution
Moving to Node #0,0,4
Current State: 76:[91, 15], Operations: ['68/2=34', '34-19=15']
Exploring Operation: 91+15=106, Resulting Numbers: [106]
106,76 unequal: No Solution
Exploring Operation: 91*15=1365, Resulting Numbers: [1365]
1365,76 unequal: No Solution
Exploring Operation: 91-15=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[91, 2, 68, 19], Operations: []
Exploring Operation: 68/2=34, Resulting Numbers: [91, 19, 34]
Generated Node #0,0: 76:[91, 19, 34] Operation: 68/2=34
Moving to Node #0,0
Current State: 76:[91, 19, 34], Operations: ['68/2=34']
Exploring Operation: 34-19=15, Resulting Numbers: [91, 15]
Generated Node #0,0,4: 76:[91, 15] Operation: 34-19=15
Moving to Node #0,0,4
Current State: 76:[91, 15], Operations: ['68/2=34', '34-19=15']
Exploring Operation: 91-15=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 1
| 0.945313 | hs_5 | mult_heuristic |
[
2,
70,
12,
26
] | 45 | [
"26/2=13",
"70-12=58",
"58-13=45"
] | Current State: 45:[2, 70, 12, 26], Operations: []
Exploring Operation: 26/2=13, Resulting Numbers: [70, 12, 13]
Generated Node #2: [70, 12, 13] from Operation: 26/2=13
Current State: 45:[70, 12, 13], Operations: ['26/2=13']
Exploring Operation: 70-12=58, Resulting Numbers: [13, 58]
Generated Node #3: [13, 58] from Operation: 70-12=58
Current State: 45:[13, 58], Operations: ['26/2=13', '70-12=58']
Exploring Operation: 58-13=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[2, 70, 12, 26], Operations: []
Exploring Operation: 70-26=44, Resulting Numbers: [2, 12, 44]
Generated Node #0,0: 45:[2, 12, 44] Operation: 70-26=44
Moving to Node #0,0
Current State: 45:[2, 12, 44], Operations: ['70-26=44']
Exploring Operation: 2+12=14, Resulting Numbers: [44, 14]
Generated Node #0,0,0: 45:[44, 14] Operation: 2+12=14
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 45:[44, 14], Operations: ['70-26=44', '2+12=14']
Exploring Operation: 44+14=58, Resulting Numbers: [58]
58,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
16,
51,
5,
51
] | 44 | [
"51-16=35",
"35/5=7",
"51-7=44"
] | Current State: 44:[16, 51, 5, 51], Operations: []
Exploring Operation: 51-16=35, Resulting Numbers: [5, 35]
Generated Node #2: [5, 35] from Operation: 51-16=35
Current State: 44:[5, 35], Operations: ['51-16=35']
Exploring Operation: 35/5=7, Resulting Numbers: [7]
7,44 equal: Goal Reached
Exploring Operation: 51-7=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[16, 51, 5, 51], Operations: []
Exploring Operation: 16-5=11, Resulting Numbers: [51, 51, 11]
Generated Node #0,0: 44:[51, 51, 11] Operation: 16-5=11
Exploring Operation: 51-51=0, Resulting Numbers: [16, 5, 0]
Generated Node #0,1: 44:[16, 5, 0] Operation: 51-51=0
Exploring Operation: 51/51=1, Resulting Numbers: [16, 5, 1]
Generated Node #0,2: 44:[16, 5, 1] Operation: 51/51=1
Moving to Node #0,2
Current State: 44:[16, 5, 1], Operations: ['51/51=1']
Exploring Operation: 16-1=15, Resulting Numbers: [5, 15]
Generated Node #0,2,0: 44:[5, 15] Operation: 16-1=15
Exploring Operation: 16-5=11, Resulting Numbers: [1, 11]
Generated Node #0,2,1: 44:[1, 11] Operation: 16-5=11
Exploring Operation: 16+5=21, Resulting Numbers: [1, 21]
Generated Node #0,2,2: 44:[1, 21] Operation: 16+5=21
Moving to Node #0,1
Current State: 44:[16, 5, 0], Operations: ['51-51=0']
Exploring Operation: 16*0=0, Resulting Numbers: [5, 0]
Generated Node #0,1,0: 44:[5, 0] Operation: 16*0=0
Exploring Operation: 16+5=21, Resulting Numbers: [0, 21]
Generated Node #0,1,1: 44:[0, 21] Operation: 16+5=21
Exploring Operation: 16-5=11, Resulting Numbers: [0, 11]
Generated Node #0,1,2: 44:[0, 11] Operation: 16-5=11
Moving to Node #0,0
Current State: 44:[51, 51, 11], Operations: ['16-5=11']
Exploring Operation: 51/51=1, Resulting Numbers: [11, 1]
Generated Node #0,0,0: 44:[11, 1] Operation: 51/51=1
Exploring Operation: 51-11=40, Resulting Numbers: [51, 40]
Generated Node #0,0,1: 44:[51, 40] Operation: 51-11=40
Exploring Operation: 51-51=0, Resulting Numbers: [11, 0]
Generated Node #0,0,2: 44:[11, 0] Operation: 51-51=0
Moving to Node #0,2,1
Current State: 44:[1, 11], Operations: ['51/51=1', '16-5=11']
Exploring Operation: 1*11=11, Resulting Numbers: [11]
11,44 unequal: No Solution
Exploring Operation: 11/1=11, Resulting Numbers: [11]
11,44 unequal: No Solution
Exploring Operation: 1+11=12, Resulting Numbers: [12]
12,44 unequal: No Solution
Moving to Node #0,0,0
Current State: 44:[11, 1], Operations: ['16-5=11', '51/51=1']
Exploring Operation: 11*1=11, Resulting Numbers: [11]
11,44 unequal: No Solution
Exploring Operation: 11/1=11, Resulting Numbers: [11]
11,44 unequal: No Solution
Exploring Operation: 11+1=12, Resulting Numbers: [12]
12,44 unequal: No Solution
Moving to Node #0,2,2
Current State: 44:[1, 21], Operations: ['51/51=1', '16+5=21']
Exploring Operation: 21/1=21, Resulting Numbers: [21]
21,44 unequal: No Solution
Exploring Operation: 1*21=21, Resulting Numbers: [21]
21,44 unequal: No Solution
Exploring Operation: 1+21=22, Resulting Numbers: [22]
22,44 unequal: No Solution
Moving to Node #0,1,2
Current State: 44:[0, 11], Operations: ['51-51=0', '16-5=11']
Exploring Operation: 0*11=0, Resulting Numbers: [0]
0,44 unequal: No Solution
Exploring Operation: 0+11=11, Resulting Numbers: [11]
11,44 unequal: No Solution
Exploring Operation: 11-0=11, Resulting Numbers: [11]
11,44 unequal: No Solution
Moving to Node #0,0,2
Current State: 44:[11, 0], Operations: ['16-5=11', '51-51=0']
Exploring Operation: 11*0=0, Resulting Numbers: [0]
0,44 unequal: No Solution
Exploring Operation: 11-0=11, Resulting Numbers: [11]
11,44 unequal: No Solution
Exploring Operation: 11+0=11, Resulting Numbers: [11]
11,44 unequal: No Solution
Moving to Node #0,1,1
Current State: 44:[0, 21], Operations: ['51-51=0', '16+5=21']
Exploring Operation: 0*21=0, Resulting Numbers: [0]
0,44 unequal: No Solution
Exploring Operation: 0+21=21, Resulting Numbers: [21]
21,44 unequal: No Solution
Exploring Operation: 21-0=21, Resulting Numbers: [21]
21,44 unequal: No Solution
Moving to Node #0,1,0
Current State: 44:[5, 0], Operations: ['51-51=0', '16*0=0']
Exploring Operation: 5+0=5, Resulting Numbers: [5]
5,44 unequal: No Solution
Exploring Operation: 5*0=0, Resulting Numbers: [0]
0,44 unequal: No Solution
Exploring Operation: 5-0=5, Resulting Numbers: [5]
5,44 unequal: No Solution
Moving to Node #0,2,0
Current State: 44:[5, 15], Operations: ['51/51=1', '16-1=15']
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,44 unequal: No Solution
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,44 unequal: No Solution
Exploring Operation: 5+15=20, Resulting Numbers: [20]
20,44 unequal: No Solution
Moving to Node #0,0,1
Current State: 44:[51, 40], Operations: ['16-5=11', '51-11=40']
Exploring Operation: 51-40=11, Resulting Numbers: [11]
11,44 unequal: No Solution
Exploring Operation: 51*40=2040, Resulting Numbers: [2040]
2040,44 unequal: No Solution
Exploring Operation: 51+40=91, Resulting Numbers: [91]
91,44 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
73,
5,
72,
40
] | 37 | [
"73+72=145",
"40+145=185",
"185/5=37"
] | Current State: 37:[73, 5, 72, 40], Operations: []
Exploring Operation: 73+72=145, Resulting Numbers: [5, 40, 145]
Generated Node #2: [5, 40, 145] from Operation: 73+72=145
Current State: 37:[5, 40, 145], Operations: ['73+72=145']
Exploring Operation: 40+145=185, Resulting Numbers: [5, 185]
Generated Node #3: [5, 185] from Operation: 40+145=185
Current State: 37:[5, 185], Operations: ['73+72=145', '40+145=185']
Exploring Operation: 185/5=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[73, 5, 72, 40], Operations: []
Exploring Operation: 73-72=1, Resulting Numbers: [5, 40, 1]
Generated Node #0,0: 37:[5, 40, 1] Operation: 73-72=1
Exploring Operation: 73-40=33, Resulting Numbers: [5, 72, 33]
Generated Node #0,1: 37:[5, 72, 33] Operation: 73-40=33
Exploring Operation: 72-5=67, Resulting Numbers: [73, 40, 67]
Generated Node #0,2: 37:[73, 40, 67] Operation: 72-5=67
Exploring Operation: 73-5=68, Resulting Numbers: [72, 40, 68]
Generated Node #0,3: 37:[72, 40, 68] Operation: 73-5=68
Start Sub Search at level 1: Moving to Node #0,2
Current State: 37:[73, 40, 67], Operations: ['72-5=67']
Exploring Operation: 73-67=6, Resulting Numbers: [40, 6]
Generated Node #0,2,0: 37:[40, 6] Operation: 73-67=6
Exploring Operation: 67-40=27, Resulting Numbers: [73, 27]
Generated Node #0,2,1: 37:[73, 27] Operation: 67-40=27
Exploring Operation: 73+40=113, Resulting Numbers: [67, 113]
Generated Node #0,2,2: 37:[67, 113] Operation: 73+40=113
Exploring Operation: 73-40=33, Resulting Numbers: [67, 33]
Generated Node #0,2,3: 37:[67, 33] Operation: 73-40=33
Moving to Node #0,2,0
Current State: 37:[40, 6], Operations: ['72-5=67', '73-67=6']
Exploring Operation: 40*6=240, Resulting Numbers: [240]
240,37 unequal: No Solution
Exploring Operation: 40+6=46, Resulting Numbers: [46]
46,37 unequal: No Solution
Exploring Operation: 40-6=34, Resulting Numbers: [34]
34,37 unequal: No Solution
Moving to Node #0,2,3
Current State: 37:[67, 33], Operations: ['72-5=67', '73-40=33']
Exploring Operation: 67*33=2211, Resulting Numbers: [2211]
2211,37 unequal: No Solution
Exploring Operation: 67-33=34, Resulting Numbers: [34]
34,37 unequal: No Solution
Exploring Operation: 67+33=100, Resulting Numbers: [100]
100,37 unequal: No Solution
Moving to Node #0,2,1
Current State: 37:[73, 27], Operations: ['72-5=67', '67-40=27']
Exploring Operation: 73+27=100, Resulting Numbers: [100]
100,37 unequal: No Solution
Exploring Operation: 73*27=1971, Resulting Numbers: [1971]
1971,37 unequal: No Solution
Exploring Operation: 73-27=46, Resulting Numbers: [46]
46,37 unequal: No Solution
Moving to Node #0,2,2
Current State: 37:[67, 113], Operations: ['72-5=67', '73+40=113']
Exploring Operation: 113-67=46, Resulting Numbers: [46]
46,37 unequal: No Solution
Exploring Operation: 67*113=7571, Resulting Numbers: [7571]
7571,37 unequal: No Solution
Exploring Operation: 67+113=180, Resulting Numbers: [180]
180,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,3
Current State: 37:[72, 40, 68], Operations: ['73-5=68']
Exploring Operation: 68-40=28, Resulting Numbers: [72, 28]
Generated Node #0,3,0: 37:[72, 28] Operation: 68-40=28
Exploring Operation: 72-68=4, Resulting Numbers: [40, 4]
Generated Node #0,3,1: 37:[40, 4] Operation: 72-68=4
Exploring Operation: 72-40=32, Resulting Numbers: [68, 32]
Generated Node #0,3,2: 37:[68, 32] Operation: 72-40=32
Exploring Operation: 72+40=112, Resulting Numbers: [68, 112]
Generated Node #0,3,3: 37:[68, 112] Operation: 72+40=112
Moving to Node #0,3,1
Current State: 37:[40, 4], Operations: ['73-5=68', '72-68=4']
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,37 unequal: No Solution
Exploring Operation: 40*4=160, Resulting Numbers: [160]
160,37 unequal: No Solution
Exploring Operation: 40+4=44, Resulting Numbers: [44]
44,37 unequal: No Solution
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,37 unequal: No Solution
Moving to Node #0,3,2
Current State: 37:[68, 32], Operations: ['73-5=68', '72-40=32']
Exploring Operation: 68+32=100, Resulting Numbers: [100]
100,37 unequal: No Solution
Exploring Operation: 68*32=2176, Resulting Numbers: [2176]
2176,37 unequal: No Solution
Exploring Operation: 68-32=36, Resulting Numbers: [36]
36,37 unequal: No Solution
Moving to Node #0,3,0
Current State: 37:[72, 28], Operations: ['73-5=68', '68-40=28']
Exploring Operation: 72+28=100, Resulting Numbers: [100]
100,37 unequal: No Solution
Exploring Operation: 72*28=2016, Resulting Numbers: [2016]
2016,37 unequal: No Solution
Exploring Operation: 72-28=44, Resulting Numbers: [44]
44,37 unequal: No Solution
Moving to Node #0,3,3
Current State: 37:[68, 112], Operations: ['73-5=68', '72+40=112']
Exploring Operation: 112-68=44, Resulting Numbers: [44]
44,37 unequal: No Solution
Exploring Operation: 68*112=7616, Resulting Numbers: [7616]
7616,37 unequal: No Solution
Exploring Operation: 68+112=180, Resulting Numbers: [180]
180,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
Current State: 37:[5, 40, 1], Operations: ['73-72=1']
Exploring Operation: 5/1=5, Resulting Numbers: [40, 5]
Generated Node #0,0,0: 37:[40, 5] Operation: 5/1=5
Exploring Operation: 40-1=39, Resulting Numbers: [5, 39]
Generated Node #0,0,1: 37:[5, 39] Operation: 40-1=39
Exploring Operation: 5*1=5, Resulting Numbers: [40, 5]
Generated Node #0,0,2: 37:[40, 5] Operation: 5*1=5
Exploring Operation: 5+1=6, Resulting Numbers: [40, 6]
Generated Node #0,0,3: 37:[40, 6] Operation: 5+1=6
Moving to Node #0,0,1
Current State: 37:[5, 39], Operations: ['73-72=1', '40-1=39']
Exploring Operation: 39-5=34, Resulting Numbers: [34]
34,37 unequal: No Solution
Exploring Operation: 5+39=44, Resulting Numbers: [44]
44,37 unequal: No Solution
Exploring Operation: 5*39=195, Resulting Numbers: [195]
195,37 unequal: No Solution
Moving to Node #0,0,3
Current State: 37:[40, 6], Operations: ['73-72=1', '5+1=6']
Exploring Operation: 40*6=240, Resulting Numbers: [240]
240,37 unequal: No Solution
Exploring Operation: 40-6=34, Resulting Numbers: [34]
34,37 unequal: No Solution
Exploring Operation: 40+6=46, Resulting Numbers: [46]
46,37 unequal: No Solution
Moving to Node #0,0,2
Current State: 37:[40, 5], Operations: ['73-72=1', '5*1=5']
Exploring Operation: 40-5=35, Resulting Numbers: [35]
35,37 unequal: No Solution
Exploring Operation: 40*5=200, Resulting Numbers: [200]
200,37 unequal: No Solution
Exploring Operation: 40/5=8, Resulting Numbers: [8]
8,37 unequal: No Solution
Exploring Operation: 40+5=45, Resulting Numbers: [45]
45,37 unequal: No Solution
Moving to Node #0,0,0
Current State: 37:[40, 5], Operations: ['73-72=1', '5/1=5']
Exploring Operation: 40+5=45, Resulting Numbers: [45]
45,37 unequal: No Solution
Exploring Operation: 40-5=35, Resulting Numbers: [35]
35,37 unequal: No Solution
Exploring Operation: 40/5=8, Resulting Numbers: [8]
8,37 unequal: No Solution
Exploring Operation: 40*5=200, Resulting Numbers: [200]
200,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
Current State: 37:[5, 72, 33], Operations: ['73-40=33']
Exploring Operation: 72-33=39, Resulting Numbers: [5, 39]
Generated Node #0,1,0: 37:[5, 39] Operation: 72-33=39
Exploring Operation: 5+72=77, Resulting Numbers: [33, 77]
Generated Node #0,1,1: 37:[33, 77] Operation: 5+72=77
Exploring Operation: 72-5=67, Resulting Numbers: [33, 67]
Generated Node #0,1,2: 37:[33, 67] Operation: 72-5=67
Exploring Operation: 5+33=38, Resulting Numbers: [72, 38]
Generated Node #0,1,3: 37:[72, 38] Operation: 5+33=38
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 37:[5, 39], Operations: ['73-40=33', '72-33=39']
Exploring Operation: 5*39=195, Resulting Numbers: [195]
195,37 unequal: No Solution
Exploring Operation: 39-5=34, Resulting Numbers: [34]
34,37 unequal: No Solution
Exploring Operation: 5+39=44, Resulting Numbers: [44]
44,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 37:[33, 67], Operations: ['73-40=33', '72-5=67']
Exploring Operation: 33+67=100, Resulting Numbers: [100]
100,37 unequal: No Solution
Exploring Operation: 33*67=2211, Resulting Numbers: [2211]
2211,37 unequal: No Solution
Exploring Operation: 67-33=34, Resulting Numbers: [34]
34,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 37:[72, 38], Operations: ['73-40=33', '5+33=38']
Exploring Operation: 72*38=2736, Resulting Numbers: [2736]
2736,37 unequal: No Solution
Exploring Operation: 72-38=34, Resulting Numbers: [34]
34,37 unequal: No Solution
Exploring Operation: 72+38=110, Resulting Numbers: [110]
110,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 37:[33, 77], Operations: ['73-40=33', '5+72=77']
Exploring Operation: 77-33=44, Resulting Numbers: [44]
44,37 unequal: No Solution
Exploring Operation: 33*77=2541, Resulting Numbers: [2541]
2541,37 unequal: No Solution
Exploring Operation: 33+77=110, Resulting Numbers: [110]
110,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
15,
56,
13,
2
] | 13 | [
"15*2=30",
"56-13=43",
"43-30=13"
] | Current State: 13:[15, 56, 13, 2], Operations: []
Exploring Operation: 15*2=30, Resulting Numbers: [56, 13, 30]
Generated Node #2: [56, 13, 30] from Operation: 15*2=30
Current State: 13:[56, 13, 30], Operations: ['15*2=30']
Exploring Operation: 56-13=43, Resulting Numbers: [30, 43]
Generated Node #3: [30, 43] from Operation: 56-13=43
Current State: 13:[30, 43], Operations: ['15*2=30', '56-13=43']
Exploring Operation: 43-30=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[15, 56, 13, 2], Operations: []
Exploring Operation: 56-15=41, Resulting Numbers: [13, 2, 41]
Generated Node #0,0: 13:[13, 2, 41] Operation: 56-15=41
Exploring Operation: 56/2=28, Resulting Numbers: [15, 13, 28]
Generated Node #0,1: 13:[15, 13, 28] Operation: 56/2=28
Moving to Node #0,1
Current State: 13:[15, 13, 28], Operations: ['56/2=28']
Exploring Operation: 28-13=15, Resulting Numbers: [15, 15]
Generated Node #0,1,0: 13:[15, 15] Operation: 28-13=15
Exploring Operation: 28-15=13, Resulting Numbers: [13, 13]
Generated Node #0,1,1: 13:[13, 13] Operation: 28-15=13
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 13:[13, 13], Operations: ['56/2=28', '28-15=13']
Exploring Operation: 13/13=1, Resulting Numbers: [1]
1,13 unequal: No Solution
Exploring Operation: 13+13=26, Resulting Numbers: [26]
26,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 13:[15, 15], Operations: ['56/2=28', '28-13=15']
Exploring Operation: 15-15=0, Resulting Numbers: [0]
0,13 unequal: No Solution
Exploring Operation: 15/15=1, Resulting Numbers: [1]
1,13 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: 13:[13, 2, 41], Operations: ['56-15=41']
Exploring Operation: 41-2=39, Resulting Numbers: [13, 39]
Generated Node #0,0,0: 13:[13, 39] Operation: 41-2=39
Exploring Operation: 41-13=28, Resulting Numbers: [2, 28]
Generated Node #0,0,1: 13:[2, 28] Operation: 41-13=28
Moving to Node #0,0,0
Current State: 13:[13, 39], Operations: ['56-15=41', '41-2=39']
Exploring Operation: 39/13=3, Resulting Numbers: [3]
3,13 unequal: No Solution
Exploring Operation: 39-13=26, Resulting Numbers: [26]
26,13 unequal: No Solution
Moving to Node #0,0,1
Current State: 13:[2, 28], Operations: ['56-15=41', '41-13=28']
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,13 unequal: No Solution
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,13 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
20,
84,
9,
86
] | 27 | [
"20+84=104",
"86-9=77",
"104-77=27"
] | Current State: 27:[20, 84, 9, 86], Operations: []
Exploring Operation: 20+84=104, Resulting Numbers: [9, 86, 104]
Generated Node #2: [9, 86, 104] from Operation: 20+84=104
Current State: 27:[9, 86, 104], Operations: ['20+84=104']
Exploring Operation: 86-9=77, Resulting Numbers: [104, 77]
Generated Node #3: [104, 77] from Operation: 86-9=77
Current State: 27:[104, 77], Operations: ['20+84=104', '86-9=77']
Exploring Operation: 104-77=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[20, 84, 9, 86], Operations: []
Exploring Operation: 86-84=2, Resulting Numbers: [20, 9, 2]
Generated Node #0,0: 27:[20, 9, 2] Operation: 86-84=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[20, 9, 2], Operations: ['86-84=2']
Exploring Operation: 20/2=10, Resulting Numbers: [9, 10]
Generated Node #0,0,0: 27:[9, 10] Operation: 20/2=10
Moving to Node #0,0,0
Current State: 27:[9, 10], Operations: ['86-84=2', '20/2=10']
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,27 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 |
[
24,
9,
5,
50
] | 79 | [
"24*5=120",
"50-9=41",
"120-41=79"
] | Current State: 79:[24, 9, 5, 50], Operations: []
Exploring Operation: 24*5=120, Resulting Numbers: [9, 50, 120]
Generated Node #2: [9, 50, 120] from Operation: 24*5=120
Current State: 79:[9, 50, 120], Operations: ['24*5=120']
Exploring Operation: 50-9=41, Resulting Numbers: [120, 41]
Generated Node #3: [120, 41] from Operation: 50-9=41
Current State: 79:[120, 41], Operations: ['24*5=120', '50-9=41']
Exploring Operation: 120-41=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[24, 9, 5, 50], Operations: []
Exploring Operation: 24*5=120, Resulting Numbers: [9, 50, 120]
Generated Node #0,0: 79:[9, 50, 120] Operation: 24*5=120
Exploring Operation: 24+9=33, Resulting Numbers: [5, 50, 33]
Generated Node #0,1: 79:[5, 50, 33] Operation: 24+9=33
Exploring Operation: 9*5=45, Resulting Numbers: [24, 50, 45]
Generated Node #0,2: 79:[24, 50, 45] Operation: 9*5=45
Exploring Operation: 24+5=29, Resulting Numbers: [9, 50, 29]
Generated Node #0,3: 79:[9, 50, 29] Operation: 24+5=29
Start Sub Search at level 1: Moving to Node #0,2
Current State: 79:[24, 50, 45], Operations: ['9*5=45']
Exploring Operation: 24+50=74, Resulting Numbers: [45, 74]
Generated Node #0,2,0: 79:[45, 74] Operation: 24+50=74
Exploring Operation: 24+45=69, Resulting Numbers: [50, 69]
Generated Node #0,2,1: 79:[50, 69] Operation: 24+45=69
Exploring Operation: 50+45=95, Resulting Numbers: [24, 95]
Generated Node #0,2,2: 79:[24, 95] Operation: 50+45=95
Exploring Operation: 50-24=26, Resulting Numbers: [45, 26]
Generated Node #0,2,3: 79:[45, 26] Operation: 50-24=26
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 79:[45, 74], Operations: ['9*5=45', '24+50=74']
Exploring Operation: 45+74=119, Resulting Numbers: [119]
119,79 unequal: No Solution
Exploring Operation: 45*74=3330, Resulting Numbers: [3330]
3330,79 unequal: No Solution
Exploring Operation: 74-45=29, Resulting Numbers: [29]
29,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 79:[50, 69], Operations: ['9*5=45', '24+45=69']
Exploring Operation: 50+69=119, Resulting Numbers: [119]
119,79 unequal: No Solution
Exploring Operation: 69-50=19, Resulting Numbers: [19]
19,79 unequal: No Solution
Exploring Operation: 50*69=3450, Resulting Numbers: [3450]
3450,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 79:[24, 95], Operations: ['9*5=45', '50+45=95']
Exploring Operation: 24+95=119, Resulting Numbers: [119]
119,79 unequal: No Solution
Exploring Operation: 24*95=2280, Resulting Numbers: [2280]
2280,79 unequal: No Solution
Exploring Operation: 95-24=71, Resulting Numbers: [71]
71,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 79:[45, 26], Operations: ['9*5=45', '50-24=26']
Exploring Operation: 45*26=1170, Resulting Numbers: [1170]
1170,79 unequal: No Solution
Exploring Operation: 45-26=19, Resulting Numbers: [19]
19,79 unequal: No Solution
Exploring Operation: 45+26=71, Resulting Numbers: [71]
71,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[9, 50, 120], Operations: ['24*5=120']
Exploring Operation: 120-9=111, Resulting Numbers: [50, 111]
Generated Node #0,0,0: 79:[50, 111] Operation: 120-9=111
Exploring Operation: 50-9=41, Resulting Numbers: [120, 41]
Generated Node #0,0,1: 79:[120, 41] Operation: 50-9=41
Exploring Operation: 9+120=129, Resulting Numbers: [50, 129]
Generated Node #0,0,2: 79:[50, 129] Operation: 9+120=129
Exploring Operation: 9+50=59, Resulting Numbers: [120, 59]
Generated Node #0,0,3: 79:[120, 59] Operation: 9+50=59
Moving to Node #0,0,0
Current State: 79:[50, 111], Operations: ['24*5=120', '120-9=111']
Exploring Operation: 50*111=5550, Resulting Numbers: [5550]
5550,79 unequal: No Solution
Exploring Operation: 111-50=61, Resulting Numbers: [61]
61,79 unequal: No Solution
Exploring Operation: 50+111=161, Resulting Numbers: [161]
161,79 unequal: No Solution
Moving to Node #0,0,3
Current State: 79:[120, 59], Operations: ['24*5=120', '9+50=59']
Exploring Operation: 120*59=7080, Resulting Numbers: [7080]
7080,79 unequal: No Solution
Exploring Operation: 120-59=61, Resulting Numbers: [61]
61,79 unequal: No Solution
Exploring Operation: 120+59=179, Resulting Numbers: [179]
179,79 unequal: No Solution
Moving to Node #0,0,2
Current State: 79:[50, 129], Operations: ['24*5=120', '9+120=129']
Exploring Operation: 50*129=6450, Resulting Numbers: [6450]
6450,79 unequal: No Solution
Exploring Operation: 129-50=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Moving to Node #0
Current State: 79:[24, 9, 5, 50], Operations: []
Exploring Operation: 24*5=120, Resulting Numbers: [9, 50, 120]
Generated Node #0,0: 79:[9, 50, 120] Operation: 24*5=120
Moving to Node #0,0
Current State: 79:[9, 50, 120], Operations: ['24*5=120']
Exploring Operation: 9+120=129, Resulting Numbers: [50, 129]
Generated Node #0,0,2: 79:[50, 129] Operation: 9+120=129
Moving to Node #0,0,2
Current State: 79:[50, 129], Operations: ['24*5=120', '9+120=129']
Exploring Operation: 129-50=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875 | hs_4 | sum_heuristic |
[
90,
55,
71,
54
] | 38 | [
"55*54=2970",
"2970/90=33",
"71-33=38"
] | Current State: 38:[90, 55, 71, 54], Operations: []
Exploring Operation: 55*54=2970, Resulting Numbers: [90, 71, 2970]
Generated Node #2: [90, 71, 2970] from Operation: 55*54=2970
Current State: 38:[90, 71, 2970], Operations: ['55*54=2970']
Exploring Operation: 2970/90=33, Resulting Numbers: [71, 33]
Generated Node #3: [71, 33] from Operation: 2970/90=33
Current State: 38:[71, 33], Operations: ['55*54=2970', '2970/90=33']
Exploring Operation: 71-33=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[90, 55, 71, 54], Operations: []
Exploring Operation: 90-54=36, Resulting Numbers: [55, 71, 36]
Generated Node #0,0: 38:[55, 71, 36] Operation: 90-54=36
Exploring Operation: 90-71=19, Resulting Numbers: [55, 54, 19]
Generated Node #0,1: 38:[55, 54, 19] Operation: 90-71=19
Exploring Operation: 90-55=35, Resulting Numbers: [71, 54, 35]
Generated Node #0,2: 38:[71, 54, 35] Operation: 90-55=35
Exploring Operation: 71-55=16, Resulting Numbers: [90, 54, 16]
Generated Node #0,3: 38:[90, 54, 16] Operation: 71-55=16
Moving to Node #0,1
Current State: 38:[55, 54, 19], Operations: ['90-71=19']
Exploring Operation: 55-19=36, Resulting Numbers: [54, 36]
Generated Node #0,1,0: 38:[54, 36] Operation: 55-19=36
Exploring Operation: 55+19=74, Resulting Numbers: [54, 74]
Generated Node #0,1,1: 38:[54, 74] Operation: 55+19=74
Exploring Operation: 54-19=35, Resulting Numbers: [55, 35]
Generated Node #0,1,2: 38:[55, 35] Operation: 54-19=35
Exploring Operation: 55-54=1, Resulting Numbers: [19, 1]
Generated Node #0,1,3: 38:[19, 1] Operation: 55-54=1
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 38:[19, 1], Operations: ['90-71=19', '55-54=1']
Exploring Operation: 19/1=19, Resulting Numbers: [19]
19,38 unequal: No Solution
Exploring Operation: 19*1=19, Resulting Numbers: [19]
19,38 unequal: No Solution
Exploring Operation: 19+1=20, Resulting Numbers: [20]
20,38 unequal: No Solution
Exploring Operation: 19-1=18, Resulting Numbers: [18]
18,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 38:[54, 36], Operations: ['90-71=19', '55-19=36']
Exploring Operation: 54-36=18, Resulting Numbers: [18]
18,38 unequal: No Solution
Exploring Operation: 54*36=1944, Resulting Numbers: [1944]
1944,38 unequal: No Solution
Exploring Operation: 54+36=90, Resulting Numbers: [90]
90,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 38:[55, 35], Operations: ['90-71=19', '54-19=35']
Exploring Operation: 55+35=90, Resulting Numbers: [90]
90,38 unequal: No Solution
Exploring Operation: 55-35=20, Resulting Numbers: [20]
20,38 unequal: No Solution
Exploring Operation: 55*35=1925, Resulting Numbers: [1925]
1925,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 38:[54, 74], Operations: ['90-71=19', '55+19=74']
Exploring Operation: 54*74=3996, Resulting Numbers: [3996]
3996,38 unequal: No Solution
Exploring Operation: 54+74=128, Resulting Numbers: [128]
128,38 unequal: No Solution
Exploring Operation: 74-54=20, Resulting Numbers: [20]
20,38 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: 38:[71, 54, 35], Operations: ['90-55=35']
Exploring Operation: 71+35=106, Resulting Numbers: [54, 106]
Generated Node #0,2,0: 38:[54, 106] Operation: 71+35=106
Exploring Operation: 71-35=36, Resulting Numbers: [54, 36]
Generated Node #0,2,1: 38:[54, 36] Operation: 71-35=36
Exploring Operation: 54-35=19, Resulting Numbers: [71, 19]
Generated Node #0,2,2: 38:[71, 19] Operation: 54-35=19
Exploring Operation: 71-54=17, Resulting Numbers: [35, 17]
Generated Node #0,2,3: 38:[35, 17] Operation: 71-54=17
Moving to Node #0,0
Current State: 38:[55, 71, 36], Operations: ['90-54=36']
Exploring Operation: 71-36=35, Resulting Numbers: [55, 35]
Generated Node #0,0,0: 38:[55, 35] Operation: 71-36=35
Exploring Operation: 55-36=19, Resulting Numbers: [71, 19]
Generated Node #0,0,1: 38:[71, 19] Operation: 55-36=19
Exploring Operation: 55+36=91, Resulting Numbers: [71, 91]
Generated Node #0,0,2: 38:[71, 91] Operation: 55+36=91
Exploring Operation: 71-55=16, Resulting Numbers: [36, 16]
Generated Node #0,0,3: 38:[36, 16] Operation: 71-55=16
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 38:[36, 16], Operations: ['90-54=36', '71-55=16']
Exploring Operation: 36*16=576, Resulting Numbers: [576]
576,38 unequal: No Solution
Exploring Operation: 36-16=20, Resulting Numbers: [20]
20,38 unequal: No Solution
Exploring Operation: 36+16=52, Resulting Numbers: [52]
52,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 38:[55, 35], Operations: ['90-54=36', '71-36=35']
Exploring Operation: 55*35=1925, Resulting Numbers: [1925]
1925,38 unequal: No Solution
Exploring Operation: 55-35=20, Resulting Numbers: [20]
20,38 unequal: No Solution
Exploring Operation: 55+35=90, Resulting Numbers: [90]
90,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 38:[71, 19], Operations: ['90-54=36', '55-36=19']
Exploring Operation: 71*19=1349, Resulting Numbers: [1349]
1349,38 unequal: No Solution
Exploring Operation: 71-19=52, Resulting Numbers: [52]
52,38 unequal: No Solution
Exploring Operation: 71+19=90, Resulting Numbers: [90]
90,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 38:[71, 91], Operations: ['90-54=36', '55+36=91']
Exploring Operation: 71+91=162, Resulting Numbers: [162]
162,38 unequal: No Solution
Exploring Operation: 71*91=6461, Resulting Numbers: [6461]
6461,38 unequal: No Solution
Exploring Operation: 91-71=20, Resulting Numbers: [20]
20,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 38:[90, 54, 16], Operations: ['71-55=16']
Exploring Operation: 90-16=74, Resulting Numbers: [54, 74]
Generated Node #0,3,0: 38:[54, 74] Operation: 90-16=74
Exploring Operation: 90-54=36, Resulting Numbers: [16, 36]
Generated Node #0,3,1: 38:[16, 36] Operation: 90-54=36
Exploring Operation: 54-16=38, Resulting Numbers: [90, 38]
Generated Node #0,3,2: 38:[90, 38] Operation: 54-16=38
Exploring Operation: 90+16=106, Resulting Numbers: [54, 106]
Generated Node #0,3,3: 38:[54, 106] Operation: 90+16=106
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 38:[16, 36], Operations: ['71-55=16', '90-54=36']
Exploring Operation: 16+36=52, Resulting Numbers: [52]
52,38 unequal: No Solution
Exploring Operation: 16*36=576, Resulting Numbers: [576]
576,38 unequal: No Solution
Exploring Operation: 36-16=20, Resulting Numbers: [20]
20,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 38:[54, 74], Operations: ['71-55=16', '90-16=74']
Exploring Operation: 74-54=20, Resulting Numbers: [20]
20,38 unequal: No Solution
Exploring Operation: 54+74=128, Resulting Numbers: [128]
128,38 unequal: No Solution
Exploring Operation: 54*74=3996, Resulting Numbers: [3996]
3996,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 38:[90, 38], Operations: ['71-55=16', '54-16=38']
Exploring Operation: 90+38=128, Resulting Numbers: [128]
128,38 unequal: No Solution
Exploring Operation: 90-38=52, Resulting Numbers: [52]
52,38 unequal: No Solution
Exploring Operation: 90*38=3420, Resulting Numbers: [3420]
3420,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 38:[54, 106], Operations: ['71-55=16', '90+16=106']
Exploring Operation: 54+106=160, Resulting Numbers: [160]
160,38 unequal: No Solution
Exploring Operation: 54*106=5724, Resulting Numbers: [5724]
5724,38 unequal: No Solution
Exploring Operation: 106-54=52, Resulting Numbers: [52]
52,38 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: 38:[35, 17], Operations: ['90-55=35', '71-54=17']
Exploring Operation: 35+17=52, Resulting Numbers: [52]
52,38 unequal: No Solution
Exploring Operation: 35-17=18, Resulting Numbers: [18]
18,38 unequal: No Solution
Exploring Operation: 35*17=595, Resulting Numbers: [595]
595,38 unequal: No Solution
Moving to Node #0,2,1
Current State: 38:[54, 36], Operations: ['90-55=35', '71-35=36']
Exploring Operation: 54+36=90, Resulting Numbers: [90]
90,38 unequal: No Solution
Exploring Operation: 54*36=1944, Resulting Numbers: [1944]
1944,38 unequal: No Solution
Exploring Operation: 54-36=18, Resulting Numbers: [18]
18,38 unequal: No Solution
Moving to Node #0,2,2
Current State: 38:[71, 19], Operations: ['90-55=35', '54-35=19']
Exploring Operation: 71-19=52, Resulting Numbers: [52]
52,38 unequal: No Solution
Exploring Operation: 71+19=90, Resulting Numbers: [90]
90,38 unequal: No Solution
Exploring Operation: 71*19=1349, Resulting Numbers: [1349]
1349,38 unequal: No Solution
Moving to Node #0,2,0
Current State: 38:[54, 106], Operations: ['90-55=35', '71+35=106']
Exploring Operation: 54+106=160, Resulting Numbers: [160]
160,38 unequal: No Solution
Exploring Operation: 106-54=52, Resulting Numbers: [52]
52,38 unequal: No Solution
Exploring Operation: 54*106=5724, Resulting Numbers: [5724]
5724,38 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
23,
59,
25,
30
] | 88 | [
"25-23=2",
"59*2=118",
"118-30=88"
] | Current State: 88:[23, 59, 25, 30], Operations: []
Exploring Operation: 25-23=2, Resulting Numbers: [59, 30, 2]
Generated Node #2: [59, 30, 2] from Operation: 25-23=2
Current State: 88:[59, 30, 2], Operations: ['25-23=2']
Exploring Operation: 59*2=118, Resulting Numbers: [30, 118]
Generated Node #3: [30, 118] from Operation: 59*2=118
Current State: 88:[30, 118], Operations: ['25-23=2', '59*2=118']
Exploring Operation: 118-30=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[23, 59, 25, 30], Operations: []
Exploring Operation: 59+30=89, Resulting Numbers: [23, 25, 89]
Generated Node #0,0: 88:[23, 25, 89] Operation: 59+30=89
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[23, 25, 89], Operations: ['59+30=89']
Exploring Operation: 25-23=2, Resulting Numbers: [89, 2]
Generated Node #0,0,0: 88:[89, 2] Operation: 25-23=2
Moving to Node #0,0,0
Current State: 88:[89, 2], Operations: ['59+30=89', '25-23=2']
Exploring Operation: 89-2=87, Resulting Numbers: [87]
87,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
36,
14,
2,
16
] | 51 | [
"14+16=30",
"30/2=15",
"36+15=51"
] | Current State: 51:[36, 14, 2, 16], Operations: []
Exploring Operation: 14+16=30, Resulting Numbers: [36, 2, 30]
Generated Node #2: [36, 2, 30] from Operation: 14+16=30
Current State: 51:[36, 2, 30], Operations: ['14+16=30']
Exploring Operation: 30/2=15, Resulting Numbers: [36, 15]
Generated Node #3: [36, 15] from Operation: 30/2=15
Current State: 51:[36, 15], Operations: ['14+16=30', '30/2=15']
Exploring Operation: 36+15=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[36, 14, 2, 16], Operations: []
Exploring Operation: 36+16=52, Resulting Numbers: [14, 2, 52]
Generated Node #0,0: 51:[14, 2, 52] Operation: 36+16=52
Exploring Operation: 36/2=18, Resulting Numbers: [14, 16, 18]
Generated Node #0,1: 51:[14, 16, 18] Operation: 36/2=18
Exploring Operation: 36+14=50, Resulting Numbers: [2, 16, 50]
Generated Node #0,2: 51:[2, 16, 50] Operation: 36+14=50
Start Sub Search at level 1: Moving to Node #0,2
Current State: 51:[2, 16, 50], Operations: ['36+14=50']
Exploring Operation: 16-2=14, Resulting Numbers: [50, 14]
Generated Node #0,2,0: 51:[50, 14] Operation: 16-2=14
Exploring Operation: 2+50=52, Resulting Numbers: [16, 52]
Generated Node #0,2,1: 51:[16, 52] Operation: 2+50=52
Exploring Operation: 2+16=18, Resulting Numbers: [50, 18]
Generated Node #0,2,2: 51:[50, 18] Operation: 2+16=18
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 51:[16, 52], Operations: ['36+14=50', '2+50=52']
Exploring Operation: 52-16=36, Resulting Numbers: [36]
36,51 unequal: No Solution
Exploring Operation: 16*52=832, Resulting Numbers: [832]
832,51 unequal: No Solution
Exploring Operation: 16+52=68, Resulting Numbers: [68]
68,51 unequal: No Solution
No 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: 51:[50, 18], Operations: ['36+14=50', '2+16=18']
Exploring Operation: 50*18=900, Resulting Numbers: [900]
900,51 unequal: No Solution
Exploring Operation: 50+18=68, Resulting Numbers: [68]
68,51 unequal: No Solution
Exploring Operation: 50-18=32, Resulting Numbers: [32]
32,51 unequal: No Solution
No 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: 51:[50, 14], Operations: ['36+14=50', '16-2=14']
Exploring Operation: 50-14=36, Resulting Numbers: [36]
36,51 unequal: No Solution
Exploring Operation: 50*14=700, Resulting Numbers: [700]
700,51 unequal: No Solution
Exploring Operation: 50+14=64, Resulting Numbers: [64]
64,51 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: 51:[14, 2, 52], Operations: ['36+16=52']
Exploring Operation: 14/2=7, Resulting Numbers: [52, 7]
Generated Node #0,0,0: 51:[52, 7] Operation: 14/2=7
Exploring Operation: 52-2=50, Resulting Numbers: [14, 50]
Generated Node #0,0,1: 51:[14, 50] Operation: 52-2=50
Exploring Operation: 14+2=16, Resulting Numbers: [52, 16]
Generated Node #0,0,2: 51:[52, 16] Operation: 14+2=16
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 51:[52, 16], Operations: ['36+16=52', '14+2=16']
Exploring Operation: 52+16=68, Resulting Numbers: [68]
68,51 unequal: No Solution
Exploring Operation: 52-16=36, Resulting Numbers: [36]
36,51 unequal: No Solution
Exploring Operation: 52*16=832, Resulting Numbers: [832]
832,51 unequal: No Solution
No 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: 51:[14, 50], Operations: ['36+16=52', '52-2=50']
Exploring Operation: 50-14=36, Resulting Numbers: [36]
36,51 unequal: No Solution
Exploring Operation: 14*50=700, Resulting Numbers: [700]
700,51 unequal: No Solution
Exploring Operation: 14+50=64, Resulting Numbers: [64]
64,51 unequal: No Solution
No 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: 51:[52, 7], Operations: ['36+16=52', '14/2=7']
Exploring Operation: 52-7=45, Resulting Numbers: [45]
45,51 unequal: No Solution
Exploring Operation: 52+7=59, Resulting Numbers: [59]
59,51 unequal: No Solution
Exploring Operation: 52*7=364, Resulting Numbers: [364]
364,51 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: 51:[14, 16, 18], Operations: ['36/2=18']
Exploring Operation: 18-16=2, Resulting Numbers: [14, 2]
Generated Node #0,1,0: 51:[14, 2] Operation: 18-16=2
Exploring Operation: 18-14=4, Resulting Numbers: [16, 4]
Generated Node #0,1,1: 51:[16, 4] Operation: 18-14=4
Exploring Operation: 16-14=2, Resulting Numbers: [18, 2]
Generated Node #0,1,2: 51:[18, 2] Operation: 16-14=2
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 51:[16, 4], Operations: ['36/2=18', '18-14=4']
Exploring Operation: 16+4=20, Resulting Numbers: [20]
20,51 unequal: No Solution
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,51 unequal: No Solution
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,51 unequal: No Solution
No 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: 51:[18, 2], Operations: ['36/2=18', '16-14=2']
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,51 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,51 unequal: No Solution
Exploring Operation: 18+2=20, Resulting Numbers: [20]
20,51 unequal: No Solution
No 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: 51:[14, 2], Operations: ['36/2=18', '18-16=2']
Exploring Operation: 14+2=16, Resulting Numbers: [16]
16,51 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,51 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,51 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 |
[
30,
29,
34,
35
] | 58 | [
"30+29=59",
"35-34=1",
"59-1=58"
] | Current State: 58:[30, 29, 34, 35], Operations: []
Exploring Operation: 30+29=59, Resulting Numbers: [34, 35, 59]
Generated Node #2: [34, 35, 59] from Operation: 30+29=59
Current State: 58:[34, 35, 59], Operations: ['30+29=59']
Exploring Operation: 35-34=1, Resulting Numbers: [59, 1]
Generated Node #3: [59, 1] from Operation: 35-34=1
Current State: 58:[59, 1], Operations: ['30+29=59', '35-34=1']
Exploring Operation: 59-1=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[30, 29, 34, 35], Operations: []
Exploring Operation: 34-30=4, Resulting Numbers: [29, 35, 4]
Generated Node #0,0: 58:[29, 35, 4] Operation: 34-30=4
Exploring Operation: 35-30=5, Resulting Numbers: [29, 34, 5]
Generated Node #0,1: 58:[29, 34, 5] Operation: 35-30=5
Exploring Operation: 35-29=6, Resulting Numbers: [30, 34, 6]
Generated Node #0,2: 58:[30, 34, 6] Operation: 35-29=6
Exploring Operation: 34-29=5, Resulting Numbers: [30, 35, 5]
Generated Node #0,3: 58:[30, 35, 5] Operation: 34-29=5
Exploring Operation: 35-34=1, Resulting Numbers: [30, 29, 1]
Generated Node #0,4: 58:[30, 29, 1] Operation: 35-34=1
Start Sub Search at level 1: Moving to Node #0,4
Current State: 58:[30, 29, 1], Operations: ['35-34=1']
Exploring Operation: 30/1=30, Resulting Numbers: [29, 30]
Generated Node #0,4,0: 58:[29, 30] Operation: 30/1=30
Exploring Operation: 29*1=29, Resulting Numbers: [30, 29]
Generated Node #0,4,1: 58:[30, 29] Operation: 29*1=29
Exploring Operation: 29/1=29, Resulting Numbers: [30, 29]
Generated Node #0,4,2: 58:[30, 29] Operation: 29/1=29
Exploring Operation: 30*1=30, Resulting Numbers: [29, 30]
Generated Node #0,4,3: 58:[29, 30] Operation: 30*1=30
Exploring Operation: 30-1=29, Resulting Numbers: [29, 29]
Generated Node #0,4,4: 58:[29, 29] Operation: 30-1=29
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 58:[29, 29], Operations: ['35-34=1', '30-1=29']
Exploring Operation: 29/29=1, Resulting Numbers: [1]
1,58 unequal: No Solution
Exploring Operation: 29+29=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[30, 29, 34, 35], Operations: []
Exploring Operation: 35-34=1, Resulting Numbers: [30, 29, 1]
Generated Node #0,4: 58:[30, 29, 1] Operation: 35-34=1
Moving to Node #0,4
Current State: 58:[30, 29, 1], Operations: ['35-34=1']
Exploring Operation: 30-1=29, Resulting Numbers: [29, 29]
Generated Node #0,4,4: 58:[29, 29] Operation: 30-1=29
Moving to Node #0,4,4
Current State: 58:[29, 29], Operations: ['35-34=1', '30-1=29']
Exploring Operation: 29+29=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
72,
28,
26,
7
] | 77 | [
"72-28=44",
"26+7=33",
"44+33=77"
] | Current State: 77:[72, 28, 26, 7], Operations: []
Exploring Operation: 72-28=44, Resulting Numbers: [26, 7, 44]
Generated Node #2: [26, 7, 44] from Operation: 72-28=44
Current State: 77:[26, 7, 44], Operations: ['72-28=44']
Exploring Operation: 26+7=33, Resulting Numbers: [44, 33]
Generated Node #3: [44, 33] from Operation: 26+7=33
Current State: 77:[44, 33], Operations: ['72-28=44', '26+7=33']
Exploring Operation: 44+33=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[72, 28, 26, 7], Operations: []
Exploring Operation: 28/7=4, Resulting Numbers: [72, 26, 4]
Generated Node #0,0: 77:[72, 26, 4] Operation: 28/7=4
Exploring Operation: 28+26=54, Resulting Numbers: [72, 7, 54]
Generated Node #0,1: 77:[72, 7, 54] Operation: 28+26=54
Exploring Operation: 28-26=2, Resulting Numbers: [72, 7, 2]
Generated Node #0,2: 77:[72, 7, 2] Operation: 28-26=2
Moving to Node #0,2
Current State: 77:[72, 7, 2], Operations: ['28-26=2']
Exploring Operation: 72+7=79, Resulting Numbers: [2, 79]
Generated Node #0,2,0: 77:[2, 79] Operation: 72+7=79
Exploring Operation: 72+2=74, Resulting Numbers: [7, 74]
Generated Node #0,2,1: 77:[7, 74] Operation: 72+2=74
Exploring Operation: 72-2=70, Resulting Numbers: [7, 70]
Generated Node #0,2,2: 77:[7, 70] Operation: 72-2=70
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 77:[7, 74], Operations: ['28-26=2', '72+2=74']
Exploring Operation: 74-7=67, Resulting Numbers: [67]
67,77 unequal: No Solution
Exploring Operation: 7+74=81, Resulting Numbers: [81]
81,77 unequal: No Solution
Exploring Operation: 7*74=518, Resulting Numbers: [518]
518,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 77:[2, 79], Operations: ['28-26=2', '72+7=79']
Exploring Operation: 2*79=158, Resulting Numbers: [158]
158,77 unequal: No Solution
Exploring Operation: 79-2=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[72, 28, 26, 7], Operations: []
Exploring Operation: 28-26=2, Resulting Numbers: [72, 7, 2]
Generated Node #0,2: 77:[72, 7, 2] Operation: 28-26=2
Moving to Node #0,2
Current State: 77:[72, 7, 2], Operations: ['28-26=2']
Exploring Operation: 72+7=79, Resulting Numbers: [2, 79]
Generated Node #0,2,0: 77:[2, 79] Operation: 72+7=79
Moving to Node #0,2,0
Current State: 77:[2, 79], Operations: ['28-26=2', '72+7=79']
Exploring Operation: 79-2=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_3 | mult_heuristic |
[
59,
57,
57,
13
] | 68 | [
"59-57=2",
"57+13=70",
"70-2=68"
] | Current State: 68:[59, 57, 57, 13], Operations: []
Exploring Operation: 59-57=2, Resulting Numbers: [13, 2]
Generated Node #2: [13, 2] from Operation: 59-57=2
Current State: 68:[13, 2], Operations: ['59-57=2']
Exploring Operation: 57+13=70, Resulting Numbers: [2, 70]
Generated Node #3: [2, 70] from Operation: 57+13=70
Current State: 68:[2, 70], Operations: ['59-57=2', '57+13=70']
Exploring Operation: 70-2=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[59, 57, 57, 13], Operations: []
Exploring Operation: 57/57=1, Resulting Numbers: [59, 13, 1]
Generated Node #0,0: 68:[59, 13, 1] Operation: 57/57=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[59, 13, 1], Operations: ['57/57=1']
Exploring Operation: 59+13=72, Resulting Numbers: [1, 72]
Generated Node #0,0,0: 68:[1, 72] Operation: 59+13=72
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 68:[1, 72], Operations: ['57/57=1', '59+13=72']
Exploring Operation: 72-1=71, Resulting Numbers: [71]
71,68 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 |
[
45,
80,
62,
82
] | 81 | [
"62+82=144",
"45*144=6480",
"6480/80=81"
] | Current State: 81:[45, 80, 62, 82], Operations: []
Exploring Operation: 62+82=144, Resulting Numbers: [45, 80, 144]
Generated Node #2: [45, 80, 144] from Operation: 62+82=144
Current State: 81:[45, 80, 144], Operations: ['62+82=144']
Exploring Operation: 45*144=6480, Resulting Numbers: [80, 6480]
Generated Node #3: [80, 6480] from Operation: 45*144=6480
Current State: 81:[80, 6480], Operations: ['62+82=144', '45*144=6480']
Exploring Operation: 6480/80=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[45, 80, 62, 82], Operations: []
Exploring Operation: 62-45=17, Resulting Numbers: [80, 82, 17]
Generated Node #0,0: 81:[80, 82, 17] Operation: 62-45=17
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[80, 82, 17], Operations: ['62-45=17']
Exploring Operation: 82-80=2, Resulting Numbers: [17, 2]
Generated Node #0,0,0: 81:[17, 2] Operation: 82-80=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 81:[17, 2], Operations: ['62-45=17', '82-80=2']
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
6,
50,
66,
19
] | 33 | [
"6+19=25",
"50/25=2",
"66/2=33"
] | Current State: 33:[6, 50, 66, 19], Operations: []
Exploring Operation: 6+19=25, Resulting Numbers: [50, 66, 25]
Generated Node #2: [50, 66, 25] from Operation: 6+19=25
Current State: 33:[50, 66, 25], Operations: ['6+19=25']
Exploring Operation: 50/25=2, Resulting Numbers: [66, 2]
Generated Node #3: [66, 2] from Operation: 50/25=2
Current State: 33:[66, 2], Operations: ['6+19=25', '50/25=2']
Exploring Operation: 66/2=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[6, 50, 66, 19], Operations: []
Exploring Operation: 66-50=16, Resulting Numbers: [6, 19, 16]
Generated Node #0,0: 33:[6, 19, 16] Operation: 66-50=16
Exploring Operation: 50-19=31, Resulting Numbers: [6, 66, 31]
Generated Node #0,1: 33:[6, 66, 31] Operation: 50-19=31
Exploring Operation: 66-19=47, Resulting Numbers: [6, 50, 47]
Generated Node #0,2: 33:[6, 50, 47] Operation: 66-19=47
Exploring Operation: 66/6=11, Resulting Numbers: [50, 19, 11]
Generated Node #0,3: 33:[50, 19, 11] Operation: 66/6=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[6, 19, 16], Operations: ['66-50=16']
Exploring Operation: 16-6=10, Resulting Numbers: [19, 10]
Generated Node #0,0,0: 33:[19, 10] Operation: 16-6=10
Exploring Operation: 19-16=3, Resulting Numbers: [6, 3]
Generated Node #0,0,1: 33:[6, 3] Operation: 19-16=3
Exploring Operation: 19+16=35, Resulting Numbers: [6, 35]
Generated Node #0,0,2: 33:[6, 35] Operation: 19+16=35
Exploring Operation: 19-6=13, Resulting Numbers: [16, 13]
Generated Node #0,0,3: 33:[16, 13] Operation: 19-6=13
Moving to Node #0,0,1
Current State: 33:[6, 3], Operations: ['66-50=16', '19-16=3']
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,33 unequal: No Solution
Exploring Operation: 6*3=18, Resulting Numbers: [18]
18,33 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,33 unequal: No Solution
Exploring Operation: 6+3=9, Resulting Numbers: [9]
9,33 unequal: No Solution
Moving to Node #0,0,2
Current State: 33:[6, 35], Operations: ['66-50=16', '19+16=35']
Exploring Operation: 6+35=41, Resulting Numbers: [41]
41,33 unequal: No Solution
Exploring Operation: 35-6=29, Resulting Numbers: [29]
29,33 unequal: No Solution
Exploring Operation: 6*35=210, Resulting Numbers: [210]
210,33 unequal: No Solution
Moving to Node #0,0,3
Current State: 33:[16, 13], Operations: ['66-50=16', '19-6=13']
Exploring Operation: 16-13=3, Resulting Numbers: [3]
3,33 unequal: No Solution
Exploring Operation: 16+13=29, Resulting Numbers: [29]
29,33 unequal: No Solution
Exploring Operation: 16*13=208, Resulting Numbers: [208]
208,33 unequal: No Solution
Moving to Node #0,0,0
Current State: 33:[19, 10], Operations: ['66-50=16', '16-6=10']
Exploring Operation: 19+10=29, Resulting Numbers: [29]
29,33 unequal: No Solution
Exploring Operation: 19*10=190, Resulting Numbers: [190]
190,33 unequal: No Solution
Exploring Operation: 19-10=9, Resulting Numbers: [9]
9,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 33:[50, 19, 11], Operations: ['66/6=11']
Exploring Operation: 50-11=39, Resulting Numbers: [19, 39]
Generated Node #0,3,0: 33:[19, 39] Operation: 50-11=39
Exploring Operation: 19-11=8, Resulting Numbers: [50, 8]
Generated Node #0,3,1: 33:[50, 8] Operation: 19-11=8
Exploring Operation: 50-19=31, Resulting Numbers: [11, 31]
Generated Node #0,3,2: 33:[11, 31] Operation: 50-19=31
Exploring Operation: 19+11=30, Resulting Numbers: [50, 30]
Generated Node #0,3,3: 33:[50, 30] Operation: 19+11=30
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 33:[11, 31], Operations: ['66/6=11', '50-19=31']
Exploring Operation: 11+31=42, Resulting Numbers: [42]
42,33 unequal: No Solution
Exploring Operation: 31-11=20, Resulting Numbers: [20]
20,33 unequal: No Solution
Exploring Operation: 11*31=341, Resulting Numbers: [341]
341,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 33:[19, 39], Operations: ['66/6=11', '50-11=39']
Exploring Operation: 19+39=58, Resulting Numbers: [58]
58,33 unequal: No Solution
Exploring Operation: 39-19=20, Resulting Numbers: [20]
20,33 unequal: No Solution
Exploring Operation: 19*39=741, Resulting Numbers: [741]
741,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 33:[50, 8], Operations: ['66/6=11', '19-11=8']
Exploring Operation: 50-8=42, Resulting Numbers: [42]
42,33 unequal: No Solution
Exploring Operation: 50*8=400, Resulting Numbers: [400]
400,33 unequal: No Solution
Exploring Operation: 50+8=58, Resulting Numbers: [58]
58,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 33:[50, 30], Operations: ['66/6=11', '19+11=30']
Exploring Operation: 50-30=20, Resulting Numbers: [20]
20,33 unequal: No Solution
Exploring Operation: 50*30=1500, Resulting Numbers: [1500]
1500,33 unequal: No Solution
Exploring Operation: 50+30=80, Resulting Numbers: [80]
80,33 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: 33:[6, 50, 47], Operations: ['66-19=47']
Exploring Operation: 6+50=56, Resulting Numbers: [47, 56]
Generated Node #0,2,0: 33:[47, 56] Operation: 6+50=56
Exploring Operation: 50-6=44, Resulting Numbers: [47, 44]
Generated Node #0,2,1: 33:[47, 44] Operation: 50-6=44
Exploring Operation: 47-6=41, Resulting Numbers: [50, 41]
Generated Node #0,2,2: 33:[50, 41] Operation: 47-6=41
Exploring Operation: 50-47=3, Resulting Numbers: [6, 3]
Generated Node #0,2,3: 33:[6, 3] Operation: 50-47=3
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 33:[6, 3], Operations: ['66-19=47', '50-47=3']
Exploring Operation: 6+3=9, Resulting Numbers: [9]
9,33 unequal: No Solution
Exploring Operation: 6*3=18, Resulting Numbers: [18]
18,33 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,33 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 33:[47, 44], Operations: ['66-19=47', '50-6=44']
Exploring Operation: 47*44=2068, Resulting Numbers: [2068]
2068,33 unequal: No Solution
Exploring Operation: 47-44=3, Resulting Numbers: [3]
3,33 unequal: No Solution
Exploring Operation: 47+44=91, Resulting Numbers: [91]
91,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 33:[50, 41], Operations: ['66-19=47', '47-6=41']
Exploring Operation: 50+41=91, Resulting Numbers: [91]
91,33 unequal: No Solution
Exploring Operation: 50-41=9, Resulting Numbers: [9]
9,33 unequal: No Solution
Exploring Operation: 50*41=2050, Resulting Numbers: [2050]
2050,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 33:[47, 56], Operations: ['66-19=47', '6+50=56']
Exploring Operation: 47*56=2632, Resulting Numbers: [2632]
2632,33 unequal: No Solution
Exploring Operation: 47+56=103, Resulting Numbers: [103]
103,33 unequal: No Solution
Exploring Operation: 56-47=9, Resulting Numbers: [9]
9,33 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: 33:[6, 66, 31], Operations: ['50-19=31']
Exploring Operation: 6+31=37, Resulting Numbers: [66, 37]
Generated Node #0,1,0: 33:[66, 37] Operation: 6+31=37
Exploring Operation: 66-31=35, Resulting Numbers: [6, 35]
Generated Node #0,1,1: 33:[6, 35] Operation: 66-31=35
Exploring Operation: 66-6=60, Resulting Numbers: [31, 60]
Generated Node #0,1,2: 33:[31, 60] Operation: 66-6=60
Exploring Operation: 66/6=11, Resulting Numbers: [31, 11]
Generated Node #0,1,3: 33:[31, 11] Operation: 66/6=11
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 33:[31, 11], Operations: ['50-19=31', '66/6=11']
Exploring Operation: 31-11=20, Resulting Numbers: [20]
20,33 unequal: No Solution
Exploring Operation: 31*11=341, Resulting Numbers: [341]
341,33 unequal: No Solution
Exploring Operation: 31+11=42, Resulting Numbers: [42]
42,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 33:[6, 35], Operations: ['50-19=31', '66-31=35']
Exploring Operation: 6*35=210, Resulting Numbers: [210]
210,33 unequal: No Solution
Exploring Operation: 35-6=29, Resulting Numbers: [29]
29,33 unequal: No Solution
Exploring Operation: 6+35=41, Resulting Numbers: [41]
41,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 33:[31, 60], Operations: ['50-19=31', '66-6=60']
Exploring Operation: 31+60=91, Resulting Numbers: [91]
91,33 unequal: No Solution
Exploring Operation: 31*60=1860, Resulting Numbers: [1860]
1860,33 unequal: No Solution
Exploring Operation: 60-31=29, Resulting Numbers: [29]
29,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 33:[66, 37], Operations: ['50-19=31', '6+31=37']
Exploring Operation: 66+37=103, Resulting Numbers: [103]
103,33 unequal: No Solution
Exploring Operation: 66-37=29, Resulting Numbers: [29]
29,33 unequal: No Solution
Exploring Operation: 66*37=2442, Resulting Numbers: [2442]
2442,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
92,
20,
51,
31
] | 52 | [
"92-20=72",
"51-31=20",
"72-20=52"
] | Current State: 52:[92, 20, 51, 31], Operations: []
Exploring Operation: 92-20=72, Resulting Numbers: [51, 31, 72]
Generated Node #2: [51, 31, 72] from Operation: 92-20=72
Current State: 52:[51, 31, 72], Operations: ['92-20=72']
Exploring Operation: 51-31=20, Resulting Numbers: [72, 20]
Generated Node #3: [72, 20] from Operation: 51-31=20
Current State: 52:[72, 20], Operations: ['92-20=72', '51-31=20']
Exploring Operation: 72-20=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[92, 20, 51, 31], Operations: []
Exploring Operation: 92-51=41, Resulting Numbers: [20, 31, 41]
Generated Node #0,0: 52:[20, 31, 41] Operation: 92-51=41
Exploring Operation: 92-31=61, Resulting Numbers: [20, 51, 61]
Generated Node #0,1: 52:[20, 51, 61] Operation: 92-31=61
Moving to Node #0,1
Current State: 52:[20, 51, 61], Operations: ['92-31=61']
Exploring Operation: 61-51=10, Resulting Numbers: [20, 10]
Generated Node #0,1,0: 52:[20, 10] Operation: 61-51=10
Exploring Operation: 61-20=41, Resulting Numbers: [51, 41]
Generated Node #0,1,1: 52:[51, 41] Operation: 61-20=41
Moving to Node #0,0
Current State: 52:[20, 31, 41], Operations: ['92-51=41']
Exploring Operation: 41-31=10, Resulting Numbers: [20, 10]
Generated Node #0,0,0: 52:[20, 10] Operation: 41-31=10
Exploring Operation: 41-20=21, Resulting Numbers: [31, 21]
Generated Node #0,0,1: 52:[31, 21] Operation: 41-20=21
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 52:[20, 10], Operations: ['92-51=41', '41-31=10']
Exploring Operation: 20/10=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 20-10=10, Resulting Numbers: [10]
10,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 52:[31, 21], Operations: ['92-51=41', '41-20=21']
Exploring Operation: 31-21=10, Resulting Numbers: [10]
10,52 unequal: No Solution
Exploring Operation: 31+21=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[92, 20, 51, 31], Operations: []
Exploring Operation: 92-51=41, Resulting Numbers: [20, 31, 41]
Generated Node #0,0: 52:[20, 31, 41] Operation: 92-51=41
Moving to Node #0,0
Current State: 52:[20, 31, 41], Operations: ['92-51=41']
Exploring Operation: 41-20=21, Resulting Numbers: [31, 21]
Generated Node #0,0,1: 52:[31, 21] Operation: 41-20=21
Moving to Node #0,0,1
Current State: 52:[31, 21], Operations: ['92-51=41', '41-20=21']
Exploring Operation: 31+21=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_2 | mult_heuristic |
[
63,
27,
64,
71
] | 36 | [
"71-64=7",
"63/7=9",
"27+9=36"
] | Current State: 36:[63, 27, 64, 71], Operations: []
Exploring Operation: 71-64=7, Resulting Numbers: [63, 27, 7]
Generated Node #2: [63, 27, 7] from Operation: 71-64=7
Current State: 36:[63, 27, 7], Operations: ['71-64=7']
Exploring Operation: 63/7=9, Resulting Numbers: [27, 9]
Generated Node #3: [27, 9] from Operation: 63/7=9
Current State: 36:[27, 9], Operations: ['71-64=7', '63/7=9']
Exploring Operation: 27+9=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[63, 27, 64, 71], Operations: []
Exploring Operation: 71-64=7, Resulting Numbers: [63, 27, 7]
Generated Node #0,0: 36:[63, 27, 7] Operation: 71-64=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[63, 27, 7], Operations: ['71-64=7']
Exploring Operation: 63-27=36, Resulting Numbers: [7, 36]
Generated Node #0,0,0: 36:[7, 36] Operation: 63-27=36
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 36:[7, 36], Operations: ['71-64=7', '63-27=36']
Exploring Operation: 7+36=43, Resulting Numbers: [43]
43,36 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.