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 |
|---|---|---|---|---|---|---|---|---|
[
19,
83,
22,
21
] | 24 | [
"83+22=105",
"105/21=5",
"19+5=24"
] | Current State: 24:[19, 83, 22, 21], Operations: []
Exploring Operation: 83+22=105, Resulting Numbers: [19, 21, 105]
Generated Node #2: [19, 21, 105] from Operation: 83+22=105
Current State: 24:[19, 21, 105], Operations: ['83+22=105']
Exploring Operation: 105/21=5, Resulting Numbers: [19, 5]
Generated Node #3: [19, 5] from Operation: 105/21=5
Current State: 24:[19, 5], Operations: ['83+22=105', '105/21=5']
Exploring Operation: 19+5=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[19, 83, 22, 21], Operations: []
Exploring Operation: 83-19=64, Resulting Numbers: [22, 21, 64]
Generated Node #0,0: 24:[22, 21, 64] Operation: 83-19=64
Exploring Operation: 83-22=61, Resulting Numbers: [19, 21, 61]
Generated Node #0,1: 24:[19, 21, 61] Operation: 83-22=61
Moving to Node #0,0
Current State: 24:[22, 21, 64], Operations: ['83-19=64']
Exploring Operation: 64-21=43, Resulting Numbers: [22, 43]
Generated Node #0,0,0: 24:[22, 43] Operation: 64-21=43
Exploring Operation: 64-22=42, Resulting Numbers: [21, 42]
Generated Node #0,0,1: 24:[21, 42] Operation: 64-22=42
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 24:[22, 43], Operations: ['83-19=64', '64-21=43']
Exploring Operation: 22+43=65, Resulting Numbers: [65]
65,24 unequal: No Solution
Exploring Operation: 43-22=21, Resulting Numbers: [21]
21,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 24:[21, 42], Operations: ['83-19=64', '64-22=42']
Exploring Operation: 42-21=21, Resulting Numbers: [21]
21,24 unequal: No Solution
Exploring Operation: 42/21=2, Resulting Numbers: [2]
2,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 24:[19, 21, 61], Operations: ['83-22=61']
Exploring Operation: 61-19=42, Resulting Numbers: [21, 42]
Generated Node #0,1,0: 24:[21, 42] Operation: 61-19=42
Exploring Operation: 61-21=40, Resulting Numbers: [19, 40]
Generated Node #0,1,1: 24:[19, 40] Operation: 61-21=40
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 24:[21, 42], Operations: ['83-22=61', '61-19=42']
Exploring Operation: 42-21=21, Resulting Numbers: [21]
21,24 unequal: No Solution
Exploring Operation: 42/21=2, Resulting Numbers: [2]
2,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 24:[19, 40], Operations: ['83-22=61', '61-21=40']
Exploring Operation: 40-19=21, Resulting Numbers: [21]
21,24 unequal: No Solution
Exploring Operation: 19+40=59, Resulting Numbers: [59]
59,24 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 |
[
14,
33,
3,
30
] | 71 | [
"33-14=19",
"3*30=90",
"90-19=71"
] | Current State: 71:[14, 33, 3, 30], Operations: []
Exploring Operation: 33-14=19, Resulting Numbers: [3, 30, 19]
Generated Node #2: [3, 30, 19] from Operation: 33-14=19
Current State: 71:[3, 30, 19], Operations: ['33-14=19']
Exploring Operation: 3*30=90, Resulting Numbers: [19, 90]
Generated Node #3: [19, 90] from Operation: 3*30=90
Current State: 71:[19, 90], Operations: ['33-14=19', '3*30=90']
Exploring Operation: 90-19=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[14, 33, 3, 30], Operations: []
Exploring Operation: 14*3=42, Resulting Numbers: [33, 30, 42]
Generated Node #0,0: 71:[33, 30, 42] Operation: 14*3=42
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[33, 30, 42], Operations: ['14*3=42']
Exploring Operation: 33+30=63, Resulting Numbers: [42, 63]
Generated Node #0,0,0: 71:[42, 63] Operation: 33+30=63
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 71:[42, 63], Operations: ['14*3=42', '33+30=63']
Exploring Operation: 42+63=105, Resulting Numbers: [105]
105,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
24,
14,
85,
42
] | 58 | [
"85-24=61",
"42/14=3",
"61-3=58"
] | Current State: 58:[24, 14, 85, 42], Operations: []
Exploring Operation: 85-24=61, Resulting Numbers: [14, 42, 61]
Generated Node #2: [14, 42, 61] from Operation: 85-24=61
Current State: 58:[14, 42, 61], Operations: ['85-24=61']
Exploring Operation: 42/14=3, Resulting Numbers: [61, 3]
Generated Node #3: [61, 3] from Operation: 42/14=3
Current State: 58:[61, 3], Operations: ['85-24=61', '42/14=3']
Exploring Operation: 61-3=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[24, 14, 85, 42], Operations: []
Exploring Operation: 85-14=71, Resulting Numbers: [24, 42, 71]
Generated Node #0,0: 58:[24, 42, 71] Operation: 85-14=71
Exploring Operation: 85-24=61, Resulting Numbers: [14, 42, 61]
Generated Node #0,1: 58:[14, 42, 61] Operation: 85-24=61
Exploring Operation: 85-42=43, Resulting Numbers: [24, 14, 43]
Generated Node #0,2: 58:[24, 14, 43] Operation: 85-42=43
Moving to Node #0,1
Current State: 58:[14, 42, 61], Operations: ['85-24=61']
Exploring Operation: 42/14=3, Resulting Numbers: [61, 3]
Generated Node #0,1,0: 58:[61, 3] Operation: 42/14=3
Exploring Operation: 42-14=28, Resulting Numbers: [61, 28]
Generated Node #0,1,1: 58:[61, 28] Operation: 42-14=28
Exploring Operation: 14+42=56, Resulting Numbers: [61, 56]
Generated Node #0,1,2: 58:[61, 56] Operation: 14+42=56
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 58:[61, 3], Operations: ['85-24=61', '42/14=3']
Exploring Operation: 61*3=183, Resulting Numbers: [183]
183,58 unequal: No Solution
Exploring Operation: 61+3=64, Resulting Numbers: [64]
64,58 unequal: No Solution
Exploring Operation: 61-3=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[24, 14, 85, 42], Operations: []
Exploring Operation: 85-24=61, Resulting Numbers: [14, 42, 61]
Generated Node #0,1: 58:[14, 42, 61] Operation: 85-24=61
Moving to Node #0,1
Current State: 58:[14, 42, 61], Operations: ['85-24=61']
Exploring Operation: 42/14=3, Resulting Numbers: [61, 3]
Generated Node #0,1,0: 58:[61, 3] Operation: 42/14=3
Moving to Node #0,1,0
Current State: 58:[61, 3], Operations: ['85-24=61', '42/14=3']
Exploring Operation: 61-3=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
47,
14,
6,
44
] | 32 | [
"47-44=3",
"6*3=18",
"14+18=32"
] | Current State: 32:[47, 14, 6, 44], Operations: []
Exploring Operation: 47-44=3, Resulting Numbers: [14, 6, 3]
Generated Node #2: [14, 6, 3] from Operation: 47-44=3
Current State: 32:[14, 6, 3], Operations: ['47-44=3']
Exploring Operation: 6*3=18, Resulting Numbers: [14, 18]
Generated Node #3: [14, 18] from Operation: 6*3=18
Current State: 32:[14, 18], Operations: ['47-44=3', '6*3=18']
Exploring Operation: 14+18=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[47, 14, 6, 44], Operations: []
Exploring Operation: 47-44=3, Resulting Numbers: [14, 6, 3]
Generated Node #0,0: 32:[14, 6, 3] Operation: 47-44=3
Exploring Operation: 47-14=33, Resulting Numbers: [6, 44, 33]
Generated Node #0,1: 32:[6, 44, 33] Operation: 47-14=33
Exploring Operation: 44-14=30, Resulting Numbers: [47, 6, 30]
Generated Node #0,2: 32:[47, 6, 30] Operation: 44-14=30
Start Sub Search at level 1: Moving to Node #0,0
Current State: 32:[14, 6, 3], Operations: ['47-44=3']
Exploring Operation: 14+3=17, Resulting Numbers: [6, 17]
Generated Node #0,0,0: 32:[6, 17] Operation: 14+3=17
Exploring Operation: 14-6=8, Resulting Numbers: [3, 8]
Generated Node #0,0,1: 32:[3, 8] Operation: 14-6=8
Exploring Operation: 6/3=2, Resulting Numbers: [14, 2]
Generated Node #0,0,2: 32:[14, 2] Operation: 6/3=2
Moving to Node #0,0,1
Current State: 32:[3, 8], Operations: ['47-44=3', '14-6=8']
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,32 unequal: No Solution
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,32 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,32 unequal: No Solution
Moving to Node #0,0,2
Current State: 32:[14, 2], Operations: ['47-44=3', '6/3=2']
Exploring Operation: 14+2=16, Resulting Numbers: [16]
16,32 unequal: No Solution
Exploring Operation: 14*2=28, Resulting Numbers: [28]
28,32 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,32 unequal: No Solution
Moving to Node #0,0,0
Current State: 32:[6, 17], Operations: ['47-44=3', '14+3=17']
Exploring Operation: 6+17=23, Resulting Numbers: [23]
23,32 unequal: No Solution
Exploring Operation: 6*17=102, Resulting Numbers: [102]
102,32 unequal: No Solution
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 32:[6, 44, 33], Operations: ['47-14=33']
Exploring Operation: 33-6=27, Resulting Numbers: [44, 27]
Generated Node #0,1,0: 32:[44, 27] Operation: 33-6=27
Exploring Operation: 44-6=38, Resulting Numbers: [33, 38]
Generated Node #0,1,1: 32:[33, 38] Operation: 44-6=38
Exploring Operation: 44-33=11, Resulting Numbers: [6, 11]
Generated Node #0,1,2: 32:[6, 11] Operation: 44-33=11
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 32:[6, 11], Operations: ['47-14=33', '44-33=11']
Exploring Operation: 6*11=66, Resulting Numbers: [66]
66,32 unequal: No Solution
Exploring Operation: 11-6=5, Resulting Numbers: [5]
5,32 unequal: No Solution
Exploring Operation: 6+11=17, Resulting Numbers: [17]
17,32 unequal: No Solution
No 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: 32:[33, 38], Operations: ['47-14=33', '44-6=38']
Exploring Operation: 38-33=5, Resulting Numbers: [5]
5,32 unequal: No Solution
Exploring Operation: 33*38=1254, Resulting Numbers: [1254]
1254,32 unequal: No Solution
Exploring Operation: 33+38=71, Resulting Numbers: [71]
71,32 unequal: No Solution
No 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: 32:[44, 27], Operations: ['47-14=33', '33-6=27']
Exploring Operation: 44+27=71, Resulting Numbers: [71]
71,32 unequal: No Solution
Exploring Operation: 44-27=17, Resulting Numbers: [17]
17,32 unequal: No Solution
Exploring Operation: 44*27=1188, Resulting Numbers: [1188]
1188,32 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: 32:[47, 6, 30], Operations: ['44-14=30']
Exploring Operation: 47-6=41, Resulting Numbers: [30, 41]
Generated Node #0,2,0: 32:[30, 41] Operation: 47-6=41
Exploring Operation: 47-30=17, Resulting Numbers: [6, 17]
Generated Node #0,2,1: 32:[6, 17] Operation: 47-30=17
Exploring Operation: 30/6=5, Resulting Numbers: [47, 5]
Generated Node #0,2,2: 32:[47, 5] Operation: 30/6=5
Moving to Node #0,2,1
Current State: 32:[6, 17], Operations: ['44-14=30', '47-30=17']
Exploring Operation: 6+17=23, Resulting Numbers: [23]
23,32 unequal: No Solution
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,32 unequal: No Solution
Exploring Operation: 6*17=102, Resulting Numbers: [102]
102,32 unequal: No Solution
Moving to Node #0,2,0
Current State: 32:[30, 41], Operations: ['44-14=30', '47-6=41']
Exploring Operation: 30*41=1230, Resulting Numbers: [1230]
1230,32 unequal: No Solution
Exploring Operation: 41-30=11, Resulting Numbers: [11]
11,32 unequal: No Solution
Exploring Operation: 30+41=71, Resulting Numbers: [71]
71,32 unequal: No Solution
Moving to Node #0,2,2
Current State: 32:[47, 5], Operations: ['44-14=30', '30/6=5']
Exploring Operation: 47*5=235, Resulting Numbers: [235]
235,32 unequal: No Solution
Exploring Operation: 47+5=52, Resulting Numbers: [52]
52,32 unequal: No Solution
Exploring Operation: 47-5=42, Resulting Numbers: [42]
42,32 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 |
[
41,
70,
95,
2
] | 86 | [
"95-41=54",
"70*2=140",
"140-54=86"
] | Current State: 86:[41, 70, 95, 2], Operations: []
Exploring Operation: 95-41=54, Resulting Numbers: [70, 2, 54]
Generated Node #2: [70, 2, 54] from Operation: 95-41=54
Current State: 86:[70, 2, 54], Operations: ['95-41=54']
Exploring Operation: 70*2=140, Resulting Numbers: [54, 140]
Generated Node #3: [54, 140] from Operation: 70*2=140
Current State: 86:[54, 140], Operations: ['95-41=54', '70*2=140']
Exploring Operation: 140-54=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[41, 70, 95, 2], Operations: []
Exploring Operation: 70-41=29, Resulting Numbers: [95, 2, 29]
Generated Node #0,0: 86:[95, 2, 29] Operation: 70-41=29
Exploring Operation: 41+2=43, Resulting Numbers: [70, 95, 43]
Generated Node #0,1: 86:[70, 95, 43] Operation: 41+2=43
Exploring Operation: 95-70=25, Resulting Numbers: [41, 2, 25]
Generated Node #0,2: 86:[41, 2, 25] Operation: 95-70=25
Exploring Operation: 70/2=35, Resulting Numbers: [41, 95, 35]
Generated Node #0,3: 86:[41, 95, 35] Operation: 70/2=35
Moving to Node #0,3
Current State: 86:[41, 95, 35], Operations: ['70/2=35']
Exploring Operation: 41-35=6, Resulting Numbers: [95, 6]
Generated Node #0,3,0: 86:[95, 6] Operation: 41-35=6
Exploring Operation: 95-35=60, Resulting Numbers: [41, 60]
Generated Node #0,3,1: 86:[41, 60] Operation: 95-35=60
Exploring Operation: 41+35=76, Resulting Numbers: [95, 76]
Generated Node #0,3,2: 86:[95, 76] Operation: 41+35=76
Exploring Operation: 95-41=54, Resulting Numbers: [35, 54]
Generated Node #0,3,3: 86:[35, 54] Operation: 95-41=54
Moving to Node #0,2
Current State: 86:[41, 2, 25], Operations: ['95-70=25']
Exploring Operation: 2+25=27, Resulting Numbers: [41, 27]
Generated Node #0,2,0: 86:[41, 27] Operation: 2+25=27
Exploring Operation: 41+2=43, Resulting Numbers: [25, 43]
Generated Node #0,2,1: 86:[25, 43] Operation: 41+2=43
Exploring Operation: 41-25=16, Resulting Numbers: [2, 16]
Generated Node #0,2,2: 86:[2, 16] Operation: 41-25=16
Exploring Operation: 2*25=50, Resulting Numbers: [41, 50]
Generated Node #0,2,3: 86:[41, 50] Operation: 2*25=50
Moving to Node #0,0
Current State: 86:[95, 2, 29], Operations: ['70-41=29']
Exploring Operation: 95-2=93, Resulting Numbers: [29, 93]
Generated Node #0,0,0: 86:[29, 93] Operation: 95-2=93
Exploring Operation: 95-29=66, Resulting Numbers: [2, 66]
Generated Node #0,0,1: 86:[2, 66] Operation: 95-29=66
Exploring Operation: 2*29=58, Resulting Numbers: [95, 58]
Generated Node #0,0,2: 86:[95, 58] Operation: 2*29=58
Exploring Operation: 2+29=31, Resulting Numbers: [95, 31]
Generated Node #0,0,3: 86:[95, 31] Operation: 2+29=31
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 86:[2, 66], Operations: ['70-41=29', '95-29=66']
Exploring Operation: 66/2=33, Resulting Numbers: [33]
33,86 unequal: No Solution
Exploring Operation: 2*66=132, Resulting Numbers: [132]
132,86 unequal: No Solution
Exploring Operation: 2+66=68, Resulting Numbers: [68]
68,86 unequal: No Solution
Exploring Operation: 66-2=64, Resulting Numbers: [64]
64,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 86:[29, 93], Operations: ['70-41=29', '95-2=93']
Exploring Operation: 93-29=64, Resulting Numbers: [64]
64,86 unequal: No Solution
Exploring Operation: 29*93=2697, Resulting Numbers: [2697]
2697,86 unequal: No Solution
Exploring Operation: 29+93=122, Resulting Numbers: [122]
122,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 86:[95, 31], Operations: ['70-41=29', '2+29=31']
Exploring Operation: 95+31=126, Resulting Numbers: [126]
126,86 unequal: No Solution
Exploring Operation: 95*31=2945, Resulting Numbers: [2945]
2945,86 unequal: No Solution
Exploring Operation: 95-31=64, Resulting Numbers: [64]
64,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 86:[95, 58], Operations: ['70-41=29', '2*29=58']
Exploring Operation: 95*58=5510, Resulting Numbers: [5510]
5510,86 unequal: No Solution
Exploring Operation: 95+58=153, Resulting Numbers: [153]
153,86 unequal: No Solution
Exploring Operation: 95-58=37, Resulting Numbers: [37]
37,86 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: 86:[70, 95, 43], Operations: ['41+2=43']
Exploring Operation: 95-70=25, Resulting Numbers: [43, 25]
Generated Node #0,1,0: 86:[43, 25] Operation: 95-70=25
Exploring Operation: 70+43=113, Resulting Numbers: [95, 113]
Generated Node #0,1,1: 86:[95, 113] Operation: 70+43=113
Exploring Operation: 95-43=52, Resulting Numbers: [70, 52]
Generated Node #0,1,2: 86:[70, 52] Operation: 95-43=52
Exploring Operation: 70-43=27, Resulting Numbers: [95, 27]
Generated Node #0,1,3: 86:[95, 27] Operation: 70-43=27
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 86:[43, 25], Operations: ['41+2=43', '95-70=25']
Exploring Operation: 43*25=1075, Resulting Numbers: [1075]
1075,86 unequal: No Solution
Exploring Operation: 43-25=18, Resulting Numbers: [18]
18,86 unequal: No Solution
Exploring Operation: 43+25=68, Resulting Numbers: [68]
68,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 86:[70, 52], Operations: ['41+2=43', '95-43=52']
Exploring Operation: 70*52=3640, Resulting Numbers: [3640]
3640,86 unequal: No Solution
Exploring Operation: 70+52=122, Resulting Numbers: [122]
122,86 unequal: No Solution
Exploring Operation: 70-52=18, Resulting Numbers: [18]
18,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 86:[95, 27], Operations: ['41+2=43', '70-43=27']
Exploring Operation: 95+27=122, Resulting Numbers: [122]
122,86 unequal: No Solution
Exploring Operation: 95*27=2565, Resulting Numbers: [2565]
2565,86 unequal: No Solution
Exploring Operation: 95-27=68, Resulting Numbers: [68]
68,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 86:[95, 113], Operations: ['41+2=43', '70+43=113']
Exploring Operation: 95+113=208, Resulting Numbers: [208]
208,86 unequal: No Solution
Exploring Operation: 95*113=10735, Resulting Numbers: [10735]
10735,86 unequal: No Solution
Exploring Operation: 113-95=18, Resulting Numbers: [18]
18,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,3
Current State: 86:[41, 50], Operations: ['95-70=25', '2*25=50']
Exploring Operation: 50-41=9, Resulting Numbers: [9]
9,86 unequal: No Solution
Exploring Operation: 41*50=2050, Resulting Numbers: [2050]
2050,86 unequal: No Solution
Exploring Operation: 41+50=91, Resulting Numbers: [91]
91,86 unequal: No Solution
Moving to Node #0,3,0
Current State: 86:[95, 6], Operations: ['70/2=35', '41-35=6']
Exploring Operation: 95+6=101, Resulting Numbers: [101]
101,86 unequal: No Solution
Exploring Operation: 95-6=89, Resulting Numbers: [89]
89,86 unequal: No Solution
Exploring Operation: 95*6=570, Resulting Numbers: [570]
570,86 unequal: No Solution
Moving to Node #0,2,2
Current State: 86:[2, 16], Operations: ['95-70=25', '41-25=16']
Exploring Operation: 2+16=18, Resulting Numbers: [18]
18,86 unequal: No Solution
Exploring Operation: 2*16=32, Resulting Numbers: [32]
32,86 unequal: No Solution
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,86 unequal: No Solution
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,86 unequal: No Solution
Moving to Node #0,2,0
Current State: 86:[41, 27], Operations: ['95-70=25', '2+25=27']
Exploring Operation: 41+27=68, Resulting Numbers: [68]
68,86 unequal: No Solution
Exploring Operation: 41-27=14, Resulting Numbers: [14]
14,86 unequal: No Solution
Exploring Operation: 41*27=1107, Resulting Numbers: [1107]
1107,86 unequal: No Solution
Moving to Node #0,2,1
Current State: 86:[25, 43], Operations: ['95-70=25', '41+2=43']
Exploring Operation: 25+43=68, Resulting Numbers: [68]
68,86 unequal: No Solution
Exploring Operation: 25*43=1075, Resulting Numbers: [1075]
1075,86 unequal: No Solution
Exploring Operation: 43-25=18, Resulting Numbers: [18]
18,86 unequal: No Solution
Moving to Node #0,3,2
Current State: 86:[95, 76], Operations: ['70/2=35', '41+35=76']
Exploring Operation: 95*76=7220, Resulting Numbers: [7220]
7220,86 unequal: No Solution
Exploring Operation: 95+76=171, Resulting Numbers: [171]
171,86 unequal: No Solution
Exploring Operation: 95-76=19, Resulting Numbers: [19]
19,86 unequal: No Solution
Moving to Node #0,3,3
Current State: 86:[35, 54], Operations: ['70/2=35', '95-41=54']
Exploring Operation: 54-35=19, Resulting Numbers: [19]
19,86 unequal: No Solution
Exploring Operation: 35*54=1890, Resulting Numbers: [1890]
1890,86 unequal: No Solution
Exploring Operation: 35+54=89, Resulting Numbers: [89]
89,86 unequal: No Solution
Moving to Node #0,3,1
Current State: 86:[41, 60], Operations: ['70/2=35', '95-35=60']
Exploring Operation: 41*60=2460, Resulting Numbers: [2460]
2460,86 unequal: No Solution
Exploring Operation: 60-41=19, Resulting Numbers: [19]
19,86 unequal: No Solution
Exploring Operation: 41+60=101, Resulting Numbers: [101]
101,86 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
72,
48,
45,
69
] | 48 | [
"72-48=24",
"69-45=24",
"24+24=48"
] | Current State: 48:[72, 48, 45, 69], Operations: []
Exploring Operation: 72-48=24, Resulting Numbers: [45, 69, 24]
Generated Node #2: [45, 69, 24] from Operation: 72-48=24
Current State: 48:[45, 69, 24], Operations: ['72-48=24']
Exploring Operation: 69-45=24, Resulting Numbers: [24, 24]
Generated Node #3: [24, 24] from Operation: 69-45=24
Current State: 48:[24, 24], Operations: ['72-48=24', '69-45=24']
Exploring Operation: 24+24=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[72, 48, 45, 69], Operations: []
Exploring Operation: 72-45=27, Resulting Numbers: [48, 69, 27]
Generated Node #0,0: 48:[48, 69, 27] Operation: 72-45=27
Exploring Operation: 72-69=3, Resulting Numbers: [48, 45, 3]
Generated Node #0,1: 48:[48, 45, 3] Operation: 72-69=3
Exploring Operation: 72-48=24, Resulting Numbers: [45, 69, 24]
Generated Node #0,2: 48:[45, 69, 24] Operation: 72-48=24
Start Sub Search at level 1: Moving to Node #0,1
Current State: 48:[48, 45, 3], Operations: ['72-69=3']
Exploring Operation: 48-45=3, Resulting Numbers: [3, 3]
Generated Node #0,1,0: 48:[3, 3] Operation: 48-45=3
Exploring Operation: 45+3=48, Resulting Numbers: [48, 48]
Generated Node #0,1,1: 48:[48, 48] Operation: 45+3=48
Exploring Operation: 45/3=15, Resulting Numbers: [48, 15]
Generated Node #0,1,2: 48:[48, 15] Operation: 45/3=15
Moving to Node #0,1,0
Current State: 48:[3, 3], Operations: ['72-69=3', '48-45=3']
Exploring Operation: 3+3=6, Resulting Numbers: [6]
6,48 unequal: No Solution
Exploring Operation: 3*3=9, Resulting Numbers: [9]
9,48 unequal: No Solution
Exploring Operation: 3/3=1, Resulting Numbers: [1]
1,48 unequal: No Solution
Moving to Node #0,1,1
Current State: 48:[48, 48], Operations: ['72-69=3', '45+3=48']
Exploring Operation: 48+48=96, Resulting Numbers: [96]
96,48 unequal: No Solution
Exploring Operation: 48-48=0, Resulting Numbers: [0]
0,48 unequal: No Solution
Exploring Operation: 48/48=1, Resulting Numbers: [1]
1,48 unequal: No Solution
Moving to Node #0,1,2
Current State: 48:[48, 15], Operations: ['72-69=3', '45/3=15']
Exploring Operation: 48*15=720, Resulting Numbers: [720]
720,48 unequal: No Solution
Exploring Operation: 48-15=33, Resulting Numbers: [33]
33,48 unequal: No Solution
Exploring Operation: 48+15=63, Resulting Numbers: [63]
63,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 48:[48, 69, 27], Operations: ['72-45=27']
Exploring Operation: 48-27=21, Resulting Numbers: [69, 21]
Generated Node #0,0,0: 48:[69, 21] Operation: 48-27=21
Exploring Operation: 69-27=42, Resulting Numbers: [48, 42]
Generated Node #0,0,1: 48:[48, 42] Operation: 69-27=42
Exploring Operation: 69-48=21, Resulting Numbers: [27, 21]
Generated Node #0,0,2: 48:[27, 21] Operation: 69-48=21
Moving to Node #0,0,1
Current State: 48:[48, 42], Operations: ['72-45=27', '69-27=42']
Exploring Operation: 48-42=6, Resulting Numbers: [6]
6,48 unequal: No Solution
Exploring Operation: 48*42=2016, Resulting Numbers: [2016]
2016,48 unequal: No Solution
Exploring Operation: 48+42=90, Resulting Numbers: [90]
90,48 unequal: No Solution
Moving to Node #0,0,2
Current State: 48:[27, 21], Operations: ['72-45=27', '69-48=21']
Exploring Operation: 27-21=6, Resulting Numbers: [6]
6,48 unequal: No Solution
Exploring Operation: 27*21=567, Resulting Numbers: [567]
567,48 unequal: No Solution
Exploring Operation: 27+21=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[72, 48, 45, 69], Operations: []
Exploring Operation: 72-45=27, Resulting Numbers: [48, 69, 27]
Generated Node #0,0: 48:[48, 69, 27] Operation: 72-45=27
Moving to Node #0,0
Current State: 48:[48, 69, 27], Operations: ['72-45=27']
Exploring Operation: 69-48=21, Resulting Numbers: [27, 21]
Generated Node #0,0,2: 48:[27, 21] Operation: 69-48=21
Moving to Node #0,0,2
Current State: 48:[27, 21], Operations: ['72-45=27', '69-48=21']
Exploring Operation: 27+21=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.975694 | hs_3 | mult_heuristic |
[
85,
32,
38,
3
] | 82 | [
"85+32=117",
"38-3=35",
"117-35=82"
] | Current State: 82:[85, 32, 38, 3], Operations: []
Exploring Operation: 85+32=117, Resulting Numbers: [38, 3, 117]
Generated Node #2: [38, 3, 117] from Operation: 85+32=117
Current State: 82:[38, 3, 117], Operations: ['85+32=117']
Exploring Operation: 38-3=35, Resulting Numbers: [117, 35]
Generated Node #3: [117, 35] from Operation: 38-3=35
Current State: 82:[117, 35], Operations: ['85+32=117', '38-3=35']
Exploring Operation: 117-35=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[85, 32, 38, 3], Operations: []
Exploring Operation: 32+3=35, Resulting Numbers: [85, 38, 35]
Generated Node #0,0: 82:[85, 38, 35] Operation: 32+3=35
Exploring Operation: 38+3=41, Resulting Numbers: [85, 32, 41]
Generated Node #0,1: 82:[85, 32, 41] Operation: 38+3=41
Exploring Operation: 38-32=6, Resulting Numbers: [85, 3, 6]
Generated Node #0,2: 82:[85, 3, 6] Operation: 38-32=6
Exploring Operation: 85-32=53, Resulting Numbers: [38, 3, 53]
Generated Node #0,3: 82:[38, 3, 53] Operation: 85-32=53
Exploring Operation: 85-3=82, Resulting Numbers: [32, 38, 82]
Generated Node #0,4: 82:[32, 38, 82] Operation: 85-3=82
Moving to Node #0,2
Current State: 82:[85, 3, 6], Operations: ['38-32=6']
Exploring Operation: 6-3=3, Resulting Numbers: [85, 3]
Generated Node #0,2,0: 82:[85, 3] Operation: 6-3=3
Exploring Operation: 85+3=88, Resulting Numbers: [6, 88]
Generated Node #0,2,1: 82:[6, 88] Operation: 85+3=88
Exploring Operation: 85-6=79, Resulting Numbers: [3, 79]
Generated Node #0,2,2: 82:[3, 79] Operation: 85-6=79
Exploring Operation: 85-3=82, Resulting Numbers: [6, 82]
Generated Node #0,2,3: 82:[6, 82] Operation: 85-3=82
Exploring Operation: 6/3=2, Resulting Numbers: [85, 2]
Generated Node #0,2,4: 82:[85, 2] Operation: 6/3=2
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 82:[85, 2], Operations: ['38-32=6', '6/3=2']
Exploring Operation: 85-2=83, Resulting Numbers: [83]
83,82 unequal: No Solution
Exploring Operation: 85+2=87, Resulting Numbers: [87]
87,82 unequal: No Solution
Exploring Operation: 85*2=170, Resulting Numbers: [170]
170,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 82:[85, 3], Operations: ['38-32=6', '6-3=3']
Exploring Operation: 85*3=255, Resulting Numbers: [255]
255,82 unequal: No Solution
Exploring Operation: 85+3=88, Resulting Numbers: [88]
88,82 unequal: No Solution
Exploring Operation: 85-3=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[85, 32, 38, 3], Operations: []
Exploring Operation: 38-32=6, Resulting Numbers: [85, 3, 6]
Generated Node #0,2: 82:[85, 3, 6] Operation: 38-32=6
Moving to Node #0,2
Current State: 82:[85, 3, 6], Operations: ['38-32=6']
Exploring Operation: 6-3=3, Resulting Numbers: [85, 3]
Generated Node #0,2,0: 82:[85, 3] Operation: 6-3=3
Moving to Node #0,2,0
Current State: 82:[85, 3], Operations: ['38-32=6', '6-3=3']
Exploring Operation: 85-3=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_5 | sum_heuristic |
[
84,
14,
28,
35
] | 86 | [
"35-28=7",
"14/7=2",
"84+2=86"
] | Current State: 86:[84, 14, 28, 35], Operations: []
Exploring Operation: 35-28=7, Resulting Numbers: [84, 14, 7]
Generated Node #2: [84, 14, 7] from Operation: 35-28=7
Current State: 86:[84, 14, 7], Operations: ['35-28=7']
Exploring Operation: 14/7=2, Resulting Numbers: [84, 2]
Generated Node #3: [84, 2] from Operation: 14/7=2
Current State: 86:[84, 2], Operations: ['35-28=7', '14/7=2']
Exploring Operation: 84+2=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[84, 14, 28, 35], Operations: []
Exploring Operation: 28/14=2, Resulting Numbers: [84, 35, 2]
Generated Node #0,0: 86:[84, 35, 2] Operation: 28/14=2
Exploring Operation: 28-14=14, Resulting Numbers: [84, 35, 14]
Generated Node #0,1: 86:[84, 35, 14] Operation: 28-14=14
Exploring Operation: 84/28=3, Resulting Numbers: [14, 35, 3]
Generated Node #0,2: 86:[14, 35, 3] Operation: 84/28=3
Exploring Operation: 14+28=42, Resulting Numbers: [84, 35, 42]
Generated Node #0,3: 86:[84, 35, 42] Operation: 14+28=42
Exploring Operation: 35-28=7, Resulting Numbers: [84, 14, 7]
Generated Node #0,4: 86:[84, 14, 7] Operation: 35-28=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[84, 35, 2], Operations: ['28/14=2']
Exploring Operation: 84/2=42, Resulting Numbers: [35, 42]
Generated Node #0,0,0: 86:[35, 42] Operation: 84/2=42
Exploring Operation: 84-35=49, Resulting Numbers: [2, 49]
Generated Node #0,0,1: 86:[2, 49] Operation: 84-35=49
Exploring Operation: 84+2=86, Resulting Numbers: [35, 86]
Generated Node #0,0,2: 86:[35, 86] Operation: 84+2=86
Exploring Operation: 84-2=82, Resulting Numbers: [35, 82]
Generated Node #0,0,3: 86:[35, 82] Operation: 84-2=82
Exploring Operation: 35+2=37, Resulting Numbers: [84, 37]
Generated Node #0,0,4: 86:[84, 37] Operation: 35+2=37
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 86:[2, 49], Operations: ['28/14=2', '84-35=49']
Exploring Operation: 2*49=98, Resulting Numbers: [98]
98,86 unequal: No Solution
Exploring Operation: 2+49=51, Resulting Numbers: [51]
51,86 unequal: No Solution
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 86:[35, 86], Operations: ['28/14=2', '84+2=86']
Exploring Operation: 86-35=51, Resulting Numbers: [51]
51,86 unequal: No Solution
Exploring Operation: 35+86=121, Resulting Numbers: [121]
121,86 unequal: No Solution
Exploring Operation: 35*86=3010, Resulting Numbers: [3010]
3010,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 86:[84, 37], Operations: ['28/14=2', '35+2=37']
Exploring Operation: 84*37=3108, Resulting Numbers: [3108]
3108,86 unequal: No Solution
Exploring Operation: 84-37=47, Resulting Numbers: [47]
47,86 unequal: No Solution
Exploring Operation: 84+37=121, Resulting Numbers: [121]
121,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 86:[35, 42], Operations: ['28/14=2', '84/2=42']
Exploring Operation: 35+42=77, Resulting Numbers: [77]
77,86 unequal: No Solution
Exploring Operation: 42-35=7, Resulting Numbers: [7]
7,86 unequal: No Solution
Exploring Operation: 35*42=1470, Resulting Numbers: [1470]
1470,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 86:[35, 82], Operations: ['28/14=2', '84-2=82']
Exploring Operation: 82-35=47, Resulting Numbers: [47]
47,86 unequal: No Solution
Exploring Operation: 35+82=117, Resulting Numbers: [117]
117,86 unequal: No Solution
Exploring Operation: 35*82=2870, Resulting Numbers: [2870]
2870,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 86:[84, 35, 42], Operations: ['14+28=42']
Exploring Operation: 84-42=42, Resulting Numbers: [35, 42]
Generated Node #0,3,0: 86:[35, 42] Operation: 84-42=42
Exploring Operation: 35+42=77, Resulting Numbers: [84, 77]
Generated Node #0,3,1: 86:[84, 77] Operation: 35+42=77
Exploring Operation: 42-35=7, Resulting Numbers: [84, 7]
Generated Node #0,3,2: 86:[84, 7] Operation: 42-35=7
Exploring Operation: 84/42=2, Resulting Numbers: [35, 2]
Generated Node #0,3,3: 86:[35, 2] Operation: 84/42=2
Exploring Operation: 84-35=49, Resulting Numbers: [42, 49]
Generated Node #0,3,4: 86:[42, 49] Operation: 84-35=49
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 86:[84, 7], Operations: ['14+28=42', '42-35=7']
Exploring Operation: 84*7=588, Resulting Numbers: [588]
588,86 unequal: No Solution
Exploring Operation: 84/7=12, Resulting Numbers: [12]
12,86 unequal: No Solution
Exploring Operation: 84-7=77, Resulting Numbers: [77]
77,86 unequal: No Solution
Exploring Operation: 84+7=91, Resulting Numbers: [91]
91,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 86:[42, 49], Operations: ['14+28=42', '84-35=49']
Exploring Operation: 42+49=91, Resulting Numbers: [91]
91,86 unequal: No Solution
Exploring Operation: 49-42=7, Resulting Numbers: [7]
7,86 unequal: No Solution
Exploring Operation: 42*49=2058, Resulting Numbers: [2058]
2058,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 86:[35, 2], Operations: ['14+28=42', '84/42=2']
Exploring Operation: 35-2=33, Resulting Numbers: [33]
33,86 unequal: No Solution
Exploring Operation: 35+2=37, Resulting Numbers: [37]
37,86 unequal: No Solution
Exploring Operation: 35*2=70, Resulting Numbers: [70]
70,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 86:[35, 42], Operations: ['14+28=42', '84-42=42']
Exploring Operation: 42-35=7, Resulting Numbers: [7]
7,86 unequal: No Solution
Exploring Operation: 35*42=1470, Resulting Numbers: [1470]
1470,86 unequal: No Solution
Exploring Operation: 35+42=77, Resulting Numbers: [77]
77,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 86:[84, 77], Operations: ['14+28=42', '35+42=77']
Exploring Operation: 84+77=161, Resulting Numbers: [161]
161,86 unequal: No Solution
Exploring Operation: 84*77=6468, Resulting Numbers: [6468]
6468,86 unequal: No Solution
Exploring Operation: 84-77=7, Resulting Numbers: [7]
7,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 86:[84, 14, 7], Operations: ['35-28=7']
Exploring Operation: 14-7=7, Resulting Numbers: [84, 7]
Generated Node #0,4,0: 86:[84, 7] Operation: 14-7=7
Exploring Operation: 84+14=98, Resulting Numbers: [7, 98]
Generated Node #0,4,1: 86:[7, 98] Operation: 84+14=98
Exploring Operation: 84/14=6, Resulting Numbers: [7, 6]
Generated Node #0,4,2: 86:[7, 6] Operation: 84/14=6
Exploring Operation: 14/7=2, Resulting Numbers: [84, 2]
Generated Node #0,4,3: 86:[84, 2] Operation: 14/7=2
Exploring Operation: 14*7=98, Resulting Numbers: [84, 98]
Generated Node #0,4,4: 86:[84, 98] Operation: 14*7=98
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 86:[84, 2], Operations: ['35-28=7', '14/7=2']
Exploring Operation: 84*2=168, Resulting Numbers: [168]
168,86 unequal: No Solution
Exploring Operation: 84+2=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[84, 14, 28, 35], Operations: []
Exploring Operation: 35-28=7, Resulting Numbers: [84, 14, 7]
Generated Node #0,4: 86:[84, 14, 7] Operation: 35-28=7
Moving to Node #0,4
Current State: 86:[84, 14, 7], Operations: ['35-28=7']
Exploring Operation: 14/7=2, Resulting Numbers: [84, 2]
Generated Node #0,4,3: 86:[84, 2] Operation: 14/7=2
Moving to Node #0,4,3
Current State: 86:[84, 2], Operations: ['35-28=7', '14/7=2']
Exploring Operation: 84+2=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.950521 | hs_5 | sum_heuristic |
[
13,
81,
27,
29
] | 47 | [
"13+81=94",
"29-27=2",
"94/2=47"
] | Current State: 47:[13, 81, 27, 29], Operations: []
Exploring Operation: 13+81=94, Resulting Numbers: [27, 29, 94]
Generated Node #2: [27, 29, 94] from Operation: 13+81=94
Current State: 47:[27, 29, 94], Operations: ['13+81=94']
Exploring Operation: 29-27=2, Resulting Numbers: [94, 2]
Generated Node #3: [94, 2] from Operation: 29-27=2
Current State: 47:[94, 2], Operations: ['13+81=94', '29-27=2']
Exploring Operation: 94/2=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[13, 81, 27, 29], Operations: []
Exploring Operation: 13+29=42, Resulting Numbers: [81, 27, 42]
Generated Node #0,0: 47:[81, 27, 42] Operation: 13+29=42
Exploring Operation: 81-13=68, Resulting Numbers: [27, 29, 68]
Generated Node #0,1: 47:[27, 29, 68] Operation: 81-13=68
Exploring Operation: 13+27=40, Resulting Numbers: [81, 29, 40]
Generated Node #0,2: 47:[81, 29, 40] Operation: 13+27=40
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[81, 27, 42], Operations: ['13+29=42']
Exploring Operation: 81-42=39, Resulting Numbers: [27, 39]
Generated Node #0,0,0: 47:[27, 39] Operation: 81-42=39
Exploring Operation: 81-27=54, Resulting Numbers: [42, 54]
Generated Node #0,0,1: 47:[42, 54] Operation: 81-27=54
Exploring Operation: 81/27=3, Resulting Numbers: [42, 3]
Generated Node #0,0,2: 47:[42, 3] Operation: 81/27=3
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 47:[42, 54], Operations: ['13+29=42', '81-27=54']
Exploring Operation: 42+54=96, Resulting Numbers: [96]
96,47 unequal: No Solution
Exploring Operation: 54-42=12, Resulting Numbers: [12]
12,47 unequal: No Solution
Exploring Operation: 42*54=2268, Resulting Numbers: [2268]
2268,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 47:[27, 39], Operations: ['13+29=42', '81-42=39']
Exploring Operation: 27*39=1053, Resulting Numbers: [1053]
1053,47 unequal: No Solution
Exploring Operation: 27+39=66, Resulting Numbers: [66]
66,47 unequal: No Solution
Exploring Operation: 39-27=12, Resulting Numbers: [12]
12,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 47:[42, 3], Operations: ['13+29=42', '81/27=3']
Exploring Operation: 42+3=45, Resulting Numbers: [45]
45,47 unequal: No Solution
Exploring Operation: 42-3=39, Resulting Numbers: [39]
39,47 unequal: No Solution
Exploring Operation: 42/3=14, Resulting Numbers: [14]
14,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 47:[27, 29, 68], Operations: ['81-13=68']
Exploring Operation: 27+29=56, Resulting Numbers: [68, 56]
Generated Node #0,1,0: 47:[68, 56] Operation: 27+29=56
Exploring Operation: 68-27=41, Resulting Numbers: [29, 41]
Generated Node #0,1,1: 47:[29, 41] Operation: 68-27=41
Exploring Operation: 68-29=39, Resulting Numbers: [27, 39]
Generated Node #0,1,2: 47:[27, 39] Operation: 68-29=39
Moving to Node #0,1,1
Current State: 47:[29, 41], Operations: ['81-13=68', '68-27=41']
Exploring Operation: 29+41=70, Resulting Numbers: [70]
70,47 unequal: No Solution
Exploring Operation: 29*41=1189, Resulting Numbers: [1189]
1189,47 unequal: No Solution
Exploring Operation: 41-29=12, Resulting Numbers: [12]
12,47 unequal: No Solution
Moving to Node #0,1,2
Current State: 47:[27, 39], Operations: ['81-13=68', '68-29=39']
Exploring Operation: 27+39=66, Resulting Numbers: [66]
66,47 unequal: No Solution
Exploring Operation: 39-27=12, Resulting Numbers: [12]
12,47 unequal: No Solution
Exploring Operation: 27*39=1053, Resulting Numbers: [1053]
1053,47 unequal: No Solution
Moving to Node #0,1,0
Current State: 47:[68, 56], Operations: ['81-13=68', '27+29=56']
Exploring Operation: 68*56=3808, Resulting Numbers: [3808]
3808,47 unequal: No Solution
Exploring Operation: 68-56=12, Resulting Numbers: [12]
12,47 unequal: No Solution
Exploring Operation: 68+56=124, Resulting Numbers: [124]
124,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 47:[81, 29, 40], Operations: ['13+27=40']
Exploring Operation: 81-40=41, Resulting Numbers: [29, 41]
Generated Node #0,2,0: 47:[29, 41] Operation: 81-40=41
Exploring Operation: 29+40=69, Resulting Numbers: [81, 69]
Generated Node #0,2,1: 47:[81, 69] Operation: 29+40=69
Exploring Operation: 81-29=52, Resulting Numbers: [40, 52]
Generated Node #0,2,2: 47:[40, 52] Operation: 81-29=52
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 47:[40, 52], Operations: ['13+27=40', '81-29=52']
Exploring Operation: 40+52=92, Resulting Numbers: [92]
92,47 unequal: No Solution
Exploring Operation: 52-40=12, Resulting Numbers: [12]
12,47 unequal: No Solution
Exploring Operation: 40*52=2080, Resulting Numbers: [2080]
2080,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 47:[29, 41], Operations: ['13+27=40', '81-40=41']
Exploring Operation: 29*41=1189, Resulting Numbers: [1189]
1189,47 unequal: No Solution
Exploring Operation: 29+41=70, Resulting Numbers: [70]
70,47 unequal: No Solution
Exploring Operation: 41-29=12, Resulting Numbers: [12]
12,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 47:[81, 69], Operations: ['13+27=40', '29+40=69']
Exploring Operation: 81+69=150, Resulting Numbers: [150]
150,47 unequal: No Solution
Exploring Operation: 81*69=5589, Resulting Numbers: [5589]
5589,47 unequal: No Solution
Exploring Operation: 81-69=12, Resulting Numbers: [12]
12,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
25,
66,
11,
26
] | 54 | [
"25+66=91",
"11+26=37",
"91-37=54"
] | Current State: 54:[25, 66, 11, 26], Operations: []
Exploring Operation: 25+66=91, Resulting Numbers: [11, 26, 91]
Generated Node #2: [11, 26, 91] from Operation: 25+66=91
Current State: 54:[11, 26, 91], Operations: ['25+66=91']
Exploring Operation: 11+26=37, Resulting Numbers: [91, 37]
Generated Node #3: [91, 37] from Operation: 11+26=37
Current State: 54:[91, 37], Operations: ['25+66=91', '11+26=37']
Exploring Operation: 91-37=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[25, 66, 11, 26], Operations: []
Exploring Operation: 66/11=6, Resulting Numbers: [25, 26, 6]
Generated Node #0,0: 54:[25, 26, 6] Operation: 66/11=6
Moving to Node #0,0
Current State: 54:[25, 26, 6], Operations: ['66/11=6']
Exploring Operation: 26-25=1, Resulting Numbers: [6, 1]
Generated Node #0,0,0: 54:[6, 1] Operation: 26-25=1
Moving to Node #0,0,0
Current State: 54:[6, 1], Operations: ['66/11=6', '26-25=1']
Exploring Operation: 6*1=6, Resulting Numbers: [6]
6,54 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
59,
94,
70,
52
] | 84 | [
"59-52=7",
"70/7=10",
"94-10=84"
] | Current State: 84:[59, 94, 70, 52], Operations: []
Exploring Operation: 59-52=7, Resulting Numbers: [94, 70, 7]
Generated Node #2: [94, 70, 7] from Operation: 59-52=7
Current State: 84:[94, 70, 7], Operations: ['59-52=7']
Exploring Operation: 70/7=10, Resulting Numbers: [94, 10]
Generated Node #3: [94, 10] from Operation: 70/7=10
Current State: 84:[94, 10], Operations: ['59-52=7', '70/7=10']
Exploring Operation: 94-10=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[59, 94, 70, 52], Operations: []
Exploring Operation: 94-70=24, Resulting Numbers: [59, 52, 24]
Generated Node #0,0: 84:[59, 52, 24] Operation: 94-70=24
Exploring Operation: 59-52=7, Resulting Numbers: [94, 70, 7]
Generated Node #0,1: 84:[94, 70, 7] Operation: 59-52=7
Exploring Operation: 70-59=11, Resulting Numbers: [94, 52, 11]
Generated Node #0,2: 84:[94, 52, 11] Operation: 70-59=11
Start Sub Search at level 1: Moving to Node #0,2
Current State: 84:[94, 52, 11], Operations: ['70-59=11']
Exploring Operation: 52-11=41, Resulting Numbers: [94, 41]
Generated Node #0,2,0: 84:[94, 41] Operation: 52-11=41
Exploring Operation: 94-52=42, Resulting Numbers: [11, 42]
Generated Node #0,2,1: 84:[11, 42] Operation: 94-52=42
Exploring Operation: 94-11=83, Resulting Numbers: [52, 83]
Generated Node #0,2,2: 84:[52, 83] Operation: 94-11=83
Moving to Node #0,2,1
Current State: 84:[11, 42], Operations: ['70-59=11', '94-52=42']
Exploring Operation: 11+42=53, Resulting Numbers: [53]
53,84 unequal: No Solution
Exploring Operation: 42-11=31, Resulting Numbers: [31]
31,84 unequal: No Solution
Exploring Operation: 11*42=462, Resulting Numbers: [462]
462,84 unequal: No Solution
Moving to Node #0,2,0
Current State: 84:[94, 41], Operations: ['70-59=11', '52-11=41']
Exploring Operation: 94-41=53, Resulting Numbers: [53]
53,84 unequal: No Solution
Exploring Operation: 94+41=135, Resulting Numbers: [135]
135,84 unequal: No Solution
Exploring Operation: 94*41=3854, Resulting Numbers: [3854]
3854,84 unequal: No Solution
Moving to Node #0,2,2
Current State: 84:[52, 83], Operations: ['70-59=11', '94-11=83']
Exploring Operation: 52*83=4316, Resulting Numbers: [4316]
4316,84 unequal: No Solution
Exploring Operation: 83-52=31, Resulting Numbers: [31]
31,84 unequal: No Solution
Exploring Operation: 52+83=135, Resulting Numbers: [135]
135,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 84:[94, 70, 7], Operations: ['59-52=7']
Exploring Operation: 70/7=10, Resulting Numbers: [94, 10]
Generated Node #0,1,0: 84:[94, 10] Operation: 70/7=10
Exploring Operation: 94-7=87, Resulting Numbers: [70, 87]
Generated Node #0,1,1: 84:[70, 87] Operation: 94-7=87
Exploring Operation: 94-70=24, Resulting Numbers: [7, 24]
Generated Node #0,1,2: 84:[7, 24] Operation: 94-70=24
Moving to Node #0,1,2
Current State: 84:[7, 24], Operations: ['59-52=7', '94-70=24']
Exploring Operation: 7*24=168, Resulting Numbers: [168]
168,84 unequal: No Solution
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,84 unequal: No Solution
Exploring Operation: 7+24=31, Resulting Numbers: [31]
31,84 unequal: No Solution
Moving to Node #0,1,0
Current State: 84:[94, 10], Operations: ['59-52=7', '70/7=10']
Exploring Operation: 94-10=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[59, 94, 70, 52], Operations: []
Exploring Operation: 59-52=7, Resulting Numbers: [94, 70, 7]
Generated Node #0,1: 84:[94, 70, 7] Operation: 59-52=7
Moving to Node #0,1
Current State: 84:[94, 70, 7], Operations: ['59-52=7']
Exploring Operation: 70/7=10, Resulting Numbers: [94, 10]
Generated Node #0,1,0: 84:[94, 10] Operation: 70/7=10
Moving to Node #0,1,0
Current State: 84:[94, 10], Operations: ['59-52=7', '70/7=10']
Exploring Operation: 94-10=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_3 | mult_heuristic |
[
5,
31,
90,
28
] | 21 | [
"90/5=18",
"31-28=3",
"18+3=21"
] | Current State: 21:[5, 31, 90, 28], Operations: []
Exploring Operation: 90/5=18, Resulting Numbers: [31, 28, 18]
Generated Node #2: [31, 28, 18] from Operation: 90/5=18
Current State: 21:[31, 28, 18], Operations: ['90/5=18']
Exploring Operation: 31-28=3, Resulting Numbers: [18, 3]
Generated Node #3: [18, 3] from Operation: 31-28=3
Current State: 21:[18, 3], Operations: ['90/5=18', '31-28=3']
Exploring Operation: 18+3=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[5, 31, 90, 28], Operations: []
Exploring Operation: 31-28=3, Resulting Numbers: [5, 90, 3]
Generated Node #0,0: 21:[5, 90, 3] Operation: 31-28=3
Exploring Operation: 90-28=62, Resulting Numbers: [5, 31, 62]
Generated Node #0,1: 21:[5, 31, 62] Operation: 90-28=62
Exploring Operation: 31-5=26, Resulting Numbers: [90, 28, 26]
Generated Node #0,2: 21:[90, 28, 26] Operation: 31-5=26
Exploring Operation: 90-31=59, Resulting Numbers: [5, 28, 59]
Generated Node #0,3: 21:[5, 28, 59] Operation: 90-31=59
Exploring Operation: 90/5=18, Resulting Numbers: [31, 28, 18]
Generated Node #0,4: 21:[31, 28, 18] Operation: 90/5=18
Start Sub Search at level 1: Moving to Node #0,4
Current State: 21:[31, 28, 18], Operations: ['90/5=18']
Exploring Operation: 28-18=10, Resulting Numbers: [31, 10]
Generated Node #0,4,0: 21:[31, 10] Operation: 28-18=10
Exploring Operation: 31-18=13, Resulting Numbers: [28, 13]
Generated Node #0,4,1: 21:[28, 13] Operation: 31-18=13
Exploring Operation: 31+18=49, Resulting Numbers: [28, 49]
Generated Node #0,4,2: 21:[28, 49] Operation: 31+18=49
Exploring Operation: 28+18=46, Resulting Numbers: [31, 46]
Generated Node #0,4,3: 21:[31, 46] Operation: 28+18=46
Exploring Operation: 31-28=3, Resulting Numbers: [18, 3]
Generated Node #0,4,4: 21:[18, 3] Operation: 31-28=3
Moving to Node #0,4,4
Current State: 21:[18, 3], Operations: ['90/5=18', '31-28=3']
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,21 unequal: No Solution
Exploring Operation: 18*3=54, Resulting Numbers: [54]
54,21 unequal: No Solution
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,21 unequal: No Solution
Exploring Operation: 18+3=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[5, 31, 90, 28], Operations: []
Exploring Operation: 90/5=18, Resulting Numbers: [31, 28, 18]
Generated Node #0,4: 21:[31, 28, 18] Operation: 90/5=18
Moving to Node #0,4
Current State: 21:[31, 28, 18], Operations: ['90/5=18']
Exploring Operation: 31-28=3, Resulting Numbers: [18, 3]
Generated Node #0,4,4: 21:[18, 3] Operation: 31-28=3
Moving to Node #0,4,4
Current State: 21:[18, 3], Operations: ['90/5=18', '31-28=3']
Exploring Operation: 18+3=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | mult_heuristic |
[
86,
21,
27,
27
] | 64 | [
"86-21=65",
"27/27=1",
"65-1=64"
] | Current State: 64:[86, 21, 27, 27], Operations: []
Exploring Operation: 86-21=65, Resulting Numbers: [27, 27, 65]
Generated Node #2: [27, 27, 65] from Operation: 86-21=65
Current State: 64:[27, 27, 65], Operations: ['86-21=65']
Exploring Operation: 27/27=1, Resulting Numbers: [65, 1]
Generated Node #3: [65, 1] from Operation: 27/27=1
Current State: 64:[65, 1], Operations: ['86-21=65', '27/27=1']
Exploring Operation: 65-1=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[86, 21, 27, 27], Operations: []
Exploring Operation: 86-27=59, Resulting Numbers: [21, 27, 59]
Generated Node #0,0: 64:[21, 27, 59] Operation: 86-27=59
Exploring Operation: 27/27=1, Resulting Numbers: [86, 21, 1]
Generated Node #0,1: 64:[86, 21, 1] Operation: 27/27=1
Exploring Operation: 86-27=59, Resulting Numbers: [21, 27, 59]
Generated Node #0,2: 64:[21, 27, 59] Operation: 86-27=59
Exploring Operation: 86-21=65, Resulting Numbers: [27, 27, 65]
Generated Node #0,3: 64:[27, 27, 65] Operation: 86-21=65
Start Sub Search at level 1: Moving to Node #0,3
Current State: 64:[27, 27, 65], Operations: ['86-21=65']
Exploring Operation: 27/27=1, Resulting Numbers: [65, 1]
Generated Node #0,3,0: 64:[65, 1] Operation: 27/27=1
Exploring Operation: 65-27=38, Resulting Numbers: [27, 38]
Generated Node #0,3,1: 64:[27, 38] Operation: 65-27=38
Exploring Operation: 27-27=0, Resulting Numbers: [65, 0]
Generated Node #0,3,2: 64:[65, 0] Operation: 27-27=0
Exploring Operation: 27+27=54, Resulting Numbers: [65, 54]
Generated Node #0,3,3: 64:[65, 54] Operation: 27+27=54
Moving to Node #0,3,0
Current State: 64:[65, 1], Operations: ['86-21=65', '27/27=1']
Exploring Operation: 65-1=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[86, 21, 27, 27], Operations: []
Exploring Operation: 86-21=65, Resulting Numbers: [27, 27, 65]
Generated Node #0,3: 64:[27, 27, 65] Operation: 86-21=65
Moving to Node #0,3
Current State: 64:[27, 27, 65], Operations: ['86-21=65']
Exploring Operation: 27/27=1, Resulting Numbers: [65, 1]
Generated Node #0,3,0: 64:[65, 1] Operation: 27/27=1
Moving to Node #0,3,0
Current State: 64:[65, 1], Operations: ['86-21=65', '27/27=1']
Exploring Operation: 65-1=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
85,
67,
14,
78
] | 88 | [
"85+67=152",
"78-14=64",
"152-64=88"
] | Current State: 88:[85, 67, 14, 78], Operations: []
Exploring Operation: 85+67=152, Resulting Numbers: [14, 78, 152]
Generated Node #2: [14, 78, 152] from Operation: 85+67=152
Current State: 88:[14, 78, 152], Operations: ['85+67=152']
Exploring Operation: 78-14=64, Resulting Numbers: [152, 64]
Generated Node #3: [152, 64] from Operation: 78-14=64
Current State: 88:[152, 64], Operations: ['85+67=152', '78-14=64']
Exploring Operation: 152-64=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[85, 67, 14, 78], Operations: []
Exploring Operation: 67-14=53, Resulting Numbers: [85, 78, 53]
Generated Node #0,0: 88:[85, 78, 53] Operation: 67-14=53
Exploring Operation: 85-67=18, Resulting Numbers: [14, 78, 18]
Generated Node #0,1: 88:[14, 78, 18] Operation: 85-67=18
Exploring Operation: 67+14=81, Resulting Numbers: [85, 78, 81]
Generated Node #0,2: 88:[85, 78, 81] Operation: 67+14=81
Exploring Operation: 78-67=11, Resulting Numbers: [85, 14, 11]
Generated Node #0,3: 88:[85, 14, 11] Operation: 78-67=11
Moving to Node #0,3
Current State: 88:[85, 14, 11], Operations: ['78-67=11']
Exploring Operation: 85+14=99, Resulting Numbers: [11, 99]
Generated Node #0,3,0: 88:[11, 99] Operation: 85+14=99
Exploring Operation: 14+11=25, Resulting Numbers: [85, 25]
Generated Node #0,3,1: 88:[85, 25] Operation: 14+11=25
Exploring Operation: 85+11=96, Resulting Numbers: [14, 96]
Generated Node #0,3,2: 88:[14, 96] Operation: 85+11=96
Exploring Operation: 14-11=3, Resulting Numbers: [85, 3]
Generated Node #0,3,3: 88:[85, 3] Operation: 14-11=3
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 88:[85, 3], Operations: ['78-67=11', '14-11=3']
Exploring Operation: 85+3=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[85, 67, 14, 78], Operations: []
Exploring Operation: 78-67=11, Resulting Numbers: [85, 14, 11]
Generated Node #0,3: 88:[85, 14, 11] Operation: 78-67=11
Moving to Node #0,3
Current State: 88:[85, 14, 11], Operations: ['78-67=11']
Exploring Operation: 14-11=3, Resulting Numbers: [85, 3]
Generated Node #0,3,3: 88:[85, 3] Operation: 14-11=3
Moving to Node #0,3,3
Current State: 88:[85, 3], Operations: ['78-67=11', '14-11=3']
Exploring Operation: 85+3=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
29,
84,
38,
87
] | 19 | [
"38-29=9",
"84+87=171",
"171/9=19"
] | Current State: 19:[29, 84, 38, 87], Operations: []
Exploring Operation: 38-29=9, Resulting Numbers: [84, 87, 9]
Generated Node #2: [84, 87, 9] from Operation: 38-29=9
Current State: 19:[84, 87, 9], Operations: ['38-29=9']
Exploring Operation: 84+87=171, Resulting Numbers: [9, 171]
Generated Node #3: [9, 171] from Operation: 84+87=171
Current State: 19:[9, 171], Operations: ['38-29=9', '84+87=171']
Exploring Operation: 171/9=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[29, 84, 38, 87], Operations: []
Exploring Operation: 87-84=3, Resulting Numbers: [29, 38, 3]
Generated Node #0,0: 19:[29, 38, 3] Operation: 87-84=3
Moving to Node #0,0
Current State: 19:[29, 38, 3], Operations: ['87-84=3']
Exploring Operation: 38-29=9, Resulting Numbers: [3, 9]
Generated Node #0,0,0: 19:[3, 9] Operation: 38-29=9
Moving to Node #0,0,0
Current State: 19:[3, 9], Operations: ['87-84=3', '38-29=9']
Exploring Operation: 3+9=12, Resulting Numbers: [12]
12,19 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
41,
41,
89,
63
] | 63 | [
"41-41=0",
"89*0=0",
"63+0=63"
] | Current State: 63:[41, 41, 89, 63], Operations: []
Exploring Operation: 41-41=0, Resulting Numbers: [89, 63, 0]
Generated Node #2: [89, 63, 0] from Operation: 41-41=0
Current State: 63:[89, 63, 0], Operations: ['41-41=0']
Exploring Operation: 89*0=0, Resulting Numbers: [63, 0]
Generated Node #3: [63, 0] from Operation: 89*0=0
Current State: 63:[63, 0], Operations: ['41-41=0', '89*0=0']
Exploring Operation: 63+0=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[41, 41, 89, 63], Operations: []
Exploring Operation: 41/41=1, Resulting Numbers: [89, 63, 1]
Generated Node #0,0: 63:[89, 63, 1] Operation: 41/41=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[89, 63, 1], Operations: ['41/41=1']
Exploring Operation: 89-63=26, Resulting Numbers: [1, 26]
Generated Node #0,0,0: 63:[1, 26] Operation: 89-63=26
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 63:[1, 26], Operations: ['41/41=1', '89-63=26']
Exploring Operation: 26-1=25, Resulting Numbers: [25]
25,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
26,
63,
91,
67
] | 13 | [
"63-26=37",
"91-67=24",
"37-24=13"
] | Current State: 13:[26, 63, 91, 67], Operations: []
Exploring Operation: 63-26=37, Resulting Numbers: [91, 67, 37]
Generated Node #2: [91, 67, 37] from Operation: 63-26=37
Current State: 13:[91, 67, 37], Operations: ['63-26=37']
Exploring Operation: 91-67=24, Resulting Numbers: [37, 24]
Generated Node #3: [37, 24] from Operation: 91-67=24
Current State: 13:[37, 24], Operations: ['63-26=37', '91-67=24']
Exploring Operation: 37-24=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[26, 63, 91, 67], Operations: []
Exploring Operation: 91-67=24, Resulting Numbers: [26, 63, 24]
Generated Node #0,0: 13:[26, 63, 24] Operation: 91-67=24
Exploring Operation: 91-63=28, Resulting Numbers: [26, 67, 28]
Generated Node #0,1: 13:[26, 67, 28] Operation: 91-63=28
Exploring Operation: 63-26=37, Resulting Numbers: [91, 67, 37]
Generated Node #0,2: 13:[91, 67, 37] Operation: 63-26=37
Exploring Operation: 67-63=4, Resulting Numbers: [26, 91, 4]
Generated Node #0,3: 13:[26, 91, 4] Operation: 67-63=4
Moving to Node #0,0
Current State: 13:[26, 63, 24], Operations: ['91-67=24']
Exploring Operation: 26-24=2, Resulting Numbers: [63, 2]
Generated Node #0,0,0: 13:[63, 2] Operation: 26-24=2
Exploring Operation: 63-24=39, Resulting Numbers: [26, 39]
Generated Node #0,0,1: 13:[26, 39] Operation: 63-24=39
Exploring Operation: 26+63=89, Resulting Numbers: [24, 89]
Generated Node #0,0,2: 13:[24, 89] Operation: 26+63=89
Exploring Operation: 63-26=37, Resulting Numbers: [24, 37]
Generated Node #0,0,3: 13:[24, 37] Operation: 63-26=37
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 13:[24, 37], Operations: ['91-67=24', '63-26=37']
Exploring Operation: 37-24=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[26, 63, 91, 67], Operations: []
Exploring Operation: 91-67=24, Resulting Numbers: [26, 63, 24]
Generated Node #0,0: 13:[26, 63, 24] Operation: 91-67=24
Moving to Node #0,0
Current State: 13:[26, 63, 24], Operations: ['91-67=24']
Exploring Operation: 63-26=37, Resulting Numbers: [24, 37]
Generated Node #0,0,3: 13:[24, 37] Operation: 63-26=37
Moving to Node #0,0,3
Current State: 13:[24, 37], Operations: ['91-67=24', '63-26=37']
Exploring Operation: 37-24=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
40,
50,
52,
52
] | 24 | [
"52-40=12",
"52-50=2",
"12*2=24"
] | Current State: 24:[40, 50, 52, 52], Operations: []
Exploring Operation: 52-40=12, Resulting Numbers: [50, 12]
Generated Node #2: [50, 12] from Operation: 52-40=12
Current State: 24:[50, 12], Operations: ['52-40=12']
Exploring Operation: 52-50=2, Resulting Numbers: [12, 2]
Generated Node #3: [12, 2] from Operation: 52-50=2
Current State: 24:[12, 2], Operations: ['52-40=12', '52-50=2']
Exploring Operation: 12*2=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[40, 50, 52, 52], Operations: []
Exploring Operation: 52/52=1, Resulting Numbers: [40, 50, 1]
Generated Node #0,0: 24:[40, 50, 1] Operation: 52/52=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 24:[40, 50, 1], Operations: ['52/52=1']
Exploring Operation: 50-40=10, Resulting Numbers: [1, 10]
Generated Node #0,0,0: 24:[1, 10] Operation: 50-40=10
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 24:[1, 10], Operations: ['52/52=1', '50-40=10']
Exploring Operation: 1+10=11, Resulting Numbers: [11]
11,24 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 |
[
51,
12,
90,
63
] | 89 | [
"51+12=63",
"63/63=1",
"90-1=89"
] | Current State: 89:[51, 12, 90, 63], Operations: []
Exploring Operation: 51+12=63, Resulting Numbers: [90, 63, 63]
Generated Node #2: [90, 63, 63] from Operation: 51+12=63
Current State: 89:[90, 63, 63], Operations: ['51+12=63']
Exploring Operation: 63/63=1, Resulting Numbers: [90, 1]
Generated Node #3: [90, 1] from Operation: 63/63=1
Current State: 89:[90, 1], Operations: ['51+12=63', '63/63=1']
Exploring Operation: 90-1=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[51, 12, 90, 63], Operations: []
Exploring Operation: 12+63=75, Resulting Numbers: [51, 90, 75]
Generated Node #0,0: 89:[51, 90, 75] Operation: 12+63=75
Exploring Operation: 51-12=39, Resulting Numbers: [90, 63, 39]
Generated Node #0,1: 89:[90, 63, 39] Operation: 51-12=39
Exploring Operation: 90-12=78, Resulting Numbers: [51, 63, 78]
Generated Node #0,2: 89:[51, 63, 78] Operation: 90-12=78
Exploring Operation: 51+12=63, Resulting Numbers: [90, 63, 63]
Generated Node #0,3: 89:[90, 63, 63] Operation: 51+12=63
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[51, 90, 75], Operations: ['12+63=75']
Exploring Operation: 75-51=24, Resulting Numbers: [90, 24]
Generated Node #0,0,0: 89:[90, 24] Operation: 75-51=24
Exploring Operation: 51+75=126, Resulting Numbers: [90, 126]
Generated Node #0,0,1: 89:[90, 126] Operation: 51+75=126
Exploring Operation: 51+90=141, Resulting Numbers: [75, 141]
Generated Node #0,0,2: 89:[75, 141] Operation: 51+90=141
Exploring Operation: 90-51=39, Resulting Numbers: [75, 39]
Generated Node #0,0,3: 89:[75, 39] Operation: 90-51=39
Moving to Node #0,0,1
Current State: 89:[90, 126], Operations: ['12+63=75', '51+75=126']
Exploring Operation: 90*126=11340, Resulting Numbers: [11340]
11340,89 unequal: No Solution
Exploring Operation: 90+126=216, Resulting Numbers: [216]
216,89 unequal: No Solution
Exploring Operation: 126-90=36, Resulting Numbers: [36]
36,89 unequal: No Solution
Moving to Node #0,0,3
Current State: 89:[75, 39], Operations: ['12+63=75', '90-51=39']
Exploring Operation: 75*39=2925, Resulting Numbers: [2925]
2925,89 unequal: No Solution
Exploring Operation: 75+39=114, Resulting Numbers: [114]
114,89 unequal: No Solution
Exploring Operation: 75-39=36, Resulting Numbers: [36]
36,89 unequal: No Solution
Moving to Node #0,0,2
Current State: 89:[75, 141], Operations: ['12+63=75', '51+90=141']
Exploring Operation: 75*141=10575, Resulting Numbers: [10575]
10575,89 unequal: No Solution
Exploring Operation: 75+141=216, Resulting Numbers: [216]
216,89 unequal: No Solution
Exploring Operation: 141-75=66, Resulting Numbers: [66]
66,89 unequal: No Solution
Moving to Node #0,0,0
Current State: 89:[90, 24], Operations: ['12+63=75', '75-51=24']
Exploring Operation: 90+24=114, Resulting Numbers: [114]
114,89 unequal: No Solution
Exploring Operation: 90*24=2160, Resulting Numbers: [2160]
2160,89 unequal: No Solution
Exploring Operation: 90-24=66, Resulting Numbers: [66]
66,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:[90, 63, 63], Operations: ['51+12=63']
Exploring Operation: 90-63=27, Resulting Numbers: [63, 27]
Generated Node #0,3,0: 89:[63, 27] Operation: 90-63=27
Exploring Operation: 63/63=1, Resulting Numbers: [90, 1]
Generated Node #0,3,1: 89:[90, 1] Operation: 63/63=1
Exploring Operation: 63+63=126, Resulting Numbers: [90, 126]
Generated Node #0,3,2: 89:[90, 126] Operation: 63+63=126
Exploring Operation: 90-63=27, Resulting Numbers: [63, 27]
Generated Node #0,3,3: 89:[63, 27] Operation: 90-63=27
Moving to Node #0,3,2
Current State: 89:[90, 126], Operations: ['51+12=63', '63+63=126']
Exploring Operation: 126-90=36, Resulting Numbers: [36]
36,89 unequal: No Solution
Exploring Operation: 90+126=216, Resulting Numbers: [216]
216,89 unequal: No Solution
Exploring Operation: 90*126=11340, Resulting Numbers: [11340]
11340,89 unequal: No Solution
Moving to Node #0,3,3
Current State: 89:[63, 27], Operations: ['51+12=63', '90-63=27']
Exploring Operation: 63+27=90, Resulting Numbers: [90]
90,89 unequal: No Solution
Exploring Operation: 63-27=36, Resulting Numbers: [36]
36,89 unequal: No Solution
Exploring Operation: 63*27=1701, Resulting Numbers: [1701]
1701,89 unequal: No Solution
Moving to Node #0,3,0
Current State: 89:[63, 27], Operations: ['51+12=63', '90-63=27']
Exploring Operation: 63*27=1701, Resulting Numbers: [1701]
1701,89 unequal: No Solution
Exploring Operation: 63+27=90, Resulting Numbers: [90]
90,89 unequal: No Solution
Exploring Operation: 63-27=36, Resulting Numbers: [36]
36,89 unequal: No Solution
Moving to Node #0,3,1
Current State: 89:[90, 1], Operations: ['51+12=63', '63/63=1']
Exploring Operation: 90*1=90, Resulting Numbers: [90]
90,89 unequal: No Solution
Exploring Operation: 90/1=90, Resulting Numbers: [90]
90,89 unequal: No Solution
Exploring Operation: 90-1=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[51, 12, 90, 63], Operations: []
Exploring Operation: 51+12=63, Resulting Numbers: [90, 63, 63]
Generated Node #0,3: 89:[90, 63, 63] Operation: 51+12=63
Moving to Node #0,3
Current State: 89:[90, 63, 63], Operations: ['51+12=63']
Exploring Operation: 63/63=1, Resulting Numbers: [90, 1]
Generated Node #0,3,1: 89:[90, 1] Operation: 63/63=1
Moving to Node #0,3,1
Current State: 89:[90, 1], Operations: ['51+12=63', '63/63=1']
Exploring Operation: 90-1=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Exit Sub Search at level 1
| 0.965278 | hs_4 | sum_heuristic |
[
86,
40,
72,
56
] | 54 | [
"86-56=30",
"72*30=2160",
"2160/40=54"
] | Current State: 54:[86, 40, 72, 56], Operations: []
Exploring Operation: 86-56=30, Resulting Numbers: [40, 72, 30]
Generated Node #2: [40, 72, 30] from Operation: 86-56=30
Current State: 54:[40, 72, 30], Operations: ['86-56=30']
Exploring Operation: 72*30=2160, Resulting Numbers: [40, 2160]
Generated Node #3: [40, 2160] from Operation: 72*30=2160
Current State: 54:[40, 2160], Operations: ['86-56=30', '72*30=2160']
Exploring Operation: 2160/40=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[86, 40, 72, 56], Operations: []
Exploring Operation: 86-72=14, Resulting Numbers: [40, 56, 14]
Generated Node #0,0: 54:[40, 56, 14] Operation: 86-72=14
Exploring Operation: 86-40=46, Resulting Numbers: [72, 56, 46]
Generated Node #0,1: 54:[72, 56, 46] Operation: 86-40=46
Exploring Operation: 86-56=30, Resulting Numbers: [40, 72, 30]
Generated Node #0,2: 54:[40, 72, 30] Operation: 86-56=30
Moving to Node #0,0
Current State: 54:[40, 56, 14], Operations: ['86-72=14']
Exploring Operation: 40+14=54, Resulting Numbers: [56, 54]
Generated Node #0,0,0: 54:[56, 54] Operation: 40+14=54
Exploring Operation: 56-40=16, Resulting Numbers: [14, 16]
Generated Node #0,0,1: 54:[14, 16] Operation: 56-40=16
Exploring Operation: 40-14=26, Resulting Numbers: [56, 26]
Generated Node #0,0,2: 54:[56, 26] Operation: 40-14=26
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 54:[56, 54], Operations: ['86-72=14', '40+14=54']
Exploring Operation: 56+54=110, Resulting Numbers: [110]
110,54 unequal: No Solution
Exploring Operation: 56-54=2, Resulting Numbers: [2]
2,54 unequal: No Solution
Exploring Operation: 56*54=3024, Resulting Numbers: [3024]
3024,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 54:[56, 26], Operations: ['86-72=14', '40-14=26']
Exploring Operation: 56*26=1456, Resulting Numbers: [1456]
1456,54 unequal: No Solution
Exploring Operation: 56-26=30, Resulting Numbers: [30]
30,54 unequal: No Solution
Exploring Operation: 56+26=82, Resulting Numbers: [82]
82,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 54:[14, 16], Operations: ['86-72=14', '56-40=16']
Exploring Operation: 14+16=30, Resulting Numbers: [30]
30,54 unequal: No Solution
Exploring Operation: 14*16=224, Resulting Numbers: [224]
224,54 unequal: No Solution
Exploring Operation: 16-14=2, Resulting Numbers: [2]
2,54 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: 54:[72, 56, 46], Operations: ['86-40=46']
Exploring Operation: 72-56=16, Resulting Numbers: [46, 16]
Generated Node #0,1,0: 54:[46, 16] Operation: 72-56=16
Exploring Operation: 72-46=26, Resulting Numbers: [56, 26]
Generated Node #0,1,1: 54:[56, 26] Operation: 72-46=26
Exploring Operation: 56-46=10, Resulting Numbers: [72, 10]
Generated Node #0,1,2: 54:[72, 10] Operation: 56-46=10
Moving to Node #0,2
Current State: 54:[40, 72, 30], Operations: ['86-56=30']
Exploring Operation: 40-30=10, Resulting Numbers: [72, 10]
Generated Node #0,2,0: 54:[72, 10] Operation: 40-30=10
Exploring Operation: 72-40=32, Resulting Numbers: [30, 32]
Generated Node #0,2,1: 54:[30, 32] Operation: 72-40=32
Exploring Operation: 72-30=42, Resulting Numbers: [40, 42]
Generated Node #0,2,2: 54:[40, 42] Operation: 72-30=42
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 54:[30, 32], Operations: ['86-56=30', '72-40=32']
Exploring Operation: 30*32=960, Resulting Numbers: [960]
960,54 unequal: No Solution
Exploring Operation: 32-30=2, Resulting Numbers: [2]
2,54 unequal: No Solution
Exploring Operation: 30+32=62, Resulting Numbers: [62]
62,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 54:[72, 10], Operations: ['86-56=30', '40-30=10']
Exploring Operation: 72-10=62, Resulting Numbers: [62]
62,54 unequal: No Solution
Exploring Operation: 72*10=720, Resulting Numbers: [720]
720,54 unequal: No Solution
Exploring Operation: 72+10=82, Resulting Numbers: [82]
82,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 54:[40, 42], Operations: ['86-56=30', '72-30=42']
Exploring Operation: 40+42=82, Resulting Numbers: [82]
82,54 unequal: No Solution
Exploring Operation: 40*42=1680, Resulting Numbers: [1680]
1680,54 unequal: No Solution
Exploring Operation: 42-40=2, Resulting Numbers: [2]
2,54 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: 54:[56, 26], Operations: ['86-40=46', '72-46=26']
Exploring Operation: 56-26=30, Resulting Numbers: [30]
30,54 unequal: No Solution
Exploring Operation: 56*26=1456, Resulting Numbers: [1456]
1456,54 unequal: No Solution
Exploring Operation: 56+26=82, Resulting Numbers: [82]
82,54 unequal: No Solution
Moving to Node #0,1,0
Current State: 54:[46, 16], Operations: ['86-40=46', '72-56=16']
Exploring Operation: 46+16=62, Resulting Numbers: [62]
62,54 unequal: No Solution
Exploring Operation: 46-16=30, Resulting Numbers: [30]
30,54 unequal: No Solution
Exploring Operation: 46*16=736, Resulting Numbers: [736]
736,54 unequal: No Solution
Moving to Node #0,1,2
Current State: 54:[72, 10], Operations: ['86-40=46', '56-46=10']
Exploring Operation: 72*10=720, Resulting Numbers: [720]
720,54 unequal: No Solution
Exploring Operation: 72-10=62, Resulting Numbers: [62]
62,54 unequal: No Solution
Exploring Operation: 72+10=82, Resulting Numbers: [82]
82,54 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
90,
66,
31,
99
] | 88 | [
"90+66=156",
"99-31=68",
"156-68=88"
] | Current State: 88:[90, 66, 31, 99], Operations: []
Exploring Operation: 90+66=156, Resulting Numbers: [31, 99, 156]
Generated Node #2: [31, 99, 156] from Operation: 90+66=156
Current State: 88:[31, 99, 156], Operations: ['90+66=156']
Exploring Operation: 99-31=68, Resulting Numbers: [156, 68]
Generated Node #3: [156, 68] from Operation: 99-31=68
Current State: 88:[156, 68], Operations: ['90+66=156', '99-31=68']
Exploring Operation: 156-68=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[90, 66, 31, 99], Operations: []
Exploring Operation: 90-66=24, Resulting Numbers: [31, 99, 24]
Generated Node #0,0: 88:[31, 99, 24] Operation: 90-66=24
Exploring Operation: 66+31=97, Resulting Numbers: [90, 99, 97]
Generated Node #0,1: 88:[90, 99, 97] Operation: 66+31=97
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[31, 99, 24], Operations: ['90-66=24']
Exploring Operation: 99-31=68, Resulting Numbers: [24, 68]
Generated Node #0,0,0: 88:[24, 68] Operation: 99-31=68
Exploring Operation: 31-24=7, Resulting Numbers: [99, 7]
Generated Node #0,0,1: 88:[99, 7] Operation: 31-24=7
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 88:[99, 7], Operations: ['90-66=24', '31-24=7']
Exploring Operation: 99-7=92, Resulting Numbers: [92]
92,88 unequal: No Solution
Exploring Operation: 99+7=106, Resulting Numbers: [106]
106,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,0,0
Current State: 88:[24, 68], Operations: ['90-66=24', '99-31=68']
Exploring Operation: 68-24=44, Resulting Numbers: [44]
44,88 unequal: No Solution
Exploring Operation: 24+68=92, Resulting Numbers: [92]
92,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 88:[90, 99, 97], Operations: ['66+31=97']
Exploring Operation: 99-90=9, Resulting Numbers: [97, 9]
Generated Node #0,1,0: 88:[97, 9] Operation: 99-90=9
Exploring Operation: 99-97=2, Resulting Numbers: [90, 2]
Generated Node #0,1,1: 88:[90, 2] Operation: 99-97=2
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 88:[90, 2], Operations: ['66+31=97', '99-97=2']
Exploring Operation: 90/2=45, Resulting Numbers: [45]
45,88 unequal: No Solution
Exploring Operation: 90-2=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[90, 66, 31, 99], Operations: []
Exploring Operation: 66+31=97, Resulting Numbers: [90, 99, 97]
Generated Node #0,1: 88:[90, 99, 97] Operation: 66+31=97
Moving to Node #0,1
Current State: 88:[90, 99, 97], Operations: ['66+31=97']
Exploring Operation: 99-97=2, Resulting Numbers: [90, 2]
Generated Node #0,1,1: 88:[90, 2] Operation: 99-97=2
Moving to Node #0,1,1
Current State: 88:[90, 2], Operations: ['66+31=97', '99-97=2']
Exploring Operation: 90-2=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_2 | sum_heuristic |
[
39,
48,
13,
87
] | 13 | [
"39+48=87",
"13+87=100",
"100-87=13"
] | Current State: 13:[39, 48, 13, 87], Operations: []
Exploring Operation: 39+48=87, Resulting Numbers: [13, 87, 87]
Generated Node #2: [13, 87, 87] from Operation: 39+48=87
Current State: 13:[13, 87, 87], Operations: ['39+48=87']
Exploring Operation: 13+87=100, Resulting Numbers: [100]
100,13 equal: Goal Reached
Exploring Operation: 100-87=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[39, 48, 13, 87], Operations: []
Exploring Operation: 48-39=9, Resulting Numbers: [13, 87, 9]
Generated Node #0,0: 13:[13, 87, 9] Operation: 48-39=9
Exploring Operation: 87-39=48, Resulting Numbers: [48, 13, 48]
Generated Node #0,1: 13:[48, 13, 48] Operation: 87-39=48
Exploring Operation: 87-48=39, Resulting Numbers: [39, 13, 39]
Generated Node #0,2: 13:[39, 13, 39] Operation: 87-48=39
Moving to Node #0,2
Current State: 13:[39, 13, 39], Operations: ['87-48=39']
Exploring Operation: 39-39=0, Resulting Numbers: [13, 0]
Generated Node #0,2,0: 13:[13, 0] Operation: 39-39=0
Exploring Operation: 39/39=1, Resulting Numbers: [13, 1]
Generated Node #0,2,1: 13:[13, 1] Operation: 39/39=1
Exploring Operation: 39/13=3, Resulting Numbers: [39, 3]
Generated Node #0,2,2: 13:[39, 3] Operation: 39/13=3
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 13:[13, 1], Operations: ['87-48=39', '39/39=1']
Exploring Operation: 13+1=14, Resulting Numbers: [14]
14,13 unequal: No Solution
Exploring Operation: 13/1=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[39, 48, 13, 87], Operations: []
Exploring Operation: 87-48=39, Resulting Numbers: [39, 13, 39]
Generated Node #0,2: 13:[39, 13, 39] Operation: 87-48=39
Moving to Node #0,2
Current State: 13:[39, 13, 39], Operations: ['87-48=39']
Exploring Operation: 39/39=1, Resulting Numbers: [13, 1]
Generated Node #0,2,1: 13:[13, 1] Operation: 39/39=1
Moving to Node #0,2,1
Current State: 13:[13, 1], Operations: ['87-48=39', '39/39=1']
Exploring Operation: 13/1=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
34,
12,
92,
67
] | 65 | [
"34+12=46",
"92/46=2",
"67-2=65"
] | Current State: 65:[34, 12, 92, 67], Operations: []
Exploring Operation: 34+12=46, Resulting Numbers: [92, 67, 46]
Generated Node #2: [92, 67, 46] from Operation: 34+12=46
Current State: 65:[92, 67, 46], Operations: ['34+12=46']
Exploring Operation: 92/46=2, Resulting Numbers: [67, 2]
Generated Node #3: [67, 2] from Operation: 92/46=2
Current State: 65:[67, 2], Operations: ['34+12=46', '92/46=2']
Exploring Operation: 67-2=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[34, 12, 92, 67], Operations: []
Exploring Operation: 92-34=58, Resulting Numbers: [12, 67, 58]
Generated Node #0,0: 65:[12, 67, 58] Operation: 92-34=58
Exploring Operation: 34-12=22, Resulting Numbers: [92, 67, 22]
Generated Node #0,1: 65:[92, 67, 22] Operation: 34-12=22
Exploring Operation: 92-12=80, Resulting Numbers: [34, 67, 80]
Generated Node #0,2: 65:[34, 67, 80] Operation: 92-12=80
Exploring Operation: 92-67=25, Resulting Numbers: [34, 12, 25]
Generated Node #0,3: 65:[34, 12, 25] Operation: 92-67=25
Exploring Operation: 34+12=46, Resulting Numbers: [92, 67, 46]
Generated Node #0,4: 65:[92, 67, 46] Operation: 34+12=46
Moving to Node #0,0
Current State: 65:[12, 67, 58], Operations: ['92-34=58']
Exploring Operation: 67-58=9, Resulting Numbers: [12, 9]
Generated Node #0,0,0: 65:[12, 9] Operation: 67-58=9
Exploring Operation: 58-12=46, Resulting Numbers: [67, 46]
Generated Node #0,0,1: 65:[67, 46] Operation: 58-12=46
Exploring Operation: 67-12=55, Resulting Numbers: [58, 55]
Generated Node #0,0,2: 65:[58, 55] Operation: 67-12=55
Exploring Operation: 12+58=70, Resulting Numbers: [67, 70]
Generated Node #0,0,3: 65:[67, 70] Operation: 12+58=70
Exploring Operation: 12+67=79, Resulting Numbers: [58, 79]
Generated Node #0,0,4: 65:[58, 79] Operation: 12+67=79
Moving to Node #0,3
Current State: 65:[34, 12, 25], Operations: ['92-67=25']
Exploring Operation: 34+25=59, Resulting Numbers: [12, 59]
Generated Node #0,3,0: 65:[12, 59] Operation: 34+25=59
Exploring Operation: 25-12=13, Resulting Numbers: [34, 13]
Generated Node #0,3,1: 65:[34, 13] Operation: 25-12=13
Exploring Operation: 34-25=9, Resulting Numbers: [12, 9]
Generated Node #0,3,2: 65:[12, 9] Operation: 34-25=9
Exploring Operation: 34+12=46, Resulting Numbers: [25, 46]
Generated Node #0,3,3: 65:[25, 46] Operation: 34+12=46
Exploring Operation: 34-12=22, Resulting Numbers: [25, 22]
Generated Node #0,3,4: 65:[25, 22] Operation: 34-12=22
Moving to Node #0,1
Current State: 65:[92, 67, 22], Operations: ['34-12=22']
Exploring Operation: 67+22=89, Resulting Numbers: [92, 89]
Generated Node #0,1,0: 65:[92, 89] Operation: 67+22=89
Exploring Operation: 92+22=114, Resulting Numbers: [67, 114]
Generated Node #0,1,1: 65:[67, 114] Operation: 92+22=114
Exploring Operation: 67-22=45, Resulting Numbers: [92, 45]
Generated Node #0,1,2: 65:[92, 45] Operation: 67-22=45
Exploring Operation: 92-67=25, Resulting Numbers: [22, 25]
Generated Node #0,1,3: 65:[22, 25] Operation: 92-67=25
Exploring Operation: 92-22=70, Resulting Numbers: [67, 70]
Generated Node #0,1,4: 65:[67, 70] Operation: 92-22=70
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 65:[67, 70], Operations: ['34-12=22', '92-22=70']
Exploring Operation: 70-67=3, Resulting Numbers: [3]
3,65 unequal: No Solution
Exploring Operation: 67*70=4690, Resulting Numbers: [4690]
4690,65 unequal: No Solution
Exploring Operation: 67+70=137, Resulting Numbers: [137]
137,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 65:[22, 25], Operations: ['34-12=22', '92-67=25']
Exploring Operation: 25-22=3, Resulting Numbers: [3]
3,65 unequal: No Solution
Exploring Operation: 22+25=47, Resulting Numbers: [47]
47,65 unequal: No Solution
Exploring Operation: 22*25=550, Resulting Numbers: [550]
550,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 65:[92, 45], Operations: ['34-12=22', '67-22=45']
Exploring Operation: 92*45=4140, Resulting Numbers: [4140]
4140,65 unequal: No Solution
Exploring Operation: 92-45=47, Resulting Numbers: [47]
47,65 unequal: No Solution
Exploring Operation: 92+45=137, Resulting Numbers: [137]
137,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 65:[92, 89], Operations: ['34-12=22', '67+22=89']
Exploring Operation: 92-89=3, Resulting Numbers: [3]
3,65 unequal: No Solution
Exploring Operation: 92+89=181, Resulting Numbers: [181]
181,65 unequal: No Solution
Exploring Operation: 92*89=8188, Resulting Numbers: [8188]
8188,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 65:[67, 114], Operations: ['34-12=22', '92+22=114']
Exploring Operation: 67*114=7638, Resulting Numbers: [7638]
7638,65 unequal: No Solution
Exploring Operation: 114-67=47, Resulting Numbers: [47]
47,65 unequal: No Solution
Exploring Operation: 67+114=181, Resulting Numbers: [181]
181,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 65:[34, 67, 80], Operations: ['92-12=80']
Exploring Operation: 80-67=13, Resulting Numbers: [34, 13]
Generated Node #0,2,0: 65:[34, 13] Operation: 80-67=13
Exploring Operation: 67-34=33, Resulting Numbers: [80, 33]
Generated Node #0,2,1: 65:[80, 33] Operation: 67-34=33
Exploring Operation: 34+67=101, Resulting Numbers: [80, 101]
Generated Node #0,2,2: 65:[80, 101] Operation: 34+67=101
Exploring Operation: 34+80=114, Resulting Numbers: [67, 114]
Generated Node #0,2,3: 65:[67, 114] Operation: 34+80=114
Exploring Operation: 80-34=46, Resulting Numbers: [67, 46]
Generated Node #0,2,4: 65:[67, 46] Operation: 80-34=46
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 65:[34, 13], Operations: ['92-12=80', '80-67=13']
Exploring Operation: 34+13=47, Resulting Numbers: [47]
47,65 unequal: No Solution
Exploring Operation: 34-13=21, Resulting Numbers: [21]
21,65 unequal: No Solution
Exploring Operation: 34*13=442, Resulting Numbers: [442]
442,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 65:[67, 46], Operations: ['92-12=80', '80-34=46']
Exploring Operation: 67+46=113, Resulting Numbers: [113]
113,65 unequal: No Solution
Exploring Operation: 67*46=3082, Resulting Numbers: [3082]
3082,65 unequal: No Solution
Exploring Operation: 67-46=21, Resulting Numbers: [21]
21,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 65:[80, 33], Operations: ['92-12=80', '67-34=33']
Exploring Operation: 80-33=47, Resulting Numbers: [47]
47,65 unequal: No Solution
Exploring Operation: 80+33=113, Resulting Numbers: [113]
113,65 unequal: No Solution
Exploring Operation: 80*33=2640, Resulting Numbers: [2640]
2640,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 65:[80, 101], Operations: ['92-12=80', '34+67=101']
Exploring Operation: 80+101=181, Resulting Numbers: [181]
181,65 unequal: No Solution
Exploring Operation: 101-80=21, Resulting Numbers: [21]
21,65 unequal: No Solution
Exploring Operation: 80*101=8080, Resulting Numbers: [8080]
8080,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 65:[67, 114], Operations: ['92-12=80', '34+80=114']
Exploring Operation: 67*114=7638, Resulting Numbers: [7638]
7638,65 unequal: No Solution
Exploring Operation: 67+114=181, Resulting Numbers: [181]
181,65 unequal: No Solution
Exploring Operation: 114-67=47, Resulting Numbers: [47]
47,65 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: 65:[92, 67, 46], Operations: ['34+12=46']
Exploring Operation: 67-46=21, Resulting Numbers: [92, 21]
Generated Node #0,4,0: 65:[92, 21] Operation: 67-46=21
Exploring Operation: 92/46=2, Resulting Numbers: [67, 2]
Generated Node #0,4,1: 65:[67, 2] Operation: 92/46=2
Exploring Operation: 92+46=138, Resulting Numbers: [67, 138]
Generated Node #0,4,2: 65:[67, 138] Operation: 92+46=138
Exploring Operation: 92-46=46, Resulting Numbers: [67, 46]
Generated Node #0,4,3: 65:[67, 46] Operation: 92-46=46
Exploring Operation: 92-67=25, Resulting Numbers: [46, 25]
Generated Node #0,4,4: 65:[46, 25] Operation: 92-67=25
Moving to Node #0,0,0
Current State: 65:[12, 9], Operations: ['92-34=58', '67-58=9']
Exploring Operation: 12+9=21, Resulting Numbers: [21]
21,65 unequal: No Solution
Exploring Operation: 12-9=3, Resulting Numbers: [3]
3,65 unequal: No Solution
Exploring Operation: 12*9=108, Resulting Numbers: [108]
108,65 unequal: No Solution
Moving to Node #0,3,2
Current State: 65:[12, 9], Operations: ['92-67=25', '34-25=9']
Exploring Operation: 12+9=21, Resulting Numbers: [21]
21,65 unequal: No Solution
Exploring Operation: 12*9=108, Resulting Numbers: [108]
108,65 unequal: No Solution
Exploring Operation: 12-9=3, Resulting Numbers: [3]
3,65 unequal: No Solution
Moving to Node #0,4,1
Current State: 65:[67, 2], Operations: ['34+12=46', '92/46=2']
Exploring Operation: 67+2=69, Resulting Numbers: [69]
69,65 unequal: No Solution
Exploring Operation: 67-2=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[34, 12, 92, 67], Operations: []
Exploring Operation: 34+12=46, Resulting Numbers: [92, 67, 46]
Generated Node #0,4: 65:[92, 67, 46] Operation: 34+12=46
Moving to Node #0,4
Current State: 65:[92, 67, 46], Operations: ['34+12=46']
Exploring Operation: 92/46=2, Resulting Numbers: [67, 2]
Generated Node #0,4,1: 65:[67, 2] Operation: 92/46=2
Moving to Node #0,4,1
Current State: 65:[67, 2], Operations: ['34+12=46', '92/46=2']
Exploring Operation: 67-2=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 0.9375 | hs_5 | mult_heuristic |
[
9,
1,
18,
4
] | 82 | [
"9+1=10",
"18*4=72",
"10+72=82"
] | Current State: 82:[9, 1, 18, 4], Operations: []
Exploring Operation: 9+1=10, Resulting Numbers: [18, 4, 10]
Generated Node #2: [18, 4, 10] from Operation: 9+1=10
Current State: 82:[18, 4, 10], Operations: ['9+1=10']
Exploring Operation: 18*4=72, Resulting Numbers: [10, 72]
Generated Node #3: [10, 72] from Operation: 18*4=72
Current State: 82:[10, 72], Operations: ['9+1=10', '18*4=72']
Exploring Operation: 10+72=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[9, 1, 18, 4], Operations: []
Exploring Operation: 18/9=2, Resulting Numbers: [1, 4, 2]
Generated Node #0,0: 82:[1, 4, 2] Operation: 18/9=2
Exploring Operation: 18-9=9, Resulting Numbers: [1, 4, 9]
Generated Node #0,1: 82:[1, 4, 9] Operation: 18-9=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[1, 4, 2], Operations: ['18/9=2']
Exploring Operation: 4-2=2, Resulting Numbers: [1, 2]
Generated Node #0,0,0: 82:[1, 2] Operation: 4-2=2
Exploring Operation: 4-1=3, Resulting Numbers: [2, 3]
Generated Node #0,0,1: 82:[2, 3] Operation: 4-1=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 82:[1, 2], Operations: ['18/9=2', '4-2=2']
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,82 unequal: No Solution
Exploring Operation: 1*2=2, Resulting Numbers: [2]
2,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 82:[2, 3], Operations: ['18/9=2', '4-1=3']
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,82 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 82:[1, 4, 9], Operations: ['18-9=9']
Exploring Operation: 9-4=5, Resulting Numbers: [1, 5]
Generated Node #0,1,0: 82:[1, 5] Operation: 9-4=5
Exploring Operation: 4*9=36, Resulting Numbers: [1, 36]
Generated Node #0,1,1: 82:[1, 36] Operation: 4*9=36
Moving to Node #0,1,0
Current State: 82:[1, 5], Operations: ['18-9=9', '9-4=5']
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,82 unequal: No Solution
Exploring Operation: 1*5=5, Resulting Numbers: [5]
5,82 unequal: No Solution
Moving to Node #0,1,1
Current State: 82:[1, 36], Operations: ['18-9=9', '4*9=36']
Exploring Operation: 1+36=37, Resulting Numbers: [37]
37,82 unequal: No Solution
Exploring Operation: 1*36=36, Resulting Numbers: [36]
36,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
28,
25,
2,
23
] | 63 | [
"28-25=3",
"23-2=21",
"3*21=63"
] | Current State: 63:[28, 25, 2, 23], Operations: []
Exploring Operation: 28-25=3, Resulting Numbers: [2, 23, 3]
Generated Node #2: [2, 23, 3] from Operation: 28-25=3
Current State: 63:[2, 23, 3], Operations: ['28-25=3']
Exploring Operation: 23-2=21, Resulting Numbers: [3, 21]
Generated Node #3: [3, 21] from Operation: 23-2=21
Current State: 63:[3, 21], Operations: ['28-25=3', '23-2=21']
Exploring Operation: 3*21=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[28, 25, 2, 23], Operations: []
Exploring Operation: 28-25=3, Resulting Numbers: [2, 23, 3]
Generated Node #0,0: 63:[2, 23, 3] Operation: 28-25=3
Exploring Operation: 28-23=5, Resulting Numbers: [25, 2, 5]
Generated Node #0,1: 63:[25, 2, 5] Operation: 28-23=5
Moving to Node #0,0
Current State: 63:[2, 23, 3], Operations: ['28-25=3']
Exploring Operation: 23-2=21, Resulting Numbers: [3, 21]
Generated Node #0,0,0: 63:[3, 21] Operation: 23-2=21
Exploring Operation: 23-3=20, Resulting Numbers: [2, 20]
Generated Node #0,0,1: 63:[2, 20] Operation: 23-3=20
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 63:[3, 21], Operations: ['28-25=3', '23-2=21']
Exploring Operation: 21/3=7, Resulting Numbers: [7]
7,63 unequal: No Solution
Exploring Operation: 3*21=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[28, 25, 2, 23], Operations: []
Exploring Operation: 28-25=3, Resulting Numbers: [2, 23, 3]
Generated Node #0,0: 63:[2, 23, 3] Operation: 28-25=3
Moving to Node #0,0
Current State: 63:[2, 23, 3], Operations: ['28-25=3']
Exploring Operation: 23-2=21, Resulting Numbers: [3, 21]
Generated Node #0,0,0: 63:[3, 21] Operation: 23-2=21
Moving to Node #0,0,0
Current State: 63:[3, 21], Operations: ['28-25=3', '23-2=21']
Exploring Operation: 3*21=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
6,
61,
60,
60
] | 12 | [
"61-6=55",
"60-55=5",
"60/5=12"
] | Current State: 12:[6, 61, 60, 60], Operations: []
Exploring Operation: 61-6=55, Resulting Numbers: [60, 60, 55]
Generated Node #2: [60, 60, 55] from Operation: 61-6=55
Current State: 12:[60, 60, 55], Operations: ['61-6=55']
Exploring Operation: 60-55=5, Resulting Numbers: [5]
5,12 equal: Goal Reached
Exploring Operation: 60/5=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[6, 61, 60, 60], Operations: []
Exploring Operation: 61-60=1, Resulting Numbers: [6, 60, 1]
Generated Node #0,0: 12:[6, 60, 1] Operation: 61-60=1
Moving to Node #0,0
Current State: 12:[6, 60, 1], Operations: ['61-60=1']
Exploring Operation: 60/6=10, Resulting Numbers: [1, 10]
Generated Node #0,0,0: 12:[1, 10] Operation: 60/6=10
Moving to Node #0,0,0
Current State: 12:[1, 10], Operations: ['61-60=1', '60/6=10']
Exploring Operation: 1+10=11, Resulting Numbers: [11]
11,12 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
52,
13,
36,
71
] | 30 | [
"52+13=65",
"71-36=35",
"65-35=30"
] | Current State: 30:[52, 13, 36, 71], Operations: []
Exploring Operation: 52+13=65, Resulting Numbers: [36, 71, 65]
Generated Node #2: [36, 71, 65] from Operation: 52+13=65
Current State: 30:[36, 71, 65], Operations: ['52+13=65']
Exploring Operation: 71-36=35, Resulting Numbers: [65, 35]
Generated Node #3: [65, 35] from Operation: 71-36=35
Current State: 30:[65, 35], Operations: ['52+13=65', '71-36=35']
Exploring Operation: 65-35=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[52, 13, 36, 71], Operations: []
Exploring Operation: 52-13=39, Resulting Numbers: [36, 71, 39]
Generated Node #0,0: 30:[36, 71, 39] Operation: 52-13=39
Exploring Operation: 52-36=16, Resulting Numbers: [13, 71, 16]
Generated Node #0,1: 30:[13, 71, 16] Operation: 52-36=16
Exploring Operation: 71-52=19, Resulting Numbers: [13, 36, 19]
Generated Node #0,2: 30:[13, 36, 19] Operation: 71-52=19
Exploring Operation: 52/13=4, Resulting Numbers: [36, 71, 4]
Generated Node #0,3: 30:[36, 71, 4] Operation: 52/13=4
Exploring Operation: 71-36=35, Resulting Numbers: [52, 13, 35]
Generated Node #0,4: 30:[52, 13, 35] Operation: 71-36=35
Moving to Node #0,2
Current State: 30:[13, 36, 19], Operations: ['71-52=19']
Exploring Operation: 13+19=32, Resulting Numbers: [36, 32]
Generated Node #0,2,0: 30:[36, 32] Operation: 13+19=32
Exploring Operation: 13+36=49, Resulting Numbers: [19, 49]
Generated Node #0,2,1: 30:[19, 49] Operation: 13+36=49
Exploring Operation: 36-19=17, Resulting Numbers: [13, 17]
Generated Node #0,2,2: 30:[13, 17] Operation: 36-19=17
Exploring Operation: 36-13=23, Resulting Numbers: [19, 23]
Generated Node #0,2,3: 30:[19, 23] Operation: 36-13=23
Exploring Operation: 19-13=6, Resulting Numbers: [36, 6]
Generated Node #0,2,4: 30:[36, 6] Operation: 19-13=6
Moving to Node #0,4
Current State: 30:[52, 13, 35], Operations: ['71-36=35']
Exploring Operation: 52-35=17, Resulting Numbers: [13, 17]
Generated Node #0,4,0: 30:[13, 17] Operation: 52-35=17
Exploring Operation: 35-13=22, Resulting Numbers: [52, 22]
Generated Node #0,4,1: 30:[52, 22] Operation: 35-13=22
Exploring Operation: 52-13=39, Resulting Numbers: [35, 39]
Generated Node #0,4,2: 30:[35, 39] Operation: 52-13=39
Exploring Operation: 52/13=4, Resulting Numbers: [35, 4]
Generated Node #0,4,3: 30:[35, 4] Operation: 52/13=4
Exploring Operation: 52+13=65, Resulting Numbers: [35, 65]
Generated Node #0,4,4: 30:[35, 65] Operation: 52+13=65
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 30:[13, 17], Operations: ['71-36=35', '52-35=17']
Exploring Operation: 17-13=4, Resulting Numbers: [4]
4,30 unequal: No Solution
Exploring Operation: 13+17=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[52, 13, 36, 71], Operations: []
Exploring Operation: 71-36=35, Resulting Numbers: [52, 13, 35]
Generated Node #0,4: 30:[52, 13, 35] Operation: 71-36=35
Moving to Node #0,4
Current State: 30:[52, 13, 35], Operations: ['71-36=35']
Exploring Operation: 52-35=17, Resulting Numbers: [13, 17]
Generated Node #0,4,0: 30:[13, 17] Operation: 52-35=17
Moving to Node #0,4,0
Current State: 30:[13, 17], Operations: ['71-36=35', '52-35=17']
Exploring Operation: 13+17=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | mult_heuristic |
[
40,
5,
64,
4
] | 51 | [
"40-5=35",
"64/4=16",
"35+16=51"
] | Current State: 51:[40, 5, 64, 4], Operations: []
Exploring Operation: 40-5=35, Resulting Numbers: [64, 4, 35]
Generated Node #2: [64, 4, 35] from Operation: 40-5=35
Current State: 51:[64, 4, 35], Operations: ['40-5=35']
Exploring Operation: 64/4=16, Resulting Numbers: [35, 16]
Generated Node #3: [35, 16] from Operation: 64/4=16
Current State: 51:[35, 16], Operations: ['40-5=35', '64/4=16']
Exploring Operation: 35+16=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[40, 5, 64, 4], Operations: []
Exploring Operation: 64-40=24, Resulting Numbers: [5, 4, 24]
Generated Node #0,0: 51:[5, 4, 24] Operation: 64-40=24
Moving to Node #0,0
Current State: 51:[5, 4, 24], Operations: ['64-40=24']
Exploring Operation: 24-5=19, Resulting Numbers: [4, 19]
Generated Node #0,0,0: 51:[4, 19] Operation: 24-5=19
Moving to Node #0,0,0
Current State: 51:[4, 19], Operations: ['64-40=24', '24-5=19']
Exploring Operation: 19-4=15, Resulting Numbers: [15]
15,51 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
37,
26,
3,
4
] | 21 | [
"37-26=11",
"11-4=7",
"3*7=21"
] | Current State: 21:[37, 26, 3, 4], Operations: []
Exploring Operation: 37-26=11, Resulting Numbers: [3, 4, 11]
Generated Node #2: [3, 4, 11] from Operation: 37-26=11
Current State: 21:[3, 4, 11], Operations: ['37-26=11']
Exploring Operation: 11-4=7, Resulting Numbers: [3, 7]
Generated Node #3: [3, 7] from Operation: 11-4=7
Current State: 21:[3, 7], Operations: ['37-26=11', '11-4=7']
Exploring Operation: 3*7=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[37, 26, 3, 4], Operations: []
Exploring Operation: 37-4=33, Resulting Numbers: [26, 3, 33]
Generated Node #0,0: 21:[26, 3, 33] Operation: 37-4=33
Exploring Operation: 26-4=22, Resulting Numbers: [37, 3, 22]
Generated Node #0,1: 21:[37, 3, 22] Operation: 26-4=22
Exploring Operation: 37-3=34, Resulting Numbers: [26, 4, 34]
Generated Node #0,2: 21:[26, 4, 34] Operation: 37-3=34
Exploring Operation: 37-26=11, Resulting Numbers: [3, 4, 11]
Generated Node #0,3: 21:[3, 4, 11] Operation: 37-26=11
Moving to Node #0,3
Current State: 21:[3, 4, 11], Operations: ['37-26=11']
Exploring Operation: 3+4=7, Resulting Numbers: [11, 7]
Generated Node #0,3,0: 21:[11, 7] Operation: 3+4=7
Exploring Operation: 11-3=8, Resulting Numbers: [4, 8]
Generated Node #0,3,1: 21:[4, 8] Operation: 11-3=8
Exploring Operation: 11-4=7, Resulting Numbers: [3, 7]
Generated Node #0,3,2: 21:[3, 7] Operation: 11-4=7
Exploring Operation: 4-3=1, Resulting Numbers: [11, 1]
Generated Node #0,3,3: 21:[11, 1] Operation: 4-3=1
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 21:[3, 7], Operations: ['37-26=11', '11-4=7']
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,21 unequal: No Solution
Exploring Operation: 3*7=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[37, 26, 3, 4], Operations: []
Exploring Operation: 37-26=11, Resulting Numbers: [3, 4, 11]
Generated Node #0,3: 21:[3, 4, 11] Operation: 37-26=11
Moving to Node #0,3
Current State: 21:[3, 4, 11], Operations: ['37-26=11']
Exploring Operation: 11-4=7, Resulting Numbers: [3, 7]
Generated Node #0,3,2: 21:[3, 7] Operation: 11-4=7
Moving to Node #0,3,2
Current State: 21:[3, 7], Operations: ['37-26=11', '11-4=7']
Exploring Operation: 3*7=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
34,
15,
11,
39
] | 42 | [
"34+11=45",
"45/15=3",
"39+3=42"
] | Current State: 42:[34, 15, 11, 39], Operations: []
Exploring Operation: 34+11=45, Resulting Numbers: [15, 39, 45]
Generated Node #2: [15, 39, 45] from Operation: 34+11=45
Current State: 42:[15, 39, 45], Operations: ['34+11=45']
Exploring Operation: 45/15=3, Resulting Numbers: [39, 3]
Generated Node #3: [39, 3] from Operation: 45/15=3
Current State: 42:[39, 3], Operations: ['34+11=45', '45/15=3']
Exploring Operation: 39+3=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[34, 15, 11, 39], Operations: []
Exploring Operation: 34-11=23, Resulting Numbers: [15, 39, 23]
Generated Node #0,0: 42:[15, 39, 23] Operation: 34-11=23
Exploring Operation: 34+11=45, Resulting Numbers: [15, 39, 45]
Generated Node #0,1: 42:[15, 39, 45] Operation: 34+11=45
Exploring Operation: 34-15=19, Resulting Numbers: [11, 39, 19]
Generated Node #0,2: 42:[11, 39, 19] Operation: 34-15=19
Exploring Operation: 39-34=5, Resulting Numbers: [15, 11, 5]
Generated Node #0,3: 42:[15, 11, 5] Operation: 39-34=5
Start Sub Search at level 1: Moving to Node #0,3
Current State: 42:[15, 11, 5], Operations: ['39-34=5']
Exploring Operation: 11-5=6, Resulting Numbers: [15, 6]
Generated Node #0,3,0: 42:[15, 6] Operation: 11-5=6
Exploring Operation: 15/5=3, Resulting Numbers: [11, 3]
Generated Node #0,3,1: 42:[11, 3] Operation: 15/5=3
Exploring Operation: 11+5=16, Resulting Numbers: [15, 16]
Generated Node #0,3,2: 42:[15, 16] Operation: 11+5=16
Exploring Operation: 15-11=4, Resulting Numbers: [5, 4]
Generated Node #0,3,3: 42:[5, 4] Operation: 15-11=4
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 42:[15, 6], Operations: ['39-34=5', '11-5=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
No 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: 42:[5, 4], Operations: ['39-34=5', '15-11=4']
Exploring Operation: 5+4=9, Resulting Numbers: [9]
9,42 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,42 unequal: No Solution
Exploring Operation: 5*4=20, Resulting Numbers: [20]
20,42 unequal: No Solution
No 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: 42:[11, 3], Operations: ['39-34=5', '15/5=3']
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,42 unequal: No Solution
Exploring Operation: 11+3=14, Resulting Numbers: [14]
14,42 unequal: No Solution
Exploring Operation: 11*3=33, Resulting Numbers: [33]
33,42 unequal: No Solution
No 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: 42:[15, 16], Operations: ['39-34=5', '11+5=16']
Exploring Operation: 15+16=31, Resulting Numbers: [31]
31,42 unequal: No Solution
Exploring Operation: 16-15=1, Resulting Numbers: [1]
1,42 unequal: No Solution
Exploring Operation: 15*16=240, Resulting Numbers: [240]
240,42 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: 42:[15, 39, 23], Operations: ['34-11=23']
Exploring Operation: 23-15=8, Resulting Numbers: [39, 8]
Generated Node #0,0,0: 42:[39, 8] Operation: 23-15=8
Exploring Operation: 39-15=24, Resulting Numbers: [23, 24]
Generated Node #0,0,1: 42:[23, 24] Operation: 39-15=24
Exploring Operation: 39-23=16, Resulting Numbers: [15, 16]
Generated Node #0,0,2: 42:[15, 16] Operation: 39-23=16
Exploring Operation: 15+23=38, Resulting Numbers: [39, 38]
Generated Node #0,0,3: 42:[39, 38] Operation: 15+23=38
Moving to Node #0,0,2
Current State: 42:[15, 16], Operations: ['34-11=23', '39-23=16']
Exploring Operation: 16-15=1, Resulting Numbers: [1]
1,42 unequal: No Solution
Exploring Operation: 15+16=31, Resulting Numbers: [31]
31,42 unequal: No Solution
Exploring Operation: 15*16=240, Resulting Numbers: [240]
240,42 unequal: No Solution
Moving to Node #0,0,0
Current State: 42:[39, 8], Operations: ['34-11=23', '23-15=8']
Exploring Operation: 39-8=31, Resulting Numbers: [31]
31,42 unequal: No Solution
Exploring Operation: 39*8=312, Resulting Numbers: [312]
312,42 unequal: No Solution
Exploring Operation: 39+8=47, Resulting Numbers: [47]
47,42 unequal: No Solution
Moving to Node #0,0,1
Current State: 42:[23, 24], Operations: ['34-11=23', '39-15=24']
Exploring Operation: 23*24=552, Resulting Numbers: [552]
552,42 unequal: No Solution
Exploring Operation: 23+24=47, Resulting Numbers: [47]
47,42 unequal: No Solution
Exploring Operation: 24-23=1, Resulting Numbers: [1]
1,42 unequal: No Solution
Moving to Node #0,0,3
Current State: 42:[39, 38], Operations: ['34-11=23', '15+23=38']
Exploring Operation: 39+38=77, Resulting Numbers: [77]
77,42 unequal: No Solution
Exploring Operation: 39-38=1, Resulting Numbers: [1]
1,42 unequal: No Solution
Exploring Operation: 39*38=1482, Resulting Numbers: [1482]
1482,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
Current State: 42:[15, 39, 45], Operations: ['34+11=45']
Exploring Operation: 39-15=24, Resulting Numbers: [45, 24]
Generated Node #0,1,0: 42:[45, 24] Operation: 39-15=24
Exploring Operation: 45-15=30, Resulting Numbers: [39, 30]
Generated Node #0,1,1: 42:[39, 30] Operation: 45-15=30
Exploring Operation: 45-39=6, Resulting Numbers: [15, 6]
Generated Node #0,1,2: 42:[15, 6] Operation: 45-39=6
Exploring Operation: 45/15=3, Resulting Numbers: [39, 3]
Generated Node #0,1,3: 42:[39, 3] Operation: 45/15=3
Moving to Node #0,1,2
Current State: 42:[15, 6], Operations: ['34+11=45', '45-39=6']
Exploring Operation: 15+6=21, Resulting Numbers: [21]
21,42 unequal: No Solution
Exploring Operation: 15-6=9, Resulting Numbers: [9]
9,42 unequal: No Solution
Exploring Operation: 15*6=90, Resulting Numbers: [90]
90,42 unequal: No Solution
Moving to Node #0,1,3
Current State: 42:[39, 3], Operations: ['34+11=45', '45/15=3']
Exploring Operation: 39-3=36, Resulting Numbers: [36]
36,42 unequal: No Solution
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,42 unequal: No Solution
Exploring Operation: 39+3=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[34, 15, 11, 39], Operations: []
Exploring Operation: 34+11=45, Resulting Numbers: [15, 39, 45]
Generated Node #0,1: 42:[15, 39, 45] Operation: 34+11=45
Moving to Node #0,1
Current State: 42:[15, 39, 45], Operations: ['34+11=45']
Exploring Operation: 45/15=3, Resulting Numbers: [39, 3]
Generated Node #0,1,3: 42:[39, 3] Operation: 45/15=3
Moving to Node #0,1,3
Current State: 42:[39, 3], Operations: ['34+11=45', '45/15=3']
Exploring Operation: 39+3=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 1
| 0.956597 | hs_4 | mult_heuristic |
[
28,
2,
56,
5
] | 36 | [
"2+5=7",
"56/7=8",
"28+8=36"
] | Current State: 36:[28, 2, 56, 5], Operations: []
Exploring Operation: 2+5=7, Resulting Numbers: [28, 56, 7]
Generated Node #2: [28, 56, 7] from Operation: 2+5=7
Current State: 36:[28, 56, 7], Operations: ['2+5=7']
Exploring Operation: 56/7=8, Resulting Numbers: [28, 8]
Generated Node #3: [28, 8] from Operation: 56/7=8
Current State: 36:[28, 8], Operations: ['2+5=7', '56/7=8']
Exploring Operation: 28+8=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[28, 2, 56, 5], Operations: []
Exploring Operation: 56/28=2, Resulting Numbers: [2, 5, 2]
Generated Node #0,0: 36:[2, 5, 2] Operation: 56/28=2
Exploring Operation: 56-28=28, Resulting Numbers: [2, 5, 28]
Generated Node #0,1: 36:[2, 5, 28] Operation: 56-28=28
Exploring Operation: 56/2=28, Resulting Numbers: [28, 5, 28]
Generated Node #0,2: 36:[28, 5, 28] Operation: 56/2=28
Exploring Operation: 28+5=33, Resulting Numbers: [2, 56, 33]
Generated Node #0,3: 36:[2, 56, 33] Operation: 28+5=33
Exploring Operation: 28/2=14, Resulting Numbers: [56, 5, 14]
Generated Node #0,4: 36:[56, 5, 14] Operation: 28/2=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[2, 5, 2], Operations: ['56/28=2']
Exploring Operation: 5-2=3, Resulting Numbers: [2, 3]
Generated Node #0,0,0: 36:[2, 3] Operation: 5-2=3
Exploring Operation: 5-2=3, Resulting Numbers: [2, 3]
Generated Node #0,0,1: 36:[2, 3] Operation: 5-2=3
Exploring Operation: 2+5=7, Resulting Numbers: [2, 7]
Generated Node #0,0,2: 36:[2, 7] Operation: 2+5=7
Exploring Operation: 2*5=10, Resulting Numbers: [2, 10]
Generated Node #0,0,3: 36:[2, 10] Operation: 2*5=10
Exploring Operation: 2+2=4, Resulting Numbers: [5, 4]
Generated Node #0,0,4: 36:[5, 4] Operation: 2+2=4
Moving to Node #0,0,0
Current State: 36:[2, 3], Operations: ['56/28=2', '5-2=3']
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,36 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,36 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,36 unequal: No Solution
Moving to Node #0,0,1
Current State: 36:[2, 3], Operations: ['56/28=2', '5-2=3']
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,36 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,36 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,36 unequal: No Solution
Moving to Node #0,0,2
Current State: 36:[2, 7], Operations: ['56/28=2', '2+5=7']
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,36 unequal: No Solution
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,36 unequal: No Solution
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,36 unequal: No Solution
Moving to Node #0,0,3
Current State: 36:[2, 10], Operations: ['56/28=2', '2*5=10']
Exploring Operation: 2*10=20, Resulting Numbers: [20]
20,36 unequal: No Solution
Exploring Operation: 2+10=12, Resulting Numbers: [12]
12,36 unequal: No Solution
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,36 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,36 unequal: No Solution
Moving to Node #0,0,4
Current State: 36:[5, 4], Operations: ['56/28=2', '2+2=4']
Exploring Operation: 5*4=20, Resulting Numbers: [20]
20,36 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,36 unequal: No Solution
Exploring Operation: 5+4=9, Resulting Numbers: [9]
9,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:[2, 5, 28], Operations: ['56-28=28']
Exploring Operation: 28/2=14, Resulting Numbers: [5, 14]
Generated Node #0,1,0: 36:[5, 14] Operation: 28/2=14
Exploring Operation: 28-5=23, Resulting Numbers: [2, 23]
Generated Node #0,1,1: 36:[2, 23] Operation: 28-5=23
Exploring Operation: 5-2=3, Resulting Numbers: [28, 3]
Generated Node #0,1,2: 36:[28, 3] Operation: 5-2=3
Exploring Operation: 2+28=30, Resulting Numbers: [5, 30]
Generated Node #0,1,3: 36:[5, 30] Operation: 2+28=30
Exploring Operation: 5+28=33, Resulting Numbers: [2, 33]
Generated Node #0,1,4: 36:[2, 33] Operation: 5+28=33
Moving to Node #0,1,0
Current State: 36:[5, 14], Operations: ['56-28=28', '28/2=14']
Exploring Operation: 5*14=70, Resulting Numbers: [70]
70,36 unequal: No Solution
Exploring Operation: 5+14=19, Resulting Numbers: [19]
19,36 unequal: No Solution
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,36 unequal: No Solution
Moving to Node #0,1,4
Current State: 36:[2, 33], Operations: ['56-28=28', '5+28=33']
Exploring Operation: 2+33=35, Resulting Numbers: [35]
35,36 unequal: No Solution
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,36 unequal: No Solution
Exploring Operation: 2*33=66, Resulting Numbers: [66]
66,36 unequal: No Solution
Moving to Node #0,1,1
Current State: 36:[2, 23], Operations: ['56-28=28', '28-5=23']
Exploring Operation: 2*23=46, Resulting Numbers: [46]
46,36 unequal: No Solution
Exploring Operation: 2+23=25, Resulting Numbers: [25]
25,36 unequal: No Solution
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,36 unequal: No Solution
Moving to Node #0,1,3
Current State: 36:[5, 30], Operations: ['56-28=28', '2+28=30']
Exploring Operation: 5*30=150, Resulting Numbers: [150]
150,36 unequal: No Solution
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,36 unequal: No Solution
Exploring Operation: 30/5=6, Resulting Numbers: [6]
6,36 unequal: No Solution
Exploring Operation: 5+30=35, Resulting Numbers: [35]
35,36 unequal: No Solution
Moving to Node #0,1,2
Current State: 36:[28, 3], Operations: ['56-28=28', '5-2=3']
Exploring Operation: 28+3=31, Resulting Numbers: [31]
31,36 unequal: No Solution
Exploring Operation: 28*3=84, Resulting Numbers: [84]
84,36 unequal: No Solution
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,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:[28, 5, 28], Operations: ['56/2=28']
Exploring Operation: 28/28=1, Resulting Numbers: [5, 1]
Generated Node #0,2,0: 36:[5, 1] Operation: 28/28=1
Exploring Operation: 5+28=33, Resulting Numbers: [28, 33]
Generated Node #0,2,1: 36:[28, 33] Operation: 5+28=33
Exploring Operation: 28+5=33, Resulting Numbers: [28, 33]
Generated Node #0,2,2: 36:[28, 33] Operation: 28+5=33
Exploring Operation: 28-28=0, Resulting Numbers: [5, 0]
Generated Node #0,2,3: 36:[5, 0] Operation: 28-28=0
Exploring Operation: 28-5=23, Resulting Numbers: [28, 23]
Generated Node #0,2,4: 36:[28, 23] Operation: 28-5=23
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 36:[5, 1], Operations: ['56/2=28', '28/28=1']
Exploring Operation: 5/1=5, Resulting Numbers: [5]
5,36 unequal: No Solution
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,36 unequal: No Solution
Exploring Operation: 5+1=6, Resulting Numbers: [6]
6,36 unequal: No Solution
Exploring Operation: 5*1=5, Resulting Numbers: [5]
5,36 unequal: No Solution
No 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: 36:[5, 0], Operations: ['56/2=28', '28-28=0']
Exploring Operation: 5+0=5, Resulting Numbers: [5]
5,36 unequal: No Solution
Exploring Operation: 5-0=5, Resulting Numbers: [5]
5,36 unequal: No Solution
Exploring Operation: 5*0=0, Resulting Numbers: [0]
0,36 unequal: No Solution
No 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: 36:[28, 33], Operations: ['56/2=28', '5+28=33']
Exploring Operation: 28+33=61, Resulting Numbers: [61]
61,36 unequal: No Solution
Exploring Operation: 33-28=5, Resulting Numbers: [5]
5,36 unequal: No Solution
Exploring Operation: 28*33=924, Resulting Numbers: [924]
924,36 unequal: No Solution
No 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: 36:[28, 33], Operations: ['56/2=28', '28+5=33']
Exploring Operation: 33-28=5, Resulting Numbers: [5]
5,36 unequal: No Solution
Exploring Operation: 28+33=61, Resulting Numbers: [61]
61,36 unequal: No Solution
Exploring Operation: 28*33=924, Resulting Numbers: [924]
924,36 unequal: No Solution
No 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: 36:[28, 23], Operations: ['56/2=28', '28-5=23']
Exploring Operation: 28*23=644, Resulting Numbers: [644]
644,36 unequal: No Solution
Exploring Operation: 28+23=51, Resulting Numbers: [51]
51,36 unequal: No Solution
Exploring Operation: 28-23=5, Resulting Numbers: [5]
5,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 36:[2, 56, 33], Operations: ['28+5=33']
Exploring Operation: 2+56=58, Resulting Numbers: [33, 58]
Generated Node #0,3,0: 36:[33, 58] Operation: 2+56=58
Exploring Operation: 56/2=28, Resulting Numbers: [33, 28]
Generated Node #0,3,1: 36:[33, 28] Operation: 56/2=28
Exploring Operation: 56-33=23, Resulting Numbers: [2, 23]
Generated Node #0,3,2: 36:[2, 23] Operation: 56-33=23
Exploring Operation: 56-2=54, Resulting Numbers: [33, 54]
Generated Node #0,3,3: 36:[33, 54] Operation: 56-2=54
Exploring Operation: 2+33=35, Resulting Numbers: [56, 35]
Generated Node #0,3,4: 36:[56, 35] Operation: 2+33=35
Moving to Node #0,3,2
Current State: 36:[2, 23], Operations: ['28+5=33', '56-33=23']
Exploring Operation: 2+23=25, Resulting Numbers: [25]
25,36 unequal: No Solution
Exploring Operation: 2*23=46, Resulting Numbers: [46]
46,36 unequal: No Solution
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,36 unequal: No Solution
Moving to Node #0,3,1
Current State: 36:[33, 28], Operations: ['28+5=33', '56/2=28']
Exploring Operation: 33-28=5, Resulting Numbers: [5]
5,36 unequal: No Solution
Exploring Operation: 33*28=924, Resulting Numbers: [924]
924,36 unequal: No Solution
Exploring Operation: 33+28=61, Resulting Numbers: [61]
61,36 unequal: No Solution
Moving to Node #0,3,3
Current State: 36:[33, 54], Operations: ['28+5=33', '56-2=54']
Exploring Operation: 33+54=87, Resulting Numbers: [87]
87,36 unequal: No Solution
Exploring Operation: 33*54=1782, Resulting Numbers: [1782]
1782,36 unequal: No Solution
Exploring Operation: 54-33=21, Resulting Numbers: [21]
21,36 unequal: No Solution
Moving to Node #0,3,4
Current State: 36:[56, 35], Operations: ['28+5=33', '2+33=35']
Exploring Operation: 56*35=1960, Resulting Numbers: [1960]
1960,36 unequal: No Solution
Exploring Operation: 56-35=21, Resulting Numbers: [21]
21,36 unequal: No Solution
Exploring Operation: 56+35=91, Resulting Numbers: [91]
91,36 unequal: No Solution
Moving to Node #0,3,0
Current State: 36:[33, 58], Operations: ['28+5=33', '2+56=58']
Exploring Operation: 33+58=91, Resulting Numbers: [91]
91,36 unequal: No Solution
Exploring Operation: 58-33=25, Resulting Numbers: [25]
25,36 unequal: No Solution
Exploring Operation: 33*58=1914, Resulting Numbers: [1914]
1914,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,4
Current State: 36:[56, 5, 14], Operations: ['28/2=14']
Exploring Operation: 56-14=42, Resulting Numbers: [5, 42]
Generated Node #0,4,0: 36:[5, 42] Operation: 56-14=42
Exploring Operation: 56-5=51, Resulting Numbers: [14, 51]
Generated Node #0,4,1: 36:[14, 51] Operation: 56-5=51
Exploring Operation: 56/14=4, Resulting Numbers: [5, 4]
Generated Node #0,4,2: 36:[5, 4] Operation: 56/14=4
Exploring Operation: 14-5=9, Resulting Numbers: [56, 9]
Generated Node #0,4,3: 36:[56, 9] Operation: 14-5=9
Exploring Operation: 5+14=19, Resulting Numbers: [56, 19]
Generated Node #0,4,4: 36:[56, 19] Operation: 5+14=19
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 36:[5, 4], Operations: ['28/2=14', '56/14=4']
Exploring Operation: 5*4=20, Resulting Numbers: [20]
20,36 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,36 unequal: No Solution
Exploring Operation: 5+4=9, Resulting Numbers: [9]
9,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 36:[5, 42], Operations: ['28/2=14', '56-14=42']
Exploring Operation: 42-5=37, Resulting Numbers: [37]
37,36 unequal: No Solution
Exploring Operation: 5*42=210, Resulting Numbers: [210]
210,36 unequal: No Solution
Exploring Operation: 5+42=47, Resulting Numbers: [47]
47,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 36:[14, 51], Operations: ['28/2=14', '56-5=51']
Exploring Operation: 51-14=37, Resulting Numbers: [37]
37,36 unequal: No Solution
Exploring Operation: 14+51=65, Resulting Numbers: [65]
65,36 unequal: No Solution
Exploring Operation: 14*51=714, Resulting Numbers: [714]
714,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 36:[56, 9], Operations: ['28/2=14', '14-5=9']
Exploring Operation: 56*9=504, Resulting Numbers: [504]
504,36 unequal: No Solution
Exploring Operation: 56+9=65, Resulting Numbers: [65]
65,36 unequal: No Solution
Exploring Operation: 56-9=47, Resulting Numbers: [47]
47,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 36:[56, 19], Operations: ['28/2=14', '5+14=19']
Exploring Operation: 56*19=1064, Resulting Numbers: [1064]
1064,36 unequal: No Solution
Exploring Operation: 56+19=75, Resulting Numbers: [75]
75,36 unequal: No Solution
Exploring Operation: 56-19=37, Resulting Numbers: [37]
37,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
26,
9,
54,
61
] | 93 | [
"26+61=87",
"54/9=6",
"87+6=93"
] | Current State: 93:[26, 9, 54, 61], Operations: []
Exploring Operation: 26+61=87, Resulting Numbers: [9, 54, 87]
Generated Node #2: [9, 54, 87] from Operation: 26+61=87
Current State: 93:[9, 54, 87], Operations: ['26+61=87']
Exploring Operation: 54/9=6, Resulting Numbers: [87, 6]
Generated Node #3: [87, 6] from Operation: 54/9=6
Current State: 93:[87, 6], Operations: ['26+61=87', '54/9=6']
Exploring Operation: 87+6=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[26, 9, 54, 61], Operations: []
Exploring Operation: 61-54=7, Resulting Numbers: [26, 9, 7]
Generated Node #0,0: 93:[26, 9, 7] Operation: 61-54=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 93:[26, 9, 7], Operations: ['61-54=7']
Exploring Operation: 9-7=2, Resulting Numbers: [26, 2]
Generated Node #0,0,0: 93:[26, 2] Operation: 9-7=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 93:[26, 2], Operations: ['61-54=7', '9-7=2']
Exploring Operation: 26+2=28, Resulting Numbers: [28]
28,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
27,
1,
75,
75
] | 28 | [
"27+1=28",
"75-75=0",
"28+0=28"
] | Current State: 28:[27, 1, 75, 75], Operations: []
Exploring Operation: 27+1=28, Resulting Numbers: [75, 75, 28]
Generated Node #2: [75, 75, 28] from Operation: 27+1=28
Current State: 28:[75, 75, 28], Operations: ['27+1=28']
Exploring Operation: 75-75=0, Resulting Numbers: [28, 0]
Generated Node #3: [28, 0] from Operation: 75-75=0
Current State: 28:[28, 0], Operations: ['27+1=28', '75-75=0']
Exploring Operation: 28+0=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[27, 1, 75, 75], Operations: []
Exploring Operation: 75/75=1, Resulting Numbers: [27, 1, 1]
Generated Node #0,0: 28:[27, 1, 1] Operation: 75/75=1
Moving to Node #0,0
Current State: 28:[27, 1, 1], Operations: ['75/75=1']
Exploring Operation: 27+1=28, Resulting Numbers: [1, 28]
Generated Node #0,0,0: 28:[1, 28] Operation: 27+1=28
Moving to Node #0,0,0
Current State: 28:[1, 28], Operations: ['75/75=1', '27+1=28']
Exploring Operation: 1*28=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[27, 1, 75, 75], Operations: []
Exploring Operation: 75/75=1, Resulting Numbers: [27, 1, 1]
Generated Node #0,0: 28:[27, 1, 1] Operation: 75/75=1
Moving to Node #0,0
Current State: 28:[27, 1, 1], Operations: ['75/75=1']
Exploring Operation: 27+1=28, Resulting Numbers: [1, 28]
Generated Node #0,0,0: 28:[1, 28] Operation: 27+1=28
Moving to Node #0,0,0
Current State: 28:[1, 28], Operations: ['75/75=1', '27+1=28']
Exploring Operation: 1*28=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
79,
21,
79,
22
] | 44 | [
"79/79=1",
"21+22=43",
"1+43=44"
] | Current State: 44:[79, 21, 79, 22], Operations: []
Exploring Operation: 79/79=1, Resulting Numbers: [21, 22, 1]
Generated Node #2: [21, 22, 1] from Operation: 79/79=1
Current State: 44:[21, 22, 1], Operations: ['79/79=1']
Exploring Operation: 21+22=43, Resulting Numbers: [1, 43]
Generated Node #3: [1, 43] from Operation: 21+22=43
Current State: 44:[1, 43], Operations: ['79/79=1', '21+22=43']
Exploring Operation: 1+43=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[79, 21, 79, 22], Operations: []
Exploring Operation: 79/79=1, Resulting Numbers: [21, 22, 1]
Generated Node #0,0: 44:[21, 22, 1] Operation: 79/79=1
Moving to Node #0,0
Current State: 44:[21, 22, 1], Operations: ['79/79=1']
Exploring Operation: 21+1=22, Resulting Numbers: [22, 22]
Generated Node #0,0,0: 44:[22, 22] Operation: 21+1=22
Moving to Node #0,0,0
Current State: 44:[22, 22], Operations: ['79/79=1', '21+1=22']
Exploring Operation: 22+22=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[79, 21, 79, 22], Operations: []
Exploring Operation: 79/79=1, Resulting Numbers: [21, 22, 1]
Generated Node #0,0: 44:[21, 22, 1] Operation: 79/79=1
Moving to Node #0,0
Current State: 44:[21, 22, 1], Operations: ['79/79=1']
Exploring Operation: 21+1=22, Resulting Numbers: [22, 22]
Generated Node #0,0,0: 44:[22, 22] Operation: 21+1=22
Moving to Node #0,0,0
Current State: 44:[22, 22], Operations: ['79/79=1', '21+1=22']
Exploring Operation: 22+22=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
51,
48,
96,
1
] | 49 | [
"51*1=51",
"96/48=2",
"51-2=49"
] | Current State: 49:[51, 48, 96, 1], Operations: []
Exploring Operation: 51*1=51, Resulting Numbers: [48, 96, 51]
Generated Node #2: [48, 96, 51] from Operation: 51*1=51
Current State: 49:[48, 96, 51], Operations: ['51*1=51']
Exploring Operation: 96/48=2, Resulting Numbers: [51, 2]
Generated Node #3: [51, 2] from Operation: 96/48=2
Current State: 49:[51, 2], Operations: ['51*1=51', '96/48=2']
Exploring Operation: 51-2=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[51, 48, 96, 1], Operations: []
Exploring Operation: 96-48=48, Resulting Numbers: [51, 1, 48]
Generated Node #0,0: 49:[51, 1, 48] Operation: 96-48=48
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[51, 1, 48], Operations: ['96-48=48']
Exploring Operation: 51-1=50, Resulting Numbers: [48, 50]
Generated Node #0,0,0: 49:[48, 50] Operation: 51-1=50
Moving to Node #0,0,0
Current State: 49:[48, 50], Operations: ['96-48=48', '51-1=50']
Exploring Operation: 50-48=2, Resulting Numbers: [2]
2,49 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 |
[
7,
43,
91,
42
] | 13 | [
"43-7=36",
"91-42=49",
"49-36=13"
] | Current State: 13:[7, 43, 91, 42], Operations: []
Exploring Operation: 43-7=36, Resulting Numbers: [91, 42, 36]
Generated Node #2: [91, 42, 36] from Operation: 43-7=36
Current State: 13:[91, 42, 36], Operations: ['43-7=36']
Exploring Operation: 91-42=49, Resulting Numbers: [36, 49]
Generated Node #3: [36, 49] from Operation: 91-42=49
Current State: 13:[36, 49], Operations: ['43-7=36', '91-42=49']
Exploring Operation: 49-36=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[7, 43, 91, 42], Operations: []
Exploring Operation: 91-42=49, Resulting Numbers: [7, 43, 49]
Generated Node #0,0: 13:[7, 43, 49] Operation: 91-42=49
Exploring Operation: 91/7=13, Resulting Numbers: [43, 42, 13]
Generated Node #0,1: 13:[43, 42, 13] Operation: 91/7=13
Exploring Operation: 91-43=48, Resulting Numbers: [7, 42, 48]
Generated Node #0,2: 13:[7, 42, 48] Operation: 91-43=48
Moving to Node #0,1
Current State: 13:[43, 42, 13], Operations: ['91/7=13']
Exploring Operation: 42-13=29, Resulting Numbers: [43, 29]
Generated Node #0,1,0: 13:[43, 29] Operation: 42-13=29
Exploring Operation: 43-13=30, Resulting Numbers: [42, 30]
Generated Node #0,1,1: 13:[42, 30] Operation: 43-13=30
Exploring Operation: 43-42=1, Resulting Numbers: [13, 1]
Generated Node #0,1,2: 13:[13, 1] Operation: 43-42=1
Moving to Node #0,2
Current State: 13:[7, 42, 48], Operations: ['91-43=48']
Exploring Operation: 42/7=6, Resulting Numbers: [48, 6]
Generated Node #0,2,0: 13:[48, 6] Operation: 42/7=6
Exploring Operation: 42-7=35, Resulting Numbers: [48, 35]
Generated Node #0,2,1: 13:[48, 35] Operation: 42-7=35
Exploring Operation: 48-42=6, Resulting Numbers: [7, 6]
Generated Node #0,2,2: 13:[7, 6] Operation: 48-42=6
Moving to Node #0,0
Current State: 13:[7, 43, 49], Operations: ['91-42=49']
Exploring Operation: 43-7=36, Resulting Numbers: [49, 36]
Generated Node #0,0,0: 13:[49, 36] Operation: 43-7=36
Exploring Operation: 49/7=7, Resulting Numbers: [43, 7]
Generated Node #0,0,1: 13:[43, 7] Operation: 49/7=7
Exploring Operation: 49-43=6, Resulting Numbers: [7, 6]
Generated Node #0,0,2: 13:[7, 6] Operation: 49-43=6
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 13:[7, 6], Operations: ['91-42=49', '49-43=6']
Exploring Operation: 7*6=42, Resulting Numbers: [42]
42,13 unequal: No Solution
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,13 unequal: No Solution
Exploring Operation: 7+6=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[7, 43, 91, 42], Operations: []
Exploring Operation: 91-42=49, Resulting Numbers: [7, 43, 49]
Generated Node #0,0: 13:[7, 43, 49] Operation: 91-42=49
Moving to Node #0,0
Current State: 13:[7, 43, 49], Operations: ['91-42=49']
Exploring Operation: 49-43=6, Resulting Numbers: [7, 6]
Generated Node #0,0,2: 13:[7, 6] Operation: 49-43=6
Moving to Node #0,0,2
Current State: 13:[7, 6], Operations: ['91-42=49', '49-43=6']
Exploring Operation: 7+6=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_3 | mult_heuristic |
[
6,
72,
6,
90
] | 87 | [
"6*72=432",
"90+432=522",
"522/6=87"
] | Current State: 87:[6, 72, 6, 90], Operations: []
Exploring Operation: 6*72=432, Resulting Numbers: [90, 432]
Generated Node #2: [90, 432] from Operation: 6*72=432
Current State: 87:[90, 432], Operations: ['6*72=432']
Exploring Operation: 90+432=522, Resulting Numbers: [522]
522,87 equal: Goal Reached
Exploring Operation: 522/6=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[6, 72, 6, 90], Operations: []
Exploring Operation: 72/6=12, Resulting Numbers: [6, 90, 12]
Generated Node #0,0: 87:[6, 90, 12] Operation: 72/6=12
Exploring Operation: 72+6=78, Resulting Numbers: [6, 90, 78]
Generated Node #0,1: 87:[6, 90, 78] Operation: 72+6=78
Exploring Operation: 6+72=78, Resulting Numbers: [6, 90, 78]
Generated Node #0,2: 87:[6, 90, 78] Operation: 6+72=78
Moving to Node #0,0
Current State: 87:[6, 90, 12], Operations: ['72/6=12']
Exploring Operation: 12-6=6, Resulting Numbers: [90, 6]
Generated Node #0,0,0: 87:[90, 6] Operation: 12-6=6
Exploring Operation: 12/6=2, Resulting Numbers: [90, 2]
Generated Node #0,0,1: 87:[90, 2] Operation: 12/6=2
Exploring Operation: 90-6=84, Resulting Numbers: [12, 84]
Generated Node #0,0,2: 87:[12, 84] Operation: 90-6=84
Moving to Node #0,1
Current State: 87:[6, 90, 78], Operations: ['72+6=78']
Exploring Operation: 6+78=84, Resulting Numbers: [90, 84]
Generated Node #0,1,0: 87:[90, 84] Operation: 6+78=84
Exploring Operation: 90-78=12, Resulting Numbers: [6, 12]
Generated Node #0,1,1: 87:[6, 12] Operation: 90-78=12
Exploring Operation: 90-6=84, Resulting Numbers: [78, 84]
Generated Node #0,1,2: 87:[78, 84] Operation: 90-6=84
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 87:[90, 84], Operations: ['72+6=78', '6+78=84']
Exploring Operation: 90*84=7560, Resulting Numbers: [7560]
7560,87 unequal: No Solution
Exploring Operation: 90-84=6, Resulting Numbers: [6]
6,87 unequal: No Solution
Exploring Operation: 90+84=174, Resulting Numbers: [174]
174,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 87:[6, 12], Operations: ['72+6=78', '90-78=12']
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,87 unequal: No Solution
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,87 unequal: No Solution
Exploring Operation: 6+12=18, Resulting Numbers: [18]
18,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 87:[78, 84], Operations: ['72+6=78', '90-6=84']
Exploring Operation: 78+84=162, Resulting Numbers: [162]
162,87 unequal: No Solution
Exploring Operation: 78*84=6552, Resulting Numbers: [6552]
6552,87 unequal: No Solution
Exploring Operation: 84-78=6, Resulting Numbers: [6]
6,87 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: 87:[6, 90, 78], Operations: ['6+72=78']
Exploring Operation: 6+78=84, Resulting Numbers: [90, 84]
Generated Node #0,2,0: 87:[90, 84] Operation: 6+78=84
Exploring Operation: 90-6=84, Resulting Numbers: [78, 84]
Generated Node #0,2,1: 87:[78, 84] Operation: 90-6=84
Exploring Operation: 90-78=12, Resulting Numbers: [6, 12]
Generated Node #0,2,2: 87:[6, 12] Operation: 90-78=12
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 87:[90, 84], Operations: ['6+72=78', '6+78=84']
Exploring Operation: 90+84=174, Resulting Numbers: [174]
174,87 unequal: No Solution
Exploring Operation: 90*84=7560, Resulting Numbers: [7560]
7560,87 unequal: No Solution
Exploring Operation: 90-84=6, Resulting Numbers: [6]
6,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 87:[78, 84], Operations: ['6+72=78', '90-6=84']
Exploring Operation: 78+84=162, Resulting Numbers: [162]
162,87 unequal: No Solution
Exploring Operation: 84-78=6, Resulting Numbers: [6]
6,87 unequal: No Solution
Exploring Operation: 78*84=6552, Resulting Numbers: [6552]
6552,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 87:[6, 12], Operations: ['6+72=78', '90-78=12']
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,87 unequal: No Solution
Exploring Operation: 6+12=18, Resulting Numbers: [18]
18,87 unequal: No Solution
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,87 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: 87:[90, 2], Operations: ['72/6=12', '12/6=2']
Exploring Operation: 90+2=92, Resulting Numbers: [92]
92,87 unequal: No Solution
Exploring Operation: 90-2=88, Resulting Numbers: [88]
88,87 unequal: No Solution
Exploring Operation: 90/2=45, Resulting Numbers: [45]
45,87 unequal: No Solution
Moving to Node #0,0,0
Current State: 87:[90, 6], Operations: ['72/6=12', '12-6=6']
Exploring Operation: 90+6=96, Resulting Numbers: [96]
96,87 unequal: No Solution
Exploring Operation: 90/6=15, Resulting Numbers: [15]
15,87 unequal: No Solution
Exploring Operation: 90-6=84, Resulting Numbers: [84]
84,87 unequal: No Solution
Moving to Node #0,0,2
Current State: 87:[12, 84], Operations: ['72/6=12', '90-6=84']
Exploring Operation: 12+84=96, Resulting Numbers: [96]
96,87 unequal: No Solution
Exploring Operation: 84-12=72, Resulting Numbers: [72]
72,87 unequal: No Solution
Exploring Operation: 84/12=7, Resulting Numbers: [7]
7,87 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
2,
11,
40,
76
] | 13 | [
"40-2=38",
"76/38=2",
"11+2=13"
] | Current State: 13:[2, 11, 40, 76], Operations: []
Exploring Operation: 40-2=38, Resulting Numbers: [11, 76, 38]
Generated Node #2: [11, 76, 38] from Operation: 40-2=38
Current State: 13:[11, 76, 38], Operations: ['40-2=38']
Exploring Operation: 76/38=2, Resulting Numbers: [11, 2]
Generated Node #3: [11, 2] from Operation: 76/38=2
Current State: 13:[11, 2], Operations: ['40-2=38', '76/38=2']
Exploring Operation: 11+2=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[2, 11, 40, 76], Operations: []
Exploring Operation: 40-2=38, Resulting Numbers: [11, 76, 38]
Generated Node #0,0: 13:[11, 76, 38] Operation: 40-2=38
Exploring Operation: 2+11=13, Resulting Numbers: [40, 76, 13]
Generated Node #0,1: 13:[40, 76, 13] Operation: 2+11=13
Exploring Operation: 40/2=20, Resulting Numbers: [11, 76, 20]
Generated Node #0,2: 13:[11, 76, 20] Operation: 40/2=20
Exploring Operation: 76/2=38, Resulting Numbers: [11, 40, 38]
Generated Node #0,3: 13:[11, 40, 38] Operation: 76/2=38
Exploring Operation: 76-40=36, Resulting Numbers: [2, 11, 36]
Generated Node #0,4: 13:[2, 11, 36] Operation: 76-40=36
Start Sub Search at level 1: Moving to Node #0,4
Current State: 13:[2, 11, 36], Operations: ['76-40=36']
Exploring Operation: 36-2=34, Resulting Numbers: [11, 34]
Generated Node #0,4,0: 13:[11, 34] Operation: 36-2=34
Exploring Operation: 36/2=18, Resulting Numbers: [11, 18]
Generated Node #0,4,1: 13:[11, 18] Operation: 36/2=18
Exploring Operation: 36-11=25, Resulting Numbers: [2, 25]
Generated Node #0,4,2: 13:[2, 25] Operation: 36-11=25
Exploring Operation: 2+11=13, Resulting Numbers: [36, 13]
Generated Node #0,4,3: 13:[36, 13] Operation: 2+11=13
Exploring Operation: 11-2=9, Resulting Numbers: [36, 9]
Generated Node #0,4,4: 13:[36, 9] Operation: 11-2=9
Moving to Node #0,4,1
Current State: 13:[11, 18], Operations: ['76-40=36', '36/2=18']
Exploring Operation: 11+18=29, Resulting Numbers: [29]
29,13 unequal: No Solution
Exploring Operation: 11*18=198, Resulting Numbers: [198]
198,13 unequal: No Solution
Exploring Operation: 18-11=7, Resulting Numbers: [7]
7,13 unequal: No Solution
Moving to Node #0,4,2
Current State: 13:[2, 25], Operations: ['76-40=36', '36-11=25']
Exploring Operation: 2*25=50, Resulting Numbers: [50]
50,13 unequal: No Solution
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,13 unequal: No Solution
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,13 unequal: No Solution
Moving to Node #0,4,0
Current State: 13:[11, 34], Operations: ['76-40=36', '36-2=34']
Exploring Operation: 11*34=374, Resulting Numbers: [374]
374,13 unequal: No Solution
Exploring Operation: 34-11=23, Resulting Numbers: [23]
23,13 unequal: No Solution
Exploring Operation: 11+34=45, Resulting Numbers: [45]
45,13 unequal: No Solution
Moving to Node #0,4,3
Current State: 13:[36, 13], Operations: ['76-40=36', '2+11=13']
Exploring Operation: 36+13=49, Resulting Numbers: [49]
49,13 unequal: No Solution
Exploring Operation: 36-13=23, Resulting Numbers: [23]
23,13 unequal: No Solution
Exploring Operation: 36*13=468, Resulting Numbers: [468]
468,13 unequal: No Solution
Moving to Node #0,4,4
Current State: 13:[36, 9], Operations: ['76-40=36', '11-2=9']
Exploring Operation: 36*9=324, Resulting Numbers: [324]
324,13 unequal: No Solution
Exploring Operation: 36/9=4, Resulting Numbers: [4]
4,13 unequal: No Solution
Exploring Operation: 36-9=27, Resulting Numbers: [27]
27,13 unequal: No Solution
Exploring Operation: 36+9=45, Resulting Numbers: [45]
45,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 13:[11, 40, 38], Operations: ['76/2=38']
Exploring Operation: 11+40=51, Resulting Numbers: [38, 51]
Generated Node #0,3,0: 13:[38, 51] Operation: 11+40=51
Exploring Operation: 40-11=29, Resulting Numbers: [38, 29]
Generated Node #0,3,1: 13:[38, 29] Operation: 40-11=29
Exploring Operation: 40-38=2, Resulting Numbers: [11, 2]
Generated Node #0,3,2: 13:[11, 2] Operation: 40-38=2
Exploring Operation: 11+38=49, Resulting Numbers: [40, 49]
Generated Node #0,3,3: 13:[40, 49] Operation: 11+38=49
Exploring Operation: 38-11=27, Resulting Numbers: [40, 27]
Generated Node #0,3,4: 13:[40, 27] Operation: 38-11=27
Moving to Node #0,3,2
Current State: 13:[11, 2], Operations: ['76/2=38', '40-38=2']
Exploring Operation: 11+2=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[2, 11, 40, 76], Operations: []
Exploring Operation: 76/2=38, Resulting Numbers: [11, 40, 38]
Generated Node #0,3: 13:[11, 40, 38] Operation: 76/2=38
Moving to Node #0,3
Current State: 13:[11, 40, 38], Operations: ['76/2=38']
Exploring Operation: 40-38=2, Resulting Numbers: [11, 2]
Generated Node #0,3,2: 13:[11, 2] Operation: 40-38=2
Moving to Node #0,3,2
Current State: 13:[11, 2], Operations: ['76/2=38', '40-38=2']
Exploring Operation: 11+2=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875 | hs_5 | mult_heuristic |
[
22,
86,
19,
52
] | 46 | [
"22-19=3",
"86+52=138",
"138/3=46"
] | Current State: 46:[22, 86, 19, 52], Operations: []
Exploring Operation: 22-19=3, Resulting Numbers: [86, 52, 3]
Generated Node #2: [86, 52, 3] from Operation: 22-19=3
Current State: 46:[86, 52, 3], Operations: ['22-19=3']
Exploring Operation: 86+52=138, Resulting Numbers: [3, 138]
Generated Node #3: [3, 138] from Operation: 86+52=138
Current State: 46:[3, 138], Operations: ['22-19=3', '86+52=138']
Exploring Operation: 138/3=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[22, 86, 19, 52], Operations: []
Exploring Operation: 86-52=34, Resulting Numbers: [22, 19, 34]
Generated Node #0,0: 46:[22, 19, 34] Operation: 86-52=34
Exploring Operation: 86-22=64, Resulting Numbers: [19, 52, 64]
Generated Node #0,1: 46:[19, 52, 64] Operation: 86-22=64
Moving to Node #0,0
Current State: 46:[22, 19, 34], Operations: ['86-52=34']
Exploring Operation: 19+34=53, Resulting Numbers: [22, 53]
Generated Node #0,0,0: 46:[22, 53] Operation: 19+34=53
Exploring Operation: 34-19=15, Resulting Numbers: [22, 15]
Generated Node #0,0,1: 46:[22, 15] Operation: 34-19=15
Moving to Node #0,1
Current State: 46:[19, 52, 64], Operations: ['86-22=64']
Exploring Operation: 64-52=12, Resulting Numbers: [19, 12]
Generated Node #0,1,0: 46:[19, 12] Operation: 64-52=12
Exploring Operation: 64-19=45, Resulting Numbers: [52, 45]
Generated Node #0,1,1: 46:[52, 45] Operation: 64-19=45
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 46:[52, 45], Operations: ['86-22=64', '64-19=45']
Exploring Operation: 52-45=7, Resulting Numbers: [7]
7,46 unequal: No Solution
Exploring Operation: 52+45=97, Resulting Numbers: [97]
97,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 46:[19, 12], Operations: ['86-22=64', '64-52=12']
Exploring Operation: 19+12=31, Resulting Numbers: [31]
31,46 unequal: No Solution
Exploring Operation: 19-12=7, Resulting Numbers: [7]
7,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 46:[22, 53], Operations: ['86-52=34', '19+34=53']
Exploring Operation: 53-22=31, Resulting Numbers: [31]
31,46 unequal: No Solution
Exploring Operation: 22+53=75, Resulting Numbers: [75]
75,46 unequal: No Solution
Moving to Node #0,0,1
Current State: 46:[22, 15], Operations: ['86-52=34', '34-19=15']
Exploring Operation: 22-15=7, Resulting Numbers: [7]
7,46 unequal: No Solution
Exploring Operation: 22+15=37, Resulting Numbers: [37]
37,46 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
8,
61,
88,
91
] | 23 | [
"8+61=69",
"91-88=3",
"69/3=23"
] | Current State: 23:[8, 61, 88, 91], Operations: []
Exploring Operation: 8+61=69, Resulting Numbers: [88, 91, 69]
Generated Node #2: [88, 91, 69] from Operation: 8+61=69
Current State: 23:[88, 91, 69], Operations: ['8+61=69']
Exploring Operation: 91-88=3, Resulting Numbers: [69, 3]
Generated Node #3: [69, 3] from Operation: 91-88=3
Current State: 23:[69, 3], Operations: ['8+61=69', '91-88=3']
Exploring Operation: 69/3=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[8, 61, 88, 91], Operations: []
Exploring Operation: 91-88=3, Resulting Numbers: [8, 61, 3]
Generated Node #0,0: 23:[8, 61, 3] Operation: 91-88=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[8, 61, 3], Operations: ['91-88=3']
Exploring Operation: 8*3=24, Resulting Numbers: [61, 24]
Generated Node #0,0,0: 23:[61, 24] Operation: 8*3=24
Moving to Node #0,0,0
Current State: 23:[61, 24], Operations: ['91-88=3', '8*3=24']
Exploring Operation: 61-24=37, Resulting Numbers: [37]
37,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
34,
51,
37,
68
] | 44 | [
"68/34=2",
"51+37=88",
"88/2=44"
] | Current State: 44:[34, 51, 37, 68], Operations: []
Exploring Operation: 68/34=2, Resulting Numbers: [51, 37, 2]
Generated Node #2: [51, 37, 2] from Operation: 68/34=2
Current State: 44:[51, 37, 2], Operations: ['68/34=2']
Exploring Operation: 51+37=88, Resulting Numbers: [2, 88]
Generated Node #3: [2, 88] from Operation: 51+37=88
Current State: 44:[2, 88], Operations: ['68/34=2', '51+37=88']
Exploring Operation: 88/2=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[34, 51, 37, 68], Operations: []
Exploring Operation: 68-51=17, Resulting Numbers: [34, 37, 17]
Generated Node #0,0: 44:[34, 37, 17] Operation: 68-51=17
Exploring Operation: 68/34=2, Resulting Numbers: [51, 37, 2]
Generated Node #0,1: 44:[51, 37, 2] Operation: 68/34=2
Exploring Operation: 68-34=34, Resulting Numbers: [51, 37, 34]
Generated Node #0,2: 44:[51, 37, 34] Operation: 68-34=34
Moving to Node #0,1
Current State: 44:[51, 37, 2], Operations: ['68/34=2']
Exploring Operation: 51-37=14, Resulting Numbers: [2, 14]
Generated Node #0,1,0: 44:[2, 14] Operation: 51-37=14
Exploring Operation: 37+2=39, Resulting Numbers: [51, 39]
Generated Node #0,1,1: 44:[51, 39] Operation: 37+2=39
Exploring Operation: 51-2=49, Resulting Numbers: [37, 49]
Generated Node #0,1,2: 44:[37, 49] Operation: 51-2=49
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 44:[2, 14], Operations: ['68/34=2', '51-37=14']
Exploring Operation: 2+14=16, Resulting Numbers: [16]
16,44 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,44 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 44:[51, 39], Operations: ['68/34=2', '37+2=39']
Exploring Operation: 51-39=12, Resulting Numbers: [12]
12,44 unequal: No Solution
Exploring Operation: 51+39=90, Resulting Numbers: [90]
90,44 unequal: No Solution
Exploring Operation: 51*39=1989, Resulting Numbers: [1989]
1989,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 44:[37, 49], Operations: ['68/34=2', '51-2=49']
Exploring Operation: 37*49=1813, Resulting Numbers: [1813]
1813,44 unequal: No Solution
Exploring Operation: 49-37=12, Resulting Numbers: [12]
12,44 unequal: No Solution
Exploring Operation: 37+49=86, Resulting Numbers: [86]
86,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 44:[34, 37, 17], Operations: ['68-51=17']
Exploring Operation: 34/17=2, Resulting Numbers: [37, 2]
Generated Node #0,0,0: 44:[37, 2] Operation: 34/17=2
Exploring Operation: 34-17=17, Resulting Numbers: [37, 17]
Generated Node #0,0,1: 44:[37, 17] Operation: 34-17=17
Exploring Operation: 37-34=3, Resulting Numbers: [17, 3]
Generated Node #0,0,2: 44:[17, 3] Operation: 37-34=3
Moving to Node #0,2
Current State: 44:[51, 37, 34], Operations: ['68-34=34']
Exploring Operation: 51-37=14, Resulting Numbers: [34, 14]
Generated Node #0,2,0: 44:[34, 14] Operation: 51-37=14
Exploring Operation: 51-34=17, Resulting Numbers: [37, 17]
Generated Node #0,2,1: 44:[37, 17] Operation: 51-34=17
Exploring Operation: 37-34=3, Resulting Numbers: [51, 3]
Generated Node #0,2,2: 44:[51, 3] Operation: 37-34=3
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 44:[51, 3], Operations: ['68-34=34', '37-34=3']
Exploring Operation: 51+3=54, Resulting Numbers: [54]
54,44 unequal: No Solution
Exploring Operation: 51-3=48, Resulting Numbers: [48]
48,44 unequal: No Solution
Exploring Operation: 51/3=17, Resulting Numbers: [17]
17,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 44:[37, 17], Operations: ['68-34=34', '51-34=17']
Exploring Operation: 37*17=629, Resulting Numbers: [629]
629,44 unequal: No Solution
Exploring Operation: 37-17=20, Resulting Numbers: [20]
20,44 unequal: No Solution
Exploring Operation: 37+17=54, Resulting Numbers: [54]
54,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 44:[34, 14], Operations: ['68-34=34', '51-37=14']
Exploring Operation: 34*14=476, Resulting Numbers: [476]
476,44 unequal: No Solution
Exploring Operation: 34+14=48, Resulting Numbers: [48]
48,44 unequal: No Solution
Exploring Operation: 34-14=20, Resulting Numbers: [20]
20,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,2
Current State: 44:[17, 3], Operations: ['68-51=17', '37-34=3']
Exploring Operation: 17+3=20, Resulting Numbers: [20]
20,44 unequal: No Solution
Exploring Operation: 17*3=51, Resulting Numbers: [51]
51,44 unequal: No Solution
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,44 unequal: No Solution
Moving to Node #0,0,0
Current State: 44:[37, 2], Operations: ['68-51=17', '34/17=2']
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,44 unequal: No Solution
Exploring Operation: 37*2=74, Resulting Numbers: [74]
74,44 unequal: No Solution
Exploring Operation: 37+2=39, Resulting Numbers: [39]
39,44 unequal: No Solution
Moving to Node #0,0,1
Current State: 44:[37, 17], Operations: ['68-51=17', '34-17=17']
Exploring Operation: 37+17=54, Resulting Numbers: [54]
54,44 unequal: No Solution
Exploring Operation: 37-17=20, Resulting Numbers: [20]
20,44 unequal: No Solution
Exploring Operation: 37*17=629, Resulting Numbers: [629]
629,44 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
16,
2,
37,
40
] | 15 | [
"16+2=18",
"40-37=3",
"18-3=15"
] | Current State: 15:[16, 2, 37, 40], Operations: []
Exploring Operation: 16+2=18, Resulting Numbers: [37, 40, 18]
Generated Node #2: [37, 40, 18] from Operation: 16+2=18
Current State: 15:[37, 40, 18], Operations: ['16+2=18']
Exploring Operation: 40-37=3, Resulting Numbers: [18, 3]
Generated Node #3: [18, 3] from Operation: 40-37=3
Current State: 15:[18, 3], Operations: ['16+2=18', '40-37=3']
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[16, 2, 37, 40], Operations: []
Exploring Operation: 40-37=3, Resulting Numbers: [16, 2, 3]
Generated Node #0,0: 15:[16, 2, 3] Operation: 40-37=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 15:[16, 2, 3], Operations: ['40-37=3']
Exploring Operation: 16-2=14, Resulting Numbers: [3, 14]
Generated Node #0,0,0: 15:[3, 14] Operation: 16-2=14
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 15:[3, 14], Operations: ['40-37=3', '16-2=14']
Exploring Operation: 3+14=17, Resulting Numbers: [17]
17,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
93,
92,
24,
98
] | 51 | [
"98-92=6",
"24*6=144",
"144-93=51"
] | Current State: 51:[93, 92, 24, 98], Operations: []
Exploring Operation: 98-92=6, Resulting Numbers: [93, 24, 6]
Generated Node #2: [93, 24, 6] from Operation: 98-92=6
Current State: 51:[93, 24, 6], Operations: ['98-92=6']
Exploring Operation: 24*6=144, Resulting Numbers: [93, 144]
Generated Node #3: [93, 144] from Operation: 24*6=144
Current State: 51:[93, 144], Operations: ['98-92=6', '24*6=144']
Exploring Operation: 144-93=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[93, 92, 24, 98], Operations: []
Exploring Operation: 98-93=5, Resulting Numbers: [92, 24, 5]
Generated Node #0,0: 51:[92, 24, 5] Operation: 98-93=5
Moving to Node #0,0
Current State: 51:[92, 24, 5], Operations: ['98-93=5']
Exploring Operation: 92-24=68, Resulting Numbers: [5, 68]
Generated Node #0,0,0: 51:[5, 68] Operation: 92-24=68
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 51:[5, 68], Operations: ['98-93=5', '92-24=68']
Exploring Operation: 68-5=63, Resulting Numbers: [63]
63,51 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 |
[
92,
11,
38,
53
] | 73 | [
"53-38=15",
"11*15=165",
"165-92=73"
] | Current State: 73:[92, 11, 38, 53], Operations: []
Exploring Operation: 53-38=15, Resulting Numbers: [92, 11, 15]
Generated Node #2: [92, 11, 15] from Operation: 53-38=15
Current State: 73:[92, 11, 15], Operations: ['53-38=15']
Exploring Operation: 11*15=165, Resulting Numbers: [92, 165]
Generated Node #3: [92, 165] from Operation: 11*15=165
Current State: 73:[92, 165], Operations: ['53-38=15', '11*15=165']
Exploring Operation: 165-92=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[92, 11, 38, 53], Operations: []
Exploring Operation: 11+38=49, Resulting Numbers: [92, 53, 49]
Generated Node #0,0: 73:[92, 53, 49] Operation: 11+38=49
Exploring Operation: 92-11=81, Resulting Numbers: [38, 53, 81]
Generated Node #0,1: 73:[38, 53, 81] Operation: 92-11=81
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[92, 53, 49], Operations: ['11+38=49']
Exploring Operation: 53+49=102, Resulting Numbers: [92, 102]
Generated Node #0,0,0: 73:[92, 102] Operation: 53+49=102
Exploring Operation: 92-49=43, Resulting Numbers: [53, 43]
Generated Node #0,0,1: 73:[53, 43] Operation: 92-49=43
Moving to Node #0,0,0
Current State: 73:[92, 102], Operations: ['11+38=49', '53+49=102']
Exploring Operation: 92+102=194, Resulting Numbers: [194]
194,73 unequal: No Solution
Exploring Operation: 102-92=10, Resulting Numbers: [10]
10,73 unequal: No Solution
Moving to Node #0,0,1
Current State: 73:[53, 43], Operations: ['11+38=49', '92-49=43']
Exploring Operation: 53-43=10, Resulting Numbers: [10]
10,73 unequal: No Solution
Exploring Operation: 53+43=96, Resulting Numbers: [96]
96,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:[38, 53, 81], Operations: ['92-11=81']
Exploring Operation: 38+53=91, Resulting Numbers: [81, 91]
Generated Node #0,1,0: 73:[81, 91] Operation: 38+53=91
Exploring Operation: 81-38=43, Resulting Numbers: [53, 43]
Generated Node #0,1,1: 73:[53, 43] Operation: 81-38=43
Moving to Node #0,1,0
Current State: 73:[81, 91], Operations: ['92-11=81', '38+53=91']
Exploring Operation: 91-81=10, Resulting Numbers: [10]
10,73 unequal: No Solution
Exploring Operation: 81+91=172, Resulting Numbers: [172]
172,73 unequal: No Solution
Moving to Node #0,1,1
Current State: 73:[53, 43], Operations: ['92-11=81', '81-38=43']
Exploring Operation: 53-43=10, Resulting Numbers: [10]
10,73 unequal: No Solution
Exploring Operation: 53+43=96, Resulting Numbers: [96]
96,73 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 |
[
16,
33,
2,
5
] | 81 | [
"5-2=3",
"16*3=48",
"33+48=81"
] | Current State: 81:[16, 33, 2, 5], Operations: []
Exploring Operation: 5-2=3, Resulting Numbers: [16, 33, 3]
Generated Node #2: [16, 33, 3] from Operation: 5-2=3
Current State: 81:[16, 33, 3], Operations: ['5-2=3']
Exploring Operation: 16*3=48, Resulting Numbers: [33, 48]
Generated Node #3: [33, 48] from Operation: 16*3=48
Current State: 81:[33, 48], Operations: ['5-2=3', '16*3=48']
Exploring Operation: 33+48=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[16, 33, 2, 5], Operations: []
Exploring Operation: 16-5=11, Resulting Numbers: [33, 2, 11]
Generated Node #0,0: 81:[33, 2, 11] Operation: 16-5=11
Exploring Operation: 16*5=80, Resulting Numbers: [33, 2, 80]
Generated Node #0,1: 81:[33, 2, 80] Operation: 16*5=80
Exploring Operation: 16/2=8, Resulting Numbers: [33, 5, 8]
Generated Node #0,2: 81:[33, 5, 8] Operation: 16/2=8
Start Sub Search at level 1: Moving to Node #0,1
Current State: 81:[33, 2, 80], Operations: ['16*5=80']
Exploring Operation: 2+80=82, Resulting Numbers: [33, 82]
Generated Node #0,1,0: 81:[33, 82] Operation: 2+80=82
Exploring Operation: 33-2=31, Resulting Numbers: [80, 31]
Generated Node #0,1,1: 81:[80, 31] Operation: 33-2=31
Exploring Operation: 33+2=35, Resulting Numbers: [80, 35]
Generated Node #0,1,2: 81:[80, 35] Operation: 33+2=35
Moving to Node #0,1,1
Current State: 81:[80, 31], Operations: ['16*5=80', '33-2=31']
Exploring Operation: 80*31=2480, Resulting Numbers: [2480]
2480,81 unequal: No Solution
Exploring Operation: 80-31=49, Resulting Numbers: [49]
49,81 unequal: No Solution
Exploring Operation: 80+31=111, Resulting Numbers: [111]
111,81 unequal: No Solution
Moving to Node #0,1,0
Current State: 81:[33, 82], Operations: ['16*5=80', '2+80=82']
Exploring Operation: 33+82=115, Resulting Numbers: [115]
115,81 unequal: No Solution
Exploring Operation: 82-33=49, Resulting Numbers: [49]
49,81 unequal: No Solution
Exploring Operation: 33*82=2706, Resulting Numbers: [2706]
2706,81 unequal: No Solution
Moving to Node #0,1,2
Current State: 81:[80, 35], Operations: ['16*5=80', '33+2=35']
Exploring Operation: 80+35=115, Resulting Numbers: [115]
115,81 unequal: No Solution
Exploring Operation: 80-35=45, Resulting Numbers: [45]
45,81 unequal: No Solution
Exploring Operation: 80*35=2800, Resulting Numbers: [2800]
2800,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[33, 2, 11], Operations: ['16-5=11']
Exploring Operation: 33/11=3, Resulting Numbers: [2, 3]
Generated Node #0,0,0: 81:[2, 3] Operation: 33/11=3
Exploring Operation: 33-11=22, Resulting Numbers: [2, 22]
Generated Node #0,0,1: 81:[2, 22] Operation: 33-11=22
Exploring Operation: 33-2=31, Resulting Numbers: [11, 31]
Generated Node #0,0,2: 81:[11, 31] Operation: 33-2=31
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 81:[2, 3], Operations: ['16-5=11', '33/11=3']
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,81 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,81 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,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,1
Current State: 81:[2, 22], Operations: ['16-5=11', '33-11=22']
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,81 unequal: No Solution
Exploring Operation: 2+22=24, Resulting Numbers: [24]
24,81 unequal: No Solution
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,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:[11, 31], Operations: ['16-5=11', '33-2=31']
Exploring Operation: 11+31=42, Resulting Numbers: [42]
42,81 unequal: No Solution
Exploring Operation: 11*31=341, Resulting Numbers: [341]
341,81 unequal: No Solution
Exploring Operation: 31-11=20, Resulting Numbers: [20]
20,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 81:[33, 5, 8], Operations: ['16/2=8']
Exploring Operation: 8-5=3, Resulting Numbers: [33, 3]
Generated Node #0,2,0: 81:[33, 3] Operation: 8-5=3
Exploring Operation: 33-8=25, Resulting Numbers: [5, 25]
Generated Node #0,2,1: 81:[5, 25] Operation: 33-8=25
Exploring Operation: 33-5=28, Resulting Numbers: [8, 28]
Generated Node #0,2,2: 81:[8, 28] Operation: 33-5=28
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 81:[8, 28], Operations: ['16/2=8', '33-5=28']
Exploring Operation: 8*28=224, Resulting Numbers: [224]
224,81 unequal: No Solution
Exploring Operation: 8+28=36, Resulting Numbers: [36]
36,81 unequal: No Solution
Exploring Operation: 28-8=20, Resulting Numbers: [20]
20,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:[5, 25], Operations: ['16/2=8', '33-8=25']
Exploring Operation: 25-5=20, Resulting Numbers: [20]
20,81 unequal: No Solution
Exploring Operation: 25/5=5, Resulting Numbers: [5]
5,81 unequal: No Solution
Exploring Operation: 5+25=30, Resulting Numbers: [30]
30,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,0
Current State: 81:[33, 3], Operations: ['16/2=8', '8-5=3']
Exploring Operation: 33-3=30, Resulting Numbers: [30]
30,81 unequal: No Solution
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,81 unequal: No Solution
Exploring Operation: 33+3=36, Resulting Numbers: [36]
36,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
20,
4,
6,
90
] | 68 | [
"20-4=16",
"90-6=84",
"84-16=68"
] | Current State: 68:[20, 4, 6, 90], Operations: []
Exploring Operation: 20-4=16, Resulting Numbers: [6, 90, 16]
Generated Node #2: [6, 90, 16] from Operation: 20-4=16
Current State: 68:[6, 90, 16], Operations: ['20-4=16']
Exploring Operation: 90-6=84, Resulting Numbers: [16, 84]
Generated Node #3: [16, 84] from Operation: 90-6=84
Current State: 68:[16, 84], Operations: ['20-4=16', '90-6=84']
Exploring Operation: 84-16=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[20, 4, 6, 90], Operations: []
Exploring Operation: 90-20=70, Resulting Numbers: [4, 6, 70]
Generated Node #0,0: 68:[4, 6, 70] Operation: 90-20=70
Exploring Operation: 90/6=15, Resulting Numbers: [20, 4, 15]
Generated Node #0,1: 68:[20, 4, 15] Operation: 90/6=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[4, 6, 70], Operations: ['90-20=70']
Exploring Operation: 70-4=66, Resulting Numbers: [6, 66]
Generated Node #0,0,0: 68:[6, 66] Operation: 70-4=66
Exploring Operation: 6-4=2, Resulting Numbers: [70, 2]
Generated Node #0,0,1: 68:[70, 2] Operation: 6-4=2
Moving to Node #0,0,1
Current State: 68:[70, 2], Operations: ['90-20=70', '6-4=2']
Exploring Operation: 70/2=35, Resulting Numbers: [35]
35,68 unequal: No Solution
Exploring Operation: 70-2=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[20, 4, 6, 90], Operations: []
Exploring Operation: 90-20=70, Resulting Numbers: [4, 6, 70]
Generated Node #0,0: 68:[4, 6, 70] Operation: 90-20=70
Moving to Node #0,0
Current State: 68:[4, 6, 70], Operations: ['90-20=70']
Exploring Operation: 6-4=2, Resulting Numbers: [70, 2]
Generated Node #0,0,1: 68:[70, 2] Operation: 6-4=2
Moving to Node #0,0,1
Current State: 68:[70, 2], Operations: ['90-20=70', '6-4=2']
Exploring Operation: 70-2=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
50,
89,
96,
79
] | 56 | [
"89-50=39",
"96-79=17",
"39+17=56"
] | Current State: 56:[50, 89, 96, 79], Operations: []
Exploring Operation: 89-50=39, Resulting Numbers: [96, 79, 39]
Generated Node #2: [96, 79, 39] from Operation: 89-50=39
Current State: 56:[96, 79, 39], Operations: ['89-50=39']
Exploring Operation: 96-79=17, Resulting Numbers: [39, 17]
Generated Node #3: [39, 17] from Operation: 96-79=17
Current State: 56:[39, 17], Operations: ['89-50=39', '96-79=17']
Exploring Operation: 39+17=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[50, 89, 96, 79], Operations: []
Exploring Operation: 96-89=7, Resulting Numbers: [50, 79, 7]
Generated Node #0,0: 56:[50, 79, 7] Operation: 96-89=7
Exploring Operation: 96-79=17, Resulting Numbers: [50, 89, 17]
Generated Node #0,1: 56:[50, 89, 17] Operation: 96-79=17
Exploring Operation: 89-79=10, Resulting Numbers: [50, 96, 10]
Generated Node #0,2: 56:[50, 96, 10] Operation: 89-79=10
Exploring Operation: 96-50=46, Resulting Numbers: [89, 79, 46]
Generated Node #0,3: 56:[89, 79, 46] Operation: 96-50=46
Exploring Operation: 89-50=39, Resulting Numbers: [96, 79, 39]
Generated Node #0,4: 56:[96, 79, 39] Operation: 89-50=39
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[50, 79, 7], Operations: ['96-89=7']
Exploring Operation: 50+7=57, Resulting Numbers: [79, 57]
Generated Node #0,0,0: 56:[79, 57] Operation: 50+7=57
Exploring Operation: 79-7=72, Resulting Numbers: [50, 72]
Generated Node #0,0,1: 56:[50, 72] Operation: 79-7=72
Exploring Operation: 79+7=86, Resulting Numbers: [50, 86]
Generated Node #0,0,2: 56:[50, 86] Operation: 79+7=86
Exploring Operation: 50-7=43, Resulting Numbers: [79, 43]
Generated Node #0,0,3: 56:[79, 43] Operation: 50-7=43
Exploring Operation: 79-50=29, Resulting Numbers: [7, 29]
Generated Node #0,0,4: 56:[7, 29] Operation: 79-50=29
Moving to Node #0,0,4
Current State: 56:[7, 29], Operations: ['96-89=7', '79-50=29']
Exploring Operation: 7+29=36, Resulting Numbers: [36]
36,56 unequal: No Solution
Exploring Operation: 29-7=22, Resulting Numbers: [22]
22,56 unequal: No Solution
Exploring Operation: 7*29=203, Resulting Numbers: [203]
203,56 unequal: No Solution
Moving to Node #0,0,1
Current State: 56:[50, 72], Operations: ['96-89=7', '79-7=72']
Exploring Operation: 50+72=122, Resulting Numbers: [122]
122,56 unequal: No Solution
Exploring Operation: 50*72=3600, Resulting Numbers: [3600]
3600,56 unequal: No Solution
Exploring Operation: 72-50=22, Resulting Numbers: [22]
22,56 unequal: No Solution
Moving to Node #0,0,0
Current State: 56:[79, 57], Operations: ['96-89=7', '50+7=57']
Exploring Operation: 79+57=136, Resulting Numbers: [136]
136,56 unequal: No Solution
Exploring Operation: 79*57=4503, Resulting Numbers: [4503]
4503,56 unequal: No Solution
Exploring Operation: 79-57=22, Resulting Numbers: [22]
22,56 unequal: No Solution
Moving to Node #0,0,2
Current State: 56:[50, 86], Operations: ['96-89=7', '79+7=86']
Exploring Operation: 86-50=36, Resulting Numbers: [36]
36,56 unequal: No Solution
Exploring Operation: 50+86=136, Resulting Numbers: [136]
136,56 unequal: No Solution
Exploring Operation: 50*86=4300, Resulting Numbers: [4300]
4300,56 unequal: No Solution
Moving to Node #0,0,3
Current State: 56:[79, 43], Operations: ['96-89=7', '50-7=43']
Exploring Operation: 79-43=36, Resulting Numbers: [36]
36,56 unequal: No Solution
Exploring Operation: 79+43=122, Resulting Numbers: [122]
122,56 unequal: No Solution
Exploring Operation: 79*43=3397, Resulting Numbers: [3397]
3397,56 unequal: No Solution
No 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: 56:[50, 89, 17], Operations: ['96-79=17']
Exploring Operation: 89+17=106, Resulting Numbers: [50, 106]
Generated Node #0,1,0: 56:[50, 106] Operation: 89+17=106
Exploring Operation: 50+17=67, Resulting Numbers: [89, 67]
Generated Node #0,1,1: 56:[89, 67] Operation: 50+17=67
Exploring Operation: 50-17=33, Resulting Numbers: [89, 33]
Generated Node #0,1,2: 56:[89, 33] Operation: 50-17=33
Exploring Operation: 89-50=39, Resulting Numbers: [17, 39]
Generated Node #0,1,3: 56:[17, 39] Operation: 89-50=39
Exploring Operation: 89-17=72, Resulting Numbers: [50, 72]
Generated Node #0,1,4: 56:[50, 72] Operation: 89-17=72
Moving to Node #0,1,3
Current State: 56:[17, 39], Operations: ['96-79=17', '89-50=39']
Exploring Operation: 39-17=22, Resulting Numbers: [22]
22,56 unequal: No Solution
Exploring Operation: 17*39=663, Resulting Numbers: [663]
663,56 unequal: No Solution
Exploring Operation: 17+39=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[50, 89, 96, 79], Operations: []
Exploring Operation: 96-79=17, Resulting Numbers: [50, 89, 17]
Generated Node #0,1: 56:[50, 89, 17] Operation: 96-79=17
Moving to Node #0,1
Current State: 56:[50, 89, 17], Operations: ['96-79=17']
Exploring Operation: 89-50=39, Resulting Numbers: [17, 39]
Generated Node #0,1,3: 56:[17, 39] Operation: 89-50=39
Moving to Node #0,1,3
Current State: 56:[17, 39], Operations: ['96-79=17', '89-50=39']
Exploring Operation: 17+39=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_5 | sum_heuristic |
[
95,
20,
42,
72
] | 14 | [
"95-20=75",
"75-72=3",
"42/3=14"
] | Current State: 14:[95, 20, 42, 72], Operations: []
Exploring Operation: 95-20=75, Resulting Numbers: [42, 72, 75]
Generated Node #2: [42, 72, 75] from Operation: 95-20=75
Current State: 14:[42, 72, 75], Operations: ['95-20=75']
Exploring Operation: 75-72=3, Resulting Numbers: [42, 3]
Generated Node #3: [42, 3] from Operation: 75-72=3
Current State: 14:[42, 3], Operations: ['95-20=75', '75-72=3']
Exploring Operation: 42/3=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[95, 20, 42, 72], Operations: []
Exploring Operation: 95-72=23, Resulting Numbers: [20, 42, 23]
Generated Node #0,0: 14:[20, 42, 23] Operation: 95-72=23
Moving to Node #0,0
Current State: 14:[20, 42, 23], Operations: ['95-72=23']
Exploring Operation: 42-23=19, Resulting Numbers: [20, 19]
Generated Node #0,0,0: 14:[20, 19] Operation: 42-23=19
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 14:[20, 19], Operations: ['95-72=23', '42-23=19']
Exploring Operation: 20-19=1, Resulting Numbers: [1]
1,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
55,
27,
14,
17
] | 51 | [
"55+27=82",
"14+17=31",
"82-31=51"
] | Current State: 51:[55, 27, 14, 17], Operations: []
Exploring Operation: 55+27=82, Resulting Numbers: [14, 17, 82]
Generated Node #2: [14, 17, 82] from Operation: 55+27=82
Current State: 51:[14, 17, 82], Operations: ['55+27=82']
Exploring Operation: 14+17=31, Resulting Numbers: [82, 31]
Generated Node #3: [82, 31] from Operation: 14+17=31
Current State: 51:[82, 31], Operations: ['55+27=82', '14+17=31']
Exploring Operation: 82-31=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[55, 27, 14, 17], Operations: []
Exploring Operation: 27+14=41, Resulting Numbers: [55, 17, 41]
Generated Node #0,0: 51:[55, 17, 41] Operation: 27+14=41
Exploring Operation: 27+17=44, Resulting Numbers: [55, 14, 44]
Generated Node #0,1: 51:[55, 14, 44] Operation: 27+17=44
Exploring Operation: 27-14=13, Resulting Numbers: [55, 17, 13]
Generated Node #0,2: 51:[55, 17, 13] Operation: 27-14=13
Exploring Operation: 55-27=28, Resulting Numbers: [14, 17, 28]
Generated Node #0,3: 51:[14, 17, 28] Operation: 55-27=28
Exploring Operation: 27-17=10, Resulting Numbers: [55, 14, 10]
Generated Node #0,4: 51:[55, 14, 10] Operation: 27-17=10
Start Sub Search at level 1: Moving to Node #0,2
Current State: 51:[55, 17, 13], Operations: ['27-14=13']
Exploring Operation: 55+13=68, Resulting Numbers: [17, 68]
Generated Node #0,2,0: 51:[17, 68] Operation: 55+13=68
Exploring Operation: 17+13=30, Resulting Numbers: [55, 30]
Generated Node #0,2,1: 51:[55, 30] Operation: 17+13=30
Exploring Operation: 55-13=42, Resulting Numbers: [17, 42]
Generated Node #0,2,2: 51:[17, 42] Operation: 55-13=42
Exploring Operation: 55-17=38, Resulting Numbers: [13, 38]
Generated Node #0,2,3: 51:[13, 38] Operation: 55-17=38
Exploring Operation: 17-13=4, Resulting Numbers: [55, 4]
Generated Node #0,2,4: 51:[55, 4] Operation: 17-13=4
Moving to Node #0,2,4
Current State: 51:[55, 4], Operations: ['27-14=13', '17-13=4']
Exploring Operation: 55*4=220, Resulting Numbers: [220]
220,51 unequal: No Solution
Exploring Operation: 55+4=59, Resulting Numbers: [59]
59,51 unequal: No Solution
Exploring Operation: 55-4=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[55, 27, 14, 17], Operations: []
Exploring Operation: 27-14=13, Resulting Numbers: [55, 17, 13]
Generated Node #0,2: 51:[55, 17, 13] Operation: 27-14=13
Moving to Node #0,2
Current State: 51:[55, 17, 13], Operations: ['27-14=13']
Exploring Operation: 17-13=4, Resulting Numbers: [55, 4]
Generated Node #0,2,4: 51:[55, 4] Operation: 17-13=4
Moving to Node #0,2,4
Current State: 51:[55, 4], Operations: ['27-14=13', '17-13=4']
Exploring Operation: 55-4=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
21,
80,
61,
36
] | 18 | [
"80-21=59",
"61-59=2",
"36/2=18"
] | Current State: 18:[21, 80, 61, 36], Operations: []
Exploring Operation: 80-21=59, Resulting Numbers: [61, 36, 59]
Generated Node #2: [61, 36, 59] from Operation: 80-21=59
Current State: 18:[61, 36, 59], Operations: ['80-21=59']
Exploring Operation: 61-59=2, Resulting Numbers: [36, 2]
Generated Node #3: [36, 2] from Operation: 61-59=2
Current State: 18:[36, 2], Operations: ['80-21=59', '61-59=2']
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[21, 80, 61, 36], Operations: []
Exploring Operation: 80-36=44, Resulting Numbers: [21, 61, 44]
Generated Node #0,0: 18:[21, 61, 44] Operation: 80-36=44
Exploring Operation: 80-61=19, Resulting Numbers: [21, 36, 19]
Generated Node #0,1: 18:[21, 36, 19] Operation: 80-61=19
Moving to Node #0,1
Current State: 18:[21, 36, 19], Operations: ['80-61=19']
Exploring Operation: 36-21=15, Resulting Numbers: [19, 15]
Generated Node #0,1,0: 18:[19, 15] Operation: 36-21=15
Exploring Operation: 36-19=17, Resulting Numbers: [21, 17]
Generated Node #0,1,1: 18:[21, 17] Operation: 36-19=17
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 18:[19, 15], Operations: ['80-61=19', '36-21=15']
Exploring Operation: 19+15=34, Resulting Numbers: [34]
34,18 unequal: No Solution
Exploring Operation: 19-15=4, Resulting Numbers: [4]
4,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:[21, 17], Operations: ['80-61=19', '36-19=17']
Exploring Operation: 21+17=38, Resulting Numbers: [38]
38,18 unequal: No Solution
Exploring Operation: 21-17=4, Resulting Numbers: [4]
4,18 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: 18:[21, 61, 44], Operations: ['80-36=44']
Exploring Operation: 61-21=40, Resulting Numbers: [44, 40]
Generated Node #0,0,0: 18:[44, 40] Operation: 61-21=40
Exploring Operation: 61-44=17, Resulting Numbers: [21, 17]
Generated Node #0,0,1: 18:[21, 17] Operation: 61-44=17
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 18:[21, 17], Operations: ['80-36=44', '61-44=17']
Exploring Operation: 21+17=38, Resulting Numbers: [38]
38,18 unequal: No Solution
Exploring Operation: 21-17=4, Resulting Numbers: [4]
4,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 18:[44, 40], Operations: ['80-36=44', '61-21=40']
Exploring Operation: 44+40=84, Resulting Numbers: [84]
84,18 unequal: No Solution
Exploring Operation: 44-40=4, Resulting Numbers: [4]
4,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
45,
3,
49,
84
] | 60 | [
"84-49=35",
"3*35=105",
"105-45=60"
] | Current State: 60:[45, 3, 49, 84], Operations: []
Exploring Operation: 84-49=35, Resulting Numbers: [45, 3, 35]
Generated Node #2: [45, 3, 35] from Operation: 84-49=35
Current State: 60:[45, 3, 35], Operations: ['84-49=35']
Exploring Operation: 3*35=105, Resulting Numbers: [45, 105]
Generated Node #3: [45, 105] from Operation: 3*35=105
Current State: 60:[45, 105], Operations: ['84-49=35', '3*35=105']
Exploring Operation: 105-45=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[45, 3, 49, 84], Operations: []
Exploring Operation: 84-45=39, Resulting Numbers: [3, 49, 39]
Generated Node #0,0: 60:[3, 49, 39] Operation: 84-45=39
Exploring Operation: 84/3=28, Resulting Numbers: [45, 49, 28]
Generated Node #0,1: 60:[45, 49, 28] Operation: 84/3=28
Exploring Operation: 45/3=15, Resulting Numbers: [49, 84, 15]
Generated Node #0,2: 60:[49, 84, 15] Operation: 45/3=15
Exploring Operation: 84-49=35, Resulting Numbers: [45, 3, 35]
Generated Node #0,3: 60:[45, 3, 35] Operation: 84-49=35
Exploring Operation: 49-45=4, Resulting Numbers: [3, 84, 4]
Generated Node #0,4: 60:[3, 84, 4] Operation: 49-45=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[3, 49, 39], Operations: ['84-45=39']
Exploring Operation: 39-3=36, Resulting Numbers: [49, 36]
Generated Node #0,0,0: 60:[49, 36] Operation: 39-3=36
Exploring Operation: 39/3=13, Resulting Numbers: [49, 13]
Generated Node #0,0,1: 60:[49, 13] Operation: 39/3=13
Exploring Operation: 49-3=46, Resulting Numbers: [39, 46]
Generated Node #0,0,2: 60:[39, 46] Operation: 49-3=46
Exploring Operation: 49-39=10, Resulting Numbers: [3, 10]
Generated Node #0,0,3: 60:[3, 10] Operation: 49-39=10
Exploring Operation: 3+49=52, Resulting Numbers: [39, 52]
Generated Node #0,0,4: 60:[39, 52] Operation: 3+49=52
Moving to Node #0,0,3
Current State: 60:[3, 10], Operations: ['84-45=39', '49-39=10']
Exploring Operation: 3+10=13, Resulting Numbers: [13]
13,60 unequal: No Solution
Exploring Operation: 3*10=30, Resulting Numbers: [30]
30,60 unequal: No Solution
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,60 unequal: No Solution
Moving to Node #0,0,1
Current State: 60:[49, 13], Operations: ['84-45=39', '39/3=13']
Exploring Operation: 49*13=637, Resulting Numbers: [637]
637,60 unequal: No Solution
Exploring Operation: 49+13=62, Resulting Numbers: [62]
62,60 unequal: No Solution
Exploring Operation: 49-13=36, Resulting Numbers: [36]
36,60 unequal: No Solution
Moving to Node #0,0,0
Current State: 60:[49, 36], Operations: ['84-45=39', '39-3=36']
Exploring Operation: 49*36=1764, Resulting Numbers: [1764]
1764,60 unequal: No Solution
Exploring Operation: 49+36=85, Resulting Numbers: [85]
85,60 unequal: No Solution
Exploring Operation: 49-36=13, Resulting Numbers: [13]
13,60 unequal: No Solution
Moving to Node #0,0,4
Current State: 60:[39, 52], Operations: ['84-45=39', '3+49=52']
Exploring Operation: 52-39=13, Resulting Numbers: [13]
13,60 unequal: No Solution
Exploring Operation: 39+52=91, Resulting Numbers: [91]
91,60 unequal: No Solution
Exploring Operation: 39*52=2028, Resulting Numbers: [2028]
2028,60 unequal: No Solution
Moving to Node #0,0,2
Current State: 60:[39, 46], Operations: ['84-45=39', '49-3=46']
Exploring Operation: 39*46=1794, Resulting Numbers: [1794]
1794,60 unequal: No Solution
Exploring Operation: 46-39=7, Resulting Numbers: [7]
7,60 unequal: No Solution
Exploring Operation: 39+46=85, Resulting Numbers: [85]
85,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 60:[45, 3, 35], Operations: ['84-49=35']
Exploring Operation: 45-35=10, Resulting Numbers: [3, 10]
Generated Node #0,3,0: 60:[3, 10] Operation: 45-35=10
Exploring Operation: 45+3=48, Resulting Numbers: [35, 48]
Generated Node #0,3,1: 60:[35, 48] Operation: 45+3=48
Exploring Operation: 45-3=42, Resulting Numbers: [35, 42]
Generated Node #0,3,2: 60:[35, 42] Operation: 45-3=42
Exploring Operation: 45/3=15, Resulting Numbers: [35, 15]
Generated Node #0,3,3: 60:[35, 15] Operation: 45/3=15
Exploring Operation: 35-3=32, Resulting Numbers: [45, 32]
Generated Node #0,3,4: 60:[45, 32] Operation: 35-3=32
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 60:[3, 10], Operations: ['84-49=35', '45-35=10']
Exploring Operation: 3+10=13, Resulting Numbers: [13]
13,60 unequal: No Solution
Exploring Operation: 3*10=30, Resulting Numbers: [30]
30,60 unequal: No Solution
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,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,3,3
Current State: 60:[35, 15], Operations: ['84-49=35', '45/3=15']
Exploring Operation: 35+15=50, Resulting Numbers: [50]
50,60 unequal: No Solution
Exploring Operation: 35-15=20, Resulting Numbers: [20]
20,60 unequal: No Solution
Exploring Operation: 35*15=525, Resulting Numbers: [525]
525,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,3,1
Current State: 60:[35, 48], Operations: ['84-49=35', '45+3=48']
Exploring Operation: 35+48=83, Resulting Numbers: [83]
83,60 unequal: No Solution
Exploring Operation: 48-35=13, Resulting Numbers: [13]
13,60 unequal: No Solution
Exploring Operation: 35*48=1680, Resulting Numbers: [1680]
1680,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,3,2
Current State: 60:[35, 42], Operations: ['84-49=35', '45-3=42']
Exploring Operation: 35+42=77, Resulting Numbers: [77]
77,60 unequal: No Solution
Exploring Operation: 35*42=1470, Resulting Numbers: [1470]
1470,60 unequal: No Solution
Exploring Operation: 42-35=7, Resulting Numbers: [7]
7,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,3,4
Current State: 60:[45, 32], Operations: ['84-49=35', '35-3=32']
Exploring Operation: 45*32=1440, Resulting Numbers: [1440]
1440,60 unequal: No Solution
Exploring Operation: 45-32=13, Resulting Numbers: [13]
13,60 unequal: No Solution
Exploring Operation: 45+32=77, Resulting Numbers: [77]
77,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
Start Sub Search at level 1: Moving to Node #0,4
Current State: 60:[3, 84, 4], Operations: ['49-45=4']
Exploring Operation: 84/4=21, Resulting Numbers: [3, 21]
Generated Node #0,4,0: 60:[3, 21] Operation: 84/4=21
Exploring Operation: 84-3=81, Resulting Numbers: [4, 81]
Generated Node #0,4,1: 60:[4, 81] Operation: 84-3=81
Exploring Operation: 3*4=12, Resulting Numbers: [84, 12]
Generated Node #0,4,2: 60:[84, 12] Operation: 3*4=12
Exploring Operation: 84/3=28, Resulting Numbers: [4, 28]
Generated Node #0,4,3: 60:[4, 28] Operation: 84/3=28
Exploring Operation: 84-4=80, Resulting Numbers: [3, 80]
Generated Node #0,4,4: 60:[3, 80] Operation: 84-4=80
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 60:[3, 21], Operations: ['49-45=4', '84/4=21']
Exploring Operation: 21-3=18, Resulting Numbers: [18]
18,60 unequal: No Solution
Exploring Operation: 21/3=7, Resulting Numbers: [7]
7,60 unequal: No Solution
Exploring Operation: 3*21=63, Resulting Numbers: [63]
63,60 unequal: No Solution
Exploring Operation: 3+21=24, Resulting Numbers: [24]
24,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,4,3
Current State: 60:[4, 28], Operations: ['49-45=4', '84/3=28']
Exploring Operation: 4+28=32, Resulting Numbers: [32]
32,60 unequal: No Solution
Exploring Operation: 28-4=24, Resulting Numbers: [24]
24,60 unequal: No Solution
Exploring Operation: 28/4=7, Resulting Numbers: [7]
7,60 unequal: No Solution
Exploring Operation: 4*28=112, Resulting Numbers: [112]
112,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,4,4
Current State: 60:[3, 80], Operations: ['49-45=4', '84-4=80']
Exploring Operation: 80-3=77, Resulting Numbers: [77]
77,60 unequal: No Solution
Exploring Operation: 3+80=83, Resulting Numbers: [83]
83,60 unequal: No Solution
Exploring Operation: 3*80=240, Resulting Numbers: [240]
240,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,4,1
Current State: 60:[4, 81], Operations: ['49-45=4', '84-3=81']
Exploring Operation: 4+81=85, Resulting Numbers: [85]
85,60 unequal: No Solution
Exploring Operation: 81-4=77, Resulting Numbers: [77]
77,60 unequal: No Solution
Exploring Operation: 4*81=324, Resulting Numbers: [324]
324,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,4,2
Current State: 60:[84, 12], Operations: ['49-45=4', '3*4=12']
Exploring Operation: 84+12=96, Resulting Numbers: [96]
96,60 unequal: No Solution
Exploring Operation: 84/12=7, Resulting Numbers: [7]
7,60 unequal: No Solution
Exploring Operation: 84*12=1008, Resulting Numbers: [1008]
1008,60 unequal: No Solution
Exploring Operation: 84-12=72, Resulting Numbers: [72]
72,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
Start Sub Search at level 1: Moving to Node #0,1
Current State: 60:[45, 49, 28], Operations: ['84/3=28']
Exploring Operation: 45+28=73, Resulting Numbers: [49, 73]
Generated Node #0,1,0: 60:[49, 73] Operation: 45+28=73
Exploring Operation: 49-45=4, Resulting Numbers: [28, 4]
Generated Node #0,1,1: 60:[28, 4] Operation: 49-45=4
Exploring Operation: 49-28=21, Resulting Numbers: [45, 21]
Generated Node #0,1,2: 60:[45, 21] Operation: 49-28=21
Exploring Operation: 45-28=17, Resulting Numbers: [49, 17]
Generated Node #0,1,3: 60:[49, 17] Operation: 45-28=17
Exploring Operation: 49+28=77, Resulting Numbers: [45, 77]
Generated Node #0,1,4: 60:[45, 77] Operation: 49+28=77
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 60:[28, 4], Operations: ['84/3=28', '49-45=4']
Exploring Operation: 28-4=24, Resulting Numbers: [24]
24,60 unequal: No Solution
Exploring Operation: 28/4=7, Resulting Numbers: [7]
7,60 unequal: No Solution
Exploring Operation: 28+4=32, Resulting Numbers: [32]
32,60 unequal: No Solution
Exploring Operation: 28*4=112, Resulting Numbers: [112]
112,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,3
Current State: 60:[49, 17], Operations: ['84/3=28', '45-28=17']
Exploring Operation: 49-17=32, Resulting Numbers: [32]
32,60 unequal: No Solution
Exploring Operation: 49+17=66, Resulting Numbers: [66]
66,60 unequal: No Solution
Exploring Operation: 49*17=833, Resulting Numbers: [833]
833,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,2
Current State: 60:[45, 21], Operations: ['84/3=28', '49-28=21']
Exploring Operation: 45*21=945, Resulting Numbers: [945]
945,60 unequal: No Solution
Exploring Operation: 45-21=24, Resulting Numbers: [24]
24,60 unequal: No Solution
Exploring Operation: 45+21=66, Resulting Numbers: [66]
66,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,0
Current State: 60:[49, 73], Operations: ['84/3=28', '45+28=73']
Exploring Operation: 49+73=122, Resulting Numbers: [122]
122,60 unequal: No Solution
Exploring Operation: 73-49=24, Resulting Numbers: [24]
24,60 unequal: No Solution
Exploring Operation: 49*73=3577, Resulting Numbers: [3577]
3577,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,4
Current State: 60:[45, 77], Operations: ['84/3=28', '49+28=77']
Exploring Operation: 45+77=122, Resulting Numbers: [122]
122,60 unequal: No Solution
Exploring Operation: 45*77=3465, Resulting Numbers: [3465]
3465,60 unequal: No Solution
Exploring Operation: 77-45=32, Resulting Numbers: [32]
32,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
Start Sub Search at level 1: Moving to Node #0,2
Current State: 60:[49, 84, 15], Operations: ['45/3=15']
Exploring Operation: 84-15=69, Resulting Numbers: [49, 69]
Generated Node #0,2,0: 60:[49, 69] Operation: 84-15=69
Exploring Operation: 84+15=99, Resulting Numbers: [49, 99]
Generated Node #0,2,1: 60:[49, 99] Operation: 84+15=99
Exploring Operation: 49-15=34, Resulting Numbers: [84, 34]
Generated Node #0,2,2: 60:[84, 34] Operation: 49-15=34
Exploring Operation: 84-49=35, Resulting Numbers: [15, 35]
Generated Node #0,2,3: 60:[15, 35] Operation: 84-49=35
Exploring Operation: 49+15=64, Resulting Numbers: [84, 64]
Generated Node #0,2,4: 60:[84, 64] Operation: 49+15=64
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 60:[15, 35], Operations: ['45/3=15', '84-49=35']
Exploring Operation: 15+35=50, Resulting Numbers: [50]
50,60 unequal: No Solution
Exploring Operation: 35-15=20, Resulting Numbers: [20]
20,60 unequal: No Solution
Exploring Operation: 15*35=525, Resulting Numbers: [525]
525,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,2,0
Current State: 60:[49, 69], Operations: ['45/3=15', '84-15=69']
Exploring Operation: 69-49=20, Resulting Numbers: [20]
20,60 unequal: No Solution
Exploring Operation: 49*69=3381, Resulting Numbers: [3381]
3381,60 unequal: No Solution
Exploring Operation: 49+69=118, Resulting Numbers: [118]
118,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,2,2
Current State: 60:[84, 34], Operations: ['45/3=15', '49-15=34']
Exploring Operation: 84*34=2856, Resulting Numbers: [2856]
2856,60 unequal: No Solution
Exploring Operation: 84-34=50, Resulting Numbers: [50]
50,60 unequal: No Solution
Exploring Operation: 84+34=118, Resulting Numbers: [118]
118,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,2,4
Current State: 60:[84, 64], Operations: ['45/3=15', '49+15=64']
Exploring Operation: 84+64=148, Resulting Numbers: [148]
148,60 unequal: No Solution
Exploring Operation: 84-64=20, Resulting Numbers: [20]
20,60 unequal: No Solution
Exploring Operation: 84*64=5376, Resulting Numbers: [5376]
5376,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,2,1
Current State: 60:[49, 99], Operations: ['45/3=15', '84+15=99']
Exploring Operation: 99-49=50, Resulting Numbers: [50]
50,60 unequal: No Solution
Exploring Operation: 49+99=148, Resulting Numbers: [148]
148,60 unequal: No Solution
Exploring Operation: 49*99=4851, Resulting Numbers: [4851]
4851,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_5 | sum_heuristic |
[
77,
17,
57,
75
] | 78 | [
"77-17=60",
"75-57=18",
"60+18=78"
] | Current State: 78:[77, 17, 57, 75], Operations: []
Exploring Operation: 77-17=60, Resulting Numbers: [57, 75, 60]
Generated Node #2: [57, 75, 60] from Operation: 77-17=60
Current State: 78:[57, 75, 60], Operations: ['77-17=60']
Exploring Operation: 75-57=18, Resulting Numbers: [60, 18]
Generated Node #3: [60, 18] from Operation: 75-57=18
Current State: 78:[60, 18], Operations: ['77-17=60', '75-57=18']
Exploring Operation: 60+18=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[77, 17, 57, 75], Operations: []
Exploring Operation: 57-17=40, Resulting Numbers: [77, 75, 40]
Generated Node #0,0: 78:[77, 75, 40] Operation: 57-17=40
Exploring Operation: 17+57=74, Resulting Numbers: [77, 75, 74]
Generated Node #0,1: 78:[77, 75, 74] Operation: 17+57=74
Exploring Operation: 75-57=18, Resulting Numbers: [77, 17, 18]
Generated Node #0,2: 78:[77, 17, 18] Operation: 75-57=18
Exploring Operation: 77-57=20, Resulting Numbers: [17, 75, 20]
Generated Node #0,3: 78:[17, 75, 20] Operation: 77-57=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[77, 75, 40], Operations: ['57-17=40']
Exploring Operation: 75-40=35, Resulting Numbers: [77, 35]
Generated Node #0,0,0: 78:[77, 35] Operation: 75-40=35
Exploring Operation: 77-40=37, Resulting Numbers: [75, 37]
Generated Node #0,0,1: 78:[75, 37] Operation: 77-40=37
Exploring Operation: 77-75=2, Resulting Numbers: [40, 2]
Generated Node #0,0,2: 78:[40, 2] Operation: 77-75=2
Exploring Operation: 75+40=115, Resulting Numbers: [77, 115]
Generated Node #0,0,3: 78:[77, 115] Operation: 75+40=115
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 78:[40, 2], Operations: ['57-17=40', '77-75=2']
Exploring Operation: 40*2=80, Resulting Numbers: [80]
80,78 unequal: No Solution
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,78 unequal: No Solution
Exploring Operation: 40+2=42, Resulting Numbers: [42]
42,78 unequal: No Solution
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,78 unequal: No Solution
No 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: 78:[77, 35], Operations: ['57-17=40', '75-40=35']
Exploring Operation: 77*35=2695, Resulting Numbers: [2695]
2695,78 unequal: No Solution
Exploring Operation: 77-35=42, Resulting Numbers: [42]
42,78 unequal: No Solution
Exploring Operation: 77+35=112, Resulting Numbers: [112]
112,78 unequal: No Solution
No 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: 78:[75, 37], Operations: ['57-17=40', '77-40=37']
Exploring Operation: 75*37=2775, Resulting Numbers: [2775]
2775,78 unequal: No Solution
Exploring Operation: 75-37=38, Resulting Numbers: [38]
38,78 unequal: No Solution
Exploring Operation: 75+37=112, Resulting Numbers: [112]
112,78 unequal: No Solution
No 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: 78:[77, 115], Operations: ['57-17=40', '75+40=115']
Exploring Operation: 77*115=8855, Resulting Numbers: [8855]
8855,78 unequal: No Solution
Exploring Operation: 77+115=192, Resulting Numbers: [192]
192,78 unequal: No Solution
Exploring Operation: 115-77=38, Resulting Numbers: [38]
38,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 78:[77, 75, 74], Operations: ['17+57=74']
Exploring Operation: 75-74=1, Resulting Numbers: [77, 1]
Generated Node #0,1,0: 78:[77, 1] Operation: 75-74=1
Exploring Operation: 77-75=2, Resulting Numbers: [74, 2]
Generated Node #0,1,1: 78:[74, 2] Operation: 77-75=2
Exploring Operation: 77-74=3, Resulting Numbers: [75, 3]
Generated Node #0,1,2: 78:[75, 3] Operation: 77-74=3
Exploring Operation: 75+74=149, Resulting Numbers: [77, 149]
Generated Node #0,1,3: 78:[77, 149] Operation: 75+74=149
Moving to Node #0,1,0
Current State: 78:[77, 1], Operations: ['17+57=74', '75-74=1']
Exploring Operation: 77*1=77, Resulting Numbers: [77]
77,78 unequal: No Solution
Exploring Operation: 77/1=77, Resulting Numbers: [77]
77,78 unequal: No Solution
Exploring Operation: 77-1=76, Resulting Numbers: [76]
76,78 unequal: No Solution
Exploring Operation: 77+1=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[77, 17, 57, 75], Operations: []
Exploring Operation: 17+57=74, Resulting Numbers: [77, 75, 74]
Generated Node #0,1: 78:[77, 75, 74] Operation: 17+57=74
Moving to Node #0,1
Current State: 78:[77, 75, 74], Operations: ['17+57=74']
Exploring Operation: 75-74=1, Resulting Numbers: [77, 1]
Generated Node #0,1,0: 78:[77, 1] Operation: 75-74=1
Moving to Node #0,1,0
Current State: 78:[77, 1], Operations: ['17+57=74', '75-74=1']
Exploring Operation: 77+1=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 1
| 0.971354 | hs_4 | mult_heuristic |
[
32,
22,
82,
75
] | 47 | [
"32+22=54",
"82-75=7",
"54-7=47"
] | Current State: 47:[32, 22, 82, 75], Operations: []
Exploring Operation: 32+22=54, Resulting Numbers: [82, 75, 54]
Generated Node #2: [82, 75, 54] from Operation: 32+22=54
Current State: 47:[82, 75, 54], Operations: ['32+22=54']
Exploring Operation: 82-75=7, Resulting Numbers: [54, 7]
Generated Node #3: [54, 7] from Operation: 82-75=7
Current State: 47:[54, 7], Operations: ['32+22=54', '82-75=7']
Exploring Operation: 54-7=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[32, 22, 82, 75], Operations: []
Exploring Operation: 75-22=53, Resulting Numbers: [32, 82, 53]
Generated Node #0,0: 47:[32, 82, 53] Operation: 75-22=53
Exploring Operation: 32+22=54, Resulting Numbers: [82, 75, 54]
Generated Node #0,1: 47:[82, 75, 54] Operation: 32+22=54
Exploring Operation: 82-32=50, Resulting Numbers: [22, 75, 50]
Generated Node #0,2: 47:[22, 75, 50] Operation: 82-32=50
Exploring Operation: 82-22=60, Resulting Numbers: [32, 75, 60]
Generated Node #0,3: 47:[32, 75, 60] Operation: 82-22=60
Exploring Operation: 75-32=43, Resulting Numbers: [22, 82, 43]
Generated Node #0,4: 47:[22, 82, 43] Operation: 75-32=43
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[32, 82, 53], Operations: ['75-22=53']
Exploring Operation: 32+82=114, Resulting Numbers: [53, 114]
Generated Node #0,0,0: 47:[53, 114] Operation: 32+82=114
Exploring Operation: 53-32=21, Resulting Numbers: [82, 21]
Generated Node #0,0,1: 47:[82, 21] Operation: 53-32=21
Exploring Operation: 82-53=29, Resulting Numbers: [32, 29]
Generated Node #0,0,2: 47:[32, 29] Operation: 82-53=29
Exploring Operation: 32+53=85, Resulting Numbers: [82, 85]
Generated Node #0,0,3: 47:[82, 85] Operation: 32+53=85
Exploring Operation: 82-32=50, Resulting Numbers: [53, 50]
Generated Node #0,0,4: 47:[53, 50] Operation: 82-32=50
Moving to Node #0,0,4
Current State: 47:[53, 50], Operations: ['75-22=53', '82-32=50']
Exploring Operation: 53*50=2650, Resulting Numbers: [2650]
2650,47 unequal: No Solution
Exploring Operation: 53-50=3, Resulting Numbers: [3]
3,47 unequal: No Solution
Exploring Operation: 53+50=103, Resulting Numbers: [103]
103,47 unequal: No Solution
Moving to Node #0,0,2
Current State: 47:[32, 29], Operations: ['75-22=53', '82-53=29']
Exploring Operation: 32-29=3, Resulting Numbers: [3]
3,47 unequal: No Solution
Exploring Operation: 32+29=61, Resulting Numbers: [61]
61,47 unequal: No Solution
Exploring Operation: 32*29=928, Resulting Numbers: [928]
928,47 unequal: No Solution
Moving to Node #0,0,1
Current State: 47:[82, 21], Operations: ['75-22=53', '53-32=21']
Exploring Operation: 82-21=61, Resulting Numbers: [61]
61,47 unequal: No Solution
Exploring Operation: 82+21=103, Resulting Numbers: [103]
103,47 unequal: No Solution
Exploring Operation: 82*21=1722, Resulting Numbers: [1722]
1722,47 unequal: No Solution
Moving to Node #0,0,0
Current State: 47:[53, 114], Operations: ['75-22=53', '32+82=114']
Exploring Operation: 53*114=6042, Resulting Numbers: [6042]
6042,47 unequal: No Solution
Exploring Operation: 53+114=167, Resulting Numbers: [167]
167,47 unequal: No Solution
Exploring Operation: 114-53=61, Resulting Numbers: [61]
61,47 unequal: No Solution
Moving to Node #0,0,3
Current State: 47:[82, 85], Operations: ['75-22=53', '32+53=85']
Exploring Operation: 85-82=3, Resulting Numbers: [3]
3,47 unequal: No Solution
Exploring Operation: 82*85=6970, Resulting Numbers: [6970]
6970,47 unequal: No Solution
Exploring Operation: 82+85=167, Resulting Numbers: [167]
167,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 47:[22, 75, 50], Operations: ['82-32=50']
Exploring Operation: 75-22=53, Resulting Numbers: [50, 53]
Generated Node #0,2,0: 47:[50, 53] Operation: 75-22=53
Exploring Operation: 75-50=25, Resulting Numbers: [22, 25]
Generated Node #0,2,1: 47:[22, 25] Operation: 75-50=25
Exploring Operation: 22+75=97, Resulting Numbers: [50, 97]
Generated Node #0,2,2: 47:[50, 97] Operation: 22+75=97
Exploring Operation: 22+50=72, Resulting Numbers: [75, 72]
Generated Node #0,2,3: 47:[75, 72] Operation: 22+50=72
Exploring Operation: 50-22=28, Resulting Numbers: [75, 28]
Generated Node #0,2,4: 47:[75, 28] Operation: 50-22=28
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 47:[50, 53], Operations: ['82-32=50', '75-22=53']
Exploring Operation: 53-50=3, Resulting Numbers: [3]
3,47 unequal: No Solution
Exploring Operation: 50+53=103, Resulting Numbers: [103]
103,47 unequal: No Solution
Exploring Operation: 50*53=2650, Resulting Numbers: [2650]
2650,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 47:[22, 25], Operations: ['82-32=50', '75-50=25']
Exploring Operation: 25-22=3, Resulting Numbers: [3]
3,47 unequal: No Solution
Exploring Operation: 22*25=550, Resulting Numbers: [550]
550,47 unequal: No Solution
Exploring Operation: 22+25=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[32, 22, 82, 75], Operations: []
Exploring Operation: 82-32=50, Resulting Numbers: [22, 75, 50]
Generated Node #0,2: 47:[22, 75, 50] Operation: 82-32=50
Moving to Node #0,2
Current State: 47:[22, 75, 50], Operations: ['82-32=50']
Exploring Operation: 75-50=25, Resulting Numbers: [22, 25]
Generated Node #0,2,1: 47:[22, 25] Operation: 75-50=25
Moving to Node #0,2,1
Current State: 47:[22, 25], Operations: ['82-32=50', '75-50=25']
Exploring Operation: 22+25=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.965278 | hs_5 | sum_heuristic |
[
11,
28,
21,
62
] | 24 | [
"28-11=17",
"62-21=41",
"41-17=24"
] | Current State: 24:[11, 28, 21, 62], Operations: []
Exploring Operation: 28-11=17, Resulting Numbers: [21, 62, 17]
Generated Node #2: [21, 62, 17] from Operation: 28-11=17
Current State: 24:[21, 62, 17], Operations: ['28-11=17']
Exploring Operation: 62-21=41, Resulting Numbers: [17, 41]
Generated Node #3: [17, 41] from Operation: 62-21=41
Current State: 24:[17, 41], Operations: ['28-11=17', '62-21=41']
Exploring Operation: 41-17=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[11, 28, 21, 62], Operations: []
Exploring Operation: 62-28=34, Resulting Numbers: [11, 21, 34]
Generated Node #0,0: 24:[11, 21, 34] Operation: 62-28=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 24:[11, 21, 34], Operations: ['62-28=34']
Exploring Operation: 34-21=13, Resulting Numbers: [11, 13]
Generated Node #0,0,0: 24:[11, 13] Operation: 34-21=13
Moving to Node #0,0,0
Current State: 24:[11, 13], Operations: ['62-28=34', '34-21=13']
Exploring Operation: 11+13=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[11, 28, 21, 62], Operations: []
Exploring Operation: 62-28=34, Resulting Numbers: [11, 21, 34]
Generated Node #0,0: 24:[11, 21, 34] Operation: 62-28=34
Moving to Node #0,0
Current State: 24:[11, 21, 34], Operations: ['62-28=34']
Exploring Operation: 34-21=13, Resulting Numbers: [11, 13]
Generated Node #0,0,0: 24:[11, 13] Operation: 34-21=13
Moving to Node #0,0,0
Current State: 24:[11, 13], Operations: ['62-28=34', '34-21=13']
Exploring Operation: 11+13=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
12,
47,
40,
18
] | 13 | [
"47-12=35",
"40-18=22",
"35-22=13"
] | Current State: 13:[12, 47, 40, 18], Operations: []
Exploring Operation: 47-12=35, Resulting Numbers: [40, 18, 35]
Generated Node #2: [40, 18, 35] from Operation: 47-12=35
Current State: 13:[40, 18, 35], Operations: ['47-12=35']
Exploring Operation: 40-18=22, Resulting Numbers: [35, 22]
Generated Node #3: [35, 22] from Operation: 40-18=22
Current State: 13:[35, 22], Operations: ['47-12=35', '40-18=22']
Exploring Operation: 35-22=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[12, 47, 40, 18], Operations: []
Exploring Operation: 47-40=7, Resulting Numbers: [12, 18, 7]
Generated Node #0,0: 13:[12, 18, 7] Operation: 47-40=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[12, 18, 7], Operations: ['47-40=7']
Exploring Operation: 18-7=11, Resulting Numbers: [12, 11]
Generated Node #0,0,0: 13:[12, 11] Operation: 18-7=11
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 13:[12, 11], Operations: ['47-40=7', '18-7=11']
Exploring Operation: 12+11=23, Resulting Numbers: [23]
23,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
17,
32,
14,
79
] | 11 | [
"17+79=96",
"96/32=3",
"14-3=11"
] | Current State: 11:[17, 32, 14, 79], Operations: []
Exploring Operation: 17+79=96, Resulting Numbers: [32, 14, 96]
Generated Node #2: [32, 14, 96] from Operation: 17+79=96
Current State: 11:[32, 14, 96], Operations: ['17+79=96']
Exploring Operation: 96/32=3, Resulting Numbers: [14, 3]
Generated Node #3: [14, 3] from Operation: 96/32=3
Current State: 11:[14, 3], Operations: ['17+79=96', '96/32=3']
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[17, 32, 14, 79], Operations: []
Exploring Operation: 79-17=62, Resulting Numbers: [32, 14, 62]
Generated Node #0,0: 11:[32, 14, 62] Operation: 79-17=62
Exploring Operation: 32-17=15, Resulting Numbers: [14, 79, 15]
Generated Node #0,1: 11:[14, 79, 15] Operation: 32-17=15
Exploring Operation: 79-32=47, Resulting Numbers: [17, 14, 47]
Generated Node #0,2: 11:[17, 14, 47] Operation: 79-32=47
Start Sub Search at level 1: Moving to Node #0,2
Current State: 11:[17, 14, 47], Operations: ['79-32=47']
Exploring Operation: 47-14=33, Resulting Numbers: [17, 33]
Generated Node #0,2,0: 11:[17, 33] Operation: 47-14=33
Exploring Operation: 17-14=3, Resulting Numbers: [47, 3]
Generated Node #0,2,1: 11:[47, 3] Operation: 17-14=3
Exploring Operation: 47-17=30, Resulting Numbers: [14, 30]
Generated Node #0,2,2: 11:[14, 30] Operation: 47-17=30
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 11:[14, 30], Operations: ['79-32=47', '47-17=30']
Exploring Operation: 30-14=16, Resulting Numbers: [16]
16,11 unequal: No Solution
Exploring Operation: 14+30=44, Resulting Numbers: [44]
44,11 unequal: No Solution
Exploring Operation: 14*30=420, Resulting Numbers: [420]
420,11 unequal: No Solution
No 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: 11:[17, 33], Operations: ['79-32=47', '47-14=33']
Exploring Operation: 17+33=50, Resulting Numbers: [50]
50,11 unequal: No Solution
Exploring Operation: 17*33=561, Resulting Numbers: [561]
561,11 unequal: No Solution
Exploring Operation: 33-17=16, Resulting Numbers: [16]
16,11 unequal: No Solution
No 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: 11:[47, 3], Operations: ['79-32=47', '17-14=3']
Exploring Operation: 47-3=44, Resulting Numbers: [44]
44,11 unequal: No Solution
Exploring Operation: 47+3=50, Resulting Numbers: [50]
50,11 unequal: No Solution
Exploring Operation: 47*3=141, Resulting Numbers: [141]
141,11 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: 11:[32, 14, 62], Operations: ['79-17=62']
Exploring Operation: 32-14=18, Resulting Numbers: [62, 18]
Generated Node #0,0,0: 11:[62, 18] Operation: 32-14=18
Exploring Operation: 62-32=30, Resulting Numbers: [14, 30]
Generated Node #0,0,1: 11:[14, 30] Operation: 62-32=30
Exploring Operation: 62-14=48, Resulting Numbers: [32, 48]
Generated Node #0,0,2: 11:[32, 48] Operation: 62-14=48
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 11:[14, 30], Operations: ['79-17=62', '62-32=30']
Exploring Operation: 14*30=420, Resulting Numbers: [420]
420,11 unequal: No Solution
Exploring Operation: 14+30=44, Resulting Numbers: [44]
44,11 unequal: No Solution
Exploring Operation: 30-14=16, Resulting Numbers: [16]
16,11 unequal: No Solution
No 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: 11:[62, 18], Operations: ['79-17=62', '32-14=18']
Exploring Operation: 62*18=1116, Resulting Numbers: [1116]
1116,11 unequal: No Solution
Exploring Operation: 62-18=44, Resulting Numbers: [44]
44,11 unequal: No Solution
Exploring Operation: 62+18=80, Resulting Numbers: [80]
80,11 unequal: No Solution
No 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: 11:[32, 48], Operations: ['79-17=62', '62-14=48']
Exploring Operation: 32*48=1536, Resulting Numbers: [1536]
1536,11 unequal: No Solution
Exploring Operation: 32+48=80, Resulting Numbers: [80]
80,11 unequal: No Solution
Exploring Operation: 48-32=16, Resulting Numbers: [16]
16,11 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: 11:[14, 79, 15], Operations: ['32-17=15']
Exploring Operation: 79-14=65, Resulting Numbers: [15, 65]
Generated Node #0,1,0: 11:[15, 65] Operation: 79-14=65
Exploring Operation: 15-14=1, Resulting Numbers: [79, 1]
Generated Node #0,1,1: 11:[79, 1] Operation: 15-14=1
Exploring Operation: 79-15=64, Resulting Numbers: [14, 64]
Generated Node #0,1,2: 11:[14, 64] Operation: 79-15=64
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 11:[14, 64], Operations: ['32-17=15', '79-15=64']
Exploring Operation: 64-14=50, Resulting Numbers: [50]
50,11 unequal: No Solution
Exploring Operation: 14+64=78, Resulting Numbers: [78]
78,11 unequal: No Solution
Exploring Operation: 14*64=896, Resulting Numbers: [896]
896,11 unequal: No Solution
No 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: 11:[15, 65], Operations: ['32-17=15', '79-14=65']
Exploring Operation: 65-15=50, Resulting Numbers: [50]
50,11 unequal: No Solution
Exploring Operation: 15*65=975, Resulting Numbers: [975]
975,11 unequal: No Solution
Exploring Operation: 15+65=80, Resulting Numbers: [80]
80,11 unequal: No Solution
No 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: 11:[79, 1], Operations: ['32-17=15', '15-14=1']
Exploring Operation: 79*1=79, Resulting Numbers: [79]
79,11 unequal: No Solution
Exploring Operation: 79/1=79, Resulting Numbers: [79]
79,11 unequal: No Solution
Exploring Operation: 79-1=78, Resulting Numbers: [78]
78,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
78,
41,
96,
9
] | 43 | [
"96-78=18",
"18/9=2",
"41+2=43"
] | Current State: 43:[78, 41, 96, 9], Operations: []
Exploring Operation: 96-78=18, Resulting Numbers: [41, 9, 18]
Generated Node #2: [41, 9, 18] from Operation: 96-78=18
Current State: 43:[41, 9, 18], Operations: ['96-78=18']
Exploring Operation: 18/9=2, Resulting Numbers: [41, 2]
Generated Node #3: [41, 2] from Operation: 18/9=2
Current State: 43:[41, 2], Operations: ['96-78=18', '18/9=2']
Exploring Operation: 41+2=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[78, 41, 96, 9], Operations: []
Exploring Operation: 78-9=69, Resulting Numbers: [41, 96, 69]
Generated Node #0,0: 43:[41, 96, 69] Operation: 78-9=69
Exploring Operation: 96-41=55, Resulting Numbers: [78, 9, 55]
Generated Node #0,1: 43:[78, 9, 55] Operation: 96-41=55
Exploring Operation: 96-78=18, Resulting Numbers: [41, 9, 18]
Generated Node #0,2: 43:[41, 9, 18] Operation: 96-78=18
Start Sub Search at level 1: Moving to Node #0,2
Current State: 43:[41, 9, 18], Operations: ['96-78=18']
Exploring Operation: 41-9=32, Resulting Numbers: [18, 32]
Generated Node #0,2,0: 43:[18, 32] Operation: 41-9=32
Exploring Operation: 41+9=50, Resulting Numbers: [18, 50]
Generated Node #0,2,1: 43:[18, 50] Operation: 41+9=50
Exploring Operation: 9+18=27, Resulting Numbers: [41, 27]
Generated Node #0,2,2: 43:[41, 27] Operation: 9+18=27
Moving to Node #0,2,2
Current State: 43:[41, 27], Operations: ['96-78=18', '9+18=27']
Exploring Operation: 41+27=68, Resulting Numbers: [68]
68,43 unequal: No Solution
Exploring Operation: 41*27=1107, Resulting Numbers: [1107]
1107,43 unequal: No Solution
Exploring Operation: 41-27=14, Resulting Numbers: [14]
14,43 unequal: No Solution
Moving to Node #0,2,1
Current State: 43:[18, 50], Operations: ['96-78=18', '41+9=50']
Exploring Operation: 50-18=32, Resulting Numbers: [32]
32,43 unequal: No Solution
Exploring Operation: 18*50=900, Resulting Numbers: [900]
900,43 unequal: No Solution
Exploring Operation: 18+50=68, Resulting Numbers: [68]
68,43 unequal: No Solution
Moving to Node #0,2,0
Current State: 43:[18, 32], Operations: ['96-78=18', '41-9=32']
Exploring Operation: 18+32=50, Resulting Numbers: [50]
50,43 unequal: No Solution
Exploring Operation: 18*32=576, Resulting Numbers: [576]
576,43 unequal: No Solution
Exploring Operation: 32-18=14, Resulting Numbers: [14]
14,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[41, 96, 69], Operations: ['78-9=69']
Exploring Operation: 96-69=27, Resulting Numbers: [41, 27]
Generated Node #0,0,0: 43:[41, 27] Operation: 96-69=27
Exploring Operation: 69-41=28, Resulting Numbers: [96, 28]
Generated Node #0,0,1: 43:[96, 28] Operation: 69-41=28
Exploring Operation: 96-41=55, Resulting Numbers: [69, 55]
Generated Node #0,0,2: 43:[69, 55] Operation: 96-41=55
Moving to Node #0,0,0
Current State: 43:[41, 27], Operations: ['78-9=69', '96-69=27']
Exploring Operation: 41-27=14, Resulting Numbers: [14]
14,43 unequal: No Solution
Exploring Operation: 41*27=1107, Resulting Numbers: [1107]
1107,43 unequal: No Solution
Exploring Operation: 41+27=68, Resulting Numbers: [68]
68,43 unequal: No Solution
Moving to Node #0,0,2
Current State: 43:[69, 55], Operations: ['78-9=69', '96-41=55']
Exploring Operation: 69*55=3795, Resulting Numbers: [3795]
3795,43 unequal: No Solution
Exploring Operation: 69-55=14, Resulting Numbers: [14]
14,43 unequal: No Solution
Exploring Operation: 69+55=124, Resulting Numbers: [124]
124,43 unequal: No Solution
Moving to Node #0,0,1
Current State: 43:[96, 28], Operations: ['78-9=69', '69-41=28']
Exploring Operation: 96+28=124, Resulting Numbers: [124]
124,43 unequal: No Solution
Exploring Operation: 96*28=2688, Resulting Numbers: [2688]
2688,43 unequal: No Solution
Exploring Operation: 96-28=68, Resulting Numbers: [68]
68,43 unequal: No Solution
No 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: 43:[78, 9, 55], Operations: ['96-41=55']
Exploring Operation: 78-9=69, Resulting Numbers: [55, 69]
Generated Node #0,1,0: 43:[55, 69] Operation: 78-9=69
Exploring Operation: 55-9=46, Resulting Numbers: [78, 46]
Generated Node #0,1,1: 43:[78, 46] Operation: 55-9=46
Exploring Operation: 78-55=23, Resulting Numbers: [9, 23]
Generated Node #0,1,2: 43:[9, 23] Operation: 78-55=23
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 43:[55, 69], Operations: ['96-41=55', '78-9=69']
Exploring Operation: 55+69=124, Resulting Numbers: [124]
124,43 unequal: No Solution
Exploring Operation: 55*69=3795, Resulting Numbers: [3795]
3795,43 unequal: No Solution
Exploring Operation: 69-55=14, Resulting Numbers: [14]
14,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 43:[78, 46], Operations: ['96-41=55', '55-9=46']
Exploring Operation: 78-46=32, Resulting Numbers: [32]
32,43 unequal: No Solution
Exploring Operation: 78+46=124, Resulting Numbers: [124]
124,43 unequal: No Solution
Exploring Operation: 78*46=3588, Resulting Numbers: [3588]
3588,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 43:[9, 23], Operations: ['96-41=55', '78-55=23']
Exploring Operation: 23-9=14, Resulting Numbers: [14]
14,43 unequal: No Solution
Exploring Operation: 9+23=32, Resulting Numbers: [32]
32,43 unequal: No Solution
Exploring Operation: 9*23=207, Resulting Numbers: [207]
207,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
41,
28,
74,
56
] | 31 | [
"41-28=13",
"74-56=18",
"13+18=31"
] | Current State: 31:[41, 28, 74, 56], Operations: []
Exploring Operation: 41-28=13, Resulting Numbers: [74, 56, 13]
Generated Node #2: [74, 56, 13] from Operation: 41-28=13
Current State: 31:[74, 56, 13], Operations: ['41-28=13']
Exploring Operation: 74-56=18, Resulting Numbers: [13, 18]
Generated Node #3: [13, 18] from Operation: 74-56=18
Current State: 31:[13, 18], Operations: ['41-28=13', '74-56=18']
Exploring Operation: 13+18=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[41, 28, 74, 56], Operations: []
Exploring Operation: 74-41=33, Resulting Numbers: [28, 56, 33]
Generated Node #0,0: 31:[28, 56, 33] Operation: 74-41=33
Exploring Operation: 74-56=18, Resulting Numbers: [41, 28, 18]
Generated Node #0,1: 31:[41, 28, 18] Operation: 74-56=18
Moving to Node #0,1
Current State: 31:[41, 28, 18], Operations: ['74-56=18']
Exploring Operation: 41-18=23, Resulting Numbers: [28, 23]
Generated Node #0,1,0: 31:[28, 23] Operation: 41-18=23
Exploring Operation: 28+18=46, Resulting Numbers: [41, 46]
Generated Node #0,1,1: 31:[41, 46] Operation: 28+18=46
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 31:[28, 23], Operations: ['74-56=18', '41-18=23']
Exploring Operation: 28-23=5, Resulting Numbers: [5]
5,31 unequal: No Solution
Exploring Operation: 28+23=51, Resulting Numbers: [51]
51,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 31:[41, 46], Operations: ['74-56=18', '28+18=46']
Exploring Operation: 41+46=87, Resulting Numbers: [87]
87,31 unequal: No Solution
Exploring Operation: 46-41=5, Resulting Numbers: [5]
5,31 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: 31:[28, 56, 33], Operations: ['74-41=33']
Exploring Operation: 56-33=23, Resulting Numbers: [28, 23]
Generated Node #0,0,0: 31:[28, 23] Operation: 56-33=23
Exploring Operation: 56-28=28, Resulting Numbers: [33, 28]
Generated Node #0,0,1: 31:[33, 28] Operation: 56-28=28
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 31:[33, 28], Operations: ['74-41=33', '56-28=28']
Exploring Operation: 33-28=5, Resulting Numbers: [5]
5,31 unequal: No Solution
Exploring Operation: 33+28=61, Resulting Numbers: [61]
61,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 31:[28, 23], Operations: ['74-41=33', '56-33=23']
Exploring Operation: 28-23=5, Resulting Numbers: [5]
5,31 unequal: No Solution
Exploring Operation: 28+23=51, Resulting Numbers: [51]
51,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
2,
18,
8,
74
] | 76 | [
"18-2=16",
"16/8=2",
"74+2=76"
] | Current State: 76:[2, 18, 8, 74], Operations: []
Exploring Operation: 18-2=16, Resulting Numbers: [8, 74, 16]
Generated Node #2: [8, 74, 16] from Operation: 18-2=16
Current State: 76:[8, 74, 16], Operations: ['18-2=16']
Exploring Operation: 16/8=2, Resulting Numbers: [74, 2]
Generated Node #3: [74, 2] from Operation: 16/8=2
Current State: 76:[74, 2], Operations: ['18-2=16', '16/8=2']
Exploring Operation: 74+2=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[2, 18, 8, 74], Operations: []
Exploring Operation: 74/2=37, Resulting Numbers: [18, 8, 37]
Generated Node #0,0: 76:[18, 8, 37] Operation: 74/2=37
Exploring Operation: 8-2=6, Resulting Numbers: [18, 74, 6]
Generated Node #0,1: 76:[18, 74, 6] Operation: 8-2=6
Exploring Operation: 2*8=16, Resulting Numbers: [18, 74, 16]
Generated Node #0,2: 76:[18, 74, 16] Operation: 2*8=16
Exploring Operation: 2+74=76, Resulting Numbers: [18, 8, 76]
Generated Node #0,3: 76:[18, 8, 76] Operation: 2+74=76
Exploring Operation: 8/2=4, Resulting Numbers: [18, 74, 4]
Generated Node #0,4: 76:[18, 74, 4] Operation: 8/2=4
Moving to Node #0,4
Current State: 76:[18, 74, 4], Operations: ['8/2=4']
Exploring Operation: 74+4=78, Resulting Numbers: [18, 78]
Generated Node #0,4,0: 76:[18, 78] Operation: 74+4=78
Exploring Operation: 74-4=70, Resulting Numbers: [18, 70]
Generated Node #0,4,1: 76:[18, 70] Operation: 74-4=70
Exploring Operation: 18+4=22, Resulting Numbers: [74, 22]
Generated Node #0,4,2: 76:[74, 22] Operation: 18+4=22
Exploring Operation: 18*4=72, Resulting Numbers: [74, 72]
Generated Node #0,4,3: 76:[74, 72] Operation: 18*4=72
Exploring Operation: 18-4=14, Resulting Numbers: [74, 14]
Generated Node #0,4,4: 76:[74, 14] Operation: 18-4=14
Moving to Node #0,3
Current State: 76:[18, 8, 76], Operations: ['2+74=76']
Exploring Operation: 8+76=84, Resulting Numbers: [18, 84]
Generated Node #0,3,0: 76:[18, 84] Operation: 8+76=84
Exploring Operation: 18+8=26, Resulting Numbers: [76, 26]
Generated Node #0,3,1: 76:[76, 26] Operation: 18+8=26
Exploring Operation: 76-8=68, Resulting Numbers: [18, 68]
Generated Node #0,3,2: 76:[18, 68] Operation: 76-8=68
Exploring Operation: 18+76=94, Resulting Numbers: [8, 94]
Generated Node #0,3,3: 76:[8, 94] Operation: 18+76=94
Exploring Operation: 18-8=10, Resulting Numbers: [76, 10]
Generated Node #0,3,4: 76:[76, 10] Operation: 18-8=10
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 76:[76, 10], Operations: ['2+74=76', '18-8=10']
Exploring Operation: 76*10=760, Resulting Numbers: [760]
760,76 unequal: No Solution
Exploring Operation: 76-10=66, Resulting Numbers: [66]
66,76 unequal: No Solution
Exploring Operation: 76+10=86, Resulting Numbers: [86]
86,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:[76, 26], Operations: ['2+74=76', '18+8=26']
Exploring Operation: 76*26=1976, Resulting Numbers: [1976]
1976,76 unequal: No Solution
Exploring Operation: 76+26=102, Resulting Numbers: [102]
102,76 unequal: No Solution
Exploring Operation: 76-26=50, Resulting Numbers: [50]
50,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 76:[18, 84], Operations: ['2+74=76', '8+76=84']
Exploring Operation: 18*84=1512, Resulting Numbers: [1512]
1512,76 unequal: No Solution
Exploring Operation: 84-18=66, Resulting Numbers: [66]
66,76 unequal: No Solution
Exploring Operation: 18+84=102, Resulting Numbers: [102]
102,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:[18, 68], Operations: ['2+74=76', '76-8=68']
Exploring Operation: 18+68=86, Resulting Numbers: [86]
86,76 unequal: No Solution
Exploring Operation: 68-18=50, Resulting Numbers: [50]
50,76 unequal: No Solution
Exploring Operation: 18*68=1224, Resulting Numbers: [1224]
1224,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:[8, 94], Operations: ['2+74=76', '18+76=94']
Exploring Operation: 8*94=752, Resulting Numbers: [752]
752,76 unequal: No Solution
Exploring Operation: 8+94=102, Resulting Numbers: [102]
102,76 unequal: No Solution
Exploring Operation: 94-8=86, Resulting Numbers: [86]
86,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:[18, 74, 6], Operations: ['8-2=6']
Exploring Operation: 74+6=80, Resulting Numbers: [18, 80]
Generated Node #0,1,0: 76:[18, 80] Operation: 74+6=80
Exploring Operation: 74-6=68, Resulting Numbers: [18, 68]
Generated Node #0,1,1: 76:[18, 68] Operation: 74-6=68
Exploring Operation: 18/6=3, Resulting Numbers: [74, 3]
Generated Node #0,1,2: 76:[74, 3] Operation: 18/6=3
Exploring Operation: 18-6=12, Resulting Numbers: [74, 12]
Generated Node #0,1,3: 76:[74, 12] Operation: 18-6=12
Exploring Operation: 18+6=24, Resulting Numbers: [74, 24]
Generated Node #0,1,4: 76:[74, 24] Operation: 18+6=24
Moving to Node #0,0
Current State: 76:[18, 8, 37], Operations: ['74/2=37']
Exploring Operation: 37-8=29, Resulting Numbers: [18, 29]
Generated Node #0,0,0: 76:[18, 29] Operation: 37-8=29
Exploring Operation: 8+37=45, Resulting Numbers: [18, 45]
Generated Node #0,0,1: 76:[18, 45] Operation: 8+37=45
Exploring Operation: 37-18=19, Resulting Numbers: [8, 19]
Generated Node #0,0,2: 76:[8, 19] Operation: 37-18=19
Exploring Operation: 18+8=26, Resulting Numbers: [37, 26]
Generated Node #0,0,3: 76:[37, 26] Operation: 18+8=26
Exploring Operation: 18-8=10, Resulting Numbers: [37, 10]
Generated Node #0,0,4: 76:[37, 10] Operation: 18-8=10
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 76:[8, 19], Operations: ['74/2=37', '37-18=19']
Exploring Operation: 8*19=152, Resulting Numbers: [152]
152,76 unequal: No Solution
Exploring Operation: 8+19=27, Resulting Numbers: [27]
27,76 unequal: No Solution
Exploring Operation: 19-8=11, Resulting Numbers: [11]
11,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:[37, 10], Operations: ['74/2=37', '18-8=10']
Exploring Operation: 37+10=47, Resulting Numbers: [47]
47,76 unequal: No Solution
Exploring Operation: 37-10=27, Resulting Numbers: [27]
27,76 unequal: No Solution
Exploring Operation: 37*10=370, Resulting Numbers: [370]
370,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:[18, 45], Operations: ['74/2=37', '8+37=45']
Exploring Operation: 45-18=27, Resulting Numbers: [27]
27,76 unequal: No Solution
Exploring Operation: 18+45=63, Resulting Numbers: [63]
63,76 unequal: No Solution
Exploring Operation: 18*45=810, Resulting Numbers: [810]
810,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:[37, 26], Operations: ['74/2=37', '18+8=26']
Exploring Operation: 37+26=63, Resulting Numbers: [63]
63,76 unequal: No Solution
Exploring Operation: 37*26=962, Resulting Numbers: [962]
962,76 unequal: No Solution
Exploring Operation: 37-26=11, Resulting Numbers: [11]
11,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:[18, 29], Operations: ['74/2=37', '37-8=29']
Exploring Operation: 18+29=47, Resulting Numbers: [47]
47,76 unequal: No Solution
Exploring Operation: 18*29=522, Resulting Numbers: [522]
522,76 unequal: No Solution
Exploring Operation: 29-18=11, Resulting Numbers: [11]
11,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:[18, 74, 16], Operations: ['2*8=16']
Exploring Operation: 18+16=34, Resulting Numbers: [74, 34]
Generated Node #0,2,0: 76:[74, 34] Operation: 18+16=34
Exploring Operation: 74+16=90, Resulting Numbers: [18, 90]
Generated Node #0,2,1: 76:[18, 90] Operation: 74+16=90
Exploring Operation: 74-16=58, Resulting Numbers: [18, 58]
Generated Node #0,2,2: 76:[18, 58] Operation: 74-16=58
Exploring Operation: 18-16=2, Resulting Numbers: [74, 2]
Generated Node #0,2,3: 76:[74, 2] Operation: 18-16=2
Exploring Operation: 18+74=92, Resulting Numbers: [16, 92]
Generated Node #0,2,4: 76:[16, 92] Operation: 18+74=92
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 76:[74, 2], Operations: ['2*8=16', '18-16=2']
Exploring Operation: 74+2=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[2, 18, 8, 74], Operations: []
Exploring Operation: 2*8=16, Resulting Numbers: [18, 74, 16]
Generated Node #0,2: 76:[18, 74, 16] Operation: 2*8=16
Moving to Node #0,2
Current State: 76:[18, 74, 16], Operations: ['2*8=16']
Exploring Operation: 18-16=2, Resulting Numbers: [74, 2]
Generated Node #0,2,3: 76:[74, 2] Operation: 18-16=2
Moving to Node #0,2,3
Current State: 76:[74, 2], Operations: ['2*8=16', '18-16=2']
Exploring Operation: 74+2=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 1
| 0.943576 | hs_5 | mult_heuristic |
[
64,
35,
9,
19
] | 90 | [
"64-35=29",
"29-19=10",
"9*10=90"
] | Current State: 90:[64, 35, 9, 19], Operations: []
Exploring Operation: 64-35=29, Resulting Numbers: [9, 19, 29]
Generated Node #2: [9, 19, 29] from Operation: 64-35=29
Current State: 90:[9, 19, 29], Operations: ['64-35=29']
Exploring Operation: 29-19=10, Resulting Numbers: [9, 10]
Generated Node #3: [9, 10] from Operation: 29-19=10
Current State: 90:[9, 10], Operations: ['64-35=29', '29-19=10']
Exploring Operation: 9*10=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[64, 35, 9, 19], Operations: []
Exploring Operation: 64+35=99, Resulting Numbers: [9, 19, 99]
Generated Node #0,0: 90:[9, 19, 99] Operation: 64+35=99
Exploring Operation: 64-35=29, Resulting Numbers: [9, 19, 29]
Generated Node #0,1: 90:[9, 19, 29] Operation: 64-35=29
Exploring Operation: 64-19=45, Resulting Numbers: [35, 9, 45]
Generated Node #0,2: 90:[35, 9, 45] Operation: 64-19=45
Exploring Operation: 64+19=83, Resulting Numbers: [35, 9, 83]
Generated Node #0,3: 90:[35, 9, 83] Operation: 64+19=83
Moving to Node #0,1
Current State: 90:[9, 19, 29], Operations: ['64-35=29']
Exploring Operation: 29-9=20, Resulting Numbers: [19, 20]
Generated Node #0,1,0: 90:[19, 20] Operation: 29-9=20
Exploring Operation: 19-9=10, Resulting Numbers: [29, 10]
Generated Node #0,1,1: 90:[29, 10] Operation: 19-9=10
Exploring Operation: 9+19=28, Resulting Numbers: [29, 28]
Generated Node #0,1,2: 90:[29, 28] Operation: 9+19=28
Exploring Operation: 29-19=10, Resulting Numbers: [9, 10]
Generated Node #0,1,3: 90:[9, 10] Operation: 29-19=10
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 90:[9, 10], Operations: ['64-35=29', '29-19=10']
Exploring Operation: 9*10=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[64, 35, 9, 19], Operations: []
Exploring Operation: 64-35=29, Resulting Numbers: [9, 19, 29]
Generated Node #0,1: 90:[9, 19, 29] Operation: 64-35=29
Moving to Node #0,1
Current State: 90:[9, 19, 29], Operations: ['64-35=29']
Exploring Operation: 29-19=10, Resulting Numbers: [9, 10]
Generated Node #0,1,3: 90:[9, 10] Operation: 29-19=10
Moving to Node #0,1,3
Current State: 90:[9, 10], Operations: ['64-35=29', '29-19=10']
Exploring Operation: 9*10=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
80,
84,
8,
26
] | 100 | [
"80/8=10",
"84+26=110",
"110-10=100"
] | Current State: 100:[80, 84, 8, 26], Operations: []
Exploring Operation: 80/8=10, Resulting Numbers: [84, 26, 10]
Generated Node #2: [84, 26, 10] from Operation: 80/8=10
Current State: 100:[84, 26, 10], Operations: ['80/8=10']
Exploring Operation: 84+26=110, Resulting Numbers: [10, 110]
Generated Node #3: [10, 110] from Operation: 84+26=110
Current State: 100:[10, 110], Operations: ['80/8=10', '84+26=110']
Exploring Operation: 110-10=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[80, 84, 8, 26], Operations: []
Exploring Operation: 80+26=106, Resulting Numbers: [84, 8, 106]
Generated Node #0,0: 100:[84, 8, 106] Operation: 80+26=106
Exploring Operation: 80-26=54, Resulting Numbers: [84, 8, 54]
Generated Node #0,1: 100:[84, 8, 54] Operation: 80-26=54
Exploring Operation: 80/8=10, Resulting Numbers: [84, 26, 10]
Generated Node #0,2: 100:[84, 26, 10] Operation: 80/8=10
Exploring Operation: 80+8=88, Resulting Numbers: [84, 26, 88]
Generated Node #0,3: 100:[84, 26, 88] Operation: 80+8=88
Exploring Operation: 84-80=4, Resulting Numbers: [8, 26, 4]
Generated Node #0,4: 100:[8, 26, 4] Operation: 84-80=4
Moving to Node #0,4
Current State: 100:[8, 26, 4], Operations: ['84-80=4']
Exploring Operation: 8-4=4, Resulting Numbers: [26, 4]
Generated Node #0,4,0: 100:[26, 4] Operation: 8-4=4
Exploring Operation: 8/4=2, Resulting Numbers: [26, 2]
Generated Node #0,4,1: 100:[26, 2] Operation: 8/4=2
Exploring Operation: 8+4=12, Resulting Numbers: [26, 12]
Generated Node #0,4,2: 100:[26, 12] Operation: 8+4=12
Exploring Operation: 26-8=18, Resulting Numbers: [4, 18]
Generated Node #0,4,3: 100:[4, 18] Operation: 26-8=18
Exploring Operation: 26-4=22, Resulting Numbers: [8, 22]
Generated Node #0,4,4: 100:[8, 22] Operation: 26-4=22
Moving to Node #0,2
Current State: 100:[84, 26, 10], Operations: ['80/8=10']
Exploring Operation: 84-10=74, Resulting Numbers: [26, 74]
Generated Node #0,2,0: 100:[26, 74] Operation: 84-10=74
Exploring Operation: 84-26=58, Resulting Numbers: [10, 58]
Generated Node #0,2,1: 100:[10, 58] Operation: 84-26=58
Exploring Operation: 84+10=94, Resulting Numbers: [26, 94]
Generated Node #0,2,2: 100:[26, 94] Operation: 84+10=94
Exploring Operation: 84+26=110, Resulting Numbers: [10, 110]
Generated Node #0,2,3: 100:[10, 110] Operation: 84+26=110
Exploring Operation: 26-10=16, Resulting Numbers: [84, 16]
Generated Node #0,2,4: 100:[84, 16] Operation: 26-10=16
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 100:[26, 94], Operations: ['80/8=10', '84+10=94']
Exploring Operation: 26+94=120, Resulting Numbers: [120]
120,100 unequal: No Solution
Exploring Operation: 94-26=68, Resulting Numbers: [68]
68,100 unequal: No Solution
Exploring Operation: 26*94=2444, Resulting Numbers: [2444]
2444,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 100:[10, 58], Operations: ['80/8=10', '84-26=58']
Exploring Operation: 10*58=580, Resulting Numbers: [580]
580,100 unequal: No Solution
Exploring Operation: 10+58=68, Resulting Numbers: [68]
68,100 unequal: No Solution
Exploring Operation: 58-10=48, Resulting Numbers: [48]
48,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 100:[10, 110], Operations: ['80/8=10', '84+26=110']
Exploring Operation: 10+110=120, Resulting Numbers: [120]
120,100 unequal: No Solution
Exploring Operation: 110-10=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[80, 84, 8, 26], Operations: []
Exploring Operation: 80/8=10, Resulting Numbers: [84, 26, 10]
Generated Node #0,2: 100:[84, 26, 10] Operation: 80/8=10
Moving to Node #0,2
Current State: 100:[84, 26, 10], Operations: ['80/8=10']
Exploring Operation: 84+26=110, Resulting Numbers: [10, 110]
Generated Node #0,2,3: 100:[10, 110] Operation: 84+26=110
Moving to Node #0,2,3
Current State: 100:[10, 110], Operations: ['80/8=10', '84+26=110']
Exploring Operation: 110-10=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_5 | mult_heuristic |
[
57,
63,
22,
44
] | 25 | [
"63-44=19",
"57/19=3",
"22+3=25"
] | Current State: 25:[57, 63, 22, 44], Operations: []
Exploring Operation: 63-44=19, Resulting Numbers: [57, 22, 19]
Generated Node #2: [57, 22, 19] from Operation: 63-44=19
Current State: 25:[57, 22, 19], Operations: ['63-44=19']
Exploring Operation: 57/19=3, Resulting Numbers: [22, 3]
Generated Node #3: [22, 3] from Operation: 57/19=3
Current State: 25:[22, 3], Operations: ['63-44=19', '57/19=3']
Exploring Operation: 22+3=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[57, 63, 22, 44], Operations: []
Exploring Operation: 63-57=6, Resulting Numbers: [22, 44, 6]
Generated Node #0,0: 25:[22, 44, 6] Operation: 63-57=6
Exploring Operation: 63-44=19, Resulting Numbers: [57, 22, 19]
Generated Node #0,1: 25:[57, 22, 19] Operation: 63-44=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[22, 44, 6], Operations: ['63-57=6']
Exploring Operation: 44/22=2, Resulting Numbers: [6, 2]
Generated Node #0,0,0: 25:[6, 2] Operation: 44/22=2
Exploring Operation: 44-22=22, Resulting Numbers: [6, 22]
Generated Node #0,0,1: 25:[6, 22] Operation: 44-22=22
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 25:[6, 2], Operations: ['63-57=6', '44/22=2']
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,25 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,25 unequal: No Solution
No 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: 25:[6, 22], Operations: ['63-57=6', '44-22=22']
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,25 unequal: No Solution
Exploring Operation: 6+22=28, Resulting Numbers: [28]
28,25 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: 25:[57, 22, 19], Operations: ['63-44=19']
Exploring Operation: 57/19=3, Resulting Numbers: [22, 3]
Generated Node #0,1,0: 25:[22, 3] Operation: 57/19=3
Exploring Operation: 57-22=35, Resulting Numbers: [19, 35]
Generated Node #0,1,1: 25:[19, 35] Operation: 57-22=35
Moving to Node #0,1,0
Current State: 25:[22, 3], Operations: ['63-44=19', '57/19=3']
Exploring Operation: 22-3=19, Resulting Numbers: [19]
19,25 unequal: No Solution
Exploring Operation: 22+3=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[57, 63, 22, 44], Operations: []
Exploring Operation: 63-44=19, Resulting Numbers: [57, 22, 19]
Generated Node #0,1: 25:[57, 22, 19] Operation: 63-44=19
Moving to Node #0,1
Current State: 25:[57, 22, 19], Operations: ['63-44=19']
Exploring Operation: 57/19=3, Resulting Numbers: [22, 3]
Generated Node #0,1,0: 25:[22, 3] Operation: 57/19=3
Moving to Node #0,1,0
Current State: 25:[22, 3], Operations: ['63-44=19', '57/19=3']
Exploring Operation: 22+3=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_2 | sum_heuristic |
[
4,
59,
80,
50
] | 85 | [
"59-4=55",
"80-50=30",
"55+30=85"
] | Current State: 85:[4, 59, 80, 50], Operations: []
Exploring Operation: 59-4=55, Resulting Numbers: [80, 50, 55]
Generated Node #2: [80, 50, 55] from Operation: 59-4=55
Current State: 85:[80, 50, 55], Operations: ['59-4=55']
Exploring Operation: 80-50=30, Resulting Numbers: [55, 30]
Generated Node #3: [55, 30] from Operation: 80-50=30
Current State: 85:[55, 30], Operations: ['59-4=55', '80-50=30']
Exploring Operation: 55+30=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[4, 59, 80, 50], Operations: []
Exploring Operation: 59+50=109, Resulting Numbers: [4, 80, 109]
Generated Node #0,0: 85:[4, 80, 109] Operation: 59+50=109
Exploring Operation: 80-59=21, Resulting Numbers: [4, 50, 21]
Generated Node #0,1: 85:[4, 50, 21] Operation: 80-59=21
Exploring Operation: 4+59=63, Resulting Numbers: [80, 50, 63]
Generated Node #0,2: 85:[80, 50, 63] Operation: 4+59=63
Exploring Operation: 80-50=30, Resulting Numbers: [4, 59, 30]
Generated Node #0,3: 85:[4, 59, 30] Operation: 80-50=30
Exploring Operation: 59-50=9, Resulting Numbers: [4, 80, 9]
Generated Node #0,4: 85:[4, 80, 9] Operation: 59-50=9
Start Sub Search at level 1: Moving to Node #0,4
Current State: 85:[4, 80, 9], Operations: ['59-50=9']
Exploring Operation: 4+80=84, Resulting Numbers: [9, 84]
Generated Node #0,4,0: 85:[9, 84] Operation: 4+80=84
Exploring Operation: 80+9=89, Resulting Numbers: [4, 89]
Generated Node #0,4,1: 85:[4, 89] Operation: 80+9=89
Exploring Operation: 9-4=5, Resulting Numbers: [80, 5]
Generated Node #0,4,2: 85:[80, 5] Operation: 9-4=5
Exploring Operation: 4+9=13, Resulting Numbers: [80, 13]
Generated Node #0,4,3: 85:[80, 13] Operation: 4+9=13
Exploring Operation: 80/4=20, Resulting Numbers: [9, 20]
Generated Node #0,4,4: 85:[9, 20] Operation: 80/4=20
Moving to Node #0,4,0
Current State: 85:[9, 84], Operations: ['59-50=9', '4+80=84']
Exploring Operation: 9*84=756, Resulting Numbers: [756]
756,85 unequal: No Solution
Exploring Operation: 84-9=75, Resulting Numbers: [75]
75,85 unequal: No Solution
Exploring Operation: 9+84=93, Resulting Numbers: [93]
93,85 unequal: No Solution
Moving to Node #0,4,2
Current State: 85:[80, 5], Operations: ['59-50=9', '9-4=5']
Exploring Operation: 80*5=400, Resulting Numbers: [400]
400,85 unequal: No Solution
Exploring Operation: 80+5=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[4, 59, 80, 50], Operations: []
Exploring Operation: 59-50=9, Resulting Numbers: [4, 80, 9]
Generated Node #0,4: 85:[4, 80, 9] Operation: 59-50=9
Moving to Node #0,4
Current State: 85:[4, 80, 9], Operations: ['59-50=9']
Exploring Operation: 9-4=5, Resulting Numbers: [80, 5]
Generated Node #0,4,2: 85:[80, 5] Operation: 9-4=5
Moving to Node #0,4,2
Current State: 85:[80, 5], Operations: ['59-50=9', '9-4=5']
Exploring Operation: 80+5=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_5 | mult_heuristic |
[
76,
2,
14,
34
] | 73 | [
"76+14=90",
"34/2=17",
"90-17=73"
] | Current State: 73:[76, 2, 14, 34], Operations: []
Exploring Operation: 76+14=90, Resulting Numbers: [2, 34, 90]
Generated Node #2: [2, 34, 90] from Operation: 76+14=90
Current State: 73:[2, 34, 90], Operations: ['76+14=90']
Exploring Operation: 34/2=17, Resulting Numbers: [90, 17]
Generated Node #3: [90, 17] from Operation: 34/2=17
Current State: 73:[90, 17], Operations: ['76+14=90', '34/2=17']
Exploring Operation: 90-17=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[76, 2, 14, 34], Operations: []
Exploring Operation: 76-2=74, Resulting Numbers: [14, 34, 74]
Generated Node #0,0: 73:[14, 34, 74] Operation: 76-2=74
Exploring Operation: 2*14=28, Resulting Numbers: [76, 34, 28]
Generated Node #0,1: 73:[76, 34, 28] Operation: 2*14=28
Exploring Operation: 2*34=68, Resulting Numbers: [76, 14, 68]
Generated Node #0,2: 73:[76, 14, 68] Operation: 2*34=68
Start Sub Search at level 1: Moving to Node #0,2
Current State: 73:[76, 14, 68], Operations: ['2*34=68']
Exploring Operation: 14+68=82, Resulting Numbers: [76, 82]
Generated Node #0,2,0: 73:[76, 82] Operation: 14+68=82
Exploring Operation: 76+14=90, Resulting Numbers: [68, 90]
Generated Node #0,2,1: 73:[68, 90] Operation: 76+14=90
Exploring Operation: 76-14=62, Resulting Numbers: [68, 62]
Generated Node #0,2,2: 73:[68, 62] Operation: 76-14=62
Moving to Node #0,2,0
Current State: 73:[76, 82], Operations: ['2*34=68', '14+68=82']
Exploring Operation: 76+82=158, Resulting Numbers: [158]
158,73 unequal: No Solution
Exploring Operation: 82-76=6, Resulting Numbers: [6]
6,73 unequal: No Solution
Exploring Operation: 76*82=6232, Resulting Numbers: [6232]
6232,73 unequal: No Solution
Moving to Node #0,2,2
Current State: 73:[68, 62], Operations: ['2*34=68', '76-14=62']
Exploring Operation: 68-62=6, Resulting Numbers: [6]
6,73 unequal: No Solution
Exploring Operation: 68+62=130, Resulting Numbers: [130]
130,73 unequal: No Solution
Exploring Operation: 68*62=4216, Resulting Numbers: [4216]
4216,73 unequal: No Solution
Moving to Node #0,2,1
Current State: 73:[68, 90], Operations: ['2*34=68', '76+14=90']
Exploring Operation: 68+90=158, Resulting Numbers: [158]
158,73 unequal: No Solution
Exploring Operation: 68*90=6120, Resulting Numbers: [6120]
6120,73 unequal: No Solution
Exploring Operation: 90-68=22, Resulting Numbers: [22]
22,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:[76, 34, 28], Operations: ['2*14=28']
Exploring Operation: 76-28=48, Resulting Numbers: [34, 48]
Generated Node #0,1,0: 73:[34, 48] Operation: 76-28=48
Exploring Operation: 76+28=104, Resulting Numbers: [34, 104]
Generated Node #0,1,1: 73:[34, 104] Operation: 76+28=104
Exploring Operation: 34+28=62, Resulting Numbers: [76, 62]
Generated Node #0,1,2: 73:[76, 62] Operation: 34+28=62
Moving to Node #0,1,2
Current State: 73:[76, 62], Operations: ['2*14=28', '34+28=62']
Exploring Operation: 76+62=138, Resulting Numbers: [138]
138,73 unequal: No Solution
Exploring Operation: 76*62=4712, Resulting Numbers: [4712]
4712,73 unequal: No Solution
Exploring Operation: 76-62=14, Resulting Numbers: [14]
14,73 unequal: No Solution
Moving to Node #0,1,0
Current State: 73:[34, 48], Operations: ['2*14=28', '76-28=48']
Exploring Operation: 34+48=82, Resulting Numbers: [82]
82,73 unequal: No Solution
Exploring Operation: 48-34=14, Resulting Numbers: [14]
14,73 unequal: No Solution
Exploring Operation: 34*48=1632, Resulting Numbers: [1632]
1632,73 unequal: No Solution
Moving to Node #0,1,1
Current State: 73:[34, 104], Operations: ['2*14=28', '76+28=104']
Exploring Operation: 34*104=3536, Resulting Numbers: [3536]
3536,73 unequal: No Solution
Exploring Operation: 34+104=138, Resulting Numbers: [138]
138,73 unequal: No Solution
Exploring Operation: 104-34=70, Resulting Numbers: [70]
70,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
Current State: 73:[14, 34, 74], Operations: ['76-2=74']
Exploring Operation: 74-14=60, Resulting Numbers: [34, 60]
Generated Node #0,0,0: 73:[34, 60] Operation: 74-14=60
Exploring Operation: 34-14=20, Resulting Numbers: [74, 20]
Generated Node #0,0,1: 73:[74, 20] Operation: 34-14=20
Exploring Operation: 14+34=48, Resulting Numbers: [74, 48]
Generated Node #0,0,2: 73:[74, 48] Operation: 14+34=48
Moving to Node #0,0,2
Current State: 73:[74, 48], Operations: ['76-2=74', '14+34=48']
Exploring Operation: 74-48=26, Resulting Numbers: [26]
26,73 unequal: No Solution
Exploring Operation: 74+48=122, Resulting Numbers: [122]
122,73 unequal: No Solution
Exploring Operation: 74*48=3552, Resulting Numbers: [3552]
3552,73 unequal: No Solution
Moving to Node #0,0,0
Current State: 73:[34, 60], Operations: ['76-2=74', '74-14=60']
Exploring Operation: 60-34=26, Resulting Numbers: [26]
26,73 unequal: No Solution
Exploring Operation: 34+60=94, Resulting Numbers: [94]
94,73 unequal: No Solution
Exploring Operation: 34*60=2040, Resulting Numbers: [2040]
2040,73 unequal: No Solution
Moving to Node #0,0,1
Current State: 73:[74, 20], Operations: ['76-2=74', '34-14=20']
Exploring Operation: 74+20=94, Resulting Numbers: [94]
94,73 unequal: No Solution
Exploring Operation: 74*20=1480, Resulting Numbers: [1480]
1480,73 unequal: No Solution
Exploring Operation: 74-20=54, Resulting Numbers: [54]
54,73 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 |
[
4,
88,
76,
69
] | 77 | [
"88-4=84",
"76-69=7",
"84-7=77"
] | Current State: 77:[4, 88, 76, 69], Operations: []
Exploring Operation: 88-4=84, Resulting Numbers: [76, 69, 84]
Generated Node #2: [76, 69, 84] from Operation: 88-4=84
Current State: 77:[76, 69, 84], Operations: ['88-4=84']
Exploring Operation: 76-69=7, Resulting Numbers: [84, 7]
Generated Node #3: [84, 7] from Operation: 76-69=7
Current State: 77:[84, 7], Operations: ['88-4=84', '76-69=7']
Exploring Operation: 84-7=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[4, 88, 76, 69], Operations: []
Exploring Operation: 88-76=12, Resulting Numbers: [4, 69, 12]
Generated Node #0,0: 77:[4, 69, 12] Operation: 88-76=12
Exploring Operation: 88-69=19, Resulting Numbers: [4, 76, 19]
Generated Node #0,1: 77:[4, 76, 19] Operation: 88-69=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[4, 69, 12], Operations: ['88-76=12']
Exploring Operation: 4+69=73, Resulting Numbers: [12, 73]
Generated Node #0,0,0: 77:[12, 73] Operation: 4+69=73
Exploring Operation: 69+12=81, Resulting Numbers: [4, 81]
Generated Node #0,0,1: 77:[4, 81] Operation: 69+12=81
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 77:[12, 73], Operations: ['88-76=12', '4+69=73']
Exploring Operation: 73-12=61, Resulting Numbers: [61]
61,77 unequal: No Solution
Exploring Operation: 12+73=85, Resulting Numbers: [85]
85,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,0,1
Current State: 77:[4, 81], Operations: ['88-76=12', '69+12=81']
Exploring Operation: 4+81=85, Resulting Numbers: [85]
85,77 unequal: No Solution
Exploring Operation: 81-4=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[4, 88, 76, 69], Operations: []
Exploring Operation: 88-76=12, Resulting Numbers: [4, 69, 12]
Generated Node #0,0: 77:[4, 69, 12] Operation: 88-76=12
Moving to Node #0,0
Current State: 77:[4, 69, 12], Operations: ['88-76=12']
Exploring Operation: 69+12=81, Resulting Numbers: [4, 81]
Generated Node #0,0,1: 77:[4, 81] Operation: 69+12=81
Moving to Node #0,0,1
Current State: 77:[4, 81], Operations: ['88-76=12', '69+12=81']
Exploring Operation: 81-4=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
55,
95,
75,
54
] | 61 | [
"95-55=40",
"75-54=21",
"40+21=61"
] | Current State: 61:[55, 95, 75, 54], Operations: []
Exploring Operation: 95-55=40, Resulting Numbers: [75, 54, 40]
Generated Node #2: [75, 54, 40] from Operation: 95-55=40
Current State: 61:[75, 54, 40], Operations: ['95-55=40']
Exploring Operation: 75-54=21, Resulting Numbers: [40, 21]
Generated Node #3: [40, 21] from Operation: 75-54=21
Current State: 61:[40, 21], Operations: ['95-55=40', '75-54=21']
Exploring Operation: 40+21=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[55, 95, 75, 54], Operations: []
Exploring Operation: 95-55=40, Resulting Numbers: [75, 54, 40]
Generated Node #0,0: 61:[75, 54, 40] Operation: 95-55=40
Exploring Operation: 95-75=20, Resulting Numbers: [55, 54, 20]
Generated Node #0,1: 61:[55, 54, 20] Operation: 95-75=20
Exploring Operation: 95-54=41, Resulting Numbers: [55, 75, 41]
Generated Node #0,2: 61:[55, 75, 41] Operation: 95-54=41
Moving to Node #0,2
Current State: 61:[55, 75, 41], Operations: ['95-54=41']
Exploring Operation: 75-41=34, Resulting Numbers: [55, 34]
Generated Node #0,2,0: 61:[55, 34] Operation: 75-41=34
Exploring Operation: 55+41=96, Resulting Numbers: [75, 96]
Generated Node #0,2,1: 61:[75, 96] Operation: 55+41=96
Exploring Operation: 75-55=20, Resulting Numbers: [41, 20]
Generated Node #0,2,2: 61:[41, 20] Operation: 75-55=20
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 61:[55, 34], Operations: ['95-54=41', '75-41=34']
Exploring Operation: 55-34=21, Resulting Numbers: [21]
21,61 unequal: No Solution
Exploring Operation: 55*34=1870, Resulting Numbers: [1870]
1870,61 unequal: No Solution
Exploring Operation: 55+34=89, Resulting Numbers: [89]
89,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 61:[75, 96], Operations: ['95-54=41', '55+41=96']
Exploring Operation: 75*96=7200, Resulting Numbers: [7200]
7200,61 unequal: No Solution
Exploring Operation: 75+96=171, Resulting Numbers: [171]
171,61 unequal: No Solution
Exploring Operation: 96-75=21, Resulting Numbers: [21]
21,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 61:[41, 20], Operations: ['95-54=41', '75-55=20']
Exploring Operation: 41+20=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[55, 95, 75, 54], Operations: []
Exploring Operation: 95-54=41, Resulting Numbers: [55, 75, 41]
Generated Node #0,2: 61:[55, 75, 41] Operation: 95-54=41
Moving to Node #0,2
Current State: 61:[55, 75, 41], Operations: ['95-54=41']
Exploring Operation: 75-55=20, Resulting Numbers: [41, 20]
Generated Node #0,2,2: 61:[41, 20] Operation: 75-55=20
Moving to Node #0,2,2
Current State: 61:[41, 20], Operations: ['95-54=41', '75-55=20']
Exploring Operation: 41+20=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_3 | sum_heuristic |
[
10,
80,
64,
88
] | 15 | [
"10*88=880",
"80+880=960",
"960/64=15"
] | Current State: 15:[10, 80, 64, 88], Operations: []
Exploring Operation: 10*88=880, Resulting Numbers: [80, 64, 880]
Generated Node #2: [80, 64, 880] from Operation: 10*88=880
Current State: 15:[80, 64, 880], Operations: ['10*88=880']
Exploring Operation: 80+880=960, Resulting Numbers: [64, 960]
Generated Node #3: [64, 960] from Operation: 80+880=960
Current State: 15:[64, 960], Operations: ['10*88=880', '80+880=960']
Exploring Operation: 960/64=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[10, 80, 64, 88], Operations: []
Exploring Operation: 80-64=16, Resulting Numbers: [10, 88, 16]
Generated Node #0,0: 15:[10, 88, 16] Operation: 80-64=16
Exploring Operation: 80-10=70, Resulting Numbers: [64, 88, 70]
Generated Node #0,1: 15:[64, 88, 70] Operation: 80-10=70
Exploring Operation: 80/10=8, Resulting Numbers: [64, 88, 8]
Generated Node #0,2: 15:[64, 88, 8] Operation: 80/10=8
Exploring Operation: 88-80=8, Resulting Numbers: [10, 64, 8]
Generated Node #0,3: 15:[10, 64, 8] Operation: 88-80=8
Exploring Operation: 88-64=24, Resulting Numbers: [10, 80, 24]
Generated Node #0,4: 15:[10, 80, 24] Operation: 88-64=24
Moving to Node #0,3
Current State: 15:[10, 64, 8], Operations: ['88-80=8']
Exploring Operation: 64-10=54, Resulting Numbers: [8, 54]
Generated Node #0,3,0: 15:[8, 54] Operation: 64-10=54
Exploring Operation: 10-8=2, Resulting Numbers: [64, 2]
Generated Node #0,3,1: 15:[64, 2] Operation: 10-8=2
Exploring Operation: 10+8=18, Resulting Numbers: [64, 18]
Generated Node #0,3,2: 15:[64, 18] Operation: 10+8=18
Exploring Operation: 64/8=8, Resulting Numbers: [10, 8]
Generated Node #0,3,3: 15:[10, 8] Operation: 64/8=8
Exploring Operation: 64-8=56, Resulting Numbers: [10, 56]
Generated Node #0,3,4: 15:[10, 56] Operation: 64-8=56
Moving to Node #0,4
Current State: 15:[10, 80, 24], Operations: ['88-64=24']
Exploring Operation: 24-10=14, Resulting Numbers: [80, 14]
Generated Node #0,4,0: 15:[80, 14] Operation: 24-10=14
Exploring Operation: 10+80=90, Resulting Numbers: [24, 90]
Generated Node #0,4,1: 15:[24, 90] Operation: 10+80=90
Exploring Operation: 80-24=56, Resulting Numbers: [10, 56]
Generated Node #0,4,2: 15:[10, 56] Operation: 80-24=56
Exploring Operation: 80-10=70, Resulting Numbers: [24, 70]
Generated Node #0,4,3: 15:[24, 70] Operation: 80-10=70
Exploring Operation: 80/10=8, Resulting Numbers: [24, 8]
Generated Node #0,4,4: 15:[24, 8] Operation: 80/10=8
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 15:[24, 8], Operations: ['88-64=24', '80/10=8']
Exploring Operation: 24/8=3, Resulting Numbers: [3]
3,15 unequal: No Solution
Exploring Operation: 24-8=16, Resulting Numbers: [16]
16,15 unequal: No Solution
Exploring Operation: 24*8=192, Resulting Numbers: [192]
192,15 unequal: No Solution
Exploring Operation: 24+8=32, Resulting Numbers: [32]
32,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 15:[10, 56], Operations: ['88-64=24', '80-24=56']
Exploring Operation: 10*56=560, Resulting Numbers: [560]
560,15 unequal: No Solution
Exploring Operation: 10+56=66, Resulting Numbers: [66]
66,15 unequal: No Solution
Exploring Operation: 56-10=46, Resulting Numbers: [46]
46,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 15:[24, 70], Operations: ['88-64=24', '80-10=70']
Exploring Operation: 24+70=94, Resulting Numbers: [94]
94,15 unequal: No Solution
Exploring Operation: 24*70=1680, Resulting Numbers: [1680]
1680,15 unequal: No Solution
Exploring Operation: 70-24=46, Resulting Numbers: [46]
46,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 15:[80, 14], Operations: ['88-64=24', '24-10=14']
Exploring Operation: 80*14=1120, Resulting Numbers: [1120]
1120,15 unequal: No Solution
Exploring Operation: 80+14=94, Resulting Numbers: [94]
94,15 unequal: No Solution
Exploring Operation: 80-14=66, Resulting Numbers: [66]
66,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 15:[24, 90], Operations: ['88-64=24', '10+80=90']
Exploring Operation: 90-24=66, Resulting Numbers: [66]
66,15 unequal: No Solution
Exploring Operation: 24*90=2160, Resulting Numbers: [2160]
2160,15 unequal: No Solution
Exploring Operation: 24+90=114, Resulting Numbers: [114]
114,15 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: 15:[10, 88, 16], Operations: ['80-64=16']
Exploring Operation: 88-16=72, Resulting Numbers: [10, 72]
Generated Node #0,0,0: 15:[10, 72] Operation: 88-16=72
Exploring Operation: 16-10=6, Resulting Numbers: [88, 6]
Generated Node #0,0,1: 15:[88, 6] Operation: 16-10=6
Exploring Operation: 10+16=26, Resulting Numbers: [88, 26]
Generated Node #0,0,2: 15:[88, 26] Operation: 10+16=26
Exploring Operation: 10+88=98, Resulting Numbers: [16, 98]
Generated Node #0,0,3: 15:[16, 98] Operation: 10+88=98
Exploring Operation: 88-10=78, Resulting Numbers: [16, 78]
Generated Node #0,0,4: 15:[16, 78] Operation: 88-10=78
Moving to Node #0,2
Current State: 15:[64, 88, 8], Operations: ['80/10=8']
Exploring Operation: 64/8=8, Resulting Numbers: [88, 8]
Generated Node #0,2,0: 15:[88, 8] Operation: 64/8=8
Exploring Operation: 64-8=56, Resulting Numbers: [88, 56]
Generated Node #0,2,1: 15:[88, 56] Operation: 64-8=56
Exploring Operation: 88-64=24, Resulting Numbers: [8, 24]
Generated Node #0,2,2: 15:[8, 24] Operation: 88-64=24
Exploring Operation: 88-8=80, Resulting Numbers: [64, 80]
Generated Node #0,2,3: 15:[64, 80] Operation: 88-8=80
Exploring Operation: 88/8=11, Resulting Numbers: [64, 11]
Generated Node #0,2,4: 15:[64, 11] Operation: 88/8=11
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 15:[8, 24], Operations: ['80/10=8', '88-64=24']
Exploring Operation: 24/8=3, Resulting Numbers: [3]
3,15 unequal: No Solution
Exploring Operation: 24-8=16, Resulting Numbers: [16]
16,15 unequal: No Solution
Exploring Operation: 8*24=192, Resulting Numbers: [192]
192,15 unequal: No Solution
Exploring Operation: 8+24=32, Resulting Numbers: [32]
32,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 15:[64, 11], Operations: ['80/10=8', '88/8=11']
Exploring Operation: 64*11=704, Resulting Numbers: [704]
704,15 unequal: No Solution
Exploring Operation: 64+11=75, Resulting Numbers: [75]
75,15 unequal: No Solution
Exploring Operation: 64-11=53, Resulting Numbers: [53]
53,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 15:[88, 8], Operations: ['80/10=8', '64/8=8']
Exploring Operation: 88+8=96, Resulting Numbers: [96]
96,15 unequal: No Solution
Exploring Operation: 88-8=80, Resulting Numbers: [80]
80,15 unequal: No Solution
Exploring Operation: 88/8=11, Resulting Numbers: [11]
11,15 unequal: No Solution
Exploring Operation: 88*8=704, Resulting Numbers: [704]
704,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 15:[88, 56], Operations: ['80/10=8', '64-8=56']
Exploring Operation: 88*56=4928, Resulting Numbers: [4928]
4928,15 unequal: No Solution
Exploring Operation: 88-56=32, Resulting Numbers: [32]
32,15 unequal: No Solution
Exploring Operation: 88+56=144, Resulting Numbers: [144]
144,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 15:[64, 80], Operations: ['80/10=8', '88-8=80']
Exploring Operation: 64*80=5120, Resulting Numbers: [5120]
5120,15 unequal: No Solution
Exploring Operation: 64+80=144, Resulting Numbers: [144]
144,15 unequal: No Solution
Exploring Operation: 80-64=16, Resulting Numbers: [16]
16,15 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: 15:[64, 88, 70], Operations: ['80-10=70']
Exploring Operation: 64+88=152, Resulting Numbers: [70, 152]
Generated Node #0,1,0: 15:[70, 152] Operation: 64+88=152
Exploring Operation: 88-64=24, Resulting Numbers: [70, 24]
Generated Node #0,1,1: 15:[70, 24] Operation: 88-64=24
Exploring Operation: 88-70=18, Resulting Numbers: [64, 18]
Generated Node #0,1,2: 15:[64, 18] Operation: 88-70=18
Exploring Operation: 64+70=134, Resulting Numbers: [88, 134]
Generated Node #0,1,3: 15:[88, 134] Operation: 64+70=134
Exploring Operation: 70-64=6, Resulting Numbers: [88, 6]
Generated Node #0,1,4: 15:[88, 6] Operation: 70-64=6
Moving to Node #0,3,3
Current State: 15:[10, 8], Operations: ['88-80=8', '64/8=8']
Exploring Operation: 10+8=18, Resulting Numbers: [18]
18,15 unequal: No Solution
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,15 unequal: No Solution
Exploring Operation: 10*8=80, Resulting Numbers: [80]
80,15 unequal: No Solution
Moving to Node #0,3,0
Current State: 15:[8, 54], Operations: ['88-80=8', '64-10=54']
Exploring Operation: 8*54=432, Resulting Numbers: [432]
432,15 unequal: No Solution
Exploring Operation: 8+54=62, Resulting Numbers: [62]
62,15 unequal: No Solution
Exploring Operation: 54-8=46, Resulting Numbers: [46]
46,15 unequal: No Solution
Moving to Node #0,3,4
Current State: 15:[10, 56], Operations: ['88-80=8', '64-8=56']
Exploring Operation: 56-10=46, Resulting Numbers: [46]
46,15 unequal: No Solution
Exploring Operation: 10+56=66, Resulting Numbers: [66]
66,15 unequal: No Solution
Exploring Operation: 10*56=560, Resulting Numbers: [560]
560,15 unequal: No Solution
Moving to Node #0,3,1
Current State: 15:[64, 2], Operations: ['88-80=8', '10-8=2']
Exploring Operation: 64+2=66, Resulting Numbers: [66]
66,15 unequal: No Solution
Exploring Operation: 64*2=128, Resulting Numbers: [128]
128,15 unequal: No Solution
Exploring Operation: 64-2=62, Resulting Numbers: [62]
62,15 unequal: No Solution
Exploring Operation: 64/2=32, Resulting Numbers: [32]
32,15 unequal: No Solution
Moving to Node #0,3,2
Current State: 15:[64, 18], Operations: ['88-80=8', '10+8=18']
Exploring Operation: 64-18=46, Resulting Numbers: [46]
46,15 unequal: No Solution
Exploring Operation: 64*18=1152, Resulting Numbers: [1152]
1152,15 unequal: No Solution
Exploring Operation: 64+18=82, Resulting Numbers: [82]
82,15 unequal: No Solution
Moving to Node #0,1,2
Current State: 15:[64, 18], Operations: ['80-10=70', '88-70=18']
Exploring Operation: 64+18=82, Resulting Numbers: [82]
82,15 unequal: No Solution
Exploring Operation: 64-18=46, Resulting Numbers: [46]
46,15 unequal: No Solution
Exploring Operation: 64*18=1152, Resulting Numbers: [1152]
1152,15 unequal: No Solution
Moving to Node #0,0,0
Current State: 15:[10, 72], Operations: ['80-64=16', '88-16=72']
Exploring Operation: 10+72=82, Resulting Numbers: [82]
82,15 unequal: No Solution
Exploring Operation: 72-10=62, Resulting Numbers: [62]
62,15 unequal: No Solution
Exploring Operation: 10*72=720, Resulting Numbers: [720]
720,15 unequal: No Solution
Moving to Node #0,0,4
Current State: 15:[16, 78], Operations: ['80-64=16', '88-10=78']
Exploring Operation: 16*78=1248, Resulting Numbers: [1248]
1248,15 unequal: No Solution
Exploring Operation: 16+78=94, Resulting Numbers: [94]
94,15 unequal: No Solution
Exploring Operation: 78-16=62, Resulting Numbers: [62]
62,15 unequal: No Solution
Moving to Node #0,1,1
Current State: 15:[70, 24], Operations: ['80-10=70', '88-64=24']
Exploring Operation: 70+24=94, Resulting Numbers: [94]
94,15 unequal: No Solution
Exploring Operation: 70*24=1680, Resulting Numbers: [1680]
1680,15 unequal: No Solution
Exploring Operation: 70-24=46, Resulting Numbers: [46]
46,15 unequal: No Solution
Moving to Node #0,1,4
Current State: 15:[88, 6], Operations: ['80-10=70', '70-64=6']
Exploring Operation: 88+6=94, Resulting Numbers: [94]
94,15 unequal: No Solution
Exploring Operation: 88*6=528, Resulting Numbers: [528]
528,15 unequal: No Solution
Exploring Operation: 88-6=82, Resulting Numbers: [82]
82,15 unequal: No Solution
Moving to Node #0,0,1
Current State: 15:[88, 6], Operations: ['80-64=16', '16-10=6']
Exploring Operation: 88+6=94, Resulting Numbers: [94]
94,15 unequal: No Solution
Exploring Operation: 88-6=82, Resulting Numbers: [82]
82,15 unequal: No Solution
Exploring Operation: 88*6=528, Resulting Numbers: [528]
528,15 unequal: No Solution
Moving to Node #0,0,2
Current State: 15:[88, 26], Operations: ['80-64=16', '10+16=26']
Exploring Operation: 88*26=2288, Resulting Numbers: [2288]
2288,15 unequal: No Solution
Exploring Operation: 88+26=114, Resulting Numbers: [114]
114,15 unequal: No Solution
Exploring Operation: 88-26=62, Resulting Numbers: [62]
62,15 unequal: No Solution
Moving to Node #0,0,3
Current State: 15:[16, 98], Operations: ['80-64=16', '10+88=98']
Exploring Operation: 16+98=114, Resulting Numbers: [114]
114,15 unequal: No Solution
Exploring Operation: 98-16=82, Resulting Numbers: [82]
82,15 unequal: No Solution
Exploring Operation: 16*98=1568, Resulting Numbers: [1568]
1568,15 unequal: No Solution
Moving to Node #0,1,0
Current State: 15:[70, 152], Operations: ['80-10=70', '64+88=152']
Exploring Operation: 70+152=222, Resulting Numbers: [222]
222,15 unequal: No Solution
Exploring Operation: 70*152=10640, Resulting Numbers: [10640]
10640,15 unequal: No Solution
Exploring Operation: 152-70=82, Resulting Numbers: [82]
82,15 unequal: No Solution
Moving to Node #0,1,3
Current State: 15:[88, 134], Operations: ['80-10=70', '64+70=134']
Exploring Operation: 88+134=222, Resulting Numbers: [222]
222,15 unequal: No Solution
Exploring Operation: 134-88=46, Resulting Numbers: [46]
46,15 unequal: No Solution
Exploring Operation: 88*134=11792, Resulting Numbers: [11792]
11792,15 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
69,
53,
3,
6
] | 14 | [
"69-53=16",
"6/3=2",
"16-2=14"
] | Current State: 14:[69, 53, 3, 6], Operations: []
Exploring Operation: 69-53=16, Resulting Numbers: [3, 6, 16]
Generated Node #2: [3, 6, 16] from Operation: 69-53=16
Current State: 14:[3, 6, 16], Operations: ['69-53=16']
Exploring Operation: 6/3=2, Resulting Numbers: [16, 2]
Generated Node #3: [16, 2] from Operation: 6/3=2
Current State: 14:[16, 2], Operations: ['69-53=16', '6/3=2']
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[69, 53, 3, 6], Operations: []
Exploring Operation: 69-53=16, Resulting Numbers: [3, 6, 16]
Generated Node #0,0: 14:[3, 6, 16] Operation: 69-53=16
Exploring Operation: 69-6=63, Resulting Numbers: [53, 3, 63]
Generated Node #0,1: 14:[53, 3, 63] Operation: 69-6=63
Exploring Operation: 69/3=23, Resulting Numbers: [53, 6, 23]
Generated Node #0,2: 14:[53, 6, 23] Operation: 69/3=23
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[3, 6, 16], Operations: ['69-53=16']
Exploring Operation: 6-3=3, Resulting Numbers: [16, 3]
Generated Node #0,0,0: 14:[16, 3] Operation: 6-3=3
Exploring Operation: 6/3=2, Resulting Numbers: [16, 2]
Generated Node #0,0,1: 14:[16, 2] Operation: 6/3=2
Exploring Operation: 16-3=13, Resulting Numbers: [6, 13]
Generated Node #0,0,2: 14:[6, 13] Operation: 16-3=13
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 14:[16, 2], Operations: ['69-53=16', '6/3=2']
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,14 unequal: No Solution
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[69, 53, 3, 6], Operations: []
Exploring Operation: 69-53=16, Resulting Numbers: [3, 6, 16]
Generated Node #0,0: 14:[3, 6, 16] Operation: 69-53=16
Moving to Node #0,0
Current State: 14:[3, 6, 16], Operations: ['69-53=16']
Exploring Operation: 6/3=2, Resulting Numbers: [16, 2]
Generated Node #0,0,1: 14:[16, 2] Operation: 6/3=2
Moving to Node #0,0,1
Current State: 14:[16, 2], Operations: ['69-53=16', '6/3=2']
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
63,
22,
33,
62
] | 30 | [
"33*62=2046",
"2046/22=93",
"93-63=30"
] | Current State: 30:[63, 22, 33, 62], Operations: []
Exploring Operation: 33*62=2046, Resulting Numbers: [63, 22, 2046]
Generated Node #2: [63, 22, 2046] from Operation: 33*62=2046
Current State: 30:[63, 22, 2046], Operations: ['33*62=2046']
Exploring Operation: 2046/22=93, Resulting Numbers: [63, 93]
Generated Node #3: [63, 93] from Operation: 2046/22=93
Current State: 30:[63, 93], Operations: ['33*62=2046', '2046/22=93']
Exploring Operation: 93-63=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[63, 22, 33, 62], Operations: []
Exploring Operation: 63-62=1, Resulting Numbers: [22, 33, 1]
Generated Node #0,0: 30:[22, 33, 1] Operation: 63-62=1
Exploring Operation: 63-22=41, Resulting Numbers: [33, 62, 41]
Generated Node #0,1: 30:[33, 62, 41] Operation: 63-22=41
Exploring Operation: 62-33=29, Resulting Numbers: [63, 22, 29]
Generated Node #0,2: 30:[63, 22, 29] Operation: 62-33=29
Exploring Operation: 63-33=30, Resulting Numbers: [22, 62, 30]
Generated Node #0,3: 30:[22, 62, 30] Operation: 63-33=30
Exploring Operation: 62-22=40, Resulting Numbers: [63, 33, 40]
Generated Node #0,4: 30:[63, 33, 40] Operation: 62-22=40
Start Sub Search at level 1: Moving to Node #0,0
Current State: 30:[22, 33, 1], Operations: ['63-62=1']
Exploring Operation: 22-1=21, Resulting Numbers: [33, 21]
Generated Node #0,0,0: 30:[33, 21] Operation: 22-1=21
Exploring Operation: 33-1=32, Resulting Numbers: [22, 32]
Generated Node #0,0,1: 30:[22, 32] Operation: 33-1=32
Exploring Operation: 22*1=22, Resulting Numbers: [33, 22]
Generated Node #0,0,2: 30:[33, 22] Operation: 22*1=22
Exploring Operation: 33-22=11, Resulting Numbers: [1, 11]
Generated Node #0,0,3: 30:[1, 11] Operation: 33-22=11
Exploring Operation: 22+1=23, Resulting Numbers: [33, 23]
Generated Node #0,0,4: 30:[33, 23] Operation: 22+1=23
Moving to Node #0,0,3
Current State: 30:[1, 11], Operations: ['63-62=1', '33-22=11']
Exploring Operation: 11-1=10, Resulting Numbers: [10]
10,30 unequal: No Solution
Exploring Operation: 11/1=11, Resulting Numbers: [11]
11,30 unequal: No Solution
Exploring Operation: 1*11=11, Resulting Numbers: [11]
11,30 unequal: No Solution
Exploring Operation: 1+11=12, Resulting Numbers: [12]
12,30 unequal: No Solution
Moving to Node #0,0,1
Current State: 30:[22, 32], Operations: ['63-62=1', '33-1=32']
Exploring Operation: 22+32=54, Resulting Numbers: [54]
54,30 unequal: No Solution
Exploring Operation: 32-22=10, Resulting Numbers: [10]
10,30 unequal: No Solution
Exploring Operation: 22*32=704, Resulting Numbers: [704]
704,30 unequal: No Solution
Moving to Node #0,0,0
Current State: 30:[33, 21], Operations: ['63-62=1', '22-1=21']
Exploring Operation: 33+21=54, Resulting Numbers: [54]
54,30 unequal: No Solution
Exploring Operation: 33*21=693, Resulting Numbers: [693]
693,30 unequal: No Solution
Exploring Operation: 33-21=12, Resulting Numbers: [12]
12,30 unequal: No Solution
Moving to Node #0,0,2
Current State: 30:[33, 22], Operations: ['63-62=1', '22*1=22']
Exploring Operation: 33-22=11, Resulting Numbers: [11]
11,30 unequal: No Solution
Exploring Operation: 33*22=726, Resulting Numbers: [726]
726,30 unequal: No Solution
Exploring Operation: 33+22=55, Resulting Numbers: [55]
55,30 unequal: No Solution
Moving to Node #0,0,4
Current State: 30:[33, 23], Operations: ['63-62=1', '22+1=23']
Exploring Operation: 33*23=759, Resulting Numbers: [759]
759,30 unequal: No Solution
Exploring Operation: 33+23=56, Resulting Numbers: [56]
56,30 unequal: No Solution
Exploring Operation: 33-23=10, Resulting Numbers: [10]
10,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 30:[22, 62, 30], Operations: ['63-33=30']
Exploring Operation: 30-22=8, Resulting Numbers: [62, 8]
Generated Node #0,3,0: 30:[62, 8] Operation: 30-22=8
Exploring Operation: 62-22=40, Resulting Numbers: [30, 40]
Generated Node #0,3,1: 30:[30, 40] Operation: 62-22=40
Exploring Operation: 62-30=32, Resulting Numbers: [22, 32]
Generated Node #0,3,2: 30:[22, 32] Operation: 62-30=32
Exploring Operation: 22+62=84, Resulting Numbers: [30, 84]
Generated Node #0,3,3: 30:[30, 84] Operation: 22+62=84
Exploring Operation: 22+30=52, Resulting Numbers: [62, 52]
Generated Node #0,3,4: 30:[62, 52] Operation: 22+30=52
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 30:[22, 32], Operations: ['63-33=30', '62-30=32']
Exploring Operation: 32-22=10, Resulting Numbers: [10]
10,30 unequal: No Solution
Exploring Operation: 22*32=704, Resulting Numbers: [704]
704,30 unequal: No Solution
Exploring Operation: 22+32=54, Resulting Numbers: [54]
54,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 30:[30, 40], Operations: ['63-33=30', '62-22=40']
Exploring Operation: 30+40=70, Resulting Numbers: [70]
70,30 unequal: No Solution
Exploring Operation: 40-30=10, Resulting Numbers: [10]
10,30 unequal: No Solution
Exploring Operation: 30*40=1200, Resulting Numbers: [1200]
1200,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 30:[62, 8], Operations: ['63-33=30', '30-22=8']
Exploring Operation: 62+8=70, Resulting Numbers: [70]
70,30 unequal: No Solution
Exploring Operation: 62*8=496, Resulting Numbers: [496]
496,30 unequal: No Solution
Exploring Operation: 62-8=54, Resulting Numbers: [54]
54,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 30:[30, 84], Operations: ['63-33=30', '22+62=84']
Exploring Operation: 30*84=2520, Resulting Numbers: [2520]
2520,30 unequal: No Solution
Exploring Operation: 30+84=114, Resulting Numbers: [114]
114,30 unequal: No Solution
Exploring Operation: 84-30=54, Resulting Numbers: [54]
54,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 30:[62, 52], Operations: ['63-33=30', '22+30=52']
Exploring Operation: 62+52=114, Resulting Numbers: [114]
114,30 unequal: No Solution
Exploring Operation: 62*52=3224, Resulting Numbers: [3224]
3224,30 unequal: No Solution
Exploring Operation: 62-52=10, Resulting Numbers: [10]
10,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,2
Current State: 30:[63, 22, 29], Operations: ['62-33=29']
Exploring Operation: 22+29=51, Resulting Numbers: [63, 51]
Generated Node #0,2,0: 30:[63, 51] Operation: 22+29=51
Exploring Operation: 63-29=34, Resulting Numbers: [22, 34]
Generated Node #0,2,1: 30:[22, 34] Operation: 63-29=34
Exploring Operation: 63-22=41, Resulting Numbers: [29, 41]
Generated Node #0,2,2: 30:[29, 41] Operation: 63-22=41
Exploring Operation: 63+22=85, Resulting Numbers: [29, 85]
Generated Node #0,2,3: 30:[29, 85] Operation: 63+22=85
Exploring Operation: 29-22=7, Resulting Numbers: [63, 7]
Generated Node #0,2,4: 30:[63, 7] Operation: 29-22=7
Moving to Node #0,2,1
Current State: 30:[22, 34], Operations: ['62-33=29', '63-29=34']
Exploring Operation: 22+34=56, Resulting Numbers: [56]
56,30 unequal: No Solution
Exploring Operation: 34-22=12, Resulting Numbers: [12]
12,30 unequal: No Solution
Exploring Operation: 22*34=748, Resulting Numbers: [748]
748,30 unequal: No Solution
Moving to Node #0,2,2
Current State: 30:[29, 41], Operations: ['62-33=29', '63-22=41']
Exploring Operation: 29+41=70, Resulting Numbers: [70]
70,30 unequal: No Solution
Exploring Operation: 41-29=12, Resulting Numbers: [12]
12,30 unequal: No Solution
Exploring Operation: 29*41=1189, Resulting Numbers: [1189]
1189,30 unequal: No Solution
Moving to Node #0,2,4
Current State: 30:[63, 7], Operations: ['62-33=29', '29-22=7']
Exploring Operation: 63*7=441, Resulting Numbers: [441]
441,30 unequal: No Solution
Exploring Operation: 63/7=9, Resulting Numbers: [9]
9,30 unequal: No Solution
Exploring Operation: 63+7=70, Resulting Numbers: [70]
70,30 unequal: No Solution
Exploring Operation: 63-7=56, Resulting Numbers: [56]
56,30 unequal: No Solution
Moving to Node #0,2,0
Current State: 30:[63, 51], Operations: ['62-33=29', '22+29=51']
Exploring Operation: 63-51=12, Resulting Numbers: [12]
12,30 unequal: No Solution
Exploring Operation: 63*51=3213, Resulting Numbers: [3213]
3213,30 unequal: No Solution
Exploring Operation: 63+51=114, Resulting Numbers: [114]
114,30 unequal: No Solution
Moving to Node #0,2,3
Current State: 30:[29, 85], Operations: ['62-33=29', '63+22=85']
Exploring Operation: 85-29=56, Resulting Numbers: [56]
56,30 unequal: No Solution
Exploring Operation: 29+85=114, Resulting Numbers: [114]
114,30 unequal: No Solution
Exploring Operation: 29*85=2465, Resulting Numbers: [2465]
2465,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,1
Current State: 30:[33, 62, 41], Operations: ['63-22=41']
Exploring Operation: 62-41=21, Resulting Numbers: [33, 21]
Generated Node #0,1,0: 30:[33, 21] Operation: 62-41=21
Exploring Operation: 41-33=8, Resulting Numbers: [62, 8]
Generated Node #0,1,1: 30:[62, 8] Operation: 41-33=8
Exploring Operation: 33+62=95, Resulting Numbers: [41, 95]
Generated Node #0,1,2: 30:[41, 95] Operation: 33+62=95
Exploring Operation: 33+41=74, Resulting Numbers: [62, 74]
Generated Node #0,1,3: 30:[62, 74] Operation: 33+41=74
Exploring Operation: 62-33=29, Resulting Numbers: [41, 29]
Generated Node #0,1,4: 30:[41, 29] Operation: 62-33=29
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 30:[33, 21], Operations: ['63-22=41', '62-41=21']
Exploring Operation: 33*21=693, Resulting Numbers: [693]
693,30 unequal: No Solution
Exploring Operation: 33-21=12, Resulting Numbers: [12]
12,30 unequal: No Solution
Exploring Operation: 33+21=54, Resulting Numbers: [54]
54,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,1,4
Current State: 30:[41, 29], Operations: ['63-22=41', '62-33=29']
Exploring Operation: 41+29=70, Resulting Numbers: [70]
70,30 unequal: No Solution
Exploring Operation: 41-29=12, Resulting Numbers: [12]
12,30 unequal: No Solution
Exploring Operation: 41*29=1189, Resulting Numbers: [1189]
1189,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,1,1
Current State: 30:[62, 8], Operations: ['63-22=41', '41-33=8']
Exploring Operation: 62+8=70, Resulting Numbers: [70]
70,30 unequal: No Solution
Exploring Operation: 62*8=496, Resulting Numbers: [496]
496,30 unequal: No Solution
Exploring Operation: 62-8=54, Resulting Numbers: [54]
54,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,1,2
Current State: 30:[41, 95], Operations: ['63-22=41', '33+62=95']
Exploring Operation: 41*95=3895, Resulting Numbers: [3895]
3895,30 unequal: No Solution
Exploring Operation: 41+95=136, Resulting Numbers: [136]
136,30 unequal: No Solution
Exploring Operation: 95-41=54, Resulting Numbers: [54]
54,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,1,3
Current State: 30:[62, 74], Operations: ['63-22=41', '33+41=74']
Exploring Operation: 62*74=4588, Resulting Numbers: [4588]
4588,30 unequal: No Solution
Exploring Operation: 74-62=12, Resulting Numbers: [12]
12,30 unequal: No Solution
Exploring Operation: 62+74=136, Resulting Numbers: [136]
136,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,4
Current State: 30:[63, 33, 40], Operations: ['62-22=40']
Exploring Operation: 63-40=23, Resulting Numbers: [33, 23]
Generated Node #0,4,0: 30:[33, 23] Operation: 63-40=23
Exploring Operation: 63+33=96, Resulting Numbers: [40, 96]
Generated Node #0,4,1: 30:[40, 96] Operation: 63+33=96
Exploring Operation: 63-33=30, Resulting Numbers: [40, 30]
Generated Node #0,4,2: 30:[40, 30] Operation: 63-33=30
Exploring Operation: 63+40=103, Resulting Numbers: [33, 103]
Generated Node #0,4,3: 30:[33, 103] Operation: 63+40=103
Exploring Operation: 40-33=7, Resulting Numbers: [63, 7]
Generated Node #0,4,4: 30:[63, 7] Operation: 40-33=7
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 30:[33, 23], Operations: ['62-22=40', '63-40=23']
Exploring Operation: 33+23=56, Resulting Numbers: [56]
56,30 unequal: No Solution
Exploring Operation: 33-23=10, Resulting Numbers: [10]
10,30 unequal: No Solution
Exploring Operation: 33*23=759, Resulting Numbers: [759]
759,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,4,2
Current State: 30:[40, 30], Operations: ['62-22=40', '63-33=30']
Exploring Operation: 40+30=70, Resulting Numbers: [70]
70,30 unequal: No Solution
Exploring Operation: 40-30=10, Resulting Numbers: [10]
10,30 unequal: No Solution
Exploring Operation: 40*30=1200, Resulting Numbers: [1200]
1200,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,4,4
Current State: 30:[63, 7], Operations: ['62-22=40', '40-33=7']
Exploring Operation: 63*7=441, Resulting Numbers: [441]
441,30 unequal: No Solution
Exploring Operation: 63/7=9, Resulting Numbers: [9]
9,30 unequal: No Solution
Exploring Operation: 63+7=70, Resulting Numbers: [70]
70,30 unequal: No Solution
Exploring Operation: 63-7=56, Resulting Numbers: [56]
56,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,4,1
Current State: 30:[40, 96], Operations: ['62-22=40', '63+33=96']
Exploring Operation: 40+96=136, Resulting Numbers: [136]
136,30 unequal: No Solution
Exploring Operation: 96-40=56, Resulting Numbers: [56]
56,30 unequal: No Solution
Exploring Operation: 40*96=3840, Resulting Numbers: [3840]
3840,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,4,3
Current State: 30:[33, 103], Operations: ['62-22=40', '63+40=103']
Exploring Operation: 33*103=3399, Resulting Numbers: [3399]
3399,30 unequal: No Solution
Exploring Operation: 33+103=136, Resulting Numbers: [136]
136,30 unequal: No Solution
Exploring Operation: 103-33=70, Resulting Numbers: [70]
70,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
No solution found.
| 0 | hs_5 | sum_heuristic |
[
34,
29,
9,
67
] | 60 | [
"34+29=63",
"63/9=7",
"67-7=60"
] | Current State: 60:[34, 29, 9, 67], Operations: []
Exploring Operation: 34+29=63, Resulting Numbers: [9, 67, 63]
Generated Node #2: [9, 67, 63] from Operation: 34+29=63
Current State: 60:[9, 67, 63], Operations: ['34+29=63']
Exploring Operation: 63/9=7, Resulting Numbers: [67, 7]
Generated Node #3: [67, 7] from Operation: 63/9=7
Current State: 60:[67, 7], Operations: ['34+29=63', '63/9=7']
Exploring Operation: 67-7=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[34, 29, 9, 67], Operations: []
Exploring Operation: 67-34=33, Resulting Numbers: [29, 9, 33]
Generated Node #0,0: 60:[29, 9, 33] Operation: 67-34=33
Moving to Node #0,0
Current State: 60:[29, 9, 33], Operations: ['67-34=33']
Exploring Operation: 33-29=4, Resulting Numbers: [9, 4]
Generated Node #0,0,0: 60:[9, 4] Operation: 33-29=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 60:[9, 4], Operations: ['67-34=33', '33-29=4']
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,60 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 |
[
42,
46,
29,
2
] | 76 | [
"46-29=17",
"2*17=34",
"42+34=76"
] | Current State: 76:[42, 46, 29, 2], Operations: []
Exploring Operation: 46-29=17, Resulting Numbers: [42, 2, 17]
Generated Node #2: [42, 2, 17] from Operation: 46-29=17
Current State: 76:[42, 2, 17], Operations: ['46-29=17']
Exploring Operation: 2*17=34, Resulting Numbers: [42, 34]
Generated Node #3: [42, 34] from Operation: 2*17=34
Current State: 76:[42, 34], Operations: ['46-29=17', '2*17=34']
Exploring Operation: 42+34=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[42, 46, 29, 2], Operations: []
Exploring Operation: 46+29=75, Resulting Numbers: [42, 2, 75]
Generated Node #0,0: 76:[42, 2, 75] Operation: 46+29=75
Exploring Operation: 46-29=17, Resulting Numbers: [42, 2, 17]
Generated Node #0,1: 76:[42, 2, 17] Operation: 46-29=17
Exploring Operation: 46-42=4, Resulting Numbers: [29, 2, 4]
Generated Node #0,2: 76:[29, 2, 4] Operation: 46-42=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[42, 2, 75], Operations: ['46+29=75']
Exploring Operation: 42/2=21, Resulting Numbers: [75, 21]
Generated Node #0,0,0: 76:[75, 21] Operation: 42/2=21
Exploring Operation: 75-42=33, Resulting Numbers: [2, 33]
Generated Node #0,0,1: 76:[2, 33] Operation: 75-42=33
Exploring Operation: 42-2=40, Resulting Numbers: [75, 40]
Generated Node #0,0,2: 76:[75, 40] Operation: 42-2=40
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 76:[75, 21], Operations: ['46+29=75', '42/2=21']
Exploring Operation: 75*21=1575, Resulting Numbers: [1575]
1575,76 unequal: No Solution
Exploring Operation: 75-21=54, Resulting Numbers: [54]
54,76 unequal: No Solution
Exploring Operation: 75+21=96, Resulting Numbers: [96]
96,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 76:[75, 40], Operations: ['46+29=75', '42-2=40']
Exploring Operation: 75+40=115, Resulting Numbers: [115]
115,76 unequal: No Solution
Exploring Operation: 75*40=3000, Resulting Numbers: [3000]
3000,76 unequal: No Solution
Exploring Operation: 75-40=35, Resulting Numbers: [35]
35,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 76:[2, 33], Operations: ['46+29=75', '75-42=33']
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,76 unequal: No Solution
Exploring Operation: 2*33=66, Resulting Numbers: [66]
66,76 unequal: No Solution
Exploring Operation: 2+33=35, Resulting Numbers: [35]
35,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 76:[42, 2, 17], Operations: ['46-29=17']
Exploring Operation: 42/2=21, Resulting Numbers: [17, 21]
Generated Node #0,1,0: 76:[17, 21] Operation: 42/2=21
Exploring Operation: 2+17=19, Resulting Numbers: [42, 19]
Generated Node #0,1,1: 76:[42, 19] Operation: 2+17=19
Exploring Operation: 42-2=40, Resulting Numbers: [17, 40]
Generated Node #0,1,2: 76:[17, 40] Operation: 42-2=40
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 76:[17, 21], Operations: ['46-29=17', '42/2=21']
Exploring Operation: 17+21=38, Resulting Numbers: [38]
38,76 unequal: No Solution
Exploring Operation: 17*21=357, Resulting Numbers: [357]
357,76 unequal: No Solution
Exploring Operation: 21-17=4, Resulting Numbers: [4]
4,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 76:[42, 19], Operations: ['46-29=17', '2+17=19']
Exploring Operation: 42*19=798, Resulting Numbers: [798]
798,76 unequal: No Solution
Exploring Operation: 42-19=23, Resulting Numbers: [23]
23,76 unequal: No Solution
Exploring Operation: 42+19=61, Resulting Numbers: [61]
61,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 76:[17, 40], Operations: ['46-29=17', '42-2=40']
Exploring Operation: 17*40=680, Resulting Numbers: [680]
680,76 unequal: No Solution
Exploring Operation: 17+40=57, Resulting Numbers: [57]
57,76 unequal: No Solution
Exploring Operation: 40-17=23, Resulting Numbers: [23]
23,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 76:[29, 2, 4], Operations: ['46-42=4']
Exploring Operation: 29+2=31, Resulting Numbers: [4, 31]
Generated Node #0,2,0: 76:[4, 31] Operation: 29+2=31
Exploring Operation: 29-4=25, Resulting Numbers: [2, 25]
Generated Node #0,2,1: 76:[2, 25] Operation: 29-4=25
Exploring Operation: 29+4=33, Resulting Numbers: [2, 33]
Generated Node #0,2,2: 76:[2, 33] Operation: 29+4=33
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 76:[2, 33], Operations: ['46-42=4', '29+4=33']
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,76 unequal: No Solution
Exploring Operation: 2*33=66, Resulting Numbers: [66]
66,76 unequal: No Solution
Exploring Operation: 2+33=35, Resulting Numbers: [35]
35,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 76:[2, 25], Operations: ['46-42=4', '29-4=25']
Exploring Operation: 2*25=50, Resulting Numbers: [50]
50,76 unequal: No Solution
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,76 unequal: No Solution
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 76:[4, 31], Operations: ['46-42=4', '29+2=31']
Exploring Operation: 4+31=35, Resulting Numbers: [35]
35,76 unequal: No Solution
Exploring Operation: 31-4=27, Resulting Numbers: [27]
27,76 unequal: No Solution
Exploring Operation: 4*31=124, Resulting Numbers: [124]
124,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
15,
37,
70,
4
] | 44 | [
"37-15=22",
"70-4=66",
"66-22=44"
] | Current State: 44:[15, 37, 70, 4], Operations: []
Exploring Operation: 37-15=22, Resulting Numbers: [70, 4, 22]
Generated Node #2: [70, 4, 22] from Operation: 37-15=22
Current State: 44:[70, 4, 22], Operations: ['37-15=22']
Exploring Operation: 70-4=66, Resulting Numbers: [22, 66]
Generated Node #3: [22, 66] from Operation: 70-4=66
Current State: 44:[22, 66], Operations: ['37-15=22', '70-4=66']
Exploring Operation: 66-22=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[15, 37, 70, 4], Operations: []
Exploring Operation: 37-15=22, Resulting Numbers: [70, 4, 22]
Generated Node #0,0: 44:[70, 4, 22] Operation: 37-15=22
Exploring Operation: 15-4=11, Resulting Numbers: [37, 70, 11]
Generated Node #0,1: 44:[37, 70, 11] Operation: 15-4=11
Exploring Operation: 37+4=41, Resulting Numbers: [15, 70, 41]
Generated Node #0,2: 44:[15, 70, 41] Operation: 37+4=41
Exploring Operation: 70-37=33, Resulting Numbers: [15, 4, 33]
Generated Node #0,3: 44:[15, 4, 33] Operation: 70-37=33
Exploring Operation: 70-15=55, Resulting Numbers: [37, 4, 55]
Generated Node #0,4: 44:[37, 4, 55] Operation: 70-15=55
Start Sub Search at level 1: Moving to Node #0,3
Current State: 44:[15, 4, 33], Operations: ['70-37=33']
Exploring Operation: 33-15=18, Resulting Numbers: [4, 18]
Generated Node #0,3,0: 44:[4, 18] Operation: 33-15=18
Exploring Operation: 15+33=48, Resulting Numbers: [4, 48]
Generated Node #0,3,1: 44:[4, 48] Operation: 15+33=48
Exploring Operation: 4+33=37, Resulting Numbers: [15, 37]
Generated Node #0,3,2: 44:[15, 37] Operation: 4+33=37
Exploring Operation: 15-4=11, Resulting Numbers: [33, 11]
Generated Node #0,3,3: 44:[33, 11] Operation: 15-4=11
Exploring Operation: 33-4=29, Resulting Numbers: [15, 29]
Generated Node #0,3,4: 44:[15, 29] Operation: 33-4=29
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 44:[4, 18], Operations: ['70-37=33', '33-15=18']
Exploring Operation: 4*18=72, Resulting Numbers: [72]
72,44 unequal: No Solution
Exploring Operation: 4+18=22, Resulting Numbers: [22]
22,44 unequal: No Solution
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,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,3,1
Current State: 44:[4, 48], Operations: ['70-37=33', '15+33=48']
Exploring Operation: 4+48=52, Resulting Numbers: [52]
52,44 unequal: No Solution
Exploring Operation: 48-4=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[15, 37, 70, 4], Operations: []
Exploring Operation: 70-37=33, Resulting Numbers: [15, 4, 33]
Generated Node #0,3: 44:[15, 4, 33] Operation: 70-37=33
Moving to Node #0,3
Current State: 44:[15, 4, 33], Operations: ['70-37=33']
Exploring Operation: 15+33=48, Resulting Numbers: [4, 48]
Generated Node #0,3,1: 44:[4, 48] Operation: 15+33=48
Moving to Node #0,3,1
Current State: 44:[4, 48], Operations: ['70-37=33', '15+33=48']
Exploring Operation: 48-4=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_5 | sum_heuristic |
[
55,
68,
63,
3
] | 66 | [
"55+68=123",
"63*3=189",
"189-123=66"
] | Current State: 66:[55, 68, 63, 3], Operations: []
Exploring Operation: 55+68=123, Resulting Numbers: [63, 3, 123]
Generated Node #2: [63, 3, 123] from Operation: 55+68=123
Current State: 66:[63, 3, 123], Operations: ['55+68=123']
Exploring Operation: 63*3=189, Resulting Numbers: [123, 189]
Generated Node #3: [123, 189] from Operation: 63*3=189
Current State: 66:[123, 189], Operations: ['55+68=123', '63*3=189']
Exploring Operation: 189-123=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[55, 68, 63, 3], Operations: []
Exploring Operation: 63-55=8, Resulting Numbers: [68, 3, 8]
Generated Node #0,0: 66:[68, 3, 8] Operation: 63-55=8
Exploring Operation: 55+3=58, Resulting Numbers: [68, 63, 58]
Generated Node #0,1: 66:[68, 63, 58] Operation: 55+3=58
Exploring Operation: 68-63=5, Resulting Numbers: [55, 3, 5]
Generated Node #0,2: 66:[55, 3, 5] Operation: 68-63=5
Exploring Operation: 68-55=13, Resulting Numbers: [63, 3, 13]
Generated Node #0,3: 66:[63, 3, 13] Operation: 68-55=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[68, 3, 8], Operations: ['63-55=8']
Exploring Operation: 3+8=11, Resulting Numbers: [68, 11]
Generated Node #0,0,0: 66:[68, 11] Operation: 3+8=11
Exploring Operation: 68-3=65, Resulting Numbers: [8, 65]
Generated Node #0,0,1: 66:[8, 65] Operation: 68-3=65
Exploring Operation: 8-3=5, Resulting Numbers: [68, 5]
Generated Node #0,0,2: 66:[68, 5] Operation: 8-3=5
Exploring Operation: 3*8=24, Resulting Numbers: [68, 24]
Generated Node #0,0,3: 66:[68, 24] Operation: 3*8=24
Moving to Node #0,0,0
Current State: 66:[68, 11], Operations: ['63-55=8', '3+8=11']
Exploring Operation: 68-11=57, Resulting Numbers: [57]
57,66 unequal: No Solution
Exploring Operation: 68+11=79, Resulting Numbers: [79]
79,66 unequal: No Solution
Exploring Operation: 68*11=748, Resulting Numbers: [748]
748,66 unequal: No Solution
Moving to Node #0,0,2
Current State: 66:[68, 5], Operations: ['63-55=8', '8-3=5']
Exploring Operation: 68*5=340, Resulting Numbers: [340]
340,66 unequal: No Solution
Exploring Operation: 68+5=73, Resulting Numbers: [73]
73,66 unequal: No Solution
Exploring Operation: 68-5=63, Resulting Numbers: [63]
63,66 unequal: No Solution
Moving to Node #0,0,1
Current State: 66:[8, 65], Operations: ['63-55=8', '68-3=65']
Exploring Operation: 65-8=57, Resulting Numbers: [57]
57,66 unequal: No Solution
Exploring Operation: 8+65=73, Resulting Numbers: [73]
73,66 unequal: No Solution
Exploring Operation: 8*65=520, Resulting Numbers: [520]
520,66 unequal: No Solution
Moving to Node #0,0,3
Current State: 66:[68, 24], Operations: ['63-55=8', '3*8=24']
Exploring Operation: 68-24=44, Resulting Numbers: [44]
44,66 unequal: No Solution
Exploring Operation: 68*24=1632, Resulting Numbers: [1632]
1632,66 unequal: No Solution
Exploring Operation: 68+24=92, Resulting Numbers: [92]
92,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 66:[63, 3, 13], Operations: ['68-55=13']
Exploring Operation: 63/3=21, Resulting Numbers: [13, 21]
Generated Node #0,3,0: 66:[13, 21] Operation: 63/3=21
Exploring Operation: 63-3=60, Resulting Numbers: [13, 60]
Generated Node #0,3,1: 66:[13, 60] Operation: 63-3=60
Exploring Operation: 13-3=10, Resulting Numbers: [63, 10]
Generated Node #0,3,2: 66:[63, 10] Operation: 13-3=10
Exploring Operation: 63+3=66, Resulting Numbers: [13, 66]
Generated Node #0,3,3: 66:[13, 66] Operation: 63+3=66
Moving to Node #0,3,3
Current State: 66:[13, 66], Operations: ['68-55=13', '63+3=66']
Exploring Operation: 13+66=79, Resulting Numbers: [79]
79,66 unequal: No Solution
Exploring Operation: 66-13=53, Resulting Numbers: [53]
53,66 unequal: No Solution
Exploring Operation: 13*66=858, Resulting Numbers: [858]
858,66 unequal: No Solution
Moving to Node #0,3,0
Current State: 66:[13, 21], Operations: ['68-55=13', '63/3=21']
Exploring Operation: 21-13=8, Resulting Numbers: [8]
8,66 unequal: No Solution
Exploring Operation: 13+21=34, Resulting Numbers: [34]
34,66 unequal: No Solution
Exploring Operation: 13*21=273, Resulting Numbers: [273]
273,66 unequal: No Solution
Moving to Node #0,3,2
Current State: 66:[63, 10], Operations: ['68-55=13', '13-3=10']
Exploring Operation: 63-10=53, Resulting Numbers: [53]
53,66 unequal: No Solution
Exploring Operation: 63+10=73, Resulting Numbers: [73]
73,66 unequal: No Solution
Exploring Operation: 63*10=630, Resulting Numbers: [630]
630,66 unequal: No Solution
Moving to Node #0,3,1
Current State: 66:[13, 60], Operations: ['68-55=13', '63-3=60']
Exploring Operation: 60-13=47, Resulting Numbers: [47]
47,66 unequal: No Solution
Exploring Operation: 13*60=780, Resulting Numbers: [780]
780,66 unequal: No Solution
Exploring Operation: 13+60=73, Resulting Numbers: [73]
73,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 66:[55, 3, 5], Operations: ['68-63=5']
Exploring Operation: 55+5=60, Resulting Numbers: [3, 60]
Generated Node #0,2,0: 66:[3, 60] Operation: 55+5=60
Exploring Operation: 5-3=2, Resulting Numbers: [55, 2]
Generated Node #0,2,1: 66:[55, 2] Operation: 5-3=2
Exploring Operation: 55+3=58, Resulting Numbers: [5, 58]
Generated Node #0,2,2: 66:[5, 58] Operation: 55+3=58
Exploring Operation: 55/5=11, Resulting Numbers: [3, 11]
Generated Node #0,2,3: 66:[3, 11] Operation: 55/5=11
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 66:[3, 11], Operations: ['68-63=5', '55/5=11']
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,66 unequal: No Solution
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,66 unequal: No Solution
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,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,2,0
Current State: 66:[3, 60], Operations: ['68-63=5', '55+5=60']
Exploring Operation: 3+60=63, Resulting Numbers: [63]
63,66 unequal: No Solution
Exploring Operation: 60-3=57, Resulting Numbers: [57]
57,66 unequal: No Solution
Exploring Operation: 3*60=180, Resulting Numbers: [180]
180,66 unequal: No Solution
Exploring Operation: 60/3=20, Resulting Numbers: [20]
20,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,2,2
Current State: 66:[5, 58], Operations: ['68-63=5', '55+3=58']
Exploring Operation: 58-5=53, Resulting Numbers: [53]
53,66 unequal: No Solution
Exploring Operation: 5+58=63, Resulting Numbers: [63]
63,66 unequal: No Solution
Exploring Operation: 5*58=290, Resulting Numbers: [290]
290,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,2,1
Current State: 66:[55, 2], Operations: ['68-63=5', '5-3=2']
Exploring Operation: 55+2=57, Resulting Numbers: [57]
57,66 unequal: No Solution
Exploring Operation: 55-2=53, Resulting Numbers: [53]
53,66 unequal: No Solution
Exploring Operation: 55*2=110, Resulting Numbers: [110]
110,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:[68, 63, 58], Operations: ['55+3=58']
Exploring Operation: 68-63=5, Resulting Numbers: [58, 5]
Generated Node #0,1,0: 66:[58, 5] Operation: 68-63=5
Exploring Operation: 63-58=5, Resulting Numbers: [68, 5]
Generated Node #0,1,1: 66:[68, 5] Operation: 63-58=5
Exploring Operation: 63+58=121, Resulting Numbers: [68, 121]
Generated Node #0,1,2: 66:[68, 121] Operation: 63+58=121
Exploring Operation: 68-58=10, Resulting Numbers: [63, 10]
Generated Node #0,1,3: 66:[63, 10] Operation: 68-58=10
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 66:[68, 5], Operations: ['55+3=58', '63-58=5']
Exploring Operation: 68-5=63, Resulting Numbers: [63]
63,66 unequal: No Solution
Exploring Operation: 68*5=340, Resulting Numbers: [340]
340,66 unequal: No Solution
Exploring Operation: 68+5=73, Resulting Numbers: [73]
73,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,3
Current State: 66:[63, 10], Operations: ['55+3=58', '68-58=10']
Exploring Operation: 63+10=73, Resulting Numbers: [73]
73,66 unequal: No Solution
Exploring Operation: 63-10=53, Resulting Numbers: [53]
53,66 unequal: No Solution
Exploring Operation: 63*10=630, Resulting Numbers: [630]
630,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:[58, 5], Operations: ['55+3=58', '68-63=5']
Exploring Operation: 58*5=290, Resulting Numbers: [290]
290,66 unequal: No Solution
Exploring Operation: 58-5=53, Resulting Numbers: [53]
53,66 unequal: No Solution
Exploring Operation: 58+5=63, Resulting Numbers: [63]
63,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,2
Current State: 66:[68, 121], Operations: ['55+3=58', '63+58=121']
Exploring Operation: 121-68=53, Resulting Numbers: [53]
53,66 unequal: No Solution
Exploring Operation: 68+121=189, Resulting Numbers: [189]
189,66 unequal: No Solution
Exploring Operation: 68*121=8228, Resulting Numbers: [8228]
8228,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_4 | sum_heuristic |
[
5,
40,
14,
77
] | 46 | [
"5+40=45",
"14+77=91",
"91-45=46"
] | Current State: 46:[5, 40, 14, 77], Operations: []
Exploring Operation: 5+40=45, Resulting Numbers: [14, 77, 45]
Generated Node #2: [14, 77, 45] from Operation: 5+40=45
Current State: 46:[14, 77, 45], Operations: ['5+40=45']
Exploring Operation: 14+77=91, Resulting Numbers: [45, 91]
Generated Node #3: [45, 91] from Operation: 14+77=91
Current State: 46:[45, 91], Operations: ['5+40=45', '14+77=91']
Exploring Operation: 91-45=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[5, 40, 14, 77], Operations: []
Exploring Operation: 40-14=26, Resulting Numbers: [5, 77, 26]
Generated Node #0,0: 46:[5, 77, 26] Operation: 40-14=26
Exploring Operation: 77-40=37, Resulting Numbers: [5, 14, 37]
Generated Node #0,1: 46:[5, 14, 37] Operation: 77-40=37
Exploring Operation: 5+40=45, Resulting Numbers: [14, 77, 45]
Generated Node #0,2: 46:[14, 77, 45] Operation: 5+40=45
Exploring Operation: 77-14=63, Resulting Numbers: [5, 40, 63]
Generated Node #0,3: 46:[5, 40, 63] Operation: 77-14=63
Moving to Node #0,1
Current State: 46:[5, 14, 37], Operations: ['77-40=37']
Exploring Operation: 5+14=19, Resulting Numbers: [37, 19]
Generated Node #0,1,0: 46:[37, 19] Operation: 5+14=19
Exploring Operation: 14+37=51, Resulting Numbers: [5, 51]
Generated Node #0,1,1: 46:[5, 51] Operation: 14+37=51
Exploring Operation: 37-14=23, Resulting Numbers: [5, 23]
Generated Node #0,1,2: 46:[5, 23] Operation: 37-14=23
Exploring Operation: 5+37=42, Resulting Numbers: [14, 42]
Generated Node #0,1,3: 46:[14, 42] Operation: 5+37=42
Moving to Node #0,3
Current State: 46:[5, 40, 63], Operations: ['77-14=63']
Exploring Operation: 63-40=23, Resulting Numbers: [5, 23]
Generated Node #0,3,0: 46:[5, 23] Operation: 63-40=23
Exploring Operation: 5+40=45, Resulting Numbers: [63, 45]
Generated Node #0,3,1: 46:[63, 45] Operation: 5+40=45
Exploring Operation: 40/5=8, Resulting Numbers: [63, 8]
Generated Node #0,3,2: 46:[63, 8] Operation: 40/5=8
Exploring Operation: 63-5=58, Resulting Numbers: [40, 58]
Generated Node #0,3,3: 46:[40, 58] Operation: 63-5=58
Moving to Node #0,0
Current State: 46:[5, 77, 26], Operations: ['40-14=26']
Exploring Operation: 77-26=51, Resulting Numbers: [5, 51]
Generated Node #0,0,0: 46:[5, 51] Operation: 77-26=51
Exploring Operation: 26-5=21, Resulting Numbers: [77, 21]
Generated Node #0,0,1: 46:[77, 21] Operation: 26-5=21
Exploring Operation: 77-5=72, Resulting Numbers: [26, 72]
Generated Node #0,0,2: 46:[26, 72] Operation: 77-5=72
Exploring Operation: 5+77=82, Resulting Numbers: [26, 82]
Generated Node #0,0,3: 46:[26, 82] Operation: 5+77=82
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 46:[5, 51], Operations: ['40-14=26', '77-26=51']
Exploring Operation: 5*51=255, Resulting Numbers: [255]
255,46 unequal: No Solution
Exploring Operation: 5+51=56, Resulting Numbers: [56]
56,46 unequal: No Solution
Exploring Operation: 51-5=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[5, 40, 14, 77], Operations: []
Exploring Operation: 40-14=26, Resulting Numbers: [5, 77, 26]
Generated Node #0,0: 46:[5, 77, 26] Operation: 40-14=26
Moving to Node #0,0
Current State: 46:[5, 77, 26], Operations: ['40-14=26']
Exploring Operation: 77-26=51, Resulting Numbers: [5, 51]
Generated Node #0,0,0: 46:[5, 51] Operation: 77-26=51
Moving to Node #0,0,0
Current State: 46:[5, 51], Operations: ['40-14=26', '77-26=51']
Exploring Operation: 51-5=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_4 | sum_heuristic |
[
56,
66,
28,
16
] | 41 | [
"56/28=2",
"66+16=82",
"82/2=41"
] | Current State: 41:[56, 66, 28, 16], Operations: []
Exploring Operation: 56/28=2, Resulting Numbers: [66, 16, 2]
Generated Node #2: [66, 16, 2] from Operation: 56/28=2
Current State: 41:[66, 16, 2], Operations: ['56/28=2']
Exploring Operation: 66+16=82, Resulting Numbers: [2, 82]
Generated Node #3: [2, 82] from Operation: 66+16=82
Current State: 41:[2, 82], Operations: ['56/28=2', '66+16=82']
Exploring Operation: 82/2=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[56, 66, 28, 16], Operations: []
Exploring Operation: 56-16=40, Resulting Numbers: [66, 28, 40]
Generated Node #0,0: 41:[66, 28, 40] Operation: 56-16=40
Exploring Operation: 66-16=50, Resulting Numbers: [56, 28, 50]
Generated Node #0,1: 41:[56, 28, 50] Operation: 66-16=50
Start Sub Search at level 1: Moving to Node #0,1
Current State: 41:[56, 28, 50], Operations: ['66-16=50']
Exploring Operation: 56-28=28, Resulting Numbers: [50, 28]
Generated Node #0,1,0: 41:[50, 28] Operation: 56-28=28
Exploring Operation: 50-28=22, Resulting Numbers: [56, 22]
Generated Node #0,1,1: 41:[56, 22] Operation: 50-28=22
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 41:[50, 28], Operations: ['66-16=50', '56-28=28']
Exploring Operation: 50+28=78, Resulting Numbers: [78]
78,41 unequal: No Solution
Exploring Operation: 50-28=22, Resulting Numbers: [22]
22,41 unequal: No Solution
No 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: 41:[56, 22], Operations: ['66-16=50', '50-28=22']
Exploring Operation: 56+22=78, Resulting Numbers: [78]
78,41 unequal: No Solution
Exploring Operation: 56-22=34, Resulting Numbers: [34]
34,41 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: 41:[66, 28, 40], Operations: ['56-16=40']
Exploring Operation: 66-40=26, Resulting Numbers: [28, 26]
Generated Node #0,0,0: 41:[28, 26] Operation: 66-40=26
Exploring Operation: 66-28=38, Resulting Numbers: [40, 38]
Generated Node #0,0,1: 41:[40, 38] Operation: 66-28=38
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 41:[40, 38], Operations: ['56-16=40', '66-28=38']
Exploring Operation: 40-38=2, Resulting Numbers: [2]
2,41 unequal: No Solution
Exploring Operation: 40+38=78, Resulting Numbers: [78]
78,41 unequal: No Solution
No 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: 41:[28, 26], Operations: ['56-16=40', '66-40=26']
Exploring Operation: 28+26=54, Resulting Numbers: [54]
54,41 unequal: No Solution
Exploring Operation: 28-26=2, Resulting Numbers: [2]
2,41 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 |
[
55,
20,
49,
9
] | 35 | [
"55+20=75",
"49-9=40",
"75-40=35"
] | Current State: 35:[55, 20, 49, 9], Operations: []
Exploring Operation: 55+20=75, Resulting Numbers: [49, 9, 75]
Generated Node #2: [49, 9, 75] from Operation: 55+20=75
Current State: 35:[49, 9, 75], Operations: ['55+20=75']
Exploring Operation: 49-9=40, Resulting Numbers: [75, 40]
Generated Node #3: [75, 40] from Operation: 49-9=40
Current State: 35:[75, 40], Operations: ['55+20=75', '49-9=40']
Exploring Operation: 75-40=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[55, 20, 49, 9], Operations: []
Exploring Operation: 55-20=35, Resulting Numbers: [49, 9, 35]
Generated Node #0,0: 35:[49, 9, 35] Operation: 55-20=35
Exploring Operation: 55-49=6, Resulting Numbers: [20, 9, 6]
Generated Node #0,1: 35:[20, 9, 6] Operation: 55-49=6
Moving to Node #0,0
Current State: 35:[49, 9, 35], Operations: ['55-20=35']
Exploring Operation: 49-35=14, Resulting Numbers: [9, 14]
Generated Node #0,0,0: 35:[9, 14] Operation: 49-35=14
Exploring Operation: 49-9=40, Resulting Numbers: [35, 40]
Generated Node #0,0,1: 35:[35, 40] Operation: 49-9=40
Moving to Node #0,1
Current State: 35:[20, 9, 6], Operations: ['55-49=6']
Exploring Operation: 20+9=29, Resulting Numbers: [6, 29]
Generated Node #0,1,0: 35:[6, 29] Operation: 20+9=29
Exploring Operation: 20-9=11, Resulting Numbers: [6, 11]
Generated Node #0,1,1: 35:[6, 11] Operation: 20-9=11
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 35:[6, 11], Operations: ['55-49=6', '20-9=11']
Exploring Operation: 6+11=17, Resulting Numbers: [17]
17,35 unequal: No Solution
Exploring Operation: 11-6=5, Resulting Numbers: [5]
5,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,0
Current State: 35:[6, 29], Operations: ['55-49=6', '20+9=29']
Exploring Operation: 29-6=23, Resulting Numbers: [23]
23,35 unequal: No Solution
Exploring Operation: 6+29=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[55, 20, 49, 9], Operations: []
Exploring Operation: 55-49=6, Resulting Numbers: [20, 9, 6]
Generated Node #0,1: 35:[20, 9, 6] Operation: 55-49=6
Moving to Node #0,1
Current State: 35:[20, 9, 6], Operations: ['55-49=6']
Exploring Operation: 20+9=29, Resulting Numbers: [6, 29]
Generated Node #0,1,0: 35:[6, 29] Operation: 20+9=29
Moving to Node #0,1,0
Current State: 35:[6, 29], Operations: ['55-49=6', '20+9=29']
Exploring Operation: 6+29=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_2 | sum_heuristic |
[
28,
55,
51,
46
] | 88 | [
"28+55=83",
"51-46=5",
"83+5=88"
] | Current State: 88:[28, 55, 51, 46], Operations: []
Exploring Operation: 28+55=83, Resulting Numbers: [51, 46, 83]
Generated Node #2: [51, 46, 83] from Operation: 28+55=83
Current State: 88:[51, 46, 83], Operations: ['28+55=83']
Exploring Operation: 51-46=5, Resulting Numbers: [83, 5]
Generated Node #3: [83, 5] from Operation: 51-46=5
Current State: 88:[83, 5], Operations: ['28+55=83', '51-46=5']
Exploring Operation: 83+5=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[28, 55, 51, 46], Operations: []
Exploring Operation: 55-51=4, Resulting Numbers: [28, 46, 4]
Generated Node #0,0: 88:[28, 46, 4] Operation: 55-51=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[28, 46, 4], Operations: ['55-51=4']
Exploring Operation: 28/4=7, Resulting Numbers: [46, 7]
Generated Node #0,0,0: 88:[46, 7] Operation: 28/4=7
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 88:[46, 7], Operations: ['55-51=4', '28/4=7']
Exploring Operation: 46-7=39, Resulting Numbers: [39]
39,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
72,
23,
64,
6
] | 25 | [
"72+23=95",
"64+6=70",
"95-70=25"
] | Current State: 25:[72, 23, 64, 6], Operations: []
Exploring Operation: 72+23=95, Resulting Numbers: [64, 6, 95]
Generated Node #2: [64, 6, 95] from Operation: 72+23=95
Current State: 25:[64, 6, 95], Operations: ['72+23=95']
Exploring Operation: 64+6=70, Resulting Numbers: [95, 70]
Generated Node #3: [95, 70] from Operation: 64+6=70
Current State: 25:[95, 70], Operations: ['72+23=95', '64+6=70']
Exploring Operation: 95-70=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[72, 23, 64, 6], Operations: []
Exploring Operation: 72-64=8, Resulting Numbers: [23, 6, 8]
Generated Node #0,0: 25:[23, 6, 8] Operation: 72-64=8
Exploring Operation: 72-23=49, Resulting Numbers: [64, 6, 49]
Generated Node #0,1: 25:[64, 6, 49] Operation: 72-23=49
Exploring Operation: 72/6=12, Resulting Numbers: [23, 64, 12]
Generated Node #0,2: 25:[23, 64, 12] Operation: 72/6=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[23, 6, 8], Operations: ['72-64=8']
Exploring Operation: 8-6=2, Resulting Numbers: [23, 2]
Generated Node #0,0,0: 25:[23, 2] Operation: 8-6=2
Exploring Operation: 23+8=31, Resulting Numbers: [6, 31]
Generated Node #0,0,1: 25:[6, 31] Operation: 23+8=31
Exploring Operation: 23+6=29, Resulting Numbers: [8, 29]
Generated Node #0,0,2: 25:[8, 29] Operation: 23+6=29
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 25:[23, 2], Operations: ['72-64=8', '8-6=2']
Exploring Operation: 23+2=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[72, 23, 64, 6], Operations: []
Exploring Operation: 72-64=8, Resulting Numbers: [23, 6, 8]
Generated Node #0,0: 25:[23, 6, 8] Operation: 72-64=8
Moving to Node #0,0
Current State: 25:[23, 6, 8], Operations: ['72-64=8']
Exploring Operation: 8-6=2, Resulting Numbers: [23, 2]
Generated Node #0,0,0: 25:[23, 2] Operation: 8-6=2
Moving to Node #0,0,0
Current State: 25:[23, 2], Operations: ['72-64=8', '8-6=2']
Exploring Operation: 23+2=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
23,
63,
99,
50
] | 63 | [
"23+63=86",
"99+50=149",
"149-86=63"
] | Current State: 63:[23, 63, 99, 50], Operations: []
Exploring Operation: 23+63=86, Resulting Numbers: [99, 50, 86]
Generated Node #2: [99, 50, 86] from Operation: 23+63=86
Current State: 63:[99, 50, 86], Operations: ['23+63=86']
Exploring Operation: 99+50=149, Resulting Numbers: [86, 149]
Generated Node #3: [86, 149] from Operation: 99+50=149
Current State: 63:[86, 149], Operations: ['23+63=86', '99+50=149']
Exploring Operation: 149-86=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[23, 63, 99, 50], Operations: []
Exploring Operation: 99-63=36, Resulting Numbers: [23, 50, 36]
Generated Node #0,0: 63:[23, 50, 36] Operation: 99-63=36
Exploring Operation: 50-23=27, Resulting Numbers: [63, 99, 27]
Generated Node #0,1: 63:[63, 99, 27] Operation: 50-23=27
Exploring Operation: 99-50=49, Resulting Numbers: [23, 63, 49]
Generated Node #0,2: 63:[23, 63, 49] Operation: 99-50=49
Exploring Operation: 63-50=13, Resulting Numbers: [23, 99, 13]
Generated Node #0,3: 63:[23, 99, 13] Operation: 63-50=13
Exploring Operation: 99-23=76, Resulting Numbers: [63, 50, 76]
Generated Node #0,4: 63:[63, 50, 76] Operation: 99-23=76
Moving to Node #0,2
Current State: 63:[23, 63, 49], Operations: ['99-50=49']
Exploring Operation: 63-49=14, Resulting Numbers: [23, 14]
Generated Node #0,2,0: 63:[23, 14] Operation: 63-49=14
Exploring Operation: 49-23=26, Resulting Numbers: [63, 26]
Generated Node #0,2,1: 63:[63, 26] Operation: 49-23=26
Exploring Operation: 23+49=72, Resulting Numbers: [63, 72]
Generated Node #0,2,2: 63:[63, 72] Operation: 23+49=72
Exploring Operation: 63-23=40, Resulting Numbers: [49, 40]
Generated Node #0,2,3: 63:[49, 40] Operation: 63-23=40
Exploring Operation: 23+63=86, Resulting Numbers: [49, 86]
Generated Node #0,2,4: 63:[49, 86] Operation: 23+63=86
Moving to Node #0,4
Current State: 63:[63, 50, 76], Operations: ['99-23=76']
Exploring Operation: 76-63=13, Resulting Numbers: [50, 13]
Generated Node #0,4,0: 63:[50, 13] Operation: 76-63=13
Exploring Operation: 76-50=26, Resulting Numbers: [63, 26]
Generated Node #0,4,1: 63:[63, 26] Operation: 76-50=26
Exploring Operation: 50+76=126, Resulting Numbers: [63, 126]
Generated Node #0,4,2: 63:[63, 126] Operation: 50+76=126
Exploring Operation: 63+50=113, Resulting Numbers: [76, 113]
Generated Node #0,4,3: 63:[76, 113] Operation: 63+50=113
Exploring Operation: 63-50=13, Resulting Numbers: [76, 13]
Generated Node #0,4,4: 63:[76, 13] Operation: 63-50=13
Moving to Node #0,0
Current State: 63:[23, 50, 36], Operations: ['99-63=36']
Exploring Operation: 23+50=73, Resulting Numbers: [36, 73]
Generated Node #0,0,0: 63:[36, 73] Operation: 23+50=73
Exploring Operation: 50-23=27, Resulting Numbers: [36, 27]
Generated Node #0,0,1: 63:[36, 27] Operation: 50-23=27
Exploring Operation: 50-36=14, Resulting Numbers: [23, 14]
Generated Node #0,0,2: 63:[23, 14] Operation: 50-36=14
Exploring Operation: 36-23=13, Resulting Numbers: [50, 13]
Generated Node #0,0,3: 63:[50, 13] Operation: 36-23=13
Exploring Operation: 23+36=59, Resulting Numbers: [50, 59]
Generated Node #0,0,4: 63:[50, 59] Operation: 23+36=59
Moving to Node #0,1
Current State: 63:[63, 99, 27], Operations: ['50-23=27']
Exploring Operation: 63-27=36, Resulting Numbers: [99, 36]
Generated Node #0,1,0: 63:[99, 36] Operation: 63-27=36
Exploring Operation: 63+27=90, Resulting Numbers: [99, 90]
Generated Node #0,1,1: 63:[99, 90] Operation: 63+27=90
Exploring Operation: 99-63=36, Resulting Numbers: [27, 36]
Generated Node #0,1,2: 63:[27, 36] Operation: 99-63=36
Exploring Operation: 99-27=72, Resulting Numbers: [63, 72]
Generated Node #0,1,3: 63:[63, 72] Operation: 99-27=72
Exploring Operation: 99+27=126, Resulting Numbers: [63, 126]
Generated Node #0,1,4: 63:[63, 126] Operation: 99+27=126
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 63:[63, 72], Operations: ['50-23=27', '99-27=72']
Exploring Operation: 72-63=9, Resulting Numbers: [9]
9,63 unequal: No Solution
Exploring Operation: 63*72=4536, Resulting Numbers: [4536]
4536,63 unequal: No Solution
Exploring Operation: 63+72=135, Resulting Numbers: [135]
135,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 63:[27, 36], Operations: ['50-23=27', '99-63=36']
Exploring Operation: 27*36=972, Resulting Numbers: [972]
972,63 unequal: No Solution
Exploring Operation: 27+36=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[23, 63, 99, 50], Operations: []
Exploring Operation: 50-23=27, Resulting Numbers: [63, 99, 27]
Generated Node #0,1: 63:[63, 99, 27] Operation: 50-23=27
Moving to Node #0,1
Current State: 63:[63, 99, 27], Operations: ['50-23=27']
Exploring Operation: 99-63=36, Resulting Numbers: [27, 36]
Generated Node #0,1,2: 63:[27, 36] Operation: 99-63=36
Moving to Node #0,1,2
Current State: 63:[27, 36], Operations: ['50-23=27', '99-63=36']
Exploring Operation: 27+36=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 1
| 0.970486 | hs_5 | sum_heuristic |
[
66,
45,
52,
39
] | 15 | [
"66+39=105",
"52-45=7",
"105/7=15"
] | Current State: 15:[66, 45, 52, 39], Operations: []
Exploring Operation: 66+39=105, Resulting Numbers: [45, 52, 105]
Generated Node #2: [45, 52, 105] from Operation: 66+39=105
Current State: 15:[45, 52, 105], Operations: ['66+39=105']
Exploring Operation: 52-45=7, Resulting Numbers: [105, 7]
Generated Node #3: [105, 7] from Operation: 52-45=7
Current State: 15:[105, 7], Operations: ['66+39=105', '52-45=7']
Exploring Operation: 105/7=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[66, 45, 52, 39], Operations: []
Exploring Operation: 52-45=7, Resulting Numbers: [66, 39, 7]
Generated Node #0,0: 15:[66, 39, 7] Operation: 52-45=7
Exploring Operation: 66-45=21, Resulting Numbers: [52, 39, 21]
Generated Node #0,1: 15:[52, 39, 21] Operation: 66-45=21
Exploring Operation: 66-52=14, Resulting Numbers: [45, 39, 14]
Generated Node #0,2: 15:[45, 39, 14] Operation: 66-52=14
Moving to Node #0,2
Current State: 15:[45, 39, 14], Operations: ['66-52=14']
Exploring Operation: 45-14=31, Resulting Numbers: [39, 31]
Generated Node #0,2,0: 15:[39, 31] Operation: 45-14=31
Exploring Operation: 39-14=25, Resulting Numbers: [45, 25]
Generated Node #0,2,1: 15:[45, 25] Operation: 39-14=25
Exploring Operation: 45-39=6, Resulting Numbers: [14, 6]
Generated Node #0,2,2: 15:[14, 6] Operation: 45-39=6
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 15:[14, 6], Operations: ['66-52=14', '45-39=6']
Exploring Operation: 14*6=84, Resulting Numbers: [84]
84,15 unequal: No Solution
Exploring Operation: 14+6=20, Resulting Numbers: [20]
20,15 unequal: No Solution
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 15:[39, 31], Operations: ['66-52=14', '45-14=31']
Exploring Operation: 39-31=8, Resulting Numbers: [8]
8,15 unequal: No Solution
Exploring Operation: 39+31=70, Resulting Numbers: [70]
70,15 unequal: No Solution
Exploring Operation: 39*31=1209, Resulting Numbers: [1209]
1209,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 15:[45, 25], Operations: ['66-52=14', '39-14=25']
Exploring Operation: 45+25=70, Resulting Numbers: [70]
70,15 unequal: No Solution
Exploring Operation: 45-25=20, Resulting Numbers: [20]
20,15 unequal: No Solution
Exploring Operation: 45*25=1125, Resulting Numbers: [1125]
1125,15 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: 15:[52, 39, 21], Operations: ['66-45=21']
Exploring Operation: 52-39=13, Resulting Numbers: [21, 13]
Generated Node #0,1,0: 15:[21, 13] Operation: 52-39=13
Exploring Operation: 52-21=31, Resulting Numbers: [39, 31]
Generated Node #0,1,1: 15:[39, 31] Operation: 52-21=31
Exploring Operation: 39-21=18, Resulting Numbers: [52, 18]
Generated Node #0,1,2: 15:[52, 18] Operation: 39-21=18
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 15:[21, 13], Operations: ['66-45=21', '52-39=13']
Exploring Operation: 21+13=34, Resulting Numbers: [34]
34,15 unequal: No Solution
Exploring Operation: 21-13=8, Resulting Numbers: [8]
8,15 unequal: No Solution
Exploring Operation: 21*13=273, Resulting Numbers: [273]
273,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 15:[39, 31], Operations: ['66-45=21', '52-21=31']
Exploring Operation: 39*31=1209, Resulting Numbers: [1209]
1209,15 unequal: No Solution
Exploring Operation: 39+31=70, Resulting Numbers: [70]
70,15 unequal: No Solution
Exploring Operation: 39-31=8, Resulting Numbers: [8]
8,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 15:[52, 18], Operations: ['66-45=21', '39-21=18']
Exploring Operation: 52-18=34, Resulting Numbers: [34]
34,15 unequal: No Solution
Exploring Operation: 52+18=70, Resulting Numbers: [70]
70,15 unequal: No Solution
Exploring Operation: 52*18=936, Resulting Numbers: [936]
936,15 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: 15:[66, 39, 7], Operations: ['52-45=7']
Exploring Operation: 39-7=32, Resulting Numbers: [66, 32]
Generated Node #0,0,0: 15:[66, 32] Operation: 39-7=32
Exploring Operation: 66-39=27, Resulting Numbers: [7, 27]
Generated Node #0,0,1: 15:[7, 27] Operation: 66-39=27
Exploring Operation: 66-7=59, Resulting Numbers: [39, 59]
Generated Node #0,0,2: 15:[39, 59] Operation: 66-7=59
Moving to Node #0,0,1
Current State: 15:[7, 27], Operations: ['52-45=7', '66-39=27']
Exploring Operation: 7+27=34, Resulting Numbers: [34]
34,15 unequal: No Solution
Exploring Operation: 27-7=20, Resulting Numbers: [20]
20,15 unequal: No Solution
Exploring Operation: 7*27=189, Resulting Numbers: [189]
189,15 unequal: No Solution
Moving to Node #0,0,0
Current State: 15:[66, 32], Operations: ['52-45=7', '39-7=32']
Exploring Operation: 66+32=98, Resulting Numbers: [98]
98,15 unequal: No Solution
Exploring Operation: 66*32=2112, Resulting Numbers: [2112]
2112,15 unequal: No Solution
Exploring Operation: 66-32=34, Resulting Numbers: [34]
34,15 unequal: No Solution
Moving to Node #0,0,2
Current State: 15:[39, 59], Operations: ['52-45=7', '66-7=59']
Exploring Operation: 39*59=2301, Resulting Numbers: [2301]
2301,15 unequal: No Solution
Exploring Operation: 39+59=98, Resulting Numbers: [98]
98,15 unequal: No Solution
Exploring Operation: 59-39=20, Resulting Numbers: [20]
20,15 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
58,
44,
83,
29
] | 40 | [
"58-44=14",
"83-29=54",
"54-14=40"
] | Current State: 40:[58, 44, 83, 29], Operations: []
Exploring Operation: 58-44=14, Resulting Numbers: [83, 29, 14]
Generated Node #2: [83, 29, 14] from Operation: 58-44=14
Current State: 40:[83, 29, 14], Operations: ['58-44=14']
Exploring Operation: 83-29=54, Resulting Numbers: [14, 54]
Generated Node #3: [14, 54] from Operation: 83-29=54
Current State: 40:[14, 54], Operations: ['58-44=14', '83-29=54']
Exploring Operation: 54-14=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[58, 44, 83, 29], Operations: []
Exploring Operation: 83-58=25, Resulting Numbers: [44, 29, 25]
Generated Node #0,0: 40:[44, 29, 25] Operation: 83-58=25
Start Sub Search at level 1: Moving to Node #0,0
Current State: 40:[44, 29, 25], Operations: ['83-58=25']
Exploring Operation: 29-25=4, Resulting Numbers: [44, 4]
Generated Node #0,0,0: 40:[44, 4] Operation: 29-25=4
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 40:[44, 4], Operations: ['83-58=25', '29-25=4']
Exploring Operation: 44-4=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[58, 44, 83, 29], Operations: []
Exploring Operation: 83-58=25, Resulting Numbers: [44, 29, 25]
Generated Node #0,0: 40:[44, 29, 25] Operation: 83-58=25
Moving to Node #0,0
Current State: 40:[44, 29, 25], Operations: ['83-58=25']
Exploring Operation: 29-25=4, Resulting Numbers: [44, 4]
Generated Node #0,0,0: 40:[44, 4] Operation: 29-25=4
Moving to Node #0,0,0
Current State: 40:[44, 4], Operations: ['83-58=25', '29-25=4']
Exploring Operation: 44-4=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
54,
32,
60,
3
] | 42 | [
"54-32=22",
"60/3=20",
"22+20=42"
] | Current State: 42:[54, 32, 60, 3], Operations: []
Exploring Operation: 54-32=22, Resulting Numbers: [60, 3, 22]
Generated Node #2: [60, 3, 22] from Operation: 54-32=22
Current State: 42:[60, 3, 22], Operations: ['54-32=22']
Exploring Operation: 60/3=20, Resulting Numbers: [22, 20]
Generated Node #3: [22, 20] from Operation: 60/3=20
Current State: 42:[22, 20], Operations: ['54-32=22', '60/3=20']
Exploring Operation: 22+20=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[54, 32, 60, 3], Operations: []
Exploring Operation: 54-32=22, Resulting Numbers: [60, 3, 22]
Generated Node #0,0: 42:[60, 3, 22] Operation: 54-32=22
Exploring Operation: 60-54=6, Resulting Numbers: [32, 3, 6]
Generated Node #0,1: 42:[32, 3, 6] Operation: 60-54=6
Start Sub Search at level 1: Moving to Node #0,1
Current State: 42:[32, 3, 6], Operations: ['60-54=6']
Exploring Operation: 32+6=38, Resulting Numbers: [3, 38]
Generated Node #0,1,0: 42:[3, 38] Operation: 32+6=38
Exploring Operation: 32-6=26, Resulting Numbers: [3, 26]
Generated Node #0,1,1: 42:[3, 26] Operation: 32-6=26
Moving to Node #0,1,0
Current State: 42:[3, 38], Operations: ['60-54=6', '32+6=38']
Exploring Operation: 3+38=41, Resulting Numbers: [41]
41,42 unequal: No Solution
Exploring Operation: 38-3=35, Resulting Numbers: [35]
35,42 unequal: No Solution
Moving to Node #0,1,1
Current State: 42:[3, 26], Operations: ['60-54=6', '32-6=26']
Exploring Operation: 3+26=29, Resulting Numbers: [29]
29,42 unequal: No Solution
Exploring Operation: 26-3=23, Resulting Numbers: [23]
23,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
Current State: 42:[60, 3, 22], Operations: ['54-32=22']
Exploring Operation: 60-22=38, Resulting Numbers: [3, 38]
Generated Node #0,0,0: 42:[3, 38] Operation: 60-22=38
Exploring Operation: 60/3=20, Resulting Numbers: [22, 20]
Generated Node #0,0,1: 42:[22, 20] Operation: 60/3=20
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 42:[22, 20], Operations: ['54-32=22', '60/3=20']
Exploring Operation: 22-20=2, Resulting Numbers: [2]
2,42 unequal: No Solution
Exploring Operation: 22+20=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[54, 32, 60, 3], Operations: []
Exploring Operation: 54-32=22, Resulting Numbers: [60, 3, 22]
Generated Node #0,0: 42:[60, 3, 22] Operation: 54-32=22
Moving to Node #0,0
Current State: 42:[60, 3, 22], Operations: ['54-32=22']
Exploring Operation: 60/3=20, Resulting Numbers: [22, 20]
Generated Node #0,0,1: 42:[22, 20] Operation: 60/3=20
Moving to Node #0,0,1
Current State: 42:[22, 20], Operations: ['54-32=22', '60/3=20']
Exploring Operation: 22+20=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_2 | sum_heuristic |
[
21,
56,
39,
26
] | 63 | [
"56*39=2184",
"2184/26=84",
"84-21=63"
] | Current State: 63:[21, 56, 39, 26], Operations: []
Exploring Operation: 56*39=2184, Resulting Numbers: [21, 26, 2184]
Generated Node #2: [21, 26, 2184] from Operation: 56*39=2184
Current State: 63:[21, 26, 2184], Operations: ['56*39=2184']
Exploring Operation: 2184/26=84, Resulting Numbers: [21, 84]
Generated Node #3: [21, 84] from Operation: 2184/26=84
Current State: 63:[21, 84], Operations: ['56*39=2184', '2184/26=84']
Exploring Operation: 84-21=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[21, 56, 39, 26], Operations: []
Exploring Operation: 39+26=65, Resulting Numbers: [21, 56, 65]
Generated Node #0,0: 63:[21, 56, 65] Operation: 39+26=65
Exploring Operation: 56-39=17, Resulting Numbers: [21, 26, 17]
Generated Node #0,1: 63:[21, 26, 17] Operation: 56-39=17
Moving to Node #0,0
Current State: 63:[21, 56, 65], Operations: ['39+26=65']
Exploring Operation: 21+56=77, Resulting Numbers: [65, 77]
Generated Node #0,0,0: 63:[65, 77] Operation: 21+56=77
Exploring Operation: 65-56=9, Resulting Numbers: [21, 9]
Generated Node #0,0,1: 63:[21, 9] Operation: 65-56=9
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 63:[21, 9], Operations: ['39+26=65', '65-56=9']
Exploring Operation: 21-9=12, Resulting Numbers: [12]
12,63 unequal: No Solution
Exploring Operation: 21+9=30, Resulting Numbers: [30]
30,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 63:[65, 77], Operations: ['39+26=65', '21+56=77']
Exploring Operation: 65+77=142, Resulting Numbers: [142]
142,63 unequal: No Solution
Exploring Operation: 77-65=12, Resulting Numbers: [12]
12,63 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: 63:[21, 26, 17], Operations: ['56-39=17']
Exploring Operation: 26-21=5, Resulting Numbers: [17, 5]
Generated Node #0,1,0: 63:[17, 5] Operation: 26-21=5
Exploring Operation: 26-17=9, Resulting Numbers: [21, 9]
Generated Node #0,1,1: 63:[21, 9] Operation: 26-17=9
Moving to Node #0,1,1
Current State: 63:[21, 9], Operations: ['56-39=17', '26-17=9']
Exploring Operation: 21-9=12, Resulting Numbers: [12]
12,63 unequal: No Solution
Exploring Operation: 21+9=30, Resulting Numbers: [30]
30,63 unequal: No Solution
Moving to Node #0,1,0
Current State: 63:[17, 5], Operations: ['56-39=17', '26-21=5']
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,63 unequal: No Solution
Exploring Operation: 17+5=22, Resulting Numbers: [22]
22,63 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
66,
30,
10,
35
] | 81 | [
"66-30=36",
"10+35=45",
"36+45=81"
] | Current State: 81:[66, 30, 10, 35], Operations: []
Exploring Operation: 66-30=36, Resulting Numbers: [10, 35, 36]
Generated Node #2: [10, 35, 36] from Operation: 66-30=36
Current State: 81:[10, 35, 36], Operations: ['66-30=36']
Exploring Operation: 10+35=45, Resulting Numbers: [36, 45]
Generated Node #3: [36, 45] from Operation: 10+35=45
Current State: 81:[36, 45], Operations: ['66-30=36', '10+35=45']
Exploring Operation: 36+45=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[66, 30, 10, 35], Operations: []
Exploring Operation: 66+10=76, Resulting Numbers: [30, 35, 76]
Generated Node #0,0: 81:[30, 35, 76] Operation: 66+10=76
Exploring Operation: 66-35=31, Resulting Numbers: [30, 10, 31]
Generated Node #0,1: 81:[30, 10, 31] Operation: 66-35=31
Start Sub Search at level 1: Moving to Node #0,1
Current State: 81:[30, 10, 31], Operations: ['66-35=31']
Exploring Operation: 30/10=3, Resulting Numbers: [31, 3]
Generated Node #0,1,0: 81:[31, 3] Operation: 30/10=3
Exploring Operation: 31-30=1, Resulting Numbers: [10, 1]
Generated Node #0,1,1: 81:[10, 1] Operation: 31-30=1
Moving to Node #0,1,1
Current State: 81:[10, 1], Operations: ['66-35=31', '31-30=1']
Exploring Operation: 10*1=10, Resulting Numbers: [10]
10,81 unequal: No Solution
Exploring Operation: 10-1=9, Resulting Numbers: [9]
9,81 unequal: No Solution
Moving to Node #0,1,0
Current State: 81:[31, 3], Operations: ['66-35=31', '30/10=3']
Exploring Operation: 31+3=34, Resulting Numbers: [34]
34,81 unequal: No Solution
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[30, 35, 76], Operations: ['66+10=76']
Exploring Operation: 76-35=41, Resulting Numbers: [30, 41]
Generated Node #0,0,0: 81:[30, 41] Operation: 76-35=41
Exploring Operation: 35-30=5, Resulting Numbers: [76, 5]
Generated Node #0,0,1: 81:[76, 5] Operation: 35-30=5
Moving to Node #0,0,1
Current State: 81:[76, 5], Operations: ['66+10=76', '35-30=5']
Exploring Operation: 76-5=71, Resulting Numbers: [71]
71,81 unequal: No Solution
Exploring Operation: 76+5=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[66, 30, 10, 35], Operations: []
Exploring Operation: 66+10=76, Resulting Numbers: [30, 35, 76]
Generated Node #0,0: 81:[30, 35, 76] Operation: 66+10=76
Moving to Node #0,0
Current State: 81:[30, 35, 76], Operations: ['66+10=76']
Exploring Operation: 35-30=5, Resulting Numbers: [76, 5]
Generated Node #0,0,1: 81:[76, 5] Operation: 35-30=5
Moving to Node #0,0,1
Current State: 81:[76, 5], Operations: ['66+10=76', '35-30=5']
Exploring Operation: 76+5=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_2 | sum_heuristic |
[
13,
97,
2,
82
] | 26 | [
"13+97=110",
"2+82=84",
"110-84=26"
] | Current State: 26:[13, 97, 2, 82], Operations: []
Exploring Operation: 13+97=110, Resulting Numbers: [2, 82, 110]
Generated Node #2: [2, 82, 110] from Operation: 13+97=110
Current State: 26:[2, 82, 110], Operations: ['13+97=110']
Exploring Operation: 2+82=84, Resulting Numbers: [110, 84]
Generated Node #3: [110, 84] from Operation: 2+82=84
Current State: 26:[110, 84], Operations: ['13+97=110', '2+82=84']
Exploring Operation: 110-84=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[13, 97, 2, 82], Operations: []
Exploring Operation: 97-13=84, Resulting Numbers: [2, 82, 84]
Generated Node #0,0: 26:[2, 82, 84] Operation: 97-13=84
Exploring Operation: 82/2=41, Resulting Numbers: [13, 97, 41]
Generated Node #0,1: 26:[13, 97, 41] Operation: 82/2=41
Exploring Operation: 82-13=69, Resulting Numbers: [97, 2, 69]
Generated Node #0,2: 26:[97, 2, 69] Operation: 82-13=69
Exploring Operation: 97-82=15, Resulting Numbers: [13, 2, 15]
Generated Node #0,3: 26:[13, 2, 15] Operation: 97-82=15
Start Sub Search at level 1: Moving to Node #0,3
Current State: 26:[13, 2, 15], Operations: ['97-82=15']
Exploring Operation: 15-13=2, Resulting Numbers: [2, 2]
Generated Node #0,3,0: 26:[2, 2] Operation: 15-13=2
Exploring Operation: 15-2=13, Resulting Numbers: [13, 13]
Generated Node #0,3,1: 26:[13, 13] Operation: 15-2=13
Exploring Operation: 13+15=28, Resulting Numbers: [2, 28]
Generated Node #0,3,2: 26:[2, 28] Operation: 13+15=28
Exploring Operation: 13*2=26, Resulting Numbers: [15, 26]
Generated Node #0,3,3: 26:[15, 26] Operation: 13*2=26
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 26:[2, 2], Operations: ['97-82=15', '15-13=2']
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,26 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,26 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,26 unequal: No Solution
Exploring Operation: 2-2=0, Resulting Numbers: [0]
0,26 unequal: No Solution
No 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: 26:[13, 13], Operations: ['97-82=15', '15-2=13']
Exploring Operation: 13-13=0, Resulting Numbers: [0]
0,26 unequal: No Solution
Exploring Operation: 13/13=1, Resulting Numbers: [1]
1,26 unequal: No Solution
Exploring Operation: 13*13=169, Resulting Numbers: [169]
169,26 unequal: No Solution
Exploring Operation: 13+13=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[13, 97, 2, 82], Operations: []
Exploring Operation: 97-82=15, Resulting Numbers: [13, 2, 15]
Generated Node #0,3: 26:[13, 2, 15] Operation: 97-82=15
Moving to Node #0,3
Current State: 26:[13, 2, 15], Operations: ['97-82=15']
Exploring Operation: 15-2=13, Resulting Numbers: [13, 13]
Generated Node #0,3,1: 26:[13, 13] Operation: 15-2=13
Moving to Node #0,3,1
Current State: 26:[13, 13], Operations: ['97-82=15', '15-2=13']
Exploring Operation: 13+13=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.982639 | hs_4 | mult_heuristic |
[
25,
5,
98,
73
] | 45 | [
"25-5=20",
"98-73=25",
"20+25=45"
] | Current State: 45:[25, 5, 98, 73], Operations: []
Exploring Operation: 25-5=20, Resulting Numbers: [98, 73, 20]
Generated Node #2: [98, 73, 20] from Operation: 25-5=20
Current State: 45:[98, 73, 20], Operations: ['25-5=20']
Exploring Operation: 98-73=25, Resulting Numbers: [20, 25]
Generated Node #3: [20, 25] from Operation: 98-73=25
Current State: 45:[20, 25], Operations: ['25-5=20', '98-73=25']
Exploring Operation: 20+25=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[25, 5, 98, 73], Operations: []
Exploring Operation: 25/5=5, Resulting Numbers: [98, 73, 5]
Generated Node #0,0: 45:[98, 73, 5] Operation: 25/5=5
Exploring Operation: 98-73=25, Resulting Numbers: [25, 5, 25]
Generated Node #0,1: 45:[25, 5, 25] Operation: 98-73=25
Exploring Operation: 73-25=48, Resulting Numbers: [5, 98, 48]
Generated Node #0,2: 45:[5, 98, 48] Operation: 73-25=48
Exploring Operation: 98-25=73, Resulting Numbers: [5, 73, 73]
Generated Node #0,3: 45:[5, 73, 73] Operation: 98-25=73
Moving to Node #0,1
Current State: 45:[25, 5, 25], Operations: ['98-73=25']
Exploring Operation: 25+25=50, Resulting Numbers: [5, 50]
Generated Node #0,1,0: 45:[5, 50] Operation: 25+25=50
Exploring Operation: 25/25=1, Resulting Numbers: [5, 1]
Generated Node #0,1,1: 45:[5, 1] Operation: 25/25=1
Exploring Operation: 25-25=0, Resulting Numbers: [5, 0]
Generated Node #0,1,2: 45:[5, 0] Operation: 25-25=0
Exploring Operation: 25/5=5, Resulting Numbers: [25, 5]
Generated Node #0,1,3: 45:[25, 5] Operation: 25/5=5
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 45:[5, 1], Operations: ['98-73=25', '25/25=1']
Exploring Operation: 5/1=5, Resulting Numbers: [5]
5,45 unequal: No Solution
Exploring Operation: 5+1=6, Resulting Numbers: [6]
6,45 unequal: No Solution
Exploring Operation: 5*1=5, Resulting Numbers: [5]
5,45 unequal: No Solution
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 45:[5, 0], Operations: ['98-73=25', '25-25=0']
Exploring Operation: 5-0=5, Resulting Numbers: [5]
5,45 unequal: No Solution
Exploring Operation: 5+0=5, Resulting Numbers: [5]
5,45 unequal: No Solution
Exploring Operation: 5*0=0, Resulting Numbers: [0]
0,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 45:[5, 50], Operations: ['98-73=25', '25+25=50']
Exploring Operation: 50-5=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[25, 5, 98, 73], Operations: []
Exploring Operation: 98-73=25, Resulting Numbers: [25, 5, 25]
Generated Node #0,1: 45:[25, 5, 25] Operation: 98-73=25
Moving to Node #0,1
Current State: 45:[25, 5, 25], Operations: ['98-73=25']
Exploring Operation: 25+25=50, Resulting Numbers: [5, 50]
Generated Node #0,1,0: 45:[5, 50] Operation: 25+25=50
Moving to Node #0,1,0
Current State: 45:[5, 50], Operations: ['98-73=25', '25+25=50']
Exploring Operation: 50-5=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_4 | mult_heuristic |
[
18,
91,
87,
69
] | 90 | [
"87-18=69",
"69/69=1",
"91-1=90"
] | Current State: 90:[18, 91, 87, 69], Operations: []
Exploring Operation: 87-18=69, Resulting Numbers: [91, 69, 69]
Generated Node #2: [91, 69, 69] from Operation: 87-18=69
Current State: 90:[91, 69, 69], Operations: ['87-18=69']
Exploring Operation: 69/69=1, Resulting Numbers: [91, 1]
Generated Node #3: [91, 1] from Operation: 69/69=1
Current State: 90:[91, 1], Operations: ['87-18=69', '69/69=1']
Exploring Operation: 91-1=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[18, 91, 87, 69], Operations: []
Exploring Operation: 69-18=51, Resulting Numbers: [91, 87, 51]
Generated Node #0,0: 90:[91, 87, 51] Operation: 69-18=51
Exploring Operation: 87-69=18, Resulting Numbers: [18, 91, 18]
Generated Node #0,1: 90:[18, 91, 18] Operation: 87-69=18
Exploring Operation: 91-69=22, Resulting Numbers: [18, 87, 22]
Generated Node #0,2: 90:[18, 87, 22] Operation: 91-69=22
Exploring Operation: 18+69=87, Resulting Numbers: [91, 87, 87]
Generated Node #0,3: 90:[91, 87, 87] Operation: 18+69=87
Start Sub Search at level 1: Moving to Node #0,1
Current State: 90:[18, 91, 18], Operations: ['87-69=18']
Exploring Operation: 91-18=73, Resulting Numbers: [18, 73]
Generated Node #0,1,0: 90:[18, 73] Operation: 91-18=73
Exploring Operation: 18+18=36, Resulting Numbers: [91, 36]
Generated Node #0,1,1: 90:[91, 36] Operation: 18+18=36
Exploring Operation: 18/18=1, Resulting Numbers: [91, 1]
Generated Node #0,1,2: 90:[91, 1] Operation: 18/18=1
Exploring Operation: 18-18=0, Resulting Numbers: [91, 0]
Generated Node #0,1,3: 90:[91, 0] Operation: 18-18=0
Moving to Node #0,1,2
Current State: 90:[91, 1], Operations: ['87-69=18', '18/18=1']
Exploring Operation: 91-1=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[18, 91, 87, 69], Operations: []
Exploring Operation: 87-69=18, Resulting Numbers: [18, 91, 18]
Generated Node #0,1: 90:[18, 91, 18] Operation: 87-69=18
Moving to Node #0,1
Current State: 90:[18, 91, 18], Operations: ['87-69=18']
Exploring Operation: 18/18=1, Resulting Numbers: [91, 1]
Generated Node #0,1,2: 90:[91, 1] Operation: 18/18=1
Moving to Node #0,1,2
Current State: 90:[91, 1], Operations: ['87-69=18', '18/18=1']
Exploring Operation: 91-1=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
52,
11,
80,
53
] | 14 | [
"52-11=41",
"80-53=27",
"41-27=14"
] | Current State: 14:[52, 11, 80, 53], Operations: []
Exploring Operation: 52-11=41, Resulting Numbers: [80, 53, 41]
Generated Node #2: [80, 53, 41] from Operation: 52-11=41
Current State: 14:[80, 53, 41], Operations: ['52-11=41']
Exploring Operation: 80-53=27, Resulting Numbers: [41, 27]
Generated Node #3: [41, 27] from Operation: 80-53=27
Current State: 14:[41, 27], Operations: ['52-11=41', '80-53=27']
Exploring Operation: 41-27=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[52, 11, 80, 53], Operations: []
Exploring Operation: 80-53=27, Resulting Numbers: [52, 11, 27]
Generated Node #0,0: 14:[52, 11, 27] Operation: 80-53=27
Exploring Operation: 80-52=28, Resulting Numbers: [11, 53, 28]
Generated Node #0,1: 14:[11, 53, 28] Operation: 80-52=28
Moving to Node #0,0
Current State: 14:[52, 11, 27], Operations: ['80-53=27']
Exploring Operation: 52-27=25, Resulting Numbers: [11, 25]
Generated Node #0,0,0: 14:[11, 25] Operation: 52-27=25
Exploring Operation: 52-11=41, Resulting Numbers: [27, 41]
Generated Node #0,0,1: 14:[27, 41] Operation: 52-11=41
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 14:[11, 25], Operations: ['80-53=27', '52-27=25']
Exploring Operation: 25-11=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[52, 11, 80, 53], Operations: []
Exploring Operation: 80-53=27, Resulting Numbers: [52, 11, 27]
Generated Node #0,0: 14:[52, 11, 27] Operation: 80-53=27
Moving to Node #0,0
Current State: 14:[52, 11, 27], Operations: ['80-53=27']
Exploring Operation: 52-27=25, Resulting Numbers: [11, 25]
Generated Node #0,0,0: 14:[11, 25] Operation: 52-27=25
Moving to Node #0,0,0
Current State: 14:[11, 25], Operations: ['80-53=27', '52-27=25']
Exploring Operation: 25-11=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
84,
9,
74,
19
] | 38 | [
"84+9=93",
"74-19=55",
"93-55=38"
] | Current State: 38:[84, 9, 74, 19], Operations: []
Exploring Operation: 84+9=93, Resulting Numbers: [74, 19, 93]
Generated Node #2: [74, 19, 93] from Operation: 84+9=93
Current State: 38:[74, 19, 93], Operations: ['84+9=93']
Exploring Operation: 74-19=55, Resulting Numbers: [93, 55]
Generated Node #3: [93, 55] from Operation: 74-19=55
Current State: 38:[93, 55], Operations: ['84+9=93', '74-19=55']
Exploring Operation: 93-55=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[84, 9, 74, 19], Operations: []
Exploring Operation: 84-19=65, Resulting Numbers: [9, 74, 65]
Generated Node #0,0: 38:[9, 74, 65] Operation: 84-19=65
Exploring Operation: 84-74=10, Resulting Numbers: [9, 19, 10]
Generated Node #0,1: 38:[9, 19, 10] Operation: 84-74=10
Start Sub Search at level 1: Moving to Node #0,1
Current State: 38:[9, 19, 10], Operations: ['84-74=10']
Exploring Operation: 10-9=1, Resulting Numbers: [19, 1]
Generated Node #0,1,0: 38:[19, 1] Operation: 10-9=1
Exploring Operation: 9+10=19, Resulting Numbers: [19, 19]
Generated Node #0,1,1: 38:[19, 19] Operation: 9+10=19
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 38:[19, 19], Operations: ['84-74=10', '9+10=19']
Exploring Operation: 19+19=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[84, 9, 74, 19], Operations: []
Exploring Operation: 84-74=10, Resulting Numbers: [9, 19, 10]
Generated Node #0,1: 38:[9, 19, 10] Operation: 84-74=10
Moving to Node #0,1
Current State: 38:[9, 19, 10], Operations: ['84-74=10']
Exploring Operation: 9+10=19, Resulting Numbers: [19, 19]
Generated Node #0,1,1: 38:[19, 19] Operation: 9+10=19
Moving to Node #0,1,1
Current State: 38:[19, 19], Operations: ['84-74=10', '9+10=19']
Exploring Operation: 19+19=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
1,
30,
90,
28
] | 24 | [
"28-1=27",
"90/30=3",
"27-3=24"
] | Current State: 24:[1, 30, 90, 28], Operations: []
Exploring Operation: 28-1=27, Resulting Numbers: [30, 90, 27]
Generated Node #2: [30, 90, 27] from Operation: 28-1=27
Current State: 24:[30, 90, 27], Operations: ['28-1=27']
Exploring Operation: 90/30=3, Resulting Numbers: [27, 3]
Generated Node #3: [27, 3] from Operation: 90/30=3
Current State: 24:[27, 3], Operations: ['28-1=27', '90/30=3']
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[1, 30, 90, 28], Operations: []
Exploring Operation: 90-28=62, Resulting Numbers: [1, 30, 62]
Generated Node #0,0: 24:[1, 30, 62] Operation: 90-28=62
Exploring Operation: 30-28=2, Resulting Numbers: [1, 90, 2]
Generated Node #0,1: 24:[1, 90, 2] Operation: 30-28=2
Exploring Operation: 30-1=29, Resulting Numbers: [90, 28, 29]
Generated Node #0,2: 24:[90, 28, 29] Operation: 30-1=29
Exploring Operation: 90/30=3, Resulting Numbers: [1, 28, 3]
Generated Node #0,3: 24:[1, 28, 3] Operation: 90/30=3
Exploring Operation: 90-30=60, Resulting Numbers: [1, 28, 60]
Generated Node #0,4: 24:[1, 28, 60] Operation: 90-30=60
Start Sub Search at level 1: Moving to Node #0,3
Current State: 24:[1, 28, 3], Operations: ['90/30=3']
Exploring Operation: 28-3=25, Resulting Numbers: [1, 25]
Generated Node #0,3,0: 24:[1, 25] Operation: 28-3=25
Exploring Operation: 28/1=28, Resulting Numbers: [3, 28]
Generated Node #0,3,1: 24:[3, 28] Operation: 28/1=28
Exploring Operation: 1+3=4, Resulting Numbers: [28, 4]
Generated Node #0,3,2: 24:[28, 4] Operation: 1+3=4
Exploring Operation: 1*28=28, Resulting Numbers: [3, 28]
Generated Node #0,3,3: 24:[3, 28] Operation: 1*28=28
Exploring Operation: 28-1=27, Resulting Numbers: [3, 27]
Generated Node #0,3,4: 24:[3, 27] Operation: 28-1=27
Moving to Node #0,3,0
Current State: 24:[1, 25], Operations: ['90/30=3', '28-3=25']
Exploring Operation: 25/1=25, Resulting Numbers: [25]
25,24 unequal: No Solution
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[1, 30, 90, 28], Operations: []
Exploring Operation: 90/30=3, Resulting Numbers: [1, 28, 3]
Generated Node #0,3: 24:[1, 28, 3] Operation: 90/30=3
Moving to Node #0,3
Current State: 24:[1, 28, 3], Operations: ['90/30=3']
Exploring Operation: 28-3=25, Resulting Numbers: [1, 25]
Generated Node #0,3,0: 24:[1, 25] Operation: 28-3=25
Moving to Node #0,3,0
Current State: 24:[1, 25], Operations: ['90/30=3', '28-3=25']
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
16,
52,
3,
67
] | 93 | [
"52-16=36",
"67-36=31",
"3*31=93"
] | Current State: 93:[16, 52, 3, 67], Operations: []
Exploring Operation: 52-16=36, Resulting Numbers: [3, 67, 36]
Generated Node #2: [3, 67, 36] from Operation: 52-16=36
Current State: 93:[3, 67, 36], Operations: ['52-16=36']
Exploring Operation: 67-36=31, Resulting Numbers: [3, 31]
Generated Node #3: [3, 31] from Operation: 67-36=31
Current State: 93:[3, 31], Operations: ['52-16=36', '67-36=31']
Exploring Operation: 3*31=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[16, 52, 3, 67], Operations: []
Exploring Operation: 16+67=83, Resulting Numbers: [52, 3, 83]
Generated Node #0,0: 93:[52, 3, 83] Operation: 16+67=83
Exploring Operation: 52-16=36, Resulting Numbers: [3, 67, 36]
Generated Node #0,1: 93:[3, 67, 36] Operation: 52-16=36
Exploring Operation: 67-52=15, Resulting Numbers: [16, 3, 15]
Generated Node #0,2: 93:[16, 3, 15] Operation: 67-52=15
Exploring Operation: 52+67=119, Resulting Numbers: [16, 3, 119]
Generated Node #0,3: 93:[16, 3, 119] Operation: 52+67=119
Moving to Node #0,2
Current State: 93:[16, 3, 15], Operations: ['67-52=15']
Exploring Operation: 15/3=5, Resulting Numbers: [16, 5]
Generated Node #0,2,0: 93:[16, 5] Operation: 15/3=5
Exploring Operation: 16-3=13, Resulting Numbers: [15, 13]
Generated Node #0,2,1: 93:[15, 13] Operation: 16-3=13
Exploring Operation: 16+15=31, Resulting Numbers: [3, 31]
Generated Node #0,2,2: 93:[3, 31] Operation: 16+15=31
Exploring Operation: 16-15=1, Resulting Numbers: [3, 1]
Generated Node #0,2,3: 93:[3, 1] Operation: 16-15=1
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 93:[3, 31], Operations: ['67-52=15', '16+15=31']
Exploring Operation: 3*31=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[16, 52, 3, 67], Operations: []
Exploring Operation: 67-52=15, Resulting Numbers: [16, 3, 15]
Generated Node #0,2: 93:[16, 3, 15] Operation: 67-52=15
Moving to Node #0,2
Current State: 93:[16, 3, 15], Operations: ['67-52=15']
Exploring Operation: 16+15=31, Resulting Numbers: [3, 31]
Generated Node #0,2,2: 93:[3, 31] Operation: 16+15=31
Moving to Node #0,2,2
Current State: 93:[3, 31], Operations: ['67-52=15', '16+15=31']
Exploring Operation: 3*31=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
14,
26,
66,
25
] | 20 | [
"25-14=11",
"66/11=6",
"26-6=20"
] | Current State: 20:[14, 26, 66, 25], Operations: []
Exploring Operation: 25-14=11, Resulting Numbers: [26, 66, 11]
Generated Node #2: [26, 66, 11] from Operation: 25-14=11
Current State: 20:[26, 66, 11], Operations: ['25-14=11']
Exploring Operation: 66/11=6, Resulting Numbers: [26, 6]
Generated Node #3: [26, 6] from Operation: 66/11=6
Current State: 20:[26, 6], Operations: ['25-14=11', '66/11=6']
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[14, 26, 66, 25], Operations: []
Exploring Operation: 66-26=40, Resulting Numbers: [14, 25, 40]
Generated Node #0,0: 20:[14, 25, 40] Operation: 66-26=40
Moving to Node #0,0
Current State: 20:[14, 25, 40], Operations: ['66-26=40']
Exploring Operation: 40-25=15, Resulting Numbers: [14, 15]
Generated Node #0,0,0: 20:[14, 15] Operation: 40-25=15
Moving to Node #0,0,0
Current State: 20:[14, 15], Operations: ['66-26=40', '40-25=15']
Exploring Operation: 15-14=1, Resulting Numbers: [1]
1,20 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
63,
82,
9,
93
] | 25 | [
"63/9=7",
"82+93=175",
"175/7=25"
] | Current State: 25:[63, 82, 9, 93], Operations: []
Exploring Operation: 63/9=7, Resulting Numbers: [82, 93, 7]
Generated Node #2: [82, 93, 7] from Operation: 63/9=7
Current State: 25:[82, 93, 7], Operations: ['63/9=7']
Exploring Operation: 82+93=175, Resulting Numbers: [7, 175]
Generated Node #3: [7, 175] from Operation: 82+93=175
Current State: 25:[7, 175], Operations: ['63/9=7', '82+93=175']
Exploring Operation: 175/7=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[63, 82, 9, 93], Operations: []
Exploring Operation: 93-82=11, Resulting Numbers: [63, 9, 11]
Generated Node #0,0: 25:[63, 9, 11] Operation: 93-82=11
Exploring Operation: 93-63=30, Resulting Numbers: [82, 9, 30]
Generated Node #0,1: 25:[82, 9, 30] Operation: 93-63=30
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[63, 9, 11], Operations: ['93-82=11']
Exploring Operation: 63-11=52, Resulting Numbers: [9, 52]
Generated Node #0,0,0: 25:[9, 52] Operation: 63-11=52
Exploring Operation: 63/9=7, Resulting Numbers: [11, 7]
Generated Node #0,0,1: 25:[11, 7] Operation: 63/9=7
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 25:[11, 7], Operations: ['93-82=11', '63/9=7']
Exploring Operation: 11+7=18, Resulting Numbers: [18]
18,25 unequal: No Solution
Exploring Operation: 11-7=4, Resulting Numbers: [4]
4,25 unequal: No Solution
No 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: 25:[9, 52], Operations: ['93-82=11', '63-11=52']
Exploring Operation: 9+52=61, Resulting Numbers: [61]
61,25 unequal: No Solution
Exploring Operation: 52-9=43, Resulting Numbers: [43]
43,25 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: 25:[82, 9, 30], Operations: ['93-63=30']
Exploring Operation: 82-9=73, Resulting Numbers: [30, 73]
Generated Node #0,1,0: 25:[30, 73] Operation: 82-9=73
Exploring Operation: 82-30=52, Resulting Numbers: [9, 52]
Generated Node #0,1,1: 25:[9, 52] Operation: 82-30=52
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 25:[9, 52], Operations: ['93-63=30', '82-30=52']
Exploring Operation: 52-9=43, Resulting Numbers: [43]
43,25 unequal: No Solution
Exploring Operation: 9+52=61, Resulting Numbers: [61]
61,25 unequal: No Solution
No 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: 25:[30, 73], Operations: ['93-63=30', '82-9=73']
Exploring Operation: 73-30=43, Resulting Numbers: [43]
43,25 unequal: No Solution
Exploring Operation: 30+73=103, Resulting Numbers: [103]
103,25 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 |
[
14,
22,
7,
25
] | 24 | [
"22-14=8",
"7+25=32",
"32-8=24"
] | Current State: 24:[14, 22, 7, 25], Operations: []
Exploring Operation: 22-14=8, Resulting Numbers: [7, 25, 8]
Generated Node #2: [7, 25, 8] from Operation: 22-14=8
Current State: 24:[7, 25, 8], Operations: ['22-14=8']
Exploring Operation: 7+25=32, Resulting Numbers: [8, 32]
Generated Node #3: [8, 32] from Operation: 7+25=32
Current State: 24:[8, 32], Operations: ['22-14=8', '7+25=32']
Exploring Operation: 32-8=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[14, 22, 7, 25], Operations: []
Exploring Operation: 14/7=2, Resulting Numbers: [22, 25, 2]
Generated Node #0,0: 24:[22, 25, 2] Operation: 14/7=2
Exploring Operation: 25-14=11, Resulting Numbers: [22, 7, 11]
Generated Node #0,1: 24:[22, 7, 11] Operation: 25-14=11
Exploring Operation: 14-7=7, Resulting Numbers: [22, 25, 7]
Generated Node #0,2: 24:[22, 25, 7] Operation: 14-7=7
Exploring Operation: 22-14=8, Resulting Numbers: [7, 25, 8]
Generated Node #0,3: 24:[7, 25, 8] Operation: 22-14=8
Exploring Operation: 25-22=3, Resulting Numbers: [14, 7, 3]
Generated Node #0,4: 24:[14, 7, 3] Operation: 25-22=3
Moving to Node #0,3
Current State: 24:[7, 25, 8], Operations: ['22-14=8']
Exploring Operation: 8-7=1, Resulting Numbers: [25, 1]
Generated Node #0,3,0: 24:[25, 1] Operation: 8-7=1
Exploring Operation: 7+25=32, Resulting Numbers: [8, 32]
Generated Node #0,3,1: 24:[8, 32] Operation: 7+25=32
Exploring Operation: 7+8=15, Resulting Numbers: [25, 15]
Generated Node #0,3,2: 24:[25, 15] Operation: 7+8=15
Exploring Operation: 25-8=17, Resulting Numbers: [7, 17]
Generated Node #0,3,3: 24:[7, 17] Operation: 25-8=17
Exploring Operation: 25-7=18, Resulting Numbers: [8, 18]
Generated Node #0,3,4: 24:[8, 18] Operation: 25-7=18
Moving to Node #0,4
Current State: 24:[14, 7, 3], Operations: ['25-22=3']
Exploring Operation: 14-3=11, Resulting Numbers: [7, 11]
Generated Node #0,4,0: 24:[7, 11] Operation: 14-3=11
Exploring Operation: 14/7=2, Resulting Numbers: [3, 2]
Generated Node #0,4,1: 24:[3, 2] Operation: 14/7=2
Exploring Operation: 7-3=4, Resulting Numbers: [14, 4]
Generated Node #0,4,2: 24:[14, 4] Operation: 7-3=4
Exploring Operation: 14-7=7, Resulting Numbers: [3, 7]
Generated Node #0,4,3: 24:[3, 7] Operation: 14-7=7
Exploring Operation: 14+7=21, Resulting Numbers: [3, 21]
Generated Node #0,4,4: 24:[3, 21] Operation: 14+7=21
Moving to Node #0,0
Current State: 24:[22, 25, 2], Operations: ['14/7=2']
Exploring Operation: 22/2=11, Resulting Numbers: [25, 11]
Generated Node #0,0,0: 24:[25, 11] Operation: 22/2=11
Exploring Operation: 22-2=20, Resulting Numbers: [25, 20]
Generated Node #0,0,1: 24:[25, 20] Operation: 22-2=20
Exploring Operation: 25-2=23, Resulting Numbers: [22, 23]
Generated Node #0,0,2: 24:[22, 23] Operation: 25-2=23
Exploring Operation: 22+2=24, Resulting Numbers: [25, 24]
Generated Node #0,0,3: 24:[25, 24] Operation: 22+2=24
Exploring Operation: 25-22=3, Resulting Numbers: [2, 3]
Generated Node #0,0,4: 24:[2, 3] Operation: 25-22=3
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 24:[2, 3], Operations: ['14/7=2', '25-22=3']
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,24 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,24 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 24:[25, 24], Operations: ['14/7=2', '22+2=24']
Exploring Operation: 25-24=1, Resulting Numbers: [1]
1,24 unequal: No Solution
Exploring Operation: 25*24=600, Resulting Numbers: [600]
600,24 unequal: No Solution
Exploring Operation: 25+24=49, Resulting Numbers: [49]
49,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 24:[25, 11], Operations: ['14/7=2', '22/2=11']
Exploring Operation: 25-11=14, Resulting Numbers: [14]
14,24 unequal: No Solution
Exploring Operation: 25+11=36, Resulting Numbers: [36]
36,24 unequal: No Solution
Exploring Operation: 25*11=275, Resulting Numbers: [275]
275,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 24:[22, 23], Operations: ['14/7=2', '25-2=23']
Exploring Operation: 22*23=506, Resulting Numbers: [506]
506,24 unequal: No Solution
Exploring Operation: 23-22=1, Resulting Numbers: [1]
1,24 unequal: No Solution
Exploring Operation: 22+23=45, Resulting Numbers: [45]
45,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 24:[25, 20], Operations: ['14/7=2', '22-2=20']
Exploring Operation: 25*20=500, Resulting Numbers: [500]
500,24 unequal: No Solution
Exploring Operation: 25-20=5, Resulting Numbers: [5]
5,24 unequal: No Solution
Exploring Operation: 25+20=45, Resulting Numbers: [45]
45,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 24:[22, 7, 11], Operations: ['25-14=11']
Exploring Operation: 22-11=11, Resulting Numbers: [7, 11]
Generated Node #0,1,0: 24:[7, 11] Operation: 22-11=11
Exploring Operation: 22+7=29, Resulting Numbers: [11, 29]
Generated Node #0,1,1: 24:[11, 29] Operation: 22+7=29
Exploring Operation: 22-7=15, Resulting Numbers: [11, 15]
Generated Node #0,1,2: 24:[11, 15] Operation: 22-7=15
Exploring Operation: 22/11=2, Resulting Numbers: [7, 2]
Generated Node #0,1,3: 24:[7, 2] Operation: 22/11=2
Exploring Operation: 11-7=4, Resulting Numbers: [22, 4]
Generated Node #0,1,4: 24:[22, 4] Operation: 11-7=4
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 24:[7, 2], Operations: ['25-14=11', '22/11=2']
Exploring Operation: 7+2=9, Resulting Numbers: [9]
9,24 unequal: No Solution
Exploring Operation: 7*2=14, Resulting Numbers: [14]
14,24 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 24:[7, 11], Operations: ['25-14=11', '22-11=11']
Exploring Operation: 7*11=77, Resulting Numbers: [77]
77,24 unequal: No Solution
Exploring Operation: 7+11=18, Resulting Numbers: [18]
18,24 unequal: No Solution
Exploring Operation: 11-7=4, Resulting Numbers: [4]
4,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 24:[22, 4], Operations: ['25-14=11', '11-7=4']
Exploring Operation: 22*4=88, Resulting Numbers: [88]
88,24 unequal: No Solution
Exploring Operation: 22+4=26, Resulting Numbers: [26]
26,24 unequal: No Solution
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 24:[11, 15], Operations: ['25-14=11', '22-7=15']
Exploring Operation: 11+15=26, Resulting Numbers: [26]
26,24 unequal: No Solution
Exploring Operation: 11*15=165, Resulting Numbers: [165]
165,24 unequal: No Solution
Exploring Operation: 15-11=4, Resulting Numbers: [4]
4,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 24:[11, 29], Operations: ['25-14=11', '22+7=29']
Exploring Operation: 11*29=319, Resulting Numbers: [319]
319,24 unequal: No Solution
Exploring Operation: 11+29=40, Resulting Numbers: [40]
40,24 unequal: No Solution
Exploring Operation: 29-11=18, Resulting Numbers: [18]
18,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 24:[22, 25, 7], Operations: ['14-7=7']
Exploring Operation: 22+7=29, Resulting Numbers: [25, 29]
Generated Node #0,2,0: 24:[25, 29] Operation: 22+7=29
Exploring Operation: 22-7=15, Resulting Numbers: [25, 15]
Generated Node #0,2,1: 24:[25, 15] Operation: 22-7=15
Exploring Operation: 25-7=18, Resulting Numbers: [22, 18]
Generated Node #0,2,2: 24:[22, 18] Operation: 25-7=18
Exploring Operation: 25-22=3, Resulting Numbers: [7, 3]
Generated Node #0,2,3: 24:[7, 3] Operation: 25-22=3
Exploring Operation: 25+7=32, Resulting Numbers: [22, 32]
Generated Node #0,2,4: 24:[22, 32] Operation: 25+7=32
Moving to Node #0,4,1
Current State: 24:[3, 2], Operations: ['25-22=3', '14/7=2']
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,24 unequal: No Solution
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,24 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,24 unequal: No Solution
Moving to Node #0,4,3
Current State: 24:[3, 7], Operations: ['25-22=3', '14-7=7']
Exploring Operation: 3*7=21, Resulting Numbers: [21]
21,24 unequal: No Solution
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,24 unequal: No Solution
Exploring Operation: 3+7=10, Resulting Numbers: [10]
10,24 unequal: No Solution
Moving to Node #0,2,3
Current State: 24:[7, 3], Operations: ['14-7=7', '25-22=3']
Exploring Operation: 7+3=10, Resulting Numbers: [10]
10,24 unequal: No Solution
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,24 unequal: No Solution
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,24 unequal: No Solution
Moving to Node #0,3,0
Current State: 24:[25, 1], Operations: ['22-14=8', '8-7=1']
Exploring Operation: 25+1=26, Resulting Numbers: [26]
26,24 unequal: No Solution
Exploring Operation: 25*1=25, Resulting Numbers: [25]
25,24 unequal: No Solution
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[14, 22, 7, 25], Operations: []
Exploring Operation: 22-14=8, Resulting Numbers: [7, 25, 8]
Generated Node #0,3: 24:[7, 25, 8] Operation: 22-14=8
Moving to Node #0,3
Current State: 24:[7, 25, 8], Operations: ['22-14=8']
Exploring Operation: 8-7=1, Resulting Numbers: [25, 1]
Generated Node #0,3,0: 24:[25, 1] Operation: 8-7=1
Moving to Node #0,3,0
Current State: 24:[25, 1], Operations: ['22-14=8', '8-7=1']
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 0.934028 | hs_5 | mult_heuristic |
[
27,
9,
92,
9
] | 88 | [
"27+9=36",
"36/9=4",
"92-4=88"
] | Current State: 88:[27, 9, 92, 9], Operations: []
Exploring Operation: 27+9=36, Resulting Numbers: [92, 36]
Generated Node #2: [92, 36] from Operation: 27+9=36
Current State: 88:[92, 36], Operations: ['27+9=36']
Exploring Operation: 36/9=4, Resulting Numbers: [92, 4]
Generated Node #3: [92, 4] from Operation: 36/9=4
Current State: 88:[92, 4], Operations: ['27+9=36', '36/9=4']
Exploring Operation: 92-4=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[27, 9, 92, 9], Operations: []
Exploring Operation: 27/9=3, Resulting Numbers: [92, 9, 3]
Generated Node #0,0: 88:[92, 9, 3] Operation: 27/9=3
Exploring Operation: 27-9=18, Resulting Numbers: [92, 9, 18]
Generated Node #0,1: 88:[92, 9, 18] Operation: 27-9=18
Exploring Operation: 27/9=3, Resulting Numbers: [9, 92, 3]
Generated Node #0,2: 88:[9, 92, 3] Operation: 27/9=3
Moving to Node #0,0
Current State: 88:[92, 9, 3], Operations: ['27/9=3']
Exploring Operation: 9/3=3, Resulting Numbers: [92, 3]
Generated Node #0,0,0: 88:[92, 3] Operation: 9/3=3
Exploring Operation: 9+3=12, Resulting Numbers: [92, 12]
Generated Node #0,0,1: 88:[92, 12] Operation: 9+3=12
Exploring Operation: 92-3=89, Resulting Numbers: [9, 89]
Generated Node #0,0,2: 88:[9, 89] Operation: 92-3=89
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 88:[9, 89], Operations: ['27/9=3', '92-3=89']
Exploring Operation: 89-9=80, Resulting Numbers: [80]
80,88 unequal: No Solution
Exploring Operation: 9*89=801, Resulting Numbers: [801]
801,88 unequal: No Solution
Exploring Operation: 9+89=98, Resulting Numbers: [98]
98,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 88:[92, 3], Operations: ['27/9=3', '9/3=3']
Exploring Operation: 92+3=95, Resulting Numbers: [95]
95,88 unequal: No Solution
Exploring Operation: 92-3=89, Resulting Numbers: [89]
89,88 unequal: No Solution
Exploring Operation: 92*3=276, Resulting Numbers: [276]
276,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 88:[92, 12], Operations: ['27/9=3', '9+3=12']
Exploring Operation: 92*12=1104, Resulting Numbers: [1104]
1104,88 unequal: No Solution
Exploring Operation: 92-12=80, Resulting Numbers: [80]
80,88 unequal: No Solution
Exploring Operation: 92+12=104, Resulting Numbers: [104]
104,88 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: 88:[9, 92, 3], Operations: ['27/9=3']
Exploring Operation: 9/3=3, Resulting Numbers: [92, 3]
Generated Node #0,2,0: 88:[92, 3] Operation: 9/3=3
Exploring Operation: 92-3=89, Resulting Numbers: [9, 89]
Generated Node #0,2,1: 88:[9, 89] Operation: 92-3=89
Exploring Operation: 9+3=12, Resulting Numbers: [92, 12]
Generated Node #0,2,2: 88:[92, 12] Operation: 9+3=12
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 88:[9, 89], Operations: ['27/9=3', '92-3=89']
Exploring Operation: 9+89=98, Resulting Numbers: [98]
98,88 unequal: No Solution
Exploring Operation: 89-9=80, Resulting Numbers: [80]
80,88 unequal: No Solution
Exploring Operation: 9*89=801, Resulting Numbers: [801]
801,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,0
Current State: 88:[92, 3], Operations: ['27/9=3', '9/3=3']
Exploring Operation: 92*3=276, Resulting Numbers: [276]
276,88 unequal: No Solution
Exploring Operation: 92+3=95, Resulting Numbers: [95]
95,88 unequal: No Solution
Exploring Operation: 92-3=89, Resulting Numbers: [89]
89,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,2
Current State: 88:[92, 12], Operations: ['27/9=3', '9+3=12']
Exploring Operation: 92+12=104, Resulting Numbers: [104]
104,88 unequal: No Solution
Exploring Operation: 92*12=1104, Resulting Numbers: [1104]
1104,88 unequal: No Solution
Exploring Operation: 92-12=80, Resulting Numbers: [80]
80,88 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: 88:[92, 9, 18], Operations: ['27-9=18']
Exploring Operation: 18/9=2, Resulting Numbers: [92, 2]
Generated Node #0,1,0: 88:[92, 2] Operation: 18/9=2
Exploring Operation: 18-9=9, Resulting Numbers: [92, 9]
Generated Node #0,1,1: 88:[92, 9] Operation: 18-9=9
Exploring Operation: 92-9=83, Resulting Numbers: [18, 83]
Generated Node #0,1,2: 88:[18, 83] Operation: 92-9=83
Moving to Node #0,1,0
Current State: 88:[92, 2], Operations: ['27-9=18', '18/9=2']
Exploring Operation: 92/2=46, Resulting Numbers: [46]
46,88 unequal: No Solution
Exploring Operation: 92+2=94, Resulting Numbers: [94]
94,88 unequal: No Solution
Exploring Operation: 92-2=90, Resulting Numbers: [90]
90,88 unequal: No Solution
Moving to Node #0,1,1
Current State: 88:[92, 9], Operations: ['27-9=18', '18-9=9']
Exploring Operation: 92*9=828, Resulting Numbers: [828]
828,88 unequal: No Solution
Exploring Operation: 92-9=83, Resulting Numbers: [83]
83,88 unequal: No Solution
Exploring Operation: 92+9=101, Resulting Numbers: [101]
101,88 unequal: No Solution
Moving to Node #0,1,2
Current State: 88:[18, 83], Operations: ['27-9=18', '92-9=83']
Exploring Operation: 18+83=101, Resulting Numbers: [101]
101,88 unequal: No Solution
Exploring Operation: 83-18=65, Resulting Numbers: [65]
65,88 unequal: No Solution
Exploring Operation: 18*83=1494, Resulting Numbers: [1494]
1494,88 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
17,
33,
71,
9
] | 78 | [
"17*33=561",
"71*9=639",
"639-561=78"
] | Current State: 78:[17, 33, 71, 9], Operations: []
Exploring Operation: 17*33=561, Resulting Numbers: [71, 9, 561]
Generated Node #2: [71, 9, 561] from Operation: 17*33=561
Current State: 78:[71, 9, 561], Operations: ['17*33=561']
Exploring Operation: 71*9=639, Resulting Numbers: [561, 639]
Generated Node #3: [561, 639] from Operation: 71*9=639
Current State: 78:[561, 639], Operations: ['17*33=561', '71*9=639']
Exploring Operation: 639-561=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[17, 33, 71, 9], Operations: []
Exploring Operation: 71-33=38, Resulting Numbers: [17, 9, 38]
Generated Node #0,0: 78:[17, 9, 38] Operation: 71-33=38
Exploring Operation: 17+9=26, Resulting Numbers: [33, 71, 26]
Generated Node #0,1: 78:[33, 71, 26] Operation: 17+9=26
Exploring Operation: 71+9=80, Resulting Numbers: [17, 33, 80]
Generated Node #0,2: 78:[17, 33, 80] Operation: 71+9=80
Exploring Operation: 33-17=16, Resulting Numbers: [71, 9, 16]
Generated Node #0,3: 78:[71, 9, 16] Operation: 33-17=16
Moving to Node #0,0
Current State: 78:[17, 9, 38], Operations: ['71-33=38']
Exploring Operation: 17+9=26, Resulting Numbers: [38, 26]
Generated Node #0,0,0: 78:[38, 26] Operation: 17+9=26
Exploring Operation: 38-9=29, Resulting Numbers: [17, 29]
Generated Node #0,0,1: 78:[17, 29] Operation: 38-9=29
Exploring Operation: 17-9=8, Resulting Numbers: [38, 8]
Generated Node #0,0,2: 78:[38, 8] Operation: 17-9=8
Exploring Operation: 38-17=21, Resulting Numbers: [9, 21]
Generated Node #0,0,3: 78:[9, 21] Operation: 38-17=21
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 78:[38, 26], Operations: ['71-33=38', '17+9=26']
Exploring Operation: 38+26=64, Resulting Numbers: [64]
64,78 unequal: No Solution
Exploring Operation: 38*26=988, Resulting Numbers: [988]
988,78 unequal: No Solution
Exploring Operation: 38-26=12, Resulting Numbers: [12]
12,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,0,2
Current State: 78:[38, 8], Operations: ['71-33=38', '17-9=8']
Exploring Operation: 38*8=304, Resulting Numbers: [304]
304,78 unequal: No Solution
Exploring Operation: 38+8=46, Resulting Numbers: [46]
46,78 unequal: No Solution
Exploring Operation: 38-8=30, Resulting Numbers: [30]
30,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,0,1
Current State: 78:[17, 29], Operations: ['71-33=38', '38-9=29']
Exploring Operation: 29-17=12, Resulting Numbers: [12]
12,78 unequal: No Solution
Exploring Operation: 17*29=493, Resulting Numbers: [493]
493,78 unequal: No Solution
Exploring Operation: 17+29=46, Resulting Numbers: [46]
46,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 78:[9, 21], Operations: ['71-33=38', '38-17=21']
Exploring Operation: 9+21=30, Resulting Numbers: [30]
30,78 unequal: No Solution
Exploring Operation: 21-9=12, Resulting Numbers: [12]
12,78 unequal: No Solution
Exploring Operation: 9*21=189, Resulting Numbers: [189]
189,78 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: 78:[17, 33, 80], Operations: ['71+9=80']
Exploring Operation: 33-17=16, Resulting Numbers: [80, 16]
Generated Node #0,2,0: 78:[80, 16] Operation: 33-17=16
Exploring Operation: 80-33=47, Resulting Numbers: [17, 47]
Generated Node #0,2,1: 78:[17, 47] Operation: 80-33=47
Exploring Operation: 80-17=63, Resulting Numbers: [33, 63]
Generated Node #0,2,2: 78:[33, 63] Operation: 80-17=63
Exploring Operation: 17+33=50, Resulting Numbers: [80, 50]
Generated Node #0,2,3: 78:[80, 50] Operation: 17+33=50
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 78:[80, 16], Operations: ['71+9=80', '33-17=16']
Exploring Operation: 80-16=64, Resulting Numbers: [64]
64,78 unequal: No Solution
Exploring Operation: 80*16=1280, Resulting Numbers: [1280]
1280,78 unequal: No Solution
Exploring Operation: 80/16=5, Resulting Numbers: [5]
5,78 unequal: No Solution
Exploring Operation: 80+16=96, Resulting Numbers: [96]
96,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,2,1
Current State: 78:[17, 47], Operations: ['71+9=80', '80-33=47']
Exploring Operation: 17*47=799, Resulting Numbers: [799]
799,78 unequal: No Solution
Exploring Operation: 47-17=30, Resulting Numbers: [30]
30,78 unequal: No Solution
Exploring Operation: 17+47=64, Resulting Numbers: [64]
64,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,2,3
Current State: 78:[80, 50], Operations: ['71+9=80', '17+33=50']
Exploring Operation: 80-50=30, Resulting Numbers: [30]
30,78 unequal: No Solution
Exploring Operation: 80*50=4000, Resulting Numbers: [4000]
4000,78 unequal: No Solution
Exploring Operation: 80+50=130, Resulting Numbers: [130]
130,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,2,2
Current State: 78:[33, 63], Operations: ['71+9=80', '80-17=63']
Exploring Operation: 33+63=96, Resulting Numbers: [96]
96,78 unequal: No Solution
Exploring Operation: 33*63=2079, Resulting Numbers: [2079]
2079,78 unequal: No Solution
Exploring Operation: 63-33=30, Resulting Numbers: [30]
30,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 78:[71, 9, 16], Operations: ['33-17=16']
Exploring Operation: 71+9=80, Resulting Numbers: [16, 80]
Generated Node #0,3,0: 78:[16, 80] Operation: 71+9=80
Exploring Operation: 16-9=7, Resulting Numbers: [71, 7]
Generated Node #0,3,1: 78:[71, 7] Operation: 16-9=7
Exploring Operation: 9+16=25, Resulting Numbers: [71, 25]
Generated Node #0,3,2: 78:[71, 25] Operation: 9+16=25
Exploring Operation: 71+16=87, Resulting Numbers: [9, 87]
Generated Node #0,3,3: 78:[9, 87] Operation: 71+16=87
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 78:[16, 80], Operations: ['33-17=16', '71+9=80']
Exploring Operation: 16+80=96, Resulting Numbers: [96]
96,78 unequal: No Solution
Exploring Operation: 80/16=5, Resulting Numbers: [5]
5,78 unequal: No Solution
Exploring Operation: 16*80=1280, Resulting Numbers: [1280]
1280,78 unequal: No Solution
Exploring Operation: 80-16=64, Resulting Numbers: [64]
64,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,3,1
Current State: 78:[71, 7], Operations: ['33-17=16', '16-9=7']
Exploring Operation: 71-7=64, Resulting Numbers: [64]
64,78 unequal: No Solution
Exploring Operation: 71+7=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[17, 33, 71, 9], Operations: []
Exploring Operation: 33-17=16, Resulting Numbers: [71, 9, 16]
Generated Node #0,3: 78:[71, 9, 16] Operation: 33-17=16
Moving to Node #0,3
Current State: 78:[71, 9, 16], Operations: ['33-17=16']
Exploring Operation: 16-9=7, Resulting Numbers: [71, 7]
Generated Node #0,3,1: 78:[71, 7] Operation: 16-9=7
Moving to Node #0,3,1
Current State: 78:[71, 7], Operations: ['33-17=16', '16-9=7']
Exploring Operation: 71+7=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 1
| 0.955729 | hs_4 | sum_heuristic |
[
33,
52,
21,
77
] | 75 | [
"52-33=19",
"77-21=56",
"19+56=75"
] | Current State: 75:[33, 52, 21, 77], Operations: []
Exploring Operation: 52-33=19, Resulting Numbers: [21, 77, 19]
Generated Node #2: [21, 77, 19] from Operation: 52-33=19
Current State: 75:[21, 77, 19], Operations: ['52-33=19']
Exploring Operation: 77-21=56, Resulting Numbers: [19, 56]
Generated Node #3: [19, 56] from Operation: 77-21=56
Current State: 75:[19, 56], Operations: ['52-33=19', '77-21=56']
Exploring Operation: 19+56=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[33, 52, 21, 77], Operations: []
Exploring Operation: 52-33=19, Resulting Numbers: [21, 77, 19]
Generated Node #0,0: 75:[21, 77, 19] Operation: 52-33=19
Exploring Operation: 52+21=73, Resulting Numbers: [33, 77, 73]
Generated Node #0,1: 75:[33, 77, 73] Operation: 52+21=73
Moving to Node #0,0
Current State: 75:[21, 77, 19], Operations: ['52-33=19']
Exploring Operation: 21-19=2, Resulting Numbers: [77, 2]
Generated Node #0,0,0: 75:[77, 2] Operation: 21-19=2
Exploring Operation: 21+19=40, Resulting Numbers: [77, 40]
Generated Node #0,0,1: 75:[77, 40] Operation: 21+19=40
Moving to Node #0,1
Current State: 75:[33, 77, 73], Operations: ['52+21=73']
Exploring Operation: 77-73=4, Resulting Numbers: [33, 4]
Generated Node #0,1,0: 75:[33, 4] Operation: 77-73=4
Exploring Operation: 73-33=40, Resulting Numbers: [77, 40]
Generated Node #0,1,1: 75:[77, 40] Operation: 73-33=40
Moving to Node #0,0,0
Current State: 75:[77, 2], Operations: ['52-33=19', '21-19=2']
Exploring Operation: 77-2=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[33, 52, 21, 77], Operations: []
Exploring Operation: 52-33=19, Resulting Numbers: [21, 77, 19]
Generated Node #0,0: 75:[21, 77, 19] Operation: 52-33=19
Moving to Node #0,0
Current State: 75:[21, 77, 19], Operations: ['52-33=19']
Exploring Operation: 21-19=2, Resulting Numbers: [77, 2]
Generated Node #0,0,0: 75:[77, 2] Operation: 21-19=2
Moving to Node #0,0,0
Current State: 75:[77, 2], Operations: ['52-33=19', '21-19=2']
Exploring Operation: 77-2=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 0.990451 | hs_2 | mult_heuristic |
[
62,
28,
34,
31
] | 87 | [
"62+28=90",
"34-31=3",
"90-3=87"
] | Current State: 87:[62, 28, 34, 31], Operations: []
Exploring Operation: 62+28=90, Resulting Numbers: [34, 31, 90]
Generated Node #2: [34, 31, 90] from Operation: 62+28=90
Current State: 87:[34, 31, 90], Operations: ['62+28=90']
Exploring Operation: 34-31=3, Resulting Numbers: [90, 3]
Generated Node #3: [90, 3] from Operation: 34-31=3
Current State: 87:[90, 3], Operations: ['62+28=90', '34-31=3']
Exploring Operation: 90-3=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[62, 28, 34, 31], Operations: []
Exploring Operation: 62/31=2, Resulting Numbers: [28, 34, 2]
Generated Node #0,0: 87:[28, 34, 2] Operation: 62/31=2
Exploring Operation: 62-34=28, Resulting Numbers: [28, 31, 28]
Generated Node #0,1: 87:[28, 31, 28] Operation: 62-34=28
Moving to Node #0,1
Current State: 87:[28, 31, 28], Operations: ['62-34=28']
Exploring Operation: 31-28=3, Resulting Numbers: [28, 3]
Generated Node #0,1,0: 87:[28, 3] Operation: 31-28=3
Exploring Operation: 31-28=3, Resulting Numbers: [28, 3]
Generated Node #0,1,1: 87:[28, 3] Operation: 31-28=3
Moving to Node #0,0
Current State: 87:[28, 34, 2], Operations: ['62/31=2']
Exploring Operation: 34-2=32, Resulting Numbers: [28, 32]
Generated Node #0,0,0: 87:[28, 32] Operation: 34-2=32
Exploring Operation: 34-28=6, Resulting Numbers: [2, 6]
Generated Node #0,0,1: 87:[2, 6] Operation: 34-28=6
Moving to Node #0,1,0
Current State: 87:[28, 3], Operations: ['62-34=28', '31-28=3']
Exploring Operation: 28+3=31, Resulting Numbers: [31]
31,87 unequal: No Solution
Exploring Operation: 28*3=84, Resulting Numbers: [84]
84,87 unequal: No Solution
Moving to Node #0,1,1
Current State: 87:[28, 3], Operations: ['62-34=28', '31-28=3']
Exploring Operation: 28+3=31, Resulting Numbers: [31]
31,87 unequal: No Solution
Exploring Operation: 28*3=84, Resulting Numbers: [84]
84,87 unequal: No Solution
Moving to Node #0,0,1
Current State: 87:[2, 6], Operations: ['62/31=2', '34-28=6']
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,87 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,87 unequal: No Solution
Moving to Node #0,0,0
Current State: 87:[28, 32], Operations: ['62/31=2', '34-2=32']
Exploring Operation: 28+32=60, Resulting Numbers: [60]
60,87 unequal: No Solution
Exploring Operation: 32-28=4, Resulting Numbers: [4]
4,87 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
63,
54,
10,
67
] | 21 | [
"54+10=64",
"67-64=3",
"63/3=21"
] | Current State: 21:[63, 54, 10, 67], Operations: []
Exploring Operation: 54+10=64, Resulting Numbers: [63, 67, 64]
Generated Node #2: [63, 67, 64] from Operation: 54+10=64
Current State: 21:[63, 67, 64], Operations: ['54+10=64']
Exploring Operation: 67-64=3, Resulting Numbers: [63, 3]
Generated Node #3: [63, 3] from Operation: 67-64=3
Current State: 21:[63, 3], Operations: ['54+10=64', '67-64=3']
Exploring Operation: 63/3=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[63, 54, 10, 67], Operations: []
Exploring Operation: 67-54=13, Resulting Numbers: [63, 10, 13]
Generated Node #0,0: 21:[63, 10, 13] Operation: 67-54=13
Exploring Operation: 63-10=53, Resulting Numbers: [54, 67, 53]
Generated Node #0,1: 21:[54, 67, 53] Operation: 63-10=53
Exploring Operation: 63-54=9, Resulting Numbers: [10, 67, 9]
Generated Node #0,2: 21:[10, 67, 9] Operation: 63-54=9
Exploring Operation: 67-63=4, Resulting Numbers: [54, 10, 4]
Generated Node #0,3: 21:[54, 10, 4] Operation: 67-63=4
Start Sub Search at level 1: Moving to Node #0,3
Current State: 21:[54, 10, 4], Operations: ['67-63=4']
Exploring Operation: 54-4=50, Resulting Numbers: [10, 50]
Generated Node #0,3,0: 21:[10, 50] Operation: 54-4=50
Exploring Operation: 10-4=6, Resulting Numbers: [54, 6]
Generated Node #0,3,1: 21:[54, 6] Operation: 10-4=6
Exploring Operation: 54+4=58, Resulting Numbers: [10, 58]
Generated Node #0,3,2: 21:[10, 58] Operation: 54+4=58
Exploring Operation: 54-10=44, Resulting Numbers: [4, 44]
Generated Node #0,3,3: 21:[4, 44] Operation: 54-10=44
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 21:[4, 44], Operations: ['67-63=4', '54-10=44']
Exploring Operation: 44-4=40, Resulting Numbers: [40]
40,21 unequal: No Solution
Exploring Operation: 44/4=11, Resulting Numbers: [11]
11,21 unequal: No Solution
Exploring Operation: 4+44=48, Resulting Numbers: [48]
48,21 unequal: No Solution
Exploring Operation: 4*44=176, Resulting Numbers: [176]
176,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 21:[10, 50], Operations: ['67-63=4', '54-4=50']
Exploring Operation: 10+50=60, Resulting Numbers: [60]
60,21 unequal: No Solution
Exploring Operation: 50-10=40, Resulting Numbers: [40]
40,21 unequal: No Solution
Exploring Operation: 50/10=5, Resulting Numbers: [5]
5,21 unequal: No Solution
Exploring Operation: 10*50=500, Resulting Numbers: [500]
500,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 21:[54, 6], Operations: ['67-63=4', '10-4=6']
Exploring Operation: 54*6=324, Resulting Numbers: [324]
324,21 unequal: No Solution
Exploring Operation: 54-6=48, Resulting Numbers: [48]
48,21 unequal: No Solution
Exploring Operation: 54/6=9, Resulting Numbers: [9]
9,21 unequal: No Solution
Exploring Operation: 54+6=60, Resulting Numbers: [60]
60,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 21:[10, 58], Operations: ['67-63=4', '54+4=58']
Exploring Operation: 10*58=580, Resulting Numbers: [580]
580,21 unequal: No Solution
Exploring Operation: 58-10=48, Resulting Numbers: [48]
48,21 unequal: No Solution
Exploring Operation: 10+58=68, Resulting Numbers: [68]
68,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 21:[63, 10, 13], Operations: ['67-54=13']
Exploring Operation: 63-10=53, Resulting Numbers: [13, 53]
Generated Node #0,0,0: 21:[13, 53] Operation: 63-10=53
Exploring Operation: 13-10=3, Resulting Numbers: [63, 3]
Generated Node #0,0,1: 21:[63, 3] Operation: 13-10=3
Exploring Operation: 63-13=50, Resulting Numbers: [10, 50]
Generated Node #0,0,2: 21:[10, 50] Operation: 63-13=50
Exploring Operation: 10+13=23, Resulting Numbers: [63, 23]
Generated Node #0,0,3: 21:[63, 23] Operation: 10+13=23
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 21:[10, 50], Operations: ['67-54=13', '63-13=50']
Exploring Operation: 50/10=5, Resulting Numbers: [5]
5,21 unequal: No Solution
Exploring Operation: 50-10=40, Resulting Numbers: [40]
40,21 unequal: No Solution
Exploring Operation: 10*50=500, Resulting Numbers: [500]
500,21 unequal: No Solution
Exploring Operation: 10+50=60, Resulting Numbers: [60]
60,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 21:[13, 53], Operations: ['67-54=13', '63-10=53']
Exploring Operation: 13+53=66, Resulting Numbers: [66]
66,21 unequal: No Solution
Exploring Operation: 13*53=689, Resulting Numbers: [689]
689,21 unequal: No Solution
Exploring Operation: 53-13=40, Resulting Numbers: [40]
40,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 21:[63, 3], Operations: ['67-54=13', '13-10=3']
Exploring Operation: 63+3=66, Resulting Numbers: [66]
66,21 unequal: No Solution
Exploring Operation: 63*3=189, Resulting Numbers: [189]
189,21 unequal: No Solution
Exploring Operation: 63/3=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[63, 54, 10, 67], Operations: []
Exploring Operation: 67-54=13, Resulting Numbers: [63, 10, 13]
Generated Node #0,0: 21:[63, 10, 13] Operation: 67-54=13
Moving to Node #0,0
Current State: 21:[63, 10, 13], Operations: ['67-54=13']
Exploring Operation: 13-10=3, Resulting Numbers: [63, 3]
Generated Node #0,0,1: 21:[63, 3] Operation: 13-10=3
Moving to Node #0,0,1
Current State: 21:[63, 3], Operations: ['67-54=13', '13-10=3']
Exploring Operation: 63/3=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.96441 | hs_4 | sum_heuristic |
[
8,
59,
9,
56
] | 96 | [
"59+9=68",
"68-56=12",
"8*12=96"
] | Current State: 96:[8, 59, 9, 56], Operations: []
Exploring Operation: 59+9=68, Resulting Numbers: [8, 56, 68]
Generated Node #2: [8, 56, 68] from Operation: 59+9=68
Current State: 96:[8, 56, 68], Operations: ['59+9=68']
Exploring Operation: 68-56=12, Resulting Numbers: [8, 12]
Generated Node #3: [8, 12] from Operation: 68-56=12
Current State: 96:[8, 12], Operations: ['59+9=68', '68-56=12']
Exploring Operation: 8*12=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[8, 59, 9, 56], Operations: []
Exploring Operation: 59-56=3, Resulting Numbers: [8, 9, 3]
Generated Node #0,0: 96:[8, 9, 3] Operation: 59-56=3
Exploring Operation: 56-8=48, Resulting Numbers: [59, 9, 48]
Generated Node #0,1: 96:[59, 9, 48] Operation: 56-8=48
Exploring Operation: 59-9=50, Resulting Numbers: [8, 56, 50]
Generated Node #0,2: 96:[8, 56, 50] Operation: 59-9=50
Exploring Operation: 59-8=51, Resulting Numbers: [9, 56, 51]
Generated Node #0,3: 96:[9, 56, 51] Operation: 59-8=51
Exploring Operation: 56-9=47, Resulting Numbers: [8, 59, 47]
Generated Node #0,4: 96:[8, 59, 47] Operation: 56-9=47
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[8, 9, 3], Operations: ['59-56=3']
Exploring Operation: 9+3=12, Resulting Numbers: [8, 12]
Generated Node #0,0,0: 96:[8, 12] Operation: 9+3=12
Exploring Operation: 8+9=17, Resulting Numbers: [3, 17]
Generated Node #0,0,1: 96:[3, 17] Operation: 8+9=17
Exploring Operation: 9-3=6, Resulting Numbers: [8, 6]
Generated Node #0,0,2: 96:[8, 6] Operation: 9-3=6
Exploring Operation: 9/3=3, Resulting Numbers: [8, 3]
Generated Node #0,0,3: 96:[8, 3] Operation: 9/3=3
Exploring Operation: 9-8=1, Resulting Numbers: [3, 1]
Generated Node #0,0,4: 96:[3, 1] Operation: 9-8=1
Moving to Node #0,0,0
Current State: 96:[8, 12], Operations: ['59-56=3', '9+3=12']
Exploring Operation: 8*12=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[8, 59, 9, 56], Operations: []
Exploring Operation: 59-56=3, Resulting Numbers: [8, 9, 3]
Generated Node #0,0: 96:[8, 9, 3] Operation: 59-56=3
Moving to Node #0,0
Current State: 96:[8, 9, 3], Operations: ['59-56=3']
Exploring Operation: 9+3=12, Resulting Numbers: [8, 12]
Generated Node #0,0,0: 96:[8, 12] Operation: 9+3=12
Moving to Node #0,0,0
Current State: 96:[8, 12], Operations: ['59-56=3', '9+3=12']
Exploring Operation: 8*12=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.