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 |
|---|---|---|---|---|---|---|---|---|
[
37,
20,
89,
19
] | 92 | [
"37+20=57",
"57/19=3",
"89+3=92"
] | Current State: 92:[37, 20, 89, 19], Operations: []
Exploring Operation: 37+20=57, Resulting Numbers: [89, 19, 57]
Generated Node #2: [89, 19, 57] from Operation: 37+20=57
Current State: 92:[89, 19, 57], Operations: ['37+20=57']
Exploring Operation: 57/19=3, Resulting Numbers: [89, 3]
Generated Node #3: [89, 3] from Operation: 57/19=3
Current State: 92:[89, 3], Operations: ['37+20=57', '57/19=3']
Exploring Operation: 89+3=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[37, 20, 89, 19], Operations: []
Exploring Operation: 37-20=17, Resulting Numbers: [89, 19, 17]
Generated Node #0,0: 92:[89, 19, 17] Operation: 37-20=17
Exploring Operation: 37-19=18, Resulting Numbers: [20, 89, 18]
Generated Node #0,1: 92:[20, 89, 18] Operation: 37-19=18
Exploring Operation: 89-37=52, Resulting Numbers: [20, 19, 52]
Generated Node #0,2: 92:[20, 19, 52] Operation: 89-37=52
Start Sub Search at level 1: Moving to Node #0,1
Current State: 92:[20, 89, 18], Operations: ['37-19=18']
Exploring Operation: 20+18=38, Resulting Numbers: [89, 38]
Generated Node #0,1,0: 92:[89, 38] Operation: 20+18=38
Exploring Operation: 20-18=2, Resulting Numbers: [89, 2]
Generated Node #0,1,1: 92:[89, 2] Operation: 20-18=2
Exploring Operation: 89+18=107, Resulting Numbers: [20, 107]
Generated Node #0,1,2: 92:[20, 107] Operation: 89+18=107
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 92:[89, 2], Operations: ['37-19=18', '20-18=2']
Exploring Operation: 89+2=91, Resulting Numbers: [91]
91,92 unequal: No Solution
Exploring Operation: 89*2=178, Resulting Numbers: [178]
178,92 unequal: No Solution
Exploring Operation: 89-2=87, Resulting Numbers: [87]
87,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 92:[89, 38], Operations: ['37-19=18', '20+18=38']
Exploring Operation: 89+38=127, Resulting Numbers: [127]
127,92 unequal: No Solution
Exploring Operation: 89*38=3382, Resulting Numbers: [3382]
3382,92 unequal: No Solution
Exploring Operation: 89-38=51, Resulting Numbers: [51]
51,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 92:[20, 107], Operations: ['37-19=18', '89+18=107']
Exploring Operation: 107-20=87, Resulting Numbers: [87]
87,92 unequal: No Solution
Exploring Operation: 20*107=2140, Resulting Numbers: [2140]
2140,92 unequal: No Solution
Exploring Operation: 20+107=127, Resulting Numbers: [127]
127,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[89, 19, 17], Operations: ['37-20=17']
Exploring Operation: 19-17=2, Resulting Numbers: [89, 2]
Generated Node #0,0,0: 92:[89, 2] Operation: 19-17=2
Exploring Operation: 89+17=106, Resulting Numbers: [19, 106]
Generated Node #0,0,1: 92:[19, 106] Operation: 89+17=106
Exploring Operation: 19+17=36, Resulting Numbers: [89, 36]
Generated Node #0,0,2: 92:[89, 36] Operation: 19+17=36
Moving to Node #0,0,0
Current State: 92:[89, 2], Operations: ['37-20=17', '19-17=2']
Exploring Operation: 89+2=91, Resulting Numbers: [91]
91,92 unequal: No Solution
Exploring Operation: 89*2=178, Resulting Numbers: [178]
178,92 unequal: No Solution
Exploring Operation: 89-2=87, Resulting Numbers: [87]
87,92 unequal: No Solution
Moving to Node #0,0,2
Current State: 92:[89, 36], Operations: ['37-20=17', '19+17=36']
Exploring Operation: 89+36=125, Resulting Numbers: [125]
125,92 unequal: No Solution
Exploring Operation: 89-36=53, Resulting Numbers: [53]
53,92 unequal: No Solution
Exploring Operation: 89*36=3204, Resulting Numbers: [3204]
3204,92 unequal: No Solution
Moving to Node #0,0,1
Current State: 92:[19, 106], Operations: ['37-20=17', '89+17=106']
Exploring Operation: 19*106=2014, Resulting Numbers: [2014]
2014,92 unequal: No Solution
Exploring Operation: 106-19=87, Resulting Numbers: [87]
87,92 unequal: No Solution
Exploring Operation: 19+106=125, Resulting Numbers: [125]
125,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 92:[20, 19, 52], Operations: ['89-37=52']
Exploring Operation: 52-20=32, Resulting Numbers: [19, 32]
Generated Node #0,2,0: 92:[19, 32] Operation: 52-20=32
Exploring Operation: 20+19=39, Resulting Numbers: [52, 39]
Generated Node #0,2,1: 92:[52, 39] Operation: 20+19=39
Exploring Operation: 20-19=1, Resulting Numbers: [52, 1]
Generated Node #0,2,2: 92:[52, 1] Operation: 20-19=1
Moving to Node #0,2,2
Current State: 92:[52, 1], Operations: ['89-37=52', '20-19=1']
Exploring Operation: 52/1=52, Resulting Numbers: [52]
52,92 unequal: No Solution
Exploring Operation: 52*1=52, Resulting Numbers: [52]
52,92 unequal: No Solution
Exploring Operation: 52-1=51, Resulting Numbers: [51]
51,92 unequal: No Solution
Moving to Node #0,2,0
Current State: 92:[19, 32], Operations: ['89-37=52', '52-20=32']
Exploring Operation: 32-19=13, Resulting Numbers: [13]
13,92 unequal: No Solution
Exploring Operation: 19+32=51, Resulting Numbers: [51]
51,92 unequal: No Solution
Exploring Operation: 19*32=608, Resulting Numbers: [608]
608,92 unequal: No Solution
Moving to Node #0,2,1
Current State: 92:[52, 39], Operations: ['89-37=52', '20+19=39']
Exploring Operation: 52+39=91, Resulting Numbers: [91]
91,92 unequal: No Solution
Exploring Operation: 52*39=2028, Resulting Numbers: [2028]
2028,92 unequal: No Solution
Exploring Operation: 52-39=13, Resulting Numbers: [13]
13,92 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 |
[
81,
79,
52,
71
] | 68 | [
"79-52=27",
"81/27=3",
"71-3=68"
] | Current State: 68:[81, 79, 52, 71], Operations: []
Exploring Operation: 79-52=27, Resulting Numbers: [81, 71, 27]
Generated Node #2: [81, 71, 27] from Operation: 79-52=27
Current State: 68:[81, 71, 27], Operations: ['79-52=27']
Exploring Operation: 81/27=3, Resulting Numbers: [71, 3]
Generated Node #3: [71, 3] from Operation: 81/27=3
Current State: 68:[71, 3], Operations: ['79-52=27', '81/27=3']
Exploring Operation: 71-3=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[81, 79, 52, 71], Operations: []
Exploring Operation: 81-79=2, Resulting Numbers: [52, 71, 2]
Generated Node #0,0: 68:[52, 71, 2] Operation: 81-79=2
Moving to Node #0,0
Current State: 68:[52, 71, 2], Operations: ['81-79=2']
Exploring Operation: 71-52=19, Resulting Numbers: [2, 19]
Generated Node #0,0,0: 68:[2, 19] Operation: 71-52=19
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 68:[2, 19], Operations: ['81-79=2', '71-52=19']
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,68 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 |
[
83,
3,
64,
93
] | 12 | [
"83-64=19",
"93/3=31",
"31-19=12"
] | Current State: 12:[83, 3, 64, 93], Operations: []
Exploring Operation: 83-64=19, Resulting Numbers: [3, 93, 19]
Generated Node #2: [3, 93, 19] from Operation: 83-64=19
Current State: 12:[3, 93, 19], Operations: ['83-64=19']
Exploring Operation: 93/3=31, Resulting Numbers: [19, 31]
Generated Node #3: [19, 31] from Operation: 93/3=31
Current State: 12:[19, 31], Operations: ['83-64=19', '93/3=31']
Exploring Operation: 31-19=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[83, 3, 64, 93], Operations: []
Exploring Operation: 83-64=19, Resulting Numbers: [3, 93, 19]
Generated Node #0,0: 12:[3, 93, 19] Operation: 83-64=19
Exploring Operation: 93-83=10, Resulting Numbers: [3, 64, 10]
Generated Node #0,1: 12:[3, 64, 10] Operation: 93-83=10
Exploring Operation: 93-64=29, Resulting Numbers: [83, 3, 29]
Generated Node #0,2: 12:[83, 3, 29] Operation: 93-64=29
Moving to Node #0,1
Current State: 12:[3, 64, 10], Operations: ['93-83=10']
Exploring Operation: 3+10=13, Resulting Numbers: [64, 13]
Generated Node #0,1,0: 12:[64, 13] Operation: 3+10=13
Exploring Operation: 64-3=61, Resulting Numbers: [10, 61]
Generated Node #0,1,1: 12:[10, 61] Operation: 64-3=61
Exploring Operation: 64-10=54, Resulting Numbers: [3, 54]
Generated Node #0,1,2: 12:[3, 54] Operation: 64-10=54
Moving to Node #0,0
Current State: 12:[3, 93, 19], Operations: ['83-64=19']
Exploring Operation: 93-3=90, Resulting Numbers: [19, 90]
Generated Node #0,0,0: 12:[19, 90] Operation: 93-3=90
Exploring Operation: 93/3=31, Resulting Numbers: [19, 31]
Generated Node #0,0,1: 12:[19, 31] Operation: 93/3=31
Exploring Operation: 93-19=74, Resulting Numbers: [3, 74]
Generated Node #0,0,2: 12:[3, 74] Operation: 93-19=74
Moving to Node #0,2
Current State: 12:[83, 3, 29], Operations: ['93-64=29']
Exploring Operation: 29-3=26, Resulting Numbers: [83, 26]
Generated Node #0,2,0: 12:[83, 26] Operation: 29-3=26
Exploring Operation: 83-3=80, Resulting Numbers: [29, 80]
Generated Node #0,2,1: 12:[29, 80] Operation: 83-3=80
Exploring Operation: 83-29=54, Resulting Numbers: [3, 54]
Generated Node #0,2,2: 12:[3, 54] Operation: 83-29=54
Moving to Node #0,0,1
Current State: 12:[19, 31], Operations: ['83-64=19', '93/3=31']
Exploring Operation: 31-19=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[83, 3, 64, 93], Operations: []
Exploring Operation: 83-64=19, Resulting Numbers: [3, 93, 19]
Generated Node #0,0: 12:[3, 93, 19] Operation: 83-64=19
Moving to Node #0,0
Current State: 12:[3, 93, 19], Operations: ['83-64=19']
Exploring Operation: 93/3=31, Resulting Numbers: [19, 31]
Generated Node #0,0,1: 12:[19, 31] Operation: 93/3=31
Moving to Node #0,0,1
Current State: 12:[19, 31], Operations: ['83-64=19', '93/3=31']
Exploring Operation: 31-19=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 0.985243 | hs_3 | mult_heuristic |
[
2,
67,
56,
62
] | 16 | [
"2*67=134",
"56+62=118",
"134-118=16"
] | Current State: 16:[2, 67, 56, 62], Operations: []
Exploring Operation: 2*67=134, Resulting Numbers: [56, 62, 134]
Generated Node #2: [56, 62, 134] from Operation: 2*67=134
Current State: 16:[56, 62, 134], Operations: ['2*67=134']
Exploring Operation: 56+62=118, Resulting Numbers: [134, 118]
Generated Node #3: [134, 118] from Operation: 56+62=118
Current State: 16:[134, 118], Operations: ['2*67=134', '56+62=118']
Exploring Operation: 134-118=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[2, 67, 56, 62], Operations: []
Exploring Operation: 67-56=11, Resulting Numbers: [2, 62, 11]
Generated Node #0,0: 16:[2, 62, 11] Operation: 67-56=11
Exploring Operation: 62-56=6, Resulting Numbers: [2, 67, 6]
Generated Node #0,1: 16:[2, 67, 6] Operation: 62-56=6
Exploring Operation: 67-62=5, Resulting Numbers: [2, 56, 5]
Generated Node #0,2: 16:[2, 56, 5] Operation: 67-62=5
Exploring Operation: 62/2=31, Resulting Numbers: [67, 56, 31]
Generated Node #0,3: 16:[67, 56, 31] Operation: 62/2=31
Exploring Operation: 56/2=28, Resulting Numbers: [67, 62, 28]
Generated Node #0,4: 16:[67, 62, 28] Operation: 56/2=28
Start Sub Search at level 1: Moving to Node #0,2
Current State: 16:[2, 56, 5], Operations: ['67-62=5']
Exploring Operation: 5-2=3, Resulting Numbers: [56, 3]
Generated Node #0,2,0: 16:[56, 3] Operation: 5-2=3
Exploring Operation: 56-2=54, Resulting Numbers: [5, 54]
Generated Node #0,2,1: 16:[5, 54] Operation: 56-2=54
Exploring Operation: 2+5=7, Resulting Numbers: [56, 7]
Generated Node #0,2,2: 16:[56, 7] Operation: 2+5=7
Exploring Operation: 56-5=51, Resulting Numbers: [2, 51]
Generated Node #0,2,3: 16:[2, 51] Operation: 56-5=51
Exploring Operation: 56/2=28, Resulting Numbers: [5, 28]
Generated Node #0,2,4: 16:[5, 28] Operation: 56/2=28
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 16:[5, 28], Operations: ['67-62=5', '56/2=28']
Exploring Operation: 28-5=23, Resulting Numbers: [23]
23,16 unequal: No Solution
Exploring Operation: 5+28=33, Resulting Numbers: [33]
33,16 unequal: No Solution
Exploring Operation: 5*28=140, Resulting Numbers: [140]
140,16 unequal: No Solution
No 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: 16:[2, 51], Operations: ['67-62=5', '56-5=51']
Exploring Operation: 2+51=53, Resulting Numbers: [53]
53,16 unequal: No Solution
Exploring Operation: 51-2=49, Resulting Numbers: [49]
49,16 unequal: No Solution
Exploring Operation: 2*51=102, Resulting Numbers: [102]
102,16 unequal: No Solution
No 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: 16:[5, 54], Operations: ['67-62=5', '56-2=54']
Exploring Operation: 54-5=49, Resulting Numbers: [49]
49,16 unequal: No Solution
Exploring Operation: 5+54=59, Resulting Numbers: [59]
59,16 unequal: No Solution
Exploring Operation: 5*54=270, Resulting Numbers: [270]
270,16 unequal: No Solution
No 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: 16:[56, 3], Operations: ['67-62=5', '5-2=3']
Exploring Operation: 56+3=59, Resulting Numbers: [59]
59,16 unequal: No Solution
Exploring Operation: 56*3=168, Resulting Numbers: [168]
168,16 unequal: No Solution
Exploring Operation: 56-3=53, Resulting Numbers: [53]
53,16 unequal: No Solution
No 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: 16:[56, 7], Operations: ['67-62=5', '2+5=7']
Exploring Operation: 56/7=8, Resulting Numbers: [8]
8,16 unequal: No Solution
Exploring Operation: 56-7=49, Resulting Numbers: [49]
49,16 unequal: No Solution
Exploring Operation: 56*7=392, Resulting Numbers: [392]
392,16 unequal: No Solution
Exploring Operation: 56+7=63, Resulting Numbers: [63]
63,16 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: 16:[2, 62, 11], Operations: ['67-56=11']
Exploring Operation: 62-2=60, Resulting Numbers: [11, 60]
Generated Node #0,0,0: 16:[11, 60] Operation: 62-2=60
Exploring Operation: 62/2=31, Resulting Numbers: [11, 31]
Generated Node #0,0,1: 16:[11, 31] Operation: 62/2=31
Exploring Operation: 62-11=51, Resulting Numbers: [2, 51]
Generated Node #0,0,2: 16:[2, 51] Operation: 62-11=51
Exploring Operation: 2+11=13, Resulting Numbers: [62, 13]
Generated Node #0,0,3: 16:[62, 13] Operation: 2+11=13
Exploring Operation: 11-2=9, Resulting Numbers: [62, 9]
Generated Node #0,0,4: 16:[62, 9] Operation: 11-2=9
Moving to Node #0,0,1
Current State: 16:[11, 31], Operations: ['67-56=11', '62/2=31']
Exploring Operation: 31-11=20, Resulting Numbers: [20]
20,16 unequal: No Solution
Exploring Operation: 11+31=42, Resulting Numbers: [42]
42,16 unequal: No Solution
Exploring Operation: 11*31=341, Resulting Numbers: [341]
341,16 unequal: No Solution
Moving to Node #0,0,2
Current State: 16:[2, 51], Operations: ['67-56=11', '62-11=51']
Exploring Operation: 2*51=102, Resulting Numbers: [102]
102,16 unequal: No Solution
Exploring Operation: 51-2=49, Resulting Numbers: [49]
49,16 unequal: No Solution
Exploring Operation: 2+51=53, Resulting Numbers: [53]
53,16 unequal: No Solution
Moving to Node #0,0,0
Current State: 16:[11, 60], Operations: ['67-56=11', '62-2=60']
Exploring Operation: 11*60=660, Resulting Numbers: [660]
660,16 unequal: No Solution
Exploring Operation: 11+60=71, Resulting Numbers: [71]
71,16 unequal: No Solution
Exploring Operation: 60-11=49, Resulting Numbers: [49]
49,16 unequal: No Solution
Moving to Node #0,0,4
Current State: 16:[62, 9], Operations: ['67-56=11', '11-2=9']
Exploring Operation: 62-9=53, Resulting Numbers: [53]
53,16 unequal: No Solution
Exploring Operation: 62*9=558, Resulting Numbers: [558]
558,16 unequal: No Solution
Exploring Operation: 62+9=71, Resulting Numbers: [71]
71,16 unequal: No Solution
Moving to Node #0,0,3
Current State: 16:[62, 13], Operations: ['67-56=11', '2+11=13']
Exploring Operation: 62*13=806, Resulting Numbers: [806]
806,16 unequal: No Solution
Exploring Operation: 62+13=75, Resulting Numbers: [75]
75,16 unequal: No Solution
Exploring Operation: 62-13=49, Resulting Numbers: [49]
49,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 16:[2, 67, 6], Operations: ['62-56=6']
Exploring Operation: 67-6=61, Resulting Numbers: [2, 61]
Generated Node #0,1,0: 16:[2, 61] Operation: 67-6=61
Exploring Operation: 2+6=8, Resulting Numbers: [67, 8]
Generated Node #0,1,1: 16:[67, 8] Operation: 2+6=8
Exploring Operation: 67-2=65, Resulting Numbers: [6, 65]
Generated Node #0,1,2: 16:[6, 65] Operation: 67-2=65
Exploring Operation: 6-2=4, Resulting Numbers: [67, 4]
Generated Node #0,1,3: 16:[67, 4] Operation: 6-2=4
Exploring Operation: 6/2=3, Resulting Numbers: [67, 3]
Generated Node #0,1,4: 16:[67, 3] Operation: 6/2=3
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 16:[2, 61], Operations: ['62-56=6', '67-6=61']
Exploring Operation: 2+61=63, Resulting Numbers: [63]
63,16 unequal: No Solution
Exploring Operation: 2*61=122, Resulting Numbers: [122]
122,16 unequal: No Solution
Exploring Operation: 61-2=59, Resulting Numbers: [59]
59,16 unequal: No Solution
No 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: 16:[67, 8], Operations: ['62-56=6', '2+6=8']
Exploring Operation: 67*8=536, Resulting Numbers: [536]
536,16 unequal: No Solution
Exploring Operation: 67-8=59, Resulting Numbers: [59]
59,16 unequal: No Solution
Exploring Operation: 67+8=75, Resulting Numbers: [75]
75,16 unequal: No Solution
No 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: 16:[6, 65], Operations: ['62-56=6', '67-2=65']
Exploring Operation: 65-6=59, Resulting Numbers: [59]
59,16 unequal: No Solution
Exploring Operation: 6+65=71, Resulting Numbers: [71]
71,16 unequal: No Solution
Exploring Operation: 6*65=390, Resulting Numbers: [390]
390,16 unequal: No Solution
No 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: 16:[67, 4], Operations: ['62-56=6', '6-2=4']
Exploring Operation: 67*4=268, Resulting Numbers: [268]
268,16 unequal: No Solution
Exploring Operation: 67+4=71, Resulting Numbers: [71]
71,16 unequal: No Solution
Exploring Operation: 67-4=63, Resulting Numbers: [63]
63,16 unequal: No Solution
No 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: 16:[67, 3], Operations: ['62-56=6', '6/2=3']
Exploring Operation: 67*3=201, Resulting Numbers: [201]
201,16 unequal: No Solution
Exploring Operation: 67+3=70, Resulting Numbers: [70]
70,16 unequal: No Solution
Exploring Operation: 67-3=64, Resulting Numbers: [64]
64,16 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: 16:[67, 56, 31], Operations: ['62/2=31']
Exploring Operation: 67-56=11, Resulting Numbers: [31, 11]
Generated Node #0,3,0: 16:[31, 11] Operation: 67-56=11
Exploring Operation: 67+56=123, Resulting Numbers: [31, 123]
Generated Node #0,3,1: 16:[31, 123] Operation: 67+56=123
Exploring Operation: 67+31=98, Resulting Numbers: [56, 98]
Generated Node #0,3,2: 16:[56, 98] Operation: 67+31=98
Exploring Operation: 56-31=25, Resulting Numbers: [67, 25]
Generated Node #0,3,3: 16:[67, 25] Operation: 56-31=25
Exploring Operation: 67-31=36, Resulting Numbers: [56, 36]
Generated Node #0,3,4: 16:[56, 36] Operation: 67-31=36
Moving to Node #0,3,0
Current State: 16:[31, 11], Operations: ['62/2=31', '67-56=11']
Exploring Operation: 31-11=20, Resulting Numbers: [20]
20,16 unequal: No Solution
Exploring Operation: 31+11=42, Resulting Numbers: [42]
42,16 unequal: No Solution
Exploring Operation: 31*11=341, Resulting Numbers: [341]
341,16 unequal: No Solution
Moving to Node #0,3,4
Current State: 16:[56, 36], Operations: ['62/2=31', '67-31=36']
Exploring Operation: 56+36=92, Resulting Numbers: [92]
92,16 unequal: No Solution
Exploring Operation: 56*36=2016, Resulting Numbers: [2016]
2016,16 unequal: No Solution
Exploring Operation: 56-36=20, Resulting Numbers: [20]
20,16 unequal: No Solution
Moving to Node #0,3,3
Current State: 16:[67, 25], Operations: ['62/2=31', '56-31=25']
Exploring Operation: 67*25=1675, Resulting Numbers: [1675]
1675,16 unequal: No Solution
Exploring Operation: 67-25=42, Resulting Numbers: [42]
42,16 unequal: No Solution
Exploring Operation: 67+25=92, Resulting Numbers: [92]
92,16 unequal: No Solution
Moving to Node #0,3,1
Current State: 16:[31, 123], Operations: ['62/2=31', '67+56=123']
Exploring Operation: 31*123=3813, Resulting Numbers: [3813]
3813,16 unequal: No Solution
Exploring Operation: 123-31=92, Resulting Numbers: [92]
92,16 unequal: No Solution
Exploring Operation: 31+123=154, Resulting Numbers: [154]
154,16 unequal: No Solution
Moving to Node #0,3,2
Current State: 16:[56, 98], Operations: ['62/2=31', '67+31=98']
Exploring Operation: 56+98=154, Resulting Numbers: [154]
154,16 unequal: No Solution
Exploring Operation: 98-56=42, Resulting Numbers: [42]
42,16 unequal: No Solution
Exploring Operation: 56*98=5488, Resulting Numbers: [5488]
5488,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 16:[67, 62, 28], Operations: ['56/2=28']
Exploring Operation: 62-28=34, Resulting Numbers: [67, 34]
Generated Node #0,4,0: 16:[67, 34] Operation: 62-28=34
Exploring Operation: 67-28=39, Resulting Numbers: [62, 39]
Generated Node #0,4,1: 16:[62, 39] Operation: 67-28=39
Exploring Operation: 67-62=5, Resulting Numbers: [28, 5]
Generated Node #0,4,2: 16:[28, 5] Operation: 67-62=5
Exploring Operation: 67+62=129, Resulting Numbers: [28, 129]
Generated Node #0,4,3: 16:[28, 129] Operation: 67+62=129
Exploring Operation: 67+28=95, Resulting Numbers: [62, 95]
Generated Node #0,4,4: 16:[62, 95] Operation: 67+28=95
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 16:[28, 5], Operations: ['56/2=28', '67-62=5']
Exploring Operation: 28+5=33, Resulting Numbers: [33]
33,16 unequal: No Solution
Exploring Operation: 28*5=140, Resulting Numbers: [140]
140,16 unequal: No Solution
Exploring Operation: 28-5=23, Resulting Numbers: [23]
23,16 unequal: No Solution
No 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: 16:[67, 34], Operations: ['56/2=28', '62-28=34']
Exploring Operation: 67-34=33, Resulting Numbers: [33]
33,16 unequal: No Solution
Exploring Operation: 67+34=101, Resulting Numbers: [101]
101,16 unequal: No Solution
Exploring Operation: 67*34=2278, Resulting Numbers: [2278]
2278,16 unequal: No Solution
No 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: 16:[62, 39], Operations: ['56/2=28', '67-28=39']
Exploring Operation: 62*39=2418, Resulting Numbers: [2418]
2418,16 unequal: No Solution
Exploring Operation: 62+39=101, Resulting Numbers: [101]
101,16 unequal: No Solution
Exploring Operation: 62-39=23, Resulting Numbers: [23]
23,16 unequal: No Solution
No 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: 16:[28, 129], Operations: ['56/2=28', '67+62=129']
Exploring Operation: 28*129=3612, Resulting Numbers: [3612]
3612,16 unequal: No Solution
Exploring Operation: 28+129=157, Resulting Numbers: [157]
157,16 unequal: No Solution
Exploring Operation: 129-28=101, Resulting Numbers: [101]
101,16 unequal: No Solution
No 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: 16:[62, 95], Operations: ['56/2=28', '67+28=95']
Exploring Operation: 62*95=5890, Resulting Numbers: [5890]
5890,16 unequal: No Solution
Exploring Operation: 62+95=157, Resulting Numbers: [157]
157,16 unequal: No Solution
Exploring Operation: 95-62=33, Resulting Numbers: [33]
33,16 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 |
[
46,
20,
23,
3
] | 55 | [
"46-20=26",
"3*26=78",
"78-23=55"
] | Current State: 55:[46, 20, 23, 3], Operations: []
Exploring Operation: 46-20=26, Resulting Numbers: [23, 3, 26]
Generated Node #2: [23, 3, 26] from Operation: 46-20=26
Current State: 55:[23, 3, 26], Operations: ['46-20=26']
Exploring Operation: 3*26=78, Resulting Numbers: [23, 78]
Generated Node #3: [23, 78] from Operation: 3*26=78
Current State: 55:[23, 78], Operations: ['46-20=26', '3*26=78']
Exploring Operation: 78-23=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[46, 20, 23, 3], Operations: []
Exploring Operation: 46/23=2, Resulting Numbers: [20, 3, 2]
Generated Node #0,0: 55:[20, 3, 2] Operation: 46/23=2
Exploring Operation: 20+23=43, Resulting Numbers: [46, 3, 43]
Generated Node #0,1: 55:[46, 3, 43] Operation: 20+23=43
Exploring Operation: 46-23=23, Resulting Numbers: [20, 3, 23]
Generated Node #0,2: 55:[20, 3, 23] Operation: 46-23=23
Exploring Operation: 23-20=3, Resulting Numbers: [46, 3, 3]
Generated Node #0,3: 55:[46, 3, 3] Operation: 23-20=3
Moving to Node #0,3
Current State: 55:[46, 3, 3], Operations: ['23-20=3']
Exploring Operation: 46+3=49, Resulting Numbers: [3, 49]
Generated Node #0,3,0: 55:[3, 49] Operation: 46+3=49
Exploring Operation: 3*3=9, Resulting Numbers: [46, 9]
Generated Node #0,3,1: 55:[46, 9] Operation: 3*3=9
Exploring Operation: 46+3=49, Resulting Numbers: [3, 49]
Generated Node #0,3,2: 55:[3, 49] Operation: 46+3=49
Exploring Operation: 3+3=6, Resulting Numbers: [46, 6]
Generated Node #0,3,3: 55:[46, 6] Operation: 3+3=6
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 55:[3, 49], Operations: ['23-20=3', '46+3=49']
Exploring Operation: 3*49=147, Resulting Numbers: [147]
147,55 unequal: No Solution
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,55 unequal: No Solution
Exploring Operation: 3+49=52, Resulting Numbers: [52]
52,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 55:[3, 49], Operations: ['23-20=3', '46+3=49']
Exploring Operation: 3*49=147, Resulting Numbers: [147]
147,55 unequal: No Solution
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,55 unequal: No Solution
Exploring Operation: 3+49=52, Resulting Numbers: [52]
52,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 55:[46, 6], Operations: ['23-20=3', '3+3=6']
Exploring Operation: 46-6=40, Resulting Numbers: [40]
40,55 unequal: No Solution
Exploring Operation: 46+6=52, Resulting Numbers: [52]
52,55 unequal: No Solution
Exploring Operation: 46*6=276, Resulting Numbers: [276]
276,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 55:[46, 9], Operations: ['23-20=3', '3*3=9']
Exploring Operation: 46*9=414, Resulting Numbers: [414]
414,55 unequal: No Solution
Exploring Operation: 46+9=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[46, 20, 23, 3], Operations: []
Exploring Operation: 23-20=3, Resulting Numbers: [46, 3, 3]
Generated Node #0,3: 55:[46, 3, 3] Operation: 23-20=3
Moving to Node #0,3
Current State: 55:[46, 3, 3], Operations: ['23-20=3']
Exploring Operation: 3*3=9, Resulting Numbers: [46, 9]
Generated Node #0,3,1: 55:[46, 9] Operation: 3*3=9
Moving to Node #0,3,1
Current State: 55:[46, 9], Operations: ['23-20=3', '3*3=9']
Exploring Operation: 46+9=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_4 | sum_heuristic |
[
29,
47,
24,
1
] | 41 | [
"47-29=18",
"24-1=23",
"18+23=41"
] | Current State: 41:[29, 47, 24, 1], Operations: []
Exploring Operation: 47-29=18, Resulting Numbers: [24, 1, 18]
Generated Node #2: [24, 1, 18] from Operation: 47-29=18
Current State: 41:[24, 1, 18], Operations: ['47-29=18']
Exploring Operation: 24-1=23, Resulting Numbers: [18, 23]
Generated Node #3: [18, 23] from Operation: 24-1=23
Current State: 41:[18, 23], Operations: ['47-29=18', '24-1=23']
Exploring Operation: 18+23=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[29, 47, 24, 1], Operations: []
Exploring Operation: 29+1=30, Resulting Numbers: [47, 24, 30]
Generated Node #0,0: 41:[47, 24, 30] Operation: 29+1=30
Exploring Operation: 47-1=46, Resulting Numbers: [29, 24, 46]
Generated Node #0,1: 41:[29, 24, 46] Operation: 47-1=46
Exploring Operation: 29/1=29, Resulting Numbers: [47, 24, 29]
Generated Node #0,2: 41:[47, 24, 29] Operation: 29/1=29
Exploring Operation: 29*1=29, Resulting Numbers: [47, 24, 29]
Generated Node #0,3: 41:[47, 24, 29] Operation: 29*1=29
Exploring Operation: 24+1=25, Resulting Numbers: [29, 47, 25]
Generated Node #0,4: 41:[29, 47, 25] Operation: 24+1=25
Moving to Node #0,0
Current State: 41:[47, 24, 30], Operations: ['29+1=30']
Exploring Operation: 47+24=71, Resulting Numbers: [30, 71]
Generated Node #0,0,0: 41:[30, 71] Operation: 47+24=71
Exploring Operation: 24+30=54, Resulting Numbers: [47, 54]
Generated Node #0,0,1: 41:[47, 54] Operation: 24+30=54
Exploring Operation: 47-24=23, Resulting Numbers: [30, 23]
Generated Node #0,0,2: 41:[30, 23] Operation: 47-24=23
Exploring Operation: 30-24=6, Resulting Numbers: [47, 6]
Generated Node #0,0,3: 41:[47, 6] Operation: 30-24=6
Exploring Operation: 47-30=17, Resulting Numbers: [24, 17]
Generated Node #0,0,4: 41:[24, 17] Operation: 47-30=17
Moving to Node #0,4
Current State: 41:[29, 47, 25], Operations: ['24+1=25']
Exploring Operation: 47-25=22, Resulting Numbers: [29, 22]
Generated Node #0,4,0: 41:[29, 22] Operation: 47-25=22
Exploring Operation: 29-25=4, Resulting Numbers: [47, 4]
Generated Node #0,4,1: 41:[47, 4] Operation: 29-25=4
Exploring Operation: 47-29=18, Resulting Numbers: [25, 18]
Generated Node #0,4,2: 41:[25, 18] Operation: 47-29=18
Exploring Operation: 47+25=72, Resulting Numbers: [29, 72]
Generated Node #0,4,3: 41:[29, 72] Operation: 47+25=72
Exploring Operation: 29+25=54, Resulting Numbers: [47, 54]
Generated Node #0,4,4: 41:[47, 54] Operation: 29+25=54
Moving to Node #0,1
Current State: 41:[29, 24, 46], Operations: ['47-1=46']
Exploring Operation: 29+24=53, Resulting Numbers: [46, 53]
Generated Node #0,1,0: 41:[46, 53] Operation: 29+24=53
Exploring Operation: 24+46=70, Resulting Numbers: [29, 70]
Generated Node #0,1,1: 41:[29, 70] Operation: 24+46=70
Exploring Operation: 46-24=22, Resulting Numbers: [29, 22]
Generated Node #0,1,2: 41:[29, 22] Operation: 46-24=22
Exploring Operation: 46-29=17, Resulting Numbers: [24, 17]
Generated Node #0,1,3: 41:[24, 17] Operation: 46-29=17
Exploring Operation: 29-24=5, Resulting Numbers: [46, 5]
Generated Node #0,1,4: 41:[46, 5] Operation: 29-24=5
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 41:[46, 53], Operations: ['47-1=46', '29+24=53']
Exploring Operation: 46*53=2438, Resulting Numbers: [2438]
2438,41 unequal: No Solution
Exploring Operation: 53-46=7, Resulting Numbers: [7]
7,41 unequal: No Solution
Exploring Operation: 46+53=99, Resulting Numbers: [99]
99,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 41:[29, 22], Operations: ['47-1=46', '46-24=22']
Exploring Operation: 29+22=51, Resulting Numbers: [51]
51,41 unequal: No Solution
Exploring Operation: 29*22=638, Resulting Numbers: [638]
638,41 unequal: No Solution
Exploring Operation: 29-22=7, Resulting Numbers: [7]
7,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 41:[29, 70], Operations: ['47-1=46', '24+46=70']
Exploring Operation: 70-29=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[29, 47, 24, 1], Operations: []
Exploring Operation: 47-1=46, Resulting Numbers: [29, 24, 46]
Generated Node #0,1: 41:[29, 24, 46] Operation: 47-1=46
Moving to Node #0,1
Current State: 41:[29, 24, 46], Operations: ['47-1=46']
Exploring Operation: 24+46=70, Resulting Numbers: [29, 70]
Generated Node #0,1,1: 41:[29, 70] Operation: 24+46=70
Moving to Node #0,1,1
Current State: 41:[29, 70], Operations: ['47-1=46', '24+46=70']
Exploring Operation: 70-29=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 1
| 0.97309 | hs_5 | mult_heuristic |
[
92,
99,
2,
73
] | 68 | [
"99-92=7",
"2+73=75",
"75-7=68"
] | Current State: 68:[92, 99, 2, 73], Operations: []
Exploring Operation: 99-92=7, Resulting Numbers: [2, 73, 7]
Generated Node #2: [2, 73, 7] from Operation: 99-92=7
Current State: 68:[2, 73, 7], Operations: ['99-92=7']
Exploring Operation: 2+73=75, Resulting Numbers: [7, 75]
Generated Node #3: [7, 75] from Operation: 2+73=75
Current State: 68:[7, 75], Operations: ['99-92=7', '2+73=75']
Exploring Operation: 75-7=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[92, 99, 2, 73], Operations: []
Exploring Operation: 99-92=7, Resulting Numbers: [2, 73, 7]
Generated Node #0,0: 68:[2, 73, 7] Operation: 99-92=7
Exploring Operation: 92/2=46, Resulting Numbers: [99, 73, 46]
Generated Node #0,1: 68:[99, 73, 46] Operation: 92/2=46
Exploring Operation: 99-73=26, Resulting Numbers: [92, 2, 26]
Generated Node #0,2: 68:[92, 2, 26] Operation: 99-73=26
Exploring Operation: 92-73=19, Resulting Numbers: [99, 2, 19]
Generated Node #0,3: 68:[99, 2, 19] Operation: 92-73=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[2, 73, 7], Operations: ['99-92=7']
Exploring Operation: 2*7=14, Resulting Numbers: [73, 14]
Generated Node #0,0,0: 68:[73, 14] Operation: 2*7=14
Exploring Operation: 7-2=5, Resulting Numbers: [73, 5]
Generated Node #0,0,1: 68:[73, 5] Operation: 7-2=5
Exploring Operation: 73-7=66, Resulting Numbers: [2, 66]
Generated Node #0,0,2: 68:[2, 66] Operation: 73-7=66
Exploring Operation: 73-2=71, Resulting Numbers: [7, 71]
Generated Node #0,0,3: 68:[7, 71] Operation: 73-2=71
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 68:[2, 66], Operations: ['99-92=7', '73-7=66']
Exploring Operation: 66-2=64, Resulting Numbers: [64]
64,68 unequal: No Solution
Exploring Operation: 2+66=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[92, 99, 2, 73], Operations: []
Exploring Operation: 99-92=7, Resulting Numbers: [2, 73, 7]
Generated Node #0,0: 68:[2, 73, 7] Operation: 99-92=7
Moving to Node #0,0
Current State: 68:[2, 73, 7], Operations: ['99-92=7']
Exploring Operation: 73-7=66, Resulting Numbers: [2, 66]
Generated Node #0,0,2: 68:[2, 66] Operation: 73-7=66
Moving to Node #0,0,2
Current State: 68:[2, 66], Operations: ['99-92=7', '73-7=66']
Exploring Operation: 2+66=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
51,
15,
90,
5
] | 23 | [
"51*5=255",
"90+255=345",
"345/15=23"
] | Current State: 23:[51, 15, 90, 5], Operations: []
Exploring Operation: 51*5=255, Resulting Numbers: [15, 90, 255]
Generated Node #2: [15, 90, 255] from Operation: 51*5=255
Current State: 23:[15, 90, 255], Operations: ['51*5=255']
Exploring Operation: 90+255=345, Resulting Numbers: [15, 345]
Generated Node #3: [15, 345] from Operation: 90+255=345
Current State: 23:[15, 345], Operations: ['51*5=255', '90+255=345']
Exploring Operation: 345/15=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[51, 15, 90, 5], Operations: []
Exploring Operation: 90/5=18, Resulting Numbers: [51, 15, 18]
Generated Node #0,0: 23:[51, 15, 18] Operation: 90/5=18
Exploring Operation: 51-5=46, Resulting Numbers: [15, 90, 46]
Generated Node #0,1: 23:[15, 90, 46] Operation: 51-5=46
Exploring Operation: 90-51=39, Resulting Numbers: [15, 5, 39]
Generated Node #0,2: 23:[15, 5, 39] Operation: 90-51=39
Exploring Operation: 90/15=6, Resulting Numbers: [51, 5, 6]
Generated Node #0,3: 23:[51, 5, 6] Operation: 90/15=6
Exploring Operation: 51-15=36, Resulting Numbers: [90, 5, 36]
Generated Node #0,4: 23:[90, 5, 36] Operation: 51-15=36
Moving to Node #0,0
Current State: 23:[51, 15, 18], Operations: ['90/5=18']
Exploring Operation: 51-15=36, Resulting Numbers: [18, 36]
Generated Node #0,0,0: 23:[18, 36] Operation: 51-15=36
Exploring Operation: 51-18=33, Resulting Numbers: [15, 33]
Generated Node #0,0,1: 23:[15, 33] Operation: 51-18=33
Exploring Operation: 18-15=3, Resulting Numbers: [51, 3]
Generated Node #0,0,2: 23:[51, 3] Operation: 18-15=3
Exploring Operation: 15+18=33, Resulting Numbers: [51, 33]
Generated Node #0,0,3: 23:[51, 33] Operation: 15+18=33
Exploring Operation: 51+15=66, Resulting Numbers: [18, 66]
Generated Node #0,0,4: 23:[18, 66] Operation: 51+15=66
Moving to Node #0,2
Current State: 23:[15, 5, 39], Operations: ['90-51=39']
Exploring Operation: 15-5=10, Resulting Numbers: [39, 10]
Generated Node #0,2,0: 23:[39, 10] Operation: 15-5=10
Exploring Operation: 5+39=44, Resulting Numbers: [15, 44]
Generated Node #0,2,1: 23:[15, 44] Operation: 5+39=44
Exploring Operation: 15+5=20, Resulting Numbers: [39, 20]
Generated Node #0,2,2: 23:[39, 20] Operation: 15+5=20
Exploring Operation: 39-5=34, Resulting Numbers: [15, 34]
Generated Node #0,2,3: 23:[15, 34] Operation: 39-5=34
Exploring Operation: 39-15=24, Resulting Numbers: [5, 24]
Generated Node #0,2,4: 23:[5, 24] Operation: 39-15=24
Moving to Node #0,3
Current State: 23:[51, 5, 6], Operations: ['90/15=6']
Exploring Operation: 5*6=30, Resulting Numbers: [51, 30]
Generated Node #0,3,0: 23:[51, 30] Operation: 5*6=30
Exploring Operation: 51-6=45, Resulting Numbers: [5, 45]
Generated Node #0,3,1: 23:[5, 45] Operation: 51-6=45
Exploring Operation: 51+5=56, Resulting Numbers: [6, 56]
Generated Node #0,3,2: 23:[6, 56] Operation: 51+5=56
Exploring Operation: 5+6=11, Resulting Numbers: [51, 11]
Generated Node #0,3,3: 23:[51, 11] Operation: 5+6=11
Exploring Operation: 51-5=46, Resulting Numbers: [6, 46]
Generated Node #0,3,4: 23:[6, 46] Operation: 51-5=46
Moving to Node #0,1
Current State: 23:[15, 90, 46], Operations: ['51-5=46']
Exploring Operation: 90-15=75, Resulting Numbers: [46, 75]
Generated Node #0,1,0: 23:[46, 75] Operation: 90-15=75
Exploring Operation: 15+90=105, Resulting Numbers: [46, 105]
Generated Node #0,1,1: 23:[46, 105] Operation: 15+90=105
Exploring Operation: 90-46=44, Resulting Numbers: [15, 44]
Generated Node #0,1,2: 23:[15, 44] Operation: 90-46=44
Exploring Operation: 90/15=6, Resulting Numbers: [46, 6]
Generated Node #0,1,3: 23:[46, 6] Operation: 90/15=6
Exploring Operation: 46-15=31, Resulting Numbers: [90, 31]
Generated Node #0,1,4: 23:[90, 31] Operation: 46-15=31
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 23:[15, 44], Operations: ['51-5=46', '90-46=44']
Exploring Operation: 15+44=59, Resulting Numbers: [59]
59,23 unequal: No Solution
Exploring Operation: 44-15=29, Resulting Numbers: [29]
29,23 unequal: No Solution
Exploring Operation: 15*44=660, Resulting Numbers: [660]
660,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 23:[46, 6], Operations: ['51-5=46', '90/15=6']
Exploring Operation: 46+6=52, Resulting Numbers: [52]
52,23 unequal: No Solution
Exploring Operation: 46-6=40, Resulting Numbers: [40]
40,23 unequal: No Solution
Exploring Operation: 46*6=276, Resulting Numbers: [276]
276,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 23:[46, 75], Operations: ['51-5=46', '90-15=75']
Exploring Operation: 46*75=3450, Resulting Numbers: [3450]
3450,23 unequal: No Solution
Exploring Operation: 75-46=29, Resulting Numbers: [29]
29,23 unequal: No Solution
Exploring Operation: 46+75=121, Resulting Numbers: [121]
121,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 23:[90, 31], Operations: ['51-5=46', '46-15=31']
Exploring Operation: 90*31=2790, Resulting Numbers: [2790]
2790,23 unequal: No Solution
Exploring Operation: 90+31=121, Resulting Numbers: [121]
121,23 unequal: No Solution
Exploring Operation: 90-31=59, Resulting Numbers: [59]
59,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 23:[46, 105], Operations: ['51-5=46', '15+90=105']
Exploring Operation: 46+105=151, Resulting Numbers: [151]
151,23 unequal: No Solution
Exploring Operation: 46*105=4830, Resulting Numbers: [4830]
4830,23 unequal: No Solution
Exploring Operation: 105-46=59, Resulting Numbers: [59]
59,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 23:[90, 5, 36], Operations: ['51-15=36']
Exploring Operation: 90-5=85, Resulting Numbers: [36, 85]
Generated Node #0,4,0: 23:[36, 85] Operation: 90-5=85
Exploring Operation: 36-5=31, Resulting Numbers: [90, 31]
Generated Node #0,4,1: 23:[90, 31] Operation: 36-5=31
Exploring Operation: 90/5=18, Resulting Numbers: [36, 18]
Generated Node #0,4,2: 23:[36, 18] Operation: 90/5=18
Exploring Operation: 90-36=54, Resulting Numbers: [5, 54]
Generated Node #0,4,3: 23:[5, 54] Operation: 90-36=54
Exploring Operation: 90+5=95, Resulting Numbers: [36, 95]
Generated Node #0,4,4: 23:[36, 95] Operation: 90+5=95
Moving to Node #0,0,0
Current State: 23:[18, 36], Operations: ['90/5=18', '51-15=36']
Exploring Operation: 18+36=54, Resulting Numbers: [54]
54,23 unequal: No Solution
Exploring Operation: 18*36=648, Resulting Numbers: [648]
648,23 unequal: No Solution
Exploring Operation: 36/18=2, Resulting Numbers: [2]
2,23 unequal: No Solution
Exploring Operation: 36-18=18, Resulting Numbers: [18]
18,23 unequal: No Solution
Moving to Node #0,0,1
Current State: 23:[15, 33], Operations: ['90/5=18', '51-18=33']
Exploring Operation: 15+33=48, Resulting Numbers: [48]
48,23 unequal: No Solution
Exploring Operation: 15*33=495, Resulting Numbers: [495]
495,23 unequal: No Solution
Exploring Operation: 33-15=18, Resulting Numbers: [18]
18,23 unequal: No Solution
Moving to Node #0,4,2
Current State: 23:[36, 18], Operations: ['51-15=36', '90/5=18']
Exploring Operation: 36*18=648, Resulting Numbers: [648]
648,23 unequal: No Solution
Exploring Operation: 36-18=18, Resulting Numbers: [18]
18,23 unequal: No Solution
Exploring Operation: 36/18=2, Resulting Numbers: [2]
2,23 unequal: No Solution
Exploring Operation: 36+18=54, Resulting Numbers: [54]
54,23 unequal: No Solution
Moving to Node #0,2,2
Current State: 23:[39, 20], Operations: ['90-51=39', '15+5=20']
Exploring Operation: 39-20=19, Resulting Numbers: [19]
19,23 unequal: No Solution
Exploring Operation: 39+20=59, Resulting Numbers: [59]
59,23 unequal: No Solution
Exploring Operation: 39*20=780, Resulting Numbers: [780]
780,23 unequal: No Solution
Moving to Node #0,2,3
Current State: 23:[15, 34], Operations: ['90-51=39', '39-5=34']
Exploring Operation: 15*34=510, Resulting Numbers: [510]
510,23 unequal: No Solution
Exploring Operation: 15+34=49, Resulting Numbers: [49]
49,23 unequal: No Solution
Exploring Operation: 34-15=19, Resulting Numbers: [19]
19,23 unequal: No Solution
Moving to Node #0,2,4
Current State: 23:[5, 24], Operations: ['90-51=39', '39-15=24']
Exploring Operation: 5+24=29, Resulting Numbers: [29]
29,23 unequal: No Solution
Exploring Operation: 24-5=19, Resulting Numbers: [19]
19,23 unequal: No Solution
Exploring Operation: 5*24=120, Resulting Numbers: [120]
120,23 unequal: No Solution
Moving to Node #0,2,1
Current State: 23:[15, 44], Operations: ['90-51=39', '5+39=44']
Exploring Operation: 15+44=59, Resulting Numbers: [59]
59,23 unequal: No Solution
Exploring Operation: 15*44=660, Resulting Numbers: [660]
660,23 unequal: No Solution
Exploring Operation: 44-15=29, Resulting Numbers: [29]
29,23 unequal: No Solution
Moving to Node #0,2,0
Current State: 23:[39, 10], Operations: ['90-51=39', '15-5=10']
Exploring Operation: 39*10=390, Resulting Numbers: [390]
390,23 unequal: No Solution
Exploring Operation: 39-10=29, Resulting Numbers: [29]
29,23 unequal: No Solution
Exploring Operation: 39+10=49, Resulting Numbers: [49]
49,23 unequal: No Solution
Moving to Node #0,3,0
Current State: 23:[51, 30], Operations: ['90/15=6', '5*6=30']
Exploring Operation: 51*30=1530, Resulting Numbers: [1530]
1530,23 unequal: No Solution
Exploring Operation: 51+30=81, Resulting Numbers: [81]
81,23 unequal: No Solution
Exploring Operation: 51-30=21, Resulting Numbers: [21]
21,23 unequal: No Solution
Moving to Node #0,0,3
Current State: 23:[51, 33], Operations: ['90/5=18', '15+18=33']
Exploring Operation: 51+33=84, Resulting Numbers: [84]
84,23 unequal: No Solution
Exploring Operation: 51-33=18, Resulting Numbers: [18]
18,23 unequal: No Solution
Exploring Operation: 51*33=1683, Resulting Numbers: [1683]
1683,23 unequal: No Solution
Moving to Node #0,3,4
Current State: 23:[6, 46], Operations: ['90/15=6', '51-5=46']
Exploring Operation: 6+46=52, Resulting Numbers: [52]
52,23 unequal: No Solution
Exploring Operation: 6*46=276, Resulting Numbers: [276]
276,23 unequal: No Solution
Exploring Operation: 46-6=40, Resulting Numbers: [40]
40,23 unequal: No Solution
Moving to Node #0,3,1
Current State: 23:[5, 45], Operations: ['90/15=6', '51-6=45']
Exploring Operation: 45/5=9, Resulting Numbers: [9]
9,23 unequal: No Solution
Exploring Operation: 45-5=40, Resulting Numbers: [40]
40,23 unequal: No Solution
Exploring Operation: 5+45=50, Resulting Numbers: [50]
50,23 unequal: No Solution
Exploring Operation: 5*45=225, Resulting Numbers: [225]
225,23 unequal: No Solution
Moving to Node #0,3,3
Current State: 23:[51, 11], Operations: ['90/15=6', '5+6=11']
Exploring Operation: 51-11=40, Resulting Numbers: [40]
40,23 unequal: No Solution
Exploring Operation: 51*11=561, Resulting Numbers: [561]
561,23 unequal: No Solution
Exploring Operation: 51+11=62, Resulting Numbers: [62]
62,23 unequal: No Solution
Moving to Node #0,0,4
Current State: 23:[18, 66], Operations: ['90/5=18', '51+15=66']
Exploring Operation: 66-18=48, Resulting Numbers: [48]
48,23 unequal: No Solution
Exploring Operation: 18*66=1188, Resulting Numbers: [1188]
1188,23 unequal: No Solution
Exploring Operation: 18+66=84, Resulting Numbers: [84]
84,23 unequal: No Solution
Moving to Node #0,0,2
Current State: 23:[51, 3], Operations: ['90/5=18', '18-15=3']
Exploring Operation: 51/3=17, Resulting Numbers: [17]
17,23 unequal: No Solution
Exploring Operation: 51-3=48, Resulting Numbers: [48]
48,23 unequal: No Solution
Exploring Operation: 51*3=153, Resulting Numbers: [153]
153,23 unequal: No Solution
Exploring Operation: 51+3=54, Resulting Numbers: [54]
54,23 unequal: No Solution
Moving to Node #0,4,3
Current State: 23:[5, 54], Operations: ['51-15=36', '90-36=54']
Exploring Operation: 54-5=49, Resulting Numbers: [49]
49,23 unequal: No Solution
Exploring Operation: 5*54=270, Resulting Numbers: [270]
270,23 unequal: No Solution
Exploring Operation: 5+54=59, Resulting Numbers: [59]
59,23 unequal: No Solution
Moving to Node #0,3,2
Current State: 23:[6, 56], Operations: ['90/15=6', '51+5=56']
Exploring Operation: 56-6=50, Resulting Numbers: [50]
50,23 unequal: No Solution
Exploring Operation: 6*56=336, Resulting Numbers: [336]
336,23 unequal: No Solution
Exploring Operation: 6+56=62, Resulting Numbers: [62]
62,23 unequal: No Solution
Moving to Node #0,4,1
Current State: 23:[90, 31], Operations: ['51-15=36', '36-5=31']
Exploring Operation: 90+31=121, Resulting Numbers: [121]
121,23 unequal: No Solution
Exploring Operation: 90*31=2790, Resulting Numbers: [2790]
2790,23 unequal: No Solution
Exploring Operation: 90-31=59, Resulting Numbers: [59]
59,23 unequal: No Solution
Moving to Node #0,4,0
Current State: 23:[36, 85], Operations: ['51-15=36', '90-5=85']
Exploring Operation: 36*85=3060, Resulting Numbers: [3060]
3060,23 unequal: No Solution
Exploring Operation: 85-36=49, Resulting Numbers: [49]
49,23 unequal: No Solution
Exploring Operation: 36+85=121, Resulting Numbers: [121]
121,23 unequal: No Solution
Moving to Node #0,4,4
Current State: 23:[36, 95], Operations: ['51-15=36', '90+5=95']
Exploring Operation: 36*95=3420, Resulting Numbers: [3420]
3420,23 unequal: No Solution
Exploring Operation: 36+95=131, Resulting Numbers: [131]
131,23 unequal: No Solution
Exploring Operation: 95-36=59, Resulting Numbers: [59]
59,23 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
81,
23,
30,
4
] | 90 | [
"81*30=2430",
"23+4=27",
"2430/27=90"
] | Current State: 90:[81, 23, 30, 4], Operations: []
Exploring Operation: 81*30=2430, Resulting Numbers: [23, 4, 2430]
Generated Node #2: [23, 4, 2430] from Operation: 81*30=2430
Current State: 90:[23, 4, 2430], Operations: ['81*30=2430']
Exploring Operation: 23+4=27, Resulting Numbers: [2430, 27]
Generated Node #3: [2430, 27] from Operation: 23+4=27
Current State: 90:[2430, 27], Operations: ['81*30=2430', '23+4=27']
Exploring Operation: 2430/27=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[81, 23, 30, 4], Operations: []
Exploring Operation: 81+4=85, Resulting Numbers: [23, 30, 85]
Generated Node #0,0: 90:[23, 30, 85] Operation: 81+4=85
Exploring Operation: 23-4=19, Resulting Numbers: [81, 30, 19]
Generated Node #0,1: 90:[81, 30, 19] Operation: 23-4=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[23, 30, 85], Operations: ['81+4=85']
Exploring Operation: 23+30=53, Resulting Numbers: [85, 53]
Generated Node #0,0,0: 90:[85, 53] Operation: 23+30=53
Exploring Operation: 30-23=7, Resulting Numbers: [85, 7]
Generated Node #0,0,1: 90:[85, 7] Operation: 30-23=7
Moving to Node #0,0,1
Current State: 90:[85, 7], Operations: ['81+4=85', '30-23=7']
Exploring Operation: 85+7=92, Resulting Numbers: [92]
92,90 unequal: No Solution
Exploring Operation: 85-7=78, Resulting Numbers: [78]
78,90 unequal: No Solution
Moving to Node #0,0,0
Current State: 90:[85, 53], Operations: ['81+4=85', '23+30=53']
Exploring Operation: 85-53=32, Resulting Numbers: [32]
32,90 unequal: No Solution
Exploring Operation: 85+53=138, Resulting Numbers: [138]
138,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 90:[81, 30, 19], Operations: ['23-4=19']
Exploring Operation: 81+19=100, Resulting Numbers: [30, 100]
Generated Node #0,1,0: 90:[30, 100] Operation: 81+19=100
Exploring Operation: 81-30=51, Resulting Numbers: [19, 51]
Generated Node #0,1,1: 90:[19, 51] Operation: 81-30=51
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 90:[19, 51], Operations: ['23-4=19', '81-30=51']
Exploring Operation: 19+51=70, Resulting Numbers: [70]
70,90 unequal: No Solution
Exploring Operation: 51-19=32, Resulting Numbers: [32]
32,90 unequal: No Solution
No 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: 90:[30, 100], Operations: ['23-4=19', '81+19=100']
Exploring Operation: 100-30=70, Resulting Numbers: [70]
70,90 unequal: No Solution
Exploring Operation: 30+100=130, Resulting Numbers: [130]
130,90 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 |
[
5,
31,
94,
88
] | 61 | [
"94-88=6",
"5*6=30",
"31+30=61"
] | Current State: 61:[5, 31, 94, 88], Operations: []
Exploring Operation: 94-88=6, Resulting Numbers: [5, 31, 6]
Generated Node #2: [5, 31, 6] from Operation: 94-88=6
Current State: 61:[5, 31, 6], Operations: ['94-88=6']
Exploring Operation: 5*6=30, Resulting Numbers: [31, 30]
Generated Node #3: [31, 30] from Operation: 5*6=30
Current State: 61:[31, 30], Operations: ['94-88=6', '5*6=30']
Exploring Operation: 31+30=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[5, 31, 94, 88], Operations: []
Exploring Operation: 88-5=83, Resulting Numbers: [31, 94, 83]
Generated Node #0,0: 61:[31, 94, 83] Operation: 88-5=83
Exploring Operation: 94-5=89, Resulting Numbers: [31, 88, 89]
Generated Node #0,1: 61:[31, 88, 89] Operation: 94-5=89
Exploring Operation: 5+31=36, Resulting Numbers: [94, 88, 36]
Generated Node #0,2: 61:[94, 88, 36] Operation: 5+31=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[31, 94, 83], Operations: ['88-5=83']
Exploring Operation: 94-83=11, Resulting Numbers: [31, 11]
Generated Node #0,0,0: 61:[31, 11] Operation: 94-83=11
Exploring Operation: 94-31=63, Resulting Numbers: [83, 63]
Generated Node #0,0,1: 61:[83, 63] Operation: 94-31=63
Exploring Operation: 83-31=52, Resulting Numbers: [94, 52]
Generated Node #0,0,2: 61:[94, 52] Operation: 83-31=52
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 61:[83, 63], Operations: ['88-5=83', '94-31=63']
Exploring Operation: 83-63=20, Resulting Numbers: [20]
20,61 unequal: No Solution
Exploring Operation: 83*63=5229, Resulting Numbers: [5229]
5229,61 unequal: No Solution
Exploring Operation: 83+63=146, Resulting Numbers: [146]
146,61 unequal: No Solution
No 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: 61:[94, 52], Operations: ['88-5=83', '83-31=52']
Exploring Operation: 94-52=42, Resulting Numbers: [42]
42,61 unequal: No Solution
Exploring Operation: 94+52=146, Resulting Numbers: [146]
146,61 unequal: No Solution
Exploring Operation: 94*52=4888, Resulting Numbers: [4888]
4888,61 unequal: No Solution
No 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: 61:[31, 11], Operations: ['88-5=83', '94-83=11']
Exploring Operation: 31+11=42, Resulting Numbers: [42]
42,61 unequal: No Solution
Exploring Operation: 31-11=20, Resulting Numbers: [20]
20,61 unequal: No Solution
Exploring Operation: 31*11=341, Resulting Numbers: [341]
341,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 61:[31, 88, 89], Operations: ['94-5=89']
Exploring Operation: 31+88=119, Resulting Numbers: [89, 119]
Generated Node #0,1,0: 61:[89, 119] Operation: 31+88=119
Exploring Operation: 88-31=57, Resulting Numbers: [89, 57]
Generated Node #0,1,1: 61:[89, 57] Operation: 88-31=57
Exploring Operation: 89-31=58, Resulting Numbers: [88, 58]
Generated Node #0,1,2: 61:[88, 58] Operation: 89-31=58
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 61:[88, 58], Operations: ['94-5=89', '89-31=58']
Exploring Operation: 88+58=146, Resulting Numbers: [146]
146,61 unequal: No Solution
Exploring Operation: 88-58=30, Resulting Numbers: [30]
30,61 unequal: No Solution
Exploring Operation: 88*58=5104, Resulting Numbers: [5104]
5104,61 unequal: No Solution
No 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: 61:[89, 57], Operations: ['94-5=89', '88-31=57']
Exploring Operation: 89+57=146, Resulting Numbers: [146]
146,61 unequal: No Solution
Exploring Operation: 89-57=32, Resulting Numbers: [32]
32,61 unequal: No Solution
Exploring Operation: 89*57=5073, Resulting Numbers: [5073]
5073,61 unequal: No Solution
No 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: 61:[89, 119], Operations: ['94-5=89', '31+88=119']
Exploring Operation: 89*119=10591, Resulting Numbers: [10591]
10591,61 unequal: No Solution
Exploring Operation: 89+119=208, Resulting Numbers: [208]
208,61 unequal: No Solution
Exploring Operation: 119-89=30, Resulting Numbers: [30]
30,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 61:[94, 88, 36], Operations: ['5+31=36']
Exploring Operation: 94-36=58, Resulting Numbers: [88, 58]
Generated Node #0,2,0: 61:[88, 58] Operation: 94-36=58
Exploring Operation: 94-88=6, Resulting Numbers: [36, 6]
Generated Node #0,2,1: 61:[36, 6] Operation: 94-88=6
Exploring Operation: 88-36=52, Resulting Numbers: [94, 52]
Generated Node #0,2,2: 61:[94, 52] Operation: 88-36=52
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 61:[88, 58], Operations: ['5+31=36', '94-36=58']
Exploring Operation: 88*58=5104, Resulting Numbers: [5104]
5104,61 unequal: No Solution
Exploring Operation: 88+58=146, Resulting Numbers: [146]
146,61 unequal: No Solution
Exploring Operation: 88-58=30, Resulting Numbers: [30]
30,61 unequal: No Solution
No 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: 61:[94, 52], Operations: ['5+31=36', '88-36=52']
Exploring Operation: 94-52=42, Resulting Numbers: [42]
42,61 unequal: No Solution
Exploring Operation: 94+52=146, Resulting Numbers: [146]
146,61 unequal: No Solution
Exploring Operation: 94*52=4888, Resulting Numbers: [4888]
4888,61 unequal: No Solution
No 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: 61:[36, 6], Operations: ['5+31=36', '94-88=6']
Exploring Operation: 36/6=6, Resulting Numbers: [6]
6,61 unequal: No Solution
Exploring Operation: 36-6=30, Resulting Numbers: [30]
30,61 unequal: No Solution
Exploring Operation: 36+6=42, Resulting Numbers: [42]
42,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
91,
41,
7,
96
] | 93 | [
"41+7=48",
"96/48=2",
"91+2=93"
] | Current State: 93:[91, 41, 7, 96], Operations: []
Exploring Operation: 41+7=48, Resulting Numbers: [91, 96, 48]
Generated Node #2: [91, 96, 48] from Operation: 41+7=48
Current State: 93:[91, 96, 48], Operations: ['41+7=48']
Exploring Operation: 96/48=2, Resulting Numbers: [91, 2]
Generated Node #3: [91, 2] from Operation: 96/48=2
Current State: 93:[91, 2], Operations: ['41+7=48', '96/48=2']
Exploring Operation: 91+2=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[91, 41, 7, 96], Operations: []
Exploring Operation: 41-7=34, Resulting Numbers: [91, 96, 34]
Generated Node #0,0: 93:[91, 96, 34] Operation: 41-7=34
Moving to Node #0,0
Current State: 93:[91, 96, 34], Operations: ['41-7=34']
Exploring Operation: 96-91=5, Resulting Numbers: [34, 5]
Generated Node #0,0,0: 93:[34, 5] Operation: 96-91=5
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 93:[34, 5], Operations: ['41-7=34', '96-91=5']
Exploring Operation: 34-5=29, Resulting Numbers: [29]
29,93 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 |
[
88,
71,
54,
5
] | 67 | [
"88*54=4752",
"5+4752=4757",
"4757/71=67"
] | Current State: 67:[88, 71, 54, 5], Operations: []
Exploring Operation: 88*54=4752, Resulting Numbers: [71, 5, 4752]
Generated Node #2: [71, 5, 4752] from Operation: 88*54=4752
Current State: 67:[71, 5, 4752], Operations: ['88*54=4752']
Exploring Operation: 5+4752=4757, Resulting Numbers: [71, 4757]
Generated Node #3: [71, 4757] from Operation: 5+4752=4757
Current State: 67:[71, 4757], Operations: ['88*54=4752', '5+4752=4757']
Exploring Operation: 4757/71=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[88, 71, 54, 5], Operations: []
Exploring Operation: 54+5=59, Resulting Numbers: [88, 71, 59]
Generated Node #0,0: 67:[88, 71, 59] Operation: 54+5=59
Exploring Operation: 88-5=83, Resulting Numbers: [71, 54, 83]
Generated Node #0,1: 67:[71, 54, 83] Operation: 88-5=83
Moving to Node #0,0
Current State: 67:[88, 71, 59], Operations: ['54+5=59']
Exploring Operation: 88-71=17, Resulting Numbers: [59, 17]
Generated Node #0,0,0: 67:[59, 17] Operation: 88-71=17
Exploring Operation: 88-59=29, Resulting Numbers: [71, 29]
Generated Node #0,0,1: 67:[71, 29] Operation: 88-59=29
Moving to Node #0,1
Current State: 67:[71, 54, 83], Operations: ['88-5=83']
Exploring Operation: 83-54=29, Resulting Numbers: [71, 29]
Generated Node #0,1,0: 67:[71, 29] Operation: 83-54=29
Exploring Operation: 71-54=17, Resulting Numbers: [83, 17]
Generated Node #0,1,1: 67:[83, 17] Operation: 71-54=17
Moving to Node #0,0,1
Current State: 67:[71, 29], Operations: ['54+5=59', '88-59=29']
Exploring Operation: 71+29=100, Resulting Numbers: [100]
100,67 unequal: No Solution
Exploring Operation: 71-29=42, Resulting Numbers: [42]
42,67 unequal: No Solution
Moving to Node #0,1,0
Current State: 67:[71, 29], Operations: ['88-5=83', '83-54=29']
Exploring Operation: 71-29=42, Resulting Numbers: [42]
42,67 unequal: No Solution
Exploring Operation: 71+29=100, Resulting Numbers: [100]
100,67 unequal: No Solution
Moving to Node #0,0,0
Current State: 67:[59, 17], Operations: ['54+5=59', '88-71=17']
Exploring Operation: 59-17=42, Resulting Numbers: [42]
42,67 unequal: No Solution
Exploring Operation: 59+17=76, Resulting Numbers: [76]
76,67 unequal: No Solution
Moving to Node #0,1,1
Current State: 67:[83, 17], Operations: ['88-5=83', '71-54=17']
Exploring Operation: 83+17=100, Resulting Numbers: [100]
100,67 unequal: No Solution
Exploring Operation: 83-17=66, Resulting Numbers: [66]
66,67 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
81,
11,
96,
98
] | 72 | [
"81-11=70",
"98-96=2",
"70+2=72"
] | Current State: 72:[81, 11, 96, 98], Operations: []
Exploring Operation: 81-11=70, Resulting Numbers: [96, 98, 70]
Generated Node #2: [96, 98, 70] from Operation: 81-11=70
Current State: 72:[96, 98, 70], Operations: ['81-11=70']
Exploring Operation: 98-96=2, Resulting Numbers: [70, 2]
Generated Node #3: [70, 2] from Operation: 98-96=2
Current State: 72:[70, 2], Operations: ['81-11=70', '98-96=2']
Exploring Operation: 70+2=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[81, 11, 96, 98], Operations: []
Exploring Operation: 98-96=2, Resulting Numbers: [81, 11, 2]
Generated Node #0,0: 72:[81, 11, 2] Operation: 98-96=2
Exploring Operation: 96-81=15, Resulting Numbers: [11, 98, 15]
Generated Node #0,1: 72:[11, 98, 15] Operation: 96-81=15
Exploring Operation: 98-11=87, Resulting Numbers: [81, 96, 87]
Generated Node #0,2: 72:[81, 96, 87] Operation: 98-11=87
Exploring Operation: 96-11=85, Resulting Numbers: [81, 98, 85]
Generated Node #0,3: 72:[81, 98, 85] Operation: 96-11=85
Exploring Operation: 98-81=17, Resulting Numbers: [11, 96, 17]
Generated Node #0,4: 72:[11, 96, 17] Operation: 98-81=17
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[81, 11, 2], Operations: ['98-96=2']
Exploring Operation: 11+2=13, Resulting Numbers: [81, 13]
Generated Node #0,0,0: 72:[81, 13] Operation: 11+2=13
Exploring Operation: 81-11=70, Resulting Numbers: [2, 70]
Generated Node #0,0,1: 72:[2, 70] Operation: 81-11=70
Exploring Operation: 11-2=9, Resulting Numbers: [81, 9]
Generated Node #0,0,2: 72:[81, 9] Operation: 11-2=9
Exploring Operation: 11*2=22, Resulting Numbers: [81, 22]
Generated Node #0,0,3: 72:[81, 22] Operation: 11*2=22
Exploring Operation: 81-2=79, Resulting Numbers: [11, 79]
Generated Node #0,0,4: 72:[11, 79] Operation: 81-2=79
Moving to Node #0,0,1
Current State: 72:[2, 70], Operations: ['98-96=2', '81-11=70']
Exploring Operation: 2*70=140, Resulting Numbers: [140]
140,72 unequal: No Solution
Exploring Operation: 70/2=35, Resulting Numbers: [35]
35,72 unequal: No Solution
Exploring Operation: 2+70=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[81, 11, 96, 98], Operations: []
Exploring Operation: 98-96=2, Resulting Numbers: [81, 11, 2]
Generated Node #0,0: 72:[81, 11, 2] Operation: 98-96=2
Moving to Node #0,0
Current State: 72:[81, 11, 2], Operations: ['98-96=2']
Exploring Operation: 81-11=70, Resulting Numbers: [2, 70]
Generated Node #0,0,1: 72:[2, 70] Operation: 81-11=70
Moving to Node #0,0,1
Current State: 72:[2, 70], Operations: ['98-96=2', '81-11=70']
Exploring Operation: 2+70=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
31,
39,
17,
76
] | 83 | [
"31*39=1209",
"17*76=1292",
"1292-1209=83"
] | Current State: 83:[31, 39, 17, 76], Operations: []
Exploring Operation: 31*39=1209, Resulting Numbers: [17, 76, 1209]
Generated Node #2: [17, 76, 1209] from Operation: 31*39=1209
Current State: 83:[17, 76, 1209], Operations: ['31*39=1209']
Exploring Operation: 17*76=1292, Resulting Numbers: [1209, 1292]
Generated Node #3: [1209, 1292] from Operation: 17*76=1292
Current State: 83:[1209, 1292], Operations: ['31*39=1209', '17*76=1292']
Exploring Operation: 1292-1209=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[31, 39, 17, 76], Operations: []
Exploring Operation: 39+17=56, Resulting Numbers: [31, 76, 56]
Generated Node #0,0: 83:[31, 76, 56] Operation: 39+17=56
Exploring Operation: 31+17=48, Resulting Numbers: [39, 76, 48]
Generated Node #0,1: 83:[39, 76, 48] Operation: 31+17=48
Exploring Operation: 31+39=70, Resulting Numbers: [17, 76, 70]
Generated Node #0,2: 83:[17, 76, 70] Operation: 31+39=70
Moving to Node #0,0
Current State: 83:[31, 76, 56], Operations: ['39+17=56']
Exploring Operation: 76-31=45, Resulting Numbers: [56, 45]
Generated Node #0,0,0: 83:[56, 45] Operation: 76-31=45
Exploring Operation: 31+56=87, Resulting Numbers: [76, 87]
Generated Node #0,0,1: 83:[76, 87] Operation: 31+56=87
Exploring Operation: 31+76=107, Resulting Numbers: [56, 107]
Generated Node #0,0,2: 83:[56, 107] Operation: 31+76=107
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 83:[76, 87], Operations: ['39+17=56', '31+56=87']
Exploring Operation: 87-76=11, Resulting Numbers: [11]
11,83 unequal: No Solution
Exploring Operation: 76+87=163, Resulting Numbers: [163]
163,83 unequal: No Solution
Exploring Operation: 76*87=6612, Resulting Numbers: [6612]
6612,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 83:[56, 107], Operations: ['39+17=56', '31+76=107']
Exploring Operation: 56*107=5992, Resulting Numbers: [5992]
5992,83 unequal: No Solution
Exploring Operation: 56+107=163, Resulting Numbers: [163]
163,83 unequal: No Solution
Exploring Operation: 107-56=51, Resulting Numbers: [51]
51,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 83:[56, 45], Operations: ['39+17=56', '76-31=45']
Exploring Operation: 56+45=101, Resulting Numbers: [101]
101,83 unequal: No Solution
Exploring Operation: 56*45=2520, Resulting Numbers: [2520]
2520,83 unequal: No Solution
Exploring Operation: 56-45=11, Resulting Numbers: [11]
11,83 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: 83:[39, 76, 48], Operations: ['31+17=48']
Exploring Operation: 39+76=115, Resulting Numbers: [48, 115]
Generated Node #0,1,0: 83:[48, 115] Operation: 39+76=115
Exploring Operation: 76-39=37, Resulting Numbers: [48, 37]
Generated Node #0,1,1: 83:[48, 37] Operation: 76-39=37
Exploring Operation: 39+48=87, Resulting Numbers: [76, 87]
Generated Node #0,1,2: 83:[76, 87] Operation: 39+48=87
Moving to Node #0,2
Current State: 83:[17, 76, 70], Operations: ['31+39=70']
Exploring Operation: 17+70=87, Resulting Numbers: [76, 87]
Generated Node #0,2,0: 83:[76, 87] Operation: 17+70=87
Exploring Operation: 76-17=59, Resulting Numbers: [70, 59]
Generated Node #0,2,1: 83:[70, 59] Operation: 76-17=59
Exploring Operation: 17+76=93, Resulting Numbers: [70, 93]
Generated Node #0,2,2: 83:[70, 93] Operation: 17+76=93
Moving to Node #0,1,2
Current State: 83:[76, 87], Operations: ['31+17=48', '39+48=87']
Exploring Operation: 87-76=11, Resulting Numbers: [11]
11,83 unequal: No Solution
Exploring Operation: 76*87=6612, Resulting Numbers: [6612]
6612,83 unequal: No Solution
Exploring Operation: 76+87=163, Resulting Numbers: [163]
163,83 unequal: No Solution
Moving to Node #0,2,0
Current State: 83:[76, 87], Operations: ['31+39=70', '17+70=87']
Exploring Operation: 87-76=11, Resulting Numbers: [11]
11,83 unequal: No Solution
Exploring Operation: 76*87=6612, Resulting Numbers: [6612]
6612,83 unequal: No Solution
Exploring Operation: 76+87=163, Resulting Numbers: [163]
163,83 unequal: No Solution
Moving to Node #0,2,2
Current State: 83:[70, 93], Operations: ['31+39=70', '17+76=93']
Exploring Operation: 70+93=163, Resulting Numbers: [163]
163,83 unequal: No Solution
Exploring Operation: 70*93=6510, Resulting Numbers: [6510]
6510,83 unequal: No Solution
Exploring Operation: 93-70=23, Resulting Numbers: [23]
23,83 unequal: No Solution
Moving to Node #0,2,1
Current State: 83:[70, 59], Operations: ['31+39=70', '76-17=59']
Exploring Operation: 70-59=11, Resulting Numbers: [11]
11,83 unequal: No Solution
Exploring Operation: 70+59=129, Resulting Numbers: [129]
129,83 unequal: No Solution
Exploring Operation: 70*59=4130, Resulting Numbers: [4130]
4130,83 unequal: No Solution
Moving to Node #0,1,0
Current State: 83:[48, 115], Operations: ['31+17=48', '39+76=115']
Exploring Operation: 48*115=5520, Resulting Numbers: [5520]
5520,83 unequal: No Solution
Exploring Operation: 115-48=67, Resulting Numbers: [67]
67,83 unequal: No Solution
Exploring Operation: 48+115=163, Resulting Numbers: [163]
163,83 unequal: No Solution
Moving to Node #0,1,1
Current State: 83:[48, 37], Operations: ['31+17=48', '76-39=37']
Exploring Operation: 48-37=11, Resulting Numbers: [11]
11,83 unequal: No Solution
Exploring Operation: 48+37=85, Resulting Numbers: [85]
85,83 unequal: No Solution
Exploring Operation: 48*37=1776, Resulting Numbers: [1776]
1776,83 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
44,
56,
50,
75
] | 77 | [
"44+56=100",
"100/50=2",
"75+2=77"
] | Current State: 77:[44, 56, 50, 75], Operations: []
Exploring Operation: 44+56=100, Resulting Numbers: [50, 75, 100]
Generated Node #2: [50, 75, 100] from Operation: 44+56=100
Current State: 77:[50, 75, 100], Operations: ['44+56=100']
Exploring Operation: 100/50=2, Resulting Numbers: [75, 2]
Generated Node #3: [75, 2] from Operation: 100/50=2
Current State: 77:[75, 2], Operations: ['44+56=100', '100/50=2']
Exploring Operation: 75+2=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[44, 56, 50, 75], Operations: []
Exploring Operation: 50-44=6, Resulting Numbers: [56, 75, 6]
Generated Node #0,0: 77:[56, 75, 6] Operation: 50-44=6
Exploring Operation: 56-44=12, Resulting Numbers: [50, 75, 12]
Generated Node #0,1: 77:[50, 75, 12] Operation: 56-44=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[56, 75, 6], Operations: ['50-44=6']
Exploring Operation: 56+6=62, Resulting Numbers: [75, 62]
Generated Node #0,0,0: 77:[75, 62] Operation: 56+6=62
Exploring Operation: 75-56=19, Resulting Numbers: [6, 19]
Generated Node #0,0,1: 77:[6, 19] Operation: 75-56=19
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 77:[6, 19], Operations: ['50-44=6', '75-56=19']
Exploring Operation: 6+19=25, Resulting Numbers: [25]
25,77 unequal: No Solution
Exploring Operation: 19-6=13, Resulting Numbers: [13]
13,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,0
Current State: 77:[75, 62], Operations: ['50-44=6', '56+6=62']
Exploring Operation: 75+62=137, Resulting Numbers: [137]
137,77 unequal: No Solution
Exploring Operation: 75-62=13, Resulting Numbers: [13]
13,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 77:[50, 75, 12], Operations: ['56-44=12']
Exploring Operation: 75-50=25, Resulting Numbers: [12, 25]
Generated Node #0,1,0: 77:[12, 25] Operation: 75-50=25
Exploring Operation: 50+12=62, Resulting Numbers: [75, 62]
Generated Node #0,1,1: 77:[75, 62] Operation: 50+12=62
Moving to Node #0,1,0
Current State: 77:[12, 25], Operations: ['56-44=12', '75-50=25']
Exploring Operation: 12+25=37, Resulting Numbers: [37]
37,77 unequal: No Solution
Exploring Operation: 25-12=13, Resulting Numbers: [13]
13,77 unequal: No Solution
Moving to Node #0,1,1
Current State: 77:[75, 62], Operations: ['56-44=12', '50+12=62']
Exploring Operation: 75-62=13, Resulting Numbers: [13]
13,77 unequal: No Solution
Exploring Operation: 75+62=137, Resulting Numbers: [137]
137,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
30,
66,
6,
21
] | 90 | [
"66-30=36",
"6*21=126",
"126-36=90"
] | Current State: 90:[30, 66, 6, 21], Operations: []
Exploring Operation: 66-30=36, Resulting Numbers: [6, 21, 36]
Generated Node #2: [6, 21, 36] from Operation: 66-30=36
Current State: 90:[6, 21, 36], Operations: ['66-30=36']
Exploring Operation: 6*21=126, Resulting Numbers: [36, 126]
Generated Node #3: [36, 126] from Operation: 6*21=126
Current State: 90:[36, 126], Operations: ['66-30=36', '6*21=126']
Exploring Operation: 126-36=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[30, 66, 6, 21], Operations: []
Exploring Operation: 66/6=11, Resulting Numbers: [30, 21, 11]
Generated Node #0,0: 90:[30, 21, 11] Operation: 66/6=11
Exploring Operation: 66+21=87, Resulting Numbers: [30, 6, 87]
Generated Node #0,1: 90:[30, 6, 87] Operation: 66+21=87
Exploring Operation: 66-21=45, Resulting Numbers: [30, 6, 45]
Generated Node #0,2: 90:[30, 6, 45] Operation: 66-21=45
Moving to Node #0,2
Current State: 90:[30, 6, 45], Operations: ['66-21=45']
Exploring Operation: 45-30=15, Resulting Numbers: [6, 15]
Generated Node #0,2,0: 90:[6, 15] Operation: 45-30=15
Exploring Operation: 30+6=36, Resulting Numbers: [45, 36]
Generated Node #0,2,1: 90:[45, 36] Operation: 30+6=36
Exploring Operation: 30/6=5, Resulting Numbers: [45, 5]
Generated Node #0,2,2: 90:[45, 5] Operation: 30/6=5
Moving to Node #0,1
Current State: 90:[30, 6, 87], Operations: ['66+21=87']
Exploring Operation: 30/6=5, Resulting Numbers: [87, 5]
Generated Node #0,1,0: 90:[87, 5] Operation: 30/6=5
Exploring Operation: 30+6=36, Resulting Numbers: [87, 36]
Generated Node #0,1,1: 90:[87, 36] Operation: 30+6=36
Exploring Operation: 6+87=93, Resulting Numbers: [30, 93]
Generated Node #0,1,2: 90:[30, 93] Operation: 6+87=93
Moving to Node #0,0
Current State: 90:[30, 21, 11], Operations: ['66/6=11']
Exploring Operation: 30-21=9, Resulting Numbers: [11, 9]
Generated Node #0,0,0: 90:[11, 9] Operation: 30-21=9
Exploring Operation: 21-11=10, Resulting Numbers: [30, 10]
Generated Node #0,0,1: 90:[30, 10] Operation: 21-11=10
Exploring Operation: 21+11=32, Resulting Numbers: [30, 32]
Generated Node #0,0,2: 90:[30, 32] Operation: 21+11=32
Moving to Node #0,2,0
Current State: 90:[6, 15], Operations: ['66-21=45', '45-30=15']
Exploring Operation: 6*15=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[30, 66, 6, 21], Operations: []
Exploring Operation: 66-21=45, Resulting Numbers: [30, 6, 45]
Generated Node #0,2: 90:[30, 6, 45] Operation: 66-21=45
Moving to Node #0,2
Current State: 90:[30, 6, 45], Operations: ['66-21=45']
Exploring Operation: 45-30=15, Resulting Numbers: [6, 15]
Generated Node #0,2,0: 90:[6, 15] Operation: 45-30=15
Moving to Node #0,2,0
Current State: 90:[6, 15], Operations: ['66-21=45', '45-30=15']
Exploring Operation: 6*15=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 0.985243 | hs_3 | sum_heuristic |
[
37,
33,
13,
71
] | 21 | [
"37-33=4",
"13+71=84",
"84/4=21"
] | Current State: 21:[37, 33, 13, 71], Operations: []
Exploring Operation: 37-33=4, Resulting Numbers: [13, 71, 4]
Generated Node #2: [13, 71, 4] from Operation: 37-33=4
Current State: 21:[13, 71, 4], Operations: ['37-33=4']
Exploring Operation: 13+71=84, Resulting Numbers: [4, 84]
Generated Node #3: [4, 84] from Operation: 13+71=84
Current State: 21:[4, 84], Operations: ['37-33=4', '13+71=84']
Exploring Operation: 84/4=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[37, 33, 13, 71], Operations: []
Exploring Operation: 37-13=24, Resulting Numbers: [33, 71, 24]
Generated Node #0,0: 21:[33, 71, 24] Operation: 37-13=24
Exploring Operation: 37-33=4, Resulting Numbers: [13, 71, 4]
Generated Node #0,1: 21:[13, 71, 4] Operation: 37-33=4
Exploring Operation: 71-37=34, Resulting Numbers: [33, 13, 34]
Generated Node #0,2: 21:[33, 13, 34] Operation: 71-37=34
Exploring Operation: 71-33=38, Resulting Numbers: [37, 13, 38]
Generated Node #0,3: 21:[37, 13, 38] Operation: 71-33=38
Moving to Node #0,2
Current State: 21:[33, 13, 34], Operations: ['71-37=34']
Exploring Operation: 34-13=21, Resulting Numbers: [33, 21]
Generated Node #0,2,0: 21:[33, 21] Operation: 34-13=21
Exploring Operation: 33+13=46, Resulting Numbers: [34, 46]
Generated Node #0,2,1: 21:[34, 46] Operation: 33+13=46
Exploring Operation: 33-13=20, Resulting Numbers: [34, 20]
Generated Node #0,2,2: 21:[34, 20] Operation: 33-13=20
Exploring Operation: 34-33=1, Resulting Numbers: [13, 1]
Generated Node #0,2,3: 21:[13, 1] Operation: 34-33=1
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 21:[13, 1], Operations: ['71-37=34', '34-33=1']
Exploring Operation: 13/1=13, Resulting Numbers: [13]
13,21 unequal: No Solution
Exploring Operation: 13*1=13, Resulting Numbers: [13]
13,21 unequal: No Solution
Exploring Operation: 13-1=12, Resulting Numbers: [12]
12,21 unequal: No Solution
Exploring Operation: 13+1=14, Resulting Numbers: [14]
14,21 unequal: No Solution
No 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: 21:[33, 21], Operations: ['71-37=34', '34-13=21']
Exploring Operation: 33*21=693, Resulting Numbers: [693]
693,21 unequal: No Solution
Exploring Operation: 33-21=12, Resulting Numbers: [12]
12,21 unequal: No Solution
Exploring Operation: 33+21=54, Resulting Numbers: [54]
54,21 unequal: No Solution
No 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: 21:[34, 20], Operations: ['71-37=34', '33-13=20']
Exploring Operation: 34*20=680, Resulting Numbers: [680]
680,21 unequal: No Solution
Exploring Operation: 34+20=54, Resulting Numbers: [54]
54,21 unequal: No Solution
Exploring Operation: 34-20=14, Resulting Numbers: [14]
14,21 unequal: No Solution
No 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: 21:[34, 46], Operations: ['71-37=34', '33+13=46']
Exploring Operation: 34*46=1564, Resulting Numbers: [1564]
1564,21 unequal: No Solution
Exploring Operation: 46-34=12, Resulting Numbers: [12]
12,21 unequal: No Solution
Exploring Operation: 34+46=80, Resulting Numbers: [80]
80,21 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: 21:[37, 13, 38], Operations: ['71-33=38']
Exploring Operation: 38-37=1, Resulting Numbers: [13, 1]
Generated Node #0,3,0: 21:[13, 1] Operation: 38-37=1
Exploring Operation: 37+13=50, Resulting Numbers: [38, 50]
Generated Node #0,3,1: 21:[38, 50] Operation: 37+13=50
Exploring Operation: 37-13=24, Resulting Numbers: [38, 24]
Generated Node #0,3,2: 21:[38, 24] Operation: 37-13=24
Exploring Operation: 38-13=25, Resulting Numbers: [37, 25]
Generated Node #0,3,3: 21:[37, 25] Operation: 38-13=25
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 21:[13, 1], Operations: ['71-33=38', '38-37=1']
Exploring Operation: 13-1=12, Resulting Numbers: [12]
12,21 unequal: No Solution
Exploring Operation: 13/1=13, Resulting Numbers: [13]
13,21 unequal: No Solution
Exploring Operation: 13*1=13, Resulting Numbers: [13]
13,21 unequal: No Solution
Exploring Operation: 13+1=14, Resulting Numbers: [14]
14,21 unequal: No Solution
No 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: 21:[38, 24], Operations: ['71-33=38', '37-13=24']
Exploring Operation: 38-24=14, Resulting Numbers: [14]
14,21 unequal: No Solution
Exploring Operation: 38+24=62, Resulting Numbers: [62]
62,21 unequal: No Solution
Exploring Operation: 38*24=912, Resulting Numbers: [912]
912,21 unequal: No Solution
No 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: 21:[37, 25], Operations: ['71-33=38', '38-13=25']
Exploring Operation: 37-25=12, Resulting Numbers: [12]
12,21 unequal: No Solution
Exploring Operation: 37+25=62, Resulting Numbers: [62]
62,21 unequal: No Solution
Exploring Operation: 37*25=925, Resulting Numbers: [925]
925,21 unequal: No Solution
No 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: 21:[38, 50], Operations: ['71-33=38', '37+13=50']
Exploring Operation: 38*50=1900, Resulting Numbers: [1900]
1900,21 unequal: No Solution
Exploring Operation: 50-38=12, Resulting Numbers: [12]
12,21 unequal: No Solution
Exploring Operation: 38+50=88, Resulting Numbers: [88]
88,21 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: 21:[13, 71, 4], Operations: ['37-33=4']
Exploring Operation: 71-4=67, Resulting Numbers: [13, 67]
Generated Node #0,1,0: 21:[13, 67] Operation: 71-4=67
Exploring Operation: 13+4=17, Resulting Numbers: [71, 17]
Generated Node #0,1,1: 21:[71, 17] Operation: 13+4=17
Exploring Operation: 13-4=9, Resulting Numbers: [71, 9]
Generated Node #0,1,2: 21:[71, 9] Operation: 13-4=9
Exploring Operation: 71-13=58, Resulting Numbers: [4, 58]
Generated Node #0,1,3: 21:[4, 58] Operation: 71-13=58
Moving to Node #0,0
Current State: 21:[33, 71, 24], Operations: ['37-13=24']
Exploring Operation: 33-24=9, Resulting Numbers: [71, 9]
Generated Node #0,0,0: 21:[71, 9] Operation: 33-24=9
Exploring Operation: 33+71=104, Resulting Numbers: [24, 104]
Generated Node #0,0,1: 21:[24, 104] Operation: 33+71=104
Exploring Operation: 71-24=47, Resulting Numbers: [33, 47]
Generated Node #0,0,2: 21:[33, 47] Operation: 71-24=47
Exploring Operation: 71-33=38, Resulting Numbers: [24, 38]
Generated Node #0,0,3: 21:[24, 38] Operation: 71-33=38
Moving to Node #0,0,3
Current State: 21:[24, 38], Operations: ['37-13=24', '71-33=38']
Exploring Operation: 24*38=912, Resulting Numbers: [912]
912,21 unequal: No Solution
Exploring Operation: 38-24=14, Resulting Numbers: [14]
14,21 unequal: No Solution
Exploring Operation: 24+38=62, Resulting Numbers: [62]
62,21 unequal: No Solution
Moving to Node #0,0,2
Current State: 21:[33, 47], Operations: ['37-13=24', '71-24=47']
Exploring Operation: 33*47=1551, Resulting Numbers: [1551]
1551,21 unequal: No Solution
Exploring Operation: 47-33=14, Resulting Numbers: [14]
14,21 unequal: No Solution
Exploring Operation: 33+47=80, Resulting Numbers: [80]
80,21 unequal: No Solution
Moving to Node #0,1,3
Current State: 21:[4, 58], Operations: ['37-33=4', '71-13=58']
Exploring Operation: 58-4=54, Resulting Numbers: [54]
54,21 unequal: No Solution
Exploring Operation: 4*58=232, Resulting Numbers: [232]
232,21 unequal: No Solution
Exploring Operation: 4+58=62, Resulting Numbers: [62]
62,21 unequal: No Solution
Moving to Node #0,0,0
Current State: 21:[71, 9], Operations: ['37-13=24', '33-24=9']
Exploring Operation: 71+9=80, Resulting Numbers: [80]
80,21 unequal: No Solution
Exploring Operation: 71-9=62, Resulting Numbers: [62]
62,21 unequal: No Solution
Exploring Operation: 71*9=639, Resulting Numbers: [639]
639,21 unequal: No Solution
Moving to Node #0,1,2
Current State: 21:[71, 9], Operations: ['37-33=4', '13-4=9']
Exploring Operation: 71+9=80, Resulting Numbers: [80]
80,21 unequal: No Solution
Exploring Operation: 71-9=62, Resulting Numbers: [62]
62,21 unequal: No Solution
Exploring Operation: 71*9=639, Resulting Numbers: [639]
639,21 unequal: No Solution
Moving to Node #0,1,0
Current State: 21:[13, 67], Operations: ['37-33=4', '71-4=67']
Exploring Operation: 67-13=54, Resulting Numbers: [54]
54,21 unequal: No Solution
Exploring Operation: 13+67=80, Resulting Numbers: [80]
80,21 unequal: No Solution
Exploring Operation: 13*67=871, Resulting Numbers: [871]
871,21 unequal: No Solution
Moving to Node #0,1,1
Current State: 21:[71, 17], Operations: ['37-33=4', '13+4=17']
Exploring Operation: 71*17=1207, Resulting Numbers: [1207]
1207,21 unequal: No Solution
Exploring Operation: 71-17=54, Resulting Numbers: [54]
54,21 unequal: No Solution
Exploring Operation: 71+17=88, Resulting Numbers: [88]
88,21 unequal: No Solution
Moving to Node #0,0,1
Current State: 21:[24, 104], Operations: ['37-13=24', '33+71=104']
Exploring Operation: 24*104=2496, Resulting Numbers: [2496]
2496,21 unequal: No Solution
Exploring Operation: 24+104=128, Resulting Numbers: [128]
128,21 unequal: No Solution
Exploring Operation: 104-24=80, Resulting Numbers: [80]
80,21 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
54,
5,
89,
32
] | 72 | [
"54-5=49",
"89+32=121",
"121-49=72"
] | Current State: 72:[54, 5, 89, 32], Operations: []
Exploring Operation: 54-5=49, Resulting Numbers: [89, 32, 49]
Generated Node #2: [89, 32, 49] from Operation: 54-5=49
Current State: 72:[89, 32, 49], Operations: ['54-5=49']
Exploring Operation: 89+32=121, Resulting Numbers: [49, 121]
Generated Node #3: [49, 121] from Operation: 89+32=121
Current State: 72:[49, 121], Operations: ['54-5=49', '89+32=121']
Exploring Operation: 121-49=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[54, 5, 89, 32], Operations: []
Exploring Operation: 89-54=35, Resulting Numbers: [5, 32, 35]
Generated Node #0,0: 72:[5, 32, 35] Operation: 89-54=35
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[5, 32, 35], Operations: ['89-54=35']
Exploring Operation: 35-32=3, Resulting Numbers: [5, 3]
Generated Node #0,0,0: 72:[5, 3] Operation: 35-32=3
Moving to Node #0,0,0
Current State: 72:[5, 3], Operations: ['89-54=35', '35-32=3']
Exploring Operation: 5+3=8, Resulting Numbers: [8]
8,72 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 |
[
77,
6,
63,
18
] | 94 | [
"77-63=14",
"6*18=108",
"108-14=94"
] | Current State: 94:[77, 6, 63, 18], Operations: []
Exploring Operation: 77-63=14, Resulting Numbers: [6, 18, 14]
Generated Node #2: [6, 18, 14] from Operation: 77-63=14
Current State: 94:[6, 18, 14], Operations: ['77-63=14']
Exploring Operation: 6*18=108, Resulting Numbers: [14, 108]
Generated Node #3: [14, 108] from Operation: 6*18=108
Current State: 94:[14, 108], Operations: ['77-63=14', '6*18=108']
Exploring Operation: 108-14=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[77, 6, 63, 18], Operations: []
Exploring Operation: 77-18=59, Resulting Numbers: [6, 63, 59]
Generated Node #0,0: 94:[6, 63, 59] Operation: 77-18=59
Exploring Operation: 77-63=14, Resulting Numbers: [6, 18, 14]
Generated Node #0,1: 94:[6, 18, 14] Operation: 77-63=14
Exploring Operation: 63-18=45, Resulting Numbers: [77, 6, 45]
Generated Node #0,2: 94:[77, 6, 45] Operation: 63-18=45
Exploring Operation: 77+18=95, Resulting Numbers: [6, 63, 95]
Generated Node #0,3: 94:[6, 63, 95] Operation: 77+18=95
Start Sub Search at level 1: Moving to Node #0,3
Current State: 94:[6, 63, 95], Operations: ['77+18=95']
Exploring Operation: 95-6=89, Resulting Numbers: [63, 89]
Generated Node #0,3,0: 94:[63, 89] Operation: 95-6=89
Exploring Operation: 63-6=57, Resulting Numbers: [95, 57]
Generated Node #0,3,1: 94:[95, 57] Operation: 63-6=57
Exploring Operation: 6+63=69, Resulting Numbers: [95, 69]
Generated Node #0,3,2: 94:[95, 69] Operation: 6+63=69
Exploring Operation: 95-63=32, Resulting Numbers: [6, 32]
Generated Node #0,3,3: 94:[6, 32] Operation: 95-63=32
Moving to Node #0,3,1
Current State: 94:[95, 57], Operations: ['77+18=95', '63-6=57']
Exploring Operation: 95-57=38, Resulting Numbers: [38]
38,94 unequal: No Solution
Exploring Operation: 95+57=152, Resulting Numbers: [152]
152,94 unequal: No Solution
Exploring Operation: 95*57=5415, Resulting Numbers: [5415]
5415,94 unequal: No Solution
Moving to Node #0,3,3
Current State: 94:[6, 32], Operations: ['77+18=95', '95-63=32']
Exploring Operation: 6*32=192, Resulting Numbers: [192]
192,94 unequal: No Solution
Exploring Operation: 6+32=38, Resulting Numbers: [38]
38,94 unequal: No Solution
Exploring Operation: 32-6=26, Resulting Numbers: [26]
26,94 unequal: No Solution
Moving to Node #0,3,0
Current State: 94:[63, 89], Operations: ['77+18=95', '95-6=89']
Exploring Operation: 63*89=5607, Resulting Numbers: [5607]
5607,94 unequal: No Solution
Exploring Operation: 63+89=152, Resulting Numbers: [152]
152,94 unequal: No Solution
Exploring Operation: 89-63=26, Resulting Numbers: [26]
26,94 unequal: No Solution
Moving to Node #0,3,2
Current State: 94:[95, 69], Operations: ['77+18=95', '6+63=69']
Exploring Operation: 95+69=164, Resulting Numbers: [164]
164,94 unequal: No Solution
Exploring Operation: 95*69=6555, Resulting Numbers: [6555]
6555,94 unequal: No Solution
Exploring Operation: 95-69=26, Resulting Numbers: [26]
26,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 94:[77, 6, 45], Operations: ['63-18=45']
Exploring Operation: 77+6=83, Resulting Numbers: [45, 83]
Generated Node #0,2,0: 94:[45, 83] Operation: 77+6=83
Exploring Operation: 77-6=71, Resulting Numbers: [45, 71]
Generated Node #0,2,1: 94:[45, 71] Operation: 77-6=71
Exploring Operation: 6+45=51, Resulting Numbers: [77, 51]
Generated Node #0,2,2: 94:[77, 51] Operation: 6+45=51
Exploring Operation: 77-45=32, Resulting Numbers: [6, 32]
Generated Node #0,2,3: 94:[6, 32] Operation: 77-45=32
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 94:[45, 83], Operations: ['63-18=45', '77+6=83']
Exploring Operation: 83-45=38, Resulting Numbers: [38]
38,94 unequal: No Solution
Exploring Operation: 45+83=128, Resulting Numbers: [128]
128,94 unequal: No Solution
Exploring Operation: 45*83=3735, Resulting Numbers: [3735]
3735,94 unequal: No Solution
No 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: 94:[6, 32], Operations: ['63-18=45', '77-45=32']
Exploring Operation: 6*32=192, Resulting Numbers: [192]
192,94 unequal: No Solution
Exploring Operation: 32-6=26, Resulting Numbers: [26]
26,94 unequal: No Solution
Exploring Operation: 6+32=38, Resulting Numbers: [38]
38,94 unequal: No Solution
No 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: 94:[77, 51], Operations: ['63-18=45', '6+45=51']
Exploring Operation: 77+51=128, Resulting Numbers: [128]
128,94 unequal: No Solution
Exploring Operation: 77-51=26, Resulting Numbers: [26]
26,94 unequal: No Solution
Exploring Operation: 77*51=3927, Resulting Numbers: [3927]
3927,94 unequal: No Solution
No 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: 94:[45, 71], Operations: ['63-18=45', '77-6=71']
Exploring Operation: 71-45=26, Resulting Numbers: [26]
26,94 unequal: No Solution
Exploring Operation: 45*71=3195, Resulting Numbers: [3195]
3195,94 unequal: No Solution
Exploring Operation: 45+71=116, Resulting Numbers: [116]
116,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[6, 63, 59], Operations: ['77-18=59']
Exploring Operation: 59-6=53, Resulting Numbers: [63, 53]
Generated Node #0,0,0: 94:[63, 53] Operation: 59-6=53
Exploring Operation: 63+59=122, Resulting Numbers: [6, 122]
Generated Node #0,0,1: 94:[6, 122] Operation: 63+59=122
Exploring Operation: 63-6=57, Resulting Numbers: [59, 57]
Generated Node #0,0,2: 94:[59, 57] Operation: 63-6=57
Exploring Operation: 63-59=4, Resulting Numbers: [6, 4]
Generated Node #0,0,3: 94:[6, 4] Operation: 63-59=4
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 94:[6, 4], Operations: ['77-18=59', '63-59=4']
Exploring Operation: 6*4=24, Resulting Numbers: [24]
24,94 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,94 unequal: No Solution
Exploring Operation: 6+4=10, Resulting Numbers: [10]
10,94 unequal: No Solution
No 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: 94:[63, 53], Operations: ['77-18=59', '59-6=53']
Exploring Operation: 63-53=10, Resulting Numbers: [10]
10,94 unequal: No Solution
Exploring Operation: 63+53=116, Resulting Numbers: [116]
116,94 unequal: No Solution
Exploring Operation: 63*53=3339, Resulting Numbers: [3339]
3339,94 unequal: No Solution
No 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: 94:[59, 57], Operations: ['77-18=59', '63-6=57']
Exploring Operation: 59-57=2, Resulting Numbers: [2]
2,94 unequal: No Solution
Exploring Operation: 59*57=3363, Resulting Numbers: [3363]
3363,94 unequal: No Solution
Exploring Operation: 59+57=116, Resulting Numbers: [116]
116,94 unequal: No Solution
No 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: 94:[6, 122], Operations: ['77-18=59', '63+59=122']
Exploring Operation: 122-6=116, Resulting Numbers: [116]
116,94 unequal: No Solution
Exploring Operation: 6*122=732, Resulting Numbers: [732]
732,94 unequal: No Solution
Exploring Operation: 6+122=128, Resulting Numbers: [128]
128,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 94:[6, 18, 14], Operations: ['77-63=14']
Exploring Operation: 18+14=32, Resulting Numbers: [6, 32]
Generated Node #0,1,0: 94:[6, 32] Operation: 18+14=32
Exploring Operation: 18/6=3, Resulting Numbers: [14, 3]
Generated Node #0,1,1: 94:[14, 3] Operation: 18/6=3
Exploring Operation: 18-14=4, Resulting Numbers: [6, 4]
Generated Node #0,1,2: 94:[6, 4] Operation: 18-14=4
Exploring Operation: 18-6=12, Resulting Numbers: [14, 12]
Generated Node #0,1,3: 94:[14, 12] Operation: 18-6=12
Moving to Node #0,1,2
Current State: 94:[6, 4], Operations: ['77-63=14', '18-14=4']
Exploring Operation: 6*4=24, Resulting Numbers: [24]
24,94 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,94 unequal: No Solution
Exploring Operation: 6+4=10, Resulting Numbers: [10]
10,94 unequal: No Solution
Moving to Node #0,1,1
Current State: 94:[14, 3], Operations: ['77-63=14', '18/6=3']
Exploring Operation: 14*3=42, Resulting Numbers: [42]
42,94 unequal: No Solution
Exploring Operation: 14+3=17, Resulting Numbers: [17]
17,94 unequal: No Solution
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,94 unequal: No Solution
Moving to Node #0,1,0
Current State: 94:[6, 32], Operations: ['77-63=14', '18+14=32']
Exploring Operation: 6*32=192, Resulting Numbers: [192]
192,94 unequal: No Solution
Exploring Operation: 32-6=26, Resulting Numbers: [26]
26,94 unequal: No Solution
Exploring Operation: 6+32=38, Resulting Numbers: [38]
38,94 unequal: No Solution
Moving to Node #0,1,3
Current State: 94:[14, 12], Operations: ['77-63=14', '18-6=12']
Exploring Operation: 14-12=2, Resulting Numbers: [2]
2,94 unequal: No Solution
Exploring Operation: 14*12=168, Resulting Numbers: [168]
168,94 unequal: No Solution
Exploring Operation: 14+12=26, Resulting Numbers: [26]
26,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
38,
28,
85,
70
] | 89 | [
"38+28=66",
"85+70=155",
"155-66=89"
] | Current State: 89:[38, 28, 85, 70], Operations: []
Exploring Operation: 38+28=66, Resulting Numbers: [85, 70, 66]
Generated Node #2: [85, 70, 66] from Operation: 38+28=66
Current State: 89:[85, 70, 66], Operations: ['38+28=66']
Exploring Operation: 85+70=155, Resulting Numbers: [66, 155]
Generated Node #3: [66, 155] from Operation: 85+70=155
Current State: 89:[66, 155], Operations: ['38+28=66', '85+70=155']
Exploring Operation: 155-66=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[38, 28, 85, 70], Operations: []
Exploring Operation: 28+70=98, Resulting Numbers: [38, 85, 98]
Generated Node #0,0: 89:[38, 85, 98] Operation: 28+70=98
Exploring Operation: 38+28=66, Resulting Numbers: [85, 70, 66]
Generated Node #0,1: 89:[85, 70, 66] Operation: 38+28=66
Moving to Node #0,1
Current State: 89:[85, 70, 66], Operations: ['38+28=66']
Exploring Operation: 70+66=136, Resulting Numbers: [85, 136]
Generated Node #0,1,0: 89:[85, 136] Operation: 70+66=136
Exploring Operation: 85+66=151, Resulting Numbers: [70, 151]
Generated Node #0,1,1: 89:[70, 151] Operation: 85+66=151
Moving to Node #0,0
Current State: 89:[38, 85, 98], Operations: ['28+70=98']
Exploring Operation: 98-38=60, Resulting Numbers: [85, 60]
Generated Node #0,0,0: 89:[85, 60] Operation: 98-38=60
Exploring Operation: 38+85=123, Resulting Numbers: [98, 123]
Generated Node #0,0,1: 89:[98, 123] Operation: 38+85=123
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 89:[85, 60], Operations: ['28+70=98', '98-38=60']
Exploring Operation: 85+60=145, Resulting Numbers: [145]
145,89 unequal: No Solution
Exploring Operation: 85-60=25, Resulting Numbers: [25]
25,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 89:[98, 123], Operations: ['28+70=98', '38+85=123']
Exploring Operation: 98+123=221, Resulting Numbers: [221]
221,89 unequal: No Solution
Exploring Operation: 123-98=25, Resulting Numbers: [25]
25,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 89:[85, 136], Operations: ['38+28=66', '70+66=136']
Exploring Operation: 85+136=221, Resulting Numbers: [221]
221,89 unequal: No Solution
Exploring Operation: 136-85=51, Resulting Numbers: [51]
51,89 unequal: No Solution
Moving to Node #0,1,1
Current State: 89:[70, 151], Operations: ['38+28=66', '85+66=151']
Exploring Operation: 70+151=221, Resulting Numbers: [221]
221,89 unequal: No Solution
Exploring Operation: 151-70=81, Resulting Numbers: [81]
81,89 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
84,
18,
7,
61
] | 31 | [
"84/7=12",
"61-18=43",
"43-12=31"
] | Current State: 31:[84, 18, 7, 61], Operations: []
Exploring Operation: 84/7=12, Resulting Numbers: [18, 61, 12]
Generated Node #2: [18, 61, 12] from Operation: 84/7=12
Current State: 31:[18, 61, 12], Operations: ['84/7=12']
Exploring Operation: 61-18=43, Resulting Numbers: [12, 43]
Generated Node #3: [12, 43] from Operation: 61-18=43
Current State: 31:[12, 43], Operations: ['84/7=12', '61-18=43']
Exploring Operation: 43-12=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[84, 18, 7, 61], Operations: []
Exploring Operation: 84-7=77, Resulting Numbers: [18, 61, 77]
Generated Node #0,0: 31:[18, 61, 77] Operation: 84-7=77
Exploring Operation: 84-18=66, Resulting Numbers: [7, 61, 66]
Generated Node #0,1: 31:[7, 61, 66] Operation: 84-18=66
Exploring Operation: 84-61=23, Resulting Numbers: [18, 7, 23]
Generated Node #0,2: 31:[18, 7, 23] Operation: 84-61=23
Exploring Operation: 84/7=12, Resulting Numbers: [18, 61, 12]
Generated Node #0,3: 31:[18, 61, 12] Operation: 84/7=12
Moving to Node #0,2
Current State: 31:[18, 7, 23], Operations: ['84-61=23']
Exploring Operation: 18-7=11, Resulting Numbers: [23, 11]
Generated Node #0,2,0: 31:[23, 11] Operation: 18-7=11
Exploring Operation: 18+7=25, Resulting Numbers: [23, 25]
Generated Node #0,2,1: 31:[23, 25] Operation: 18+7=25
Exploring Operation: 7+23=30, Resulting Numbers: [18, 30]
Generated Node #0,2,2: 31:[18, 30] Operation: 7+23=30
Exploring Operation: 23-7=16, Resulting Numbers: [18, 16]
Generated Node #0,2,3: 31:[18, 16] Operation: 23-7=16
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 31:[23, 25], Operations: ['84-61=23', '18+7=25']
Exploring Operation: 25-23=2, Resulting Numbers: [2]
2,31 unequal: No Solution
Exploring Operation: 23+25=48, Resulting Numbers: [48]
48,31 unequal: No Solution
Exploring Operation: 23*25=575, Resulting Numbers: [575]
575,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,2,2
Current State: 31:[18, 30], Operations: ['84-61=23', '7+23=30']
Exploring Operation: 18*30=540, Resulting Numbers: [540]
540,31 unequal: No Solution
Exploring Operation: 18+30=48, Resulting Numbers: [48]
48,31 unequal: No Solution
Exploring Operation: 30-18=12, Resulting Numbers: [12]
12,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,2,0
Current State: 31:[23, 11], Operations: ['84-61=23', '18-7=11']
Exploring Operation: 23+11=34, Resulting Numbers: [34]
34,31 unequal: No Solution
Exploring Operation: 23*11=253, Resulting Numbers: [253]
253,31 unequal: No Solution
Exploring Operation: 23-11=12, Resulting Numbers: [12]
12,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,2,3
Current State: 31:[18, 16], Operations: ['84-61=23', '23-7=16']
Exploring Operation: 18+16=34, Resulting Numbers: [34]
34,31 unequal: No Solution
Exploring Operation: 18-16=2, Resulting Numbers: [2]
2,31 unequal: No Solution
Exploring Operation: 18*16=288, Resulting Numbers: [288]
288,31 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: 31:[18, 61, 12], Operations: ['84/7=12']
Exploring Operation: 61-12=49, Resulting Numbers: [18, 49]
Generated Node #0,3,0: 31:[18, 49] Operation: 61-12=49
Exploring Operation: 18+12=30, Resulting Numbers: [61, 30]
Generated Node #0,3,1: 31:[61, 30] Operation: 18+12=30
Exploring Operation: 18-12=6, Resulting Numbers: [61, 6]
Generated Node #0,3,2: 31:[61, 6] Operation: 18-12=6
Exploring Operation: 61-18=43, Resulting Numbers: [12, 43]
Generated Node #0,3,3: 31:[12, 43] Operation: 61-18=43
Moving to Node #0,1
Current State: 31:[7, 61, 66], Operations: ['84-18=66']
Exploring Operation: 66-61=5, Resulting Numbers: [7, 5]
Generated Node #0,1,0: 31:[7, 5] Operation: 66-61=5
Exploring Operation: 66-7=59, Resulting Numbers: [61, 59]
Generated Node #0,1,1: 31:[61, 59] Operation: 66-7=59
Exploring Operation: 61-7=54, Resulting Numbers: [66, 54]
Generated Node #0,1,2: 31:[66, 54] Operation: 61-7=54
Exploring Operation: 7+61=68, Resulting Numbers: [66, 68]
Generated Node #0,1,3: 31:[66, 68] Operation: 7+61=68
Moving to Node #0,0
Current State: 31:[18, 61, 77], Operations: ['84-7=77']
Exploring Operation: 18+61=79, Resulting Numbers: [77, 79]
Generated Node #0,0,0: 31:[77, 79] Operation: 18+61=79
Exploring Operation: 61-18=43, Resulting Numbers: [77, 43]
Generated Node #0,0,1: 31:[77, 43] Operation: 61-18=43
Exploring Operation: 77-61=16, Resulting Numbers: [18, 16]
Generated Node #0,0,2: 31:[18, 16] Operation: 77-61=16
Exploring Operation: 77-18=59, Resulting Numbers: [61, 59]
Generated Node #0,0,3: 31:[61, 59] Operation: 77-18=59
Moving to Node #0,0,2
Current State: 31:[18, 16], Operations: ['84-7=77', '77-61=16']
Exploring Operation: 18+16=34, Resulting Numbers: [34]
34,31 unequal: No Solution
Exploring Operation: 18*16=288, Resulting Numbers: [288]
288,31 unequal: No Solution
Exploring Operation: 18-16=2, Resulting Numbers: [2]
2,31 unequal: No Solution
Moving to Node #0,3,3
Current State: 31:[12, 43], Operations: ['84/7=12', '61-18=43']
Exploring Operation: 12+43=55, Resulting Numbers: [55]
55,31 unequal: No Solution
Exploring Operation: 12*43=516, Resulting Numbers: [516]
516,31 unequal: No Solution
Exploring Operation: 43-12=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[84, 18, 7, 61], Operations: []
Exploring Operation: 84/7=12, Resulting Numbers: [18, 61, 12]
Generated Node #0,3: 31:[18, 61, 12] Operation: 84/7=12
Moving to Node #0,3
Current State: 31:[18, 61, 12], Operations: ['84/7=12']
Exploring Operation: 61-18=43, Resulting Numbers: [12, 43]
Generated Node #0,3,3: 31:[12, 43] Operation: 61-18=43
Moving to Node #0,3,3
Current State: 31:[12, 43], Operations: ['84/7=12', '61-18=43']
Exploring Operation: 43-12=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 0.963542 | hs_4 | mult_heuristic |
[
51,
14,
44,
82
] | 89 | [
"51-14=37",
"44+82=126",
"126-37=89"
] | Current State: 89:[51, 14, 44, 82], Operations: []
Exploring Operation: 51-14=37, Resulting Numbers: [44, 82, 37]
Generated Node #2: [44, 82, 37] from Operation: 51-14=37
Current State: 89:[44, 82, 37], Operations: ['51-14=37']
Exploring Operation: 44+82=126, Resulting Numbers: [37, 126]
Generated Node #3: [37, 126] from Operation: 44+82=126
Current State: 89:[37, 126], Operations: ['51-14=37', '44+82=126']
Exploring Operation: 126-37=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[51, 14, 44, 82], Operations: []
Exploring Operation: 14+44=58, Resulting Numbers: [51, 82, 58]
Generated Node #0,0: 89:[51, 82, 58] Operation: 14+44=58
Exploring Operation: 51+44=95, Resulting Numbers: [14, 82, 95]
Generated Node #0,1: 89:[14, 82, 95] Operation: 51+44=95
Exploring Operation: 14+82=96, Resulting Numbers: [51, 44, 96]
Generated Node #0,2: 89:[51, 44, 96] Operation: 14+82=96
Exploring Operation: 51+14=65, Resulting Numbers: [44, 82, 65]
Generated Node #0,3: 89:[44, 82, 65] Operation: 51+14=65
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[51, 82, 58], Operations: ['14+44=58']
Exploring Operation: 82-51=31, Resulting Numbers: [58, 31]
Generated Node #0,0,0: 89:[58, 31] Operation: 82-51=31
Exploring Operation: 51+82=133, Resulting Numbers: [58, 133]
Generated Node #0,0,1: 89:[58, 133] Operation: 51+82=133
Exploring Operation: 58-51=7, Resulting Numbers: [82, 7]
Generated Node #0,0,2: 89:[82, 7] Operation: 58-51=7
Exploring Operation: 51+58=109, Resulting Numbers: [82, 109]
Generated Node #0,0,3: 89:[82, 109] Operation: 51+58=109
Moving to Node #0,0,3
Current State: 89:[82, 109], Operations: ['14+44=58', '51+58=109']
Exploring Operation: 82+109=191, Resulting Numbers: [191]
191,89 unequal: No Solution
Exploring Operation: 109-82=27, Resulting Numbers: [27]
27,89 unequal: No Solution
Exploring Operation: 82*109=8938, Resulting Numbers: [8938]
8938,89 unequal: No Solution
Moving to Node #0,0,1
Current State: 89:[58, 133], Operations: ['14+44=58', '51+82=133']
Exploring Operation: 133-58=75, Resulting Numbers: [75]
75,89 unequal: No Solution
Exploring Operation: 58+133=191, Resulting Numbers: [191]
191,89 unequal: No Solution
Exploring Operation: 58*133=7714, Resulting Numbers: [7714]
7714,89 unequal: No Solution
Moving to Node #0,0,2
Current State: 89:[82, 7], Operations: ['14+44=58', '58-51=7']
Exploring Operation: 82*7=574, Resulting Numbers: [574]
574,89 unequal: No Solution
Exploring Operation: 82+7=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[51, 14, 44, 82], Operations: []
Exploring Operation: 14+44=58, Resulting Numbers: [51, 82, 58]
Generated Node #0,0: 89:[51, 82, 58] Operation: 14+44=58
Moving to Node #0,0
Current State: 89:[51, 82, 58], Operations: ['14+44=58']
Exploring Operation: 58-51=7, Resulting Numbers: [82, 7]
Generated Node #0,0,2: 89:[82, 7] Operation: 58-51=7
Moving to Node #0,0,2
Current State: 89:[82, 7], Operations: ['14+44=58', '58-51=7']
Exploring Operation: 82+7=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_4 | sum_heuristic |
[
93,
23,
7,
63
] | 53 | [
"93-23=70",
"70/7=10",
"63-10=53"
] | Current State: 53:[93, 23, 7, 63], Operations: []
Exploring Operation: 93-23=70, Resulting Numbers: [7, 63, 70]
Generated Node #2: [7, 63, 70] from Operation: 93-23=70
Current State: 53:[7, 63, 70], Operations: ['93-23=70']
Exploring Operation: 70/7=10, Resulting Numbers: [63, 10]
Generated Node #3: [63, 10] from Operation: 70/7=10
Current State: 53:[63, 10], Operations: ['93-23=70', '70/7=10']
Exploring Operation: 63-10=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[93, 23, 7, 63], Operations: []
Exploring Operation: 93-7=86, Resulting Numbers: [23, 63, 86]
Generated Node #0,0: 53:[23, 63, 86] Operation: 93-7=86
Exploring Operation: 93-23=70, Resulting Numbers: [7, 63, 70]
Generated Node #0,1: 53:[7, 63, 70] Operation: 93-23=70
Moving to Node #0,0
Current State: 53:[23, 63, 86], Operations: ['93-7=86']
Exploring Operation: 63-23=40, Resulting Numbers: [86, 40]
Generated Node #0,0,0: 53:[86, 40] Operation: 63-23=40
Exploring Operation: 86-23=63, Resulting Numbers: [63, 63]
Generated Node #0,0,1: 53:[63, 63] Operation: 86-23=63
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 53:[63, 63], Operations: ['93-7=86', '86-23=63']
Exploring Operation: 63/63=1, Resulting Numbers: [1]
1,53 unequal: No Solution
Exploring Operation: 63-63=0, Resulting Numbers: [0]
0,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 53:[86, 40], Operations: ['93-7=86', '63-23=40']
Exploring Operation: 86+40=126, Resulting Numbers: [126]
126,53 unequal: No Solution
Exploring Operation: 86-40=46, Resulting Numbers: [46]
46,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 53:[7, 63, 70], Operations: ['93-23=70']
Exploring Operation: 63-7=56, Resulting Numbers: [70, 56]
Generated Node #0,1,0: 53:[70, 56] Operation: 63-7=56
Exploring Operation: 70-7=63, Resulting Numbers: [63, 63]
Generated Node #0,1,1: 53:[63, 63] Operation: 70-7=63
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 53:[70, 56], Operations: ['93-23=70', '63-7=56']
Exploring Operation: 70+56=126, Resulting Numbers: [126]
126,53 unequal: No Solution
Exploring Operation: 70-56=14, Resulting Numbers: [14]
14,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 53:[63, 63], Operations: ['93-23=70', '70-7=63']
Exploring Operation: 63/63=1, Resulting Numbers: [1]
1,53 unequal: No Solution
Exploring Operation: 63-63=0, Resulting Numbers: [0]
0,53 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 |
[
9,
18,
3,
22
] | 96 | [
"9*18=162",
"3*22=66",
"162-66=96"
] | Current State: 96:[9, 18, 3, 22], Operations: []
Exploring Operation: 9*18=162, Resulting Numbers: [3, 22, 162]
Generated Node #2: [3, 22, 162] from Operation: 9*18=162
Current State: 96:[3, 22, 162], Operations: ['9*18=162']
Exploring Operation: 3*22=66, Resulting Numbers: [162, 66]
Generated Node #3: [162, 66] from Operation: 3*22=66
Current State: 96:[162, 66], Operations: ['9*18=162', '3*22=66']
Exploring Operation: 162-66=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[9, 18, 3, 22], Operations: []
Exploring Operation: 18/9=2, Resulting Numbers: [3, 22, 2]
Generated Node #0,0: 96:[3, 22, 2] Operation: 18/9=2
Exploring Operation: 22-18=4, Resulting Numbers: [9, 3, 4]
Generated Node #0,1: 96:[9, 3, 4] Operation: 22-18=4
Exploring Operation: 9+22=31, Resulting Numbers: [18, 3, 31]
Generated Node #0,2: 96:[18, 3, 31] Operation: 9+22=31
Exploring Operation: 18-9=9, Resulting Numbers: [3, 22, 9]
Generated Node #0,3: 96:[3, 22, 9] Operation: 18-9=9
Moving to Node #0,1
Current State: 96:[9, 3, 4], Operations: ['22-18=4']
Exploring Operation: 9-3=6, Resulting Numbers: [4, 6]
Generated Node #0,1,0: 96:[4, 6] Operation: 9-3=6
Exploring Operation: 9+4=13, Resulting Numbers: [3, 13]
Generated Node #0,1,1: 96:[3, 13] Operation: 9+4=13
Exploring Operation: 9/3=3, Resulting Numbers: [4, 3]
Generated Node #0,1,2: 96:[4, 3] Operation: 9/3=3
Exploring Operation: 9+3=12, Resulting Numbers: [4, 12]
Generated Node #0,1,3: 96:[4, 12] Operation: 9+3=12
Moving to Node #0,0
Current State: 96:[3, 22, 2], Operations: ['18/9=2']
Exploring Operation: 22/2=11, Resulting Numbers: [3, 11]
Generated Node #0,0,0: 96:[3, 11] Operation: 22/2=11
Exploring Operation: 22+2=24, Resulting Numbers: [3, 24]
Generated Node #0,0,1: 96:[3, 24] Operation: 22+2=24
Exploring Operation: 3+22=25, Resulting Numbers: [2, 25]
Generated Node #0,0,2: 96:[2, 25] Operation: 3+22=25
Exploring Operation: 3*2=6, Resulting Numbers: [22, 6]
Generated Node #0,0,3: 96:[22, 6] Operation: 3*2=6
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 96:[3, 24], Operations: ['18/9=2', '22+2=24']
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,96 unequal: No Solution
Exploring Operation: 3+24=27, Resulting Numbers: [27]
27,96 unequal: No Solution
Exploring Operation: 3*24=72, Resulting Numbers: [72]
72,96 unequal: No Solution
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 96:[3, 11], Operations: ['18/9=2', '22/2=11']
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,96 unequal: No Solution
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,96 unequal: No Solution
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 96:[2, 25], Operations: ['18/9=2', '3+22=25']
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,96 unequal: No Solution
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,96 unequal: No Solution
Exploring Operation: 2*25=50, Resulting Numbers: [50]
50,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 96:[22, 6], Operations: ['18/9=2', '3*2=6']
Exploring Operation: 22+6=28, Resulting Numbers: [28]
28,96 unequal: No Solution
Exploring Operation: 22*6=132, Resulting Numbers: [132]
132,96 unequal: No Solution
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,96 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: 96:[3, 22, 9], Operations: ['18-9=9']
Exploring Operation: 22+9=31, Resulting Numbers: [3, 31]
Generated Node #0,3,0: 96:[3, 31] Operation: 22+9=31
Exploring Operation: 3+22=25, Resulting Numbers: [9, 25]
Generated Node #0,3,1: 96:[9, 25] Operation: 3+22=25
Exploring Operation: 3+9=12, Resulting Numbers: [22, 12]
Generated Node #0,3,2: 96:[22, 12] Operation: 3+9=12
Exploring Operation: 22-9=13, Resulting Numbers: [3, 13]
Generated Node #0,3,3: 96:[3, 13] Operation: 22-9=13
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 96:[3, 31], Operations: ['18-9=9', '22+9=31']
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,96 unequal: No Solution
Exploring Operation: 3+31=34, Resulting Numbers: [34]
34,96 unequal: No Solution
Exploring Operation: 3*31=93, Resulting Numbers: [93]
93,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 96:[3, 13], Operations: ['18-9=9', '22-9=13']
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,96 unequal: No Solution
Exploring Operation: 3+13=16, Resulting Numbers: [16]
16,96 unequal: No Solution
Exploring Operation: 3*13=39, Resulting Numbers: [39]
39,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 96:[9, 25], Operations: ['18-9=9', '3+22=25']
Exploring Operation: 9+25=34, Resulting Numbers: [34]
34,96 unequal: No Solution
Exploring Operation: 9*25=225, Resulting Numbers: [225]
225,96 unequal: No Solution
Exploring Operation: 25-9=16, Resulting Numbers: [16]
16,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 96:[22, 12], Operations: ['18-9=9', '3+9=12']
Exploring Operation: 22-12=10, Resulting Numbers: [10]
10,96 unequal: No Solution
Exploring Operation: 22+12=34, Resulting Numbers: [34]
34,96 unequal: No Solution
Exploring Operation: 22*12=264, Resulting Numbers: [264]
264,96 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: 96:[18, 3, 31], Operations: ['9+22=31']
Exploring Operation: 31-18=13, Resulting Numbers: [3, 13]
Generated Node #0,2,0: 96:[3, 13] Operation: 31-18=13
Exploring Operation: 18/3=6, Resulting Numbers: [31, 6]
Generated Node #0,2,1: 96:[31, 6] Operation: 18/3=6
Exploring Operation: 18+31=49, Resulting Numbers: [3, 49]
Generated Node #0,2,2: 96:[3, 49] Operation: 18+31=49
Exploring Operation: 18-3=15, Resulting Numbers: [31, 15]
Generated Node #0,2,3: 96:[31, 15] Operation: 18-3=15
Moving to Node #0,1,0
Current State: 96:[4, 6], Operations: ['22-18=4', '9-3=6']
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,96 unequal: No Solution
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,96 unequal: No Solution
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,96 unequal: No Solution
Moving to Node #0,1,3
Current State: 96:[4, 12], Operations: ['22-18=4', '9+3=12']
Exploring Operation: 4*12=48, Resulting Numbers: [48]
48,96 unequal: No Solution
Exploring Operation: 4+12=16, Resulting Numbers: [16]
16,96 unequal: No Solution
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,96 unequal: No Solution
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,96 unequal: No Solution
Moving to Node #0,1,2
Current State: 96:[4, 3], Operations: ['22-18=4', '9/3=3']
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,96 unequal: No Solution
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,96 unequal: No Solution
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,96 unequal: No Solution
Moving to Node #0,2,2
Current State: 96:[3, 49], Operations: ['9+22=31', '18+31=49']
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,96 unequal: No Solution
Exploring Operation: 3*49=147, Resulting Numbers: [147]
147,96 unequal: No Solution
Exploring Operation: 3+49=52, Resulting Numbers: [52]
52,96 unequal: No Solution
Moving to Node #0,2,1
Current State: 96:[31, 6], Operations: ['9+22=31', '18/3=6']
Exploring Operation: 31-6=25, Resulting Numbers: [25]
25,96 unequal: No Solution
Exploring Operation: 31*6=186, Resulting Numbers: [186]
186,96 unequal: No Solution
Exploring Operation: 31+6=37, Resulting Numbers: [37]
37,96 unequal: No Solution
Moving to Node #0,2,0
Current State: 96:[3, 13], Operations: ['9+22=31', '31-18=13']
Exploring Operation: 3*13=39, Resulting Numbers: [39]
39,96 unequal: No Solution
Exploring Operation: 3+13=16, Resulting Numbers: [16]
16,96 unequal: No Solution
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,96 unequal: No Solution
Moving to Node #0,1,1
Current State: 96:[3, 13], Operations: ['22-18=4', '9+4=13']
Exploring Operation: 3*13=39, Resulting Numbers: [39]
39,96 unequal: No Solution
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,96 unequal: No Solution
Exploring Operation: 3+13=16, Resulting Numbers: [16]
16,96 unequal: No Solution
Moving to Node #0,2,3
Current State: 96:[31, 15], Operations: ['9+22=31', '18-3=15']
Exploring Operation: 31-15=16, Resulting Numbers: [16]
16,96 unequal: No Solution
Exploring Operation: 31+15=46, Resulting Numbers: [46]
46,96 unequal: No Solution
Exploring Operation: 31*15=465, Resulting Numbers: [465]
465,96 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
22,
16,
3,
67
] | 32 | [
"22+16=38",
"3+67=70",
"70-38=32"
] | Current State: 32:[22, 16, 3, 67], Operations: []
Exploring Operation: 22+16=38, Resulting Numbers: [3, 67, 38]
Generated Node #2: [3, 67, 38] from Operation: 22+16=38
Current State: 32:[3, 67, 38], Operations: ['22+16=38']
Exploring Operation: 3+67=70, Resulting Numbers: [38, 70]
Generated Node #3: [38, 70] from Operation: 3+67=70
Current State: 32:[38, 70], Operations: ['22+16=38', '3+67=70']
Exploring Operation: 70-38=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[22, 16, 3, 67], Operations: []
Exploring Operation: 67-22=45, Resulting Numbers: [16, 3, 45]
Generated Node #0,0: 32:[16, 3, 45] Operation: 67-22=45
Moving to Node #0,0
Current State: 32:[16, 3, 45], Operations: ['67-22=45']
Exploring Operation: 45/3=15, Resulting Numbers: [16, 15]
Generated Node #0,0,0: 32:[16, 15] Operation: 45/3=15
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 32:[16, 15], Operations: ['67-22=45', '45/3=15']
Exploring Operation: 16+15=31, Resulting Numbers: [31]
31,32 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 |
[
26,
3,
75,
87
] | 12 | [
"3*75=225",
"87+225=312",
"312/26=12"
] | Current State: 12:[26, 3, 75, 87], Operations: []
Exploring Operation: 3*75=225, Resulting Numbers: [26, 87, 225]
Generated Node #2: [26, 87, 225] from Operation: 3*75=225
Current State: 12:[26, 87, 225], Operations: ['3*75=225']
Exploring Operation: 87+225=312, Resulting Numbers: [26, 312]
Generated Node #3: [26, 312] from Operation: 87+225=312
Current State: 12:[26, 312], Operations: ['3*75=225', '87+225=312']
Exploring Operation: 312/26=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[26, 3, 75, 87], Operations: []
Exploring Operation: 87-26=61, Resulting Numbers: [3, 75, 61]
Generated Node #0,0: 12:[3, 75, 61] Operation: 87-26=61
Exploring Operation: 75-26=49, Resulting Numbers: [3, 87, 49]
Generated Node #0,1: 12:[3, 87, 49] Operation: 75-26=49
Exploring Operation: 75/3=25, Resulting Numbers: [26, 87, 25]
Generated Node #0,2: 12:[26, 87, 25] Operation: 75/3=25
Exploring Operation: 87/3=29, Resulting Numbers: [26, 75, 29]
Generated Node #0,3: 12:[26, 75, 29] Operation: 87/3=29
Exploring Operation: 87-75=12, Resulting Numbers: [26, 3, 12]
Generated Node #0,4: 12:[26, 3, 12] Operation: 87-75=12
Start Sub Search at level 1: Moving to Node #0,4
Current State: 12:[26, 3, 12], Operations: ['87-75=12']
Exploring Operation: 26-12=14, Resulting Numbers: [3, 14]
Generated Node #0,4,0: 12:[3, 14] Operation: 26-12=14
Exploring Operation: 12/3=4, Resulting Numbers: [26, 4]
Generated Node #0,4,1: 12:[26, 4] Operation: 12/3=4
Exploring Operation: 3+12=15, Resulting Numbers: [26, 15]
Generated Node #0,4,2: 12:[26, 15] Operation: 3+12=15
Exploring Operation: 26-3=23, Resulting Numbers: [12, 23]
Generated Node #0,4,3: 12:[12, 23] Operation: 26-3=23
Exploring Operation: 26+3=29, Resulting Numbers: [12, 29]
Generated Node #0,4,4: 12:[12, 29] Operation: 26+3=29
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 12:[3, 14], Operations: ['87-75=12', '26-12=14']
Exploring Operation: 3+14=17, Resulting Numbers: [17]
17,12 unequal: No Solution
Exploring Operation: 3*14=42, Resulting Numbers: [42]
42,12 unequal: No Solution
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 12:[12, 23], Operations: ['87-75=12', '26-3=23']
Exploring Operation: 23-12=11, Resulting Numbers: [11]
11,12 unequal: No Solution
Exploring Operation: 12+23=35, Resulting Numbers: [35]
35,12 unequal: No Solution
Exploring Operation: 12*23=276, Resulting Numbers: [276]
276,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 12:[26, 4], Operations: ['87-75=12', '12/3=4']
Exploring Operation: 26+4=30, Resulting Numbers: [30]
30,12 unequal: No Solution
Exploring Operation: 26*4=104, Resulting Numbers: [104]
104,12 unequal: No Solution
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 12:[26, 15], Operations: ['87-75=12', '3+12=15']
Exploring Operation: 26-15=11, Resulting Numbers: [11]
11,12 unequal: No Solution
Exploring Operation: 26+15=41, Resulting Numbers: [41]
41,12 unequal: No Solution
Exploring Operation: 26*15=390, Resulting Numbers: [390]
390,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 12:[12, 29], Operations: ['87-75=12', '26+3=29']
Exploring Operation: 12*29=348, Resulting Numbers: [348]
348,12 unequal: No Solution
Exploring Operation: 29-12=17, Resulting Numbers: [17]
17,12 unequal: No Solution
Exploring Operation: 12+29=41, Resulting Numbers: [41]
41,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 12:[26, 75, 29], Operations: ['87/3=29']
Exploring Operation: 75-29=46, Resulting Numbers: [26, 46]
Generated Node #0,3,0: 12:[26, 46] Operation: 75-29=46
Exploring Operation: 26+29=55, Resulting Numbers: [75, 55]
Generated Node #0,3,1: 12:[75, 55] Operation: 26+29=55
Exploring Operation: 75-26=49, Resulting Numbers: [29, 49]
Generated Node #0,3,2: 12:[29, 49] Operation: 75-26=49
Exploring Operation: 26+75=101, Resulting Numbers: [29, 101]
Generated Node #0,3,3: 12:[29, 101] Operation: 26+75=101
Exploring Operation: 29-26=3, Resulting Numbers: [75, 3]
Generated Node #0,3,4: 12:[75, 3] Operation: 29-26=3
Moving to Node #0,3,0
Current State: 12:[26, 46], Operations: ['87/3=29', '75-29=46']
Exploring Operation: 26*46=1196, Resulting Numbers: [1196]
1196,12 unequal: No Solution
Exploring Operation: 26+46=72, Resulting Numbers: [72]
72,12 unequal: No Solution
Exploring Operation: 46-26=20, Resulting Numbers: [20]
20,12 unequal: No Solution
Moving to Node #0,3,2
Current State: 12:[29, 49], Operations: ['87/3=29', '75-26=49']
Exploring Operation: 29+49=78, Resulting Numbers: [78]
78,12 unequal: No Solution
Exploring Operation: 29*49=1421, Resulting Numbers: [1421]
1421,12 unequal: No Solution
Exploring Operation: 49-29=20, Resulting Numbers: [20]
20,12 unequal: No Solution
Moving to Node #0,3,4
Current State: 12:[75, 3], Operations: ['87/3=29', '29-26=3']
Exploring Operation: 75+3=78, Resulting Numbers: [78]
78,12 unequal: No Solution
Exploring Operation: 75/3=25, Resulting Numbers: [25]
25,12 unequal: No Solution
Exploring Operation: 75*3=225, Resulting Numbers: [225]
225,12 unequal: No Solution
Exploring Operation: 75-3=72, Resulting Numbers: [72]
72,12 unequal: No Solution
Moving to Node #0,3,1
Current State: 12:[75, 55], Operations: ['87/3=29', '26+29=55']
Exploring Operation: 75*55=4125, Resulting Numbers: [4125]
4125,12 unequal: No Solution
Exploring Operation: 75+55=130, Resulting Numbers: [130]
130,12 unequal: No Solution
Exploring Operation: 75-55=20, Resulting Numbers: [20]
20,12 unequal: No Solution
Moving to Node #0,3,3
Current State: 12:[29, 101], Operations: ['87/3=29', '26+75=101']
Exploring Operation: 29*101=2929, Resulting Numbers: [2929]
2929,12 unequal: No Solution
Exploring Operation: 29+101=130, Resulting Numbers: [130]
130,12 unequal: No Solution
Exploring Operation: 101-29=72, Resulting Numbers: [72]
72,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 12:[26, 87, 25], Operations: ['75/3=25']
Exploring Operation: 26+25=51, Resulting Numbers: [87, 51]
Generated Node #0,2,0: 12:[87, 51] Operation: 26+25=51
Exploring Operation: 87-26=61, Resulting Numbers: [25, 61]
Generated Node #0,2,1: 12:[25, 61] Operation: 87-26=61
Exploring Operation: 26+87=113, Resulting Numbers: [25, 113]
Generated Node #0,2,2: 12:[25, 113] Operation: 26+87=113
Exploring Operation: 26-25=1, Resulting Numbers: [87, 1]
Generated Node #0,2,3: 12:[87, 1] Operation: 26-25=1
Exploring Operation: 87-25=62, Resulting Numbers: [26, 62]
Generated Node #0,2,4: 12:[26, 62] Operation: 87-25=62
Moving to Node #0,2,1
Current State: 12:[25, 61], Operations: ['75/3=25', '87-26=61']
Exploring Operation: 25+61=86, Resulting Numbers: [86]
86,12 unequal: No Solution
Exploring Operation: 25*61=1525, Resulting Numbers: [1525]
1525,12 unequal: No Solution
Exploring Operation: 61-25=36, Resulting Numbers: [36]
36,12 unequal: No Solution
Moving to Node #0,2,4
Current State: 12:[26, 62], Operations: ['75/3=25', '87-25=62']
Exploring Operation: 26*62=1612, Resulting Numbers: [1612]
1612,12 unequal: No Solution
Exploring Operation: 26+62=88, Resulting Numbers: [88]
88,12 unequal: No Solution
Exploring Operation: 62-26=36, Resulting Numbers: [36]
36,12 unequal: No Solution
Moving to Node #0,2,3
Current State: 12:[87, 1], Operations: ['75/3=25', '26-25=1']
Exploring Operation: 87/1=87, Resulting Numbers: [87]
87,12 unequal: No Solution
Exploring Operation: 87-1=86, Resulting Numbers: [86]
86,12 unequal: No Solution
Exploring Operation: 87+1=88, Resulting Numbers: [88]
88,12 unequal: No Solution
Exploring Operation: 87*1=87, Resulting Numbers: [87]
87,12 unequal: No Solution
Moving to Node #0,2,0
Current State: 12:[87, 51], Operations: ['75/3=25', '26+25=51']
Exploring Operation: 87+51=138, Resulting Numbers: [138]
138,12 unequal: No Solution
Exploring Operation: 87*51=4437, Resulting Numbers: [4437]
4437,12 unequal: No Solution
Exploring Operation: 87-51=36, Resulting Numbers: [36]
36,12 unequal: No Solution
Moving to Node #0,2,2
Current State: 12:[25, 113], Operations: ['75/3=25', '26+87=113']
Exploring Operation: 25*113=2825, Resulting Numbers: [2825]
2825,12 unequal: No Solution
Exploring Operation: 113-25=88, Resulting Numbers: [88]
88,12 unequal: No Solution
Exploring Operation: 25+113=138, Resulting Numbers: [138]
138,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 12:[3, 75, 61], Operations: ['87-26=61']
Exploring Operation: 75/3=25, Resulting Numbers: [61, 25]
Generated Node #0,0,0: 12:[61, 25] Operation: 75/3=25
Exploring Operation: 75-3=72, Resulting Numbers: [61, 72]
Generated Node #0,0,1: 12:[61, 72] Operation: 75-3=72
Exploring Operation: 75-61=14, Resulting Numbers: [3, 14]
Generated Node #0,0,2: 12:[3, 14] Operation: 75-61=14
Exploring Operation: 3+75=78, Resulting Numbers: [61, 78]
Generated Node #0,0,3: 12:[61, 78] Operation: 3+75=78
Exploring Operation: 61-3=58, Resulting Numbers: [75, 58]
Generated Node #0,0,4: 12:[75, 58] Operation: 61-3=58
Moving to Node #0,0,2
Current State: 12:[3, 14], Operations: ['87-26=61', '75-61=14']
Exploring Operation: 3+14=17, Resulting Numbers: [17]
17,12 unequal: No Solution
Exploring Operation: 3*14=42, Resulting Numbers: [42]
42,12 unequal: No Solution
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,12 unequal: No Solution
Moving to Node #0,0,0
Current State: 12:[61, 25], Operations: ['87-26=61', '75/3=25']
Exploring Operation: 61+25=86, Resulting Numbers: [86]
86,12 unequal: No Solution
Exploring Operation: 61-25=36, Resulting Numbers: [36]
36,12 unequal: No Solution
Exploring Operation: 61*25=1525, Resulting Numbers: [1525]
1525,12 unequal: No Solution
Moving to Node #0,0,1
Current State: 12:[61, 72], Operations: ['87-26=61', '75-3=72']
Exploring Operation: 72-61=11, Resulting Numbers: [11]
11,12 unequal: No Solution
Exploring Operation: 61+72=133, Resulting Numbers: [133]
133,12 unequal: No Solution
Exploring Operation: 61*72=4392, Resulting Numbers: [4392]
4392,12 unequal: No Solution
Moving to Node #0,0,4
Current State: 12:[75, 58], Operations: ['87-26=61', '61-3=58']
Exploring Operation: 75*58=4350, Resulting Numbers: [4350]
4350,12 unequal: No Solution
Exploring Operation: 75-58=17, Resulting Numbers: [17]
17,12 unequal: No Solution
Exploring Operation: 75+58=133, Resulting Numbers: [133]
133,12 unequal: No Solution
Moving to Node #0,0,3
Current State: 12:[61, 78], Operations: ['87-26=61', '3+75=78']
Exploring Operation: 61+78=139, Resulting Numbers: [139]
139,12 unequal: No Solution
Exploring Operation: 61*78=4758, Resulting Numbers: [4758]
4758,12 unequal: No Solution
Exploring Operation: 78-61=17, Resulting Numbers: [17]
17,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 12:[3, 87, 49], Operations: ['75-26=49']
Exploring Operation: 49-3=46, Resulting Numbers: [87, 46]
Generated Node #0,1,0: 12:[87, 46] Operation: 49-3=46
Exploring Operation: 87-49=38, Resulting Numbers: [3, 38]
Generated Node #0,1,1: 12:[3, 38] Operation: 87-49=38
Exploring Operation: 3+87=90, Resulting Numbers: [49, 90]
Generated Node #0,1,2: 12:[49, 90] Operation: 3+87=90
Exploring Operation: 87-3=84, Resulting Numbers: [49, 84]
Generated Node #0,1,3: 12:[49, 84] Operation: 87-3=84
Exploring Operation: 87/3=29, Resulting Numbers: [49, 29]
Generated Node #0,1,4: 12:[49, 29] Operation: 87/3=29
Moving to Node #0,1,1
Current State: 12:[3, 38], Operations: ['75-26=49', '87-49=38']
Exploring Operation: 38-3=35, Resulting Numbers: [35]
35,12 unequal: No Solution
Exploring Operation: 3+38=41, Resulting Numbers: [41]
41,12 unequal: No Solution
Exploring Operation: 3*38=114, Resulting Numbers: [114]
114,12 unequal: No Solution
Moving to Node #0,1,4
Current State: 12:[49, 29], Operations: ['75-26=49', '87/3=29']
Exploring Operation: 49-29=20, Resulting Numbers: [20]
20,12 unequal: No Solution
Exploring Operation: 49*29=1421, Resulting Numbers: [1421]
1421,12 unequal: No Solution
Exploring Operation: 49+29=78, Resulting Numbers: [78]
78,12 unequal: No Solution
Moving to Node #0,1,0
Current State: 12:[87, 46], Operations: ['75-26=49', '49-3=46']
Exploring Operation: 87*46=4002, Resulting Numbers: [4002]
4002,12 unequal: No Solution
Exploring Operation: 87+46=133, Resulting Numbers: [133]
133,12 unequal: No Solution
Exploring Operation: 87-46=41, Resulting Numbers: [41]
41,12 unequal: No Solution
Moving to Node #0,1,3
Current State: 12:[49, 84], Operations: ['75-26=49', '87-3=84']
Exploring Operation: 49*84=4116, Resulting Numbers: [4116]
4116,12 unequal: No Solution
Exploring Operation: 49+84=133, Resulting Numbers: [133]
133,12 unequal: No Solution
Exploring Operation: 84-49=35, Resulting Numbers: [35]
35,12 unequal: No Solution
Moving to Node #0,1,2
Current State: 12:[49, 90], Operations: ['75-26=49', '3+87=90']
Exploring Operation: 49+90=139, Resulting Numbers: [139]
139,12 unequal: No Solution
Exploring Operation: 90-49=41, Resulting Numbers: [41]
41,12 unequal: No Solution
Exploring Operation: 49*90=4410, Resulting Numbers: [4410]
4410,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
45,
12,
19,
78
] | 81 | [
"45+12=57",
"57/19=3",
"78+3=81"
] | Current State: 81:[45, 12, 19, 78], Operations: []
Exploring Operation: 45+12=57, Resulting Numbers: [19, 78, 57]
Generated Node #2: [19, 78, 57] from Operation: 45+12=57
Current State: 81:[19, 78, 57], Operations: ['45+12=57']
Exploring Operation: 57/19=3, Resulting Numbers: [78, 3]
Generated Node #3: [78, 3] from Operation: 57/19=3
Current State: 81:[78, 3], Operations: ['45+12=57', '57/19=3']
Exploring Operation: 78+3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[45, 12, 19, 78], Operations: []
Exploring Operation: 45-12=33, Resulting Numbers: [19, 78, 33]
Generated Node #0,0: 81:[19, 78, 33] Operation: 45-12=33
Exploring Operation: 78-45=33, Resulting Numbers: [12, 19, 33]
Generated Node #0,1: 81:[12, 19, 33] Operation: 78-45=33
Exploring Operation: 45-19=26, Resulting Numbers: [12, 78, 26]
Generated Node #0,2: 81:[12, 78, 26] Operation: 45-19=26
Exploring Operation: 45+19=64, Resulting Numbers: [12, 78, 64]
Generated Node #0,3: 81:[12, 78, 64] Operation: 45+19=64
Moving to Node #0,2
Current State: 81:[12, 78, 26], Operations: ['45-19=26']
Exploring Operation: 12+26=38, Resulting Numbers: [78, 38]
Generated Node #0,2,0: 81:[78, 38] Operation: 12+26=38
Exploring Operation: 78/26=3, Resulting Numbers: [12, 3]
Generated Node #0,2,1: 81:[12, 3] Operation: 78/26=3
Exploring Operation: 26-12=14, Resulting Numbers: [78, 14]
Generated Node #0,2,2: 81:[78, 14] Operation: 26-12=14
Exploring Operation: 12+78=90, Resulting Numbers: [26, 90]
Generated Node #0,2,3: 81:[26, 90] Operation: 12+78=90
Moving to Node #0,1
Current State: 81:[12, 19, 33], Operations: ['78-45=33']
Exploring Operation: 33-12=21, Resulting Numbers: [19, 21]
Generated Node #0,1,0: 81:[19, 21] Operation: 33-12=21
Exploring Operation: 19-12=7, Resulting Numbers: [33, 7]
Generated Node #0,1,1: 81:[33, 7] Operation: 19-12=7
Exploring Operation: 12+19=31, Resulting Numbers: [33, 31]
Generated Node #0,1,2: 81:[33, 31] Operation: 12+19=31
Exploring Operation: 33-19=14, Resulting Numbers: [12, 14]
Generated Node #0,1,3: 81:[12, 14] Operation: 33-19=14
Moving to Node #0,0
Current State: 81:[19, 78, 33], Operations: ['45-12=33']
Exploring Operation: 78-19=59, Resulting Numbers: [33, 59]
Generated Node #0,0,0: 81:[33, 59] Operation: 78-19=59
Exploring Operation: 33-19=14, Resulting Numbers: [78, 14]
Generated Node #0,0,1: 81:[78, 14] Operation: 33-19=14
Exploring Operation: 78-33=45, Resulting Numbers: [19, 45]
Generated Node #0,0,2: 81:[19, 45] Operation: 78-33=45
Exploring Operation: 19+78=97, Resulting Numbers: [33, 97]
Generated Node #0,0,3: 81:[33, 97] Operation: 19+78=97
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 81:[78, 14], Operations: ['45-12=33', '33-19=14']
Exploring Operation: 78*14=1092, Resulting Numbers: [1092]
1092,81 unequal: No Solution
Exploring Operation: 78+14=92, Resulting Numbers: [92]
92,81 unequal: No Solution
Exploring Operation: 78-14=64, Resulting Numbers: [64]
64,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 81:[33, 97], Operations: ['45-12=33', '19+78=97']
Exploring Operation: 97-33=64, Resulting Numbers: [64]
64,81 unequal: No Solution
Exploring Operation: 33*97=3201, Resulting Numbers: [3201]
3201,81 unequal: No Solution
Exploring Operation: 33+97=130, Resulting Numbers: [130]
130,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 81:[19, 45], Operations: ['45-12=33', '78-33=45']
Exploring Operation: 19+45=64, Resulting Numbers: [64]
64,81 unequal: No Solution
Exploring Operation: 19*45=855, Resulting Numbers: [855]
855,81 unequal: No Solution
Exploring Operation: 45-19=26, Resulting Numbers: [26]
26,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 81:[33, 59], Operations: ['45-12=33', '78-19=59']
Exploring Operation: 33*59=1947, Resulting Numbers: [1947]
1947,81 unequal: No Solution
Exploring Operation: 59-33=26, Resulting Numbers: [26]
26,81 unequal: No Solution
Exploring Operation: 33+59=92, Resulting Numbers: [92]
92,81 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: 81:[12, 78, 64], Operations: ['45+19=64']
Exploring Operation: 12+64=76, Resulting Numbers: [78, 76]
Generated Node #0,3,0: 81:[78, 76] Operation: 12+64=76
Exploring Operation: 78-64=14, Resulting Numbers: [12, 14]
Generated Node #0,3,1: 81:[12, 14] Operation: 78-64=14
Exploring Operation: 12+78=90, Resulting Numbers: [64, 90]
Generated Node #0,3,2: 81:[64, 90] Operation: 12+78=90
Exploring Operation: 64-12=52, Resulting Numbers: [78, 52]
Generated Node #0,3,3: 81:[78, 52] Operation: 64-12=52
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 81:[78, 76], Operations: ['45+19=64', '12+64=76']
Exploring Operation: 78*76=5928, Resulting Numbers: [5928]
5928,81 unequal: No Solution
Exploring Operation: 78-76=2, Resulting Numbers: [2]
2,81 unequal: No Solution
Exploring Operation: 78+76=154, Resulting Numbers: [154]
154,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,3,1
Current State: 81:[12, 14], Operations: ['45+19=64', '78-64=14']
Exploring Operation: 14-12=2, Resulting Numbers: [2]
2,81 unequal: No Solution
Exploring Operation: 12+14=26, Resulting Numbers: [26]
26,81 unequal: No Solution
Exploring Operation: 12*14=168, Resulting Numbers: [168]
168,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,3,2
Current State: 81:[64, 90], Operations: ['45+19=64', '12+78=90']
Exploring Operation: 64+90=154, Resulting Numbers: [154]
154,81 unequal: No Solution
Exploring Operation: 64*90=5760, Resulting Numbers: [5760]
5760,81 unequal: No Solution
Exploring Operation: 90-64=26, Resulting Numbers: [26]
26,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,3,3
Current State: 81:[78, 52], Operations: ['45+19=64', '64-12=52']
Exploring Operation: 78*52=4056, Resulting Numbers: [4056]
4056,81 unequal: No Solution
Exploring Operation: 78+52=130, Resulting Numbers: [130]
130,81 unequal: No Solution
Exploring Operation: 78-52=26, Resulting Numbers: [26]
26,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,1
Current State: 81:[12, 3], Operations: ['45-19=26', '78/26=3']
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,81 unequal: No Solution
Exploring Operation: 12+3=15, Resulting Numbers: [15]
15,81 unequal: No Solution
Exploring Operation: 12*3=36, Resulting Numbers: [36]
36,81 unequal: No Solution
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,81 unequal: No Solution
Moving to Node #0,1,3
Current State: 81:[12, 14], Operations: ['78-45=33', '33-19=14']
Exploring Operation: 12+14=26, Resulting Numbers: [26]
26,81 unequal: No Solution
Exploring Operation: 12*14=168, Resulting Numbers: [168]
168,81 unequal: No Solution
Exploring Operation: 14-12=2, Resulting Numbers: [2]
2,81 unequal: No Solution
Moving to Node #0,2,2
Current State: 81:[78, 14], Operations: ['45-19=26', '26-12=14']
Exploring Operation: 78-14=64, Resulting Numbers: [64]
64,81 unequal: No Solution
Exploring Operation: 78+14=92, Resulting Numbers: [92]
92,81 unequal: No Solution
Exploring Operation: 78*14=1092, Resulting Numbers: [1092]
1092,81 unequal: No Solution
Moving to Node #0,1,1
Current State: 81:[33, 7], Operations: ['78-45=33', '19-12=7']
Exploring Operation: 33+7=40, Resulting Numbers: [40]
40,81 unequal: No Solution
Exploring Operation: 33-7=26, Resulting Numbers: [26]
26,81 unequal: No Solution
Exploring Operation: 33*7=231, Resulting Numbers: [231]
231,81 unequal: No Solution
Moving to Node #0,1,2
Current State: 81:[33, 31], Operations: ['78-45=33', '12+19=31']
Exploring Operation: 33*31=1023, Resulting Numbers: [1023]
1023,81 unequal: No Solution
Exploring Operation: 33+31=64, Resulting Numbers: [64]
64,81 unequal: No Solution
Exploring Operation: 33-31=2, Resulting Numbers: [2]
2,81 unequal: No Solution
Moving to Node #0,2,3
Current State: 81:[26, 90], Operations: ['45-19=26', '12+78=90']
Exploring Operation: 90-26=64, Resulting Numbers: [64]
64,81 unequal: No Solution
Exploring Operation: 26*90=2340, Resulting Numbers: [2340]
2340,81 unequal: No Solution
Exploring Operation: 26+90=116, Resulting Numbers: [116]
116,81 unequal: No Solution
Moving to Node #0,2,0
Current State: 81:[78, 38], Operations: ['45-19=26', '12+26=38']
Exploring Operation: 78*38=2964, Resulting Numbers: [2964]
2964,81 unequal: No Solution
Exploring Operation: 78-38=40, Resulting Numbers: [40]
40,81 unequal: No Solution
Exploring Operation: 78+38=116, Resulting Numbers: [116]
116,81 unequal: No Solution
Moving to Node #0,1,0
Current State: 81:[19, 21], Operations: ['78-45=33', '33-12=21']
Exploring Operation: 21-19=2, Resulting Numbers: [2]
2,81 unequal: No Solution
Exploring Operation: 19+21=40, Resulting Numbers: [40]
40,81 unequal: No Solution
Exploring Operation: 19*21=399, Resulting Numbers: [399]
399,81 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
46,
82,
50,
45
] | 98 | [
"50-46=4",
"45*4=180",
"180-82=98"
] | Current State: 98:[46, 82, 50, 45], Operations: []
Exploring Operation: 50-46=4, Resulting Numbers: [82, 45, 4]
Generated Node #2: [82, 45, 4] from Operation: 50-46=4
Current State: 98:[82, 45, 4], Operations: ['50-46=4']
Exploring Operation: 45*4=180, Resulting Numbers: [82, 180]
Generated Node #3: [82, 180] from Operation: 45*4=180
Current State: 98:[82, 180], Operations: ['50-46=4', '45*4=180']
Exploring Operation: 180-82=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[46, 82, 50, 45], Operations: []
Exploring Operation: 82-45=37, Resulting Numbers: [46, 50, 37]
Generated Node #0,0: 98:[46, 50, 37] Operation: 82-45=37
Exploring Operation: 82-46=36, Resulting Numbers: [50, 45, 36]
Generated Node #0,1: 98:[50, 45, 36] Operation: 82-46=36
Exploring Operation: 46-45=1, Resulting Numbers: [82, 50, 1]
Generated Node #0,2: 98:[82, 50, 1] Operation: 46-45=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[46, 50, 37], Operations: ['82-45=37']
Exploring Operation: 46-37=9, Resulting Numbers: [50, 9]
Generated Node #0,0,0: 98:[50, 9] Operation: 46-37=9
Exploring Operation: 46+50=96, Resulting Numbers: [37, 96]
Generated Node #0,0,1: 98:[37, 96] Operation: 46+50=96
Exploring Operation: 50-37=13, Resulting Numbers: [46, 13]
Generated Node #0,0,2: 98:[46, 13] Operation: 50-37=13
Moving to Node #0,0,0
Current State: 98:[50, 9], Operations: ['82-45=37', '46-37=9']
Exploring Operation: 50-9=41, Resulting Numbers: [41]
41,98 unequal: No Solution
Exploring Operation: 50*9=450, Resulting Numbers: [450]
450,98 unequal: No Solution
Exploring Operation: 50+9=59, Resulting Numbers: [59]
59,98 unequal: No Solution
Moving to Node #0,0,2
Current State: 98:[46, 13], Operations: ['82-45=37', '50-37=13']
Exploring Operation: 46*13=598, Resulting Numbers: [598]
598,98 unequal: No Solution
Exploring Operation: 46-13=33, Resulting Numbers: [33]
33,98 unequal: No Solution
Exploring Operation: 46+13=59, Resulting Numbers: [59]
59,98 unequal: No Solution
Moving to Node #0,0,1
Current State: 98:[37, 96], Operations: ['82-45=37', '46+50=96']
Exploring Operation: 37+96=133, Resulting Numbers: [133]
133,98 unequal: No Solution
Exploring Operation: 96-37=59, Resulting Numbers: [59]
59,98 unequal: No Solution
Exploring Operation: 37*96=3552, Resulting Numbers: [3552]
3552,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 98:[50, 45, 36], Operations: ['82-46=36']
Exploring Operation: 50-36=14, Resulting Numbers: [45, 14]
Generated Node #0,1,0: 98:[45, 14] Operation: 50-36=14
Exploring Operation: 50-45=5, Resulting Numbers: [36, 5]
Generated Node #0,1,1: 98:[36, 5] Operation: 50-45=5
Exploring Operation: 45-36=9, Resulting Numbers: [50, 9]
Generated Node #0,1,2: 98:[50, 9] Operation: 45-36=9
Moving to Node #0,1,2
Current State: 98:[50, 9], Operations: ['82-46=36', '45-36=9']
Exploring Operation: 50+9=59, Resulting Numbers: [59]
59,98 unequal: No Solution
Exploring Operation: 50*9=450, Resulting Numbers: [450]
450,98 unequal: No Solution
Exploring Operation: 50-9=41, Resulting Numbers: [41]
41,98 unequal: No Solution
Moving to Node #0,1,0
Current State: 98:[45, 14], Operations: ['82-46=36', '50-36=14']
Exploring Operation: 45+14=59, Resulting Numbers: [59]
59,98 unequal: No Solution
Exploring Operation: 45*14=630, Resulting Numbers: [630]
630,98 unequal: No Solution
Exploring Operation: 45-14=31, Resulting Numbers: [31]
31,98 unequal: No Solution
Moving to Node #0,1,1
Current State: 98:[36, 5], Operations: ['82-46=36', '50-45=5']
Exploring Operation: 36-5=31, Resulting Numbers: [31]
31,98 unequal: No Solution
Exploring Operation: 36+5=41, Resulting Numbers: [41]
41,98 unequal: No Solution
Exploring Operation: 36*5=180, Resulting Numbers: [180]
180,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 98:[82, 50, 1], Operations: ['46-45=1']
Exploring Operation: 82+1=83, Resulting Numbers: [50, 83]
Generated Node #0,2,0: 98:[50, 83] Operation: 82+1=83
Exploring Operation: 82*1=82, Resulting Numbers: [50, 82]
Generated Node #0,2,1: 98:[50, 82] Operation: 82*1=82
Exploring Operation: 50-1=49, Resulting Numbers: [82, 49]
Generated Node #0,2,2: 98:[82, 49] Operation: 50-1=49
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 98:[50, 83], Operations: ['46-45=1', '82+1=83']
Exploring Operation: 83-50=33, Resulting Numbers: [33]
33,98 unequal: No Solution
Exploring Operation: 50+83=133, Resulting Numbers: [133]
133,98 unequal: No Solution
Exploring Operation: 50*83=4150, Resulting Numbers: [4150]
4150,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 98:[82, 49], Operations: ['46-45=1', '50-1=49']
Exploring Operation: 82*49=4018, Resulting Numbers: [4018]
4018,98 unequal: No Solution
Exploring Operation: 82-49=33, Resulting Numbers: [33]
33,98 unequal: No Solution
Exploring Operation: 82+49=131, Resulting Numbers: [131]
131,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 98:[50, 82], Operations: ['46-45=1', '82*1=82']
Exploring Operation: 50+82=132, Resulting Numbers: [132]
132,98 unequal: No Solution
Exploring Operation: 50*82=4100, Resulting Numbers: [4100]
4100,98 unequal: No Solution
Exploring Operation: 82-50=32, Resulting Numbers: [32]
32,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
20,
88,
12,
64
] | 10 | [
"20*12=240",
"88-64=24",
"240/24=10"
] | Current State: 10:[20, 88, 12, 64], Operations: []
Exploring Operation: 20*12=240, Resulting Numbers: [88, 64, 240]
Generated Node #2: [88, 64, 240] from Operation: 20*12=240
Current State: 10:[88, 64, 240], Operations: ['20*12=240']
Exploring Operation: 88-64=24, Resulting Numbers: [240, 24]
Generated Node #3: [240, 24] from Operation: 88-64=24
Current State: 10:[240, 24], Operations: ['20*12=240', '88-64=24']
Exploring Operation: 240/24=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[20, 88, 12, 64], Operations: []
Exploring Operation: 88-12=76, Resulting Numbers: [20, 64, 76]
Generated Node #0,0: 10:[20, 64, 76] Operation: 88-12=76
Exploring Operation: 88-64=24, Resulting Numbers: [20, 12, 24]
Generated Node #0,1: 10:[20, 12, 24] Operation: 88-64=24
Exploring Operation: 64-12=52, Resulting Numbers: [20, 88, 52]
Generated Node #0,2: 10:[20, 88, 52] Operation: 64-12=52
Exploring Operation: 64-20=44, Resulting Numbers: [88, 12, 44]
Generated Node #0,3: 10:[88, 12, 44] Operation: 64-20=44
Exploring Operation: 88-20=68, Resulting Numbers: [12, 64, 68]
Generated Node #0,4: 10:[12, 64, 68] Operation: 88-20=68
Start Sub Search at level 1: Moving to Node #0,1
Current State: 10:[20, 12, 24], Operations: ['88-64=24']
Exploring Operation: 24-20=4, Resulting Numbers: [12, 4]
Generated Node #0,1,0: 10:[12, 4] Operation: 24-20=4
Exploring Operation: 24-12=12, Resulting Numbers: [20, 12]
Generated Node #0,1,1: 10:[20, 12] Operation: 24-12=12
Exploring Operation: 20-12=8, Resulting Numbers: [24, 8]
Generated Node #0,1,2: 10:[24, 8] Operation: 20-12=8
Exploring Operation: 20+12=32, Resulting Numbers: [24, 32]
Generated Node #0,1,3: 10:[24, 32] Operation: 20+12=32
Exploring Operation: 24/12=2, Resulting Numbers: [20, 2]
Generated Node #0,1,4: 10:[20, 2] Operation: 24/12=2
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 10:[12, 4], Operations: ['88-64=24', '24-20=4']
Exploring Operation: 12+4=16, Resulting Numbers: [16]
16,10 unequal: No Solution
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,10 unequal: No Solution
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,10 unequal: No Solution
Exploring Operation: 12*4=48, Resulting Numbers: [48]
48,10 unequal: No Solution
No 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: 10:[20, 2], Operations: ['88-64=24', '24/12=2']
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,10 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[20, 88, 12, 64], Operations: []
Exploring Operation: 88-64=24, Resulting Numbers: [20, 12, 24]
Generated Node #0,1: 10:[20, 12, 24] Operation: 88-64=24
Moving to Node #0,1
Current State: 10:[20, 12, 24], Operations: ['88-64=24']
Exploring Operation: 24/12=2, Resulting Numbers: [20, 2]
Generated Node #0,1,4: 10:[20, 2] Operation: 24/12=2
Moving to Node #0,1,4
Current State: 10:[20, 2], Operations: ['88-64=24', '24/12=2']
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.982639 | hs_5 | sum_heuristic |
[
48,
50,
15,
10
] | 77 | [
"48*15=720",
"50+720=770",
"770/10=77"
] | Current State: 77:[48, 50, 15, 10], Operations: []
Exploring Operation: 48*15=720, Resulting Numbers: [50, 10, 720]
Generated Node #2: [50, 10, 720] from Operation: 48*15=720
Current State: 77:[50, 10, 720], Operations: ['48*15=720']
Exploring Operation: 50+720=770, Resulting Numbers: [10, 770]
Generated Node #3: [10, 770] from Operation: 50+720=770
Current State: 77:[10, 770], Operations: ['48*15=720', '50+720=770']
Exploring Operation: 770/10=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[48, 50, 15, 10], Operations: []
Exploring Operation: 50-48=2, Resulting Numbers: [15, 10, 2]
Generated Node #0,0: 77:[15, 10, 2] Operation: 50-48=2
Moving to Node #0,0
Current State: 77:[15, 10, 2], Operations: ['50-48=2']
Exploring Operation: 15-2=13, Resulting Numbers: [10, 13]
Generated Node #0,0,0: 77:[10, 13] Operation: 15-2=13
Moving to Node #0,0,0
Current State: 77:[10, 13], Operations: ['50-48=2', '15-2=13']
Exploring Operation: 13-10=3, Resulting Numbers: [3]
3,77 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
36,
4,
50,
42
] | 60 | [
"36-4=32",
"50+42=92",
"92-32=60"
] | Current State: 60:[36, 4, 50, 42], Operations: []
Exploring Operation: 36-4=32, Resulting Numbers: [50, 42, 32]
Generated Node #2: [50, 42, 32] from Operation: 36-4=32
Current State: 60:[50, 42, 32], Operations: ['36-4=32']
Exploring Operation: 50+42=92, Resulting Numbers: [32, 92]
Generated Node #3: [32, 92] from Operation: 50+42=92
Current State: 60:[32, 92], Operations: ['36-4=32', '50+42=92']
Exploring Operation: 92-32=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[36, 4, 50, 42], Operations: []
Exploring Operation: 50-36=14, Resulting Numbers: [4, 42, 14]
Generated Node #0,0: 60:[4, 42, 14] Operation: 50-36=14
Exploring Operation: 42-36=6, Resulting Numbers: [4, 50, 6]
Generated Node #0,1: 60:[4, 50, 6] Operation: 42-36=6
Exploring Operation: 36/4=9, Resulting Numbers: [50, 42, 9]
Generated Node #0,2: 60:[50, 42, 9] Operation: 36/4=9
Exploring Operation: 36-4=32, Resulting Numbers: [50, 42, 32]
Generated Node #0,3: 60:[50, 42, 32] Operation: 36-4=32
Exploring Operation: 50-42=8, Resulting Numbers: [36, 4, 8]
Generated Node #0,4: 60:[36, 4, 8] Operation: 50-42=8
Moving to Node #0,4
Current State: 60:[36, 4, 8], Operations: ['50-42=8']
Exploring Operation: 36-8=28, Resulting Numbers: [4, 28]
Generated Node #0,4,0: 60:[4, 28] Operation: 36-8=28
Exploring Operation: 4+8=12, Resulting Numbers: [36, 12]
Generated Node #0,4,1: 60:[36, 12] Operation: 4+8=12
Exploring Operation: 8-4=4, Resulting Numbers: [36, 4]
Generated Node #0,4,2: 60:[36, 4] Operation: 8-4=4
Exploring Operation: 36/4=9, Resulting Numbers: [8, 9]
Generated Node #0,4,3: 60:[8, 9] Operation: 36/4=9
Exploring Operation: 36-4=32, Resulting Numbers: [8, 32]
Generated Node #0,4,4: 60:[8, 32] Operation: 36-4=32
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 60:[4, 28], Operations: ['50-42=8', '36-8=28']
Exploring Operation: 4*28=112, Resulting Numbers: [112]
112,60 unequal: No Solution
Exploring Operation: 28-4=24, Resulting Numbers: [24]
24,60 unequal: No Solution
Exploring Operation: 4+28=32, Resulting Numbers: [32]
32,60 unequal: No Solution
Exploring Operation: 28/4=7, Resulting Numbers: [7]
7,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,4,3
Current State: 60:[8, 9], Operations: ['50-42=8', '36/4=9']
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Exploring Operation: 8*9=72, Resulting Numbers: [72]
72,60 unequal: No Solution
Exploring Operation: 8+9=17, Resulting Numbers: [17]
17,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,4,4
Current State: 60:[8, 32], Operations: ['50-42=8', '36-4=32']
Exploring Operation: 32/8=4, Resulting Numbers: [4]
4,60 unequal: No Solution
Exploring Operation: 8+32=40, Resulting Numbers: [40]
40,60 unequal: No Solution
Exploring Operation: 8*32=256, Resulting Numbers: [256]
256,60 unequal: No Solution
Exploring Operation: 32-8=24, Resulting Numbers: [24]
24,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,4,1
Current State: 60:[36, 12], Operations: ['50-42=8', '4+8=12']
Exploring Operation: 36/12=3, Resulting Numbers: [3]
3,60 unequal: No Solution
Exploring Operation: 36*12=432, Resulting Numbers: [432]
432,60 unequal: No Solution
Exploring Operation: 36+12=48, Resulting Numbers: [48]
48,60 unequal: No Solution
Exploring Operation: 36-12=24, Resulting Numbers: [24]
24,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,4,2
Current State: 60:[36, 4], Operations: ['50-42=8', '8-4=4']
Exploring Operation: 36-4=32, Resulting Numbers: [32]
32,60 unequal: No Solution
Exploring Operation: 36*4=144, Resulting Numbers: [144]
144,60 unequal: No Solution
Exploring Operation: 36+4=40, Resulting Numbers: [40]
40,60 unequal: No Solution
Exploring Operation: 36/4=9, Resulting Numbers: [9]
9,60 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: 60:[4, 50, 6], Operations: ['42-36=6']
Exploring Operation: 4+6=10, Resulting Numbers: [50, 10]
Generated Node #0,1,0: 60:[50, 10] Operation: 4+6=10
Exploring Operation: 50+6=56, Resulting Numbers: [4, 56]
Generated Node #0,1,1: 60:[4, 56] Operation: 50+6=56
Exploring Operation: 6-4=2, Resulting Numbers: [50, 2]
Generated Node #0,1,2: 60:[50, 2] Operation: 6-4=2
Exploring Operation: 50-4=46, Resulting Numbers: [6, 46]
Generated Node #0,1,3: 60:[6, 46] Operation: 50-4=46
Exploring Operation: 4+50=54, Resulting Numbers: [6, 54]
Generated Node #0,1,4: 60:[6, 54] Operation: 4+50=54
Moving to Node #0,0
Current State: 60:[4, 42, 14], Operations: ['50-36=14']
Exploring Operation: 42-4=38, Resulting Numbers: [14, 38]
Generated Node #0,0,0: 60:[14, 38] Operation: 42-4=38
Exploring Operation: 42+14=56, Resulting Numbers: [4, 56]
Generated Node #0,0,1: 60:[4, 56] Operation: 42+14=56
Exploring Operation: 42/14=3, Resulting Numbers: [4, 3]
Generated Node #0,0,2: 60:[4, 3] Operation: 42/14=3
Exploring Operation: 42-14=28, Resulting Numbers: [4, 28]
Generated Node #0,0,3: 60:[4, 28] Operation: 42-14=28
Exploring Operation: 14-4=10, Resulting Numbers: [42, 10]
Generated Node #0,0,4: 60:[42, 10] Operation: 14-4=10
Moving to Node #0,2
Current State: 60:[50, 42, 9], Operations: ['36/4=9']
Exploring Operation: 42+9=51, Resulting Numbers: [50, 51]
Generated Node #0,2,0: 60:[50, 51] Operation: 42+9=51
Exploring Operation: 50+9=59, Resulting Numbers: [42, 59]
Generated Node #0,2,1: 60:[42, 59] Operation: 50+9=59
Exploring Operation: 42-9=33, Resulting Numbers: [50, 33]
Generated Node #0,2,2: 60:[50, 33] Operation: 42-9=33
Exploring Operation: 50-42=8, Resulting Numbers: [9, 8]
Generated Node #0,2,3: 60:[9, 8] Operation: 50-42=8
Exploring Operation: 50-9=41, Resulting Numbers: [42, 41]
Generated Node #0,2,4: 60:[42, 41] Operation: 50-9=41
Moving to Node #0,3
Current State: 60:[50, 42, 32], Operations: ['36-4=32']
Exploring Operation: 50-42=8, Resulting Numbers: [32, 8]
Generated Node #0,3,0: 60:[32, 8] Operation: 50-42=8
Exploring Operation: 50-32=18, Resulting Numbers: [42, 18]
Generated Node #0,3,1: 60:[42, 18] Operation: 50-32=18
Exploring Operation: 50+42=92, Resulting Numbers: [32, 92]
Generated Node #0,3,2: 60:[32, 92] Operation: 50+42=92
Exploring Operation: 42+32=74, Resulting Numbers: [50, 74]
Generated Node #0,3,3: 60:[50, 74] Operation: 42+32=74
Exploring Operation: 42-32=10, Resulting Numbers: [50, 10]
Generated Node #0,3,4: 60:[50, 10] Operation: 42-32=10
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 60:[32, 8], Operations: ['36-4=32', '50-42=8']
Exploring Operation: 32+8=40, Resulting Numbers: [40]
40,60 unequal: No Solution
Exploring Operation: 32/8=4, Resulting Numbers: [4]
4,60 unequal: No Solution
Exploring Operation: 32*8=256, Resulting Numbers: [256]
256,60 unequal: No Solution
Exploring Operation: 32-8=24, Resulting Numbers: [24]
24,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,4
Current State: 60:[50, 10], Operations: ['36-4=32', '42-32=10']
Exploring Operation: 50*10=500, Resulting Numbers: [500]
500,60 unequal: No Solution
Exploring Operation: 50+10=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[36, 4, 50, 42], Operations: []
Exploring Operation: 36-4=32, Resulting Numbers: [50, 42, 32]
Generated Node #0,3: 60:[50, 42, 32] Operation: 36-4=32
Moving to Node #0,3
Current State: 60:[50, 42, 32], Operations: ['36-4=32']
Exploring Operation: 42-32=10, Resulting Numbers: [50, 10]
Generated Node #0,3,4: 60:[50, 10] Operation: 42-32=10
Moving to Node #0,3,4
Current State: 60:[50, 10], Operations: ['36-4=32', '42-32=10']
Exploring Operation: 50+10=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 1
| 0.948785 | hs_5 | sum_heuristic |
[
4,
94,
36,
5
] | 55 | [
"4*36=144",
"94-5=89",
"144-89=55"
] | Current State: 55:[4, 94, 36, 5], Operations: []
Exploring Operation: 4*36=144, Resulting Numbers: [94, 5, 144]
Generated Node #2: [94, 5, 144] from Operation: 4*36=144
Current State: 55:[94, 5, 144], Operations: ['4*36=144']
Exploring Operation: 94-5=89, Resulting Numbers: [144, 89]
Generated Node #3: [144, 89] from Operation: 94-5=89
Current State: 55:[144, 89], Operations: ['4*36=144', '94-5=89']
Exploring Operation: 144-89=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[4, 94, 36, 5], Operations: []
Exploring Operation: 94-4=90, Resulting Numbers: [36, 5, 90]
Generated Node #0,0: 55:[36, 5, 90] Operation: 94-4=90
Exploring Operation: 36/4=9, Resulting Numbers: [94, 5, 9]
Generated Node #0,1: 55:[94, 5, 9] Operation: 36/4=9
Exploring Operation: 4+36=40, Resulting Numbers: [94, 5, 40]
Generated Node #0,2: 55:[94, 5, 40] Operation: 4+36=40
Exploring Operation: 94-36=58, Resulting Numbers: [4, 5, 58]
Generated Node #0,3: 55:[4, 5, 58] Operation: 94-36=58
Exploring Operation: 94-5=89, Resulting Numbers: [4, 36, 89]
Generated Node #0,4: 55:[4, 36, 89] Operation: 94-5=89
Moving to Node #0,3
Current State: 55:[4, 5, 58], Operations: ['94-36=58']
Exploring Operation: 4+5=9, Resulting Numbers: [58, 9]
Generated Node #0,3,0: 55:[58, 9] Operation: 4+5=9
Exploring Operation: 4+58=62, Resulting Numbers: [5, 62]
Generated Node #0,3,1: 55:[5, 62] Operation: 4+58=62
Exploring Operation: 58-4=54, Resulting Numbers: [5, 54]
Generated Node #0,3,2: 55:[5, 54] Operation: 58-4=54
Exploring Operation: 5-4=1, Resulting Numbers: [58, 1]
Generated Node #0,3,3: 55:[58, 1] Operation: 5-4=1
Exploring Operation: 58-5=53, Resulting Numbers: [4, 53]
Generated Node #0,3,4: 55:[4, 53] Operation: 58-5=53
Moving to Node #0,1
Current State: 55:[94, 5, 9], Operations: ['36/4=9']
Exploring Operation: 5+9=14, Resulting Numbers: [94, 14]
Generated Node #0,1,0: 55:[94, 14] Operation: 5+9=14
Exploring Operation: 9-5=4, Resulting Numbers: [94, 4]
Generated Node #0,1,1: 55:[94, 4] Operation: 9-5=4
Exploring Operation: 94+5=99, Resulting Numbers: [9, 99]
Generated Node #0,1,2: 55:[9, 99] Operation: 94+5=99
Exploring Operation: 94-5=89, Resulting Numbers: [9, 89]
Generated Node #0,1,3: 55:[9, 89] Operation: 94-5=89
Exploring Operation: 94-9=85, Resulting Numbers: [5, 85]
Generated Node #0,1,4: 55:[5, 85] Operation: 94-9=85
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 55:[5, 85], Operations: ['36/4=9', '94-9=85']
Exploring Operation: 85-5=80, Resulting Numbers: [80]
80,55 unequal: No Solution
Exploring Operation: 85/5=17, Resulting Numbers: [17]
17,55 unequal: No Solution
Exploring Operation: 5*85=425, Resulting Numbers: [425]
425,55 unequal: No Solution
Exploring Operation: 5+85=90, Resulting Numbers: [90]
90,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 55:[9, 89], Operations: ['36/4=9', '94-5=89']
Exploring Operation: 89-9=80, Resulting Numbers: [80]
80,55 unequal: No Solution
Exploring Operation: 9*89=801, Resulting Numbers: [801]
801,55 unequal: No Solution
Exploring Operation: 9+89=98, Resulting Numbers: [98]
98,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 55:[94, 4], Operations: ['36/4=9', '9-5=4']
Exploring Operation: 94-4=90, Resulting Numbers: [90]
90,55 unequal: No Solution
Exploring Operation: 94*4=376, Resulting Numbers: [376]
376,55 unequal: No Solution
Exploring Operation: 94+4=98, Resulting Numbers: [98]
98,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 55:[94, 14], Operations: ['36/4=9', '5+9=14']
Exploring Operation: 94*14=1316, Resulting Numbers: [1316]
1316,55 unequal: No Solution
Exploring Operation: 94+14=108, Resulting Numbers: [108]
108,55 unequal: No Solution
Exploring Operation: 94-14=80, Resulting Numbers: [80]
80,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 55:[9, 99], Operations: ['36/4=9', '94+5=99']
Exploring Operation: 99/9=11, Resulting Numbers: [11]
11,55 unequal: No Solution
Exploring Operation: 99-9=90, Resulting Numbers: [90]
90,55 unequal: No Solution
Exploring Operation: 9*99=891, Resulting Numbers: [891]
891,55 unequal: No Solution
Exploring Operation: 9+99=108, Resulting Numbers: [108]
108,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 55:[36, 5, 90], Operations: ['94-4=90']
Exploring Operation: 36+5=41, Resulting Numbers: [90, 41]
Generated Node #0,0,0: 55:[90, 41] Operation: 36+5=41
Exploring Operation: 90-5=85, Resulting Numbers: [36, 85]
Generated Node #0,0,1: 55:[36, 85] Operation: 90-5=85
Exploring Operation: 90/5=18, Resulting Numbers: [36, 18]
Generated Node #0,0,2: 55:[36, 18] Operation: 90/5=18
Exploring Operation: 90-36=54, Resulting Numbers: [5, 54]
Generated Node #0,0,3: 55:[5, 54] Operation: 90-36=54
Exploring Operation: 36-5=31, Resulting Numbers: [90, 31]
Generated Node #0,0,4: 55:[90, 31] Operation: 36-5=31
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 55:[5, 54], Operations: ['94-4=90', '90-36=54']
Exploring Operation: 5*54=270, Resulting Numbers: [270]
270,55 unequal: No Solution
Exploring Operation: 54-5=49, Resulting Numbers: [49]
49,55 unequal: No Solution
Exploring Operation: 5+54=59, Resulting Numbers: [59]
59,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 55:[36, 18], Operations: ['94-4=90', '90/5=18']
Exploring Operation: 36/18=2, Resulting Numbers: [2]
2,55 unequal: No Solution
Exploring Operation: 36-18=18, Resulting Numbers: [18]
18,55 unequal: No Solution
Exploring Operation: 36*18=648, Resulting Numbers: [648]
648,55 unequal: No Solution
Exploring Operation: 36+18=54, Resulting Numbers: [54]
54,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 55:[90, 41], Operations: ['94-4=90', '36+5=41']
Exploring Operation: 90*41=3690, Resulting Numbers: [3690]
3690,55 unequal: No Solution
Exploring Operation: 90+41=131, Resulting Numbers: [131]
131,55 unequal: No Solution
Exploring Operation: 90-41=49, Resulting Numbers: [49]
49,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 55:[36, 85], Operations: ['94-4=90', '90-5=85']
Exploring Operation: 36+85=121, Resulting Numbers: [121]
121,55 unequal: No Solution
Exploring Operation: 85-36=49, Resulting Numbers: [49]
49,55 unequal: No Solution
Exploring Operation: 36*85=3060, Resulting Numbers: [3060]
3060,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 55:[90, 31], Operations: ['94-4=90', '36-5=31']
Exploring Operation: 90*31=2790, Resulting Numbers: [2790]
2790,55 unequal: No Solution
Exploring Operation: 90+31=121, Resulting Numbers: [121]
121,55 unequal: No Solution
Exploring Operation: 90-31=59, Resulting Numbers: [59]
59,55 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: 55:[94, 5, 40], Operations: ['4+36=40']
Exploring Operation: 40/5=8, Resulting Numbers: [94, 8]
Generated Node #0,2,0: 55:[94, 8] Operation: 40/5=8
Exploring Operation: 5+40=45, Resulting Numbers: [94, 45]
Generated Node #0,2,1: 55:[94, 45] Operation: 5+40=45
Exploring Operation: 94+5=99, Resulting Numbers: [40, 99]
Generated Node #0,2,2: 55:[40, 99] Operation: 94+5=99
Exploring Operation: 94-40=54, Resulting Numbers: [5, 54]
Generated Node #0,2,3: 55:[5, 54] Operation: 94-40=54
Exploring Operation: 94-5=89, Resulting Numbers: [40, 89]
Generated Node #0,2,4: 55:[40, 89] Operation: 94-5=89
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 55:[5, 54], Operations: ['4+36=40', '94-40=54']
Exploring Operation: 54-5=49, Resulting Numbers: [49]
49,55 unequal: No Solution
Exploring Operation: 5*54=270, Resulting Numbers: [270]
270,55 unequal: No Solution
Exploring Operation: 5+54=59, Resulting Numbers: [59]
59,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 55:[94, 8], Operations: ['4+36=40', '40/5=8']
Exploring Operation: 94*8=752, Resulting Numbers: [752]
752,55 unequal: No Solution
Exploring Operation: 94+8=102, Resulting Numbers: [102]
102,55 unequal: No Solution
Exploring Operation: 94-8=86, Resulting Numbers: [86]
86,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 55:[94, 45], Operations: ['4+36=40', '5+40=45']
Exploring Operation: 94*45=4230, Resulting Numbers: [4230]
4230,55 unequal: No Solution
Exploring Operation: 94+45=139, Resulting Numbers: [139]
139,55 unequal: No Solution
Exploring Operation: 94-45=49, Resulting Numbers: [49]
49,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 55:[40, 89], Operations: ['4+36=40', '94-5=89']
Exploring Operation: 89-40=49, Resulting Numbers: [49]
49,55 unequal: No Solution
Exploring Operation: 40+89=129, Resulting Numbers: [129]
129,55 unequal: No Solution
Exploring Operation: 40*89=3560, Resulting Numbers: [3560]
3560,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 55:[40, 99], Operations: ['4+36=40', '94+5=99']
Exploring Operation: 40+99=139, Resulting Numbers: [139]
139,55 unequal: No Solution
Exploring Operation: 99-40=59, Resulting Numbers: [59]
59,55 unequal: No Solution
Exploring Operation: 40*99=3960, Resulting Numbers: [3960]
3960,55 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: 55:[4, 36, 89], Operations: ['94-5=89']
Exploring Operation: 89-36=53, Resulting Numbers: [4, 53]
Generated Node #0,4,0: 55:[4, 53] Operation: 89-36=53
Exploring Operation: 36-4=32, Resulting Numbers: [89, 32]
Generated Node #0,4,1: 55:[89, 32] Operation: 36-4=32
Exploring Operation: 36/4=9, Resulting Numbers: [89, 9]
Generated Node #0,4,2: 55:[89, 9] Operation: 36/4=9
Exploring Operation: 4+36=40, Resulting Numbers: [89, 40]
Generated Node #0,4,3: 55:[89, 40] Operation: 4+36=40
Exploring Operation: 89-4=85, Resulting Numbers: [36, 85]
Generated Node #0,4,4: 55:[36, 85] Operation: 89-4=85
Moving to Node #0,3,2
Current State: 55:[5, 54], Operations: ['94-36=58', '58-4=54']
Exploring Operation: 54-5=49, Resulting Numbers: [49]
49,55 unequal: No Solution
Exploring Operation: 5*54=270, Resulting Numbers: [270]
270,55 unequal: No Solution
Exploring Operation: 5+54=59, Resulting Numbers: [59]
59,55 unequal: No Solution
Moving to Node #0,4,0
Current State: 55:[4, 53], Operations: ['94-5=89', '89-36=53']
Exploring Operation: 4+53=57, Resulting Numbers: [57]
57,55 unequal: No Solution
Exploring Operation: 4*53=212, Resulting Numbers: [212]
212,55 unequal: No Solution
Exploring Operation: 53-4=49, Resulting Numbers: [49]
49,55 unequal: No Solution
Moving to Node #0,3,4
Current State: 55:[4, 53], Operations: ['94-36=58', '58-5=53']
Exploring Operation: 53-4=49, Resulting Numbers: [49]
49,55 unequal: No Solution
Exploring Operation: 4+53=57, Resulting Numbers: [57]
57,55 unequal: No Solution
Exploring Operation: 4*53=212, Resulting Numbers: [212]
212,55 unequal: No Solution
Moving to Node #0,3,0
Current State: 55:[58, 9], Operations: ['94-36=58', '4+5=9']
Exploring Operation: 58+9=67, Resulting Numbers: [67]
67,55 unequal: No Solution
Exploring Operation: 58*9=522, Resulting Numbers: [522]
522,55 unequal: No Solution
Exploring Operation: 58-9=49, Resulting Numbers: [49]
49,55 unequal: No Solution
Moving to Node #0,3,3
Current State: 55:[58, 1], Operations: ['94-36=58', '5-4=1']
Exploring Operation: 58/1=58, Resulting Numbers: [58]
58,55 unequal: No Solution
Exploring Operation: 58-1=57, Resulting Numbers: [57]
57,55 unequal: No Solution
Exploring Operation: 58+1=59, Resulting Numbers: [59]
59,55 unequal: No Solution
Exploring Operation: 58*1=58, Resulting Numbers: [58]
58,55 unequal: No Solution
Moving to Node #0,3,1
Current State: 55:[5, 62], Operations: ['94-36=58', '4+58=62']
Exploring Operation: 5*62=310, Resulting Numbers: [310]
310,55 unequal: No Solution
Exploring Operation: 5+62=67, Resulting Numbers: [67]
67,55 unequal: No Solution
Exploring Operation: 62-5=57, Resulting Numbers: [57]
57,55 unequal: No Solution
Moving to Node #0,4,2
Current State: 55:[89, 9], Operations: ['94-5=89', '36/4=9']
Exploring Operation: 89*9=801, Resulting Numbers: [801]
801,55 unequal: No Solution
Exploring Operation: 89-9=80, Resulting Numbers: [80]
80,55 unequal: No Solution
Exploring Operation: 89+9=98, Resulting Numbers: [98]
98,55 unequal: No Solution
Moving to Node #0,4,4
Current State: 55:[36, 85], Operations: ['94-5=89', '89-4=85']
Exploring Operation: 36*85=3060, Resulting Numbers: [3060]
3060,55 unequal: No Solution
Exploring Operation: 85-36=49, Resulting Numbers: [49]
49,55 unequal: No Solution
Exploring Operation: 36+85=121, Resulting Numbers: [121]
121,55 unequal: No Solution
Moving to Node #0,4,3
Current State: 55:[89, 40], Operations: ['94-5=89', '4+36=40']
Exploring Operation: 89+40=129, Resulting Numbers: [129]
129,55 unequal: No Solution
Exploring Operation: 89-40=49, Resulting Numbers: [49]
49,55 unequal: No Solution
Exploring Operation: 89*40=3560, Resulting Numbers: [3560]
3560,55 unequal: No Solution
Moving to Node #0,4,1
Current State: 55:[89, 32], Operations: ['94-5=89', '36-4=32']
Exploring Operation: 89*32=2848, Resulting Numbers: [2848]
2848,55 unequal: No Solution
Exploring Operation: 89+32=121, Resulting Numbers: [121]
121,55 unequal: No Solution
Exploring Operation: 89-32=57, Resulting Numbers: [57]
57,55 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
25,
29,
34,
66
] | 28 | [
"29-25=4",
"66-34=32",
"32-4=28"
] | Current State: 28:[25, 29, 34, 66], Operations: []
Exploring Operation: 29-25=4, Resulting Numbers: [34, 66, 4]
Generated Node #2: [34, 66, 4] from Operation: 29-25=4
Current State: 28:[34, 66, 4], Operations: ['29-25=4']
Exploring Operation: 66-34=32, Resulting Numbers: [4, 32]
Generated Node #3: [4, 32] from Operation: 66-34=32
Current State: 28:[4, 32], Operations: ['29-25=4', '66-34=32']
Exploring Operation: 32-4=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[25, 29, 34, 66], Operations: []
Exploring Operation: 34-25=9, Resulting Numbers: [29, 66, 9]
Generated Node #0,0: 28:[29, 66, 9] Operation: 34-25=9
Exploring Operation: 66-29=37, Resulting Numbers: [25, 34, 37]
Generated Node #0,1: 28:[25, 34, 37] Operation: 66-29=37
Exploring Operation: 34-29=5, Resulting Numbers: [25, 66, 5]
Generated Node #0,2: 28:[25, 66, 5] Operation: 34-29=5
Exploring Operation: 66-34=32, Resulting Numbers: [25, 29, 32]
Generated Node #0,3: 28:[25, 29, 32] Operation: 66-34=32
Exploring Operation: 66-25=41, Resulting Numbers: [29, 34, 41]
Generated Node #0,4: 28:[29, 34, 41] Operation: 66-25=41
Start Sub Search at level 1: Moving to Node #0,3
Current State: 28:[25, 29, 32], Operations: ['66-34=32']
Exploring Operation: 29-25=4, Resulting Numbers: [32, 4]
Generated Node #0,3,0: 28:[32, 4] Operation: 29-25=4
Exploring Operation: 32-25=7, Resulting Numbers: [29, 7]
Generated Node #0,3,1: 28:[29, 7] Operation: 32-25=7
Exploring Operation: 32-29=3, Resulting Numbers: [25, 3]
Generated Node #0,3,2: 28:[25, 3] Operation: 32-29=3
Exploring Operation: 25+29=54, Resulting Numbers: [32, 54]
Generated Node #0,3,3: 28:[32, 54] Operation: 25+29=54
Exploring Operation: 25+32=57, Resulting Numbers: [29, 57]
Generated Node #0,3,4: 28:[29, 57] Operation: 25+32=57
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 28:[29, 7], Operations: ['66-34=32', '32-25=7']
Exploring Operation: 29+7=36, Resulting Numbers: [36]
36,28 unequal: No Solution
Exploring Operation: 29-7=22, Resulting Numbers: [22]
22,28 unequal: No Solution
Exploring Operation: 29*7=203, Resulting Numbers: [203]
203,28 unequal: No Solution
No 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: 28:[32, 4], Operations: ['66-34=32', '29-25=4']
Exploring Operation: 32+4=36, Resulting Numbers: [36]
36,28 unequal: No Solution
Exploring Operation: 32-4=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[25, 29, 34, 66], Operations: []
Exploring Operation: 66-34=32, Resulting Numbers: [25, 29, 32]
Generated Node #0,3: 28:[25, 29, 32] Operation: 66-34=32
Moving to Node #0,3
Current State: 28:[25, 29, 32], Operations: ['66-34=32']
Exploring Operation: 29-25=4, Resulting Numbers: [32, 4]
Generated Node #0,3,0: 28:[32, 4] Operation: 29-25=4
Moving to Node #0,3,0
Current State: 28:[32, 4], Operations: ['66-34=32', '29-25=4']
Exploring Operation: 32-4=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_5 | sum_heuristic |
[
62,
18,
65,
78
] | 32 | [
"65-62=3",
"18+78=96",
"96/3=32"
] | Current State: 32:[62, 18, 65, 78], Operations: []
Exploring Operation: 65-62=3, Resulting Numbers: [18, 78, 3]
Generated Node #2: [18, 78, 3] from Operation: 65-62=3
Current State: 32:[18, 78, 3], Operations: ['65-62=3']
Exploring Operation: 18+78=96, Resulting Numbers: [3, 96]
Generated Node #3: [3, 96] from Operation: 18+78=96
Current State: 32:[3, 96], Operations: ['65-62=3', '18+78=96']
Exploring Operation: 96/3=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[62, 18, 65, 78], Operations: []
Exploring Operation: 78-62=16, Resulting Numbers: [18, 65, 16]
Generated Node #0,0: 32:[18, 65, 16] Operation: 78-62=16
Exploring Operation: 65-62=3, Resulting Numbers: [18, 78, 3]
Generated Node #0,1: 32:[18, 78, 3] Operation: 65-62=3
Exploring Operation: 78-65=13, Resulting Numbers: [62, 18, 13]
Generated Node #0,2: 32:[62, 18, 13] Operation: 78-65=13
Moving to Node #0,0
Current State: 32:[18, 65, 16], Operations: ['78-62=16']
Exploring Operation: 65-16=49, Resulting Numbers: [18, 49]
Generated Node #0,0,0: 32:[18, 49] Operation: 65-16=49
Exploring Operation: 18-16=2, Resulting Numbers: [65, 2]
Generated Node #0,0,1: 32:[65, 2] Operation: 18-16=2
Exploring Operation: 65-18=47, Resulting Numbers: [16, 47]
Generated Node #0,0,2: 32:[16, 47] Operation: 65-18=47
Moving to Node #0,2
Current State: 32:[62, 18, 13], Operations: ['78-65=13']
Exploring Operation: 18+13=31, Resulting Numbers: [62, 31]
Generated Node #0,2,0: 32:[62, 31] Operation: 18+13=31
Exploring Operation: 62-13=49, Resulting Numbers: [18, 49]
Generated Node #0,2,1: 32:[18, 49] Operation: 62-13=49
Exploring Operation: 62-18=44, Resulting Numbers: [13, 44]
Generated Node #0,2,2: 32:[13, 44] Operation: 62-18=44
Moving to Node #0,1
Current State: 32:[18, 78, 3], Operations: ['65-62=3']
Exploring Operation: 78/3=26, Resulting Numbers: [18, 26]
Generated Node #0,1,0: 32:[18, 26] Operation: 78/3=26
Exploring Operation: 78-3=75, Resulting Numbers: [18, 75]
Generated Node #0,1,1: 32:[18, 75] Operation: 78-3=75
Exploring Operation: 78-18=60, Resulting Numbers: [3, 60]
Generated Node #0,1,2: 32:[3, 60] Operation: 78-18=60
Moving to Node #0,1,0
Current State: 32:[18, 26], Operations: ['65-62=3', '78/3=26']
Exploring Operation: 18*26=468, Resulting Numbers: [468]
468,32 unequal: No Solution
Exploring Operation: 26-18=8, Resulting Numbers: [8]
8,32 unequal: No Solution
Exploring Operation: 18+26=44, Resulting Numbers: [44]
44,32 unequal: No Solution
Moving to Node #0,0,2
Current State: 32:[16, 47], Operations: ['78-62=16', '65-18=47']
Exploring Operation: 16+47=63, Resulting Numbers: [63]
63,32 unequal: No Solution
Exploring Operation: 16*47=752, Resulting Numbers: [752]
752,32 unequal: No Solution
Exploring Operation: 47-16=31, Resulting Numbers: [31]
31,32 unequal: No Solution
Moving to Node #0,2,2
Current State: 32:[13, 44], Operations: ['78-65=13', '62-18=44']
Exploring Operation: 13+44=57, Resulting Numbers: [57]
57,32 unequal: No Solution
Exploring Operation: 13*44=572, Resulting Numbers: [572]
572,32 unequal: No Solution
Exploring Operation: 44-13=31, Resulting Numbers: [31]
31,32 unequal: No Solution
Moving to Node #0,2,1
Current State: 32:[18, 49], Operations: ['78-65=13', '62-13=49']
Exploring Operation: 18*49=882, Resulting Numbers: [882]
882,32 unequal: No Solution
Exploring Operation: 18+49=67, Resulting Numbers: [67]
67,32 unequal: No Solution
Exploring Operation: 49-18=31, Resulting Numbers: [31]
31,32 unequal: No Solution
Moving to Node #0,0,0
Current State: 32:[18, 49], Operations: ['78-62=16', '65-16=49']
Exploring Operation: 18+49=67, Resulting Numbers: [67]
67,32 unequal: No Solution
Exploring Operation: 18*49=882, Resulting Numbers: [882]
882,32 unequal: No Solution
Exploring Operation: 49-18=31, Resulting Numbers: [31]
31,32 unequal: No Solution
Moving to Node #0,1,2
Current State: 32:[3, 60], Operations: ['65-62=3', '78-18=60']
Exploring Operation: 60-3=57, Resulting Numbers: [57]
57,32 unequal: No Solution
Exploring Operation: 60/3=20, Resulting Numbers: [20]
20,32 unequal: No Solution
Exploring Operation: 3+60=63, Resulting Numbers: [63]
63,32 unequal: No Solution
Moving to Node #0,2,0
Current State: 32:[62, 31], Operations: ['78-65=13', '18+13=31']
Exploring Operation: 62-31=31, Resulting Numbers: [31]
31,32 unequal: No Solution
Exploring Operation: 62/31=2, Resulting Numbers: [2]
2,32 unequal: No Solution
Exploring Operation: 62+31=93, Resulting Numbers: [93]
93,32 unequal: No Solution
Moving to Node #0,0,1
Current State: 32:[65, 2], Operations: ['78-62=16', '18-16=2']
Exploring Operation: 65-2=63, Resulting Numbers: [63]
63,32 unequal: No Solution
Exploring Operation: 65*2=130, Resulting Numbers: [130]
130,32 unequal: No Solution
Exploring Operation: 65+2=67, Resulting Numbers: [67]
67,32 unequal: No Solution
Moving to Node #0,1,1
Current State: 32:[18, 75], Operations: ['65-62=3', '78-3=75']
Exploring Operation: 18+75=93, Resulting Numbers: [93]
93,32 unequal: No Solution
Exploring Operation: 18*75=1350, Resulting Numbers: [1350]
1350,32 unequal: No Solution
Exploring Operation: 75-18=57, Resulting Numbers: [57]
57,32 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
83,
5,
32,
56
] | 21 | [
"83+56=139",
"5*32=160",
"160-139=21"
] | Current State: 21:[83, 5, 32, 56], Operations: []
Exploring Operation: 83+56=139, Resulting Numbers: [5, 32, 139]
Generated Node #2: [5, 32, 139] from Operation: 83+56=139
Current State: 21:[5, 32, 139], Operations: ['83+56=139']
Exploring Operation: 5*32=160, Resulting Numbers: [139, 160]
Generated Node #3: [139, 160] from Operation: 5*32=160
Current State: 21:[139, 160], Operations: ['83+56=139', '5*32=160']
Exploring Operation: 160-139=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[83, 5, 32, 56], Operations: []
Exploring Operation: 56-32=24, Resulting Numbers: [83, 5, 24]
Generated Node #0,0: 21:[83, 5, 24] Operation: 56-32=24
Exploring Operation: 83-56=27, Resulting Numbers: [5, 32, 27]
Generated Node #0,1: 21:[5, 32, 27] Operation: 83-56=27
Exploring Operation: 83-32=51, Resulting Numbers: [5, 56, 51]
Generated Node #0,2: 21:[5, 56, 51] Operation: 83-32=51
Exploring Operation: 83-5=78, Resulting Numbers: [32, 56, 78]
Generated Node #0,3: 21:[32, 56, 78] Operation: 83-5=78
Start Sub Search at level 1: Moving to Node #0,1
Current State: 21:[5, 32, 27], Operations: ['83-56=27']
Exploring Operation: 32-27=5, Resulting Numbers: [5, 5]
Generated Node #0,1,0: 21:[5, 5] Operation: 32-27=5
Exploring Operation: 27-5=22, Resulting Numbers: [32, 22]
Generated Node #0,1,1: 21:[32, 22] Operation: 27-5=22
Exploring Operation: 32-5=27, Resulting Numbers: [27, 27]
Generated Node #0,1,2: 21:[27, 27] Operation: 32-5=27
Exploring Operation: 5+32=37, Resulting Numbers: [27, 37]
Generated Node #0,1,3: 21:[27, 37] Operation: 5+32=37
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 21:[5, 5], Operations: ['83-56=27', '32-27=5']
Exploring Operation: 5*5=25, Resulting Numbers: [25]
25,21 unequal: No Solution
Exploring Operation: 5-5=0, Resulting Numbers: [0]
0,21 unequal: No Solution
Exploring Operation: 5+5=10, Resulting Numbers: [10]
10,21 unequal: No Solution
Exploring Operation: 5/5=1, Resulting Numbers: [1]
1,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,1,1
Current State: 21:[32, 22], Operations: ['83-56=27', '27-5=22']
Exploring Operation: 32*22=704, Resulting Numbers: [704]
704,21 unequal: No Solution
Exploring Operation: 32+22=54, Resulting Numbers: [54]
54,21 unequal: No Solution
Exploring Operation: 32-22=10, Resulting Numbers: [10]
10,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,1,2
Current State: 21:[27, 27], Operations: ['83-56=27', '32-5=27']
Exploring Operation: 27*27=729, Resulting Numbers: [729]
729,21 unequal: No Solution
Exploring Operation: 27/27=1, Resulting Numbers: [1]
1,21 unequal: No Solution
Exploring Operation: 27-27=0, Resulting Numbers: [0]
0,21 unequal: No Solution
Exploring Operation: 27+27=54, Resulting Numbers: [54]
54,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,1,3
Current State: 21:[27, 37], Operations: ['83-56=27', '5+32=37']
Exploring Operation: 27+37=64, Resulting Numbers: [64]
64,21 unequal: No Solution
Exploring Operation: 27*37=999, Resulting Numbers: [999]
999,21 unequal: No Solution
Exploring Operation: 37-27=10, Resulting Numbers: [10]
10,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:[83, 5, 24], Operations: ['56-32=24']
Exploring Operation: 83+5=88, Resulting Numbers: [24, 88]
Generated Node #0,0,0: 21:[24, 88] Operation: 83+5=88
Exploring Operation: 24-5=19, Resulting Numbers: [83, 19]
Generated Node #0,0,1: 21:[83, 19] Operation: 24-5=19
Exploring Operation: 83-24=59, Resulting Numbers: [5, 59]
Generated Node #0,0,2: 21:[5, 59] Operation: 83-24=59
Exploring Operation: 83-5=78, Resulting Numbers: [24, 78]
Generated Node #0,0,3: 21:[24, 78] Operation: 83-5=78
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 21:[5, 59], Operations: ['56-32=24', '83-24=59']
Exploring Operation: 5*59=295, Resulting Numbers: [295]
295,21 unequal: No Solution
Exploring Operation: 5+59=64, Resulting Numbers: [64]
64,21 unequal: No Solution
Exploring Operation: 59-5=54, Resulting Numbers: [54]
54,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,3
Current State: 21:[24, 78], Operations: ['56-32=24', '83-5=78']
Exploring Operation: 24*78=1872, Resulting Numbers: [1872]
1872,21 unequal: No Solution
Exploring Operation: 24+78=102, Resulting Numbers: [102]
102,21 unequal: No Solution
Exploring Operation: 78-24=54, Resulting Numbers: [54]
54,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:[83, 19], Operations: ['56-32=24', '24-5=19']
Exploring Operation: 83*19=1577, Resulting Numbers: [1577]
1577,21 unequal: No Solution
Exploring Operation: 83-19=64, Resulting Numbers: [64]
64,21 unequal: No Solution
Exploring Operation: 83+19=102, Resulting Numbers: [102]
102,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:[24, 88], Operations: ['56-32=24', '83+5=88']
Exploring Operation: 24*88=2112, Resulting Numbers: [2112]
2112,21 unequal: No Solution
Exploring Operation: 88-24=64, Resulting Numbers: [64]
64,21 unequal: No Solution
Exploring Operation: 24+88=112, Resulting Numbers: [112]
112,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,2
Current State: 21:[5, 56, 51], Operations: ['83-32=51']
Exploring Operation: 56-51=5, Resulting Numbers: [5, 5]
Generated Node #0,2,0: 21:[5, 5] Operation: 56-51=5
Exploring Operation: 56-5=51, Resulting Numbers: [51, 51]
Generated Node #0,2,1: 21:[51, 51] Operation: 56-5=51
Exploring Operation: 5+56=61, Resulting Numbers: [51, 61]
Generated Node #0,2,2: 21:[51, 61] Operation: 5+56=61
Exploring Operation: 51-5=46, Resulting Numbers: [56, 46]
Generated Node #0,2,3: 21:[56, 46] Operation: 51-5=46
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 21:[5, 5], Operations: ['83-32=51', '56-51=5']
Exploring Operation: 5-5=0, Resulting Numbers: [0]
0,21 unequal: No Solution
Exploring Operation: 5/5=1, Resulting Numbers: [1]
1,21 unequal: No Solution
Exploring Operation: 5*5=25, Resulting Numbers: [25]
25,21 unequal: No Solution
Exploring Operation: 5+5=10, Resulting Numbers: [10]
10,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,2,1
Current State: 21:[51, 51], Operations: ['83-32=51', '56-5=51']
Exploring Operation: 51-51=0, Resulting Numbers: [0]
0,21 unequal: No Solution
Exploring Operation: 51*51=2601, Resulting Numbers: [2601]
2601,21 unequal: No Solution
Exploring Operation: 51/51=1, Resulting Numbers: [1]
1,21 unequal: No Solution
Exploring Operation: 51+51=102, Resulting Numbers: [102]
102,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,2,3
Current State: 21:[56, 46], Operations: ['83-32=51', '51-5=46']
Exploring Operation: 56*46=2576, Resulting Numbers: [2576]
2576,21 unequal: No Solution
Exploring Operation: 56-46=10, Resulting Numbers: [10]
10,21 unequal: No Solution
Exploring Operation: 56+46=102, Resulting Numbers: [102]
102,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,2,2
Current State: 21:[51, 61], Operations: ['83-32=51', '5+56=61']
Exploring Operation: 61-51=10, Resulting Numbers: [10]
10,21 unequal: No Solution
Exploring Operation: 51*61=3111, Resulting Numbers: [3111]
3111,21 unequal: No Solution
Exploring Operation: 51+61=112, Resulting Numbers: [112]
112,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,3
Current State: 21:[32, 56, 78], Operations: ['83-5=78']
Exploring Operation: 78-32=46, Resulting Numbers: [56, 46]
Generated Node #0,3,0: 21:[56, 46] Operation: 78-32=46
Exploring Operation: 78-56=22, Resulting Numbers: [32, 22]
Generated Node #0,3,1: 21:[32, 22] Operation: 78-56=22
Exploring Operation: 56-32=24, Resulting Numbers: [78, 24]
Generated Node #0,3,2: 21:[78, 24] Operation: 56-32=24
Exploring Operation: 32+56=88, Resulting Numbers: [78, 88]
Generated Node #0,3,3: 21:[78, 88] Operation: 32+56=88
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 21:[32, 22], Operations: ['83-5=78', '78-56=22']
Exploring Operation: 32-22=10, Resulting Numbers: [10]
10,21 unequal: No Solution
Exploring Operation: 32*22=704, Resulting Numbers: [704]
704,21 unequal: No Solution
Exploring Operation: 32+22=54, Resulting Numbers: [54]
54,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:[56, 46], Operations: ['83-5=78', '78-32=46']
Exploring Operation: 56+46=102, Resulting Numbers: [102]
102,21 unequal: No Solution
Exploring Operation: 56*46=2576, Resulting Numbers: [2576]
2576,21 unequal: No Solution
Exploring Operation: 56-46=10, Resulting Numbers: [10]
10,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:[78, 24], Operations: ['83-5=78', '56-32=24']
Exploring Operation: 78-24=54, Resulting Numbers: [54]
54,21 unequal: No Solution
Exploring Operation: 78+24=102, Resulting Numbers: [102]
102,21 unequal: No Solution
Exploring Operation: 78*24=1872, Resulting Numbers: [1872]
1872,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,3
Current State: 21:[78, 88], Operations: ['83-5=78', '32+56=88']
Exploring Operation: 88-78=10, Resulting Numbers: [10]
10,21 unequal: No Solution
Exploring Operation: 78+88=166, Resulting Numbers: [166]
166,21 unequal: No Solution
Exploring Operation: 78*88=6864, Resulting Numbers: [6864]
6864,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
No solution found.
| 0 | hs_4 | mult_heuristic |
[
70,
26,
7,
23
] | 14 | [
"70-26=44",
"7+23=30",
"44-30=14"
] | Current State: 14:[70, 26, 7, 23], Operations: []
Exploring Operation: 70-26=44, Resulting Numbers: [7, 23, 44]
Generated Node #2: [7, 23, 44] from Operation: 70-26=44
Current State: 14:[7, 23, 44], Operations: ['70-26=44']
Exploring Operation: 7+23=30, Resulting Numbers: [44, 30]
Generated Node #3: [44, 30] from Operation: 7+23=30
Current State: 14:[44, 30], Operations: ['70-26=44', '7+23=30']
Exploring Operation: 44-30=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[70, 26, 7, 23], Operations: []
Exploring Operation: 70-26=44, Resulting Numbers: [7, 23, 44]
Generated Node #0,0: 14:[7, 23, 44] Operation: 70-26=44
Exploring Operation: 70/7=10, Resulting Numbers: [26, 23, 10]
Generated Node #0,1: 14:[26, 23, 10] Operation: 70/7=10
Start Sub Search at level 1: Moving to Node #0,1
Current State: 14:[26, 23, 10], Operations: ['70/7=10']
Exploring Operation: 26-10=16, Resulting Numbers: [23, 16]
Generated Node #0,1,0: 14:[23, 16] Operation: 26-10=16
Exploring Operation: 26-23=3, Resulting Numbers: [10, 3]
Generated Node #0,1,1: 14:[10, 3] Operation: 26-23=3
Moving to Node #0,1,1
Current State: 14:[10, 3], Operations: ['70/7=10', '26-23=3']
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,14 unequal: No Solution
Exploring Operation: 10+3=13, Resulting Numbers: [13]
13,14 unequal: No Solution
Moving to Node #0,1,0
Current State: 14:[23, 16], Operations: ['70/7=10', '26-10=16']
Exploring Operation: 23+16=39, Resulting Numbers: [39]
39,14 unequal: No Solution
Exploring Operation: 23-16=7, Resulting Numbers: [7]
7,14 unequal: No Solution
No 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: 14:[7, 23, 44], Operations: ['70-26=44']
Exploring Operation: 44-23=21, Resulting Numbers: [7, 21]
Generated Node #0,0,0: 14:[7, 21] Operation: 44-23=21
Exploring Operation: 23-7=16, Resulting Numbers: [44, 16]
Generated Node #0,0,1: 14:[44, 16] Operation: 23-7=16
Moving to Node #0,0,0
Current State: 14:[7, 21], Operations: ['70-26=44', '44-23=21']
Exploring Operation: 21/7=3, Resulting Numbers: [3]
3,14 unequal: No Solution
Exploring Operation: 21-7=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[70, 26, 7, 23], Operations: []
Exploring Operation: 70-26=44, Resulting Numbers: [7, 23, 44]
Generated Node #0,0: 14:[7, 23, 44] Operation: 70-26=44
Moving to Node #0,0
Current State: 14:[7, 23, 44], Operations: ['70-26=44']
Exploring Operation: 44-23=21, Resulting Numbers: [7, 21]
Generated Node #0,0,0: 14:[7, 21] Operation: 44-23=21
Moving to Node #0,0,0
Current State: 14:[7, 21], Operations: ['70-26=44', '44-23=21']
Exploring Operation: 21-7=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_2 | mult_heuristic |
[
88,
85,
17,
77
] | 20 | [
"88-85=3",
"77-17=60",
"60/3=20"
] | Current State: 20:[88, 85, 17, 77], Operations: []
Exploring Operation: 88-85=3, Resulting Numbers: [17, 77, 3]
Generated Node #2: [17, 77, 3] from Operation: 88-85=3
Current State: 20:[17, 77, 3], Operations: ['88-85=3']
Exploring Operation: 77-17=60, Resulting Numbers: [3, 60]
Generated Node #3: [3, 60] from Operation: 77-17=60
Current State: 20:[3, 60], Operations: ['88-85=3', '77-17=60']
Exploring Operation: 60/3=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[88, 85, 17, 77], Operations: []
Exploring Operation: 85-77=8, Resulting Numbers: [88, 17, 8]
Generated Node #0,0: 20:[88, 17, 8] Operation: 85-77=8
Exploring Operation: 85/17=5, Resulting Numbers: [88, 77, 5]
Generated Node #0,1: 20:[88, 77, 5] Operation: 85/17=5
Exploring Operation: 88-17=71, Resulting Numbers: [85, 77, 71]
Generated Node #0,2: 20:[85, 77, 71] Operation: 88-17=71
Exploring Operation: 88-85=3, Resulting Numbers: [17, 77, 3]
Generated Node #0,3: 20:[17, 77, 3] Operation: 88-85=3
Exploring Operation: 88-77=11, Resulting Numbers: [85, 17, 11]
Generated Node #0,4: 20:[85, 17, 11] Operation: 88-77=11
Start Sub Search at level 1: Moving to Node #0,3
Current State: 20:[17, 77, 3], Operations: ['88-85=3']
Exploring Operation: 77+3=80, Resulting Numbers: [17, 80]
Generated Node #0,3,0: 20:[17, 80] Operation: 77+3=80
Exploring Operation: 77-17=60, Resulting Numbers: [3, 60]
Generated Node #0,3,1: 20:[3, 60] Operation: 77-17=60
Exploring Operation: 17-3=14, Resulting Numbers: [77, 14]
Generated Node #0,3,2: 20:[77, 14] Operation: 17-3=14
Exploring Operation: 77-3=74, Resulting Numbers: [17, 74]
Generated Node #0,3,3: 20:[17, 74] Operation: 77-3=74
Exploring Operation: 17+3=20, Resulting Numbers: [77, 20]
Generated Node #0,3,4: 20:[77, 20] Operation: 17+3=20
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 20:[3, 60], Operations: ['88-85=3', '77-17=60']
Exploring Operation: 60/3=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[88, 85, 17, 77], Operations: []
Exploring Operation: 88-85=3, Resulting Numbers: [17, 77, 3]
Generated Node #0,3: 20:[17, 77, 3] Operation: 88-85=3
Moving to Node #0,3
Current State: 20:[17, 77, 3], Operations: ['88-85=3']
Exploring Operation: 77-17=60, Resulting Numbers: [3, 60]
Generated Node #0,3,1: 20:[3, 60] Operation: 77-17=60
Moving to Node #0,3,1
Current State: 20:[3, 60], Operations: ['88-85=3', '77-17=60']
Exploring Operation: 60/3=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
50,
7,
35,
84
] | 74 | [
"50*7=350",
"350/35=10",
"84-10=74"
] | Current State: 74:[50, 7, 35, 84], Operations: []
Exploring Operation: 50*7=350, Resulting Numbers: [35, 84, 350]
Generated Node #2: [35, 84, 350] from Operation: 50*7=350
Current State: 74:[35, 84, 350], Operations: ['50*7=350']
Exploring Operation: 350/35=10, Resulting Numbers: [84, 10]
Generated Node #3: [84, 10] from Operation: 350/35=10
Current State: 74:[84, 10], Operations: ['50*7=350', '350/35=10']
Exploring Operation: 84-10=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[50, 7, 35, 84], Operations: []
Exploring Operation: 50-7=43, Resulting Numbers: [35, 84, 43]
Generated Node #0,0: 74:[35, 84, 43] Operation: 50-7=43
Exploring Operation: 84-50=34, Resulting Numbers: [7, 35, 34]
Generated Node #0,1: 74:[7, 35, 34] Operation: 84-50=34
Start Sub Search at level 1: Moving to Node #0,1
Current State: 74:[7, 35, 34], Operations: ['84-50=34']
Exploring Operation: 7+34=41, Resulting Numbers: [35, 41]
Generated Node #0,1,0: 74:[35, 41] Operation: 7+34=41
Exploring Operation: 35/7=5, Resulting Numbers: [34, 5]
Generated Node #0,1,1: 74:[34, 5] Operation: 35/7=5
Moving to Node #0,1,0
Current State: 74:[35, 41], Operations: ['84-50=34', '7+34=41']
Exploring Operation: 35+41=76, Resulting Numbers: [76]
76,74 unequal: No Solution
Exploring Operation: 41-35=6, Resulting Numbers: [6]
6,74 unequal: No Solution
Moving to Node #0,1,1
Current State: 74:[34, 5], Operations: ['84-50=34', '35/7=5']
Exploring Operation: 34+5=39, Resulting Numbers: [39]
39,74 unequal: No Solution
Exploring Operation: 34-5=29, Resulting Numbers: [29]
29,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[35, 84, 43], Operations: ['50-7=43']
Exploring Operation: 84-43=41, Resulting Numbers: [35, 41]
Generated Node #0,0,0: 74:[35, 41] Operation: 84-43=41
Exploring Operation: 35+43=78, Resulting Numbers: [84, 78]
Generated Node #0,0,1: 74:[84, 78] Operation: 35+43=78
Moving to Node #0,0,0
Current State: 74:[35, 41], Operations: ['50-7=43', '84-43=41']
Exploring Operation: 35+41=76, Resulting Numbers: [76]
76,74 unequal: No Solution
Exploring Operation: 41-35=6, Resulting Numbers: [6]
6,74 unequal: No Solution
Moving to Node #0,0,1
Current State: 74:[84, 78], Operations: ['50-7=43', '35+43=78']
Exploring Operation: 84+78=162, Resulting Numbers: [162]
162,74 unequal: No Solution
Exploring Operation: 84-78=6, Resulting Numbers: [6]
6,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
39,
14,
40,
3
] | 35 | [
"39-14=25",
"3*25=75",
"75-40=35"
] | Current State: 35:[39, 14, 40, 3], Operations: []
Exploring Operation: 39-14=25, Resulting Numbers: [40, 3, 25]
Generated Node #2: [40, 3, 25] from Operation: 39-14=25
Current State: 35:[40, 3, 25], Operations: ['39-14=25']
Exploring Operation: 3*25=75, Resulting Numbers: [40, 75]
Generated Node #3: [40, 75] from Operation: 3*25=75
Current State: 35:[40, 75], Operations: ['39-14=25', '3*25=75']
Exploring Operation: 75-40=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[39, 14, 40, 3], Operations: []
Exploring Operation: 40-14=26, Resulting Numbers: [39, 3, 26]
Generated Node #0,0: 35:[39, 3, 26] Operation: 40-14=26
Exploring Operation: 40-39=1, Resulting Numbers: [14, 3, 1]
Generated Node #0,1: 35:[14, 3, 1] Operation: 40-39=1
Exploring Operation: 39-3=36, Resulting Numbers: [14, 40, 36]
Generated Node #0,2: 35:[14, 40, 36] Operation: 39-3=36
Exploring Operation: 40-3=37, Resulting Numbers: [39, 14, 37]
Generated Node #0,3: 35:[39, 14, 37] Operation: 40-3=37
Exploring Operation: 14-3=11, Resulting Numbers: [39, 40, 11]
Generated Node #0,4: 35:[39, 40, 11] Operation: 14-3=11
Moving to Node #0,1
Current State: 35:[14, 3, 1], Operations: ['40-39=1']
Exploring Operation: 3+1=4, Resulting Numbers: [14, 4]
Generated Node #0,1,0: 35:[14, 4] Operation: 3+1=4
Exploring Operation: 14*1=14, Resulting Numbers: [3, 14]
Generated Node #0,1,1: 35:[3, 14] Operation: 14*1=14
Exploring Operation: 14-3=11, Resulting Numbers: [1, 11]
Generated Node #0,1,2: 35:[1, 11] Operation: 14-3=11
Exploring Operation: 14/1=14, Resulting Numbers: [3, 14]
Generated Node #0,1,3: 35:[3, 14] Operation: 14/1=14
Exploring Operation: 14-1=13, Resulting Numbers: [3, 13]
Generated Node #0,1,4: 35:[3, 13] Operation: 14-1=13
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 35:[14, 4], Operations: ['40-39=1', '3+1=4']
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,35 unequal: No Solution
Exploring Operation: 14*4=56, Resulting Numbers: [56]
56,35 unequal: No Solution
Exploring Operation: 14+4=18, Resulting Numbers: [18]
18,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 35:[1, 11], Operations: ['40-39=1', '14-3=11']
Exploring Operation: 11/1=11, Resulting Numbers: [11]
11,35 unequal: No Solution
Exploring Operation: 1+11=12, Resulting Numbers: [12]
12,35 unequal: No Solution
Exploring Operation: 1*11=11, Resulting Numbers: [11]
11,35 unequal: No Solution
Exploring Operation: 11-1=10, Resulting Numbers: [10]
10,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 35:[3, 13], Operations: ['40-39=1', '14-1=13']
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,35 unequal: No Solution
Exploring Operation: 3*13=39, Resulting Numbers: [39]
39,35 unequal: No Solution
Exploring Operation: 3+13=16, Resulting Numbers: [16]
16,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 35:[3, 14], Operations: ['40-39=1', '14*1=14']
Exploring Operation: 3+14=17, Resulting Numbers: [17]
17,35 unequal: No Solution
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,35 unequal: No Solution
Exploring Operation: 3*14=42, Resulting Numbers: [42]
42,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 35:[3, 14], Operations: ['40-39=1', '14/1=14']
Exploring Operation: 3+14=17, Resulting Numbers: [17]
17,35 unequal: No Solution
Exploring Operation: 3*14=42, Resulting Numbers: [42]
42,35 unequal: No Solution
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 35:[39, 14, 37], Operations: ['40-3=37']
Exploring Operation: 39-14=25, Resulting Numbers: [37, 25]
Generated Node #0,3,0: 35:[37, 25] Operation: 39-14=25
Exploring Operation: 39-37=2, Resulting Numbers: [14, 2]
Generated Node #0,3,1: 35:[14, 2] Operation: 39-37=2
Exploring Operation: 37-14=23, Resulting Numbers: [39, 23]
Generated Node #0,3,2: 35:[39, 23] Operation: 37-14=23
Exploring Operation: 39+14=53, Resulting Numbers: [37, 53]
Generated Node #0,3,3: 35:[37, 53] Operation: 39+14=53
Exploring Operation: 14+37=51, Resulting Numbers: [39, 51]
Generated Node #0,3,4: 35:[39, 51] Operation: 14+37=51
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 35:[14, 2], Operations: ['40-3=37', '39-37=2']
Exploring Operation: 14*2=28, Resulting Numbers: [28]
28,35 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,35 unequal: No Solution
Exploring Operation: 14+2=16, Resulting Numbers: [16]
16,35 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 35:[37, 25], Operations: ['40-3=37', '39-14=25']
Exploring Operation: 37+25=62, Resulting Numbers: [62]
62,35 unequal: No Solution
Exploring Operation: 37*25=925, Resulting Numbers: [925]
925,35 unequal: No Solution
Exploring Operation: 37-25=12, Resulting Numbers: [12]
12,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 35:[39, 23], Operations: ['40-3=37', '37-14=23']
Exploring Operation: 39*23=897, Resulting Numbers: [897]
897,35 unequal: No Solution
Exploring Operation: 39-23=16, Resulting Numbers: [16]
16,35 unequal: No Solution
Exploring Operation: 39+23=62, Resulting Numbers: [62]
62,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 35:[37, 53], Operations: ['40-3=37', '39+14=53']
Exploring Operation: 37+53=90, Resulting Numbers: [90]
90,35 unequal: No Solution
Exploring Operation: 37*53=1961, Resulting Numbers: [1961]
1961,35 unequal: No Solution
Exploring Operation: 53-37=16, Resulting Numbers: [16]
16,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 35:[39, 51], Operations: ['40-3=37', '14+37=51']
Exploring Operation: 39+51=90, Resulting Numbers: [90]
90,35 unequal: No Solution
Exploring Operation: 39*51=1989, Resulting Numbers: [1989]
1989,35 unequal: No Solution
Exploring Operation: 51-39=12, Resulting Numbers: [12]
12,35 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: 35:[14, 40, 36], Operations: ['39-3=36']
Exploring Operation: 40-36=4, Resulting Numbers: [14, 4]
Generated Node #0,2,0: 35:[14, 4] Operation: 40-36=4
Exploring Operation: 14+36=50, Resulting Numbers: [40, 50]
Generated Node #0,2,1: 35:[40, 50] Operation: 14+36=50
Exploring Operation: 40-14=26, Resulting Numbers: [36, 26]
Generated Node #0,2,2: 35:[36, 26] Operation: 40-14=26
Exploring Operation: 14+40=54, Resulting Numbers: [36, 54]
Generated Node #0,2,3: 35:[36, 54] Operation: 14+40=54
Exploring Operation: 36-14=22, Resulting Numbers: [40, 22]
Generated Node #0,2,4: 35:[40, 22] Operation: 36-14=22
Moving to Node #0,4
Current State: 35:[39, 40, 11], Operations: ['14-3=11']
Exploring Operation: 39+11=50, Resulting Numbers: [40, 50]
Generated Node #0,4,0: 35:[40, 50] Operation: 39+11=50
Exploring Operation: 40-11=29, Resulting Numbers: [39, 29]
Generated Node #0,4,1: 35:[39, 29] Operation: 40-11=29
Exploring Operation: 39-11=28, Resulting Numbers: [40, 28]
Generated Node #0,4,2: 35:[40, 28] Operation: 39-11=28
Exploring Operation: 40-39=1, Resulting Numbers: [11, 1]
Generated Node #0,4,3: 35:[11, 1] Operation: 40-39=1
Exploring Operation: 40+11=51, Resulting Numbers: [39, 51]
Generated Node #0,4,4: 35:[39, 51] Operation: 40+11=51
Moving to Node #0,0
Current State: 35:[39, 3, 26], Operations: ['40-14=26']
Exploring Operation: 39/3=13, Resulting Numbers: [26, 13]
Generated Node #0,0,0: 35:[26, 13] Operation: 39/3=13
Exploring Operation: 39-26=13, Resulting Numbers: [3, 13]
Generated Node #0,0,1: 35:[3, 13] Operation: 39-26=13
Exploring Operation: 39+3=42, Resulting Numbers: [26, 42]
Generated Node #0,0,2: 35:[26, 42] Operation: 39+3=42
Exploring Operation: 39-3=36, Resulting Numbers: [26, 36]
Generated Node #0,0,3: 35:[26, 36] Operation: 39-3=36
Exploring Operation: 3+26=29, Resulting Numbers: [39, 29]
Generated Node #0,0,4: 35:[39, 29] Operation: 3+26=29
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 35:[3, 13], Operations: ['40-14=26', '39-26=13']
Exploring Operation: 3+13=16, Resulting Numbers: [16]
16,35 unequal: No Solution
Exploring Operation: 3*13=39, Resulting Numbers: [39]
39,35 unequal: No Solution
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 35:[26, 36], Operations: ['40-14=26', '39-3=36']
Exploring Operation: 26*36=936, Resulting Numbers: [936]
936,35 unequal: No Solution
Exploring Operation: 26+36=62, Resulting Numbers: [62]
62,35 unequal: No Solution
Exploring Operation: 36-26=10, Resulting Numbers: [10]
10,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 35:[39, 29], Operations: ['40-14=26', '3+26=29']
Exploring Operation: 39+29=68, Resulting Numbers: [68]
68,35 unequal: No Solution
Exploring Operation: 39-29=10, Resulting Numbers: [10]
10,35 unequal: No Solution
Exploring Operation: 39*29=1131, Resulting Numbers: [1131]
1131,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 35:[26, 13], Operations: ['40-14=26', '39/3=13']
Exploring Operation: 26*13=338, Resulting Numbers: [338]
338,35 unequal: No Solution
Exploring Operation: 26+13=39, Resulting Numbers: [39]
39,35 unequal: No Solution
Exploring Operation: 26/13=2, Resulting Numbers: [2]
2,35 unequal: No Solution
Exploring Operation: 26-13=13, Resulting Numbers: [13]
13,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 35:[26, 42], Operations: ['40-14=26', '39+3=42']
Exploring Operation: 42-26=16, Resulting Numbers: [16]
16,35 unequal: No Solution
Exploring Operation: 26+42=68, Resulting Numbers: [68]
68,35 unequal: No Solution
Exploring Operation: 26*42=1092, Resulting Numbers: [1092]
1092,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,0
Current State: 35:[14, 4], Operations: ['39-3=36', '40-36=4']
Exploring Operation: 14+4=18, Resulting Numbers: [18]
18,35 unequal: No Solution
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,35 unequal: No Solution
Exploring Operation: 14*4=56, Resulting Numbers: [56]
56,35 unequal: No Solution
Moving to Node #0,4,3
Current State: 35:[11, 1], Operations: ['14-3=11', '40-39=1']
Exploring Operation: 11/1=11, Resulting Numbers: [11]
11,35 unequal: No Solution
Exploring Operation: 11-1=10, Resulting Numbers: [10]
10,35 unequal: No Solution
Exploring Operation: 11*1=11, Resulting Numbers: [11]
11,35 unequal: No Solution
Exploring Operation: 11+1=12, Resulting Numbers: [12]
12,35 unequal: No Solution
Moving to Node #0,4,1
Current State: 35:[39, 29], Operations: ['14-3=11', '40-11=29']
Exploring Operation: 39*29=1131, Resulting Numbers: [1131]
1131,35 unequal: No Solution
Exploring Operation: 39-29=10, Resulting Numbers: [10]
10,35 unequal: No Solution
Exploring Operation: 39+29=68, Resulting Numbers: [68]
68,35 unequal: No Solution
Moving to Node #0,2,2
Current State: 35:[36, 26], Operations: ['39-3=36', '40-14=26']
Exploring Operation: 36+26=62, Resulting Numbers: [62]
62,35 unequal: No Solution
Exploring Operation: 36-26=10, Resulting Numbers: [10]
10,35 unequal: No Solution
Exploring Operation: 36*26=936, Resulting Numbers: [936]
936,35 unequal: No Solution
Moving to Node #0,4,2
Current State: 35:[40, 28], Operations: ['14-3=11', '39-11=28']
Exploring Operation: 40*28=1120, Resulting Numbers: [1120]
1120,35 unequal: No Solution
Exploring Operation: 40-28=12, Resulting Numbers: [12]
12,35 unequal: No Solution
Exploring Operation: 40+28=68, Resulting Numbers: [68]
68,35 unequal: No Solution
Moving to Node #0,2,4
Current State: 35:[40, 22], Operations: ['39-3=36', '36-14=22']
Exploring Operation: 40+22=62, Resulting Numbers: [62]
62,35 unequal: No Solution
Exploring Operation: 40*22=880, Resulting Numbers: [880]
880,35 unequal: No Solution
Exploring Operation: 40-22=18, Resulting Numbers: [18]
18,35 unequal: No Solution
Moving to Node #0,4,0
Current State: 35:[40, 50], Operations: ['14-3=11', '39+11=50']
Exploring Operation: 50-40=10, Resulting Numbers: [10]
10,35 unequal: No Solution
Exploring Operation: 40*50=2000, Resulting Numbers: [2000]
2000,35 unequal: No Solution
Exploring Operation: 40+50=90, Resulting Numbers: [90]
90,35 unequal: No Solution
Moving to Node #0,4,4
Current State: 35:[39, 51], Operations: ['14-3=11', '40+11=51']
Exploring Operation: 51-39=12, Resulting Numbers: [12]
12,35 unequal: No Solution
Exploring Operation: 39*51=1989, Resulting Numbers: [1989]
1989,35 unequal: No Solution
Exploring Operation: 39+51=90, Resulting Numbers: [90]
90,35 unequal: No Solution
Moving to Node #0,2,3
Current State: 35:[36, 54], Operations: ['39-3=36', '14+40=54']
Exploring Operation: 54-36=18, Resulting Numbers: [18]
18,35 unequal: No Solution
Exploring Operation: 36+54=90, Resulting Numbers: [90]
90,35 unequal: No Solution
Exploring Operation: 36*54=1944, Resulting Numbers: [1944]
1944,35 unequal: No Solution
Moving to Node #0,2,1
Current State: 35:[40, 50], Operations: ['39-3=36', '14+36=50']
Exploring Operation: 40*50=2000, Resulting Numbers: [2000]
2000,35 unequal: No Solution
Exploring Operation: 50-40=10, Resulting Numbers: [10]
10,35 unequal: No Solution
Exploring Operation: 40+50=90, Resulting Numbers: [90]
90,35 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
17,
12,
56,
42
] | 43 | [
"17+12=29",
"56-42=14",
"29+14=43"
] | Current State: 43:[17, 12, 56, 42], Operations: []
Exploring Operation: 17+12=29, Resulting Numbers: [56, 42, 29]
Generated Node #2: [56, 42, 29] from Operation: 17+12=29
Current State: 43:[56, 42, 29], Operations: ['17+12=29']
Exploring Operation: 56-42=14, Resulting Numbers: [29, 14]
Generated Node #3: [29, 14] from Operation: 56-42=14
Current State: 43:[29, 14], Operations: ['17+12=29', '56-42=14']
Exploring Operation: 29+14=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[17, 12, 56, 42], Operations: []
Exploring Operation: 56-12=44, Resulting Numbers: [17, 42, 44]
Generated Node #0,0: 43:[17, 42, 44] Operation: 56-12=44
Exploring Operation: 17+12=29, Resulting Numbers: [56, 42, 29]
Generated Node #0,1: 43:[56, 42, 29] Operation: 17+12=29
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[17, 42, 44], Operations: ['56-12=44']
Exploring Operation: 17+42=59, Resulting Numbers: [44, 59]
Generated Node #0,0,0: 43:[44, 59] Operation: 17+42=59
Exploring Operation: 44-17=27, Resulting Numbers: [42, 27]
Generated Node #0,0,1: 43:[42, 27] Operation: 44-17=27
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 43:[44, 59], Operations: ['56-12=44', '17+42=59']
Exploring Operation: 44+59=103, Resulting Numbers: [103]
103,43 unequal: No Solution
Exploring Operation: 59-44=15, Resulting Numbers: [15]
15,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 43:[42, 27], Operations: ['56-12=44', '44-17=27']
Exploring Operation: 42-27=15, Resulting Numbers: [15]
15,43 unequal: No Solution
Exploring Operation: 42+27=69, Resulting Numbers: [69]
69,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 43:[56, 42, 29], Operations: ['17+12=29']
Exploring Operation: 56-29=27, Resulting Numbers: [42, 27]
Generated Node #0,1,0: 43:[42, 27] Operation: 56-29=27
Exploring Operation: 42+29=71, Resulting Numbers: [56, 71]
Generated Node #0,1,1: 43:[56, 71] Operation: 42+29=71
Moving to Node #0,1,0
Current State: 43:[42, 27], Operations: ['17+12=29', '56-29=27']
Exploring Operation: 42+27=69, Resulting Numbers: [69]
69,43 unequal: No Solution
Exploring Operation: 42-27=15, Resulting Numbers: [15]
15,43 unequal: No Solution
Moving to Node #0,1,1
Current State: 43:[56, 71], Operations: ['17+12=29', '42+29=71']
Exploring Operation: 56+71=127, Resulting Numbers: [127]
127,43 unequal: No Solution
Exploring Operation: 71-56=15, Resulting Numbers: [15]
15,43 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 |
[
6,
25,
28,
24
] | 94 | [
"28-24=4",
"25*4=100",
"100-6=94"
] | Current State: 94:[6, 25, 28, 24], Operations: []
Exploring Operation: 28-24=4, Resulting Numbers: [6, 25, 4]
Generated Node #2: [6, 25, 4] from Operation: 28-24=4
Current State: 94:[6, 25, 4], Operations: ['28-24=4']
Exploring Operation: 25*4=100, Resulting Numbers: [6, 100]
Generated Node #3: [6, 100] from Operation: 25*4=100
Current State: 94:[6, 100], Operations: ['28-24=4', '25*4=100']
Exploring Operation: 100-6=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[6, 25, 28, 24], Operations: []
Exploring Operation: 25-24=1, Resulting Numbers: [6, 28, 1]
Generated Node #0,0: 94:[6, 28, 1] Operation: 25-24=1
Moving to Node #0,0
Current State: 94:[6, 28, 1], Operations: ['25-24=1']
Exploring Operation: 6+28=34, Resulting Numbers: [1, 34]
Generated Node #0,0,0: 94:[1, 34] Operation: 6+28=34
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 94:[1, 34], Operations: ['25-24=1', '6+28=34']
Exploring Operation: 1+34=35, Resulting Numbers: [35]
35,94 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 |
[
56,
2,
95,
40
] | 38 | [
"95-56=39",
"2*39=78",
"78-40=38"
] | Current State: 38:[56, 2, 95, 40], Operations: []
Exploring Operation: 95-56=39, Resulting Numbers: [2, 40, 39]
Generated Node #2: [2, 40, 39] from Operation: 95-56=39
Current State: 38:[2, 40, 39], Operations: ['95-56=39']
Exploring Operation: 2*39=78, Resulting Numbers: [40, 78]
Generated Node #3: [40, 78] from Operation: 2*39=78
Current State: 38:[40, 78], Operations: ['95-56=39', '2*39=78']
Exploring Operation: 78-40=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[56, 2, 95, 40], Operations: []
Exploring Operation: 56-2=54, Resulting Numbers: [95, 40, 54]
Generated Node #0,0: 38:[95, 40, 54] Operation: 56-2=54
Exploring Operation: 56/2=28, Resulting Numbers: [95, 40, 28]
Generated Node #0,1: 38:[95, 40, 28] Operation: 56/2=28
Exploring Operation: 95-56=39, Resulting Numbers: [2, 40, 39]
Generated Node #0,2: 38:[2, 40, 39] Operation: 95-56=39
Exploring Operation: 56-40=16, Resulting Numbers: [2, 95, 16]
Generated Node #0,3: 38:[2, 95, 16] Operation: 56-40=16
Exploring Operation: 95-40=55, Resulting Numbers: [56, 2, 55]
Generated Node #0,4: 38:[56, 2, 55] Operation: 95-40=55
Start Sub Search at level 1: Moving to Node #0,2
Current State: 38:[2, 40, 39], Operations: ['95-56=39']
Exploring Operation: 40-2=38, Resulting Numbers: [39, 38]
Generated Node #0,2,0: 38:[39, 38] Operation: 40-2=38
Exploring Operation: 40/2=20, Resulting Numbers: [39, 20]
Generated Node #0,2,1: 38:[39, 20] Operation: 40/2=20
Exploring Operation: 2+40=42, Resulting Numbers: [39, 42]
Generated Node #0,2,2: 38:[39, 42] Operation: 2+40=42
Exploring Operation: 39-2=37, Resulting Numbers: [40, 37]
Generated Node #0,2,3: 38:[40, 37] Operation: 39-2=37
Exploring Operation: 40-39=1, Resulting Numbers: [2, 1]
Generated Node #0,2,4: 38:[2, 1] Operation: 40-39=1
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 38:[39, 38], Operations: ['95-56=39', '40-2=38']
Exploring Operation: 39*38=1482, Resulting Numbers: [1482]
1482,38 unequal: No Solution
Exploring Operation: 39+38=77, Resulting Numbers: [77]
77,38 unequal: No Solution
Exploring Operation: 39-38=1, Resulting Numbers: [1]
1,38 unequal: No Solution
No 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: 38:[2, 1], Operations: ['95-56=39', '40-39=1']
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,38 unequal: No Solution
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,38 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,38 unequal: No Solution
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,38 unequal: No Solution
No 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: 38:[39, 20], Operations: ['95-56=39', '40/2=20']
Exploring Operation: 39*20=780, Resulting Numbers: [780]
780,38 unequal: No Solution
Exploring Operation: 39-20=19, Resulting Numbers: [19]
19,38 unequal: No Solution
Exploring Operation: 39+20=59, Resulting Numbers: [59]
59,38 unequal: No Solution
No 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: 38:[40, 37], Operations: ['95-56=39', '39-2=37']
Exploring Operation: 40+37=77, Resulting Numbers: [77]
77,38 unequal: No Solution
Exploring Operation: 40-37=3, Resulting Numbers: [3]
3,38 unequal: No Solution
Exploring Operation: 40*37=1480, Resulting Numbers: [1480]
1480,38 unequal: No Solution
No 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: 38:[39, 42], Operations: ['95-56=39', '2+40=42']
Exploring Operation: 39+42=81, Resulting Numbers: [81]
81,38 unequal: No Solution
Exploring Operation: 39*42=1638, Resulting Numbers: [1638]
1638,38 unequal: No Solution
Exploring Operation: 42-39=3, Resulting Numbers: [3]
3,38 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: 38:[56, 2, 55], Operations: ['95-40=55']
Exploring Operation: 56-2=54, Resulting Numbers: [55, 54]
Generated Node #0,4,0: 38:[55, 54] Operation: 56-2=54
Exploring Operation: 55-2=53, Resulting Numbers: [56, 53]
Generated Node #0,4,1: 38:[56, 53] Operation: 55-2=53
Exploring Operation: 56-55=1, Resulting Numbers: [2, 1]
Generated Node #0,4,2: 38:[2, 1] Operation: 56-55=1
Exploring Operation: 56+2=58, Resulting Numbers: [55, 58]
Generated Node #0,4,3: 38:[55, 58] Operation: 56+2=58
Exploring Operation: 56/2=28, Resulting Numbers: [55, 28]
Generated Node #0,4,4: 38:[55, 28] Operation: 56/2=28
Moving to Node #0,4,2
Current State: 38:[2, 1], Operations: ['95-40=55', '56-55=1']
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,38 unequal: No Solution
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,38 unequal: No Solution
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,38 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,38 unequal: No Solution
Moving to Node #0,4,4
Current State: 38:[55, 28], Operations: ['95-40=55', '56/2=28']
Exploring Operation: 55*28=1540, Resulting Numbers: [1540]
1540,38 unequal: No Solution
Exploring Operation: 55-28=27, Resulting Numbers: [27]
27,38 unequal: No Solution
Exploring Operation: 55+28=83, Resulting Numbers: [83]
83,38 unequal: No Solution
Moving to Node #0,4,0
Current State: 38:[55, 54], Operations: ['95-40=55', '56-2=54']
Exploring Operation: 55*54=2970, Resulting Numbers: [2970]
2970,38 unequal: No Solution
Exploring Operation: 55-54=1, Resulting Numbers: [1]
1,38 unequal: No Solution
Exploring Operation: 55+54=109, Resulting Numbers: [109]
109,38 unequal: No Solution
Moving to Node #0,4,1
Current State: 38:[56, 53], Operations: ['95-40=55', '55-2=53']
Exploring Operation: 56-53=3, Resulting Numbers: [3]
3,38 unequal: No Solution
Exploring Operation: 56+53=109, Resulting Numbers: [109]
109,38 unequal: No Solution
Exploring Operation: 56*53=2968, Resulting Numbers: [2968]
2968,38 unequal: No Solution
Moving to Node #0,4,3
Current State: 38:[55, 58], Operations: ['95-40=55', '56+2=58']
Exploring Operation: 58-55=3, Resulting Numbers: [3]
3,38 unequal: No Solution
Exploring Operation: 55*58=3190, Resulting Numbers: [3190]
3190,38 unequal: No Solution
Exploring Operation: 55+58=113, Resulting Numbers: [113]
113,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 38:[2, 95, 16], Operations: ['56-40=16']
Exploring Operation: 2+16=18, Resulting Numbers: [95, 18]
Generated Node #0,3,0: 38:[95, 18] Operation: 2+16=18
Exploring Operation: 95-2=93, Resulting Numbers: [16, 93]
Generated Node #0,3,1: 38:[16, 93] Operation: 95-2=93
Exploring Operation: 16-2=14, Resulting Numbers: [95, 14]
Generated Node #0,3,2: 38:[95, 14] Operation: 16-2=14
Exploring Operation: 2+95=97, Resulting Numbers: [16, 97]
Generated Node #0,3,3: 38:[16, 97] Operation: 2+95=97
Exploring Operation: 95-16=79, Resulting Numbers: [2, 79]
Generated Node #0,3,4: 38:[2, 79] Operation: 95-16=79
Moving to Node #0,3,4
Current State: 38:[2, 79], Operations: ['56-40=16', '95-16=79']
Exploring Operation: 2+79=81, Resulting Numbers: [81]
81,38 unequal: No Solution
Exploring Operation: 79-2=77, Resulting Numbers: [77]
77,38 unequal: No Solution
Exploring Operation: 2*79=158, Resulting Numbers: [158]
158,38 unequal: No Solution
Moving to Node #0,3,1
Current State: 38:[16, 93], Operations: ['56-40=16', '95-2=93']
Exploring Operation: 16+93=109, Resulting Numbers: [109]
109,38 unequal: No Solution
Exploring Operation: 16*93=1488, Resulting Numbers: [1488]
1488,38 unequal: No Solution
Exploring Operation: 93-16=77, Resulting Numbers: [77]
77,38 unequal: No Solution
Moving to Node #0,3,0
Current State: 38:[95, 18], Operations: ['56-40=16', '2+16=18']
Exploring Operation: 95*18=1710, Resulting Numbers: [1710]
1710,38 unequal: No Solution
Exploring Operation: 95-18=77, Resulting Numbers: [77]
77,38 unequal: No Solution
Exploring Operation: 95+18=113, Resulting Numbers: [113]
113,38 unequal: No Solution
Moving to Node #0,3,2
Current State: 38:[95, 14], Operations: ['56-40=16', '16-2=14']
Exploring Operation: 95-14=81, Resulting Numbers: [81]
81,38 unequal: No Solution
Exploring Operation: 95+14=109, Resulting Numbers: [109]
109,38 unequal: No Solution
Exploring Operation: 95*14=1330, Resulting Numbers: [1330]
1330,38 unequal: No Solution
Moving to Node #0,3,3
Current State: 38:[16, 97], Operations: ['56-40=16', '2+95=97']
Exploring Operation: 97-16=81, Resulting Numbers: [81]
81,38 unequal: No Solution
Exploring Operation: 16*97=1552, Resulting Numbers: [1552]
1552,38 unequal: No Solution
Exploring Operation: 16+97=113, Resulting Numbers: [113]
113,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 38:[95, 40, 28], Operations: ['56/2=28']
Exploring Operation: 40+28=68, Resulting Numbers: [95, 68]
Generated Node #0,1,0: 38:[95, 68] Operation: 40+28=68
Exploring Operation: 40-28=12, Resulting Numbers: [95, 12]
Generated Node #0,1,1: 38:[95, 12] Operation: 40-28=12
Exploring Operation: 95-40=55, Resulting Numbers: [28, 55]
Generated Node #0,1,2: 38:[28, 55] Operation: 95-40=55
Exploring Operation: 95+28=123, Resulting Numbers: [40, 123]
Generated Node #0,1,3: 38:[40, 123] Operation: 95+28=123
Exploring Operation: 95-28=67, Resulting Numbers: [40, 67]
Generated Node #0,1,4: 38:[40, 67] Operation: 95-28=67
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 38:[28, 55], Operations: ['56/2=28', '95-40=55']
Exploring Operation: 28*55=1540, Resulting Numbers: [1540]
1540,38 unequal: No Solution
Exploring Operation: 28+55=83, Resulting Numbers: [83]
83,38 unequal: No Solution
Exploring Operation: 55-28=27, Resulting Numbers: [27]
27,38 unequal: No Solution
No 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: 38:[40, 67], Operations: ['56/2=28', '95-28=67']
Exploring Operation: 40+67=107, Resulting Numbers: [107]
107,38 unequal: No Solution
Exploring Operation: 67-40=27, Resulting Numbers: [27]
27,38 unequal: No Solution
Exploring Operation: 40*67=2680, Resulting Numbers: [2680]
2680,38 unequal: No Solution
No 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: 38:[95, 12], Operations: ['56/2=28', '40-28=12']
Exploring Operation: 95+12=107, Resulting Numbers: [107]
107,38 unequal: No Solution
Exploring Operation: 95*12=1140, Resulting Numbers: [1140]
1140,38 unequal: No Solution
Exploring Operation: 95-12=83, Resulting Numbers: [83]
83,38 unequal: No Solution
No 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: 38:[95, 68], Operations: ['56/2=28', '40+28=68']
Exploring Operation: 95+68=163, Resulting Numbers: [163]
163,38 unequal: No Solution
Exploring Operation: 95-68=27, Resulting Numbers: [27]
27,38 unequal: No Solution
Exploring Operation: 95*68=6460, Resulting Numbers: [6460]
6460,38 unequal: No Solution
No 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: 38:[40, 123], Operations: ['56/2=28', '95+28=123']
Exploring Operation: 40+123=163, Resulting Numbers: [163]
163,38 unequal: No Solution
Exploring Operation: 40*123=4920, Resulting Numbers: [4920]
4920,38 unequal: No Solution
Exploring Operation: 123-40=83, Resulting Numbers: [83]
83,38 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: 38:[95, 40, 54], Operations: ['56-2=54']
Exploring Operation: 95+40=135, Resulting Numbers: [54, 135]
Generated Node #0,0,0: 38:[54, 135] Operation: 95+40=135
Exploring Operation: 95+54=149, Resulting Numbers: [40, 149]
Generated Node #0,0,1: 38:[40, 149] Operation: 95+54=149
Exploring Operation: 95-54=41, Resulting Numbers: [40, 41]
Generated Node #0,0,2: 38:[40, 41] Operation: 95-54=41
Exploring Operation: 54-40=14, Resulting Numbers: [95, 14]
Generated Node #0,0,3: 38:[95, 14] Operation: 54-40=14
Exploring Operation: 95-40=55, Resulting Numbers: [54, 55]
Generated Node #0,0,4: 38:[54, 55] Operation: 95-40=55
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 38:[40, 41], Operations: ['56-2=54', '95-54=41']
Exploring Operation: 41-40=1, Resulting Numbers: [1]
1,38 unequal: No Solution
Exploring Operation: 40+41=81, Resulting Numbers: [81]
81,38 unequal: No Solution
Exploring Operation: 40*41=1640, Resulting Numbers: [1640]
1640,38 unequal: No Solution
No 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: 38:[54, 55], Operations: ['56-2=54', '95-40=55']
Exploring Operation: 54+55=109, Resulting Numbers: [109]
109,38 unequal: No Solution
Exploring Operation: 54*55=2970, Resulting Numbers: [2970]
2970,38 unequal: No Solution
Exploring Operation: 55-54=1, Resulting Numbers: [1]
1,38 unequal: No Solution
No 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: 38:[95, 14], Operations: ['56-2=54', '54-40=14']
Exploring Operation: 95-14=81, Resulting Numbers: [81]
81,38 unequal: No Solution
Exploring Operation: 95*14=1330, Resulting Numbers: [1330]
1330,38 unequal: No Solution
Exploring Operation: 95+14=109, Resulting Numbers: [109]
109,38 unequal: No Solution
No 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: 38:[54, 135], Operations: ['56-2=54', '95+40=135']
Exploring Operation: 135-54=81, Resulting Numbers: [81]
81,38 unequal: No Solution
Exploring Operation: 54*135=7290, Resulting Numbers: [7290]
7290,38 unequal: No Solution
Exploring Operation: 54+135=189, Resulting Numbers: [189]
189,38 unequal: No Solution
No 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: 38:[40, 149], Operations: ['56-2=54', '95+54=149']
Exploring Operation: 149-40=109, Resulting Numbers: [109]
109,38 unequal: No Solution
Exploring Operation: 40+149=189, Resulting Numbers: [189]
189,38 unequal: No Solution
Exploring Operation: 40*149=5960, Resulting Numbers: [5960]
5960,38 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 |
[
39,
26,
33,
4
] | 18 | [
"26*33=858",
"858/39=22",
"22-4=18"
] | Current State: 18:[39, 26, 33, 4], Operations: []
Exploring Operation: 26*33=858, Resulting Numbers: [39, 4, 858]
Generated Node #2: [39, 4, 858] from Operation: 26*33=858
Current State: 18:[39, 4, 858], Operations: ['26*33=858']
Exploring Operation: 858/39=22, Resulting Numbers: [4, 22]
Generated Node #3: [4, 22] from Operation: 858/39=22
Current State: 18:[4, 22], Operations: ['26*33=858', '858/39=22']
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[39, 26, 33, 4], Operations: []
Exploring Operation: 33-26=7, Resulting Numbers: [39, 4, 7]
Generated Node #0,0: 18:[39, 4, 7] Operation: 33-26=7
Exploring Operation: 39-4=35, Resulting Numbers: [26, 33, 35]
Generated Node #0,1: 18:[26, 33, 35] Operation: 39-4=35
Exploring Operation: 39-26=13, Resulting Numbers: [33, 4, 13]
Generated Node #0,2: 18:[33, 4, 13] Operation: 39-26=13
Exploring Operation: 39-33=6, Resulting Numbers: [26, 4, 6]
Generated Node #0,3: 18:[26, 4, 6] Operation: 39-33=6
Exploring Operation: 26-4=22, Resulting Numbers: [39, 33, 22]
Generated Node #0,4: 18:[39, 33, 22] Operation: 26-4=22
Start Sub Search at level 1: Moving to Node #0,3
Current State: 18:[26, 4, 6], Operations: ['39-33=6']
Exploring Operation: 6-4=2, Resulting Numbers: [26, 2]
Generated Node #0,3,0: 18:[26, 2] Operation: 6-4=2
Exploring Operation: 26+4=30, Resulting Numbers: [6, 30]
Generated Node #0,3,1: 18:[6, 30] Operation: 26+4=30
Exploring Operation: 4+6=10, Resulting Numbers: [26, 10]
Generated Node #0,3,2: 18:[26, 10] Operation: 4+6=10
Exploring Operation: 26-4=22, Resulting Numbers: [6, 22]
Generated Node #0,3,3: 18:[6, 22] Operation: 26-4=22
Exploring Operation: 26-6=20, Resulting Numbers: [4, 20]
Generated Node #0,3,4: 18:[4, 20] Operation: 26-6=20
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 18:[4, 20], Operations: ['39-33=6', '26-6=20']
Exploring Operation: 4+20=24, Resulting Numbers: [24]
24,18 unequal: No Solution
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,18 unequal: No Solution
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,18 unequal: No Solution
Exploring Operation: 4*20=80, Resulting Numbers: [80]
80,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 18:[6, 22], Operations: ['39-33=6', '26-4=22']
Exploring Operation: 6+22=28, Resulting Numbers: [28]
28,18 unequal: No Solution
Exploring Operation: 6*22=132, Resulting Numbers: [132]
132,18 unequal: No Solution
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 18:[26, 2], Operations: ['39-33=6', '6-4=2']
Exploring Operation: 26*2=52, Resulting Numbers: [52]
52,18 unequal: No Solution
Exploring Operation: 26+2=28, Resulting Numbers: [28]
28,18 unequal: No Solution
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,18 unequal: No Solution
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 18:[26, 10], Operations: ['39-33=6', '4+6=10']
Exploring Operation: 26-10=16, Resulting Numbers: [16]
16,18 unequal: No Solution
Exploring Operation: 26*10=260, Resulting Numbers: [260]
260,18 unequal: No Solution
Exploring Operation: 26+10=36, Resulting Numbers: [36]
36,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 18:[6, 30], Operations: ['39-33=6', '26+4=30']
Exploring Operation: 30-6=24, Resulting Numbers: [24]
24,18 unequal: No Solution
Exploring Operation: 30/6=5, Resulting Numbers: [5]
5,18 unequal: No Solution
Exploring Operation: 6+30=36, Resulting Numbers: [36]
36,18 unequal: No Solution
Exploring Operation: 6*30=180, Resulting Numbers: [180]
180,18 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: 18:[33, 4, 13], Operations: ['39-26=13']
Exploring Operation: 13-4=9, Resulting Numbers: [33, 9]
Generated Node #0,2,0: 18:[33, 9] Operation: 13-4=9
Exploring Operation: 33+4=37, Resulting Numbers: [13, 37]
Generated Node #0,2,1: 18:[13, 37] Operation: 33+4=37
Exploring Operation: 4+13=17, Resulting Numbers: [33, 17]
Generated Node #0,2,2: 18:[33, 17] Operation: 4+13=17
Exploring Operation: 33-13=20, Resulting Numbers: [4, 20]
Generated Node #0,2,3: 18:[4, 20] Operation: 33-13=20
Exploring Operation: 33-4=29, Resulting Numbers: [13, 29]
Generated Node #0,2,4: 18:[13, 29] Operation: 33-4=29
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 18:[4, 20], Operations: ['39-26=13', '33-13=20']
Exploring Operation: 4*20=80, Resulting Numbers: [80]
80,18 unequal: No Solution
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,18 unequal: No Solution
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,18 unequal: No Solution
Exploring Operation: 4+20=24, Resulting Numbers: [24]
24,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 18:[33, 9], Operations: ['39-26=13', '13-4=9']
Exploring Operation: 33-9=24, Resulting Numbers: [24]
24,18 unequal: No Solution
Exploring Operation: 33+9=42, Resulting Numbers: [42]
42,18 unequal: No Solution
Exploring Operation: 33*9=297, Resulting Numbers: [297]
297,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 18:[13, 29], Operations: ['39-26=13', '33-4=29']
Exploring Operation: 13+29=42, Resulting Numbers: [42]
42,18 unequal: No Solution
Exploring Operation: 29-13=16, Resulting Numbers: [16]
16,18 unequal: No Solution
Exploring Operation: 13*29=377, Resulting Numbers: [377]
377,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 18:[33, 17], Operations: ['39-26=13', '4+13=17']
Exploring Operation: 33+17=50, Resulting Numbers: [50]
50,18 unequal: No Solution
Exploring Operation: 33*17=561, Resulting Numbers: [561]
561,18 unequal: No Solution
Exploring Operation: 33-17=16, Resulting Numbers: [16]
16,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 18:[13, 37], Operations: ['39-26=13', '33+4=37']
Exploring Operation: 13+37=50, Resulting Numbers: [50]
50,18 unequal: No Solution
Exploring Operation: 37-13=24, Resulting Numbers: [24]
24,18 unequal: No Solution
Exploring Operation: 13*37=481, Resulting Numbers: [481]
481,18 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: 18:[39, 4, 7], Operations: ['33-26=7']
Exploring Operation: 39+4=43, Resulting Numbers: [7, 43]
Generated Node #0,0,0: 18:[7, 43] Operation: 39+4=43
Exploring Operation: 7-4=3, Resulting Numbers: [39, 3]
Generated Node #0,0,1: 18:[39, 3] Operation: 7-4=3
Exploring Operation: 4+7=11, Resulting Numbers: [39, 11]
Generated Node #0,0,2: 18:[39, 11] Operation: 4+7=11
Exploring Operation: 39-7=32, Resulting Numbers: [4, 32]
Generated Node #0,0,3: 18:[4, 32] Operation: 39-7=32
Exploring Operation: 39-4=35, Resulting Numbers: [7, 35]
Generated Node #0,0,4: 18:[7, 35] Operation: 39-4=35
Moving to Node #0,0,3
Current State: 18:[4, 32], Operations: ['33-26=7', '39-7=32']
Exploring Operation: 32-4=28, Resulting Numbers: [28]
28,18 unequal: No Solution
Exploring Operation: 32/4=8, Resulting Numbers: [8]
8,18 unequal: No Solution
Exploring Operation: 4+32=36, Resulting Numbers: [36]
36,18 unequal: No Solution
Exploring Operation: 4*32=128, Resulting Numbers: [128]
128,18 unequal: No Solution
Moving to Node #0,0,4
Current State: 18:[7, 35], Operations: ['33-26=7', '39-4=35']
Exploring Operation: 7*35=245, Resulting Numbers: [245]
245,18 unequal: No Solution
Exploring Operation: 35/7=5, Resulting Numbers: [5]
5,18 unequal: No Solution
Exploring Operation: 7+35=42, Resulting Numbers: [42]
42,18 unequal: No Solution
Exploring Operation: 35-7=28, Resulting Numbers: [28]
28,18 unequal: No Solution
Moving to Node #0,0,1
Current State: 18:[39, 3], Operations: ['33-26=7', '7-4=3']
Exploring Operation: 39*3=117, Resulting Numbers: [117]
117,18 unequal: No Solution
Exploring Operation: 39-3=36, Resulting Numbers: [36]
36,18 unequal: No Solution
Exploring Operation: 39+3=42, Resulting Numbers: [42]
42,18 unequal: No Solution
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,18 unequal: No Solution
Moving to Node #0,0,2
Current State: 18:[39, 11], Operations: ['33-26=7', '4+7=11']
Exploring Operation: 39+11=50, Resulting Numbers: [50]
50,18 unequal: No Solution
Exploring Operation: 39-11=28, Resulting Numbers: [28]
28,18 unequal: No Solution
Exploring Operation: 39*11=429, Resulting Numbers: [429]
429,18 unequal: No Solution
Moving to Node #0,0,0
Current State: 18:[7, 43], Operations: ['33-26=7', '39+4=43']
Exploring Operation: 43-7=36, Resulting Numbers: [36]
36,18 unequal: No Solution
Exploring Operation: 7*43=301, Resulting Numbers: [301]
301,18 unequal: No Solution
Exploring Operation: 7+43=50, Resulting Numbers: [50]
50,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
Current State: 18:[26, 33, 35], Operations: ['39-4=35']
Exploring Operation: 33-26=7, Resulting Numbers: [35, 7]
Generated Node #0,1,0: 18:[35, 7] Operation: 33-26=7
Exploring Operation: 26+33=59, Resulting Numbers: [35, 59]
Generated Node #0,1,1: 18:[35, 59] Operation: 26+33=59
Exploring Operation: 35-26=9, Resulting Numbers: [33, 9]
Generated Node #0,1,2: 18:[33, 9] Operation: 35-26=9
Exploring Operation: 35-33=2, Resulting Numbers: [26, 2]
Generated Node #0,1,3: 18:[26, 2] Operation: 35-33=2
Exploring Operation: 26+35=61, Resulting Numbers: [33, 61]
Generated Node #0,1,4: 18:[33, 61] Operation: 26+35=61
Moving to Node #0,1,3
Current State: 18:[26, 2], Operations: ['39-4=35', '35-33=2']
Exploring Operation: 26*2=52, Resulting Numbers: [52]
52,18 unequal: No Solution
Exploring Operation: 26+2=28, Resulting Numbers: [28]
28,18 unequal: No Solution
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,18 unequal: No Solution
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,18 unequal: No Solution
Moving to Node #0,1,2
Current State: 18:[33, 9], Operations: ['39-4=35', '35-26=9']
Exploring Operation: 33+9=42, Resulting Numbers: [42]
42,18 unequal: No Solution
Exploring Operation: 33-9=24, Resulting Numbers: [24]
24,18 unequal: No Solution
Exploring Operation: 33*9=297, Resulting Numbers: [297]
297,18 unequal: No Solution
Moving to Node #0,1,0
Current State: 18:[35, 7], Operations: ['39-4=35', '33-26=7']
Exploring Operation: 35+7=42, Resulting Numbers: [42]
42,18 unequal: No Solution
Exploring Operation: 35-7=28, Resulting Numbers: [28]
28,18 unequal: No Solution
Exploring Operation: 35*7=245, Resulting Numbers: [245]
245,18 unequal: No Solution
Exploring Operation: 35/7=5, Resulting Numbers: [5]
5,18 unequal: No Solution
Moving to Node #0,1,1
Current State: 18:[35, 59], Operations: ['39-4=35', '26+33=59']
Exploring Operation: 59-35=24, Resulting Numbers: [24]
24,18 unequal: No Solution
Exploring Operation: 35*59=2065, Resulting Numbers: [2065]
2065,18 unequal: No Solution
Exploring Operation: 35+59=94, Resulting Numbers: [94]
94,18 unequal: No Solution
Moving to Node #0,1,4
Current State: 18:[33, 61], Operations: ['39-4=35', '26+35=61']
Exploring Operation: 61-33=28, Resulting Numbers: [28]
28,18 unequal: No Solution
Exploring Operation: 33*61=2013, Resulting Numbers: [2013]
2013,18 unequal: No Solution
Exploring Operation: 33+61=94, Resulting Numbers: [94]
94,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,4
Current State: 18:[39, 33, 22], Operations: ['26-4=22']
Exploring Operation: 39-33=6, Resulting Numbers: [22, 6]
Generated Node #0,4,0: 18:[22, 6] Operation: 39-33=6
Exploring Operation: 33-22=11, Resulting Numbers: [39, 11]
Generated Node #0,4,1: 18:[39, 11] Operation: 33-22=11
Exploring Operation: 39+22=61, Resulting Numbers: [33, 61]
Generated Node #0,4,2: 18:[33, 61] Operation: 39+22=61
Exploring Operation: 39+33=72, Resulting Numbers: [22, 72]
Generated Node #0,4,3: 18:[22, 72] Operation: 39+33=72
Exploring Operation: 39-22=17, Resulting Numbers: [33, 17]
Generated Node #0,4,4: 18:[33, 17] Operation: 39-22=17
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 18:[22, 6], Operations: ['26-4=22', '39-33=6']
Exploring Operation: 22*6=132, Resulting Numbers: [132]
132,18 unequal: No Solution
Exploring Operation: 22+6=28, Resulting Numbers: [28]
28,18 unequal: No Solution
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 18:[33, 17], Operations: ['26-4=22', '39-22=17']
Exploring Operation: 33-17=16, Resulting Numbers: [16]
16,18 unequal: No Solution
Exploring Operation: 33+17=50, Resulting Numbers: [50]
50,18 unequal: No Solution
Exploring Operation: 33*17=561, Resulting Numbers: [561]
561,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 18:[39, 11], Operations: ['26-4=22', '33-22=11']
Exploring Operation: 39+11=50, Resulting Numbers: [50]
50,18 unequal: No Solution
Exploring Operation: 39-11=28, Resulting Numbers: [28]
28,18 unequal: No Solution
Exploring Operation: 39*11=429, Resulting Numbers: [429]
429,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 18:[33, 61], Operations: ['26-4=22', '39+22=61']
Exploring Operation: 33*61=2013, Resulting Numbers: [2013]
2013,18 unequal: No Solution
Exploring Operation: 61-33=28, Resulting Numbers: [28]
28,18 unequal: No Solution
Exploring Operation: 33+61=94, Resulting Numbers: [94]
94,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 18:[22, 72], Operations: ['26-4=22', '39+33=72']
Exploring Operation: 22*72=1584, Resulting Numbers: [1584]
1584,18 unequal: No Solution
Exploring Operation: 22+72=94, Resulting Numbers: [94]
94,18 unequal: No Solution
Exploring Operation: 72-22=50, Resulting Numbers: [50]
50,18 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 |
[
4,
63,
15,
61
] | 63 | [
"4*15=60",
"61-60=1",
"63*1=63"
] | Current State: 63:[4, 63, 15, 61], Operations: []
Exploring Operation: 4*15=60, Resulting Numbers: [63, 61, 60]
Generated Node #2: [63, 61, 60] from Operation: 4*15=60
Current State: 63:[63, 61, 60], Operations: ['4*15=60']
Exploring Operation: 61-60=1, Resulting Numbers: [63, 1]
Generated Node #3: [63, 1] from Operation: 61-60=1
Current State: 63:[63, 1], Operations: ['4*15=60', '61-60=1']
Exploring Operation: 63*1=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[4, 63, 15, 61], Operations: []
Exploring Operation: 15-4=11, Resulting Numbers: [63, 61, 11]
Generated Node #0,0: 63:[63, 61, 11] Operation: 15-4=11
Exploring Operation: 4+61=65, Resulting Numbers: [63, 15, 65]
Generated Node #0,1: 63:[63, 15, 65] Operation: 4+61=65
Exploring Operation: 4*15=60, Resulting Numbers: [63, 61, 60]
Generated Node #0,2: 63:[63, 61, 60] Operation: 4*15=60
Exploring Operation: 4+15=19, Resulting Numbers: [63, 61, 19]
Generated Node #0,3: 63:[63, 61, 19] Operation: 4+15=19
Moving to Node #0,0
Current State: 63:[63, 61, 11], Operations: ['15-4=11']
Exploring Operation: 63+11=74, Resulting Numbers: [61, 74]
Generated Node #0,0,0: 63:[61, 74] Operation: 63+11=74
Exploring Operation: 63-11=52, Resulting Numbers: [61, 52]
Generated Node #0,0,1: 63:[61, 52] Operation: 63-11=52
Exploring Operation: 63-61=2, Resulting Numbers: [11, 2]
Generated Node #0,0,2: 63:[11, 2] Operation: 63-61=2
Exploring Operation: 61+11=72, Resulting Numbers: [63, 72]
Generated Node #0,0,3: 63:[63, 72] Operation: 61+11=72
Moving to Node #0,3
Current State: 63:[63, 61, 19], Operations: ['4+15=19']
Exploring Operation: 63-61=2, Resulting Numbers: [19, 2]
Generated Node #0,3,0: 63:[19, 2] Operation: 63-61=2
Exploring Operation: 61+19=80, Resulting Numbers: [63, 80]
Generated Node #0,3,1: 63:[63, 80] Operation: 61+19=80
Exploring Operation: 63+19=82, Resulting Numbers: [61, 82]
Generated Node #0,3,2: 63:[61, 82] Operation: 63+19=82
Exploring Operation: 63-19=44, Resulting Numbers: [61, 44]
Generated Node #0,3,3: 63:[61, 44] Operation: 63-19=44
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 63:[19, 2], Operations: ['4+15=19', '63-61=2']
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,63 unequal: No Solution
Exploring Operation: 19*2=38, Resulting Numbers: [38]
38,63 unequal: No Solution
Exploring Operation: 19+2=21, Resulting Numbers: [21]
21,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,3,1
Current State: 63:[63, 80], Operations: ['4+15=19', '61+19=80']
Exploring Operation: 63+80=143, Resulting Numbers: [143]
143,63 unequal: No Solution
Exploring Operation: 80-63=17, Resulting Numbers: [17]
17,63 unequal: No Solution
Exploring Operation: 63*80=5040, Resulting Numbers: [5040]
5040,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,3,2
Current State: 63:[61, 82], Operations: ['4+15=19', '63+19=82']
Exploring Operation: 61*82=5002, Resulting Numbers: [5002]
5002,63 unequal: No Solution
Exploring Operation: 61+82=143, Resulting Numbers: [143]
143,63 unequal: No Solution
Exploring Operation: 82-61=21, Resulting Numbers: [21]
21,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,3,3
Current State: 63:[61, 44], Operations: ['4+15=19', '63-19=44']
Exploring Operation: 61*44=2684, Resulting Numbers: [2684]
2684,63 unequal: No Solution
Exploring Operation: 61+44=105, Resulting Numbers: [105]
105,63 unequal: No Solution
Exploring Operation: 61-44=17, Resulting Numbers: [17]
17,63 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: 63:[63, 61, 60], Operations: ['4*15=60']
Exploring Operation: 61+60=121, Resulting Numbers: [63, 121]
Generated Node #0,2,0: 63:[63, 121] Operation: 61+60=121
Exploring Operation: 63-61=2, Resulting Numbers: [60, 2]
Generated Node #0,2,1: 63:[60, 2] Operation: 63-61=2
Exploring Operation: 61-60=1, Resulting Numbers: [63, 1]
Generated Node #0,2,2: 63:[63, 1] Operation: 61-60=1
Exploring Operation: 63-60=3, Resulting Numbers: [61, 3]
Generated Node #0,2,3: 63:[61, 3] Operation: 63-60=3
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 63:[63, 1], Operations: ['4*15=60', '61-60=1']
Exploring Operation: 63+1=64, Resulting Numbers: [64]
64,63 unequal: No Solution
Exploring Operation: 63*1=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[4, 63, 15, 61], Operations: []
Exploring Operation: 4*15=60, Resulting Numbers: [63, 61, 60]
Generated Node #0,2: 63:[63, 61, 60] Operation: 4*15=60
Moving to Node #0,2
Current State: 63:[63, 61, 60], Operations: ['4*15=60']
Exploring Operation: 61-60=1, Resulting Numbers: [63, 1]
Generated Node #0,2,2: 63:[63, 1] Operation: 61-60=1
Moving to Node #0,2,2
Current State: 63:[63, 1], Operations: ['4*15=60', '61-60=1']
Exploring Operation: 63*1=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 1
| 0.970486 | hs_4 | mult_heuristic |
[
3,
33,
54,
16
] | 35 | [
"54/3=18",
"33-16=17",
"18+17=35"
] | Current State: 35:[3, 33, 54, 16], Operations: []
Exploring Operation: 54/3=18, Resulting Numbers: [33, 16, 18]
Generated Node #2: [33, 16, 18] from Operation: 54/3=18
Current State: 35:[33, 16, 18], Operations: ['54/3=18']
Exploring Operation: 33-16=17, Resulting Numbers: [18, 17]
Generated Node #3: [18, 17] from Operation: 33-16=17
Current State: 35:[18, 17], Operations: ['54/3=18', '33-16=17']
Exploring Operation: 18+17=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[3, 33, 54, 16], Operations: []
Exploring Operation: 54-16=38, Resulting Numbers: [3, 33, 38]
Generated Node #0,0: 35:[3, 33, 38] Operation: 54-16=38
Exploring Operation: 54/3=18, Resulting Numbers: [33, 16, 18]
Generated Node #0,1: 35:[33, 16, 18] Operation: 54/3=18
Moving to Node #0,0
Current State: 35:[3, 33, 38], Operations: ['54-16=38']
Exploring Operation: 38-3=35, Resulting Numbers: [33, 35]
Generated Node #0,0,0: 35:[33, 35] Operation: 38-3=35
Exploring Operation: 38-33=5, Resulting Numbers: [3, 5]
Generated Node #0,0,1: 35:[3, 5] Operation: 38-33=5
Moving to Node #0,1
Current State: 35:[33, 16, 18], Operations: ['54/3=18']
Exploring Operation: 18-16=2, Resulting Numbers: [33, 2]
Generated Node #0,1,0: 35:[33, 2] Operation: 18-16=2
Exploring Operation: 16+18=34, Resulting Numbers: [33, 34]
Generated Node #0,1,1: 35:[33, 34] Operation: 16+18=34
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 35:[33, 34], Operations: ['54/3=18', '16+18=34']
Exploring Operation: 34-33=1, Resulting Numbers: [1]
1,35 unequal: No Solution
Exploring Operation: 33+34=67, Resulting Numbers: [67]
67,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:[33, 2], Operations: ['54/3=18', '18-16=2']
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,35 unequal: No Solution
Exploring Operation: 33+2=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[3, 33, 54, 16], Operations: []
Exploring Operation: 54/3=18, Resulting Numbers: [33, 16, 18]
Generated Node #0,1: 35:[33, 16, 18] Operation: 54/3=18
Moving to Node #0,1
Current State: 35:[33, 16, 18], Operations: ['54/3=18']
Exploring Operation: 18-16=2, Resulting Numbers: [33, 2]
Generated Node #0,1,0: 35:[33, 2] Operation: 18-16=2
Moving to Node #0,1,0
Current State: 35:[33, 2], Operations: ['54/3=18', '18-16=2']
Exploring Operation: 33+2=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_2 | sum_heuristic |
[
19,
83,
75,
94
] | 45 | [
"83-19=64",
"94-75=19",
"64-19=45"
] | Current State: 45:[19, 83, 75, 94], Operations: []
Exploring Operation: 83-19=64, Resulting Numbers: [75, 94, 64]
Generated Node #2: [75, 94, 64] from Operation: 83-19=64
Current State: 45:[75, 94, 64], Operations: ['83-19=64']
Exploring Operation: 94-75=19, Resulting Numbers: [64, 19]
Generated Node #3: [64, 19] from Operation: 94-75=19
Current State: 45:[64, 19], Operations: ['83-19=64', '94-75=19']
Exploring Operation: 64-19=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[19, 83, 75, 94], Operations: []
Exploring Operation: 83-19=64, Resulting Numbers: [75, 94, 64]
Generated Node #0,0: 45:[75, 94, 64] Operation: 83-19=64
Exploring Operation: 83-75=8, Resulting Numbers: [19, 94, 8]
Generated Node #0,1: 45:[19, 94, 8] Operation: 83-75=8
Exploring Operation: 94-75=19, Resulting Numbers: [19, 83, 19]
Generated Node #0,2: 45:[19, 83, 19] Operation: 94-75=19
Exploring Operation: 94-83=11, Resulting Numbers: [19, 75, 11]
Generated Node #0,3: 45:[19, 75, 11] Operation: 94-83=11
Moving to Node #0,3
Current State: 45:[19, 75, 11], Operations: ['94-83=11']
Exploring Operation: 75-11=64, Resulting Numbers: [19, 64]
Generated Node #0,3,0: 45:[19, 64] Operation: 75-11=64
Exploring Operation: 19+11=30, Resulting Numbers: [75, 30]
Generated Node #0,3,1: 45:[75, 30] Operation: 19+11=30
Exploring Operation: 19-11=8, Resulting Numbers: [75, 8]
Generated Node #0,3,2: 45:[75, 8] Operation: 19-11=8
Exploring Operation: 75-19=56, Resulting Numbers: [11, 56]
Generated Node #0,3,3: 45:[11, 56] Operation: 75-19=56
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 45:[11, 56], Operations: ['94-83=11', '75-19=56']
Exploring Operation: 11+56=67, Resulting Numbers: [67]
67,45 unequal: No Solution
Exploring Operation: 11*56=616, Resulting Numbers: [616]
616,45 unequal: No Solution
Exploring Operation: 56-11=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[19, 83, 75, 94], Operations: []
Exploring Operation: 94-83=11, Resulting Numbers: [19, 75, 11]
Generated Node #0,3: 45:[19, 75, 11] Operation: 94-83=11
Moving to Node #0,3
Current State: 45:[19, 75, 11], Operations: ['94-83=11']
Exploring Operation: 75-19=56, Resulting Numbers: [11, 56]
Generated Node #0,3,3: 45:[11, 56] Operation: 75-19=56
Moving to Node #0,3,3
Current State: 45:[11, 56], Operations: ['94-83=11', '75-19=56']
Exploring Operation: 56-11=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
67,
50,
14,
83
] | 11 | [
"67+83=150",
"150/50=3",
"14-3=11"
] | Current State: 11:[67, 50, 14, 83], Operations: []
Exploring Operation: 67+83=150, Resulting Numbers: [50, 14, 150]
Generated Node #2: [50, 14, 150] from Operation: 67+83=150
Current State: 11:[50, 14, 150], Operations: ['67+83=150']
Exploring Operation: 150/50=3, Resulting Numbers: [14, 3]
Generated Node #3: [14, 3] from Operation: 150/50=3
Current State: 11:[14, 3], Operations: ['67+83=150', '150/50=3']
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[67, 50, 14, 83], Operations: []
Exploring Operation: 83-67=16, Resulting Numbers: [50, 14, 16]
Generated Node #0,0: 11:[50, 14, 16] Operation: 83-67=16
Exploring Operation: 67-50=17, Resulting Numbers: [14, 83, 17]
Generated Node #0,1: 11:[14, 83, 17] Operation: 67-50=17
Exploring Operation: 83-50=33, Resulting Numbers: [67, 14, 33]
Generated Node #0,2: 11:[67, 14, 33] Operation: 83-50=33
Moving to Node #0,0
Current State: 11:[50, 14, 16], Operations: ['83-67=16']
Exploring Operation: 50-14=36, Resulting Numbers: [16, 36]
Generated Node #0,0,0: 11:[16, 36] Operation: 50-14=36
Exploring Operation: 50-16=34, Resulting Numbers: [14, 34]
Generated Node #0,0,1: 11:[14, 34] Operation: 50-16=34
Exploring Operation: 16-14=2, Resulting Numbers: [50, 2]
Generated Node #0,0,2: 11:[50, 2] Operation: 16-14=2
Moving to Node #0,1
Current State: 11:[14, 83, 17], Operations: ['67-50=17']
Exploring Operation: 83-14=69, Resulting Numbers: [17, 69]
Generated Node #0,1,0: 11:[17, 69] Operation: 83-14=69
Exploring Operation: 83-17=66, Resulting Numbers: [14, 66]
Generated Node #0,1,1: 11:[14, 66] Operation: 83-17=66
Exploring Operation: 17-14=3, Resulting Numbers: [83, 3]
Generated Node #0,1,2: 11:[83, 3] Operation: 17-14=3
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 11:[14, 66], Operations: ['67-50=17', '83-17=66']
Exploring Operation: 14+66=80, Resulting Numbers: [80]
80,11 unequal: No Solution
Exploring Operation: 66-14=52, Resulting Numbers: [52]
52,11 unequal: No Solution
Exploring Operation: 14*66=924, Resulting Numbers: [924]
924,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 11:[17, 69], Operations: ['67-50=17', '83-14=69']
Exploring Operation: 17+69=86, Resulting Numbers: [86]
86,11 unequal: No Solution
Exploring Operation: 69-17=52, Resulting Numbers: [52]
52,11 unequal: No Solution
Exploring Operation: 17*69=1173, Resulting Numbers: [1173]
1173,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 11:[83, 3], Operations: ['67-50=17', '17-14=3']
Exploring Operation: 83+3=86, Resulting Numbers: [86]
86,11 unequal: No Solution
Exploring Operation: 83*3=249, Resulting Numbers: [249]
249,11 unequal: No Solution
Exploring Operation: 83-3=80, Resulting Numbers: [80]
80,11 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: 11:[67, 14, 33], Operations: ['83-50=33']
Exploring Operation: 33-14=19, Resulting Numbers: [67, 19]
Generated Node #0,2,0: 11:[67, 19] Operation: 33-14=19
Exploring Operation: 67-33=34, Resulting Numbers: [14, 34]
Generated Node #0,2,1: 11:[14, 34] Operation: 67-33=34
Exploring Operation: 67-14=53, Resulting Numbers: [33, 53]
Generated Node #0,2,2: 11:[33, 53] Operation: 67-14=53
Moving to Node #0,0,1
Current State: 11:[14, 34], Operations: ['83-67=16', '50-16=34']
Exploring Operation: 14*34=476, Resulting Numbers: [476]
476,11 unequal: No Solution
Exploring Operation: 14+34=48, Resulting Numbers: [48]
48,11 unequal: No Solution
Exploring Operation: 34-14=20, Resulting Numbers: [20]
20,11 unequal: No Solution
Moving to Node #0,2,1
Current State: 11:[14, 34], Operations: ['83-50=33', '67-33=34']
Exploring Operation: 34-14=20, Resulting Numbers: [20]
20,11 unequal: No Solution
Exploring Operation: 14*34=476, Resulting Numbers: [476]
476,11 unequal: No Solution
Exploring Operation: 14+34=48, Resulting Numbers: [48]
48,11 unequal: No Solution
Moving to Node #0,0,0
Current State: 11:[16, 36], Operations: ['83-67=16', '50-14=36']
Exploring Operation: 36-16=20, Resulting Numbers: [20]
20,11 unequal: No Solution
Exploring Operation: 16*36=576, Resulting Numbers: [576]
576,11 unequal: No Solution
Exploring Operation: 16+36=52, Resulting Numbers: [52]
52,11 unequal: No Solution
Moving to Node #0,0,2
Current State: 11:[50, 2], Operations: ['83-67=16', '16-14=2']
Exploring Operation: 50+2=52, Resulting Numbers: [52]
52,11 unequal: No Solution
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,11 unequal: No Solution
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,11 unequal: No Solution
Moving to Node #0,2,2
Current State: 11:[33, 53], Operations: ['83-50=33', '67-14=53']
Exploring Operation: 33*53=1749, Resulting Numbers: [1749]
1749,11 unequal: No Solution
Exploring Operation: 33+53=86, Resulting Numbers: [86]
86,11 unequal: No Solution
Exploring Operation: 53-33=20, Resulting Numbers: [20]
20,11 unequal: No Solution
Moving to Node #0,2,0
Current State: 11:[67, 19], Operations: ['83-50=33', '33-14=19']
Exploring Operation: 67-19=48, Resulting Numbers: [48]
48,11 unequal: No Solution
Exploring Operation: 67+19=86, Resulting Numbers: [86]
86,11 unequal: No Solution
Exploring Operation: 67*19=1273, Resulting Numbers: [1273]
1273,11 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
56,
68,
66,
36
] | 46 | [
"56+36=92",
"68-66=2",
"92/2=46"
] | Current State: 46:[56, 68, 66, 36], Operations: []
Exploring Operation: 56+36=92, Resulting Numbers: [68, 66, 92]
Generated Node #2: [68, 66, 92] from Operation: 56+36=92
Current State: 46:[68, 66, 92], Operations: ['56+36=92']
Exploring Operation: 68-66=2, Resulting Numbers: [92, 2]
Generated Node #3: [92, 2] from Operation: 68-66=2
Current State: 46:[92, 2], Operations: ['56+36=92', '68-66=2']
Exploring Operation: 92/2=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[56, 68, 66, 36], Operations: []
Exploring Operation: 68-56=12, Resulting Numbers: [66, 36, 12]
Generated Node #0,0: 46:[66, 36, 12] Operation: 68-56=12
Exploring Operation: 66-36=30, Resulting Numbers: [56, 68, 30]
Generated Node #0,1: 46:[56, 68, 30] Operation: 66-36=30
Exploring Operation: 68-66=2, Resulting Numbers: [56, 36, 2]
Generated Node #0,2: 46:[56, 36, 2] Operation: 68-66=2
Exploring Operation: 68-36=32, Resulting Numbers: [56, 66, 32]
Generated Node #0,3: 46:[56, 66, 32] Operation: 68-36=32
Start Sub Search at level 1: Moving to Node #0,2
Current State: 46:[56, 36, 2], Operations: ['68-66=2']
Exploring Operation: 36/2=18, Resulting Numbers: [56, 18]
Generated Node #0,2,0: 46:[56, 18] Operation: 36/2=18
Exploring Operation: 56-2=54, Resulting Numbers: [36, 54]
Generated Node #0,2,1: 46:[36, 54] Operation: 56-2=54
Exploring Operation: 56-36=20, Resulting Numbers: [2, 20]
Generated Node #0,2,2: 46:[2, 20] Operation: 56-36=20
Exploring Operation: 56/2=28, Resulting Numbers: [36, 28]
Generated Node #0,2,3: 46:[36, 28] Operation: 56/2=28
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 46:[2, 20], Operations: ['68-66=2', '56-36=20']
Exploring Operation: 2+20=22, Resulting Numbers: [22]
22,46 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,46 unequal: No Solution
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,46 unequal: No Solution
Exploring Operation: 2*20=40, Resulting Numbers: [40]
40,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 46:[56, 18], Operations: ['68-66=2', '36/2=18']
Exploring Operation: 56+18=74, Resulting Numbers: [74]
74,46 unequal: No Solution
Exploring Operation: 56-18=38, Resulting Numbers: [38]
38,46 unequal: No Solution
Exploring Operation: 56*18=1008, Resulting Numbers: [1008]
1008,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 46:[36, 28], Operations: ['68-66=2', '56/2=28']
Exploring Operation: 36*28=1008, Resulting Numbers: [1008]
1008,46 unequal: No Solution
Exploring Operation: 36+28=64, Resulting Numbers: [64]
64,46 unequal: No Solution
Exploring Operation: 36-28=8, Resulting Numbers: [8]
8,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 46:[36, 54], Operations: ['68-66=2', '56-2=54']
Exploring Operation: 36*54=1944, Resulting Numbers: [1944]
1944,46 unequal: No Solution
Exploring Operation: 54-36=18, Resulting Numbers: [18]
18,46 unequal: No Solution
Exploring Operation: 36+54=90, Resulting Numbers: [90]
90,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 46:[56, 68, 30], Operations: ['66-36=30']
Exploring Operation: 56+30=86, Resulting Numbers: [68, 86]
Generated Node #0,1,0: 46:[68, 86] Operation: 56+30=86
Exploring Operation: 56-30=26, Resulting Numbers: [68, 26]
Generated Node #0,1,1: 46:[68, 26] Operation: 56-30=26
Exploring Operation: 68-30=38, Resulting Numbers: [56, 38]
Generated Node #0,1,2: 46:[56, 38] Operation: 68-30=38
Exploring Operation: 68-56=12, Resulting Numbers: [30, 12]
Generated Node #0,1,3: 46:[30, 12] Operation: 68-56=12
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 46:[30, 12], Operations: ['66-36=30', '68-56=12']
Exploring Operation: 30-12=18, Resulting Numbers: [18]
18,46 unequal: No Solution
Exploring Operation: 30*12=360, Resulting Numbers: [360]
360,46 unequal: No Solution
Exploring Operation: 30+12=42, Resulting Numbers: [42]
42,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 46:[56, 38], Operations: ['66-36=30', '68-30=38']
Exploring Operation: 56-38=18, Resulting Numbers: [18]
18,46 unequal: No Solution
Exploring Operation: 56+38=94, Resulting Numbers: [94]
94,46 unequal: No Solution
Exploring Operation: 56*38=2128, Resulting Numbers: [2128]
2128,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 46:[68, 26], Operations: ['66-36=30', '56-30=26']
Exploring Operation: 68-26=42, Resulting Numbers: [42]
42,46 unequal: No Solution
Exploring Operation: 68+26=94, Resulting Numbers: [94]
94,46 unequal: No Solution
Exploring Operation: 68*26=1768, Resulting Numbers: [1768]
1768,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 46:[68, 86], Operations: ['66-36=30', '56+30=86']
Exploring Operation: 86-68=18, Resulting Numbers: [18]
18,46 unequal: No Solution
Exploring Operation: 68+86=154, Resulting Numbers: [154]
154,46 unequal: No Solution
Exploring Operation: 68*86=5848, Resulting Numbers: [5848]
5848,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 46:[56, 66, 32], Operations: ['68-36=32']
Exploring Operation: 66-56=10, Resulting Numbers: [32, 10]
Generated Node #0,3,0: 46:[32, 10] Operation: 66-56=10
Exploring Operation: 66-32=34, Resulting Numbers: [56, 34]
Generated Node #0,3,1: 46:[56, 34] Operation: 66-32=34
Exploring Operation: 56-32=24, Resulting Numbers: [66, 24]
Generated Node #0,3,2: 46:[66, 24] Operation: 56-32=24
Exploring Operation: 56+32=88, Resulting Numbers: [66, 88]
Generated Node #0,3,3: 46:[66, 88] Operation: 56+32=88
Moving to Node #0,3,0
Current State: 46:[32, 10], Operations: ['68-36=32', '66-56=10']
Exploring Operation: 32-10=22, Resulting Numbers: [22]
22,46 unequal: No Solution
Exploring Operation: 32*10=320, Resulting Numbers: [320]
320,46 unequal: No Solution
Exploring Operation: 32+10=42, Resulting Numbers: [42]
42,46 unequal: No Solution
Moving to Node #0,3,2
Current State: 46:[66, 24], Operations: ['68-36=32', '56-32=24']
Exploring Operation: 66+24=90, Resulting Numbers: [90]
90,46 unequal: No Solution
Exploring Operation: 66*24=1584, Resulting Numbers: [1584]
1584,46 unequal: No Solution
Exploring Operation: 66-24=42, Resulting Numbers: [42]
42,46 unequal: No Solution
Moving to Node #0,3,1
Current State: 46:[56, 34], Operations: ['68-36=32', '66-32=34']
Exploring Operation: 56+34=90, Resulting Numbers: [90]
90,46 unequal: No Solution
Exploring Operation: 56-34=22, Resulting Numbers: [22]
22,46 unequal: No Solution
Exploring Operation: 56*34=1904, Resulting Numbers: [1904]
1904,46 unequal: No Solution
Moving to Node #0,3,3
Current State: 46:[66, 88], Operations: ['68-36=32', '56+32=88']
Exploring Operation: 88-66=22, Resulting Numbers: [22]
22,46 unequal: No Solution
Exploring Operation: 66*88=5808, Resulting Numbers: [5808]
5808,46 unequal: No Solution
Exploring Operation: 66+88=154, Resulting Numbers: [154]
154,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 46:[66, 36, 12], Operations: ['68-56=12']
Exploring Operation: 36/12=3, Resulting Numbers: [66, 3]
Generated Node #0,0,0: 46:[66, 3] Operation: 36/12=3
Exploring Operation: 66-36=30, Resulting Numbers: [12, 30]
Generated Node #0,0,1: 46:[12, 30] Operation: 66-36=30
Exploring Operation: 36-12=24, Resulting Numbers: [66, 24]
Generated Node #0,0,2: 46:[66, 24] Operation: 36-12=24
Exploring Operation: 66-12=54, Resulting Numbers: [36, 54]
Generated Node #0,0,3: 46:[36, 54] Operation: 66-12=54
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 46:[12, 30], Operations: ['68-56=12', '66-36=30']
Exploring Operation: 12*30=360, Resulting Numbers: [360]
360,46 unequal: No Solution
Exploring Operation: 12+30=42, Resulting Numbers: [42]
42,46 unequal: No Solution
Exploring Operation: 30-12=18, Resulting Numbers: [18]
18,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 46:[36, 54], Operations: ['68-56=12', '66-12=54']
Exploring Operation: 54-36=18, Resulting Numbers: [18]
18,46 unequal: No Solution
Exploring Operation: 36+54=90, Resulting Numbers: [90]
90,46 unequal: No Solution
Exploring Operation: 36*54=1944, Resulting Numbers: [1944]
1944,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 46:[66, 3], Operations: ['68-56=12', '36/12=3']
Exploring Operation: 66/3=22, Resulting Numbers: [22]
22,46 unequal: No Solution
Exploring Operation: 66+3=69, Resulting Numbers: [69]
69,46 unequal: No Solution
Exploring Operation: 66-3=63, Resulting Numbers: [63]
63,46 unequal: No Solution
Exploring Operation: 66*3=198, Resulting Numbers: [198]
198,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 46:[66, 24], Operations: ['68-56=12', '36-12=24']
Exploring Operation: 66-24=42, Resulting Numbers: [42]
42,46 unequal: No Solution
Exploring Operation: 66+24=90, Resulting Numbers: [90]
90,46 unequal: No Solution
Exploring Operation: 66*24=1584, Resulting Numbers: [1584]
1584,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
93,
41,
73,
11
] | 72 | [
"93+41=134",
"73-11=62",
"134-62=72"
] | Current State: 72:[93, 41, 73, 11], Operations: []
Exploring Operation: 93+41=134, Resulting Numbers: [73, 11, 134]
Generated Node #2: [73, 11, 134] from Operation: 93+41=134
Current State: 72:[73, 11, 134], Operations: ['93+41=134']
Exploring Operation: 73-11=62, Resulting Numbers: [134, 62]
Generated Node #3: [134, 62] from Operation: 73-11=62
Current State: 72:[134, 62], Operations: ['93+41=134', '73-11=62']
Exploring Operation: 134-62=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[93, 41, 73, 11], Operations: []
Exploring Operation: 93-73=20, Resulting Numbers: [41, 11, 20]
Generated Node #0,0: 72:[41, 11, 20] Operation: 93-73=20
Exploring Operation: 93-11=82, Resulting Numbers: [41, 73, 82]
Generated Node #0,1: 72:[41, 73, 82] Operation: 93-11=82
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[41, 11, 20], Operations: ['93-73=20']
Exploring Operation: 41-20=21, Resulting Numbers: [11, 21]
Generated Node #0,0,0: 72:[11, 21] Operation: 41-20=21
Exploring Operation: 20-11=9, Resulting Numbers: [41, 9]
Generated Node #0,0,1: 72:[41, 9] Operation: 20-11=9
Moving to Node #0,0,0
Current State: 72:[11, 21], Operations: ['93-73=20', '41-20=21']
Exploring Operation: 11+21=32, Resulting Numbers: [32]
32,72 unequal: No Solution
Exploring Operation: 21-11=10, Resulting Numbers: [10]
10,72 unequal: No Solution
Moving to Node #0,0,1
Current State: 72:[41, 9], Operations: ['93-73=20', '20-11=9']
Exploring Operation: 41+9=50, Resulting Numbers: [50]
50,72 unequal: No Solution
Exploring Operation: 41-9=32, Resulting Numbers: [32]
32,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 72:[41, 73, 82], Operations: ['93-11=82']
Exploring Operation: 82/41=2, Resulting Numbers: [73, 2]
Generated Node #0,1,0: 72:[73, 2] Operation: 82/41=2
Exploring Operation: 82-73=9, Resulting Numbers: [41, 9]
Generated Node #0,1,1: 72:[41, 9] Operation: 82-73=9
Moving to Node #0,1,0
Current State: 72:[73, 2], Operations: ['93-11=82', '82/41=2']
Exploring Operation: 73+2=75, Resulting Numbers: [75]
75,72 unequal: No Solution
Exploring Operation: 73-2=71, Resulting Numbers: [71]
71,72 unequal: No Solution
Moving to Node #0,1,1
Current State: 72:[41, 9], Operations: ['93-11=82', '82-73=9']
Exploring Operation: 41+9=50, Resulting Numbers: [50]
50,72 unequal: No Solution
Exploring Operation: 41-9=32, Resulting Numbers: [32]
32,72 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 |
[
38,
78,
2,
18
] | 56 | [
"78-38=40",
"18-2=16",
"40+16=56"
] | Current State: 56:[38, 78, 2, 18], Operations: []
Exploring Operation: 78-38=40, Resulting Numbers: [2, 18, 40]
Generated Node #2: [2, 18, 40] from Operation: 78-38=40
Current State: 56:[2, 18, 40], Operations: ['78-38=40']
Exploring Operation: 18-2=16, Resulting Numbers: [40, 16]
Generated Node #3: [40, 16] from Operation: 18-2=16
Current State: 56:[40, 16], Operations: ['78-38=40', '18-2=16']
Exploring Operation: 40+16=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[38, 78, 2, 18], Operations: []
Exploring Operation: 78-18=60, Resulting Numbers: [38, 2, 60]
Generated Node #0,0: 56:[38, 2, 60] Operation: 78-18=60
Exploring Operation: 78-38=40, Resulting Numbers: [2, 18, 40]
Generated Node #0,1: 56:[2, 18, 40] Operation: 78-38=40
Moving to Node #0,0
Current State: 56:[38, 2, 60], Operations: ['78-18=60']
Exploring Operation: 60-38=22, Resulting Numbers: [2, 22]
Generated Node #0,0,0: 56:[2, 22] Operation: 60-38=22
Exploring Operation: 38/2=19, Resulting Numbers: [60, 19]
Generated Node #0,0,1: 56:[60, 19] Operation: 38/2=19
Moving to Node #0,1
Current State: 56:[2, 18, 40], Operations: ['78-38=40']
Exploring Operation: 18+40=58, Resulting Numbers: [2, 58]
Generated Node #0,1,0: 56:[2, 58] Operation: 18+40=58
Exploring Operation: 40-18=22, Resulting Numbers: [2, 22]
Generated Node #0,1,1: 56:[2, 22] Operation: 40-18=22
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 56:[2, 58], Operations: ['78-38=40', '18+40=58']
Exploring Operation: 58/2=29, Resulting Numbers: [29]
29,56 unequal: No Solution
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[38, 78, 2, 18], Operations: []
Exploring Operation: 78-38=40, Resulting Numbers: [2, 18, 40]
Generated Node #0,1: 56:[2, 18, 40] Operation: 78-38=40
Moving to Node #0,1
Current State: 56:[2, 18, 40], Operations: ['78-38=40']
Exploring Operation: 18+40=58, Resulting Numbers: [2, 58]
Generated Node #0,1,0: 56:[2, 58] Operation: 18+40=58
Moving to Node #0,1,0
Current State: 56:[2, 58], Operations: ['78-38=40', '18+40=58']
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
96,
9,
96,
83
] | 92 | [
"96+9=105",
"96-83=13",
"105-13=92"
] | Current State: 92:[96, 9, 96, 83], Operations: []
Exploring Operation: 96+9=105, Resulting Numbers: [83, 105]
Generated Node #2: [83, 105] from Operation: 96+9=105
Current State: 92:[83, 105], Operations: ['96+9=105']
Exploring Operation: 96-83=13, Resulting Numbers: [105, 13]
Generated Node #3: [105, 13] from Operation: 96-83=13
Current State: 92:[105, 13], Operations: ['96+9=105', '96-83=13']
Exploring Operation: 105-13=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[96, 9, 96, 83], Operations: []
Exploring Operation: 9+83=92, Resulting Numbers: [96, 96, 92]
Generated Node #0,0: 92:[96, 96, 92] Operation: 9+83=92
Exploring Operation: 96-9=87, Resulting Numbers: [96, 83, 87]
Generated Node #0,1: 92:[96, 83, 87] Operation: 96-9=87
Exploring Operation: 96-96=0, Resulting Numbers: [9, 83, 0]
Generated Node #0,2: 92:[9, 83, 0] Operation: 96-96=0
Exploring Operation: 96/96=1, Resulting Numbers: [9, 83, 1]
Generated Node #0,3: 92:[9, 83, 1] Operation: 96/96=1
Moving to Node #0,0
Current State: 92:[96, 96, 92], Operations: ['9+83=92']
Exploring Operation: 96/96=1, Resulting Numbers: [92, 1]
Generated Node #0,0,0: 92:[92, 1] Operation: 96/96=1
Exploring Operation: 96-92=4, Resulting Numbers: [96, 4]
Generated Node #0,0,1: 92:[96, 4] Operation: 96-92=4
Exploring Operation: 96-96=0, Resulting Numbers: [92, 0]
Generated Node #0,0,2: 92:[92, 0] Operation: 96-96=0
Exploring Operation: 96-92=4, Resulting Numbers: [96, 4]
Generated Node #0,0,3: 92:[96, 4] Operation: 96-92=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 92:[92, 1], Operations: ['9+83=92', '96/96=1']
Exploring Operation: 92+1=93, Resulting Numbers: [93]
93,92 unequal: No Solution
Exploring Operation: 92-1=91, Resulting Numbers: [91]
91,92 unequal: No Solution
Exploring Operation: 92*1=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[96, 9, 96, 83], Operations: []
Exploring Operation: 9+83=92, Resulting Numbers: [96, 96, 92]
Generated Node #0,0: 92:[96, 96, 92] Operation: 9+83=92
Moving to Node #0,0
Current State: 92:[96, 96, 92], Operations: ['9+83=92']
Exploring Operation: 96/96=1, Resulting Numbers: [92, 1]
Generated Node #0,0,0: 92:[92, 1] Operation: 96/96=1
Moving to Node #0,0,0
Current State: 92:[92, 1], Operations: ['9+83=92', '96/96=1']
Exploring Operation: 92*1=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
18,
41,
85,
38
] | 70 | [
"41-18=23",
"85-38=47",
"23+47=70"
] | Current State: 70:[18, 41, 85, 38], Operations: []
Exploring Operation: 41-18=23, Resulting Numbers: [85, 38, 23]
Generated Node #2: [85, 38, 23] from Operation: 41-18=23
Current State: 70:[85, 38, 23], Operations: ['41-18=23']
Exploring Operation: 85-38=47, Resulting Numbers: [23, 47]
Generated Node #3: [23, 47] from Operation: 85-38=47
Current State: 70:[23, 47], Operations: ['41-18=23', '85-38=47']
Exploring Operation: 23+47=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[18, 41, 85, 38], Operations: []
Exploring Operation: 85-18=67, Resulting Numbers: [41, 38, 67]
Generated Node #0,0: 70:[41, 38, 67] Operation: 85-18=67
Moving to Node #0,0
Current State: 70:[41, 38, 67], Operations: ['85-18=67']
Exploring Operation: 41-38=3, Resulting Numbers: [67, 3]
Generated Node #0,0,0: 70:[67, 3] Operation: 41-38=3
Moving to Node #0,0,0
Current State: 70:[67, 3], Operations: ['85-18=67', '41-38=3']
Exploring Operation: 67+3=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[18, 41, 85, 38], Operations: []
Exploring Operation: 85-18=67, Resulting Numbers: [41, 38, 67]
Generated Node #0,0: 70:[41, 38, 67] Operation: 85-18=67
Moving to Node #0,0
Current State: 70:[41, 38, 67], Operations: ['85-18=67']
Exploring Operation: 41-38=3, Resulting Numbers: [67, 3]
Generated Node #0,0,0: 70:[67, 3] Operation: 41-38=3
Moving to Node #0,0,0
Current State: 70:[67, 3], Operations: ['85-18=67', '41-38=3']
Exploring Operation: 67+3=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
8,
66,
70,
27
] | 76 | [
"27-8=19",
"70-66=4",
"19*4=76"
] | Current State: 76:[8, 66, 70, 27], Operations: []
Exploring Operation: 27-8=19, Resulting Numbers: [66, 70, 19]
Generated Node #2: [66, 70, 19] from Operation: 27-8=19
Current State: 76:[66, 70, 19], Operations: ['27-8=19']
Exploring Operation: 70-66=4, Resulting Numbers: [19, 4]
Generated Node #3: [19, 4] from Operation: 70-66=4
Current State: 76:[19, 4], Operations: ['27-8=19', '70-66=4']
Exploring Operation: 19*4=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[8, 66, 70, 27], Operations: []
Exploring Operation: 27-8=19, Resulting Numbers: [66, 70, 19]
Generated Node #0,0: 76:[66, 70, 19] Operation: 27-8=19
Exploring Operation: 66-27=39, Resulting Numbers: [8, 70, 39]
Generated Node #0,1: 76:[8, 70, 39] Operation: 66-27=39
Exploring Operation: 8+66=74, Resulting Numbers: [70, 27, 74]
Generated Node #0,2: 76:[70, 27, 74] Operation: 8+66=74
Exploring Operation: 8+27=35, Resulting Numbers: [66, 70, 35]
Generated Node #0,3: 76:[66, 70, 35] Operation: 8+27=35
Exploring Operation: 70-66=4, Resulting Numbers: [8, 27, 4]
Generated Node #0,4: 76:[8, 27, 4] Operation: 70-66=4
Moving to Node #0,1
Current State: 76:[8, 70, 39], Operations: ['66-27=39']
Exploring Operation: 70-8=62, Resulting Numbers: [39, 62]
Generated Node #0,1,0: 76:[39, 62] Operation: 70-8=62
Exploring Operation: 70-39=31, Resulting Numbers: [8, 31]
Generated Node #0,1,1: 76:[8, 31] Operation: 70-39=31
Exploring Operation: 8+70=78, Resulting Numbers: [39, 78]
Generated Node #0,1,2: 76:[39, 78] Operation: 8+70=78
Exploring Operation: 8+39=47, Resulting Numbers: [70, 47]
Generated Node #0,1,3: 76:[70, 47] Operation: 8+39=47
Exploring Operation: 39-8=31, Resulting Numbers: [70, 31]
Generated Node #0,1,4: 76:[70, 31] Operation: 39-8=31
Moving to Node #0,4
Current State: 76:[8, 27, 4], Operations: ['70-66=4']
Exploring Operation: 27-4=23, Resulting Numbers: [8, 23]
Generated Node #0,4,0: 76:[8, 23] Operation: 27-4=23
Exploring Operation: 8-4=4, Resulting Numbers: [27, 4]
Generated Node #0,4,1: 76:[27, 4] Operation: 8-4=4
Exploring Operation: 8+27=35, Resulting Numbers: [4, 35]
Generated Node #0,4,2: 76:[4, 35] Operation: 8+27=35
Exploring Operation: 8/4=2, Resulting Numbers: [27, 2]
Generated Node #0,4,3: 76:[27, 2] Operation: 8/4=2
Exploring Operation: 27-8=19, Resulting Numbers: [4, 19]
Generated Node #0,4,4: 76:[4, 19] Operation: 27-8=19
Moving to Node #0,0
Current State: 76:[66, 70, 19], Operations: ['27-8=19']
Exploring Operation: 66+19=85, Resulting Numbers: [70, 85]
Generated Node #0,0,0: 76:[70, 85] Operation: 66+19=85
Exploring Operation: 66-19=47, Resulting Numbers: [70, 47]
Generated Node #0,0,1: 76:[70, 47] Operation: 66-19=47
Exploring Operation: 70-19=51, Resulting Numbers: [66, 51]
Generated Node #0,0,2: 76:[66, 51] Operation: 70-19=51
Exploring Operation: 70+19=89, Resulting Numbers: [66, 89]
Generated Node #0,0,3: 76:[66, 89] Operation: 70+19=89
Exploring Operation: 70-66=4, Resulting Numbers: [19, 4]
Generated Node #0,0,4: 76:[19, 4] Operation: 70-66=4
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 76:[19, 4], Operations: ['27-8=19', '70-66=4']
Exploring Operation: 19-4=15, Resulting Numbers: [15]
15,76 unequal: No Solution
Exploring Operation: 19+4=23, Resulting Numbers: [23]
23,76 unequal: No Solution
Exploring Operation: 19*4=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[8, 66, 70, 27], Operations: []
Exploring Operation: 27-8=19, Resulting Numbers: [66, 70, 19]
Generated Node #0,0: 76:[66, 70, 19] Operation: 27-8=19
Moving to Node #0,0
Current State: 76:[66, 70, 19], Operations: ['27-8=19']
Exploring Operation: 70-66=4, Resulting Numbers: [19, 4]
Generated Node #0,0,4: 76:[19, 4] Operation: 70-66=4
Moving to Node #0,0,4
Current State: 76:[19, 4], Operations: ['27-8=19', '70-66=4']
Exploring Operation: 19*4=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_5 | mult_heuristic |
[
19,
65,
76,
14
] | 70 | [
"19+65=84",
"84/14=6",
"76-6=70"
] | Current State: 70:[19, 65, 76, 14], Operations: []
Exploring Operation: 19+65=84, Resulting Numbers: [76, 14, 84]
Generated Node #2: [76, 14, 84] from Operation: 19+65=84
Current State: 70:[76, 14, 84], Operations: ['19+65=84']
Exploring Operation: 84/14=6, Resulting Numbers: [76, 6]
Generated Node #3: [76, 6] from Operation: 84/14=6
Current State: 70:[76, 6], Operations: ['19+65=84', '84/14=6']
Exploring Operation: 76-6=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[19, 65, 76, 14], Operations: []
Exploring Operation: 76-65=11, Resulting Numbers: [19, 14, 11]
Generated Node #0,0: 70:[19, 14, 11] Operation: 76-65=11
Exploring Operation: 76/19=4, Resulting Numbers: [65, 14, 4]
Generated Node #0,1: 70:[65, 14, 4] Operation: 76/19=4
Exploring Operation: 19-14=5, Resulting Numbers: [65, 76, 5]
Generated Node #0,2: 70:[65, 76, 5] Operation: 19-14=5
Moving to Node #0,0
Current State: 70:[19, 14, 11], Operations: ['76-65=11']
Exploring Operation: 19-14=5, Resulting Numbers: [11, 5]
Generated Node #0,0,0: 70:[11, 5] Operation: 19-14=5
Exploring Operation: 19+14=33, Resulting Numbers: [11, 33]
Generated Node #0,0,1: 70:[11, 33] Operation: 19+14=33
Exploring Operation: 19-11=8, Resulting Numbers: [14, 8]
Generated Node #0,0,2: 70:[14, 8] Operation: 19-11=8
Moving to Node #0,1
Current State: 70:[65, 14, 4], Operations: ['76/19=4']
Exploring Operation: 65-4=61, Resulting Numbers: [14, 61]
Generated Node #0,1,0: 70:[14, 61] Operation: 65-4=61
Exploring Operation: 65+4=69, Resulting Numbers: [14, 69]
Generated Node #0,1,1: 70:[14, 69] Operation: 65+4=69
Exploring Operation: 14-4=10, Resulting Numbers: [65, 10]
Generated Node #0,1,2: 70:[65, 10] Operation: 14-4=10
Moving to Node #0,2
Current State: 70:[65, 76, 5], Operations: ['19-14=5']
Exploring Operation: 76-5=71, Resulting Numbers: [65, 71]
Generated Node #0,2,0: 70:[65, 71] Operation: 76-5=71
Exploring Operation: 65+5=70, Resulting Numbers: [76, 70]
Generated Node #0,2,1: 70:[76, 70] Operation: 65+5=70
Exploring Operation: 76-65=11, Resulting Numbers: [5, 11]
Generated Node #0,2,2: 70:[5, 11] Operation: 76-65=11
Moving to Node #0,0,0
Current State: 70:[11, 5], Operations: ['76-65=11', '19-14=5']
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,70 unequal: No Solution
Exploring Operation: 11+5=16, Resulting Numbers: [16]
16,70 unequal: No Solution
Exploring Operation: 11*5=55, Resulting Numbers: [55]
55,70 unequal: No Solution
Moving to Node #0,2,2
Current State: 70:[5, 11], Operations: ['19-14=5', '76-65=11']
Exploring Operation: 5+11=16, Resulting Numbers: [16]
16,70 unequal: No Solution
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,70 unequal: No Solution
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,70 unequal: No Solution
Moving to Node #0,0,2
Current State: 70:[14, 8], Operations: ['76-65=11', '19-11=8']
Exploring Operation: 14+8=22, Resulting Numbers: [22]
22,70 unequal: No Solution
Exploring Operation: 14-8=6, Resulting Numbers: [6]
6,70 unequal: No Solution
Exploring Operation: 14*8=112, Resulting Numbers: [112]
112,70 unequal: No Solution
Moving to Node #0,1,1
Current State: 70:[14, 69], Operations: ['76/19=4', '65+4=69']
Exploring Operation: 69-14=55, Resulting Numbers: [55]
55,70 unequal: No Solution
Exploring Operation: 14+69=83, Resulting Numbers: [83]
83,70 unequal: No Solution
Exploring Operation: 14*69=966, Resulting Numbers: [966]
966,70 unequal: No Solution
Moving to Node #0,0,1
Current State: 70:[11, 33], Operations: ['76-65=11', '19+14=33']
Exploring Operation: 33-11=22, Resulting Numbers: [22]
22,70 unequal: No Solution
Exploring Operation: 11+33=44, Resulting Numbers: [44]
44,70 unequal: No Solution
Exploring Operation: 33/11=3, Resulting Numbers: [3]
3,70 unequal: No Solution
Moving to Node #0,1,2
Current State: 70:[65, 10], Operations: ['76/19=4', '14-4=10']
Exploring Operation: 65*10=650, Resulting Numbers: [650]
650,70 unequal: No Solution
Exploring Operation: 65+10=75, Resulting Numbers: [75]
75,70 unequal: No Solution
Exploring Operation: 65-10=55, Resulting Numbers: [55]
55,70 unequal: No Solution
Moving to Node #0,2,0
Current State: 70:[65, 71], Operations: ['19-14=5', '76-5=71']
Exploring Operation: 65+71=136, Resulting Numbers: [136]
136,70 unequal: No Solution
Exploring Operation: 71-65=6, Resulting Numbers: [6]
6,70 unequal: No Solution
Exploring Operation: 65*71=4615, Resulting Numbers: [4615]
4615,70 unequal: No Solution
Moving to Node #0,2,1
Current State: 70:[76, 70], Operations: ['19-14=5', '65+5=70']
Exploring Operation: 76*70=5320, Resulting Numbers: [5320]
5320,70 unequal: No Solution
Exploring Operation: 76+70=146, Resulting Numbers: [146]
146,70 unequal: No Solution
Exploring Operation: 76-70=6, Resulting Numbers: [6]
6,70 unequal: No Solution
Moving to Node #0,1,0
Current State: 70:[14, 61], Operations: ['76/19=4', '65-4=61']
Exploring Operation: 14*61=854, Resulting Numbers: [854]
854,70 unequal: No Solution
Exploring Operation: 14+61=75, Resulting Numbers: [75]
75,70 unequal: No Solution
Exploring Operation: 61-14=47, Resulting Numbers: [47]
47,70 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
6,
76,
80,
79
] | 53 | [
"76+80=156",
"156/6=26",
"79-26=53"
] | Current State: 53:[6, 76, 80, 79], Operations: []
Exploring Operation: 76+80=156, Resulting Numbers: [6, 79, 156]
Generated Node #2: [6, 79, 156] from Operation: 76+80=156
Current State: 53:[6, 79, 156], Operations: ['76+80=156']
Exploring Operation: 156/6=26, Resulting Numbers: [79, 26]
Generated Node #3: [79, 26] from Operation: 156/6=26
Current State: 53:[79, 26], Operations: ['76+80=156', '156/6=26']
Exploring Operation: 79-26=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[6, 76, 80, 79], Operations: []
Exploring Operation: 76-6=70, Resulting Numbers: [80, 79, 70]
Generated Node #0,0: 53:[80, 79, 70] Operation: 76-6=70
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[80, 79, 70], Operations: ['76-6=70']
Exploring Operation: 80-79=1, Resulting Numbers: [70, 1]
Generated Node #0,0,0: 53:[70, 1] Operation: 80-79=1
Moving to Node #0,0,0
Current State: 53:[70, 1], Operations: ['76-6=70', '80-79=1']
Exploring Operation: 70-1=69, Resulting Numbers: [69]
69,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
2,
62,
37,
89
] | 77 | [
"2*37=74",
"62+89=151",
"151-74=77"
] | Current State: 77:[2, 62, 37, 89], Operations: []
Exploring Operation: 2*37=74, Resulting Numbers: [62, 89, 74]
Generated Node #2: [62, 89, 74] from Operation: 2*37=74
Current State: 77:[62, 89, 74], Operations: ['2*37=74']
Exploring Operation: 62+89=151, Resulting Numbers: [74, 151]
Generated Node #3: [74, 151] from Operation: 62+89=151
Current State: 77:[74, 151], Operations: ['2*37=74', '62+89=151']
Exploring Operation: 151-74=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[2, 62, 37, 89], Operations: []
Exploring Operation: 62-37=25, Resulting Numbers: [2, 89, 25]
Generated Node #0,0: 77:[2, 89, 25] Operation: 62-37=25
Exploring Operation: 62+37=99, Resulting Numbers: [2, 89, 99]
Generated Node #0,1: 77:[2, 89, 99] Operation: 62+37=99
Exploring Operation: 2*37=74, Resulting Numbers: [62, 89, 74]
Generated Node #0,2: 77:[62, 89, 74] Operation: 2*37=74
Start Sub Search at level 1: Moving to Node #0,2
Current State: 77:[62, 89, 74], Operations: ['2*37=74']
Exploring Operation: 74-62=12, Resulting Numbers: [89, 12]
Generated Node #0,2,0: 77:[89, 12] Operation: 74-62=12
Exploring Operation: 89-62=27, Resulting Numbers: [74, 27]
Generated Node #0,2,1: 77:[74, 27] Operation: 89-62=27
Exploring Operation: 89-74=15, Resulting Numbers: [62, 15]
Generated Node #0,2,2: 77:[62, 15] Operation: 89-74=15
Moving to Node #0,2,0
Current State: 77:[89, 12], Operations: ['2*37=74', '74-62=12']
Exploring Operation: 89*12=1068, Resulting Numbers: [1068]
1068,77 unequal: No Solution
Exploring Operation: 89+12=101, Resulting Numbers: [101]
101,77 unequal: No Solution
Exploring Operation: 89-12=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[2, 62, 37, 89], Operations: []
Exploring Operation: 2*37=74, Resulting Numbers: [62, 89, 74]
Generated Node #0,2: 77:[62, 89, 74] Operation: 2*37=74
Moving to Node #0,2
Current State: 77:[62, 89, 74], Operations: ['2*37=74']
Exploring Operation: 74-62=12, Resulting Numbers: [89, 12]
Generated Node #0,2,0: 77:[89, 12] Operation: 74-62=12
Moving to Node #0,2,0
Current State: 77:[89, 12], Operations: ['2*37=74', '74-62=12']
Exploring Operation: 89-12=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
42,
83,
19,
31
] | 75 | [
"42+83=125",
"19+31=50",
"125-50=75"
] | Current State: 75:[42, 83, 19, 31], Operations: []
Exploring Operation: 42+83=125, Resulting Numbers: [19, 31, 125]
Generated Node #2: [19, 31, 125] from Operation: 42+83=125
Current State: 75:[19, 31, 125], Operations: ['42+83=125']
Exploring Operation: 19+31=50, Resulting Numbers: [125, 50]
Generated Node #3: [125, 50] from Operation: 19+31=50
Current State: 75:[125, 50], Operations: ['42+83=125', '19+31=50']
Exploring Operation: 125-50=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[42, 83, 19, 31], Operations: []
Exploring Operation: 42-31=11, Resulting Numbers: [83, 19, 11]
Generated Node #0,0: 75:[83, 19, 11] Operation: 42-31=11
Exploring Operation: 42-19=23, Resulting Numbers: [83, 31, 23]
Generated Node #0,1: 75:[83, 31, 23] Operation: 42-19=23
Exploring Operation: 42+31=73, Resulting Numbers: [83, 19, 73]
Generated Node #0,2: 75:[83, 19, 73] Operation: 42+31=73
Moving to Node #0,2
Current State: 75:[83, 19, 73], Operations: ['42+31=73']
Exploring Operation: 83-73=10, Resulting Numbers: [19, 10]
Generated Node #0,2,0: 75:[19, 10] Operation: 83-73=10
Exploring Operation: 83-19=64, Resulting Numbers: [73, 64]
Generated Node #0,2,1: 75:[73, 64] Operation: 83-19=64
Exploring Operation: 19+73=92, Resulting Numbers: [83, 92]
Generated Node #0,2,2: 75:[83, 92] Operation: 19+73=92
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 75:[19, 10], Operations: ['42+31=73', '83-73=10']
Exploring Operation: 19-10=9, Resulting Numbers: [9]
9,75 unequal: No Solution
Exploring Operation: 19*10=190, Resulting Numbers: [190]
190,75 unequal: No Solution
Exploring Operation: 19+10=29, Resulting Numbers: [29]
29,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 75:[73, 64], Operations: ['42+31=73', '83-19=64']
Exploring Operation: 73-64=9, Resulting Numbers: [9]
9,75 unequal: No Solution
Exploring Operation: 73+64=137, Resulting Numbers: [137]
137,75 unequal: No Solution
Exploring Operation: 73*64=4672, Resulting Numbers: [4672]
4672,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 75:[83, 92], Operations: ['42+31=73', '19+73=92']
Exploring Operation: 83*92=7636, Resulting Numbers: [7636]
7636,75 unequal: No Solution
Exploring Operation: 92-83=9, Resulting Numbers: [9]
9,75 unequal: No Solution
Exploring Operation: 83+92=175, Resulting Numbers: [175]
175,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 75:[83, 19, 11], Operations: ['42-31=11']
Exploring Operation: 83-11=72, Resulting Numbers: [19, 72]
Generated Node #0,0,0: 75:[19, 72] Operation: 83-11=72
Exploring Operation: 19-11=8, Resulting Numbers: [83, 8]
Generated Node #0,0,1: 75:[83, 8] Operation: 19-11=8
Exploring Operation: 19+11=30, Resulting Numbers: [83, 30]
Generated Node #0,0,2: 75:[83, 30] Operation: 19+11=30
Moving to Node #0,1
Current State: 75:[83, 31, 23], Operations: ['42-19=23']
Exploring Operation: 31-23=8, Resulting Numbers: [83, 8]
Generated Node #0,1,0: 75:[83, 8] Operation: 31-23=8
Exploring Operation: 83-23=60, Resulting Numbers: [31, 60]
Generated Node #0,1,1: 75:[31, 60] Operation: 83-23=60
Exploring Operation: 83-31=52, Resulting Numbers: [23, 52]
Generated Node #0,1,2: 75:[23, 52] Operation: 83-31=52
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 75:[83, 8], Operations: ['42-19=23', '31-23=8']
Exploring Operation: 83+8=91, Resulting Numbers: [91]
91,75 unequal: No Solution
Exploring Operation: 83-8=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[42, 83, 19, 31], Operations: []
Exploring Operation: 42-19=23, Resulting Numbers: [83, 31, 23]
Generated Node #0,1: 75:[83, 31, 23] Operation: 42-19=23
Moving to Node #0,1
Current State: 75:[83, 31, 23], Operations: ['42-19=23']
Exploring Operation: 31-23=8, Resulting Numbers: [83, 8]
Generated Node #0,1,0: 75:[83, 8] Operation: 31-23=8
Moving to Node #0,1,0
Current State: 75:[83, 8], Operations: ['42-19=23', '31-23=8']
Exploring Operation: 83-8=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_3 | mult_heuristic |
[
22,
28,
30,
19
] | 66 | [
"28-22=6",
"30-19=11",
"6*11=66"
] | Current State: 66:[22, 28, 30, 19], Operations: []
Exploring Operation: 28-22=6, Resulting Numbers: [30, 19, 6]
Generated Node #2: [30, 19, 6] from Operation: 28-22=6
Current State: 66:[30, 19, 6], Operations: ['28-22=6']
Exploring Operation: 30-19=11, Resulting Numbers: [6, 11]
Generated Node #3: [6, 11] from Operation: 30-19=11
Current State: 66:[6, 11], Operations: ['28-22=6', '30-19=11']
Exploring Operation: 6*11=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[22, 28, 30, 19], Operations: []
Exploring Operation: 30-28=2, Resulting Numbers: [22, 19, 2]
Generated Node #0,0: 66:[22, 19, 2] Operation: 30-28=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[22, 19, 2], Operations: ['30-28=2']
Exploring Operation: 22-19=3, Resulting Numbers: [2, 3]
Generated Node #0,0,0: 66:[2, 3] Operation: 22-19=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 66:[2, 3], Operations: ['30-28=2', '22-19=3']
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,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_1 | mult_heuristic |
[
45,
77,
94,
85
] | 57 | [
"45+77=122",
"94+85=179",
"179-122=57"
] | Current State: 57:[45, 77, 94, 85], Operations: []
Exploring Operation: 45+77=122, Resulting Numbers: [94, 85, 122]
Generated Node #2: [94, 85, 122] from Operation: 45+77=122
Current State: 57:[94, 85, 122], Operations: ['45+77=122']
Exploring Operation: 94+85=179, Resulting Numbers: [122, 179]
Generated Node #3: [122, 179] from Operation: 94+85=179
Current State: 57:[122, 179], Operations: ['45+77=122', '94+85=179']
Exploring Operation: 179-122=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[45, 77, 94, 85], Operations: []
Exploring Operation: 85-77=8, Resulting Numbers: [45, 94, 8]
Generated Node #0,0: 57:[45, 94, 8] Operation: 85-77=8
Exploring Operation: 94-77=17, Resulting Numbers: [45, 85, 17]
Generated Node #0,1: 57:[45, 85, 17] Operation: 94-77=17
Exploring Operation: 94-85=9, Resulting Numbers: [45, 77, 9]
Generated Node #0,2: 57:[45, 77, 9] Operation: 94-85=9
Exploring Operation: 94-45=49, Resulting Numbers: [77, 85, 49]
Generated Node #0,3: 57:[77, 85, 49] Operation: 94-45=49
Moving to Node #0,2
Current State: 57:[45, 77, 9], Operations: ['94-85=9']
Exploring Operation: 77-9=68, Resulting Numbers: [45, 68]
Generated Node #0,2,0: 57:[45, 68] Operation: 77-9=68
Exploring Operation: 45/9=5, Resulting Numbers: [77, 5]
Generated Node #0,2,1: 57:[77, 5] Operation: 45/9=5
Exploring Operation: 77-45=32, Resulting Numbers: [9, 32]
Generated Node #0,2,2: 57:[9, 32] Operation: 77-45=32
Exploring Operation: 45+9=54, Resulting Numbers: [77, 54]
Generated Node #0,2,3: 57:[77, 54] Operation: 45+9=54
Moving to Node #0,1
Current State: 57:[45, 85, 17], Operations: ['94-77=17']
Exploring Operation: 85-17=68, Resulting Numbers: [45, 68]
Generated Node #0,1,0: 57:[45, 68] Operation: 85-17=68
Exploring Operation: 85/17=5, Resulting Numbers: [45, 5]
Generated Node #0,1,1: 57:[45, 5] Operation: 85/17=5
Exploring Operation: 45+17=62, Resulting Numbers: [85, 62]
Generated Node #0,1,2: 57:[85, 62] Operation: 45+17=62
Exploring Operation: 85-45=40, Resulting Numbers: [17, 40]
Generated Node #0,1,3: 57:[17, 40] Operation: 85-45=40
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 57:[45, 5], Operations: ['94-77=17', '85/17=5']
Exploring Operation: 45/5=9, Resulting Numbers: [9]
9,57 unequal: No Solution
Exploring Operation: 45*5=225, Resulting Numbers: [225]
225,57 unequal: No Solution
Exploring Operation: 45-5=40, Resulting Numbers: [40]
40,57 unequal: No Solution
Exploring Operation: 45+5=50, Resulting Numbers: [50]
50,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 57:[17, 40], Operations: ['94-77=17', '85-45=40']
Exploring Operation: 40-17=23, Resulting Numbers: [23]
23,57 unequal: No Solution
Exploring Operation: 17+40=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[45, 77, 94, 85], Operations: []
Exploring Operation: 94-77=17, Resulting Numbers: [45, 85, 17]
Generated Node #0,1: 57:[45, 85, 17] Operation: 94-77=17
Moving to Node #0,1
Current State: 57:[45, 85, 17], Operations: ['94-77=17']
Exploring Operation: 85-45=40, Resulting Numbers: [17, 40]
Generated Node #0,1,3: 57:[17, 40] Operation: 85-45=40
Moving to Node #0,1,3
Current State: 57:[17, 40], Operations: ['94-77=17', '85-45=40']
Exploring Operation: 17+40=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_4 | sum_heuristic |
[
77,
55,
11,
21
] | 12 | [
"77-55=22",
"21-11=10",
"22-10=12"
] | Current State: 12:[77, 55, 11, 21], Operations: []
Exploring Operation: 77-55=22, Resulting Numbers: [11, 21, 22]
Generated Node #2: [11, 21, 22] from Operation: 77-55=22
Current State: 12:[11, 21, 22], Operations: ['77-55=22']
Exploring Operation: 21-11=10, Resulting Numbers: [22, 10]
Generated Node #3: [22, 10] from Operation: 21-11=10
Current State: 12:[22, 10], Operations: ['77-55=22', '21-11=10']
Exploring Operation: 22-10=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[77, 55, 11, 21], Operations: []
Exploring Operation: 77-21=56, Resulting Numbers: [55, 11, 56]
Generated Node #0,0: 12:[55, 11, 56] Operation: 77-21=56
Exploring Operation: 55/11=5, Resulting Numbers: [77, 21, 5]
Generated Node #0,1: 12:[77, 21, 5] Operation: 55/11=5
Exploring Operation: 55-21=34, Resulting Numbers: [77, 11, 34]
Generated Node #0,2: 12:[77, 11, 34] Operation: 55-21=34
Exploring Operation: 77-55=22, Resulting Numbers: [11, 21, 22]
Generated Node #0,3: 12:[11, 21, 22] Operation: 77-55=22
Exploring Operation: 77/11=7, Resulting Numbers: [55, 21, 7]
Generated Node #0,4: 12:[55, 21, 7] Operation: 77/11=7
Moving to Node #0,3
Current State: 12:[11, 21, 22], Operations: ['77-55=22']
Exploring Operation: 21-11=10, Resulting Numbers: [22, 10]
Generated Node #0,3,0: 12:[22, 10] Operation: 21-11=10
Exploring Operation: 22-11=11, Resulting Numbers: [21, 11]
Generated Node #0,3,1: 12:[21, 11] Operation: 22-11=11
Exploring Operation: 22-21=1, Resulting Numbers: [11, 1]
Generated Node #0,3,2: 12:[11, 1] Operation: 22-21=1
Exploring Operation: 11+21=32, Resulting Numbers: [22, 32]
Generated Node #0,3,3: 12:[22, 32] Operation: 11+21=32
Exploring Operation: 22/11=2, Resulting Numbers: [21, 2]
Generated Node #0,3,4: 12:[21, 2] Operation: 22/11=2
Moving to Node #0,4
Current State: 12:[55, 21, 7], Operations: ['77/11=7']
Exploring Operation: 21-7=14, Resulting Numbers: [55, 14]
Generated Node #0,4,0: 12:[55, 14] Operation: 21-7=14
Exploring Operation: 55-21=34, Resulting Numbers: [7, 34]
Generated Node #0,4,1: 12:[7, 34] Operation: 55-21=34
Exploring Operation: 21/7=3, Resulting Numbers: [55, 3]
Generated Node #0,4,2: 12:[55, 3] Operation: 21/7=3
Exploring Operation: 55+7=62, Resulting Numbers: [21, 62]
Generated Node #0,4,3: 12:[21, 62] Operation: 55+7=62
Exploring Operation: 55-7=48, Resulting Numbers: [21, 48]
Generated Node #0,4,4: 12:[21, 48] Operation: 55-7=48
Moving to Node #0,1
Current State: 12:[77, 21, 5], Operations: ['55/11=5']
Exploring Operation: 77+5=82, Resulting Numbers: [21, 82]
Generated Node #0,1,0: 12:[21, 82] Operation: 77+5=82
Exploring Operation: 21-5=16, Resulting Numbers: [77, 16]
Generated Node #0,1,1: 12:[77, 16] Operation: 21-5=16
Exploring Operation: 21+5=26, Resulting Numbers: [77, 26]
Generated Node #0,1,2: 12:[77, 26] Operation: 21+5=26
Exploring Operation: 77-21=56, Resulting Numbers: [5, 56]
Generated Node #0,1,3: 12:[5, 56] Operation: 77-21=56
Exploring Operation: 77-5=72, Resulting Numbers: [21, 72]
Generated Node #0,1,4: 12:[21, 72] Operation: 77-5=72
Moving to Node #0,0
Current State: 12:[55, 11, 56], Operations: ['77-21=56']
Exploring Operation: 55/11=5, Resulting Numbers: [56, 5]
Generated Node #0,0,0: 12:[56, 5] Operation: 55/11=5
Exploring Operation: 55-11=44, Resulting Numbers: [56, 44]
Generated Node #0,0,1: 12:[56, 44] Operation: 55-11=44
Exploring Operation: 55+11=66, Resulting Numbers: [56, 66]
Generated Node #0,0,2: 12:[56, 66] Operation: 55+11=66
Exploring Operation: 56-11=45, Resulting Numbers: [55, 45]
Generated Node #0,0,3: 12:[55, 45] Operation: 56-11=45
Exploring Operation: 56-55=1, Resulting Numbers: [11, 1]
Generated Node #0,0,4: 12:[11, 1] Operation: 56-55=1
Moving to Node #0,2
Current State: 12:[77, 11, 34], Operations: ['55-21=34']
Exploring Operation: 77-11=66, Resulting Numbers: [34, 66]
Generated Node #0,2,0: 12:[34, 66] Operation: 77-11=66
Exploring Operation: 77+11=88, Resulting Numbers: [34, 88]
Generated Node #0,2,1: 12:[34, 88] Operation: 77+11=88
Exploring Operation: 77/11=7, Resulting Numbers: [34, 7]
Generated Node #0,2,2: 12:[34, 7] Operation: 77/11=7
Exploring Operation: 77-34=43, Resulting Numbers: [11, 43]
Generated Node #0,2,3: 12:[11, 43] Operation: 77-34=43
Exploring Operation: 34-11=23, Resulting Numbers: [77, 23]
Generated Node #0,2,4: 12:[77, 23] Operation: 34-11=23
Moving to Node #0,3,2
Current State: 12:[11, 1], Operations: ['77-55=22', '22-21=1']
Exploring Operation: 11/1=11, Resulting Numbers: [11]
11,12 unequal: No Solution
Exploring Operation: 11-1=10, Resulting Numbers: [10]
10,12 unequal: No Solution
Exploring Operation: 11+1=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[77, 55, 11, 21], Operations: []
Exploring Operation: 77-55=22, Resulting Numbers: [11, 21, 22]
Generated Node #0,3: 12:[11, 21, 22] Operation: 77-55=22
Moving to Node #0,3
Current State: 12:[11, 21, 22], Operations: ['77-55=22']
Exploring Operation: 22-21=1, Resulting Numbers: [11, 1]
Generated Node #0,3,2: 12:[11, 1] Operation: 22-21=1
Moving to Node #0,3,2
Current State: 12:[11, 1], Operations: ['77-55=22', '22-21=1']
Exploring Operation: 11+1=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 0.967882 | hs_5 | mult_heuristic |
[
45,
2,
34,
8
] | 27 | [
"45-34=11",
"2*8=16",
"11+16=27"
] | Current State: 27:[45, 2, 34, 8], Operations: []
Exploring Operation: 45-34=11, Resulting Numbers: [2, 8, 11]
Generated Node #2: [2, 8, 11] from Operation: 45-34=11
Current State: 27:[2, 8, 11], Operations: ['45-34=11']
Exploring Operation: 2*8=16, Resulting Numbers: [11, 16]
Generated Node #3: [11, 16] from Operation: 2*8=16
Current State: 27:[11, 16], Operations: ['45-34=11', '2*8=16']
Exploring Operation: 11+16=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[45, 2, 34, 8], Operations: []
Exploring Operation: 45-8=37, Resulting Numbers: [2, 34, 37]
Generated Node #0,0: 27:[2, 34, 37] Operation: 45-8=37
Exploring Operation: 34-2=32, Resulting Numbers: [45, 8, 32]
Generated Node #0,1: 27:[45, 8, 32] Operation: 34-2=32
Exploring Operation: 34-8=26, Resulting Numbers: [45, 2, 26]
Generated Node #0,2: 27:[45, 2, 26] Operation: 34-8=26
Exploring Operation: 45-2=43, Resulting Numbers: [34, 8, 43]
Generated Node #0,3: 27:[34, 8, 43] Operation: 45-2=43
Exploring Operation: 45-34=11, Resulting Numbers: [2, 8, 11]
Generated Node #0,4: 27:[2, 8, 11] Operation: 45-34=11
Start Sub Search at level 1: Moving to Node #0,4
Current State: 27:[2, 8, 11], Operations: ['45-34=11']
Exploring Operation: 8/2=4, Resulting Numbers: [11, 4]
Generated Node #0,4,0: 27:[11, 4] Operation: 8/2=4
Exploring Operation: 11-8=3, Resulting Numbers: [2, 3]
Generated Node #0,4,1: 27:[2, 3] Operation: 11-8=3
Exploring Operation: 2+8=10, Resulting Numbers: [11, 10]
Generated Node #0,4,2: 27:[11, 10] Operation: 2+8=10
Exploring Operation: 11-2=9, Resulting Numbers: [8, 9]
Generated Node #0,4,3: 27:[8, 9] Operation: 11-2=9
Exploring Operation: 8-2=6, Resulting Numbers: [11, 6]
Generated Node #0,4,4: 27:[11, 6] Operation: 8-2=6
Moving to Node #0,4,1
Current State: 27:[2, 3], Operations: ['45-34=11', '11-8=3']
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,27 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,27 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,27 unequal: No Solution
Moving to Node #0,4,3
Current State: 27:[8, 9], Operations: ['45-34=11', '11-2=9']
Exploring Operation: 8+9=17, Resulting Numbers: [17]
17,27 unequal: No Solution
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,27 unequal: No Solution
Exploring Operation: 8*9=72, Resulting Numbers: [72]
72,27 unequal: No Solution
Moving to Node #0,4,0
Current State: 27:[11, 4], Operations: ['45-34=11', '8/2=4']
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,27 unequal: No Solution
Exploring Operation: 11*4=44, Resulting Numbers: [44]
44,27 unequal: No Solution
Exploring Operation: 11+4=15, Resulting Numbers: [15]
15,27 unequal: No Solution
Moving to Node #0,4,2
Current State: 27:[11, 10], Operations: ['45-34=11', '2+8=10']
Exploring Operation: 11*10=110, Resulting Numbers: [110]
110,27 unequal: No Solution
Exploring Operation: 11-10=1, Resulting Numbers: [1]
1,27 unequal: No Solution
Exploring Operation: 11+10=21, Resulting Numbers: [21]
21,27 unequal: No Solution
Moving to Node #0,4,4
Current State: 27:[11, 6], Operations: ['45-34=11', '8-2=6']
Exploring Operation: 11*6=66, Resulting Numbers: [66]
66,27 unequal: No Solution
Exploring Operation: 11+6=17, Resulting Numbers: [17]
17,27 unequal: No Solution
Exploring Operation: 11-6=5, Resulting Numbers: [5]
5,27 unequal: No Solution
No 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: 27:[2, 34, 37], Operations: ['45-8=37']
Exploring Operation: 37-34=3, Resulting Numbers: [2, 3]
Generated Node #0,0,0: 27:[2, 3] Operation: 37-34=3
Exploring Operation: 2+34=36, Resulting Numbers: [37, 36]
Generated Node #0,0,1: 27:[37, 36] Operation: 2+34=36
Exploring Operation: 37-2=35, Resulting Numbers: [34, 35]
Generated Node #0,0,2: 27:[34, 35] Operation: 37-2=35
Exploring Operation: 34/2=17, Resulting Numbers: [37, 17]
Generated Node #0,0,3: 27:[37, 17] Operation: 34/2=17
Exploring Operation: 34-2=32, Resulting Numbers: [37, 32]
Generated Node #0,0,4: 27:[37, 32] Operation: 34-2=32
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 27:[2, 3], Operations: ['45-8=37', '37-34=3']
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,27 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,27 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 27:[34, 35], Operations: ['45-8=37', '37-2=35']
Exploring Operation: 35-34=1, Resulting Numbers: [1]
1,27 unequal: No Solution
Exploring Operation: 34*35=1190, Resulting Numbers: [1190]
1190,27 unequal: No Solution
Exploring Operation: 34+35=69, Resulting Numbers: [69]
69,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 27:[37, 32], Operations: ['45-8=37', '34-2=32']
Exploring Operation: 37*32=1184, Resulting Numbers: [1184]
1184,27 unequal: No Solution
Exploring Operation: 37+32=69, Resulting Numbers: [69]
69,27 unequal: No Solution
Exploring Operation: 37-32=5, Resulting Numbers: [5]
5,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 27:[37, 17], Operations: ['45-8=37', '34/2=17']
Exploring Operation: 37+17=54, Resulting Numbers: [54]
54,27 unequal: No Solution
Exploring Operation: 37*17=629, Resulting Numbers: [629]
629,27 unequal: No Solution
Exploring Operation: 37-17=20, Resulting Numbers: [20]
20,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 27:[37, 36], Operations: ['45-8=37', '2+34=36']
Exploring Operation: 37-36=1, Resulting Numbers: [1]
1,27 unequal: No Solution
Exploring Operation: 37*36=1332, Resulting Numbers: [1332]
1332,27 unequal: No Solution
Exploring Operation: 37+36=73, Resulting Numbers: [73]
73,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 27:[45, 2, 26], Operations: ['34-8=26']
Exploring Operation: 2+26=28, Resulting Numbers: [45, 28]
Generated Node #0,2,0: 27:[45, 28] Operation: 2+26=28
Exploring Operation: 26-2=24, Resulting Numbers: [45, 24]
Generated Node #0,2,1: 27:[45, 24] Operation: 26-2=24
Exploring Operation: 45+2=47, Resulting Numbers: [26, 47]
Generated Node #0,2,2: 27:[26, 47] Operation: 45+2=47
Exploring Operation: 45-2=43, Resulting Numbers: [26, 43]
Generated Node #0,2,3: 27:[26, 43] Operation: 45-2=43
Exploring Operation: 45-26=19, Resulting Numbers: [2, 19]
Generated Node #0,2,4: 27:[2, 19] Operation: 45-26=19
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 27:[2, 19], Operations: ['34-8=26', '45-26=19']
Exploring Operation: 2*19=38, Resulting Numbers: [38]
38,27 unequal: No Solution
Exploring Operation: 2+19=21, Resulting Numbers: [21]
21,27 unequal: No Solution
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 27:[26, 43], Operations: ['34-8=26', '45-2=43']
Exploring Operation: 26+43=69, Resulting Numbers: [69]
69,27 unequal: No Solution
Exploring Operation: 26*43=1118, Resulting Numbers: [1118]
1118,27 unequal: No Solution
Exploring Operation: 43-26=17, Resulting Numbers: [17]
17,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 27:[45, 28], Operations: ['34-8=26', '2+26=28']
Exploring Operation: 45*28=1260, Resulting Numbers: [1260]
1260,27 unequal: No Solution
Exploring Operation: 45+28=73, Resulting Numbers: [73]
73,27 unequal: No Solution
Exploring Operation: 45-28=17, Resulting Numbers: [17]
17,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 27:[45, 24], Operations: ['34-8=26', '26-2=24']
Exploring Operation: 45*24=1080, Resulting Numbers: [1080]
1080,27 unequal: No Solution
Exploring Operation: 45+24=69, Resulting Numbers: [69]
69,27 unequal: No Solution
Exploring Operation: 45-24=21, Resulting Numbers: [21]
21,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 27:[26, 47], Operations: ['34-8=26', '45+2=47']
Exploring Operation: 26*47=1222, Resulting Numbers: [1222]
1222,27 unequal: No Solution
Exploring Operation: 26+47=73, Resulting Numbers: [73]
73,27 unequal: No Solution
Exploring Operation: 47-26=21, Resulting Numbers: [21]
21,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 27:[45, 8, 32], Operations: ['34-2=32']
Exploring Operation: 45-32=13, Resulting Numbers: [8, 13]
Generated Node #0,1,0: 27:[8, 13] Operation: 45-32=13
Exploring Operation: 32/8=4, Resulting Numbers: [45, 4]
Generated Node #0,1,1: 27:[45, 4] Operation: 32/8=4
Exploring Operation: 32-8=24, Resulting Numbers: [45, 24]
Generated Node #0,1,2: 27:[45, 24] Operation: 32-8=24
Exploring Operation: 45-8=37, Resulting Numbers: [32, 37]
Generated Node #0,1,3: 27:[32, 37] Operation: 45-8=37
Exploring Operation: 45+8=53, Resulting Numbers: [32, 53]
Generated Node #0,1,4: 27:[32, 53] Operation: 45+8=53
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 27:[8, 13], Operations: ['34-2=32', '45-32=13']
Exploring Operation: 8+13=21, Resulting Numbers: [21]
21,27 unequal: No Solution
Exploring Operation: 8*13=104, Resulting Numbers: [104]
104,27 unequal: No Solution
Exploring Operation: 13-8=5, Resulting Numbers: [5]
5,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 27:[32, 37], Operations: ['34-2=32', '45-8=37']
Exploring Operation: 32+37=69, Resulting Numbers: [69]
69,27 unequal: No Solution
Exploring Operation: 37-32=5, Resulting Numbers: [5]
5,27 unequal: No Solution
Exploring Operation: 32*37=1184, Resulting Numbers: [1184]
1184,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 27:[45, 4], Operations: ['34-2=32', '32/8=4']
Exploring Operation: 45*4=180, Resulting Numbers: [180]
180,27 unequal: No Solution
Exploring Operation: 45-4=41, Resulting Numbers: [41]
41,27 unequal: No Solution
Exploring Operation: 45+4=49, Resulting Numbers: [49]
49,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 27:[45, 24], Operations: ['34-2=32', '32-8=24']
Exploring Operation: 45+24=69, Resulting Numbers: [69]
69,27 unequal: No Solution
Exploring Operation: 45*24=1080, Resulting Numbers: [1080]
1080,27 unequal: No Solution
Exploring Operation: 45-24=21, Resulting Numbers: [21]
21,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 27:[32, 53], Operations: ['34-2=32', '45+8=53']
Exploring Operation: 32*53=1696, Resulting Numbers: [1696]
1696,27 unequal: No Solution
Exploring Operation: 32+53=85, Resulting Numbers: [85]
85,27 unequal: No Solution
Exploring Operation: 53-32=21, Resulting Numbers: [21]
21,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 27:[34, 8, 43], Operations: ['45-2=43']
Exploring Operation: 8+43=51, Resulting Numbers: [34, 51]
Generated Node #0,3,0: 27:[34, 51] Operation: 8+43=51
Exploring Operation: 43-8=35, Resulting Numbers: [34, 35]
Generated Node #0,3,1: 27:[34, 35] Operation: 43-8=35
Exploring Operation: 43-34=9, Resulting Numbers: [8, 9]
Generated Node #0,3,2: 27:[8, 9] Operation: 43-34=9
Exploring Operation: 34+8=42, Resulting Numbers: [43, 42]
Generated Node #0,3,3: 27:[43, 42] Operation: 34+8=42
Exploring Operation: 34-8=26, Resulting Numbers: [43, 26]
Generated Node #0,3,4: 27:[43, 26] Operation: 34-8=26
Moving to Node #0,3,2
Current State: 27:[8, 9], Operations: ['45-2=43', '43-34=9']
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,27 unequal: No Solution
Exploring Operation: 8+9=17, Resulting Numbers: [17]
17,27 unequal: No Solution
Exploring Operation: 8*9=72, Resulting Numbers: [72]
72,27 unequal: No Solution
Moving to Node #0,3,1
Current State: 27:[34, 35], Operations: ['45-2=43', '43-8=35']
Exploring Operation: 35-34=1, Resulting Numbers: [1]
1,27 unequal: No Solution
Exploring Operation: 34+35=69, Resulting Numbers: [69]
69,27 unequal: No Solution
Exploring Operation: 34*35=1190, Resulting Numbers: [1190]
1190,27 unequal: No Solution
Moving to Node #0,3,4
Current State: 27:[43, 26], Operations: ['45-2=43', '34-8=26']
Exploring Operation: 43-26=17, Resulting Numbers: [17]
17,27 unequal: No Solution
Exploring Operation: 43+26=69, Resulting Numbers: [69]
69,27 unequal: No Solution
Exploring Operation: 43*26=1118, Resulting Numbers: [1118]
1118,27 unequal: No Solution
Moving to Node #0,3,0
Current State: 27:[34, 51], Operations: ['45-2=43', '8+43=51']
Exploring Operation: 34+51=85, Resulting Numbers: [85]
85,27 unequal: No Solution
Exploring Operation: 34*51=1734, Resulting Numbers: [1734]
1734,27 unequal: No Solution
Exploring Operation: 51-34=17, Resulting Numbers: [17]
17,27 unequal: No Solution
Moving to Node #0,3,3
Current State: 27:[43, 42], Operations: ['45-2=43', '34+8=42']
Exploring Operation: 43+42=85, Resulting Numbers: [85]
85,27 unequal: No Solution
Exploring Operation: 43-42=1, Resulting Numbers: [1]
1,27 unequal: No Solution
Exploring Operation: 43*42=1806, Resulting Numbers: [1806]
1806,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
6,
31,
53,
71
] | 43 | [
"31-6=25",
"71-53=18",
"25+18=43"
] | Current State: 43:[6, 31, 53, 71], Operations: []
Exploring Operation: 31-6=25, Resulting Numbers: [53, 71, 25]
Generated Node #2: [53, 71, 25] from Operation: 31-6=25
Current State: 43:[53, 71, 25], Operations: ['31-6=25']
Exploring Operation: 71-53=18, Resulting Numbers: [25, 18]
Generated Node #3: [25, 18] from Operation: 71-53=18
Current State: 43:[25, 18], Operations: ['31-6=25', '71-53=18']
Exploring Operation: 25+18=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[6, 31, 53, 71], Operations: []
Exploring Operation: 6+31=37, Resulting Numbers: [53, 71, 37]
Generated Node #0,0: 43:[53, 71, 37] Operation: 6+31=37
Exploring Operation: 53-6=47, Resulting Numbers: [31, 71, 47]
Generated Node #0,1: 43:[31, 71, 47] Operation: 53-6=47
Exploring Operation: 71-6=65, Resulting Numbers: [31, 53, 65]
Generated Node #0,2: 43:[31, 53, 65] Operation: 71-6=65
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[53, 71, 37], Operations: ['6+31=37']
Exploring Operation: 53-37=16, Resulting Numbers: [71, 16]
Generated Node #0,0,0: 43:[71, 16] Operation: 53-37=16
Exploring Operation: 71-37=34, Resulting Numbers: [53, 34]
Generated Node #0,0,1: 43:[53, 34] Operation: 71-37=34
Exploring Operation: 71-53=18, Resulting Numbers: [37, 18]
Generated Node #0,0,2: 43:[37, 18] Operation: 71-53=18
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 43:[53, 34], Operations: ['6+31=37', '71-37=34']
Exploring Operation: 53*34=1802, Resulting Numbers: [1802]
1802,43 unequal: No Solution
Exploring Operation: 53+34=87, Resulting Numbers: [87]
87,43 unequal: No Solution
Exploring Operation: 53-34=19, Resulting Numbers: [19]
19,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 43:[37, 18], Operations: ['6+31=37', '71-53=18']
Exploring Operation: 37+18=55, Resulting Numbers: [55]
55,43 unequal: No Solution
Exploring Operation: 37*18=666, Resulting Numbers: [666]
666,43 unequal: No Solution
Exploring Operation: 37-18=19, Resulting Numbers: [19]
19,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 43:[71, 16], Operations: ['6+31=37', '53-37=16']
Exploring Operation: 71*16=1136, Resulting Numbers: [1136]
1136,43 unequal: No Solution
Exploring Operation: 71-16=55, Resulting Numbers: [55]
55,43 unequal: No Solution
Exploring Operation: 71+16=87, Resulting Numbers: [87]
87,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 43:[31, 71, 47], Operations: ['53-6=47']
Exploring Operation: 47-31=16, Resulting Numbers: [71, 16]
Generated Node #0,1,0: 43:[71, 16] Operation: 47-31=16
Exploring Operation: 71-31=40, Resulting Numbers: [47, 40]
Generated Node #0,1,1: 43:[47, 40] Operation: 71-31=40
Exploring Operation: 71-47=24, Resulting Numbers: [31, 24]
Generated Node #0,1,2: 43:[31, 24] Operation: 71-47=24
Moving to Node #0,1,1
Current State: 43:[47, 40], Operations: ['53-6=47', '71-31=40']
Exploring Operation: 47-40=7, Resulting Numbers: [7]
7,43 unequal: No Solution
Exploring Operation: 47*40=1880, Resulting Numbers: [1880]
1880,43 unequal: No Solution
Exploring Operation: 47+40=87, Resulting Numbers: [87]
87,43 unequal: No Solution
Moving to Node #0,1,2
Current State: 43:[31, 24], Operations: ['53-6=47', '71-47=24']
Exploring Operation: 31-24=7, Resulting Numbers: [7]
7,43 unequal: No Solution
Exploring Operation: 31+24=55, Resulting Numbers: [55]
55,43 unequal: No Solution
Exploring Operation: 31*24=744, Resulting Numbers: [744]
744,43 unequal: No Solution
Moving to Node #0,1,0
Current State: 43:[71, 16], Operations: ['53-6=47', '47-31=16']
Exploring Operation: 71-16=55, Resulting Numbers: [55]
55,43 unequal: No Solution
Exploring Operation: 71*16=1136, Resulting Numbers: [1136]
1136,43 unequal: No Solution
Exploring Operation: 71+16=87, Resulting Numbers: [87]
87,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,2
Current State: 43:[31, 53, 65], Operations: ['71-6=65']
Exploring Operation: 65-31=34, Resulting Numbers: [53, 34]
Generated Node #0,2,0: 43:[53, 34] Operation: 65-31=34
Exploring Operation: 53-31=22, Resulting Numbers: [65, 22]
Generated Node #0,2,1: 43:[65, 22] Operation: 53-31=22
Exploring Operation: 65-53=12, Resulting Numbers: [31, 12]
Generated Node #0,2,2: 43:[31, 12] Operation: 65-53=12
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 43:[53, 34], Operations: ['71-6=65', '65-31=34']
Exploring Operation: 53-34=19, Resulting Numbers: [19]
19,43 unequal: No Solution
Exploring Operation: 53+34=87, Resulting Numbers: [87]
87,43 unequal: No Solution
Exploring Operation: 53*34=1802, Resulting Numbers: [1802]
1802,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 43:[65, 22], Operations: ['71-6=65', '53-31=22']
Exploring Operation: 65*22=1430, Resulting Numbers: [1430]
1430,43 unequal: No Solution
Exploring Operation: 65+22=87, Resulting Numbers: [87]
87,43 unequal: No Solution
Exploring Operation: 65-22=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[6, 31, 53, 71], Operations: []
Exploring Operation: 71-6=65, Resulting Numbers: [31, 53, 65]
Generated Node #0,2: 43:[31, 53, 65] Operation: 71-6=65
Moving to Node #0,2
Current State: 43:[31, 53, 65], Operations: ['71-6=65']
Exploring Operation: 53-31=22, Resulting Numbers: [65, 22]
Generated Node #0,2,1: 43:[65, 22] Operation: 53-31=22
Moving to Node #0,2,1
Current State: 43:[65, 22], Operations: ['71-6=65', '53-31=22']
Exploring Operation: 65-22=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.965278 | hs_3 | mult_heuristic |
[
55,
21,
74,
57
] | 24 | [
"74-55=19",
"57/19=3",
"21+3=24"
] | Current State: 24:[55, 21, 74, 57], Operations: []
Exploring Operation: 74-55=19, Resulting Numbers: [21, 57, 19]
Generated Node #2: [21, 57, 19] from Operation: 74-55=19
Current State: 24:[21, 57, 19], Operations: ['74-55=19']
Exploring Operation: 57/19=3, Resulting Numbers: [21, 3]
Generated Node #3: [21, 3] from Operation: 57/19=3
Current State: 24:[21, 3], Operations: ['74-55=19', '57/19=3']
Exploring Operation: 21+3=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[55, 21, 74, 57], Operations: []
Exploring Operation: 74-55=19, Resulting Numbers: [21, 57, 19]
Generated Node #0,0: 24:[21, 57, 19] Operation: 74-55=19
Exploring Operation: 57-55=2, Resulting Numbers: [21, 74, 2]
Generated Node #0,1: 24:[21, 74, 2] Operation: 57-55=2
Exploring Operation: 74-21=53, Resulting Numbers: [55, 57, 53]
Generated Node #0,2: 24:[55, 57, 53] Operation: 74-21=53
Exploring Operation: 55-21=34, Resulting Numbers: [74, 57, 34]
Generated Node #0,3: 24:[74, 57, 34] Operation: 55-21=34
Exploring Operation: 74-57=17, Resulting Numbers: [55, 21, 17]
Generated Node #0,4: 24:[55, 21, 17] Operation: 74-57=17
Moving to Node #0,4
Current State: 24:[55, 21, 17], Operations: ['74-57=17']
Exploring Operation: 55-17=38, Resulting Numbers: [21, 38]
Generated Node #0,4,0: 24:[21, 38] Operation: 55-17=38
Exploring Operation: 55-21=34, Resulting Numbers: [17, 34]
Generated Node #0,4,1: 24:[17, 34] Operation: 55-21=34
Exploring Operation: 55+17=72, Resulting Numbers: [21, 72]
Generated Node #0,4,2: 24:[21, 72] Operation: 55+17=72
Exploring Operation: 21+17=38, Resulting Numbers: [55, 38]
Generated Node #0,4,3: 24:[55, 38] Operation: 21+17=38
Exploring Operation: 21-17=4, Resulting Numbers: [55, 4]
Generated Node #0,4,4: 24:[55, 4] Operation: 21-17=4
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 24:[17, 34], Operations: ['74-57=17', '55-21=34']
Exploring Operation: 34/17=2, Resulting Numbers: [2]
2,24 unequal: No Solution
Exploring Operation: 34-17=17, Resulting Numbers: [17]
17,24 unequal: No Solution
Exploring Operation: 17*34=578, Resulting Numbers: [578]
578,24 unequal: No Solution
Exploring Operation: 17+34=51, Resulting Numbers: [51]
51,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,4,0
Current State: 24:[21, 38], Operations: ['74-57=17', '55-17=38']
Exploring Operation: 38-21=17, Resulting Numbers: [17]
17,24 unequal: No Solution
Exploring Operation: 21*38=798, Resulting Numbers: [798]
798,24 unequal: No Solution
Exploring Operation: 21+38=59, Resulting Numbers: [59]
59,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,4,4
Current State: 24:[55, 4], Operations: ['74-57=17', '21-17=4']
Exploring Operation: 55*4=220, Resulting Numbers: [220]
220,24 unequal: No Solution
Exploring Operation: 55-4=51, Resulting Numbers: [51]
51,24 unequal: No Solution
Exploring Operation: 55+4=59, Resulting Numbers: [59]
59,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,4,3
Current State: 24:[55, 38], Operations: ['74-57=17', '21+17=38']
Exploring Operation: 55+38=93, Resulting Numbers: [93]
93,24 unequal: No Solution
Exploring Operation: 55-38=17, Resulting Numbers: [17]
17,24 unequal: No Solution
Exploring Operation: 55*38=2090, Resulting Numbers: [2090]
2090,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,4,2
Current State: 24:[21, 72], Operations: ['74-57=17', '55+17=72']
Exploring Operation: 21+72=93, Resulting Numbers: [93]
93,24 unequal: No Solution
Exploring Operation: 21*72=1512, Resulting Numbers: [1512]
1512,24 unequal: No Solution
Exploring Operation: 72-21=51, Resulting Numbers: [51]
51,24 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: 24:[21, 57, 19], Operations: ['74-55=19']
Exploring Operation: 57/19=3, Resulting Numbers: [21, 3]
Generated Node #0,0,0: 24:[21, 3] Operation: 57/19=3
Exploring Operation: 57-21=36, Resulting Numbers: [19, 36]
Generated Node #0,0,1: 24:[19, 36] Operation: 57-21=36
Exploring Operation: 57-19=38, Resulting Numbers: [21, 38]
Generated Node #0,0,2: 24:[21, 38] Operation: 57-19=38
Exploring Operation: 21-19=2, Resulting Numbers: [57, 2]
Generated Node #0,0,3: 24:[57, 2] Operation: 21-19=2
Exploring Operation: 21+19=40, Resulting Numbers: [57, 40]
Generated Node #0,0,4: 24:[57, 40] Operation: 21+19=40
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 24:[21, 3], Operations: ['74-55=19', '57/19=3']
Exploring Operation: 21*3=63, Resulting Numbers: [63]
63,24 unequal: No Solution
Exploring Operation: 21/3=7, Resulting Numbers: [7]
7,24 unequal: No Solution
Exploring Operation: 21-3=18, Resulting Numbers: [18]
18,24 unequal: No Solution
Exploring Operation: 21+3=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[55, 21, 74, 57], Operations: []
Exploring Operation: 74-55=19, Resulting Numbers: [21, 57, 19]
Generated Node #0,0: 24:[21, 57, 19] Operation: 74-55=19
Moving to Node #0,0
Current State: 24:[21, 57, 19], Operations: ['74-55=19']
Exploring Operation: 57/19=3, Resulting Numbers: [21, 3]
Generated Node #0,0,0: 24:[21, 3] Operation: 57/19=3
Moving to Node #0,0,0
Current State: 24:[21, 3], Operations: ['74-55=19', '57/19=3']
Exploring Operation: 21+3=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.966146 | hs_5 | sum_heuristic |
[
11,
4,
13,
3
] | 54 | [
"11+4=15",
"13*3=39",
"15+39=54"
] | Current State: 54:[11, 4, 13, 3], Operations: []
Exploring Operation: 11+4=15, Resulting Numbers: [13, 3, 15]
Generated Node #2: [13, 3, 15] from Operation: 11+4=15
Current State: 54:[13, 3, 15], Operations: ['11+4=15']
Exploring Operation: 13*3=39, Resulting Numbers: [15, 39]
Generated Node #3: [15, 39] from Operation: 13*3=39
Current State: 54:[15, 39], Operations: ['11+4=15', '13*3=39']
Exploring Operation: 15+39=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[11, 4, 13, 3], Operations: []
Exploring Operation: 13-11=2, Resulting Numbers: [4, 3, 2]
Generated Node #0,0: 54:[4, 3, 2] Operation: 13-11=2
Exploring Operation: 13-4=9, Resulting Numbers: [11, 3, 9]
Generated Node #0,1: 54:[11, 3, 9] Operation: 13-4=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 54:[4, 3, 2], Operations: ['13-11=2']
Exploring Operation: 4-2=2, Resulting Numbers: [3, 2]
Generated Node #0,0,0: 54:[3, 2] Operation: 4-2=2
Exploring Operation: 4+2=6, Resulting Numbers: [3, 6]
Generated Node #0,0,1: 54:[3, 6] Operation: 4+2=6
Moving to Node #0,0,0
Current State: 54:[3, 2], Operations: ['13-11=2', '4-2=2']
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,54 unequal: No Solution
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,54 unequal: No Solution
Moving to Node #0,0,1
Current State: 54:[3, 6], Operations: ['13-11=2', '4+2=6']
Exploring Operation: 3*6=18, Resulting Numbers: [18]
18,54 unequal: No Solution
Exploring Operation: 3+6=9, Resulting Numbers: [9]
9,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 54:[11, 3, 9], Operations: ['13-4=9']
Exploring Operation: 11-3=8, Resulting Numbers: [9, 8]
Generated Node #0,1,0: 54:[9, 8] Operation: 11-3=8
Exploring Operation: 11-9=2, Resulting Numbers: [3, 2]
Generated Node #0,1,1: 54:[3, 2] Operation: 11-9=2
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 54:[3, 2], Operations: ['13-4=9', '11-9=2']
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,54 unequal: No Solution
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,54 unequal: No Solution
No 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: 54:[9, 8], Operations: ['13-4=9', '11-3=8']
Exploring Operation: 9+8=17, Resulting Numbers: [17]
17,54 unequal: No Solution
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,54 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 |
[
27,
64,
53,
79
] | 63 | [
"64-27=37",
"79-53=26",
"37+26=63"
] | Current State: 63:[27, 64, 53, 79], Operations: []
Exploring Operation: 64-27=37, Resulting Numbers: [53, 79, 37]
Generated Node #2: [53, 79, 37] from Operation: 64-27=37
Current State: 63:[53, 79, 37], Operations: ['64-27=37']
Exploring Operation: 79-53=26, Resulting Numbers: [37, 26]
Generated Node #3: [37, 26] from Operation: 79-53=26
Current State: 63:[37, 26], Operations: ['64-27=37', '79-53=26']
Exploring Operation: 37+26=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[27, 64, 53, 79], Operations: []
Exploring Operation: 53-27=26, Resulting Numbers: [64, 79, 26]
Generated Node #0,0: 63:[64, 79, 26] Operation: 53-27=26
Exploring Operation: 79-27=52, Resulting Numbers: [64, 53, 52]
Generated Node #0,1: 63:[64, 53, 52] Operation: 79-27=52
Exploring Operation: 79-53=26, Resulting Numbers: [27, 64, 26]
Generated Node #0,2: 63:[27, 64, 26] Operation: 79-53=26
Moving to Node #0,2
Current State: 63:[27, 64, 26], Operations: ['79-53=26']
Exploring Operation: 64-27=37, Resulting Numbers: [26, 37]
Generated Node #0,2,0: 63:[26, 37] Operation: 64-27=37
Exploring Operation: 27+26=53, Resulting Numbers: [64, 53]
Generated Node #0,2,1: 63:[64, 53] Operation: 27+26=53
Exploring Operation: 27-26=1, Resulting Numbers: [64, 1]
Generated Node #0,2,2: 63:[64, 1] Operation: 27-26=1
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 63:[64, 1], Operations: ['79-53=26', '27-26=1']
Exploring Operation: 64/1=64, Resulting Numbers: [64]
64,63 unequal: No Solution
Exploring Operation: 64*1=64, Resulting Numbers: [64]
64,63 unequal: No Solution
Exploring Operation: 64-1=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[27, 64, 53, 79], Operations: []
Exploring Operation: 79-53=26, Resulting Numbers: [27, 64, 26]
Generated Node #0,2: 63:[27, 64, 26] Operation: 79-53=26
Moving to Node #0,2
Current State: 63:[27, 64, 26], Operations: ['79-53=26']
Exploring Operation: 27-26=1, Resulting Numbers: [64, 1]
Generated Node #0,2,2: 63:[64, 1] Operation: 27-26=1
Moving to Node #0,2,2
Current State: 63:[64, 1], Operations: ['79-53=26', '27-26=1']
Exploring Operation: 64-1=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
2,
66,
60,
32
] | 86 | [
"2*60=120",
"66-32=34",
"120-34=86"
] | Current State: 86:[2, 66, 60, 32], Operations: []
Exploring Operation: 2*60=120, Resulting Numbers: [66, 32, 120]
Generated Node #2: [66, 32, 120] from Operation: 2*60=120
Current State: 86:[66, 32, 120], Operations: ['2*60=120']
Exploring Operation: 66-32=34, Resulting Numbers: [120, 34]
Generated Node #3: [120, 34] from Operation: 66-32=34
Current State: 86:[120, 34], Operations: ['2*60=120', '66-32=34']
Exploring Operation: 120-34=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[2, 66, 60, 32], Operations: []
Exploring Operation: 66-60=6, Resulting Numbers: [2, 32, 6]
Generated Node #0,0: 86:[2, 32, 6] Operation: 66-60=6
Moving to Node #0,0
Current State: 86:[2, 32, 6], Operations: ['66-60=6']
Exploring Operation: 32+6=38, Resulting Numbers: [2, 38]
Generated Node #0,0,0: 86:[2, 38] Operation: 32+6=38
Moving to Node #0,0,0
Current State: 86:[2, 38], Operations: ['66-60=6', '32+6=38']
Exploring Operation: 2+38=40, Resulting Numbers: [40]
40,86 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
81,
72,
44,
53
] | 18 | [
"81-72=9",
"53-44=9",
"9+9=18"
] | Current State: 18:[81, 72, 44, 53], Operations: []
Exploring Operation: 81-72=9, Resulting Numbers: [44, 53, 9]
Generated Node #2: [44, 53, 9] from Operation: 81-72=9
Current State: 18:[44, 53, 9], Operations: ['81-72=9']
Exploring Operation: 53-44=9, Resulting Numbers: [9, 9]
Generated Node #3: [9, 9] from Operation: 53-44=9
Current State: 18:[9, 9], Operations: ['81-72=9', '53-44=9']
Exploring Operation: 9+9=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[81, 72, 44, 53], Operations: []
Exploring Operation: 81-53=28, Resulting Numbers: [72, 44, 28]
Generated Node #0,0: 18:[72, 44, 28] Operation: 81-53=28
Exploring Operation: 81-72=9, Resulting Numbers: [44, 53, 9]
Generated Node #0,1: 18:[44, 53, 9] Operation: 81-72=9
Start Sub Search at level 1: Moving to Node #0,1
Current State: 18:[44, 53, 9], Operations: ['81-72=9']
Exploring Operation: 53-44=9, Resulting Numbers: [9, 9]
Generated Node #0,1,0: 18:[9, 9] Operation: 53-44=9
Exploring Operation: 44-9=35, Resulting Numbers: [53, 35]
Generated Node #0,1,1: 18:[53, 35] Operation: 44-9=35
Moving to Node #0,1,0
Current State: 18:[9, 9], Operations: ['81-72=9', '53-44=9']
Exploring Operation: 9/9=1, Resulting Numbers: [1]
1,18 unequal: No Solution
Exploring Operation: 9+9=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[81, 72, 44, 53], Operations: []
Exploring Operation: 81-72=9, Resulting Numbers: [44, 53, 9]
Generated Node #0,1: 18:[44, 53, 9] Operation: 81-72=9
Moving to Node #0,1
Current State: 18:[44, 53, 9], Operations: ['81-72=9']
Exploring Operation: 53-44=9, Resulting Numbers: [9, 9]
Generated Node #0,1,0: 18:[9, 9] Operation: 53-44=9
Moving to Node #0,1,0
Current State: 18:[9, 9], Operations: ['81-72=9', '53-44=9']
Exploring Operation: 9+9=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
6,
60,
70,
94
] | 14 | [
"60/6=10",
"94-70=24",
"24-10=14"
] | Current State: 14:[6, 60, 70, 94], Operations: []
Exploring Operation: 60/6=10, Resulting Numbers: [70, 94, 10]
Generated Node #2: [70, 94, 10] from Operation: 60/6=10
Current State: 14:[70, 94, 10], Operations: ['60/6=10']
Exploring Operation: 94-70=24, Resulting Numbers: [10, 24]
Generated Node #3: [10, 24] from Operation: 94-70=24
Current State: 14:[10, 24], Operations: ['60/6=10', '94-70=24']
Exploring Operation: 24-10=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[6, 60, 70, 94], Operations: []
Exploring Operation: 94-70=24, Resulting Numbers: [6, 60, 24]
Generated Node #0,0: 14:[6, 60, 24] Operation: 94-70=24
Moving to Node #0,0
Current State: 14:[6, 60, 24], Operations: ['94-70=24']
Exploring Operation: 60/6=10, Resulting Numbers: [24, 10]
Generated Node #0,0,0: 14:[24, 10] Operation: 60/6=10
Moving to Node #0,0,0
Current State: 14:[24, 10], Operations: ['94-70=24', '60/6=10']
Exploring Operation: 24-10=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[6, 60, 70, 94], Operations: []
Exploring Operation: 94-70=24, Resulting Numbers: [6, 60, 24]
Generated Node #0,0: 14:[6, 60, 24] Operation: 94-70=24
Moving to Node #0,0
Current State: 14:[6, 60, 24], Operations: ['94-70=24']
Exploring Operation: 60/6=10, Resulting Numbers: [24, 10]
Generated Node #0,0,0: 14:[24, 10] Operation: 60/6=10
Moving to Node #0,0,0
Current State: 14:[24, 10], Operations: ['94-70=24', '60/6=10']
Exploring Operation: 24-10=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
85,
60,
51,
4
] | 96 | [
"85*60=5100",
"5100/51=100",
"100-4=96"
] | Current State: 96:[85, 60, 51, 4], Operations: []
Exploring Operation: 85*60=5100, Resulting Numbers: [51, 4, 5100]
Generated Node #2: [51, 4, 5100] from Operation: 85*60=5100
Current State: 96:[51, 4, 5100], Operations: ['85*60=5100']
Exploring Operation: 5100/51=100, Resulting Numbers: [4, 100]
Generated Node #3: [4, 100] from Operation: 5100/51=100
Current State: 96:[4, 100], Operations: ['85*60=5100', '5100/51=100']
Exploring Operation: 100-4=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[85, 60, 51, 4], Operations: []
Exploring Operation: 85+4=89, Resulting Numbers: [60, 51, 89]
Generated Node #0,0: 96:[60, 51, 89] Operation: 85+4=89
Exploring Operation: 85-60=25, Resulting Numbers: [51, 4, 25]
Generated Node #0,1: 96:[51, 4, 25] Operation: 85-60=25
Exploring Operation: 60-51=9, Resulting Numbers: [85, 4, 9]
Generated Node #0,2: 96:[85, 4, 9] Operation: 60-51=9
Exploring Operation: 85-51=34, Resulting Numbers: [60, 4, 34]
Generated Node #0,3: 96:[60, 4, 34] Operation: 85-51=34
Exploring Operation: 60/4=15, Resulting Numbers: [85, 51, 15]
Generated Node #0,4: 96:[85, 51, 15] Operation: 60/4=15
Moving to Node #0,1
Current State: 96:[51, 4, 25], Operations: ['85-60=25']
Exploring Operation: 25-4=21, Resulting Numbers: [51, 21]
Generated Node #0,1,0: 96:[51, 21] Operation: 25-4=21
Exploring Operation: 4+25=29, Resulting Numbers: [51, 29]
Generated Node #0,1,1: 96:[51, 29] Operation: 4+25=29
Exploring Operation: 4*25=100, Resulting Numbers: [51, 100]
Generated Node #0,1,2: 96:[51, 100] Operation: 4*25=100
Exploring Operation: 51-25=26, Resulting Numbers: [4, 26]
Generated Node #0,1,3: 96:[4, 26] Operation: 51-25=26
Exploring Operation: 51-4=47, Resulting Numbers: [25, 47]
Generated Node #0,1,4: 96:[25, 47] Operation: 51-4=47
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 96:[4, 26], Operations: ['85-60=25', '51-25=26']
Exploring Operation: 4+26=30, Resulting Numbers: [30]
30,96 unequal: No Solution
Exploring Operation: 4*26=104, Resulting Numbers: [104]
104,96 unequal: No Solution
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 96:[25, 47], Operations: ['85-60=25', '51-4=47']
Exploring Operation: 25+47=72, Resulting Numbers: [72]
72,96 unequal: No Solution
Exploring Operation: 47-25=22, Resulting Numbers: [22]
22,96 unequal: No Solution
Exploring Operation: 25*47=1175, Resulting Numbers: [1175]
1175,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 96:[51, 21], Operations: ['85-60=25', '25-4=21']
Exploring Operation: 51+21=72, Resulting Numbers: [72]
72,96 unequal: No Solution
Exploring Operation: 51*21=1071, Resulting Numbers: [1071]
1071,96 unequal: No Solution
Exploring Operation: 51-21=30, Resulting Numbers: [30]
30,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 96:[51, 29], Operations: ['85-60=25', '4+25=29']
Exploring Operation: 51-29=22, Resulting Numbers: [22]
22,96 unequal: No Solution
Exploring Operation: 51+29=80, Resulting Numbers: [80]
80,96 unequal: No Solution
Exploring Operation: 51*29=1479, Resulting Numbers: [1479]
1479,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 96:[51, 100], Operations: ['85-60=25', '4*25=100']
Exploring Operation: 51+100=151, Resulting Numbers: [151]
151,96 unequal: No Solution
Exploring Operation: 51*100=5100, Resulting Numbers: [5100]
5100,96 unequal: No Solution
Exploring Operation: 100-51=49, Resulting Numbers: [49]
49,96 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: 96:[85, 4, 9], Operations: ['60-51=9']
Exploring Operation: 9-4=5, Resulting Numbers: [85, 5]
Generated Node #0,2,0: 96:[85, 5] Operation: 9-4=5
Exploring Operation: 85+9=94, Resulting Numbers: [4, 94]
Generated Node #0,2,1: 96:[4, 94] Operation: 85+9=94
Exploring Operation: 4+9=13, Resulting Numbers: [85, 13]
Generated Node #0,2,2: 96:[85, 13] Operation: 4+9=13
Exploring Operation: 85+4=89, Resulting Numbers: [9, 89]
Generated Node #0,2,3: 96:[9, 89] Operation: 85+4=89
Exploring Operation: 4*9=36, Resulting Numbers: [85, 36]
Generated Node #0,2,4: 96:[85, 36] Operation: 4*9=36
Moving to Node #0,3
Current State: 96:[60, 4, 34], Operations: ['85-51=34']
Exploring Operation: 60/4=15, Resulting Numbers: [34, 15]
Generated Node #0,3,0: 96:[34, 15] Operation: 60/4=15
Exploring Operation: 34-4=30, Resulting Numbers: [60, 30]
Generated Node #0,3,1: 96:[60, 30] Operation: 34-4=30
Exploring Operation: 60-4=56, Resulting Numbers: [34, 56]
Generated Node #0,3,2: 96:[34, 56] Operation: 60-4=56
Exploring Operation: 60-34=26, Resulting Numbers: [4, 26]
Generated Node #0,3,3: 96:[4, 26] Operation: 60-34=26
Exploring Operation: 60+34=94, Resulting Numbers: [4, 94]
Generated Node #0,3,4: 96:[4, 94] Operation: 60+34=94
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 96:[4, 26], Operations: ['85-51=34', '60-34=26']
Exploring Operation: 4+26=30, Resulting Numbers: [30]
30,96 unequal: No Solution
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,96 unequal: No Solution
Exploring Operation: 4*26=104, Resulting Numbers: [104]
104,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 96:[4, 94], Operations: ['85-51=34', '60+34=94']
Exploring Operation: 94-4=90, Resulting Numbers: [90]
90,96 unequal: No Solution
Exploring Operation: 4*94=376, Resulting Numbers: [376]
376,96 unequal: No Solution
Exploring Operation: 4+94=98, Resulting Numbers: [98]
98,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 96:[34, 15], Operations: ['85-51=34', '60/4=15']
Exploring Operation: 34*15=510, Resulting Numbers: [510]
510,96 unequal: No Solution
Exploring Operation: 34+15=49, Resulting Numbers: [49]
49,96 unequal: No Solution
Exploring Operation: 34-15=19, Resulting Numbers: [19]
19,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 96:[34, 56], Operations: ['85-51=34', '60-4=56']
Exploring Operation: 34+56=90, Resulting Numbers: [90]
90,96 unequal: No Solution
Exploring Operation: 34*56=1904, Resulting Numbers: [1904]
1904,96 unequal: No Solution
Exploring Operation: 56-34=22, Resulting Numbers: [22]
22,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 96:[60, 30], Operations: ['85-51=34', '34-4=30']
Exploring Operation: 60-30=30, Resulting Numbers: [30]
30,96 unequal: No Solution
Exploring Operation: 60+30=90, Resulting Numbers: [90]
90,96 unequal: No Solution
Exploring Operation: 60*30=1800, Resulting Numbers: [1800]
1800,96 unequal: No Solution
Exploring Operation: 60/30=2, Resulting Numbers: [2]
2,96 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: 96:[85, 51, 15], Operations: ['60/4=15']
Exploring Operation: 85-51=34, Resulting Numbers: [15, 34]
Generated Node #0,4,0: 96:[15, 34] Operation: 85-51=34
Exploring Operation: 51+15=66, Resulting Numbers: [85, 66]
Generated Node #0,4,1: 96:[85, 66] Operation: 51+15=66
Exploring Operation: 85-15=70, Resulting Numbers: [51, 70]
Generated Node #0,4,2: 96:[51, 70] Operation: 85-15=70
Exploring Operation: 85+15=100, Resulting Numbers: [51, 100]
Generated Node #0,4,3: 96:[51, 100] Operation: 85+15=100
Exploring Operation: 51-15=36, Resulting Numbers: [85, 36]
Generated Node #0,4,4: 96:[85, 36] Operation: 51-15=36
Moving to Node #0,0
Current State: 96:[60, 51, 89], Operations: ['85+4=89']
Exploring Operation: 60-51=9, Resulting Numbers: [89, 9]
Generated Node #0,0,0: 96:[89, 9] Operation: 60-51=9
Exploring Operation: 60+89=149, Resulting Numbers: [51, 149]
Generated Node #0,0,1: 96:[51, 149] Operation: 60+89=149
Exploring Operation: 89-60=29, Resulting Numbers: [51, 29]
Generated Node #0,0,2: 96:[51, 29] Operation: 89-60=29
Exploring Operation: 89-51=38, Resulting Numbers: [60, 38]
Generated Node #0,0,3: 96:[60, 38] Operation: 89-51=38
Exploring Operation: 60+51=111, Resulting Numbers: [89, 111]
Generated Node #0,0,4: 96:[89, 111] Operation: 60+51=111
Moving to Node #0,2,1
Current State: 96:[4, 94], Operations: ['60-51=9', '85+9=94']
Exploring Operation: 4*94=376, Resulting Numbers: [376]
376,96 unequal: No Solution
Exploring Operation: 4+94=98, Resulting Numbers: [98]
98,96 unequal: No Solution
Exploring Operation: 94-4=90, Resulting Numbers: [90]
90,96 unequal: No Solution
Moving to Node #0,4,0
Current State: 96:[15, 34], Operations: ['60/4=15', '85-51=34']
Exploring Operation: 15*34=510, Resulting Numbers: [510]
510,96 unequal: No Solution
Exploring Operation: 15+34=49, Resulting Numbers: [49]
49,96 unequal: No Solution
Exploring Operation: 34-15=19, Resulting Numbers: [19]
19,96 unequal: No Solution
Moving to Node #0,0,2
Current State: 96:[51, 29], Operations: ['85+4=89', '89-60=29']
Exploring Operation: 51+29=80, Resulting Numbers: [80]
80,96 unequal: No Solution
Exploring Operation: 51*29=1479, Resulting Numbers: [1479]
1479,96 unequal: No Solution
Exploring Operation: 51-29=22, Resulting Numbers: [22]
22,96 unequal: No Solution
Moving to Node #0,4,3
Current State: 96:[51, 100], Operations: ['60/4=15', '85+15=100']
Exploring Operation: 51*100=5100, Resulting Numbers: [5100]
5100,96 unequal: No Solution
Exploring Operation: 100-51=49, Resulting Numbers: [49]
49,96 unequal: No Solution
Exploring Operation: 51+100=151, Resulting Numbers: [151]
151,96 unequal: No Solution
Moving to Node #0,0,0
Current State: 96:[89, 9], Operations: ['85+4=89', '60-51=9']
Exploring Operation: 89*9=801, Resulting Numbers: [801]
801,96 unequal: No Solution
Exploring Operation: 89+9=98, Resulting Numbers: [98]
98,96 unequal: No Solution
Exploring Operation: 89-9=80, Resulting Numbers: [80]
80,96 unequal: No Solution
Moving to Node #0,2,3
Current State: 96:[9, 89], Operations: ['60-51=9', '85+4=89']
Exploring Operation: 89-9=80, Resulting Numbers: [80]
80,96 unequal: No Solution
Exploring Operation: 9+89=98, Resulting Numbers: [98]
98,96 unequal: No Solution
Exploring Operation: 9*89=801, Resulting Numbers: [801]
801,96 unequal: No Solution
Moving to Node #0,2,0
Current State: 96:[85, 5], Operations: ['60-51=9', '9-4=5']
Exploring Operation: 85+5=90, Resulting Numbers: [90]
90,96 unequal: No Solution
Exploring Operation: 85-5=80, Resulting Numbers: [80]
80,96 unequal: No Solution
Exploring Operation: 85*5=425, Resulting Numbers: [425]
425,96 unequal: No Solution
Exploring Operation: 85/5=17, Resulting Numbers: [17]
17,96 unequal: No Solution
Moving to Node #0,2,2
Current State: 96:[85, 13], Operations: ['60-51=9', '4+9=13']
Exploring Operation: 85-13=72, Resulting Numbers: [72]
72,96 unequal: No Solution
Exploring Operation: 85*13=1105, Resulting Numbers: [1105]
1105,96 unequal: No Solution
Exploring Operation: 85+13=98, Resulting Numbers: [98]
98,96 unequal: No Solution
Moving to Node #0,2,4
Current State: 96:[85, 36], Operations: ['60-51=9', '4*9=36']
Exploring Operation: 85+36=121, Resulting Numbers: [121]
121,96 unequal: No Solution
Exploring Operation: 85*36=3060, Resulting Numbers: [3060]
3060,96 unequal: No Solution
Exploring Operation: 85-36=49, Resulting Numbers: [49]
49,96 unequal: No Solution
Moving to Node #0,4,4
Current State: 96:[85, 36], Operations: ['60/4=15', '51-15=36']
Exploring Operation: 85*36=3060, Resulting Numbers: [3060]
3060,96 unequal: No Solution
Exploring Operation: 85+36=121, Resulting Numbers: [121]
121,96 unequal: No Solution
Exploring Operation: 85-36=49, Resulting Numbers: [49]
49,96 unequal: No Solution
Moving to Node #0,0,3
Current State: 96:[60, 38], Operations: ['85+4=89', '89-51=38']
Exploring Operation: 60+38=98, Resulting Numbers: [98]
98,96 unequal: No Solution
Exploring Operation: 60*38=2280, Resulting Numbers: [2280]
2280,96 unequal: No Solution
Exploring Operation: 60-38=22, Resulting Numbers: [22]
22,96 unequal: No Solution
Moving to Node #0,0,4
Current State: 96:[89, 111], Operations: ['85+4=89', '60+51=111']
Exploring Operation: 89+111=200, Resulting Numbers: [200]
200,96 unequal: No Solution
Exploring Operation: 111-89=22, Resulting Numbers: [22]
22,96 unequal: No Solution
Exploring Operation: 89*111=9879, Resulting Numbers: [9879]
9879,96 unequal: No Solution
Moving to Node #0,4,2
Current State: 96:[51, 70], Operations: ['60/4=15', '85-15=70']
Exploring Operation: 70-51=19, Resulting Numbers: [19]
19,96 unequal: No Solution
Exploring Operation: 51*70=3570, Resulting Numbers: [3570]
3570,96 unequal: No Solution
Exploring Operation: 51+70=121, Resulting Numbers: [121]
121,96 unequal: No Solution
Moving to Node #0,4,1
Current State: 96:[85, 66], Operations: ['60/4=15', '51+15=66']
Exploring Operation: 85*66=5610, Resulting Numbers: [5610]
5610,96 unequal: No Solution
Exploring Operation: 85+66=151, Resulting Numbers: [151]
151,96 unequal: No Solution
Exploring Operation: 85-66=19, Resulting Numbers: [19]
19,96 unequal: No Solution
Moving to Node #0,0,1
Current State: 96:[51, 149], Operations: ['85+4=89', '60+89=149']
Exploring Operation: 51+149=200, Resulting Numbers: [200]
200,96 unequal: No Solution
Exploring Operation: 149-51=98, Resulting Numbers: [98]
98,96 unequal: No Solution
Exploring Operation: 51*149=7599, Resulting Numbers: [7599]
7599,96 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
6,
8,
69,
96
] | 59 | [
"96/6=16",
"8*16=128",
"128-69=59"
] | Current State: 59:[6, 8, 69, 96], Operations: []
Exploring Operation: 96/6=16, Resulting Numbers: [8, 69, 16]
Generated Node #2: [8, 69, 16] from Operation: 96/6=16
Current State: 59:[8, 69, 16], Operations: ['96/6=16']
Exploring Operation: 8*16=128, Resulting Numbers: [69, 128]
Generated Node #3: [69, 128] from Operation: 8*16=128
Current State: 59:[69, 128], Operations: ['96/6=16', '8*16=128']
Exploring Operation: 128-69=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[6, 8, 69, 96], Operations: []
Exploring Operation: 6+8=14, Resulting Numbers: [69, 96, 14]
Generated Node #0,0: 59:[69, 96, 14] Operation: 6+8=14
Exploring Operation: 6*8=48, Resulting Numbers: [69, 96, 48]
Generated Node #0,1: 59:[69, 96, 48] Operation: 6*8=48
Moving to Node #0,1
Current State: 59:[69, 96, 48], Operations: ['6*8=48']
Exploring Operation: 96-48=48, Resulting Numbers: [69, 48]
Generated Node #0,1,0: 59:[69, 48] Operation: 96-48=48
Exploring Operation: 96-69=27, Resulting Numbers: [48, 27]
Generated Node #0,1,1: 59:[48, 27] Operation: 96-69=27
Moving to Node #0,0
Current State: 59:[69, 96, 14], Operations: ['6+8=14']
Exploring Operation: 96-14=82, Resulting Numbers: [69, 82]
Generated Node #0,0,0: 59:[69, 82] Operation: 96-14=82
Exploring Operation: 69-14=55, Resulting Numbers: [96, 55]
Generated Node #0,0,1: 59:[96, 55] Operation: 69-14=55
Moving to Node #0,1,0
Current State: 59:[69, 48], Operations: ['6*8=48', '96-48=48']
Exploring Operation: 69-48=21, Resulting Numbers: [21]
21,59 unequal: No Solution
Exploring Operation: 69+48=117, Resulting Numbers: [117]
117,59 unequal: No Solution
Moving to Node #0,0,0
Current State: 59:[69, 82], Operations: ['6+8=14', '96-14=82']
Exploring Operation: 69+82=151, Resulting Numbers: [151]
151,59 unequal: No Solution
Exploring Operation: 82-69=13, Resulting Numbers: [13]
13,59 unequal: No Solution
Moving to Node #0,0,1
Current State: 59:[96, 55], Operations: ['6+8=14', '69-14=55']
Exploring Operation: 96-55=41, Resulting Numbers: [41]
41,59 unequal: No Solution
Exploring Operation: 96+55=151, Resulting Numbers: [151]
151,59 unequal: No Solution
Moving to Node #0,1,1
Current State: 59:[48, 27], Operations: ['6*8=48', '96-69=27']
Exploring Operation: 48+27=75, Resulting Numbers: [75]
75,59 unequal: No Solution
Exploring Operation: 48-27=21, Resulting Numbers: [21]
21,59 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
34,
17,
32,
13
] | 29 | [
"34/17=2",
"32/2=16",
"13+16=29"
] | Current State: 29:[34, 17, 32, 13], Operations: []
Exploring Operation: 34/17=2, Resulting Numbers: [32, 13, 2]
Generated Node #2: [32, 13, 2] from Operation: 34/17=2
Current State: 29:[32, 13, 2], Operations: ['34/17=2']
Exploring Operation: 32/2=16, Resulting Numbers: [13, 16]
Generated Node #3: [13, 16] from Operation: 32/2=16
Current State: 29:[13, 16], Operations: ['34/17=2', '32/2=16']
Exploring Operation: 13+16=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[34, 17, 32, 13], Operations: []
Exploring Operation: 34-13=21, Resulting Numbers: [17, 32, 21]
Generated Node #0,0: 29:[17, 32, 21] Operation: 34-13=21
Exploring Operation: 17+13=30, Resulting Numbers: [34, 32, 30]
Generated Node #0,1: 29:[34, 32, 30] Operation: 17+13=30
Exploring Operation: 32-13=19, Resulting Numbers: [34, 17, 19]
Generated Node #0,2: 29:[34, 17, 19] Operation: 32-13=19
Moving to Node #0,1
Current State: 29:[34, 32, 30], Operations: ['17+13=30']
Exploring Operation: 34-32=2, Resulting Numbers: [30, 2]
Generated Node #0,1,0: 29:[30, 2] Operation: 34-32=2
Exploring Operation: 32-30=2, Resulting Numbers: [34, 2]
Generated Node #0,1,1: 29:[34, 2] Operation: 32-30=2
Exploring Operation: 34-30=4, Resulting Numbers: [32, 4]
Generated Node #0,1,2: 29:[32, 4] Operation: 34-30=4
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 29:[30, 2], Operations: ['17+13=30', '34-32=2']
Exploring Operation: 30+2=32, Resulting Numbers: [32]
32,29 unequal: No Solution
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,29 unequal: No Solution
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,29 unequal: No Solution
No 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: 29:[32, 4], Operations: ['17+13=30', '34-30=4']
Exploring Operation: 32-4=28, Resulting Numbers: [28]
28,29 unequal: No Solution
Exploring Operation: 32/4=8, Resulting Numbers: [8]
8,29 unequal: No Solution
Exploring Operation: 32+4=36, Resulting Numbers: [36]
36,29 unequal: No Solution
No 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: 29:[34, 2], Operations: ['17+13=30', '32-30=2']
Exploring Operation: 34+2=36, Resulting Numbers: [36]
36,29 unequal: No Solution
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,29 unequal: No Solution
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,29 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: 29:[17, 32, 21], Operations: ['34-13=21']
Exploring Operation: 17+21=38, Resulting Numbers: [32, 38]
Generated Node #0,0,0: 29:[32, 38] Operation: 17+21=38
Exploring Operation: 17+32=49, Resulting Numbers: [21, 49]
Generated Node #0,0,1: 29:[21, 49] Operation: 17+32=49
Exploring Operation: 32-17=15, Resulting Numbers: [21, 15]
Generated Node #0,0,2: 29:[21, 15] Operation: 32-17=15
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 29:[32, 38], Operations: ['34-13=21', '17+21=38']
Exploring Operation: 32+38=70, Resulting Numbers: [70]
70,29 unequal: No Solution
Exploring Operation: 32*38=1216, Resulting Numbers: [1216]
1216,29 unequal: No Solution
Exploring Operation: 38-32=6, Resulting Numbers: [6]
6,29 unequal: No Solution
No 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: 29:[21, 15], Operations: ['34-13=21', '32-17=15']
Exploring Operation: 21-15=6, Resulting Numbers: [6]
6,29 unequal: No Solution
Exploring Operation: 21+15=36, Resulting Numbers: [36]
36,29 unequal: No Solution
Exploring Operation: 21*15=315, Resulting Numbers: [315]
315,29 unequal: No Solution
No 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: 29:[21, 49], Operations: ['34-13=21', '17+32=49']
Exploring Operation: 21+49=70, Resulting Numbers: [70]
70,29 unequal: No Solution
Exploring Operation: 49-21=28, Resulting Numbers: [28]
28,29 unequal: No Solution
Exploring Operation: 21*49=1029, Resulting Numbers: [1029]
1029,29 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: 29:[34, 17, 19], Operations: ['32-13=19']
Exploring Operation: 34-19=15, Resulting Numbers: [17, 15]
Generated Node #0,2,0: 29:[17, 15] Operation: 34-19=15
Exploring Operation: 17+19=36, Resulting Numbers: [34, 36]
Generated Node #0,2,1: 29:[34, 36] Operation: 17+19=36
Exploring Operation: 34-17=17, Resulting Numbers: [19, 17]
Generated Node #0,2,2: 29:[19, 17] Operation: 34-17=17
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 29:[34, 36], Operations: ['32-13=19', '17+19=36']
Exploring Operation: 36-34=2, Resulting Numbers: [2]
2,29 unequal: No Solution
Exploring Operation: 34*36=1224, Resulting Numbers: [1224]
1224,29 unequal: No Solution
Exploring Operation: 34+36=70, Resulting Numbers: [70]
70,29 unequal: No Solution
No 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: 29:[19, 17], Operations: ['32-13=19', '34-17=17']
Exploring Operation: 19*17=323, Resulting Numbers: [323]
323,29 unequal: No Solution
Exploring Operation: 19+17=36, Resulting Numbers: [36]
36,29 unequal: No Solution
Exploring Operation: 19-17=2, Resulting Numbers: [2]
2,29 unequal: No Solution
No 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: 29:[17, 15], Operations: ['32-13=19', '34-19=15']
Exploring Operation: 17*15=255, Resulting Numbers: [255]
255,29 unequal: No Solution
Exploring Operation: 17+15=32, Resulting Numbers: [32]
32,29 unequal: No Solution
Exploring Operation: 17-15=2, Resulting Numbers: [2]
2,29 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 |
[
75,
60,
5,
37
] | 64 | [
"75+60=135",
"135/5=27",
"37+27=64"
] | Current State: 64:[75, 60, 5, 37], Operations: []
Exploring Operation: 75+60=135, Resulting Numbers: [5, 37, 135]
Generated Node #2: [5, 37, 135] from Operation: 75+60=135
Current State: 64:[5, 37, 135], Operations: ['75+60=135']
Exploring Operation: 135/5=27, Resulting Numbers: [37, 27]
Generated Node #3: [37, 27] from Operation: 135/5=27
Current State: 64:[37, 27], Operations: ['75+60=135', '135/5=27']
Exploring Operation: 37+27=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[75, 60, 5, 37], Operations: []
Exploring Operation: 75-37=38, Resulting Numbers: [60, 5, 38]
Generated Node #0,0: 64:[60, 5, 38] Operation: 75-37=38
Exploring Operation: 75-5=70, Resulting Numbers: [60, 37, 70]
Generated Node #0,1: 64:[60, 37, 70] Operation: 75-5=70
Exploring Operation: 75/5=15, Resulting Numbers: [60, 37, 15]
Generated Node #0,2: 64:[60, 37, 15] Operation: 75/5=15
Exploring Operation: 75-60=15, Resulting Numbers: [5, 37, 15]
Generated Node #0,3: 64:[5, 37, 15] Operation: 75-60=15
Start Sub Search at level 1: Moving to Node #0,3
Current State: 64:[5, 37, 15], Operations: ['75-60=15']
Exploring Operation: 15-5=10, Resulting Numbers: [37, 10]
Generated Node #0,3,0: 64:[37, 10] Operation: 15-5=10
Exploring Operation: 37-5=32, Resulting Numbers: [15, 32]
Generated Node #0,3,1: 64:[15, 32] Operation: 37-5=32
Exploring Operation: 15/5=3, Resulting Numbers: [37, 3]
Generated Node #0,3,2: 64:[37, 3] Operation: 15/5=3
Exploring Operation: 37-15=22, Resulting Numbers: [5, 22]
Generated Node #0,3,3: 64:[5, 22] Operation: 37-15=22
Moving to Node #0,3,1
Current State: 64:[15, 32], Operations: ['75-60=15', '37-5=32']
Exploring Operation: 15+32=47, Resulting Numbers: [47]
47,64 unequal: No Solution
Exploring Operation: 32-15=17, Resulting Numbers: [17]
17,64 unequal: No Solution
Exploring Operation: 15*32=480, Resulting Numbers: [480]
480,64 unequal: No Solution
Moving to Node #0,3,2
Current State: 64:[37, 3], Operations: ['75-60=15', '15/5=3']
Exploring Operation: 37-3=34, Resulting Numbers: [34]
34,64 unequal: No Solution
Exploring Operation: 37+3=40, Resulting Numbers: [40]
40,64 unequal: No Solution
Exploring Operation: 37*3=111, Resulting Numbers: [111]
111,64 unequal: No Solution
Moving to Node #0,3,3
Current State: 64:[5, 22], Operations: ['75-60=15', '37-15=22']
Exploring Operation: 5*22=110, Resulting Numbers: [110]
110,64 unequal: No Solution
Exploring Operation: 22-5=17, Resulting Numbers: [17]
17,64 unequal: No Solution
Exploring Operation: 5+22=27, Resulting Numbers: [27]
27,64 unequal: No Solution
Moving to Node #0,3,0
Current State: 64:[37, 10], Operations: ['75-60=15', '15-5=10']
Exploring Operation: 37-10=27, Resulting Numbers: [27]
27,64 unequal: No Solution
Exploring Operation: 37*10=370, Resulting Numbers: [370]
370,64 unequal: No Solution
Exploring Operation: 37+10=47, Resulting Numbers: [47]
47,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 64:[60, 37, 15], Operations: ['75/5=15']
Exploring Operation: 60/15=4, Resulting Numbers: [37, 4]
Generated Node #0,2,0: 64:[37, 4] Operation: 60/15=4
Exploring Operation: 60+15=75, Resulting Numbers: [37, 75]
Generated Node #0,2,1: 64:[37, 75] Operation: 60+15=75
Exploring Operation: 37-15=22, Resulting Numbers: [60, 22]
Generated Node #0,2,2: 64:[60, 22] Operation: 37-15=22
Exploring Operation: 60-37=23, Resulting Numbers: [15, 23]
Generated Node #0,2,3: 64:[15, 23] Operation: 60-37=23
Moving to Node #0,2,0
Current State: 64:[37, 4], Operations: ['75/5=15', '60/15=4']
Exploring Operation: 37-4=33, Resulting Numbers: [33]
33,64 unequal: No Solution
Exploring Operation: 37+4=41, Resulting Numbers: [41]
41,64 unequal: No Solution
Exploring Operation: 37*4=148, Resulting Numbers: [148]
148,64 unequal: No Solution
Moving to Node #0,2,3
Current State: 64:[15, 23], Operations: ['75/5=15', '60-37=23']
Exploring Operation: 15*23=345, Resulting Numbers: [345]
345,64 unequal: No Solution
Exploring Operation: 15+23=38, Resulting Numbers: [38]
38,64 unequal: No Solution
Exploring Operation: 23-15=8, Resulting Numbers: [8]
8,64 unequal: No Solution
Moving to Node #0,2,2
Current State: 64:[60, 22], Operations: ['75/5=15', '37-15=22']
Exploring Operation: 60-22=38, Resulting Numbers: [38]
38,64 unequal: No Solution
Exploring Operation: 60+22=82, Resulting Numbers: [82]
82,64 unequal: No Solution
Exploring Operation: 60*22=1320, Resulting Numbers: [1320]
1320,64 unequal: No Solution
Moving to Node #0,2,1
Current State: 64:[37, 75], Operations: ['75/5=15', '60+15=75']
Exploring Operation: 37+75=112, Resulting Numbers: [112]
112,64 unequal: No Solution
Exploring Operation: 37*75=2775, Resulting Numbers: [2775]
2775,64 unequal: No Solution
Exploring Operation: 75-37=38, Resulting Numbers: [38]
38,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[60, 5, 38], Operations: ['75-37=38']
Exploring Operation: 60+5=65, Resulting Numbers: [38, 65]
Generated Node #0,0,0: 64:[38, 65] Operation: 60+5=65
Exploring Operation: 60-38=22, Resulting Numbers: [5, 22]
Generated Node #0,0,1: 64:[5, 22] Operation: 60-38=22
Exploring Operation: 38-5=33, Resulting Numbers: [60, 33]
Generated Node #0,0,2: 64:[60, 33] Operation: 38-5=33
Exploring Operation: 60/5=12, Resulting Numbers: [38, 12]
Generated Node #0,0,3: 64:[38, 12] Operation: 60/5=12
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 64:[60, 33], Operations: ['75-37=38', '38-5=33']
Exploring Operation: 60*33=1980, Resulting Numbers: [1980]
1980,64 unequal: No Solution
Exploring Operation: 60+33=93, Resulting Numbers: [93]
93,64 unequal: No Solution
Exploring Operation: 60-33=27, Resulting Numbers: [27]
27,64 unequal: No Solution
No 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: 64:[38, 65], Operations: ['75-37=38', '60+5=65']
Exploring Operation: 38+65=103, Resulting Numbers: [103]
103,64 unequal: No Solution
Exploring Operation: 38*65=2470, Resulting Numbers: [2470]
2470,64 unequal: No Solution
Exploring Operation: 65-38=27, Resulting Numbers: [27]
27,64 unequal: No Solution
No 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: 64:[5, 22], Operations: ['75-37=38', '60-38=22']
Exploring Operation: 22-5=17, Resulting Numbers: [17]
17,64 unequal: No Solution
Exploring Operation: 5*22=110, Resulting Numbers: [110]
110,64 unequal: No Solution
Exploring Operation: 5+22=27, Resulting Numbers: [27]
27,64 unequal: No Solution
No 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: 64:[38, 12], Operations: ['75-37=38', '60/5=12']
Exploring Operation: 38+12=50, Resulting Numbers: [50]
50,64 unequal: No Solution
Exploring Operation: 38-12=26, Resulting Numbers: [26]
26,64 unequal: No Solution
Exploring Operation: 38*12=456, Resulting Numbers: [456]
456,64 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: 64:[60, 37, 70], Operations: ['75-5=70']
Exploring Operation: 70-60=10, Resulting Numbers: [37, 10]
Generated Node #0,1,0: 64:[37, 10] Operation: 70-60=10
Exploring Operation: 60-37=23, Resulting Numbers: [70, 23]
Generated Node #0,1,1: 64:[70, 23] Operation: 60-37=23
Exploring Operation: 70-37=33, Resulting Numbers: [60, 33]
Generated Node #0,1,2: 64:[60, 33] Operation: 70-37=33
Exploring Operation: 60+37=97, Resulting Numbers: [70, 97]
Generated Node #0,1,3: 64:[70, 97] Operation: 60+37=97
Moving to Node #0,1,2
Current State: 64:[60, 33], Operations: ['75-5=70', '70-37=33']
Exploring Operation: 60-33=27, Resulting Numbers: [27]
27,64 unequal: No Solution
Exploring Operation: 60+33=93, Resulting Numbers: [93]
93,64 unequal: No Solution
Exploring Operation: 60*33=1980, Resulting Numbers: [1980]
1980,64 unequal: No Solution
Moving to Node #0,1,0
Current State: 64:[37, 10], Operations: ['75-5=70', '70-60=10']
Exploring Operation: 37*10=370, Resulting Numbers: [370]
370,64 unequal: No Solution
Exploring Operation: 37+10=47, Resulting Numbers: [47]
47,64 unequal: No Solution
Exploring Operation: 37-10=27, Resulting Numbers: [27]
27,64 unequal: No Solution
Moving to Node #0,1,1
Current State: 64:[70, 23], Operations: ['75-5=70', '60-37=23']
Exploring Operation: 70*23=1610, Resulting Numbers: [1610]
1610,64 unequal: No Solution
Exploring Operation: 70-23=47, Resulting Numbers: [47]
47,64 unequal: No Solution
Exploring Operation: 70+23=93, Resulting Numbers: [93]
93,64 unequal: No Solution
Moving to Node #0,1,3
Current State: 64:[70, 97], Operations: ['75-5=70', '60+37=97']
Exploring Operation: 70*97=6790, Resulting Numbers: [6790]
6790,64 unequal: No Solution
Exploring Operation: 97-70=27, Resulting Numbers: [27]
27,64 unequal: No Solution
Exploring Operation: 70+97=167, Resulting Numbers: [167]
167,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
8,
57,
28,
50
] | 71 | [
"57-8=49",
"50-28=22",
"49+22=71"
] | Current State: 71:[8, 57, 28, 50], Operations: []
Exploring Operation: 57-8=49, Resulting Numbers: [28, 50, 49]
Generated Node #2: [28, 50, 49] from Operation: 57-8=49
Current State: 71:[28, 50, 49], Operations: ['57-8=49']
Exploring Operation: 50-28=22, Resulting Numbers: [49, 22]
Generated Node #3: [49, 22] from Operation: 50-28=22
Current State: 71:[49, 22], Operations: ['57-8=49', '50-28=22']
Exploring Operation: 49+22=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[8, 57, 28, 50], Operations: []
Exploring Operation: 8+57=65, Resulting Numbers: [28, 50, 65]
Generated Node #0,0: 71:[28, 50, 65] Operation: 8+57=65
Moving to Node #0,0
Current State: 71:[28, 50, 65], Operations: ['8+57=65']
Exploring Operation: 28+50=78, Resulting Numbers: [65, 78]
Generated Node #0,0,0: 71:[65, 78] Operation: 28+50=78
Moving to Node #0,0,0
Current State: 71:[65, 78], Operations: ['8+57=65', '28+50=78']
Exploring Operation: 78-65=13, Resulting Numbers: [13]
13,71 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
1,
8,
8,
38
] | 54 | [
"1*8=8",
"8+38=46",
"8+46=54"
] | Current State: 54:[1, 8, 8, 38], Operations: []
Exploring Operation: 1*8=8, Resulting Numbers: [38, 8]
Generated Node #2: [38, 8] from Operation: 1*8=8
Current State: 54:[38, 8], Operations: ['1*8=8']
Exploring Operation: 8+38=46, Resulting Numbers: [46]
46,54 equal: Goal Reached
Exploring Operation: 8+46=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[1, 8, 8, 38], Operations: []
Exploring Operation: 38-8=30, Resulting Numbers: [1, 8, 30]
Generated Node #0,0: 54:[1, 8, 30] Operation: 38-8=30
Exploring Operation: 38-8=30, Resulting Numbers: [1, 8, 30]
Generated Node #0,1: 54:[1, 8, 30] Operation: 38-8=30
Moving to Node #0,0
Current State: 54:[1, 8, 30], Operations: ['38-8=30']
Exploring Operation: 30-1=29, Resulting Numbers: [8, 29]
Generated Node #0,0,0: 54:[8, 29] Operation: 30-1=29
Exploring Operation: 1+8=9, Resulting Numbers: [30, 9]
Generated Node #0,0,1: 54:[30, 9] Operation: 1+8=9
Moving to Node #0,1
Current State: 54:[1, 8, 30], Operations: ['38-8=30']
Exploring Operation: 30-1=29, Resulting Numbers: [8, 29]
Generated Node #0,1,0: 54:[8, 29] Operation: 30-1=29
Exploring Operation: 1+8=9, Resulting Numbers: [30, 9]
Generated Node #0,1,1: 54:[30, 9] Operation: 1+8=9
Moving to Node #0,0,0
Current State: 54:[8, 29], Operations: ['38-8=30', '30-1=29']
Exploring Operation: 8+29=37, Resulting Numbers: [37]
37,54 unequal: No Solution
Exploring Operation: 29-8=21, Resulting Numbers: [21]
21,54 unequal: No Solution
Moving to Node #0,1,0
Current State: 54:[8, 29], Operations: ['38-8=30', '30-1=29']
Exploring Operation: 29-8=21, Resulting Numbers: [21]
21,54 unequal: No Solution
Exploring Operation: 8+29=37, Resulting Numbers: [37]
37,54 unequal: No Solution
Moving to Node #0,0,1
Current State: 54:[30, 9], Operations: ['38-8=30', '1+8=9']
Exploring Operation: 30+9=39, Resulting Numbers: [39]
39,54 unequal: No Solution
Exploring Operation: 30-9=21, Resulting Numbers: [21]
21,54 unequal: No Solution
Moving to Node #0,1,1
Current State: 54:[30, 9], Operations: ['38-8=30', '1+8=9']
Exploring Operation: 30+9=39, Resulting Numbers: [39]
39,54 unequal: No Solution
Exploring Operation: 30-9=21, Resulting Numbers: [21]
21,54 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
95,
82,
9,
93
] | 97 | [
"95-82=13",
"93-9=84",
"13+84=97"
] | Current State: 97:[95, 82, 9, 93], Operations: []
Exploring Operation: 95-82=13, Resulting Numbers: [9, 93, 13]
Generated Node #2: [9, 93, 13] from Operation: 95-82=13
Current State: 97:[9, 93, 13], Operations: ['95-82=13']
Exploring Operation: 93-9=84, Resulting Numbers: [13, 84]
Generated Node #3: [13, 84] from Operation: 93-9=84
Current State: 97:[13, 84], Operations: ['95-82=13', '93-9=84']
Exploring Operation: 13+84=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[95, 82, 9, 93], Operations: []
Exploring Operation: 82+9=91, Resulting Numbers: [95, 93, 91]
Generated Node #0,0: 97:[95, 93, 91] Operation: 82+9=91
Moving to Node #0,0
Current State: 97:[95, 93, 91], Operations: ['82+9=91']
Exploring Operation: 93+91=184, Resulting Numbers: [95, 184]
Generated Node #0,0,0: 97:[95, 184] Operation: 93+91=184
Moving to Node #0,0,0
Current State: 97:[95, 184], Operations: ['82+9=91', '93+91=184']
Exploring Operation: 184-95=89, Resulting Numbers: [89]
89,97 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
83,
6,
74,
22
] | 99 | [
"74+22=96",
"96/6=16",
"83+16=99"
] | Current State: 99:[83, 6, 74, 22], Operations: []
Exploring Operation: 74+22=96, Resulting Numbers: [83, 6, 96]
Generated Node #2: [83, 6, 96] from Operation: 74+22=96
Current State: 99:[83, 6, 96], Operations: ['74+22=96']
Exploring Operation: 96/6=16, Resulting Numbers: [83, 16]
Generated Node #3: [83, 16] from Operation: 96/6=16
Current State: 99:[83, 16], Operations: ['74+22=96', '96/6=16']
Exploring Operation: 83+16=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[83, 6, 74, 22], Operations: []
Exploring Operation: 83-74=9, Resulting Numbers: [6, 22, 9]
Generated Node #0,0: 99:[6, 22, 9] Operation: 83-74=9
Exploring Operation: 74+22=96, Resulting Numbers: [83, 6, 96]
Generated Node #0,1: 99:[83, 6, 96] Operation: 74+22=96
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[6, 22, 9], Operations: ['83-74=9']
Exploring Operation: 22-6=16, Resulting Numbers: [9, 16]
Generated Node #0,0,0: 99:[9, 16] Operation: 22-6=16
Exploring Operation: 6+22=28, Resulting Numbers: [9, 28]
Generated Node #0,0,1: 99:[9, 28] Operation: 6+22=28
Moving to Node #0,0,0
Current State: 99:[9, 16], Operations: ['83-74=9', '22-6=16']
Exploring Operation: 9+16=25, Resulting Numbers: [25]
25,99 unequal: No Solution
Exploring Operation: 16-9=7, Resulting Numbers: [7]
7,99 unequal: No Solution
Moving to Node #0,0,1
Current State: 99:[9, 28], Operations: ['83-74=9', '6+22=28']
Exploring Operation: 28-9=19, Resulting Numbers: [19]
19,99 unequal: No Solution
Exploring Operation: 9+28=37, Resulting Numbers: [37]
37,99 unequal: No Solution
No 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: 99:[83, 6, 96], Operations: ['74+22=96']
Exploring Operation: 83+6=89, Resulting Numbers: [96, 89]
Generated Node #0,1,0: 99:[96, 89] Operation: 83+6=89
Exploring Operation: 96-83=13, Resulting Numbers: [6, 13]
Generated Node #0,1,1: 99:[6, 13] Operation: 96-83=13
Moving to Node #0,1,1
Current State: 99:[6, 13], Operations: ['74+22=96', '96-83=13']
Exploring Operation: 6+13=19, Resulting Numbers: [19]
19,99 unequal: No Solution
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,99 unequal: No Solution
Moving to Node #0,1,0
Current State: 99:[96, 89], Operations: ['74+22=96', '83+6=89']
Exploring Operation: 96-89=7, Resulting Numbers: [7]
7,99 unequal: No Solution
Exploring Operation: 96+89=185, Resulting Numbers: [185]
185,99 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 |
[
83,
49,
13,
98
] | 72 | [
"83-13=70",
"98/49=2",
"70+2=72"
] | Current State: 72:[83, 49, 13, 98], Operations: []
Exploring Operation: 83-13=70, Resulting Numbers: [49, 98, 70]
Generated Node #2: [49, 98, 70] from Operation: 83-13=70
Current State: 72:[49, 98, 70], Operations: ['83-13=70']
Exploring Operation: 98/49=2, Resulting Numbers: [70, 2]
Generated Node #3: [70, 2] from Operation: 98/49=2
Current State: 72:[70, 2], Operations: ['83-13=70', '98/49=2']
Exploring Operation: 70+2=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[83, 49, 13, 98], Operations: []
Exploring Operation: 98-49=49, Resulting Numbers: [83, 13, 49]
Generated Node #0,0: 72:[83, 13, 49] Operation: 98-49=49
Exploring Operation: 98/49=2, Resulting Numbers: [83, 13, 2]
Generated Node #0,1: 72:[83, 13, 2] Operation: 98/49=2
Exploring Operation: 98-83=15, Resulting Numbers: [49, 13, 15]
Generated Node #0,2: 72:[49, 13, 15] Operation: 98-83=15
Start Sub Search at level 1: Moving to Node #0,1
Current State: 72:[83, 13, 2], Operations: ['98/49=2']
Exploring Operation: 83-13=70, Resulting Numbers: [2, 70]
Generated Node #0,1,0: 72:[2, 70] Operation: 83-13=70
Exploring Operation: 13-2=11, Resulting Numbers: [83, 11]
Generated Node #0,1,1: 72:[83, 11] Operation: 13-2=11
Exploring Operation: 83-2=81, Resulting Numbers: [13, 81]
Generated Node #0,1,2: 72:[13, 81] Operation: 83-2=81
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 72:[2, 70], Operations: ['98/49=2', '83-13=70']
Exploring Operation: 70-2=68, Resulting Numbers: [68]
68,72 unequal: No Solution
Exploring Operation: 2+70=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[83, 49, 13, 98], Operations: []
Exploring Operation: 98/49=2, Resulting Numbers: [83, 13, 2]
Generated Node #0,1: 72:[83, 13, 2] Operation: 98/49=2
Moving to Node #0,1
Current State: 72:[83, 13, 2], Operations: ['98/49=2']
Exploring Operation: 83-13=70, Resulting Numbers: [2, 70]
Generated Node #0,1,0: 72:[2, 70] Operation: 83-13=70
Moving to Node #0,1,0
Current State: 72:[2, 70], Operations: ['98/49=2', '83-13=70']
Exploring Operation: 2+70=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
16,
51,
43,
49
] | 35 | [
"51-49=2",
"16/2=8",
"43-8=35"
] | Current State: 35:[16, 51, 43, 49], Operations: []
Exploring Operation: 51-49=2, Resulting Numbers: [16, 43, 2]
Generated Node #2: [16, 43, 2] from Operation: 51-49=2
Current State: 35:[16, 43, 2], Operations: ['51-49=2']
Exploring Operation: 16/2=8, Resulting Numbers: [43, 8]
Generated Node #3: [43, 8] from Operation: 16/2=8
Current State: 35:[43, 8], Operations: ['51-49=2', '16/2=8']
Exploring Operation: 43-8=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[16, 51, 43, 49], Operations: []
Exploring Operation: 51-43=8, Resulting Numbers: [16, 49, 8]
Generated Node #0,0: 35:[16, 49, 8] Operation: 51-43=8
Exploring Operation: 51-16=35, Resulting Numbers: [43, 49, 35]
Generated Node #0,1: 35:[43, 49, 35] Operation: 51-16=35
Exploring Operation: 49-16=33, Resulting Numbers: [51, 43, 33]
Generated Node #0,2: 35:[51, 43, 33] Operation: 49-16=33
Exploring Operation: 51-49=2, Resulting Numbers: [16, 43, 2]
Generated Node #0,3: 35:[16, 43, 2] Operation: 51-49=2
Moving to Node #0,3
Current State: 35:[16, 43, 2], Operations: ['51-49=2']
Exploring Operation: 43-16=27, Resulting Numbers: [2, 27]
Generated Node #0,3,0: 35:[2, 27] Operation: 43-16=27
Exploring Operation: 16-2=14, Resulting Numbers: [43, 14]
Generated Node #0,3,1: 35:[43, 14] Operation: 16-2=14
Exploring Operation: 16*2=32, Resulting Numbers: [43, 32]
Generated Node #0,3,2: 35:[43, 32] Operation: 16*2=32
Exploring Operation: 16/2=8, Resulting Numbers: [43, 8]
Generated Node #0,3,3: 35:[43, 8] Operation: 16/2=8
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 35:[43, 8], Operations: ['51-49=2', '16/2=8']
Exploring Operation: 43*8=344, Resulting Numbers: [344]
344,35 unequal: No Solution
Exploring Operation: 43-8=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[16, 51, 43, 49], Operations: []
Exploring Operation: 51-49=2, Resulting Numbers: [16, 43, 2]
Generated Node #0,3: 35:[16, 43, 2] Operation: 51-49=2
Moving to Node #0,3
Current State: 35:[16, 43, 2], Operations: ['51-49=2']
Exploring Operation: 16/2=8, Resulting Numbers: [43, 8]
Generated Node #0,3,3: 35:[43, 8] Operation: 16/2=8
Moving to Node #0,3,3
Current State: 35:[43, 8], Operations: ['51-49=2', '16/2=8']
Exploring Operation: 43-8=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
25,
61,
75,
60
] | 45 | [
"61-25=36",
"75*36=2700",
"2700/60=45"
] | Current State: 45:[25, 61, 75, 60], Operations: []
Exploring Operation: 61-25=36, Resulting Numbers: [75, 60, 36]
Generated Node #2: [75, 60, 36] from Operation: 61-25=36
Current State: 45:[75, 60, 36], Operations: ['61-25=36']
Exploring Operation: 75*36=2700, Resulting Numbers: [60, 2700]
Generated Node #3: [60, 2700] from Operation: 75*36=2700
Current State: 45:[60, 2700], Operations: ['61-25=36', '75*36=2700']
Exploring Operation: 2700/60=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[25, 61, 75, 60], Operations: []
Exploring Operation: 75-60=15, Resulting Numbers: [25, 61, 15]
Generated Node #0,0: 45:[25, 61, 15] Operation: 75-60=15
Exploring Operation: 75/25=3, Resulting Numbers: [61, 60, 3]
Generated Node #0,1: 45:[61, 60, 3] Operation: 75/25=3
Exploring Operation: 75-61=14, Resulting Numbers: [25, 60, 14]
Generated Node #0,2: 45:[25, 60, 14] Operation: 75-61=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 45:[25, 61, 15], Operations: ['75-60=15']
Exploring Operation: 61-15=46, Resulting Numbers: [25, 46]
Generated Node #0,0,0: 45:[25, 46] Operation: 61-15=46
Exploring Operation: 25-15=10, Resulting Numbers: [61, 10]
Generated Node #0,0,1: 45:[61, 10] Operation: 25-15=10
Exploring Operation: 61-25=36, Resulting Numbers: [15, 36]
Generated Node #0,0,2: 45:[15, 36] Operation: 61-25=36
Moving to Node #0,0,2
Current State: 45:[15, 36], Operations: ['75-60=15', '61-25=36']
Exploring Operation: 15+36=51, Resulting Numbers: [51]
51,45 unequal: No Solution
Exploring Operation: 36-15=21, Resulting Numbers: [21]
21,45 unequal: No Solution
Exploring Operation: 15*36=540, Resulting Numbers: [540]
540,45 unequal: No Solution
Moving to Node #0,0,0
Current State: 45:[25, 46], Operations: ['75-60=15', '61-15=46']
Exploring Operation: 25+46=71, Resulting Numbers: [71]
71,45 unequal: No Solution
Exploring Operation: 46-25=21, Resulting Numbers: [21]
21,45 unequal: No Solution
Exploring Operation: 25*46=1150, Resulting Numbers: [1150]
1150,45 unequal: No Solution
Moving to Node #0,0,1
Current State: 45:[61, 10], Operations: ['75-60=15', '25-15=10']
Exploring Operation: 61+10=71, Resulting Numbers: [71]
71,45 unequal: No Solution
Exploring Operation: 61*10=610, Resulting Numbers: [610]
610,45 unequal: No Solution
Exploring Operation: 61-10=51, Resulting Numbers: [51]
51,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,2
Current State: 45:[25, 60, 14], Operations: ['75-61=14']
Exploring Operation: 60-14=46, Resulting Numbers: [25, 46]
Generated Node #0,2,0: 45:[25, 46] Operation: 60-14=46
Exploring Operation: 60-25=35, Resulting Numbers: [14, 35]
Generated Node #0,2,1: 45:[14, 35] Operation: 60-25=35
Exploring Operation: 25-14=11, Resulting Numbers: [60, 11]
Generated Node #0,2,2: 45:[60, 11] Operation: 25-14=11
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 45:[25, 46], Operations: ['75-61=14', '60-14=46']
Exploring Operation: 25*46=1150, Resulting Numbers: [1150]
1150,45 unequal: No Solution
Exploring Operation: 46-25=21, Resulting Numbers: [21]
21,45 unequal: No Solution
Exploring Operation: 25+46=71, Resulting Numbers: [71]
71,45 unequal: No Solution
No 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: 45:[14, 35], Operations: ['75-61=14', '60-25=35']
Exploring Operation: 35-14=21, Resulting Numbers: [21]
21,45 unequal: No Solution
Exploring Operation: 14*35=490, Resulting Numbers: [490]
490,45 unequal: No Solution
Exploring Operation: 14+35=49, Resulting Numbers: [49]
49,45 unequal: No Solution
No 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: 45:[60, 11], Operations: ['75-61=14', '25-14=11']
Exploring Operation: 60*11=660, Resulting Numbers: [660]
660,45 unequal: No Solution
Exploring Operation: 60+11=71, Resulting Numbers: [71]
71,45 unequal: No Solution
Exploring Operation: 60-11=49, Resulting Numbers: [49]
49,45 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: 45:[61, 60, 3], Operations: ['75/25=3']
Exploring Operation: 60/3=20, Resulting Numbers: [61, 20]
Generated Node #0,1,0: 45:[61, 20] Operation: 60/3=20
Exploring Operation: 61-3=58, Resulting Numbers: [60, 58]
Generated Node #0,1,1: 45:[60, 58] Operation: 61-3=58
Exploring Operation: 61-60=1, Resulting Numbers: [3, 1]
Generated Node #0,1,2: 45:[3, 1] Operation: 61-60=1
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 45:[3, 1], Operations: ['75/25=3', '61-60=1']
Exploring Operation: 3+1=4, Resulting Numbers: [4]
4,45 unequal: No Solution
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,45 unequal: No Solution
Exploring Operation: 3*1=3, Resulting Numbers: [3]
3,45 unequal: No Solution
No 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: 45:[61, 20], Operations: ['75/25=3', '60/3=20']
Exploring Operation: 61+20=81, Resulting Numbers: [81]
81,45 unequal: No Solution
Exploring Operation: 61*20=1220, Resulting Numbers: [1220]
1220,45 unequal: No Solution
Exploring Operation: 61-20=41, Resulting Numbers: [41]
41,45 unequal: No Solution
No 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: 45:[60, 58], Operations: ['75/25=3', '61-3=58']
Exploring Operation: 60+58=118, Resulting Numbers: [118]
118,45 unequal: No Solution
Exploring Operation: 60*58=3480, Resulting Numbers: [3480]
3480,45 unequal: No Solution
Exploring Operation: 60-58=2, Resulting Numbers: [2]
2,45 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 |
[
57,
3,
38,
48
] | 50 | [
"57+3=60",
"48-38=10",
"60-10=50"
] | Current State: 50:[57, 3, 38, 48], Operations: []
Exploring Operation: 57+3=60, Resulting Numbers: [38, 48, 60]
Generated Node #2: [38, 48, 60] from Operation: 57+3=60
Current State: 50:[38, 48, 60], Operations: ['57+3=60']
Exploring Operation: 48-38=10, Resulting Numbers: [60, 10]
Generated Node #3: [60, 10] from Operation: 48-38=10
Current State: 50:[60, 10], Operations: ['57+3=60', '48-38=10']
Exploring Operation: 60-10=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[57, 3, 38, 48], Operations: []
Exploring Operation: 57-48=9, Resulting Numbers: [3, 38, 9]
Generated Node #0,0: 50:[3, 38, 9] Operation: 57-48=9
Exploring Operation: 48-38=10, Resulting Numbers: [57, 3, 10]
Generated Node #0,1: 50:[57, 3, 10] Operation: 48-38=10
Exploring Operation: 57-38=19, Resulting Numbers: [3, 48, 19]
Generated Node #0,2: 50:[3, 48, 19] Operation: 57-38=19
Moving to Node #0,1
Current State: 50:[57, 3, 10], Operations: ['48-38=10']
Exploring Operation: 57-10=47, Resulting Numbers: [3, 47]
Generated Node #0,1,0: 50:[3, 47] Operation: 57-10=47
Exploring Operation: 57-3=54, Resulting Numbers: [10, 54]
Generated Node #0,1,1: 50:[10, 54] Operation: 57-3=54
Exploring Operation: 57/3=19, Resulting Numbers: [10, 19]
Generated Node #0,1,2: 50:[10, 19] Operation: 57/3=19
Moving to Node #0,2
Current State: 50:[3, 48, 19], Operations: ['57-38=19']
Exploring Operation: 3+19=22, Resulting Numbers: [48, 22]
Generated Node #0,2,0: 50:[48, 22] Operation: 3+19=22
Exploring Operation: 3+48=51, Resulting Numbers: [19, 51]
Generated Node #0,2,1: 50:[19, 51] Operation: 3+48=51
Exploring Operation: 48-19=29, Resulting Numbers: [3, 29]
Generated Node #0,2,2: 50:[3, 29] Operation: 48-19=29
Moving to Node #0,0
Current State: 50:[3, 38, 9], Operations: ['57-48=9']
Exploring Operation: 3+38=41, Resulting Numbers: [9, 41]
Generated Node #0,0,0: 50:[9, 41] Operation: 3+38=41
Exploring Operation: 38-9=29, Resulting Numbers: [3, 29]
Generated Node #0,0,1: 50:[3, 29] Operation: 38-9=29
Exploring Operation: 38+9=47, Resulting Numbers: [3, 47]
Generated Node #0,0,2: 50:[3, 47] Operation: 38+9=47
Moving to Node #0,1,0
Current State: 50:[3, 47], Operations: ['48-38=10', '57-10=47']
Exploring Operation: 47-3=44, Resulting Numbers: [44]
44,50 unequal: No Solution
Exploring Operation: 3+47=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[57, 3, 38, 48], Operations: []
Exploring Operation: 48-38=10, Resulting Numbers: [57, 3, 10]
Generated Node #0,1: 50:[57, 3, 10] Operation: 48-38=10
Moving to Node #0,1
Current State: 50:[57, 3, 10], Operations: ['48-38=10']
Exploring Operation: 57-10=47, Resulting Numbers: [3, 47]
Generated Node #0,1,0: 50:[3, 47] Operation: 57-10=47
Moving to Node #0,1,0
Current State: 50:[3, 47], Operations: ['48-38=10', '57-10=47']
Exploring Operation: 3+47=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 0.984375 | hs_3 | mult_heuristic |
[
52,
37,
12,
20
] | 25 | [
"52-37=15",
"20*15=300",
"300/12=25"
] | Current State: 25:[52, 37, 12, 20], Operations: []
Exploring Operation: 52-37=15, Resulting Numbers: [12, 20, 15]
Generated Node #2: [12, 20, 15] from Operation: 52-37=15
Current State: 25:[12, 20, 15], Operations: ['52-37=15']
Exploring Operation: 20*15=300, Resulting Numbers: [12, 300]
Generated Node #3: [12, 300] from Operation: 20*15=300
Current State: 25:[12, 300], Operations: ['52-37=15', '20*15=300']
Exploring Operation: 300/12=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[52, 37, 12, 20], Operations: []
Exploring Operation: 52-37=15, Resulting Numbers: [12, 20, 15]
Generated Node #0,0: 25:[12, 20, 15] Operation: 52-37=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[12, 20, 15], Operations: ['52-37=15']
Exploring Operation: 12+15=27, Resulting Numbers: [20, 27]
Generated Node #0,0,0: 25:[20, 27] Operation: 12+15=27
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 25:[20, 27], Operations: ['52-37=15', '12+15=27']
Exploring Operation: 27-20=7, Resulting Numbers: [7]
7,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_1 | mult_heuristic |
[
14,
26,
38,
82
] | 56 | [
"26-14=12",
"82-38=44",
"12+44=56"
] | Current State: 56:[14, 26, 38, 82], Operations: []
Exploring Operation: 26-14=12, Resulting Numbers: [38, 82, 12]
Generated Node #2: [38, 82, 12] from Operation: 26-14=12
Current State: 56:[38, 82, 12], Operations: ['26-14=12']
Exploring Operation: 82-38=44, Resulting Numbers: [12, 44]
Generated Node #3: [12, 44] from Operation: 82-38=44
Current State: 56:[12, 44], Operations: ['26-14=12', '82-38=44']
Exploring Operation: 12+44=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[14, 26, 38, 82], Operations: []
Exploring Operation: 82-26=56, Resulting Numbers: [14, 38, 56]
Generated Node #0,0: 56:[14, 38, 56] Operation: 82-26=56
Exploring Operation: 14+38=52, Resulting Numbers: [26, 82, 52]
Generated Node #0,1: 56:[26, 82, 52] Operation: 14+38=52
Exploring Operation: 82-14=68, Resulting Numbers: [26, 38, 68]
Generated Node #0,2: 56:[26, 38, 68] Operation: 82-14=68
Exploring Operation: 38-26=12, Resulting Numbers: [14, 82, 12]
Generated Node #0,3: 56:[14, 82, 12] Operation: 38-26=12
Exploring Operation: 82-38=44, Resulting Numbers: [14, 26, 44]
Generated Node #0,4: 56:[14, 26, 44] Operation: 82-38=44
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[14, 38, 56], Operations: ['82-26=56']
Exploring Operation: 38-14=24, Resulting Numbers: [56, 24]
Generated Node #0,0,0: 56:[56, 24] Operation: 38-14=24
Exploring Operation: 14+38=52, Resulting Numbers: [56, 52]
Generated Node #0,0,1: 56:[56, 52] Operation: 14+38=52
Exploring Operation: 56/14=4, Resulting Numbers: [38, 4]
Generated Node #0,0,2: 56:[38, 4] Operation: 56/14=4
Exploring Operation: 14+56=70, Resulting Numbers: [38, 70]
Generated Node #0,0,3: 56:[38, 70] Operation: 14+56=70
Exploring Operation: 56-38=18, Resulting Numbers: [14, 18]
Generated Node #0,0,4: 56:[14, 18] Operation: 56-38=18
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 56:[56, 24], Operations: ['82-26=56', '38-14=24']
Exploring Operation: 56+24=80, Resulting Numbers: [80]
80,56 unequal: No Solution
Exploring Operation: 56-24=32, Resulting Numbers: [32]
32,56 unequal: No Solution
Exploring Operation: 56*24=1344, Resulting Numbers: [1344]
1344,56 unequal: No Solution
No 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: 56:[56, 52], Operations: ['82-26=56', '14+38=52']
Exploring Operation: 56*52=2912, Resulting Numbers: [2912]
2912,56 unequal: No Solution
Exploring Operation: 56+52=108, Resulting Numbers: [108]
108,56 unequal: No Solution
Exploring Operation: 56-52=4, Resulting Numbers: [4]
4,56 unequal: No Solution
No 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: 56:[14, 18], Operations: ['82-26=56', '56-38=18']
Exploring Operation: 14+18=32, Resulting Numbers: [32]
32,56 unequal: No Solution
Exploring Operation: 18-14=4, Resulting Numbers: [4]
4,56 unequal: No Solution
Exploring Operation: 14*18=252, Resulting Numbers: [252]
252,56 unequal: No Solution
No 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: 56:[38, 4], Operations: ['82-26=56', '56/14=4']
Exploring Operation: 38+4=42, Resulting Numbers: [42]
42,56 unequal: No Solution
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,56 unequal: No Solution
Exploring Operation: 38*4=152, Resulting Numbers: [152]
152,56 unequal: No Solution
No 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: 56:[38, 70], Operations: ['82-26=56', '14+56=70']
Exploring Operation: 38*70=2660, Resulting Numbers: [2660]
2660,56 unequal: No Solution
Exploring Operation: 70-38=32, Resulting Numbers: [32]
32,56 unequal: No Solution
Exploring Operation: 38+70=108, Resulting Numbers: [108]
108,56 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: 56:[14, 26, 44], Operations: ['82-38=44']
Exploring Operation: 44-26=18, Resulting Numbers: [14, 18]
Generated Node #0,4,0: 56:[14, 18] Operation: 44-26=18
Exploring Operation: 44-14=30, Resulting Numbers: [26, 30]
Generated Node #0,4,1: 56:[26, 30] Operation: 44-14=30
Exploring Operation: 14+44=58, Resulting Numbers: [26, 58]
Generated Node #0,4,2: 56:[26, 58] Operation: 14+44=58
Exploring Operation: 26-14=12, Resulting Numbers: [44, 12]
Generated Node #0,4,3: 56:[44, 12] Operation: 26-14=12
Exploring Operation: 26+44=70, Resulting Numbers: [14, 70]
Generated Node #0,4,4: 56:[14, 70] Operation: 26+44=70
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 56:[14, 18], Operations: ['82-38=44', '44-26=18']
Exploring Operation: 18-14=4, Resulting Numbers: [4]
4,56 unequal: No Solution
Exploring Operation: 14*18=252, Resulting Numbers: [252]
252,56 unequal: No Solution
Exploring Operation: 14+18=32, Resulting Numbers: [32]
32,56 unequal: No Solution
No 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: 56:[26, 30], Operations: ['82-38=44', '44-14=30']
Exploring Operation: 30-26=4, Resulting Numbers: [4]
4,56 unequal: No Solution
Exploring Operation: 26*30=780, Resulting Numbers: [780]
780,56 unequal: No Solution
Exploring Operation: 26+30=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[14, 26, 38, 82], Operations: []
Exploring Operation: 82-38=44, Resulting Numbers: [14, 26, 44]
Generated Node #0,4: 56:[14, 26, 44] Operation: 82-38=44
Moving to Node #0,4
Current State: 56:[14, 26, 44], Operations: ['82-38=44']
Exploring Operation: 44-14=30, Resulting Numbers: [26, 30]
Generated Node #0,4,1: 56:[26, 30] Operation: 44-14=30
Moving to Node #0,4,1
Current State: 56:[26, 30], Operations: ['82-38=44', '44-14=30']
Exploring Operation: 26+30=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.965278 | hs_5 | mult_heuristic |
[
39,
5,
83,
8
] | 72 | [
"39-8=31",
"5*31=155",
"155-83=72"
] | Current State: 72:[39, 5, 83, 8], Operations: []
Exploring Operation: 39-8=31, Resulting Numbers: [5, 83, 31]
Generated Node #2: [5, 83, 31] from Operation: 39-8=31
Current State: 72:[5, 83, 31], Operations: ['39-8=31']
Exploring Operation: 5*31=155, Resulting Numbers: [83, 155]
Generated Node #3: [83, 155] from Operation: 5*31=155
Current State: 72:[83, 155], Operations: ['39-8=31', '5*31=155']
Exploring Operation: 155-83=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[39, 5, 83, 8], Operations: []
Exploring Operation: 83-39=44, Resulting Numbers: [5, 8, 44]
Generated Node #0,0: 72:[5, 8, 44] Operation: 83-39=44
Exploring Operation: 83-5=78, Resulting Numbers: [39, 8, 78]
Generated Node #0,1: 72:[39, 8, 78] Operation: 83-5=78
Exploring Operation: 83-8=75, Resulting Numbers: [39, 5, 75]
Generated Node #0,2: 72:[39, 5, 75] Operation: 83-8=75
Start Sub Search at level 1: Moving to Node #0,2
Current State: 72:[39, 5, 75], Operations: ['83-8=75']
Exploring Operation: 75-5=70, Resulting Numbers: [39, 70]
Generated Node #0,2,0: 72:[39, 70] Operation: 75-5=70
Exploring Operation: 39-5=34, Resulting Numbers: [75, 34]
Generated Node #0,2,1: 72:[75, 34] Operation: 39-5=34
Exploring Operation: 75-39=36, Resulting Numbers: [5, 36]
Generated Node #0,2,2: 72:[5, 36] Operation: 75-39=36
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 72:[5, 36], Operations: ['83-8=75', '75-39=36']
Exploring Operation: 5*36=180, Resulting Numbers: [180]
180,72 unequal: No Solution
Exploring Operation: 36-5=31, Resulting Numbers: [31]
31,72 unequal: No Solution
Exploring Operation: 5+36=41, Resulting Numbers: [41]
41,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 72:[39, 70], Operations: ['83-8=75', '75-5=70']
Exploring Operation: 39+70=109, Resulting Numbers: [109]
109,72 unequal: No Solution
Exploring Operation: 39*70=2730, Resulting Numbers: [2730]
2730,72 unequal: No Solution
Exploring Operation: 70-39=31, Resulting Numbers: [31]
31,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 72:[75, 34], Operations: ['83-8=75', '39-5=34']
Exploring Operation: 75-34=41, Resulting Numbers: [41]
41,72 unequal: No Solution
Exploring Operation: 75+34=109, Resulting Numbers: [109]
109,72 unequal: No Solution
Exploring Operation: 75*34=2550, Resulting Numbers: [2550]
2550,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[5, 8, 44], Operations: ['83-39=44']
Exploring Operation: 44-8=36, Resulting Numbers: [5, 36]
Generated Node #0,0,0: 72:[5, 36] Operation: 44-8=36
Exploring Operation: 44-5=39, Resulting Numbers: [8, 39]
Generated Node #0,0,1: 72:[8, 39] Operation: 44-5=39
Exploring Operation: 8-5=3, Resulting Numbers: [44, 3]
Generated Node #0,0,2: 72:[44, 3] Operation: 8-5=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 72:[5, 36], Operations: ['83-39=44', '44-8=36']
Exploring Operation: 5*36=180, Resulting Numbers: [180]
180,72 unequal: No Solution
Exploring Operation: 5+36=41, Resulting Numbers: [41]
41,72 unequal: No Solution
Exploring Operation: 36-5=31, Resulting Numbers: [31]
31,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 72:[8, 39], Operations: ['83-39=44', '44-5=39']
Exploring Operation: 8*39=312, Resulting Numbers: [312]
312,72 unequal: No Solution
Exploring Operation: 8+39=47, Resulting Numbers: [47]
47,72 unequal: No Solution
Exploring Operation: 39-8=31, Resulting Numbers: [31]
31,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 72:[44, 3], Operations: ['83-39=44', '8-5=3']
Exploring Operation: 44*3=132, Resulting Numbers: [132]
132,72 unequal: No Solution
Exploring Operation: 44-3=41, Resulting Numbers: [41]
41,72 unequal: No Solution
Exploring Operation: 44+3=47, Resulting Numbers: [47]
47,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 72:[39, 8, 78], Operations: ['83-5=78']
Exploring Operation: 78-39=39, Resulting Numbers: [8, 39]
Generated Node #0,1,0: 72:[8, 39] Operation: 78-39=39
Exploring Operation: 78-8=70, Resulting Numbers: [39, 70]
Generated Node #0,1,1: 72:[39, 70] Operation: 78-8=70
Exploring Operation: 78/39=2, Resulting Numbers: [8, 2]
Generated Node #0,1,2: 72:[8, 2] Operation: 78/39=2
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 72:[8, 2], Operations: ['83-5=78', '78/39=2']
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,72 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,72 unequal: No Solution
Exploring Operation: 8+2=10, Resulting Numbers: [10]
10,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 72:[8, 39], Operations: ['83-5=78', '78-39=39']
Exploring Operation: 39-8=31, Resulting Numbers: [31]
31,72 unequal: No Solution
Exploring Operation: 8*39=312, Resulting Numbers: [312]
312,72 unequal: No Solution
Exploring Operation: 8+39=47, Resulting Numbers: [47]
47,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 72:[39, 70], Operations: ['83-5=78', '78-8=70']
Exploring Operation: 70-39=31, Resulting Numbers: [31]
31,72 unequal: No Solution
Exploring Operation: 39*70=2730, Resulting Numbers: [2730]
2730,72 unequal: No Solution
Exploring Operation: 39+70=109, Resulting Numbers: [109]
109,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
79,
68,
79,
95
] | 27 | [
"79+68=147",
"79+95=174",
"174-147=27"
] | Current State: 27:[79, 68, 79, 95], Operations: []
Exploring Operation: 79+68=147, Resulting Numbers: [95, 147]
Generated Node #2: [95, 147] from Operation: 79+68=147
Current State: 27:[95, 147], Operations: ['79+68=147']
Exploring Operation: 79+95=174, Resulting Numbers: [147, 174]
Generated Node #3: [147, 174] from Operation: 79+95=174
Current State: 27:[147, 174], Operations: ['79+68=147', '79+95=174']
Exploring Operation: 174-147=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[79, 68, 79, 95], Operations: []
Exploring Operation: 95-79=16, Resulting Numbers: [68, 79, 16]
Generated Node #0,0: 27:[68, 79, 16] Operation: 95-79=16
Exploring Operation: 95-68=27, Resulting Numbers: [79, 79, 27]
Generated Node #0,1: 27:[79, 79, 27] Operation: 95-68=27
Exploring Operation: 95-79=16, Resulting Numbers: [79, 68, 16]
Generated Node #0,2: 27:[79, 68, 16] Operation: 95-79=16
Moving to Node #0,0
Current State: 27:[68, 79, 16], Operations: ['95-79=16']
Exploring Operation: 79-68=11, Resulting Numbers: [16, 11]
Generated Node #0,0,0: 27:[16, 11] Operation: 79-68=11
Exploring Operation: 79-16=63, Resulting Numbers: [68, 63]
Generated Node #0,0,1: 27:[68, 63] Operation: 79-16=63
Exploring Operation: 68-16=52, Resulting Numbers: [79, 52]
Generated Node #0,0,2: 27:[79, 52] Operation: 68-16=52
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 27:[16, 11], Operations: ['95-79=16', '79-68=11']
Exploring Operation: 16-11=5, Resulting Numbers: [5]
5,27 unequal: No Solution
Exploring Operation: 16+11=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[79, 68, 79, 95], Operations: []
Exploring Operation: 95-79=16, Resulting Numbers: [68, 79, 16]
Generated Node #0,0: 27:[68, 79, 16] Operation: 95-79=16
Moving to Node #0,0
Current State: 27:[68, 79, 16], Operations: ['95-79=16']
Exploring Operation: 79-68=11, Resulting Numbers: [16, 11]
Generated Node #0,0,0: 27:[16, 11] Operation: 79-68=11
Moving to Node #0,0,0
Current State: 27:[16, 11], Operations: ['95-79=16', '79-68=11']
Exploring Operation: 16+11=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
27,
4,
36,
66
] | 93 | [
"66-36=30",
"4*30=120",
"120-27=93"
] | Current State: 93:[27, 4, 36, 66], Operations: []
Exploring Operation: 66-36=30, Resulting Numbers: [27, 4, 30]
Generated Node #2: [27, 4, 30] from Operation: 66-36=30
Current State: 93:[27, 4, 30], Operations: ['66-36=30']
Exploring Operation: 4*30=120, Resulting Numbers: [27, 120]
Generated Node #3: [27, 120] from Operation: 4*30=120
Current State: 93:[27, 120], Operations: ['66-36=30', '4*30=120']
Exploring Operation: 120-27=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[27, 4, 36, 66], Operations: []
Exploring Operation: 27+66=93, Resulting Numbers: [4, 36, 93]
Generated Node #0,0: 93:[4, 36, 93] Operation: 27+66=93
Start Sub Search at level 1: Moving to Node #0,0
Current State: 93:[4, 36, 93], Operations: ['27+66=93']
Exploring Operation: 36-4=32, Resulting Numbers: [93, 32]
Generated Node #0,0,0: 93:[93, 32] Operation: 36-4=32
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 93:[93, 32], Operations: ['27+66=93', '36-4=32']
Exploring Operation: 93-32=61, Resulting Numbers: [61]
61,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 | mult_heuristic |
[
26,
57,
36,
30
] | 87 | [
"30-26=4",
"36*4=144",
"144-57=87"
] | Current State: 87:[26, 57, 36, 30], Operations: []
Exploring Operation: 30-26=4, Resulting Numbers: [57, 36, 4]
Generated Node #2: [57, 36, 4] from Operation: 30-26=4
Current State: 87:[57, 36, 4], Operations: ['30-26=4']
Exploring Operation: 36*4=144, Resulting Numbers: [57, 144]
Generated Node #3: [57, 144] from Operation: 36*4=144
Current State: 87:[57, 144], Operations: ['30-26=4', '36*4=144']
Exploring Operation: 144-57=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[26, 57, 36, 30], Operations: []
Exploring Operation: 57+36=93, Resulting Numbers: [26, 30, 93]
Generated Node #0,0: 87:[26, 30, 93] Operation: 57+36=93
Exploring Operation: 57-26=31, Resulting Numbers: [36, 30, 31]
Generated Node #0,1: 87:[36, 30, 31] Operation: 57-26=31
Exploring Operation: 57+30=87, Resulting Numbers: [26, 36, 87]
Generated Node #0,2: 87:[26, 36, 87] Operation: 57+30=87
Start Sub Search at level 1: Moving to Node #0,0
Current State: 87:[26, 30, 93], Operations: ['57+36=93']
Exploring Operation: 93-30=63, Resulting Numbers: [26, 63]
Generated Node #0,0,0: 87:[26, 63] Operation: 93-30=63
Exploring Operation: 30-26=4, Resulting Numbers: [93, 4]
Generated Node #0,0,1: 87:[93, 4] Operation: 30-26=4
Exploring Operation: 93-26=67, Resulting Numbers: [30, 67]
Generated Node #0,0,2: 87:[30, 67] Operation: 93-26=67
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 87:[93, 4], Operations: ['57+36=93', '30-26=4']
Exploring Operation: 93*4=372, Resulting Numbers: [372]
372,87 unequal: No Solution
Exploring Operation: 93+4=97, Resulting Numbers: [97]
97,87 unequal: No Solution
Exploring Operation: 93-4=89, Resulting Numbers: [89]
89,87 unequal: No Solution
No 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: 87:[30, 67], Operations: ['57+36=93', '93-26=67']
Exploring Operation: 67-30=37, Resulting Numbers: [37]
37,87 unequal: No Solution
Exploring Operation: 30*67=2010, Resulting Numbers: [2010]
2010,87 unequal: No Solution
Exploring Operation: 30+67=97, Resulting Numbers: [97]
97,87 unequal: No Solution
No 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: 87:[26, 63], Operations: ['57+36=93', '93-30=63']
Exploring Operation: 26*63=1638, Resulting Numbers: [1638]
1638,87 unequal: No Solution
Exploring Operation: 63-26=37, Resulting Numbers: [37]
37,87 unequal: No Solution
Exploring Operation: 26+63=89, Resulting Numbers: [89]
89,87 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: 87:[36, 30, 31], Operations: ['57-26=31']
Exploring Operation: 36-30=6, Resulting Numbers: [31, 6]
Generated Node #0,1,0: 87:[31, 6] Operation: 36-30=6
Exploring Operation: 36-31=5, Resulting Numbers: [30, 5]
Generated Node #0,1,1: 87:[30, 5] Operation: 36-31=5
Exploring Operation: 31-30=1, Resulting Numbers: [36, 1]
Generated Node #0,1,2: 87:[36, 1] Operation: 31-30=1
Moving to Node #0,1,1
Current State: 87:[30, 5], Operations: ['57-26=31', '36-31=5']
Exploring Operation: 30/5=6, Resulting Numbers: [6]
6,87 unequal: No Solution
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,87 unequal: No Solution
Exploring Operation: 30+5=35, Resulting Numbers: [35]
35,87 unequal: No Solution
Moving to Node #0,1,0
Current State: 87:[31, 6], Operations: ['57-26=31', '36-30=6']
Exploring Operation: 31-6=25, Resulting Numbers: [25]
25,87 unequal: No Solution
Exploring Operation: 31*6=186, Resulting Numbers: [186]
186,87 unequal: No Solution
Exploring Operation: 31+6=37, Resulting Numbers: [37]
37,87 unequal: No Solution
Moving to Node #0,1,2
Current State: 87:[36, 1], Operations: ['57-26=31', '31-30=1']
Exploring Operation: 36/1=36, Resulting Numbers: [36]
36,87 unequal: No Solution
Exploring Operation: 36*1=36, Resulting Numbers: [36]
36,87 unequal: No Solution
Exploring Operation: 36-1=35, Resulting Numbers: [35]
35,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
Current State: 87:[26, 36, 87], Operations: ['57+30=87']
Exploring Operation: 87-36=51, Resulting Numbers: [26, 51]
Generated Node #0,2,0: 87:[26, 51] Operation: 87-36=51
Exploring Operation: 36-26=10, Resulting Numbers: [87, 10]
Generated Node #0,2,1: 87:[87, 10] Operation: 36-26=10
Exploring Operation: 26+36=62, Resulting Numbers: [87, 62]
Generated Node #0,2,2: 87:[87, 62] Operation: 26+36=62
Moving to Node #0,2,1
Current State: 87:[87, 10], Operations: ['57+30=87', '36-26=10']
Exploring Operation: 87*10=870, Resulting Numbers: [870]
870,87 unequal: No Solution
Exploring Operation: 87+10=97, Resulting Numbers: [97]
97,87 unequal: No Solution
Exploring Operation: 87-10=77, Resulting Numbers: [77]
77,87 unequal: No Solution
Moving to Node #0,2,0
Current State: 87:[26, 51], Operations: ['57+30=87', '87-36=51']
Exploring Operation: 51-26=25, Resulting Numbers: [25]
25,87 unequal: No Solution
Exploring Operation: 26+51=77, Resulting Numbers: [77]
77,87 unequal: No Solution
Exploring Operation: 26*51=1326, Resulting Numbers: [1326]
1326,87 unequal: No Solution
Moving to Node #0,2,2
Current State: 87:[87, 62], Operations: ['57+30=87', '26+36=62']
Exploring Operation: 87+62=149, Resulting Numbers: [149]
149,87 unequal: No Solution
Exploring Operation: 87-62=25, Resulting Numbers: [25]
25,87 unequal: No Solution
Exploring Operation: 87*62=5394, Resulting Numbers: [5394]
5394,87 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 |
[
77,
75,
24,
62
] | 84 | [
"77-75=2",
"24+62=86",
"86-2=84"
] | Current State: 84:[77, 75, 24, 62], Operations: []
Exploring Operation: 77-75=2, Resulting Numbers: [24, 62, 2]
Generated Node #2: [24, 62, 2] from Operation: 77-75=2
Current State: 84:[24, 62, 2], Operations: ['77-75=2']
Exploring Operation: 24+62=86, Resulting Numbers: [2, 86]
Generated Node #3: [2, 86] from Operation: 24+62=86
Current State: 84:[2, 86], Operations: ['77-75=2', '24+62=86']
Exploring Operation: 86-2=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[77, 75, 24, 62], Operations: []
Exploring Operation: 77-62=15, Resulting Numbers: [75, 24, 15]
Generated Node #0,0: 84:[75, 24, 15] Operation: 77-62=15
Exploring Operation: 75-62=13, Resulting Numbers: [77, 24, 13]
Generated Node #0,1: 84:[77, 24, 13] Operation: 75-62=13
Start Sub Search at level 1: Moving to Node #0,1
Current State: 84:[77, 24, 13], Operations: ['75-62=13']
Exploring Operation: 24-13=11, Resulting Numbers: [77, 11]
Generated Node #0,1,0: 84:[77, 11] Operation: 24-13=11
Exploring Operation: 77+13=90, Resulting Numbers: [24, 90]
Generated Node #0,1,1: 84:[24, 90] Operation: 77+13=90
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 84:[77, 11], Operations: ['75-62=13', '24-13=11']
Exploring Operation: 77+11=88, Resulting Numbers: [88]
88,84 unequal: No Solution
Exploring Operation: 77/11=7, Resulting Numbers: [7]
7,84 unequal: No Solution
No 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: 84:[24, 90], Operations: ['75-62=13', '77+13=90']
Exploring Operation: 24+90=114, Resulting Numbers: [114]
114,84 unequal: No Solution
Exploring Operation: 90-24=66, Resulting Numbers: [66]
66,84 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: 84:[75, 24, 15], Operations: ['77-62=15']
Exploring Operation: 75+15=90, Resulting Numbers: [24, 90]
Generated Node #0,0,0: 84:[24, 90] Operation: 75+15=90
Exploring Operation: 75/15=5, Resulting Numbers: [24, 5]
Generated Node #0,0,1: 84:[24, 5] Operation: 75/15=5
Moving to Node #0,0,1
Current State: 84:[24, 5], Operations: ['77-62=15', '75/15=5']
Exploring Operation: 24-5=19, Resulting Numbers: [19]
19,84 unequal: No Solution
Exploring Operation: 24+5=29, Resulting Numbers: [29]
29,84 unequal: No Solution
Moving to Node #0,0,0
Current State: 84:[24, 90], Operations: ['77-62=15', '75+15=90']
Exploring Operation: 90-24=66, Resulting Numbers: [66]
66,84 unequal: No Solution
Exploring Operation: 24+90=114, Resulting Numbers: [114]
114,84 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 |
[
48,
29,
7,
3
] | 91 | [
"48/3=16",
"29-16=13",
"7*13=91"
] | Current State: 91:[48, 29, 7, 3], Operations: []
Exploring Operation: 48/3=16, Resulting Numbers: [29, 7, 16]
Generated Node #2: [29, 7, 16] from Operation: 48/3=16
Current State: 91:[29, 7, 16], Operations: ['48/3=16']
Exploring Operation: 29-16=13, Resulting Numbers: [7, 13]
Generated Node #3: [7, 13] from Operation: 29-16=13
Current State: 91:[7, 13], Operations: ['48/3=16', '29-16=13']
Exploring Operation: 7*13=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[48, 29, 7, 3], Operations: []
Exploring Operation: 48+29=77, Resulting Numbers: [7, 3, 77]
Generated Node #0,0: 91:[7, 3, 77] Operation: 48+29=77
Exploring Operation: 48-7=41, Resulting Numbers: [29, 3, 41]
Generated Node #0,1: 91:[29, 3, 41] Operation: 48-7=41
Exploring Operation: 29*3=87, Resulting Numbers: [48, 7, 87]
Generated Node #0,2: 91:[48, 7, 87] Operation: 29*3=87
Exploring Operation: 48/3=16, Resulting Numbers: [29, 7, 16]
Generated Node #0,3: 91:[29, 7, 16] Operation: 48/3=16
Exploring Operation: 48-29=19, Resulting Numbers: [7, 3, 19]
Generated Node #0,4: 91:[7, 3, 19] Operation: 48-29=19
Moving to Node #0,4
Current State: 91:[7, 3, 19], Operations: ['48-29=19']
Exploring Operation: 19-3=16, Resulting Numbers: [7, 16]
Generated Node #0,4,0: 91:[7, 16] Operation: 19-3=16
Exploring Operation: 19-7=12, Resulting Numbers: [3, 12]
Generated Node #0,4,1: 91:[3, 12] Operation: 19-7=12
Exploring Operation: 7-3=4, Resulting Numbers: [19, 4]
Generated Node #0,4,2: 91:[19, 4] Operation: 7-3=4
Exploring Operation: 7+3=10, Resulting Numbers: [19, 10]
Generated Node #0,4,3: 91:[19, 10] Operation: 7+3=10
Exploring Operation: 3+19=22, Resulting Numbers: [7, 22]
Generated Node #0,4,4: 91:[7, 22] Operation: 3+19=22
Moving to Node #0,0
Current State: 91:[7, 3, 77], Operations: ['48+29=77']
Exploring Operation: 7+77=84, Resulting Numbers: [3, 84]
Generated Node #0,0,0: 91:[3, 84] Operation: 7+77=84
Exploring Operation: 7-3=4, Resulting Numbers: [77, 4]
Generated Node #0,0,1: 91:[77, 4] Operation: 7-3=4
Exploring Operation: 77/7=11, Resulting Numbers: [3, 11]
Generated Node #0,0,2: 91:[3, 11] Operation: 77/7=11
Exploring Operation: 3+77=80, Resulting Numbers: [7, 80]
Generated Node #0,0,3: 91:[7, 80] Operation: 3+77=80
Exploring Operation: 7+3=10, Resulting Numbers: [77, 10]
Generated Node #0,0,4: 91:[77, 10] Operation: 7+3=10
Moving to Node #0,3
Current State: 91:[29, 7, 16], Operations: ['48/3=16']
Exploring Operation: 29+7=36, Resulting Numbers: [16, 36]
Generated Node #0,3,0: 91:[16, 36] Operation: 29+7=36
Exploring Operation: 29-16=13, Resulting Numbers: [7, 13]
Generated Node #0,3,1: 91:[7, 13] Operation: 29-16=13
Exploring Operation: 7+16=23, Resulting Numbers: [29, 23]
Generated Node #0,3,2: 91:[29, 23] Operation: 7+16=23
Exploring Operation: 16-7=9, Resulting Numbers: [29, 9]
Generated Node #0,3,3: 91:[29, 9] Operation: 16-7=9
Exploring Operation: 29-7=22, Resulting Numbers: [16, 22]
Generated Node #0,3,4: 91:[16, 22] Operation: 29-7=22
Moving to Node #0,2
Current State: 91:[48, 7, 87], Operations: ['29*3=87']
Exploring Operation: 7+87=94, Resulting Numbers: [48, 94]
Generated Node #0,2,0: 91:[48, 94] Operation: 7+87=94
Exploring Operation: 48+87=135, Resulting Numbers: [7, 135]
Generated Node #0,2,1: 91:[7, 135] Operation: 48+87=135
Exploring Operation: 48+7=55, Resulting Numbers: [87, 55]
Generated Node #0,2,2: 91:[87, 55] Operation: 48+7=55
Exploring Operation: 48-7=41, Resulting Numbers: [87, 41]
Generated Node #0,2,3: 91:[87, 41] Operation: 48-7=41
Exploring Operation: 87-48=39, Resulting Numbers: [7, 39]
Generated Node #0,2,4: 91:[7, 39] Operation: 87-48=39
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 91:[7, 39], Operations: ['29*3=87', '87-48=39']
Exploring Operation: 7*39=273, Resulting Numbers: [273]
273,91 unequal: No Solution
Exploring Operation: 7+39=46, Resulting Numbers: [46]
46,91 unequal: No Solution
Exploring Operation: 39-7=32, Resulting Numbers: [32]
32,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 91:[87, 41], Operations: ['29*3=87', '48-7=41']
Exploring Operation: 87+41=128, Resulting Numbers: [128]
128,91 unequal: No Solution
Exploring Operation: 87*41=3567, Resulting Numbers: [3567]
3567,91 unequal: No Solution
Exploring Operation: 87-41=46, Resulting Numbers: [46]
46,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 91:[48, 94], Operations: ['29*3=87', '7+87=94']
Exploring Operation: 48+94=142, Resulting Numbers: [142]
142,91 unequal: No Solution
Exploring Operation: 94-48=46, Resulting Numbers: [46]
46,91 unequal: No Solution
Exploring Operation: 48*94=4512, Resulting Numbers: [4512]
4512,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 91:[87, 55], Operations: ['29*3=87', '48+7=55']
Exploring Operation: 87+55=142, Resulting Numbers: [142]
142,91 unequal: No Solution
Exploring Operation: 87*55=4785, Resulting Numbers: [4785]
4785,91 unequal: No Solution
Exploring Operation: 87-55=32, Resulting Numbers: [32]
32,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 91:[7, 135], Operations: ['29*3=87', '48+87=135']
Exploring Operation: 7*135=945, Resulting Numbers: [945]
945,91 unequal: No Solution
Exploring Operation: 135-7=128, Resulting Numbers: [128]
128,91 unequal: No Solution
Exploring Operation: 7+135=142, Resulting Numbers: [142]
142,91 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: 91:[29, 3, 41], Operations: ['48-7=41']
Exploring Operation: 29-3=26, Resulting Numbers: [41, 26]
Generated Node #0,1,0: 91:[41, 26] Operation: 29-3=26
Exploring Operation: 41-29=12, Resulting Numbers: [3, 12]
Generated Node #0,1,1: 91:[3, 12] Operation: 41-29=12
Exploring Operation: 41-3=38, Resulting Numbers: [29, 38]
Generated Node #0,1,2: 91:[29, 38] Operation: 41-3=38
Exploring Operation: 29*3=87, Resulting Numbers: [41, 87]
Generated Node #0,1,3: 91:[41, 87] Operation: 29*3=87
Exploring Operation: 29+41=70, Resulting Numbers: [3, 70]
Generated Node #0,1,4: 91:[3, 70] Operation: 29+41=70
Moving to Node #0,3,1
Current State: 91:[7, 13], Operations: ['48/3=16', '29-16=13']
Exploring Operation: 7+13=20, Resulting Numbers: [20]
20,91 unequal: No Solution
Exploring Operation: 13-7=6, Resulting Numbers: [6]
6,91 unequal: No Solution
Exploring Operation: 7*13=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[48, 29, 7, 3], Operations: []
Exploring Operation: 48/3=16, Resulting Numbers: [29, 7, 16]
Generated Node #0,3: 91:[29, 7, 16] Operation: 48/3=16
Moving to Node #0,3
Current State: 91:[29, 7, 16], Operations: ['48/3=16']
Exploring Operation: 29-16=13, Resulting Numbers: [7, 13]
Generated Node #0,3,1: 91:[7, 13] Operation: 29-16=13
Moving to Node #0,3,1
Current State: 91:[7, 13], Operations: ['48/3=16', '29-16=13']
Exploring Operation: 7*13=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 0.954861 | hs_5 | sum_heuristic |
[
16,
29,
43,
11
] | 58 | [
"43-11=32",
"32/16=2",
"29*2=58"
] | Current State: 58:[16, 29, 43, 11], Operations: []
Exploring Operation: 43-11=32, Resulting Numbers: [16, 29, 32]
Generated Node #2: [16, 29, 32] from Operation: 43-11=32
Current State: 58:[16, 29, 32], Operations: ['43-11=32']
Exploring Operation: 32/16=2, Resulting Numbers: [29, 2]
Generated Node #3: [29, 2] from Operation: 32/16=2
Current State: 58:[29, 2], Operations: ['43-11=32', '32/16=2']
Exploring Operation: 29*2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[16, 29, 43, 11], Operations: []
Exploring Operation: 16+11=27, Resulting Numbers: [29, 43, 27]
Generated Node #0,0: 58:[29, 43, 27] Operation: 16+11=27
Exploring Operation: 16+43=59, Resulting Numbers: [29, 11, 59]
Generated Node #0,1: 58:[29, 11, 59] Operation: 16+43=59
Exploring Operation: 43-16=27, Resulting Numbers: [29, 11, 27]
Generated Node #0,2: 58:[29, 11, 27] Operation: 43-16=27
Exploring Operation: 43-11=32, Resulting Numbers: [16, 29, 32]
Generated Node #0,3: 58:[16, 29, 32] Operation: 43-11=32
Exploring Operation: 16-11=5, Resulting Numbers: [29, 43, 5]
Generated Node #0,4: 58:[29, 43, 5] Operation: 16-11=5
Start Sub Search at level 1: Moving to Node #0,1
Current State: 58:[29, 11, 59], Operations: ['16+43=59']
Exploring Operation: 29-11=18, Resulting Numbers: [59, 18]
Generated Node #0,1,0: 58:[59, 18] Operation: 29-11=18
Exploring Operation: 11+59=70, Resulting Numbers: [29, 70]
Generated Node #0,1,1: 58:[29, 70] Operation: 11+59=70
Exploring Operation: 29+11=40, Resulting Numbers: [59, 40]
Generated Node #0,1,2: 58:[59, 40] Operation: 29+11=40
Exploring Operation: 59-29=30, Resulting Numbers: [11, 30]
Generated Node #0,1,3: 58:[11, 30] Operation: 59-29=30
Exploring Operation: 59-11=48, Resulting Numbers: [29, 48]
Generated Node #0,1,4: 58:[29, 48] Operation: 59-11=48
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 58:[11, 30], Operations: ['16+43=59', '59-29=30']
Exploring Operation: 30-11=19, Resulting Numbers: [19]
19,58 unequal: No Solution
Exploring Operation: 11*30=330, Resulting Numbers: [330]
330,58 unequal: No Solution
Exploring Operation: 11+30=41, Resulting Numbers: [41]
41,58 unequal: No Solution
No 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: 58:[29, 48], Operations: ['16+43=59', '59-11=48']
Exploring Operation: 29+48=77, Resulting Numbers: [77]
77,58 unequal: No Solution
Exploring Operation: 48-29=19, Resulting Numbers: [19]
19,58 unequal: No Solution
Exploring Operation: 29*48=1392, Resulting Numbers: [1392]
1392,58 unequal: No Solution
No 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: 58:[59, 18], Operations: ['16+43=59', '29-11=18']
Exploring Operation: 59-18=41, Resulting Numbers: [41]
41,58 unequal: No Solution
Exploring Operation: 59*18=1062, Resulting Numbers: [1062]
1062,58 unequal: No Solution
Exploring Operation: 59+18=77, Resulting Numbers: [77]
77,58 unequal: No Solution
No 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: 58:[29, 70], Operations: ['16+43=59', '11+59=70']
Exploring Operation: 29+70=99, Resulting Numbers: [99]
99,58 unequal: No Solution
Exploring Operation: 29*70=2030, Resulting Numbers: [2030]
2030,58 unequal: No Solution
Exploring Operation: 70-29=41, Resulting Numbers: [41]
41,58 unequal: No Solution
No 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: 58:[59, 40], Operations: ['16+43=59', '29+11=40']
Exploring Operation: 59+40=99, Resulting Numbers: [99]
99,58 unequal: No Solution
Exploring Operation: 59*40=2360, Resulting Numbers: [2360]
2360,58 unequal: No Solution
Exploring Operation: 59-40=19, Resulting Numbers: [19]
19,58 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: 58:[29, 11, 27], Operations: ['43-16=27']
Exploring Operation: 11+27=38, Resulting Numbers: [29, 38]
Generated Node #0,2,0: 58:[29, 38] Operation: 11+27=38
Exploring Operation: 29-27=2, Resulting Numbers: [11, 2]
Generated Node #0,2,1: 58:[11, 2] Operation: 29-27=2
Exploring Operation: 29+11=40, Resulting Numbers: [27, 40]
Generated Node #0,2,2: 58:[27, 40] Operation: 29+11=40
Exploring Operation: 29-11=18, Resulting Numbers: [27, 18]
Generated Node #0,2,3: 58:[27, 18] Operation: 29-11=18
Exploring Operation: 29+27=56, Resulting Numbers: [11, 56]
Generated Node #0,2,4: 58:[11, 56] Operation: 29+27=56
Moving to Node #0,2,0
Current State: 58:[29, 38], Operations: ['43-16=27', '11+27=38']
Exploring Operation: 29*38=1102, Resulting Numbers: [1102]
1102,58 unequal: No Solution
Exploring Operation: 38-29=9, Resulting Numbers: [9]
9,58 unequal: No Solution
Exploring Operation: 29+38=67, Resulting Numbers: [67]
67,58 unequal: No Solution
Moving to Node #0,2,1
Current State: 58:[11, 2], Operations: ['43-16=27', '29-27=2']
Exploring Operation: 11*2=22, Resulting Numbers: [22]
22,58 unequal: No Solution
Exploring Operation: 11+2=13, Resulting Numbers: [13]
13,58 unequal: No Solution
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,58 unequal: No Solution
Moving to Node #0,2,4
Current State: 58:[11, 56], Operations: ['43-16=27', '29+27=56']
Exploring Operation: 56-11=45, Resulting Numbers: [45]
45,58 unequal: No Solution
Exploring Operation: 11+56=67, Resulting Numbers: [67]
67,58 unequal: No Solution
Exploring Operation: 11*56=616, Resulting Numbers: [616]
616,58 unequal: No Solution
Moving to Node #0,2,2
Current State: 58:[27, 40], Operations: ['43-16=27', '29+11=40']
Exploring Operation: 27+40=67, Resulting Numbers: [67]
67,58 unequal: No Solution
Exploring Operation: 40-27=13, Resulting Numbers: [13]
13,58 unequal: No Solution
Exploring Operation: 27*40=1080, Resulting Numbers: [1080]
1080,58 unequal: No Solution
Moving to Node #0,2,3
Current State: 58:[27, 18], Operations: ['43-16=27', '29-11=18']
Exploring Operation: 27-18=9, Resulting Numbers: [9]
9,58 unequal: No Solution
Exploring Operation: 27+18=45, Resulting Numbers: [45]
45,58 unequal: No Solution
Exploring Operation: 27*18=486, Resulting Numbers: [486]
486,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[29, 43, 27], Operations: ['16+11=27']
Exploring Operation: 43-27=16, Resulting Numbers: [29, 16]
Generated Node #0,0,0: 58:[29, 16] Operation: 43-27=16
Exploring Operation: 29+43=72, Resulting Numbers: [27, 72]
Generated Node #0,0,1: 58:[27, 72] Operation: 29+43=72
Exploring Operation: 43+27=70, Resulting Numbers: [29, 70]
Generated Node #0,0,2: 58:[29, 70] Operation: 43+27=70
Exploring Operation: 43-29=14, Resulting Numbers: [27, 14]
Generated Node #0,0,3: 58:[27, 14] Operation: 43-29=14
Exploring Operation: 29-27=2, Resulting Numbers: [43, 2]
Generated Node #0,0,4: 58:[43, 2] Operation: 29-27=2
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 58:[29, 70], Operations: ['16+11=27', '43+27=70']
Exploring Operation: 70-29=41, Resulting Numbers: [41]
41,58 unequal: No Solution
Exploring Operation: 29+70=99, Resulting Numbers: [99]
99,58 unequal: No Solution
Exploring Operation: 29*70=2030, Resulting Numbers: [2030]
2030,58 unequal: No Solution
No 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: 58:[29, 16], Operations: ['16+11=27', '43-27=16']
Exploring Operation: 29-16=13, Resulting Numbers: [13]
13,58 unequal: No Solution
Exploring Operation: 29*16=464, Resulting Numbers: [464]
464,58 unequal: No Solution
Exploring Operation: 29+16=45, Resulting Numbers: [45]
45,58 unequal: No Solution
No 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: 58:[27, 14], Operations: ['16+11=27', '43-29=14']
Exploring Operation: 27*14=378, Resulting Numbers: [378]
378,58 unequal: No Solution
Exploring Operation: 27+14=41, Resulting Numbers: [41]
41,58 unequal: No Solution
Exploring Operation: 27-14=13, Resulting Numbers: [13]
13,58 unequal: No Solution
No 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: 58:[43, 2], Operations: ['16+11=27', '29-27=2']
Exploring Operation: 43+2=45, Resulting Numbers: [45]
45,58 unequal: No Solution
Exploring Operation: 43*2=86, Resulting Numbers: [86]
86,58 unequal: No Solution
Exploring Operation: 43-2=41, Resulting Numbers: [41]
41,58 unequal: No Solution
No 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: 58:[27, 72], Operations: ['16+11=27', '29+43=72']
Exploring Operation: 27*72=1944, Resulting Numbers: [1944]
1944,58 unequal: No Solution
Exploring Operation: 72-27=45, Resulting Numbers: [45]
45,58 unequal: No Solution
Exploring Operation: 27+72=99, Resulting Numbers: [99]
99,58 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: 58:[16, 29, 32], Operations: ['43-11=32']
Exploring Operation: 32/16=2, Resulting Numbers: [29, 2]
Generated Node #0,3,0: 58:[29, 2] Operation: 32/16=2
Exploring Operation: 16+32=48, Resulting Numbers: [29, 48]
Generated Node #0,3,1: 58:[29, 48] Operation: 16+32=48
Exploring Operation: 29-16=13, Resulting Numbers: [32, 13]
Generated Node #0,3,2: 58:[32, 13] Operation: 29-16=13
Exploring Operation: 32-16=16, Resulting Numbers: [29, 16]
Generated Node #0,3,3: 58:[29, 16] Operation: 32-16=16
Exploring Operation: 32-29=3, Resulting Numbers: [16, 3]
Generated Node #0,3,4: 58:[16, 3] Operation: 32-29=3
Moving to Node #0,3,0
Current State: 58:[29, 2], Operations: ['43-11=32', '32/16=2']
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,58 unequal: No Solution
Exploring Operation: 29*2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[16, 29, 43, 11], Operations: []
Exploring Operation: 43-11=32, Resulting Numbers: [16, 29, 32]
Generated Node #0,3: 58:[16, 29, 32] Operation: 43-11=32
Moving to Node #0,3
Current State: 58:[16, 29, 32], Operations: ['43-11=32']
Exploring Operation: 32/16=2, Resulting Numbers: [29, 2]
Generated Node #0,3,0: 58:[29, 2] Operation: 32/16=2
Moving to Node #0,3,0
Current State: 58:[29, 2], Operations: ['43-11=32', '32/16=2']
Exploring Operation: 29*2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 1
| 0.934028 | hs_5 | sum_heuristic |
[
47,
48,
6,
52
] | 58 | [
"48-47=1",
"6+52=58",
"1*58=58"
] | Current State: 58:[47, 48, 6, 52], Operations: []
Exploring Operation: 48-47=1, Resulting Numbers: [6, 52, 1]
Generated Node #2: [6, 52, 1] from Operation: 48-47=1
Current State: 58:[6, 52, 1], Operations: ['48-47=1']
Exploring Operation: 6+52=58, Resulting Numbers: [1, 58]
Generated Node #3: [1, 58] from Operation: 6+52=58
Current State: 58:[1, 58], Operations: ['48-47=1', '6+52=58']
Exploring Operation: 1*58=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[47, 48, 6, 52], Operations: []
Exploring Operation: 48-47=1, Resulting Numbers: [6, 52, 1]
Generated Node #0,0: 58:[6, 52, 1] Operation: 48-47=1
Exploring Operation: 52-47=5, Resulting Numbers: [48, 6, 5]
Generated Node #0,1: 58:[48, 6, 5] Operation: 52-47=5
Moving to Node #0,0
Current State: 58:[6, 52, 1], Operations: ['48-47=1']
Exploring Operation: 6+52=58, Resulting Numbers: [1, 58]
Generated Node #0,0,0: 58:[1, 58] Operation: 6+52=58
Exploring Operation: 6-1=5, Resulting Numbers: [52, 5]
Generated Node #0,0,1: 58:[52, 5] Operation: 6-1=5
Moving to Node #0,1
Current State: 58:[48, 6, 5], Operations: ['52-47=5']
Exploring Operation: 48/6=8, Resulting Numbers: [5, 8]
Generated Node #0,1,0: 58:[5, 8] Operation: 48/6=8
Exploring Operation: 48+6=54, Resulting Numbers: [5, 54]
Generated Node #0,1,1: 58:[5, 54] Operation: 48+6=54
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 58:[5, 54], Operations: ['52-47=5', '48+6=54']
Exploring Operation: 54-5=49, Resulting Numbers: [49]
49,58 unequal: No Solution
Exploring Operation: 5+54=59, Resulting Numbers: [59]
59,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 58:[5, 8], Operations: ['52-47=5', '48/6=8']
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,58 unequal: No Solution
Exploring Operation: 5+8=13, Resulting Numbers: [13]
13,58 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: 58:[1, 58], Operations: ['48-47=1', '6+52=58']
Exploring Operation: 1*58=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[47, 48, 6, 52], Operations: []
Exploring Operation: 48-47=1, Resulting Numbers: [6, 52, 1]
Generated Node #0,0: 58:[6, 52, 1] Operation: 48-47=1
Moving to Node #0,0
Current State: 58:[6, 52, 1], Operations: ['48-47=1']
Exploring Operation: 6+52=58, Resulting Numbers: [1, 58]
Generated Node #0,0,0: 58:[1, 58] Operation: 6+52=58
Moving to Node #0,0,0
Current State: 58:[1, 58], Operations: ['48-47=1', '6+52=58']
Exploring Operation: 1*58=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 0.986979 | hs_2 | sum_heuristic |
[
8,
13,
95,
45
] | 29 | [
"8+13=21",
"95-45=50",
"50-21=29"
] | Current State: 29:[8, 13, 95, 45], Operations: []
Exploring Operation: 8+13=21, Resulting Numbers: [95, 45, 21]
Generated Node #2: [95, 45, 21] from Operation: 8+13=21
Current State: 29:[95, 45, 21], Operations: ['8+13=21']
Exploring Operation: 95-45=50, Resulting Numbers: [21, 50]
Generated Node #3: [21, 50] from Operation: 95-45=50
Current State: 29:[21, 50], Operations: ['8+13=21', '95-45=50']
Exploring Operation: 50-21=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[8, 13, 95, 45], Operations: []
Exploring Operation: 95-13=82, Resulting Numbers: [8, 45, 82]
Generated Node #0,0: 29:[8, 45, 82] Operation: 95-13=82
Exploring Operation: 45-8=37, Resulting Numbers: [13, 95, 37]
Generated Node #0,1: 29:[13, 95, 37] Operation: 45-8=37
Exploring Operation: 8+13=21, Resulting Numbers: [95, 45, 21]
Generated Node #0,2: 29:[95, 45, 21] Operation: 8+13=21
Exploring Operation: 95-45=50, Resulting Numbers: [8, 13, 50]
Generated Node #0,3: 29:[8, 13, 50] Operation: 95-45=50
Exploring Operation: 95-8=87, Resulting Numbers: [13, 45, 87]
Generated Node #0,4: 29:[13, 45, 87] Operation: 95-8=87
Start Sub Search at level 1: Moving to Node #0,3
Current State: 29:[8, 13, 50], Operations: ['95-45=50']
Exploring Operation: 8+13=21, Resulting Numbers: [50, 21]
Generated Node #0,3,0: 29:[50, 21] Operation: 8+13=21
Exploring Operation: 50-13=37, Resulting Numbers: [8, 37]
Generated Node #0,3,1: 29:[8, 37] Operation: 50-13=37
Exploring Operation: 13-8=5, Resulting Numbers: [50, 5]
Generated Node #0,3,2: 29:[50, 5] Operation: 13-8=5
Exploring Operation: 50-8=42, Resulting Numbers: [13, 42]
Generated Node #0,3,3: 29:[13, 42] Operation: 50-8=42
Exploring Operation: 8+50=58, Resulting Numbers: [13, 58]
Generated Node #0,3,4: 29:[13, 58] Operation: 8+50=58
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 29:[50, 21], Operations: ['95-45=50', '8+13=21']
Exploring Operation: 50+21=71, Resulting Numbers: [71]
71,29 unequal: No Solution
Exploring Operation: 50-21=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[8, 13, 95, 45], Operations: []
Exploring Operation: 95-45=50, Resulting Numbers: [8, 13, 50]
Generated Node #0,3: 29:[8, 13, 50] Operation: 95-45=50
Moving to Node #0,3
Current State: 29:[8, 13, 50], Operations: ['95-45=50']
Exploring Operation: 8+13=21, Resulting Numbers: [50, 21]
Generated Node #0,3,0: 29:[50, 21] Operation: 8+13=21
Moving to Node #0,3,0
Current State: 29:[50, 21], Operations: ['95-45=50', '8+13=21']
Exploring Operation: 50-21=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
56,
64,
47,
81
] | 16 | [
"64-56=8",
"47+81=128",
"128/8=16"
] | Current State: 16:[56, 64, 47, 81], Operations: []
Exploring Operation: 64-56=8, Resulting Numbers: [47, 81, 8]
Generated Node #2: [47, 81, 8] from Operation: 64-56=8
Current State: 16:[47, 81, 8], Operations: ['64-56=8']
Exploring Operation: 47+81=128, Resulting Numbers: [8, 128]
Generated Node #3: [8, 128] from Operation: 47+81=128
Current State: 16:[8, 128], Operations: ['64-56=8', '47+81=128']
Exploring Operation: 128/8=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[56, 64, 47, 81], Operations: []
Exploring Operation: 81-64=17, Resulting Numbers: [56, 47, 17]
Generated Node #0,0: 16:[56, 47, 17] Operation: 81-64=17
Start Sub Search at level 1: Moving to Node #0,0
Current State: 16:[56, 47, 17], Operations: ['81-64=17']
Exploring Operation: 56-47=9, Resulting Numbers: [17, 9]
Generated Node #0,0,0: 16:[17, 9] Operation: 56-47=9
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 16:[17, 9], Operations: ['81-64=17', '56-47=9']
Exploring Operation: 17-9=8, Resulting Numbers: [8]
8,16 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 |
[
18,
85,
50,
52
] | 94 | [
"52-50=2",
"18/2=9",
"85+9=94"
] | Current State: 94:[18, 85, 50, 52], Operations: []
Exploring Operation: 52-50=2, Resulting Numbers: [18, 85, 2]
Generated Node #2: [18, 85, 2] from Operation: 52-50=2
Current State: 94:[18, 85, 2], Operations: ['52-50=2']
Exploring Operation: 18/2=9, Resulting Numbers: [85, 9]
Generated Node #3: [85, 9] from Operation: 18/2=9
Current State: 94:[85, 9], Operations: ['52-50=2', '18/2=9']
Exploring Operation: 85+9=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[18, 85, 50, 52], Operations: []
Exploring Operation: 50-18=32, Resulting Numbers: [85, 52, 32]
Generated Node #0,0: 94:[85, 52, 32] Operation: 50-18=32
Exploring Operation: 18+85=103, Resulting Numbers: [50, 52, 103]
Generated Node #0,1: 94:[50, 52, 103] Operation: 18+85=103
Exploring Operation: 52-18=34, Resulting Numbers: [85, 50, 34]
Generated Node #0,2: 94:[85, 50, 34] Operation: 52-18=34
Exploring Operation: 52-50=2, Resulting Numbers: [18, 85, 2]
Generated Node #0,3: 94:[18, 85, 2] Operation: 52-50=2
Exploring Operation: 85-18=67, Resulting Numbers: [50, 52, 67]
Generated Node #0,4: 94:[50, 52, 67] Operation: 85-18=67
Moving to Node #0,1
Current State: 94:[50, 52, 103], Operations: ['18+85=103']
Exploring Operation: 50+52=102, Resulting Numbers: [103, 102]
Generated Node #0,1,0: 94:[103, 102] Operation: 50+52=102
Exploring Operation: 52-50=2, Resulting Numbers: [103, 2]
Generated Node #0,1,1: 94:[103, 2] Operation: 52-50=2
Exploring Operation: 103-50=53, Resulting Numbers: [52, 53]
Generated Node #0,1,2: 94:[52, 53] Operation: 103-50=53
Exploring Operation: 103-52=51, Resulting Numbers: [50, 51]
Generated Node #0,1,3: 94:[50, 51] Operation: 103-52=51
Exploring Operation: 50+103=153, Resulting Numbers: [52, 153]
Generated Node #0,1,4: 94:[52, 153] Operation: 50+103=153
Moving to Node #0,3
Current State: 94:[18, 85, 2], Operations: ['52-50=2']
Exploring Operation: 18-2=16, Resulting Numbers: [85, 16]
Generated Node #0,3,0: 94:[85, 16] Operation: 18-2=16
Exploring Operation: 18/2=9, Resulting Numbers: [85, 9]
Generated Node #0,3,1: 94:[85, 9] Operation: 18/2=9
Exploring Operation: 85-18=67, Resulting Numbers: [2, 67]
Generated Node #0,3,2: 94:[2, 67] Operation: 85-18=67
Exploring Operation: 18*2=36, Resulting Numbers: [85, 36]
Generated Node #0,3,3: 94:[85, 36] Operation: 18*2=36
Exploring Operation: 18+85=103, Resulting Numbers: [2, 103]
Generated Node #0,3,4: 94:[2, 103] Operation: 18+85=103
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 94:[2, 103], Operations: ['52-50=2', '18+85=103']
Exploring Operation: 2*103=206, Resulting Numbers: [206]
206,94 unequal: No Solution
Exploring Operation: 2+103=105, Resulting Numbers: [105]
105,94 unequal: No Solution
Exploring Operation: 103-2=101, Resulting Numbers: [101]
101,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 94:[85, 9], Operations: ['52-50=2', '18/2=9']
Exploring Operation: 85-9=76, Resulting Numbers: [76]
76,94 unequal: No Solution
Exploring Operation: 85+9=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[18, 85, 50, 52], Operations: []
Exploring Operation: 52-50=2, Resulting Numbers: [18, 85, 2]
Generated Node #0,3: 94:[18, 85, 2] Operation: 52-50=2
Moving to Node #0,3
Current State: 94:[18, 85, 2], Operations: ['52-50=2']
Exploring Operation: 18/2=9, Resulting Numbers: [85, 9]
Generated Node #0,3,1: 94:[85, 9] Operation: 18/2=9
Moving to Node #0,3,1
Current State: 94:[85, 9], Operations: ['52-50=2', '18/2=9']
Exploring Operation: 85+9=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_5 | sum_heuristic |
[
71,
55,
80,
3
] | 49 | [
"71+55=126",
"80-3=77",
"126-77=49"
] | Current State: 49:[71, 55, 80, 3], Operations: []
Exploring Operation: 71+55=126, Resulting Numbers: [80, 3, 126]
Generated Node #2: [80, 3, 126] from Operation: 71+55=126
Current State: 49:[80, 3, 126], Operations: ['71+55=126']
Exploring Operation: 80-3=77, Resulting Numbers: [126, 77]
Generated Node #3: [126, 77] from Operation: 80-3=77
Current State: 49:[126, 77], Operations: ['71+55=126', '80-3=77']
Exploring Operation: 126-77=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[71, 55, 80, 3], Operations: []
Exploring Operation: 80-71=9, Resulting Numbers: [55, 3, 9]
Generated Node #0,0: 49:[55, 3, 9] Operation: 80-71=9
Moving to Node #0,0
Current State: 49:[55, 3, 9], Operations: ['80-71=9']
Exploring Operation: 55-3=52, Resulting Numbers: [9, 52]
Generated Node #0,0,0: 49:[9, 52] Operation: 55-3=52
Moving to Node #0,0,0
Current State: 49:[9, 52], Operations: ['80-71=9', '55-3=52']
Exploring Operation: 52-9=43, Resulting Numbers: [43]
43,49 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
51,
62,
48,
18
] | 77 | [
"62-51=11",
"48+18=66",
"11+66=77"
] | Current State: 77:[51, 62, 48, 18], Operations: []
Exploring Operation: 62-51=11, Resulting Numbers: [48, 18, 11]
Generated Node #2: [48, 18, 11] from Operation: 62-51=11
Current State: 77:[48, 18, 11], Operations: ['62-51=11']
Exploring Operation: 48+18=66, Resulting Numbers: [11, 66]
Generated Node #3: [11, 66] from Operation: 48+18=66
Current State: 77:[11, 66], Operations: ['62-51=11', '48+18=66']
Exploring Operation: 11+66=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[51, 62, 48, 18], Operations: []
Exploring Operation: 51+48=99, Resulting Numbers: [62, 18, 99]
Generated Node #0,0: 77:[62, 18, 99] Operation: 51+48=99
Exploring Operation: 62-51=11, Resulting Numbers: [48, 18, 11]
Generated Node #0,1: 77:[48, 18, 11] Operation: 62-51=11
Exploring Operation: 51-48=3, Resulting Numbers: [62, 18, 3]
Generated Node #0,2: 77:[62, 18, 3] Operation: 51-48=3
Exploring Operation: 62-48=14, Resulting Numbers: [51, 18, 14]
Generated Node #0,3: 77:[51, 18, 14] Operation: 62-48=14
Moving to Node #0,2
Current State: 77:[62, 18, 3], Operations: ['51-48=3']
Exploring Operation: 62+3=65, Resulting Numbers: [18, 65]
Generated Node #0,2,0: 77:[18, 65] Operation: 62+3=65
Exploring Operation: 18/3=6, Resulting Numbers: [62, 6]
Generated Node #0,2,1: 77:[62, 6] Operation: 18/3=6
Exploring Operation: 62+18=80, Resulting Numbers: [3, 80]
Generated Node #0,2,2: 77:[3, 80] Operation: 62+18=80
Exploring Operation: 18-3=15, Resulting Numbers: [62, 15]
Generated Node #0,2,3: 77:[62, 15] Operation: 18-3=15
Moving to Node #0,3
Current State: 77:[51, 18, 14], Operations: ['62-48=14']
Exploring Operation: 51+14=65, Resulting Numbers: [18, 65]
Generated Node #0,3,0: 77:[18, 65] Operation: 51+14=65
Exploring Operation: 51+18=69, Resulting Numbers: [14, 69]
Generated Node #0,3,1: 77:[14, 69] Operation: 51+18=69
Exploring Operation: 51-18=33, Resulting Numbers: [14, 33]
Generated Node #0,3,2: 77:[14, 33] Operation: 51-18=33
Exploring Operation: 18-14=4, Resulting Numbers: [51, 4]
Generated Node #0,3,3: 77:[51, 4] Operation: 18-14=4
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 77:[14, 69], Operations: ['62-48=14', '51+18=69']
Exploring Operation: 69-14=55, Resulting Numbers: [55]
55,77 unequal: No Solution
Exploring Operation: 14+69=83, Resulting Numbers: [83]
83,77 unequal: No Solution
Exploring Operation: 14*69=966, Resulting Numbers: [966]
966,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 77:[18, 65], Operations: ['62-48=14', '51+14=65']
Exploring Operation: 65-18=47, Resulting Numbers: [47]
47,77 unequal: No Solution
Exploring Operation: 18*65=1170, Resulting Numbers: [1170]
1170,77 unequal: No Solution
Exploring Operation: 18+65=83, Resulting Numbers: [83]
83,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 77:[14, 33], Operations: ['62-48=14', '51-18=33']
Exploring Operation: 33-14=19, Resulting Numbers: [19]
19,77 unequal: No Solution
Exploring Operation: 14*33=462, Resulting Numbers: [462]
462,77 unequal: No Solution
Exploring Operation: 14+33=47, Resulting Numbers: [47]
47,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 77:[51, 4], Operations: ['62-48=14', '18-14=4']
Exploring Operation: 51-4=47, Resulting Numbers: [47]
47,77 unequal: No Solution
Exploring Operation: 51*4=204, Resulting Numbers: [204]
204,77 unequal: No Solution
Exploring Operation: 51+4=55, Resulting Numbers: [55]
55,77 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: 77:[48, 18, 11], Operations: ['62-51=11']
Exploring Operation: 48+18=66, Resulting Numbers: [11, 66]
Generated Node #0,1,0: 77:[11, 66] Operation: 48+18=66
Exploring Operation: 18-11=7, Resulting Numbers: [48, 7]
Generated Node #0,1,1: 77:[48, 7] Operation: 18-11=7
Exploring Operation: 48+11=59, Resulting Numbers: [18, 59]
Generated Node #0,1,2: 77:[18, 59] Operation: 48+11=59
Exploring Operation: 48-18=30, Resulting Numbers: [11, 30]
Generated Node #0,1,3: 77:[11, 30] Operation: 48-18=30
Moving to Node #0,0
Current State: 77:[62, 18, 99], Operations: ['51+48=99']
Exploring Operation: 62-18=44, Resulting Numbers: [99, 44]
Generated Node #0,0,0: 77:[99, 44] Operation: 62-18=44
Exploring Operation: 99-18=81, Resulting Numbers: [62, 81]
Generated Node #0,0,1: 77:[62, 81] Operation: 99-18=81
Exploring Operation: 62+18=80, Resulting Numbers: [99, 80]
Generated Node #0,0,2: 77:[99, 80] Operation: 62+18=80
Exploring Operation: 99-62=37, Resulting Numbers: [18, 37]
Generated Node #0,0,3: 77:[18, 37] Operation: 99-62=37
Moving to Node #0,2,2
Current State: 77:[3, 80], Operations: ['51-48=3', '62+18=80']
Exploring Operation: 3*80=240, Resulting Numbers: [240]
240,77 unequal: No Solution
Exploring Operation: 3+80=83, Resulting Numbers: [83]
83,77 unequal: No Solution
Exploring Operation: 80-3=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[51, 62, 48, 18], Operations: []
Exploring Operation: 51-48=3, Resulting Numbers: [62, 18, 3]
Generated Node #0,2: 77:[62, 18, 3] Operation: 51-48=3
Moving to Node #0,2
Current State: 77:[62, 18, 3], Operations: ['51-48=3']
Exploring Operation: 62+18=80, Resulting Numbers: [3, 80]
Generated Node #0,2,2: 77:[3, 80] Operation: 62+18=80
Moving to Node #0,2,2
Current State: 77:[3, 80], Operations: ['51-48=3', '62+18=80']
Exploring Operation: 80-3=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 0.966146 | hs_4 | mult_heuristic |
[
64,
91,
56,
30
] | 59 | [
"91-64=27",
"56+30=86",
"86-27=59"
] | Current State: 59:[64, 91, 56, 30], Operations: []
Exploring Operation: 91-64=27, Resulting Numbers: [56, 30, 27]
Generated Node #2: [56, 30, 27] from Operation: 91-64=27
Current State: 59:[56, 30, 27], Operations: ['91-64=27']
Exploring Operation: 56+30=86, Resulting Numbers: [27, 86]
Generated Node #3: [27, 86] from Operation: 56+30=86
Current State: 59:[27, 86], Operations: ['91-64=27', '56+30=86']
Exploring Operation: 86-27=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[64, 91, 56, 30], Operations: []
Exploring Operation: 64-30=34, Resulting Numbers: [91, 56, 34]
Generated Node #0,0: 59:[91, 56, 34] Operation: 64-30=34
Exploring Operation: 91-56=35, Resulting Numbers: [64, 30, 35]
Generated Node #0,1: 59:[64, 30, 35] Operation: 91-56=35
Exploring Operation: 91-30=61, Resulting Numbers: [64, 56, 61]
Generated Node #0,2: 59:[64, 56, 61] Operation: 91-30=61
Start Sub Search at level 1: Moving to Node #0,2
Current State: 59:[64, 56, 61], Operations: ['91-30=61']
Exploring Operation: 64-61=3, Resulting Numbers: [56, 3]
Generated Node #0,2,0: 59:[56, 3] Operation: 64-61=3
Exploring Operation: 64-56=8, Resulting Numbers: [61, 8]
Generated Node #0,2,1: 59:[61, 8] Operation: 64-56=8
Exploring Operation: 61-56=5, Resulting Numbers: [64, 5]
Generated Node #0,2,2: 59:[64, 5] Operation: 61-56=5
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 59:[61, 8], Operations: ['91-30=61', '64-56=8']
Exploring Operation: 61-8=53, Resulting Numbers: [53]
53,59 unequal: No Solution
Exploring Operation: 61*8=488, Resulting Numbers: [488]
488,59 unequal: No Solution
Exploring Operation: 61+8=69, Resulting Numbers: [69]
69,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 59:[56, 3], Operations: ['91-30=61', '64-61=3']
Exploring Operation: 56+3=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[64, 91, 56, 30], Operations: []
Exploring Operation: 91-30=61, Resulting Numbers: [64, 56, 61]
Generated Node #0,2: 59:[64, 56, 61] Operation: 91-30=61
Moving to Node #0,2
Current State: 59:[64, 56, 61], Operations: ['91-30=61']
Exploring Operation: 64-61=3, Resulting Numbers: [56, 3]
Generated Node #0,2,0: 59:[56, 3] Operation: 64-61=3
Moving to Node #0,2,0
Current State: 59:[56, 3], Operations: ['91-30=61', '64-61=3']
Exploring Operation: 56+3=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_3 | mult_heuristic |
[
48,
55,
72,
96
] | 17 | [
"55-48=7",
"96-72=24",
"24-7=17"
] | Current State: 17:[48, 55, 72, 96], Operations: []
Exploring Operation: 55-48=7, Resulting Numbers: [72, 96, 7]
Generated Node #2: [72, 96, 7] from Operation: 55-48=7
Current State: 17:[72, 96, 7], Operations: ['55-48=7']
Exploring Operation: 96-72=24, Resulting Numbers: [7, 24]
Generated Node #3: [7, 24] from Operation: 96-72=24
Current State: 17:[7, 24], Operations: ['55-48=7', '96-72=24']
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[48, 55, 72, 96], Operations: []
Exploring Operation: 96-55=41, Resulting Numbers: [48, 72, 41]
Generated Node #0,0: 17:[48, 72, 41] Operation: 96-55=41
Exploring Operation: 72-55=17, Resulting Numbers: [48, 96, 17]
Generated Node #0,1: 17:[48, 96, 17] Operation: 72-55=17
Exploring Operation: 96/48=2, Resulting Numbers: [55, 72, 2]
Generated Node #0,2: 17:[55, 72, 2] Operation: 96/48=2
Exploring Operation: 96-72=24, Resulting Numbers: [48, 55, 24]
Generated Node #0,3: 17:[48, 55, 24] Operation: 96-72=24
Start Sub Search at level 1: Moving to Node #0,3
Current State: 17:[48, 55, 24], Operations: ['96-72=24']
Exploring Operation: 55-24=31, Resulting Numbers: [48, 31]
Generated Node #0,3,0: 17:[48, 31] Operation: 55-24=31
Exploring Operation: 48/24=2, Resulting Numbers: [55, 2]
Generated Node #0,3,1: 17:[55, 2] Operation: 48/24=2
Exploring Operation: 55-48=7, Resulting Numbers: [24, 7]
Generated Node #0,3,2: 17:[24, 7] Operation: 55-48=7
Exploring Operation: 48-24=24, Resulting Numbers: [55, 24]
Generated Node #0,3,3: 17:[55, 24] Operation: 48-24=24
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 17:[24, 7], Operations: ['96-72=24', '55-48=7']
Exploring Operation: 24*7=168, Resulting Numbers: [168]
168,17 unequal: No Solution
Exploring Operation: 24+7=31, Resulting Numbers: [31]
31,17 unequal: No Solution
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[48, 55, 72, 96], Operations: []
Exploring Operation: 96-72=24, Resulting Numbers: [48, 55, 24]
Generated Node #0,3: 17:[48, 55, 24] Operation: 96-72=24
Moving to Node #0,3
Current State: 17:[48, 55, 24], Operations: ['96-72=24']
Exploring Operation: 55-48=7, Resulting Numbers: [24, 7]
Generated Node #0,3,2: 17:[24, 7] Operation: 55-48=7
Moving to Node #0,3,2
Current State: 17:[24, 7], Operations: ['96-72=24', '55-48=7']
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
97,
86,
77,
55
] | 11 | [
"97-86=11",
"77-55=22",
"22-11=11"
] | Current State: 11:[97, 86, 77, 55], Operations: []
Exploring Operation: 97-86=11, Resulting Numbers: [77, 55, 11]
Generated Node #2: [77, 55, 11] from Operation: 97-86=11
Current State: 11:[77, 55, 11], Operations: ['97-86=11']
Exploring Operation: 77-55=22, Resulting Numbers: [11, 22]
Generated Node #3: [11, 22] from Operation: 77-55=22
Current State: 11:[11, 22], Operations: ['97-86=11', '77-55=22']
Exploring Operation: 22-11=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[97, 86, 77, 55], Operations: []
Exploring Operation: 97-86=11, Resulting Numbers: [77, 55, 11]
Generated Node #0,0: 11:[77, 55, 11] Operation: 97-86=11
Moving to Node #0,0
Current State: 11:[77, 55, 11], Operations: ['97-86=11']
Exploring Operation: 77-55=22, Resulting Numbers: [11, 22]
Generated Node #0,0,0: 11:[11, 22] Operation: 77-55=22
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 11:[11, 22], Operations: ['97-86=11', '77-55=22']
Exploring Operation: 22-11=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[97, 86, 77, 55], Operations: []
Exploring Operation: 97-86=11, Resulting Numbers: [77, 55, 11]
Generated Node #0,0: 11:[77, 55, 11] Operation: 97-86=11
Moving to Node #0,0
Current State: 11:[77, 55, 11], Operations: ['97-86=11']
Exploring Operation: 77-55=22, Resulting Numbers: [11, 22]
Generated Node #0,0,0: 11:[11, 22] Operation: 77-55=22
Moving to Node #0,0,0
Current State: 11:[11, 22], Operations: ['97-86=11', '77-55=22']
Exploring Operation: 22-11=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
69,
68,
61,
47
] | 91 | [
"69*61=4209",
"68+4209=4277",
"4277/47=91"
] | Current State: 91:[69, 68, 61, 47], Operations: []
Exploring Operation: 69*61=4209, Resulting Numbers: [68, 47, 4209]
Generated Node #2: [68, 47, 4209] from Operation: 69*61=4209
Current State: 91:[68, 47, 4209], Operations: ['69*61=4209']
Exploring Operation: 68+4209=4277, Resulting Numbers: [47, 4277]
Generated Node #3: [47, 4277] from Operation: 68+4209=4277
Current State: 91:[47, 4277], Operations: ['69*61=4209', '68+4209=4277']
Exploring Operation: 4277/47=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[69, 68, 61, 47], Operations: []
Exploring Operation: 68-61=7, Resulting Numbers: [69, 47, 7]
Generated Node #0,0: 91:[69, 47, 7] Operation: 68-61=7
Exploring Operation: 69-61=8, Resulting Numbers: [68, 47, 8]
Generated Node #0,1: 91:[68, 47, 8] Operation: 69-61=8
Exploring Operation: 61-47=14, Resulting Numbers: [69, 68, 14]
Generated Node #0,2: 91:[69, 68, 14] Operation: 61-47=14
Start Sub Search at level 1: Moving to Node #0,2
Current State: 91:[69, 68, 14], Operations: ['61-47=14']
Exploring Operation: 69+14=83, Resulting Numbers: [68, 83]
Generated Node #0,2,0: 91:[68, 83] Operation: 69+14=83
Exploring Operation: 68+14=82, Resulting Numbers: [69, 82]
Generated Node #0,2,1: 91:[69, 82] Operation: 68+14=82
Exploring Operation: 69-68=1, Resulting Numbers: [14, 1]
Generated Node #0,2,2: 91:[14, 1] Operation: 69-68=1
Moving to Node #0,2,2
Current State: 91:[14, 1], Operations: ['61-47=14', '69-68=1']
Exploring Operation: 14*1=14, Resulting Numbers: [14]
14,91 unequal: No Solution
Exploring Operation: 14-1=13, Resulting Numbers: [13]
13,91 unequal: No Solution
Exploring Operation: 14/1=14, Resulting Numbers: [14]
14,91 unequal: No Solution
Moving to Node #0,2,0
Current State: 91:[68, 83], Operations: ['61-47=14', '69+14=83']
Exploring Operation: 68*83=5644, Resulting Numbers: [5644]
5644,91 unequal: No Solution
Exploring Operation: 83-68=15, Resulting Numbers: [15]
15,91 unequal: No Solution
Exploring Operation: 68+83=151, Resulting Numbers: [151]
151,91 unequal: No Solution
Moving to Node #0,2,1
Current State: 91:[69, 82], Operations: ['61-47=14', '68+14=82']
Exploring Operation: 69+82=151, Resulting Numbers: [151]
151,91 unequal: No Solution
Exploring Operation: 69*82=5658, Resulting Numbers: [5658]
5658,91 unequal: No Solution
Exploring Operation: 82-69=13, Resulting Numbers: [13]
13,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[69, 47, 7], Operations: ['68-61=7']
Exploring Operation: 69-47=22, Resulting Numbers: [7, 22]
Generated Node #0,0,0: 91:[7, 22] Operation: 69-47=22
Exploring Operation: 69+7=76, Resulting Numbers: [47, 76]
Generated Node #0,0,1: 91:[47, 76] Operation: 69+7=76
Exploring Operation: 69+47=116, Resulting Numbers: [7, 116]
Generated Node #0,0,2: 91:[7, 116] Operation: 69+47=116
Moving to Node #0,0,0
Current State: 91:[7, 22], Operations: ['68-61=7', '69-47=22']
Exploring Operation: 7+22=29, Resulting Numbers: [29]
29,91 unequal: No Solution
Exploring Operation: 22-7=15, Resulting Numbers: [15]
15,91 unequal: No Solution
Exploring Operation: 7*22=154, Resulting Numbers: [154]
154,91 unequal: No Solution
Moving to Node #0,0,2
Current State: 91:[7, 116], Operations: ['68-61=7', '69+47=116']
Exploring Operation: 7*116=812, Resulting Numbers: [812]
812,91 unequal: No Solution
Exploring Operation: 7+116=123, Resulting Numbers: [123]
123,91 unequal: No Solution
Exploring Operation: 116-7=109, Resulting Numbers: [109]
109,91 unequal: No Solution
Moving to Node #0,0,1
Current State: 91:[47, 76], Operations: ['68-61=7', '69+7=76']
Exploring Operation: 76-47=29, Resulting Numbers: [29]
29,91 unequal: No Solution
Exploring Operation: 47+76=123, Resulting Numbers: [123]
123,91 unequal: No Solution
Exploring Operation: 47*76=3572, Resulting Numbers: [3572]
3572,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 91:[68, 47, 8], Operations: ['69-61=8']
Exploring Operation: 68-47=21, Resulting Numbers: [8, 21]
Generated Node #0,1,0: 91:[8, 21] Operation: 68-47=21
Exploring Operation: 68+8=76, Resulting Numbers: [47, 76]
Generated Node #0,1,1: 91:[47, 76] Operation: 68+8=76
Exploring Operation: 68+47=115, Resulting Numbers: [8, 115]
Generated Node #0,1,2: 91:[8, 115] Operation: 68+47=115
Moving to Node #0,1,0
Current State: 91:[8, 21], Operations: ['69-61=8', '68-47=21']
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,91 unequal: No Solution
Exploring Operation: 8*21=168, Resulting Numbers: [168]
168,91 unequal: No Solution
Exploring Operation: 8+21=29, Resulting Numbers: [29]
29,91 unequal: No Solution
Moving to Node #0,1,2
Current State: 91:[8, 115], Operations: ['69-61=8', '68+47=115']
Exploring Operation: 8+115=123, Resulting Numbers: [123]
123,91 unequal: No Solution
Exploring Operation: 8*115=920, Resulting Numbers: [920]
920,91 unequal: No Solution
Exploring Operation: 115-8=107, Resulting Numbers: [107]
107,91 unequal: No Solution
Moving to Node #0,1,1
Current State: 91:[47, 76], Operations: ['69-61=8', '68+8=76']
Exploring Operation: 47*76=3572, Resulting Numbers: [3572]
3572,91 unequal: No Solution
Exploring Operation: 47+76=123, Resulting Numbers: [123]
123,91 unequal: No Solution
Exploring Operation: 76-47=29, Resulting Numbers: [29]
29,91 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 |
[
31,
55,
48,
63
] | 25 | [
"31+55=86",
"48+63=111",
"111-86=25"
] | Current State: 25:[31, 55, 48, 63], Operations: []
Exploring Operation: 31+55=86, Resulting Numbers: [48, 63, 86]
Generated Node #2: [48, 63, 86] from Operation: 31+55=86
Current State: 25:[48, 63, 86], Operations: ['31+55=86']
Exploring Operation: 48+63=111, Resulting Numbers: [86, 111]
Generated Node #3: [86, 111] from Operation: 48+63=111
Current State: 25:[86, 111], Operations: ['31+55=86', '48+63=111']
Exploring Operation: 111-86=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[31, 55, 48, 63], Operations: []
Exploring Operation: 63-55=8, Resulting Numbers: [31, 48, 8]
Generated Node #0,0: 25:[31, 48, 8] Operation: 63-55=8
Exploring Operation: 55-48=7, Resulting Numbers: [31, 63, 7]
Generated Node #0,1: 25:[31, 63, 7] Operation: 55-48=7
Moving to Node #0,0
Current State: 25:[31, 48, 8], Operations: ['63-55=8']
Exploring Operation: 48-31=17, Resulting Numbers: [8, 17]
Generated Node #0,0,0: 25:[8, 17] Operation: 48-31=17
Exploring Operation: 48/8=6, Resulting Numbers: [31, 6]
Generated Node #0,0,1: 25:[31, 6] Operation: 48/8=6
Moving to Node #0,1
Current State: 25:[31, 63, 7], Operations: ['55-48=7']
Exploring Operation: 63/7=9, Resulting Numbers: [31, 9]
Generated Node #0,1,0: 25:[31, 9] Operation: 63/7=9
Exploring Operation: 63-31=32, Resulting Numbers: [7, 32]
Generated Node #0,1,1: 25:[7, 32] Operation: 63-31=32
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 25:[7, 32], Operations: ['55-48=7', '63-31=32']
Exploring Operation: 32-7=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[31, 55, 48, 63], Operations: []
Exploring Operation: 55-48=7, Resulting Numbers: [31, 63, 7]
Generated Node #0,1: 25:[31, 63, 7] Operation: 55-48=7
Moving to Node #0,1
Current State: 25:[31, 63, 7], Operations: ['55-48=7']
Exploring Operation: 63-31=32, Resulting Numbers: [7, 32]
Generated Node #0,1,1: 25:[7, 32] Operation: 63-31=32
Moving to Node #0,1,1
Current State: 25:[7, 32], Operations: ['55-48=7', '63-31=32']
Exploring Operation: 32-7=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.