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 |
|---|---|---|---|---|---|---|---|---|
[
29,
81,
95,
67
] | 52 | [
"29+81=110",
"95+67=162",
"162-110=52"
] | Current State: 52:[29, 81, 95, 67], Operations: []
Exploring Operation: 29+81=110, Resulting Numbers: [95, 67, 110]
Generated Node #2: [95, 67, 110] from Operation: 29+81=110
Current State: 52:[95, 67, 110], Operations: ['29+81=110']
Exploring Operation: 95+67=162, Resulting Numbers: [110, 162]
Generated Node #3: [110, 162] from Operation: 95+67=162
Current State: 52:[110, 162], Operations: ['29+81=110', '95+67=162']
Exploring Operation: 162-110=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[29, 81, 95, 67], Operations: []
Exploring Operation: 95-81=14, Resulting Numbers: [29, 67, 14]
Generated Node #0,0: 52:[29, 67, 14] Operation: 95-81=14
Exploring Operation: 95-67=28, Resulting Numbers: [29, 81, 28]
Generated Node #0,1: 52:[29, 81, 28] Operation: 95-67=28
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[29, 67, 14], Operations: ['95-81=14']
Exploring Operation: 67-29=38, Resulting Numbers: [14, 38]
Generated Node #0,0,0: 52:[14, 38] Operation: 67-29=38
Exploring Operation: 67-14=53, Resulting Numbers: [29, 53]
Generated Node #0,0,1: 52:[29, 53] Operation: 67-14=53
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 52:[29, 53], Operations: ['95-81=14', '67-14=53']
Exploring Operation: 53-29=24, Resulting Numbers: [24]
24,52 unequal: No Solution
Exploring Operation: 29+53=82, Resulting Numbers: [82]
82,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 52:[14, 38], Operations: ['95-81=14', '67-29=38']
Exploring Operation: 38-14=24, Resulting Numbers: [24]
24,52 unequal: No Solution
Exploring Operation: 14+38=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[29, 81, 95, 67], Operations: []
Exploring Operation: 95-81=14, Resulting Numbers: [29, 67, 14]
Generated Node #0,0: 52:[29, 67, 14] Operation: 95-81=14
Moving to Node #0,0
Current State: 52:[29, 67, 14], Operations: ['95-81=14']
Exploring Operation: 67-29=38, Resulting Numbers: [14, 38]
Generated Node #0,0,0: 52:[14, 38] Operation: 67-29=38
Moving to Node #0,0,0
Current State: 52:[14, 38], Operations: ['95-81=14', '67-29=38']
Exploring Operation: 14+38=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_2 | mult_heuristic |
[
44,
15,
89,
47
] | 12 | [
"44+89=133",
"47+133=180",
"180/15=12"
] | Current State: 12:[44, 15, 89, 47], Operations: []
Exploring Operation: 44+89=133, Resulting Numbers: [15, 47, 133]
Generated Node #2: [15, 47, 133] from Operation: 44+89=133
Current State: 12:[15, 47, 133], Operations: ['44+89=133']
Exploring Operation: 47+133=180, Resulting Numbers: [15, 180]
Generated Node #3: [15, 180] from Operation: 47+133=180
Current State: 12:[15, 180], Operations: ['44+89=133', '47+133=180']
Exploring Operation: 180/15=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[44, 15, 89, 47], Operations: []
Exploring Operation: 89-44=45, Resulting Numbers: [15, 47, 45]
Generated Node #0,0: 12:[15, 47, 45] Operation: 89-44=45
Exploring Operation: 89-47=42, Resulting Numbers: [44, 15, 42]
Generated Node #0,1: 12:[44, 15, 42] Operation: 89-47=42
Exploring Operation: 47-44=3, Resulting Numbers: [15, 89, 3]
Generated Node #0,2: 12:[15, 89, 3] Operation: 47-44=3
Moving to Node #0,1
Current State: 12:[44, 15, 42], Operations: ['89-47=42']
Exploring Operation: 42-15=27, Resulting Numbers: [44, 27]
Generated Node #0,1,0: 12:[44, 27] Operation: 42-15=27
Exploring Operation: 44-42=2, Resulting Numbers: [15, 2]
Generated Node #0,1,1: 12:[15, 2] Operation: 44-42=2
Exploring Operation: 44-15=29, Resulting Numbers: [42, 29]
Generated Node #0,1,2: 12:[42, 29] Operation: 44-15=29
Moving to Node #0,0
Current State: 12:[15, 47, 45], Operations: ['89-44=45']
Exploring Operation: 47-45=2, Resulting Numbers: [15, 2]
Generated Node #0,0,0: 12:[15, 2] Operation: 47-45=2
Exploring Operation: 47-15=32, Resulting Numbers: [45, 32]
Generated Node #0,0,1: 12:[45, 32] Operation: 47-15=32
Exploring Operation: 45/15=3, Resulting Numbers: [47, 3]
Generated Node #0,0,2: 12:[47, 3] Operation: 45/15=3
Moving to Node #0,2
Current State: 12:[15, 89, 3], Operations: ['47-44=3']
Exploring Operation: 15-3=12, Resulting Numbers: [89, 12]
Generated Node #0,2,0: 12:[89, 12] Operation: 15-3=12
Exploring Operation: 89-15=74, Resulting Numbers: [3, 74]
Generated Node #0,2,1: 12:[3, 74] Operation: 89-15=74
Exploring Operation: 89-3=86, Resulting Numbers: [15, 86]
Generated Node #0,2,2: 12:[15, 86] Operation: 89-3=86
Moving to Node #0,1,1
Current State: 12:[15, 2], Operations: ['89-47=42', '44-42=2']
Exploring Operation: 15*2=30, Resulting Numbers: [30]
30,12 unequal: No Solution
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,12 unequal: No Solution
Exploring Operation: 15+2=17, Resulting Numbers: [17]
17,12 unequal: No Solution
Moving to Node #0,0,0
Current State: 12:[15, 2], Operations: ['89-44=45', '47-45=2']
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,12 unequal: No Solution
Exploring Operation: 15+2=17, Resulting Numbers: [17]
17,12 unequal: No Solution
Exploring Operation: 15*2=30, Resulting Numbers: [30]
30,12 unequal: No Solution
Moving to Node #0,0,2
Current State: 12:[47, 3], Operations: ['89-44=45', '45/15=3']
Exploring Operation: 47*3=141, Resulting Numbers: [141]
141,12 unequal: No Solution
Exploring Operation: 47+3=50, Resulting Numbers: [50]
50,12 unequal: No Solution
Exploring Operation: 47-3=44, Resulting Numbers: [44]
44,12 unequal: No Solution
Moving to Node #0,1,2
Current State: 12:[42, 29], Operations: ['89-47=42', '44-15=29']
Exploring Operation: 42-29=13, Resulting Numbers: [13]
13,12 unequal: No Solution
Exploring Operation: 42*29=1218, Resulting Numbers: [1218]
1218,12 unequal: No Solution
Exploring Operation: 42+29=71, Resulting Numbers: [71]
71,12 unequal: No Solution
Moving to Node #0,1,0
Current State: 12:[44, 27], Operations: ['89-47=42', '42-15=27']
Exploring Operation: 44*27=1188, Resulting Numbers: [1188]
1188,12 unequal: No Solution
Exploring Operation: 44+27=71, Resulting Numbers: [71]
71,12 unequal: No Solution
Exploring Operation: 44-27=17, Resulting Numbers: [17]
17,12 unequal: No Solution
Moving to Node #0,0,1
Current State: 12:[45, 32], Operations: ['89-44=45', '47-15=32']
Exploring Operation: 45-32=13, Resulting Numbers: [13]
13,12 unequal: No Solution
Exploring Operation: 45*32=1440, Resulting Numbers: [1440]
1440,12 unequal: No Solution
Exploring Operation: 45+32=77, Resulting Numbers: [77]
77,12 unequal: No Solution
Moving to Node #0,2,1
Current State: 12:[3, 74], Operations: ['47-44=3', '89-15=74']
Exploring Operation: 3+74=77, Resulting Numbers: [77]
77,12 unequal: No Solution
Exploring Operation: 74-3=71, Resulting Numbers: [71]
71,12 unequal: No Solution
Exploring Operation: 3*74=222, Resulting Numbers: [222]
222,12 unequal: No Solution
Moving to Node #0,2,0
Current State: 12:[89, 12], Operations: ['47-44=3', '15-3=12']
Exploring Operation: 89*12=1068, Resulting Numbers: [1068]
1068,12 unequal: No Solution
Exploring Operation: 89+12=101, Resulting Numbers: [101]
101,12 unequal: No Solution
Exploring Operation: 89-12=77, Resulting Numbers: [77]
77,12 unequal: No Solution
Moving to Node #0,2,2
Current State: 12:[15, 86], Operations: ['47-44=3', '89-3=86']
Exploring Operation: 15*86=1290, Resulting Numbers: [1290]
1290,12 unequal: No Solution
Exploring Operation: 86-15=71, Resulting Numbers: [71]
71,12 unequal: No Solution
Exploring Operation: 15+86=101, Resulting Numbers: [101]
101,12 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
72,
12,
13,
33
] | 52 | [
"72/12=6",
"13+33=46",
"6+46=52"
] | Current State: 52:[72, 12, 13, 33], Operations: []
Exploring Operation: 72/12=6, Resulting Numbers: [13, 33, 6]
Generated Node #2: [13, 33, 6] from Operation: 72/12=6
Current State: 52:[13, 33, 6], Operations: ['72/12=6']
Exploring Operation: 13+33=46, Resulting Numbers: [6, 46]
Generated Node #3: [6, 46] from Operation: 13+33=46
Current State: 52:[6, 46], Operations: ['72/12=6', '13+33=46']
Exploring Operation: 6+46=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[72, 12, 13, 33], Operations: []
Exploring Operation: 72/12=6, Resulting Numbers: [13, 33, 6]
Generated Node #0,0: 52:[13, 33, 6] Operation: 72/12=6
Exploring Operation: 72-12=60, Resulting Numbers: [13, 33, 60]
Generated Node #0,1: 52:[13, 33, 60] Operation: 72-12=60
Exploring Operation: 72-33=39, Resulting Numbers: [12, 13, 39]
Generated Node #0,2: 52:[12, 13, 39] Operation: 72-33=39
Exploring Operation: 72-13=59, Resulting Numbers: [12, 33, 59]
Generated Node #0,3: 52:[12, 33, 59] Operation: 72-13=59
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[13, 33, 6], Operations: ['72/12=6']
Exploring Operation: 13+33=46, Resulting Numbers: [6, 46]
Generated Node #0,0,0: 52:[6, 46] Operation: 13+33=46
Exploring Operation: 33-6=27, Resulting Numbers: [13, 27]
Generated Node #0,0,1: 52:[13, 27] Operation: 33-6=27
Exploring Operation: 33-13=20, Resulting Numbers: [6, 20]
Generated Node #0,0,2: 52:[6, 20] Operation: 33-13=20
Exploring Operation: 13-6=7, Resulting Numbers: [33, 7]
Generated Node #0,0,3: 52:[33, 7] Operation: 13-6=7
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 52:[13, 27], Operations: ['72/12=6', '33-6=27']
Exploring Operation: 13+27=40, Resulting Numbers: [40]
40,52 unequal: No Solution
Exploring Operation: 13*27=351, Resulting Numbers: [351]
351,52 unequal: No Solution
Exploring Operation: 27-13=14, Resulting Numbers: [14]
14,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 52:[6, 46], Operations: ['72/12=6', '13+33=46']
Exploring Operation: 6+46=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[72, 12, 13, 33], Operations: []
Exploring Operation: 72/12=6, Resulting Numbers: [13, 33, 6]
Generated Node #0,0: 52:[13, 33, 6] Operation: 72/12=6
Moving to Node #0,0
Current State: 52:[13, 33, 6], Operations: ['72/12=6']
Exploring Operation: 13+33=46, Resulting Numbers: [6, 46]
Generated Node #0,0,0: 52:[6, 46] Operation: 13+33=46
Moving to Node #0,0,0
Current State: 52:[6, 46], Operations: ['72/12=6', '13+33=46']
Exploring Operation: 6+46=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_4 | sum_heuristic |
[
60,
40,
43,
5
] | 63 | [
"60+40=100",
"100/5=20",
"43+20=63"
] | Current State: 63:[60, 40, 43, 5], Operations: []
Exploring Operation: 60+40=100, Resulting Numbers: [43, 5, 100]
Generated Node #2: [43, 5, 100] from Operation: 60+40=100
Current State: 63:[43, 5, 100], Operations: ['60+40=100']
Exploring Operation: 100/5=20, Resulting Numbers: [43, 20]
Generated Node #3: [43, 20] from Operation: 100/5=20
Current State: 63:[43, 20], Operations: ['60+40=100', '100/5=20']
Exploring Operation: 43+20=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[60, 40, 43, 5], Operations: []
Exploring Operation: 43-40=3, Resulting Numbers: [60, 5, 3]
Generated Node #0,0: 63:[60, 5, 3] Operation: 43-40=3
Exploring Operation: 60-40=20, Resulting Numbers: [43, 5, 20]
Generated Node #0,1: 63:[43, 5, 20] Operation: 60-40=20
Moving to Node #0,0
Current State: 63:[60, 5, 3], Operations: ['43-40=3']
Exploring Operation: 60+3=63, Resulting Numbers: [5, 63]
Generated Node #0,0,0: 63:[5, 63] Operation: 60+3=63
Exploring Operation: 60+5=65, Resulting Numbers: [3, 65]
Generated Node #0,0,1: 63:[3, 65] Operation: 60+5=65
Moving to Node #0,1
Current State: 63:[43, 5, 20], Operations: ['60-40=20']
Exploring Operation: 43-20=23, Resulting Numbers: [5, 23]
Generated Node #0,1,0: 63:[5, 23] Operation: 43-20=23
Exploring Operation: 43+20=63, Resulting Numbers: [5, 63]
Generated Node #0,1,1: 63:[5, 63] Operation: 43+20=63
Moving to Node #0,0,0
Current State: 63:[5, 63], Operations: ['43-40=3', '60+3=63']
Exploring Operation: 63-5=58, Resulting Numbers: [58]
58,63 unequal: No Solution
Exploring Operation: 5+63=68, Resulting Numbers: [68]
68,63 unequal: No Solution
Moving to Node #0,1,1
Current State: 63:[5, 63], Operations: ['60-40=20', '43+20=63']
Exploring Operation: 63-5=58, Resulting Numbers: [58]
58,63 unequal: No Solution
Exploring Operation: 5+63=68, Resulting Numbers: [68]
68,63 unequal: No Solution
Moving to Node #0,0,1
Current State: 63:[3, 65], Operations: ['43-40=3', '60+5=65']
Exploring Operation: 3+65=68, Resulting Numbers: [68]
68,63 unequal: No Solution
Exploring Operation: 65-3=62, Resulting Numbers: [62]
62,63 unequal: No Solution
Moving to Node #0,1,0
Current State: 63:[5, 23], Operations: ['60-40=20', '43-20=23']
Exploring Operation: 5+23=28, Resulting Numbers: [28]
28,63 unequal: No Solution
Exploring Operation: 23-5=18, Resulting Numbers: [18]
18,63 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
70,
8,
44,
10
] | 92 | [
"10-8=2",
"44/2=22",
"70+22=92"
] | Current State: 92:[70, 8, 44, 10], Operations: []
Exploring Operation: 10-8=2, Resulting Numbers: [70, 44, 2]
Generated Node #2: [70, 44, 2] from Operation: 10-8=2
Current State: 92:[70, 44, 2], Operations: ['10-8=2']
Exploring Operation: 44/2=22, Resulting Numbers: [70, 22]
Generated Node #3: [70, 22] from Operation: 44/2=22
Current State: 92:[70, 22], Operations: ['10-8=2', '44/2=22']
Exploring Operation: 70+22=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[70, 8, 44, 10], Operations: []
Exploring Operation: 70-10=60, Resulting Numbers: [8, 44, 60]
Generated Node #0,0: 92:[8, 44, 60] Operation: 70-10=60
Exploring Operation: 70-44=26, Resulting Numbers: [8, 10, 26]
Generated Node #0,1: 92:[8, 10, 26] Operation: 70-44=26
Exploring Operation: 70+10=80, Resulting Numbers: [8, 44, 80]
Generated Node #0,2: 92:[8, 44, 80] Operation: 70+10=80
Exploring Operation: 70+8=78, Resulting Numbers: [44, 10, 78]
Generated Node #0,3: 92:[44, 10, 78] Operation: 70+8=78
Exploring Operation: 70/10=7, Resulting Numbers: [8, 44, 7]
Generated Node #0,4: 92:[8, 44, 7] Operation: 70/10=7
Moving to Node #0,4
Current State: 92:[8, 44, 7], Operations: ['70/10=7']
Exploring Operation: 8-7=1, Resulting Numbers: [44, 1]
Generated Node #0,4,0: 92:[44, 1] Operation: 8-7=1
Exploring Operation: 8*7=56, Resulting Numbers: [44, 56]
Generated Node #0,4,1: 92:[44, 56] Operation: 8*7=56
Exploring Operation: 8+44=52, Resulting Numbers: [7, 52]
Generated Node #0,4,2: 92:[7, 52] Operation: 8+44=52
Exploring Operation: 8+7=15, Resulting Numbers: [44, 15]
Generated Node #0,4,3: 92:[44, 15] Operation: 8+7=15
Exploring Operation: 44+7=51, Resulting Numbers: [8, 51]
Generated Node #0,4,4: 92:[8, 51] Operation: 44+7=51
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 92:[44, 1], Operations: ['70/10=7', '8-7=1']
Exploring Operation: 44/1=44, Resulting Numbers: [44]
44,92 unequal: No Solution
Exploring Operation: 44-1=43, Resulting Numbers: [43]
43,92 unequal: No Solution
Exploring Operation: 44+1=45, Resulting Numbers: [45]
45,92 unequal: No Solution
Exploring Operation: 44*1=44, Resulting Numbers: [44]
44,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,4,2
Current State: 92:[7, 52], Operations: ['70/10=7', '8+44=52']
Exploring Operation: 7*52=364, Resulting Numbers: [364]
364,92 unequal: No Solution
Exploring Operation: 7+52=59, Resulting Numbers: [59]
59,92 unequal: No Solution
Exploring Operation: 52-7=45, Resulting Numbers: [45]
45,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,4,4
Current State: 92:[8, 51], Operations: ['70/10=7', '44+7=51']
Exploring Operation: 8+51=59, Resulting Numbers: [59]
59,92 unequal: No Solution
Exploring Operation: 51-8=43, Resulting Numbers: [43]
43,92 unequal: No Solution
Exploring Operation: 8*51=408, Resulting Numbers: [408]
408,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,4,3
Current State: 92:[44, 15], Operations: ['70/10=7', '8+7=15']
Exploring Operation: 44-15=29, Resulting Numbers: [29]
29,92 unequal: No Solution
Exploring Operation: 44*15=660, Resulting Numbers: [660]
660,92 unequal: No Solution
Exploring Operation: 44+15=59, Resulting Numbers: [59]
59,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,4,1
Current State: 92:[44, 56], Operations: ['70/10=7', '8*7=56']
Exploring Operation: 44+56=100, Resulting Numbers: [100]
100,92 unequal: No Solution
Exploring Operation: 56-44=12, Resulting Numbers: [12]
12,92 unequal: No Solution
Exploring Operation: 44*56=2464, Resulting Numbers: [2464]
2464,92 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: 92:[8, 10, 26], Operations: ['70-44=26']
Exploring Operation: 8+10=18, Resulting Numbers: [26, 18]
Generated Node #0,1,0: 92:[26, 18] Operation: 8+10=18
Exploring Operation: 10-8=2, Resulting Numbers: [26, 2]
Generated Node #0,1,1: 92:[26, 2] Operation: 10-8=2
Exploring Operation: 26-8=18, Resulting Numbers: [10, 18]
Generated Node #0,1,2: 92:[10, 18] Operation: 26-8=18
Exploring Operation: 26-10=16, Resulting Numbers: [8, 16]
Generated Node #0,1,3: 92:[8, 16] Operation: 26-10=16
Exploring Operation: 10+26=36, Resulting Numbers: [8, 36]
Generated Node #0,1,4: 92:[8, 36] Operation: 10+26=36
Moving to Node #0,2
Current State: 92:[8, 44, 80], Operations: ['70+10=80']
Exploring Operation: 8+80=88, Resulting Numbers: [44, 88]
Generated Node #0,2,0: 92:[44, 88] Operation: 8+80=88
Exploring Operation: 44-8=36, Resulting Numbers: [80, 36]
Generated Node #0,2,1: 92:[80, 36] Operation: 44-8=36
Exploring Operation: 8+44=52, Resulting Numbers: [80, 52]
Generated Node #0,2,2: 92:[80, 52] Operation: 8+44=52
Exploring Operation: 80/8=10, Resulting Numbers: [44, 10]
Generated Node #0,2,3: 92:[44, 10] Operation: 80/8=10
Exploring Operation: 80-44=36, Resulting Numbers: [8, 36]
Generated Node #0,2,4: 92:[8, 36] Operation: 80-44=36
Moving to Node #0,0
Current State: 92:[8, 44, 60], Operations: ['70-10=60']
Exploring Operation: 8+44=52, Resulting Numbers: [60, 52]
Generated Node #0,0,0: 92:[60, 52] Operation: 8+44=52
Exploring Operation: 44-8=36, Resulting Numbers: [60, 36]
Generated Node #0,0,1: 92:[60, 36] Operation: 44-8=36
Exploring Operation: 60-44=16, Resulting Numbers: [8, 16]
Generated Node #0,0,2: 92:[8, 16] Operation: 60-44=16
Exploring Operation: 44+60=104, Resulting Numbers: [8, 104]
Generated Node #0,0,3: 92:[8, 104] Operation: 44+60=104
Exploring Operation: 60-8=52, Resulting Numbers: [44, 52]
Generated Node #0,0,4: 92:[44, 52] Operation: 60-8=52
Moving to Node #0,3
Current State: 92:[44, 10, 78], Operations: ['70+8=78']
Exploring Operation: 78-44=34, Resulting Numbers: [10, 34]
Generated Node #0,3,0: 92:[10, 34] Operation: 78-44=34
Exploring Operation: 44-10=34, Resulting Numbers: [78, 34]
Generated Node #0,3,1: 92:[78, 34] Operation: 44-10=34
Exploring Operation: 78-10=68, Resulting Numbers: [44, 68]
Generated Node #0,3,2: 92:[44, 68] Operation: 78-10=68
Exploring Operation: 10+78=88, Resulting Numbers: [44, 88]
Generated Node #0,3,3: 92:[44, 88] Operation: 10+78=88
Exploring Operation: 44+10=54, Resulting Numbers: [78, 54]
Generated Node #0,3,4: 92:[78, 54] Operation: 44+10=54
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 92:[44, 88], Operations: ['70+8=78', '10+78=88']
Exploring Operation: 88/44=2, Resulting Numbers: [2]
2,92 unequal: No Solution
Exploring Operation: 88-44=44, Resulting Numbers: [44]
44,92 unequal: No Solution
Exploring Operation: 44*88=3872, Resulting Numbers: [3872]
3872,92 unequal: No Solution
Exploring Operation: 44+88=132, Resulting Numbers: [132]
132,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:[10, 34], Operations: ['70+8=78', '78-44=34']
Exploring Operation: 10+34=44, Resulting Numbers: [44]
44,92 unequal: No Solution
Exploring Operation: 10*34=340, Resulting Numbers: [340]
340,92 unequal: No Solution
Exploring Operation: 34-10=24, Resulting Numbers: [24]
24,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:[78, 54], Operations: ['70+8=78', '44+10=54']
Exploring Operation: 78*54=4212, Resulting Numbers: [4212]
4212,92 unequal: No Solution
Exploring Operation: 78-54=24, Resulting Numbers: [24]
24,92 unequal: No Solution
Exploring Operation: 78+54=132, Resulting Numbers: [132]
132,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:[44, 68], Operations: ['70+8=78', '78-10=68']
Exploring Operation: 68-44=24, Resulting Numbers: [24]
24,92 unequal: No Solution
Exploring Operation: 44+68=112, Resulting Numbers: [112]
112,92 unequal: No Solution
Exploring Operation: 44*68=2992, Resulting Numbers: [2992]
2992,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,1
Current State: 92:[78, 34], Operations: ['70+8=78', '44-10=34']
Exploring Operation: 78+34=112, Resulting Numbers: [112]
112,92 unequal: No Solution
Exploring Operation: 78-34=44, Resulting Numbers: [44]
44,92 unequal: No Solution
Exploring Operation: 78*34=2652, Resulting Numbers: [2652]
2652,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 92:[26, 2], Operations: ['70-44=26', '10-8=2']
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,92 unequal: No Solution
Exploring Operation: 26*2=52, Resulting Numbers: [52]
52,92 unequal: No Solution
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,92 unequal: No Solution
Exploring Operation: 26+2=28, Resulting Numbers: [28]
28,92 unequal: No Solution
Moving to Node #0,2,0
Current State: 92:[44, 88], Operations: ['70+10=80', '8+80=88']
Exploring Operation: 44*88=3872, Resulting Numbers: [3872]
3872,92 unequal: No Solution
Exploring Operation: 88-44=44, Resulting Numbers: [44]
44,92 unequal: No Solution
Exploring Operation: 88/44=2, Resulting Numbers: [2]
2,92 unequal: No Solution
Exploring Operation: 44+88=132, Resulting Numbers: [132]
132,92 unequal: No Solution
Moving to Node #0,2,3
Current State: 92:[44, 10], Operations: ['70+10=80', '80/8=10']
Exploring Operation: 44+10=54, Resulting Numbers: [54]
54,92 unequal: No Solution
Exploring Operation: 44-10=34, Resulting Numbers: [34]
34,92 unequal: No Solution
Exploring Operation: 44*10=440, Resulting Numbers: [440]
440,92 unequal: No Solution
Moving to Node #0,1,0
Current State: 92:[26, 18], Operations: ['70-44=26', '8+10=18']
Exploring Operation: 26*18=468, Resulting Numbers: [468]
468,92 unequal: No Solution
Exploring Operation: 26-18=8, Resulting Numbers: [8]
8,92 unequal: No Solution
Exploring Operation: 26+18=44, Resulting Numbers: [44]
44,92 unequal: No Solution
Moving to Node #0,0,4
Current State: 92:[44, 52], Operations: ['70-10=60', '60-8=52']
Exploring Operation: 44*52=2288, Resulting Numbers: [2288]
2288,92 unequal: No Solution
Exploring Operation: 44+52=96, Resulting Numbers: [96]
96,92 unequal: No Solution
Exploring Operation: 52-44=8, Resulting Numbers: [8]
8,92 unequal: No Solution
Moving to Node #0,1,2
Current State: 92:[10, 18], Operations: ['70-44=26', '26-8=18']
Exploring Operation: 18-10=8, Resulting Numbers: [8]
8,92 unequal: No Solution
Exploring Operation: 10*18=180, Resulting Numbers: [180]
180,92 unequal: No Solution
Exploring Operation: 10+18=28, Resulting Numbers: [28]
28,92 unequal: No Solution
Moving to Node #0,0,2
Current State: 92:[8, 16], Operations: ['70-10=60', '60-44=16']
Exploring Operation: 8*16=128, Resulting Numbers: [128]
128,92 unequal: No Solution
Exploring Operation: 16/8=2, Resulting Numbers: [2]
2,92 unequal: No Solution
Exploring Operation: 8+16=24, Resulting Numbers: [24]
24,92 unequal: No Solution
Exploring Operation: 16-8=8, Resulting Numbers: [8]
8,92 unequal: No Solution
Moving to Node #0,1,3
Current State: 92:[8, 16], Operations: ['70-44=26', '26-10=16']
Exploring Operation: 16/8=2, Resulting Numbers: [2]
2,92 unequal: No Solution
Exploring Operation: 16-8=8, Resulting Numbers: [8]
8,92 unequal: No Solution
Exploring Operation: 8*16=128, Resulting Numbers: [128]
128,92 unequal: No Solution
Exploring Operation: 8+16=24, Resulting Numbers: [24]
24,92 unequal: No Solution
Moving to Node #0,1,4
Current State: 92:[8, 36], Operations: ['70-44=26', '10+26=36']
Exploring Operation: 36-8=28, Resulting Numbers: [28]
28,92 unequal: No Solution
Exploring Operation: 8*36=288, Resulting Numbers: [288]
288,92 unequal: No Solution
Exploring Operation: 8+36=44, Resulting Numbers: [44]
44,92 unequal: No Solution
Moving to Node #0,2,4
Current State: 92:[8, 36], Operations: ['70+10=80', '80-44=36']
Exploring Operation: 36-8=28, Resulting Numbers: [28]
28,92 unequal: No Solution
Exploring Operation: 8*36=288, Resulting Numbers: [288]
288,92 unequal: No Solution
Exploring Operation: 8+36=44, Resulting Numbers: [44]
44,92 unequal: No Solution
Moving to Node #0,0,3
Current State: 92:[8, 104], Operations: ['70-10=60', '44+60=104']
Exploring Operation: 8*104=832, Resulting Numbers: [832]
832,92 unequal: No Solution
Exploring Operation: 8+104=112, Resulting Numbers: [112]
112,92 unequal: No Solution
Exploring Operation: 104-8=96, Resulting Numbers: [96]
96,92 unequal: No Solution
Exploring Operation: 104/8=13, Resulting Numbers: [13]
13,92 unequal: No Solution
Moving to Node #0,2,2
Current State: 92:[80, 52], Operations: ['70+10=80', '8+44=52']
Exploring Operation: 80-52=28, Resulting Numbers: [28]
28,92 unequal: No Solution
Exploring Operation: 80+52=132, Resulting Numbers: [132]
132,92 unequal: No Solution
Exploring Operation: 80*52=4160, Resulting Numbers: [4160]
4160,92 unequal: No Solution
Moving to Node #0,0,0
Current State: 92:[60, 52], Operations: ['70-10=60', '8+44=52']
Exploring Operation: 60-52=8, Resulting Numbers: [8]
8,92 unequal: No Solution
Exploring Operation: 60+52=112, Resulting Numbers: [112]
112,92 unequal: No Solution
Exploring Operation: 60*52=3120, Resulting Numbers: [3120]
3120,92 unequal: No Solution
Moving to Node #0,2,1
Current State: 92:[80, 36], Operations: ['70+10=80', '44-8=36']
Exploring Operation: 80+36=116, Resulting Numbers: [116]
116,92 unequal: No Solution
Exploring Operation: 80*36=2880, Resulting Numbers: [2880]
2880,92 unequal: No Solution
Exploring Operation: 80-36=44, Resulting Numbers: [44]
44,92 unequal: No Solution
Moving to Node #0,0,1
Current State: 92:[60, 36], Operations: ['70-10=60', '44-8=36']
Exploring Operation: 60+36=96, Resulting Numbers: [96]
96,92 unequal: No Solution
Exploring Operation: 60-36=24, Resulting Numbers: [24]
24,92 unequal: No Solution
Exploring Operation: 60*36=2160, Resulting Numbers: [2160]
2160,92 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
2,
23,
76,
71
] | 35 | [
"76-23=53",
"2*53=106",
"106-71=35"
] | Current State: 35:[2, 23, 76, 71], Operations: []
Exploring Operation: 76-23=53, Resulting Numbers: [2, 71, 53]
Generated Node #2: [2, 71, 53] from Operation: 76-23=53
Current State: 35:[2, 71, 53], Operations: ['76-23=53']
Exploring Operation: 2*53=106, Resulting Numbers: [71, 106]
Generated Node #3: [71, 106] from Operation: 2*53=106
Current State: 35:[71, 106], Operations: ['76-23=53', '2*53=106']
Exploring Operation: 106-71=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[2, 23, 76, 71], Operations: []
Exploring Operation: 76-71=5, Resulting Numbers: [2, 23, 5]
Generated Node #0,0: 35:[2, 23, 5] Operation: 76-71=5
Exploring Operation: 71-23=48, Resulting Numbers: [2, 76, 48]
Generated Node #0,1: 35:[2, 76, 48] Operation: 71-23=48
Exploring Operation: 76/2=38, Resulting Numbers: [23, 71, 38]
Generated Node #0,2: 35:[23, 71, 38] Operation: 76/2=38
Exploring Operation: 76-23=53, Resulting Numbers: [2, 71, 53]
Generated Node #0,3: 35:[2, 71, 53] Operation: 76-23=53
Moving to Node #0,0
Current State: 35:[2, 23, 5], Operations: ['76-71=5']
Exploring Operation: 2+5=7, Resulting Numbers: [23, 7]
Generated Node #0,0,0: 35:[23, 7] Operation: 2+5=7
Exploring Operation: 2+23=25, Resulting Numbers: [5, 25]
Generated Node #0,0,1: 35:[5, 25] Operation: 2+23=25
Exploring Operation: 2*23=46, Resulting Numbers: [5, 46]
Generated Node #0,0,2: 35:[5, 46] Operation: 2*23=46
Exploring Operation: 23+5=28, Resulting Numbers: [2, 28]
Generated Node #0,0,3: 35:[2, 28] Operation: 23+5=28
Moving to Node #0,2
Current State: 35:[23, 71, 38], Operations: ['76/2=38']
Exploring Operation: 38-23=15, Resulting Numbers: [71, 15]
Generated Node #0,2,0: 35:[71, 15] Operation: 38-23=15
Exploring Operation: 71-23=48, Resulting Numbers: [38, 48]
Generated Node #0,2,1: 35:[38, 48] Operation: 71-23=48
Exploring Operation: 23+71=94, Resulting Numbers: [38, 94]
Generated Node #0,2,2: 35:[38, 94] Operation: 23+71=94
Exploring Operation: 71-38=33, Resulting Numbers: [23, 33]
Generated Node #0,2,3: 35:[23, 33] Operation: 71-38=33
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 35:[23, 33], Operations: ['76/2=38', '71-38=33']
Exploring Operation: 33-23=10, Resulting Numbers: [10]
10,35 unequal: No Solution
Exploring Operation: 23+33=56, Resulting Numbers: [56]
56,35 unequal: No Solution
Exploring Operation: 23*33=759, Resulting Numbers: [759]
759,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,1
Current State: 35:[38, 48], Operations: ['76/2=38', '71-23=48']
Exploring Operation: 38*48=1824, Resulting Numbers: [1824]
1824,35 unequal: No Solution
Exploring Operation: 38+48=86, Resulting Numbers: [86]
86,35 unequal: No Solution
Exploring Operation: 48-38=10, Resulting Numbers: [10]
10,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:[71, 15], Operations: ['76/2=38', '38-23=15']
Exploring Operation: 71*15=1065, Resulting Numbers: [1065]
1065,35 unequal: No Solution
Exploring Operation: 71+15=86, Resulting Numbers: [86]
86,35 unequal: No Solution
Exploring Operation: 71-15=56, Resulting Numbers: [56]
56,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:[38, 94], Operations: ['76/2=38', '23+71=94']
Exploring Operation: 94-38=56, Resulting Numbers: [56]
56,35 unequal: No Solution
Exploring Operation: 38+94=132, Resulting Numbers: [132]
132,35 unequal: No Solution
Exploring Operation: 38*94=3572, Resulting Numbers: [3572]
3572,35 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: 35:[2, 71, 53], Operations: ['76-23=53']
Exploring Operation: 2+71=73, Resulting Numbers: [53, 73]
Generated Node #0,3,0: 35:[53, 73] Operation: 2+71=73
Exploring Operation: 71-2=69, Resulting Numbers: [53, 69]
Generated Node #0,3,1: 35:[53, 69] Operation: 71-2=69
Exploring Operation: 53-2=51, Resulting Numbers: [71, 51]
Generated Node #0,3,2: 35:[71, 51] Operation: 53-2=51
Exploring Operation: 71-53=18, Resulting Numbers: [2, 18]
Generated Node #0,3,3: 35:[2, 18] Operation: 71-53=18
Moving to Node #0,1
Current State: 35:[2, 76, 48], Operations: ['71-23=48']
Exploring Operation: 76-48=28, Resulting Numbers: [2, 28]
Generated Node #0,1,0: 35:[2, 28] Operation: 76-48=28
Exploring Operation: 48-2=46, Resulting Numbers: [76, 46]
Generated Node #0,1,1: 35:[76, 46] Operation: 48-2=46
Exploring Operation: 76-2=74, Resulting Numbers: [48, 74]
Generated Node #0,1,2: 35:[48, 74] Operation: 76-2=74
Exploring Operation: 76/2=38, Resulting Numbers: [48, 38]
Generated Node #0,1,3: 35:[48, 38] Operation: 76/2=38
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 35:[2, 28], Operations: ['71-23=48', '76-48=28']
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,35 unequal: No Solution
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,35 unequal: No Solution
Exploring Operation: 2*28=56, Resulting Numbers: [56]
56,35 unequal: No Solution
Exploring Operation: 2+28=30, Resulting Numbers: [30]
30,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,1,3
Current State: 35:[48, 38], Operations: ['71-23=48', '76/2=38']
Exploring Operation: 48+38=86, Resulting Numbers: [86]
86,35 unequal: No Solution
Exploring Operation: 48-38=10, Resulting Numbers: [10]
10,35 unequal: No Solution
Exploring Operation: 48*38=1824, Resulting Numbers: [1824]
1824,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,1,1
Current State: 35:[76, 46], Operations: ['71-23=48', '48-2=46']
Exploring Operation: 76+46=122, Resulting Numbers: [122]
122,35 unequal: No Solution
Exploring Operation: 76*46=3496, Resulting Numbers: [3496]
3496,35 unequal: No Solution
Exploring Operation: 76-46=30, Resulting Numbers: [30]
30,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,1,2
Current State: 35:[48, 74], Operations: ['71-23=48', '76-2=74']
Exploring Operation: 48*74=3552, Resulting Numbers: [3552]
3552,35 unequal: No Solution
Exploring Operation: 74-48=26, Resulting Numbers: [26]
26,35 unequal: No Solution
Exploring Operation: 48+74=122, Resulting Numbers: [122]
122,35 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: 35:[5, 25], Operations: ['76-71=5', '2+23=25']
Exploring Operation: 25/5=5, Resulting Numbers: [5]
5,35 unequal: No Solution
Exploring Operation: 25-5=20, Resulting Numbers: [20]
20,35 unequal: No Solution
Exploring Operation: 5+25=30, Resulting Numbers: [30]
30,35 unequal: No Solution
Exploring Operation: 5*25=125, Resulting Numbers: [125]
125,35 unequal: No Solution
Moving to Node #0,0,3
Current State: 35:[2, 28], Operations: ['76-71=5', '23+5=28']
Exploring Operation: 2*28=56, Resulting Numbers: [56]
56,35 unequal: No Solution
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,35 unequal: No Solution
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,35 unequal: No Solution
Exploring Operation: 2+28=30, Resulting Numbers: [30]
30,35 unequal: No Solution
Moving to Node #0,0,2
Current State: 35:[5, 46], Operations: ['76-71=5', '2*23=46']
Exploring Operation: 5+46=51, Resulting Numbers: [51]
51,35 unequal: No Solution
Exploring Operation: 5*46=230, Resulting Numbers: [230]
230,35 unequal: No Solution
Exploring Operation: 46-5=41, Resulting Numbers: [41]
41,35 unequal: No Solution
Moving to Node #0,0,0
Current State: 35:[23, 7], Operations: ['76-71=5', '2+5=7']
Exploring Operation: 23+7=30, Resulting Numbers: [30]
30,35 unequal: No Solution
Exploring Operation: 23-7=16, Resulting Numbers: [16]
16,35 unequal: No Solution
Exploring Operation: 23*7=161, Resulting Numbers: [161]
161,35 unequal: No Solution
Moving to Node #0,3,3
Current State: 35:[2, 18], Operations: ['76-23=53', '71-53=18']
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,35 unequal: No Solution
Exploring Operation: 2*18=36, Resulting Numbers: [36]
36,35 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,35 unequal: No Solution
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,35 unequal: No Solution
Moving to Node #0,3,1
Current State: 35:[53, 69], Operations: ['76-23=53', '71-2=69']
Exploring Operation: 53*69=3657, Resulting Numbers: [3657]
3657,35 unequal: No Solution
Exploring Operation: 53+69=122, Resulting Numbers: [122]
122,35 unequal: No Solution
Exploring Operation: 69-53=16, Resulting Numbers: [16]
16,35 unequal: No Solution
Moving to Node #0,3,2
Current State: 35:[71, 51], Operations: ['76-23=53', '53-2=51']
Exploring Operation: 71+51=122, Resulting Numbers: [122]
122,35 unequal: No Solution
Exploring Operation: 71-51=20, Resulting Numbers: [20]
20,35 unequal: No Solution
Exploring Operation: 71*51=3621, Resulting Numbers: [3621]
3621,35 unequal: No Solution
Moving to Node #0,3,0
Current State: 35:[53, 73], Operations: ['76-23=53', '2+71=73']
Exploring Operation: 53+73=126, Resulting Numbers: [126]
126,35 unequal: No Solution
Exploring Operation: 73-53=20, Resulting Numbers: [20]
20,35 unequal: No Solution
Exploring Operation: 53*73=3869, Resulting Numbers: [3869]
3869,35 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
70,
74,
11,
41
] | 48 | [
"74-70=4",
"11+41=52",
"52-4=48"
] | Current State: 48:[70, 74, 11, 41], Operations: []
Exploring Operation: 74-70=4, Resulting Numbers: [11, 41, 4]
Generated Node #2: [11, 41, 4] from Operation: 74-70=4
Current State: 48:[11, 41, 4], Operations: ['74-70=4']
Exploring Operation: 11+41=52, Resulting Numbers: [4, 52]
Generated Node #3: [4, 52] from Operation: 11+41=52
Current State: 48:[4, 52], Operations: ['74-70=4', '11+41=52']
Exploring Operation: 52-4=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[70, 74, 11, 41], Operations: []
Exploring Operation: 74-70=4, Resulting Numbers: [11, 41, 4]
Generated Node #0,0: 48:[11, 41, 4] Operation: 74-70=4
Moving to Node #0,0
Current State: 48:[11, 41, 4], Operations: ['74-70=4']
Exploring Operation: 11+41=52, Resulting Numbers: [4, 52]
Generated Node #0,0,0: 48:[4, 52] Operation: 11+41=52
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 48:[4, 52], Operations: ['74-70=4', '11+41=52']
Exploring Operation: 52-4=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[70, 74, 11, 41], Operations: []
Exploring Operation: 74-70=4, Resulting Numbers: [11, 41, 4]
Generated Node #0,0: 48:[11, 41, 4] Operation: 74-70=4
Moving to Node #0,0
Current State: 48:[11, 41, 4], Operations: ['74-70=4']
Exploring Operation: 11+41=52, Resulting Numbers: [4, 52]
Generated Node #0,0,0: 48:[4, 52] Operation: 11+41=52
Moving to Node #0,0,0
Current State: 48:[4, 52], Operations: ['74-70=4', '11+41=52']
Exploring Operation: 52-4=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
82,
1,
10,
30
] | 78 | [
"82-1=81",
"30/10=3",
"81-3=78"
] | Current State: 78:[82, 1, 10, 30], Operations: []
Exploring Operation: 82-1=81, Resulting Numbers: [10, 30, 81]
Generated Node #2: [10, 30, 81] from Operation: 82-1=81
Current State: 78:[10, 30, 81], Operations: ['82-1=81']
Exploring Operation: 30/10=3, Resulting Numbers: [81, 3]
Generated Node #3: [81, 3] from Operation: 30/10=3
Current State: 78:[81, 3], Operations: ['82-1=81', '30/10=3']
Exploring Operation: 81-3=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[82, 1, 10, 30], Operations: []
Exploring Operation: 30/10=3, Resulting Numbers: [82, 1, 3]
Generated Node #0,0: 78:[82, 1, 3] Operation: 30/10=3
Exploring Operation: 10+30=40, Resulting Numbers: [82, 1, 40]
Generated Node #0,1: 78:[82, 1, 40] Operation: 10+30=40
Moving to Node #0,0
Current State: 78:[82, 1, 3], Operations: ['30/10=3']
Exploring Operation: 82-1=81, Resulting Numbers: [3, 81]
Generated Node #0,0,0: 78:[3, 81] Operation: 82-1=81
Exploring Operation: 82-3=79, Resulting Numbers: [1, 79]
Generated Node #0,0,1: 78:[1, 79] Operation: 82-3=79
Moving to Node #0,1
Current State: 78:[82, 1, 40], Operations: ['10+30=40']
Exploring Operation: 82-1=81, Resulting Numbers: [40, 81]
Generated Node #0,1,0: 78:[40, 81] Operation: 82-1=81
Exploring Operation: 82-40=42, Resulting Numbers: [1, 42]
Generated Node #0,1,1: 78:[1, 42] Operation: 82-40=42
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 78:[40, 81], Operations: ['10+30=40', '82-1=81']
Exploring Operation: 81-40=41, Resulting Numbers: [41]
41,78 unequal: No Solution
Exploring Operation: 40+81=121, Resulting Numbers: [121]
121,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 78:[1, 42], Operations: ['10+30=40', '82-40=42']
Exploring Operation: 1*42=42, Resulting Numbers: [42]
42,78 unequal: No Solution
Exploring Operation: 42-1=41, Resulting Numbers: [41]
41,78 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: 78:[1, 79], Operations: ['30/10=3', '82-3=79']
Exploring Operation: 79-1=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[82, 1, 10, 30], Operations: []
Exploring Operation: 30/10=3, Resulting Numbers: [82, 1, 3]
Generated Node #0,0: 78:[82, 1, 3] Operation: 30/10=3
Moving to Node #0,0
Current State: 78:[82, 1, 3], Operations: ['30/10=3']
Exploring Operation: 82-3=79, Resulting Numbers: [1, 79]
Generated Node #0,0,1: 78:[1, 79] Operation: 82-3=79
Moving to Node #0,0,1
Current State: 78:[1, 79], Operations: ['30/10=3', '82-3=79']
Exploring Operation: 79-1=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 0.986979 | hs_2 | sum_heuristic |
[
67,
7,
22,
70
] | 12 | [
"67-7=60",
"70-22=48",
"60-48=12"
] | Current State: 12:[67, 7, 22, 70], Operations: []
Exploring Operation: 67-7=60, Resulting Numbers: [22, 70, 60]
Generated Node #2: [22, 70, 60] from Operation: 67-7=60
Current State: 12:[22, 70, 60], Operations: ['67-7=60']
Exploring Operation: 70-22=48, Resulting Numbers: [60, 48]
Generated Node #3: [60, 48] from Operation: 70-22=48
Current State: 12:[60, 48], Operations: ['67-7=60', '70-22=48']
Exploring Operation: 60-48=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[67, 7, 22, 70], Operations: []
Exploring Operation: 70-22=48, Resulting Numbers: [67, 7, 48]
Generated Node #0,0: 12:[67, 7, 48] Operation: 70-22=48
Exploring Operation: 70-67=3, Resulting Numbers: [7, 22, 3]
Generated Node #0,1: 12:[7, 22, 3] Operation: 70-67=3
Exploring Operation: 70/7=10, Resulting Numbers: [67, 22, 10]
Generated Node #0,2: 12:[67, 22, 10] Operation: 70/7=10
Exploring Operation: 67-22=45, Resulting Numbers: [7, 70, 45]
Generated Node #0,3: 12:[7, 70, 45] Operation: 67-22=45
Moving to Node #0,1
Current State: 12:[7, 22, 3], Operations: ['70-67=3']
Exploring Operation: 22-7=15, Resulting Numbers: [3, 15]
Generated Node #0,1,0: 12:[3, 15] Operation: 22-7=15
Exploring Operation: 7+3=10, Resulting Numbers: [22, 10]
Generated Node #0,1,1: 12:[22, 10] Operation: 7+3=10
Exploring Operation: 22-3=19, Resulting Numbers: [7, 19]
Generated Node #0,1,2: 12:[7, 19] Operation: 22-3=19
Exploring Operation: 7-3=4, Resulting Numbers: [22, 4]
Generated Node #0,1,3: 12:[22, 4] Operation: 7-3=4
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 12:[3, 15], Operations: ['70-67=3', '22-7=15']
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,12 unequal: No Solution
Exploring Operation: 3+15=18, Resulting Numbers: [18]
18,12 unequal: No Solution
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[67, 7, 22, 70], Operations: []
Exploring Operation: 70-67=3, Resulting Numbers: [7, 22, 3]
Generated Node #0,1: 12:[7, 22, 3] Operation: 70-67=3
Moving to Node #0,1
Current State: 12:[7, 22, 3], Operations: ['70-67=3']
Exploring Operation: 22-7=15, Resulting Numbers: [3, 15]
Generated Node #0,1,0: 12:[3, 15] Operation: 22-7=15
Moving to Node #0,1,0
Current State: 12:[3, 15], Operations: ['70-67=3', '22-7=15']
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
45,
54,
29,
36
] | 92 | [
"45+54=99",
"36-29=7",
"99-7=92"
] | Current State: 92:[45, 54, 29, 36], Operations: []
Exploring Operation: 45+54=99, Resulting Numbers: [29, 36, 99]
Generated Node #2: [29, 36, 99] from Operation: 45+54=99
Current State: 92:[29, 36, 99], Operations: ['45+54=99']
Exploring Operation: 36-29=7, Resulting Numbers: [99, 7]
Generated Node #3: [99, 7] from Operation: 36-29=7
Current State: 92:[99, 7], Operations: ['45+54=99', '36-29=7']
Exploring Operation: 99-7=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[45, 54, 29, 36], Operations: []
Exploring Operation: 54-36=18, Resulting Numbers: [45, 29, 18]
Generated Node #0,0: 92:[45, 29, 18] Operation: 54-36=18
Exploring Operation: 36-29=7, Resulting Numbers: [45, 54, 7]
Generated Node #0,1: 92:[45, 54, 7] Operation: 36-29=7
Exploring Operation: 54-29=25, Resulting Numbers: [45, 36, 25]
Generated Node #0,2: 92:[45, 36, 25] Operation: 54-29=25
Exploring Operation: 45-36=9, Resulting Numbers: [54, 29, 9]
Generated Node #0,3: 92:[54, 29, 9] Operation: 45-36=9
Exploring Operation: 54+36=90, Resulting Numbers: [45, 29, 90]
Generated Node #0,4: 92:[45, 29, 90] Operation: 54+36=90
Moving to Node #0,4
Current State: 92:[45, 29, 90], Operations: ['54+36=90']
Exploring Operation: 90-45=45, Resulting Numbers: [29, 45]
Generated Node #0,4,0: 92:[29, 45] Operation: 90-45=45
Exploring Operation: 45-29=16, Resulting Numbers: [90, 16]
Generated Node #0,4,1: 92:[90, 16] Operation: 45-29=16
Exploring Operation: 45+29=74, Resulting Numbers: [90, 74]
Generated Node #0,4,2: 92:[90, 74] Operation: 45+29=74
Exploring Operation: 90-29=61, Resulting Numbers: [45, 61]
Generated Node #0,4,3: 92:[45, 61] Operation: 90-29=61
Exploring Operation: 90/45=2, Resulting Numbers: [29, 2]
Generated Node #0,4,4: 92:[29, 2] Operation: 90/45=2
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 92:[29, 2], Operations: ['54+36=90', '90/45=2']
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,92 unequal: No Solution
Exploring Operation: 29+2=31, Resulting Numbers: [31]
31,92 unequal: No Solution
Exploring Operation: 29*2=58, Resulting Numbers: [58]
58,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,4,0
Current State: 92:[29, 45], Operations: ['54+36=90', '90-45=45']
Exploring Operation: 29*45=1305, Resulting Numbers: [1305]
1305,92 unequal: No Solution
Exploring Operation: 29+45=74, Resulting Numbers: [74]
74,92 unequal: No Solution
Exploring Operation: 45-29=16, Resulting Numbers: [16]
16,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,4,1
Current State: 92:[90, 16], Operations: ['54+36=90', '45-29=16']
Exploring Operation: 90*16=1440, Resulting Numbers: [1440]
1440,92 unequal: No Solution
Exploring Operation: 90+16=106, Resulting Numbers: [106]
106,92 unequal: No Solution
Exploring Operation: 90-16=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,4,3
Current State: 92:[45, 61], Operations: ['54+36=90', '90-29=61']
Exploring Operation: 45+61=106, Resulting Numbers: [106]
106,92 unequal: No Solution
Exploring Operation: 61-45=16, Resulting Numbers: [16]
16,92 unequal: No Solution
Exploring Operation: 45*61=2745, Resulting Numbers: [2745]
2745,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,4,2
Current State: 92:[90, 74], Operations: ['54+36=90', '45+29=74']
Exploring Operation: 90+74=164, Resulting Numbers: [164]
164,92 unequal: No Solution
Exploring Operation: 90*74=6660, Resulting Numbers: [6660]
6660,92 unequal: No Solution
Exploring Operation: 90-74=16, Resulting Numbers: [16]
16,92 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: 92:[45, 54, 7], Operations: ['36-29=7']
Exploring Operation: 54-7=47, Resulting Numbers: [45, 47]
Generated Node #0,1,0: 92:[45, 47] Operation: 54-7=47
Exploring Operation: 45-7=38, Resulting Numbers: [54, 38]
Generated Node #0,1,1: 92:[54, 38] Operation: 45-7=38
Exploring Operation: 54-45=9, Resulting Numbers: [7, 9]
Generated Node #0,1,2: 92:[7, 9] Operation: 54-45=9
Exploring Operation: 45+54=99, Resulting Numbers: [7, 99]
Generated Node #0,1,3: 92:[7, 99] Operation: 45+54=99
Exploring Operation: 45+7=52, Resulting Numbers: [54, 52]
Generated Node #0,1,4: 92:[54, 52] Operation: 45+7=52
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 92:[45, 47], Operations: ['36-29=7', '54-7=47']
Exploring Operation: 45+47=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[45, 54, 29, 36], Operations: []
Exploring Operation: 36-29=7, Resulting Numbers: [45, 54, 7]
Generated Node #0,1: 92:[45, 54, 7] Operation: 36-29=7
Moving to Node #0,1
Current State: 92:[45, 54, 7], Operations: ['36-29=7']
Exploring Operation: 54-7=47, Resulting Numbers: [45, 47]
Generated Node #0,1,0: 92:[45, 47] Operation: 54-7=47
Moving to Node #0,1,0
Current State: 92:[45, 47], Operations: ['36-29=7', '54-7=47']
Exploring Operation: 45+47=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 1
| 0.969618 | hs_5 | sum_heuristic |
[
54,
47,
82,
12
] | 87 | [
"54-47=7",
"82+12=94",
"94-7=87"
] | Current State: 87:[54, 47, 82, 12], Operations: []
Exploring Operation: 54-47=7, Resulting Numbers: [82, 12, 7]
Generated Node #2: [82, 12, 7] from Operation: 54-47=7
Current State: 87:[82, 12, 7], Operations: ['54-47=7']
Exploring Operation: 82+12=94, Resulting Numbers: [7, 94]
Generated Node #3: [7, 94] from Operation: 82+12=94
Current State: 87:[7, 94], Operations: ['54-47=7', '82+12=94']
Exploring Operation: 94-7=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[54, 47, 82, 12], Operations: []
Exploring Operation: 54-47=7, Resulting Numbers: [82, 12, 7]
Generated Node #0,0: 87:[82, 12, 7] Operation: 54-47=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 87:[82, 12, 7], Operations: ['54-47=7']
Exploring Operation: 12-7=5, Resulting Numbers: [82, 5]
Generated Node #0,0,0: 87:[82, 5] Operation: 12-7=5
Moving to Node #0,0,0
Current State: 87:[82, 5], Operations: ['54-47=7', '12-7=5']
Exploring Operation: 82+5=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[54, 47, 82, 12], Operations: []
Exploring Operation: 54-47=7, Resulting Numbers: [82, 12, 7]
Generated Node #0,0: 87:[82, 12, 7] Operation: 54-47=7
Moving to Node #0,0
Current State: 87:[82, 12, 7], Operations: ['54-47=7']
Exploring Operation: 12-7=5, Resulting Numbers: [82, 5]
Generated Node #0,0,0: 87:[82, 5] Operation: 12-7=5
Moving to Node #0,0,0
Current State: 87:[82, 5], Operations: ['54-47=7', '12-7=5']
Exploring Operation: 82+5=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
13,
94,
15,
97
] | 25 | [
"13+94=107",
"97-15=82",
"107-82=25"
] | Current State: 25:[13, 94, 15, 97], Operations: []
Exploring Operation: 13+94=107, Resulting Numbers: [15, 97, 107]
Generated Node #2: [15, 97, 107] from Operation: 13+94=107
Current State: 25:[15, 97, 107], Operations: ['13+94=107']
Exploring Operation: 97-15=82, Resulting Numbers: [107, 82]
Generated Node #3: [107, 82] from Operation: 97-15=82
Current State: 25:[107, 82], Operations: ['13+94=107', '97-15=82']
Exploring Operation: 107-82=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[13, 94, 15, 97], Operations: []
Exploring Operation: 97-94=3, Resulting Numbers: [13, 15, 3]
Generated Node #0,0: 25:[13, 15, 3] Operation: 97-94=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[13, 15, 3], Operations: ['97-94=3']
Exploring Operation: 13+15=28, Resulting Numbers: [3, 28]
Generated Node #0,0,0: 25:[3, 28] Operation: 13+15=28
Moving to Node #0,0,0
Current State: 25:[3, 28], Operations: ['97-94=3', '13+15=28']
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[13, 94, 15, 97], Operations: []
Exploring Operation: 97-94=3, Resulting Numbers: [13, 15, 3]
Generated Node #0,0: 25:[13, 15, 3] Operation: 97-94=3
Moving to Node #0,0
Current State: 25:[13, 15, 3], Operations: ['97-94=3']
Exploring Operation: 13+15=28, Resulting Numbers: [3, 28]
Generated Node #0,0,0: 25:[3, 28] Operation: 13+15=28
Moving to Node #0,0,0
Current State: 25:[3, 28], Operations: ['97-94=3', '13+15=28']
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
81,
5,
88,
87
] | 77 | [
"81-5=76",
"88-87=1",
"76+1=77"
] | Current State: 77:[81, 5, 88, 87], Operations: []
Exploring Operation: 81-5=76, Resulting Numbers: [88, 87, 76]
Generated Node #2: [88, 87, 76] from Operation: 81-5=76
Current State: 77:[88, 87, 76], Operations: ['81-5=76']
Exploring Operation: 88-87=1, Resulting Numbers: [76, 1]
Generated Node #3: [76, 1] from Operation: 88-87=1
Current State: 77:[76, 1], Operations: ['81-5=76', '88-87=1']
Exploring Operation: 76+1=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[81, 5, 88, 87], Operations: []
Exploring Operation: 87-81=6, Resulting Numbers: [5, 88, 6]
Generated Node #0,0: 77:[5, 88, 6] Operation: 87-81=6
Exploring Operation: 88-81=7, Resulting Numbers: [5, 87, 7]
Generated Node #0,1: 77:[5, 87, 7] Operation: 88-81=7
Exploring Operation: 88-87=1, Resulting Numbers: [81, 5, 1]
Generated Node #0,2: 77:[81, 5, 1] Operation: 88-87=1
Moving to Node #0,1
Current State: 77:[5, 87, 7], Operations: ['88-81=7']
Exploring Operation: 87-5=82, Resulting Numbers: [7, 82]
Generated Node #0,1,0: 77:[7, 82] Operation: 87-5=82
Exploring Operation: 87-7=80, Resulting Numbers: [5, 80]
Generated Node #0,1,1: 77:[5, 80] Operation: 87-7=80
Exploring Operation: 5+7=12, Resulting Numbers: [87, 12]
Generated Node #0,1,2: 77:[87, 12] Operation: 5+7=12
Moving to Node #0,2
Current State: 77:[81, 5, 1], Operations: ['88-87=1']
Exploring Operation: 81-1=80, Resulting Numbers: [5, 80]
Generated Node #0,2,0: 77:[5, 80] Operation: 81-1=80
Exploring Operation: 5+1=6, Resulting Numbers: [81, 6]
Generated Node #0,2,1: 77:[81, 6] Operation: 5+1=6
Exploring Operation: 81*1=81, Resulting Numbers: [5, 81]
Generated Node #0,2,2: 77:[5, 81] Operation: 81*1=81
Moving to Node #0,0
Current State: 77:[5, 88, 6], Operations: ['87-81=6']
Exploring Operation: 88-6=82, Resulting Numbers: [5, 82]
Generated Node #0,0,0: 77:[5, 82] Operation: 88-6=82
Exploring Operation: 5+6=11, Resulting Numbers: [88, 11]
Generated Node #0,0,1: 77:[88, 11] Operation: 5+6=11
Exploring Operation: 88-5=83, Resulting Numbers: [6, 83]
Generated Node #0,0,2: 77:[6, 83] Operation: 88-5=83
Moving to Node #0,1,0
Current State: 77:[7, 82], Operations: ['88-81=7', '87-5=82']
Exploring Operation: 82-7=75, Resulting Numbers: [75]
75,77 unequal: No Solution
Exploring Operation: 7+82=89, Resulting Numbers: [89]
89,77 unequal: No Solution
Exploring Operation: 7*82=574, Resulting Numbers: [574]
574,77 unequal: No Solution
Moving to Node #0,1,1
Current State: 77:[5, 80], Operations: ['88-81=7', '87-7=80']
Exploring Operation: 80/5=16, Resulting Numbers: [16]
16,77 unequal: No Solution
Exploring Operation: 5+80=85, Resulting Numbers: [85]
85,77 unequal: No Solution
Exploring Operation: 80-5=75, Resulting Numbers: [75]
75,77 unequal: No Solution
Moving to Node #0,2,1
Current State: 77:[81, 6], Operations: ['88-87=1', '5+1=6']
Exploring Operation: 81*6=486, Resulting Numbers: [486]
486,77 unequal: No Solution
Exploring Operation: 81-6=75, Resulting Numbers: [75]
75,77 unequal: No Solution
Exploring Operation: 81+6=87, Resulting Numbers: [87]
87,77 unequal: No Solution
Moving to Node #0,2,0
Current State: 77:[5, 80], Operations: ['88-87=1', '81-1=80']
Exploring Operation: 80/5=16, Resulting Numbers: [16]
16,77 unequal: No Solution
Exploring Operation: 80-5=75, Resulting Numbers: [75]
75,77 unequal: No Solution
Exploring Operation: 5+80=85, Resulting Numbers: [85]
85,77 unequal: No Solution
Moving to Node #0,2,2
Current State: 77:[5, 81], Operations: ['88-87=1', '81*1=81']
Exploring Operation: 5+81=86, Resulting Numbers: [86]
86,77 unequal: No Solution
Exploring Operation: 5*81=405, Resulting Numbers: [405]
405,77 unequal: No Solution
Exploring Operation: 81-5=76, Resulting Numbers: [76]
76,77 unequal: No Solution
Moving to Node #0,0,2
Current State: 77:[6, 83], Operations: ['87-81=6', '88-5=83']
Exploring Operation: 6+83=89, Resulting Numbers: [89]
89,77 unequal: No Solution
Exploring Operation: 6*83=498, Resulting Numbers: [498]
498,77 unequal: No Solution
Exploring Operation: 83-6=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[81, 5, 88, 87], Operations: []
Exploring Operation: 87-81=6, Resulting Numbers: [5, 88, 6]
Generated Node #0,0: 77:[5, 88, 6] Operation: 87-81=6
Moving to Node #0,0
Current State: 77:[5, 88, 6], Operations: ['87-81=6']
Exploring Operation: 88-5=83, Resulting Numbers: [6, 83]
Generated Node #0,0,2: 77:[6, 83] Operation: 88-5=83
Moving to Node #0,0,2
Current State: 77:[6, 83], Operations: ['87-81=6', '88-5=83']
Exploring Operation: 83-6=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 0.970486 | hs_3 | mult_heuristic |
[
36,
7,
51,
19
] | 68 | [
"36-19=17",
"7*17=119",
"119-51=68"
] | Current State: 68:[36, 7, 51, 19], Operations: []
Exploring Operation: 36-19=17, Resulting Numbers: [7, 51, 17]
Generated Node #2: [7, 51, 17] from Operation: 36-19=17
Current State: 68:[7, 51, 17], Operations: ['36-19=17']
Exploring Operation: 7*17=119, Resulting Numbers: [51, 119]
Generated Node #3: [51, 119] from Operation: 7*17=119
Current State: 68:[51, 119], Operations: ['36-19=17', '7*17=119']
Exploring Operation: 119-51=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[36, 7, 51, 19], Operations: []
Exploring Operation: 51-36=15, Resulting Numbers: [7, 19, 15]
Generated Node #0,0: 68:[7, 19, 15] Operation: 51-36=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[7, 19, 15], Operations: ['51-36=15']
Exploring Operation: 19+15=34, Resulting Numbers: [7, 34]
Generated Node #0,0,0: 68:[7, 34] Operation: 19+15=34
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 68:[7, 34], Operations: ['51-36=15', '19+15=34']
Exploring Operation: 7+34=41, Resulting Numbers: [41]
41,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 |
[
30,
21,
51,
99
] | 62 | [
"30-21=9",
"99/9=11",
"51+11=62"
] | Current State: 62:[30, 21, 51, 99], Operations: []
Exploring Operation: 30-21=9, Resulting Numbers: [51, 99, 9]
Generated Node #2: [51, 99, 9] from Operation: 30-21=9
Current State: 62:[51, 99, 9], Operations: ['30-21=9']
Exploring Operation: 99/9=11, Resulting Numbers: [51, 11]
Generated Node #3: [51, 11] from Operation: 99/9=11
Current State: 62:[51, 11], Operations: ['30-21=9', '99/9=11']
Exploring Operation: 51+11=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[30, 21, 51, 99], Operations: []
Exploring Operation: 99-51=48, Resulting Numbers: [30, 21, 48]
Generated Node #0,0: 62:[30, 21, 48] Operation: 99-51=48
Exploring Operation: 99-30=69, Resulting Numbers: [21, 51, 69]
Generated Node #0,1: 62:[21, 51, 69] Operation: 99-30=69
Moving to Node #0,0
Current State: 62:[30, 21, 48], Operations: ['99-51=48']
Exploring Operation: 48-21=27, Resulting Numbers: [30, 27]
Generated Node #0,0,0: 62:[30, 27] Operation: 48-21=27
Exploring Operation: 21+48=69, Resulting Numbers: [30, 69]
Generated Node #0,0,1: 62:[30, 69] Operation: 21+48=69
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 62:[30, 27], Operations: ['99-51=48', '48-21=27']
Exploring Operation: 30-27=3, Resulting Numbers: [3]
3,62 unequal: No Solution
Exploring Operation: 30+27=57, Resulting Numbers: [57]
57,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 62:[30, 69], Operations: ['99-51=48', '21+48=69']
Exploring Operation: 69-30=39, Resulting Numbers: [39]
39,62 unequal: No Solution
Exploring Operation: 30+69=99, Resulting Numbers: [99]
99,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 62:[21, 51, 69], Operations: ['99-30=69']
Exploring Operation: 51-21=30, Resulting Numbers: [69, 30]
Generated Node #0,1,0: 62:[69, 30] Operation: 51-21=30
Exploring Operation: 21+51=72, Resulting Numbers: [69, 72]
Generated Node #0,1,1: 62:[69, 72] Operation: 21+51=72
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 62:[69, 30], Operations: ['99-30=69', '51-21=30']
Exploring Operation: 69-30=39, Resulting Numbers: [39]
39,62 unequal: No Solution
Exploring Operation: 69+30=99, Resulting Numbers: [99]
99,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 62:[69, 72], Operations: ['99-30=69', '21+51=72']
Exploring Operation: 69+72=141, Resulting Numbers: [141]
141,62 unequal: No Solution
Exploring Operation: 72-69=3, Resulting Numbers: [3]
3,62 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 |
[
56,
85,
99,
54
] | 96 | [
"56+85=141",
"99-54=45",
"141-45=96"
] | Current State: 96:[56, 85, 99, 54], Operations: []
Exploring Operation: 56+85=141, Resulting Numbers: [99, 54, 141]
Generated Node #2: [99, 54, 141] from Operation: 56+85=141
Current State: 96:[99, 54, 141], Operations: ['56+85=141']
Exploring Operation: 99-54=45, Resulting Numbers: [141, 45]
Generated Node #3: [141, 45] from Operation: 99-54=45
Current State: 96:[141, 45], Operations: ['56+85=141', '99-54=45']
Exploring Operation: 141-45=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[56, 85, 99, 54], Operations: []
Exploring Operation: 85-56=29, Resulting Numbers: [99, 54, 29]
Generated Node #0,0: 96:[99, 54, 29] Operation: 85-56=29
Moving to Node #0,0
Current State: 96:[99, 54, 29], Operations: ['85-56=29']
Exploring Operation: 54-29=25, Resulting Numbers: [99, 25]
Generated Node #0,0,0: 96:[99, 25] Operation: 54-29=25
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 96:[99, 25], Operations: ['85-56=29', '54-29=25']
Exploring Operation: 99-25=74, Resulting Numbers: [74]
74,96 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 |
[
35,
55,
36,
39
] | 60 | [
"55-35=20",
"39-36=3",
"20*3=60"
] | Current State: 60:[35, 55, 36, 39], Operations: []
Exploring Operation: 55-35=20, Resulting Numbers: [36, 39, 20]
Generated Node #2: [36, 39, 20] from Operation: 55-35=20
Current State: 60:[36, 39, 20], Operations: ['55-35=20']
Exploring Operation: 39-36=3, Resulting Numbers: [20, 3]
Generated Node #3: [20, 3] from Operation: 39-36=3
Current State: 60:[20, 3], Operations: ['55-35=20', '39-36=3']
Exploring Operation: 20*3=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[35, 55, 36, 39], Operations: []
Exploring Operation: 39-35=4, Resulting Numbers: [55, 36, 4]
Generated Node #0,0: 60:[55, 36, 4] Operation: 39-35=4
Exploring Operation: 36-35=1, Resulting Numbers: [55, 39, 1]
Generated Node #0,1: 60:[55, 39, 1] Operation: 36-35=1
Exploring Operation: 55-39=16, Resulting Numbers: [35, 36, 16]
Generated Node #0,2: 60:[35, 36, 16] Operation: 55-39=16
Exploring Operation: 55-35=20, Resulting Numbers: [36, 39, 20]
Generated Node #0,3: 60:[36, 39, 20] Operation: 55-35=20
Exploring Operation: 39-36=3, Resulting Numbers: [35, 55, 3]
Generated Node #0,4: 60:[35, 55, 3] Operation: 39-36=3
Start Sub Search at level 1: Moving to Node #0,4
Current State: 60:[35, 55, 3], Operations: ['39-36=3']
Exploring Operation: 55+3=58, Resulting Numbers: [35, 58]
Generated Node #0,4,0: 60:[35, 58] Operation: 55+3=58
Exploring Operation: 35+3=38, Resulting Numbers: [55, 38]
Generated Node #0,4,1: 60:[55, 38] Operation: 35+3=38
Exploring Operation: 35-3=32, Resulting Numbers: [55, 32]
Generated Node #0,4,2: 60:[55, 32] Operation: 35-3=32
Exploring Operation: 55-3=52, Resulting Numbers: [35, 52]
Generated Node #0,4,3: 60:[35, 52] Operation: 55-3=52
Exploring Operation: 55-35=20, Resulting Numbers: [3, 20]
Generated Node #0,4,4: 60:[3, 20] Operation: 55-35=20
Moving to Node #0,4,4
Current State: 60:[3, 20], Operations: ['39-36=3', '55-35=20']
Exploring Operation: 3+20=23, Resulting Numbers: [23]
23,60 unequal: No Solution
Exploring Operation: 3*20=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[35, 55, 36, 39], Operations: []
Exploring Operation: 39-36=3, Resulting Numbers: [35, 55, 3]
Generated Node #0,4: 60:[35, 55, 3] Operation: 39-36=3
Moving to Node #0,4
Current State: 60:[35, 55, 3], Operations: ['39-36=3']
Exploring Operation: 55-35=20, Resulting Numbers: [3, 20]
Generated Node #0,4,4: 60:[3, 20] Operation: 55-35=20
Moving to Node #0,4,4
Current State: 60:[3, 20], Operations: ['39-36=3', '55-35=20']
Exploring Operation: 3*20=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
84,
40,
80,
78
] | 20 | [
"84-78=6",
"40+80=120",
"120/6=20"
] | Current State: 20:[84, 40, 80, 78], Operations: []
Exploring Operation: 84-78=6, Resulting Numbers: [40, 80, 6]
Generated Node #2: [40, 80, 6] from Operation: 84-78=6
Current State: 20:[40, 80, 6], Operations: ['84-78=6']
Exploring Operation: 40+80=120, Resulting Numbers: [6, 120]
Generated Node #3: [6, 120] from Operation: 40+80=120
Current State: 20:[6, 120], Operations: ['84-78=6', '40+80=120']
Exploring Operation: 120/6=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[84, 40, 80, 78], Operations: []
Exploring Operation: 84-40=44, Resulting Numbers: [80, 78, 44]
Generated Node #0,0: 20:[80, 78, 44] Operation: 84-40=44
Exploring Operation: 84-78=6, Resulting Numbers: [40, 80, 6]
Generated Node #0,1: 20:[40, 80, 6] Operation: 84-78=6
Exploring Operation: 80/40=2, Resulting Numbers: [84, 78, 2]
Generated Node #0,2: 20:[84, 78, 2] Operation: 80/40=2
Exploring Operation: 80-78=2, Resulting Numbers: [84, 40, 2]
Generated Node #0,3: 20:[84, 40, 2] Operation: 80-78=2
Exploring Operation: 84-80=4, Resulting Numbers: [40, 78, 4]
Generated Node #0,4: 20:[40, 78, 4] Operation: 84-80=4
Moving to Node #0,4
Current State: 20:[40, 78, 4], Operations: ['84-80=4']
Exploring Operation: 40+4=44, Resulting Numbers: [78, 44]
Generated Node #0,4,0: 20:[78, 44] Operation: 40+4=44
Exploring Operation: 40/4=10, Resulting Numbers: [78, 10]
Generated Node #0,4,1: 20:[78, 10] Operation: 40/4=10
Exploring Operation: 78-4=74, Resulting Numbers: [40, 74]
Generated Node #0,4,2: 20:[40, 74] Operation: 78-4=74
Exploring Operation: 78-40=38, Resulting Numbers: [4, 38]
Generated Node #0,4,3: 20:[4, 38] Operation: 78-40=38
Exploring Operation: 40-4=36, Resulting Numbers: [78, 36]
Generated Node #0,4,4: 20:[78, 36] Operation: 40-4=36
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 20:[4, 38], Operations: ['84-80=4', '78-40=38']
Exploring Operation: 4*38=152, Resulting Numbers: [152]
152,20 unequal: No Solution
Exploring Operation: 4+38=42, Resulting Numbers: [42]
42,20 unequal: No Solution
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,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,4,1
Current State: 20:[78, 10], Operations: ['84-80=4', '40/4=10']
Exploring Operation: 78-10=68, Resulting Numbers: [68]
68,20 unequal: No Solution
Exploring Operation: 78+10=88, Resulting Numbers: [88]
88,20 unequal: No Solution
Exploring Operation: 78*10=780, Resulting Numbers: [780]
780,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,4,2
Current State: 20:[40, 74], Operations: ['84-80=4', '78-4=74']
Exploring Operation: 74-40=34, Resulting Numbers: [34]
34,20 unequal: No Solution
Exploring Operation: 40*74=2960, Resulting Numbers: [2960]
2960,20 unequal: No Solution
Exploring Operation: 40+74=114, Resulting Numbers: [114]
114,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,4,4
Current State: 20:[78, 36], Operations: ['84-80=4', '40-4=36']
Exploring Operation: 78*36=2808, Resulting Numbers: [2808]
2808,20 unequal: No Solution
Exploring Operation: 78-36=42, Resulting Numbers: [42]
42,20 unequal: No Solution
Exploring Operation: 78+36=114, Resulting Numbers: [114]
114,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,4,0
Current State: 20:[78, 44], Operations: ['84-80=4', '40+4=44']
Exploring Operation: 78+44=122, Resulting Numbers: [122]
122,20 unequal: No Solution
Exploring Operation: 78*44=3432, Resulting Numbers: [3432]
3432,20 unequal: No Solution
Exploring Operation: 78-44=34, Resulting Numbers: [34]
34,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:[40, 80, 6], Operations: ['84-78=6']
Exploring Operation: 80-40=40, Resulting Numbers: [6, 40]
Generated Node #0,1,0: 20:[6, 40] Operation: 80-40=40
Exploring Operation: 40-6=34, Resulting Numbers: [80, 34]
Generated Node #0,1,1: 20:[80, 34] Operation: 40-6=34
Exploring Operation: 80/40=2, Resulting Numbers: [6, 2]
Generated Node #0,1,2: 20:[6, 2] Operation: 80/40=2
Exploring Operation: 40+6=46, Resulting Numbers: [80, 46]
Generated Node #0,1,3: 20:[80, 46] Operation: 40+6=46
Exploring Operation: 80-6=74, Resulting Numbers: [40, 74]
Generated Node #0,1,4: 20:[40, 74] Operation: 80-6=74
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 20:[6, 2], Operations: ['84-78=6', '80/40=2']
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,20 unequal: No Solution
Exploring Operation: 6+2=8, Resulting Numbers: [8]
8,20 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,20 unequal: No Solution
Exploring Operation: 6*2=12, Resulting Numbers: [12]
12,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:[6, 40], Operations: ['84-78=6', '80-40=40']
Exploring Operation: 6+40=46, Resulting Numbers: [46]
46,20 unequal: No Solution
Exploring Operation: 6*40=240, Resulting Numbers: [240]
240,20 unequal: No Solution
Exploring Operation: 40-6=34, Resulting Numbers: [34]
34,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,1
Current State: 20:[80, 34], Operations: ['84-78=6', '40-6=34']
Exploring Operation: 80*34=2720, Resulting Numbers: [2720]
2720,20 unequal: No Solution
Exploring Operation: 80+34=114, Resulting Numbers: [114]
114,20 unequal: No Solution
Exploring Operation: 80-34=46, Resulting Numbers: [46]
46,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,4
Current State: 20:[40, 74], Operations: ['84-78=6', '80-6=74']
Exploring Operation: 40+74=114, Resulting Numbers: [114]
114,20 unequal: No Solution
Exploring Operation: 74-40=34, Resulting Numbers: [34]
34,20 unequal: No Solution
Exploring Operation: 40*74=2960, Resulting Numbers: [2960]
2960,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,3
Current State: 20:[80, 46], Operations: ['84-78=6', '40+6=46']
Exploring Operation: 80+46=126, Resulting Numbers: [126]
126,20 unequal: No Solution
Exploring Operation: 80-46=34, Resulting Numbers: [34]
34,20 unequal: No Solution
Exploring Operation: 80*46=3680, Resulting Numbers: [3680]
3680,20 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: 20:[84, 40, 2], Operations: ['80-78=2']
Exploring Operation: 40/2=20, Resulting Numbers: [84, 20]
Generated Node #0,3,0: 20:[84, 20] Operation: 40/2=20
Exploring Operation: 84/2=42, Resulting Numbers: [40, 42]
Generated Node #0,3,1: 20:[40, 42] Operation: 84/2=42
Exploring Operation: 84-40=44, Resulting Numbers: [2, 44]
Generated Node #0,3,2: 20:[2, 44] Operation: 84-40=44
Exploring Operation: 84-2=82, Resulting Numbers: [40, 82]
Generated Node #0,3,3: 20:[40, 82] Operation: 84-2=82
Exploring Operation: 40-2=38, Resulting Numbers: [84, 38]
Generated Node #0,3,4: 20:[84, 38] Operation: 40-2=38
Moving to Node #0,2
Current State: 20:[84, 78, 2], Operations: ['80/40=2']
Exploring Operation: 78-2=76, Resulting Numbers: [84, 76]
Generated Node #0,2,0: 20:[84, 76] Operation: 78-2=76
Exploring Operation: 78/2=39, Resulting Numbers: [84, 39]
Generated Node #0,2,1: 20:[84, 39] Operation: 78/2=39
Exploring Operation: 84-2=82, Resulting Numbers: [78, 82]
Generated Node #0,2,2: 20:[78, 82] Operation: 84-2=82
Exploring Operation: 84-78=6, Resulting Numbers: [2, 6]
Generated Node #0,2,3: 20:[2, 6] Operation: 84-78=6
Exploring Operation: 84/2=42, Resulting Numbers: [78, 42]
Generated Node #0,2,4: 20:[78, 42] Operation: 84/2=42
Moving to Node #0,0
Current State: 20:[80, 78, 44], Operations: ['84-40=44']
Exploring Operation: 80-78=2, Resulting Numbers: [44, 2]
Generated Node #0,0,0: 20:[44, 2] Operation: 80-78=2
Exploring Operation: 80-44=36, Resulting Numbers: [78, 36]
Generated Node #0,0,1: 20:[78, 36] Operation: 80-44=36
Exploring Operation: 80+44=124, Resulting Numbers: [78, 124]
Generated Node #0,0,2: 20:[78, 124] Operation: 80+44=124
Exploring Operation: 80+78=158, Resulting Numbers: [44, 158]
Generated Node #0,0,3: 20:[44, 158] Operation: 80+78=158
Exploring Operation: 78-44=34, Resulting Numbers: [80, 34]
Generated Node #0,0,4: 20:[80, 34] Operation: 78-44=34
Moving to Node #0,2,3
Current State: 20:[2, 6], Operations: ['80/40=2', '84-78=6']
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,20 unequal: No Solution
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,20 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,20 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,20 unequal: No Solution
Moving to Node #0,3,2
Current State: 20:[2, 44], Operations: ['80-78=2', '84-40=44']
Exploring Operation: 44-2=42, Resulting Numbers: [42]
42,20 unequal: No Solution
Exploring Operation: 44/2=22, Resulting Numbers: [22]
22,20 unequal: No Solution
Exploring Operation: 2*44=88, Resulting Numbers: [88]
88,20 unequal: No Solution
Exploring Operation: 2+44=46, Resulting Numbers: [46]
46,20 unequal: No Solution
Moving to Node #0,0,0
Current State: 20:[44, 2], Operations: ['84-40=44', '80-78=2']
Exploring Operation: 44+2=46, Resulting Numbers: [46]
46,20 unequal: No Solution
Exploring Operation: 44/2=22, Resulting Numbers: [22]
22,20 unequal: No Solution
Exploring Operation: 44-2=42, Resulting Numbers: [42]
42,20 unequal: No Solution
Exploring Operation: 44*2=88, Resulting Numbers: [88]
88,20 unequal: No Solution
Moving to Node #0,3,1
Current State: 20:[40, 42], Operations: ['80-78=2', '84/2=42']
Exploring Operation: 40+42=82, Resulting Numbers: [82]
82,20 unequal: No Solution
Exploring Operation: 42-40=2, Resulting Numbers: [2]
2,20 unequal: No Solution
Exploring Operation: 40*42=1680, Resulting Numbers: [1680]
1680,20 unequal: No Solution
Moving to Node #0,3,0
Current State: 20:[84, 20], Operations: ['80-78=2', '40/2=20']
Exploring Operation: 84-20=64, Resulting Numbers: [64]
64,20 unequal: No Solution
Exploring Operation: 84*20=1680, Resulting Numbers: [1680]
1680,20 unequal: No Solution
Exploring Operation: 84+20=104, Resulting Numbers: [104]
104,20 unequal: No Solution
Moving to Node #0,0,4
Current State: 20:[80, 34], Operations: ['84-40=44', '78-44=34']
Exploring Operation: 80-34=46, Resulting Numbers: [46]
46,20 unequal: No Solution
Exploring Operation: 80*34=2720, Resulting Numbers: [2720]
2720,20 unequal: No Solution
Exploring Operation: 80+34=114, Resulting Numbers: [114]
114,20 unequal: No Solution
Moving to Node #0,0,1
Current State: 20:[78, 36], Operations: ['84-40=44', '80-44=36']
Exploring Operation: 78*36=2808, Resulting Numbers: [2808]
2808,20 unequal: No Solution
Exploring Operation: 78-36=42, Resulting Numbers: [42]
42,20 unequal: No Solution
Exploring Operation: 78+36=114, Resulting Numbers: [114]
114,20 unequal: No Solution
Moving to Node #0,2,4
Current State: 20:[78, 42], Operations: ['80/40=2', '84/2=42']
Exploring Operation: 78-42=36, Resulting Numbers: [36]
36,20 unequal: No Solution
Exploring Operation: 78+42=120, Resulting Numbers: [120]
120,20 unequal: No Solution
Exploring Operation: 78*42=3276, Resulting Numbers: [3276]
3276,20 unequal: No Solution
Moving to Node #0,3,4
Current State: 20:[84, 38], Operations: ['80-78=2', '40-2=38']
Exploring Operation: 84-38=46, Resulting Numbers: [46]
46,20 unequal: No Solution
Exploring Operation: 84*38=3192, Resulting Numbers: [3192]
3192,20 unequal: No Solution
Exploring Operation: 84+38=122, Resulting Numbers: [122]
122,20 unequal: No Solution
Moving to Node #0,3,3
Current State: 20:[40, 82], Operations: ['80-78=2', '84-2=82']
Exploring Operation: 40+82=122, Resulting Numbers: [122]
122,20 unequal: No Solution
Exploring Operation: 40*82=3280, Resulting Numbers: [3280]
3280,20 unequal: No Solution
Exploring Operation: 82-40=42, Resulting Numbers: [42]
42,20 unequal: No Solution
Moving to Node #0,2,1
Current State: 20:[84, 39], Operations: ['80/40=2', '78/2=39']
Exploring Operation: 84+39=123, Resulting Numbers: [123]
123,20 unequal: No Solution
Exploring Operation: 84-39=45, Resulting Numbers: [45]
45,20 unequal: No Solution
Exploring Operation: 84*39=3276, Resulting Numbers: [3276]
3276,20 unequal: No Solution
Moving to Node #0,2,0
Current State: 20:[84, 76], Operations: ['80/40=2', '78-2=76']
Exploring Operation: 84+76=160, Resulting Numbers: [160]
160,20 unequal: No Solution
Exploring Operation: 84*76=6384, Resulting Numbers: [6384]
6384,20 unequal: No Solution
Exploring Operation: 84-76=8, Resulting Numbers: [8]
8,20 unequal: No Solution
Moving to Node #0,2,2
Current State: 20:[78, 82], Operations: ['80/40=2', '84-2=82']
Exploring Operation: 82-78=4, Resulting Numbers: [4]
4,20 unequal: No Solution
Exploring Operation: 78*82=6396, Resulting Numbers: [6396]
6396,20 unequal: No Solution
Exploring Operation: 78+82=160, Resulting Numbers: [160]
160,20 unequal: No Solution
Moving to Node #0,0,3
Current State: 20:[44, 158], Operations: ['84-40=44', '80+78=158']
Exploring Operation: 158-44=114, Resulting Numbers: [114]
114,20 unequal: No Solution
Exploring Operation: 44*158=6952, Resulting Numbers: [6952]
6952,20 unequal: No Solution
Exploring Operation: 44+158=202, Resulting Numbers: [202]
202,20 unequal: No Solution
Moving to Node #0,0,2
Current State: 20:[78, 124], Operations: ['84-40=44', '80+44=124']
Exploring Operation: 78+124=202, Resulting Numbers: [202]
202,20 unequal: No Solution
Exploring Operation: 78*124=9672, Resulting Numbers: [9672]
9672,20 unequal: No Solution
Exploring Operation: 124-78=46, Resulting Numbers: [46]
46,20 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
95,
47,
13,
5
] | 53 | [
"95/5=19",
"47-13=34",
"19+34=53"
] | Current State: 53:[95, 47, 13, 5], Operations: []
Exploring Operation: 95/5=19, Resulting Numbers: [47, 13, 19]
Generated Node #2: [47, 13, 19] from Operation: 95/5=19
Current State: 53:[47, 13, 19], Operations: ['95/5=19']
Exploring Operation: 47-13=34, Resulting Numbers: [19, 34]
Generated Node #3: [19, 34] from Operation: 47-13=34
Current State: 53:[19, 34], Operations: ['95/5=19', '47-13=34']
Exploring Operation: 19+34=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[95, 47, 13, 5], Operations: []
Exploring Operation: 95-13=82, Resulting Numbers: [47, 5, 82]
Generated Node #0,0: 53:[47, 5, 82] Operation: 95-13=82
Exploring Operation: 95/5=19, Resulting Numbers: [47, 13, 19]
Generated Node #0,1: 53:[47, 13, 19] Operation: 95/5=19
Exploring Operation: 95-5=90, Resulting Numbers: [47, 13, 90]
Generated Node #0,2: 53:[47, 13, 90] Operation: 95-5=90
Exploring Operation: 13*5=65, Resulting Numbers: [95, 47, 65]
Generated Node #0,3: 53:[95, 47, 65] Operation: 13*5=65
Moving to Node #0,3
Current State: 53:[95, 47, 65], Operations: ['13*5=65']
Exploring Operation: 95-65=30, Resulting Numbers: [47, 30]
Generated Node #0,3,0: 53:[47, 30] Operation: 95-65=30
Exploring Operation: 95+47=142, Resulting Numbers: [65, 142]
Generated Node #0,3,1: 53:[65, 142] Operation: 95+47=142
Exploring Operation: 95-47=48, Resulting Numbers: [65, 48]
Generated Node #0,3,2: 53:[65, 48] Operation: 95-47=48
Exploring Operation: 65-47=18, Resulting Numbers: [95, 18]
Generated Node #0,3,3: 53:[95, 18] Operation: 65-47=18
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 53:[65, 48], Operations: ['13*5=65', '95-47=48']
Exploring Operation: 65+48=113, Resulting Numbers: [113]
113,53 unequal: No Solution
Exploring Operation: 65-48=17, Resulting Numbers: [17]
17,53 unequal: No Solution
Exploring Operation: 65*48=3120, Resulting Numbers: [3120]
3120,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 53:[47, 30], Operations: ['13*5=65', '95-65=30']
Exploring Operation: 47-30=17, Resulting Numbers: [17]
17,53 unequal: No Solution
Exploring Operation: 47+30=77, Resulting Numbers: [77]
77,53 unequal: No Solution
Exploring Operation: 47*30=1410, Resulting Numbers: [1410]
1410,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 53:[95, 18], Operations: ['13*5=65', '65-47=18']
Exploring Operation: 95*18=1710, Resulting Numbers: [1710]
1710,53 unequal: No Solution
Exploring Operation: 95+18=113, Resulting Numbers: [113]
113,53 unequal: No Solution
Exploring Operation: 95-18=77, Resulting Numbers: [77]
77,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 53:[65, 142], Operations: ['13*5=65', '95+47=142']
Exploring Operation: 142-65=77, Resulting Numbers: [77]
77,53 unequal: No Solution
Exploring Operation: 65+142=207, Resulting Numbers: [207]
207,53 unequal: No Solution
Exploring Operation: 65*142=9230, Resulting Numbers: [9230]
9230,53 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: 53:[47, 13, 19], Operations: ['95/5=19']
Exploring Operation: 13+19=32, Resulting Numbers: [47, 32]
Generated Node #0,1,0: 53:[47, 32] Operation: 13+19=32
Exploring Operation: 47-13=34, Resulting Numbers: [19, 34]
Generated Node #0,1,1: 53:[19, 34] Operation: 47-13=34
Exploring Operation: 47+13=60, Resulting Numbers: [19, 60]
Generated Node #0,1,2: 53:[19, 60] Operation: 47+13=60
Exploring Operation: 47+19=66, Resulting Numbers: [13, 66]
Generated Node #0,1,3: 53:[13, 66] Operation: 47+19=66
Moving to Node #0,2
Current State: 53:[47, 13, 90], Operations: ['95-5=90']
Exploring Operation: 47-13=34, Resulting Numbers: [90, 34]
Generated Node #0,2,0: 53:[90, 34] Operation: 47-13=34
Exploring Operation: 90-13=77, Resulting Numbers: [47, 77]
Generated Node #0,2,1: 53:[47, 77] Operation: 90-13=77
Exploring Operation: 90-47=43, Resulting Numbers: [13, 43]
Generated Node #0,2,2: 53:[13, 43] Operation: 90-47=43
Exploring Operation: 47+13=60, Resulting Numbers: [90, 60]
Generated Node #0,2,3: 53:[90, 60] Operation: 47+13=60
Moving to Node #0,0
Current State: 53:[47, 5, 82], Operations: ['95-13=82']
Exploring Operation: 82-5=77, Resulting Numbers: [47, 77]
Generated Node #0,0,0: 53:[47, 77] Operation: 82-5=77
Exploring Operation: 5+82=87, Resulting Numbers: [47, 87]
Generated Node #0,0,1: 53:[47, 87] Operation: 5+82=87
Exploring Operation: 47+5=52, Resulting Numbers: [82, 52]
Generated Node #0,0,2: 53:[82, 52] Operation: 47+5=52
Exploring Operation: 47-5=42, Resulting Numbers: [82, 42]
Generated Node #0,0,3: 53:[82, 42] Operation: 47-5=42
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 53:[47, 77], Operations: ['95-13=82', '82-5=77']
Exploring Operation: 77-47=30, Resulting Numbers: [30]
30,53 unequal: No Solution
Exploring Operation: 47*77=3619, Resulting Numbers: [3619]
3619,53 unequal: No Solution
Exploring Operation: 47+77=124, Resulting Numbers: [124]
124,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 53:[82, 52], Operations: ['95-13=82', '47+5=52']
Exploring Operation: 82*52=4264, Resulting Numbers: [4264]
4264,53 unequal: No Solution
Exploring Operation: 82+52=134, Resulting Numbers: [134]
134,53 unequal: No Solution
Exploring Operation: 82-52=30, Resulting Numbers: [30]
30,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 53:[47, 87], Operations: ['95-13=82', '5+82=87']
Exploring Operation: 47*87=4089, Resulting Numbers: [4089]
4089,53 unequal: No Solution
Exploring Operation: 47+87=134, Resulting Numbers: [134]
134,53 unequal: No Solution
Exploring Operation: 87-47=40, Resulting Numbers: [40]
40,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 53:[82, 42], Operations: ['95-13=82', '47-5=42']
Exploring Operation: 82+42=124, Resulting Numbers: [124]
124,53 unequal: No Solution
Exploring Operation: 82-42=40, Resulting Numbers: [40]
40,53 unequal: No Solution
Exploring Operation: 82*42=3444, Resulting Numbers: [3444]
3444,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 53:[47, 32], Operations: ['95/5=19', '13+19=32']
Exploring Operation: 47-32=15, Resulting Numbers: [15]
15,53 unequal: No Solution
Exploring Operation: 47+32=79, Resulting Numbers: [79]
79,53 unequal: No Solution
Exploring Operation: 47*32=1504, Resulting Numbers: [1504]
1504,53 unequal: No Solution
Moving to Node #0,2,1
Current State: 53:[47, 77], Operations: ['95-5=90', '90-13=77']
Exploring Operation: 47+77=124, Resulting Numbers: [124]
124,53 unequal: No Solution
Exploring Operation: 47*77=3619, Resulting Numbers: [3619]
3619,53 unequal: No Solution
Exploring Operation: 77-47=30, Resulting Numbers: [30]
30,53 unequal: No Solution
Moving to Node #0,1,2
Current State: 53:[19, 60], Operations: ['95/5=19', '47+13=60']
Exploring Operation: 60-19=41, Resulting Numbers: [41]
41,53 unequal: No Solution
Exploring Operation: 19*60=1140, Resulting Numbers: [1140]
1140,53 unequal: No Solution
Exploring Operation: 19+60=79, Resulting Numbers: [79]
79,53 unequal: No Solution
Moving to Node #0,2,3
Current State: 53:[90, 60], Operations: ['95-5=90', '47+13=60']
Exploring Operation: 90*60=5400, Resulting Numbers: [5400]
5400,53 unequal: No Solution
Exploring Operation: 90-60=30, Resulting Numbers: [30]
30,53 unequal: No Solution
Exploring Operation: 90+60=150, Resulting Numbers: [150]
150,53 unequal: No Solution
Moving to Node #0,2,2
Current State: 53:[13, 43], Operations: ['95-5=90', '90-47=43']
Exploring Operation: 13*43=559, Resulting Numbers: [559]
559,53 unequal: No Solution
Exploring Operation: 43-13=30, Resulting Numbers: [30]
30,53 unequal: No Solution
Exploring Operation: 13+43=56, Resulting Numbers: [56]
56,53 unequal: No Solution
Moving to Node #0,1,1
Current State: 53:[19, 34], Operations: ['95/5=19', '47-13=34']
Exploring Operation: 19*34=646, Resulting Numbers: [646]
646,53 unequal: No Solution
Exploring Operation: 19+34=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[95, 47, 13, 5], Operations: []
Exploring Operation: 95/5=19, Resulting Numbers: [47, 13, 19]
Generated Node #0,1: 53:[47, 13, 19] Operation: 95/5=19
Moving to Node #0,1
Current State: 53:[47, 13, 19], Operations: ['95/5=19']
Exploring Operation: 47-13=34, Resulting Numbers: [19, 34]
Generated Node #0,1,1: 53:[19, 34] Operation: 47-13=34
Moving to Node #0,1,1
Current State: 53:[19, 34], Operations: ['95/5=19', '47-13=34']
Exploring Operation: 19+34=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 0.943576 | hs_4 | sum_heuristic |
[
81,
85,
70,
76
] | 61 | [
"85-76=9",
"81/9=9",
"70-9=61"
] | Current State: 61:[81, 85, 70, 76], Operations: []
Exploring Operation: 85-76=9, Resulting Numbers: [81, 70, 9]
Generated Node #2: [81, 70, 9] from Operation: 85-76=9
Current State: 61:[81, 70, 9], Operations: ['85-76=9']
Exploring Operation: 81/9=9, Resulting Numbers: [70, 9]
Generated Node #3: [70, 9] from Operation: 81/9=9
Current State: 61:[70, 9], Operations: ['85-76=9', '81/9=9']
Exploring Operation: 70-9=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[81, 85, 70, 76], Operations: []
Exploring Operation: 85-81=4, Resulting Numbers: [70, 76, 4]
Generated Node #0,0: 61:[70, 76, 4] Operation: 85-81=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[70, 76, 4], Operations: ['85-81=4']
Exploring Operation: 70-4=66, Resulting Numbers: [76, 66]
Generated Node #0,0,0: 61:[76, 66] Operation: 70-4=66
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 61:[76, 66], Operations: ['85-81=4', '70-4=66']
Exploring Operation: 76-66=10, Resulting Numbers: [10]
10,61 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 |
[
28,
77,
48,
36
] | 74 | [
"48+36=84",
"84/28=3",
"77-3=74"
] | Current State: 74:[28, 77, 48, 36], Operations: []
Exploring Operation: 48+36=84, Resulting Numbers: [28, 77, 84]
Generated Node #2: [28, 77, 84] from Operation: 48+36=84
Current State: 74:[28, 77, 84], Operations: ['48+36=84']
Exploring Operation: 84/28=3, Resulting Numbers: [77, 3]
Generated Node #3: [77, 3] from Operation: 84/28=3
Current State: 74:[77, 3], Operations: ['48+36=84', '84/28=3']
Exploring Operation: 77-3=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[28, 77, 48, 36], Operations: []
Exploring Operation: 28+48=76, Resulting Numbers: [77, 36, 76]
Generated Node #0,0: 74:[77, 36, 76] Operation: 28+48=76
Exploring Operation: 77-48=29, Resulting Numbers: [28, 36, 29]
Generated Node #0,1: 74:[28, 36, 29] Operation: 77-48=29
Exploring Operation: 48+36=84, Resulting Numbers: [28, 77, 84]
Generated Node #0,2: 74:[28, 77, 84] Operation: 48+36=84
Exploring Operation: 36-28=8, Resulting Numbers: [77, 48, 8]
Generated Node #0,3: 74:[77, 48, 8] Operation: 36-28=8
Exploring Operation: 48-28=20, Resulting Numbers: [77, 36, 20]
Generated Node #0,4: 74:[77, 36, 20] Operation: 48-28=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[77, 36, 76], Operations: ['28+48=76']
Exploring Operation: 76-36=40, Resulting Numbers: [77, 40]
Generated Node #0,0,0: 74:[77, 40] Operation: 76-36=40
Exploring Operation: 77+36=113, Resulting Numbers: [76, 113]
Generated Node #0,0,1: 74:[76, 113] Operation: 77+36=113
Exploring Operation: 77-76=1, Resulting Numbers: [36, 1]
Generated Node #0,0,2: 74:[36, 1] Operation: 77-76=1
Exploring Operation: 77-36=41, Resulting Numbers: [76, 41]
Generated Node #0,0,3: 74:[76, 41] Operation: 77-36=41
Exploring Operation: 36+76=112, Resulting Numbers: [77, 112]
Generated Node #0,0,4: 74:[77, 112] Operation: 36+76=112
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 74:[36, 1], Operations: ['28+48=76', '77-76=1']
Exploring Operation: 36/1=36, Resulting Numbers: [36]
36,74 unequal: No Solution
Exploring Operation: 36-1=35, Resulting Numbers: [35]
35,74 unequal: No Solution
Exploring Operation: 36*1=36, Resulting Numbers: [36]
36,74 unequal: No Solution
Exploring Operation: 36+1=37, Resulting Numbers: [37]
37,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 74:[77, 40], Operations: ['28+48=76', '76-36=40']
Exploring Operation: 77*40=3080, Resulting Numbers: [3080]
3080,74 unequal: No Solution
Exploring Operation: 77-40=37, Resulting Numbers: [37]
37,74 unequal: No Solution
Exploring Operation: 77+40=117, Resulting Numbers: [117]
117,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 74:[76, 41], Operations: ['28+48=76', '77-36=41']
Exploring Operation: 76+41=117, Resulting Numbers: [117]
117,74 unequal: No Solution
Exploring Operation: 76*41=3116, Resulting Numbers: [3116]
3116,74 unequal: No Solution
Exploring Operation: 76-41=35, Resulting Numbers: [35]
35,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 74:[76, 113], Operations: ['28+48=76', '77+36=113']
Exploring Operation: 76*113=8588, Resulting Numbers: [8588]
8588,74 unequal: No Solution
Exploring Operation: 113-76=37, Resulting Numbers: [37]
37,74 unequal: No Solution
Exploring Operation: 76+113=189, Resulting Numbers: [189]
189,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 74:[77, 112], Operations: ['28+48=76', '36+76=112']
Exploring Operation: 77+112=189, Resulting Numbers: [189]
189,74 unequal: No Solution
Exploring Operation: 77*112=8624, Resulting Numbers: [8624]
8624,74 unequal: No Solution
Exploring Operation: 112-77=35, Resulting Numbers: [35]
35,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 74:[28, 36, 29], Operations: ['77-48=29']
Exploring Operation: 29-28=1, Resulting Numbers: [36, 1]
Generated Node #0,1,0: 74:[36, 1] Operation: 29-28=1
Exploring Operation: 28+36=64, Resulting Numbers: [29, 64]
Generated Node #0,1,1: 74:[29, 64] Operation: 28+36=64
Exploring Operation: 36-28=8, Resulting Numbers: [29, 8]
Generated Node #0,1,2: 74:[29, 8] Operation: 36-28=8
Exploring Operation: 36-29=7, Resulting Numbers: [28, 7]
Generated Node #0,1,3: 74:[28, 7] Operation: 36-29=7
Exploring Operation: 28+29=57, Resulting Numbers: [36, 57]
Generated Node #0,1,4: 74:[36, 57] Operation: 28+29=57
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 74:[36, 1], Operations: ['77-48=29', '29-28=1']
Exploring Operation: 36+1=37, Resulting Numbers: [37]
37,74 unequal: No Solution
Exploring Operation: 36/1=36, Resulting Numbers: [36]
36,74 unequal: No Solution
Exploring Operation: 36*1=36, Resulting Numbers: [36]
36,74 unequal: No Solution
Exploring Operation: 36-1=35, Resulting Numbers: [35]
35,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 74:[29, 8], Operations: ['77-48=29', '36-28=8']
Exploring Operation: 29-8=21, Resulting Numbers: [21]
21,74 unequal: No Solution
Exploring Operation: 29*8=232, Resulting Numbers: [232]
232,74 unequal: No Solution
Exploring Operation: 29+8=37, Resulting Numbers: [37]
37,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 74:[28, 7], Operations: ['77-48=29', '36-29=7']
Exploring Operation: 28/7=4, Resulting Numbers: [4]
4,74 unequal: No Solution
Exploring Operation: 28-7=21, Resulting Numbers: [21]
21,74 unequal: No Solution
Exploring Operation: 28+7=35, Resulting Numbers: [35]
35,74 unequal: No Solution
Exploring Operation: 28*7=196, Resulting Numbers: [196]
196,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 74:[29, 64], Operations: ['77-48=29', '28+36=64']
Exploring Operation: 64-29=35, Resulting Numbers: [35]
35,74 unequal: No Solution
Exploring Operation: 29*64=1856, Resulting Numbers: [1856]
1856,74 unequal: No Solution
Exploring Operation: 29+64=93, Resulting Numbers: [93]
93,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 74:[36, 57], Operations: ['77-48=29', '28+29=57']
Exploring Operation: 57-36=21, Resulting Numbers: [21]
21,74 unequal: No Solution
Exploring Operation: 36+57=93, Resulting Numbers: [93]
93,74 unequal: No Solution
Exploring Operation: 36*57=2052, Resulting Numbers: [2052]
2052,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 74:[77, 48, 8], Operations: ['36-28=8']
Exploring Operation: 77-8=69, Resulting Numbers: [48, 69]
Generated Node #0,3,0: 74:[48, 69] Operation: 77-8=69
Exploring Operation: 48+8=56, Resulting Numbers: [77, 56]
Generated Node #0,3,1: 74:[77, 56] Operation: 48+8=56
Exploring Operation: 77-48=29, Resulting Numbers: [8, 29]
Generated Node #0,3,2: 74:[8, 29] Operation: 77-48=29
Exploring Operation: 48/8=6, Resulting Numbers: [77, 6]
Generated Node #0,3,3: 74:[77, 6] Operation: 48/8=6
Exploring Operation: 48-8=40, Resulting Numbers: [77, 40]
Generated Node #0,3,4: 74:[77, 40] Operation: 48-8=40
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 74:[77, 40], Operations: ['36-28=8', '48-8=40']
Exploring Operation: 77*40=3080, Resulting Numbers: [3080]
3080,74 unequal: No Solution
Exploring Operation: 77+40=117, Resulting Numbers: [117]
117,74 unequal: No Solution
Exploring Operation: 77-40=37, Resulting Numbers: [37]
37,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 74:[77, 6], Operations: ['36-28=8', '48/8=6']
Exploring Operation: 77+6=83, Resulting Numbers: [83]
83,74 unequal: No Solution
Exploring Operation: 77-6=71, Resulting Numbers: [71]
71,74 unequal: No Solution
Exploring Operation: 77*6=462, Resulting Numbers: [462]
462,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 74:[8, 29], Operations: ['36-28=8', '77-48=29']
Exploring Operation: 8*29=232, Resulting Numbers: [232]
232,74 unequal: No Solution
Exploring Operation: 29-8=21, Resulting Numbers: [21]
21,74 unequal: No Solution
Exploring Operation: 8+29=37, Resulting Numbers: [37]
37,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 74:[48, 69], Operations: ['36-28=8', '77-8=69']
Exploring Operation: 48+69=117, Resulting Numbers: [117]
117,74 unequal: No Solution
Exploring Operation: 48*69=3312, Resulting Numbers: [3312]
3312,74 unequal: No Solution
Exploring Operation: 69-48=21, Resulting Numbers: [21]
21,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 74:[77, 56], Operations: ['36-28=8', '48+8=56']
Exploring Operation: 77*56=4312, Resulting Numbers: [4312]
4312,74 unequal: No Solution
Exploring Operation: 77-56=21, Resulting Numbers: [21]
21,74 unequal: No Solution
Exploring Operation: 77+56=133, Resulting Numbers: [133]
133,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 74:[77, 36, 20], Operations: ['48-28=20']
Exploring Operation: 36-20=16, Resulting Numbers: [77, 16]
Generated Node #0,4,0: 74:[77, 16] Operation: 36-20=16
Exploring Operation: 77-36=41, Resulting Numbers: [20, 41]
Generated Node #0,4,1: 74:[20, 41] Operation: 77-36=41
Exploring Operation: 77+20=97, Resulting Numbers: [36, 97]
Generated Node #0,4,2: 74:[36, 97] Operation: 77+20=97
Exploring Operation: 36+20=56, Resulting Numbers: [77, 56]
Generated Node #0,4,3: 74:[77, 56] Operation: 36+20=56
Exploring Operation: 77-20=57, Resulting Numbers: [36, 57]
Generated Node #0,4,4: 74:[36, 57] Operation: 77-20=57
Moving to Node #0,4,0
Current State: 74:[77, 16], Operations: ['48-28=20', '36-20=16']
Exploring Operation: 77*16=1232, Resulting Numbers: [1232]
1232,74 unequal: No Solution
Exploring Operation: 77-16=61, Resulting Numbers: [61]
61,74 unequal: No Solution
Exploring Operation: 77+16=93, Resulting Numbers: [93]
93,74 unequal: No Solution
Moving to Node #0,4,4
Current State: 74:[36, 57], Operations: ['48-28=20', '77-20=57']
Exploring Operation: 57-36=21, Resulting Numbers: [21]
21,74 unequal: No Solution
Exploring Operation: 36+57=93, Resulting Numbers: [93]
93,74 unequal: No Solution
Exploring Operation: 36*57=2052, Resulting Numbers: [2052]
2052,74 unequal: No Solution
Moving to Node #0,4,1
Current State: 74:[20, 41], Operations: ['48-28=20', '77-36=41']
Exploring Operation: 20*41=820, Resulting Numbers: [820]
820,74 unequal: No Solution
Exploring Operation: 20+41=61, Resulting Numbers: [61]
61,74 unequal: No Solution
Exploring Operation: 41-20=21, Resulting Numbers: [21]
21,74 unequal: No Solution
Moving to Node #0,4,3
Current State: 74:[77, 56], Operations: ['48-28=20', '36+20=56']
Exploring Operation: 77-56=21, Resulting Numbers: [21]
21,74 unequal: No Solution
Exploring Operation: 77*56=4312, Resulting Numbers: [4312]
4312,74 unequal: No Solution
Exploring Operation: 77+56=133, Resulting Numbers: [133]
133,74 unequal: No Solution
Moving to Node #0,4,2
Current State: 74:[36, 97], Operations: ['48-28=20', '77+20=97']
Exploring Operation: 97-36=61, Resulting Numbers: [61]
61,74 unequal: No Solution
Exploring Operation: 36+97=133, Resulting Numbers: [133]
133,74 unequal: No Solution
Exploring Operation: 36*97=3492, Resulting Numbers: [3492]
3492,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,2
Current State: 74:[28, 77, 84], Operations: ['48+36=84']
Exploring Operation: 77-28=49, Resulting Numbers: [84, 49]
Generated Node #0,2,0: 74:[84, 49] Operation: 77-28=49
Exploring Operation: 84-28=56, Resulting Numbers: [77, 56]
Generated Node #0,2,1: 74:[77, 56] Operation: 84-28=56
Exploring Operation: 84-77=7, Resulting Numbers: [28, 7]
Generated Node #0,2,2: 74:[28, 7] Operation: 84-77=7
Exploring Operation: 28+77=105, Resulting Numbers: [84, 105]
Generated Node #0,2,3: 74:[84, 105] Operation: 28+77=105
Exploring Operation: 84/28=3, Resulting Numbers: [77, 3]
Generated Node #0,2,4: 74:[77, 3] Operation: 84/28=3
Moving to Node #0,2,4
Current State: 74:[77, 3], Operations: ['48+36=84', '84/28=3']
Exploring Operation: 77-3=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[28, 77, 48, 36], Operations: []
Exploring Operation: 48+36=84, Resulting Numbers: [28, 77, 84]
Generated Node #0,2: 74:[28, 77, 84] Operation: 48+36=84
Moving to Node #0,2
Current State: 74:[28, 77, 84], Operations: ['48+36=84']
Exploring Operation: 84/28=3, Resulting Numbers: [77, 3]
Generated Node #0,2,4: 74:[77, 3] Operation: 84/28=3
Moving to Node #0,2,4
Current State: 74:[77, 3], Operations: ['48+36=84', '84/28=3']
Exploring Operation: 77-3=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 1
| 0.914931 | hs_5 | mult_heuristic |
[
31,
54,
33,
57
] | 67 | [
"54-31=23",
"33+57=90",
"90-23=67"
] | Current State: 67:[31, 54, 33, 57], Operations: []
Exploring Operation: 54-31=23, Resulting Numbers: [33, 57, 23]
Generated Node #2: [33, 57, 23] from Operation: 54-31=23
Current State: 67:[33, 57, 23], Operations: ['54-31=23']
Exploring Operation: 33+57=90, Resulting Numbers: [23, 90]
Generated Node #3: [23, 90] from Operation: 33+57=90
Current State: 67:[23, 90], Operations: ['54-31=23', '33+57=90']
Exploring Operation: 90-23=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[31, 54, 33, 57], Operations: []
Exploring Operation: 33+57=90, Resulting Numbers: [31, 54, 90]
Generated Node #0,0: 67:[31, 54, 90] Operation: 33+57=90
Exploring Operation: 31+57=88, Resulting Numbers: [54, 33, 88]
Generated Node #0,1: 67:[54, 33, 88] Operation: 31+57=88
Exploring Operation: 31+33=64, Resulting Numbers: [54, 57, 64]
Generated Node #0,2: 67:[54, 57, 64] Operation: 31+33=64
Exploring Operation: 54+33=87, Resulting Numbers: [31, 57, 87]
Generated Node #0,3: 67:[31, 57, 87] Operation: 54+33=87
Exploring Operation: 31+54=85, Resulting Numbers: [33, 57, 85]
Generated Node #0,4: 67:[33, 57, 85] Operation: 31+54=85
Start Sub Search at level 1: Moving to Node #0,2
Current State: 67:[54, 57, 64], Operations: ['31+33=64']
Exploring Operation: 64-54=10, Resulting Numbers: [57, 10]
Generated Node #0,2,0: 67:[57, 10] Operation: 64-54=10
Exploring Operation: 57+64=121, Resulting Numbers: [54, 121]
Generated Node #0,2,1: 67:[54, 121] Operation: 57+64=121
Exploring Operation: 57-54=3, Resulting Numbers: [64, 3]
Generated Node #0,2,2: 67:[64, 3] Operation: 57-54=3
Exploring Operation: 54+57=111, Resulting Numbers: [64, 111]
Generated Node #0,2,3: 67:[64, 111] Operation: 54+57=111
Exploring Operation: 54+64=118, Resulting Numbers: [57, 118]
Generated Node #0,2,4: 67:[57, 118] Operation: 54+64=118
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 67:[64, 111], Operations: ['31+33=64', '54+57=111']
Exploring Operation: 111-64=47, Resulting Numbers: [47]
47,67 unequal: No Solution
Exploring Operation: 64+111=175, Resulting Numbers: [175]
175,67 unequal: No Solution
Exploring Operation: 64*111=7104, Resulting Numbers: [7104]
7104,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,2,4
Current State: 67:[57, 118], Operations: ['31+33=64', '54+64=118']
Exploring Operation: 57+118=175, Resulting Numbers: [175]
175,67 unequal: No Solution
Exploring Operation: 118-57=61, Resulting Numbers: [61]
61,67 unequal: No Solution
Exploring Operation: 57*118=6726, Resulting Numbers: [6726]
6726,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,2,0
Current State: 67:[57, 10], Operations: ['31+33=64', '64-54=10']
Exploring Operation: 57*10=570, Resulting Numbers: [570]
570,67 unequal: No Solution
Exploring Operation: 57-10=47, Resulting Numbers: [47]
47,67 unequal: No Solution
Exploring Operation: 57+10=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Moving to Node #0
Current State: 67:[31, 54, 33, 57], Operations: []
Exploring Operation: 31+33=64, Resulting Numbers: [54, 57, 64]
Generated Node #0,2: 67:[54, 57, 64] Operation: 31+33=64
Moving to Node #0,2
Current State: 67:[54, 57, 64], Operations: ['31+33=64']
Exploring Operation: 64-54=10, Resulting Numbers: [57, 10]
Generated Node #0,2,0: 67:[57, 10] Operation: 64-54=10
Moving to Node #0,2,0
Current State: 67:[57, 10], Operations: ['31+33=64', '64-54=10']
Exploring Operation: 57+10=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980035 | hs_5 | sum_heuristic |
[
16,
63,
65,
48
] | 34 | [
"16+63=79",
"65+48=113",
"113-79=34"
] | Current State: 34:[16, 63, 65, 48], Operations: []
Exploring Operation: 16+63=79, Resulting Numbers: [65, 48, 79]
Generated Node #2: [65, 48, 79] from Operation: 16+63=79
Current State: 34:[65, 48, 79], Operations: ['16+63=79']
Exploring Operation: 65+48=113, Resulting Numbers: [79, 113]
Generated Node #3: [79, 113] from Operation: 65+48=113
Current State: 34:[79, 113], Operations: ['16+63=79', '65+48=113']
Exploring Operation: 113-79=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[16, 63, 65, 48], Operations: []
Exploring Operation: 65-63=2, Resulting Numbers: [16, 48, 2]
Generated Node #0,0: 34:[16, 48, 2] Operation: 65-63=2
Exploring Operation: 65-48=17, Resulting Numbers: [16, 63, 17]
Generated Node #0,1: 34:[16, 63, 17] Operation: 65-48=17
Moving to Node #0,0
Current State: 34:[16, 48, 2], Operations: ['65-63=2']
Exploring Operation: 48-16=32, Resulting Numbers: [2, 32]
Generated Node #0,0,0: 34:[2, 32] Operation: 48-16=32
Exploring Operation: 48/16=3, Resulting Numbers: [2, 3]
Generated Node #0,0,1: 34:[2, 3] Operation: 48/16=3
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 34:[2, 3], Operations: ['65-63=2', '48/16=3']
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,34 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 34:[2, 32], Operations: ['65-63=2', '48-16=32']
Exploring Operation: 2+32=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[16, 63, 65, 48], Operations: []
Exploring Operation: 65-63=2, Resulting Numbers: [16, 48, 2]
Generated Node #0,0: 34:[16, 48, 2] Operation: 65-63=2
Moving to Node #0,0
Current State: 34:[16, 48, 2], Operations: ['65-63=2']
Exploring Operation: 48-16=32, Resulting Numbers: [2, 32]
Generated Node #0,0,0: 34:[2, 32] Operation: 48-16=32
Moving to Node #0,0,0
Current State: 34:[2, 32], Operations: ['65-63=2', '48-16=32']
Exploring Operation: 2+32=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
38,
8,
34,
87
] | 83 | [
"38-8=30",
"87-34=53",
"30+53=83"
] | Current State: 83:[38, 8, 34, 87], Operations: []
Exploring Operation: 38-8=30, Resulting Numbers: [34, 87, 30]
Generated Node #2: [34, 87, 30] from Operation: 38-8=30
Current State: 83:[34, 87, 30], Operations: ['38-8=30']
Exploring Operation: 87-34=53, Resulting Numbers: [30, 53]
Generated Node #3: [30, 53] from Operation: 87-34=53
Current State: 83:[30, 53], Operations: ['38-8=30', '87-34=53']
Exploring Operation: 30+53=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[38, 8, 34, 87], Operations: []
Exploring Operation: 8+34=42, Resulting Numbers: [38, 87, 42]
Generated Node #0,0: 83:[38, 87, 42] Operation: 8+34=42
Exploring Operation: 38-8=30, Resulting Numbers: [34, 87, 30]
Generated Node #0,1: 83:[34, 87, 30] Operation: 38-8=30
Exploring Operation: 87-8=79, Resulting Numbers: [38, 34, 79]
Generated Node #0,2: 83:[38, 34, 79] Operation: 87-8=79
Exploring Operation: 38+34=72, Resulting Numbers: [8, 87, 72]
Generated Node #0,3: 83:[8, 87, 72] Operation: 38+34=72
Exploring Operation: 38+8=46, Resulting Numbers: [34, 87, 46]
Generated Node #0,4: 83:[34, 87, 46] Operation: 38+8=46
Moving to Node #0,0
Current State: 83:[38, 87, 42], Operations: ['8+34=42']
Exploring Operation: 38+87=125, Resulting Numbers: [42, 125]
Generated Node #0,0,0: 83:[42, 125] Operation: 38+87=125
Exploring Operation: 87-42=45, Resulting Numbers: [38, 45]
Generated Node #0,0,1: 83:[38, 45] Operation: 87-42=45
Exploring Operation: 42-38=4, Resulting Numbers: [87, 4]
Generated Node #0,0,2: 83:[87, 4] Operation: 42-38=4
Exploring Operation: 87-38=49, Resulting Numbers: [42, 49]
Generated Node #0,0,3: 83:[42, 49] Operation: 87-38=49
Exploring Operation: 38+42=80, Resulting Numbers: [87, 80]
Generated Node #0,0,4: 83:[87, 80] Operation: 38+42=80
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 83:[87, 80], Operations: ['8+34=42', '38+42=80']
Exploring Operation: 87-80=7, Resulting Numbers: [7]
7,83 unequal: No Solution
Exploring Operation: 87+80=167, Resulting Numbers: [167]
167,83 unequal: No Solution
Exploring Operation: 87*80=6960, Resulting Numbers: [6960]
6960,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 83:[42, 49], Operations: ['8+34=42', '87-38=49']
Exploring Operation: 42*49=2058, Resulting Numbers: [2058]
2058,83 unequal: No Solution
Exploring Operation: 42+49=91, Resulting Numbers: [91]
91,83 unequal: No Solution
Exploring Operation: 49-42=7, Resulting Numbers: [7]
7,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 83:[42, 125], Operations: ['8+34=42', '38+87=125']
Exploring Operation: 125-42=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Moving to Node #0
Current State: 83:[38, 8, 34, 87], Operations: []
Exploring Operation: 8+34=42, Resulting Numbers: [38, 87, 42]
Generated Node #0,0: 83:[38, 87, 42] Operation: 8+34=42
Moving to Node #0,0
Current State: 83:[38, 87, 42], Operations: ['8+34=42']
Exploring Operation: 38+87=125, Resulting Numbers: [42, 125]
Generated Node #0,0,0: 83:[42, 125] Operation: 38+87=125
Moving to Node #0,0,0
Current State: 83:[42, 125], Operations: ['8+34=42', '38+87=125']
Exploring Operation: 125-42=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | mult_heuristic |
[
82,
84,
83,
23
] | 61 | [
"83-82=1",
"84-23=61",
"1*61=61"
] | Current State: 61:[82, 84, 83, 23], Operations: []
Exploring Operation: 83-82=1, Resulting Numbers: [84, 23, 1]
Generated Node #2: [84, 23, 1] from Operation: 83-82=1
Current State: 61:[84, 23, 1], Operations: ['83-82=1']
Exploring Operation: 84-23=61, Resulting Numbers: [1, 61]
Generated Node #3: [1, 61] from Operation: 84-23=61
Current State: 61:[1, 61], Operations: ['83-82=1', '84-23=61']
Exploring Operation: 1*61=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[82, 84, 83, 23], Operations: []
Exploring Operation: 84-23=61, Resulting Numbers: [82, 83, 61]
Generated Node #0,0: 61:[82, 83, 61] Operation: 84-23=61
Exploring Operation: 82-23=59, Resulting Numbers: [84, 83, 59]
Generated Node #0,1: 61:[84, 83, 59] Operation: 82-23=59
Exploring Operation: 82+23=105, Resulting Numbers: [84, 83, 105]
Generated Node #0,2: 61:[84, 83, 105] Operation: 82+23=105
Exploring Operation: 83-23=60, Resulting Numbers: [82, 84, 60]
Generated Node #0,3: 61:[82, 84, 60] Operation: 83-23=60
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[82, 83, 61], Operations: ['84-23=61']
Exploring Operation: 83-61=22, Resulting Numbers: [82, 22]
Generated Node #0,0,0: 61:[82, 22] Operation: 83-61=22
Exploring Operation: 83-82=1, Resulting Numbers: [61, 1]
Generated Node #0,0,1: 61:[61, 1] Operation: 83-82=1
Exploring Operation: 82+83=165, Resulting Numbers: [61, 165]
Generated Node #0,0,2: 61:[61, 165] Operation: 82+83=165
Exploring Operation: 82-61=21, Resulting Numbers: [83, 21]
Generated Node #0,0,3: 61:[83, 21] Operation: 82-61=21
Moving to Node #0,0,0
Current State: 61:[82, 22], Operations: ['84-23=61', '83-61=22']
Exploring Operation: 82-22=60, Resulting Numbers: [60]
60,61 unequal: No Solution
Exploring Operation: 82+22=104, Resulting Numbers: [104]
104,61 unequal: No Solution
Exploring Operation: 82*22=1804, Resulting Numbers: [1804]
1804,61 unequal: No Solution
Moving to Node #0,0,1
Current State: 61:[61, 1], Operations: ['84-23=61', '83-82=1']
Exploring Operation: 61-1=60, Resulting Numbers: [60]
60,61 unequal: No Solution
Exploring Operation: 61+1=62, Resulting Numbers: [62]
62,61 unequal: No Solution
Exploring Operation: 61/1=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[82, 84, 83, 23], Operations: []
Exploring Operation: 84-23=61, Resulting Numbers: [82, 83, 61]
Generated Node #0,0: 61:[82, 83, 61] Operation: 84-23=61
Moving to Node #0,0
Current State: 61:[82, 83, 61], Operations: ['84-23=61']
Exploring Operation: 83-82=1, Resulting Numbers: [61, 1]
Generated Node #0,0,1: 61:[61, 1] Operation: 83-82=1
Moving to Node #0,0,1
Current State: 61:[61, 1], Operations: ['84-23=61', '83-82=1']
Exploring Operation: 61/1=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_4 | sum_heuristic |
[
3,
24,
96,
86
] | 17 | [
"3+24=27",
"96-86=10",
"27-10=17"
] | Current State: 17:[3, 24, 96, 86], Operations: []
Exploring Operation: 3+24=27, Resulting Numbers: [96, 86, 27]
Generated Node #2: [96, 86, 27] from Operation: 3+24=27
Current State: 17:[96, 86, 27], Operations: ['3+24=27']
Exploring Operation: 96-86=10, Resulting Numbers: [27, 10]
Generated Node #3: [27, 10] from Operation: 96-86=10
Current State: 17:[27, 10], Operations: ['3+24=27', '96-86=10']
Exploring Operation: 27-10=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[3, 24, 96, 86], Operations: []
Exploring Operation: 96/24=4, Resulting Numbers: [3, 86, 4]
Generated Node #0,0: 17:[3, 86, 4] Operation: 96/24=4
Exploring Operation: 96/3=32, Resulting Numbers: [24, 86, 32]
Generated Node #0,1: 17:[24, 86, 32] Operation: 96/3=32
Exploring Operation: 96-86=10, Resulting Numbers: [3, 24, 10]
Generated Node #0,2: 17:[3, 24, 10] Operation: 96-86=10
Moving to Node #0,2
Current State: 17:[3, 24, 10], Operations: ['96-86=10']
Exploring Operation: 24-3=21, Resulting Numbers: [10, 21]
Generated Node #0,2,0: 17:[10, 21] Operation: 24-3=21
Exploring Operation: 3+10=13, Resulting Numbers: [24, 13]
Generated Node #0,2,1: 17:[24, 13] Operation: 3+10=13
Exploring Operation: 24/3=8, Resulting Numbers: [10, 8]
Generated Node #0,2,2: 17:[10, 8] Operation: 24/3=8
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 17:[10, 21], Operations: ['96-86=10', '24-3=21']
Exploring Operation: 10+21=31, Resulting Numbers: [31]
31,17 unequal: No Solution
Exploring Operation: 21-10=11, Resulting Numbers: [11]
11,17 unequal: No Solution
Exploring Operation: 10*21=210, Resulting Numbers: [210]
210,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 17:[24, 13], Operations: ['96-86=10', '3+10=13']
Exploring Operation: 24+13=37, Resulting Numbers: [37]
37,17 unequal: No Solution
Exploring Operation: 24-13=11, Resulting Numbers: [11]
11,17 unequal: No Solution
Exploring Operation: 24*13=312, Resulting Numbers: [312]
312,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 17:[10, 8], Operations: ['96-86=10', '24/3=8']
Exploring Operation: 10*8=80, Resulting Numbers: [80]
80,17 unequal: No Solution
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,17 unequal: No Solution
Exploring Operation: 10+8=18, Resulting Numbers: [18]
18,17 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: 17:[24, 86, 32], Operations: ['96/3=32']
Exploring Operation: 86-32=54, Resulting Numbers: [24, 54]
Generated Node #0,1,0: 17:[24, 54] Operation: 86-32=54
Exploring Operation: 32-24=8, Resulting Numbers: [86, 8]
Generated Node #0,1,1: 17:[86, 8] Operation: 32-24=8
Exploring Operation: 86-24=62, Resulting Numbers: [32, 62]
Generated Node #0,1,2: 17:[32, 62] Operation: 86-24=62
Moving to Node #0,0
Current State: 17:[3, 86, 4], Operations: ['96/24=4']
Exploring Operation: 86-3=83, Resulting Numbers: [4, 83]
Generated Node #0,0,0: 17:[4, 83] Operation: 86-3=83
Exploring Operation: 3+4=7, Resulting Numbers: [86, 7]
Generated Node #0,0,1: 17:[86, 7] Operation: 3+4=7
Exploring Operation: 3*4=12, Resulting Numbers: [86, 12]
Generated Node #0,0,2: 17:[86, 12] Operation: 3*4=12
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 17:[86, 12], Operations: ['96/24=4', '3*4=12']
Exploring Operation: 86-12=74, Resulting Numbers: [74]
74,17 unequal: No Solution
Exploring Operation: 86+12=98, Resulting Numbers: [98]
98,17 unequal: No Solution
Exploring Operation: 86*12=1032, Resulting Numbers: [1032]
1032,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,0,0
Current State: 17:[4, 83], Operations: ['96/24=4', '86-3=83']
Exploring Operation: 83-4=79, Resulting Numbers: [79]
79,17 unequal: No Solution
Exploring Operation: 4*83=332, Resulting Numbers: [332]
332,17 unequal: No Solution
Exploring Operation: 4+83=87, Resulting Numbers: [87]
87,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,0,1
Current State: 17:[86, 7], Operations: ['96/24=4', '3+4=7']
Exploring Operation: 86*7=602, Resulting Numbers: [602]
602,17 unequal: No Solution
Exploring Operation: 86-7=79, Resulting Numbers: [79]
79,17 unequal: No Solution
Exploring Operation: 86+7=93, Resulting Numbers: [93]
93,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 17:[24, 54], Operations: ['96/3=32', '86-32=54']
Exploring Operation: 54-24=30, Resulting Numbers: [30]
30,17 unequal: No Solution
Exploring Operation: 24+54=78, Resulting Numbers: [78]
78,17 unequal: No Solution
Exploring Operation: 24*54=1296, Resulting Numbers: [1296]
1296,17 unequal: No Solution
Moving to Node #0,1,2
Current State: 17:[32, 62], Operations: ['96/3=32', '86-24=62']
Exploring Operation: 62-32=30, Resulting Numbers: [30]
30,17 unequal: No Solution
Exploring Operation: 32*62=1984, Resulting Numbers: [1984]
1984,17 unequal: No Solution
Exploring Operation: 32+62=94, Resulting Numbers: [94]
94,17 unequal: No Solution
Moving to Node #0,1,1
Current State: 17:[86, 8], Operations: ['96/3=32', '32-24=8']
Exploring Operation: 86+8=94, Resulting Numbers: [94]
94,17 unequal: No Solution
Exploring Operation: 86-8=78, Resulting Numbers: [78]
78,17 unequal: No Solution
Exploring Operation: 86*8=688, Resulting Numbers: [688]
688,17 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
51,
49,
7,
21
] | 66 | [
"51*7=357",
"357/21=17",
"49+17=66"
] | Current State: 66:[51, 49, 7, 21], Operations: []
Exploring Operation: 51*7=357, Resulting Numbers: [49, 21, 357]
Generated Node #2: [49, 21, 357] from Operation: 51*7=357
Current State: 66:[49, 21, 357], Operations: ['51*7=357']
Exploring Operation: 357/21=17, Resulting Numbers: [49, 17]
Generated Node #3: [49, 17] from Operation: 357/21=17
Current State: 66:[49, 17], Operations: ['51*7=357', '357/21=17']
Exploring Operation: 49+17=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[51, 49, 7, 21], Operations: []
Exploring Operation: 51-49=2, Resulting Numbers: [7, 21, 2]
Generated Node #0,0: 66:[7, 21, 2] Operation: 51-49=2
Exploring Operation: 49/7=7, Resulting Numbers: [51, 21, 7]
Generated Node #0,1: 66:[51, 21, 7] Operation: 49/7=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[7, 21, 2], Operations: ['51-49=2']
Exploring Operation: 7-2=5, Resulting Numbers: [21, 5]
Generated Node #0,0,0: 66:[21, 5] Operation: 7-2=5
Exploring Operation: 21/7=3, Resulting Numbers: [2, 3]
Generated Node #0,0,1: 66:[2, 3] Operation: 21/7=3
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 66:[2, 3], Operations: ['51-49=2', '21/7=3']
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,66 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 66:[21, 5], Operations: ['51-49=2', '7-2=5']
Exploring Operation: 21+5=26, Resulting Numbers: [26]
26,66 unequal: No Solution
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 66:[51, 21, 7], Operations: ['49/7=7']
Exploring Operation: 51+21=72, Resulting Numbers: [7, 72]
Generated Node #0,1,0: 66:[7, 72] Operation: 51+21=72
Exploring Operation: 51-21=30, Resulting Numbers: [7, 30]
Generated Node #0,1,1: 66:[7, 30] Operation: 51-21=30
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 66:[7, 30], Operations: ['49/7=7', '51-21=30']
Exploring Operation: 30-7=23, Resulting Numbers: [23]
23,66 unequal: No Solution
Exploring Operation: 7+30=37, Resulting Numbers: [37]
37,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 66:[7, 72], Operations: ['49/7=7', '51+21=72']
Exploring Operation: 7+72=79, Resulting Numbers: [79]
79,66 unequal: No Solution
Exploring Operation: 72-7=65, Resulting Numbers: [65]
65,66 unequal: No Solution
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 |
[
42,
4,
92,
10
] | 41 | [
"4*92=368",
"42+368=410",
"410/10=41"
] | Current State: 41:[42, 4, 92, 10], Operations: []
Exploring Operation: 4*92=368, Resulting Numbers: [42, 10, 368]
Generated Node #2: [42, 10, 368] from Operation: 4*92=368
Current State: 41:[42, 10, 368], Operations: ['4*92=368']
Exploring Operation: 42+368=410, Resulting Numbers: [10, 410]
Generated Node #3: [10, 410] from Operation: 42+368=410
Current State: 41:[10, 410], Operations: ['4*92=368', '42+368=410']
Exploring Operation: 410/10=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[42, 4, 92, 10], Operations: []
Exploring Operation: 92/4=23, Resulting Numbers: [42, 10, 23]
Generated Node #0,0: 41:[42, 10, 23] Operation: 92/4=23
Moving to Node #0,0
Current State: 41:[42, 10, 23], Operations: ['92/4=23']
Exploring Operation: 10+23=33, Resulting Numbers: [42, 33]
Generated Node #0,0,0: 41:[42, 33] Operation: 10+23=33
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 41:[42, 33], Operations: ['92/4=23', '10+23=33']
Exploring Operation: 42-33=9, Resulting Numbers: [9]
9,41 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 |
[
46,
58,
79,
6
] | 77 | [
"58-46=12",
"12/6=2",
"79-2=77"
] | Current State: 77:[46, 58, 79, 6], Operations: []
Exploring Operation: 58-46=12, Resulting Numbers: [79, 6, 12]
Generated Node #2: [79, 6, 12] from Operation: 58-46=12
Current State: 77:[79, 6, 12], Operations: ['58-46=12']
Exploring Operation: 12/6=2, Resulting Numbers: [79, 2]
Generated Node #3: [79, 2] from Operation: 12/6=2
Current State: 77:[79, 2], Operations: ['58-46=12', '12/6=2']
Exploring Operation: 79-2=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[46, 58, 79, 6], Operations: []
Exploring Operation: 58-46=12, Resulting Numbers: [79, 6, 12]
Generated Node #0,0: 77:[79, 6, 12] Operation: 58-46=12
Moving to Node #0,0
Current State: 77:[79, 6, 12], Operations: ['58-46=12']
Exploring Operation: 12-6=6, Resulting Numbers: [79, 6]
Generated Node #0,0,0: 77:[79, 6] Operation: 12-6=6
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 77:[79, 6], Operations: ['58-46=12', '12-6=6']
Exploring Operation: 79-6=73, Resulting Numbers: [73]
73,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
38,
99,
19,
9
] | 22 | [
"38*99=3762",
"19*9=171",
"3762/171=22"
] | Current State: 22:[38, 99, 19, 9], Operations: []
Exploring Operation: 38*99=3762, Resulting Numbers: [19, 9, 3762]
Generated Node #2: [19, 9, 3762] from Operation: 38*99=3762
Current State: 22:[19, 9, 3762], Operations: ['38*99=3762']
Exploring Operation: 19*9=171, Resulting Numbers: [3762, 171]
Generated Node #3: [3762, 171] from Operation: 19*9=171
Current State: 22:[3762, 171], Operations: ['38*99=3762', '19*9=171']
Exploring Operation: 3762/171=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[38, 99, 19, 9], Operations: []
Exploring Operation: 99/9=11, Resulting Numbers: [38, 19, 11]
Generated Node #0,0: 22:[38, 19, 11] Operation: 99/9=11
Exploring Operation: 38/19=2, Resulting Numbers: [99, 9, 2]
Generated Node #0,1: 22:[99, 9, 2] Operation: 38/19=2
Exploring Operation: 99-38=61, Resulting Numbers: [19, 9, 61]
Generated Node #0,2: 22:[19, 9, 61] Operation: 99-38=61
Exploring Operation: 99-19=80, Resulting Numbers: [38, 9, 80]
Generated Node #0,3: 22:[38, 9, 80] Operation: 99-19=80
Exploring Operation: 38-19=19, Resulting Numbers: [99, 9, 19]
Generated Node #0,4: 22:[99, 9, 19] Operation: 38-19=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[38, 19, 11], Operations: ['99/9=11']
Exploring Operation: 38/19=2, Resulting Numbers: [11, 2]
Generated Node #0,0,0: 22:[11, 2] Operation: 38/19=2
Exploring Operation: 38-19=19, Resulting Numbers: [11, 19]
Generated Node #0,0,1: 22:[11, 19] Operation: 38-19=19
Exploring Operation: 38-11=27, Resulting Numbers: [19, 27]
Generated Node #0,0,2: 22:[19, 27] Operation: 38-11=27
Exploring Operation: 19+11=30, Resulting Numbers: [38, 30]
Generated Node #0,0,3: 22:[38, 30] Operation: 19+11=30
Exploring Operation: 19-11=8, Resulting Numbers: [38, 8]
Generated Node #0,0,4: 22:[38, 8] Operation: 19-11=8
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 22:[11, 2], Operations: ['99/9=11', '38/19=2']
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,22 unequal: No Solution
Exploring Operation: 11+2=13, Resulting Numbers: [13]
13,22 unequal: No Solution
Exploring Operation: 11*2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[38, 99, 19, 9], Operations: []
Exploring Operation: 99/9=11, Resulting Numbers: [38, 19, 11]
Generated Node #0,0: 22:[38, 19, 11] Operation: 99/9=11
Moving to Node #0,0
Current State: 22:[38, 19, 11], Operations: ['99/9=11']
Exploring Operation: 38/19=2, Resulting Numbers: [11, 2]
Generated Node #0,0,0: 22:[11, 2] Operation: 38/19=2
Moving to Node #0,0,0
Current State: 22:[11, 2], Operations: ['99/9=11', '38/19=2']
Exploring Operation: 11*2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
87,
46,
97,
13
] | 23 | [
"87+46=133",
"97+13=110",
"133-110=23"
] | Current State: 23:[87, 46, 97, 13], Operations: []
Exploring Operation: 87+46=133, Resulting Numbers: [97, 13, 133]
Generated Node #2: [97, 13, 133] from Operation: 87+46=133
Current State: 23:[97, 13, 133], Operations: ['87+46=133']
Exploring Operation: 97+13=110, Resulting Numbers: [133, 110]
Generated Node #3: [133, 110] from Operation: 97+13=110
Current State: 23:[133, 110], Operations: ['87+46=133', '97+13=110']
Exploring Operation: 133-110=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[87, 46, 97, 13], Operations: []
Exploring Operation: 97-87=10, Resulting Numbers: [46, 13, 10]
Generated Node #0,0: 23:[46, 13, 10] Operation: 97-87=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[46, 13, 10], Operations: ['97-87=10']
Exploring Operation: 46-13=33, Resulting Numbers: [10, 33]
Generated Node #0,0,0: 23:[10, 33] Operation: 46-13=33
Moving to Node #0,0,0
Current State: 23:[10, 33], Operations: ['97-87=10', '46-13=33']
Exploring Operation: 33-10=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[87, 46, 97, 13], Operations: []
Exploring Operation: 97-87=10, Resulting Numbers: [46, 13, 10]
Generated Node #0,0: 23:[46, 13, 10] Operation: 97-87=10
Moving to Node #0,0
Current State: 23:[46, 13, 10], Operations: ['97-87=10']
Exploring Operation: 46-13=33, Resulting Numbers: [10, 33]
Generated Node #0,0,0: 23:[10, 33] Operation: 46-13=33
Moving to Node #0,0,0
Current State: 23:[10, 33], Operations: ['97-87=10', '46-13=33']
Exploring Operation: 33-10=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
85,
43,
30,
59
] | 71 | [
"85-43=42",
"59-30=29",
"42+29=71"
] | Current State: 71:[85, 43, 30, 59], Operations: []
Exploring Operation: 85-43=42, Resulting Numbers: [30, 59, 42]
Generated Node #2: [30, 59, 42] from Operation: 85-43=42
Current State: 71:[30, 59, 42], Operations: ['85-43=42']
Exploring Operation: 59-30=29, Resulting Numbers: [42, 29]
Generated Node #3: [42, 29] from Operation: 59-30=29
Current State: 71:[42, 29], Operations: ['85-43=42', '59-30=29']
Exploring Operation: 42+29=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[85, 43, 30, 59], Operations: []
Exploring Operation: 85-30=55, Resulting Numbers: [43, 59, 55]
Generated Node #0,0: 71:[43, 59, 55] Operation: 85-30=55
Exploring Operation: 43+30=73, Resulting Numbers: [85, 59, 73]
Generated Node #0,1: 71:[85, 59, 73] Operation: 43+30=73
Exploring Operation: 30+59=89, Resulting Numbers: [85, 43, 89]
Generated Node #0,2: 71:[85, 43, 89] Operation: 30+59=89
Moving to Node #0,1
Current State: 71:[85, 59, 73], Operations: ['43+30=73']
Exploring Operation: 73-59=14, Resulting Numbers: [85, 14]
Generated Node #0,1,0: 71:[85, 14] Operation: 73-59=14
Exploring Operation: 85-59=26, Resulting Numbers: [73, 26]
Generated Node #0,1,1: 71:[73, 26] Operation: 85-59=26
Exploring Operation: 85-73=12, Resulting Numbers: [59, 12]
Generated Node #0,1,2: 71:[59, 12] Operation: 85-73=12
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 71:[73, 26], Operations: ['43+30=73', '85-59=26']
Exploring Operation: 73-26=47, Resulting Numbers: [47]
47,71 unequal: No Solution
Exploring Operation: 73+26=99, Resulting Numbers: [99]
99,71 unequal: No Solution
Exploring Operation: 73*26=1898, Resulting Numbers: [1898]
1898,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 71:[85, 14], Operations: ['43+30=73', '73-59=14']
Exploring Operation: 85+14=99, Resulting Numbers: [99]
99,71 unequal: No Solution
Exploring Operation: 85*14=1190, Resulting Numbers: [1190]
1190,71 unequal: No Solution
Exploring Operation: 85-14=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[85, 43, 30, 59], Operations: []
Exploring Operation: 43+30=73, Resulting Numbers: [85, 59, 73]
Generated Node #0,1: 71:[85, 59, 73] Operation: 43+30=73
Moving to Node #0,1
Current State: 71:[85, 59, 73], Operations: ['43+30=73']
Exploring Operation: 73-59=14, Resulting Numbers: [85, 14]
Generated Node #0,1,0: 71:[85, 14] Operation: 73-59=14
Moving to Node #0,1,0
Current State: 71:[85, 14], Operations: ['43+30=73', '73-59=14']
Exploring Operation: 85-14=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_3 | mult_heuristic |
[
22,
12,
45,
2
] | 22 | [
"22+12=34",
"45-34=11",
"2*11=22"
] | Current State: 22:[22, 12, 45, 2], Operations: []
Exploring Operation: 22+12=34, Resulting Numbers: [45, 2, 34]
Generated Node #2: [45, 2, 34] from Operation: 22+12=34
Current State: 22:[45, 2, 34], Operations: ['22+12=34']
Exploring Operation: 45-34=11, Resulting Numbers: [2, 11]
Generated Node #3: [2, 11] from Operation: 45-34=11
Current State: 22:[2, 11], Operations: ['22+12=34', '45-34=11']
Exploring Operation: 2*11=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[22, 12, 45, 2], Operations: []
Exploring Operation: 45-12=33, Resulting Numbers: [22, 2, 33]
Generated Node #0,0: 22:[22, 2, 33] Operation: 45-12=33
Exploring Operation: 45-2=43, Resulting Numbers: [22, 12, 43]
Generated Node #0,1: 22:[22, 12, 43] Operation: 45-2=43
Exploring Operation: 45-22=23, Resulting Numbers: [12, 2, 23]
Generated Node #0,2: 22:[12, 2, 23] Operation: 45-22=23
Start Sub Search at level 1: Moving to Node #0,2
Current State: 22:[12, 2, 23], Operations: ['45-22=23']
Exploring Operation: 23-12=11, Resulting Numbers: [2, 11]
Generated Node #0,2,0: 22:[2, 11] Operation: 23-12=11
Exploring Operation: 12-2=10, Resulting Numbers: [23, 10]
Generated Node #0,2,1: 22:[23, 10] Operation: 12-2=10
Exploring Operation: 23-2=21, Resulting Numbers: [12, 21]
Generated Node #0,2,2: 22:[12, 21] Operation: 23-2=21
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 22:[2, 11], Operations: ['45-22=23', '23-12=11']
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,22 unequal: No Solution
Exploring Operation: 2+11=13, Resulting Numbers: [13]
13,22 unequal: No Solution
Exploring Operation: 2*11=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[22, 12, 45, 2], Operations: []
Exploring Operation: 45-22=23, Resulting Numbers: [12, 2, 23]
Generated Node #0,2: 22:[12, 2, 23] Operation: 45-22=23
Moving to Node #0,2
Current State: 22:[12, 2, 23], Operations: ['45-22=23']
Exploring Operation: 23-12=11, Resulting Numbers: [2, 11]
Generated Node #0,2,0: 22:[2, 11] Operation: 23-12=11
Moving to Node #0,2,0
Current State: 22:[2, 11], Operations: ['45-22=23', '23-12=11']
Exploring Operation: 2*11=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 |
[
13,
31,
91,
50
] | 88 | [
"91/13=7",
"31+50=81",
"7+81=88"
] | Current State: 88:[13, 31, 91, 50], Operations: []
Exploring Operation: 91/13=7, Resulting Numbers: [31, 50, 7]
Generated Node #2: [31, 50, 7] from Operation: 91/13=7
Current State: 88:[31, 50, 7], Operations: ['91/13=7']
Exploring Operation: 31+50=81, Resulting Numbers: [7, 81]
Generated Node #3: [7, 81] from Operation: 31+50=81
Current State: 88:[7, 81], Operations: ['91/13=7', '31+50=81']
Exploring Operation: 7+81=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[13, 31, 91, 50], Operations: []
Exploring Operation: 31-13=18, Resulting Numbers: [91, 50, 18]
Generated Node #0,0: 88:[91, 50, 18] Operation: 31-13=18
Exploring Operation: 31+50=81, Resulting Numbers: [13, 91, 81]
Generated Node #0,1: 88:[13, 91, 81] Operation: 31+50=81
Exploring Operation: 13+31=44, Resulting Numbers: [91, 50, 44]
Generated Node #0,2: 88:[91, 50, 44] Operation: 13+31=44
Exploring Operation: 50-31=19, Resulting Numbers: [13, 91, 19]
Generated Node #0,3: 88:[13, 91, 19] Operation: 50-31=19
Start Sub Search at level 1: Moving to Node #0,3
Current State: 88:[13, 91, 19], Operations: ['50-31=19']
Exploring Operation: 19-13=6, Resulting Numbers: [91, 6]
Generated Node #0,3,0: 88:[91, 6] Operation: 19-13=6
Exploring Operation: 91-13=78, Resulting Numbers: [19, 78]
Generated Node #0,3,1: 88:[19, 78] Operation: 91-13=78
Exploring Operation: 13+19=32, Resulting Numbers: [91, 32]
Generated Node #0,3,2: 88:[91, 32] Operation: 13+19=32
Exploring Operation: 91/13=7, Resulting Numbers: [19, 7]
Generated Node #0,3,3: 88:[19, 7] Operation: 91/13=7
Moving to Node #0,3,3
Current State: 88:[19, 7], Operations: ['50-31=19', '91/13=7']
Exploring Operation: 19*7=133, Resulting Numbers: [133]
133,88 unequal: No Solution
Exploring Operation: 19+7=26, Resulting Numbers: [26]
26,88 unequal: No Solution
Exploring Operation: 19-7=12, Resulting Numbers: [12]
12,88 unequal: No Solution
Moving to Node #0,3,0
Current State: 88:[91, 6], Operations: ['50-31=19', '19-13=6']
Exploring Operation: 91-6=85, Resulting Numbers: [85]
85,88 unequal: No Solution
Exploring Operation: 91+6=97, Resulting Numbers: [97]
97,88 unequal: No Solution
Exploring Operation: 91*6=546, Resulting Numbers: [546]
546,88 unequal: No Solution
Moving to Node #0,3,2
Current State: 88:[91, 32], Operations: ['50-31=19', '13+19=32']
Exploring Operation: 91-32=59, Resulting Numbers: [59]
59,88 unequal: No Solution
Exploring Operation: 91+32=123, Resulting Numbers: [123]
123,88 unequal: No Solution
Exploring Operation: 91*32=2912, Resulting Numbers: [2912]
2912,88 unequal: No Solution
Moving to Node #0,3,1
Current State: 88:[19, 78], Operations: ['50-31=19', '91-13=78']
Exploring Operation: 19*78=1482, Resulting Numbers: [1482]
1482,88 unequal: No Solution
Exploring Operation: 19+78=97, Resulting Numbers: [97]
97,88 unequal: No Solution
Exploring Operation: 78-19=59, Resulting Numbers: [59]
59,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 88:[91, 50, 44], Operations: ['13+31=44']
Exploring Operation: 50-44=6, Resulting Numbers: [91, 6]
Generated Node #0,2,0: 88:[91, 6] Operation: 50-44=6
Exploring Operation: 91-50=41, Resulting Numbers: [44, 41]
Generated Node #0,2,1: 88:[44, 41] Operation: 91-50=41
Exploring Operation: 50+44=94, Resulting Numbers: [91, 94]
Generated Node #0,2,2: 88:[91, 94] Operation: 50+44=94
Exploring Operation: 91-44=47, Resulting Numbers: [50, 47]
Generated Node #0,2,3: 88:[50, 47] Operation: 91-44=47
Moving to Node #0,2,1
Current State: 88:[44, 41], Operations: ['13+31=44', '91-50=41']
Exploring Operation: 44+41=85, Resulting Numbers: [85]
85,88 unequal: No Solution
Exploring Operation: 44*41=1804, Resulting Numbers: [1804]
1804,88 unequal: No Solution
Exploring Operation: 44-41=3, Resulting Numbers: [3]
3,88 unequal: No Solution
Moving to Node #0,2,0
Current State: 88:[91, 6], Operations: ['13+31=44', '50-44=6']
Exploring Operation: 91*6=546, Resulting Numbers: [546]
546,88 unequal: No Solution
Exploring Operation: 91-6=85, Resulting Numbers: [85]
85,88 unequal: No Solution
Exploring Operation: 91+6=97, Resulting Numbers: [97]
97,88 unequal: No Solution
Moving to Node #0,2,3
Current State: 88:[50, 47], Operations: ['13+31=44', '91-44=47']
Exploring Operation: 50+47=97, Resulting Numbers: [97]
97,88 unequal: No Solution
Exploring Operation: 50*47=2350, Resulting Numbers: [2350]
2350,88 unequal: No Solution
Exploring Operation: 50-47=3, Resulting Numbers: [3]
3,88 unequal: No Solution
Moving to Node #0,2,2
Current State: 88:[91, 94], Operations: ['13+31=44', '50+44=94']
Exploring Operation: 94-91=3, Resulting Numbers: [3]
3,88 unequal: No Solution
Exploring Operation: 91+94=185, Resulting Numbers: [185]
185,88 unequal: No Solution
Exploring Operation: 91*94=8554, Resulting Numbers: [8554]
8554,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 88:[13, 91, 81], Operations: ['31+50=81']
Exploring Operation: 91-81=10, Resulting Numbers: [13, 10]
Generated Node #0,1,0: 88:[13, 10] Operation: 91-81=10
Exploring Operation: 91/13=7, Resulting Numbers: [81, 7]
Generated Node #0,1,1: 88:[81, 7] Operation: 91/13=7
Exploring Operation: 91-13=78, Resulting Numbers: [81, 78]
Generated Node #0,1,2: 88:[81, 78] Operation: 91-13=78
Exploring Operation: 13+81=94, Resulting Numbers: [91, 94]
Generated Node #0,1,3: 88:[91, 94] Operation: 13+81=94
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 88:[13, 10], Operations: ['31+50=81', '91-81=10']
Exploring Operation: 13*10=130, Resulting Numbers: [130]
130,88 unequal: No Solution
Exploring Operation: 13-10=3, Resulting Numbers: [3]
3,88 unequal: No Solution
Exploring Operation: 13+10=23, Resulting Numbers: [23]
23,88 unequal: No Solution
No 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: 88:[81, 7], Operations: ['31+50=81', '91/13=7']
Exploring Operation: 81-7=74, Resulting Numbers: [74]
74,88 unequal: No Solution
Exploring Operation: 81*7=567, Resulting Numbers: [567]
567,88 unequal: No Solution
Exploring Operation: 81+7=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[13, 31, 91, 50], Operations: []
Exploring Operation: 31+50=81, Resulting Numbers: [13, 91, 81]
Generated Node #0,1: 88:[13, 91, 81] Operation: 31+50=81
Moving to Node #0,1
Current State: 88:[13, 91, 81], Operations: ['31+50=81']
Exploring Operation: 91/13=7, Resulting Numbers: [81, 7]
Generated Node #0,1,1: 88:[81, 7] Operation: 91/13=7
Moving to Node #0,1,1
Current State: 88:[81, 7], Operations: ['31+50=81', '91/13=7']
Exploring Operation: 81+7=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.956597 | hs_4 | sum_heuristic |
[
28,
63,
28,
84
] | 59 | [
"28+84=112",
"112/28=4",
"63-4=59"
] | Current State: 59:[28, 63, 28, 84], Operations: []
Exploring Operation: 28+84=112, Resulting Numbers: [63, 112]
Generated Node #2: [63, 112] from Operation: 28+84=112
Current State: 59:[63, 112], Operations: ['28+84=112']
Exploring Operation: 112/28=4, Resulting Numbers: [63, 4]
Generated Node #3: [63, 4] from Operation: 112/28=4
Current State: 59:[63, 4], Operations: ['28+84=112', '112/28=4']
Exploring Operation: 63-4=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[28, 63, 28, 84], Operations: []
Exploring Operation: 84-28=56, Resulting Numbers: [63, 28, 56]
Generated Node #0,0: 59:[63, 28, 56] Operation: 84-28=56
Exploring Operation: 63-28=35, Resulting Numbers: [28, 84, 35]
Generated Node #0,1: 59:[28, 84, 35] Operation: 63-28=35
Exploring Operation: 84-28=56, Resulting Numbers: [28, 63, 56]
Generated Node #0,2: 59:[28, 63, 56] Operation: 84-28=56
Exploring Operation: 63-28=35, Resulting Numbers: [28, 84, 35]
Generated Node #0,3: 59:[28, 84, 35] Operation: 63-28=35
Exploring Operation: 28+28=56, Resulting Numbers: [63, 84, 56]
Generated Node #0,4: 59:[63, 84, 56] Operation: 28+28=56
Start Sub Search at level 1: Moving to Node #0,4
Current State: 59:[63, 84, 56], Operations: ['28+28=56']
Exploring Operation: 84+56=140, Resulting Numbers: [63, 140]
Generated Node #0,4,0: 59:[63, 140] Operation: 84+56=140
Exploring Operation: 84-56=28, Resulting Numbers: [63, 28]
Generated Node #0,4,1: 59:[63, 28] Operation: 84-56=28
Exploring Operation: 84-63=21, Resulting Numbers: [56, 21]
Generated Node #0,4,2: 59:[56, 21] Operation: 84-63=21
Exploring Operation: 63+56=119, Resulting Numbers: [84, 119]
Generated Node #0,4,3: 59:[84, 119] Operation: 63+56=119
Exploring Operation: 63-56=7, Resulting Numbers: [84, 7]
Generated Node #0,4,4: 59:[84, 7] Operation: 63-56=7
Moving to Node #0,4,1
Current State: 59:[63, 28], Operations: ['28+28=56', '84-56=28']
Exploring Operation: 63-28=35, Resulting Numbers: [35]
35,59 unequal: No Solution
Exploring Operation: 63+28=91, Resulting Numbers: [91]
91,59 unequal: No Solution
Exploring Operation: 63*28=1764, Resulting Numbers: [1764]
1764,59 unequal: No Solution
Moving to Node #0,4,2
Current State: 59:[56, 21], Operations: ['28+28=56', '84-63=21']
Exploring Operation: 56+21=77, Resulting Numbers: [77]
77,59 unequal: No Solution
Exploring Operation: 56*21=1176, Resulting Numbers: [1176]
1176,59 unequal: No Solution
Exploring Operation: 56-21=35, Resulting Numbers: [35]
35,59 unequal: No Solution
Moving to Node #0,4,4
Current State: 59:[84, 7], Operations: ['28+28=56', '63-56=7']
Exploring Operation: 84*7=588, Resulting Numbers: [588]
588,59 unequal: No Solution
Exploring Operation: 84/7=12, Resulting Numbers: [12]
12,59 unequal: No Solution
Exploring Operation: 84-7=77, Resulting Numbers: [77]
77,59 unequal: No Solution
Exploring Operation: 84+7=91, Resulting Numbers: [91]
91,59 unequal: No Solution
Moving to Node #0,4,0
Current State: 59:[63, 140], Operations: ['28+28=56', '84+56=140']
Exploring Operation: 63+140=203, Resulting Numbers: [203]
203,59 unequal: No Solution
Exploring Operation: 140-63=77, Resulting Numbers: [77]
77,59 unequal: No Solution
Exploring Operation: 63*140=8820, Resulting Numbers: [8820]
8820,59 unequal: No Solution
Moving to Node #0,4,3
Current State: 59:[84, 119], Operations: ['28+28=56', '63+56=119']
Exploring Operation: 84*119=9996, Resulting Numbers: [9996]
9996,59 unequal: No Solution
Exploring Operation: 119-84=35, Resulting Numbers: [35]
35,59 unequal: No Solution
Exploring Operation: 84+119=203, Resulting Numbers: [203]
203,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[63, 28, 56], Operations: ['84-28=56']
Exploring Operation: 28+56=84, Resulting Numbers: [63, 84]
Generated Node #0,0,0: 59:[63, 84] Operation: 28+56=84
Exploring Operation: 56-28=28, Resulting Numbers: [63, 28]
Generated Node #0,0,1: 59:[63, 28] Operation: 56-28=28
Exploring Operation: 63+28=91, Resulting Numbers: [56, 91]
Generated Node #0,0,2: 59:[56, 91] Operation: 63+28=91
Exploring Operation: 56/28=2, Resulting Numbers: [63, 2]
Generated Node #0,0,3: 59:[63, 2] Operation: 56/28=2
Exploring Operation: 63-28=35, Resulting Numbers: [56, 35]
Generated Node #0,0,4: 59:[56, 35] Operation: 63-28=35
Moving to Node #0,0,4
Current State: 59:[56, 35], Operations: ['84-28=56', '63-28=35']
Exploring Operation: 56-35=21, Resulting Numbers: [21]
21,59 unequal: No Solution
Exploring Operation: 56*35=1960, Resulting Numbers: [1960]
1960,59 unequal: No Solution
Exploring Operation: 56+35=91, Resulting Numbers: [91]
91,59 unequal: No Solution
Moving to Node #0,0,0
Current State: 59:[63, 84], Operations: ['84-28=56', '28+56=84']
Exploring Operation: 63+84=147, Resulting Numbers: [147]
147,59 unequal: No Solution
Exploring Operation: 63*84=5292, Resulting Numbers: [5292]
5292,59 unequal: No Solution
Exploring Operation: 84-63=21, Resulting Numbers: [21]
21,59 unequal: No Solution
Moving to Node #0,0,1
Current State: 59:[63, 28], Operations: ['84-28=56', '56-28=28']
Exploring Operation: 63+28=91, Resulting Numbers: [91]
91,59 unequal: No Solution
Exploring Operation: 63-28=35, Resulting Numbers: [35]
35,59 unequal: No Solution
Exploring Operation: 63*28=1764, Resulting Numbers: [1764]
1764,59 unequal: No Solution
Moving to Node #0,0,2
Current State: 59:[56, 91], Operations: ['84-28=56', '63+28=91']
Exploring Operation: 91-56=35, Resulting Numbers: [35]
35,59 unequal: No Solution
Exploring Operation: 56+91=147, Resulting Numbers: [147]
147,59 unequal: No Solution
Exploring Operation: 56*91=5096, Resulting Numbers: [5096]
5096,59 unequal: No Solution
Moving to Node #0,0,3
Current State: 59:[63, 2], Operations: ['84-28=56', '56/28=2']
Exploring Operation: 63-2=61, Resulting Numbers: [61]
61,59 unequal: No Solution
Exploring Operation: 63+2=65, Resulting Numbers: [65]
65,59 unequal: No Solution
Exploring Operation: 63*2=126, Resulting Numbers: [126]
126,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 59:[28, 63, 56], Operations: ['84-28=56']
Exploring Operation: 28+56=84, Resulting Numbers: [63, 84]
Generated Node #0,2,0: 59:[63, 84] Operation: 28+56=84
Exploring Operation: 56-28=28, Resulting Numbers: [63, 28]
Generated Node #0,2,1: 59:[63, 28] Operation: 56-28=28
Exploring Operation: 28+63=91, Resulting Numbers: [56, 91]
Generated Node #0,2,2: 59:[56, 91] Operation: 28+63=91
Exploring Operation: 56/28=2, Resulting Numbers: [63, 2]
Generated Node #0,2,3: 59:[63, 2] Operation: 56/28=2
Exploring Operation: 63-28=35, Resulting Numbers: [56, 35]
Generated Node #0,2,4: 59:[56, 35] Operation: 63-28=35
Moving to Node #0,2,4
Current State: 59:[56, 35], Operations: ['84-28=56', '63-28=35']
Exploring Operation: 56+35=91, Resulting Numbers: [91]
91,59 unequal: No Solution
Exploring Operation: 56*35=1960, Resulting Numbers: [1960]
1960,59 unequal: No Solution
Exploring Operation: 56-35=21, Resulting Numbers: [21]
21,59 unequal: No Solution
Moving to Node #0,2,0
Current State: 59:[63, 84], Operations: ['84-28=56', '28+56=84']
Exploring Operation: 63+84=147, Resulting Numbers: [147]
147,59 unequal: No Solution
Exploring Operation: 84-63=21, Resulting Numbers: [21]
21,59 unequal: No Solution
Exploring Operation: 63*84=5292, Resulting Numbers: [5292]
5292,59 unequal: No Solution
Moving to Node #0,2,1
Current State: 59:[63, 28], Operations: ['84-28=56', '56-28=28']
Exploring Operation: 63+28=91, Resulting Numbers: [91]
91,59 unequal: No Solution
Exploring Operation: 63*28=1764, Resulting Numbers: [1764]
1764,59 unequal: No Solution
Exploring Operation: 63-28=35, Resulting Numbers: [35]
35,59 unequal: No Solution
Moving to Node #0,2,2
Current State: 59:[56, 91], Operations: ['84-28=56', '28+63=91']
Exploring Operation: 56*91=5096, Resulting Numbers: [5096]
5096,59 unequal: No Solution
Exploring Operation: 91-56=35, Resulting Numbers: [35]
35,59 unequal: No Solution
Exploring Operation: 56+91=147, Resulting Numbers: [147]
147,59 unequal: No Solution
Moving to Node #0,2,3
Current State: 59:[63, 2], Operations: ['84-28=56', '56/28=2']
Exploring Operation: 63-2=61, Resulting Numbers: [61]
61,59 unequal: No Solution
Exploring Operation: 63+2=65, Resulting Numbers: [65]
65,59 unequal: No Solution
Exploring Operation: 63*2=126, Resulting Numbers: [126]
126,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 59:[28, 84, 35], Operations: ['63-28=35']
Exploring Operation: 84-28=56, Resulting Numbers: [35, 56]
Generated Node #0,1,0: 59:[35, 56] Operation: 84-28=56
Exploring Operation: 84-35=49, Resulting Numbers: [28, 49]
Generated Node #0,1,1: 59:[28, 49] Operation: 84-35=49
Exploring Operation: 28+84=112, Resulting Numbers: [35, 112]
Generated Node #0,1,2: 59:[35, 112] Operation: 28+84=112
Exploring Operation: 28+35=63, Resulting Numbers: [84, 63]
Generated Node #0,1,3: 59:[84, 63] Operation: 28+35=63
Exploring Operation: 35-28=7, Resulting Numbers: [84, 7]
Generated Node #0,1,4: 59:[84, 7] Operation: 35-28=7
Moving to Node #0,1,0
Current State: 59:[35, 56], Operations: ['63-28=35', '84-28=56']
Exploring Operation: 35*56=1960, Resulting Numbers: [1960]
1960,59 unequal: No Solution
Exploring Operation: 56-35=21, Resulting Numbers: [21]
21,59 unequal: No Solution
Exploring Operation: 35+56=91, Resulting Numbers: [91]
91,59 unequal: No Solution
Moving to Node #0,1,3
Current State: 59:[84, 63], Operations: ['63-28=35', '28+35=63']
Exploring Operation: 84-63=21, Resulting Numbers: [21]
21,59 unequal: No Solution
Exploring Operation: 84*63=5292, Resulting Numbers: [5292]
5292,59 unequal: No Solution
Exploring Operation: 84+63=147, Resulting Numbers: [147]
147,59 unequal: No Solution
Moving to Node #0,1,1
Current State: 59:[28, 49], Operations: ['63-28=35', '84-35=49']
Exploring Operation: 28*49=1372, Resulting Numbers: [1372]
1372,59 unequal: No Solution
Exploring Operation: 49-28=21, Resulting Numbers: [21]
21,59 unequal: No Solution
Exploring Operation: 28+49=77, Resulting Numbers: [77]
77,59 unequal: No Solution
Moving to Node #0,1,2
Current State: 59:[35, 112], Operations: ['63-28=35', '28+84=112']
Exploring Operation: 35+112=147, Resulting Numbers: [147]
147,59 unequal: No Solution
Exploring Operation: 112-35=77, Resulting Numbers: [77]
77,59 unequal: No Solution
Exploring Operation: 35*112=3920, Resulting Numbers: [3920]
3920,59 unequal: No Solution
Moving to Node #0,1,4
Current State: 59:[84, 7], Operations: ['63-28=35', '35-28=7']
Exploring Operation: 84-7=77, Resulting Numbers: [77]
77,59 unequal: No Solution
Exploring Operation: 84+7=91, Resulting Numbers: [91]
91,59 unequal: No Solution
Exploring Operation: 84/7=12, Resulting Numbers: [12]
12,59 unequal: No Solution
Exploring Operation: 84*7=588, Resulting Numbers: [588]
588,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 59:[28, 84, 35], Operations: ['63-28=35']
Exploring Operation: 84-35=49, Resulting Numbers: [28, 49]
Generated Node #0,3,0: 59:[28, 49] Operation: 84-35=49
Exploring Operation: 84-28=56, Resulting Numbers: [35, 56]
Generated Node #0,3,1: 59:[35, 56] Operation: 84-28=56
Exploring Operation: 28+35=63, Resulting Numbers: [84, 63]
Generated Node #0,3,2: 59:[84, 63] Operation: 28+35=63
Exploring Operation: 35-28=7, Resulting Numbers: [84, 7]
Generated Node #0,3,3: 59:[84, 7] Operation: 35-28=7
Exploring Operation: 28+84=112, Resulting Numbers: [35, 112]
Generated Node #0,3,4: 59:[35, 112] Operation: 28+84=112
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 59:[35, 56], Operations: ['63-28=35', '84-28=56']
Exploring Operation: 35*56=1960, Resulting Numbers: [1960]
1960,59 unequal: No Solution
Exploring Operation: 35+56=91, Resulting Numbers: [91]
91,59 unequal: No Solution
Exploring Operation: 56-35=21, Resulting Numbers: [21]
21,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 59:[84, 63], Operations: ['63-28=35', '28+35=63']
Exploring Operation: 84*63=5292, Resulting Numbers: [5292]
5292,59 unequal: No Solution
Exploring Operation: 84+63=147, Resulting Numbers: [147]
147,59 unequal: No Solution
Exploring Operation: 84-63=21, Resulting Numbers: [21]
21,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 59:[28, 49], Operations: ['63-28=35', '84-35=49']
Exploring Operation: 49-28=21, Resulting Numbers: [21]
21,59 unequal: No Solution
Exploring Operation: 28+49=77, Resulting Numbers: [77]
77,59 unequal: No Solution
Exploring Operation: 28*49=1372, Resulting Numbers: [1372]
1372,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 59:[84, 7], Operations: ['63-28=35', '35-28=7']
Exploring Operation: 84+7=91, Resulting Numbers: [91]
91,59 unequal: No Solution
Exploring Operation: 84*7=588, Resulting Numbers: [588]
588,59 unequal: No Solution
Exploring Operation: 84-7=77, Resulting Numbers: [77]
77,59 unequal: No Solution
Exploring Operation: 84/7=12, Resulting Numbers: [12]
12,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 59:[35, 112], Operations: ['63-28=35', '28+84=112']
Exploring Operation: 35+112=147, Resulting Numbers: [147]
147,59 unequal: No Solution
Exploring Operation: 35*112=3920, Resulting Numbers: [3920]
3920,59 unequal: No Solution
Exploring Operation: 112-35=77, Resulting Numbers: [77]
77,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
39,
99,
32,
94
] | 12 | [
"39+99=138",
"32+94=126",
"138-126=12"
] | Current State: 12:[39, 99, 32, 94], Operations: []
Exploring Operation: 39+99=138, Resulting Numbers: [32, 94, 138]
Generated Node #2: [32, 94, 138] from Operation: 39+99=138
Current State: 12:[32, 94, 138], Operations: ['39+99=138']
Exploring Operation: 32+94=126, Resulting Numbers: [138, 126]
Generated Node #3: [138, 126] from Operation: 32+94=126
Current State: 12:[138, 126], Operations: ['39+99=138', '32+94=126']
Exploring Operation: 138-126=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[39, 99, 32, 94], Operations: []
Exploring Operation: 99-94=5, Resulting Numbers: [39, 32, 5]
Generated Node #0,0: 12:[39, 32, 5] Operation: 99-94=5
Exploring Operation: 99-39=60, Resulting Numbers: [32, 94, 60]
Generated Node #0,1: 12:[32, 94, 60] Operation: 99-39=60
Start Sub Search at level 1: Moving to Node #0,0
Current State: 12:[39, 32, 5], Operations: ['99-94=5']
Exploring Operation: 39-5=34, Resulting Numbers: [32, 34]
Generated Node #0,0,0: 12:[32, 34] Operation: 39-5=34
Exploring Operation: 39-32=7, Resulting Numbers: [5, 7]
Generated Node #0,0,1: 12:[5, 7] Operation: 39-32=7
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 12:[5, 7], Operations: ['99-94=5', '39-32=7']
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,12 unequal: No Solution
Exploring Operation: 5+7=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[39, 99, 32, 94], Operations: []
Exploring Operation: 99-94=5, Resulting Numbers: [39, 32, 5]
Generated Node #0,0: 12:[39, 32, 5] Operation: 99-94=5
Moving to Node #0,0
Current State: 12:[39, 32, 5], Operations: ['99-94=5']
Exploring Operation: 39-32=7, Resulting Numbers: [5, 7]
Generated Node #0,0,1: 12:[5, 7] Operation: 39-32=7
Moving to Node #0,0,1
Current State: 12:[5, 7], Operations: ['99-94=5', '39-32=7']
Exploring Operation: 5+7=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
2,
44,
28,
22
] | 76 | [
"44-28=16",
"22+16=38",
"2*38=76"
] | Current State: 76:[2, 44, 28, 22], Operations: []
Exploring Operation: 44-28=16, Resulting Numbers: [2, 22, 16]
Generated Node #2: [2, 22, 16] from Operation: 44-28=16
Current State: 76:[2, 22, 16], Operations: ['44-28=16']
Exploring Operation: 22+16=38, Resulting Numbers: [2, 38]
Generated Node #3: [2, 38] from Operation: 22+16=38
Current State: 76:[2, 38], Operations: ['44-28=16', '22+16=38']
Exploring Operation: 2*38=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[2, 44, 28, 22], Operations: []
Exploring Operation: 28-22=6, Resulting Numbers: [2, 44, 6]
Generated Node #0,0: 76:[2, 44, 6] Operation: 28-22=6
Exploring Operation: 44/22=2, Resulting Numbers: [2, 28, 2]
Generated Node #0,1: 76:[2, 28, 2] Operation: 44/22=2
Exploring Operation: 44+28=72, Resulting Numbers: [2, 22, 72]
Generated Node #0,2: 76:[2, 22, 72] Operation: 44+28=72
Exploring Operation: 44-22=22, Resulting Numbers: [2, 28, 22]
Generated Node #0,3: 76:[2, 28, 22] Operation: 44-22=22
Exploring Operation: 44-28=16, Resulting Numbers: [2, 22, 16]
Generated Node #0,4: 76:[2, 22, 16] Operation: 44-28=16
Start Sub Search at level 1: Moving to Node #0,4
Current State: 76:[2, 22, 16], Operations: ['44-28=16']
Exploring Operation: 2+16=18, Resulting Numbers: [22, 18]
Generated Node #0,4,0: 76:[22, 18] Operation: 2+16=18
Exploring Operation: 22+16=38, Resulting Numbers: [2, 38]
Generated Node #0,4,1: 76:[2, 38] Operation: 22+16=38
Exploring Operation: 16/2=8, Resulting Numbers: [22, 8]
Generated Node #0,4,2: 76:[22, 8] Operation: 16/2=8
Exploring Operation: 22-2=20, Resulting Numbers: [16, 20]
Generated Node #0,4,3: 76:[16, 20] Operation: 22-2=20
Exploring Operation: 22-16=6, Resulting Numbers: [2, 6]
Generated Node #0,4,4: 76:[2, 6] Operation: 22-16=6
Moving to Node #0,4,1
Current State: 76:[2, 38], Operations: ['44-28=16', '22+16=38']
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,76 unequal: No Solution
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,76 unequal: No Solution
Exploring Operation: 2*38=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[2, 44, 28, 22], Operations: []
Exploring Operation: 44-28=16, Resulting Numbers: [2, 22, 16]
Generated Node #0,4: 76:[2, 22, 16] Operation: 44-28=16
Moving to Node #0,4
Current State: 76:[2, 22, 16], Operations: ['44-28=16']
Exploring Operation: 22+16=38, Resulting Numbers: [2, 38]
Generated Node #0,4,1: 76:[2, 38] Operation: 22+16=38
Moving to Node #0,4,1
Current State: 76:[2, 38], Operations: ['44-28=16', '22+16=38']
Exploring Operation: 2*38=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
42,
21,
56,
3
] | 31 | [
"42/21=2",
"56/2=28",
"3+28=31"
] | Current State: 31:[42, 21, 56, 3], Operations: []
Exploring Operation: 42/21=2, Resulting Numbers: [56, 3, 2]
Generated Node #2: [56, 3, 2] from Operation: 42/21=2
Current State: 31:[56, 3, 2], Operations: ['42/21=2']
Exploring Operation: 56/2=28, Resulting Numbers: [3, 28]
Generated Node #3: [3, 28] from Operation: 56/2=28
Current State: 31:[3, 28], Operations: ['42/21=2', '56/2=28']
Exploring Operation: 3+28=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[42, 21, 56, 3], Operations: []
Exploring Operation: 42-3=39, Resulting Numbers: [21, 56, 39]
Generated Node #0,0: 31:[21, 56, 39] Operation: 42-3=39
Exploring Operation: 21+3=24, Resulting Numbers: [42, 56, 24]
Generated Node #0,1: 31:[42, 56, 24] Operation: 21+3=24
Exploring Operation: 56-3=53, Resulting Numbers: [42, 21, 53]
Generated Node #0,2: 31:[42, 21, 53] Operation: 56-3=53
Exploring Operation: 56-21=35, Resulting Numbers: [42, 3, 35]
Generated Node #0,3: 31:[42, 3, 35] Operation: 56-21=35
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[21, 56, 39], Operations: ['42-3=39']
Exploring Operation: 21+56=77, Resulting Numbers: [39, 77]
Generated Node #0,0,0: 31:[39, 77] Operation: 21+56=77
Exploring Operation: 56-21=35, Resulting Numbers: [39, 35]
Generated Node #0,0,1: 31:[39, 35] Operation: 56-21=35
Exploring Operation: 39-21=18, Resulting Numbers: [56, 18]
Generated Node #0,0,2: 31:[56, 18] Operation: 39-21=18
Exploring Operation: 56-39=17, Resulting Numbers: [21, 17]
Generated Node #0,0,3: 31:[21, 17] Operation: 56-39=17
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 31:[39, 35], Operations: ['42-3=39', '56-21=35']
Exploring Operation: 39*35=1365, Resulting Numbers: [1365]
1365,31 unequal: No Solution
Exploring Operation: 39+35=74, Resulting Numbers: [74]
74,31 unequal: No Solution
Exploring Operation: 39-35=4, Resulting Numbers: [4]
4,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 31:[21, 17], Operations: ['42-3=39', '56-39=17']
Exploring Operation: 21+17=38, Resulting Numbers: [38]
38,31 unequal: No Solution
Exploring Operation: 21-17=4, Resulting Numbers: [4]
4,31 unequal: No Solution
Exploring Operation: 21*17=357, Resulting Numbers: [357]
357,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 31:[56, 18], Operations: ['42-3=39', '39-21=18']
Exploring Operation: 56+18=74, Resulting Numbers: [74]
74,31 unequal: No Solution
Exploring Operation: 56*18=1008, Resulting Numbers: [1008]
1008,31 unequal: No Solution
Exploring Operation: 56-18=38, Resulting Numbers: [38]
38,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 31:[39, 77], Operations: ['42-3=39', '21+56=77']
Exploring Operation: 77-39=38, Resulting Numbers: [38]
38,31 unequal: No Solution
Exploring Operation: 39+77=116, Resulting Numbers: [116]
116,31 unequal: No Solution
Exploring Operation: 39*77=3003, Resulting Numbers: [3003]
3003,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 31:[42, 56, 24], Operations: ['21+3=24']
Exploring Operation: 56-24=32, Resulting Numbers: [42, 32]
Generated Node #0,1,0: 31:[42, 32] Operation: 56-24=32
Exploring Operation: 42-24=18, Resulting Numbers: [56, 18]
Generated Node #0,1,1: 31:[56, 18] Operation: 42-24=18
Exploring Operation: 56-42=14, Resulting Numbers: [24, 14]
Generated Node #0,1,2: 31:[24, 14] Operation: 56-42=14
Exploring Operation: 42+24=66, Resulting Numbers: [56, 66]
Generated Node #0,1,3: 31:[56, 66] Operation: 42+24=66
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 31:[42, 32], Operations: ['21+3=24', '56-24=32']
Exploring Operation: 42-32=10, Resulting Numbers: [10]
10,31 unequal: No Solution
Exploring Operation: 42+32=74, Resulting Numbers: [74]
74,31 unequal: No Solution
Exploring Operation: 42*32=1344, Resulting Numbers: [1344]
1344,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 31:[24, 14], Operations: ['21+3=24', '56-42=14']
Exploring Operation: 24-14=10, Resulting Numbers: [10]
10,31 unequal: No Solution
Exploring Operation: 24+14=38, Resulting Numbers: [38]
38,31 unequal: No Solution
Exploring Operation: 24*14=336, Resulting Numbers: [336]
336,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 31:[56, 18], Operations: ['21+3=24', '42-24=18']
Exploring Operation: 56-18=38, Resulting Numbers: [38]
38,31 unequal: No Solution
Exploring Operation: 56*18=1008, Resulting Numbers: [1008]
1008,31 unequal: No Solution
Exploring Operation: 56+18=74, Resulting Numbers: [74]
74,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 31:[56, 66], Operations: ['21+3=24', '42+24=66']
Exploring Operation: 66-56=10, Resulting Numbers: [10]
10,31 unequal: No Solution
Exploring Operation: 56+66=122, Resulting Numbers: [122]
122,31 unequal: No Solution
Exploring Operation: 56*66=3696, Resulting Numbers: [3696]
3696,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 31:[42, 21, 53], Operations: ['56-3=53']
Exploring Operation: 53-21=32, Resulting Numbers: [42, 32]
Generated Node #0,2,0: 31:[42, 32] Operation: 53-21=32
Exploring Operation: 42/21=2, Resulting Numbers: [53, 2]
Generated Node #0,2,1: 31:[53, 2] Operation: 42/21=2
Exploring Operation: 53-42=11, Resulting Numbers: [21, 11]
Generated Node #0,2,2: 31:[21, 11] Operation: 53-42=11
Exploring Operation: 42-21=21, Resulting Numbers: [53, 21]
Generated Node #0,2,3: 31:[53, 21] Operation: 42-21=21
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 31:[42, 32], Operations: ['56-3=53', '53-21=32']
Exploring Operation: 42*32=1344, Resulting Numbers: [1344]
1344,31 unequal: No Solution
Exploring Operation: 42+32=74, Resulting Numbers: [74]
74,31 unequal: No Solution
Exploring Operation: 42-32=10, Resulting Numbers: [10]
10,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 31:[21, 11], Operations: ['56-3=53', '53-42=11']
Exploring Operation: 21*11=231, Resulting Numbers: [231]
231,31 unequal: No Solution
Exploring Operation: 21-11=10, Resulting Numbers: [10]
10,31 unequal: No Solution
Exploring Operation: 21+11=32, Resulting Numbers: [32]
32,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 31:[53, 21], Operations: ['56-3=53', '42-21=21']
Exploring Operation: 53*21=1113, Resulting Numbers: [1113]
1113,31 unequal: No Solution
Exploring Operation: 53-21=32, Resulting Numbers: [32]
32,31 unequal: No Solution
Exploring Operation: 53+21=74, Resulting Numbers: [74]
74,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 31:[53, 2], Operations: ['56-3=53', '42/21=2']
Exploring Operation: 53-2=51, Resulting Numbers: [51]
51,31 unequal: No Solution
Exploring Operation: 53+2=55, Resulting Numbers: [55]
55,31 unequal: No Solution
Exploring Operation: 53*2=106, Resulting Numbers: [106]
106,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 31:[42, 3, 35], Operations: ['56-21=35']
Exploring Operation: 3+35=38, Resulting Numbers: [42, 38]
Generated Node #0,3,0: 31:[42, 38] Operation: 3+35=38
Exploring Operation: 35-3=32, Resulting Numbers: [42, 32]
Generated Node #0,3,1: 31:[42, 32] Operation: 35-3=32
Exploring Operation: 42+3=45, Resulting Numbers: [35, 45]
Generated Node #0,3,2: 31:[35, 45] Operation: 42+3=45
Exploring Operation: 42-3=39, Resulting Numbers: [35, 39]
Generated Node #0,3,3: 31:[35, 39] Operation: 42-3=39
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 31:[42, 32], Operations: ['56-21=35', '35-3=32']
Exploring Operation: 42-32=10, Resulting Numbers: [10]
10,31 unequal: No Solution
Exploring Operation: 42+32=74, Resulting Numbers: [74]
74,31 unequal: No Solution
Exploring Operation: 42*32=1344, Resulting Numbers: [1344]
1344,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 31:[35, 39], Operations: ['56-21=35', '42-3=39']
Exploring Operation: 39-35=4, Resulting Numbers: [4]
4,31 unequal: No Solution
Exploring Operation: 35*39=1365, Resulting Numbers: [1365]
1365,31 unequal: No Solution
Exploring Operation: 35+39=74, Resulting Numbers: [74]
74,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 31:[42, 38], Operations: ['56-21=35', '3+35=38']
Exploring Operation: 42-38=4, Resulting Numbers: [4]
4,31 unequal: No Solution
Exploring Operation: 42+38=80, Resulting Numbers: [80]
80,31 unequal: No Solution
Exploring Operation: 42*38=1596, Resulting Numbers: [1596]
1596,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 31:[35, 45], Operations: ['56-21=35', '42+3=45']
Exploring Operation: 45-35=10, Resulting Numbers: [10]
10,31 unequal: No Solution
Exploring Operation: 35*45=1575, Resulting Numbers: [1575]
1575,31 unequal: No Solution
Exploring Operation: 35+45=80, Resulting Numbers: [80]
80,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
95,
23,
25,
52
] | 98 | [
"23+52=75",
"75/25=3",
"95+3=98"
] | Current State: 98:[95, 23, 25, 52], Operations: []
Exploring Operation: 23+52=75, Resulting Numbers: [95, 25, 75]
Generated Node #2: [95, 25, 75] from Operation: 23+52=75
Current State: 98:[95, 25, 75], Operations: ['23+52=75']
Exploring Operation: 75/25=3, Resulting Numbers: [95, 3]
Generated Node #3: [95, 3] from Operation: 75/25=3
Current State: 98:[95, 3], Operations: ['23+52=75', '75/25=3']
Exploring Operation: 95+3=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[95, 23, 25, 52], Operations: []
Exploring Operation: 25-23=2, Resulting Numbers: [95, 52, 2]
Generated Node #0,0: 98:[95, 52, 2] Operation: 25-23=2
Exploring Operation: 23+25=48, Resulting Numbers: [95, 52, 48]
Generated Node #0,1: 98:[95, 52, 48] Operation: 23+25=48
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[95, 52, 2], Operations: ['25-23=2']
Exploring Operation: 95+2=97, Resulting Numbers: [52, 97]
Generated Node #0,0,0: 98:[52, 97] Operation: 95+2=97
Exploring Operation: 52-2=50, Resulting Numbers: [95, 50]
Generated Node #0,0,1: 98:[95, 50] Operation: 52-2=50
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 98:[52, 97], Operations: ['25-23=2', '95+2=97']
Exploring Operation: 97-52=45, Resulting Numbers: [45]
45,98 unequal: No Solution
Exploring Operation: 52+97=149, Resulting Numbers: [149]
149,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 98:[95, 50], Operations: ['25-23=2', '52-2=50']
Exploring Operation: 95-50=45, Resulting Numbers: [45]
45,98 unequal: No Solution
Exploring Operation: 95+50=145, Resulting Numbers: [145]
145,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 98:[95, 52, 48], Operations: ['23+25=48']
Exploring Operation: 52+48=100, Resulting Numbers: [95, 100]
Generated Node #0,1,0: 98:[95, 100] Operation: 52+48=100
Exploring Operation: 95-48=47, Resulting Numbers: [52, 47]
Generated Node #0,1,1: 98:[52, 47] Operation: 95-48=47
Moving to Node #0,1,0
Current State: 98:[95, 100], Operations: ['23+25=48', '52+48=100']
Exploring Operation: 95+100=195, Resulting Numbers: [195]
195,98 unequal: No Solution
Exploring Operation: 100-95=5, Resulting Numbers: [5]
5,98 unequal: No Solution
Moving to Node #0,1,1
Current State: 98:[52, 47], Operations: ['23+25=48', '95-48=47']
Exploring Operation: 52-47=5, Resulting Numbers: [5]
5,98 unequal: No Solution
Exploring Operation: 52+47=99, Resulting Numbers: [99]
99,98 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 |
[
91,
82,
93,
28
] | 68 | [
"93-91=2",
"28/2=14",
"82-14=68"
] | Current State: 68:[91, 82, 93, 28], Operations: []
Exploring Operation: 93-91=2, Resulting Numbers: [82, 28, 2]
Generated Node #2: [82, 28, 2] from Operation: 93-91=2
Current State: 68:[82, 28, 2], Operations: ['93-91=2']
Exploring Operation: 28/2=14, Resulting Numbers: [82, 14]
Generated Node #3: [82, 14] from Operation: 28/2=14
Current State: 68:[82, 14], Operations: ['93-91=2', '28/2=14']
Exploring Operation: 82-14=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[91, 82, 93, 28], Operations: []
Exploring Operation: 93-91=2, Resulting Numbers: [82, 28, 2]
Generated Node #0,0: 68:[82, 28, 2] Operation: 93-91=2
Exploring Operation: 91-82=9, Resulting Numbers: [93, 28, 9]
Generated Node #0,1: 68:[93, 28, 9] Operation: 91-82=9
Exploring Operation: 93-82=11, Resulting Numbers: [91, 28, 11]
Generated Node #0,2: 68:[91, 28, 11] Operation: 93-82=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[82, 28, 2], Operations: ['93-91=2']
Exploring Operation: 82-28=54, Resulting Numbers: [2, 54]
Generated Node #0,0,0: 68:[2, 54] Operation: 82-28=54
Exploring Operation: 82/2=41, Resulting Numbers: [28, 41]
Generated Node #0,0,1: 68:[28, 41] Operation: 82/2=41
Exploring Operation: 28/2=14, Resulting Numbers: [82, 14]
Generated Node #0,0,2: 68:[82, 14] Operation: 28/2=14
Moving to Node #0,0,1
Current State: 68:[28, 41], Operations: ['93-91=2', '82/2=41']
Exploring Operation: 41-28=13, Resulting Numbers: [13]
13,68 unequal: No Solution
Exploring Operation: 28+41=69, Resulting Numbers: [69]
69,68 unequal: No Solution
Exploring Operation: 28*41=1148, Resulting Numbers: [1148]
1148,68 unequal: No Solution
Moving to Node #0,0,0
Current State: 68:[2, 54], Operations: ['93-91=2', '82-28=54']
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,68 unequal: No Solution
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,68 unequal: No Solution
Exploring Operation: 2+54=56, Resulting Numbers: [56]
56,68 unequal: No Solution
Moving to Node #0,0,2
Current State: 68:[82, 14], Operations: ['93-91=2', '28/2=14']
Exploring Operation: 82+14=96, Resulting Numbers: [96]
96,68 unequal: No Solution
Exploring Operation: 82-14=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[91, 82, 93, 28], Operations: []
Exploring Operation: 93-91=2, Resulting Numbers: [82, 28, 2]
Generated Node #0,0: 68:[82, 28, 2] Operation: 93-91=2
Moving to Node #0,0
Current State: 68:[82, 28, 2], Operations: ['93-91=2']
Exploring Operation: 28/2=14, Resulting Numbers: [82, 14]
Generated Node #0,0,2: 68:[82, 14] Operation: 28/2=14
Moving to Node #0,0,2
Current State: 68:[82, 14], Operations: ['93-91=2', '28/2=14']
Exploring Operation: 82-14=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_3 | mult_heuristic |
[
54,
11,
46,
9
] | 80 | [
"54-11=43",
"46-9=37",
"43+37=80"
] | Current State: 80:[54, 11, 46, 9], Operations: []
Exploring Operation: 54-11=43, Resulting Numbers: [46, 9, 43]
Generated Node #2: [46, 9, 43] from Operation: 54-11=43
Current State: 80:[46, 9, 43], Operations: ['54-11=43']
Exploring Operation: 46-9=37, Resulting Numbers: [43, 37]
Generated Node #3: [43, 37] from Operation: 46-9=37
Current State: 80:[43, 37], Operations: ['54-11=43', '46-9=37']
Exploring Operation: 43+37=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[54, 11, 46, 9], Operations: []
Exploring Operation: 54-46=8, Resulting Numbers: [11, 9, 8]
Generated Node #0,0: 80:[11, 9, 8] Operation: 54-46=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[11, 9, 8], Operations: ['54-46=8']
Exploring Operation: 11+9=20, Resulting Numbers: [8, 20]
Generated Node #0,0,0: 80:[8, 20] Operation: 11+9=20
Moving to Node #0,0,0
Current State: 80:[8, 20], Operations: ['54-46=8', '11+9=20']
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,80 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 |
[
41,
90,
35,
20
] | 43 | [
"90-20=70",
"70/35=2",
"41+2=43"
] | Current State: 43:[41, 90, 35, 20], Operations: []
Exploring Operation: 90-20=70, Resulting Numbers: [41, 35, 70]
Generated Node #2: [41, 35, 70] from Operation: 90-20=70
Current State: 43:[41, 35, 70], Operations: ['90-20=70']
Exploring Operation: 70/35=2, Resulting Numbers: [41, 2]
Generated Node #3: [41, 2] from Operation: 70/35=2
Current State: 43:[41, 2], Operations: ['90-20=70', '70/35=2']
Exploring Operation: 41+2=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[41, 90, 35, 20], Operations: []
Exploring Operation: 90-41=49, Resulting Numbers: [35, 20, 49]
Generated Node #0,0: 43:[35, 20, 49] Operation: 90-41=49
Exploring Operation: 90-35=55, Resulting Numbers: [41, 20, 55]
Generated Node #0,1: 43:[41, 20, 55] Operation: 90-35=55
Moving to Node #0,0
Current State: 43:[35, 20, 49], Operations: ['90-41=49']
Exploring Operation: 49-20=29, Resulting Numbers: [35, 29]
Generated Node #0,0,0: 43:[35, 29] Operation: 49-20=29
Exploring Operation: 35+20=55, Resulting Numbers: [49, 55]
Generated Node #0,0,1: 43:[49, 55] Operation: 35+20=55
Moving to Node #0,1
Current State: 43:[41, 20, 55], Operations: ['90-35=55']
Exploring Operation: 41+20=61, Resulting Numbers: [55, 61]
Generated Node #0,1,0: 43:[55, 61] Operation: 41+20=61
Exploring Operation: 55-20=35, Resulting Numbers: [41, 35]
Generated Node #0,1,1: 43:[41, 35] Operation: 55-20=35
Moving to Node #0,1,1
Current State: 43:[41, 35], Operations: ['90-35=55', '55-20=35']
Exploring Operation: 41-35=6, Resulting Numbers: [6]
6,43 unequal: No Solution
Exploring Operation: 41+35=76, Resulting Numbers: [76]
76,43 unequal: No Solution
Moving to Node #0,0,1
Current State: 43:[49, 55], Operations: ['90-41=49', '35+20=55']
Exploring Operation: 49+55=104, Resulting Numbers: [104]
104,43 unequal: No Solution
Exploring Operation: 55-49=6, Resulting Numbers: [6]
6,43 unequal: No Solution
Moving to Node #0,0,0
Current State: 43:[35, 29], Operations: ['90-41=49', '49-20=29']
Exploring Operation: 35-29=6, Resulting Numbers: [6]
6,43 unequal: No Solution
Exploring Operation: 35+29=64, Resulting Numbers: [64]
64,43 unequal: No Solution
Moving to Node #0,1,0
Current State: 43:[55, 61], Operations: ['90-35=55', '41+20=61']
Exploring Operation: 61-55=6, Resulting Numbers: [6]
6,43 unequal: No Solution
Exploring Operation: 55+61=116, Resulting Numbers: [116]
116,43 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
2,
74,
31,
77
] | 71 | [
"74/2=37",
"31+77=108",
"108-37=71"
] | Current State: 71:[2, 74, 31, 77], Operations: []
Exploring Operation: 74/2=37, Resulting Numbers: [31, 77, 37]
Generated Node #2: [31, 77, 37] from Operation: 74/2=37
Current State: 71:[31, 77, 37], Operations: ['74/2=37']
Exploring Operation: 31+77=108, Resulting Numbers: [37, 108]
Generated Node #3: [37, 108] from Operation: 31+77=108
Current State: 71:[37, 108], Operations: ['74/2=37', '31+77=108']
Exploring Operation: 108-37=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[2, 74, 31, 77], Operations: []
Exploring Operation: 2+31=33, Resulting Numbers: [74, 77, 33]
Generated Node #0,0: 71:[74, 77, 33] Operation: 2+31=33
Exploring Operation: 77-2=75, Resulting Numbers: [74, 31, 75]
Generated Node #0,1: 71:[74, 31, 75] Operation: 77-2=75
Exploring Operation: 2*31=62, Resulting Numbers: [74, 77, 62]
Generated Node #0,2: 71:[74, 77, 62] Operation: 2*31=62
Exploring Operation: 74-2=72, Resulting Numbers: [31, 77, 72]
Generated Node #0,3: 71:[31, 77, 72] Operation: 74-2=72
Exploring Operation: 2+74=76, Resulting Numbers: [31, 77, 76]
Generated Node #0,4: 71:[31, 77, 76] Operation: 2+74=76
Moving to Node #0,2
Current State: 71:[74, 77, 62], Operations: ['2*31=62']
Exploring Operation: 77-62=15, Resulting Numbers: [74, 15]
Generated Node #0,2,0: 71:[74, 15] Operation: 77-62=15
Exploring Operation: 77-74=3, Resulting Numbers: [62, 3]
Generated Node #0,2,1: 71:[62, 3] Operation: 77-74=3
Exploring Operation: 74-62=12, Resulting Numbers: [77, 12]
Generated Node #0,2,2: 71:[77, 12] Operation: 74-62=12
Exploring Operation: 74+62=136, Resulting Numbers: [77, 136]
Generated Node #0,2,3: 71:[77, 136] Operation: 74+62=136
Exploring Operation: 77+62=139, Resulting Numbers: [74, 139]
Generated Node #0,2,4: 71:[74, 139] Operation: 77+62=139
Moving to Node #0,1
Current State: 71:[74, 31, 75], Operations: ['77-2=75']
Exploring Operation: 74+31=105, Resulting Numbers: [75, 105]
Generated Node #0,1,0: 71:[75, 105] Operation: 74+31=105
Exploring Operation: 75-31=44, Resulting Numbers: [74, 44]
Generated Node #0,1,1: 71:[74, 44] Operation: 75-31=44
Exploring Operation: 31+75=106, Resulting Numbers: [74, 106]
Generated Node #0,1,2: 71:[74, 106] Operation: 31+75=106
Exploring Operation: 75-74=1, Resulting Numbers: [31, 1]
Generated Node #0,1,3: 71:[31, 1] Operation: 75-74=1
Exploring Operation: 74-31=43, Resulting Numbers: [75, 43]
Generated Node #0,1,4: 71:[75, 43] Operation: 74-31=43
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 71:[74, 44], Operations: ['77-2=75', '75-31=44']
Exploring Operation: 74+44=118, Resulting Numbers: [118]
118,71 unequal: No Solution
Exploring Operation: 74*44=3256, Resulting Numbers: [3256]
3256,71 unequal: No Solution
Exploring Operation: 74-44=30, Resulting Numbers: [30]
30,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 71:[75, 43], Operations: ['77-2=75', '74-31=43']
Exploring Operation: 75*43=3225, Resulting Numbers: [3225]
3225,71 unequal: No Solution
Exploring Operation: 75-43=32, Resulting Numbers: [32]
32,71 unequal: No Solution
Exploring Operation: 75+43=118, Resulting Numbers: [118]
118,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 71:[75, 105], Operations: ['77-2=75', '74+31=105']
Exploring Operation: 75+105=180, Resulting Numbers: [180]
180,71 unequal: No Solution
Exploring Operation: 105-75=30, Resulting Numbers: [30]
30,71 unequal: No Solution
Exploring Operation: 75*105=7875, Resulting Numbers: [7875]
7875,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 71:[74, 106], Operations: ['77-2=75', '31+75=106']
Exploring Operation: 106-74=32, Resulting Numbers: [32]
32,71 unequal: No Solution
Exploring Operation: 74*106=7844, Resulting Numbers: [7844]
7844,71 unequal: No Solution
Exploring Operation: 74+106=180, Resulting Numbers: [180]
180,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 71:[31, 1], Operations: ['77-2=75', '75-74=1']
Exploring Operation: 31+1=32, Resulting Numbers: [32]
32,71 unequal: No Solution
Exploring Operation: 31/1=31, Resulting Numbers: [31]
31,71 unequal: No Solution
Exploring Operation: 31-1=30, Resulting Numbers: [30]
30,71 unequal: No Solution
Exploring Operation: 31*1=31, Resulting Numbers: [31]
31,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 71:[74, 77, 33], Operations: ['2+31=33']
Exploring Operation: 77+33=110, Resulting Numbers: [74, 110]
Generated Node #0,0,0: 71:[74, 110] Operation: 77+33=110
Exploring Operation: 74+33=107, Resulting Numbers: [77, 107]
Generated Node #0,0,1: 71:[77, 107] Operation: 74+33=107
Exploring Operation: 74-33=41, Resulting Numbers: [77, 41]
Generated Node #0,0,2: 71:[77, 41] Operation: 74-33=41
Exploring Operation: 77-33=44, Resulting Numbers: [74, 44]
Generated Node #0,0,3: 71:[74, 44] Operation: 77-33=44
Exploring Operation: 77-74=3, Resulting Numbers: [33, 3]
Generated Node #0,0,4: 71:[33, 3] Operation: 77-74=3
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 71:[74, 44], Operations: ['2+31=33', '77-33=44']
Exploring Operation: 74+44=118, Resulting Numbers: [118]
118,71 unequal: No Solution
Exploring Operation: 74-44=30, Resulting Numbers: [30]
30,71 unequal: No Solution
Exploring Operation: 74*44=3256, Resulting Numbers: [3256]
3256,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 71:[77, 41], Operations: ['2+31=33', '74-33=41']
Exploring Operation: 77-41=36, Resulting Numbers: [36]
36,71 unequal: No Solution
Exploring Operation: 77*41=3157, Resulting Numbers: [3157]
3157,71 unequal: No Solution
Exploring Operation: 77+41=118, Resulting Numbers: [118]
118,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 71:[74, 110], Operations: ['2+31=33', '77+33=110']
Exploring Operation: 74*110=8140, Resulting Numbers: [8140]
8140,71 unequal: No Solution
Exploring Operation: 110-74=36, Resulting Numbers: [36]
36,71 unequal: No Solution
Exploring Operation: 74+110=184, Resulting Numbers: [184]
184,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 71:[77, 107], Operations: ['2+31=33', '74+33=107']
Exploring Operation: 77*107=8239, Resulting Numbers: [8239]
8239,71 unequal: No Solution
Exploring Operation: 77+107=184, Resulting Numbers: [184]
184,71 unequal: No Solution
Exploring Operation: 107-77=30, Resulting Numbers: [30]
30,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 71:[33, 3], Operations: ['2+31=33', '77-74=3']
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,71 unequal: No Solution
Exploring Operation: 33+3=36, Resulting Numbers: [36]
36,71 unequal: No Solution
Exploring Operation: 33*3=99, Resulting Numbers: [99]
99,71 unequal: No Solution
Exploring Operation: 33-3=30, Resulting Numbers: [30]
30,71 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: 71:[31, 77, 72], Operations: ['74-2=72']
Exploring Operation: 77-31=46, Resulting Numbers: [72, 46]
Generated Node #0,3,0: 71:[72, 46] Operation: 77-31=46
Exploring Operation: 31+77=108, Resulting Numbers: [72, 108]
Generated Node #0,3,1: 71:[72, 108] Operation: 31+77=108
Exploring Operation: 31+72=103, Resulting Numbers: [77, 103]
Generated Node #0,3,2: 71:[77, 103] Operation: 31+72=103
Exploring Operation: 72-31=41, Resulting Numbers: [77, 41]
Generated Node #0,3,3: 71:[77, 41] Operation: 72-31=41
Exploring Operation: 77-72=5, Resulting Numbers: [31, 5]
Generated Node #0,3,4: 71:[31, 5] Operation: 77-72=5
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 71:[72, 46], Operations: ['74-2=72', '77-31=46']
Exploring Operation: 72*46=3312, Resulting Numbers: [3312]
3312,71 unequal: No Solution
Exploring Operation: 72-46=26, Resulting Numbers: [26]
26,71 unequal: No Solution
Exploring Operation: 72+46=118, Resulting Numbers: [118]
118,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 71:[77, 41], Operations: ['74-2=72', '72-31=41']
Exploring Operation: 77+41=118, Resulting Numbers: [118]
118,71 unequal: No Solution
Exploring Operation: 77*41=3157, Resulting Numbers: [3157]
3157,71 unequal: No Solution
Exploring Operation: 77-41=36, Resulting Numbers: [36]
36,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 71:[72, 108], Operations: ['74-2=72', '31+77=108']
Exploring Operation: 108-72=36, Resulting Numbers: [36]
36,71 unequal: No Solution
Exploring Operation: 72*108=7776, Resulting Numbers: [7776]
7776,71 unequal: No Solution
Exploring Operation: 72+108=180, Resulting Numbers: [180]
180,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 71:[77, 103], Operations: ['74-2=72', '31+72=103']
Exploring Operation: 103-77=26, Resulting Numbers: [26]
26,71 unequal: No Solution
Exploring Operation: 77+103=180, Resulting Numbers: [180]
180,71 unequal: No Solution
Exploring Operation: 77*103=7931, Resulting Numbers: [7931]
7931,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 71:[31, 5], Operations: ['74-2=72', '77-72=5']
Exploring Operation: 31+5=36, Resulting Numbers: [36]
36,71 unequal: No Solution
Exploring Operation: 31-5=26, Resulting Numbers: [26]
26,71 unequal: No Solution
Exploring Operation: 31*5=155, Resulting Numbers: [155]
155,71 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: 71:[31, 77, 76], Operations: ['2+74=76']
Exploring Operation: 31+77=108, Resulting Numbers: [76, 108]
Generated Node #0,4,0: 71:[76, 108] Operation: 31+77=108
Exploring Operation: 31+76=107, Resulting Numbers: [77, 107]
Generated Node #0,4,1: 71:[77, 107] Operation: 31+76=107
Exploring Operation: 77-31=46, Resulting Numbers: [76, 46]
Generated Node #0,4,2: 71:[76, 46] Operation: 77-31=46
Exploring Operation: 76-31=45, Resulting Numbers: [77, 45]
Generated Node #0,4,3: 71:[77, 45] Operation: 76-31=45
Exploring Operation: 77-76=1, Resulting Numbers: [31, 1]
Generated Node #0,4,4: 71:[31, 1] Operation: 77-76=1
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 71:[76, 46], Operations: ['2+74=76', '77-31=46']
Exploring Operation: 76*46=3496, Resulting Numbers: [3496]
3496,71 unequal: No Solution
Exploring Operation: 76-46=30, Resulting Numbers: [30]
30,71 unequal: No Solution
Exploring Operation: 76+46=122, Resulting Numbers: [122]
122,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 71:[77, 45], Operations: ['2+74=76', '76-31=45']
Exploring Operation: 77-45=32, Resulting Numbers: [32]
32,71 unequal: No Solution
Exploring Operation: 77*45=3465, Resulting Numbers: [3465]
3465,71 unequal: No Solution
Exploring Operation: 77+45=122, Resulting Numbers: [122]
122,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 71:[76, 108], Operations: ['2+74=76', '31+77=108']
Exploring Operation: 76+108=184, Resulting Numbers: [184]
184,71 unequal: No Solution
Exploring Operation: 76*108=8208, Resulting Numbers: [8208]
8208,71 unequal: No Solution
Exploring Operation: 108-76=32, Resulting Numbers: [32]
32,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 71:[77, 107], Operations: ['2+74=76', '31+76=107']
Exploring Operation: 77+107=184, Resulting Numbers: [184]
184,71 unequal: No Solution
Exploring Operation: 107-77=30, Resulting Numbers: [30]
30,71 unequal: No Solution
Exploring Operation: 77*107=8239, Resulting Numbers: [8239]
8239,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 71:[31, 1], Operations: ['2+74=76', '77-76=1']
Exploring Operation: 31/1=31, Resulting Numbers: [31]
31,71 unequal: No Solution
Exploring Operation: 31+1=32, Resulting Numbers: [32]
32,71 unequal: No Solution
Exploring Operation: 31-1=30, Resulting Numbers: [30]
30,71 unequal: No Solution
Exploring Operation: 31*1=31, Resulting Numbers: [31]
31,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,0
Current State: 71:[74, 15], Operations: ['2*31=62', '77-62=15']
Exploring Operation: 74*15=1110, Resulting Numbers: [1110]
1110,71 unequal: No Solution
Exploring Operation: 74-15=59, Resulting Numbers: [59]
59,71 unequal: No Solution
Exploring Operation: 74+15=89, Resulting Numbers: [89]
89,71 unequal: No Solution
Moving to Node #0,2,2
Current State: 71:[77, 12], Operations: ['2*31=62', '74-62=12']
Exploring Operation: 77+12=89, Resulting Numbers: [89]
89,71 unequal: No Solution
Exploring Operation: 77*12=924, Resulting Numbers: [924]
924,71 unequal: No Solution
Exploring Operation: 77-12=65, Resulting Numbers: [65]
65,71 unequal: No Solution
Moving to Node #0,2,3
Current State: 71:[77, 136], Operations: ['2*31=62', '74+62=136']
Exploring Operation: 77*136=10472, Resulting Numbers: [10472]
10472,71 unequal: No Solution
Exploring Operation: 136-77=59, Resulting Numbers: [59]
59,71 unequal: No Solution
Exploring Operation: 77+136=213, Resulting Numbers: [213]
213,71 unequal: No Solution
Moving to Node #0,2,4
Current State: 71:[74, 139], Operations: ['2*31=62', '77+62=139']
Exploring Operation: 139-74=65, Resulting Numbers: [65]
65,71 unequal: No Solution
Exploring Operation: 74+139=213, Resulting Numbers: [213]
213,71 unequal: No Solution
Exploring Operation: 74*139=10286, Resulting Numbers: [10286]
10286,71 unequal: No Solution
Moving to Node #0,2,1
Current State: 71:[62, 3], Operations: ['2*31=62', '77-74=3']
Exploring Operation: 62*3=186, Resulting Numbers: [186]
186,71 unequal: No Solution
Exploring Operation: 62-3=59, Resulting Numbers: [59]
59,71 unequal: No Solution
Exploring Operation: 62+3=65, Resulting Numbers: [65]
65,71 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
30,
60,
4,
36
] | 42 | [
"60/30=2",
"4+36=40",
"2+40=42"
] | Current State: 42:[30, 60, 4, 36], Operations: []
Exploring Operation: 60/30=2, Resulting Numbers: [4, 36, 2]
Generated Node #2: [4, 36, 2] from Operation: 60/30=2
Current State: 42:[4, 36, 2], Operations: ['60/30=2']
Exploring Operation: 4+36=40, Resulting Numbers: [2, 40]
Generated Node #3: [2, 40] from Operation: 4+36=40
Current State: 42:[2, 40], Operations: ['60/30=2', '4+36=40']
Exploring Operation: 2+40=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[30, 60, 4, 36], Operations: []
Exploring Operation: 60-30=30, Resulting Numbers: [4, 36, 30]
Generated Node #0,0: 42:[4, 36, 30] Operation: 60-30=30
Exploring Operation: 60-36=24, Resulting Numbers: [30, 4, 24]
Generated Node #0,1: 42:[30, 4, 24] Operation: 60-36=24
Exploring Operation: 36-30=6, Resulting Numbers: [60, 4, 6]
Generated Node #0,2: 42:[60, 4, 6] Operation: 36-30=6
Exploring Operation: 60/4=15, Resulting Numbers: [30, 36, 15]
Generated Node #0,3: 42:[30, 36, 15] Operation: 60/4=15
Exploring Operation: 60/30=2, Resulting Numbers: [4, 36, 2]
Generated Node #0,4: 42:[4, 36, 2] Operation: 60/30=2
Moving to Node #0,4
Current State: 42:[4, 36, 2], Operations: ['60/30=2']
Exploring Operation: 4+2=6, Resulting Numbers: [36, 6]
Generated Node #0,4,0: 42:[36, 6] Operation: 4+2=6
Exploring Operation: 36/4=9, Resulting Numbers: [2, 9]
Generated Node #0,4,1: 42:[2, 9] Operation: 36/4=9
Exploring Operation: 36/2=18, Resulting Numbers: [4, 18]
Generated Node #0,4,2: 42:[4, 18] Operation: 36/2=18
Exploring Operation: 4+36=40, Resulting Numbers: [2, 40]
Generated Node #0,4,3: 42:[2, 40] Operation: 4+36=40
Exploring Operation: 36+2=38, Resulting Numbers: [4, 38]
Generated Node #0,4,4: 42:[4, 38] Operation: 36+2=38
Moving to Node #0,1
Current State: 42:[30, 4, 24], Operations: ['60-36=24']
Exploring Operation: 30-24=6, Resulting Numbers: [4, 6]
Generated Node #0,1,0: 42:[4, 6] Operation: 30-24=6
Exploring Operation: 30-4=26, Resulting Numbers: [24, 26]
Generated Node #0,1,1: 42:[24, 26] Operation: 30-4=26
Exploring Operation: 24-4=20, Resulting Numbers: [30, 20]
Generated Node #0,1,2: 42:[30, 20] Operation: 24-4=20
Exploring Operation: 30+4=34, Resulting Numbers: [24, 34]
Generated Node #0,1,3: 42:[24, 34] Operation: 30+4=34
Exploring Operation: 24/4=6, Resulting Numbers: [30, 6]
Generated Node #0,1,4: 42:[30, 6] Operation: 24/4=6
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 42:[4, 6], Operations: ['60-36=24', '30-24=6']
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,42 unequal: No Solution
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,42 unequal: No Solution
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,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:[24, 26], Operations: ['60-36=24', '30-4=26']
Exploring Operation: 24*26=624, Resulting Numbers: [624]
624,42 unequal: No Solution
Exploring Operation: 26-24=2, Resulting Numbers: [2]
2,42 unequal: No Solution
Exploring Operation: 24+26=50, Resulting Numbers: [50]
50,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,4
Current State: 42:[30, 6], Operations: ['60-36=24', '24/4=6']
Exploring Operation: 30/6=5, Resulting Numbers: [5]
5,42 unequal: No Solution
Exploring Operation: 30+6=36, Resulting Numbers: [36]
36,42 unequal: No Solution
Exploring Operation: 30-6=24, Resulting Numbers: [24]
24,42 unequal: No Solution
Exploring Operation: 30*6=180, Resulting Numbers: [180]
180,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:[30, 20], Operations: ['60-36=24', '24-4=20']
Exploring Operation: 30+20=50, Resulting Numbers: [50]
50,42 unequal: No Solution
Exploring Operation: 30*20=600, Resulting Numbers: [600]
600,42 unequal: No Solution
Exploring Operation: 30-20=10, Resulting Numbers: [10]
10,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:[24, 34], Operations: ['60-36=24', '30+4=34']
Exploring Operation: 34-24=10, Resulting Numbers: [10]
10,42 unequal: No Solution
Exploring Operation: 24*34=816, Resulting Numbers: [816]
816,42 unequal: No Solution
Exploring Operation: 24+34=58, Resulting Numbers: [58]
58,42 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: 42:[4, 36, 30], Operations: ['60-30=30']
Exploring Operation: 4+36=40, Resulting Numbers: [30, 40]
Generated Node #0,0,0: 42:[30, 40] Operation: 4+36=40
Exploring Operation: 30-4=26, Resulting Numbers: [36, 26]
Generated Node #0,0,1: 42:[36, 26] Operation: 30-4=26
Exploring Operation: 4+30=34, Resulting Numbers: [36, 34]
Generated Node #0,0,2: 42:[36, 34] Operation: 4+30=34
Exploring Operation: 36/4=9, Resulting Numbers: [30, 9]
Generated Node #0,0,3: 42:[30, 9] Operation: 36/4=9
Exploring Operation: 36-30=6, Resulting Numbers: [4, 6]
Generated Node #0,0,4: 42:[4, 6] Operation: 36-30=6
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 42:[4, 6], Operations: ['60-30=30', '36-30=6']
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,42 unequal: No Solution
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,42 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,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,0,0
Current State: 42:[30, 40], Operations: ['60-30=30', '4+36=40']
Exploring Operation: 30*40=1200, Resulting Numbers: [1200]
1200,42 unequal: No Solution
Exploring Operation: 40-30=10, Resulting Numbers: [10]
10,42 unequal: No Solution
Exploring Operation: 30+40=70, Resulting Numbers: [70]
70,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,0,1
Current State: 42:[36, 26], Operations: ['60-30=30', '30-4=26']
Exploring Operation: 36+26=62, Resulting Numbers: [62]
62,42 unequal: No Solution
Exploring Operation: 36*26=936, Resulting Numbers: [936]
936,42 unequal: No Solution
Exploring Operation: 36-26=10, Resulting Numbers: [10]
10,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,0,3
Current State: 42:[30, 9], Operations: ['60-30=30', '36/4=9']
Exploring Operation: 30*9=270, Resulting Numbers: [270]
270,42 unequal: No Solution
Exploring Operation: 30-9=21, Resulting Numbers: [21]
21,42 unequal: No Solution
Exploring Operation: 30+9=39, Resulting Numbers: [39]
39,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,0,2
Current State: 42:[36, 34], Operations: ['60-30=30', '4+30=34']
Exploring Operation: 36*34=1224, Resulting Numbers: [1224]
1224,42 unequal: No Solution
Exploring Operation: 36-34=2, Resulting Numbers: [2]
2,42 unequal: No Solution
Exploring Operation: 36+34=70, Resulting Numbers: [70]
70,42 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: 42:[30, 36, 15], Operations: ['60/4=15']
Exploring Operation: 30+15=45, Resulting Numbers: [36, 45]
Generated Node #0,3,0: 42:[36, 45] Operation: 30+15=45
Exploring Operation: 30-15=15, Resulting Numbers: [36, 15]
Generated Node #0,3,1: 42:[36, 15] Operation: 30-15=15
Exploring Operation: 36-15=21, Resulting Numbers: [30, 21]
Generated Node #0,3,2: 42:[30, 21] Operation: 36-15=21
Exploring Operation: 30/15=2, Resulting Numbers: [36, 2]
Generated Node #0,3,3: 42:[36, 2] Operation: 30/15=2
Exploring Operation: 36-30=6, Resulting Numbers: [15, 6]
Generated Node #0,3,4: 42:[15, 6] Operation: 36-30=6
Moving to Node #0,2
Current State: 42:[60, 4, 6], Operations: ['36-30=6']
Exploring Operation: 60/4=15, Resulting Numbers: [6, 15]
Generated Node #0,2,0: 42:[6, 15] Operation: 60/4=15
Exploring Operation: 60/6=10, Resulting Numbers: [4, 10]
Generated Node #0,2,1: 42:[4, 10] Operation: 60/6=10
Exploring Operation: 6-4=2, Resulting Numbers: [60, 2]
Generated Node #0,2,2: 42:[60, 2] Operation: 6-4=2
Exploring Operation: 60-4=56, Resulting Numbers: [6, 56]
Generated Node #0,2,3: 42:[6, 56] Operation: 60-4=56
Exploring Operation: 60-6=54, Resulting Numbers: [4, 54]
Generated Node #0,2,4: 42:[4, 54] Operation: 60-6=54
Moving to Node #0,3,4
Current State: 42:[15, 6], Operations: ['60/4=15', '36-30=6']
Exploring Operation: 15*6=90, Resulting Numbers: [90]
90,42 unequal: No Solution
Exploring Operation: 15-6=9, Resulting Numbers: [9]
9,42 unequal: No Solution
Exploring Operation: 15+6=21, Resulting Numbers: [21]
21,42 unequal: No Solution
Moving to Node #0,2,0
Current State: 42:[6, 15], Operations: ['36-30=6', '60/4=15']
Exploring Operation: 6*15=90, Resulting Numbers: [90]
90,42 unequal: No Solution
Exploring Operation: 6+15=21, Resulting Numbers: [21]
21,42 unequal: No Solution
Exploring Operation: 15-6=9, Resulting Numbers: [9]
9,42 unequal: No Solution
Moving to Node #0,4,1
Current State: 42:[2, 9], Operations: ['60/30=2', '36/4=9']
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,42 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,42 unequal: No Solution
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,42 unequal: No Solution
Moving to Node #0,4,3
Current State: 42:[2, 40], Operations: ['60/30=2', '4+36=40']
Exploring Operation: 2+40=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[30, 60, 4, 36], Operations: []
Exploring Operation: 60/30=2, Resulting Numbers: [4, 36, 2]
Generated Node #0,4: 42:[4, 36, 2] Operation: 60/30=2
Moving to Node #0,4
Current State: 42:[4, 36, 2], Operations: ['60/30=2']
Exploring Operation: 4+36=40, Resulting Numbers: [2, 40]
Generated Node #0,4,3: 42:[2, 40] Operation: 4+36=40
Moving to Node #0,4,3
Current State: 42:[2, 40], Operations: ['60/30=2', '4+36=40']
Exploring Operation: 2+40=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 0.934896 | hs_5 | mult_heuristic |
[
85,
89,
9,
66
] | 53 | [
"89-85=4",
"66-9=57",
"57-4=53"
] | Current State: 53:[85, 89, 9, 66], Operations: []
Exploring Operation: 89-85=4, Resulting Numbers: [9, 66, 4]
Generated Node #2: [9, 66, 4] from Operation: 89-85=4
Current State: 53:[9, 66, 4], Operations: ['89-85=4']
Exploring Operation: 66-9=57, Resulting Numbers: [4, 57]
Generated Node #3: [4, 57] from Operation: 66-9=57
Current State: 53:[4, 57], Operations: ['89-85=4', '66-9=57']
Exploring Operation: 57-4=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[85, 89, 9, 66], Operations: []
Exploring Operation: 85-9=76, Resulting Numbers: [89, 66, 76]
Generated Node #0,0: 53:[89, 66, 76] Operation: 85-9=76
Exploring Operation: 89-9=80, Resulting Numbers: [85, 66, 80]
Generated Node #0,1: 53:[85, 66, 80] Operation: 89-9=80
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[89, 66, 76], Operations: ['85-9=76']
Exploring Operation: 89-66=23, Resulting Numbers: [76, 23]
Generated Node #0,0,0: 53:[76, 23] Operation: 89-66=23
Exploring Operation: 89-76=13, Resulting Numbers: [66, 13]
Generated Node #0,0,1: 53:[66, 13] Operation: 89-76=13
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 53:[76, 23], Operations: ['85-9=76', '89-66=23']
Exploring Operation: 76+23=99, Resulting Numbers: [99]
99,53 unequal: No Solution
Exploring Operation: 76-23=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[85, 89, 9, 66], Operations: []
Exploring Operation: 85-9=76, Resulting Numbers: [89, 66, 76]
Generated Node #0,0: 53:[89, 66, 76] Operation: 85-9=76
Moving to Node #0,0
Current State: 53:[89, 66, 76], Operations: ['85-9=76']
Exploring Operation: 89-66=23, Resulting Numbers: [76, 23]
Generated Node #0,0,0: 53:[76, 23] Operation: 89-66=23
Moving to Node #0,0,0
Current State: 53:[76, 23], Operations: ['85-9=76', '89-66=23']
Exploring Operation: 76-23=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
90,
16,
52,
24
] | 60 | [
"90*24=2160",
"52-16=36",
"2160/36=60"
] | Current State: 60:[90, 16, 52, 24], Operations: []
Exploring Operation: 90*24=2160, Resulting Numbers: [16, 52, 2160]
Generated Node #2: [16, 52, 2160] from Operation: 90*24=2160
Current State: 60:[16, 52, 2160], Operations: ['90*24=2160']
Exploring Operation: 52-16=36, Resulting Numbers: [2160, 36]
Generated Node #3: [2160, 36] from Operation: 52-16=36
Current State: 60:[2160, 36], Operations: ['90*24=2160', '52-16=36']
Exploring Operation: 2160/36=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[90, 16, 52, 24], Operations: []
Exploring Operation: 90-52=38, Resulting Numbers: [16, 24, 38]
Generated Node #0,0: 60:[16, 24, 38] Operation: 90-52=38
Exploring Operation: 90-24=66, Resulting Numbers: [16, 52, 66]
Generated Node #0,1: 60:[16, 52, 66] Operation: 90-24=66
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[16, 24, 38], Operations: ['90-52=38']
Exploring Operation: 38-24=14, Resulting Numbers: [16, 14]
Generated Node #0,0,0: 60:[16, 14] Operation: 38-24=14
Exploring Operation: 24+38=62, Resulting Numbers: [16, 62]
Generated Node #0,0,1: 60:[16, 62] Operation: 24+38=62
Moving to Node #0,0,0
Current State: 60:[16, 14], Operations: ['90-52=38', '38-24=14']
Exploring Operation: 16-14=2, Resulting Numbers: [2]
2,60 unequal: No Solution
Exploring Operation: 16+14=30, Resulting Numbers: [30]
30,60 unequal: No Solution
Moving to Node #0,0,1
Current State: 60:[16, 62], Operations: ['90-52=38', '24+38=62']
Exploring Operation: 62-16=46, Resulting Numbers: [46]
46,60 unequal: No Solution
Exploring Operation: 16+62=78, Resulting Numbers: [78]
78,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 60:[16, 52, 66], Operations: ['90-24=66']
Exploring Operation: 66-52=14, Resulting Numbers: [16, 14]
Generated Node #0,1,0: 60:[16, 14] Operation: 66-52=14
Exploring Operation: 52-16=36, Resulting Numbers: [66, 36]
Generated Node #0,1,1: 60:[66, 36] Operation: 52-16=36
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 60:[16, 14], Operations: ['90-24=66', '66-52=14']
Exploring Operation: 16+14=30, Resulting Numbers: [30]
30,60 unequal: No Solution
Exploring Operation: 16-14=2, Resulting Numbers: [2]
2,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 60:[66, 36], Operations: ['90-24=66', '52-16=36']
Exploring Operation: 66+36=102, Resulting Numbers: [102]
102,60 unequal: No Solution
Exploring Operation: 66-36=30, Resulting Numbers: [30]
30,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
67,
28,
41,
5
] | 49 | [
"67+28=95",
"41+5=46",
"95-46=49"
] | Current State: 49:[67, 28, 41, 5], Operations: []
Exploring Operation: 67+28=95, Resulting Numbers: [41, 5, 95]
Generated Node #2: [41, 5, 95] from Operation: 67+28=95
Current State: 49:[41, 5, 95], Operations: ['67+28=95']
Exploring Operation: 41+5=46, Resulting Numbers: [95, 46]
Generated Node #3: [95, 46] from Operation: 41+5=46
Current State: 49:[95, 46], Operations: ['67+28=95', '41+5=46']
Exploring Operation: 95-46=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[67, 28, 41, 5], Operations: []
Exploring Operation: 28+41=69, Resulting Numbers: [67, 5, 69]
Generated Node #0,0: 49:[67, 5, 69] Operation: 28+41=69
Exploring Operation: 41-28=13, Resulting Numbers: [67, 5, 13]
Generated Node #0,1: 49:[67, 5, 13] Operation: 41-28=13
Exploring Operation: 67-28=39, Resulting Numbers: [41, 5, 39]
Generated Node #0,2: 49:[41, 5, 39] Operation: 67-28=39
Start Sub Search at level 1: Moving to Node #0,2
Current State: 49:[41, 5, 39], Operations: ['67-28=39']
Exploring Operation: 41+5=46, Resulting Numbers: [39, 46]
Generated Node #0,2,0: 49:[39, 46] Operation: 41+5=46
Exploring Operation: 5+39=44, Resulting Numbers: [41, 44]
Generated Node #0,2,1: 49:[41, 44] Operation: 5+39=44
Exploring Operation: 41-39=2, Resulting Numbers: [5, 2]
Generated Node #0,2,2: 49:[5, 2] Operation: 41-39=2
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 49:[5, 2], Operations: ['67-28=39', '41-39=2']
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,49 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,49 unequal: No Solution
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 49:[39, 46], Operations: ['67-28=39', '41+5=46']
Exploring Operation: 46-39=7, Resulting Numbers: [7]
7,49 unequal: No Solution
Exploring Operation: 39+46=85, Resulting Numbers: [85]
85,49 unequal: No Solution
Exploring Operation: 39*46=1794, Resulting Numbers: [1794]
1794,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 49:[41, 44], Operations: ['67-28=39', '5+39=44']
Exploring Operation: 41*44=1804, Resulting Numbers: [1804]
1804,49 unequal: No Solution
Exploring Operation: 44-41=3, Resulting Numbers: [3]
3,49 unequal: No Solution
Exploring Operation: 41+44=85, Resulting Numbers: [85]
85,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 49:[67, 5, 13], Operations: ['41-28=13']
Exploring Operation: 67-5=62, Resulting Numbers: [13, 62]
Generated Node #0,1,0: 49:[13, 62] Operation: 67-5=62
Exploring Operation: 13-5=8, Resulting Numbers: [67, 8]
Generated Node #0,1,1: 49:[67, 8] Operation: 13-5=8
Exploring Operation: 67-13=54, Resulting Numbers: [5, 54]
Generated Node #0,1,2: 49:[5, 54] Operation: 67-13=54
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 49:[5, 54], Operations: ['41-28=13', '67-13=54']
Exploring Operation: 5+54=59, Resulting Numbers: [59]
59,49 unequal: No Solution
Exploring Operation: 5*54=270, Resulting Numbers: [270]
270,49 unequal: No Solution
Exploring Operation: 54-5=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[67, 28, 41, 5], Operations: []
Exploring Operation: 41-28=13, Resulting Numbers: [67, 5, 13]
Generated Node #0,1: 49:[67, 5, 13] Operation: 41-28=13
Moving to Node #0,1
Current State: 49:[67, 5, 13], Operations: ['41-28=13']
Exploring Operation: 67-13=54, Resulting Numbers: [5, 54]
Generated Node #0,1,2: 49:[5, 54] Operation: 67-13=54
Moving to Node #0,1,2
Current State: 49:[5, 54], Operations: ['41-28=13', '67-13=54']
Exploring Operation: 54-5=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.978299 | hs_3 | sum_heuristic |
[
17,
94,
31,
33
] | 30 | [
"33-31=2",
"94/2=47",
"47-17=30"
] | Current State: 30:[17, 94, 31, 33], Operations: []
Exploring Operation: 33-31=2, Resulting Numbers: [17, 94, 2]
Generated Node #2: [17, 94, 2] from Operation: 33-31=2
Current State: 30:[17, 94, 2], Operations: ['33-31=2']
Exploring Operation: 94/2=47, Resulting Numbers: [17, 47]
Generated Node #3: [17, 47] from Operation: 94/2=47
Current State: 30:[17, 47], Operations: ['33-31=2', '94/2=47']
Exploring Operation: 47-17=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[17, 94, 31, 33], Operations: []
Exploring Operation: 94-33=61, Resulting Numbers: [17, 31, 61]
Generated Node #0,0: 30:[17, 31, 61] Operation: 94-33=61
Exploring Operation: 94-31=63, Resulting Numbers: [17, 33, 63]
Generated Node #0,1: 30:[17, 33, 63] Operation: 94-31=63
Exploring Operation: 94-17=77, Resulting Numbers: [31, 33, 77]
Generated Node #0,2: 30:[31, 33, 77] Operation: 94-17=77
Start Sub Search at level 1: Moving to Node #0,0
Current State: 30:[17, 31, 61], Operations: ['94-33=61']
Exploring Operation: 61-17=44, Resulting Numbers: [31, 44]
Generated Node #0,0,0: 30:[31, 44] Operation: 61-17=44
Exploring Operation: 61-31=30, Resulting Numbers: [17, 30]
Generated Node #0,0,1: 30:[17, 30] Operation: 61-31=30
Exploring Operation: 31-17=14, Resulting Numbers: [61, 14]
Generated Node #0,0,2: 30:[61, 14] Operation: 31-17=14
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 30:[17, 30], Operations: ['94-33=61', '61-31=30']
Exploring Operation: 17+30=47, Resulting Numbers: [47]
47,30 unequal: No Solution
Exploring Operation: 30-17=13, Resulting Numbers: [13]
13,30 unequal: No Solution
Exploring Operation: 17*30=510, Resulting Numbers: [510]
510,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 30:[31, 44], Operations: ['94-33=61', '61-17=44']
Exploring Operation: 31*44=1364, Resulting Numbers: [1364]
1364,30 unequal: No Solution
Exploring Operation: 44-31=13, Resulting Numbers: [13]
13,30 unequal: No Solution
Exploring Operation: 31+44=75, Resulting Numbers: [75]
75,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 30:[61, 14], Operations: ['94-33=61', '31-17=14']
Exploring Operation: 61*14=854, Resulting Numbers: [854]
854,30 unequal: No Solution
Exploring Operation: 61-14=47, Resulting Numbers: [47]
47,30 unequal: No Solution
Exploring Operation: 61+14=75, Resulting Numbers: [75]
75,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 30:[17, 33, 63], Operations: ['94-31=63']
Exploring Operation: 33-17=16, Resulting Numbers: [63, 16]
Generated Node #0,1,0: 30:[63, 16] Operation: 33-17=16
Exploring Operation: 63-33=30, Resulting Numbers: [17, 30]
Generated Node #0,1,1: 30:[17, 30] Operation: 63-33=30
Exploring Operation: 63-17=46, Resulting Numbers: [33, 46]
Generated Node #0,1,2: 30:[33, 46] Operation: 63-17=46
Moving to Node #0,1,1
Current State: 30:[17, 30], Operations: ['94-31=63', '63-33=30']
Exploring Operation: 17*30=510, Resulting Numbers: [510]
510,30 unequal: No Solution
Exploring Operation: 17+30=47, Resulting Numbers: [47]
47,30 unequal: No Solution
Exploring Operation: 30-17=13, Resulting Numbers: [13]
13,30 unequal: No Solution
Moving to Node #0,1,2
Current State: 30:[33, 46], Operations: ['94-31=63', '63-17=46']
Exploring Operation: 46-33=13, Resulting Numbers: [13]
13,30 unequal: No Solution
Exploring Operation: 33*46=1518, Resulting Numbers: [1518]
1518,30 unequal: No Solution
Exploring Operation: 33+46=79, Resulting Numbers: [79]
79,30 unequal: No Solution
Moving to Node #0,1,0
Current State: 30:[63, 16], Operations: ['94-31=63', '33-17=16']
Exploring Operation: 63+16=79, Resulting Numbers: [79]
79,30 unequal: No Solution
Exploring Operation: 63*16=1008, Resulting Numbers: [1008]
1008,30 unequal: No Solution
Exploring Operation: 63-16=47, Resulting Numbers: [47]
47,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 30:[31, 33, 77], Operations: ['94-17=77']
Exploring Operation: 77-31=46, Resulting Numbers: [33, 46]
Generated Node #0,2,0: 30:[33, 46] Operation: 77-31=46
Exploring Operation: 77-33=44, Resulting Numbers: [31, 44]
Generated Node #0,2,1: 30:[31, 44] Operation: 77-33=44
Exploring Operation: 33-31=2, Resulting Numbers: [77, 2]
Generated Node #0,2,2: 30:[77, 2] Operation: 33-31=2
Moving to Node #0,2,1
Current State: 30:[31, 44], Operations: ['94-17=77', '77-33=44']
Exploring Operation: 31*44=1364, Resulting Numbers: [1364]
1364,30 unequal: No Solution
Exploring Operation: 44-31=13, Resulting Numbers: [13]
13,30 unequal: No Solution
Exploring Operation: 31+44=75, Resulting Numbers: [75]
75,30 unequal: No Solution
Moving to Node #0,2,0
Current State: 30:[33, 46], Operations: ['94-17=77', '77-31=46']
Exploring Operation: 33*46=1518, Resulting Numbers: [1518]
1518,30 unequal: No Solution
Exploring Operation: 33+46=79, Resulting Numbers: [79]
79,30 unequal: No Solution
Exploring Operation: 46-33=13, Resulting Numbers: [13]
13,30 unequal: No Solution
Moving to Node #0,2,2
Current State: 30:[77, 2], Operations: ['94-17=77', '33-31=2']
Exploring Operation: 77*2=154, Resulting Numbers: [154]
154,30 unequal: No Solution
Exploring Operation: 77-2=75, Resulting Numbers: [75]
75,30 unequal: No Solution
Exploring Operation: 77+2=79, Resulting Numbers: [79]
79,30 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 |
[
25,
4,
3,
4
] | 41 | [
"25+4=29",
"3*4=12",
"29+12=41"
] | Current State: 41:[25, 4, 3, 4], Operations: []
Exploring Operation: 25+4=29, Resulting Numbers: [3, 29]
Generated Node #2: [3, 29] from Operation: 25+4=29
Current State: 41:[3, 29], Operations: ['25+4=29']
Exploring Operation: 3*4=12, Resulting Numbers: [29, 12]
Generated Node #3: [29, 12] from Operation: 3*4=12
Current State: 41:[29, 12], Operations: ['25+4=29', '3*4=12']
Exploring Operation: 29+12=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[25, 4, 3, 4], Operations: []
Exploring Operation: 4*4=16, Resulting Numbers: [25, 3, 16]
Generated Node #0,0: 41:[25, 3, 16] Operation: 4*4=16
Exploring Operation: 25+4=29, Resulting Numbers: [3, 4, 29]
Generated Node #0,1: 41:[3, 4, 29] Operation: 25+4=29
Exploring Operation: 3*4=12, Resulting Numbers: [25, 4, 12]
Generated Node #0,2: 41:[25, 4, 12] Operation: 3*4=12
Exploring Operation: 4*3=12, Resulting Numbers: [25, 4, 12]
Generated Node #0,3: 41:[25, 4, 12] Operation: 4*3=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[25, 3, 16], Operations: ['4*4=16']
Exploring Operation: 25+3=28, Resulting Numbers: [16, 28]
Generated Node #0,0,0: 41:[16, 28] Operation: 25+3=28
Exploring Operation: 25+16=41, Resulting Numbers: [3, 41]
Generated Node #0,0,1: 41:[3, 41] Operation: 25+16=41
Exploring Operation: 3*16=48, Resulting Numbers: [25, 48]
Generated Node #0,0,2: 41:[25, 48] Operation: 3*16=48
Exploring Operation: 3+16=19, Resulting Numbers: [25, 19]
Generated Node #0,0,3: 41:[25, 19] Operation: 3+16=19
Moving to Node #0,0,2
Current State: 41:[25, 48], Operations: ['4*4=16', '3*16=48']
Exploring Operation: 48-25=23, Resulting Numbers: [23]
23,41 unequal: No Solution
Exploring Operation: 25*48=1200, Resulting Numbers: [1200]
1200,41 unequal: No Solution
Exploring Operation: 25+48=73, Resulting Numbers: [73]
73,41 unequal: No Solution
Moving to Node #0,0,1
Current State: 41:[3, 41], Operations: ['4*4=16', '25+16=41']
Exploring Operation: 3*41=123, Resulting Numbers: [123]
123,41 unequal: No Solution
Exploring Operation: 3+41=44, Resulting Numbers: [44]
44,41 unequal: No Solution
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,41 unequal: No Solution
Moving to Node #0,0,0
Current State: 41:[16, 28], Operations: ['4*4=16', '25+3=28']
Exploring Operation: 16*28=448, Resulting Numbers: [448]
448,41 unequal: No Solution
Exploring Operation: 28-16=12, Resulting Numbers: [12]
12,41 unequal: No Solution
Exploring Operation: 16+28=44, Resulting Numbers: [44]
44,41 unequal: No Solution
Moving to Node #0,0,3
Current State: 41:[25, 19], Operations: ['4*4=16', '3+16=19']
Exploring Operation: 25-19=6, Resulting Numbers: [6]
6,41 unequal: No Solution
Exploring Operation: 25*19=475, Resulting Numbers: [475]
475,41 unequal: No Solution
Exploring Operation: 25+19=44, Resulting Numbers: [44]
44,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 41:[25, 4, 12], Operations: ['3*4=12']
Exploring Operation: 25+12=37, Resulting Numbers: [4, 37]
Generated Node #0,2,0: 41:[4, 37] Operation: 25+12=37
Exploring Operation: 4+12=16, Resulting Numbers: [25, 16]
Generated Node #0,2,1: 41:[25, 16] Operation: 4+12=16
Exploring Operation: 4*12=48, Resulting Numbers: [25, 48]
Generated Node #0,2,2: 41:[25, 48] Operation: 4*12=48
Exploring Operation: 25+4=29, Resulting Numbers: [12, 29]
Generated Node #0,2,3: 41:[12, 29] Operation: 25+4=29
Moving to Node #0,2,2
Current State: 41:[25, 48], Operations: ['3*4=12', '4*12=48']
Exploring Operation: 25+48=73, Resulting Numbers: [73]
73,41 unequal: No Solution
Exploring Operation: 25*48=1200, Resulting Numbers: [1200]
1200,41 unequal: No Solution
Exploring Operation: 48-25=23, Resulting Numbers: [23]
23,41 unequal: No Solution
Moving to Node #0,2,1
Current State: 41:[25, 16], Operations: ['3*4=12', '4+12=16']
Exploring Operation: 25+16=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[25, 4, 3, 4], Operations: []
Exploring Operation: 3*4=12, Resulting Numbers: [25, 4, 12]
Generated Node #0,2: 41:[25, 4, 12] Operation: 3*4=12
Moving to Node #0,2
Current State: 41:[25, 4, 12], Operations: ['3*4=12']
Exploring Operation: 4+12=16, Resulting Numbers: [25, 16]
Generated Node #0,2,1: 41:[25, 16] Operation: 4+12=16
Moving to Node #0,2,1
Current State: 41:[25, 16], Operations: ['3*4=12', '4+12=16']
Exploring Operation: 25+16=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 1
| 0.972222 | hs_4 | mult_heuristic |
[
88,
55,
53,
92
] | 96 | [
"55-53=2",
"92*2=184",
"184-88=96"
] | Current State: 96:[88, 55, 53, 92], Operations: []
Exploring Operation: 55-53=2, Resulting Numbers: [88, 92, 2]
Generated Node #2: [88, 92, 2] from Operation: 55-53=2
Current State: 96:[88, 92, 2], Operations: ['55-53=2']
Exploring Operation: 92*2=184, Resulting Numbers: [88, 184]
Generated Node #3: [88, 184] from Operation: 92*2=184
Current State: 96:[88, 184], Operations: ['55-53=2', '92*2=184']
Exploring Operation: 184-88=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[88, 55, 53, 92], Operations: []
Exploring Operation: 88-55=33, Resulting Numbers: [53, 92, 33]
Generated Node #0,0: 96:[53, 92, 33] Operation: 88-55=33
Exploring Operation: 55-53=2, Resulting Numbers: [88, 92, 2]
Generated Node #0,1: 96:[88, 92, 2] Operation: 55-53=2
Exploring Operation: 92-88=4, Resulting Numbers: [55, 53, 4]
Generated Node #0,2: 96:[55, 53, 4] Operation: 92-88=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[53, 92, 33], Operations: ['88-55=33']
Exploring Operation: 92-53=39, Resulting Numbers: [33, 39]
Generated Node #0,0,0: 96:[33, 39] Operation: 92-53=39
Exploring Operation: 53+33=86, Resulting Numbers: [92, 86]
Generated Node #0,0,1: 96:[92, 86] Operation: 53+33=86
Exploring Operation: 53-33=20, Resulting Numbers: [92, 20]
Generated Node #0,0,2: 96:[92, 20] Operation: 53-33=20
Moving to Node #0,0,0
Current State: 96:[33, 39], Operations: ['88-55=33', '92-53=39']
Exploring Operation: 33*39=1287, Resulting Numbers: [1287]
1287,96 unequal: No Solution
Exploring Operation: 33+39=72, Resulting Numbers: [72]
72,96 unequal: No Solution
Exploring Operation: 39-33=6, Resulting Numbers: [6]
6,96 unequal: No Solution
Moving to Node #0,0,2
Current State: 96:[92, 20], Operations: ['88-55=33', '53-33=20']
Exploring Operation: 92-20=72, Resulting Numbers: [72]
72,96 unequal: No Solution
Exploring Operation: 92+20=112, Resulting Numbers: [112]
112,96 unequal: No Solution
Exploring Operation: 92*20=1840, Resulting Numbers: [1840]
1840,96 unequal: No Solution
Moving to Node #0,0,1
Current State: 96:[92, 86], Operations: ['88-55=33', '53+33=86']
Exploring Operation: 92+86=178, Resulting Numbers: [178]
178,96 unequal: No Solution
Exploring Operation: 92-86=6, Resulting Numbers: [6]
6,96 unequal: No Solution
Exploring Operation: 92*86=7912, Resulting Numbers: [7912]
7912,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 96:[88, 92, 2], Operations: ['55-53=2']
Exploring Operation: 88+2=90, Resulting Numbers: [92, 90]
Generated Node #0,1,0: 96:[92, 90] Operation: 88+2=90
Exploring Operation: 92-88=4, Resulting Numbers: [2, 4]
Generated Node #0,1,1: 96:[2, 4] Operation: 92-88=4
Exploring Operation: 88/2=44, Resulting Numbers: [92, 44]
Generated Node #0,1,2: 96:[92, 44] Operation: 88/2=44
Moving to Node #0,1,1
Current State: 96:[2, 4], Operations: ['55-53=2', '92-88=4']
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,96 unequal: No Solution
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,96 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,96 unequal: No Solution
Moving to Node #0,1,2
Current State: 96:[92, 44], Operations: ['55-53=2', '88/2=44']
Exploring Operation: 92-44=48, Resulting Numbers: [48]
48,96 unequal: No Solution
Exploring Operation: 92*44=4048, Resulting Numbers: [4048]
4048,96 unequal: No Solution
Exploring Operation: 92+44=136, Resulting Numbers: [136]
136,96 unequal: No Solution
Moving to Node #0,1,0
Current State: 96:[92, 90], Operations: ['55-53=2', '88+2=90']
Exploring Operation: 92*90=8280, Resulting Numbers: [8280]
8280,96 unequal: No Solution
Exploring Operation: 92+90=182, Resulting Numbers: [182]
182,96 unequal: No Solution
Exploring Operation: 92-90=2, Resulting Numbers: [2]
2,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 96:[55, 53, 4], Operations: ['92-88=4']
Exploring Operation: 53-4=49, Resulting Numbers: [55, 49]
Generated Node #0,2,0: 96:[55, 49] Operation: 53-4=49
Exploring Operation: 55-4=51, Resulting Numbers: [53, 51]
Generated Node #0,2,1: 96:[53, 51] Operation: 55-4=51
Exploring Operation: 55-53=2, Resulting Numbers: [4, 2]
Generated Node #0,2,2: 96:[4, 2] Operation: 55-53=2
Moving to Node #0,2,2
Current State: 96:[4, 2], Operations: ['92-88=4', '55-53=2']
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,96 unequal: No Solution
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,96 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,96 unequal: No Solution
Moving to Node #0,2,0
Current State: 96:[55, 49], Operations: ['92-88=4', '53-4=49']
Exploring Operation: 55+49=104, Resulting Numbers: [104]
104,96 unequal: No Solution
Exploring Operation: 55-49=6, Resulting Numbers: [6]
6,96 unequal: No Solution
Exploring Operation: 55*49=2695, Resulting Numbers: [2695]
2695,96 unequal: No Solution
Moving to Node #0,2,1
Current State: 96:[53, 51], Operations: ['92-88=4', '55-4=51']
Exploring Operation: 53*51=2703, Resulting Numbers: [2703]
2703,96 unequal: No Solution
Exploring Operation: 53+51=104, Resulting Numbers: [104]
104,96 unequal: No Solution
Exploring Operation: 53-51=2, Resulting Numbers: [2]
2,96 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 |
[
47,
3,
29,
6
] | 40 | [
"6-3=3",
"29*3=87",
"87-47=40"
] | Current State: 40:[47, 3, 29, 6], Operations: []
Exploring Operation: 6-3=3, Resulting Numbers: [47, 29, 3]
Generated Node #2: [47, 29, 3] from Operation: 6-3=3
Current State: 40:[47, 29, 3], Operations: ['6-3=3']
Exploring Operation: 29*3=87, Resulting Numbers: [47, 87]
Generated Node #3: [47, 87] from Operation: 29*3=87
Current State: 40:[47, 87], Operations: ['6-3=3', '29*3=87']
Exploring Operation: 87-47=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[47, 3, 29, 6], Operations: []
Exploring Operation: 29-6=23, Resulting Numbers: [47, 3, 23]
Generated Node #0,0: 40:[47, 3, 23] Operation: 29-6=23
Exploring Operation: 47-6=41, Resulting Numbers: [3, 29, 41]
Generated Node #0,1: 40:[3, 29, 41] Operation: 47-6=41
Exploring Operation: 47-29=18, Resulting Numbers: [3, 6, 18]
Generated Node #0,2: 40:[3, 6, 18] Operation: 47-29=18
Moving to Node #0,2
Current State: 40:[3, 6, 18], Operations: ['47-29=18']
Exploring Operation: 18/3=6, Resulting Numbers: [6, 6]
Generated Node #0,2,0: 40:[6, 6] Operation: 18/3=6
Exploring Operation: 6/3=2, Resulting Numbers: [18, 2]
Generated Node #0,2,1: 40:[18, 2] Operation: 6/3=2
Exploring Operation: 3+18=21, Resulting Numbers: [6, 21]
Generated Node #0,2,2: 40:[6, 21] Operation: 3+18=21
Moving to Node #0,0
Current State: 40:[47, 3, 23], Operations: ['29-6=23']
Exploring Operation: 23-3=20, Resulting Numbers: [47, 20]
Generated Node #0,0,0: 40:[47, 20] Operation: 23-3=20
Exploring Operation: 47-23=24, Resulting Numbers: [3, 24]
Generated Node #0,0,1: 40:[3, 24] Operation: 47-23=24
Exploring Operation: 47-3=44, Resulting Numbers: [23, 44]
Generated Node #0,0,2: 40:[23, 44] Operation: 47-3=44
Moving to Node #0,1
Current State: 40:[3, 29, 41], Operations: ['47-6=41']
Exploring Operation: 29-3=26, Resulting Numbers: [41, 26]
Generated Node #0,1,0: 40:[41, 26] Operation: 29-3=26
Exploring Operation: 41-29=12, Resulting Numbers: [3, 12]
Generated Node #0,1,1: 40:[3, 12] Operation: 41-29=12
Exploring Operation: 3+29=32, Resulting Numbers: [41, 32]
Generated Node #0,1,2: 40:[41, 32] Operation: 3+29=32
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 40:[3, 12], Operations: ['47-6=41', '41-29=12']
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,40 unequal: No Solution
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,40 unequal: No Solution
Exploring Operation: 3*12=36, Resulting Numbers: [36]
36,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 40:[41, 26], Operations: ['47-6=41', '29-3=26']
Exploring Operation: 41*26=1066, Resulting Numbers: [1066]
1066,40 unequal: No Solution
Exploring Operation: 41+26=67, Resulting Numbers: [67]
67,40 unequal: No Solution
Exploring Operation: 41-26=15, Resulting Numbers: [15]
15,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 40:[41, 32], Operations: ['47-6=41', '3+29=32']
Exploring Operation: 41*32=1312, Resulting Numbers: [1312]
1312,40 unequal: No Solution
Exploring Operation: 41-32=9, Resulting Numbers: [9]
9,40 unequal: No Solution
Exploring Operation: 41+32=73, Resulting Numbers: [73]
73,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,0
Current State: 40:[6, 6], Operations: ['47-29=18', '18/3=6']
Exploring Operation: 6+6=12, Resulting Numbers: [12]
12,40 unequal: No Solution
Exploring Operation: 6/6=1, Resulting Numbers: [1]
1,40 unequal: No Solution
Exploring Operation: 6-6=0, Resulting Numbers: [0]
0,40 unequal: No Solution
Moving to Node #0,2,2
Current State: 40:[6, 21], Operations: ['47-29=18', '3+18=21']
Exploring Operation: 21-6=15, Resulting Numbers: [15]
15,40 unequal: No Solution
Exploring Operation: 6+21=27, Resulting Numbers: [27]
27,40 unequal: No Solution
Exploring Operation: 6*21=126, Resulting Numbers: [126]
126,40 unequal: No Solution
Moving to Node #0,2,1
Current State: 40:[18, 2], Operations: ['47-29=18', '6/3=2']
Exploring Operation: 18*2=36, Resulting Numbers: [36]
36,40 unequal: No Solution
Exploring Operation: 18+2=20, Resulting Numbers: [20]
20,40 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,40 unequal: No Solution
Moving to Node #0,0,1
Current State: 40:[3, 24], Operations: ['29-6=23', '47-23=24']
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,40 unequal: No Solution
Exploring Operation: 3+24=27, Resulting Numbers: [27]
27,40 unequal: No Solution
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,40 unequal: No Solution
Moving to Node #0,0,0
Current State: 40:[47, 20], Operations: ['29-6=23', '23-3=20']
Exploring Operation: 47-20=27, Resulting Numbers: [27]
27,40 unequal: No Solution
Exploring Operation: 47+20=67, Resulting Numbers: [67]
67,40 unequal: No Solution
Exploring Operation: 47*20=940, Resulting Numbers: [940]
940,40 unequal: No Solution
Moving to Node #0,0,2
Current State: 40:[23, 44], Operations: ['29-6=23', '47-3=44']
Exploring Operation: 23*44=1012, Resulting Numbers: [1012]
1012,40 unequal: No Solution
Exploring Operation: 23+44=67, Resulting Numbers: [67]
67,40 unequal: No Solution
Exploring Operation: 44-23=21, Resulting Numbers: [21]
21,40 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
29,
64,
16,
56
] | 53 | [
"29+64=93",
"56-16=40",
"93-40=53"
] | Current State: 53:[29, 64, 16, 56], Operations: []
Exploring Operation: 29+64=93, Resulting Numbers: [16, 56, 93]
Generated Node #2: [16, 56, 93] from Operation: 29+64=93
Current State: 53:[16, 56, 93], Operations: ['29+64=93']
Exploring Operation: 56-16=40, Resulting Numbers: [93, 40]
Generated Node #3: [93, 40] from Operation: 56-16=40
Current State: 53:[93, 40], Operations: ['29+64=93', '56-16=40']
Exploring Operation: 93-40=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[29, 64, 16, 56], Operations: []
Exploring Operation: 29+16=45, Resulting Numbers: [64, 56, 45]
Generated Node #0,0: 53:[64, 56, 45] Operation: 29+16=45
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[64, 56, 45], Operations: ['29+16=45']
Exploring Operation: 64-45=19, Resulting Numbers: [56, 19]
Generated Node #0,0,0: 53:[56, 19] Operation: 64-45=19
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 53:[56, 19], Operations: ['29+16=45', '64-45=19']
Exploring Operation: 56-19=37, Resulting Numbers: [37]
37,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
30,
44,
5,
26
] | 16 | [
"30-26=4",
"44/4=11",
"5+11=16"
] | Current State: 16:[30, 44, 5, 26], Operations: []
Exploring Operation: 30-26=4, Resulting Numbers: [44, 5, 4]
Generated Node #2: [44, 5, 4] from Operation: 30-26=4
Current State: 16:[44, 5, 4], Operations: ['30-26=4']
Exploring Operation: 44/4=11, Resulting Numbers: [5, 11]
Generated Node #3: [5, 11] from Operation: 44/4=11
Current State: 16:[5, 11], Operations: ['30-26=4', '44/4=11']
Exploring Operation: 5+11=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[30, 44, 5, 26], Operations: []
Exploring Operation: 44-26=18, Resulting Numbers: [30, 5, 18]
Generated Node #0,0: 16:[30, 5, 18] Operation: 44-26=18
Exploring Operation: 44-30=14, Resulting Numbers: [5, 26, 14]
Generated Node #0,1: 16:[5, 26, 14] Operation: 44-30=14
Exploring Operation: 30-26=4, Resulting Numbers: [44, 5, 4]
Generated Node #0,2: 16:[44, 5, 4] Operation: 30-26=4
Exploring Operation: 30/5=6, Resulting Numbers: [44, 26, 6]
Generated Node #0,3: 16:[44, 26, 6] Operation: 30/5=6
Moving to Node #0,1
Current State: 16:[5, 26, 14], Operations: ['44-30=14']
Exploring Operation: 5+14=19, Resulting Numbers: [26, 19]
Generated Node #0,1,0: 16:[26, 19] Operation: 5+14=19
Exploring Operation: 26-5=21, Resulting Numbers: [14, 21]
Generated Node #0,1,1: 16:[14, 21] Operation: 26-5=21
Exploring Operation: 14-5=9, Resulting Numbers: [26, 9]
Generated Node #0,1,2: 16:[26, 9] Operation: 14-5=9
Exploring Operation: 26-14=12, Resulting Numbers: [5, 12]
Generated Node #0,1,3: 16:[5, 12] Operation: 26-14=12
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 16:[5, 12], Operations: ['44-30=14', '26-14=12']
Exploring Operation: 5+12=17, Resulting Numbers: [17]
17,16 unequal: No Solution
Exploring Operation: 5*12=60, Resulting Numbers: [60]
60,16 unequal: No Solution
Exploring Operation: 12-5=7, Resulting Numbers: [7]
7,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 16:[14, 21], Operations: ['44-30=14', '26-5=21']
Exploring Operation: 14+21=35, Resulting Numbers: [35]
35,16 unequal: No Solution
Exploring Operation: 21-14=7, Resulting Numbers: [7]
7,16 unequal: No Solution
Exploring Operation: 14*21=294, Resulting Numbers: [294]
294,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 16:[26, 9], Operations: ['44-30=14', '14-5=9']
Exploring Operation: 26-9=17, Resulting Numbers: [17]
17,16 unequal: No Solution
Exploring Operation: 26*9=234, Resulting Numbers: [234]
234,16 unequal: No Solution
Exploring Operation: 26+9=35, Resulting Numbers: [35]
35,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 16:[26, 19], Operations: ['44-30=14', '5+14=19']
Exploring Operation: 26+19=45, Resulting Numbers: [45]
45,16 unequal: No Solution
Exploring Operation: 26*19=494, Resulting Numbers: [494]
494,16 unequal: No Solution
Exploring Operation: 26-19=7, Resulting Numbers: [7]
7,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 16:[30, 5, 18], Operations: ['44-26=18']
Exploring Operation: 18-5=13, Resulting Numbers: [30, 13]
Generated Node #0,0,0: 16:[30, 13] Operation: 18-5=13
Exploring Operation: 30/5=6, Resulting Numbers: [18, 6]
Generated Node #0,0,1: 16:[18, 6] Operation: 30/5=6
Exploring Operation: 30-5=25, Resulting Numbers: [18, 25]
Generated Node #0,0,2: 16:[18, 25] Operation: 30-5=25
Exploring Operation: 30-18=12, Resulting Numbers: [5, 12]
Generated Node #0,0,3: 16:[5, 12] Operation: 30-18=12
Moving to Node #0,2
Current State: 16:[44, 5, 4], Operations: ['30-26=4']
Exploring Operation: 44/4=11, Resulting Numbers: [5, 11]
Generated Node #0,2,0: 16:[5, 11] Operation: 44/4=11
Exploring Operation: 44-5=39, Resulting Numbers: [4, 39]
Generated Node #0,2,1: 16:[4, 39] Operation: 44-5=39
Exploring Operation: 44-4=40, Resulting Numbers: [5, 40]
Generated Node #0,2,2: 16:[5, 40] Operation: 44-4=40
Exploring Operation: 5+4=9, Resulting Numbers: [44, 9]
Generated Node #0,2,3: 16:[44, 9] Operation: 5+4=9
Moving to Node #0,3
Current State: 16:[44, 26, 6], Operations: ['30/5=6']
Exploring Operation: 44+6=50, Resulting Numbers: [26, 50]
Generated Node #0,3,0: 16:[26, 50] Operation: 44+6=50
Exploring Operation: 44-26=18, Resulting Numbers: [6, 18]
Generated Node #0,3,1: 16:[6, 18] Operation: 44-26=18
Exploring Operation: 44-6=38, Resulting Numbers: [26, 38]
Generated Node #0,3,2: 16:[26, 38] Operation: 44-6=38
Exploring Operation: 26-6=20, Resulting Numbers: [44, 20]
Generated Node #0,3,3: 16:[44, 20] Operation: 26-6=20
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 16:[6, 18], Operations: ['30/5=6', '44-26=18']
Exploring Operation: 18-6=12, Resulting Numbers: [12]
12,16 unequal: No Solution
Exploring Operation: 18/6=3, Resulting Numbers: [3]
3,16 unequal: No Solution
Exploring Operation: 6+18=24, Resulting Numbers: [24]
24,16 unequal: No Solution
Exploring Operation: 6*18=108, Resulting Numbers: [108]
108,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 16:[26, 38], Operations: ['30/5=6', '44-6=38']
Exploring Operation: 26*38=988, Resulting Numbers: [988]
988,16 unequal: No Solution
Exploring Operation: 26+38=64, Resulting Numbers: [64]
64,16 unequal: No Solution
Exploring Operation: 38-26=12, Resulting Numbers: [12]
12,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 16:[44, 20], Operations: ['30/5=6', '26-6=20']
Exploring Operation: 44+20=64, Resulting Numbers: [64]
64,16 unequal: No Solution
Exploring Operation: 44*20=880, Resulting Numbers: [880]
880,16 unequal: No Solution
Exploring Operation: 44-20=24, Resulting Numbers: [24]
24,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 16:[26, 50], Operations: ['30/5=6', '44+6=50']
Exploring Operation: 50-26=24, Resulting Numbers: [24]
24,16 unequal: No Solution
Exploring Operation: 26+50=76, Resulting Numbers: [76]
76,16 unequal: No Solution
Exploring Operation: 26*50=1300, Resulting Numbers: [1300]
1300,16 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: 16:[18, 6], Operations: ['44-26=18', '30/5=6']
Exploring Operation: 18+6=24, Resulting Numbers: [24]
24,16 unequal: No Solution
Exploring Operation: 18-6=12, Resulting Numbers: [12]
12,16 unequal: No Solution
Exploring Operation: 18/6=3, Resulting Numbers: [3]
3,16 unequal: No Solution
Exploring Operation: 18*6=108, Resulting Numbers: [108]
108,16 unequal: No Solution
Moving to Node #0,2,0
Current State: 16:[5, 11], Operations: ['30-26=4', '44/4=11']
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,16 unequal: No Solution
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,16 unequal: No Solution
Exploring Operation: 5+11=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[30, 44, 5, 26], Operations: []
Exploring Operation: 30-26=4, Resulting Numbers: [44, 5, 4]
Generated Node #0,2: 16:[44, 5, 4] Operation: 30-26=4
Moving to Node #0,2
Current State: 16:[44, 5, 4], Operations: ['30-26=4']
Exploring Operation: 44/4=11, Resulting Numbers: [5, 11]
Generated Node #0,2,0: 16:[5, 11] Operation: 44/4=11
Moving to Node #0,2,0
Current State: 16:[5, 11], Operations: ['30-26=4', '44/4=11']
Exploring Operation: 5+11=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 0.951389 | hs_4 | mult_heuristic |
[
54,
59,
42,
87
] | 50 | [
"59-54=5",
"87-42=45",
"5+45=50"
] | Current State: 50:[54, 59, 42, 87], Operations: []
Exploring Operation: 59-54=5, Resulting Numbers: [42, 87, 5]
Generated Node #2: [42, 87, 5] from Operation: 59-54=5
Current State: 50:[42, 87, 5], Operations: ['59-54=5']
Exploring Operation: 87-42=45, Resulting Numbers: [5, 45]
Generated Node #3: [5, 45] from Operation: 87-42=45
Current State: 50:[5, 45], Operations: ['59-54=5', '87-42=45']
Exploring Operation: 5+45=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[54, 59, 42, 87], Operations: []
Exploring Operation: 87-59=28, Resulting Numbers: [54, 42, 28]
Generated Node #0,0: 50:[54, 42, 28] Operation: 87-59=28
Exploring Operation: 87-54=33, Resulting Numbers: [59, 42, 33]
Generated Node #0,1: 50:[59, 42, 33] Operation: 87-54=33
Exploring Operation: 59-54=5, Resulting Numbers: [42, 87, 5]
Generated Node #0,2: 50:[42, 87, 5] Operation: 59-54=5
Exploring Operation: 87-42=45, Resulting Numbers: [54, 59, 45]
Generated Node #0,3: 50:[54, 59, 45] Operation: 87-42=45
Moving to Node #0,0
Current State: 50:[54, 42, 28], Operations: ['87-59=28']
Exploring Operation: 54-28=26, Resulting Numbers: [42, 26]
Generated Node #0,0,0: 50:[42, 26] Operation: 54-28=26
Exploring Operation: 42-28=14, Resulting Numbers: [54, 14]
Generated Node #0,0,1: 50:[54, 14] Operation: 42-28=14
Exploring Operation: 42+28=70, Resulting Numbers: [54, 70]
Generated Node #0,0,2: 50:[54, 70] Operation: 42+28=70
Exploring Operation: 54-42=12, Resulting Numbers: [28, 12]
Generated Node #0,0,3: 50:[28, 12] Operation: 54-42=12
Moving to Node #0,3
Current State: 50:[54, 59, 45], Operations: ['87-42=45']
Exploring Operation: 54-45=9, Resulting Numbers: [59, 9]
Generated Node #0,3,0: 50:[59, 9] Operation: 54-45=9
Exploring Operation: 59-54=5, Resulting Numbers: [45, 5]
Generated Node #0,3,1: 50:[45, 5] Operation: 59-54=5
Exploring Operation: 54+45=99, Resulting Numbers: [59, 99]
Generated Node #0,3,2: 50:[59, 99] Operation: 54+45=99
Exploring Operation: 59-45=14, Resulting Numbers: [54, 14]
Generated Node #0,3,3: 50:[54, 14] Operation: 59-45=14
Moving to Node #0,1
Current State: 50:[59, 42, 33], Operations: ['87-54=33']
Exploring Operation: 59-42=17, Resulting Numbers: [33, 17]
Generated Node #0,1,0: 50:[33, 17] Operation: 59-42=17
Exploring Operation: 42-33=9, Resulting Numbers: [59, 9]
Generated Node #0,1,1: 50:[59, 9] Operation: 42-33=9
Exploring Operation: 59-33=26, Resulting Numbers: [42, 26]
Generated Node #0,1,2: 50:[42, 26] Operation: 59-33=26
Exploring Operation: 42+33=75, Resulting Numbers: [59, 75]
Generated Node #0,1,3: 50:[59, 75] Operation: 42+33=75
Moving to Node #0,2
Current State: 50:[42, 87, 5], Operations: ['59-54=5']
Exploring Operation: 87-5=82, Resulting Numbers: [42, 82]
Generated Node #0,2,0: 50:[42, 82] Operation: 87-5=82
Exploring Operation: 42-5=37, Resulting Numbers: [87, 37]
Generated Node #0,2,1: 50:[87, 37] Operation: 42-5=37
Exploring Operation: 42+5=47, Resulting Numbers: [87, 47]
Generated Node #0,2,2: 50:[87, 47] Operation: 42+5=47
Exploring Operation: 87-42=45, Resulting Numbers: [5, 45]
Generated Node #0,2,3: 50:[5, 45] Operation: 87-42=45
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 50:[5, 45], Operations: ['59-54=5', '87-42=45']
Exploring Operation: 45/5=9, Resulting Numbers: [9]
9,50 unequal: No Solution
Exploring Operation: 5*45=225, Resulting Numbers: [225]
225,50 unequal: No Solution
Exploring Operation: 5+45=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[54, 59, 42, 87], Operations: []
Exploring Operation: 59-54=5, Resulting Numbers: [42, 87, 5]
Generated Node #0,2: 50:[42, 87, 5] Operation: 59-54=5
Moving to Node #0,2
Current State: 50:[42, 87, 5], Operations: ['59-54=5']
Exploring Operation: 87-42=45, Resulting Numbers: [5, 45]
Generated Node #0,2,3: 50:[5, 45] Operation: 87-42=45
Moving to Node #0,2,3
Current State: 50:[5, 45], Operations: ['59-54=5', '87-42=45']
Exploring Operation: 5+45=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_4 | sum_heuristic |
[
68,
66,
25,
79
] | 19 | [
"79-68=11",
"66/11=6",
"25-6=19"
] | Current State: 19:[68, 66, 25, 79], Operations: []
Exploring Operation: 79-68=11, Resulting Numbers: [66, 25, 11]
Generated Node #2: [66, 25, 11] from Operation: 79-68=11
Current State: 19:[66, 25, 11], Operations: ['79-68=11']
Exploring Operation: 66/11=6, Resulting Numbers: [25, 6]
Generated Node #3: [25, 6] from Operation: 66/11=6
Current State: 19:[25, 6], Operations: ['79-68=11', '66/11=6']
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[68, 66, 25, 79], Operations: []
Exploring Operation: 79-68=11, Resulting Numbers: [66, 25, 11]
Generated Node #0,0: 19:[66, 25, 11] Operation: 79-68=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[66, 25, 11], Operations: ['79-68=11']
Exploring Operation: 66/11=6, Resulting Numbers: [25, 6]
Generated Node #0,0,0: 19:[25, 6] Operation: 66/11=6
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 19:[25, 6], Operations: ['79-68=11', '66/11=6']
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[68, 66, 25, 79], Operations: []
Exploring Operation: 79-68=11, Resulting Numbers: [66, 25, 11]
Generated Node #0,0: 19:[66, 25, 11] Operation: 79-68=11
Moving to Node #0,0
Current State: 19:[66, 25, 11], Operations: ['79-68=11']
Exploring Operation: 66/11=6, Resulting Numbers: [25, 6]
Generated Node #0,0,0: 19:[25, 6] Operation: 66/11=6
Moving to Node #0,0,0
Current State: 19:[25, 6], Operations: ['79-68=11', '66/11=6']
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
38,
8,
51,
23
] | 81 | [
"51-38=13",
"8*13=104",
"104-23=81"
] | Current State: 81:[38, 8, 51, 23], Operations: []
Exploring Operation: 51-38=13, Resulting Numbers: [8, 23, 13]
Generated Node #2: [8, 23, 13] from Operation: 51-38=13
Current State: 81:[8, 23, 13], Operations: ['51-38=13']
Exploring Operation: 8*13=104, Resulting Numbers: [23, 104]
Generated Node #3: [23, 104] from Operation: 8*13=104
Current State: 81:[23, 104], Operations: ['51-38=13', '8*13=104']
Exploring Operation: 104-23=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[38, 8, 51, 23], Operations: []
Exploring Operation: 51-38=13, Resulting Numbers: [8, 23, 13]
Generated Node #0,0: 81:[8, 23, 13] Operation: 51-38=13
Moving to Node #0,0
Current State: 81:[8, 23, 13], Operations: ['51-38=13']
Exploring Operation: 23-13=10, Resulting Numbers: [8, 10]
Generated Node #0,0,0: 81:[8, 10] Operation: 23-13=10
Moving to Node #0,0,0
Current State: 81:[8, 10], Operations: ['51-38=13', '23-13=10']
Exploring Operation: 8*10=80, Resulting Numbers: [80]
80,81 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
35,
10,
14,
55
] | 94 | [
"35-10=25",
"14+55=69",
"25+69=94"
] | Current State: 94:[35, 10, 14, 55], Operations: []
Exploring Operation: 35-10=25, Resulting Numbers: [14, 55, 25]
Generated Node #2: [14, 55, 25] from Operation: 35-10=25
Current State: 94:[14, 55, 25], Operations: ['35-10=25']
Exploring Operation: 14+55=69, Resulting Numbers: [25, 69]
Generated Node #3: [25, 69] from Operation: 14+55=69
Current State: 94:[25, 69], Operations: ['35-10=25', '14+55=69']
Exploring Operation: 25+69=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[35, 10, 14, 55], Operations: []
Exploring Operation: 14-10=4, Resulting Numbers: [35, 55, 4]
Generated Node #0,0: 94:[35, 55, 4] Operation: 14-10=4
Exploring Operation: 35+10=45, Resulting Numbers: [14, 55, 45]
Generated Node #0,1: 94:[14, 55, 45] Operation: 35+10=45
Exploring Operation: 35+14=49, Resulting Numbers: [10, 55, 49]
Generated Node #0,2: 94:[10, 55, 49] Operation: 35+14=49
Moving to Node #0,2
Current State: 94:[10, 55, 49], Operations: ['35+14=49']
Exploring Operation: 49-10=39, Resulting Numbers: [55, 39]
Generated Node #0,2,0: 94:[55, 39] Operation: 49-10=39
Exploring Operation: 55-49=6, Resulting Numbers: [10, 6]
Generated Node #0,2,1: 94:[10, 6] Operation: 55-49=6
Exploring Operation: 55-10=45, Resulting Numbers: [49, 45]
Generated Node #0,2,2: 94:[49, 45] Operation: 55-10=45
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 94:[49, 45], Operations: ['35+14=49', '55-10=45']
Exploring Operation: 49+45=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[35, 10, 14, 55], Operations: []
Exploring Operation: 35+14=49, Resulting Numbers: [10, 55, 49]
Generated Node #0,2: 94:[10, 55, 49] Operation: 35+14=49
Moving to Node #0,2
Current State: 94:[10, 55, 49], Operations: ['35+14=49']
Exploring Operation: 55-10=45, Resulting Numbers: [49, 45]
Generated Node #0,2,2: 94:[49, 45] Operation: 55-10=45
Moving to Node #0,2,2
Current State: 94:[49, 45], Operations: ['35+14=49', '55-10=45']
Exploring Operation: 49+45=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
73,
64,
84,
89
] | 45 | [
"73-64=9",
"89-84=5",
"9*5=45"
] | Current State: 45:[73, 64, 84, 89], Operations: []
Exploring Operation: 73-64=9, Resulting Numbers: [84, 89, 9]
Generated Node #2: [84, 89, 9] from Operation: 73-64=9
Current State: 45:[84, 89, 9], Operations: ['73-64=9']
Exploring Operation: 89-84=5, Resulting Numbers: [9, 5]
Generated Node #3: [9, 5] from Operation: 89-84=5
Current State: 45:[9, 5], Operations: ['73-64=9', '89-84=5']
Exploring Operation: 9*5=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[73, 64, 84, 89], Operations: []
Exploring Operation: 89-84=5, Resulting Numbers: [73, 64, 5]
Generated Node #0,0: 45:[73, 64, 5] Operation: 89-84=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 45:[73, 64, 5], Operations: ['89-84=5']
Exploring Operation: 73-64=9, Resulting Numbers: [5, 9]
Generated Node #0,0,0: 45:[5, 9] Operation: 73-64=9
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 45:[5, 9], Operations: ['89-84=5', '73-64=9']
Exploring Operation: 5*9=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[73, 64, 84, 89], Operations: []
Exploring Operation: 89-84=5, Resulting Numbers: [73, 64, 5]
Generated Node #0,0: 45:[73, 64, 5] Operation: 89-84=5
Moving to Node #0,0
Current State: 45:[73, 64, 5], Operations: ['89-84=5']
Exploring Operation: 73-64=9, Resulting Numbers: [5, 9]
Generated Node #0,0,0: 45:[5, 9] Operation: 73-64=9
Moving to Node #0,0,0
Current State: 45:[5, 9], Operations: ['89-84=5', '73-64=9']
Exploring Operation: 5*9=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
63,
2,
37,
31
] | 44 | [
"63-37=26",
"26/2=13",
"31+13=44"
] | Current State: 44:[63, 2, 37, 31], Operations: []
Exploring Operation: 63-37=26, Resulting Numbers: [2, 31, 26]
Generated Node #2: [2, 31, 26] from Operation: 63-37=26
Current State: 44:[2, 31, 26], Operations: ['63-37=26']
Exploring Operation: 26/2=13, Resulting Numbers: [31, 13]
Generated Node #3: [31, 13] from Operation: 26/2=13
Current State: 44:[31, 13], Operations: ['63-37=26', '26/2=13']
Exploring Operation: 31+13=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[63, 2, 37, 31], Operations: []
Exploring Operation: 63-31=32, Resulting Numbers: [2, 37, 32]
Generated Node #0,0: 44:[2, 37, 32] Operation: 63-31=32
Exploring Operation: 63-37=26, Resulting Numbers: [2, 31, 26]
Generated Node #0,1: 44:[2, 31, 26] Operation: 63-37=26
Start Sub Search at level 1: Moving to Node #0,1
Current State: 44:[2, 31, 26], Operations: ['63-37=26']
Exploring Operation: 31-2=29, Resulting Numbers: [26, 29]
Generated Node #0,1,0: 44:[26, 29] Operation: 31-2=29
Exploring Operation: 31-26=5, Resulting Numbers: [2, 5]
Generated Node #0,1,1: 44:[2, 5] Operation: 31-26=5
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 44:[2, 5], Operations: ['63-37=26', '31-26=5']
Exploring Operation: 2*5=10, Resulting Numbers: [10]
10,44 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,44 unequal: No Solution
No 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: 44:[26, 29], Operations: ['63-37=26', '31-2=29']
Exploring Operation: 29-26=3, Resulting Numbers: [3]
3,44 unequal: No Solution
Exploring Operation: 26+29=55, Resulting Numbers: [55]
55,44 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: 44:[2, 37, 32], Operations: ['63-31=32']
Exploring Operation: 37-32=5, Resulting Numbers: [2, 5]
Generated Node #0,0,0: 44:[2, 5] Operation: 37-32=5
Exploring Operation: 32/2=16, Resulting Numbers: [37, 16]
Generated Node #0,0,1: 44:[37, 16] Operation: 32/2=16
Moving to Node #0,0,0
Current State: 44:[2, 5], Operations: ['63-31=32', '37-32=5']
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,44 unequal: No Solution
Exploring Operation: 2*5=10, Resulting Numbers: [10]
10,44 unequal: No Solution
Moving to Node #0,0,1
Current State: 44:[37, 16], Operations: ['63-31=32', '32/2=16']
Exploring Operation: 37+16=53, Resulting Numbers: [53]
53,44 unequal: No Solution
Exploring Operation: 37-16=21, Resulting Numbers: [21]
21,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
85,
1,
84,
68
] | 34 | [
"85+1=86",
"86-84=2",
"68/2=34"
] | Current State: 34:[85, 1, 84, 68], Operations: []
Exploring Operation: 85+1=86, Resulting Numbers: [84, 68, 86]
Generated Node #2: [84, 68, 86] from Operation: 85+1=86
Current State: 34:[84, 68, 86], Operations: ['85+1=86']
Exploring Operation: 86-84=2, Resulting Numbers: [68, 2]
Generated Node #3: [68, 2] from Operation: 86-84=2
Current State: 34:[68, 2], Operations: ['85+1=86', '86-84=2']
Exploring Operation: 68/2=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[85, 1, 84, 68], Operations: []
Exploring Operation: 85-68=17, Resulting Numbers: [1, 84, 17]
Generated Node #0,0: 34:[1, 84, 17] Operation: 85-68=17
Exploring Operation: 85-84=1, Resulting Numbers: [1, 68, 1]
Generated Node #0,1: 34:[1, 68, 1] Operation: 85-84=1
Start Sub Search at level 1: Moving to Node #0,1
Current State: 34:[1, 68, 1], Operations: ['85-84=1']
Exploring Operation: 68-1=67, Resulting Numbers: [1, 67]
Generated Node #0,1,0: 34:[1, 67] Operation: 68-1=67
Exploring Operation: 1+1=2, Resulting Numbers: [68, 2]
Generated Node #0,1,1: 34:[68, 2] Operation: 1+1=2
Moving to Node #0,1,0
Current State: 34:[1, 67], Operations: ['85-84=1', '68-1=67']
Exploring Operation: 67-1=66, Resulting Numbers: [66]
66,34 unequal: No Solution
Exploring Operation: 1*67=67, Resulting Numbers: [67]
67,34 unequal: No Solution
Moving to Node #0,1,1
Current State: 34:[68, 2], Operations: ['85-84=1', '1+1=2']
Exploring Operation: 68-2=66, Resulting Numbers: [66]
66,34 unequal: No Solution
Exploring Operation: 68/2=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[85, 1, 84, 68], Operations: []
Exploring Operation: 85-84=1, Resulting Numbers: [1, 68, 1]
Generated Node #0,1: 34:[1, 68, 1] Operation: 85-84=1
Moving to Node #0,1
Current State: 34:[1, 68, 1], Operations: ['85-84=1']
Exploring Operation: 1+1=2, Resulting Numbers: [68, 2]
Generated Node #0,1,1: 34:[68, 2] Operation: 1+1=2
Moving to Node #0,1,1
Current State: 34:[68, 2], Operations: ['85-84=1', '1+1=2']
Exploring Operation: 68/2=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
48,
12,
10,
84
] | 96 | [
"12*84=1008",
"1008-48=960",
"960/10=96"
] | Current State: 96:[48, 12, 10, 84], Operations: []
Exploring Operation: 12*84=1008, Resulting Numbers: [48, 10, 1008]
Generated Node #2: [48, 10, 1008] from Operation: 12*84=1008
Current State: 96:[48, 10, 1008], Operations: ['12*84=1008']
Exploring Operation: 1008-48=960, Resulting Numbers: [10, 960]
Generated Node #3: [10, 960] from Operation: 1008-48=960
Current State: 96:[10, 960], Operations: ['12*84=1008', '1008-48=960']
Exploring Operation: 960/10=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[48, 12, 10, 84], Operations: []
Exploring Operation: 84/12=7, Resulting Numbers: [48, 10, 7]
Generated Node #0,0: 96:[48, 10, 7] Operation: 84/12=7
Exploring Operation: 12-10=2, Resulting Numbers: [48, 84, 2]
Generated Node #0,1: 96:[48, 84, 2] Operation: 12-10=2
Exploring Operation: 10+84=94, Resulting Numbers: [48, 12, 94]
Generated Node #0,2: 96:[48, 12, 94] Operation: 10+84=94
Exploring Operation: 84-48=36, Resulting Numbers: [12, 10, 36]
Generated Node #0,3: 96:[12, 10, 36] Operation: 84-48=36
Exploring Operation: 12+84=96, Resulting Numbers: [48, 10, 96]
Generated Node #0,4: 96:[48, 10, 96] Operation: 12+84=96
Moving to Node #0,2
Current State: 96:[48, 12, 94], Operations: ['10+84=94']
Exploring Operation: 12+94=106, Resulting Numbers: [48, 106]
Generated Node #0,2,0: 96:[48, 106] Operation: 12+94=106
Exploring Operation: 48-12=36, Resulting Numbers: [94, 36]
Generated Node #0,2,1: 96:[94, 36] Operation: 48-12=36
Exploring Operation: 48+12=60, Resulting Numbers: [94, 60]
Generated Node #0,2,2: 96:[94, 60] Operation: 48+12=60
Exploring Operation: 48/12=4, Resulting Numbers: [94, 4]
Generated Node #0,2,3: 96:[94, 4] Operation: 48/12=4
Exploring Operation: 94-48=46, Resulting Numbers: [12, 46]
Generated Node #0,2,4: 96:[12, 46] Operation: 94-48=46
Moving to Node #0,4
Current State: 96:[48, 10, 96], Operations: ['12+84=96']
Exploring Operation: 48-10=38, Resulting Numbers: [96, 38]
Generated Node #0,4,0: 96:[96, 38] Operation: 48-10=38
Exploring Operation: 10+96=106, Resulting Numbers: [48, 106]
Generated Node #0,4,1: 96:[48, 106] Operation: 10+96=106
Exploring Operation: 96/48=2, Resulting Numbers: [10, 2]
Generated Node #0,4,2: 96:[10, 2] Operation: 96/48=2
Exploring Operation: 48+10=58, Resulting Numbers: [96, 58]
Generated Node #0,4,3: 96:[96, 58] Operation: 48+10=58
Exploring Operation: 96-48=48, Resulting Numbers: [10, 48]
Generated Node #0,4,4: 96:[10, 48] Operation: 96-48=48
Moving to Node #0,0
Current State: 96:[48, 10, 7], Operations: ['84/12=7']
Exploring Operation: 10-7=3, Resulting Numbers: [48, 3]
Generated Node #0,0,0: 96:[48, 3] Operation: 10-7=3
Exploring Operation: 10+7=17, Resulting Numbers: [48, 17]
Generated Node #0,0,1: 96:[48, 17] Operation: 10+7=17
Exploring Operation: 48+7=55, Resulting Numbers: [10, 55]
Generated Node #0,0,2: 96:[10, 55] Operation: 48+7=55
Exploring Operation: 48-10=38, Resulting Numbers: [7, 38]
Generated Node #0,0,3: 96:[7, 38] Operation: 48-10=38
Exploring Operation: 48-7=41, Resulting Numbers: [10, 41]
Generated Node #0,0,4: 96:[10, 41] Operation: 48-7=41
Moving to Node #0,3
Current State: 96:[12, 10, 36], Operations: ['84-48=36']
Exploring Operation: 36-12=24, Resulting Numbers: [10, 24]
Generated Node #0,3,0: 96:[10, 24] Operation: 36-12=24
Exploring Operation: 10+36=46, Resulting Numbers: [12, 46]
Generated Node #0,3,1: 96:[12, 46] Operation: 10+36=46
Exploring Operation: 12+36=48, Resulting Numbers: [10, 48]
Generated Node #0,3,2: 96:[10, 48] Operation: 12+36=48
Exploring Operation: 36-10=26, Resulting Numbers: [12, 26]
Generated Node #0,3,3: 96:[12, 26] Operation: 36-10=26
Exploring Operation: 36/12=3, Resulting Numbers: [10, 3]
Generated Node #0,3,4: 96:[10, 3] Operation: 36/12=3
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 96:[10, 24], Operations: ['84-48=36', '36-12=24']
Exploring Operation: 10+24=34, Resulting Numbers: [34]
34,96 unequal: No Solution
Exploring Operation: 10*24=240, Resulting Numbers: [240]
240,96 unequal: No Solution
Exploring Operation: 24-10=14, Resulting Numbers: [14]
14,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 96:[12, 46], Operations: ['84-48=36', '10+36=46']
Exploring Operation: 12*46=552, Resulting Numbers: [552]
552,96 unequal: No Solution
Exploring Operation: 46-12=34, Resulting Numbers: [34]
34,96 unequal: No Solution
Exploring Operation: 12+46=58, Resulting Numbers: [58]
58,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 96:[10, 48], Operations: ['84-48=36', '12+36=48']
Exploring Operation: 48-10=38, Resulting Numbers: [38]
38,96 unequal: No Solution
Exploring Operation: 10+48=58, Resulting Numbers: [58]
58,96 unequal: No Solution
Exploring Operation: 10*48=480, Resulting Numbers: [480]
480,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 96:[12, 26], Operations: ['84-48=36', '36-10=26']
Exploring Operation: 26-12=14, Resulting Numbers: [14]
14,96 unequal: No Solution
Exploring Operation: 12*26=312, Resulting Numbers: [312]
312,96 unequal: No Solution
Exploring Operation: 12+26=38, Resulting Numbers: [38]
38,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 96:[10, 3], Operations: ['84-48=36', '36/12=3']
Exploring Operation: 10*3=30, Resulting Numbers: [30]
30,96 unequal: No Solution
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,96 unequal: No Solution
Exploring Operation: 10+3=13, Resulting Numbers: [13]
13,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 96:[48, 84, 2], Operations: ['12-10=2']
Exploring Operation: 84/2=42, Resulting Numbers: [48, 42]
Generated Node #0,1,0: 96:[48, 42] Operation: 84/2=42
Exploring Operation: 84-48=36, Resulting Numbers: [2, 36]
Generated Node #0,1,1: 96:[2, 36] Operation: 84-48=36
Exploring Operation: 48/2=24, Resulting Numbers: [84, 24]
Generated Node #0,1,2: 96:[84, 24] Operation: 48/2=24
Exploring Operation: 84+2=86, Resulting Numbers: [48, 86]
Generated Node #0,1,3: 96:[48, 86] Operation: 84+2=86
Exploring Operation: 48*2=96, Resulting Numbers: [84, 96]
Generated Node #0,1,4: 96:[84, 96] Operation: 48*2=96
Moving to Node #0,0,0
Current State: 96:[48, 3], Operations: ['84/12=7', '10-7=3']
Exploring Operation: 48/3=16, Resulting Numbers: [16]
16,96 unequal: No Solution
Exploring Operation: 48*3=144, Resulting Numbers: [144]
144,96 unequal: No Solution
Exploring Operation: 48-3=45, Resulting Numbers: [45]
45,96 unequal: No Solution
Exploring Operation: 48+3=51, Resulting Numbers: [51]
51,96 unequal: No Solution
Moving to Node #0,0,1
Current State: 96:[48, 17], Operations: ['84/12=7', '10+7=17']
Exploring Operation: 48+17=65, Resulting Numbers: [65]
65,96 unequal: No Solution
Exploring Operation: 48*17=816, Resulting Numbers: [816]
816,96 unequal: No Solution
Exploring Operation: 48-17=31, Resulting Numbers: [31]
31,96 unequal: No Solution
Moving to Node #0,4,4
Current State: 96:[10, 48], Operations: ['12+84=96', '96-48=48']
Exploring Operation: 10+48=58, Resulting Numbers: [58]
58,96 unequal: No Solution
Exploring Operation: 10*48=480, Resulting Numbers: [480]
480,96 unequal: No Solution
Exploring Operation: 48-10=38, Resulting Numbers: [38]
38,96 unequal: No Solution
Moving to Node #0,4,2
Current State: 96:[10, 2], Operations: ['12+84=96', '96/48=2']
Exploring Operation: 10+2=12, Resulting Numbers: [12]
12,96 unequal: No Solution
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,96 unequal: No Solution
Exploring Operation: 10*2=20, Resulting Numbers: [20]
20,96 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,96 unequal: No Solution
Moving to Node #0,2,3
Current State: 96:[94, 4], Operations: ['10+84=94', '48/12=4']
Exploring Operation: 94-4=90, Resulting Numbers: [90]
90,96 unequal: No Solution
Exploring Operation: 94+4=98, Resulting Numbers: [98]
98,96 unequal: No Solution
Exploring Operation: 94*4=376, Resulting Numbers: [376]
376,96 unequal: No Solution
Moving to Node #0,2,4
Current State: 96:[12, 46], Operations: ['10+84=94', '94-48=46']
Exploring Operation: 12+46=58, Resulting Numbers: [58]
58,96 unequal: No Solution
Exploring Operation: 46-12=34, Resulting Numbers: [34]
34,96 unequal: No Solution
Exploring Operation: 12*46=552, Resulting Numbers: [552]
552,96 unequal: No Solution
Moving to Node #0,1,1
Current State: 96:[2, 36], Operations: ['12-10=2', '84-48=36']
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,96 unequal: No Solution
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,96 unequal: No Solution
Exploring Operation: 2+36=38, Resulting Numbers: [38]
38,96 unequal: No Solution
Exploring Operation: 2*36=72, Resulting Numbers: [72]
72,96 unequal: No Solution
Moving to Node #0,2,1
Current State: 96:[94, 36], Operations: ['10+84=94', '48-12=36']
Exploring Operation: 94-36=58, Resulting Numbers: [58]
58,96 unequal: No Solution
Exploring Operation: 94+36=130, Resulting Numbers: [130]
130,96 unequal: No Solution
Exploring Operation: 94*36=3384, Resulting Numbers: [3384]
3384,96 unequal: No Solution
Moving to Node #0,1,0
Current State: 96:[48, 42], Operations: ['12-10=2', '84/2=42']
Exploring Operation: 48+42=90, Resulting Numbers: [90]
90,96 unequal: No Solution
Exploring Operation: 48*42=2016, Resulting Numbers: [2016]
2016,96 unequal: No Solution
Exploring Operation: 48-42=6, Resulting Numbers: [6]
6,96 unequal: No Solution
Moving to Node #0,4,0
Current State: 96:[96, 38], Operations: ['12+84=96', '48-10=38']
Exploring Operation: 96-38=58, Resulting Numbers: [58]
58,96 unequal: No Solution
Exploring Operation: 96*38=3648, Resulting Numbers: [3648]
3648,96 unequal: No Solution
Exploring Operation: 96+38=134, Resulting Numbers: [134]
134,96 unequal: No Solution
Moving to Node #0,0,3
Current State: 96:[7, 38], Operations: ['84/12=7', '48-10=38']
Exploring Operation: 38-7=31, Resulting Numbers: [31]
31,96 unequal: No Solution
Exploring Operation: 7*38=266, Resulting Numbers: [266]
266,96 unequal: No Solution
Exploring Operation: 7+38=45, Resulting Numbers: [45]
45,96 unequal: No Solution
Moving to Node #0,0,4
Current State: 96:[10, 41], Operations: ['84/12=7', '48-7=41']
Exploring Operation: 41-10=31, Resulting Numbers: [31]
31,96 unequal: No Solution
Exploring Operation: 10*41=410, Resulting Numbers: [410]
410,96 unequal: No Solution
Exploring Operation: 10+41=51, Resulting Numbers: [51]
51,96 unequal: No Solution
Moving to Node #0,0,2
Current State: 96:[10, 55], Operations: ['84/12=7', '48+7=55']
Exploring Operation: 10*55=550, Resulting Numbers: [550]
550,96 unequal: No Solution
Exploring Operation: 55-10=45, Resulting Numbers: [45]
45,96 unequal: No Solution
Exploring Operation: 10+55=65, Resulting Numbers: [65]
65,96 unequal: No Solution
Moving to Node #0,1,3
Current State: 96:[48, 86], Operations: ['12-10=2', '84+2=86']
Exploring Operation: 48+86=134, Resulting Numbers: [134]
134,96 unequal: No Solution
Exploring Operation: 86-48=38, Resulting Numbers: [38]
38,96 unequal: No Solution
Exploring Operation: 48*86=4128, Resulting Numbers: [4128]
4128,96 unequal: No Solution
Moving to Node #0,2,0
Current State: 96:[48, 106], Operations: ['10+84=94', '12+94=106']
Exploring Operation: 106-48=58, Resulting Numbers: [58]
58,96 unequal: No Solution
Exploring Operation: 48*106=5088, Resulting Numbers: [5088]
5088,96 unequal: No Solution
Exploring Operation: 48+106=154, Resulting Numbers: [154]
154,96 unequal: No Solution
Moving to Node #0,4,3
Current State: 96:[96, 58], Operations: ['12+84=96', '48+10=58']
Exploring Operation: 96-58=38, Resulting Numbers: [38]
38,96 unequal: No Solution
Exploring Operation: 96*58=5568, Resulting Numbers: [5568]
5568,96 unequal: No Solution
Exploring Operation: 96+58=154, Resulting Numbers: [154]
154,96 unequal: No Solution
Moving to Node #0,4,1
Current State: 96:[48, 106], Operations: ['12+84=96', '10+96=106']
Exploring Operation: 48+106=154, Resulting Numbers: [154]
154,96 unequal: No Solution
Exploring Operation: 106-48=58, Resulting Numbers: [58]
58,96 unequal: No Solution
Exploring Operation: 48*106=5088, Resulting Numbers: [5088]
5088,96 unequal: No Solution
Moving to Node #0,1,2
Current State: 96:[84, 24], Operations: ['12-10=2', '48/2=24']
Exploring Operation: 84+24=108, Resulting Numbers: [108]
108,96 unequal: No Solution
Exploring Operation: 84-24=60, Resulting Numbers: [60]
60,96 unequal: No Solution
Exploring Operation: 84*24=2016, Resulting Numbers: [2016]
2016,96 unequal: No Solution
Moving to Node #0,1,4
Current State: 96:[84, 96], Operations: ['12-10=2', '48*2=96']
Exploring Operation: 96-84=12, Resulting Numbers: [12]
12,96 unequal: No Solution
Exploring Operation: 84+96=180, Resulting Numbers: [180]
180,96 unequal: No Solution
Exploring Operation: 84*96=8064, Resulting Numbers: [8064]
8064,96 unequal: No Solution
Moving to Node #0,2,2
Current State: 96:[94, 60], Operations: ['10+84=94', '48+12=60']
Exploring Operation: 94*60=5640, Resulting Numbers: [5640]
5640,96 unequal: No Solution
Exploring Operation: 94-60=34, Resulting Numbers: [34]
34,96 unequal: No Solution
Exploring Operation: 94+60=154, Resulting Numbers: [154]
154,96 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
83,
9,
85,
80
] | 73 | [
"83+9=92",
"85+80=165",
"165-92=73"
] | Current State: 73:[83, 9, 85, 80], Operations: []
Exploring Operation: 83+9=92, Resulting Numbers: [85, 80, 92]
Generated Node #2: [85, 80, 92] from Operation: 83+9=92
Current State: 73:[85, 80, 92], Operations: ['83+9=92']
Exploring Operation: 85+80=165, Resulting Numbers: [92, 165]
Generated Node #3: [92, 165] from Operation: 85+80=165
Current State: 73:[92, 165], Operations: ['83+9=92', '85+80=165']
Exploring Operation: 165-92=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[83, 9, 85, 80], Operations: []
Exploring Operation: 83-9=74, Resulting Numbers: [85, 80, 74]
Generated Node #0,0: 73:[85, 80, 74] Operation: 83-9=74
Exploring Operation: 85-9=76, Resulting Numbers: [83, 80, 76]
Generated Node #0,1: 73:[83, 80, 76] Operation: 85-9=76
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[85, 80, 74], Operations: ['83-9=74']
Exploring Operation: 85-80=5, Resulting Numbers: [74, 5]
Generated Node #0,0,0: 73:[74, 5] Operation: 85-80=5
Exploring Operation: 85-74=11, Resulting Numbers: [80, 11]
Generated Node #0,0,1: 73:[80, 11] Operation: 85-74=11
Moving to Node #0,0,0
Current State: 73:[74, 5], Operations: ['83-9=74', '85-80=5']
Exploring Operation: 74+5=79, Resulting Numbers: [79]
79,73 unequal: No Solution
Exploring Operation: 74-5=69, Resulting Numbers: [69]
69,73 unequal: No Solution
Moving to Node #0,0,1
Current State: 73:[80, 11], Operations: ['83-9=74', '85-74=11']
Exploring Operation: 80+11=91, Resulting Numbers: [91]
91,73 unequal: No Solution
Exploring Operation: 80-11=69, Resulting Numbers: [69]
69,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 73:[83, 80, 76], Operations: ['85-9=76']
Exploring Operation: 83-80=3, Resulting Numbers: [76, 3]
Generated Node #0,1,0: 73:[76, 3] Operation: 83-80=3
Exploring Operation: 83-76=7, Resulting Numbers: [80, 7]
Generated Node #0,1,1: 73:[80, 7] Operation: 83-76=7
Moving to Node #0,1,0
Current State: 73:[76, 3], Operations: ['85-9=76', '83-80=3']
Exploring Operation: 76+3=79, Resulting Numbers: [79]
79,73 unequal: No Solution
Exploring Operation: 76-3=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[83, 9, 85, 80], Operations: []
Exploring Operation: 85-9=76, Resulting Numbers: [83, 80, 76]
Generated Node #0,1: 73:[83, 80, 76] Operation: 85-9=76
Moving to Node #0,1
Current State: 73:[83, 80, 76], Operations: ['85-9=76']
Exploring Operation: 83-80=3, Resulting Numbers: [76, 3]
Generated Node #0,1,0: 73:[76, 3] Operation: 83-80=3
Moving to Node #0,1,0
Current State: 73:[76, 3], Operations: ['85-9=76', '83-80=3']
Exploring Operation: 76-3=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_2 | mult_heuristic |
[
21,
73,
80,
83
] | 10 | [
"83-80=3",
"21*3=63",
"73-63=10"
] | Current State: 10:[21, 73, 80, 83], Operations: []
Exploring Operation: 83-80=3, Resulting Numbers: [21, 73, 3]
Generated Node #2: [21, 73, 3] from Operation: 83-80=3
Current State: 10:[21, 73, 3], Operations: ['83-80=3']
Exploring Operation: 21*3=63, Resulting Numbers: [73, 63]
Generated Node #3: [73, 63] from Operation: 21*3=63
Current State: 10:[73, 63], Operations: ['83-80=3', '21*3=63']
Exploring Operation: 73-63=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[21, 73, 80, 83], Operations: []
Exploring Operation: 83-80=3, Resulting Numbers: [21, 73, 3]
Generated Node #0,0: 10:[21, 73, 3] Operation: 83-80=3
Exploring Operation: 83-73=10, Resulting Numbers: [21, 80, 10]
Generated Node #0,1: 10:[21, 80, 10] Operation: 83-73=10
Moving to Node #0,0
Current State: 10:[21, 73, 3], Operations: ['83-80=3']
Exploring Operation: 21/3=7, Resulting Numbers: [73, 7]
Generated Node #0,0,0: 10:[73, 7] Operation: 21/3=7
Exploring Operation: 73-21=52, Resulting Numbers: [3, 52]
Generated Node #0,0,1: 10:[3, 52] Operation: 73-21=52
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 10:[3, 52], Operations: ['83-80=3', '73-21=52']
Exploring Operation: 52-3=49, Resulting Numbers: [49]
49,10 unequal: No Solution
Exploring Operation: 3+52=55, Resulting Numbers: [55]
55,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,0,0
Current State: 10:[73, 7], Operations: ['83-80=3', '21/3=7']
Exploring Operation: 73-7=66, Resulting Numbers: [66]
66,10 unequal: No Solution
Exploring Operation: 73+7=80, Resulting Numbers: [80]
80,10 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: 10:[21, 80, 10], Operations: ['83-73=10']
Exploring Operation: 80/10=8, Resulting Numbers: [21, 8]
Generated Node #0,1,0: 10:[21, 8] Operation: 80/10=8
Exploring Operation: 80-21=59, Resulting Numbers: [10, 59]
Generated Node #0,1,1: 10:[10, 59] Operation: 80-21=59
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 10:[21, 8], Operations: ['83-73=10', '80/10=8']
Exploring Operation: 21+8=29, Resulting Numbers: [29]
29,10 unequal: No Solution
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,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:[10, 59], Operations: ['83-73=10', '80-21=59']
Exploring Operation: 10+59=69, Resulting Numbers: [69]
69,10 unequal: No Solution
Exploring Operation: 59-10=49, Resulting Numbers: [49]
49,10 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 |
[
36,
74,
75,
1
] | 18 | [
"75-74=1",
"1+1=2",
"36/2=18"
] | Current State: 18:[36, 74, 75, 1], Operations: []
Exploring Operation: 75-74=1, Resulting Numbers: [36, 1, 1]
Generated Node #2: [36, 1, 1] from Operation: 75-74=1
Current State: 18:[36, 1, 1], Operations: ['75-74=1']
Exploring Operation: 1+1=2, Resulting Numbers: [36, 2]
Generated Node #3: [36, 2] from Operation: 1+1=2
Current State: 18:[36, 2], Operations: ['75-74=1', '1+1=2']
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[36, 74, 75, 1], Operations: []
Exploring Operation: 74-36=38, Resulting Numbers: [75, 1, 38]
Generated Node #0,0: 18:[75, 1, 38] Operation: 74-36=38
Exploring Operation: 75-74=1, Resulting Numbers: [36, 1, 1]
Generated Node #0,1: 18:[36, 1, 1] Operation: 75-74=1
Exploring Operation: 75-36=39, Resulting Numbers: [74, 1, 39]
Generated Node #0,2: 18:[74, 1, 39] Operation: 75-36=39
Moving to Node #0,1
Current State: 18:[36, 1, 1], Operations: ['75-74=1']
Exploring Operation: 36-1=35, Resulting Numbers: [1, 35]
Generated Node #0,1,0: 18:[1, 35] Operation: 36-1=35
Exploring Operation: 36-1=35, Resulting Numbers: [1, 35]
Generated Node #0,1,1: 18:[1, 35] Operation: 36-1=35
Exploring Operation: 1+1=2, Resulting Numbers: [36, 2]
Generated Node #0,1,2: 18:[36, 2] Operation: 1+1=2
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 18:[1, 35], Operations: ['75-74=1', '36-1=35']
Exploring Operation: 35/1=35, Resulting Numbers: [35]
35,18 unequal: No Solution
Exploring Operation: 35-1=34, Resulting Numbers: [34]
34,18 unequal: No Solution
Exploring Operation: 1*35=35, Resulting Numbers: [35]
35,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 18:[1, 35], Operations: ['75-74=1', '36-1=35']
Exploring Operation: 35-1=34, Resulting Numbers: [34]
34,18 unequal: No Solution
Exploring Operation: 35/1=35, Resulting Numbers: [35]
35,18 unequal: No Solution
Exploring Operation: 1*35=35, Resulting Numbers: [35]
35,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 18:[36, 2], Operations: ['75-74=1', '1+1=2']
Exploring Operation: 36+2=38, Resulting Numbers: [38]
38,18 unequal: No Solution
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[36, 74, 75, 1], Operations: []
Exploring Operation: 75-74=1, Resulting Numbers: [36, 1, 1]
Generated Node #0,1: 18:[36, 1, 1] Operation: 75-74=1
Moving to Node #0,1
Current State: 18:[36, 1, 1], Operations: ['75-74=1']
Exploring Operation: 1+1=2, Resulting Numbers: [36, 2]
Generated Node #0,1,2: 18:[36, 2] Operation: 1+1=2
Moving to Node #0,1,2
Current State: 18:[36, 2], Operations: ['75-74=1', '1+1=2']
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_3 | mult_heuristic |
[
75,
20,
87,
85
] | 85 | [
"85-75=10",
"20/10=2",
"87-2=85"
] | Current State: 85:[75, 20, 87, 85], Operations: []
Exploring Operation: 85-75=10, Resulting Numbers: [20, 87, 10]
Generated Node #2: [20, 87, 10] from Operation: 85-75=10
Current State: 85:[20, 87, 10], Operations: ['85-75=10']
Exploring Operation: 20/10=2, Resulting Numbers: [87, 2]
Generated Node #3: [87, 2] from Operation: 20/10=2
Current State: 85:[87, 2], Operations: ['85-75=10', '20/10=2']
Exploring Operation: 87-2=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[75, 20, 87, 85], Operations: []
Exploring Operation: 85-75=10, Resulting Numbers: [20, 87, 10]
Generated Node #0,0: 85:[20, 87, 10] Operation: 85-75=10
Exploring Operation: 87-75=12, Resulting Numbers: [20, 85, 12]
Generated Node #0,1: 85:[20, 85, 12] Operation: 87-75=12
Moving to Node #0,1
Current State: 85:[20, 85, 12], Operations: ['87-75=12']
Exploring Operation: 20+12=32, Resulting Numbers: [85, 32]
Generated Node #0,1,0: 85:[85, 32] Operation: 20+12=32
Exploring Operation: 20-12=8, Resulting Numbers: [85, 8]
Generated Node #0,1,1: 85:[85, 8] Operation: 20-12=8
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 85:[85, 8], Operations: ['87-75=12', '20-12=8']
Exploring Operation: 85+8=93, Resulting Numbers: [93]
93,85 unequal: No Solution
Exploring Operation: 85-8=77, Resulting Numbers: [77]
77,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 85:[85, 32], Operations: ['87-75=12', '20+12=32']
Exploring Operation: 85+32=117, Resulting Numbers: [117]
117,85 unequal: No Solution
Exploring Operation: 85-32=53, Resulting Numbers: [53]
53,85 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: 85:[20, 87, 10], Operations: ['85-75=10']
Exploring Operation: 20/10=2, Resulting Numbers: [87, 2]
Generated Node #0,0,0: 85:[87, 2] Operation: 20/10=2
Exploring Operation: 20-10=10, Resulting Numbers: [87, 10]
Generated Node #0,0,1: 85:[87, 10] Operation: 20-10=10
Moving to Node #0,0,0
Current State: 85:[87, 2], Operations: ['85-75=10', '20/10=2']
Exploring Operation: 87-2=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[75, 20, 87, 85], Operations: []
Exploring Operation: 85-75=10, Resulting Numbers: [20, 87, 10]
Generated Node #0,0: 85:[20, 87, 10] Operation: 85-75=10
Moving to Node #0,0
Current State: 85:[20, 87, 10], Operations: ['85-75=10']
Exploring Operation: 20/10=2, Resulting Numbers: [87, 2]
Generated Node #0,0,0: 85:[87, 2] Operation: 20/10=2
Moving to Node #0,0,0
Current State: 85:[87, 2], Operations: ['85-75=10', '20/10=2']
Exploring Operation: 87-2=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 0.986979 | hs_2 | sum_heuristic |
[
89,
58,
34,
91
] | 75 | [
"91-89=2",
"34/2=17",
"58+17=75"
] | Current State: 75:[89, 58, 34, 91], Operations: []
Exploring Operation: 91-89=2, Resulting Numbers: [58, 34, 2]
Generated Node #2: [58, 34, 2] from Operation: 91-89=2
Current State: 75:[58, 34, 2], Operations: ['91-89=2']
Exploring Operation: 34/2=17, Resulting Numbers: [58, 17]
Generated Node #3: [58, 17] from Operation: 34/2=17
Current State: 75:[58, 17], Operations: ['91-89=2', '34/2=17']
Exploring Operation: 58+17=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[89, 58, 34, 91], Operations: []
Exploring Operation: 89-58=31, Resulting Numbers: [34, 91, 31]
Generated Node #0,0: 75:[34, 91, 31] Operation: 89-58=31
Exploring Operation: 91-89=2, Resulting Numbers: [58, 34, 2]
Generated Node #0,1: 75:[58, 34, 2] Operation: 91-89=2
Moving to Node #0,1
Current State: 75:[58, 34, 2], Operations: ['91-89=2']
Exploring Operation: 58-34=24, Resulting Numbers: [2, 24]
Generated Node #0,1,0: 75:[2, 24] Operation: 58-34=24
Exploring Operation: 58/2=29, Resulting Numbers: [34, 29]
Generated Node #0,1,1: 75:[34, 29] Operation: 58/2=29
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 75:[2, 24], Operations: ['91-89=2', '58-34=24']
Exploring Operation: 2+24=26, Resulting Numbers: [26]
26,75 unequal: No Solution
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 75:[34, 29], Operations: ['91-89=2', '58/2=29']
Exploring Operation: 34-29=5, Resulting Numbers: [5]
5,75 unequal: No Solution
Exploring Operation: 34+29=63, Resulting Numbers: [63]
63,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 75:[34, 91, 31], Operations: ['89-58=31']
Exploring Operation: 91-34=57, Resulting Numbers: [31, 57]
Generated Node #0,0,0: 75:[31, 57] Operation: 91-34=57
Exploring Operation: 34-31=3, Resulting Numbers: [91, 3]
Generated Node #0,0,1: 75:[91, 3] Operation: 34-31=3
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 75:[91, 3], Operations: ['89-58=31', '34-31=3']
Exploring Operation: 91-3=88, Resulting Numbers: [88]
88,75 unequal: No Solution
Exploring Operation: 91+3=94, Resulting Numbers: [94]
94,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 75:[31, 57], Operations: ['89-58=31', '91-34=57']
Exploring Operation: 31+57=88, Resulting Numbers: [88]
88,75 unequal: No Solution
Exploring Operation: 57-31=26, Resulting Numbers: [26]
26,75 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 |
[
77,
97,
72,
35
] | 67 | [
"77+97=174",
"72+35=107",
"174-107=67"
] | Current State: 67:[77, 97, 72, 35], Operations: []
Exploring Operation: 77+97=174, Resulting Numbers: [72, 35, 174]
Generated Node #2: [72, 35, 174] from Operation: 77+97=174
Current State: 67:[72, 35, 174], Operations: ['77+97=174']
Exploring Operation: 72+35=107, Resulting Numbers: [174, 107]
Generated Node #3: [174, 107] from Operation: 72+35=107
Current State: 67:[174, 107], Operations: ['77+97=174', '72+35=107']
Exploring Operation: 174-107=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[77, 97, 72, 35], Operations: []
Exploring Operation: 97-35=62, Resulting Numbers: [77, 72, 62]
Generated Node #0,0: 67:[77, 72, 62] Operation: 97-35=62
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[77, 72, 62], Operations: ['97-35=62']
Exploring Operation: 77-62=15, Resulting Numbers: [72, 15]
Generated Node #0,0,0: 67:[72, 15] Operation: 77-62=15
Moving to Node #0,0,0
Current State: 67:[72, 15], Operations: ['97-35=62', '77-62=15']
Exploring Operation: 72-15=57, Resulting Numbers: [57]
57,67 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 |
[
85,
59,
87,
6
] | 63 | [
"85+59=144",
"87-6=81",
"144-81=63"
] | Current State: 63:[85, 59, 87, 6], Operations: []
Exploring Operation: 85+59=144, Resulting Numbers: [87, 6, 144]
Generated Node #2: [87, 6, 144] from Operation: 85+59=144
Current State: 63:[87, 6, 144], Operations: ['85+59=144']
Exploring Operation: 87-6=81, Resulting Numbers: [144, 81]
Generated Node #3: [144, 81] from Operation: 87-6=81
Current State: 63:[144, 81], Operations: ['85+59=144', '87-6=81']
Exploring Operation: 144-81=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[85, 59, 87, 6], Operations: []
Exploring Operation: 87-85=2, Resulting Numbers: [59, 6, 2]
Generated Node #0,0: 63:[59, 6, 2] Operation: 87-85=2
Exploring Operation: 85-59=26, Resulting Numbers: [87, 6, 26]
Generated Node #0,1: 63:[87, 6, 26] Operation: 85-59=26
Moving to Node #0,0
Current State: 63:[59, 6, 2], Operations: ['87-85=2']
Exploring Operation: 59+6=65, Resulting Numbers: [2, 65]
Generated Node #0,0,0: 63:[2, 65] Operation: 59+6=65
Exploring Operation: 59+2=61, Resulting Numbers: [6, 61]
Generated Node #0,0,1: 63:[6, 61] Operation: 59+2=61
Moving to Node #0,1
Current State: 63:[87, 6, 26], Operations: ['85-59=26']
Exploring Operation: 87-26=61, Resulting Numbers: [6, 61]
Generated Node #0,1,0: 63:[6, 61] Operation: 87-26=61
Exploring Operation: 87-6=81, Resulting Numbers: [26, 81]
Generated Node #0,1,1: 63:[26, 81] Operation: 87-6=81
Moving to Node #0,0,0
Current State: 63:[2, 65], Operations: ['87-85=2', '59+6=65']
Exploring Operation: 2+65=67, Resulting Numbers: [67]
67,63 unequal: No Solution
Exploring Operation: 65-2=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[85, 59, 87, 6], Operations: []
Exploring Operation: 87-85=2, Resulting Numbers: [59, 6, 2]
Generated Node #0,0: 63:[59, 6, 2] Operation: 87-85=2
Moving to Node #0,0
Current State: 63:[59, 6, 2], Operations: ['87-85=2']
Exploring Operation: 59+6=65, Resulting Numbers: [2, 65]
Generated Node #0,0,0: 63:[2, 65] Operation: 59+6=65
Moving to Node #0,0,0
Current State: 63:[2, 65], Operations: ['87-85=2', '59+6=65']
Exploring Operation: 65-2=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 0.989583 | hs_2 | mult_heuristic |
[
17,
87,
22,
14
] | 27 | [
"87-17=70",
"70/14=5",
"22+5=27"
] | Current State: 27:[17, 87, 22, 14], Operations: []
Exploring Operation: 87-17=70, Resulting Numbers: [22, 14, 70]
Generated Node #2: [22, 14, 70] from Operation: 87-17=70
Current State: 27:[22, 14, 70], Operations: ['87-17=70']
Exploring Operation: 70/14=5, Resulting Numbers: [22, 5]
Generated Node #3: [22, 5] from Operation: 70/14=5
Current State: 27:[22, 5], Operations: ['87-17=70', '70/14=5']
Exploring Operation: 22+5=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[17, 87, 22, 14], Operations: []
Exploring Operation: 87-22=65, Resulting Numbers: [17, 14, 65]
Generated Node #0,0: 27:[17, 14, 65] Operation: 87-22=65
Exploring Operation: 17-14=3, Resulting Numbers: [87, 22, 3]
Generated Node #0,1: 27:[87, 22, 3] Operation: 17-14=3
Exploring Operation: 87-17=70, Resulting Numbers: [22, 14, 70]
Generated Node #0,2: 27:[22, 14, 70] Operation: 87-17=70
Exploring Operation: 87-14=73, Resulting Numbers: [17, 22, 73]
Generated Node #0,3: 27:[17, 22, 73] Operation: 87-14=73
Exploring Operation: 22-17=5, Resulting Numbers: [87, 14, 5]
Generated Node #0,4: 27:[87, 14, 5] Operation: 22-17=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[17, 14, 65], Operations: ['87-22=65']
Exploring Operation: 17-14=3, Resulting Numbers: [65, 3]
Generated Node #0,0,0: 27:[65, 3] Operation: 17-14=3
Exploring Operation: 65-14=51, Resulting Numbers: [17, 51]
Generated Node #0,0,1: 27:[17, 51] Operation: 65-14=51
Exploring Operation: 17+14=31, Resulting Numbers: [65, 31]
Generated Node #0,0,2: 27:[65, 31] Operation: 17+14=31
Exploring Operation: 17+65=82, Resulting Numbers: [14, 82]
Generated Node #0,0,3: 27:[14, 82] Operation: 17+65=82
Exploring Operation: 65-17=48, Resulting Numbers: [14, 48]
Generated Node #0,0,4: 27:[14, 48] Operation: 65-17=48
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 27:[14, 48], Operations: ['87-22=65', '65-17=48']
Exploring Operation: 14*48=672, Resulting Numbers: [672]
672,27 unequal: No Solution
Exploring Operation: 48-14=34, Resulting Numbers: [34]
34,27 unequal: No Solution
Exploring Operation: 14+48=62, Resulting Numbers: [62]
62,27 unequal: No Solution
No 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: 27:[17, 51], Operations: ['87-22=65', '65-14=51']
Exploring Operation: 51/17=3, Resulting Numbers: [3]
3,27 unequal: No Solution
Exploring Operation: 51-17=34, Resulting Numbers: [34]
34,27 unequal: No Solution
Exploring Operation: 17+51=68, Resulting Numbers: [68]
68,27 unequal: No Solution
Exploring Operation: 17*51=867, Resulting Numbers: [867]
867,27 unequal: No Solution
No 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: 27:[65, 3], Operations: ['87-22=65', '17-14=3']
Exploring Operation: 65-3=62, Resulting Numbers: [62]
62,27 unequal: No Solution
Exploring Operation: 65+3=68, Resulting Numbers: [68]
68,27 unequal: No Solution
Exploring Operation: 65*3=195, Resulting Numbers: [195]
195,27 unequal: No Solution
No 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: 27:[65, 31], Operations: ['87-22=65', '17+14=31']
Exploring Operation: 65+31=96, Resulting Numbers: [96]
96,27 unequal: No Solution
Exploring Operation: 65*31=2015, Resulting Numbers: [2015]
2015,27 unequal: No Solution
Exploring Operation: 65-31=34, Resulting Numbers: [34]
34,27 unequal: No Solution
No 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: 27:[14, 82], Operations: ['87-22=65', '17+65=82']
Exploring Operation: 14+82=96, Resulting Numbers: [96]
96,27 unequal: No Solution
Exploring Operation: 14*82=1148, Resulting Numbers: [1148]
1148,27 unequal: No Solution
Exploring Operation: 82-14=68, Resulting Numbers: [68]
68,27 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: 27:[22, 14, 70], Operations: ['87-17=70']
Exploring Operation: 70-22=48, Resulting Numbers: [14, 48]
Generated Node #0,2,0: 27:[14, 48] Operation: 70-22=48
Exploring Operation: 70/14=5, Resulting Numbers: [22, 5]
Generated Node #0,2,1: 27:[22, 5] Operation: 70/14=5
Exploring Operation: 22+14=36, Resulting Numbers: [70, 36]
Generated Node #0,2,2: 27:[70, 36] Operation: 22+14=36
Exploring Operation: 70-14=56, Resulting Numbers: [22, 56]
Generated Node #0,2,3: 27:[22, 56] Operation: 70-14=56
Exploring Operation: 22-14=8, Resulting Numbers: [70, 8]
Generated Node #0,2,4: 27:[70, 8] Operation: 22-14=8
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 27:[22, 5], Operations: ['87-17=70', '70/14=5']
Exploring Operation: 22-5=17, Resulting Numbers: [17]
17,27 unequal: No Solution
Exploring Operation: 22*5=110, Resulting Numbers: [110]
110,27 unequal: No Solution
Exploring Operation: 22+5=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[17, 87, 22, 14], Operations: []
Exploring Operation: 87-17=70, Resulting Numbers: [22, 14, 70]
Generated Node #0,2: 27:[22, 14, 70] Operation: 87-17=70
Moving to Node #0,2
Current State: 27:[22, 14, 70], Operations: ['87-17=70']
Exploring Operation: 70/14=5, Resulting Numbers: [22, 5]
Generated Node #0,2,1: 27:[22, 5] Operation: 70/14=5
Moving to Node #0,2,1
Current State: 27:[22, 5], Operations: ['87-17=70', '70/14=5']
Exploring Operation: 22+5=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.967014 | hs_5 | sum_heuristic |
[
47,
32,
6,
69
] | 76 | [
"47+69=116",
"32*6=192",
"192-116=76"
] | Current State: 76:[47, 32, 6, 69], Operations: []
Exploring Operation: 47+69=116, Resulting Numbers: [32, 6, 116]
Generated Node #2: [32, 6, 116] from Operation: 47+69=116
Current State: 76:[32, 6, 116], Operations: ['47+69=116']
Exploring Operation: 32*6=192, Resulting Numbers: [116, 192]
Generated Node #3: [116, 192] from Operation: 32*6=192
Current State: 76:[116, 192], Operations: ['47+69=116', '32*6=192']
Exploring Operation: 192-116=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[47, 32, 6, 69], Operations: []
Exploring Operation: 47+32=79, Resulting Numbers: [6, 69, 79]
Generated Node #0,0: 76:[6, 69, 79] Operation: 47+32=79
Exploring Operation: 47-6=41, Resulting Numbers: [32, 69, 41]
Generated Node #0,1: 76:[32, 69, 41] Operation: 47-6=41
Exploring Operation: 69-32=37, Resulting Numbers: [47, 6, 37]
Generated Node #0,2: 76:[47, 6, 37] Operation: 69-32=37
Exploring Operation: 47-32=15, Resulting Numbers: [6, 69, 15]
Generated Node #0,3: 76:[6, 69, 15] Operation: 47-32=15
Exploring Operation: 69-47=22, Resulting Numbers: [32, 6, 22]
Generated Node #0,4: 76:[32, 6, 22] Operation: 69-47=22
Moving to Node #0,4
Current State: 76:[32, 6, 22], Operations: ['69-47=22']
Exploring Operation: 22-6=16, Resulting Numbers: [32, 16]
Generated Node #0,4,0: 76:[32, 16] Operation: 22-6=16
Exploring Operation: 32-22=10, Resulting Numbers: [6, 10]
Generated Node #0,4,1: 76:[6, 10] Operation: 32-22=10
Exploring Operation: 32-6=26, Resulting Numbers: [22, 26]
Generated Node #0,4,2: 76:[22, 26] Operation: 32-6=26
Exploring Operation: 6+22=28, Resulting Numbers: [32, 28]
Generated Node #0,4,3: 76:[32, 28] Operation: 6+22=28
Exploring Operation: 32+6=38, Resulting Numbers: [22, 38]
Generated Node #0,4,4: 76:[22, 38] Operation: 32+6=38
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 76:[22, 38], Operations: ['69-47=22', '32+6=38']
Exploring Operation: 38-22=16, Resulting Numbers: [16]
16,76 unequal: No Solution
Exploring Operation: 22+38=60, Resulting Numbers: [60]
60,76 unequal: No Solution
Exploring Operation: 22*38=836, Resulting Numbers: [836]
836,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,4,1
Current State: 76:[6, 10], Operations: ['69-47=22', '32-22=10']
Exploring Operation: 6*10=60, Resulting Numbers: [60]
60,76 unequal: No Solution
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,76 unequal: No Solution
Exploring Operation: 6+10=16, Resulting Numbers: [16]
16,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,4,0
Current State: 76:[32, 16], Operations: ['69-47=22', '22-6=16']
Exploring Operation: 32+16=48, Resulting Numbers: [48]
48,76 unequal: No Solution
Exploring Operation: 32/16=2, Resulting Numbers: [2]
2,76 unequal: No Solution
Exploring Operation: 32-16=16, Resulting Numbers: [16]
16,76 unequal: No Solution
Exploring Operation: 32*16=512, Resulting Numbers: [512]
512,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,4,2
Current State: 76:[22, 26], Operations: ['69-47=22', '32-6=26']
Exploring Operation: 22+26=48, Resulting Numbers: [48]
48,76 unequal: No Solution
Exploring Operation: 26-22=4, Resulting Numbers: [4]
4,76 unequal: No Solution
Exploring Operation: 22*26=572, Resulting Numbers: [572]
572,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,4,3
Current State: 76:[32, 28], Operations: ['69-47=22', '6+22=28']
Exploring Operation: 32+28=60, Resulting Numbers: [60]
60,76 unequal: No Solution
Exploring Operation: 32*28=896, Resulting Numbers: [896]
896,76 unequal: No Solution
Exploring Operation: 32-28=4, Resulting Numbers: [4]
4,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 76:[47, 6, 37], Operations: ['69-32=37']
Exploring Operation: 47-37=10, Resulting Numbers: [6, 10]
Generated Node #0,2,0: 76:[6, 10] Operation: 47-37=10
Exploring Operation: 47+6=53, Resulting Numbers: [37, 53]
Generated Node #0,2,1: 76:[37, 53] Operation: 47+6=53
Exploring Operation: 47-6=41, Resulting Numbers: [37, 41]
Generated Node #0,2,2: 76:[37, 41] Operation: 47-6=41
Exploring Operation: 47+37=84, Resulting Numbers: [6, 84]
Generated Node #0,2,3: 76:[6, 84] Operation: 47+37=84
Exploring Operation: 6+37=43, Resulting Numbers: [47, 43]
Generated Node #0,2,4: 76:[47, 43] Operation: 6+37=43
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 76:[37, 41], Operations: ['69-32=37', '47-6=41']
Exploring Operation: 41-37=4, Resulting Numbers: [4]
4,76 unequal: No Solution
Exploring Operation: 37*41=1517, Resulting Numbers: [1517]
1517,76 unequal: No Solution
Exploring Operation: 37+41=78, Resulting Numbers: [78]
78,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 76:[6, 10], Operations: ['69-32=37', '47-37=10']
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,76 unequal: No Solution
Exploring Operation: 6+10=16, Resulting Numbers: [16]
16,76 unequal: No Solution
Exploring Operation: 6*10=60, Resulting Numbers: [60]
60,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 76:[6, 84], Operations: ['69-32=37', '47+37=84']
Exploring Operation: 84-6=78, Resulting Numbers: [78]
78,76 unequal: No Solution
Exploring Operation: 6*84=504, Resulting Numbers: [504]
504,76 unequal: No Solution
Exploring Operation: 6+84=90, Resulting Numbers: [90]
90,76 unequal: No Solution
Exploring Operation: 84/6=14, Resulting Numbers: [14]
14,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 76:[47, 43], Operations: ['69-32=37', '6+37=43']
Exploring Operation: 47*43=2021, Resulting Numbers: [2021]
2021,76 unequal: No Solution
Exploring Operation: 47+43=90, Resulting Numbers: [90]
90,76 unequal: No Solution
Exploring Operation: 47-43=4, Resulting Numbers: [4]
4,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 76:[37, 53], Operations: ['69-32=37', '47+6=53']
Exploring Operation: 37+53=90, Resulting Numbers: [90]
90,76 unequal: No Solution
Exploring Operation: 37*53=1961, Resulting Numbers: [1961]
1961,76 unequal: No Solution
Exploring Operation: 53-37=16, Resulting Numbers: [16]
16,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 76:[6, 69, 79], Operations: ['47+32=79']
Exploring Operation: 79-69=10, Resulting Numbers: [6, 10]
Generated Node #0,0,0: 76:[6, 10] Operation: 79-69=10
Exploring Operation: 79-6=73, Resulting Numbers: [69, 73]
Generated Node #0,0,1: 76:[69, 73] Operation: 79-6=73
Exploring Operation: 6+69=75, Resulting Numbers: [79, 75]
Generated Node #0,0,2: 76:[79, 75] Operation: 6+69=75
Exploring Operation: 6+79=85, Resulting Numbers: [69, 85]
Generated Node #0,0,3: 76:[69, 85] Operation: 6+79=85
Exploring Operation: 69-6=63, Resulting Numbers: [79, 63]
Generated Node #0,0,4: 76:[79, 63] Operation: 69-6=63
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 76:[79, 75], Operations: ['47+32=79', '6+69=75']
Exploring Operation: 79+75=154, Resulting Numbers: [154]
154,76 unequal: No Solution
Exploring Operation: 79-75=4, Resulting Numbers: [4]
4,76 unequal: No Solution
Exploring Operation: 79*75=5925, Resulting Numbers: [5925]
5925,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,0,0
Current State: 76:[6, 10], Operations: ['47+32=79', '79-69=10']
Exploring Operation: 6*10=60, Resulting Numbers: [60]
60,76 unequal: No Solution
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,76 unequal: No Solution
Exploring Operation: 6+10=16, Resulting Numbers: [16]
16,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,0,1
Current State: 76:[69, 73], Operations: ['47+32=79', '79-6=73']
Exploring Operation: 69*73=5037, Resulting Numbers: [5037]
5037,76 unequal: No Solution
Exploring Operation: 73-69=4, Resulting Numbers: [4]
4,76 unequal: No Solution
Exploring Operation: 69+73=142, Resulting Numbers: [142]
142,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,0,3
Current State: 76:[69, 85], Operations: ['47+32=79', '6+79=85']
Exploring Operation: 69+85=154, Resulting Numbers: [154]
154,76 unequal: No Solution
Exploring Operation: 85-69=16, Resulting Numbers: [16]
16,76 unequal: No Solution
Exploring Operation: 69*85=5865, Resulting Numbers: [5865]
5865,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,0,4
Current State: 76:[79, 63], Operations: ['47+32=79', '69-6=63']
Exploring Operation: 79-63=16, Resulting Numbers: [16]
16,76 unequal: No Solution
Exploring Operation: 79*63=4977, Resulting Numbers: [4977]
4977,76 unequal: No Solution
Exploring Operation: 79+63=142, Resulting Numbers: [142]
142,76 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: 76:[6, 69, 15], Operations: ['47-32=15']
Exploring Operation: 6+69=75, Resulting Numbers: [15, 75]
Generated Node #0,3,0: 76:[15, 75] Operation: 6+69=75
Exploring Operation: 69+15=84, Resulting Numbers: [6, 84]
Generated Node #0,3,1: 76:[6, 84] Operation: 69+15=84
Exploring Operation: 15-6=9, Resulting Numbers: [69, 9]
Generated Node #0,3,2: 76:[69, 9] Operation: 15-6=9
Exploring Operation: 6+15=21, Resulting Numbers: [69, 21]
Generated Node #0,3,3: 76:[69, 21] Operation: 6+15=21
Exploring Operation: 69-6=63, Resulting Numbers: [15, 63]
Generated Node #0,3,4: 76:[15, 63] Operation: 69-6=63
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 76:[15, 75], Operations: ['47-32=15', '6+69=75']
Exploring Operation: 75/15=5, Resulting Numbers: [5]
5,76 unequal: No Solution
Exploring Operation: 15+75=90, Resulting Numbers: [90]
90,76 unequal: No Solution
Exploring Operation: 75-15=60, Resulting Numbers: [60]
60,76 unequal: No Solution
Exploring Operation: 15*75=1125, Resulting Numbers: [1125]
1125,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 76:[69, 21], Operations: ['47-32=15', '6+15=21']
Exploring Operation: 69-21=48, Resulting Numbers: [48]
48,76 unequal: No Solution
Exploring Operation: 69+21=90, Resulting Numbers: [90]
90,76 unequal: No Solution
Exploring Operation: 69*21=1449, Resulting Numbers: [1449]
1449,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 76:[6, 84], Operations: ['47-32=15', '69+15=84']
Exploring Operation: 84-6=78, Resulting Numbers: [78]
78,76 unequal: No Solution
Exploring Operation: 6+84=90, Resulting Numbers: [90]
90,76 unequal: No Solution
Exploring Operation: 84/6=14, Resulting Numbers: [14]
14,76 unequal: No Solution
Exploring Operation: 6*84=504, Resulting Numbers: [504]
504,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 76:[69, 9], Operations: ['47-32=15', '15-6=9']
Exploring Operation: 69-9=60, Resulting Numbers: [60]
60,76 unequal: No Solution
Exploring Operation: 69*9=621, Resulting Numbers: [621]
621,76 unequal: No Solution
Exploring Operation: 69+9=78, Resulting Numbers: [78]
78,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 76:[15, 63], Operations: ['47-32=15', '69-6=63']
Exploring Operation: 15*63=945, Resulting Numbers: [945]
945,76 unequal: No Solution
Exploring Operation: 15+63=78, Resulting Numbers: [78]
78,76 unequal: No Solution
Exploring Operation: 63-15=48, Resulting Numbers: [48]
48,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 76:[32, 69, 41], Operations: ['47-6=41']
Exploring Operation: 32+41=73, Resulting Numbers: [69, 73]
Generated Node #0,1,0: 76:[69, 73] Operation: 32+41=73
Exploring Operation: 69-41=28, Resulting Numbers: [32, 28]
Generated Node #0,1,1: 76:[32, 28] Operation: 69-41=28
Exploring Operation: 41-32=9, Resulting Numbers: [69, 9]
Generated Node #0,1,2: 76:[69, 9] Operation: 41-32=9
Exploring Operation: 32+69=101, Resulting Numbers: [41, 101]
Generated Node #0,1,3: 76:[41, 101] Operation: 32+69=101
Exploring Operation: 69-32=37, Resulting Numbers: [41, 37]
Generated Node #0,1,4: 76:[41, 37] Operation: 69-32=37
Moving to Node #0,1,4
Current State: 76:[41, 37], Operations: ['47-6=41', '69-32=37']
Exploring Operation: 41-37=4, Resulting Numbers: [4]
4,76 unequal: No Solution
Exploring Operation: 41*37=1517, Resulting Numbers: [1517]
1517,76 unequal: No Solution
Exploring Operation: 41+37=78, Resulting Numbers: [78]
78,76 unequal: No Solution
Moving to Node #0,1,0
Current State: 76:[69, 73], Operations: ['47-6=41', '32+41=73']
Exploring Operation: 69+73=142, Resulting Numbers: [142]
142,76 unequal: No Solution
Exploring Operation: 69*73=5037, Resulting Numbers: [5037]
5037,76 unequal: No Solution
Exploring Operation: 73-69=4, Resulting Numbers: [4]
4,76 unequal: No Solution
Moving to Node #0,1,2
Current State: 76:[69, 9], Operations: ['47-6=41', '41-32=9']
Exploring Operation: 69*9=621, Resulting Numbers: [621]
621,76 unequal: No Solution
Exploring Operation: 69-9=60, Resulting Numbers: [60]
60,76 unequal: No Solution
Exploring Operation: 69+9=78, Resulting Numbers: [78]
78,76 unequal: No Solution
Moving to Node #0,1,1
Current State: 76:[32, 28], Operations: ['47-6=41', '69-41=28']
Exploring Operation: 32+28=60, Resulting Numbers: [60]
60,76 unequal: No Solution
Exploring Operation: 32*28=896, Resulting Numbers: [896]
896,76 unequal: No Solution
Exploring Operation: 32-28=4, Resulting Numbers: [4]
4,76 unequal: No Solution
Moving to Node #0,1,3
Current State: 76:[41, 101], Operations: ['47-6=41', '32+69=101']
Exploring Operation: 41+101=142, Resulting Numbers: [142]
142,76 unequal: No Solution
Exploring Operation: 41*101=4141, Resulting Numbers: [4141]
4141,76 unequal: No Solution
Exploring Operation: 101-41=60, Resulting Numbers: [60]
60,76 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
17,
30,
72,
69
] | 81 | [
"72-69=3",
"17*3=51",
"30+51=81"
] | Current State: 81:[17, 30, 72, 69], Operations: []
Exploring Operation: 72-69=3, Resulting Numbers: [17, 30, 3]
Generated Node #2: [17, 30, 3] from Operation: 72-69=3
Current State: 81:[17, 30, 3], Operations: ['72-69=3']
Exploring Operation: 17*3=51, Resulting Numbers: [30, 51]
Generated Node #3: [30, 51] from Operation: 17*3=51
Current State: 81:[30, 51], Operations: ['72-69=3', '17*3=51']
Exploring Operation: 30+51=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[17, 30, 72, 69], Operations: []
Exploring Operation: 17+69=86, Resulting Numbers: [30, 72, 86]
Generated Node #0,0: 81:[30, 72, 86] Operation: 17+69=86
Exploring Operation: 17+72=89, Resulting Numbers: [30, 69, 89]
Generated Node #0,1: 81:[30, 69, 89] Operation: 17+72=89
Exploring Operation: 72-69=3, Resulting Numbers: [17, 30, 3]
Generated Node #0,2: 81:[17, 30, 3] Operation: 72-69=3
Start Sub Search at level 1: Moving to Node #0,2
Current State: 81:[17, 30, 3], Operations: ['72-69=3']
Exploring Operation: 30-17=13, Resulting Numbers: [3, 13]
Generated Node #0,2,0: 81:[3, 13] Operation: 30-17=13
Exploring Operation: 30-3=27, Resulting Numbers: [17, 27]
Generated Node #0,2,1: 81:[17, 27] Operation: 30-3=27
Exploring Operation: 17-3=14, Resulting Numbers: [30, 14]
Generated Node #0,2,2: 81:[30, 14] Operation: 17-3=14
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 81:[3, 13], Operations: ['72-69=3', '30-17=13']
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,81 unequal: No Solution
Exploring Operation: 3+13=16, Resulting Numbers: [16]
16,81 unequal: No Solution
Exploring Operation: 3*13=39, Resulting Numbers: [39]
39,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 81:[17, 27], Operations: ['72-69=3', '30-3=27']
Exploring Operation: 17*27=459, Resulting Numbers: [459]
459,81 unequal: No Solution
Exploring Operation: 27-17=10, Resulting Numbers: [10]
10,81 unequal: No Solution
Exploring Operation: 17+27=44, Resulting Numbers: [44]
44,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 81:[30, 14], Operations: ['72-69=3', '17-3=14']
Exploring Operation: 30+14=44, Resulting Numbers: [44]
44,81 unequal: No Solution
Exploring Operation: 30*14=420, Resulting Numbers: [420]
420,81 unequal: No Solution
Exploring Operation: 30-14=16, Resulting Numbers: [16]
16,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,0
Current State: 81:[30, 72, 86], Operations: ['17+69=86']
Exploring Operation: 30+72=102, Resulting Numbers: [86, 102]
Generated Node #0,0,0: 81:[86, 102] Operation: 30+72=102
Exploring Operation: 86-72=14, Resulting Numbers: [30, 14]
Generated Node #0,0,1: 81:[30, 14] Operation: 86-72=14
Exploring Operation: 72-30=42, Resulting Numbers: [86, 42]
Generated Node #0,0,2: 81:[86, 42] Operation: 72-30=42
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 81:[30, 14], Operations: ['17+69=86', '86-72=14']
Exploring Operation: 30+14=44, Resulting Numbers: [44]
44,81 unequal: No Solution
Exploring Operation: 30-14=16, Resulting Numbers: [16]
16,81 unequal: No Solution
Exploring Operation: 30*14=420, Resulting Numbers: [420]
420,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,0,2
Current State: 81:[86, 42], Operations: ['17+69=86', '72-30=42']
Exploring Operation: 86*42=3612, Resulting Numbers: [3612]
3612,81 unequal: No Solution
Exploring Operation: 86+42=128, Resulting Numbers: [128]
128,81 unequal: No Solution
Exploring Operation: 86-42=44, Resulting Numbers: [44]
44,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,0,0
Current State: 81:[86, 102], Operations: ['17+69=86', '30+72=102']
Exploring Operation: 86*102=8772, Resulting Numbers: [8772]
8772,81 unequal: No Solution
Exploring Operation: 86+102=188, Resulting Numbers: [188]
188,81 unequal: No Solution
Exploring Operation: 102-86=16, Resulting Numbers: [16]
16,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,1
Current State: 81:[30, 69, 89], Operations: ['17+72=89']
Exploring Operation: 30+69=99, Resulting Numbers: [89, 99]
Generated Node #0,1,0: 81:[89, 99] Operation: 30+69=99
Exploring Operation: 89-69=20, Resulting Numbers: [30, 20]
Generated Node #0,1,1: 81:[30, 20] Operation: 89-69=20
Exploring Operation: 69-30=39, Resulting Numbers: [89, 39]
Generated Node #0,1,2: 81:[89, 39] Operation: 69-30=39
Moving to Node #0,1,1
Current State: 81:[30, 20], Operations: ['17+72=89', '89-69=20']
Exploring Operation: 30-20=10, Resulting Numbers: [10]
10,81 unequal: No Solution
Exploring Operation: 30*20=600, Resulting Numbers: [600]
600,81 unequal: No Solution
Exploring Operation: 30+20=50, Resulting Numbers: [50]
50,81 unequal: No Solution
Moving to Node #0,1,2
Current State: 81:[89, 39], Operations: ['17+72=89', '69-30=39']
Exploring Operation: 89*39=3471, Resulting Numbers: [3471]
3471,81 unequal: No Solution
Exploring Operation: 89-39=50, Resulting Numbers: [50]
50,81 unequal: No Solution
Exploring Operation: 89+39=128, Resulting Numbers: [128]
128,81 unequal: No Solution
Moving to Node #0,1,0
Current State: 81:[89, 99], Operations: ['17+72=89', '30+69=99']
Exploring Operation: 99-89=10, Resulting Numbers: [10]
10,81 unequal: No Solution
Exploring Operation: 89*99=8811, Resulting Numbers: [8811]
8811,81 unequal: No Solution
Exploring Operation: 89+99=188, Resulting Numbers: [188]
188,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 |
[
86,
42,
36,
97
] | 17 | [
"86-42=44",
"97-36=61",
"61-44=17"
] | Current State: 17:[86, 42, 36, 97], Operations: []
Exploring Operation: 86-42=44, Resulting Numbers: [36, 97, 44]
Generated Node #2: [36, 97, 44] from Operation: 86-42=44
Current State: 17:[36, 97, 44], Operations: ['86-42=44']
Exploring Operation: 97-36=61, Resulting Numbers: [44, 61]
Generated Node #3: [44, 61] from Operation: 97-36=61
Current State: 17:[44, 61], Operations: ['86-42=44', '97-36=61']
Exploring Operation: 61-44=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[86, 42, 36, 97], Operations: []
Exploring Operation: 97-86=11, Resulting Numbers: [42, 36, 11]
Generated Node #0,0: 17:[42, 36, 11] Operation: 97-86=11
Moving to Node #0,0
Current State: 17:[42, 36, 11], Operations: ['97-86=11']
Exploring Operation: 42-36=6, Resulting Numbers: [11, 6]
Generated Node #0,0,0: 17:[11, 6] Operation: 42-36=6
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 17:[11, 6], Operations: ['97-86=11', '42-36=6']
Exploring Operation: 11+6=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[86, 42, 36, 97], Operations: []
Exploring Operation: 97-86=11, Resulting Numbers: [42, 36, 11]
Generated Node #0,0: 17:[42, 36, 11] Operation: 97-86=11
Moving to Node #0,0
Current State: 17:[42, 36, 11], Operations: ['97-86=11']
Exploring Operation: 42-36=6, Resulting Numbers: [11, 6]
Generated Node #0,0,0: 17:[11, 6] Operation: 42-36=6
Moving to Node #0,0,0
Current State: 17:[11, 6], Operations: ['97-86=11', '42-36=6']
Exploring Operation: 11+6=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
5,
50,
85,
84
] | 54 | [
"5+50=55",
"85-84=1",
"55-1=54"
] | Current State: 54:[5, 50, 85, 84], Operations: []
Exploring Operation: 5+50=55, Resulting Numbers: [85, 84, 55]
Generated Node #2: [85, 84, 55] from Operation: 5+50=55
Current State: 54:[85, 84, 55], Operations: ['5+50=55']
Exploring Operation: 85-84=1, Resulting Numbers: [55, 1]
Generated Node #3: [55, 1] from Operation: 85-84=1
Current State: 54:[55, 1], Operations: ['5+50=55', '85-84=1']
Exploring Operation: 55-1=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[5, 50, 85, 84], Operations: []
Exploring Operation: 85-84=1, Resulting Numbers: [5, 50, 1]
Generated Node #0,0: 54:[5, 50, 1] Operation: 85-84=1
Moving to Node #0,0
Current State: 54:[5, 50, 1], Operations: ['85-84=1']
Exploring Operation: 5+50=55, Resulting Numbers: [1, 55]
Generated Node #0,0,0: 54:[1, 55] Operation: 5+50=55
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 54:[1, 55], Operations: ['85-84=1', '5+50=55']
Exploring Operation: 55-1=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[5, 50, 85, 84], Operations: []
Exploring Operation: 85-84=1, Resulting Numbers: [5, 50, 1]
Generated Node #0,0: 54:[5, 50, 1] Operation: 85-84=1
Moving to Node #0,0
Current State: 54:[5, 50, 1], Operations: ['85-84=1']
Exploring Operation: 5+50=55, Resulting Numbers: [1, 55]
Generated Node #0,0,0: 54:[1, 55] Operation: 5+50=55
Moving to Node #0,0,0
Current State: 54:[1, 55], Operations: ['85-84=1', '5+50=55']
Exploring Operation: 55-1=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
24,
2,
11,
17
] | 50 | [
"24-2=22",
"11+17=28",
"22+28=50"
] | Current State: 50:[24, 2, 11, 17], Operations: []
Exploring Operation: 24-2=22, Resulting Numbers: [11, 17, 22]
Generated Node #2: [11, 17, 22] from Operation: 24-2=22
Current State: 50:[11, 17, 22], Operations: ['24-2=22']
Exploring Operation: 11+17=28, Resulting Numbers: [22, 28]
Generated Node #3: [22, 28] from Operation: 11+17=28
Current State: 50:[22, 28], Operations: ['24-2=22', '11+17=28']
Exploring Operation: 22+28=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[24, 2, 11, 17], Operations: []
Exploring Operation: 17-11=6, Resulting Numbers: [24, 2, 6]
Generated Node #0,0: 50:[24, 2, 6] Operation: 17-11=6
Exploring Operation: 24-17=7, Resulting Numbers: [2, 11, 7]
Generated Node #0,1: 50:[2, 11, 7] Operation: 24-17=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[24, 2, 6], Operations: ['17-11=6']
Exploring Operation: 24/6=4, Resulting Numbers: [2, 4]
Generated Node #0,0,0: 50:[2, 4] Operation: 24/6=4
Exploring Operation: 24+2=26, Resulting Numbers: [6, 26]
Generated Node #0,0,1: 50:[6, 26] Operation: 24+2=26
Moving to Node #0,0,0
Current State: 50:[2, 4], Operations: ['17-11=6', '24/6=4']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,50 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,50 unequal: No Solution
Moving to Node #0,0,1
Current State: 50:[6, 26], Operations: ['17-11=6', '24+2=26']
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,50 unequal: No Solution
Exploring Operation: 6+26=32, Resulting Numbers: [32]
32,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 50:[2, 11, 7], Operations: ['24-17=7']
Exploring Operation: 7-2=5, Resulting Numbers: [11, 5]
Generated Node #0,1,0: 50:[11, 5] Operation: 7-2=5
Exploring Operation: 11-7=4, Resulting Numbers: [2, 4]
Generated Node #0,1,1: 50:[2, 4] Operation: 11-7=4
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 50:[11, 5], Operations: ['24-17=7', '7-2=5']
Exploring Operation: 11*5=55, Resulting Numbers: [55]
55,50 unequal: No Solution
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,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:[2, 4], Operations: ['24-17=7', '11-7=4']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,50 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,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 |
[
66,
82,
29,
6
] | 51 | [
"82-66=16",
"29+6=35",
"16+35=51"
] | Current State: 51:[66, 82, 29, 6], Operations: []
Exploring Operation: 82-66=16, Resulting Numbers: [29, 6, 16]
Generated Node #2: [29, 6, 16] from Operation: 82-66=16
Current State: 51:[29, 6, 16], Operations: ['82-66=16']
Exploring Operation: 29+6=35, Resulting Numbers: [16, 35]
Generated Node #3: [16, 35] from Operation: 29+6=35
Current State: 51:[16, 35], Operations: ['82-66=16', '29+6=35']
Exploring Operation: 16+35=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[66, 82, 29, 6], Operations: []
Exploring Operation: 66/6=11, Resulting Numbers: [82, 29, 11]
Generated Node #0,0: 51:[82, 29, 11] Operation: 66/6=11
Exploring Operation: 82-29=53, Resulting Numbers: [66, 6, 53]
Generated Node #0,1: 51:[66, 6, 53] Operation: 82-29=53
Exploring Operation: 66-29=37, Resulting Numbers: [82, 6, 37]
Generated Node #0,2: 51:[82, 6, 37] Operation: 66-29=37
Exploring Operation: 82-66=16, Resulting Numbers: [29, 6, 16]
Generated Node #0,3: 51:[29, 6, 16] Operation: 82-66=16
Moving to Node #0,3
Current State: 51:[29, 6, 16], Operations: ['82-66=16']
Exploring Operation: 29-16=13, Resulting Numbers: [6, 13]
Generated Node #0,3,0: 51:[6, 13] Operation: 29-16=13
Exploring Operation: 29-6=23, Resulting Numbers: [16, 23]
Generated Node #0,3,1: 51:[16, 23] Operation: 29-6=23
Exploring Operation: 29+16=45, Resulting Numbers: [6, 45]
Generated Node #0,3,2: 51:[6, 45] Operation: 29+16=45
Exploring Operation: 29+6=35, Resulting Numbers: [16, 35]
Generated Node #0,3,3: 51:[16, 35] Operation: 29+6=35
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 51:[6, 13], Operations: ['82-66=16', '29-16=13']
Exploring Operation: 6*13=78, Resulting Numbers: [78]
78,51 unequal: No Solution
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,51 unequal: No Solution
Exploring Operation: 6+13=19, Resulting Numbers: [19]
19,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,3,1
Current State: 51:[16, 23], Operations: ['82-66=16', '29-6=23']
Exploring Operation: 23-16=7, Resulting Numbers: [7]
7,51 unequal: No Solution
Exploring Operation: 16*23=368, Resulting Numbers: [368]
368,51 unequal: No Solution
Exploring Operation: 16+23=39, Resulting Numbers: [39]
39,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,3,2
Current State: 51:[6, 45], Operations: ['82-66=16', '29+16=45']
Exploring Operation: 6*45=270, Resulting Numbers: [270]
270,51 unequal: No Solution
Exploring Operation: 6+45=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[66, 82, 29, 6], Operations: []
Exploring Operation: 82-66=16, Resulting Numbers: [29, 6, 16]
Generated Node #0,3: 51:[29, 6, 16] Operation: 82-66=16
Moving to Node #0,3
Current State: 51:[29, 6, 16], Operations: ['82-66=16']
Exploring Operation: 29+16=45, Resulting Numbers: [6, 45]
Generated Node #0,3,2: 51:[6, 45] Operation: 29+16=45
Moving to Node #0,3,2
Current State: 51:[6, 45], Operations: ['82-66=16', '29+16=45']
Exploring Operation: 6+45=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_4 | sum_heuristic |
[
8,
58,
60,
40
] | 36 | [
"60-58=2",
"8/2=4",
"40-4=36"
] | Current State: 36:[8, 58, 60, 40], Operations: []
Exploring Operation: 60-58=2, Resulting Numbers: [8, 40, 2]
Generated Node #2: [8, 40, 2] from Operation: 60-58=2
Current State: 36:[8, 40, 2], Operations: ['60-58=2']
Exploring Operation: 8/2=4, Resulting Numbers: [40, 4]
Generated Node #3: [40, 4] from Operation: 8/2=4
Current State: 36:[40, 4], Operations: ['60-58=2', '8/2=4']
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[8, 58, 60, 40], Operations: []
Exploring Operation: 60-58=2, Resulting Numbers: [8, 40, 2]
Generated Node #0,0: 36:[8, 40, 2] Operation: 60-58=2
Exploring Operation: 60-40=20, Resulting Numbers: [8, 58, 20]
Generated Node #0,1: 36:[8, 58, 20] Operation: 60-40=20
Exploring Operation: 58-40=18, Resulting Numbers: [8, 60, 18]
Generated Node #0,2: 36:[8, 60, 18] Operation: 58-40=18
Exploring Operation: 58-8=50, Resulting Numbers: [60, 40, 50]
Generated Node #0,3: 36:[60, 40, 50] Operation: 58-8=50
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[8, 40, 2], Operations: ['60-58=2']
Exploring Operation: 40/2=20, Resulting Numbers: [8, 20]
Generated Node #0,0,0: 36:[8, 20] Operation: 40/2=20
Exploring Operation: 40/8=5, Resulting Numbers: [2, 5]
Generated Node #0,0,1: 36:[2, 5] Operation: 40/8=5
Exploring Operation: 40-8=32, Resulting Numbers: [2, 32]
Generated Node #0,0,2: 36:[2, 32] Operation: 40-8=32
Exploring Operation: 40-2=38, Resulting Numbers: [8, 38]
Generated Node #0,0,3: 36:[8, 38] Operation: 40-2=38
Moving to Node #0,0,1
Current State: 36:[2, 5], Operations: ['60-58=2', '40/8=5']
Exploring Operation: 2+5=7, Resulting Numbers: [7]
7,36 unequal: No Solution
Exploring Operation: 2*5=10, Resulting Numbers: [10]
10,36 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,36 unequal: No Solution
Moving to Node #0,0,3
Current State: 36:[8, 38], Operations: ['60-58=2', '40-2=38']
Exploring Operation: 38-8=30, Resulting Numbers: [30]
30,36 unequal: No Solution
Exploring Operation: 8*38=304, Resulting Numbers: [304]
304,36 unequal: No Solution
Exploring Operation: 8+38=46, Resulting Numbers: [46]
46,36 unequal: No Solution
Moving to Node #0,0,0
Current State: 36:[8, 20], Operations: ['60-58=2', '40/2=20']
Exploring Operation: 8+20=28, Resulting Numbers: [28]
28,36 unequal: No Solution
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,36 unequal: No Solution
Exploring Operation: 8*20=160, Resulting Numbers: [160]
160,36 unequal: No Solution
Moving to Node #0,0,2
Current State: 36:[2, 32], Operations: ['60-58=2', '40-8=32']
Exploring Operation: 2*32=64, Resulting Numbers: [64]
64,36 unequal: No Solution
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,36 unequal: No Solution
Exploring Operation: 2+32=34, Resulting Numbers: [34]
34,36 unequal: No Solution
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 36:[8, 58, 20], Operations: ['60-40=20']
Exploring Operation: 20-8=12, Resulting Numbers: [58, 12]
Generated Node #0,1,0: 36:[58, 12] Operation: 20-8=12
Exploring Operation: 58-20=38, Resulting Numbers: [8, 38]
Generated Node #0,1,1: 36:[8, 38] Operation: 58-20=38
Exploring Operation: 8+20=28, Resulting Numbers: [58, 28]
Generated Node #0,1,2: 36:[58, 28] Operation: 8+20=28
Exploring Operation: 58-8=50, Resulting Numbers: [20, 50]
Generated Node #0,1,3: 36:[20, 50] Operation: 58-8=50
Moving to Node #0,1,1
Current State: 36:[8, 38], Operations: ['60-40=20', '58-20=38']
Exploring Operation: 38-8=30, Resulting Numbers: [30]
30,36 unequal: No Solution
Exploring Operation: 8*38=304, Resulting Numbers: [304]
304,36 unequal: No Solution
Exploring Operation: 8+38=46, Resulting Numbers: [46]
46,36 unequal: No Solution
Moving to Node #0,1,3
Current State: 36:[20, 50], Operations: ['60-40=20', '58-8=50']
Exploring Operation: 50-20=30, Resulting Numbers: [30]
30,36 unequal: No Solution
Exploring Operation: 20*50=1000, Resulting Numbers: [1000]
1000,36 unequal: No Solution
Exploring Operation: 20+50=70, Resulting Numbers: [70]
70,36 unequal: No Solution
Moving to Node #0,1,0
Current State: 36:[58, 12], Operations: ['60-40=20', '20-8=12']
Exploring Operation: 58+12=70, Resulting Numbers: [70]
70,36 unequal: No Solution
Exploring Operation: 58-12=46, Resulting Numbers: [46]
46,36 unequal: No Solution
Exploring Operation: 58*12=696, Resulting Numbers: [696]
696,36 unequal: No Solution
Moving to Node #0,1,2
Current State: 36:[58, 28], Operations: ['60-40=20', '8+20=28']
Exploring Operation: 58+28=86, Resulting Numbers: [86]
86,36 unequal: No Solution
Exploring Operation: 58*28=1624, Resulting Numbers: [1624]
1624,36 unequal: No Solution
Exploring Operation: 58-28=30, Resulting Numbers: [30]
30,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 36:[8, 60, 18], Operations: ['58-40=18']
Exploring Operation: 18-8=10, Resulting Numbers: [60, 10]
Generated Node #0,2,0: 36:[60, 10] Operation: 18-8=10
Exploring Operation: 8+60=68, Resulting Numbers: [18, 68]
Generated Node #0,2,1: 36:[18, 68] Operation: 8+60=68
Exploring Operation: 60-8=52, Resulting Numbers: [18, 52]
Generated Node #0,2,2: 36:[18, 52] Operation: 60-8=52
Exploring Operation: 60-18=42, Resulting Numbers: [8, 42]
Generated Node #0,2,3: 36:[8, 42] Operation: 60-18=42
Moving to Node #0,2,3
Current State: 36:[8, 42], Operations: ['58-40=18', '60-18=42']
Exploring Operation: 8+42=50, Resulting Numbers: [50]
50,36 unequal: No Solution
Exploring Operation: 8*42=336, Resulting Numbers: [336]
336,36 unequal: No Solution
Exploring Operation: 42-8=34, Resulting Numbers: [34]
34,36 unequal: No Solution
Moving to Node #0,2,2
Current State: 36:[18, 52], Operations: ['58-40=18', '60-8=52']
Exploring Operation: 18+52=70, Resulting Numbers: [70]
70,36 unequal: No Solution
Exploring Operation: 18*52=936, Resulting Numbers: [936]
936,36 unequal: No Solution
Exploring Operation: 52-18=34, Resulting Numbers: [34]
34,36 unequal: No Solution
Moving to Node #0,2,0
Current State: 36:[60, 10], Operations: ['58-40=18', '18-8=10']
Exploring Operation: 60-10=50, Resulting Numbers: [50]
50,36 unequal: No Solution
Exploring Operation: 60/10=6, Resulting Numbers: [6]
6,36 unequal: No Solution
Exploring Operation: 60*10=600, Resulting Numbers: [600]
600,36 unequal: No Solution
Exploring Operation: 60+10=70, Resulting Numbers: [70]
70,36 unequal: No Solution
Moving to Node #0,2,1
Current State: 36:[18, 68], Operations: ['58-40=18', '8+60=68']
Exploring Operation: 18+68=86, Resulting Numbers: [86]
86,36 unequal: No Solution
Exploring Operation: 68-18=50, Resulting Numbers: [50]
50,36 unequal: No Solution
Exploring Operation: 18*68=1224, Resulting Numbers: [1224]
1224,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 36:[60, 40, 50], Operations: ['58-8=50']
Exploring Operation: 60-50=10, Resulting Numbers: [40, 10]
Generated Node #0,3,0: 36:[40, 10] Operation: 60-50=10
Exploring Operation: 60-40=20, Resulting Numbers: [50, 20]
Generated Node #0,3,1: 36:[50, 20] Operation: 60-40=20
Exploring Operation: 50-40=10, Resulting Numbers: [60, 10]
Generated Node #0,3,2: 36:[60, 10] Operation: 50-40=10
Exploring Operation: 60+40=100, Resulting Numbers: [50, 100]
Generated Node #0,3,3: 36:[50, 100] Operation: 60+40=100
Moving to Node #0,3,0
Current State: 36:[40, 10], Operations: ['58-8=50', '60-50=10']
Exploring Operation: 40*10=400, Resulting Numbers: [400]
400,36 unequal: No Solution
Exploring Operation: 40+10=50, Resulting Numbers: [50]
50,36 unequal: No Solution
Exploring Operation: 40/10=4, Resulting Numbers: [4]
4,36 unequal: No Solution
Exploring Operation: 40-10=30, Resulting Numbers: [30]
30,36 unequal: No Solution
Moving to Node #0,3,1
Current State: 36:[50, 20], Operations: ['58-8=50', '60-40=20']
Exploring Operation: 50*20=1000, Resulting Numbers: [1000]
1000,36 unequal: No Solution
Exploring Operation: 50+20=70, Resulting Numbers: [70]
70,36 unequal: No Solution
Exploring Operation: 50-20=30, Resulting Numbers: [30]
30,36 unequal: No Solution
Moving to Node #0,3,2
Current State: 36:[60, 10], Operations: ['58-8=50', '50-40=10']
Exploring Operation: 60+10=70, Resulting Numbers: [70]
70,36 unequal: No Solution
Exploring Operation: 60*10=600, Resulting Numbers: [600]
600,36 unequal: No Solution
Exploring Operation: 60-10=50, Resulting Numbers: [50]
50,36 unequal: No Solution
Exploring Operation: 60/10=6, Resulting Numbers: [6]
6,36 unequal: No Solution
Moving to Node #0,3,3
Current State: 36:[50, 100], Operations: ['58-8=50', '60+40=100']
Exploring Operation: 50*100=5000, Resulting Numbers: [5000]
5000,36 unequal: No Solution
Exploring Operation: 100/50=2, Resulting Numbers: [2]
2,36 unequal: No Solution
Exploring Operation: 100-50=50, Resulting Numbers: [50]
50,36 unequal: No Solution
Exploring Operation: 50+100=150, Resulting Numbers: [150]
150,36 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 |
[
3,
96,
51,
40
] | 73 | [
"51/3=17",
"96-40=56",
"17+56=73"
] | Current State: 73:[3, 96, 51, 40], Operations: []
Exploring Operation: 51/3=17, Resulting Numbers: [96, 40, 17]
Generated Node #2: [96, 40, 17] from Operation: 51/3=17
Current State: 73:[96, 40, 17], Operations: ['51/3=17']
Exploring Operation: 96-40=56, Resulting Numbers: [17, 56]
Generated Node #3: [17, 56] from Operation: 96-40=56
Current State: 73:[17, 56], Operations: ['51/3=17', '96-40=56']
Exploring Operation: 17+56=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[3, 96, 51, 40], Operations: []
Exploring Operation: 3+40=43, Resulting Numbers: [96, 51, 43]
Generated Node #0,0: 73:[96, 51, 43] Operation: 3+40=43
Exploring Operation: 3+96=99, Resulting Numbers: [51, 40, 99]
Generated Node #0,1: 73:[51, 40, 99] Operation: 3+96=99
Exploring Operation: 96-3=93, Resulting Numbers: [51, 40, 93]
Generated Node #0,2: 73:[51, 40, 93] Operation: 96-3=93
Exploring Operation: 3+51=54, Resulting Numbers: [96, 40, 54]
Generated Node #0,3: 73:[96, 40, 54] Operation: 3+51=54
Moving to Node #0,0
Current State: 73:[96, 51, 43], Operations: ['3+40=43']
Exploring Operation: 96-43=53, Resulting Numbers: [51, 53]
Generated Node #0,0,0: 73:[51, 53] Operation: 96-43=53
Exploring Operation: 96+43=139, Resulting Numbers: [51, 139]
Generated Node #0,0,1: 73:[51, 139] Operation: 96+43=139
Exploring Operation: 96-51=45, Resulting Numbers: [43, 45]
Generated Node #0,0,2: 73:[43, 45] Operation: 96-51=45
Exploring Operation: 51+43=94, Resulting Numbers: [96, 94]
Generated Node #0,0,3: 73:[96, 94] Operation: 51+43=94
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 73:[51, 53], Operations: ['3+40=43', '96-43=53']
Exploring Operation: 51*53=2703, Resulting Numbers: [2703]
2703,73 unequal: No Solution
Exploring Operation: 53-51=2, Resulting Numbers: [2]
2,73 unequal: No Solution
Exploring Operation: 51+53=104, Resulting Numbers: [104]
104,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:[96, 94], Operations: ['3+40=43', '51+43=94']
Exploring Operation: 96*94=9024, Resulting Numbers: [9024]
9024,73 unequal: No Solution
Exploring Operation: 96-94=2, Resulting Numbers: [2]
2,73 unequal: No Solution
Exploring Operation: 96+94=190, Resulting Numbers: [190]
190,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,2
Current State: 73:[43, 45], Operations: ['3+40=43', '96-51=45']
Exploring Operation: 45-43=2, Resulting Numbers: [2]
2,73 unequal: No Solution
Exploring Operation: 43*45=1935, Resulting Numbers: [1935]
1935,73 unequal: No Solution
Exploring Operation: 43+45=88, Resulting Numbers: [88]
88,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:[51, 139], Operations: ['3+40=43', '96+43=139']
Exploring Operation: 51*139=7089, Resulting Numbers: [7089]
7089,73 unequal: No Solution
Exploring Operation: 139-51=88, Resulting Numbers: [88]
88,73 unequal: No Solution
Exploring Operation: 51+139=190, Resulting Numbers: [190]
190,73 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: 73:[96, 40, 54], Operations: ['3+51=54']
Exploring Operation: 96+40=136, Resulting Numbers: [54, 136]
Generated Node #0,3,0: 73:[54, 136] Operation: 96+40=136
Exploring Operation: 96-54=42, Resulting Numbers: [40, 42]
Generated Node #0,3,1: 73:[40, 42] Operation: 96-54=42
Exploring Operation: 40+54=94, Resulting Numbers: [96, 94]
Generated Node #0,3,2: 73:[96, 94] Operation: 40+54=94
Exploring Operation: 96-40=56, Resulting Numbers: [54, 56]
Generated Node #0,3,3: 73:[54, 56] Operation: 96-40=56
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 73:[54, 56], Operations: ['3+51=54', '96-40=56']
Exploring Operation: 56-54=2, Resulting Numbers: [2]
2,73 unequal: No Solution
Exploring Operation: 54+56=110, Resulting Numbers: [110]
110,73 unequal: No Solution
Exploring Operation: 54*56=3024, Resulting Numbers: [3024]
3024,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,3,2
Current State: 73:[96, 94], Operations: ['3+51=54', '40+54=94']
Exploring Operation: 96+94=190, Resulting Numbers: [190]
190,73 unequal: No Solution
Exploring Operation: 96-94=2, Resulting Numbers: [2]
2,73 unequal: No Solution
Exploring Operation: 96*94=9024, Resulting Numbers: [9024]
9024,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,3,1
Current State: 73:[40, 42], Operations: ['3+51=54', '96-54=42']
Exploring Operation: 42-40=2, Resulting Numbers: [2]
2,73 unequal: No Solution
Exploring Operation: 40+42=82, Resulting Numbers: [82]
82,73 unequal: No Solution
Exploring Operation: 40*42=1680, Resulting Numbers: [1680]
1680,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,3,0
Current State: 73:[54, 136], Operations: ['3+51=54', '96+40=136']
Exploring Operation: 54*136=7344, Resulting Numbers: [7344]
7344,73 unequal: No Solution
Exploring Operation: 136-54=82, Resulting Numbers: [82]
82,73 unequal: No Solution
Exploring Operation: 54+136=190, Resulting Numbers: [190]
190,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:[51, 40, 93], Operations: ['96-3=93']
Exploring Operation: 93-51=42, Resulting Numbers: [40, 42]
Generated Node #0,2,0: 73:[40, 42] Operation: 93-51=42
Exploring Operation: 51-40=11, Resulting Numbers: [93, 11]
Generated Node #0,2,1: 73:[93, 11] Operation: 51-40=11
Exploring Operation: 93-40=53, Resulting Numbers: [51, 53]
Generated Node #0,2,2: 73:[51, 53] Operation: 93-40=53
Exploring Operation: 51+40=91, Resulting Numbers: [93, 91]
Generated Node #0,2,3: 73:[93, 91] Operation: 51+40=91
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 73:[93, 91], Operations: ['96-3=93', '51+40=91']
Exploring Operation: 93-91=2, Resulting Numbers: [2]
2,73 unequal: No Solution
Exploring Operation: 93*91=8463, Resulting Numbers: [8463]
8463,73 unequal: No Solution
Exploring Operation: 93+91=184, Resulting Numbers: [184]
184,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 73:[51, 53], Operations: ['96-3=93', '93-40=53']
Exploring Operation: 51*53=2703, Resulting Numbers: [2703]
2703,73 unequal: No Solution
Exploring Operation: 53-51=2, Resulting Numbers: [2]
2,73 unequal: No Solution
Exploring Operation: 51+53=104, Resulting Numbers: [104]
104,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 73:[40, 42], Operations: ['96-3=93', '93-51=42']
Exploring Operation: 42-40=2, Resulting Numbers: [2]
2,73 unequal: No Solution
Exploring Operation: 40*42=1680, Resulting Numbers: [1680]
1680,73 unequal: No Solution
Exploring Operation: 40+42=82, Resulting Numbers: [82]
82,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 73:[93, 11], Operations: ['96-3=93', '51-40=11']
Exploring Operation: 93-11=82, Resulting Numbers: [82]
82,73 unequal: No Solution
Exploring Operation: 93+11=104, Resulting Numbers: [104]
104,73 unequal: No Solution
Exploring Operation: 93*11=1023, Resulting Numbers: [1023]
1023,73 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: 73:[51, 40, 99], Operations: ['3+96=99']
Exploring Operation: 99-40=59, Resulting Numbers: [51, 59]
Generated Node #0,1,0: 73:[51, 59] Operation: 99-40=59
Exploring Operation: 51-40=11, Resulting Numbers: [99, 11]
Generated Node #0,1,1: 73:[99, 11] Operation: 51-40=11
Exploring Operation: 99-51=48, Resulting Numbers: [40, 48]
Generated Node #0,1,2: 73:[40, 48] Operation: 99-51=48
Exploring Operation: 51+40=91, Resulting Numbers: [99, 91]
Generated Node #0,1,3: 73:[99, 91] Operation: 51+40=91
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 73:[51, 59], Operations: ['3+96=99', '99-40=59']
Exploring Operation: 59-51=8, Resulting Numbers: [8]
8,73 unequal: No Solution
Exploring Operation: 51+59=110, Resulting Numbers: [110]
110,73 unequal: No Solution
Exploring Operation: 51*59=3009, Resulting Numbers: [3009]
3009,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 73:[99, 91], Operations: ['3+96=99', '51+40=91']
Exploring Operation: 99+91=190, Resulting Numbers: [190]
190,73 unequal: No Solution
Exploring Operation: 99*91=9009, Resulting Numbers: [9009]
9009,73 unequal: No Solution
Exploring Operation: 99-91=8, Resulting Numbers: [8]
8,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 73:[40, 48], Operations: ['3+96=99', '99-51=48']
Exploring Operation: 40*48=1920, Resulting Numbers: [1920]
1920,73 unequal: No Solution
Exploring Operation: 48-40=8, Resulting Numbers: [8]
8,73 unequal: No Solution
Exploring Operation: 40+48=88, Resulting Numbers: [88]
88,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 73:[99, 11], Operations: ['3+96=99', '51-40=11']
Exploring Operation: 99/11=9, Resulting Numbers: [9]
9,73 unequal: No Solution
Exploring Operation: 99+11=110, Resulting Numbers: [110]
110,73 unequal: No Solution
Exploring Operation: 99*11=1089, Resulting Numbers: [1089]
1089,73 unequal: No Solution
Exploring Operation: 99-11=88, Resulting Numbers: [88]
88,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
25,
76,
70,
99
] | 77 | [
"76+99=175",
"175/25=7",
"70+7=77"
] | Current State: 77:[25, 76, 70, 99], Operations: []
Exploring Operation: 76+99=175, Resulting Numbers: [25, 70, 175]
Generated Node #2: [25, 70, 175] from Operation: 76+99=175
Current State: 77:[25, 70, 175], Operations: ['76+99=175']
Exploring Operation: 175/25=7, Resulting Numbers: [70, 7]
Generated Node #3: [70, 7] from Operation: 175/25=7
Current State: 77:[70, 7], Operations: ['76+99=175', '175/25=7']
Exploring Operation: 70+7=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[25, 76, 70, 99], Operations: []
Exploring Operation: 99-25=74, Resulting Numbers: [76, 70, 74]
Generated Node #0,0: 77:[76, 70, 74] Operation: 99-25=74
Exploring Operation: 99-70=29, Resulting Numbers: [25, 76, 29]
Generated Node #0,1: 77:[25, 76, 29] Operation: 99-70=29
Exploring Operation: 76-70=6, Resulting Numbers: [25, 99, 6]
Generated Node #0,2: 77:[25, 99, 6] Operation: 76-70=6
Exploring Operation: 99-76=23, Resulting Numbers: [25, 70, 23]
Generated Node #0,3: 77:[25, 70, 23] Operation: 99-76=23
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[76, 70, 74], Operations: ['99-25=74']
Exploring Operation: 76-70=6, Resulting Numbers: [74, 6]
Generated Node #0,0,0: 77:[74, 6] Operation: 76-70=6
Exploring Operation: 76-74=2, Resulting Numbers: [70, 2]
Generated Node #0,0,1: 77:[70, 2] Operation: 76-74=2
Exploring Operation: 70+74=144, Resulting Numbers: [76, 144]
Generated Node #0,0,2: 77:[76, 144] Operation: 70+74=144
Exploring Operation: 74-70=4, Resulting Numbers: [76, 4]
Generated Node #0,0,3: 77:[76, 4] Operation: 74-70=4
Moving to Node #0,0,0
Current State: 77:[74, 6], Operations: ['99-25=74', '76-70=6']
Exploring Operation: 74+6=80, Resulting Numbers: [80]
80,77 unequal: No Solution
Exploring Operation: 74*6=444, Resulting Numbers: [444]
444,77 unequal: No Solution
Exploring Operation: 74-6=68, Resulting Numbers: [68]
68,77 unequal: No Solution
Moving to Node #0,0,3
Current State: 77:[76, 4], Operations: ['99-25=74', '74-70=4']
Exploring Operation: 76/4=19, Resulting Numbers: [19]
19,77 unequal: No Solution
Exploring Operation: 76+4=80, Resulting Numbers: [80]
80,77 unequal: No Solution
Exploring Operation: 76-4=72, Resulting Numbers: [72]
72,77 unequal: No Solution
Exploring Operation: 76*4=304, Resulting Numbers: [304]
304,77 unequal: No Solution
Moving to Node #0,0,1
Current State: 77:[70, 2], Operations: ['99-25=74', '76-74=2']
Exploring Operation: 70-2=68, Resulting Numbers: [68]
68,77 unequal: No Solution
Exploring Operation: 70+2=72, Resulting Numbers: [72]
72,77 unequal: No Solution
Exploring Operation: 70*2=140, Resulting Numbers: [140]
140,77 unequal: No Solution
Exploring Operation: 70/2=35, Resulting Numbers: [35]
35,77 unequal: No Solution
Moving to Node #0,0,2
Current State: 77:[76, 144], Operations: ['99-25=74', '70+74=144']
Exploring Operation: 76+144=220, Resulting Numbers: [220]
220,77 unequal: No Solution
Exploring Operation: 76*144=10944, Resulting Numbers: [10944]
10944,77 unequal: No Solution
Exploring Operation: 144-76=68, Resulting Numbers: [68]
68,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:[25, 76, 29], Operations: ['99-70=29']
Exploring Operation: 25+76=101, Resulting Numbers: [29, 101]
Generated Node #0,1,0: 77:[29, 101] Operation: 25+76=101
Exploring Operation: 25+29=54, Resulting Numbers: [76, 54]
Generated Node #0,1,1: 77:[76, 54] Operation: 25+29=54
Exploring Operation: 76+29=105, Resulting Numbers: [25, 105]
Generated Node #0,1,2: 77:[25, 105] Operation: 76+29=105
Exploring Operation: 29-25=4, Resulting Numbers: [76, 4]
Generated Node #0,1,3: 77:[76, 4] Operation: 29-25=4
Moving to Node #0,1,3
Current State: 77:[76, 4], Operations: ['99-70=29', '29-25=4']
Exploring Operation: 76+4=80, Resulting Numbers: [80]
80,77 unequal: No Solution
Exploring Operation: 76*4=304, Resulting Numbers: [304]
304,77 unequal: No Solution
Exploring Operation: 76-4=72, Resulting Numbers: [72]
72,77 unequal: No Solution
Exploring Operation: 76/4=19, Resulting Numbers: [19]
19,77 unequal: No Solution
Moving to Node #0,1,1
Current State: 77:[76, 54], Operations: ['99-70=29', '25+29=54']
Exploring Operation: 76-54=22, Resulting Numbers: [22]
22,77 unequal: No Solution
Exploring Operation: 76+54=130, Resulting Numbers: [130]
130,77 unequal: No Solution
Exploring Operation: 76*54=4104, Resulting Numbers: [4104]
4104,77 unequal: No Solution
Moving to Node #0,1,2
Current State: 77:[25, 105], Operations: ['99-70=29', '76+29=105']
Exploring Operation: 25*105=2625, Resulting Numbers: [2625]
2625,77 unequal: No Solution
Exploring Operation: 25+105=130, Resulting Numbers: [130]
130,77 unequal: No Solution
Exploring Operation: 105-25=80, Resulting Numbers: [80]
80,77 unequal: No Solution
Moving to Node #0,1,0
Current State: 77:[29, 101], Operations: ['99-70=29', '25+76=101']
Exploring Operation: 29*101=2929, Resulting Numbers: [2929]
2929,77 unequal: No Solution
Exploring Operation: 101-29=72, Resulting Numbers: [72]
72,77 unequal: No Solution
Exploring Operation: 29+101=130, Resulting Numbers: [130]
130,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:[25, 70, 23], Operations: ['99-76=23']
Exploring Operation: 25+70=95, Resulting Numbers: [23, 95]
Generated Node #0,3,0: 77:[23, 95] Operation: 25+70=95
Exploring Operation: 25-23=2, Resulting Numbers: [70, 2]
Generated Node #0,3,1: 77:[70, 2] Operation: 25-23=2
Exploring Operation: 70+23=93, Resulting Numbers: [25, 93]
Generated Node #0,3,2: 77:[25, 93] Operation: 70+23=93
Exploring Operation: 25+23=48, Resulting Numbers: [70, 48]
Generated Node #0,3,3: 77:[70, 48] Operation: 25+23=48
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 77:[70, 2], Operations: ['99-76=23', '25-23=2']
Exploring Operation: 70+2=72, Resulting Numbers: [72]
72,77 unequal: No Solution
Exploring Operation: 70-2=68, Resulting Numbers: [68]
68,77 unequal: No Solution
Exploring Operation: 70/2=35, Resulting Numbers: [35]
35,77 unequal: No Solution
Exploring Operation: 70*2=140, Resulting Numbers: [140]
140,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,0
Current State: 77:[23, 95], Operations: ['99-76=23', '25+70=95']
Exploring Operation: 23+95=118, Resulting Numbers: [118]
118,77 unequal: No Solution
Exploring Operation: 95-23=72, Resulting Numbers: [72]
72,77 unequal: No Solution
Exploring Operation: 23*95=2185, Resulting Numbers: [2185]
2185,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:[25, 93], Operations: ['99-76=23', '70+23=93']
Exploring Operation: 93-25=68, Resulting Numbers: [68]
68,77 unequal: No Solution
Exploring Operation: 25*93=2325, Resulting Numbers: [2325]
2325,77 unequal: No Solution
Exploring Operation: 25+93=118, Resulting Numbers: [118]
118,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:[70, 48], Operations: ['99-76=23', '25+23=48']
Exploring Operation: 70+48=118, Resulting Numbers: [118]
118,77 unequal: No Solution
Exploring Operation: 70-48=22, Resulting Numbers: [22]
22,77 unequal: No Solution
Exploring Operation: 70*48=3360, Resulting Numbers: [3360]
3360,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 77:[25, 99, 6], Operations: ['76-70=6']
Exploring Operation: 25+6=31, Resulting Numbers: [99, 31]
Generated Node #0,2,0: 77:[99, 31] Operation: 25+6=31
Exploring Operation: 99-6=93, Resulting Numbers: [25, 93]
Generated Node #0,2,1: 77:[25, 93] Operation: 99-6=93
Exploring Operation: 99-25=74, Resulting Numbers: [6, 74]
Generated Node #0,2,2: 77:[6, 74] Operation: 99-25=74
Exploring Operation: 25-6=19, Resulting Numbers: [99, 19]
Generated Node #0,2,3: 77:[99, 19] Operation: 25-6=19
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 77:[6, 74], Operations: ['76-70=6', '99-25=74']
Exploring Operation: 6*74=444, Resulting Numbers: [444]
444,77 unequal: No Solution
Exploring Operation: 6+74=80, Resulting Numbers: [80]
80,77 unequal: No Solution
Exploring Operation: 74-6=68, Resulting Numbers: [68]
68,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,2,1
Current State: 77:[25, 93], Operations: ['76-70=6', '99-6=93']
Exploring Operation: 25+93=118, Resulting Numbers: [118]
118,77 unequal: No Solution
Exploring Operation: 25*93=2325, Resulting Numbers: [2325]
2325,77 unequal: No Solution
Exploring Operation: 93-25=68, Resulting Numbers: [68]
68,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,2,3
Current State: 77:[99, 19], Operations: ['76-70=6', '25-6=19']
Exploring Operation: 99-19=80, Resulting Numbers: [80]
80,77 unequal: No Solution
Exploring Operation: 99+19=118, Resulting Numbers: [118]
118,77 unequal: No Solution
Exploring Operation: 99*19=1881, Resulting Numbers: [1881]
1881,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,2,0
Current State: 77:[99, 31], Operations: ['76-70=6', '25+6=31']
Exploring Operation: 99*31=3069, Resulting Numbers: [3069]
3069,77 unequal: No Solution
Exploring Operation: 99+31=130, Resulting Numbers: [130]
130,77 unequal: No Solution
Exploring Operation: 99-31=68, Resulting Numbers: [68]
68,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 |
[
28,
58,
31,
27
] | 26 | [
"58-28=30",
"31-27=4",
"30-4=26"
] | Current State: 26:[28, 58, 31, 27], Operations: []
Exploring Operation: 58-28=30, Resulting Numbers: [31, 27, 30]
Generated Node #2: [31, 27, 30] from Operation: 58-28=30
Current State: 26:[31, 27, 30], Operations: ['58-28=30']
Exploring Operation: 31-27=4, Resulting Numbers: [30, 4]
Generated Node #3: [30, 4] from Operation: 31-27=4
Current State: 26:[30, 4], Operations: ['58-28=30', '31-27=4']
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[28, 58, 31, 27], Operations: []
Exploring Operation: 58-28=30, Resulting Numbers: [31, 27, 30]
Generated Node #0,0: 26:[31, 27, 30] Operation: 58-28=30
Exploring Operation: 58-31=27, Resulting Numbers: [28, 27, 27]
Generated Node #0,1: 26:[28, 27, 27] Operation: 58-31=27
Exploring Operation: 58-27=31, Resulting Numbers: [28, 31, 31]
Generated Node #0,2: 26:[28, 31, 31] Operation: 58-27=31
Moving to Node #0,1
Current State: 26:[28, 27, 27], Operations: ['58-31=27']
Exploring Operation: 28-27=1, Resulting Numbers: [27, 1]
Generated Node #0,1,0: 26:[27, 1] Operation: 28-27=1
Exploring Operation: 27/27=1, Resulting Numbers: [28, 1]
Generated Node #0,1,1: 26:[28, 1] Operation: 27/27=1
Exploring Operation: 28-27=1, Resulting Numbers: [27, 1]
Generated Node #0,1,2: 26:[27, 1] Operation: 28-27=1
Moving to Node #0,0
Current State: 26:[31, 27, 30], Operations: ['58-28=30']
Exploring Operation: 31-30=1, Resulting Numbers: [27, 1]
Generated Node #0,0,0: 26:[27, 1] Operation: 31-30=1
Exploring Operation: 30-27=3, Resulting Numbers: [31, 3]
Generated Node #0,0,1: 26:[31, 3] Operation: 30-27=3
Exploring Operation: 31-27=4, Resulting Numbers: [30, 4]
Generated Node #0,0,2: 26:[30, 4] Operation: 31-27=4
Moving to Node #0,2
Current State: 26:[28, 31, 31], Operations: ['58-27=31']
Exploring Operation: 31-28=3, Resulting Numbers: [31, 3]
Generated Node #0,2,0: 26:[31, 3] Operation: 31-28=3
Exploring Operation: 31/31=1, Resulting Numbers: [28, 1]
Generated Node #0,2,1: 26:[28, 1] Operation: 31/31=1
Exploring Operation: 31-31=0, Resulting Numbers: [28, 0]
Generated Node #0,2,2: 26:[28, 0] Operation: 31-31=0
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 26:[28, 1], Operations: ['58-27=31', '31/31=1']
Exploring Operation: 28/1=28, Resulting Numbers: [28]
28,26 unequal: No Solution
Exploring Operation: 28-1=27, Resulting Numbers: [27]
27,26 unequal: No Solution
Exploring Operation: 28*1=28, Resulting Numbers: [28]
28,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 26:[28, 0], Operations: ['58-27=31', '31-31=0']
Exploring Operation: 28-0=28, Resulting Numbers: [28]
28,26 unequal: No Solution
Exploring Operation: 28+0=28, Resulting Numbers: [28]
28,26 unequal: No Solution
Exploring Operation: 28*0=0, Resulting Numbers: [0]
0,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 26:[31, 3], Operations: ['58-27=31', '31-28=3']
Exploring Operation: 31*3=93, Resulting Numbers: [93]
93,26 unequal: No Solution
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,26 unequal: No Solution
Exploring Operation: 31+3=34, Resulting Numbers: [34]
34,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 26:[27, 1], Operations: ['58-31=27', '28-27=1']
Exploring Operation: 27*1=27, Resulting Numbers: [27]
27,26 unequal: No Solution
Exploring Operation: 27/1=27, Resulting Numbers: [27]
27,26 unequal: No Solution
Exploring Operation: 27-1=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[28, 58, 31, 27], Operations: []
Exploring Operation: 58-31=27, Resulting Numbers: [28, 27, 27]
Generated Node #0,1: 26:[28, 27, 27] Operation: 58-31=27
Moving to Node #0,1
Current State: 26:[28, 27, 27], Operations: ['58-31=27']
Exploring Operation: 28-27=1, Resulting Numbers: [27, 1]
Generated Node #0,1,0: 26:[27, 1] Operation: 28-27=1
Moving to Node #0,1,0
Current State: 26:[27, 1], Operations: ['58-31=27', '28-27=1']
Exploring Operation: 27-1=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 0.975694 | hs_3 | mult_heuristic |
[
85,
5,
81,
47
] | 67 | [
"85-81=4",
"5*4=20",
"47+20=67"
] | Current State: 67:[85, 5, 81, 47], Operations: []
Exploring Operation: 85-81=4, Resulting Numbers: [5, 47, 4]
Generated Node #2: [5, 47, 4] from Operation: 85-81=4
Current State: 67:[5, 47, 4], Operations: ['85-81=4']
Exploring Operation: 5*4=20, Resulting Numbers: [47, 20]
Generated Node #3: [47, 20] from Operation: 5*4=20
Current State: 67:[47, 20], Operations: ['85-81=4', '5*4=20']
Exploring Operation: 47+20=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[85, 5, 81, 47], Operations: []
Exploring Operation: 5+47=52, Resulting Numbers: [85, 81, 52]
Generated Node #0,0: 67:[85, 81, 52] Operation: 5+47=52
Exploring Operation: 85-5=80, Resulting Numbers: [81, 47, 80]
Generated Node #0,1: 67:[81, 47, 80] Operation: 85-5=80
Exploring Operation: 5+81=86, Resulting Numbers: [85, 47, 86]
Generated Node #0,2: 67:[85, 47, 86] Operation: 5+81=86
Exploring Operation: 81-5=76, Resulting Numbers: [85, 47, 76]
Generated Node #0,3: 67:[85, 47, 76] Operation: 81-5=76
Exploring Operation: 85+5=90, Resulting Numbers: [81, 47, 90]
Generated Node #0,4: 67:[81, 47, 90] Operation: 85+5=90
Moving to Node #0,0
Current State: 67:[85, 81, 52], Operations: ['5+47=52']
Exploring Operation: 81+52=133, Resulting Numbers: [85, 133]
Generated Node #0,0,0: 67:[85, 133] Operation: 81+52=133
Exploring Operation: 81-52=29, Resulting Numbers: [85, 29]
Generated Node #0,0,1: 67:[85, 29] Operation: 81-52=29
Exploring Operation: 85+52=137, Resulting Numbers: [81, 137]
Generated Node #0,0,2: 67:[81, 137] Operation: 85+52=137
Exploring Operation: 85-52=33, Resulting Numbers: [81, 33]
Generated Node #0,0,3: 67:[81, 33] Operation: 85-52=33
Exploring Operation: 85-81=4, Resulting Numbers: [52, 4]
Generated Node #0,0,4: 67:[52, 4] Operation: 85-81=4
Moving to Node #0,3
Current State: 67:[85, 47, 76], Operations: ['81-5=76']
Exploring Operation: 85-76=9, Resulting Numbers: [47, 9]
Generated Node #0,3,0: 67:[47, 9] Operation: 85-76=9
Exploring Operation: 85+47=132, Resulting Numbers: [76, 132]
Generated Node #0,3,1: 67:[76, 132] Operation: 85+47=132
Exploring Operation: 85-47=38, Resulting Numbers: [76, 38]
Generated Node #0,3,2: 67:[76, 38] Operation: 85-47=38
Exploring Operation: 76-47=29, Resulting Numbers: [85, 29]
Generated Node #0,3,3: 67:[85, 29] Operation: 76-47=29
Exploring Operation: 47+76=123, Resulting Numbers: [85, 123]
Generated Node #0,3,4: 67:[85, 123] Operation: 47+76=123
Moving to Node #0,1
Current State: 67:[81, 47, 80], Operations: ['85-5=80']
Exploring Operation: 47+80=127, Resulting Numbers: [81, 127]
Generated Node #0,1,0: 67:[81, 127] Operation: 47+80=127
Exploring Operation: 81-47=34, Resulting Numbers: [80, 34]
Generated Node #0,1,1: 67:[80, 34] Operation: 81-47=34
Exploring Operation: 80-47=33, Resulting Numbers: [81, 33]
Generated Node #0,1,2: 67:[81, 33] Operation: 80-47=33
Exploring Operation: 81+47=128, Resulting Numbers: [80, 128]
Generated Node #0,1,3: 67:[80, 128] Operation: 81+47=128
Exploring Operation: 81-80=1, Resulting Numbers: [47, 1]
Generated Node #0,1,4: 67:[47, 1] Operation: 81-80=1
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 67:[80, 34], Operations: ['85-5=80', '81-47=34']
Exploring Operation: 80*34=2720, Resulting Numbers: [2720]
2720,67 unequal: No Solution
Exploring Operation: 80+34=114, Resulting Numbers: [114]
114,67 unequal: No Solution
Exploring Operation: 80-34=46, Resulting Numbers: [46]
46,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 67:[81, 33], Operations: ['85-5=80', '80-47=33']
Exploring Operation: 81-33=48, Resulting Numbers: [48]
48,67 unequal: No Solution
Exploring Operation: 81*33=2673, Resulting Numbers: [2673]
2673,67 unequal: No Solution
Exploring Operation: 81+33=114, Resulting Numbers: [114]
114,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 67:[81, 127], Operations: ['85-5=80', '47+80=127']
Exploring Operation: 81+127=208, Resulting Numbers: [208]
208,67 unequal: No Solution
Exploring Operation: 81*127=10287, Resulting Numbers: [10287]
10287,67 unequal: No Solution
Exploring Operation: 127-81=46, Resulting Numbers: [46]
46,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 67:[80, 128], Operations: ['85-5=80', '81+47=128']
Exploring Operation: 80+128=208, Resulting Numbers: [208]
208,67 unequal: No Solution
Exploring Operation: 128-80=48, Resulting Numbers: [48]
48,67 unequal: No Solution
Exploring Operation: 80*128=10240, Resulting Numbers: [10240]
10240,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 67:[47, 1], Operations: ['85-5=80', '81-80=1']
Exploring Operation: 47*1=47, Resulting Numbers: [47]
47,67 unequal: No Solution
Exploring Operation: 47+1=48, Resulting Numbers: [48]
48,67 unequal: No Solution
Exploring Operation: 47/1=47, Resulting Numbers: [47]
47,67 unequal: No Solution
Exploring Operation: 47-1=46, Resulting Numbers: [46]
46,67 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: 67:[85, 47, 86], Operations: ['5+81=86']
Exploring Operation: 86-47=39, Resulting Numbers: [85, 39]
Generated Node #0,2,0: 67:[85, 39] Operation: 86-47=39
Exploring Operation: 47+86=133, Resulting Numbers: [85, 133]
Generated Node #0,2,1: 67:[85, 133] Operation: 47+86=133
Exploring Operation: 85-47=38, Resulting Numbers: [86, 38]
Generated Node #0,2,2: 67:[86, 38] Operation: 85-47=38
Exploring Operation: 86-85=1, Resulting Numbers: [47, 1]
Generated Node #0,2,3: 67:[47, 1] Operation: 86-85=1
Exploring Operation: 85+47=132, Resulting Numbers: [86, 132]
Generated Node #0,2,4: 67:[86, 132] Operation: 85+47=132
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 67:[85, 39], Operations: ['5+81=86', '86-47=39']
Exploring Operation: 85-39=46, Resulting Numbers: [46]
46,67 unequal: No Solution
Exploring Operation: 85+39=124, Resulting Numbers: [124]
124,67 unequal: No Solution
Exploring Operation: 85*39=3315, Resulting Numbers: [3315]
3315,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 67:[86, 38], Operations: ['5+81=86', '85-47=38']
Exploring Operation: 86+38=124, Resulting Numbers: [124]
124,67 unequal: No Solution
Exploring Operation: 86*38=3268, Resulting Numbers: [3268]
3268,67 unequal: No Solution
Exploring Operation: 86-38=48, Resulting Numbers: [48]
48,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 67:[85, 133], Operations: ['5+81=86', '47+86=133']
Exploring Operation: 85+133=218, Resulting Numbers: [218]
218,67 unequal: No Solution
Exploring Operation: 85*133=11305, Resulting Numbers: [11305]
11305,67 unequal: No Solution
Exploring Operation: 133-85=48, Resulting Numbers: [48]
48,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 67:[86, 132], Operations: ['5+81=86', '85+47=132']
Exploring Operation: 86+132=218, Resulting Numbers: [218]
218,67 unequal: No Solution
Exploring Operation: 132-86=46, Resulting Numbers: [46]
46,67 unequal: No Solution
Exploring Operation: 86*132=11352, Resulting Numbers: [11352]
11352,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 67:[47, 1], Operations: ['5+81=86', '86-85=1']
Exploring Operation: 47/1=47, Resulting Numbers: [47]
47,67 unequal: No Solution
Exploring Operation: 47*1=47, Resulting Numbers: [47]
47,67 unequal: No Solution
Exploring Operation: 47+1=48, Resulting Numbers: [48]
48,67 unequal: No Solution
Exploring Operation: 47-1=46, Resulting Numbers: [46]
46,67 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: 67:[81, 47, 90], Operations: ['85+5=90']
Exploring Operation: 81+47=128, Resulting Numbers: [90, 128]
Generated Node #0,4,0: 67:[90, 128] Operation: 81+47=128
Exploring Operation: 81-47=34, Resulting Numbers: [90, 34]
Generated Node #0,4,1: 67:[90, 34] Operation: 81-47=34
Exploring Operation: 90-47=43, Resulting Numbers: [81, 43]
Generated Node #0,4,2: 67:[81, 43] Operation: 90-47=43
Exploring Operation: 47+90=137, Resulting Numbers: [81, 137]
Generated Node #0,4,3: 67:[81, 137] Operation: 47+90=137
Exploring Operation: 90-81=9, Resulting Numbers: [47, 9]
Generated Node #0,4,4: 67:[47, 9] Operation: 90-81=9
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 67:[81, 43], Operations: ['85+5=90', '90-47=43']
Exploring Operation: 81*43=3483, Resulting Numbers: [3483]
3483,67 unequal: No Solution
Exploring Operation: 81+43=124, Resulting Numbers: [124]
124,67 unequal: No Solution
Exploring Operation: 81-43=38, Resulting Numbers: [38]
38,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 67:[90, 34], Operations: ['85+5=90', '81-47=34']
Exploring Operation: 90+34=124, Resulting Numbers: [124]
124,67 unequal: No Solution
Exploring Operation: 90-34=56, Resulting Numbers: [56]
56,67 unequal: No Solution
Exploring Operation: 90*34=3060, Resulting Numbers: [3060]
3060,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 67:[47, 9], Operations: ['85+5=90', '90-81=9']
Exploring Operation: 47+9=56, Resulting Numbers: [56]
56,67 unequal: No Solution
Exploring Operation: 47-9=38, Resulting Numbers: [38]
38,67 unequal: No Solution
Exploring Operation: 47*9=423, Resulting Numbers: [423]
423,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 67:[90, 128], Operations: ['85+5=90', '81+47=128']
Exploring Operation: 128-90=38, Resulting Numbers: [38]
38,67 unequal: No Solution
Exploring Operation: 90+128=218, Resulting Numbers: [218]
218,67 unequal: No Solution
Exploring Operation: 90*128=11520, Resulting Numbers: [11520]
11520,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 67:[81, 137], Operations: ['85+5=90', '47+90=137']
Exploring Operation: 81+137=218, Resulting Numbers: [218]
218,67 unequal: No Solution
Exploring Operation: 137-81=56, Resulting Numbers: [56]
56,67 unequal: No Solution
Exploring Operation: 81*137=11097, Resulting Numbers: [11097]
11097,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,2
Current State: 67:[76, 38], Operations: ['81-5=76', '85-47=38']
Exploring Operation: 76*38=2888, Resulting Numbers: [2888]
2888,67 unequal: No Solution
Exploring Operation: 76-38=38, Resulting Numbers: [38]
38,67 unequal: No Solution
Exploring Operation: 76+38=114, Resulting Numbers: [114]
114,67 unequal: No Solution
Exploring Operation: 76/38=2, Resulting Numbers: [2]
2,67 unequal: No Solution
Moving to Node #0,0,3
Current State: 67:[81, 33], Operations: ['5+47=52', '85-52=33']
Exploring Operation: 81-33=48, Resulting Numbers: [48]
48,67 unequal: No Solution
Exploring Operation: 81*33=2673, Resulting Numbers: [2673]
2673,67 unequal: No Solution
Exploring Operation: 81+33=114, Resulting Numbers: [114]
114,67 unequal: No Solution
Moving to Node #0,3,3
Current State: 67:[85, 29], Operations: ['81-5=76', '76-47=29']
Exploring Operation: 85+29=114, Resulting Numbers: [114]
114,67 unequal: No Solution
Exploring Operation: 85-29=56, Resulting Numbers: [56]
56,67 unequal: No Solution
Exploring Operation: 85*29=2465, Resulting Numbers: [2465]
2465,67 unequal: No Solution
Moving to Node #0,0,1
Current State: 67:[85, 29], Operations: ['5+47=52', '81-52=29']
Exploring Operation: 85+29=114, Resulting Numbers: [114]
114,67 unequal: No Solution
Exploring Operation: 85-29=56, Resulting Numbers: [56]
56,67 unequal: No Solution
Exploring Operation: 85*29=2465, Resulting Numbers: [2465]
2465,67 unequal: No Solution
Moving to Node #0,3,4
Current State: 67:[85, 123], Operations: ['81-5=76', '47+76=123']
Exploring Operation: 85+123=208, Resulting Numbers: [208]
208,67 unequal: No Solution
Exploring Operation: 85*123=10455, Resulting Numbers: [10455]
10455,67 unequal: No Solution
Exploring Operation: 123-85=38, Resulting Numbers: [38]
38,67 unequal: No Solution
Moving to Node #0,3,1
Current State: 67:[76, 132], Operations: ['81-5=76', '85+47=132']
Exploring Operation: 76+132=208, Resulting Numbers: [208]
208,67 unequal: No Solution
Exploring Operation: 132-76=56, Resulting Numbers: [56]
56,67 unequal: No Solution
Exploring Operation: 76*132=10032, Resulting Numbers: [10032]
10032,67 unequal: No Solution
Moving to Node #0,0,4
Current State: 67:[52, 4], Operations: ['5+47=52', '85-81=4']
Exploring Operation: 52+4=56, Resulting Numbers: [56]
56,67 unequal: No Solution
Exploring Operation: 52/4=13, Resulting Numbers: [13]
13,67 unequal: No Solution
Exploring Operation: 52*4=208, Resulting Numbers: [208]
208,67 unequal: No Solution
Exploring Operation: 52-4=48, Resulting Numbers: [48]
48,67 unequal: No Solution
Moving to Node #0,3,0
Current State: 67:[47, 9], Operations: ['81-5=76', '85-76=9']
Exploring Operation: 47*9=423, Resulting Numbers: [423]
423,67 unequal: No Solution
Exploring Operation: 47+9=56, Resulting Numbers: [56]
56,67 unequal: No Solution
Exploring Operation: 47-9=38, Resulting Numbers: [38]
38,67 unequal: No Solution
Moving to Node #0,0,0
Current State: 67:[85, 133], Operations: ['5+47=52', '81+52=133']
Exploring Operation: 85*133=11305, Resulting Numbers: [11305]
11305,67 unequal: No Solution
Exploring Operation: 133-85=48, Resulting Numbers: [48]
48,67 unequal: No Solution
Exploring Operation: 85+133=218, Resulting Numbers: [218]
218,67 unequal: No Solution
Moving to Node #0,0,2
Current State: 67:[81, 137], Operations: ['5+47=52', '85+52=137']
Exploring Operation: 137-81=56, Resulting Numbers: [56]
56,67 unequal: No Solution
Exploring Operation: 81*137=11097, Resulting Numbers: [11097]
11097,67 unequal: No Solution
Exploring Operation: 81+137=218, Resulting Numbers: [218]
218,67 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
36,
68,
80,
17
] | 56 | [
"68/17=4",
"80/4=20",
"36+20=56"
] | Current State: 56:[36, 68, 80, 17], Operations: []
Exploring Operation: 68/17=4, Resulting Numbers: [36, 80, 4]
Generated Node #2: [36, 80, 4] from Operation: 68/17=4
Current State: 56:[36, 80, 4], Operations: ['68/17=4']
Exploring Operation: 80/4=20, Resulting Numbers: [36, 20]
Generated Node #3: [36, 20] from Operation: 80/4=20
Current State: 56:[36, 20], Operations: ['68/17=4', '80/4=20']
Exploring Operation: 36+20=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[36, 68, 80, 17], Operations: []
Exploring Operation: 80-68=12, Resulting Numbers: [36, 17, 12]
Generated Node #0,0: 56:[36, 17, 12] Operation: 80-68=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[36, 17, 12], Operations: ['80-68=12']
Exploring Operation: 36/12=3, Resulting Numbers: [17, 3]
Generated Node #0,0,0: 56:[17, 3] Operation: 36/12=3
Moving to Node #0,0,0
Current State: 56:[17, 3], Operations: ['80-68=12', '36/12=3']
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
36,
30,
23,
32
] | 57 | [
"36+30=66",
"32-23=9",
"66-9=57"
] | Current State: 57:[36, 30, 23, 32], Operations: []
Exploring Operation: 36+30=66, Resulting Numbers: [23, 32, 66]
Generated Node #2: [23, 32, 66] from Operation: 36+30=66
Current State: 57:[23, 32, 66], Operations: ['36+30=66']
Exploring Operation: 32-23=9, Resulting Numbers: [66, 9]
Generated Node #3: [66, 9] from Operation: 32-23=9
Current State: 57:[66, 9], Operations: ['36+30=66', '32-23=9']
Exploring Operation: 66-9=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[36, 30, 23, 32], Operations: []
Exploring Operation: 36-30=6, Resulting Numbers: [23, 32, 6]
Generated Node #0,0: 57:[23, 32, 6] Operation: 36-30=6
Exploring Operation: 36+23=59, Resulting Numbers: [30, 32, 59]
Generated Node #0,1: 57:[30, 32, 59] Operation: 36+23=59
Exploring Operation: 36+30=66, Resulting Numbers: [23, 32, 66]
Generated Node #0,2: 57:[23, 32, 66] Operation: 36+30=66
Exploring Operation: 36-32=4, Resulting Numbers: [30, 23, 4]
Generated Node #0,3: 57:[30, 23, 4] Operation: 36-32=4
Exploring Operation: 32-30=2, Resulting Numbers: [36, 23, 2]
Generated Node #0,4: 57:[36, 23, 2] Operation: 32-30=2
Start Sub Search at level 1: Moving to Node #0,3
Current State: 57:[30, 23, 4], Operations: ['36-32=4']
Exploring Operation: 30+23=53, Resulting Numbers: [4, 53]
Generated Node #0,3,0: 57:[4, 53] Operation: 30+23=53
Exploring Operation: 30+4=34, Resulting Numbers: [23, 34]
Generated Node #0,3,1: 57:[23, 34] Operation: 30+4=34
Exploring Operation: 23-4=19, Resulting Numbers: [30, 19]
Generated Node #0,3,2: 57:[30, 19] Operation: 23-4=19
Exploring Operation: 30-4=26, Resulting Numbers: [23, 26]
Generated Node #0,3,3: 57:[23, 26] Operation: 30-4=26
Exploring Operation: 30-23=7, Resulting Numbers: [4, 7]
Generated Node #0,3,4: 57:[4, 7] Operation: 30-23=7
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 57:[4, 53], Operations: ['36-32=4', '30+23=53']
Exploring Operation: 4+53=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[36, 30, 23, 32], Operations: []
Exploring Operation: 36-32=4, Resulting Numbers: [30, 23, 4]
Generated Node #0,3: 57:[30, 23, 4] Operation: 36-32=4
Moving to Node #0,3
Current State: 57:[30, 23, 4], Operations: ['36-32=4']
Exploring Operation: 30+23=53, Resulting Numbers: [4, 53]
Generated Node #0,3,0: 57:[4, 53] Operation: 30+23=53
Moving to Node #0,3,0
Current State: 57:[4, 53], Operations: ['36-32=4', '30+23=53']
Exploring Operation: 4+53=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
81,
10,
63,
54
] | 80 | [
"81-10=71",
"63-54=9",
"71+9=80"
] | Current State: 80:[81, 10, 63, 54], Operations: []
Exploring Operation: 81-10=71, Resulting Numbers: [63, 54, 71]
Generated Node #2: [63, 54, 71] from Operation: 81-10=71
Current State: 80:[63, 54, 71], Operations: ['81-10=71']
Exploring Operation: 63-54=9, Resulting Numbers: [71, 9]
Generated Node #3: [71, 9] from Operation: 63-54=9
Current State: 80:[71, 9], Operations: ['81-10=71', '63-54=9']
Exploring Operation: 71+9=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[81, 10, 63, 54], Operations: []
Exploring Operation: 81-63=18, Resulting Numbers: [10, 54, 18]
Generated Node #0,0: 80:[10, 54, 18] Operation: 81-63=18
Exploring Operation: 63-54=9, Resulting Numbers: [81, 10, 9]
Generated Node #0,1: 80:[81, 10, 9] Operation: 63-54=9
Exploring Operation: 10+63=73, Resulting Numbers: [81, 54, 73]
Generated Node #0,2: 80:[81, 54, 73] Operation: 10+63=73
Moving to Node #0,1
Current State: 80:[81, 10, 9], Operations: ['63-54=9']
Exploring Operation: 81/9=9, Resulting Numbers: [10, 9]
Generated Node #0,1,0: 80:[10, 9] Operation: 81/9=9
Exploring Operation: 10-9=1, Resulting Numbers: [81, 1]
Generated Node #0,1,1: 80:[81, 1] Operation: 10-9=1
Exploring Operation: 10+9=19, Resulting Numbers: [81, 19]
Generated Node #0,1,2: 80:[81, 19] Operation: 10+9=19
Moving to Node #0,0
Current State: 80:[10, 54, 18], Operations: ['81-63=18']
Exploring Operation: 54-18=36, Resulting Numbers: [10, 36]
Generated Node #0,0,0: 80:[10, 36] Operation: 54-18=36
Exploring Operation: 54/18=3, Resulting Numbers: [10, 3]
Generated Node #0,0,1: 80:[10, 3] Operation: 54/18=3
Exploring Operation: 54-10=44, Resulting Numbers: [18, 44]
Generated Node #0,0,2: 80:[18, 44] Operation: 54-10=44
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 80:[10, 3], Operations: ['81-63=18', '54/18=3']
Exploring Operation: 10+3=13, Resulting Numbers: [13]
13,80 unequal: No Solution
Exploring Operation: 10*3=30, Resulting Numbers: [30]
30,80 unequal: No Solution
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 80:[10, 36], Operations: ['81-63=18', '54-18=36']
Exploring Operation: 10+36=46, Resulting Numbers: [46]
46,80 unequal: No Solution
Exploring Operation: 36-10=26, Resulting Numbers: [26]
26,80 unequal: No Solution
Exploring Operation: 10*36=360, Resulting Numbers: [360]
360,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 80:[18, 44], Operations: ['81-63=18', '54-10=44']
Exploring Operation: 18+44=62, Resulting Numbers: [62]
62,80 unequal: No Solution
Exploring Operation: 18*44=792, Resulting Numbers: [792]
792,80 unequal: No Solution
Exploring Operation: 44-18=26, Resulting Numbers: [26]
26,80 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: 80:[81, 54, 73], Operations: ['10+63=73']
Exploring Operation: 81-54=27, Resulting Numbers: [73, 27]
Generated Node #0,2,0: 80:[73, 27] Operation: 81-54=27
Exploring Operation: 81-73=8, Resulting Numbers: [54, 8]
Generated Node #0,2,1: 80:[54, 8] Operation: 81-73=8
Exploring Operation: 73-54=19, Resulting Numbers: [81, 19]
Generated Node #0,2,2: 80:[81, 19] Operation: 73-54=19
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 80:[81, 19], Operations: ['10+63=73', '73-54=19']
Exploring Operation: 81*19=1539, Resulting Numbers: [1539]
1539,80 unequal: No Solution
Exploring Operation: 81+19=100, Resulting Numbers: [100]
100,80 unequal: No Solution
Exploring Operation: 81-19=62, Resulting Numbers: [62]
62,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 80:[73, 27], Operations: ['10+63=73', '81-54=27']
Exploring Operation: 73+27=100, Resulting Numbers: [100]
100,80 unequal: No Solution
Exploring Operation: 73*27=1971, Resulting Numbers: [1971]
1971,80 unequal: No Solution
Exploring Operation: 73-27=46, Resulting Numbers: [46]
46,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 80:[54, 8], Operations: ['10+63=73', '81-73=8']
Exploring Operation: 54*8=432, Resulting Numbers: [432]
432,80 unequal: No Solution
Exploring Operation: 54+8=62, Resulting Numbers: [62]
62,80 unequal: No Solution
Exploring Operation: 54-8=46, Resulting Numbers: [46]
46,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 80:[10, 9], Operations: ['63-54=9', '81/9=9']
Exploring Operation: 10*9=90, Resulting Numbers: [90]
90,80 unequal: No Solution
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,80 unequal: No Solution
Exploring Operation: 10+9=19, Resulting Numbers: [19]
19,80 unequal: No Solution
Moving to Node #0,1,1
Current State: 80:[81, 1], Operations: ['63-54=9', '10-9=1']
Exploring Operation: 81-1=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[81, 10, 63, 54], Operations: []
Exploring Operation: 63-54=9, Resulting Numbers: [81, 10, 9]
Generated Node #0,1: 80:[81, 10, 9] Operation: 63-54=9
Moving to Node #0,1
Current State: 80:[81, 10, 9], Operations: ['63-54=9']
Exploring Operation: 10-9=1, Resulting Numbers: [81, 1]
Generated Node #0,1,1: 80:[81, 1] Operation: 10-9=1
Moving to Node #0,1,1
Current State: 80:[81, 1], Operations: ['63-54=9', '10-9=1']
Exploring Operation: 81-1=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 0.967014 | hs_3 | mult_heuristic |
[
81,
7,
50,
6
] | 89 | [
"81+50=131",
"7*6=42",
"131-42=89"
] | Current State: 89:[81, 7, 50, 6], Operations: []
Exploring Operation: 81+50=131, Resulting Numbers: [7, 6, 131]
Generated Node #2: [7, 6, 131] from Operation: 81+50=131
Current State: 89:[7, 6, 131], Operations: ['81+50=131']
Exploring Operation: 7*6=42, Resulting Numbers: [131, 42]
Generated Node #3: [131, 42] from Operation: 7*6=42
Current State: 89:[131, 42], Operations: ['81+50=131', '7*6=42']
Exploring Operation: 131-42=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[81, 7, 50, 6], Operations: []
Exploring Operation: 7*6=42, Resulting Numbers: [81, 50, 42]
Generated Node #0,0: 89:[81, 50, 42] Operation: 7*6=42
Exploring Operation: 81+7=88, Resulting Numbers: [50, 6, 88]
Generated Node #0,1: 89:[50, 6, 88] Operation: 81+7=88
Exploring Operation: 81+6=87, Resulting Numbers: [7, 50, 87]
Generated Node #0,2: 89:[7, 50, 87] Operation: 81+6=87
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[81, 50, 42], Operations: ['7*6=42']
Exploring Operation: 81+42=123, Resulting Numbers: [50, 123]
Generated Node #0,0,0: 89:[50, 123] Operation: 81+42=123
Exploring Operation: 81+50=131, Resulting Numbers: [42, 131]
Generated Node #0,0,1: 89:[42, 131] Operation: 81+50=131
Exploring Operation: 50+42=92, Resulting Numbers: [81, 92]
Generated Node #0,0,2: 89:[81, 92] Operation: 50+42=92
Moving to Node #0,0,2
Current State: 89:[81, 92], Operations: ['7*6=42', '50+42=92']
Exploring Operation: 92-81=11, Resulting Numbers: [11]
11,89 unequal: No Solution
Exploring Operation: 81+92=173, Resulting Numbers: [173]
173,89 unequal: No Solution
Exploring Operation: 81*92=7452, Resulting Numbers: [7452]
7452,89 unequal: No Solution
Moving to Node #0,0,0
Current State: 89:[50, 123], Operations: ['7*6=42', '81+42=123']
Exploring Operation: 50*123=6150, Resulting Numbers: [6150]
6150,89 unequal: No Solution
Exploring Operation: 50+123=173, Resulting Numbers: [173]
173,89 unequal: No Solution
Exploring Operation: 123-50=73, Resulting Numbers: [73]
73,89 unequal: No Solution
Moving to Node #0,0,1
Current State: 89:[42, 131], Operations: ['7*6=42', '81+50=131']
Exploring Operation: 131-42=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[81, 7, 50, 6], Operations: []
Exploring Operation: 7*6=42, Resulting Numbers: [81, 50, 42]
Generated Node #0,0: 89:[81, 50, 42] Operation: 7*6=42
Moving to Node #0,0
Current State: 89:[81, 50, 42], Operations: ['7*6=42']
Exploring Operation: 81+50=131, Resulting Numbers: [42, 131]
Generated Node #0,0,1: 89:[42, 131] Operation: 81+50=131
Moving to Node #0,0,1
Current State: 89:[42, 131], Operations: ['7*6=42', '81+50=131']
Exploring Operation: 131-42=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_3 | sum_heuristic |
[
70,
49,
54,
41
] | 91 | [
"70*54=3780",
"3780-49=3731",
"3731/41=91"
] | Current State: 91:[70, 49, 54, 41], Operations: []
Exploring Operation: 70*54=3780, Resulting Numbers: [49, 41, 3780]
Generated Node #2: [49, 41, 3780] from Operation: 70*54=3780
Current State: 91:[49, 41, 3780], Operations: ['70*54=3780']
Exploring Operation: 3780-49=3731, Resulting Numbers: [41, 3731]
Generated Node #3: [41, 3731] from Operation: 3780-49=3731
Current State: 91:[41, 3731], Operations: ['70*54=3780', '3780-49=3731']
Exploring Operation: 3731/41=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[70, 49, 54, 41], Operations: []
Exploring Operation: 54-49=5, Resulting Numbers: [70, 41, 5]
Generated Node #0,0: 91:[70, 41, 5] Operation: 54-49=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[70, 41, 5], Operations: ['54-49=5']
Exploring Operation: 70-41=29, Resulting Numbers: [5, 29]
Generated Node #0,0,0: 91:[5, 29] Operation: 70-41=29
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 91:[5, 29], Operations: ['54-49=5', '70-41=29']
Exploring Operation: 29-5=24, Resulting Numbers: [24]
24,91 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 |
[
7,
53,
33,
11
] | 97 | [
"7*11=77",
"53-33=20",
"77+20=97"
] | Current State: 97:[7, 53, 33, 11], Operations: []
Exploring Operation: 7*11=77, Resulting Numbers: [53, 33, 77]
Generated Node #2: [53, 33, 77] from Operation: 7*11=77
Current State: 97:[53, 33, 77], Operations: ['7*11=77']
Exploring Operation: 53-33=20, Resulting Numbers: [77, 20]
Generated Node #3: [77, 20] from Operation: 53-33=20
Current State: 97:[77, 20], Operations: ['7*11=77', '53-33=20']
Exploring Operation: 77+20=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[7, 53, 33, 11], Operations: []
Exploring Operation: 7*11=77, Resulting Numbers: [53, 33, 77]
Generated Node #0,0: 97:[53, 33, 77] Operation: 7*11=77
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[53, 33, 77], Operations: ['7*11=77']
Exploring Operation: 53+33=86, Resulting Numbers: [77, 86]
Generated Node #0,0,0: 97:[77, 86] Operation: 53+33=86
Moving to Node #0,0,0
Current State: 97:[77, 86], Operations: ['7*11=77', '53+33=86']
Exploring Operation: 77+86=163, Resulting Numbers: [163]
163,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
3,
38,
22,
69
] | 38 | [
"69/3=23",
"23-22=1",
"38*1=38"
] | Current State: 38:[3, 38, 22, 69], Operations: []
Exploring Operation: 69/3=23, Resulting Numbers: [38, 22, 23]
Generated Node #2: [38, 22, 23] from Operation: 69/3=23
Current State: 38:[38, 22, 23], Operations: ['69/3=23']
Exploring Operation: 23-22=1, Resulting Numbers: [38, 1]
Generated Node #3: [38, 1] from Operation: 23-22=1
Current State: 38:[38, 1], Operations: ['69/3=23', '23-22=1']
Exploring Operation: 38*1=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[3, 38, 22, 69], Operations: []
Exploring Operation: 69-38=31, Resulting Numbers: [3, 22, 31]
Generated Node #0,0: 38:[3, 22, 31] Operation: 69-38=31
Exploring Operation: 69-22=47, Resulting Numbers: [3, 38, 47]
Generated Node #0,1: 38:[3, 38, 47] Operation: 69-22=47
Exploring Operation: 69/3=23, Resulting Numbers: [38, 22, 23]
Generated Node #0,2: 38:[38, 22, 23] Operation: 69/3=23
Moving to Node #0,2
Current State: 38:[38, 22, 23], Operations: ['69/3=23']
Exploring Operation: 23-22=1, Resulting Numbers: [38, 1]
Generated Node #0,2,0: 38:[38, 1] Operation: 23-22=1
Exploring Operation: 38-22=16, Resulting Numbers: [23, 16]
Generated Node #0,2,1: 38:[23, 16] Operation: 38-22=16
Exploring Operation: 38-23=15, Resulting Numbers: [22, 15]
Generated Node #0,2,2: 38:[22, 15] Operation: 38-23=15
Moving to Node #0,1
Current State: 38:[3, 38, 47], Operations: ['69-22=47']
Exploring Operation: 47-38=9, Resulting Numbers: [3, 9]
Generated Node #0,1,0: 38:[3, 9] Operation: 47-38=9
Exploring Operation: 47-3=44, Resulting Numbers: [38, 44]
Generated Node #0,1,1: 38:[38, 44] Operation: 47-3=44
Exploring Operation: 3+38=41, Resulting Numbers: [47, 41]
Generated Node #0,1,2: 38:[47, 41] Operation: 3+38=41
Moving to Node #0,0
Current State: 38:[3, 22, 31], Operations: ['69-38=31']
Exploring Operation: 31-22=9, Resulting Numbers: [3, 9]
Generated Node #0,0,0: 38:[3, 9] Operation: 31-22=9
Exploring Operation: 22-3=19, Resulting Numbers: [31, 19]
Generated Node #0,0,1: 38:[31, 19] Operation: 22-3=19
Exploring Operation: 3+31=34, Resulting Numbers: [22, 34]
Generated Node #0,0,2: 38:[22, 34] Operation: 3+31=34
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 38:[31, 19], Operations: ['69-38=31', '22-3=19']
Exploring Operation: 31-19=12, Resulting Numbers: [12]
12,38 unequal: No Solution
Exploring Operation: 31*19=589, Resulting Numbers: [589]
589,38 unequal: No Solution
Exploring Operation: 31+19=50, Resulting Numbers: [50]
50,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:[22, 34], Operations: ['69-38=31', '3+31=34']
Exploring Operation: 22+34=56, Resulting Numbers: [56]
56,38 unequal: No Solution
Exploring Operation: 34-22=12, Resulting Numbers: [12]
12,38 unequal: No Solution
Exploring Operation: 22*34=748, Resulting Numbers: [748]
748,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:[3, 9], Operations: ['69-38=31', '31-22=9']
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,38 unequal: No Solution
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,38 unequal: No Solution
Exploring Operation: 3+9=12, Resulting Numbers: [12]
12,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,0
Current State: 38:[38, 1], Operations: ['69/3=23', '23-22=1']
Exploring Operation: 38/1=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[3, 38, 22, 69], Operations: []
Exploring Operation: 69/3=23, Resulting Numbers: [38, 22, 23]
Generated Node #0,2: 38:[38, 22, 23] Operation: 69/3=23
Moving to Node #0,2
Current State: 38:[38, 22, 23], Operations: ['69/3=23']
Exploring Operation: 23-22=1, Resulting Numbers: [38, 1]
Generated Node #0,2,0: 38:[38, 1] Operation: 23-22=1
Moving to Node #0,2,0
Current State: 38:[38, 1], Operations: ['69/3=23', '23-22=1']
Exploring Operation: 38/1=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 0.977431 | hs_3 | sum_heuristic |
[
9,
22,
34,
53
] | 89 | [
"22*34=748",
"53+748=801",
"801/9=89"
] | Current State: 89:[9, 22, 34, 53], Operations: []
Exploring Operation: 22*34=748, Resulting Numbers: [9, 53, 748]
Generated Node #2: [9, 53, 748] from Operation: 22*34=748
Current State: 89:[9, 53, 748], Operations: ['22*34=748']
Exploring Operation: 53+748=801, Resulting Numbers: [9, 801]
Generated Node #3: [9, 801] from Operation: 53+748=801
Current State: 89:[9, 801], Operations: ['22*34=748', '53+748=801']
Exploring Operation: 801/9=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[9, 22, 34, 53], Operations: []
Exploring Operation: 9+53=62, Resulting Numbers: [22, 34, 62]
Generated Node #0,0: 89:[22, 34, 62] Operation: 9+53=62
Exploring Operation: 22+53=75, Resulting Numbers: [9, 34, 75]
Generated Node #0,1: 89:[9, 34, 75] Operation: 22+53=75
Exploring Operation: 9+22=31, Resulting Numbers: [34, 53, 31]
Generated Node #0,2: 89:[34, 53, 31] Operation: 9+22=31
Exploring Operation: 22+34=56, Resulting Numbers: [9, 53, 56]
Generated Node #0,3: 89:[9, 53, 56] Operation: 22+34=56
Exploring Operation: 9+34=43, Resulting Numbers: [22, 53, 43]
Generated Node #0,4: 89:[22, 53, 43] Operation: 9+34=43
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[22, 34, 62], Operations: ['9+53=62']
Exploring Operation: 62-22=40, Resulting Numbers: [34, 40]
Generated Node #0,0,0: 89:[34, 40] Operation: 62-22=40
Exploring Operation: 22+34=56, Resulting Numbers: [62, 56]
Generated Node #0,0,1: 89:[62, 56] Operation: 22+34=56
Exploring Operation: 34+62=96, Resulting Numbers: [22, 96]
Generated Node #0,0,2: 89:[22, 96] Operation: 34+62=96
Exploring Operation: 34-22=12, Resulting Numbers: [62, 12]
Generated Node #0,0,3: 89:[62, 12] Operation: 34-22=12
Exploring Operation: 22+62=84, Resulting Numbers: [34, 84]
Generated Node #0,0,4: 89:[34, 84] Operation: 22+62=84
Moving to Node #0,0,1
Current State: 89:[62, 56], Operations: ['9+53=62', '22+34=56']
Exploring Operation: 62+56=118, Resulting Numbers: [118]
118,89 unequal: No Solution
Exploring Operation: 62-56=6, Resulting Numbers: [6]
6,89 unequal: No Solution
Exploring Operation: 62*56=3472, Resulting Numbers: [3472]
3472,89 unequal: No Solution
Moving to Node #0,0,4
Current State: 89:[34, 84], Operations: ['9+53=62', '22+62=84']
Exploring Operation: 34*84=2856, Resulting Numbers: [2856]
2856,89 unequal: No Solution
Exploring Operation: 84-34=50, Resulting Numbers: [50]
50,89 unequal: No Solution
Exploring Operation: 34+84=118, Resulting Numbers: [118]
118,89 unequal: No Solution
Moving to Node #0,0,2
Current State: 89:[22, 96], Operations: ['9+53=62', '34+62=96']
Exploring Operation: 22*96=2112, Resulting Numbers: [2112]
2112,89 unequal: No Solution
Exploring Operation: 22+96=118, Resulting Numbers: [118]
118,89 unequal: No Solution
Exploring Operation: 96-22=74, Resulting Numbers: [74]
74,89 unequal: No Solution
Moving to Node #0,0,0
Current State: 89:[34, 40], Operations: ['9+53=62', '62-22=40']
Exploring Operation: 40-34=6, Resulting Numbers: [6]
6,89 unequal: No Solution
Exploring Operation: 34*40=1360, Resulting Numbers: [1360]
1360,89 unequal: No Solution
Exploring Operation: 34+40=74, Resulting Numbers: [74]
74,89 unequal: No Solution
Moving to Node #0,0,3
Current State: 89:[62, 12], Operations: ['9+53=62', '34-22=12']
Exploring Operation: 62+12=74, Resulting Numbers: [74]
74,89 unequal: No Solution
Exploring Operation: 62-12=50, Resulting Numbers: [50]
50,89 unequal: No Solution
Exploring Operation: 62*12=744, Resulting Numbers: [744]
744,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 89:[9, 34, 75], Operations: ['22+53=75']
Exploring Operation: 75-9=66, Resulting Numbers: [34, 66]
Generated Node #0,1,0: 89:[34, 66] Operation: 75-9=66
Exploring Operation: 34-9=25, Resulting Numbers: [75, 25]
Generated Node #0,1,1: 89:[75, 25] Operation: 34-9=25
Exploring Operation: 34+75=109, Resulting Numbers: [9, 109]
Generated Node #0,1,2: 89:[9, 109] Operation: 34+75=109
Exploring Operation: 9+75=84, Resulting Numbers: [34, 84]
Generated Node #0,1,3: 89:[34, 84] Operation: 9+75=84
Exploring Operation: 9+34=43, Resulting Numbers: [75, 43]
Generated Node #0,1,4: 89:[75, 43] Operation: 9+34=43
Moving to Node #0,1,3
Current State: 89:[34, 84], Operations: ['22+53=75', '9+75=84']
Exploring Operation: 34*84=2856, Resulting Numbers: [2856]
2856,89 unequal: No Solution
Exploring Operation: 84-34=50, Resulting Numbers: [50]
50,89 unequal: No Solution
Exploring Operation: 34+84=118, Resulting Numbers: [118]
118,89 unequal: No Solution
Moving to Node #0,1,4
Current State: 89:[75, 43], Operations: ['22+53=75', '9+34=43']
Exploring Operation: 75+43=118, Resulting Numbers: [118]
118,89 unequal: No Solution
Exploring Operation: 75-43=32, Resulting Numbers: [32]
32,89 unequal: No Solution
Exploring Operation: 75*43=3225, Resulting Numbers: [3225]
3225,89 unequal: No Solution
Moving to Node #0,1,0
Current State: 89:[34, 66], Operations: ['22+53=75', '75-9=66']
Exploring Operation: 34+66=100, Resulting Numbers: [100]
100,89 unequal: No Solution
Exploring Operation: 34*66=2244, Resulting Numbers: [2244]
2244,89 unequal: No Solution
Exploring Operation: 66-34=32, Resulting Numbers: [32]
32,89 unequal: No Solution
Moving to Node #0,1,1
Current State: 89:[75, 25], Operations: ['22+53=75', '34-9=25']
Exploring Operation: 75*25=1875, Resulting Numbers: [1875]
1875,89 unequal: No Solution
Exploring Operation: 75+25=100, Resulting Numbers: [100]
100,89 unequal: No Solution
Exploring Operation: 75/25=3, Resulting Numbers: [3]
3,89 unequal: No Solution
Exploring Operation: 75-25=50, Resulting Numbers: [50]
50,89 unequal: No Solution
Moving to Node #0,1,2
Current State: 89:[9, 109], Operations: ['22+53=75', '34+75=109']
Exploring Operation: 9*109=981, Resulting Numbers: [981]
981,89 unequal: No Solution
Exploring Operation: 9+109=118, Resulting Numbers: [118]
118,89 unequal: No Solution
Exploring Operation: 109-9=100, Resulting Numbers: [100]
100,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
Current State: 89:[34, 53, 31], Operations: ['9+22=31']
Exploring Operation: 53-31=22, Resulting Numbers: [34, 22]
Generated Node #0,2,0: 89:[34, 22] Operation: 53-31=22
Exploring Operation: 34+31=65, Resulting Numbers: [53, 65]
Generated Node #0,2,1: 89:[53, 65] Operation: 34+31=65
Exploring Operation: 53+31=84, Resulting Numbers: [34, 84]
Generated Node #0,2,2: 89:[34, 84] Operation: 53+31=84
Exploring Operation: 34-31=3, Resulting Numbers: [53, 3]
Generated Node #0,2,3: 89:[53, 3] Operation: 34-31=3
Exploring Operation: 34+53=87, Resulting Numbers: [31, 87]
Generated Node #0,2,4: 89:[31, 87] Operation: 34+53=87
Moving to Node #0,2,1
Current State: 89:[53, 65], Operations: ['9+22=31', '34+31=65']
Exploring Operation: 53*65=3445, Resulting Numbers: [3445]
3445,89 unequal: No Solution
Exploring Operation: 53+65=118, Resulting Numbers: [118]
118,89 unequal: No Solution
Exploring Operation: 65-53=12, Resulting Numbers: [12]
12,89 unequal: No Solution
Moving to Node #0,2,4
Current State: 89:[31, 87], Operations: ['9+22=31', '34+53=87']
Exploring Operation: 31+87=118, Resulting Numbers: [118]
118,89 unequal: No Solution
Exploring Operation: 87-31=56, Resulting Numbers: [56]
56,89 unequal: No Solution
Exploring Operation: 31*87=2697, Resulting Numbers: [2697]
2697,89 unequal: No Solution
Moving to Node #0,2,2
Current State: 89:[34, 84], Operations: ['9+22=31', '53+31=84']
Exploring Operation: 34+84=118, Resulting Numbers: [118]
118,89 unequal: No Solution
Exploring Operation: 34*84=2856, Resulting Numbers: [2856]
2856,89 unequal: No Solution
Exploring Operation: 84-34=50, Resulting Numbers: [50]
50,89 unequal: No Solution
Moving to Node #0,2,0
Current State: 89:[34, 22], Operations: ['9+22=31', '53-31=22']
Exploring Operation: 34+22=56, Resulting Numbers: [56]
56,89 unequal: No Solution
Exploring Operation: 34*22=748, Resulting Numbers: [748]
748,89 unequal: No Solution
Exploring Operation: 34-22=12, Resulting Numbers: [12]
12,89 unequal: No Solution
Moving to Node #0,2,3
Current State: 89:[53, 3], Operations: ['9+22=31', '34-31=3']
Exploring Operation: 53*3=159, Resulting Numbers: [159]
159,89 unequal: No Solution
Exploring Operation: 53-3=50, Resulting Numbers: [50]
50,89 unequal: No Solution
Exploring Operation: 53+3=56, Resulting Numbers: [56]
56,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 89:[9, 53, 56], Operations: ['22+34=56']
Exploring Operation: 9+56=65, Resulting Numbers: [53, 65]
Generated Node #0,3,0: 89:[53, 65] Operation: 9+56=65
Exploring Operation: 53-9=44, Resulting Numbers: [56, 44]
Generated Node #0,3,1: 89:[56, 44] Operation: 53-9=44
Exploring Operation: 9+53=62, Resulting Numbers: [56, 62]
Generated Node #0,3,2: 89:[56, 62] Operation: 9+53=62
Exploring Operation: 53+56=109, Resulting Numbers: [9, 109]
Generated Node #0,3,3: 89:[9, 109] Operation: 53+56=109
Exploring Operation: 56-9=47, Resulting Numbers: [53, 47]
Generated Node #0,3,4: 89:[53, 47] Operation: 56-9=47
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 89:[53, 65], Operations: ['22+34=56', '9+56=65']
Exploring Operation: 65-53=12, Resulting Numbers: [12]
12,89 unequal: No Solution
Exploring Operation: 53+65=118, Resulting Numbers: [118]
118,89 unequal: No Solution
Exploring Operation: 53*65=3445, Resulting Numbers: [3445]
3445,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 89:[56, 62], Operations: ['22+34=56', '9+53=62']
Exploring Operation: 62-56=6, Resulting Numbers: [6]
6,89 unequal: No Solution
Exploring Operation: 56+62=118, Resulting Numbers: [118]
118,89 unequal: No Solution
Exploring Operation: 56*62=3472, Resulting Numbers: [3472]
3472,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 89:[56, 44], Operations: ['22+34=56', '53-9=44']
Exploring Operation: 56-44=12, Resulting Numbers: [12]
12,89 unequal: No Solution
Exploring Operation: 56*44=2464, Resulting Numbers: [2464]
2464,89 unequal: No Solution
Exploring Operation: 56+44=100, Resulting Numbers: [100]
100,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 89:[53, 47], Operations: ['22+34=56', '56-9=47']
Exploring Operation: 53+47=100, Resulting Numbers: [100]
100,89 unequal: No Solution
Exploring Operation: 53-47=6, Resulting Numbers: [6]
6,89 unequal: No Solution
Exploring Operation: 53*47=2491, Resulting Numbers: [2491]
2491,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 89:[9, 109], Operations: ['22+34=56', '53+56=109']
Exploring Operation: 9*109=981, Resulting Numbers: [981]
981,89 unequal: No Solution
Exploring Operation: 109-9=100, Resulting Numbers: [100]
100,89 unequal: No Solution
Exploring Operation: 9+109=118, Resulting Numbers: [118]
118,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 89:[22, 53, 43], Operations: ['9+34=43']
Exploring Operation: 43-22=21, Resulting Numbers: [53, 21]
Generated Node #0,4,0: 89:[53, 21] Operation: 43-22=21
Exploring Operation: 53+43=96, Resulting Numbers: [22, 96]
Generated Node #0,4,1: 89:[22, 96] Operation: 53+43=96
Exploring Operation: 22+43=65, Resulting Numbers: [53, 65]
Generated Node #0,4,2: 89:[53, 65] Operation: 22+43=65
Exploring Operation: 22+53=75, Resulting Numbers: [43, 75]
Generated Node #0,4,3: 89:[43, 75] Operation: 22+53=75
Exploring Operation: 53-22=31, Resulting Numbers: [43, 31]
Generated Node #0,4,4: 89:[43, 31] Operation: 53-22=31
Moving to Node #0,4,2
Current State: 89:[53, 65], Operations: ['9+34=43', '22+43=65']
Exploring Operation: 65-53=12, Resulting Numbers: [12]
12,89 unequal: No Solution
Exploring Operation: 53+65=118, Resulting Numbers: [118]
118,89 unequal: No Solution
Exploring Operation: 53*65=3445, Resulting Numbers: [3445]
3445,89 unequal: No Solution
Moving to Node #0,4,3
Current State: 89:[43, 75], Operations: ['9+34=43', '22+53=75']
Exploring Operation: 75-43=32, Resulting Numbers: [32]
32,89 unequal: No Solution
Exploring Operation: 43*75=3225, Resulting Numbers: [3225]
3225,89 unequal: No Solution
Exploring Operation: 43+75=118, Resulting Numbers: [118]
118,89 unequal: No Solution
Moving to Node #0,4,1
Current State: 89:[22, 96], Operations: ['9+34=43', '53+43=96']
Exploring Operation: 22*96=2112, Resulting Numbers: [2112]
2112,89 unequal: No Solution
Exploring Operation: 96-22=74, Resulting Numbers: [74]
74,89 unequal: No Solution
Exploring Operation: 22+96=118, Resulting Numbers: [118]
118,89 unequal: No Solution
Moving to Node #0,4,0
Current State: 89:[53, 21], Operations: ['9+34=43', '43-22=21']
Exploring Operation: 53*21=1113, Resulting Numbers: [1113]
1113,89 unequal: No Solution
Exploring Operation: 53+21=74, Resulting Numbers: [74]
74,89 unequal: No Solution
Exploring Operation: 53-21=32, Resulting Numbers: [32]
32,89 unequal: No Solution
Moving to Node #0,4,4
Current State: 89:[43, 31], Operations: ['9+34=43', '53-22=31']
Exploring Operation: 43+31=74, Resulting Numbers: [74]
74,89 unequal: No Solution
Exploring Operation: 43*31=1333, Resulting Numbers: [1333]
1333,89 unequal: No Solution
Exploring Operation: 43-31=12, Resulting Numbers: [12]
12,89 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 |
[
54,
60,
43,
26
] | 45 | [
"54+60=114",
"43+26=69",
"114-69=45"
] | Current State: 45:[54, 60, 43, 26], Operations: []
Exploring Operation: 54+60=114, Resulting Numbers: [43, 26, 114]
Generated Node #2: [43, 26, 114] from Operation: 54+60=114
Current State: 45:[43, 26, 114], Operations: ['54+60=114']
Exploring Operation: 43+26=69, Resulting Numbers: [114, 69]
Generated Node #3: [114, 69] from Operation: 43+26=69
Current State: 45:[114, 69], Operations: ['54+60=114', '43+26=69']
Exploring Operation: 114-69=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[54, 60, 43, 26], Operations: []
Exploring Operation: 54-43=11, Resulting Numbers: [60, 26, 11]
Generated Node #0,0: 45:[60, 26, 11] Operation: 54-43=11
Exploring Operation: 60-54=6, Resulting Numbers: [43, 26, 6]
Generated Node #0,1: 45:[43, 26, 6] Operation: 60-54=6
Exploring Operation: 60-43=17, Resulting Numbers: [54, 26, 17]
Generated Node #0,2: 45:[54, 26, 17] Operation: 60-43=17
Exploring Operation: 60-26=34, Resulting Numbers: [54, 43, 34]
Generated Node #0,3: 45:[54, 43, 34] Operation: 60-26=34
Exploring Operation: 43-26=17, Resulting Numbers: [54, 60, 17]
Generated Node #0,4: 45:[54, 60, 17] Operation: 43-26=17
Moving to Node #0,1
Current State: 45:[43, 26, 6], Operations: ['60-54=6']
Exploring Operation: 43-26=17, Resulting Numbers: [6, 17]
Generated Node #0,1,0: 45:[6, 17] Operation: 43-26=17
Exploring Operation: 26+6=32, Resulting Numbers: [43, 32]
Generated Node #0,1,1: 45:[43, 32] Operation: 26+6=32
Exploring Operation: 43-6=37, Resulting Numbers: [26, 37]
Generated Node #0,1,2: 45:[26, 37] Operation: 43-6=37
Exploring Operation: 26-6=20, Resulting Numbers: [43, 20]
Generated Node #0,1,3: 45:[43, 20] Operation: 26-6=20
Exploring Operation: 43+6=49, Resulting Numbers: [26, 49]
Generated Node #0,1,4: 45:[26, 49] Operation: 43+6=49
Moving to Node #0,3
Current State: 45:[54, 43, 34], Operations: ['60-26=34']
Exploring Operation: 54-34=20, Resulting Numbers: [43, 20]
Generated Node #0,3,0: 45:[43, 20] Operation: 54-34=20
Exploring Operation: 43-34=9, Resulting Numbers: [54, 9]
Generated Node #0,3,1: 45:[54, 9] Operation: 43-34=9
Exploring Operation: 54+34=88, Resulting Numbers: [43, 88]
Generated Node #0,3,2: 45:[43, 88] Operation: 54+34=88
Exploring Operation: 54-43=11, Resulting Numbers: [34, 11]
Generated Node #0,3,3: 45:[34, 11] Operation: 54-43=11
Exploring Operation: 43+34=77, Resulting Numbers: [54, 77]
Generated Node #0,3,4: 45:[54, 77] Operation: 43+34=77
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 45:[43, 20], Operations: ['60-26=34', '54-34=20']
Exploring Operation: 43*20=860, Resulting Numbers: [860]
860,45 unequal: No Solution
Exploring Operation: 43+20=63, Resulting Numbers: [63]
63,45 unequal: No Solution
Exploring Operation: 43-20=23, Resulting Numbers: [23]
23,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 45:[54, 9], Operations: ['60-26=34', '43-34=9']
Exploring Operation: 54-9=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[54, 60, 43, 26], Operations: []
Exploring Operation: 60-26=34, Resulting Numbers: [54, 43, 34]
Generated Node #0,3: 45:[54, 43, 34] Operation: 60-26=34
Moving to Node #0,3
Current State: 45:[54, 43, 34], Operations: ['60-26=34']
Exploring Operation: 43-34=9, Resulting Numbers: [54, 9]
Generated Node #0,3,1: 45:[54, 9] Operation: 43-34=9
Moving to Node #0,3,1
Current State: 45:[54, 9], Operations: ['60-26=34', '43-34=9']
Exploring Operation: 54-9=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_5 | sum_heuristic |
[
31,
17,
71,
89
] | 30 | [
"31+17=48",
"89-71=18",
"48-18=30"
] | Current State: 30:[31, 17, 71, 89], Operations: []
Exploring Operation: 31+17=48, Resulting Numbers: [71, 89, 48]
Generated Node #2: [71, 89, 48] from Operation: 31+17=48
Current State: 30:[71, 89, 48], Operations: ['31+17=48']
Exploring Operation: 89-71=18, Resulting Numbers: [48, 18]
Generated Node #3: [48, 18] from Operation: 89-71=18
Current State: 30:[48, 18], Operations: ['31+17=48', '89-71=18']
Exploring Operation: 48-18=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[31, 17, 71, 89], Operations: []
Exploring Operation: 71-31=40, Resulting Numbers: [17, 89, 40]
Generated Node #0,0: 30:[17, 89, 40] Operation: 71-31=40
Exploring Operation: 89-71=18, Resulting Numbers: [31, 17, 18]
Generated Node #0,1: 30:[31, 17, 18] Operation: 89-71=18
Exploring Operation: 89-31=58, Resulting Numbers: [17, 71, 58]
Generated Node #0,2: 30:[17, 71, 58] Operation: 89-31=58
Moving to Node #0,1
Current State: 30:[31, 17, 18], Operations: ['89-71=18']
Exploring Operation: 18-17=1, Resulting Numbers: [31, 1]
Generated Node #0,1,0: 30:[31, 1] Operation: 18-17=1
Exploring Operation: 31-17=14, Resulting Numbers: [18, 14]
Generated Node #0,1,1: 30:[18, 14] Operation: 31-17=14
Exploring Operation: 31-18=13, Resulting Numbers: [17, 13]
Generated Node #0,1,2: 30:[17, 13] Operation: 31-18=13
Moving to Node #0,0
Current State: 30:[17, 89, 40], Operations: ['71-31=40']
Exploring Operation: 89-17=72, Resulting Numbers: [40, 72]
Generated Node #0,0,0: 30:[40, 72] Operation: 89-17=72
Exploring Operation: 89-40=49, Resulting Numbers: [17, 49]
Generated Node #0,0,1: 30:[17, 49] Operation: 89-40=49
Exploring Operation: 40-17=23, Resulting Numbers: [89, 23]
Generated Node #0,0,2: 30:[89, 23] Operation: 40-17=23
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 30:[17, 49], Operations: ['71-31=40', '89-40=49']
Exploring Operation: 49-17=32, Resulting Numbers: [32]
32,30 unequal: No Solution
Exploring Operation: 17*49=833, Resulting Numbers: [833]
833,30 unequal: No Solution
Exploring Operation: 17+49=66, Resulting Numbers: [66]
66,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 30:[40, 72], Operations: ['71-31=40', '89-17=72']
Exploring Operation: 72-40=32, Resulting Numbers: [32]
32,30 unequal: No Solution
Exploring Operation: 40*72=2880, Resulting Numbers: [2880]
2880,30 unequal: No Solution
Exploring Operation: 40+72=112, Resulting Numbers: [112]
112,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 30:[89, 23], Operations: ['71-31=40', '40-17=23']
Exploring Operation: 89-23=66, Resulting Numbers: [66]
66,30 unequal: No Solution
Exploring Operation: 89+23=112, Resulting Numbers: [112]
112,30 unequal: No Solution
Exploring Operation: 89*23=2047, Resulting Numbers: [2047]
2047,30 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: 30:[17, 71, 58], Operations: ['89-31=58']
Exploring Operation: 58-17=41, Resulting Numbers: [71, 41]
Generated Node #0,2,0: 30:[71, 41] Operation: 58-17=41
Exploring Operation: 71-58=13, Resulting Numbers: [17, 13]
Generated Node #0,2,1: 30:[17, 13] Operation: 71-58=13
Exploring Operation: 71-17=54, Resulting Numbers: [58, 54]
Generated Node #0,2,2: 30:[58, 54] Operation: 71-17=54
Moving to Node #0,1,0
Current State: 30:[31, 1], Operations: ['89-71=18', '18-17=1']
Exploring Operation: 31-1=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[31, 17, 71, 89], Operations: []
Exploring Operation: 89-71=18, Resulting Numbers: [31, 17, 18]
Generated Node #0,1: 30:[31, 17, 18] Operation: 89-71=18
Moving to Node #0,1
Current State: 30:[31, 17, 18], Operations: ['89-71=18']
Exploring Operation: 18-17=1, Resulting Numbers: [31, 1]
Generated Node #0,1,0: 30:[31, 1] Operation: 18-17=1
Moving to Node #0,1,0
Current State: 30:[31, 1], Operations: ['89-71=18', '18-17=1']
Exploring Operation: 31-1=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 0.977431 | hs_3 | sum_heuristic |
[
91,
63,
21,
54
] | 73 | [
"63/21=3",
"54/3=18",
"91-18=73"
] | Current State: 73:[91, 63, 21, 54], Operations: []
Exploring Operation: 63/21=3, Resulting Numbers: [91, 54, 3]
Generated Node #2: [91, 54, 3] from Operation: 63/21=3
Current State: 73:[91, 54, 3], Operations: ['63/21=3']
Exploring Operation: 54/3=18, Resulting Numbers: [91, 18]
Generated Node #3: [91, 18] from Operation: 54/3=18
Current State: 73:[91, 18], Operations: ['63/21=3', '54/3=18']
Exploring Operation: 91-18=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[91, 63, 21, 54], Operations: []
Exploring Operation: 91+21=112, Resulting Numbers: [63, 54, 112]
Generated Node #0,0: 73:[63, 54, 112] Operation: 91+21=112
Exploring Operation: 91-21=70, Resulting Numbers: [63, 54, 70]
Generated Node #0,1: 73:[63, 54, 70] Operation: 91-21=70
Exploring Operation: 63+21=84, Resulting Numbers: [91, 54, 84]
Generated Node #0,2: 73:[91, 54, 84] Operation: 63+21=84
Exploring Operation: 21+54=75, Resulting Numbers: [91, 63, 75]
Generated Node #0,3: 73:[91, 63, 75] Operation: 21+54=75
Moving to Node #0,3
Current State: 73:[91, 63, 75], Operations: ['21+54=75']
Exploring Operation: 91-63=28, Resulting Numbers: [75, 28]
Generated Node #0,3,0: 73:[75, 28] Operation: 91-63=28
Exploring Operation: 75-63=12, Resulting Numbers: [91, 12]
Generated Node #0,3,1: 73:[91, 12] Operation: 75-63=12
Exploring Operation: 91-75=16, Resulting Numbers: [63, 16]
Generated Node #0,3,2: 73:[63, 16] Operation: 91-75=16
Exploring Operation: 91+63=154, Resulting Numbers: [75, 154]
Generated Node #0,3,3: 73:[75, 154] Operation: 91+63=154
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 73:[75, 28], Operations: ['21+54=75', '91-63=28']
Exploring Operation: 75+28=103, Resulting Numbers: [103]
103,73 unequal: No Solution
Exploring Operation: 75-28=47, Resulting Numbers: [47]
47,73 unequal: No Solution
Exploring Operation: 75*28=2100, Resulting Numbers: [2100]
2100,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,3,2
Current State: 73:[63, 16], Operations: ['21+54=75', '91-75=16']
Exploring Operation: 63-16=47, Resulting Numbers: [47]
47,73 unequal: No Solution
Exploring Operation: 63*16=1008, Resulting Numbers: [1008]
1008,73 unequal: No Solution
Exploring Operation: 63+16=79, Resulting Numbers: [79]
79,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,3,1
Current State: 73:[91, 12], Operations: ['21+54=75', '75-63=12']
Exploring Operation: 91+12=103, Resulting Numbers: [103]
103,73 unequal: No Solution
Exploring Operation: 91*12=1092, Resulting Numbers: [1092]
1092,73 unequal: No Solution
Exploring Operation: 91-12=79, Resulting Numbers: [79]
79,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,3,3
Current State: 73:[75, 154], Operations: ['21+54=75', '91+63=154']
Exploring Operation: 75*154=11550, Resulting Numbers: [11550]
11550,73 unequal: No Solution
Exploring Operation: 75+154=229, Resulting Numbers: [229]
229,73 unequal: No Solution
Exploring Operation: 154-75=79, Resulting Numbers: [79]
79,73 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: 73:[63, 54, 70], Operations: ['91-21=70']
Exploring Operation: 70-54=16, Resulting Numbers: [63, 16]
Generated Node #0,1,0: 73:[63, 16] Operation: 70-54=16
Exploring Operation: 63+54=117, Resulting Numbers: [70, 117]
Generated Node #0,1,1: 73:[70, 117] Operation: 63+54=117
Exploring Operation: 63-54=9, Resulting Numbers: [70, 9]
Generated Node #0,1,2: 73:[70, 9] Operation: 63-54=9
Exploring Operation: 54+70=124, Resulting Numbers: [63, 124]
Generated Node #0,1,3: 73:[63, 124] Operation: 54+70=124
Moving to Node #0,2
Current State: 73:[91, 54, 84], Operations: ['63+21=84']
Exploring Operation: 54+84=138, Resulting Numbers: [91, 138]
Generated Node #0,2,0: 73:[91, 138] Operation: 54+84=138
Exploring Operation: 91-54=37, Resulting Numbers: [84, 37]
Generated Node #0,2,1: 73:[84, 37] Operation: 91-54=37
Exploring Operation: 84-54=30, Resulting Numbers: [91, 30]
Generated Node #0,2,2: 73:[91, 30] Operation: 84-54=30
Exploring Operation: 91+54=145, Resulting Numbers: [84, 145]
Generated Node #0,2,3: 73:[84, 145] Operation: 91+54=145
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 73:[84, 37], Operations: ['63+21=84', '91-54=37']
Exploring Operation: 84+37=121, Resulting Numbers: [121]
121,73 unequal: No Solution
Exploring Operation: 84*37=3108, Resulting Numbers: [3108]
3108,73 unequal: No Solution
Exploring Operation: 84-37=47, Resulting Numbers: [47]
47,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 73:[91, 30], Operations: ['63+21=84', '84-54=30']
Exploring Operation: 91-30=61, Resulting Numbers: [61]
61,73 unequal: No Solution
Exploring Operation: 91*30=2730, Resulting Numbers: [2730]
2730,73 unequal: No Solution
Exploring Operation: 91+30=121, Resulting Numbers: [121]
121,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 73:[91, 138], Operations: ['63+21=84', '54+84=138']
Exploring Operation: 91+138=229, Resulting Numbers: [229]
229,73 unequal: No Solution
Exploring Operation: 91*138=12558, Resulting Numbers: [12558]
12558,73 unequal: No Solution
Exploring Operation: 138-91=47, Resulting Numbers: [47]
47,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 73:[84, 145], Operations: ['63+21=84', '91+54=145']
Exploring Operation: 84+145=229, Resulting Numbers: [229]
229,73 unequal: No Solution
Exploring Operation: 145-84=61, Resulting Numbers: [61]
61,73 unequal: No Solution
Exploring Operation: 84*145=12180, Resulting Numbers: [12180]
12180,73 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: 73:[63, 54, 112], Operations: ['91+21=112']
Exploring Operation: 63+54=117, Resulting Numbers: [112, 117]
Generated Node #0,0,0: 73:[112, 117] Operation: 63+54=117
Exploring Operation: 63-54=9, Resulting Numbers: [112, 9]
Generated Node #0,0,1: 73:[112, 9] Operation: 63-54=9
Exploring Operation: 112-54=58, Resulting Numbers: [63, 58]
Generated Node #0,0,2: 73:[63, 58] Operation: 112-54=58
Exploring Operation: 112-63=49, Resulting Numbers: [54, 49]
Generated Node #0,0,3: 73:[54, 49] Operation: 112-63=49
Moving to Node #0,0,2
Current State: 73:[63, 58], Operations: ['91+21=112', '112-54=58']
Exploring Operation: 63*58=3654, Resulting Numbers: [3654]
3654,73 unequal: No Solution
Exploring Operation: 63+58=121, Resulting Numbers: [121]
121,73 unequal: No Solution
Exploring Operation: 63-58=5, Resulting Numbers: [5]
5,73 unequal: No Solution
Moving to Node #0,0,3
Current State: 73:[54, 49], Operations: ['91+21=112', '112-63=49']
Exploring Operation: 54+49=103, Resulting Numbers: [103]
103,73 unequal: No Solution
Exploring Operation: 54*49=2646, Resulting Numbers: [2646]
2646,73 unequal: No Solution
Exploring Operation: 54-49=5, Resulting Numbers: [5]
5,73 unequal: No Solution
Moving to Node #0,1,1
Current State: 73:[70, 117], Operations: ['91-21=70', '63+54=117']
Exploring Operation: 117-70=47, Resulting Numbers: [47]
47,73 unequal: No Solution
Exploring Operation: 70+117=187, Resulting Numbers: [187]
187,73 unequal: No Solution
Exploring Operation: 70*117=8190, Resulting Numbers: [8190]
8190,73 unequal: No Solution
Moving to Node #0,1,3
Current State: 73:[63, 124], Operations: ['91-21=70', '54+70=124']
Exploring Operation: 124-63=61, Resulting Numbers: [61]
61,73 unequal: No Solution
Exploring Operation: 63+124=187, Resulting Numbers: [187]
187,73 unequal: No Solution
Exploring Operation: 63*124=7812, Resulting Numbers: [7812]
7812,73 unequal: No Solution
Moving to Node #0,1,0
Current State: 73:[63, 16], Operations: ['91-21=70', '70-54=16']
Exploring Operation: 63+16=79, Resulting Numbers: [79]
79,73 unequal: No Solution
Exploring Operation: 63*16=1008, Resulting Numbers: [1008]
1008,73 unequal: No Solution
Exploring Operation: 63-16=47, Resulting Numbers: [47]
47,73 unequal: No Solution
Moving to Node #0,1,2
Current State: 73:[70, 9], Operations: ['91-21=70', '63-54=9']
Exploring Operation: 70+9=79, Resulting Numbers: [79]
79,73 unequal: No Solution
Exploring Operation: 70-9=61, Resulting Numbers: [61]
61,73 unequal: No Solution
Exploring Operation: 70*9=630, Resulting Numbers: [630]
630,73 unequal: No Solution
Moving to Node #0,0,0
Current State: 73:[112, 117], Operations: ['91+21=112', '63+54=117']
Exploring Operation: 112+117=229, Resulting Numbers: [229]
229,73 unequal: No Solution
Exploring Operation: 112*117=13104, Resulting Numbers: [13104]
13104,73 unequal: No Solution
Exploring Operation: 117-112=5, Resulting Numbers: [5]
5,73 unequal: No Solution
Moving to Node #0,0,1
Current State: 73:[112, 9], Operations: ['91+21=112', '63-54=9']
Exploring Operation: 112*9=1008, Resulting Numbers: [1008]
1008,73 unequal: No Solution
Exploring Operation: 112+9=121, Resulting Numbers: [121]
121,73 unequal: No Solution
Exploring Operation: 112-9=103, Resulting Numbers: [103]
103,73 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
18,
66,
37,
31
] | 20 | [
"66-18=48",
"37+31=68",
"68-48=20"
] | Current State: 20:[18, 66, 37, 31], Operations: []
Exploring Operation: 66-18=48, Resulting Numbers: [37, 31, 48]
Generated Node #2: [37, 31, 48] from Operation: 66-18=48
Current State: 20:[37, 31, 48], Operations: ['66-18=48']
Exploring Operation: 37+31=68, Resulting Numbers: [48, 68]
Generated Node #3: [48, 68] from Operation: 37+31=68
Current State: 20:[48, 68], Operations: ['66-18=48', '37+31=68']
Exploring Operation: 68-48=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[18, 66, 37, 31], Operations: []
Exploring Operation: 66-31=35, Resulting Numbers: [18, 37, 35]
Generated Node #0,0: 20:[18, 37, 35] Operation: 66-31=35
Exploring Operation: 66-18=48, Resulting Numbers: [37, 31, 48]
Generated Node #0,1: 20:[37, 31, 48] Operation: 66-18=48
Exploring Operation: 37-18=19, Resulting Numbers: [66, 31, 19]
Generated Node #0,2: 20:[66, 31, 19] Operation: 37-18=19
Exploring Operation: 37-31=6, Resulting Numbers: [18, 66, 6]
Generated Node #0,3: 20:[18, 66, 6] Operation: 37-31=6
Exploring Operation: 66-37=29, Resulting Numbers: [18, 31, 29]
Generated Node #0,4: 20:[18, 31, 29] Operation: 66-37=29
Moving to Node #0,4
Current State: 20:[18, 31, 29], Operations: ['66-37=29']
Exploring Operation: 31-18=13, Resulting Numbers: [29, 13]
Generated Node #0,4,0: 20:[29, 13] Operation: 31-18=13
Exploring Operation: 18+31=49, Resulting Numbers: [29, 49]
Generated Node #0,4,1: 20:[29, 49] Operation: 18+31=49
Exploring Operation: 18+29=47, Resulting Numbers: [31, 47]
Generated Node #0,4,2: 20:[31, 47] Operation: 18+29=47
Exploring Operation: 29-18=11, Resulting Numbers: [31, 11]
Generated Node #0,4,3: 20:[31, 11] Operation: 29-18=11
Exploring Operation: 31-29=2, Resulting Numbers: [18, 2]
Generated Node #0,4,4: 20:[18, 2] Operation: 31-29=2
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 20:[18, 2], Operations: ['66-37=29', '31-29=2']
Exploring Operation: 18+2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[18, 66, 37, 31], Operations: []
Exploring Operation: 66-37=29, Resulting Numbers: [18, 31, 29]
Generated Node #0,4: 20:[18, 31, 29] Operation: 66-37=29
Moving to Node #0,4
Current State: 20:[18, 31, 29], Operations: ['66-37=29']
Exploring Operation: 31-29=2, Resulting Numbers: [18, 2]
Generated Node #0,4,4: 20:[18, 2] Operation: 31-29=2
Moving to Node #0,4,4
Current State: 20:[18, 2], Operations: ['66-37=29', '31-29=2']
Exploring Operation: 18+2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
12,
6,
1,
49
] | 55 | [
"12-6=6",
"1*49=49",
"6+49=55"
] | Current State: 55:[12, 6, 1, 49], Operations: []
Exploring Operation: 12-6=6, Resulting Numbers: [1, 49, 6]
Generated Node #2: [1, 49, 6] from Operation: 12-6=6
Current State: 55:[1, 49, 6], Operations: ['12-6=6']
Exploring Operation: 1*49=49, Resulting Numbers: [6, 49]
Generated Node #3: [6, 49] from Operation: 1*49=49
Current State: 55:[6, 49], Operations: ['12-6=6', '1*49=49']
Exploring Operation: 6+49=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[12, 6, 1, 49], Operations: []
Exploring Operation: 6+49=55, Resulting Numbers: [12, 1, 55]
Generated Node #0,0: 55:[12, 1, 55] Operation: 6+49=55
Exploring Operation: 6-1=5, Resulting Numbers: [12, 49, 5]
Generated Node #0,1: 55:[12, 49, 5] Operation: 6-1=5
Exploring Operation: 12-1=11, Resulting Numbers: [6, 49, 11]
Generated Node #0,2: 55:[6, 49, 11] Operation: 12-1=11
Exploring Operation: 1+49=50, Resulting Numbers: [12, 6, 50]
Generated Node #0,3: 55:[12, 6, 50] Operation: 1+49=50
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[12, 1, 55], Operations: ['6+49=55']
Exploring Operation: 12/1=12, Resulting Numbers: [55, 12]
Generated Node #0,0,0: 55:[55, 12] Operation: 12/1=12
Exploring Operation: 1*55=55, Resulting Numbers: [12, 55]
Generated Node #0,0,1: 55:[12, 55] Operation: 1*55=55
Exploring Operation: 12-1=11, Resulting Numbers: [55, 11]
Generated Node #0,0,2: 55:[55, 11] Operation: 12-1=11
Exploring Operation: 12*1=12, Resulting Numbers: [55, 12]
Generated Node #0,0,3: 55:[55, 12] Operation: 12*1=12
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 55:[55, 11], Operations: ['6+49=55', '12-1=11']
Exploring Operation: 55/11=5, Resulting Numbers: [5]
5,55 unequal: No Solution
Exploring Operation: 55*11=605, Resulting Numbers: [605]
605,55 unequal: No Solution
Exploring Operation: 55-11=44, Resulting Numbers: [44]
44,55 unequal: No Solution
Exploring Operation: 55+11=66, Resulting Numbers: [66]
66,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,0,0
Current State: 55:[55, 12], Operations: ['6+49=55', '12/1=12']
Exploring Operation: 55-12=43, Resulting Numbers: [43]
43,55 unequal: No Solution
Exploring Operation: 55*12=660, Resulting Numbers: [660]
660,55 unequal: No Solution
Exploring Operation: 55+12=67, Resulting Numbers: [67]
67,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,0,1
Current State: 55:[12, 55], Operations: ['6+49=55', '1*55=55']
Exploring Operation: 12+55=67, Resulting Numbers: [67]
67,55 unequal: No Solution
Exploring Operation: 55-12=43, Resulting Numbers: [43]
43,55 unequal: No Solution
Exploring Operation: 12*55=660, Resulting Numbers: [660]
660,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,0,3
Current State: 55:[55, 12], Operations: ['6+49=55', '12*1=12']
Exploring Operation: 55*12=660, Resulting Numbers: [660]
660,55 unequal: No Solution
Exploring Operation: 55+12=67, Resulting Numbers: [67]
67,55 unequal: No Solution
Exploring Operation: 55-12=43, Resulting Numbers: [43]
43,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:[12, 49, 5], Operations: ['6-1=5']
Exploring Operation: 12*5=60, Resulting Numbers: [49, 60]
Generated Node #0,1,0: 55:[49, 60] Operation: 12*5=60
Exploring Operation: 12-5=7, Resulting Numbers: [49, 7]
Generated Node #0,1,1: 55:[49, 7] Operation: 12-5=7
Exploring Operation: 12+49=61, Resulting Numbers: [5, 61]
Generated Node #0,1,2: 55:[5, 61] Operation: 12+49=61
Exploring Operation: 49+5=54, Resulting Numbers: [12, 54]
Generated Node #0,1,3: 55:[12, 54] Operation: 49+5=54
Moving to Node #0,1,3
Current State: 55:[12, 54], Operations: ['6-1=5', '49+5=54']
Exploring Operation: 12+54=66, Resulting Numbers: [66]
66,55 unequal: No Solution
Exploring Operation: 54-12=42, Resulting Numbers: [42]
42,55 unequal: No Solution
Exploring Operation: 12*54=648, Resulting Numbers: [648]
648,55 unequal: No Solution
Moving to Node #0,1,2
Current State: 55:[5, 61], Operations: ['6-1=5', '12+49=61']
Exploring Operation: 61-5=56, Resulting Numbers: [56]
56,55 unequal: No Solution
Exploring Operation: 5+61=66, Resulting Numbers: [66]
66,55 unequal: No Solution
Exploring Operation: 5*61=305, Resulting Numbers: [305]
305,55 unequal: No Solution
Moving to Node #0,1,1
Current State: 55:[49, 7], Operations: ['6-1=5', '12-5=7']
Exploring Operation: 49-7=42, Resulting Numbers: [42]
42,55 unequal: No Solution
Exploring Operation: 49+7=56, Resulting Numbers: [56]
56,55 unequal: No Solution
Exploring Operation: 49/7=7, Resulting Numbers: [7]
7,55 unequal: No Solution
Exploring Operation: 49*7=343, Resulting Numbers: [343]
343,55 unequal: No Solution
Moving to Node #0,1,0
Current State: 55:[49, 60], Operations: ['6-1=5', '12*5=60']
Exploring Operation: 49+60=109, Resulting Numbers: [109]
109,55 unequal: No Solution
Exploring Operation: 60-49=11, Resulting Numbers: [11]
11,55 unequal: No Solution
Exploring Operation: 49*60=2940, Resulting Numbers: [2940]
2940,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:[6, 49, 11], Operations: ['12-1=11']
Exploring Operation: 49-6=43, Resulting Numbers: [11, 43]
Generated Node #0,2,0: 55:[11, 43] Operation: 49-6=43
Exploring Operation: 49+11=60, Resulting Numbers: [6, 60]
Generated Node #0,2,1: 55:[6, 60] Operation: 49+11=60
Exploring Operation: 6+49=55, Resulting Numbers: [11, 55]
Generated Node #0,2,2: 55:[11, 55] Operation: 6+49=55
Exploring Operation: 11-6=5, Resulting Numbers: [49, 5]
Generated Node #0,2,3: 55:[49, 5] Operation: 11-6=5
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 55:[11, 55], Operations: ['12-1=11', '6+49=55']
Exploring Operation: 11+55=66, Resulting Numbers: [66]
66,55 unequal: No Solution
Exploring Operation: 55-11=44, Resulting Numbers: [44]
44,55 unequal: No Solution
Exploring Operation: 11*55=605, Resulting Numbers: [605]
605,55 unequal: No Solution
Exploring Operation: 55/11=5, Resulting Numbers: [5]
5,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:[6, 60], Operations: ['12-1=11', '49+11=60']
Exploring Operation: 60/6=10, Resulting Numbers: [10]
10,55 unequal: No Solution
Exploring Operation: 6+60=66, Resulting Numbers: [66]
66,55 unequal: No Solution
Exploring Operation: 6*60=360, Resulting Numbers: [360]
360,55 unequal: No Solution
Exploring Operation: 60-6=54, Resulting Numbers: [54]
54,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:[49, 5], Operations: ['12-1=11', '11-6=5']
Exploring Operation: 49+5=54, Resulting Numbers: [54]
54,55 unequal: No Solution
Exploring Operation: 49-5=44, Resulting Numbers: [44]
44,55 unequal: No Solution
Exploring Operation: 49*5=245, Resulting Numbers: [245]
245,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,0
Current State: 55:[11, 43], Operations: ['12-1=11', '49-6=43']
Exploring Operation: 11*43=473, Resulting Numbers: [473]
473,55 unequal: No Solution
Exploring Operation: 43-11=32, Resulting Numbers: [32]
32,55 unequal: No Solution
Exploring Operation: 11+43=54, Resulting Numbers: [54]
54,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,3
Current State: 55:[12, 6, 50], Operations: ['1+49=50']
Exploring Operation: 12/6=2, Resulting Numbers: [50, 2]
Generated Node #0,3,0: 55:[50, 2] Operation: 12/6=2
Exploring Operation: 12-6=6, Resulting Numbers: [50, 6]
Generated Node #0,3,1: 55:[50, 6] Operation: 12-6=6
Exploring Operation: 6+50=56, Resulting Numbers: [12, 56]
Generated Node #0,3,2: 55:[12, 56] Operation: 6+50=56
Exploring Operation: 12+50=62, Resulting Numbers: [6, 62]
Generated Node #0,3,3: 55:[6, 62] Operation: 12+50=62
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 55:[12, 56], Operations: ['1+49=50', '6+50=56']
Exploring Operation: 56-12=44, Resulting Numbers: [44]
44,55 unequal: No Solution
Exploring Operation: 12*56=672, Resulting Numbers: [672]
672,55 unequal: No Solution
Exploring Operation: 12+56=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,3,1
Current State: 55:[50, 6], Operations: ['1+49=50', '12-6=6']
Exploring Operation: 50-6=44, Resulting Numbers: [44]
44,55 unequal: No Solution
Exploring Operation: 50+6=56, Resulting Numbers: [56]
56,55 unequal: No Solution
Exploring Operation: 50*6=300, Resulting Numbers: [300]
300,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,0
Current State: 55:[50, 2], Operations: ['1+49=50', '12/6=2']
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,55 unequal: No Solution
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,55 unequal: No Solution
Exploring Operation: 50*2=100, Resulting Numbers: [100]
100,55 unequal: No Solution
Exploring Operation: 50+2=52, Resulting Numbers: [52]
52,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:[6, 62], Operations: ['1+49=50', '12+50=62']
Exploring Operation: 6*62=372, Resulting Numbers: [372]
372,55 unequal: No Solution
Exploring Operation: 6+62=68, Resulting Numbers: [68]
68,55 unequal: No Solution
Exploring Operation: 62-6=56, Resulting Numbers: [56]
56,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_4 | sum_heuristic |
[
80,
2,
85,
10
] | 97 | [
"2*85=170",
"170/10=17",
"80+17=97"
] | Current State: 97:[80, 2, 85, 10], Operations: []
Exploring Operation: 2*85=170, Resulting Numbers: [80, 10, 170]
Generated Node #2: [80, 10, 170] from Operation: 2*85=170
Current State: 97:[80, 10, 170], Operations: ['2*85=170']
Exploring Operation: 170/10=17, Resulting Numbers: [80, 17]
Generated Node #3: [80, 17] from Operation: 170/10=17
Current State: 97:[80, 17], Operations: ['2*85=170', '170/10=17']
Exploring Operation: 80+17=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[80, 2, 85, 10], Operations: []
Exploring Operation: 2*10=20, Resulting Numbers: [80, 85, 20]
Generated Node #0,0: 97:[80, 85, 20] Operation: 2*10=20
Moving to Node #0,0
Current State: 97:[80, 85, 20], Operations: ['2*10=20']
Exploring Operation: 80+20=100, Resulting Numbers: [85, 100]
Generated Node #0,0,0: 97:[85, 100] Operation: 80+20=100
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 97:[85, 100], Operations: ['2*10=20', '80+20=100']
Exploring Operation: 100-85=15, Resulting Numbers: [15]
15,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
96,
85,
96,
4
] | 13 | [
"96-85=11",
"96/4=24",
"24-11=13"
] | Current State: 13:[96, 85, 96, 4], Operations: []
Exploring Operation: 96-85=11, Resulting Numbers: [4, 11]
Generated Node #2: [4, 11] from Operation: 96-85=11
Current State: 13:[4, 11], Operations: ['96-85=11']
Exploring Operation: 96/4=24, Resulting Numbers: [11, 24]
Generated Node #3: [11, 24] from Operation: 96/4=24
Current State: 13:[11, 24], Operations: ['96-85=11', '96/4=24']
Exploring Operation: 24-11=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[96, 85, 96, 4], Operations: []
Exploring Operation: 96/96=1, Resulting Numbers: [85, 4, 1]
Generated Node #0,0: 13:[85, 4, 1] Operation: 96/96=1
Exploring Operation: 96-85=11, Resulting Numbers: [96, 4, 11]
Generated Node #0,1: 13:[96, 4, 11] Operation: 96-85=11
Exploring Operation: 96-96=0, Resulting Numbers: [85, 4, 0]
Generated Node #0,2: 13:[85, 4, 0] Operation: 96-96=0
Moving to Node #0,0
Current State: 13:[85, 4, 1], Operations: ['96/96=1']
Exploring Operation: 4+1=5, Resulting Numbers: [85, 5]
Generated Node #0,0,0: 13:[85, 5] Operation: 4+1=5
Exploring Operation: 85-4=81, Resulting Numbers: [1, 81]
Generated Node #0,0,1: 13:[1, 81] Operation: 85-4=81
Exploring Operation: 85-1=84, Resulting Numbers: [4, 84]
Generated Node #0,0,2: 13:[4, 84] Operation: 85-1=84
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 13:[85, 5], Operations: ['96/96=1', '4+1=5']
Exploring Operation: 85-5=80, Resulting Numbers: [80]
80,13 unequal: No Solution
Exploring Operation: 85/5=17, Resulting Numbers: [17]
17,13 unequal: No Solution
Exploring Operation: 85+5=90, Resulting Numbers: [90]
90,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 13:[1, 81], Operations: ['96/96=1', '85-4=81']
Exploring Operation: 1*81=81, Resulting Numbers: [81]
81,13 unequal: No Solution
Exploring Operation: 81-1=80, Resulting Numbers: [80]
80,13 unequal: No Solution
Exploring Operation: 81/1=81, Resulting Numbers: [81]
81,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 13:[4, 84], Operations: ['96/96=1', '85-1=84']
Exploring Operation: 84-4=80, Resulting Numbers: [80]
80,13 unequal: No Solution
Exploring Operation: 84/4=21, Resulting Numbers: [21]
21,13 unequal: No Solution
Exploring Operation: 4+84=88, Resulting Numbers: [88]
88,13 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: 13:[96, 4, 11], Operations: ['96-85=11']
Exploring Operation: 96/4=24, Resulting Numbers: [11, 24]
Generated Node #0,1,0: 13:[11, 24] Operation: 96/4=24
Exploring Operation: 96-11=85, Resulting Numbers: [4, 85]
Generated Node #0,1,1: 13:[4, 85] Operation: 96-11=85
Exploring Operation: 96-4=92, Resulting Numbers: [11, 92]
Generated Node #0,1,2: 13:[11, 92] Operation: 96-4=92
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 13:[11, 24], Operations: ['96-85=11', '96/4=24']
Exploring Operation: 11+24=35, Resulting Numbers: [35]
35,13 unequal: No Solution
Exploring Operation: 11*24=264, Resulting Numbers: [264]
264,13 unequal: No Solution
Exploring Operation: 24-11=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[96, 85, 96, 4], Operations: []
Exploring Operation: 96-85=11, Resulting Numbers: [96, 4, 11]
Generated Node #0,1: 13:[96, 4, 11] Operation: 96-85=11
Moving to Node #0,1
Current State: 13:[96, 4, 11], Operations: ['96-85=11']
Exploring Operation: 96/4=24, Resulting Numbers: [11, 24]
Generated Node #0,1,0: 13:[11, 24] Operation: 96/4=24
Moving to Node #0,1,0
Current State: 13:[11, 24], Operations: ['96-85=11', '96/4=24']
Exploring Operation: 24-11=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_3 | mult_heuristic |
[
64,
12,
94,
25
] | 17 | [
"64-12=52",
"94-25=69",
"69-52=17"
] | Current State: 17:[64, 12, 94, 25], Operations: []
Exploring Operation: 64-12=52, Resulting Numbers: [94, 25, 52]
Generated Node #2: [94, 25, 52] from Operation: 64-12=52
Current State: 17:[94, 25, 52], Operations: ['64-12=52']
Exploring Operation: 94-25=69, Resulting Numbers: [52, 69]
Generated Node #3: [52, 69] from Operation: 94-25=69
Current State: 17:[52, 69], Operations: ['64-12=52', '94-25=69']
Exploring Operation: 69-52=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[64, 12, 94, 25], Operations: []
Exploring Operation: 64-25=39, Resulting Numbers: [12, 94, 39]
Generated Node #0,0: 17:[12, 94, 39] Operation: 64-25=39
Exploring Operation: 94-12=82, Resulting Numbers: [64, 25, 82]
Generated Node #0,1: 17:[64, 25, 82] Operation: 94-12=82
Exploring Operation: 64-12=52, Resulting Numbers: [94, 25, 52]
Generated Node #0,2: 17:[94, 25, 52] Operation: 64-12=52
Exploring Operation: 94-25=69, Resulting Numbers: [64, 12, 69]
Generated Node #0,3: 17:[64, 12, 69] Operation: 94-25=69
Exploring Operation: 94-64=30, Resulting Numbers: [12, 25, 30]
Generated Node #0,4: 17:[12, 25, 30] Operation: 94-64=30
Start Sub Search at level 1: Moving to Node #0,4
Current State: 17:[12, 25, 30], Operations: ['94-64=30']
Exploring Operation: 12+30=42, Resulting Numbers: [25, 42]
Generated Node #0,4,0: 17:[25, 42] Operation: 12+30=42
Exploring Operation: 12+25=37, Resulting Numbers: [30, 37]
Generated Node #0,4,1: 17:[30, 37] Operation: 12+25=37
Exploring Operation: 30-25=5, Resulting Numbers: [12, 5]
Generated Node #0,4,2: 17:[12, 5] Operation: 30-25=5
Exploring Operation: 25-12=13, Resulting Numbers: [30, 13]
Generated Node #0,4,3: 17:[30, 13] Operation: 25-12=13
Exploring Operation: 30-12=18, Resulting Numbers: [25, 18]
Generated Node #0,4,4: 17:[25, 18] Operation: 30-12=18
Moving to Node #0,4,4
Current State: 17:[25, 18], Operations: ['94-64=30', '30-12=18']
Exploring Operation: 25-18=7, Resulting Numbers: [7]
7,17 unequal: No Solution
Exploring Operation: 25*18=450, Resulting Numbers: [450]
450,17 unequal: No Solution
Exploring Operation: 25+18=43, Resulting Numbers: [43]
43,17 unequal: No Solution
Moving to Node #0,4,3
Current State: 17:[30, 13], Operations: ['94-64=30', '25-12=13']
Exploring Operation: 30*13=390, Resulting Numbers: [390]
390,17 unequal: No Solution
Exploring Operation: 30+13=43, Resulting Numbers: [43]
43,17 unequal: No Solution
Exploring Operation: 30-13=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[64, 12, 94, 25], Operations: []
Exploring Operation: 94-64=30, Resulting Numbers: [12, 25, 30]
Generated Node #0,4: 17:[12, 25, 30] Operation: 94-64=30
Moving to Node #0,4
Current State: 17:[12, 25, 30], Operations: ['94-64=30']
Exploring Operation: 25-12=13, Resulting Numbers: [30, 13]
Generated Node #0,4,3: 17:[30, 13] Operation: 25-12=13
Moving to Node #0,4,3
Current State: 17:[30, 13], Operations: ['94-64=30', '25-12=13']
Exploring Operation: 30-13=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_5 | sum_heuristic |
[
7,
8,
11,
28
] | 91 | [
"11-8=3",
"28*3=84",
"7+84=91"
] | Current State: 91:[7, 8, 11, 28], Operations: []
Exploring Operation: 11-8=3, Resulting Numbers: [7, 28, 3]
Generated Node #2: [7, 28, 3] from Operation: 11-8=3
Current State: 91:[7, 28, 3], Operations: ['11-8=3']
Exploring Operation: 28*3=84, Resulting Numbers: [7, 84]
Generated Node #3: [7, 84] from Operation: 28*3=84
Current State: 91:[7, 84], Operations: ['11-8=3', '28*3=84']
Exploring Operation: 7+84=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[7, 8, 11, 28], Operations: []
Exploring Operation: 28/7=4, Resulting Numbers: [8, 11, 4]
Generated Node #0,0: 91:[8, 11, 4] Operation: 28/7=4
Exploring Operation: 28-11=17, Resulting Numbers: [7, 8, 17]
Generated Node #0,1: 91:[7, 8, 17] Operation: 28-11=17
Moving to Node #0,1
Current State: 91:[7, 8, 17], Operations: ['28-11=17']
Exploring Operation: 17-8=9, Resulting Numbers: [7, 9]
Generated Node #0,1,0: 91:[7, 9] Operation: 17-8=9
Exploring Operation: 17-7=10, Resulting Numbers: [8, 10]
Generated Node #0,1,1: 91:[8, 10] Operation: 17-7=10
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 91:[7, 9], Operations: ['28-11=17', '17-8=9']
Exploring Operation: 7+9=16, Resulting Numbers: [16]
16,91 unequal: No Solution
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 91:[8, 10], Operations: ['28-11=17', '17-7=10']
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,91 unequal: No Solution
Exploring Operation: 8+10=18, Resulting Numbers: [18]
18,91 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: 91:[8, 11, 4], Operations: ['28/7=4']
Exploring Operation: 11-4=7, Resulting Numbers: [8, 7]
Generated Node #0,0,0: 91:[8, 7] Operation: 11-4=7
Exploring Operation: 8+4=12, Resulting Numbers: [11, 12]
Generated Node #0,0,1: 91:[11, 12] Operation: 8+4=12
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 91:[8, 7], Operations: ['28/7=4', '11-4=7']
Exploring Operation: 8+7=15, Resulting Numbers: [15]
15,91 unequal: No Solution
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 91:[11, 12], Operations: ['28/7=4', '8+4=12']
Exploring Operation: 12-11=1, Resulting Numbers: [1]
1,91 unequal: No Solution
Exploring Operation: 11+12=23, Resulting Numbers: [23]
23,91 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 |
[
27,
71,
80,
41
] | 23 | [
"27+71=98",
"80+41=121",
"121-98=23"
] | Current State: 23:[27, 71, 80, 41], Operations: []
Exploring Operation: 27+71=98, Resulting Numbers: [80, 41, 98]
Generated Node #2: [80, 41, 98] from Operation: 27+71=98
Current State: 23:[80, 41, 98], Operations: ['27+71=98']
Exploring Operation: 80+41=121, Resulting Numbers: [98, 121]
Generated Node #3: [98, 121] from Operation: 80+41=121
Current State: 23:[98, 121], Operations: ['27+71=98', '80+41=121']
Exploring Operation: 121-98=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[27, 71, 80, 41], Operations: []
Exploring Operation: 80-41=39, Resulting Numbers: [27, 71, 39]
Generated Node #0,0: 23:[27, 71, 39] Operation: 80-41=39
Exploring Operation: 71-41=30, Resulting Numbers: [27, 80, 30]
Generated Node #0,1: 23:[27, 80, 30] Operation: 71-41=30
Exploring Operation: 80-71=9, Resulting Numbers: [27, 41, 9]
Generated Node #0,2: 23:[27, 41, 9] Operation: 80-71=9
Moving to Node #0,2
Current State: 23:[27, 41, 9], Operations: ['80-71=9']
Exploring Operation: 41-27=14, Resulting Numbers: [9, 14]
Generated Node #0,2,0: 23:[9, 14] Operation: 41-27=14
Exploring Operation: 27-9=18, Resulting Numbers: [41, 18]
Generated Node #0,2,1: 23:[41, 18] Operation: 27-9=18
Exploring Operation: 41-9=32, Resulting Numbers: [27, 32]
Generated Node #0,2,2: 23:[27, 32] Operation: 41-9=32
Moving to Node #0,0
Current State: 23:[27, 71, 39], Operations: ['80-41=39']
Exploring Operation: 71-39=32, Resulting Numbers: [27, 32]
Generated Node #0,0,0: 23:[27, 32] Operation: 71-39=32
Exploring Operation: 39-27=12, Resulting Numbers: [71, 12]
Generated Node #0,0,1: 23:[71, 12] Operation: 39-27=12
Exploring Operation: 71-27=44, Resulting Numbers: [39, 44]
Generated Node #0,0,2: 23:[39, 44] Operation: 71-27=44
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 23:[27, 32], Operations: ['80-41=39', '71-39=32']
Exploring Operation: 27*32=864, Resulting Numbers: [864]
864,23 unequal: No Solution
Exploring Operation: 32-27=5, Resulting Numbers: [5]
5,23 unequal: No Solution
Exploring Operation: 27+32=59, Resulting Numbers: [59]
59,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 23:[39, 44], Operations: ['80-41=39', '71-27=44']
Exploring Operation: 44-39=5, Resulting Numbers: [5]
5,23 unequal: No Solution
Exploring Operation: 39*44=1716, Resulting Numbers: [1716]
1716,23 unequal: No Solution
Exploring Operation: 39+44=83, Resulting Numbers: [83]
83,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,0,1
Current State: 23:[71, 12], Operations: ['80-41=39', '39-27=12']
Exploring Operation: 71-12=59, Resulting Numbers: [59]
59,23 unequal: No Solution
Exploring Operation: 71+12=83, Resulting Numbers: [83]
83,23 unequal: No Solution
Exploring Operation: 71*12=852, Resulting Numbers: [852]
852,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 23:[27, 80, 30], Operations: ['71-41=30']
Exploring Operation: 80-30=50, Resulting Numbers: [27, 50]
Generated Node #0,1,0: 23:[27, 50] Operation: 80-30=50
Exploring Operation: 30-27=3, Resulting Numbers: [80, 3]
Generated Node #0,1,1: 23:[80, 3] Operation: 30-27=3
Exploring Operation: 80-27=53, Resulting Numbers: [30, 53]
Generated Node #0,1,2: 23:[30, 53] Operation: 80-27=53
Moving to Node #0,2,2
Current State: 23:[27, 32], Operations: ['80-71=9', '41-9=32']
Exploring Operation: 32-27=5, Resulting Numbers: [5]
5,23 unequal: No Solution
Exploring Operation: 27*32=864, Resulting Numbers: [864]
864,23 unequal: No Solution
Exploring Operation: 27+32=59, Resulting Numbers: [59]
59,23 unequal: No Solution
Moving to Node #0,2,1
Current State: 23:[41, 18], Operations: ['80-71=9', '27-9=18']
Exploring Operation: 41+18=59, Resulting Numbers: [59]
59,23 unequal: No Solution
Exploring Operation: 41*18=738, Resulting Numbers: [738]
738,23 unequal: No Solution
Exploring Operation: 41-18=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[27, 71, 80, 41], Operations: []
Exploring Operation: 80-71=9, Resulting Numbers: [27, 41, 9]
Generated Node #0,2: 23:[27, 41, 9] Operation: 80-71=9
Moving to Node #0,2
Current State: 23:[27, 41, 9], Operations: ['80-71=9']
Exploring Operation: 27-9=18, Resulting Numbers: [41, 18]
Generated Node #0,2,1: 23:[41, 18] Operation: 27-9=18
Moving to Node #0,2,1
Current State: 23:[41, 18], Operations: ['80-71=9', '27-9=18']
Exploring Operation: 41-18=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 0.97309 | hs_3 | sum_heuristic |
[
68,
27,
24,
16
] | 50 | [
"27*16=432",
"432/24=18",
"68-18=50"
] | Current State: 50:[68, 27, 24, 16], Operations: []
Exploring Operation: 27*16=432, Resulting Numbers: [68, 24, 432]
Generated Node #2: [68, 24, 432] from Operation: 27*16=432
Current State: 50:[68, 24, 432], Operations: ['27*16=432']
Exploring Operation: 432/24=18, Resulting Numbers: [68, 18]
Generated Node #3: [68, 18] from Operation: 432/24=18
Current State: 50:[68, 18], Operations: ['27*16=432', '432/24=18']
Exploring Operation: 68-18=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[68, 27, 24, 16], Operations: []
Exploring Operation: 68-27=41, Resulting Numbers: [24, 16, 41]
Generated Node #0,0: 50:[24, 16, 41] Operation: 68-27=41
Exploring Operation: 68-24=44, Resulting Numbers: [27, 16, 44]
Generated Node #0,1: 50:[27, 16, 44] Operation: 68-24=44
Exploring Operation: 27-16=11, Resulting Numbers: [68, 24, 11]
Generated Node #0,2: 50:[68, 24, 11] Operation: 27-16=11
Exploring Operation: 68-16=52, Resulting Numbers: [27, 24, 52]
Generated Node #0,3: 50:[27, 24, 52] Operation: 68-16=52
Start Sub Search at level 1: Moving to Node #0,3
Current State: 50:[27, 24, 52], Operations: ['68-16=52']
Exploring Operation: 52-24=28, Resulting Numbers: [27, 28]
Generated Node #0,3,0: 50:[27, 28] Operation: 52-24=28
Exploring Operation: 27-24=3, Resulting Numbers: [52, 3]
Generated Node #0,3,1: 50:[52, 3] Operation: 27-24=3
Exploring Operation: 52-27=25, Resulting Numbers: [24, 25]
Generated Node #0,3,2: 50:[24, 25] Operation: 52-27=25
Exploring Operation: 27+24=51, Resulting Numbers: [52, 51]
Generated Node #0,3,3: 50:[52, 51] Operation: 27+24=51
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 50:[24, 25], Operations: ['68-16=52', '52-27=25']
Exploring Operation: 25-24=1, Resulting Numbers: [1]
1,50 unequal: No Solution
Exploring Operation: 24*25=600, Resulting Numbers: [600]
600,50 unequal: No Solution
Exploring Operation: 24+25=49, Resulting Numbers: [49]
49,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,3,1
Current State: 50:[52, 3], Operations: ['68-16=52', '27-24=3']
Exploring Operation: 52*3=156, Resulting Numbers: [156]
156,50 unequal: No Solution
Exploring Operation: 52-3=49, Resulting Numbers: [49]
49,50 unequal: No Solution
Exploring Operation: 52+3=55, Resulting Numbers: [55]
55,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,3,3
Current State: 50:[52, 51], Operations: ['68-16=52', '27+24=51']
Exploring Operation: 52*51=2652, Resulting Numbers: [2652]
2652,50 unequal: No Solution
Exploring Operation: 52-51=1, Resulting Numbers: [1]
1,50 unequal: No Solution
Exploring Operation: 52+51=103, Resulting Numbers: [103]
103,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,3,0
Current State: 50:[27, 28], Operations: ['68-16=52', '52-24=28']
Exploring Operation: 27*28=756, Resulting Numbers: [756]
756,50 unequal: No Solution
Exploring Operation: 28-27=1, Resulting Numbers: [1]
1,50 unequal: No Solution
Exploring Operation: 27+28=55, Resulting Numbers: [55]
55,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:[27, 16, 44], Operations: ['68-24=44']
Exploring Operation: 27+16=43, Resulting Numbers: [44, 43]
Generated Node #0,1,0: 50:[44, 43] Operation: 27+16=43
Exploring Operation: 27-16=11, Resulting Numbers: [44, 11]
Generated Node #0,1,1: 50:[44, 11] Operation: 27-16=11
Exploring Operation: 44-16=28, Resulting Numbers: [27, 28]
Generated Node #0,1,2: 50:[27, 28] Operation: 44-16=28
Exploring Operation: 16+44=60, Resulting Numbers: [27, 60]
Generated Node #0,1,3: 50:[27, 60] Operation: 16+44=60
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 50:[27, 28], Operations: ['68-24=44', '44-16=28']
Exploring Operation: 28-27=1, Resulting Numbers: [1]
1,50 unequal: No Solution
Exploring Operation: 27*28=756, Resulting Numbers: [756]
756,50 unequal: No Solution
Exploring Operation: 27+28=55, Resulting Numbers: [55]
55,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:[44, 11], Operations: ['68-24=44', '27-16=11']
Exploring Operation: 44/11=4, Resulting Numbers: [4]
4,50 unequal: No Solution
Exploring Operation: 44+11=55, Resulting Numbers: [55]
55,50 unequal: No Solution
Exploring Operation: 44-11=33, Resulting Numbers: [33]
33,50 unequal: No Solution
Exploring Operation: 44*11=484, Resulting Numbers: [484]
484,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,3
Current State: 50:[27, 60], Operations: ['68-24=44', '16+44=60']
Exploring Operation: 60-27=33, Resulting Numbers: [33]
33,50 unequal: No Solution
Exploring Operation: 27+60=87, Resulting Numbers: [87]
87,50 unequal: No Solution
Exploring Operation: 27*60=1620, Resulting Numbers: [1620]
1620,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,0
Current State: 50:[44, 43], Operations: ['68-24=44', '27+16=43']
Exploring Operation: 44+43=87, Resulting Numbers: [87]
87,50 unequal: No Solution
Exploring Operation: 44-43=1, Resulting Numbers: [1]
1,50 unequal: No Solution
Exploring Operation: 44*43=1892, Resulting Numbers: [1892]
1892,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,0
Current State: 50:[24, 16, 41], Operations: ['68-27=41']
Exploring Operation: 41-24=17, Resulting Numbers: [16, 17]
Generated Node #0,0,0: 50:[16, 17] Operation: 41-24=17
Exploring Operation: 16+41=57, Resulting Numbers: [24, 57]
Generated Node #0,0,1: 50:[24, 57] Operation: 16+41=57
Exploring Operation: 24-16=8, Resulting Numbers: [41, 8]
Generated Node #0,0,2: 50:[41, 8] Operation: 24-16=8
Exploring Operation: 41-16=25, Resulting Numbers: [24, 25]
Generated Node #0,0,3: 50:[24, 25] Operation: 41-16=25
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 50:[24, 25], Operations: ['68-27=41', '41-16=25']
Exploring Operation: 25-24=1, Resulting Numbers: [1]
1,50 unequal: No Solution
Exploring Operation: 24*25=600, Resulting Numbers: [600]
600,50 unequal: No Solution
Exploring Operation: 24+25=49, Resulting Numbers: [49]
49,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:[24, 57], Operations: ['68-27=41', '16+41=57']
Exploring Operation: 24*57=1368, Resulting Numbers: [1368]
1368,50 unequal: No Solution
Exploring Operation: 57-24=33, Resulting Numbers: [33]
33,50 unequal: No Solution
Exploring Operation: 24+57=81, Resulting Numbers: [81]
81,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 50:[41, 8], Operations: ['68-27=41', '24-16=8']
Exploring Operation: 41-8=33, Resulting Numbers: [33]
33,50 unequal: No Solution
Exploring Operation: 41+8=49, Resulting Numbers: [49]
49,50 unequal: No Solution
Exploring Operation: 41*8=328, Resulting Numbers: [328]
328,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,0
Current State: 50:[16, 17], Operations: ['68-27=41', '41-24=17']
Exploring Operation: 16+17=33, Resulting Numbers: [33]
33,50 unequal: No Solution
Exploring Operation: 17-16=1, Resulting Numbers: [1]
1,50 unequal: No Solution
Exploring Operation: 16*17=272, Resulting Numbers: [272]
272,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,2
Current State: 50:[68, 24, 11], Operations: ['27-16=11']
Exploring Operation: 68-24=44, Resulting Numbers: [11, 44]
Generated Node #0,2,0: 50:[11, 44] Operation: 68-24=44
Exploring Operation: 24-11=13, Resulting Numbers: [68, 13]
Generated Node #0,2,1: 50:[68, 13] Operation: 24-11=13
Exploring Operation: 24+11=35, Resulting Numbers: [68, 35]
Generated Node #0,2,2: 50:[68, 35] Operation: 24+11=35
Exploring Operation: 68-11=57, Resulting Numbers: [24, 57]
Generated Node #0,2,3: 50:[24, 57] Operation: 68-11=57
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 50:[11, 44], Operations: ['27-16=11', '68-24=44']
Exploring Operation: 11*44=484, Resulting Numbers: [484]
484,50 unequal: No Solution
Exploring Operation: 11+44=55, Resulting Numbers: [55]
55,50 unequal: No Solution
Exploring Operation: 44/11=4, Resulting Numbers: [4]
4,50 unequal: No Solution
Exploring Operation: 44-11=33, Resulting Numbers: [33]
33,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,2,3
Current State: 50:[24, 57], Operations: ['27-16=11', '68-11=57']
Exploring Operation: 24*57=1368, Resulting Numbers: [1368]
1368,50 unequal: No Solution
Exploring Operation: 24+57=81, Resulting Numbers: [81]
81,50 unequal: No Solution
Exploring Operation: 57-24=33, Resulting Numbers: [33]
33,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,2,1
Current State: 50:[68, 13], Operations: ['27-16=11', '24-11=13']
Exploring Operation: 68-13=55, Resulting Numbers: [55]
55,50 unequal: No Solution
Exploring Operation: 68*13=884, Resulting Numbers: [884]
884,50 unequal: No Solution
Exploring Operation: 68+13=81, Resulting Numbers: [81]
81,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,2,2
Current State: 50:[68, 35], Operations: ['27-16=11', '24+11=35']
Exploring Operation: 68*35=2380, Resulting Numbers: [2380]
2380,50 unequal: No Solution
Exploring Operation: 68-35=33, Resulting Numbers: [33]
33,50 unequal: No Solution
Exploring Operation: 68+35=103, Resulting Numbers: [103]
103,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_4 | mult_heuristic |
[
2,
1,
72,
74
] | 74 | [
"74-1=73",
"2*73=146",
"146-72=74"
] | Current State: 74:[2, 1, 72, 74], Operations: []
Exploring Operation: 74-1=73, Resulting Numbers: [2, 72, 73]
Generated Node #2: [2, 72, 73] from Operation: 74-1=73
Current State: 74:[2, 72, 73], Operations: ['74-1=73']
Exploring Operation: 2*73=146, Resulting Numbers: [72, 146]
Generated Node #3: [72, 146] from Operation: 2*73=146
Current State: 74:[72, 146], Operations: ['74-1=73', '2*73=146']
Exploring Operation: 146-72=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[2, 1, 72, 74], Operations: []
Exploring Operation: 2+72=74, Resulting Numbers: [1, 74, 74]
Generated Node #0,0: 74:[1, 74, 74] Operation: 2+72=74
Exploring Operation: 1+72=73, Resulting Numbers: [2, 74, 73]
Generated Node #0,1: 74:[2, 74, 73] Operation: 1+72=73
Moving to Node #0,0
Current State: 74:[1, 74, 74], Operations: ['2+72=74']
Exploring Operation: 1*74=74, Resulting Numbers: [74, 74]
Generated Node #0,0,0: 74:[74, 74] Operation: 1*74=74
Exploring Operation: 74/1=74, Resulting Numbers: [74, 74]
Generated Node #0,0,1: 74:[74, 74] Operation: 74/1=74
Moving to Node #0,1
Current State: 74:[2, 74, 73], Operations: ['1+72=73']
Exploring Operation: 74/2=37, Resulting Numbers: [73, 37]
Generated Node #0,1,0: 74:[73, 37] Operation: 74/2=37
Exploring Operation: 2+73=75, Resulting Numbers: [74, 75]
Generated Node #0,1,1: 74:[74, 75] Operation: 2+73=75
Moving to Node #0,0,0
Current State: 74:[74, 74], Operations: ['2+72=74', '1*74=74']
Exploring Operation: 74-74=0, Resulting Numbers: [0]
0,74 unequal: No Solution
Exploring Operation: 74/74=1, Resulting Numbers: [1]
1,74 unequal: No Solution
Moving to Node #0,0,1
Current State: 74:[74, 74], Operations: ['2+72=74', '74/1=74']
Exploring Operation: 74/74=1, Resulting Numbers: [1]
1,74 unequal: No Solution
Exploring Operation: 74-74=0, Resulting Numbers: [0]
0,74 unequal: No Solution
Moving to Node #0,1,1
Current State: 74:[74, 75], Operations: ['1+72=73', '2+73=75']
Exploring Operation: 75-74=1, Resulting Numbers: [1]
1,74 unequal: No Solution
Exploring Operation: 74+75=149, Resulting Numbers: [149]
149,74 unequal: No Solution
Moving to Node #0,1,0
Current State: 74:[73, 37], Operations: ['1+72=73', '74/2=37']
Exploring Operation: 73+37=110, Resulting Numbers: [110]
110,74 unequal: No Solution
Exploring Operation: 73-37=36, Resulting Numbers: [36]
36,74 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.