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 |
|---|---|---|---|---|---|---|---|---|
[
36,
51,
80,
5
] | 60 | [
"51-36=15",
"80-5=75",
"75-15=60"
] | Current State: 60:[36, 51, 80, 5], Operations: []
Exploring Operation: 51-36=15, Resulting Numbers: [80, 5, 15]
Generated Node #2: [80, 5, 15] from Operation: 51-36=15
Current State: 60:[80, 5, 15], Operations: ['51-36=15']
Exploring Operation: 80-5=75, Resulting Numbers: [15, 75]
Generated Node #3: [15, 75] from Operation: 80-5=75
Current State: 60:[15, 75], Operations: ['51-36=15', '80-5=75']
Exploring Operation: 75-15=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[36, 51, 80, 5], Operations: []
Exploring Operation: 80-36=44, Resulting Numbers: [51, 5, 44]
Generated Node #0,0: 60:[51, 5, 44] Operation: 80-36=44
Exploring Operation: 51-36=15, Resulting Numbers: [80, 5, 15]
Generated Node #0,1: 60:[80, 5, 15] Operation: 51-36=15
Exploring Operation: 80/5=16, Resulting Numbers: [36, 51, 16]
Generated Node #0,2: 60:[36, 51, 16] Operation: 80/5=16
Exploring Operation: 80-51=29, Resulting Numbers: [36, 5, 29]
Generated Node #0,3: 60:[36, 5, 29] Operation: 80-51=29
Moving to Node #0,3
Current State: 60:[36, 5, 29], Operations: ['80-51=29']
Exploring Operation: 5+29=34, Resulting Numbers: [36, 34]
Generated Node #0,3,0: 60:[36, 34] Operation: 5+29=34
Exploring Operation: 36-5=31, Resulting Numbers: [29, 31]
Generated Node #0,3,1: 60:[29, 31] Operation: 36-5=31
Exploring Operation: 36+29=65, Resulting Numbers: [5, 65]
Generated Node #0,3,2: 60:[5, 65] Operation: 36+29=65
Exploring Operation: 36-29=7, Resulting Numbers: [5, 7]
Generated Node #0,3,3: 60:[5, 7] Operation: 36-29=7
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 60:[5, 7], Operations: ['80-51=29', '36-29=7']
Exploring Operation: 5+7=12, Resulting Numbers: [12]
12,60 unequal: No Solution
Exploring Operation: 5*7=35, Resulting Numbers: [35]
35,60 unequal: No Solution
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,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,1
Current State: 60:[29, 31], Operations: ['80-51=29', '36-5=31']
Exploring Operation: 31-29=2, Resulting Numbers: [2]
2,60 unequal: No Solution
Exploring Operation: 29*31=899, Resulting Numbers: [899]
899,60 unequal: No Solution
Exploring Operation: 29+31=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[36, 51, 80, 5], Operations: []
Exploring Operation: 80-51=29, Resulting Numbers: [36, 5, 29]
Generated Node #0,3: 60:[36, 5, 29] Operation: 80-51=29
Moving to Node #0,3
Current State: 60:[36, 5, 29], Operations: ['80-51=29']
Exploring Operation: 36-5=31, Resulting Numbers: [29, 31]
Generated Node #0,3,1: 60:[29, 31] Operation: 36-5=31
Moving to Node #0,3,1
Current State: 60:[29, 31], Operations: ['80-51=29', '36-5=31']
Exploring Operation: 29+31=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_4 | mult_heuristic |
[
31,
35,
20,
37
] | 68 | [
"35-31=4",
"37-20=17",
"4*17=68"
] | Current State: 68:[31, 35, 20, 37], Operations: []
Exploring Operation: 35-31=4, Resulting Numbers: [20, 37, 4]
Generated Node #2: [20, 37, 4] from Operation: 35-31=4
Current State: 68:[20, 37, 4], Operations: ['35-31=4']
Exploring Operation: 37-20=17, Resulting Numbers: [4, 17]
Generated Node #3: [4, 17] from Operation: 37-20=17
Current State: 68:[4, 17], Operations: ['35-31=4', '37-20=17']
Exploring Operation: 4*17=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[31, 35, 20, 37], Operations: []
Exploring Operation: 35-31=4, Resulting Numbers: [20, 37, 4]
Generated Node #0,0: 68:[20, 37, 4] Operation: 35-31=4
Exploring Operation: 37-20=17, Resulting Numbers: [31, 35, 17]
Generated Node #0,1: 68:[31, 35, 17] Operation: 37-20=17
Exploring Operation: 31+37=68, Resulting Numbers: [35, 20, 68]
Generated Node #0,2: 68:[35, 20, 68] Operation: 31+37=68
Exploring Operation: 37-35=2, Resulting Numbers: [31, 20, 2]
Generated Node #0,3: 68:[31, 20, 2] Operation: 37-35=2
Exploring Operation: 37-31=6, Resulting Numbers: [35, 20, 6]
Generated Node #0,4: 68:[35, 20, 6] Operation: 37-31=6
Moving to Node #0,1
Current State: 68:[31, 35, 17], Operations: ['37-20=17']
Exploring Operation: 31+35=66, Resulting Numbers: [17, 66]
Generated Node #0,1,0: 68:[17, 66] Operation: 31+35=66
Exploring Operation: 31+17=48, Resulting Numbers: [35, 48]
Generated Node #0,1,1: 68:[35, 48] Operation: 31+17=48
Exploring Operation: 31-17=14, Resulting Numbers: [35, 14]
Generated Node #0,1,2: 68:[35, 14] Operation: 31-17=14
Exploring Operation: 35-17=18, Resulting Numbers: [31, 18]
Generated Node #0,1,3: 68:[31, 18] Operation: 35-17=18
Exploring Operation: 35-31=4, Resulting Numbers: [17, 4]
Generated Node #0,1,4: 68:[17, 4] Operation: 35-31=4
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 68:[17, 4], Operations: ['37-20=17', '35-31=4']
Exploring Operation: 17*4=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[31, 35, 20, 37], Operations: []
Exploring Operation: 37-20=17, Resulting Numbers: [31, 35, 17]
Generated Node #0,1: 68:[31, 35, 17] Operation: 37-20=17
Moving to Node #0,1
Current State: 68:[31, 35, 17], Operations: ['37-20=17']
Exploring Operation: 35-31=4, Resulting Numbers: [17, 4]
Generated Node #0,1,4: 68:[17, 4] Operation: 35-31=4
Moving to Node #0,1,4
Current State: 68:[17, 4], Operations: ['37-20=17', '35-31=4']
Exploring Operation: 17*4=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
11,
79,
76,
6
] | 15 | [
"11-6=5",
"79-76=3",
"5*3=15"
] | Current State: 15:[11, 79, 76, 6], Operations: []
Exploring Operation: 11-6=5, Resulting Numbers: [79, 76, 5]
Generated Node #2: [79, 76, 5] from Operation: 11-6=5
Current State: 15:[79, 76, 5], Operations: ['11-6=5']
Exploring Operation: 79-76=3, Resulting Numbers: [5, 3]
Generated Node #3: [5, 3] from Operation: 79-76=3
Current State: 15:[5, 3], Operations: ['11-6=5', '79-76=3']
Exploring Operation: 5*3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[11, 79, 76, 6], Operations: []
Exploring Operation: 79-76=3, Resulting Numbers: [11, 6, 3]
Generated Node #0,0: 15:[11, 6, 3] Operation: 79-76=3
Exploring Operation: 79-11=68, Resulting Numbers: [76, 6, 68]
Generated Node #0,1: 15:[76, 6, 68] Operation: 79-11=68
Moving to Node #0,0
Current State: 15:[11, 6, 3], Operations: ['79-76=3']
Exploring Operation: 11+6=17, Resulting Numbers: [3, 17]
Generated Node #0,0,0: 15:[3, 17] Operation: 11+6=17
Exploring Operation: 11-6=5, Resulting Numbers: [3, 5]
Generated Node #0,0,1: 15:[3, 5] Operation: 11-6=5
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 15:[3, 5], Operations: ['79-76=3', '11-6=5']
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[11, 79, 76, 6], Operations: []
Exploring Operation: 79-76=3, Resulting Numbers: [11, 6, 3]
Generated Node #0,0: 15:[11, 6, 3] Operation: 79-76=3
Moving to Node #0,0
Current State: 15:[11, 6, 3], Operations: ['79-76=3']
Exploring Operation: 11-6=5, Resulting Numbers: [3, 5]
Generated Node #0,0,1: 15:[3, 5] Operation: 11-6=5
Moving to Node #0,0,1
Current State: 15:[3, 5], Operations: ['79-76=3', '11-6=5']
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
4,
22,
5,
10
] | 38 | [
"4*22=88",
"5*10=50",
"88-50=38"
] | Current State: 38:[4, 22, 5, 10], Operations: []
Exploring Operation: 4*22=88, Resulting Numbers: [5, 10, 88]
Generated Node #2: [5, 10, 88] from Operation: 4*22=88
Current State: 38:[5, 10, 88], Operations: ['4*22=88']
Exploring Operation: 5*10=50, Resulting Numbers: [88, 50]
Generated Node #3: [88, 50] from Operation: 5*10=50
Current State: 38:[88, 50], Operations: ['4*22=88', '5*10=50']
Exploring Operation: 88-50=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[4, 22, 5, 10], Operations: []
Exploring Operation: 10/5=2, Resulting Numbers: [4, 22, 2]
Generated Node #0,0: 38:[4, 22, 2] Operation: 10/5=2
Moving to Node #0,0
Current State: 38:[4, 22, 2], Operations: ['10/5=2']
Exploring Operation: 22-4=18, Resulting Numbers: [2, 18]
Generated Node #0,0,0: 38:[2, 18] Operation: 22-4=18
Moving to Node #0,0,0
Current State: 38:[2, 18], Operations: ['10/5=2', '22-4=18']
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,38 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
66,
11,
17,
50
] | 27 | [
"66/11=6",
"50-17=33",
"33-6=27"
] | Current State: 27:[66, 11, 17, 50], Operations: []
Exploring Operation: 66/11=6, Resulting Numbers: [17, 50, 6]
Generated Node #2: [17, 50, 6] from Operation: 66/11=6
Current State: 27:[17, 50, 6], Operations: ['66/11=6']
Exploring Operation: 50-17=33, Resulting Numbers: [6, 33]
Generated Node #3: [6, 33] from Operation: 50-17=33
Current State: 27:[6, 33], Operations: ['66/11=6', '50-17=33']
Exploring Operation: 33-6=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[66, 11, 17, 50], Operations: []
Exploring Operation: 66-50=16, Resulting Numbers: [11, 17, 16]
Generated Node #0,0: 27:[11, 17, 16] Operation: 66-50=16
Exploring Operation: 66/11=6, Resulting Numbers: [17, 50, 6]
Generated Node #0,1: 27:[17, 50, 6] Operation: 66/11=6
Exploring Operation: 66-17=49, Resulting Numbers: [11, 50, 49]
Generated Node #0,2: 27:[11, 50, 49] Operation: 66-17=49
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[11, 17, 16], Operations: ['66-50=16']
Exploring Operation: 11+16=27, Resulting Numbers: [17, 27]
Generated Node #0,0,0: 27:[17, 27] Operation: 11+16=27
Exploring Operation: 11+17=28, Resulting Numbers: [16, 28]
Generated Node #0,0,1: 27:[16, 28] Operation: 11+17=28
Exploring Operation: 17-16=1, Resulting Numbers: [11, 1]
Generated Node #0,0,2: 27:[11, 1] Operation: 17-16=1
Moving to Node #0,0,2
Current State: 27:[11, 1], Operations: ['66-50=16', '17-16=1']
Exploring Operation: 11-1=10, Resulting Numbers: [10]
10,27 unequal: No Solution
Exploring Operation: 11/1=11, Resulting Numbers: [11]
11,27 unequal: No Solution
Exploring Operation: 11*1=11, Resulting Numbers: [11]
11,27 unequal: No Solution
Moving to Node #0,0,0
Current State: 27:[17, 27], Operations: ['66-50=16', '11+16=27']
Exploring Operation: 27-17=10, Resulting Numbers: [10]
10,27 unequal: No Solution
Exploring Operation: 17+27=44, Resulting Numbers: [44]
44,27 unequal: No Solution
Exploring Operation: 17*27=459, Resulting Numbers: [459]
459,27 unequal: No Solution
Moving to Node #0,0,1
Current State: 27:[16, 28], Operations: ['66-50=16', '11+17=28']
Exploring Operation: 16*28=448, Resulting Numbers: [448]
448,27 unequal: No Solution
Exploring Operation: 28-16=12, Resulting Numbers: [12]
12,27 unequal: No Solution
Exploring Operation: 16+28=44, Resulting Numbers: [44]
44,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,1
Current State: 27:[17, 50, 6], Operations: ['66/11=6']
Exploring Operation: 50-17=33, Resulting Numbers: [6, 33]
Generated Node #0,1,0: 27:[6, 33] Operation: 50-17=33
Exploring Operation: 50-6=44, Resulting Numbers: [17, 44]
Generated Node #0,1,1: 27:[17, 44] Operation: 50-6=44
Exploring Operation: 17-6=11, Resulting Numbers: [50, 11]
Generated Node #0,1,2: 27:[50, 11] Operation: 17-6=11
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 27:[6, 33], Operations: ['66/11=6', '50-17=33']
Exploring Operation: 6*33=198, Resulting Numbers: [198]
198,27 unequal: No Solution
Exploring Operation: 6+33=39, Resulting Numbers: [39]
39,27 unequal: No Solution
Exploring Operation: 33-6=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[66, 11, 17, 50], Operations: []
Exploring Operation: 66/11=6, Resulting Numbers: [17, 50, 6]
Generated Node #0,1: 27:[17, 50, 6] Operation: 66/11=6
Moving to Node #0,1
Current State: 27:[17, 50, 6], Operations: ['66/11=6']
Exploring Operation: 50-17=33, Resulting Numbers: [6, 33]
Generated Node #0,1,0: 27:[6, 33] Operation: 50-17=33
Moving to Node #0,1,0
Current State: 27:[6, 33], Operations: ['66/11=6', '50-17=33']
Exploring Operation: 33-6=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.978299 | hs_3 | mult_heuristic |
[
90,
30,
22,
23
] | 64 | [
"30-23=7",
"22*7=154",
"154-90=64"
] | Current State: 64:[90, 30, 22, 23], Operations: []
Exploring Operation: 30-23=7, Resulting Numbers: [90, 22, 7]
Generated Node #2: [90, 22, 7] from Operation: 30-23=7
Current State: 64:[90, 22, 7], Operations: ['30-23=7']
Exploring Operation: 22*7=154, Resulting Numbers: [90, 154]
Generated Node #3: [90, 154] from Operation: 22*7=154
Current State: 64:[90, 154], Operations: ['30-23=7', '22*7=154']
Exploring Operation: 154-90=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[90, 30, 22, 23], Operations: []
Exploring Operation: 90-23=67, Resulting Numbers: [30, 22, 67]
Generated Node #0,0: 64:[30, 22, 67] Operation: 90-23=67
Exploring Operation: 90/30=3, Resulting Numbers: [22, 23, 3]
Generated Node #0,1: 64:[22, 23, 3] Operation: 90/30=3
Exploring Operation: 90-22=68, Resulting Numbers: [30, 23, 68]
Generated Node #0,2: 64:[30, 23, 68] Operation: 90-22=68
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[30, 22, 67], Operations: ['90-23=67']
Exploring Operation: 30+22=52, Resulting Numbers: [67, 52]
Generated Node #0,0,0: 64:[67, 52] Operation: 30+22=52
Exploring Operation: 30-22=8, Resulting Numbers: [67, 8]
Generated Node #0,0,1: 64:[67, 8] Operation: 30-22=8
Exploring Operation: 67-30=37, Resulting Numbers: [22, 37]
Generated Node #0,0,2: 64:[22, 37] Operation: 67-30=37
Moving to Node #0,0,1
Current State: 64:[67, 8], Operations: ['90-23=67', '30-22=8']
Exploring Operation: 67+8=75, Resulting Numbers: [75]
75,64 unequal: No Solution
Exploring Operation: 67*8=536, Resulting Numbers: [536]
536,64 unequal: No Solution
Exploring Operation: 67-8=59, Resulting Numbers: [59]
59,64 unequal: No Solution
Moving to Node #0,0,2
Current State: 64:[22, 37], Operations: ['90-23=67', '67-30=37']
Exploring Operation: 22*37=814, Resulting Numbers: [814]
814,64 unequal: No Solution
Exploring Operation: 37-22=15, Resulting Numbers: [15]
15,64 unequal: No Solution
Exploring Operation: 22+37=59, Resulting Numbers: [59]
59,64 unequal: No Solution
Moving to Node #0,0,0
Current State: 64:[67, 52], Operations: ['90-23=67', '30+22=52']
Exploring Operation: 67+52=119, Resulting Numbers: [119]
119,64 unequal: No Solution
Exploring Operation: 67*52=3484, Resulting Numbers: [3484]
3484,64 unequal: No Solution
Exploring Operation: 67-52=15, Resulting Numbers: [15]
15,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 64:[30, 23, 68], Operations: ['90-22=68']
Exploring Operation: 68-30=38, Resulting Numbers: [23, 38]
Generated Node #0,2,0: 64:[23, 38] Operation: 68-30=38
Exploring Operation: 30-23=7, Resulting Numbers: [68, 7]
Generated Node #0,2,1: 64:[68, 7] Operation: 30-23=7
Exploring Operation: 30+23=53, Resulting Numbers: [68, 53]
Generated Node #0,2,2: 64:[68, 53] Operation: 30+23=53
Moving to Node #0,2,1
Current State: 64:[68, 7], Operations: ['90-22=68', '30-23=7']
Exploring Operation: 68*7=476, Resulting Numbers: [476]
476,64 unequal: No Solution
Exploring Operation: 68-7=61, Resulting Numbers: [61]
61,64 unequal: No Solution
Exploring Operation: 68+7=75, Resulting Numbers: [75]
75,64 unequal: No Solution
Moving to Node #0,2,0
Current State: 64:[23, 38], Operations: ['90-22=68', '68-30=38']
Exploring Operation: 23+38=61, Resulting Numbers: [61]
61,64 unequal: No Solution
Exploring Operation: 23*38=874, Resulting Numbers: [874]
874,64 unequal: No Solution
Exploring Operation: 38-23=15, Resulting Numbers: [15]
15,64 unequal: No Solution
Moving to Node #0,2,2
Current State: 64:[68, 53], Operations: ['90-22=68', '30+23=53']
Exploring Operation: 68*53=3604, Resulting Numbers: [3604]
3604,64 unequal: No Solution
Exploring Operation: 68+53=121, Resulting Numbers: [121]
121,64 unequal: No Solution
Exploring Operation: 68-53=15, Resulting Numbers: [15]
15,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 64:[22, 23, 3], Operations: ['90/30=3']
Exploring Operation: 22-3=19, Resulting Numbers: [23, 19]
Generated Node #0,1,0: 64:[23, 19] Operation: 22-3=19
Exploring Operation: 22*3=66, Resulting Numbers: [23, 66]
Generated Node #0,1,1: 64:[23, 66] Operation: 22*3=66
Exploring Operation: 23-22=1, Resulting Numbers: [3, 1]
Generated Node #0,1,2: 64:[3, 1] Operation: 23-22=1
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 64:[3, 1], Operations: ['90/30=3', '23-22=1']
Exploring Operation: 3+1=4, Resulting Numbers: [4]
4,64 unequal: No Solution
Exploring Operation: 3*1=3, Resulting Numbers: [3]
3,64 unequal: No Solution
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,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,1,1
Current State: 64:[23, 66], Operations: ['90/30=3', '22*3=66']
Exploring Operation: 66-23=43, Resulting Numbers: [43]
43,64 unequal: No Solution
Exploring Operation: 23*66=1518, Resulting Numbers: [1518]
1518,64 unequal: No Solution
Exploring Operation: 23+66=89, Resulting Numbers: [89]
89,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,1,0
Current State: 64:[23, 19], Operations: ['90/30=3', '22-3=19']
Exploring Operation: 23+19=42, Resulting Numbers: [42]
42,64 unequal: No Solution
Exploring Operation: 23*19=437, Resulting Numbers: [437]
437,64 unequal: No Solution
Exploring Operation: 23-19=4, Resulting Numbers: [4]
4,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
No solution found.
| 0 | hs_3 | sum_heuristic |
[
6,
48,
35,
43
] | 13 | [
"48-43=5",
"35/5=7",
"6+7=13"
] | Current State: 13:[6, 48, 35, 43], Operations: []
Exploring Operation: 48-43=5, Resulting Numbers: [6, 35, 5]
Generated Node #2: [6, 35, 5] from Operation: 48-43=5
Current State: 13:[6, 35, 5], Operations: ['48-43=5']
Exploring Operation: 35/5=7, Resulting Numbers: [6, 7]
Generated Node #3: [6, 7] from Operation: 35/5=7
Current State: 13:[6, 7], Operations: ['48-43=5', '35/5=7']
Exploring Operation: 6+7=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[6, 48, 35, 43], Operations: []
Exploring Operation: 48-35=13, Resulting Numbers: [6, 43, 13]
Generated Node #0,0: 13:[6, 43, 13] Operation: 48-35=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[6, 43, 13], Operations: ['48-35=13']
Exploring Operation: 43-6=37, Resulting Numbers: [13, 37]
Generated Node #0,0,0: 13:[13, 37] Operation: 43-6=37
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 13:[13, 37], Operations: ['48-35=13', '43-6=37']
Exploring Operation: 37-13=24, Resulting Numbers: [24]
24,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
38,
36,
79,
42
] | 74 | [
"38-36=2",
"79-42=37",
"2*37=74"
] | Current State: 74:[38, 36, 79, 42], Operations: []
Exploring Operation: 38-36=2, Resulting Numbers: [79, 42, 2]
Generated Node #2: [79, 42, 2] from Operation: 38-36=2
Current State: 74:[79, 42, 2], Operations: ['38-36=2']
Exploring Operation: 79-42=37, Resulting Numbers: [2, 37]
Generated Node #3: [2, 37] from Operation: 79-42=37
Current State: 74:[2, 37], Operations: ['38-36=2', '79-42=37']
Exploring Operation: 2*37=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[38, 36, 79, 42], Operations: []
Exploring Operation: 79-42=37, Resulting Numbers: [38, 36, 37]
Generated Node #0,0: 74:[38, 36, 37] Operation: 79-42=37
Moving to Node #0,0
Current State: 74:[38, 36, 37], Operations: ['79-42=37']
Exploring Operation: 38+36=74, Resulting Numbers: [37, 74]
Generated Node #0,0,0: 74:[37, 74] Operation: 38+36=74
Moving to Node #0,0,0
Current State: 74:[37, 74], Operations: ['79-42=37', '38+36=74']
Exploring Operation: 74-37=37, Resulting Numbers: [37]
37,74 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
69,
63,
91,
98
] | 13 | [
"69-63=6",
"98-91=7",
"6+7=13"
] | Current State: 13:[69, 63, 91, 98], Operations: []
Exploring Operation: 69-63=6, Resulting Numbers: [91, 98, 6]
Generated Node #2: [91, 98, 6] from Operation: 69-63=6
Current State: 13:[91, 98, 6], Operations: ['69-63=6']
Exploring Operation: 98-91=7, Resulting Numbers: [6, 7]
Generated Node #3: [6, 7] from Operation: 98-91=7
Current State: 13:[6, 7], Operations: ['69-63=6', '98-91=7']
Exploring Operation: 6+7=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[69, 63, 91, 98], Operations: []
Exploring Operation: 91-69=22, Resulting Numbers: [63, 98, 22]
Generated Node #0,0: 13:[63, 98, 22] Operation: 91-69=22
Exploring Operation: 91-63=28, Resulting Numbers: [69, 98, 28]
Generated Node #0,1: 13:[69, 98, 28] Operation: 91-63=28
Exploring Operation: 98-69=29, Resulting Numbers: [63, 91, 29]
Generated Node #0,2: 13:[63, 91, 29] Operation: 98-69=29
Exploring Operation: 98-91=7, Resulting Numbers: [69, 63, 7]
Generated Node #0,3: 13:[69, 63, 7] Operation: 98-91=7
Start Sub Search at level 1: Moving to Node #0,3
Current State: 13:[69, 63, 7], Operations: ['98-91=7']
Exploring Operation: 63/7=9, Resulting Numbers: [69, 9]
Generated Node #0,3,0: 13:[69, 9] Operation: 63/7=9
Exploring Operation: 69-7=62, Resulting Numbers: [63, 62]
Generated Node #0,3,1: 13:[63, 62] Operation: 69-7=62
Exploring Operation: 63-7=56, Resulting Numbers: [69, 56]
Generated Node #0,3,2: 13:[69, 56] Operation: 63-7=56
Exploring Operation: 69-63=6, Resulting Numbers: [7, 6]
Generated Node #0,3,3: 13:[7, 6] Operation: 69-63=6
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 13:[7, 6], Operations: ['98-91=7', '69-63=6']
Exploring Operation: 7+6=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[69, 63, 91, 98], Operations: []
Exploring Operation: 98-91=7, Resulting Numbers: [69, 63, 7]
Generated Node #0,3: 13:[69, 63, 7] Operation: 98-91=7
Moving to Node #0,3
Current State: 13:[69, 63, 7], Operations: ['98-91=7']
Exploring Operation: 69-63=6, Resulting Numbers: [7, 6]
Generated Node #0,3,3: 13:[7, 6] Operation: 69-63=6
Moving to Node #0,3,3
Current State: 13:[7, 6], Operations: ['98-91=7', '69-63=6']
Exploring Operation: 7+6=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
67,
2,
59,
50
] | 88 | [
"67+59=126",
"50+126=176",
"176/2=88"
] | Current State: 88:[67, 2, 59, 50], Operations: []
Exploring Operation: 67+59=126, Resulting Numbers: [2, 50, 126]
Generated Node #2: [2, 50, 126] from Operation: 67+59=126
Current State: 88:[2, 50, 126], Operations: ['67+59=126']
Exploring Operation: 50+126=176, Resulting Numbers: [2, 176]
Generated Node #3: [2, 176] from Operation: 50+126=176
Current State: 88:[2, 176], Operations: ['67+59=126', '50+126=176']
Exploring Operation: 176/2=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[67, 2, 59, 50], Operations: []
Exploring Operation: 67-50=17, Resulting Numbers: [2, 59, 17]
Generated Node #0,0: 88:[2, 59, 17] Operation: 67-50=17
Exploring Operation: 59-50=9, Resulting Numbers: [67, 2, 9]
Generated Node #0,1: 88:[67, 2, 9] Operation: 59-50=9
Exploring Operation: 67-59=8, Resulting Numbers: [2, 50, 8]
Generated Node #0,2: 88:[2, 50, 8] Operation: 67-59=8
Moving to Node #0,2
Current State: 88:[2, 50, 8], Operations: ['67-59=8']
Exploring Operation: 50-8=42, Resulting Numbers: [2, 42]
Generated Node #0,2,0: 88:[2, 42] Operation: 50-8=42
Exploring Operation: 50/2=25, Resulting Numbers: [8, 25]
Generated Node #0,2,1: 88:[8, 25] Operation: 50/2=25
Exploring Operation: 50-2=48, Resulting Numbers: [8, 48]
Generated Node #0,2,2: 88:[8, 48] Operation: 50-2=48
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 88:[2, 42], Operations: ['67-59=8', '50-8=42']
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,88 unequal: No Solution
Exploring Operation: 2*42=84, Resulting Numbers: [84]
84,88 unequal: No Solution
Exploring Operation: 2+42=44, Resulting Numbers: [44]
44,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 88:[8, 25], Operations: ['67-59=8', '50/2=25']
Exploring Operation: 8+25=33, Resulting Numbers: [33]
33,88 unequal: No Solution
Exploring Operation: 25-8=17, Resulting Numbers: [17]
17,88 unequal: No Solution
Exploring Operation: 8*25=200, Resulting Numbers: [200]
200,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 88:[8, 48], Operations: ['67-59=8', '50-2=48']
Exploring Operation: 48/8=6, Resulting Numbers: [6]
6,88 unequal: No Solution
Exploring Operation: 48-8=40, Resulting Numbers: [40]
40,88 unequal: No Solution
Exploring Operation: 8+48=56, Resulting Numbers: [56]
56,88 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: 88:[2, 59, 17], Operations: ['67-50=17']
Exploring Operation: 59+17=76, Resulting Numbers: [2, 76]
Generated Node #0,0,0: 88:[2, 76] Operation: 59+17=76
Exploring Operation: 59-17=42, Resulting Numbers: [2, 42]
Generated Node #0,0,1: 88:[2, 42] Operation: 59-17=42
Exploring Operation: 59-2=57, Resulting Numbers: [17, 57]
Generated Node #0,0,2: 88:[17, 57] Operation: 59-2=57
Moving to Node #0,1
Current State: 88:[67, 2, 9], Operations: ['59-50=9']
Exploring Operation: 67+2=69, Resulting Numbers: [9, 69]
Generated Node #0,1,0: 88:[9, 69] Operation: 67+2=69
Exploring Operation: 67-9=58, Resulting Numbers: [2, 58]
Generated Node #0,1,1: 88:[2, 58] Operation: 67-9=58
Exploring Operation: 67+9=76, Resulting Numbers: [2, 76]
Generated Node #0,1,2: 88:[2, 76] Operation: 67+9=76
Moving to Node #0,0,1
Current State: 88:[2, 42], Operations: ['67-50=17', '59-17=42']
Exploring Operation: 2+42=44, Resulting Numbers: [44]
44,88 unequal: No Solution
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,88 unequal: No Solution
Exploring Operation: 2*42=84, Resulting Numbers: [84]
84,88 unequal: No Solution
Moving to Node #0,0,0
Current State: 88:[2, 76], Operations: ['67-50=17', '59+17=76']
Exploring Operation: 2+76=78, Resulting Numbers: [78]
78,88 unequal: No Solution
Exploring Operation: 76/2=38, Resulting Numbers: [38]
38,88 unequal: No Solution
Exploring Operation: 76-2=74, Resulting Numbers: [74]
74,88 unequal: No Solution
Moving to Node #0,1,2
Current State: 88:[2, 76], Operations: ['59-50=9', '67+9=76']
Exploring Operation: 76-2=74, Resulting Numbers: [74]
74,88 unequal: No Solution
Exploring Operation: 76/2=38, Resulting Numbers: [38]
38,88 unequal: No Solution
Exploring Operation: 2+76=78, Resulting Numbers: [78]
78,88 unequal: No Solution
Moving to Node #0,1,1
Current State: 88:[2, 58], Operations: ['59-50=9', '67-9=58']
Exploring Operation: 58/2=29, Resulting Numbers: [29]
29,88 unequal: No Solution
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,88 unequal: No Solution
Exploring Operation: 2+58=60, Resulting Numbers: [60]
60,88 unequal: No Solution
Moving to Node #0,0,2
Current State: 88:[17, 57], Operations: ['67-50=17', '59-2=57']
Exploring Operation: 57-17=40, Resulting Numbers: [40]
40,88 unequal: No Solution
Exploring Operation: 17+57=74, Resulting Numbers: [74]
74,88 unequal: No Solution
Exploring Operation: 17*57=969, Resulting Numbers: [969]
969,88 unequal: No Solution
Moving to Node #0,1,0
Current State: 88:[9, 69], Operations: ['59-50=9', '67+2=69']
Exploring Operation: 9*69=621, Resulting Numbers: [621]
621,88 unequal: No Solution
Exploring Operation: 69-9=60, Resulting Numbers: [60]
60,88 unequal: No Solution
Exploring Operation: 9+69=78, Resulting Numbers: [78]
78,88 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
98,
7,
10,
39
] | 62 | [
"98-7=91",
"39-10=29",
"91-29=62"
] | Current State: 62:[98, 7, 10, 39], Operations: []
Exploring Operation: 98-7=91, Resulting Numbers: [10, 39, 91]
Generated Node #2: [10, 39, 91] from Operation: 98-7=91
Current State: 62:[10, 39, 91], Operations: ['98-7=91']
Exploring Operation: 39-10=29, Resulting Numbers: [91, 29]
Generated Node #3: [91, 29] from Operation: 39-10=29
Current State: 62:[91, 29], Operations: ['98-7=91', '39-10=29']
Exploring Operation: 91-29=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[98, 7, 10, 39], Operations: []
Exploring Operation: 98-39=59, Resulting Numbers: [7, 10, 59]
Generated Node #0,0: 62:[7, 10, 59] Operation: 98-39=59
Exploring Operation: 98/7=14, Resulting Numbers: [10, 39, 14]
Generated Node #0,1: 62:[10, 39, 14] Operation: 98/7=14
Moving to Node #0,0
Current State: 62:[7, 10, 59], Operations: ['98-39=59']
Exploring Operation: 7*10=70, Resulting Numbers: [59, 70]
Generated Node #0,0,0: 62:[59, 70] Operation: 7*10=70
Exploring Operation: 10-7=3, Resulting Numbers: [59, 3]
Generated Node #0,0,1: 62:[59, 3] Operation: 10-7=3
Moving to Node #0,1
Current State: 62:[10, 39, 14], Operations: ['98/7=14']
Exploring Operation: 14-10=4, Resulting Numbers: [39, 4]
Generated Node #0,1,0: 62:[39, 4] Operation: 14-10=4
Exploring Operation: 39-10=29, Resulting Numbers: [14, 29]
Generated Node #0,1,1: 62:[14, 29] Operation: 39-10=29
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 62:[39, 4], Operations: ['98/7=14', '14-10=4']
Exploring Operation: 39-4=35, Resulting Numbers: [35]
35,62 unequal: No Solution
Exploring Operation: 39+4=43, Resulting Numbers: [43]
43,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 62:[14, 29], Operations: ['98/7=14', '39-10=29']
Exploring Operation: 29-14=15, Resulting Numbers: [15]
15,62 unequal: No Solution
Exploring Operation: 14+29=43, Resulting Numbers: [43]
43,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 62:[59, 3], Operations: ['98-39=59', '10-7=3']
Exploring Operation: 59+3=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[98, 7, 10, 39], Operations: []
Exploring Operation: 98-39=59, Resulting Numbers: [7, 10, 59]
Generated Node #0,0: 62:[7, 10, 59] Operation: 98-39=59
Moving to Node #0,0
Current State: 62:[7, 10, 59], Operations: ['98-39=59']
Exploring Operation: 10-7=3, Resulting Numbers: [59, 3]
Generated Node #0,0,1: 62:[59, 3] Operation: 10-7=3
Moving to Node #0,0,1
Current State: 62:[59, 3], Operations: ['98-39=59', '10-7=3']
Exploring Operation: 59+3=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 0.986979 | hs_2 | mult_heuristic |
[
47,
3,
50,
81
] | 10 | [
"47*3=141",
"50+81=131",
"141-131=10"
] | Current State: 10:[47, 3, 50, 81], Operations: []
Exploring Operation: 47*3=141, Resulting Numbers: [50, 81, 141]
Generated Node #2: [50, 81, 141] from Operation: 47*3=141
Current State: 10:[50, 81, 141], Operations: ['47*3=141']
Exploring Operation: 50+81=131, Resulting Numbers: [141, 131]
Generated Node #3: [141, 131] from Operation: 50+81=131
Current State: 10:[141, 131], Operations: ['47*3=141', '50+81=131']
Exploring Operation: 141-131=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[47, 3, 50, 81], Operations: []
Exploring Operation: 81-50=31, Resulting Numbers: [47, 3, 31]
Generated Node #0,0: 10:[47, 3, 31] Operation: 81-50=31
Moving to Node #0,0
Current State: 10:[47, 3, 31], Operations: ['81-50=31']
Exploring Operation: 47-31=16, Resulting Numbers: [3, 16]
Generated Node #0,0,0: 10:[3, 16] Operation: 47-31=16
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 10:[3, 16], Operations: ['81-50=31', '47-31=16']
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,10 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 |
[
7,
27,
61,
56
] | 62 | [
"61-56=5",
"7*5=35",
"27+35=62"
] | Current State: 62:[7, 27, 61, 56], Operations: []
Exploring Operation: 61-56=5, Resulting Numbers: [7, 27, 5]
Generated Node #2: [7, 27, 5] from Operation: 61-56=5
Current State: 62:[7, 27, 5], Operations: ['61-56=5']
Exploring Operation: 7*5=35, Resulting Numbers: [27, 35]
Generated Node #3: [27, 35] from Operation: 7*5=35
Current State: 62:[27, 35], Operations: ['61-56=5', '7*5=35']
Exploring Operation: 27+35=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[7, 27, 61, 56], Operations: []
Exploring Operation: 56-27=29, Resulting Numbers: [7, 61, 29]
Generated Node #0,0: 62:[7, 61, 29] Operation: 56-27=29
Exploring Operation: 7+56=63, Resulting Numbers: [27, 61, 63]
Generated Node #0,1: 62:[27, 61, 63] Operation: 7+56=63
Moving to Node #0,1
Current State: 62:[27, 61, 63], Operations: ['7+56=63']
Exploring Operation: 61-27=34, Resulting Numbers: [63, 34]
Generated Node #0,1,0: 62:[63, 34] Operation: 61-27=34
Exploring Operation: 63-61=2, Resulting Numbers: [27, 2]
Generated Node #0,1,1: 62:[27, 2] Operation: 63-61=2
Moving to Node #0,0
Current State: 62:[7, 61, 29], Operations: ['56-27=29']
Exploring Operation: 7+29=36, Resulting Numbers: [61, 36]
Generated Node #0,0,0: 62:[61, 36] Operation: 7+29=36
Exploring Operation: 61-29=32, Resulting Numbers: [7, 32]
Generated Node #0,0,1: 62:[7, 32] Operation: 61-29=32
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 62:[61, 36], Operations: ['56-27=29', '7+29=36']
Exploring Operation: 61-36=25, Resulting Numbers: [25]
25,62 unequal: No Solution
Exploring Operation: 61+36=97, Resulting Numbers: [97]
97,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 62:[7, 32], Operations: ['56-27=29', '61-29=32']
Exploring Operation: 7+32=39, Resulting Numbers: [39]
39,62 unequal: No Solution
Exploring Operation: 32-7=25, Resulting Numbers: [25]
25,62 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: 62:[63, 34], Operations: ['7+56=63', '61-27=34']
Exploring Operation: 63-34=29, Resulting Numbers: [29]
29,62 unequal: No Solution
Exploring Operation: 63+34=97, Resulting Numbers: [97]
97,62 unequal: No Solution
Moving to Node #0,1,1
Current State: 62:[27, 2], Operations: ['7+56=63', '63-61=2']
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,62 unequal: No Solution
Exploring Operation: 27+2=29, Resulting Numbers: [29]
29,62 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
72,
8,
81,
15
] | 57 | [
"72/8=9",
"81-15=66",
"66-9=57"
] | Current State: 57:[72, 8, 81, 15], Operations: []
Exploring Operation: 72/8=9, Resulting Numbers: [81, 15, 9]
Generated Node #2: [81, 15, 9] from Operation: 72/8=9
Current State: 57:[81, 15, 9], Operations: ['72/8=9']
Exploring Operation: 81-15=66, Resulting Numbers: [9, 66]
Generated Node #3: [9, 66] from Operation: 81-15=66
Current State: 57:[9, 66], Operations: ['72/8=9', '81-15=66']
Exploring Operation: 66-9=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[72, 8, 81, 15], Operations: []
Exploring Operation: 81-72=9, Resulting Numbers: [8, 15, 9]
Generated Node #0,0: 57:[8, 15, 9] Operation: 81-72=9
Exploring Operation: 81-15=66, Resulting Numbers: [72, 8, 66]
Generated Node #0,1: 57:[72, 8, 66] Operation: 81-15=66
Exploring Operation: 72/8=9, Resulting Numbers: [81, 15, 9]
Generated Node #0,2: 57:[81, 15, 9] Operation: 72/8=9
Exploring Operation: 72-15=57, Resulting Numbers: [8, 81, 57]
Generated Node #0,3: 57:[8, 81, 57] Operation: 72-15=57
Moving to Node #0,0
Current State: 57:[8, 15, 9], Operations: ['81-72=9']
Exploring Operation: 9-8=1, Resulting Numbers: [15, 1]
Generated Node #0,0,0: 57:[15, 1] Operation: 9-8=1
Exploring Operation: 15-9=6, Resulting Numbers: [8, 6]
Generated Node #0,0,1: 57:[8, 6] Operation: 15-9=6
Exploring Operation: 8+15=23, Resulting Numbers: [9, 23]
Generated Node #0,0,2: 57:[9, 23] Operation: 8+15=23
Exploring Operation: 8+9=17, Resulting Numbers: [15, 17]
Generated Node #0,0,3: 57:[15, 17] Operation: 8+9=17
Moving to Node #0,3
Current State: 57:[8, 81, 57], Operations: ['72-15=57']
Exploring Operation: 8+57=65, Resulting Numbers: [81, 65]
Generated Node #0,3,0: 57:[81, 65] Operation: 8+57=65
Exploring Operation: 8+81=89, Resulting Numbers: [57, 89]
Generated Node #0,3,1: 57:[57, 89] Operation: 8+81=89
Exploring Operation: 81-8=73, Resulting Numbers: [57, 73]
Generated Node #0,3,2: 57:[57, 73] Operation: 81-8=73
Exploring Operation: 81-57=24, Resulting Numbers: [8, 24]
Generated Node #0,3,3: 57:[8, 24] Operation: 81-57=24
Moving to Node #0,1
Current State: 57:[72, 8, 66], Operations: ['81-15=66']
Exploring Operation: 72-66=6, Resulting Numbers: [8, 6]
Generated Node #0,1,0: 57:[8, 6] Operation: 72-66=6
Exploring Operation: 72/8=9, Resulting Numbers: [66, 9]
Generated Node #0,1,1: 57:[66, 9] Operation: 72/8=9
Exploring Operation: 66-8=58, Resulting Numbers: [72, 58]
Generated Node #0,1,2: 57:[72, 58] Operation: 66-8=58
Exploring Operation: 72-8=64, Resulting Numbers: [66, 64]
Generated Node #0,1,3: 57:[66, 64] Operation: 72-8=64
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 57:[8, 6], Operations: ['81-15=66', '72-66=6']
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,57 unequal: No Solution
Exploring Operation: 8+6=14, Resulting Numbers: [14]
14,57 unequal: No Solution
Exploring Operation: 8*6=48, Resulting Numbers: [48]
48,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,1
Current State: 57:[66, 9], Operations: ['81-15=66', '72/8=9']
Exploring Operation: 66+9=75, Resulting Numbers: [75]
75,57 unequal: No Solution
Exploring Operation: 66*9=594, Resulting Numbers: [594]
594,57 unequal: No Solution
Exploring Operation: 66-9=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[72, 8, 81, 15], Operations: []
Exploring Operation: 81-15=66, Resulting Numbers: [72, 8, 66]
Generated Node #0,1: 57:[72, 8, 66] Operation: 81-15=66
Moving to Node #0,1
Current State: 57:[72, 8, 66], Operations: ['81-15=66']
Exploring Operation: 72/8=9, Resulting Numbers: [66, 9]
Generated Node #0,1,1: 57:[66, 9] Operation: 72/8=9
Moving to Node #0,1,1
Current State: 57:[66, 9], Operations: ['81-15=66', '72/8=9']
Exploring Operation: 66-9=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_4 | sum_heuristic |
[
8,
18,
88,
10
] | 97 | [
"10-8=2",
"18/2=9",
"88+9=97"
] | Current State: 97:[8, 18, 88, 10], Operations: []
Exploring Operation: 10-8=2, Resulting Numbers: [18, 88, 2]
Generated Node #2: [18, 88, 2] from Operation: 10-8=2
Current State: 97:[18, 88, 2], Operations: ['10-8=2']
Exploring Operation: 18/2=9, Resulting Numbers: [88, 9]
Generated Node #3: [88, 9] from Operation: 18/2=9
Current State: 97:[88, 9], Operations: ['10-8=2', '18/2=9']
Exploring Operation: 88+9=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[8, 18, 88, 10], Operations: []
Exploring Operation: 8*10=80, Resulting Numbers: [18, 88, 80]
Generated Node #0,0: 97:[18, 88, 80] Operation: 8*10=80
Exploring Operation: 8*18=144, Resulting Numbers: [88, 10, 144]
Generated Node #0,1: 97:[88, 10, 144] Operation: 8*18=144
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[18, 88, 80], Operations: ['8*10=80']
Exploring Operation: 18+80=98, Resulting Numbers: [88, 98]
Generated Node #0,0,0: 97:[88, 98] Operation: 18+80=98
Exploring Operation: 18+88=106, Resulting Numbers: [80, 106]
Generated Node #0,0,1: 97:[80, 106] Operation: 18+88=106
Moving to Node #0,0,0
Current State: 97:[88, 98], Operations: ['8*10=80', '18+80=98']
Exploring Operation: 98-88=10, Resulting Numbers: [10]
10,97 unequal: No Solution
Exploring Operation: 88+98=186, Resulting Numbers: [186]
186,97 unequal: No Solution
Moving to Node #0,0,1
Current State: 97:[80, 106], Operations: ['8*10=80', '18+88=106']
Exploring Operation: 80+106=186, Resulting Numbers: [186]
186,97 unequal: No Solution
Exploring Operation: 106-80=26, Resulting Numbers: [26]
26,97 unequal: No Solution
No 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: 97:[88, 10, 144], Operations: ['8*18=144']
Exploring Operation: 144-10=134, Resulting Numbers: [88, 134]
Generated Node #0,1,0: 97:[88, 134] Operation: 144-10=134
Exploring Operation: 88+10=98, Resulting Numbers: [144, 98]
Generated Node #0,1,1: 97:[144, 98] Operation: 88+10=98
Moving to Node #0,1,0
Current State: 97:[88, 134], Operations: ['8*18=144', '144-10=134']
Exploring Operation: 88+134=222, Resulting Numbers: [222]
222,97 unequal: No Solution
Exploring Operation: 134-88=46, Resulting Numbers: [46]
46,97 unequal: No Solution
Moving to Node #0,1,1
Current State: 97:[144, 98], Operations: ['8*18=144', '88+10=98']
Exploring Operation: 144-98=46, Resulting Numbers: [46]
46,97 unequal: No Solution
Exploring Operation: 144+98=242, Resulting Numbers: [242]
242,97 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 |
[
64,
2,
20,
34
] | 48 | [
"64-2=62",
"34-20=14",
"62-14=48"
] | Current State: 48:[64, 2, 20, 34], Operations: []
Exploring Operation: 64-2=62, Resulting Numbers: [20, 34, 62]
Generated Node #2: [20, 34, 62] from Operation: 64-2=62
Current State: 48:[20, 34, 62], Operations: ['64-2=62']
Exploring Operation: 34-20=14, Resulting Numbers: [62, 14]
Generated Node #3: [62, 14] from Operation: 34-20=14
Current State: 48:[62, 14], Operations: ['64-2=62', '34-20=14']
Exploring Operation: 62-14=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[64, 2, 20, 34], Operations: []
Exploring Operation: 34/2=17, Resulting Numbers: [64, 20, 17]
Generated Node #0,0: 48:[64, 20, 17] Operation: 34/2=17
Exploring Operation: 34-20=14, Resulting Numbers: [64, 2, 14]
Generated Node #0,1: 48:[64, 2, 14] Operation: 34-20=14
Exploring Operation: 64/2=32, Resulting Numbers: [20, 34, 32]
Generated Node #0,2: 48:[20, 34, 32] Operation: 64/2=32
Exploring Operation: 64-34=30, Resulting Numbers: [2, 20, 30]
Generated Node #0,3: 48:[2, 20, 30] Operation: 64-34=30
Exploring Operation: 64-20=44, Resulting Numbers: [2, 34, 44]
Generated Node #0,4: 48:[2, 34, 44] Operation: 64-20=44
Moving to Node #0,3
Current State: 48:[2, 20, 30], Operations: ['64-34=30']
Exploring Operation: 20-2=18, Resulting Numbers: [30, 18]
Generated Node #0,3,0: 48:[30, 18] Operation: 20-2=18
Exploring Operation: 20+30=50, Resulting Numbers: [2, 50]
Generated Node #0,3,1: 48:[2, 50] Operation: 20+30=50
Exploring Operation: 30/2=15, Resulting Numbers: [20, 15]
Generated Node #0,3,2: 48:[20, 15] Operation: 30/2=15
Exploring Operation: 30-20=10, Resulting Numbers: [2, 10]
Generated Node #0,3,3: 48:[2, 10] Operation: 30-20=10
Exploring Operation: 2+20=22, Resulting Numbers: [30, 22]
Generated Node #0,3,4: 48:[30, 22] Operation: 2+20=22
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 48:[2, 50], Operations: ['64-34=30', '20+30=50']
Exploring Operation: 2*50=100, Resulting Numbers: [100]
100,48 unequal: No Solution
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,48 unequal: No Solution
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[64, 2, 20, 34], Operations: []
Exploring Operation: 64-34=30, Resulting Numbers: [2, 20, 30]
Generated Node #0,3: 48:[2, 20, 30] Operation: 64-34=30
Moving to Node #0,3
Current State: 48:[2, 20, 30], Operations: ['64-34=30']
Exploring Operation: 20+30=50, Resulting Numbers: [2, 50]
Generated Node #0,3,1: 48:[2, 50] Operation: 20+30=50
Moving to Node #0,3,1
Current State: 48:[2, 50], Operations: ['64-34=30', '20+30=50']
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
8,
33,
77,
19
] | 88 | [
"33*19=627",
"77+627=704",
"704/8=88"
] | Current State: 88:[8, 33, 77, 19], Operations: []
Exploring Operation: 33*19=627, Resulting Numbers: [8, 77, 627]
Generated Node #2: [8, 77, 627] from Operation: 33*19=627
Current State: 88:[8, 77, 627], Operations: ['33*19=627']
Exploring Operation: 77+627=704, Resulting Numbers: [8, 704]
Generated Node #3: [8, 704] from Operation: 77+627=704
Current State: 88:[8, 704], Operations: ['33*19=627', '77+627=704']
Exploring Operation: 704/8=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[8, 33, 77, 19], Operations: []
Exploring Operation: 33-19=14, Resulting Numbers: [8, 77, 14]
Generated Node #0,0: 88:[8, 77, 14] Operation: 33-19=14
Exploring Operation: 77-33=44, Resulting Numbers: [8, 19, 44]
Generated Node #0,1: 88:[8, 19, 44] Operation: 77-33=44
Start Sub Search at level 1: Moving to Node #0,1
Current State: 88:[8, 19, 44], Operations: ['77-33=44']
Exploring Operation: 19-8=11, Resulting Numbers: [44, 11]
Generated Node #0,1,0: 88:[44, 11] Operation: 19-8=11
Exploring Operation: 44-19=25, Resulting Numbers: [8, 25]
Generated Node #0,1,1: 88:[8, 25] Operation: 44-19=25
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 88:[44, 11], Operations: ['77-33=44', '19-8=11']
Exploring Operation: 44/11=4, Resulting Numbers: [4]
4,88 unequal: No Solution
Exploring Operation: 44+11=55, Resulting Numbers: [55]
55,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 88:[8, 25], Operations: ['77-33=44', '44-19=25']
Exploring Operation: 8+25=33, Resulting Numbers: [33]
33,88 unequal: No Solution
Exploring Operation: 25-8=17, Resulting Numbers: [17]
17,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[8, 77, 14], Operations: ['33-19=14']
Exploring Operation: 77+14=91, Resulting Numbers: [8, 91]
Generated Node #0,0,0: 88:[8, 91] Operation: 77+14=91
Exploring Operation: 8+77=85, Resulting Numbers: [14, 85]
Generated Node #0,0,1: 88:[14, 85] Operation: 8+77=85
Moving to Node #0,0,0
Current State: 88:[8, 91], Operations: ['33-19=14', '77+14=91']
Exploring Operation: 8+91=99, Resulting Numbers: [99]
99,88 unequal: No Solution
Exploring Operation: 91-8=83, Resulting Numbers: [83]
83,88 unequal: No Solution
Moving to Node #0,0,1
Current State: 88:[14, 85], Operations: ['33-19=14', '8+77=85']
Exploring Operation: 14+85=99, Resulting Numbers: [99]
99,88 unequal: No Solution
Exploring Operation: 85-14=71, Resulting Numbers: [71]
71,88 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 |
[
95,
6,
90,
5
] | 43 | [
"95+90=185",
"185/5=37",
"6+37=43"
] | Current State: 43:[95, 6, 90, 5], Operations: []
Exploring Operation: 95+90=185, Resulting Numbers: [6, 5, 185]
Generated Node #2: [6, 5, 185] from Operation: 95+90=185
Current State: 43:[6, 5, 185], Operations: ['95+90=185']
Exploring Operation: 185/5=37, Resulting Numbers: [6, 37]
Generated Node #3: [6, 37] from Operation: 185/5=37
Current State: 43:[6, 37], Operations: ['95+90=185', '185/5=37']
Exploring Operation: 6+37=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[95, 6, 90, 5], Operations: []
Exploring Operation: 95/5=19, Resulting Numbers: [6, 90, 19]
Generated Node #0,0: 43:[6, 90, 19] Operation: 95/5=19
Exploring Operation: 6*5=30, Resulting Numbers: [95, 90, 30]
Generated Node #0,1: 43:[95, 90, 30] Operation: 6*5=30
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[6, 90, 19], Operations: ['95/5=19']
Exploring Operation: 90/6=15, Resulting Numbers: [19, 15]
Generated Node #0,0,0: 43:[19, 15] Operation: 90/6=15
Exploring Operation: 90-6=84, Resulting Numbers: [19, 84]
Generated Node #0,0,1: 43:[19, 84] Operation: 90-6=84
Moving to Node #0,0,0
Current State: 43:[19, 15], Operations: ['95/5=19', '90/6=15']
Exploring Operation: 19-15=4, Resulting Numbers: [4]
4,43 unequal: No Solution
Exploring Operation: 19+15=34, Resulting Numbers: [34]
34,43 unequal: No Solution
Moving to Node #0,0,1
Current State: 43:[19, 84], Operations: ['95/5=19', '90-6=84']
Exploring Operation: 84-19=65, Resulting Numbers: [65]
65,43 unequal: No Solution
Exploring Operation: 19+84=103, Resulting Numbers: [103]
103,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 43:[95, 90, 30], Operations: ['6*5=30']
Exploring Operation: 95-90=5, Resulting Numbers: [30, 5]
Generated Node #0,1,0: 43:[30, 5] Operation: 95-90=5
Exploring Operation: 95-30=65, Resulting Numbers: [90, 65]
Generated Node #0,1,1: 43:[90, 65] Operation: 95-30=65
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 43:[30, 5], Operations: ['6*5=30', '95-90=5']
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,43 unequal: No Solution
Exploring Operation: 30+5=35, Resulting Numbers: [35]
35,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 43:[90, 65], Operations: ['6*5=30', '95-30=65']
Exploring Operation: 90+65=155, Resulting Numbers: [155]
155,43 unequal: No Solution
Exploring Operation: 90-65=25, Resulting Numbers: [25]
25,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
46,
98,
20,
2
] | 13 | [
"98+20=118",
"118/2=59",
"59-46=13"
] | Current State: 13:[46, 98, 20, 2], Operations: []
Exploring Operation: 98+20=118, Resulting Numbers: [46, 2, 118]
Generated Node #2: [46, 2, 118] from Operation: 98+20=118
Current State: 13:[46, 2, 118], Operations: ['98+20=118']
Exploring Operation: 118/2=59, Resulting Numbers: [46, 59]
Generated Node #3: [46, 59] from Operation: 118/2=59
Current State: 13:[46, 59], Operations: ['98+20=118', '118/2=59']
Exploring Operation: 59-46=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[46, 98, 20, 2], Operations: []
Exploring Operation: 98-46=52, Resulting Numbers: [20, 2, 52]
Generated Node #0,0: 13:[20, 2, 52] Operation: 98-46=52
Moving to Node #0,0
Current State: 13:[20, 2, 52], Operations: ['98-46=52']
Exploring Operation: 52/2=26, Resulting Numbers: [20, 26]
Generated Node #0,0,0: 13:[20, 26] Operation: 52/2=26
Moving to Node #0,0,0
Current State: 13:[20, 26], Operations: ['98-46=52', '52/2=26']
Exploring Operation: 26-20=6, Resulting Numbers: [6]
6,13 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
41,
35,
40,
28
] | 65 | [
"41-28=13",
"40-35=5",
"13*5=65"
] | Current State: 65:[41, 35, 40, 28], Operations: []
Exploring Operation: 41-28=13, Resulting Numbers: [35, 40, 13]
Generated Node #2: [35, 40, 13] from Operation: 41-28=13
Current State: 65:[35, 40, 13], Operations: ['41-28=13']
Exploring Operation: 40-35=5, Resulting Numbers: [13, 5]
Generated Node #3: [13, 5] from Operation: 40-35=5
Current State: 65:[13, 5], Operations: ['41-28=13', '40-35=5']
Exploring Operation: 13*5=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[41, 35, 40, 28], Operations: []
Exploring Operation: 41-35=6, Resulting Numbers: [40, 28, 6]
Generated Node #0,0: 65:[40, 28, 6] Operation: 41-35=6
Exploring Operation: 40-35=5, Resulting Numbers: [41, 28, 5]
Generated Node #0,1: 65:[41, 28, 5] Operation: 40-35=5
Moving to Node #0,1
Current State: 65:[41, 28, 5], Operations: ['40-35=5']
Exploring Operation: 41-28=13, Resulting Numbers: [5, 13]
Generated Node #0,1,0: 65:[5, 13] Operation: 41-28=13
Exploring Operation: 41+28=69, Resulting Numbers: [5, 69]
Generated Node #0,1,1: 65:[5, 69] Operation: 41+28=69
Moving to Node #0,0
Current State: 65:[40, 28, 6], Operations: ['41-35=6']
Exploring Operation: 40+28=68, Resulting Numbers: [6, 68]
Generated Node #0,0,0: 65:[6, 68] Operation: 40+28=68
Exploring Operation: 40-28=12, Resulting Numbers: [6, 12]
Generated Node #0,0,1: 65:[6, 12] Operation: 40-28=12
Moving to Node #0,1,0
Current State: 65:[5, 13], Operations: ['40-35=5', '41-28=13']
Exploring Operation: 5*13=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[41, 35, 40, 28], Operations: []
Exploring Operation: 40-35=5, Resulting Numbers: [41, 28, 5]
Generated Node #0,1: 65:[41, 28, 5] Operation: 40-35=5
Moving to Node #0,1
Current State: 65:[41, 28, 5], Operations: ['40-35=5']
Exploring Operation: 41-28=13, Resulting Numbers: [5, 13]
Generated Node #0,1,0: 65:[5, 13] Operation: 41-28=13
Moving to Node #0,1,0
Current State: 65:[5, 13], Operations: ['40-35=5', '41-28=13']
Exploring Operation: 5*13=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 0.990451 | hs_2 | mult_heuristic |
[
28,
29,
24,
91
] | 30 | [
"28-24=4",
"29+91=120",
"120/4=30"
] | Current State: 30:[28, 29, 24, 91], Operations: []
Exploring Operation: 28-24=4, Resulting Numbers: [29, 91, 4]
Generated Node #2: [29, 91, 4] from Operation: 28-24=4
Current State: 30:[29, 91, 4], Operations: ['28-24=4']
Exploring Operation: 29+91=120, Resulting Numbers: [4, 120]
Generated Node #3: [4, 120] from Operation: 29+91=120
Current State: 30:[4, 120], Operations: ['28-24=4', '29+91=120']
Exploring Operation: 120/4=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[28, 29, 24, 91], Operations: []
Exploring Operation: 91-28=63, Resulting Numbers: [29, 24, 63]
Generated Node #0,0: 30:[29, 24, 63] Operation: 91-28=63
Start Sub Search at level 1: Moving to Node #0,0
Current State: 30:[29, 24, 63], Operations: ['91-28=63']
Exploring Operation: 63-29=34, Resulting Numbers: [24, 34]
Generated Node #0,0,0: 30:[24, 34] Operation: 63-29=34
Moving to Node #0,0,0
Current State: 30:[24, 34], Operations: ['91-28=63', '63-29=34']
Exploring Operation: 34-24=10, Resulting Numbers: [10]
10,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
9,
6,
83,
75
] | 78 | [
"9+6=15",
"75/15=5",
"83-5=78"
] | Current State: 78:[9, 6, 83, 75], Operations: []
Exploring Operation: 9+6=15, Resulting Numbers: [83, 75, 15]
Generated Node #2: [83, 75, 15] from Operation: 9+6=15
Current State: 78:[83, 75, 15], Operations: ['9+6=15']
Exploring Operation: 75/15=5, Resulting Numbers: [83, 5]
Generated Node #3: [83, 5] from Operation: 75/15=5
Current State: 78:[83, 5], Operations: ['9+6=15', '75/15=5']
Exploring Operation: 83-5=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[9, 6, 83, 75], Operations: []
Exploring Operation: 83-75=8, Resulting Numbers: [9, 6, 8]
Generated Node #0,0: 78:[9, 6, 8] Operation: 83-75=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[9, 6, 8], Operations: ['83-75=8']
Exploring Operation: 9-8=1, Resulting Numbers: [6, 1]
Generated Node #0,0,0: 78:[6, 1] Operation: 9-8=1
Moving to Node #0,0,0
Current State: 78:[6, 1], Operations: ['83-75=8', '9-8=1']
Exploring Operation: 6*1=6, Resulting Numbers: [6]
6,78 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 |
[
4,
17,
46,
14
] | 47 | [
"17-4=13",
"46+14=60",
"60-13=47"
] | Current State: 47:[4, 17, 46, 14], Operations: []
Exploring Operation: 17-4=13, Resulting Numbers: [46, 14, 13]
Generated Node #2: [46, 14, 13] from Operation: 17-4=13
Current State: 47:[46, 14, 13], Operations: ['17-4=13']
Exploring Operation: 46+14=60, Resulting Numbers: [13, 60]
Generated Node #3: [13, 60] from Operation: 46+14=60
Current State: 47:[13, 60], Operations: ['17-4=13', '46+14=60']
Exploring Operation: 60-13=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[4, 17, 46, 14], Operations: []
Exploring Operation: 4*14=56, Resulting Numbers: [17, 46, 56]
Generated Node #0,0: 47:[17, 46, 56] Operation: 4*14=56
Exploring Operation: 4+14=18, Resulting Numbers: [17, 46, 18]
Generated Node #0,1: 47:[17, 46, 18] Operation: 4+14=18
Exploring Operation: 4+17=21, Resulting Numbers: [46, 14, 21]
Generated Node #0,2: 47:[46, 14, 21] Operation: 4+17=21
Exploring Operation: 4*17=68, Resulting Numbers: [46, 14, 68]
Generated Node #0,3: 47:[46, 14, 68] Operation: 4*17=68
Moving to Node #0,0
Current State: 47:[17, 46, 56], Operations: ['4*14=56']
Exploring Operation: 46-17=29, Resulting Numbers: [56, 29]
Generated Node #0,0,0: 47:[56, 29] Operation: 46-17=29
Exploring Operation: 17+46=63, Resulting Numbers: [56, 63]
Generated Node #0,0,1: 47:[56, 63] Operation: 17+46=63
Exploring Operation: 17+56=73, Resulting Numbers: [46, 73]
Generated Node #0,0,2: 47:[46, 73] Operation: 17+56=73
Exploring Operation: 56-17=39, Resulting Numbers: [46, 39]
Generated Node #0,0,3: 47:[46, 39] Operation: 56-17=39
Moving to Node #0,3
Current State: 47:[46, 14, 68], Operations: ['4*17=68']
Exploring Operation: 46+14=60, Resulting Numbers: [68, 60]
Generated Node #0,3,0: 47:[68, 60] Operation: 46+14=60
Exploring Operation: 46-14=32, Resulting Numbers: [68, 32]
Generated Node #0,3,1: 47:[68, 32] Operation: 46-14=32
Exploring Operation: 14+68=82, Resulting Numbers: [46, 82]
Generated Node #0,3,2: 47:[46, 82] Operation: 14+68=82
Exploring Operation: 68-14=54, Resulting Numbers: [46, 54]
Generated Node #0,3,3: 47:[46, 54] Operation: 68-14=54
Moving to Node #0,2
Current State: 47:[46, 14, 21], Operations: ['4+17=21']
Exploring Operation: 21-14=7, Resulting Numbers: [46, 7]
Generated Node #0,2,0: 47:[46, 7] Operation: 21-14=7
Exploring Operation: 46+14=60, Resulting Numbers: [21, 60]
Generated Node #0,2,1: 47:[21, 60] Operation: 46+14=60
Exploring Operation: 14+21=35, Resulting Numbers: [46, 35]
Generated Node #0,2,2: 47:[46, 35] Operation: 14+21=35
Exploring Operation: 46-14=32, Resulting Numbers: [21, 32]
Generated Node #0,2,3: 47:[21, 32] Operation: 46-14=32
Moving to Node #0,1
Current State: 47:[17, 46, 18], Operations: ['4+14=18']
Exploring Operation: 17+46=63, Resulting Numbers: [18, 63]
Generated Node #0,1,0: 47:[18, 63] Operation: 17+46=63
Exploring Operation: 18-17=1, Resulting Numbers: [46, 1]
Generated Node #0,1,1: 47:[46, 1] Operation: 18-17=1
Exploring Operation: 46-17=29, Resulting Numbers: [18, 29]
Generated Node #0,1,2: 47:[18, 29] Operation: 46-17=29
Exploring Operation: 17+18=35, Resulting Numbers: [46, 35]
Generated Node #0,1,3: 47:[46, 35] Operation: 17+18=35
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 47:[46, 35], Operations: ['4+14=18', '17+18=35']
Exploring Operation: 46-35=11, Resulting Numbers: [11]
11,47 unequal: No Solution
Exploring Operation: 46*35=1610, Resulting Numbers: [1610]
1610,47 unequal: No Solution
Exploring Operation: 46+35=81, Resulting Numbers: [81]
81,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 47:[18, 63], Operations: ['4+14=18', '17+46=63']
Exploring Operation: 18*63=1134, Resulting Numbers: [1134]
1134,47 unequal: No Solution
Exploring Operation: 18+63=81, Resulting Numbers: [81]
81,47 unequal: No Solution
Exploring Operation: 63-18=45, Resulting Numbers: [45]
45,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 47:[46, 1], Operations: ['4+14=18', '18-17=1']
Exploring Operation: 46/1=46, Resulting Numbers: [46]
46,47 unequal: No Solution
Exploring Operation: 46-1=45, Resulting Numbers: [45]
45,47 unequal: No Solution
Exploring Operation: 46*1=46, Resulting Numbers: [46]
46,47 unequal: No Solution
Exploring Operation: 46+1=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[4, 17, 46, 14], Operations: []
Exploring Operation: 4+14=18, Resulting Numbers: [17, 46, 18]
Generated Node #0,1: 47:[17, 46, 18] Operation: 4+14=18
Moving to Node #0,1
Current State: 47:[17, 46, 18], Operations: ['4+14=18']
Exploring Operation: 18-17=1, Resulting Numbers: [46, 1]
Generated Node #0,1,1: 47:[46, 1] Operation: 18-17=1
Moving to Node #0,1,1
Current State: 47:[46, 1], Operations: ['4+14=18', '18-17=1']
Exploring Operation: 46+1=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 1
| 0.970486 | hs_4 | sum_heuristic |
[
76,
92,
6,
64
] | 98 | [
"76+92=168",
"6+64=70",
"168-70=98"
] | Current State: 98:[76, 92, 6, 64], Operations: []
Exploring Operation: 76+92=168, Resulting Numbers: [6, 64, 168]
Generated Node #2: [6, 64, 168] from Operation: 76+92=168
Current State: 98:[6, 64, 168], Operations: ['76+92=168']
Exploring Operation: 6+64=70, Resulting Numbers: [168, 70]
Generated Node #3: [168, 70] from Operation: 6+64=70
Current State: 98:[168, 70], Operations: ['76+92=168', '6+64=70']
Exploring Operation: 168-70=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[76, 92, 6, 64], Operations: []
Exploring Operation: 76-64=12, Resulting Numbers: [92, 6, 12]
Generated Node #0,0: 98:[92, 6, 12] Operation: 76-64=12
Moving to Node #0,0
Current State: 98:[92, 6, 12], Operations: ['76-64=12']
Exploring Operation: 92+6=98, Resulting Numbers: [12, 98]
Generated Node #0,0,0: 98:[12, 98] Operation: 92+6=98
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 98:[12, 98], Operations: ['76-64=12', '92+6=98']
Exploring Operation: 12+98=110, Resulting Numbers: [110]
110,98 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 |
[
32,
28,
62,
41
] | 17 | [
"32-28=4",
"62-41=21",
"21-4=17"
] | Current State: 17:[32, 28, 62, 41], Operations: []
Exploring Operation: 32-28=4, Resulting Numbers: [62, 41, 4]
Generated Node #2: [62, 41, 4] from Operation: 32-28=4
Current State: 17:[62, 41, 4], Operations: ['32-28=4']
Exploring Operation: 62-41=21, Resulting Numbers: [4, 21]
Generated Node #3: [4, 21] from Operation: 62-41=21
Current State: 17:[4, 21], Operations: ['32-28=4', '62-41=21']
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[32, 28, 62, 41], Operations: []
Exploring Operation: 62-41=21, Resulting Numbers: [32, 28, 21]
Generated Node #0,0: 17:[32, 28, 21] Operation: 62-41=21
Exploring Operation: 62-28=34, Resulting Numbers: [32, 41, 34]
Generated Node #0,1: 17:[32, 41, 34] Operation: 62-28=34
Exploring Operation: 62-32=30, Resulting Numbers: [28, 41, 30]
Generated Node #0,2: 17:[28, 41, 30] Operation: 62-32=30
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[32, 28, 21], Operations: ['62-41=21']
Exploring Operation: 32-21=11, Resulting Numbers: [28, 11]
Generated Node #0,0,0: 17:[28, 11] Operation: 32-21=11
Exploring Operation: 32-28=4, Resulting Numbers: [21, 4]
Generated Node #0,0,1: 17:[21, 4] Operation: 32-28=4
Exploring Operation: 28-21=7, Resulting Numbers: [32, 7]
Generated Node #0,0,2: 17:[32, 7] Operation: 28-21=7
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 17:[28, 11], Operations: ['62-41=21', '32-21=11']
Exploring Operation: 28-11=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[32, 28, 62, 41], Operations: []
Exploring Operation: 62-41=21, Resulting Numbers: [32, 28, 21]
Generated Node #0,0: 17:[32, 28, 21] Operation: 62-41=21
Moving to Node #0,0
Current State: 17:[32, 28, 21], Operations: ['62-41=21']
Exploring Operation: 32-21=11, Resulting Numbers: [28, 11]
Generated Node #0,0,0: 17:[28, 11] Operation: 32-21=11
Moving to Node #0,0,0
Current State: 17:[28, 11], Operations: ['62-41=21', '32-21=11']
Exploring Operation: 28-11=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
41,
56,
71,
5
] | 44 | [
"71-56=15",
"15/5=3",
"41+3=44"
] | Current State: 44:[41, 56, 71, 5], Operations: []
Exploring Operation: 71-56=15, Resulting Numbers: [41, 5, 15]
Generated Node #2: [41, 5, 15] from Operation: 71-56=15
Current State: 44:[41, 5, 15], Operations: ['71-56=15']
Exploring Operation: 15/5=3, Resulting Numbers: [41, 3]
Generated Node #3: [41, 3] from Operation: 15/5=3
Current State: 44:[41, 3], Operations: ['71-56=15', '15/5=3']
Exploring Operation: 41+3=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[41, 56, 71, 5], Operations: []
Exploring Operation: 71-56=15, Resulting Numbers: [41, 5, 15]
Generated Node #0,0: 44:[41, 5, 15] Operation: 71-56=15
Exploring Operation: 56-5=51, Resulting Numbers: [41, 71, 51]
Generated Node #0,1: 44:[41, 71, 51] Operation: 56-5=51
Exploring Operation: 71-41=30, Resulting Numbers: [56, 5, 30]
Generated Node #0,2: 44:[56, 5, 30] Operation: 71-41=30
Exploring Operation: 56-41=15, Resulting Numbers: [71, 5, 15]
Generated Node #0,3: 44:[71, 5, 15] Operation: 56-41=15
Exploring Operation: 71-5=66, Resulting Numbers: [41, 56, 66]
Generated Node #0,4: 44:[41, 56, 66] Operation: 71-5=66
Start Sub Search at level 1: Moving to Node #0,0
Current State: 44:[41, 5, 15], Operations: ['71-56=15']
Exploring Operation: 15/5=3, Resulting Numbers: [41, 3]
Generated Node #0,0,0: 44:[41, 3] Operation: 15/5=3
Exploring Operation: 41-15=26, Resulting Numbers: [5, 26]
Generated Node #0,0,1: 44:[5, 26] Operation: 41-15=26
Exploring Operation: 5+15=20, Resulting Numbers: [41, 20]
Generated Node #0,0,2: 44:[41, 20] Operation: 5+15=20
Exploring Operation: 15-5=10, Resulting Numbers: [41, 10]
Generated Node #0,0,3: 44:[41, 10] Operation: 15-5=10
Exploring Operation: 41+5=46, Resulting Numbers: [15, 46]
Generated Node #0,0,4: 44:[15, 46] Operation: 41+5=46
Moving to Node #0,0,0
Current State: 44:[41, 3], Operations: ['71-56=15', '15/5=3']
Exploring Operation: 41+3=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[41, 56, 71, 5], Operations: []
Exploring Operation: 71-56=15, Resulting Numbers: [41, 5, 15]
Generated Node #0,0: 44:[41, 5, 15] Operation: 71-56=15
Moving to Node #0,0
Current State: 44:[41, 5, 15], Operations: ['71-56=15']
Exploring Operation: 15/5=3, Resulting Numbers: [41, 3]
Generated Node #0,0,0: 44:[41, 3] Operation: 15/5=3
Moving to Node #0,0,0
Current State: 44:[41, 3], Operations: ['71-56=15', '15/5=3']
Exploring Operation: 41+3=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
97,
61,
25,
89
] | 44 | [
"97+61=158",
"25+89=114",
"158-114=44"
] | Current State: 44:[97, 61, 25, 89], Operations: []
Exploring Operation: 97+61=158, Resulting Numbers: [25, 89, 158]
Generated Node #2: [25, 89, 158] from Operation: 97+61=158
Current State: 44:[25, 89, 158], Operations: ['97+61=158']
Exploring Operation: 25+89=114, Resulting Numbers: [158, 114]
Generated Node #3: [158, 114] from Operation: 25+89=114
Current State: 44:[158, 114], Operations: ['97+61=158', '25+89=114']
Exploring Operation: 158-114=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[97, 61, 25, 89], Operations: []
Exploring Operation: 89-61=28, Resulting Numbers: [97, 25, 28]
Generated Node #0,0: 44:[97, 25, 28] Operation: 89-61=28
Exploring Operation: 97-61=36, Resulting Numbers: [25, 89, 36]
Generated Node #0,1: 44:[25, 89, 36] Operation: 97-61=36
Exploring Operation: 97-89=8, Resulting Numbers: [61, 25, 8]
Generated Node #0,2: 44:[61, 25, 8] Operation: 97-89=8
Start Sub Search at level 1: Moving to Node #0,2
Current State: 44:[61, 25, 8], Operations: ['97-89=8']
Exploring Operation: 61-25=36, Resulting Numbers: [8, 36]
Generated Node #0,2,0: 44:[8, 36] Operation: 61-25=36
Exploring Operation: 25-8=17, Resulting Numbers: [61, 17]
Generated Node #0,2,1: 44:[61, 17] Operation: 25-8=17
Exploring Operation: 61-8=53, Resulting Numbers: [25, 53]
Generated Node #0,2,2: 44:[25, 53] Operation: 61-8=53
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 44:[8, 36], Operations: ['97-89=8', '61-25=36']
Exploring Operation: 8*36=288, Resulting Numbers: [288]
288,44 unequal: No Solution
Exploring Operation: 8+36=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[97, 61, 25, 89], Operations: []
Exploring Operation: 97-89=8, Resulting Numbers: [61, 25, 8]
Generated Node #0,2: 44:[61, 25, 8] Operation: 97-89=8
Moving to Node #0,2
Current State: 44:[61, 25, 8], Operations: ['97-89=8']
Exploring Operation: 61-25=36, Resulting Numbers: [8, 36]
Generated Node #0,2,0: 44:[8, 36] Operation: 61-25=36
Moving to Node #0,2,0
Current State: 44:[8, 36], Operations: ['97-89=8', '61-25=36']
Exploring Operation: 8+36=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
23,
82,
24,
4
] | 34 | [
"23*4=92",
"82-24=58",
"92-58=34"
] | Current State: 34:[23, 82, 24, 4], Operations: []
Exploring Operation: 23*4=92, Resulting Numbers: [82, 24, 92]
Generated Node #2: [82, 24, 92] from Operation: 23*4=92
Current State: 34:[82, 24, 92], Operations: ['23*4=92']
Exploring Operation: 82-24=58, Resulting Numbers: [92, 58]
Generated Node #3: [92, 58] from Operation: 82-24=58
Current State: 34:[92, 58], Operations: ['23*4=92', '82-24=58']
Exploring Operation: 92-58=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[23, 82, 24, 4], Operations: []
Exploring Operation: 82-24=58, Resulting Numbers: [23, 4, 58]
Generated Node #0,0: 34:[23, 4, 58] Operation: 82-24=58
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[23, 4, 58], Operations: ['82-24=58']
Exploring Operation: 58-23=35, Resulting Numbers: [4, 35]
Generated Node #0,0,0: 34:[4, 35] Operation: 58-23=35
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 34:[4, 35], Operations: ['82-24=58', '58-23=35']
Exploring Operation: 35-4=31, Resulting Numbers: [31]
31,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
37,
51,
63,
51
] | 25 | [
"63-37=26",
"51/51=1",
"26-1=25"
] | Current State: 25:[37, 51, 63, 51], Operations: []
Exploring Operation: 63-37=26, Resulting Numbers: [51, 51, 26]
Generated Node #2: [51, 51, 26] from Operation: 63-37=26
Current State: 25:[51, 51, 26], Operations: ['63-37=26']
Exploring Operation: 51/51=1, Resulting Numbers: [26, 1]
Generated Node #3: [26, 1] from Operation: 51/51=1
Current State: 25:[26, 1], Operations: ['63-37=26', '51/51=1']
Exploring Operation: 26-1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[37, 51, 63, 51], Operations: []
Exploring Operation: 51/51=1, Resulting Numbers: [37, 63, 1]
Generated Node #0,0: 25:[37, 63, 1] Operation: 51/51=1
Exploring Operation: 63-51=12, Resulting Numbers: [37, 51, 12]
Generated Node #0,1: 25:[37, 51, 12] Operation: 63-51=12
Exploring Operation: 63-37=26, Resulting Numbers: [51, 51, 26]
Generated Node #0,2: 25:[51, 51, 26] Operation: 63-37=26
Exploring Operation: 63-51=12, Resulting Numbers: [37, 51, 12]
Generated Node #0,3: 25:[37, 51, 12] Operation: 63-51=12
Moving to Node #0,1
Current State: 25:[37, 51, 12], Operations: ['63-51=12']
Exploring Operation: 51-37=14, Resulting Numbers: [12, 14]
Generated Node #0,1,0: 25:[12, 14] Operation: 51-37=14
Exploring Operation: 51-12=39, Resulting Numbers: [37, 39]
Generated Node #0,1,1: 25:[37, 39] Operation: 51-12=39
Exploring Operation: 37+12=49, Resulting Numbers: [51, 49]
Generated Node #0,1,2: 25:[51, 49] Operation: 37+12=49
Exploring Operation: 37-12=25, Resulting Numbers: [51, 25]
Generated Node #0,1,3: 25:[51, 25] Operation: 37-12=25
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 25:[12, 14], Operations: ['63-51=12', '51-37=14']
Exploring Operation: 12+14=26, Resulting Numbers: [26]
26,25 unequal: No Solution
Exploring Operation: 14-12=2, Resulting Numbers: [2]
2,25 unequal: No Solution
Exploring Operation: 12*14=168, Resulting Numbers: [168]
168,25 unequal: No Solution
No 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: 25:[37, 39], Operations: ['63-51=12', '51-12=39']
Exploring Operation: 37*39=1443, Resulting Numbers: [1443]
1443,25 unequal: No Solution
Exploring Operation: 39-37=2, Resulting Numbers: [2]
2,25 unequal: No Solution
Exploring Operation: 37+39=76, Resulting Numbers: [76]
76,25 unequal: No Solution
No 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: 25:[51, 25], Operations: ['63-51=12', '37-12=25']
Exploring Operation: 51+25=76, Resulting Numbers: [76]
76,25 unequal: No Solution
Exploring Operation: 51*25=1275, Resulting Numbers: [1275]
1275,25 unequal: No Solution
Exploring Operation: 51-25=26, Resulting Numbers: [26]
26,25 unequal: No Solution
No 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: 25:[51, 49], Operations: ['63-51=12', '37+12=49']
Exploring Operation: 51-49=2, Resulting Numbers: [2]
2,25 unequal: No Solution
Exploring Operation: 51+49=100, Resulting Numbers: [100]
100,25 unequal: No Solution
Exploring Operation: 51*49=2499, Resulting Numbers: [2499]
2499,25 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: 25:[37, 51, 12], Operations: ['63-51=12']
Exploring Operation: 51-37=14, Resulting Numbers: [12, 14]
Generated Node #0,3,0: 25:[12, 14] Operation: 51-37=14
Exploring Operation: 37+12=49, Resulting Numbers: [51, 49]
Generated Node #0,3,1: 25:[51, 49] Operation: 37+12=49
Exploring Operation: 37-12=25, Resulting Numbers: [51, 25]
Generated Node #0,3,2: 25:[51, 25] Operation: 37-12=25
Exploring Operation: 51-12=39, Resulting Numbers: [37, 39]
Generated Node #0,3,3: 25:[37, 39] Operation: 51-12=39
Moving to Node #0,2
Current State: 25:[51, 51, 26], Operations: ['63-37=26']
Exploring Operation: 51-26=25, Resulting Numbers: [51, 25]
Generated Node #0,2,0: 25:[51, 25] Operation: 51-26=25
Exploring Operation: 51-51=0, Resulting Numbers: [26, 0]
Generated Node #0,2,1: 25:[26, 0] Operation: 51-51=0
Exploring Operation: 51-26=25, Resulting Numbers: [51, 25]
Generated Node #0,2,2: 25:[51, 25] Operation: 51-26=25
Exploring Operation: 51/51=1, Resulting Numbers: [26, 1]
Generated Node #0,2,3: 25:[26, 1] Operation: 51/51=1
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 25:[26, 1], Operations: ['63-37=26', '51/51=1']
Exploring Operation: 26/1=26, Resulting Numbers: [26]
26,25 unequal: No Solution
Exploring Operation: 26+1=27, Resulting Numbers: [27]
27,25 unequal: No Solution
Exploring Operation: 26-1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[37, 51, 63, 51], Operations: []
Exploring Operation: 63-37=26, Resulting Numbers: [51, 51, 26]
Generated Node #0,2: 25:[51, 51, 26] Operation: 63-37=26
Moving to Node #0,2
Current State: 25:[51, 51, 26], Operations: ['63-37=26']
Exploring Operation: 51/51=1, Resulting Numbers: [26, 1]
Generated Node #0,2,3: 25:[26, 1] Operation: 51/51=1
Moving to Node #0,2,3
Current State: 25:[26, 1], Operations: ['63-37=26', '51/51=1']
Exploring Operation: 26-1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.969618 | hs_4 | mult_heuristic |
[
34,
36,
18,
6
] | 62 | [
"34*36=1224",
"1224/18=68",
"68-6=62"
] | Current State: 62:[34, 36, 18, 6], Operations: []
Exploring Operation: 34*36=1224, Resulting Numbers: [18, 6, 1224]
Generated Node #2: [18, 6, 1224] from Operation: 34*36=1224
Current State: 62:[18, 6, 1224], Operations: ['34*36=1224']
Exploring Operation: 1224/18=68, Resulting Numbers: [6, 68]
Generated Node #3: [6, 68] from Operation: 1224/18=68
Current State: 62:[6, 68], Operations: ['34*36=1224', '1224/18=68']
Exploring Operation: 68-6=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[34, 36, 18, 6], Operations: []
Exploring Operation: 36/18=2, Resulting Numbers: [34, 6, 2]
Generated Node #0,0: 62:[34, 6, 2] Operation: 36/18=2
Moving to Node #0,0
Current State: 62:[34, 6, 2], Operations: ['36/18=2']
Exploring Operation: 34-6=28, Resulting Numbers: [2, 28]
Generated Node #0,0,0: 62:[2, 28] Operation: 34-6=28
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 62:[2, 28], Operations: ['36/18=2', '34-6=28']
Exploring Operation: 2+28=30, Resulting Numbers: [30]
30,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
50,
24,
13,
20
] | 41 | [
"50+24=74",
"13+20=33",
"74-33=41"
] | Current State: 41:[50, 24, 13, 20], Operations: []
Exploring Operation: 50+24=74, Resulting Numbers: [13, 20, 74]
Generated Node #2: [13, 20, 74] from Operation: 50+24=74
Current State: 41:[13, 20, 74], Operations: ['50+24=74']
Exploring Operation: 13+20=33, Resulting Numbers: [74, 33]
Generated Node #3: [74, 33] from Operation: 13+20=33
Current State: 41:[74, 33], Operations: ['50+24=74', '13+20=33']
Exploring Operation: 74-33=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[50, 24, 13, 20], Operations: []
Exploring Operation: 24+20=44, Resulting Numbers: [50, 13, 44]
Generated Node #0,0: 41:[50, 13, 44] Operation: 24+20=44
Exploring Operation: 24+13=37, Resulting Numbers: [50, 20, 37]
Generated Node #0,1: 41:[50, 20, 37] Operation: 24+13=37
Exploring Operation: 13+20=33, Resulting Numbers: [50, 24, 33]
Generated Node #0,2: 41:[50, 24, 33] Operation: 13+20=33
Start Sub Search at level 1: Moving to Node #0,1
Current State: 41:[50, 20, 37], Operations: ['24+13=37']
Exploring Operation: 50-20=30, Resulting Numbers: [37, 30]
Generated Node #0,1,0: 41:[37, 30] Operation: 50-20=30
Exploring Operation: 20+37=57, Resulting Numbers: [50, 57]
Generated Node #0,1,1: 41:[50, 57] Operation: 20+37=57
Exploring Operation: 50+20=70, Resulting Numbers: [37, 70]
Generated Node #0,1,2: 41:[37, 70] Operation: 50+20=70
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 41:[37, 30], Operations: ['24+13=37', '50-20=30']
Exploring Operation: 37-30=7, Resulting Numbers: [7]
7,41 unequal: No Solution
Exploring Operation: 37*30=1110, Resulting Numbers: [1110]
1110,41 unequal: No Solution
Exploring Operation: 37+30=67, Resulting Numbers: [67]
67,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 41:[50, 57], Operations: ['24+13=37', '20+37=57']
Exploring Operation: 50*57=2850, Resulting Numbers: [2850]
2850,41 unequal: No Solution
Exploring Operation: 57-50=7, Resulting Numbers: [7]
7,41 unequal: No Solution
Exploring Operation: 50+57=107, Resulting Numbers: [107]
107,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 41:[37, 70], Operations: ['24+13=37', '50+20=70']
Exploring Operation: 37+70=107, Resulting Numbers: [107]
107,41 unequal: No Solution
Exploring Operation: 37*70=2590, Resulting Numbers: [2590]
2590,41 unequal: No Solution
Exploring Operation: 70-37=33, Resulting Numbers: [33]
33,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 41:[50, 24, 33], Operations: ['13+20=33']
Exploring Operation: 50+24=74, Resulting Numbers: [33, 74]
Generated Node #0,2,0: 41:[33, 74] Operation: 50+24=74
Exploring Operation: 50-24=26, Resulting Numbers: [33, 26]
Generated Node #0,2,1: 41:[33, 26] Operation: 50-24=26
Exploring Operation: 24+33=57, Resulting Numbers: [50, 57]
Generated Node #0,2,2: 41:[50, 57] Operation: 24+33=57
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 41:[33, 26], Operations: ['13+20=33', '50-24=26']
Exploring Operation: 33+26=59, Resulting Numbers: [59]
59,41 unequal: No Solution
Exploring Operation: 33-26=7, Resulting Numbers: [7]
7,41 unequal: No Solution
Exploring Operation: 33*26=858, Resulting Numbers: [858]
858,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 41:[50, 57], Operations: ['13+20=33', '24+33=57']
Exploring Operation: 57-50=7, Resulting Numbers: [7]
7,41 unequal: No Solution
Exploring Operation: 50+57=107, Resulting Numbers: [107]
107,41 unequal: No Solution
Exploring Operation: 50*57=2850, Resulting Numbers: [2850]
2850,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 41:[33, 74], Operations: ['13+20=33', '50+24=74']
Exploring Operation: 33+74=107, Resulting Numbers: [107]
107,41 unequal: No Solution
Exploring Operation: 74-33=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[50, 24, 13, 20], Operations: []
Exploring Operation: 13+20=33, Resulting Numbers: [50, 24, 33]
Generated Node #0,2: 41:[50, 24, 33] Operation: 13+20=33
Moving to Node #0,2
Current State: 41:[50, 24, 33], Operations: ['13+20=33']
Exploring Operation: 50+24=74, Resulting Numbers: [33, 74]
Generated Node #0,2,0: 41:[33, 74] Operation: 50+24=74
Moving to Node #0,2,0
Current State: 41:[33, 74], Operations: ['13+20=33', '50+24=74']
Exploring Operation: 74-33=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.973958 | hs_3 | mult_heuristic |
[
33,
6,
11,
48
] | 36 | [
"33+11=44",
"48/6=8",
"44-8=36"
] | Current State: 36:[33, 6, 11, 48], Operations: []
Exploring Operation: 33+11=44, Resulting Numbers: [6, 48, 44]
Generated Node #2: [6, 48, 44] from Operation: 33+11=44
Current State: 36:[6, 48, 44], Operations: ['33+11=44']
Exploring Operation: 48/6=8, Resulting Numbers: [44, 8]
Generated Node #3: [44, 8] from Operation: 48/6=8
Current State: 36:[44, 8], Operations: ['33+11=44', '48/6=8']
Exploring Operation: 44-8=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[33, 6, 11, 48], Operations: []
Exploring Operation: 48-33=15, Resulting Numbers: [6, 11, 15]
Generated Node #0,0: 36:[6, 11, 15] Operation: 48-33=15
Exploring Operation: 48-11=37, Resulting Numbers: [33, 6, 37]
Generated Node #0,1: 36:[33, 6, 37] Operation: 48-11=37
Moving to Node #0,0
Current State: 36:[6, 11, 15], Operations: ['48-33=15']
Exploring Operation: 15-11=4, Resulting Numbers: [6, 4]
Generated Node #0,0,0: 36:[6, 4] Operation: 15-11=4
Exploring Operation: 15-6=9, Resulting Numbers: [11, 9]
Generated Node #0,0,1: 36:[11, 9] Operation: 15-6=9
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 36:[6, 4], Operations: ['48-33=15', '15-11=4']
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,36 unequal: No Solution
Exploring Operation: 6+4=10, Resulting Numbers: [10]
10,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 36:[11, 9], Operations: ['48-33=15', '15-6=9']
Exploring Operation: 11+9=20, Resulting Numbers: [20]
20,36 unequal: No Solution
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 36:[33, 6, 37], Operations: ['48-11=37']
Exploring Operation: 33+6=39, Resulting Numbers: [37, 39]
Generated Node #0,1,0: 36:[37, 39] Operation: 33+6=39
Exploring Operation: 37-33=4, Resulting Numbers: [6, 4]
Generated Node #0,1,1: 36:[6, 4] Operation: 37-33=4
Moving to Node #0,1,1
Current State: 36:[6, 4], Operations: ['48-11=37', '37-33=4']
Exploring Operation: 6+4=10, Resulting Numbers: [10]
10,36 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,36 unequal: No Solution
Moving to Node #0,1,0
Current State: 36:[37, 39], Operations: ['48-11=37', '33+6=39']
Exploring Operation: 39-37=2, Resulting Numbers: [2]
2,36 unequal: No Solution
Exploring Operation: 37+39=76, Resulting Numbers: [76]
76,36 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
17,
37,
12,
71
] | 26 | [
"37+71=108",
"108/12=9",
"17+9=26"
] | Current State: 26:[17, 37, 12, 71], Operations: []
Exploring Operation: 37+71=108, Resulting Numbers: [17, 12, 108]
Generated Node #2: [17, 12, 108] from Operation: 37+71=108
Current State: 26:[17, 12, 108], Operations: ['37+71=108']
Exploring Operation: 108/12=9, Resulting Numbers: [17, 9]
Generated Node #3: [17, 9] from Operation: 108/12=9
Current State: 26:[17, 9], Operations: ['37+71=108', '108/12=9']
Exploring Operation: 17+9=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[17, 37, 12, 71], Operations: []
Exploring Operation: 71-37=34, Resulting Numbers: [17, 12, 34]
Generated Node #0,0: 26:[17, 12, 34] Operation: 71-37=34
Exploring Operation: 71-17=54, Resulting Numbers: [37, 12, 54]
Generated Node #0,1: 26:[37, 12, 54] Operation: 71-17=54
Exploring Operation: 71-12=59, Resulting Numbers: [17, 37, 59]
Generated Node #0,2: 26:[17, 37, 59] Operation: 71-12=59
Start Sub Search at level 1: Moving to Node #0,0
Current State: 26:[17, 12, 34], Operations: ['71-37=34']
Exploring Operation: 34-12=22, Resulting Numbers: [17, 22]
Generated Node #0,0,0: 26:[17, 22] Operation: 34-12=22
Exploring Operation: 34/17=2, Resulting Numbers: [12, 2]
Generated Node #0,0,1: 26:[12, 2] Operation: 34/17=2
Exploring Operation: 34-17=17, Resulting Numbers: [12, 17]
Generated Node #0,0,2: 26:[12, 17] Operation: 34-17=17
Moving to Node #0,0,1
Current State: 26:[12, 2], Operations: ['71-37=34', '34/17=2']
Exploring Operation: 12*2=24, Resulting Numbers: [24]
24,26 unequal: No Solution
Exploring Operation: 12+2=14, Resulting Numbers: [14]
14,26 unequal: No Solution
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,26 unequal: No Solution
Moving to Node #0,0,2
Current State: 26:[12, 17], Operations: ['71-37=34', '34-17=17']
Exploring Operation: 12+17=29, Resulting Numbers: [29]
29,26 unequal: No Solution
Exploring Operation: 17-12=5, Resulting Numbers: [5]
5,26 unequal: No Solution
Exploring Operation: 12*17=204, Resulting Numbers: [204]
204,26 unequal: No Solution
Moving to Node #0,0,0
Current State: 26:[17, 22], Operations: ['71-37=34', '34-12=22']
Exploring Operation: 17*22=374, Resulting Numbers: [374]
374,26 unequal: No Solution
Exploring Operation: 17+22=39, Resulting Numbers: [39]
39,26 unequal: No Solution
Exploring Operation: 22-17=5, Resulting Numbers: [5]
5,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 26:[37, 12, 54], Operations: ['71-17=54']
Exploring Operation: 54-37=17, Resulting Numbers: [12, 17]
Generated Node #0,1,0: 26:[12, 17] Operation: 54-37=17
Exploring Operation: 37-12=25, Resulting Numbers: [54, 25]
Generated Node #0,1,1: 26:[54, 25] Operation: 37-12=25
Exploring Operation: 54-12=42, Resulting Numbers: [37, 42]
Generated Node #0,1,2: 26:[37, 42] Operation: 54-12=42
Moving to Node #0,1,0
Current State: 26:[12, 17], Operations: ['71-17=54', '54-37=17']
Exploring Operation: 12*17=204, Resulting Numbers: [204]
204,26 unequal: No Solution
Exploring Operation: 12+17=29, Resulting Numbers: [29]
29,26 unequal: No Solution
Exploring Operation: 17-12=5, Resulting Numbers: [5]
5,26 unequal: No Solution
Moving to Node #0,1,2
Current State: 26:[37, 42], Operations: ['71-17=54', '54-12=42']
Exploring Operation: 42-37=5, Resulting Numbers: [5]
5,26 unequal: No Solution
Exploring Operation: 37*42=1554, Resulting Numbers: [1554]
1554,26 unequal: No Solution
Exploring Operation: 37+42=79, Resulting Numbers: [79]
79,26 unequal: No Solution
Moving to Node #0,1,1
Current State: 26:[54, 25], Operations: ['71-17=54', '37-12=25']
Exploring Operation: 54+25=79, Resulting Numbers: [79]
79,26 unequal: No Solution
Exploring Operation: 54*25=1350, Resulting Numbers: [1350]
1350,26 unequal: No Solution
Exploring Operation: 54-25=29, Resulting Numbers: [29]
29,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 26:[17, 37, 59], Operations: ['71-12=59']
Exploring Operation: 59-17=42, Resulting Numbers: [37, 42]
Generated Node #0,2,0: 26:[37, 42] Operation: 59-17=42
Exploring Operation: 59-37=22, Resulting Numbers: [17, 22]
Generated Node #0,2,1: 26:[17, 22] Operation: 59-37=22
Exploring Operation: 37-17=20, Resulting Numbers: [59, 20]
Generated Node #0,2,2: 26:[59, 20] Operation: 37-17=20
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 26:[17, 22], Operations: ['71-12=59', '59-37=22']
Exploring Operation: 17*22=374, Resulting Numbers: [374]
374,26 unequal: No Solution
Exploring Operation: 17+22=39, Resulting Numbers: [39]
39,26 unequal: No Solution
Exploring Operation: 22-17=5, Resulting Numbers: [5]
5,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 26:[37, 42], Operations: ['71-12=59', '59-17=42']
Exploring Operation: 42-37=5, Resulting Numbers: [5]
5,26 unequal: No Solution
Exploring Operation: 37+42=79, Resulting Numbers: [79]
79,26 unequal: No Solution
Exploring Operation: 37*42=1554, Resulting Numbers: [1554]
1554,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 26:[59, 20], Operations: ['71-12=59', '37-17=20']
Exploring Operation: 59+20=79, Resulting Numbers: [79]
79,26 unequal: No Solution
Exploring Operation: 59*20=1180, Resulting Numbers: [1180]
1180,26 unequal: No Solution
Exploring Operation: 59-20=39, Resulting Numbers: [39]
39,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
41,
38,
1,
3
] | 86 | [
"41*3=123",
"38-1=37",
"123-37=86"
] | Current State: 86:[41, 38, 1, 3], Operations: []
Exploring Operation: 41*3=123, Resulting Numbers: [38, 1, 123]
Generated Node #2: [38, 1, 123] from Operation: 41*3=123
Current State: 86:[38, 1, 123], Operations: ['41*3=123']
Exploring Operation: 38-1=37, Resulting Numbers: [123, 37]
Generated Node #3: [123, 37] from Operation: 38-1=37
Current State: 86:[123, 37], Operations: ['41*3=123', '38-1=37']
Exploring Operation: 123-37=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[41, 38, 1, 3], Operations: []
Exploring Operation: 38+3=41, Resulting Numbers: [41, 1, 41]
Generated Node #0,0: 86:[41, 1, 41] Operation: 38+3=41
Exploring Operation: 41-38=3, Resulting Numbers: [1, 3, 3]
Generated Node #0,1: 86:[1, 3, 3] Operation: 41-38=3
Moving to Node #0,1
Current State: 86:[1, 3, 3], Operations: ['41-38=3']
Exploring Operation: 3-1=2, Resulting Numbers: [3, 2]
Generated Node #0,1,0: 86:[3, 2] Operation: 3-1=2
Exploring Operation: 3-1=2, Resulting Numbers: [3, 2]
Generated Node #0,1,1: 86:[3, 2] Operation: 3-1=2
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 86:[3, 2], Operations: ['41-38=3', '3-1=2']
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,86 unequal: No Solution
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 86:[3, 2], Operations: ['41-38=3', '3-1=2']
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,86 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,86 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: 86:[41, 1, 41], Operations: ['38+3=41']
Exploring Operation: 41+1=42, Resulting Numbers: [41, 42]
Generated Node #0,0,0: 86:[41, 42] Operation: 41+1=42
Exploring Operation: 41/41=1, Resulting Numbers: [1, 1]
Generated Node #0,0,1: 86:[1, 1] Operation: 41/41=1
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 86:[1, 1], Operations: ['38+3=41', '41/41=1']
Exploring Operation: 1+1=2, Resulting Numbers: [2]
2,86 unequal: No Solution
Exploring Operation: 1*1=1, Resulting Numbers: [1]
1,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 86:[41, 42], Operations: ['38+3=41', '41+1=42']
Exploring Operation: 41+42=83, Resulting Numbers: [83]
83,86 unequal: No Solution
Exploring Operation: 42-41=1, Resulting Numbers: [1]
1,86 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 |
[
44,
12,
67,
2
] | 58 | [
"67-44=23",
"2*23=46",
"12+46=58"
] | Current State: 58:[44, 12, 67, 2], Operations: []
Exploring Operation: 67-44=23, Resulting Numbers: [12, 2, 23]
Generated Node #2: [12, 2, 23] from Operation: 67-44=23
Current State: 58:[12, 2, 23], Operations: ['67-44=23']
Exploring Operation: 2*23=46, Resulting Numbers: [12, 46]
Generated Node #3: [12, 46] from Operation: 2*23=46
Current State: 58:[12, 46], Operations: ['67-44=23', '2*23=46']
Exploring Operation: 12+46=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[44, 12, 67, 2], Operations: []
Exploring Operation: 44-12=32, Resulting Numbers: [67, 2, 32]
Generated Node #0,0: 58:[67, 2, 32] Operation: 44-12=32
Exploring Operation: 44+12=56, Resulting Numbers: [67, 2, 56]
Generated Node #0,1: 58:[67, 2, 56] Operation: 44+12=56
Start Sub Search at level 1: Moving to Node #0,1
Current State: 58:[67, 2, 56], Operations: ['44+12=56']
Exploring Operation: 67-56=11, Resulting Numbers: [2, 11]
Generated Node #0,1,0: 58:[2, 11] Operation: 67-56=11
Exploring Operation: 67-2=65, Resulting Numbers: [56, 65]
Generated Node #0,1,1: 58:[56, 65] Operation: 67-2=65
Moving to Node #0,1,0
Current State: 58:[2, 11], Operations: ['44+12=56', '67-56=11']
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,58 unequal: No Solution
Exploring Operation: 2*11=22, Resulting Numbers: [22]
22,58 unequal: No Solution
Moving to Node #0,1,1
Current State: 58:[56, 65], Operations: ['44+12=56', '67-2=65']
Exploring Operation: 56+65=121, Resulting Numbers: [121]
121,58 unequal: No Solution
Exploring Operation: 65-56=9, Resulting Numbers: [9]
9,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:[67, 2, 32], Operations: ['44-12=32']
Exploring Operation: 67-32=35, Resulting Numbers: [2, 35]
Generated Node #0,0,0: 58:[2, 35] Operation: 67-32=35
Exploring Operation: 67-2=65, Resulting Numbers: [32, 65]
Generated Node #0,0,1: 58:[32, 65] Operation: 67-2=65
Moving to Node #0,0,0
Current State: 58:[2, 35], Operations: ['44-12=32', '67-32=35']
Exploring Operation: 2+35=37, Resulting Numbers: [37]
37,58 unequal: No Solution
Exploring Operation: 35-2=33, Resulting Numbers: [33]
33,58 unequal: No Solution
Moving to Node #0,0,1
Current State: 58:[32, 65], Operations: ['44-12=32', '67-2=65']
Exploring Operation: 32+65=97, Resulting Numbers: [97]
97,58 unequal: No Solution
Exploring Operation: 65-32=33, Resulting Numbers: [33]
33,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
10,
87,
18,
66
] | 27 | [
"10*18=180",
"87+66=153",
"180-153=27"
] | Current State: 27:[10, 87, 18, 66], Operations: []
Exploring Operation: 10*18=180, Resulting Numbers: [87, 66, 180]
Generated Node #2: [87, 66, 180] from Operation: 10*18=180
Current State: 27:[87, 66, 180], Operations: ['10*18=180']
Exploring Operation: 87+66=153, Resulting Numbers: [180, 153]
Generated Node #3: [180, 153] from Operation: 87+66=153
Current State: 27:[180, 153], Operations: ['10*18=180', '87+66=153']
Exploring Operation: 180-153=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[10, 87, 18, 66], Operations: []
Exploring Operation: 66-18=48, Resulting Numbers: [10, 87, 48]
Generated Node #0,0: 27:[10, 87, 48] Operation: 66-18=48
Exploring Operation: 87-66=21, Resulting Numbers: [10, 18, 21]
Generated Node #0,1: 27:[10, 18, 21] Operation: 87-66=21
Exploring Operation: 87-18=69, Resulting Numbers: [10, 66, 69]
Generated Node #0,2: 27:[10, 66, 69] Operation: 87-18=69
Exploring Operation: 87-10=77, Resulting Numbers: [18, 66, 77]
Generated Node #0,3: 27:[18, 66, 77] Operation: 87-10=77
Start Sub Search at level 1: Moving to Node #0,1
Current State: 27:[10, 18, 21], Operations: ['87-66=21']
Exploring Operation: 21-18=3, Resulting Numbers: [10, 3]
Generated Node #0,1,0: 27:[10, 3] Operation: 21-18=3
Exploring Operation: 21-10=11, Resulting Numbers: [18, 11]
Generated Node #0,1,1: 27:[18, 11] Operation: 21-10=11
Exploring Operation: 10+18=28, Resulting Numbers: [21, 28]
Generated Node #0,1,2: 27:[21, 28] Operation: 10+18=28
Exploring Operation: 18-10=8, Resulting Numbers: [21, 8]
Generated Node #0,1,3: 27:[21, 8] Operation: 18-10=8
Moving to Node #0,1,0
Current State: 27:[10, 3], Operations: ['87-66=21', '21-18=3']
Exploring Operation: 10*3=30, Resulting Numbers: [30]
30,27 unequal: No Solution
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,27 unequal: No Solution
Exploring Operation: 10+3=13, Resulting Numbers: [13]
13,27 unequal: No Solution
Moving to Node #0,1,3
Current State: 27:[21, 8], Operations: ['87-66=21', '18-10=8']
Exploring Operation: 21*8=168, Resulting Numbers: [168]
168,27 unequal: No Solution
Exploring Operation: 21+8=29, Resulting Numbers: [29]
29,27 unequal: No Solution
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,27 unequal: No Solution
Moving to Node #0,1,2
Current State: 27:[21, 28], Operations: ['87-66=21', '10+18=28']
Exploring Operation: 21*28=588, Resulting Numbers: [588]
588,27 unequal: No Solution
Exploring Operation: 21+28=49, Resulting Numbers: [49]
49,27 unequal: No Solution
Exploring Operation: 28-21=7, Resulting Numbers: [7]
7,27 unequal: No Solution
Moving to Node #0,1,1
Current State: 27:[18, 11], Operations: ['87-66=21', '21-10=11']
Exploring Operation: 18+11=29, Resulting Numbers: [29]
29,27 unequal: No Solution
Exploring Operation: 18-11=7, Resulting Numbers: [7]
7,27 unequal: No Solution
Exploring Operation: 18*11=198, Resulting Numbers: [198]
198,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:[10, 87, 48], Operations: ['66-18=48']
Exploring Operation: 10+87=97, Resulting Numbers: [48, 97]
Generated Node #0,0,0: 27:[48, 97] Operation: 10+87=97
Exploring Operation: 87-48=39, Resulting Numbers: [10, 39]
Generated Node #0,0,1: 27:[10, 39] Operation: 87-48=39
Exploring Operation: 87-10=77, Resulting Numbers: [48, 77]
Generated Node #0,0,2: 27:[48, 77] Operation: 87-10=77
Exploring Operation: 48-10=38, Resulting Numbers: [87, 38]
Generated Node #0,0,3: 27:[87, 38] Operation: 48-10=38
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 27:[10, 39], Operations: ['66-18=48', '87-48=39']
Exploring Operation: 10*39=390, Resulting Numbers: [390]
390,27 unequal: No Solution
Exploring Operation: 10+39=49, Resulting Numbers: [49]
49,27 unequal: No Solution
Exploring Operation: 39-10=29, Resulting Numbers: [29]
29,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:[48, 77], Operations: ['66-18=48', '87-10=77']
Exploring Operation: 77-48=29, Resulting Numbers: [29]
29,27 unequal: No Solution
Exploring Operation: 48+77=125, Resulting Numbers: [125]
125,27 unequal: No Solution
Exploring Operation: 48*77=3696, Resulting Numbers: [3696]
3696,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:[87, 38], Operations: ['66-18=48', '48-10=38']
Exploring Operation: 87-38=49, Resulting Numbers: [49]
49,27 unequal: No Solution
Exploring Operation: 87*38=3306, Resulting Numbers: [3306]
3306,27 unequal: No Solution
Exploring Operation: 87+38=125, Resulting Numbers: [125]
125,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 27:[48, 97], Operations: ['66-18=48', '10+87=97']
Exploring Operation: 97-48=49, Resulting Numbers: [49]
49,27 unequal: No Solution
Exploring Operation: 48+97=145, Resulting Numbers: [145]
145,27 unequal: No Solution
Exploring Operation: 48*97=4656, Resulting Numbers: [4656]
4656,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:[10, 66, 69], Operations: ['87-18=69']
Exploring Operation: 69-66=3, Resulting Numbers: [10, 3]
Generated Node #0,2,0: 27:[10, 3] Operation: 69-66=3
Exploring Operation: 69-10=59, Resulting Numbers: [66, 59]
Generated Node #0,2,1: 27:[66, 59] Operation: 69-10=59
Exploring Operation: 10+66=76, Resulting Numbers: [69, 76]
Generated Node #0,2,2: 27:[69, 76] Operation: 10+66=76
Exploring Operation: 66-10=56, Resulting Numbers: [69, 56]
Generated Node #0,2,3: 27:[69, 56] Operation: 66-10=56
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 27:[10, 3], Operations: ['87-18=69', '69-66=3']
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,27 unequal: No Solution
Exploring Operation: 10*3=30, Resulting Numbers: [30]
30,27 unequal: No Solution
Exploring Operation: 10+3=13, Resulting Numbers: [13]
13,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:[66, 59], Operations: ['87-18=69', '69-10=59']
Exploring Operation: 66*59=3894, Resulting Numbers: [3894]
3894,27 unequal: No Solution
Exploring Operation: 66+59=125, Resulting Numbers: [125]
125,27 unequal: No Solution
Exploring Operation: 66-59=7, Resulting Numbers: [7]
7,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:[69, 56], Operations: ['87-18=69', '66-10=56']
Exploring Operation: 69*56=3864, Resulting Numbers: [3864]
3864,27 unequal: No Solution
Exploring Operation: 69-56=13, Resulting Numbers: [13]
13,27 unequal: No Solution
Exploring Operation: 69+56=125, Resulting Numbers: [125]
125,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:[69, 76], Operations: ['87-18=69', '10+66=76']
Exploring Operation: 69+76=145, Resulting Numbers: [145]
145,27 unequal: No Solution
Exploring Operation: 69*76=5244, Resulting Numbers: [5244]
5244,27 unequal: No Solution
Exploring Operation: 76-69=7, Resulting Numbers: [7]
7,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:[18, 66, 77], Operations: ['87-10=77']
Exploring Operation: 77-18=59, Resulting Numbers: [66, 59]
Generated Node #0,3,0: 27:[66, 59] Operation: 77-18=59
Exploring Operation: 77-66=11, Resulting Numbers: [18, 11]
Generated Node #0,3,1: 27:[18, 11] Operation: 77-66=11
Exploring Operation: 66-18=48, Resulting Numbers: [77, 48]
Generated Node #0,3,2: 27:[77, 48] Operation: 66-18=48
Exploring Operation: 18+66=84, Resulting Numbers: [77, 84]
Generated Node #0,3,3: 27:[77, 84] Operation: 18+66=84
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 27:[18, 11], Operations: ['87-10=77', '77-66=11']
Exploring Operation: 18-11=7, Resulting Numbers: [7]
7,27 unequal: No Solution
Exploring Operation: 18*11=198, Resulting Numbers: [198]
198,27 unequal: No Solution
Exploring Operation: 18+11=29, Resulting Numbers: [29]
29,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,3,0
Current State: 27:[66, 59], Operations: ['87-10=77', '77-18=59']
Exploring Operation: 66*59=3894, Resulting Numbers: [3894]
3894,27 unequal: No Solution
Exploring Operation: 66+59=125, Resulting Numbers: [125]
125,27 unequal: No Solution
Exploring Operation: 66-59=7, Resulting Numbers: [7]
7,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,3,2
Current State: 27:[77, 48], Operations: ['87-10=77', '66-18=48']
Exploring Operation: 77*48=3696, Resulting Numbers: [3696]
3696,27 unequal: No Solution
Exploring Operation: 77-48=29, Resulting Numbers: [29]
29,27 unequal: No Solution
Exploring Operation: 77+48=125, Resulting Numbers: [125]
125,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,3,3
Current State: 27:[77, 84], Operations: ['87-10=77', '18+66=84']
Exploring Operation: 84-77=7, Resulting Numbers: [7]
7,27 unequal: No Solution
Exploring Operation: 77*84=6468, Resulting Numbers: [6468]
6468,27 unequal: No Solution
Exploring Operation: 77+84=161, Resulting Numbers: [161]
161,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
No solution found.
| 0 | hs_4 | sum_heuristic |
[
89,
71,
57,
48
] | 27 | [
"89-71=18",
"57-48=9",
"18+9=27"
] | Current State: 27:[89, 71, 57, 48], Operations: []
Exploring Operation: 89-71=18, Resulting Numbers: [57, 48, 18]
Generated Node #2: [57, 48, 18] from Operation: 89-71=18
Current State: 27:[57, 48, 18], Operations: ['89-71=18']
Exploring Operation: 57-48=9, Resulting Numbers: [18, 9]
Generated Node #3: [18, 9] from Operation: 57-48=9
Current State: 27:[18, 9], Operations: ['89-71=18', '57-48=9']
Exploring Operation: 18+9=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[89, 71, 57, 48], Operations: []
Exploring Operation: 89-71=18, Resulting Numbers: [57, 48, 18]
Generated Node #0,0: 27:[57, 48, 18] Operation: 89-71=18
Moving to Node #0,0
Current State: 27:[57, 48, 18], Operations: ['89-71=18']
Exploring Operation: 57-48=9, Resulting Numbers: [18, 9]
Generated Node #0,0,0: 27:[18, 9] Operation: 57-48=9
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 27:[18, 9], Operations: ['89-71=18', '57-48=9']
Exploring Operation: 18+9=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[89, 71, 57, 48], Operations: []
Exploring Operation: 89-71=18, Resulting Numbers: [57, 48, 18]
Generated Node #0,0: 27:[57, 48, 18] Operation: 89-71=18
Moving to Node #0,0
Current State: 27:[57, 48, 18], Operations: ['89-71=18']
Exploring Operation: 57-48=9, Resulting Numbers: [18, 9]
Generated Node #0,0,0: 27:[18, 9] Operation: 57-48=9
Moving to Node #0,0,0
Current State: 27:[18, 9], Operations: ['89-71=18', '57-48=9']
Exploring Operation: 18+9=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
10,
66,
66,
44
] | 98 | [
"10+66=76",
"66-44=22",
"76+22=98"
] | Current State: 98:[10, 66, 66, 44], Operations: []
Exploring Operation: 10+66=76, Resulting Numbers: [44, 76]
Generated Node #2: [44, 76] from Operation: 10+66=76
Current State: 98:[44, 76], Operations: ['10+66=76']
Exploring Operation: 66-44=22, Resulting Numbers: [76, 22]
Generated Node #3: [76, 22] from Operation: 66-44=22
Current State: 98:[76, 22], Operations: ['10+66=76', '66-44=22']
Exploring Operation: 76+22=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[10, 66, 66, 44], Operations: []
Exploring Operation: 66-66=0, Resulting Numbers: [10, 44, 0]
Generated Node #0,0: 98:[10, 44, 0] Operation: 66-66=0
Exploring Operation: 66-44=22, Resulting Numbers: [10, 66, 22]
Generated Node #0,1: 98:[10, 66, 22] Operation: 66-44=22
Exploring Operation: 66/66=1, Resulting Numbers: [10, 44, 1]
Generated Node #0,2: 98:[10, 44, 1] Operation: 66/66=1
Exploring Operation: 66-10=56, Resulting Numbers: [66, 44, 56]
Generated Node #0,3: 98:[66, 44, 56] Operation: 66-10=56
Exploring Operation: 66-44=22, Resulting Numbers: [10, 66, 22]
Generated Node #0,4: 98:[10, 66, 22] Operation: 66-44=22
Start Sub Search at level 1: Moving to Node #0,2
Current State: 98:[10, 44, 1], Operations: ['66/66=1']
Exploring Operation: 44+1=45, Resulting Numbers: [10, 45]
Generated Node #0,2,0: 98:[10, 45] Operation: 44+1=45
Exploring Operation: 10+1=11, Resulting Numbers: [44, 11]
Generated Node #0,2,1: 98:[44, 11] Operation: 10+1=11
Exploring Operation: 10+44=54, Resulting Numbers: [1, 54]
Generated Node #0,2,2: 98:[1, 54] Operation: 10+44=54
Exploring Operation: 10-1=9, Resulting Numbers: [44, 9]
Generated Node #0,2,3: 98:[44, 9] Operation: 10-1=9
Exploring Operation: 10*1=10, Resulting Numbers: [44, 10]
Generated Node #0,2,4: 98:[44, 10] Operation: 10*1=10
Moving to Node #0,2,2
Current State: 98:[1, 54], Operations: ['66/66=1', '10+44=54']
Exploring Operation: 1+54=55, Resulting Numbers: [55]
55,98 unequal: No Solution
Exploring Operation: 1*54=54, Resulting Numbers: [54]
54,98 unequal: No Solution
Exploring Operation: 54/1=54, Resulting Numbers: [54]
54,98 unequal: No Solution
Exploring Operation: 54-1=53, Resulting Numbers: [53]
53,98 unequal: No Solution
Moving to Node #0,2,3
Current State: 98:[44, 9], Operations: ['66/66=1', '10-1=9']
Exploring Operation: 44+9=53, Resulting Numbers: [53]
53,98 unequal: No Solution
Exploring Operation: 44*9=396, Resulting Numbers: [396]
396,98 unequal: No Solution
Exploring Operation: 44-9=35, Resulting Numbers: [35]
35,98 unequal: No Solution
Moving to Node #0,2,0
Current State: 98:[10, 45], Operations: ['66/66=1', '44+1=45']
Exploring Operation: 45-10=35, Resulting Numbers: [35]
35,98 unequal: No Solution
Exploring Operation: 10+45=55, Resulting Numbers: [55]
55,98 unequal: No Solution
Exploring Operation: 10*45=450, Resulting Numbers: [450]
450,98 unequal: No Solution
Moving to Node #0,2,1
Current State: 98:[44, 11], Operations: ['66/66=1', '10+1=11']
Exploring Operation: 44/11=4, Resulting Numbers: [4]
4,98 unequal: No Solution
Exploring Operation: 44+11=55, Resulting Numbers: [55]
55,98 unequal: No Solution
Exploring Operation: 44*11=484, Resulting Numbers: [484]
484,98 unequal: No Solution
Exploring Operation: 44-11=33, Resulting Numbers: [33]
33,98 unequal: No Solution
Moving to Node #0,2,4
Current State: 98:[44, 10], Operations: ['66/66=1', '10*1=10']
Exploring Operation: 44-10=34, Resulting Numbers: [34]
34,98 unequal: No Solution
Exploring Operation: 44+10=54, Resulting Numbers: [54]
54,98 unequal: No Solution
Exploring Operation: 44*10=440, Resulting Numbers: [440]
440,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,0
Current State: 98:[10, 44, 0], Operations: ['66-66=0']
Exploring Operation: 10-0=10, Resulting Numbers: [44, 10]
Generated Node #0,0,0: 98:[44, 10] Operation: 10-0=10
Exploring Operation: 44*0=0, Resulting Numbers: [10, 0]
Generated Node #0,0,1: 98:[10, 0] Operation: 44*0=0
Exploring Operation: 10+44=54, Resulting Numbers: [0, 54]
Generated Node #0,0,2: 98:[0, 54] Operation: 10+44=54
Exploring Operation: 10+0=10, Resulting Numbers: [44, 10]
Generated Node #0,0,3: 98:[44, 10] Operation: 10+0=10
Exploring Operation: 10*0=0, Resulting Numbers: [44, 0]
Generated Node #0,0,4: 98:[44, 0] Operation: 10*0=0
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 98:[10, 0], Operations: ['66-66=0', '44*0=0']
Exploring Operation: 10*0=0, Resulting Numbers: [0]
0,98 unequal: No Solution
Exploring Operation: 10-0=10, Resulting Numbers: [10]
10,98 unequal: No Solution
Exploring Operation: 10+0=10, Resulting Numbers: [10]
10,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 98:[0, 54], Operations: ['66-66=0', '10+44=54']
Exploring Operation: 54-0=54, Resulting Numbers: [54]
54,98 unequal: No Solution
Exploring Operation: 0*54=0, Resulting Numbers: [0]
0,98 unequal: No Solution
Exploring Operation: 0+54=54, Resulting Numbers: [54]
54,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 98:[44, 0], Operations: ['66-66=0', '10*0=0']
Exploring Operation: 44+0=44, Resulting Numbers: [44]
44,98 unequal: No Solution
Exploring Operation: 44*0=0, Resulting Numbers: [0]
0,98 unequal: No Solution
Exploring Operation: 44-0=44, Resulting Numbers: [44]
44,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 98:[44, 10], Operations: ['66-66=0', '10-0=10']
Exploring Operation: 44+10=54, Resulting Numbers: [54]
54,98 unequal: No Solution
Exploring Operation: 44-10=34, Resulting Numbers: [34]
34,98 unequal: No Solution
Exploring Operation: 44*10=440, Resulting Numbers: [440]
440,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 98:[44, 10], Operations: ['66-66=0', '10+0=10']
Exploring Operation: 44*10=440, Resulting Numbers: [440]
440,98 unequal: No Solution
Exploring Operation: 44-10=34, Resulting Numbers: [34]
34,98 unequal: No Solution
Exploring Operation: 44+10=54, Resulting Numbers: [54]
54,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 98:[10, 66, 22], Operations: ['66-44=22']
Exploring Operation: 22-10=12, Resulting Numbers: [66, 12]
Generated Node #0,1,0: 98:[66, 12] Operation: 22-10=12
Exploring Operation: 66-10=56, Resulting Numbers: [22, 56]
Generated Node #0,1,1: 98:[22, 56] Operation: 66-10=56
Exploring Operation: 66+22=88, Resulting Numbers: [10, 88]
Generated Node #0,1,2: 98:[10, 88] Operation: 66+22=88
Exploring Operation: 66/22=3, Resulting Numbers: [10, 3]
Generated Node #0,1,3: 98:[10, 3] Operation: 66/22=3
Exploring Operation: 66-22=44, Resulting Numbers: [10, 44]
Generated Node #0,1,4: 98:[10, 44] Operation: 66-22=44
Moving to Node #0,1,3
Current State: 98:[10, 3], Operations: ['66-44=22', '66/22=3']
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,98 unequal: No Solution
Exploring Operation: 10+3=13, Resulting Numbers: [13]
13,98 unequal: No Solution
Exploring Operation: 10*3=30, Resulting Numbers: [30]
30,98 unequal: No Solution
Moving to Node #0,1,4
Current State: 98:[10, 44], Operations: ['66-44=22', '66-22=44']
Exploring Operation: 44-10=34, Resulting Numbers: [34]
34,98 unequal: No Solution
Exploring Operation: 10*44=440, Resulting Numbers: [440]
440,98 unequal: No Solution
Exploring Operation: 10+44=54, Resulting Numbers: [54]
54,98 unequal: No Solution
Moving to Node #0,1,2
Current State: 98:[10, 88], Operations: ['66-44=22', '66+22=88']
Exploring Operation: 10+88=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[10, 66, 66, 44], Operations: []
Exploring Operation: 66-44=22, Resulting Numbers: [10, 66, 22]
Generated Node #0,1: 98:[10, 66, 22] Operation: 66-44=22
Moving to Node #0,1
Current State: 98:[10, 66, 22], Operations: ['66-44=22']
Exploring Operation: 66+22=88, Resulting Numbers: [10, 88]
Generated Node #0,1,2: 98:[10, 88] Operation: 66+22=88
Moving to Node #0,1,2
Current State: 98:[10, 88], Operations: ['66-44=22', '66+22=88']
Exploring Operation: 10+88=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 1
| 0.945313 | hs_5 | sum_heuristic |
[
11,
11,
7,
54
] | 46 | [
"11/11=1",
"54-7=47",
"47-1=46"
] | Current State: 46:[11, 11, 7, 54], Operations: []
Exploring Operation: 11/11=1, Resulting Numbers: [7, 54, 1]
Generated Node #2: [7, 54, 1] from Operation: 11/11=1
Current State: 46:[7, 54, 1], Operations: ['11/11=1']
Exploring Operation: 54-7=47, Resulting Numbers: [1, 47]
Generated Node #3: [1, 47] from Operation: 54-7=47
Current State: 46:[1, 47], Operations: ['11/11=1', '54-7=47']
Exploring Operation: 47-1=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[11, 11, 7, 54], Operations: []
Exploring Operation: 11-11=0, Resulting Numbers: [7, 54, 0]
Generated Node #0,0: 46:[7, 54, 0] Operation: 11-11=0
Exploring Operation: 11/11=1, Resulting Numbers: [7, 54, 1]
Generated Node #0,1: 46:[7, 54, 1] Operation: 11/11=1
Exploring Operation: 54-11=43, Resulting Numbers: [11, 7, 43]
Generated Node #0,2: 46:[11, 7, 43] Operation: 54-11=43
Exploring Operation: 54-11=43, Resulting Numbers: [11, 7, 43]
Generated Node #0,3: 46:[11, 7, 43] Operation: 54-11=43
Exploring Operation: 11+11=22, Resulting Numbers: [7, 54, 22]
Generated Node #0,4: 46:[7, 54, 22] Operation: 11+11=22
Start Sub Search at level 1: Moving to Node #0,1
Current State: 46:[7, 54, 1], Operations: ['11/11=1']
Exploring Operation: 54-1=53, Resulting Numbers: [7, 53]
Generated Node #0,1,0: 46:[7, 53] Operation: 54-1=53
Exploring Operation: 7-1=6, Resulting Numbers: [54, 6]
Generated Node #0,1,1: 46:[54, 6] Operation: 7-1=6
Exploring Operation: 7/1=7, Resulting Numbers: [54, 7]
Generated Node #0,1,2: 46:[54, 7] Operation: 7/1=7
Exploring Operation: 7*1=7, Resulting Numbers: [54, 7]
Generated Node #0,1,3: 46:[54, 7] Operation: 7*1=7
Exploring Operation: 54-7=47, Resulting Numbers: [1, 47]
Generated Node #0,1,4: 46:[1, 47] Operation: 54-7=47
Moving to Node #0,1,4
Current State: 46:[1, 47], Operations: ['11/11=1', '54-7=47']
Exploring Operation: 1*47=47, Resulting Numbers: [47]
47,46 unequal: No Solution
Exploring Operation: 47-1=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[11, 11, 7, 54], Operations: []
Exploring Operation: 11/11=1, Resulting Numbers: [7, 54, 1]
Generated Node #0,1: 46:[7, 54, 1] Operation: 11/11=1
Moving to Node #0,1
Current State: 46:[7, 54, 1], Operations: ['11/11=1']
Exploring Operation: 54-7=47, Resulting Numbers: [1, 47]
Generated Node #0,1,4: 46:[1, 47] Operation: 54-7=47
Moving to Node #0,1,4
Current State: 46:[1, 47], Operations: ['11/11=1', '54-7=47']
Exploring Operation: 47-1=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
20,
39,
23,
1
] | 78 | [
"23-20=3",
"3-1=2",
"39*2=78"
] | Current State: 78:[20, 39, 23, 1], Operations: []
Exploring Operation: 23-20=3, Resulting Numbers: [39, 1, 3]
Generated Node #2: [39, 1, 3] from Operation: 23-20=3
Current State: 78:[39, 1, 3], Operations: ['23-20=3']
Exploring Operation: 3-1=2, Resulting Numbers: [39, 2]
Generated Node #3: [39, 2] from Operation: 3-1=2
Current State: 78:[39, 2], Operations: ['23-20=3', '3-1=2']
Exploring Operation: 39*2=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[20, 39, 23, 1], Operations: []
Exploring Operation: 20+23=43, Resulting Numbers: [39, 1, 43]
Generated Node #0,0: 78:[39, 1, 43] Operation: 20+23=43
Exploring Operation: 23-20=3, Resulting Numbers: [39, 1, 3]
Generated Node #0,1: 78:[39, 1, 3] Operation: 23-20=3
Moving to Node #0,1
Current State: 78:[39, 1, 3], Operations: ['23-20=3']
Exploring Operation: 39/1=39, Resulting Numbers: [3, 39]
Generated Node #0,1,0: 78:[3, 39] Operation: 39/1=39
Exploring Operation: 39*1=39, Resulting Numbers: [3, 39]
Generated Node #0,1,1: 78:[3, 39] Operation: 39*1=39
Moving to Node #0,0
Current State: 78:[39, 1, 43], Operations: ['20+23=43']
Exploring Operation: 43-1=42, Resulting Numbers: [39, 42]
Generated Node #0,0,0: 78:[39, 42] Operation: 43-1=42
Exploring Operation: 43-39=4, Resulting Numbers: [1, 4]
Generated Node #0,0,1: 78:[1, 4] Operation: 43-39=4
Moving to Node #0,1,0
Current State: 78:[3, 39], Operations: ['23-20=3', '39/1=39']
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,78 unequal: No Solution
Exploring Operation: 3+39=42, Resulting Numbers: [42]
42,78 unequal: No Solution
Moving to Node #0,1,1
Current State: 78:[3, 39], Operations: ['23-20=3', '39*1=39']
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,78 unequal: No Solution
Exploring Operation: 3+39=42, Resulting Numbers: [42]
42,78 unequal: No Solution
Moving to Node #0,0,1
Current State: 78:[1, 4], Operations: ['20+23=43', '43-39=4']
Exploring Operation: 1+4=5, Resulting Numbers: [5]
5,78 unequal: No Solution
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,78 unequal: No Solution
Moving to Node #0,0,0
Current State: 78:[39, 42], Operations: ['20+23=43', '43-1=42']
Exploring Operation: 42-39=3, Resulting Numbers: [3]
3,78 unequal: No Solution
Exploring Operation: 39+42=81, Resulting Numbers: [81]
81,78 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
36,
95,
1,
38
] | 14 | [
"36-1=35",
"38*35=1330",
"1330/95=14"
] | Current State: 14:[36, 95, 1, 38], Operations: []
Exploring Operation: 36-1=35, Resulting Numbers: [95, 38, 35]
Generated Node #2: [95, 38, 35] from Operation: 36-1=35
Current State: 14:[95, 38, 35], Operations: ['36-1=35']
Exploring Operation: 38*35=1330, Resulting Numbers: [95, 1330]
Generated Node #3: [95, 1330] from Operation: 38*35=1330
Current State: 14:[95, 1330], Operations: ['36-1=35', '38*35=1330']
Exploring Operation: 1330/95=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[36, 95, 1, 38], Operations: []
Exploring Operation: 95-36=59, Resulting Numbers: [1, 38, 59]
Generated Node #0,0: 14:[1, 38, 59] Operation: 95-36=59
Exploring Operation: 95-38=57, Resulting Numbers: [36, 1, 57]
Generated Node #0,1: 14:[36, 1, 57] Operation: 95-38=57
Moving to Node #0,1
Current State: 14:[36, 1, 57], Operations: ['95-38=57']
Exploring Operation: 57-36=21, Resulting Numbers: [1, 21]
Generated Node #0,1,0: 14:[1, 21] Operation: 57-36=21
Exploring Operation: 36-1=35, Resulting Numbers: [57, 35]
Generated Node #0,1,1: 14:[57, 35] Operation: 36-1=35
Moving to Node #0,0
Current State: 14:[1, 38, 59], Operations: ['95-36=59']
Exploring Operation: 59-38=21, Resulting Numbers: [1, 21]
Generated Node #0,0,0: 14:[1, 21] Operation: 59-38=21
Exploring Operation: 38-1=37, Resulting Numbers: [59, 37]
Generated Node #0,0,1: 14:[59, 37] Operation: 38-1=37
Moving to Node #0,1,0
Current State: 14:[1, 21], Operations: ['95-38=57', '57-36=21']
Exploring Operation: 21-1=20, Resulting Numbers: [20]
20,14 unequal: No Solution
Exploring Operation: 1*21=21, Resulting Numbers: [21]
21,14 unequal: No Solution
Moving to Node #0,0,0
Current State: 14:[1, 21], Operations: ['95-36=59', '59-38=21']
Exploring Operation: 1*21=21, Resulting Numbers: [21]
21,14 unequal: No Solution
Exploring Operation: 21-1=20, Resulting Numbers: [20]
20,14 unequal: No Solution
Moving to Node #0,1,1
Current State: 14:[57, 35], Operations: ['95-38=57', '36-1=35']
Exploring Operation: 57-35=22, Resulting Numbers: [22]
22,14 unequal: No Solution
Exploring Operation: 57+35=92, Resulting Numbers: [92]
92,14 unequal: No Solution
Moving to Node #0,0,1
Current State: 14:[59, 37], Operations: ['95-36=59', '38-1=37']
Exploring Operation: 59-37=22, Resulting Numbers: [22]
22,14 unequal: No Solution
Exploring Operation: 59+37=96, Resulting Numbers: [96]
96,14 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
15,
5,
72,
55
] | 31 | [
"15/5=3",
"72/3=24",
"55-24=31"
] | Current State: 31:[15, 5, 72, 55], Operations: []
Exploring Operation: 15/5=3, Resulting Numbers: [72, 55, 3]
Generated Node #2: [72, 55, 3] from Operation: 15/5=3
Current State: 31:[72, 55, 3], Operations: ['15/5=3']
Exploring Operation: 72/3=24, Resulting Numbers: [55, 24]
Generated Node #3: [55, 24] from Operation: 72/3=24
Current State: 31:[55, 24], Operations: ['15/5=3', '72/3=24']
Exploring Operation: 55-24=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[15, 5, 72, 55], Operations: []
Exploring Operation: 72-55=17, Resulting Numbers: [15, 5, 17]
Generated Node #0,0: 31:[15, 5, 17] Operation: 72-55=17
Exploring Operation: 15+5=20, Resulting Numbers: [72, 55, 20]
Generated Node #0,1: 31:[72, 55, 20] Operation: 15+5=20
Moving to Node #0,0
Current State: 31:[15, 5, 17], Operations: ['72-55=17']
Exploring Operation: 5+17=22, Resulting Numbers: [15, 22]
Generated Node #0,0,0: 31:[15, 22] Operation: 5+17=22
Exploring Operation: 15+5=20, Resulting Numbers: [17, 20]
Generated Node #0,0,1: 31:[17, 20] Operation: 15+5=20
Moving to Node #0,1
Current State: 31:[72, 55, 20], Operations: ['15+5=20']
Exploring Operation: 72-20=52, Resulting Numbers: [55, 52]
Generated Node #0,1,0: 31:[55, 52] Operation: 72-20=52
Exploring Operation: 72-55=17, Resulting Numbers: [20, 17]
Generated Node #0,1,1: 31:[20, 17] Operation: 72-55=17
Moving to Node #0,0,0
Current State: 31:[15, 22], Operations: ['72-55=17', '5+17=22']
Exploring Operation: 22-15=7, Resulting Numbers: [7]
7,31 unequal: No Solution
Exploring Operation: 15+22=37, Resulting Numbers: [37]
37,31 unequal: No Solution
Moving to Node #0,1,1
Current State: 31:[20, 17], Operations: ['15+5=20', '72-55=17']
Exploring Operation: 20-17=3, Resulting Numbers: [3]
3,31 unequal: No Solution
Exploring Operation: 20+17=37, Resulting Numbers: [37]
37,31 unequal: No Solution
Moving to Node #0,0,1
Current State: 31:[17, 20], Operations: ['72-55=17', '15+5=20']
Exploring Operation: 17+20=37, Resulting Numbers: [37]
37,31 unequal: No Solution
Exploring Operation: 20-17=3, Resulting Numbers: [3]
3,31 unequal: No Solution
Moving to Node #0,1,0
Current State: 31:[55, 52], Operations: ['15+5=20', '72-20=52']
Exploring Operation: 55+52=107, Resulting Numbers: [107]
107,31 unequal: No Solution
Exploring Operation: 55-52=3, Resulting Numbers: [3]
3,31 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
61,
42,
47,
45
] | 52 | [
"47-42=5",
"45/5=9",
"61-9=52"
] | Current State: 52:[61, 42, 47, 45], Operations: []
Exploring Operation: 47-42=5, Resulting Numbers: [61, 45, 5]
Generated Node #2: [61, 45, 5] from Operation: 47-42=5
Current State: 52:[61, 45, 5], Operations: ['47-42=5']
Exploring Operation: 45/5=9, Resulting Numbers: [61, 9]
Generated Node #3: [61, 9] from Operation: 45/5=9
Current State: 52:[61, 9], Operations: ['47-42=5', '45/5=9']
Exploring Operation: 61-9=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[61, 42, 47, 45], Operations: []
Exploring Operation: 61-42=19, Resulting Numbers: [47, 45, 19]
Generated Node #0,0: 52:[47, 45, 19] Operation: 61-42=19
Exploring Operation: 47-42=5, Resulting Numbers: [61, 45, 5]
Generated Node #0,1: 52:[61, 45, 5] Operation: 47-42=5
Exploring Operation: 45-42=3, Resulting Numbers: [61, 47, 3]
Generated Node #0,2: 52:[61, 47, 3] Operation: 45-42=3
Start Sub Search at level 1: Moving to Node #0,2
Current State: 52:[61, 47, 3], Operations: ['45-42=3']
Exploring Operation: 61-47=14, Resulting Numbers: [3, 14]
Generated Node #0,2,0: 52:[3, 14] Operation: 61-47=14
Exploring Operation: 61-3=58, Resulting Numbers: [47, 58]
Generated Node #0,2,1: 52:[47, 58] Operation: 61-3=58
Exploring Operation: 47+3=50, Resulting Numbers: [61, 50]
Generated Node #0,2,2: 52:[61, 50] Operation: 47+3=50
Moving to Node #0,2,0
Current State: 52:[3, 14], Operations: ['45-42=3', '61-47=14']
Exploring Operation: 3*14=42, Resulting Numbers: [42]
42,52 unequal: No Solution
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,52 unequal: No Solution
Exploring Operation: 3+14=17, Resulting Numbers: [17]
17,52 unequal: No Solution
Moving to Node #0,2,1
Current State: 52:[47, 58], Operations: ['45-42=3', '61-3=58']
Exploring Operation: 58-47=11, Resulting Numbers: [11]
11,52 unequal: No Solution
Exploring Operation: 47*58=2726, Resulting Numbers: [2726]
2726,52 unequal: No Solution
Exploring Operation: 47+58=105, Resulting Numbers: [105]
105,52 unequal: No Solution
Moving to Node #0,2,2
Current State: 52:[61, 50], Operations: ['45-42=3', '47+3=50']
Exploring Operation: 61+50=111, Resulting Numbers: [111]
111,52 unequal: No Solution
Exploring Operation: 61-50=11, Resulting Numbers: [11]
11,52 unequal: No Solution
Exploring Operation: 61*50=3050, Resulting Numbers: [3050]
3050,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 52:[61, 45, 5], Operations: ['47-42=5']
Exploring Operation: 45+5=50, Resulting Numbers: [61, 50]
Generated Node #0,1,0: 52:[61, 50] Operation: 45+5=50
Exploring Operation: 61-45=16, Resulting Numbers: [5, 16]
Generated Node #0,1,1: 52:[5, 16] Operation: 61-45=16
Exploring Operation: 61-5=56, Resulting Numbers: [45, 56]
Generated Node #0,1,2: 52:[45, 56] Operation: 61-5=56
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 52:[5, 16], Operations: ['47-42=5', '61-45=16']
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,52 unequal: No Solution
Exploring Operation: 5*16=80, Resulting Numbers: [80]
80,52 unequal: No Solution
Exploring Operation: 5+16=21, Resulting Numbers: [21]
21,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 52:[61, 50], Operations: ['47-42=5', '45+5=50']
Exploring Operation: 61+50=111, Resulting Numbers: [111]
111,52 unequal: No Solution
Exploring Operation: 61-50=11, Resulting Numbers: [11]
11,52 unequal: No Solution
Exploring Operation: 61*50=3050, Resulting Numbers: [3050]
3050,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 52:[45, 56], Operations: ['47-42=5', '61-5=56']
Exploring Operation: 45+56=101, Resulting Numbers: [101]
101,52 unequal: No Solution
Exploring Operation: 56-45=11, Resulting Numbers: [11]
11,52 unequal: No Solution
Exploring Operation: 45*56=2520, Resulting Numbers: [2520]
2520,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[47, 45, 19], Operations: ['61-42=19']
Exploring Operation: 45-19=26, Resulting Numbers: [47, 26]
Generated Node #0,0,0: 52:[47, 26] Operation: 45-19=26
Exploring Operation: 47-45=2, Resulting Numbers: [19, 2]
Generated Node #0,0,1: 52:[19, 2] Operation: 47-45=2
Exploring Operation: 47-19=28, Resulting Numbers: [45, 28]
Generated Node #0,0,2: 52:[45, 28] Operation: 47-19=28
Moving to Node #0,0,0
Current State: 52:[47, 26], Operations: ['61-42=19', '45-19=26']
Exploring Operation: 47*26=1222, Resulting Numbers: [1222]
1222,52 unequal: No Solution
Exploring Operation: 47+26=73, Resulting Numbers: [73]
73,52 unequal: No Solution
Exploring Operation: 47-26=21, Resulting Numbers: [21]
21,52 unequal: No Solution
Moving to Node #0,0,1
Current State: 52:[19, 2], Operations: ['61-42=19', '47-45=2']
Exploring Operation: 19*2=38, Resulting Numbers: [38]
38,52 unequal: No Solution
Exploring Operation: 19+2=21, Resulting Numbers: [21]
21,52 unequal: No Solution
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,52 unequal: No Solution
Moving to Node #0,0,2
Current State: 52:[45, 28], Operations: ['61-42=19', '47-19=28']
Exploring Operation: 45-28=17, Resulting Numbers: [17]
17,52 unequal: No Solution
Exploring Operation: 45+28=73, Resulting Numbers: [73]
73,52 unequal: No Solution
Exploring Operation: 45*28=1260, Resulting Numbers: [1260]
1260,52 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 |
[
2,
43,
40,
16
] | 17 | [
"43-2=41",
"40-16=24",
"41-24=17"
] | Current State: 17:[2, 43, 40, 16], Operations: []
Exploring Operation: 43-2=41, Resulting Numbers: [40, 16, 41]
Generated Node #2: [40, 16, 41] from Operation: 43-2=41
Current State: 17:[40, 16, 41], Operations: ['43-2=41']
Exploring Operation: 40-16=24, Resulting Numbers: [41, 24]
Generated Node #3: [41, 24] from Operation: 40-16=24
Current State: 17:[41, 24], Operations: ['43-2=41', '40-16=24']
Exploring Operation: 41-24=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[2, 43, 40, 16], Operations: []
Exploring Operation: 40/2=20, Resulting Numbers: [43, 16, 20]
Generated Node #0,0: 17:[43, 16, 20] Operation: 40/2=20
Moving to Node #0,0
Current State: 17:[43, 16, 20], Operations: ['40/2=20']
Exploring Operation: 43-20=23, Resulting Numbers: [16, 23]
Generated Node #0,0,0: 17:[16, 23] Operation: 43-20=23
Moving to Node #0,0,0
Current State: 17:[16, 23], Operations: ['40/2=20', '43-20=23']
Exploring Operation: 23-16=7, Resulting Numbers: [7]
7,17 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
85,
24,
82,
37
] | 45 | [
"85-82=3",
"24/3=8",
"37+8=45"
] | Current State: 45:[85, 24, 82, 37], Operations: []
Exploring Operation: 85-82=3, Resulting Numbers: [24, 37, 3]
Generated Node #2: [24, 37, 3] from Operation: 85-82=3
Current State: 45:[24, 37, 3], Operations: ['85-82=3']
Exploring Operation: 24/3=8, Resulting Numbers: [37, 8]
Generated Node #3: [37, 8] from Operation: 24/3=8
Current State: 45:[37, 8], Operations: ['85-82=3', '24/3=8']
Exploring Operation: 37+8=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[85, 24, 82, 37], Operations: []
Exploring Operation: 82-37=45, Resulting Numbers: [85, 24, 45]
Generated Node #0,0: 45:[85, 24, 45] Operation: 82-37=45
Exploring Operation: 85-82=3, Resulting Numbers: [24, 37, 3]
Generated Node #0,1: 45:[24, 37, 3] Operation: 85-82=3
Exploring Operation: 85-24=61, Resulting Numbers: [82, 37, 61]
Generated Node #0,2: 45:[82, 37, 61] Operation: 85-24=61
Exploring Operation: 85-37=48, Resulting Numbers: [24, 82, 48]
Generated Node #0,3: 45:[24, 82, 48] Operation: 85-37=48
Moving to Node #0,1
Current State: 45:[24, 37, 3], Operations: ['85-82=3']
Exploring Operation: 37-24=13, Resulting Numbers: [3, 13]
Generated Node #0,1,0: 45:[3, 13] Operation: 37-24=13
Exploring Operation: 37+3=40, Resulting Numbers: [24, 40]
Generated Node #0,1,1: 45:[24, 40] Operation: 37+3=40
Exploring Operation: 24-3=21, Resulting Numbers: [37, 21]
Generated Node #0,1,2: 45:[37, 21] Operation: 24-3=21
Exploring Operation: 24/3=8, Resulting Numbers: [37, 8]
Generated Node #0,1,3: 45:[37, 8] Operation: 24/3=8
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 45:[3, 13], Operations: ['85-82=3', '37-24=13']
Exploring Operation: 3*13=39, Resulting Numbers: [39]
39,45 unequal: No Solution
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,45 unequal: No Solution
Exploring Operation: 3+13=16, Resulting Numbers: [16]
16,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 45:[37, 8], Operations: ['85-82=3', '24/3=8']
Exploring Operation: 37-8=29, Resulting Numbers: [29]
29,45 unequal: No Solution
Exploring Operation: 37+8=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[85, 24, 82, 37], Operations: []
Exploring Operation: 85-82=3, Resulting Numbers: [24, 37, 3]
Generated Node #0,1: 45:[24, 37, 3] Operation: 85-82=3
Moving to Node #0,1
Current State: 45:[24, 37, 3], Operations: ['85-82=3']
Exploring Operation: 24/3=8, Resulting Numbers: [37, 8]
Generated Node #0,1,3: 45:[37, 8] Operation: 24/3=8
Moving to Node #0,1,3
Current State: 45:[37, 8], Operations: ['85-82=3', '24/3=8']
Exploring Operation: 37+8=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | sum_heuristic |
[
10,
88,
84,
7
] | 44 | [
"84/7=12",
"12-10=2",
"88/2=44"
] | Current State: 44:[10, 88, 84, 7], Operations: []
Exploring Operation: 84/7=12, Resulting Numbers: [10, 88, 12]
Generated Node #2: [10, 88, 12] from Operation: 84/7=12
Current State: 44:[10, 88, 12], Operations: ['84/7=12']
Exploring Operation: 12-10=2, Resulting Numbers: [88, 2]
Generated Node #3: [88, 2] from Operation: 12-10=2
Current State: 44:[88, 2], Operations: ['84/7=12', '12-10=2']
Exploring Operation: 88/2=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[10, 88, 84, 7], Operations: []
Exploring Operation: 84/7=12, Resulting Numbers: [10, 88, 12]
Generated Node #0,0: 44:[10, 88, 12] Operation: 84/7=12
Exploring Operation: 88-10=78, Resulting Numbers: [84, 7, 78]
Generated Node #0,1: 44:[84, 7, 78] Operation: 88-10=78
Exploring Operation: 84-10=74, Resulting Numbers: [88, 7, 74]
Generated Node #0,2: 44:[88, 7, 74] Operation: 84-10=74
Exploring Operation: 88-84=4, Resulting Numbers: [10, 7, 4]
Generated Node #0,3: 44:[10, 7, 4] Operation: 88-84=4
Exploring Operation: 88-7=81, Resulting Numbers: [10, 84, 81]
Generated Node #0,4: 44:[10, 84, 81] Operation: 88-7=81
Moving to Node #0,3
Current State: 44:[10, 7, 4], Operations: ['88-84=4']
Exploring Operation: 10-7=3, Resulting Numbers: [4, 3]
Generated Node #0,3,0: 44:[4, 3] Operation: 10-7=3
Exploring Operation: 7-4=3, Resulting Numbers: [10, 3]
Generated Node #0,3,1: 44:[10, 3] Operation: 7-4=3
Exploring Operation: 10+7=17, Resulting Numbers: [4, 17]
Generated Node #0,3,2: 44:[4, 17] Operation: 10+7=17
Exploring Operation: 7+4=11, Resulting Numbers: [10, 11]
Generated Node #0,3,3: 44:[10, 11] Operation: 7+4=11
Exploring Operation: 10-4=6, Resulting Numbers: [7, 6]
Generated Node #0,3,4: 44:[7, 6] Operation: 10-4=6
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 44:[4, 3], Operations: ['88-84=4', '10-7=3']
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,44 unequal: No Solution
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,44 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 44:[10, 11], Operations: ['88-84=4', '7+4=11']
Exploring Operation: 10+11=21, Resulting Numbers: [21]
21,44 unequal: No Solution
Exploring Operation: 11-10=1, Resulting Numbers: [1]
1,44 unequal: No Solution
Exploring Operation: 10*11=110, Resulting Numbers: [110]
110,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 44:[10, 3], Operations: ['88-84=4', '7-4=3']
Exploring Operation: 10*3=30, Resulting Numbers: [30]
30,44 unequal: No Solution
Exploring Operation: 10+3=13, Resulting Numbers: [13]
13,44 unequal: No Solution
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 44:[4, 17], Operations: ['88-84=4', '10+7=17']
Exploring Operation: 4*17=68, Resulting Numbers: [68]
68,44 unequal: No Solution
Exploring Operation: 4+17=21, Resulting Numbers: [21]
21,44 unequal: No Solution
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 44:[7, 6], Operations: ['88-84=4', '10-4=6']
Exploring Operation: 7+6=13, Resulting Numbers: [13]
13,44 unequal: No Solution
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,44 unequal: No Solution
Exploring Operation: 7*6=42, Resulting Numbers: [42]
42,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 44:[10, 88, 12], Operations: ['84/7=12']
Exploring Operation: 88-12=76, Resulting Numbers: [10, 76]
Generated Node #0,0,0: 44:[10, 76] Operation: 88-12=76
Exploring Operation: 12-10=2, Resulting Numbers: [88, 2]
Generated Node #0,0,1: 44:[88, 2] Operation: 12-10=2
Exploring Operation: 10+12=22, Resulting Numbers: [88, 22]
Generated Node #0,0,2: 44:[88, 22] Operation: 10+12=22
Exploring Operation: 10+88=98, Resulting Numbers: [12, 98]
Generated Node #0,0,3: 44:[12, 98] Operation: 10+88=98
Exploring Operation: 88-10=78, Resulting Numbers: [12, 78]
Generated Node #0,0,4: 44:[12, 78] Operation: 88-10=78
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 44:[10, 76], Operations: ['84/7=12', '88-12=76']
Exploring Operation: 76-10=66, Resulting Numbers: [66]
66,44 unequal: No Solution
Exploring Operation: 10+76=86, Resulting Numbers: [86]
86,44 unequal: No Solution
Exploring Operation: 10*76=760, Resulting Numbers: [760]
760,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 44:[12, 78], Operations: ['84/7=12', '88-10=78']
Exploring Operation: 78-12=66, Resulting Numbers: [66]
66,44 unequal: No Solution
Exploring Operation: 12+78=90, Resulting Numbers: [90]
90,44 unequal: No Solution
Exploring Operation: 12*78=936, Resulting Numbers: [936]
936,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 44:[88, 2], Operations: ['84/7=12', '12-10=2']
Exploring Operation: 88-2=86, Resulting Numbers: [86]
86,44 unequal: No Solution
Exploring Operation: 88/2=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[10, 88, 84, 7], Operations: []
Exploring Operation: 84/7=12, Resulting Numbers: [10, 88, 12]
Generated Node #0,0: 44:[10, 88, 12] Operation: 84/7=12
Moving to Node #0,0
Current State: 44:[10, 88, 12], Operations: ['84/7=12']
Exploring Operation: 12-10=2, Resulting Numbers: [88, 2]
Generated Node #0,0,1: 44:[88, 2] Operation: 12-10=2
Moving to Node #0,0,1
Current State: 44:[88, 2], Operations: ['84/7=12', '12-10=2']
Exploring Operation: 88/2=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 1
| 0.963542 | hs_5 | mult_heuristic |
[
65,
30,
56,
17
] | 61 | [
"30-17=13",
"65/13=5",
"56+5=61"
] | Current State: 61:[65, 30, 56, 17], Operations: []
Exploring Operation: 30-17=13, Resulting Numbers: [65, 56, 13]
Generated Node #2: [65, 56, 13] from Operation: 30-17=13
Current State: 61:[65, 56, 13], Operations: ['30-17=13']
Exploring Operation: 65/13=5, Resulting Numbers: [56, 5]
Generated Node #3: [56, 5] from Operation: 65/13=5
Current State: 61:[56, 5], Operations: ['30-17=13', '65/13=5']
Exploring Operation: 56+5=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[65, 30, 56, 17], Operations: []
Exploring Operation: 56+17=73, Resulting Numbers: [65, 30, 73]
Generated Node #0,0: 61:[65, 30, 73] Operation: 56+17=73
Exploring Operation: 30+17=47, Resulting Numbers: [65, 56, 47]
Generated Node #0,1: 61:[65, 56, 47] Operation: 30+17=47
Moving to Node #0,1
Current State: 61:[65, 56, 47], Operations: ['30+17=47']
Exploring Operation: 65-47=18, Resulting Numbers: [56, 18]
Generated Node #0,1,0: 61:[56, 18] Operation: 65-47=18
Exploring Operation: 56+47=103, Resulting Numbers: [65, 103]
Generated Node #0,1,1: 61:[65, 103] Operation: 56+47=103
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 61:[65, 103], Operations: ['30+17=47', '56+47=103']
Exploring Operation: 65+103=168, Resulting Numbers: [168]
168,61 unequal: No Solution
Exploring Operation: 103-65=38, Resulting Numbers: [38]
38,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 61:[56, 18], Operations: ['30+17=47', '65-47=18']
Exploring Operation: 56+18=74, Resulting Numbers: [74]
74,61 unequal: No Solution
Exploring Operation: 56-18=38, Resulting Numbers: [38]
38,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 61:[65, 30, 73], Operations: ['56+17=73']
Exploring Operation: 65-30=35, Resulting Numbers: [73, 35]
Generated Node #0,0,0: 61:[73, 35] Operation: 65-30=35
Exploring Operation: 73-30=43, Resulting Numbers: [65, 43]
Generated Node #0,0,1: 61:[65, 43] Operation: 73-30=43
Moving to Node #0,0,1
Current State: 61:[65, 43], Operations: ['56+17=73', '73-30=43']
Exploring Operation: 65+43=108, Resulting Numbers: [108]
108,61 unequal: No Solution
Exploring Operation: 65-43=22, Resulting Numbers: [22]
22,61 unequal: No Solution
Moving to Node #0,0,0
Current State: 61:[73, 35], Operations: ['56+17=73', '65-30=35']
Exploring Operation: 73+35=108, Resulting Numbers: [108]
108,61 unequal: No Solution
Exploring Operation: 73-35=38, Resulting Numbers: [38]
38,61 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
24,
54,
48,
20
] | 80 | [
"24*20=480",
"54-48=6",
"480/6=80"
] | Current State: 80:[24, 54, 48, 20], Operations: []
Exploring Operation: 24*20=480, Resulting Numbers: [54, 48, 480]
Generated Node #2: [54, 48, 480] from Operation: 24*20=480
Current State: 80:[54, 48, 480], Operations: ['24*20=480']
Exploring Operation: 54-48=6, Resulting Numbers: [480, 6]
Generated Node #3: [480, 6] from Operation: 54-48=6
Current State: 80:[480, 6], Operations: ['24*20=480', '54-48=6']
Exploring Operation: 480/6=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[24, 54, 48, 20], Operations: []
Exploring Operation: 54-24=30, Resulting Numbers: [48, 20, 30]
Generated Node #0,0: 80:[48, 20, 30] Operation: 54-24=30
Exploring Operation: 48-24=24, Resulting Numbers: [54, 20, 24]
Generated Node #0,1: 80:[54, 20, 24] Operation: 48-24=24
Exploring Operation: 24+54=78, Resulting Numbers: [48, 20, 78]
Generated Node #0,2: 80:[48, 20, 78] Operation: 24+54=78
Exploring Operation: 48/24=2, Resulting Numbers: [54, 20, 2]
Generated Node #0,3: 80:[54, 20, 2] Operation: 48/24=2
Exploring Operation: 54-48=6, Resulting Numbers: [24, 20, 6]
Generated Node #0,4: 80:[24, 20, 6] Operation: 54-48=6
Start Sub Search at level 1: Moving to Node #0,4
Current State: 80:[24, 20, 6], Operations: ['54-48=6']
Exploring Operation: 24/6=4, Resulting Numbers: [20, 4]
Generated Node #0,4,0: 80:[20, 4] Operation: 24/6=4
Exploring Operation: 24-20=4, Resulting Numbers: [6, 4]
Generated Node #0,4,1: 80:[6, 4] Operation: 24-20=4
Exploring Operation: 24-6=18, Resulting Numbers: [20, 18]
Generated Node #0,4,2: 80:[20, 18] Operation: 24-6=18
Exploring Operation: 24+20=44, Resulting Numbers: [6, 44]
Generated Node #0,4,3: 80:[6, 44] Operation: 24+20=44
Exploring Operation: 20-6=14, Resulting Numbers: [24, 14]
Generated Node #0,4,4: 80:[24, 14] Operation: 20-6=14
Moving to Node #0,4,0
Current State: 80:[20, 4], Operations: ['54-48=6', '24/6=4']
Exploring Operation: 20*4=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[24, 54, 48, 20], Operations: []
Exploring Operation: 54-48=6, Resulting Numbers: [24, 20, 6]
Generated Node #0,4: 80:[24, 20, 6] Operation: 54-48=6
Moving to Node #0,4
Current State: 80:[24, 20, 6], Operations: ['54-48=6']
Exploring Operation: 24/6=4, Resulting Numbers: [20, 4]
Generated Node #0,4,0: 80:[20, 4] Operation: 24/6=4
Moving to Node #0,4,0
Current State: 80:[20, 4], Operations: ['54-48=6', '24/6=4']
Exploring Operation: 20*4=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
75,
71,
68,
3
] | 26 | [
"75+71=146",
"146-68=78",
"78/3=26"
] | Current State: 26:[75, 71, 68, 3], Operations: []
Exploring Operation: 75+71=146, Resulting Numbers: [68, 3, 146]
Generated Node #2: [68, 3, 146] from Operation: 75+71=146
Current State: 26:[68, 3, 146], Operations: ['75+71=146']
Exploring Operation: 146-68=78, Resulting Numbers: [3, 78]
Generated Node #3: [3, 78] from Operation: 146-68=78
Current State: 26:[3, 78], Operations: ['75+71=146', '146-68=78']
Exploring Operation: 78/3=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[75, 71, 68, 3], Operations: []
Exploring Operation: 75-71=4, Resulting Numbers: [68, 3, 4]
Generated Node #0,0: 26:[68, 3, 4] Operation: 75-71=4
Exploring Operation: 75-68=7, Resulting Numbers: [71, 3, 7]
Generated Node #0,1: 26:[71, 3, 7] Operation: 75-68=7
Moving to Node #0,0
Current State: 26:[68, 3, 4], Operations: ['75-71=4']
Exploring Operation: 68/4=17, Resulting Numbers: [3, 17]
Generated Node #0,0,0: 26:[3, 17] Operation: 68/4=17
Exploring Operation: 68-4=64, Resulting Numbers: [3, 64]
Generated Node #0,0,1: 26:[3, 64] Operation: 68-4=64
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 26:[3, 17], Operations: ['75-71=4', '68/4=17']
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,26 unequal: No Solution
Exploring Operation: 3+17=20, Resulting Numbers: [20]
20,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 26:[3, 64], Operations: ['75-71=4', '68-4=64']
Exploring Operation: 64-3=61, Resulting Numbers: [61]
61,26 unequal: No Solution
Exploring Operation: 3+64=67, Resulting Numbers: [67]
67,26 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: 26:[71, 3, 7], Operations: ['75-68=7']
Exploring Operation: 71-7=64, Resulting Numbers: [3, 64]
Generated Node #0,1,0: 26:[3, 64] Operation: 71-7=64
Exploring Operation: 71-3=68, Resulting Numbers: [7, 68]
Generated Node #0,1,1: 26:[7, 68] Operation: 71-3=68
Moving to Node #0,1,0
Current State: 26:[3, 64], Operations: ['75-68=7', '71-7=64']
Exploring Operation: 64-3=61, Resulting Numbers: [61]
61,26 unequal: No Solution
Exploring Operation: 3+64=67, Resulting Numbers: [67]
67,26 unequal: No Solution
Moving to Node #0,1,1
Current State: 26:[7, 68], Operations: ['75-68=7', '71-3=68']
Exploring Operation: 68-7=61, Resulting Numbers: [61]
61,26 unequal: No Solution
Exploring Operation: 7+68=75, Resulting Numbers: [75]
75,26 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
15,
71,
81,
9
] | 60 | [
"15-9=6",
"81-71=10",
"6*10=60"
] | Current State: 60:[15, 71, 81, 9], Operations: []
Exploring Operation: 15-9=6, Resulting Numbers: [71, 81, 6]
Generated Node #2: [71, 81, 6] from Operation: 15-9=6
Current State: 60:[71, 81, 6], Operations: ['15-9=6']
Exploring Operation: 81-71=10, Resulting Numbers: [6, 10]
Generated Node #3: [6, 10] from Operation: 81-71=10
Current State: 60:[6, 10], Operations: ['15-9=6', '81-71=10']
Exploring Operation: 6*10=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[15, 71, 81, 9], Operations: []
Exploring Operation: 81-71=10, Resulting Numbers: [15, 9, 10]
Generated Node #0,0: 60:[15, 9, 10] Operation: 81-71=10
Exploring Operation: 81-15=66, Resulting Numbers: [71, 9, 66]
Generated Node #0,1: 60:[71, 9, 66] Operation: 81-15=66
Exploring Operation: 81/9=9, Resulting Numbers: [15, 71, 9]
Generated Node #0,2: 60:[15, 71, 9] Operation: 81/9=9
Exploring Operation: 81-9=72, Resulting Numbers: [15, 71, 72]
Generated Node #0,3: 60:[15, 71, 72] Operation: 81-9=72
Exploring Operation: 71-9=62, Resulting Numbers: [15, 81, 62]
Generated Node #0,4: 60:[15, 81, 62] Operation: 71-9=62
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[15, 9, 10], Operations: ['81-71=10']
Exploring Operation: 10-9=1, Resulting Numbers: [15, 1]
Generated Node #0,0,0: 60:[15, 1] Operation: 10-9=1
Exploring Operation: 15-10=5, Resulting Numbers: [9, 5]
Generated Node #0,0,1: 60:[9, 5] Operation: 15-10=5
Exploring Operation: 15+9=24, Resulting Numbers: [10, 24]
Generated Node #0,0,2: 60:[10, 24] Operation: 15+9=24
Exploring Operation: 9+10=19, Resulting Numbers: [15, 19]
Generated Node #0,0,3: 60:[15, 19] Operation: 9+10=19
Exploring Operation: 15-9=6, Resulting Numbers: [10, 6]
Generated Node #0,0,4: 60:[10, 6] Operation: 15-9=6
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 60:[10, 6], Operations: ['81-71=10', '15-9=6']
Exploring Operation: 10+6=16, Resulting Numbers: [16]
16,60 unequal: No Solution
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,60 unequal: No Solution
Exploring Operation: 10*6=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[15, 71, 81, 9], Operations: []
Exploring Operation: 81-71=10, Resulting Numbers: [15, 9, 10]
Generated Node #0,0: 60:[15, 9, 10] Operation: 81-71=10
Moving to Node #0,0
Current State: 60:[15, 9, 10], Operations: ['81-71=10']
Exploring Operation: 15-9=6, Resulting Numbers: [10, 6]
Generated Node #0,0,4: 60:[10, 6] Operation: 15-9=6
Moving to Node #0,0,4
Current State: 60:[10, 6], Operations: ['81-71=10', '15-9=6']
Exploring Operation: 10*6=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
7,
84,
38,
62
] | 36 | [
"84/7=12",
"62-38=24",
"12+24=36"
] | Current State: 36:[7, 84, 38, 62], Operations: []
Exploring Operation: 84/7=12, Resulting Numbers: [38, 62, 12]
Generated Node #2: [38, 62, 12] from Operation: 84/7=12
Current State: 36:[38, 62, 12], Operations: ['84/7=12']
Exploring Operation: 62-38=24, Resulting Numbers: [12, 24]
Generated Node #3: [12, 24] from Operation: 62-38=24
Current State: 36:[12, 24], Operations: ['84/7=12', '62-38=24']
Exploring Operation: 12+24=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[7, 84, 38, 62], Operations: []
Exploring Operation: 84-38=46, Resulting Numbers: [7, 62, 46]
Generated Node #0,0: 36:[7, 62, 46] Operation: 84-38=46
Exploring Operation: 84-7=77, Resulting Numbers: [38, 62, 77]
Generated Node #0,1: 36:[38, 62, 77] Operation: 84-7=77
Exploring Operation: 84/7=12, Resulting Numbers: [38, 62, 12]
Generated Node #0,2: 36:[38, 62, 12] Operation: 84/7=12
Exploring Operation: 62-38=24, Resulting Numbers: [7, 84, 24]
Generated Node #0,3: 36:[7, 84, 24] Operation: 62-38=24
Exploring Operation: 84-62=22, Resulting Numbers: [7, 38, 22]
Generated Node #0,4: 36:[7, 38, 22] Operation: 84-62=22
Moving to Node #0,4
Current State: 36:[7, 38, 22], Operations: ['84-62=22']
Exploring Operation: 22-7=15, Resulting Numbers: [38, 15]
Generated Node #0,4,0: 36:[38, 15] Operation: 22-7=15
Exploring Operation: 7+22=29, Resulting Numbers: [38, 29]
Generated Node #0,4,1: 36:[38, 29] Operation: 7+22=29
Exploring Operation: 7+38=45, Resulting Numbers: [22, 45]
Generated Node #0,4,2: 36:[22, 45] Operation: 7+38=45
Exploring Operation: 38-7=31, Resulting Numbers: [22, 31]
Generated Node #0,4,3: 36:[22, 31] Operation: 38-7=31
Exploring Operation: 38-22=16, Resulting Numbers: [7, 16]
Generated Node #0,4,4: 36:[7, 16] Operation: 38-22=16
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 36:[7, 16], Operations: ['84-62=22', '38-22=16']
Exploring Operation: 7+16=23, Resulting Numbers: [23]
23,36 unequal: No Solution
Exploring Operation: 16-7=9, Resulting Numbers: [9]
9,36 unequal: No Solution
Exploring Operation: 7*16=112, Resulting Numbers: [112]
112,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 36:[38, 15], Operations: ['84-62=22', '22-7=15']
Exploring Operation: 38-15=23, Resulting Numbers: [23]
23,36 unequal: No Solution
Exploring Operation: 38+15=53, Resulting Numbers: [53]
53,36 unequal: No Solution
Exploring Operation: 38*15=570, Resulting Numbers: [570]
570,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 36:[38, 29], Operations: ['84-62=22', '7+22=29']
Exploring Operation: 38+29=67, Resulting Numbers: [67]
67,36 unequal: No Solution
Exploring Operation: 38-29=9, Resulting Numbers: [9]
9,36 unequal: No Solution
Exploring Operation: 38*29=1102, Resulting Numbers: [1102]
1102,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 36:[22, 31], Operations: ['84-62=22', '38-7=31']
Exploring Operation: 31-22=9, Resulting Numbers: [9]
9,36 unequal: No Solution
Exploring Operation: 22*31=682, Resulting Numbers: [682]
682,36 unequal: No Solution
Exploring Operation: 22+31=53, Resulting Numbers: [53]
53,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 36:[22, 45], Operations: ['84-62=22', '7+38=45']
Exploring Operation: 22*45=990, Resulting Numbers: [990]
990,36 unequal: No Solution
Exploring Operation: 45-22=23, Resulting Numbers: [23]
23,36 unequal: No Solution
Exploring Operation: 22+45=67, Resulting Numbers: [67]
67,36 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: 36:[38, 62, 12], Operations: ['84/7=12']
Exploring Operation: 62+12=74, Resulting Numbers: [38, 74]
Generated Node #0,2,0: 36:[38, 74] Operation: 62+12=74
Exploring Operation: 62-38=24, Resulting Numbers: [12, 24]
Generated Node #0,2,1: 36:[12, 24] Operation: 62-38=24
Exploring Operation: 38-12=26, Resulting Numbers: [62, 26]
Generated Node #0,2,2: 36:[62, 26] Operation: 38-12=26
Exploring Operation: 38+12=50, Resulting Numbers: [62, 50]
Generated Node #0,2,3: 36:[62, 50] Operation: 38+12=50
Exploring Operation: 62-12=50, Resulting Numbers: [38, 50]
Generated Node #0,2,4: 36:[38, 50] Operation: 62-12=50
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 36:[12, 24], Operations: ['84/7=12', '62-38=24']
Exploring Operation: 24-12=12, Resulting Numbers: [12]
12,36 unequal: No Solution
Exploring Operation: 12+24=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[7, 84, 38, 62], Operations: []
Exploring Operation: 84/7=12, Resulting Numbers: [38, 62, 12]
Generated Node #0,2: 36:[38, 62, 12] Operation: 84/7=12
Moving to Node #0,2
Current State: 36:[38, 62, 12], Operations: ['84/7=12']
Exploring Operation: 62-38=24, Resulting Numbers: [12, 24]
Generated Node #0,2,1: 36:[12, 24] Operation: 62-38=24
Moving to Node #0,2,1
Current State: 36:[12, 24], Operations: ['84/7=12', '62-38=24']
Exploring Operation: 12+24=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875 | hs_5 | sum_heuristic |
[
93,
54,
16,
58
] | 97 | [
"58-54=4",
"16/4=4",
"93+4=97"
] | Current State: 97:[93, 54, 16, 58], Operations: []
Exploring Operation: 58-54=4, Resulting Numbers: [93, 16, 4]
Generated Node #2: [93, 16, 4] from Operation: 58-54=4
Current State: 97:[93, 16, 4], Operations: ['58-54=4']
Exploring Operation: 16/4=4, Resulting Numbers: [93, 4]
Generated Node #3: [93, 4] from Operation: 16/4=4
Current State: 97:[93, 4], Operations: ['58-54=4', '16/4=4']
Exploring Operation: 93+4=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[93, 54, 16, 58], Operations: []
Exploring Operation: 93+16=109, Resulting Numbers: [54, 58, 109]
Generated Node #0,0: 97:[54, 58, 109] Operation: 93+16=109
Exploring Operation: 54+58=112, Resulting Numbers: [93, 16, 112]
Generated Node #0,1: 97:[93, 16, 112] Operation: 54+58=112
Exploring Operation: 16+58=74, Resulting Numbers: [93, 54, 74]
Generated Node #0,2: 97:[93, 54, 74] Operation: 16+58=74
Exploring Operation: 54+16=70, Resulting Numbers: [93, 58, 70]
Generated Node #0,3: 97:[93, 58, 70] Operation: 54+16=70
Moving to Node #0,2
Current State: 97:[93, 54, 74], Operations: ['16+58=74']
Exploring Operation: 93+54=147, Resulting Numbers: [74, 147]
Generated Node #0,2,0: 97:[74, 147] Operation: 93+54=147
Exploring Operation: 74-54=20, Resulting Numbers: [93, 20]
Generated Node #0,2,1: 97:[93, 20] Operation: 74-54=20
Exploring Operation: 93-54=39, Resulting Numbers: [74, 39]
Generated Node #0,2,2: 97:[74, 39] Operation: 93-54=39
Exploring Operation: 54+74=128, Resulting Numbers: [93, 128]
Generated Node #0,2,3: 97:[93, 128] Operation: 54+74=128
Moving to Node #0,3
Current State: 97:[93, 58, 70], Operations: ['54+16=70']
Exploring Operation: 93-58=35, Resulting Numbers: [70, 35]
Generated Node #0,3,0: 97:[70, 35] Operation: 93-58=35
Exploring Operation: 93+58=151, Resulting Numbers: [70, 151]
Generated Node #0,3,1: 97:[70, 151] Operation: 93+58=151
Exploring Operation: 58+70=128, Resulting Numbers: [93, 128]
Generated Node #0,3,2: 97:[93, 128] Operation: 58+70=128
Exploring Operation: 70-58=12, Resulting Numbers: [93, 12]
Generated Node #0,3,3: 97:[93, 12] Operation: 70-58=12
Moving to Node #0,0
Current State: 97:[54, 58, 109], Operations: ['93+16=109']
Exploring Operation: 109-54=55, Resulting Numbers: [58, 55]
Generated Node #0,0,0: 97:[58, 55] Operation: 109-54=55
Exploring Operation: 58-54=4, Resulting Numbers: [109, 4]
Generated Node #0,0,1: 97:[109, 4] Operation: 58-54=4
Exploring Operation: 54+58=112, Resulting Numbers: [109, 112]
Generated Node #0,0,2: 97:[109, 112] Operation: 54+58=112
Exploring Operation: 109-58=51, Resulting Numbers: [54, 51]
Generated Node #0,0,3: 97:[54, 51] Operation: 109-58=51
Moving to Node #0,1
Current State: 97:[93, 16, 112], Operations: ['54+58=112']
Exploring Operation: 112-16=96, Resulting Numbers: [93, 96]
Generated Node #0,1,0: 97:[93, 96] Operation: 112-16=96
Exploring Operation: 93-16=77, Resulting Numbers: [112, 77]
Generated Node #0,1,1: 97:[112, 77] Operation: 93-16=77
Exploring Operation: 16+112=128, Resulting Numbers: [93, 128]
Generated Node #0,1,2: 97:[93, 128] Operation: 16+112=128
Exploring Operation: 93+16=109, Resulting Numbers: [112, 109]
Generated Node #0,1,3: 97:[112, 109] Operation: 93+16=109
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 97:[93, 96], Operations: ['54+58=112', '112-16=96']
Exploring Operation: 96-93=3, Resulting Numbers: [3]
3,97 unequal: No Solution
Exploring Operation: 93+96=189, Resulting Numbers: [189]
189,97 unequal: No Solution
Exploring Operation: 93*96=8928, Resulting Numbers: [8928]
8928,97 unequal: No Solution
No 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: 97:[112, 109], Operations: ['54+58=112', '93+16=109']
Exploring Operation: 112-109=3, Resulting Numbers: [3]
3,97 unequal: No Solution
Exploring Operation: 112+109=221, Resulting Numbers: [221]
221,97 unequal: No Solution
Exploring Operation: 112*109=12208, Resulting Numbers: [12208]
12208,97 unequal: No Solution
No 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: 97:[112, 77], Operations: ['54+58=112', '93-16=77']
Exploring Operation: 112-77=35, Resulting Numbers: [35]
35,97 unequal: No Solution
Exploring Operation: 112+77=189, Resulting Numbers: [189]
189,97 unequal: No Solution
Exploring Operation: 112*77=8624, Resulting Numbers: [8624]
8624,97 unequal: No Solution
No 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: 97:[93, 128], Operations: ['54+58=112', '16+112=128']
Exploring Operation: 93*128=11904, Resulting Numbers: [11904]
11904,97 unequal: No Solution
Exploring Operation: 128-93=35, Resulting Numbers: [35]
35,97 unequal: No Solution
Exploring Operation: 93+128=221, Resulting Numbers: [221]
221,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,2
Current State: 97:[109, 112], Operations: ['93+16=109', '54+58=112']
Exploring Operation: 112-109=3, Resulting Numbers: [3]
3,97 unequal: No Solution
Exploring Operation: 109+112=221, Resulting Numbers: [221]
221,97 unequal: No Solution
Exploring Operation: 109*112=12208, Resulting Numbers: [12208]
12208,97 unequal: No Solution
Moving to Node #0,2,3
Current State: 97:[93, 128], Operations: ['16+58=74', '54+74=128']
Exploring Operation: 93*128=11904, Resulting Numbers: [11904]
11904,97 unequal: No Solution
Exploring Operation: 93+128=221, Resulting Numbers: [221]
221,97 unequal: No Solution
Exploring Operation: 128-93=35, Resulting Numbers: [35]
35,97 unequal: No Solution
Moving to Node #0,3,2
Current State: 97:[93, 128], Operations: ['54+16=70', '58+70=128']
Exploring Operation: 93+128=221, Resulting Numbers: [221]
221,97 unequal: No Solution
Exploring Operation: 128-93=35, Resulting Numbers: [35]
35,97 unequal: No Solution
Exploring Operation: 93*128=11904, Resulting Numbers: [11904]
11904,97 unequal: No Solution
Moving to Node #0,2,0
Current State: 97:[74, 147], Operations: ['16+58=74', '93+54=147']
Exploring Operation: 147-74=73, Resulting Numbers: [73]
73,97 unequal: No Solution
Exploring Operation: 74*147=10878, Resulting Numbers: [10878]
10878,97 unequal: No Solution
Exploring Operation: 74+147=221, Resulting Numbers: [221]
221,97 unequal: No Solution
Moving to Node #0,2,1
Current State: 97:[93, 20], Operations: ['16+58=74', '74-54=20']
Exploring Operation: 93+20=113, Resulting Numbers: [113]
113,97 unequal: No Solution
Exploring Operation: 93-20=73, Resulting Numbers: [73]
73,97 unequal: No Solution
Exploring Operation: 93*20=1860, Resulting Numbers: [1860]
1860,97 unequal: No Solution
Moving to Node #0,3,1
Current State: 97:[70, 151], Operations: ['54+16=70', '93+58=151']
Exploring Operation: 70*151=10570, Resulting Numbers: [10570]
10570,97 unequal: No Solution
Exploring Operation: 151-70=81, Resulting Numbers: [81]
81,97 unequal: No Solution
Exploring Operation: 70+151=221, Resulting Numbers: [221]
221,97 unequal: No Solution
Moving to Node #0,0,0
Current State: 97:[58, 55], Operations: ['93+16=109', '109-54=55']
Exploring Operation: 58*55=3190, Resulting Numbers: [3190]
3190,97 unequal: No Solution
Exploring Operation: 58-55=3, Resulting Numbers: [3]
3,97 unequal: No Solution
Exploring Operation: 58+55=113, Resulting Numbers: [113]
113,97 unequal: No Solution
Moving to Node #0,2,2
Current State: 97:[74, 39], Operations: ['16+58=74', '93-54=39']
Exploring Operation: 74-39=35, Resulting Numbers: [35]
35,97 unequal: No Solution
Exploring Operation: 74*39=2886, Resulting Numbers: [2886]
2886,97 unequal: No Solution
Exploring Operation: 74+39=113, Resulting Numbers: [113]
113,97 unequal: No Solution
Moving to Node #0,3,0
Current State: 97:[70, 35], Operations: ['54+16=70', '93-58=35']
Exploring Operation: 70*35=2450, Resulting Numbers: [2450]
2450,97 unequal: No Solution
Exploring Operation: 70-35=35, Resulting Numbers: [35]
35,97 unequal: No Solution
Exploring Operation: 70+35=105, Resulting Numbers: [105]
105,97 unequal: No Solution
Exploring Operation: 70/35=2, Resulting Numbers: [2]
2,97 unequal: No Solution
Moving to Node #0,0,3
Current State: 97:[54, 51], Operations: ['93+16=109', '109-58=51']
Exploring Operation: 54+51=105, Resulting Numbers: [105]
105,97 unequal: No Solution
Exploring Operation: 54*51=2754, Resulting Numbers: [2754]
2754,97 unequal: No Solution
Exploring Operation: 54-51=3, Resulting Numbers: [3]
3,97 unequal: No Solution
Moving to Node #0,3,3
Current State: 97:[93, 12], Operations: ['54+16=70', '70-58=12']
Exploring Operation: 93+12=105, Resulting Numbers: [105]
105,97 unequal: No Solution
Exploring Operation: 93-12=81, Resulting Numbers: [81]
81,97 unequal: No Solution
Exploring Operation: 93*12=1116, Resulting Numbers: [1116]
1116,97 unequal: No Solution
Moving to Node #0,0,1
Current State: 97:[109, 4], Operations: ['93+16=109', '58-54=4']
Exploring Operation: 109*4=436, Resulting Numbers: [436]
436,97 unequal: No Solution
Exploring Operation: 109+4=113, Resulting Numbers: [113]
113,97 unequal: No Solution
Exploring Operation: 109-4=105, Resulting Numbers: [105]
105,97 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
66,
30,
5,
23
] | 18 | [
"66-30=36",
"23-5=18",
"36-18=18"
] | Current State: 18:[66, 30, 5, 23], Operations: []
Exploring Operation: 66-30=36, Resulting Numbers: [5, 23, 36]
Generated Node #2: [5, 23, 36] from Operation: 66-30=36
Current State: 18:[5, 23, 36], Operations: ['66-30=36']
Exploring Operation: 23-5=18, Resulting Numbers: [36, 18]
Generated Node #3: [36, 18] from Operation: 23-5=18
Current State: 18:[36, 18], Operations: ['66-30=36', '23-5=18']
Exploring Operation: 36-18=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[66, 30, 5, 23], Operations: []
Exploring Operation: 66-30=36, Resulting Numbers: [5, 23, 36]
Generated Node #0,0: 18:[5, 23, 36] Operation: 66-30=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 18:[5, 23, 36], Operations: ['66-30=36']
Exploring Operation: 36-23=13, Resulting Numbers: [5, 13]
Generated Node #0,0,0: 18:[5, 13] Operation: 36-23=13
Moving to Node #0,0,0
Current State: 18:[5, 13], Operations: ['66-30=36', '36-23=13']
Exploring Operation: 5+13=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[66, 30, 5, 23], Operations: []
Exploring Operation: 66-30=36, Resulting Numbers: [5, 23, 36]
Generated Node #0,0: 18:[5, 23, 36] Operation: 66-30=36
Moving to Node #0,0
Current State: 18:[5, 23, 36], Operations: ['66-30=36']
Exploring Operation: 36-23=13, Resulting Numbers: [5, 13]
Generated Node #0,0,0: 18:[5, 13] Operation: 36-23=13
Moving to Node #0,0,0
Current State: 18:[5, 13], Operations: ['66-30=36', '36-23=13']
Exploring Operation: 5+13=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
25,
11,
19,
92
] | 75 | [
"25+11=36",
"19+92=111",
"111-36=75"
] | Current State: 75:[25, 11, 19, 92], Operations: []
Exploring Operation: 25+11=36, Resulting Numbers: [19, 92, 36]
Generated Node #2: [19, 92, 36] from Operation: 25+11=36
Current State: 75:[19, 92, 36], Operations: ['25+11=36']
Exploring Operation: 19+92=111, Resulting Numbers: [36, 111]
Generated Node #3: [36, 111] from Operation: 19+92=111
Current State: 75:[36, 111], Operations: ['25+11=36', '19+92=111']
Exploring Operation: 111-36=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[25, 11, 19, 92], Operations: []
Exploring Operation: 92-25=67, Resulting Numbers: [11, 19, 67]
Generated Node #0,0: 75:[11, 19, 67] Operation: 92-25=67
Exploring Operation: 92-19=73, Resulting Numbers: [25, 11, 73]
Generated Node #0,1: 75:[25, 11, 73] Operation: 92-19=73
Exploring Operation: 92-11=81, Resulting Numbers: [25, 19, 81]
Generated Node #0,2: 75:[25, 19, 81] Operation: 92-11=81
Moving to Node #0,1
Current State: 75:[25, 11, 73], Operations: ['92-19=73']
Exploring Operation: 25+11=36, Resulting Numbers: [73, 36]
Generated Node #0,1,0: 75:[73, 36] Operation: 25+11=36
Exploring Operation: 11+73=84, Resulting Numbers: [25, 84]
Generated Node #0,1,1: 75:[25, 84] Operation: 11+73=84
Exploring Operation: 25-11=14, Resulting Numbers: [73, 14]
Generated Node #0,1,2: 75:[73, 14] Operation: 25-11=14
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 75:[73, 14], Operations: ['92-19=73', '25-11=14']
Exploring Operation: 73-14=59, Resulting Numbers: [59]
59,75 unequal: No Solution
Exploring Operation: 73*14=1022, Resulting Numbers: [1022]
1022,75 unequal: No Solution
Exploring Operation: 73+14=87, Resulting Numbers: [87]
87,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 75:[25, 84], Operations: ['92-19=73', '11+73=84']
Exploring Operation: 84-25=59, Resulting Numbers: [59]
59,75 unequal: No Solution
Exploring Operation: 25*84=2100, Resulting Numbers: [2100]
2100,75 unequal: No Solution
Exploring Operation: 25+84=109, Resulting Numbers: [109]
109,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 75:[73, 36], Operations: ['92-19=73', '25+11=36']
Exploring Operation: 73*36=2628, Resulting Numbers: [2628]
2628,75 unequal: No Solution
Exploring Operation: 73-36=37, Resulting Numbers: [37]
37,75 unequal: No Solution
Exploring Operation: 73+36=109, Resulting Numbers: [109]
109,75 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: 75:[25, 19, 81], Operations: ['92-11=81']
Exploring Operation: 81-25=56, Resulting Numbers: [19, 56]
Generated Node #0,2,0: 75:[19, 56] Operation: 81-25=56
Exploring Operation: 81-19=62, Resulting Numbers: [25, 62]
Generated Node #0,2,1: 75:[25, 62] Operation: 81-19=62
Exploring Operation: 25-19=6, Resulting Numbers: [81, 6]
Generated Node #0,2,2: 75:[81, 6] Operation: 25-19=6
Moving to Node #0,0
Current State: 75:[11, 19, 67], Operations: ['92-25=67']
Exploring Operation: 11+67=78, Resulting Numbers: [19, 78]
Generated Node #0,0,0: 75:[19, 78] Operation: 11+67=78
Exploring Operation: 19-11=8, Resulting Numbers: [67, 8]
Generated Node #0,0,1: 75:[67, 8] Operation: 19-11=8
Exploring Operation: 11+19=30, Resulting Numbers: [67, 30]
Generated Node #0,0,2: 75:[67, 30] Operation: 11+19=30
Moving to Node #0,2,2
Current State: 75:[81, 6], Operations: ['92-11=81', '25-19=6']
Exploring Operation: 81-6=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[25, 11, 19, 92], Operations: []
Exploring Operation: 92-11=81, Resulting Numbers: [25, 19, 81]
Generated Node #0,2: 75:[25, 19, 81] Operation: 92-11=81
Moving to Node #0,2
Current State: 75:[25, 19, 81], Operations: ['92-11=81']
Exploring Operation: 25-19=6, Resulting Numbers: [81, 6]
Generated Node #0,2,2: 75:[81, 6] Operation: 25-19=6
Moving to Node #0,2,2
Current State: 75:[81, 6], Operations: ['92-11=81', '25-19=6']
Exploring Operation: 81-6=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 0.977431 | hs_3 | mult_heuristic |
[
15,
60,
63,
16
] | 20 | [
"63-15=48",
"60*16=960",
"960/48=20"
] | Current State: 20:[15, 60, 63, 16], Operations: []
Exploring Operation: 63-15=48, Resulting Numbers: [60, 16, 48]
Generated Node #2: [60, 16, 48] from Operation: 63-15=48
Current State: 20:[60, 16, 48], Operations: ['63-15=48']
Exploring Operation: 60*16=960, Resulting Numbers: [48, 960]
Generated Node #3: [48, 960] from Operation: 60*16=960
Current State: 20:[48, 960], Operations: ['63-15=48', '60*16=960']
Exploring Operation: 960/48=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[15, 60, 63, 16], Operations: []
Exploring Operation: 60/15=4, Resulting Numbers: [63, 16, 4]
Generated Node #0,0: 20:[63, 16, 4] Operation: 60/15=4
Exploring Operation: 63-60=3, Resulting Numbers: [15, 16, 3]
Generated Node #0,1: 20:[15, 16, 3] Operation: 63-60=3
Exploring Operation: 60-15=45, Resulting Numbers: [63, 16, 45]
Generated Node #0,2: 20:[63, 16, 45] Operation: 60-15=45
Exploring Operation: 63-15=48, Resulting Numbers: [60, 16, 48]
Generated Node #0,3: 20:[60, 16, 48] Operation: 63-15=48
Start Sub Search at level 1: Moving to Node #0,1
Current State: 20:[15, 16, 3], Operations: ['63-60=3']
Exploring Operation: 15-3=12, Resulting Numbers: [16, 12]
Generated Node #0,1,0: 20:[16, 12] Operation: 15-3=12
Exploring Operation: 16-15=1, Resulting Numbers: [3, 1]
Generated Node #0,1,1: 20:[3, 1] Operation: 16-15=1
Exploring Operation: 15/3=5, Resulting Numbers: [16, 5]
Generated Node #0,1,2: 20:[16, 5] Operation: 15/3=5
Exploring Operation: 15+3=18, Resulting Numbers: [16, 18]
Generated Node #0,1,3: 20:[16, 18] Operation: 15+3=18
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 20:[3, 1], Operations: ['63-60=3', '16-15=1']
Exploring Operation: 3*1=3, Resulting Numbers: [3]
3,20 unequal: No Solution
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,20 unequal: No Solution
Exploring Operation: 3+1=4, Resulting Numbers: [4]
4,20 unequal: No Solution
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 20:[16, 5], Operations: ['63-60=3', '15/3=5']
Exploring Operation: 16*5=80, Resulting Numbers: [80]
80,20 unequal: No Solution
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,20 unequal: No Solution
Exploring Operation: 16+5=21, Resulting Numbers: [21]
21,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 20:[16, 12], Operations: ['63-60=3', '15-3=12']
Exploring Operation: 16+12=28, Resulting Numbers: [28]
28,20 unequal: No Solution
Exploring Operation: 16*12=192, Resulting Numbers: [192]
192,20 unequal: No Solution
Exploring Operation: 16-12=4, Resulting Numbers: [4]
4,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 20:[16, 18], Operations: ['63-60=3', '15+3=18']
Exploring Operation: 18-16=2, Resulting Numbers: [2]
2,20 unequal: No Solution
Exploring Operation: 16*18=288, Resulting Numbers: [288]
288,20 unequal: No Solution
Exploring Operation: 16+18=34, Resulting Numbers: [34]
34,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[63, 16, 4], Operations: ['60/15=4']
Exploring Operation: 16/4=4, Resulting Numbers: [63, 4]
Generated Node #0,0,0: 20:[63, 4] Operation: 16/4=4
Exploring Operation: 63-4=59, Resulting Numbers: [16, 59]
Generated Node #0,0,1: 20:[16, 59] Operation: 63-4=59
Exploring Operation: 16+4=20, Resulting Numbers: [63, 20]
Generated Node #0,0,2: 20:[63, 20] Operation: 16+4=20
Exploring Operation: 63-16=47, Resulting Numbers: [4, 47]
Generated Node #0,0,3: 20:[4, 47] Operation: 63-16=47
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 20:[4, 47], Operations: ['60/15=4', '63-16=47']
Exploring Operation: 47-4=43, Resulting Numbers: [43]
43,20 unequal: No Solution
Exploring Operation: 4+47=51, Resulting Numbers: [51]
51,20 unequal: No Solution
Exploring Operation: 4*47=188, Resulting Numbers: [188]
188,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 20:[63, 4], Operations: ['60/15=4', '16/4=4']
Exploring Operation: 63*4=252, Resulting Numbers: [252]
252,20 unequal: No Solution
Exploring Operation: 63+4=67, Resulting Numbers: [67]
67,20 unequal: No Solution
Exploring Operation: 63-4=59, Resulting Numbers: [59]
59,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 20:[16, 59], Operations: ['60/15=4', '63-4=59']
Exploring Operation: 16+59=75, Resulting Numbers: [75]
75,20 unequal: No Solution
Exploring Operation: 16*59=944, Resulting Numbers: [944]
944,20 unequal: No Solution
Exploring Operation: 59-16=43, Resulting Numbers: [43]
43,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 20:[63, 20], Operations: ['60/15=4', '16+4=20']
Exploring Operation: 63-20=43, Resulting Numbers: [43]
43,20 unequal: No Solution
Exploring Operation: 63*20=1260, Resulting Numbers: [1260]
1260,20 unequal: No Solution
Exploring Operation: 63+20=83, Resulting Numbers: [83]
83,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 20:[63, 16, 45], Operations: ['60-15=45']
Exploring Operation: 45-16=29, Resulting Numbers: [63, 29]
Generated Node #0,2,0: 20:[63, 29] Operation: 45-16=29
Exploring Operation: 63-45=18, Resulting Numbers: [16, 18]
Generated Node #0,2,1: 20:[16, 18] Operation: 63-45=18
Exploring Operation: 63-16=47, Resulting Numbers: [45, 47]
Generated Node #0,2,2: 20:[45, 47] Operation: 63-16=47
Exploring Operation: 63+16=79, Resulting Numbers: [45, 79]
Generated Node #0,2,3: 20:[45, 79] Operation: 63+16=79
Moving to Node #0,2,1
Current State: 20:[16, 18], Operations: ['60-15=45', '63-45=18']
Exploring Operation: 16*18=288, Resulting Numbers: [288]
288,20 unequal: No Solution
Exploring Operation: 18-16=2, Resulting Numbers: [2]
2,20 unequal: No Solution
Exploring Operation: 16+18=34, Resulting Numbers: [34]
34,20 unequal: No Solution
Moving to Node #0,2,2
Current State: 20:[45, 47], Operations: ['60-15=45', '63-16=47']
Exploring Operation: 45*47=2115, Resulting Numbers: [2115]
2115,20 unequal: No Solution
Exploring Operation: 47-45=2, Resulting Numbers: [2]
2,20 unequal: No Solution
Exploring Operation: 45+47=92, Resulting Numbers: [92]
92,20 unequal: No Solution
Moving to Node #0,2,0
Current State: 20:[63, 29], Operations: ['60-15=45', '45-16=29']
Exploring Operation: 63*29=1827, Resulting Numbers: [1827]
1827,20 unequal: No Solution
Exploring Operation: 63+29=92, Resulting Numbers: [92]
92,20 unequal: No Solution
Exploring Operation: 63-29=34, Resulting Numbers: [34]
34,20 unequal: No Solution
Moving to Node #0,2,3
Current State: 20:[45, 79], Operations: ['60-15=45', '63+16=79']
Exploring Operation: 79-45=34, Resulting Numbers: [34]
34,20 unequal: No Solution
Exploring Operation: 45*79=3555, Resulting Numbers: [3555]
3555,20 unequal: No Solution
Exploring Operation: 45+79=124, Resulting Numbers: [124]
124,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 20:[60, 16, 48], Operations: ['63-15=48']
Exploring Operation: 48-16=32, Resulting Numbers: [60, 32]
Generated Node #0,3,0: 20:[60, 32] Operation: 48-16=32
Exploring Operation: 60-16=44, Resulting Numbers: [48, 44]
Generated Node #0,3,1: 20:[48, 44] Operation: 60-16=44
Exploring Operation: 60-48=12, Resulting Numbers: [16, 12]
Generated Node #0,3,2: 20:[16, 12] Operation: 60-48=12
Exploring Operation: 48/16=3, Resulting Numbers: [60, 3]
Generated Node #0,3,3: 20:[60, 3] Operation: 48/16=3
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 20:[16, 12], Operations: ['63-15=48', '60-48=12']
Exploring Operation: 16-12=4, Resulting Numbers: [4]
4,20 unequal: No Solution
Exploring Operation: 16*12=192, Resulting Numbers: [192]
192,20 unequal: No Solution
Exploring Operation: 16+12=28, Resulting Numbers: [28]
28,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 20:[60, 3], Operations: ['63-15=48', '48/16=3']
Exploring Operation: 60*3=180, Resulting Numbers: [180]
180,20 unequal: No Solution
Exploring Operation: 60-3=57, Resulting Numbers: [57]
57,20 unequal: No Solution
Exploring Operation: 60+3=63, Resulting Numbers: [63]
63,20 unequal: No Solution
Exploring Operation: 60/3=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[15, 60, 63, 16], Operations: []
Exploring Operation: 63-15=48, Resulting Numbers: [60, 16, 48]
Generated Node #0,3: 20:[60, 16, 48] Operation: 63-15=48
Moving to Node #0,3
Current State: 20:[60, 16, 48], Operations: ['63-15=48']
Exploring Operation: 48/16=3, Resulting Numbers: [60, 3]
Generated Node #0,3,3: 20:[60, 3] Operation: 48/16=3
Moving to Node #0,3,3
Current State: 20:[60, 3], Operations: ['63-15=48', '48/16=3']
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.940972 | hs_4 | mult_heuristic |
[
95,
83,
92,
15
] | 88 | [
"95-83=12",
"15*12=180",
"180-92=88"
] | Current State: 88:[95, 83, 92, 15], Operations: []
Exploring Operation: 95-83=12, Resulting Numbers: [92, 15, 12]
Generated Node #2: [92, 15, 12] from Operation: 95-83=12
Current State: 88:[92, 15, 12], Operations: ['95-83=12']
Exploring Operation: 15*12=180, Resulting Numbers: [92, 180]
Generated Node #3: [92, 180] from Operation: 15*12=180
Current State: 88:[92, 180], Operations: ['95-83=12', '15*12=180']
Exploring Operation: 180-92=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[95, 83, 92, 15], Operations: []
Exploring Operation: 95-92=3, Resulting Numbers: [83, 15, 3]
Generated Node #0,0: 88:[83, 15, 3] Operation: 95-92=3
Exploring Operation: 95-83=12, Resulting Numbers: [92, 15, 12]
Generated Node #0,1: 88:[92, 15, 12] Operation: 95-83=12
Moving to Node #0,1
Current State: 88:[92, 15, 12], Operations: ['95-83=12']
Exploring Operation: 15+12=27, Resulting Numbers: [92, 27]
Generated Node #0,1,0: 88:[92, 27] Operation: 15+12=27
Exploring Operation: 15-12=3, Resulting Numbers: [92, 3]
Generated Node #0,1,1: 88:[92, 3] Operation: 15-12=3
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 88:[92, 3], Operations: ['95-83=12', '15-12=3']
Exploring Operation: 92+3=95, Resulting Numbers: [95]
95,88 unequal: No Solution
Exploring Operation: 92-3=89, Resulting Numbers: [89]
89,88 unequal: No Solution
No 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: 88:[92, 27], Operations: ['95-83=12', '15+12=27']
Exploring Operation: 92+27=119, Resulting Numbers: [119]
119,88 unequal: No Solution
Exploring Operation: 92-27=65, Resulting Numbers: [65]
65,88 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: 88:[83, 15, 3], Operations: ['95-92=3']
Exploring Operation: 15*3=45, Resulting Numbers: [83, 45]
Generated Node #0,0,0: 88:[83, 45] Operation: 15*3=45
Exploring Operation: 83+3=86, Resulting Numbers: [15, 86]
Generated Node #0,0,1: 88:[15, 86] Operation: 83+3=86
Moving to Node #0,0,0
Current State: 88:[83, 45], Operations: ['95-92=3', '15*3=45']
Exploring Operation: 83-45=38, Resulting Numbers: [38]
38,88 unequal: No Solution
Exploring Operation: 83+45=128, Resulting Numbers: [128]
128,88 unequal: No Solution
Moving to Node #0,0,1
Current State: 88:[15, 86], Operations: ['95-92=3', '83+3=86']
Exploring Operation: 86-15=71, Resulting Numbers: [71]
71,88 unequal: No Solution
Exploring Operation: 15+86=101, Resulting Numbers: [101]
101,88 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
96,
68,
16,
82
] | 14 | [
"96+68=164",
"164/82=2",
"16-2=14"
] | Current State: 14:[96, 68, 16, 82], Operations: []
Exploring Operation: 96+68=164, Resulting Numbers: [16, 82, 164]
Generated Node #2: [16, 82, 164] from Operation: 96+68=164
Current State: 14:[16, 82, 164], Operations: ['96+68=164']
Exploring Operation: 164/82=2, Resulting Numbers: [16, 2]
Generated Node #3: [16, 2] from Operation: 164/82=2
Current State: 14:[16, 2], Operations: ['96+68=164', '164/82=2']
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[96, 68, 16, 82], Operations: []
Exploring Operation: 96-82=14, Resulting Numbers: [68, 16, 14]
Generated Node #0,0: 14:[68, 16, 14] Operation: 96-82=14
Exploring Operation: 96/16=6, Resulting Numbers: [68, 82, 6]
Generated Node #0,1: 14:[68, 82, 6] Operation: 96/16=6
Exploring Operation: 82-68=14, Resulting Numbers: [96, 16, 14]
Generated Node #0,2: 14:[96, 16, 14] Operation: 82-68=14
Exploring Operation: 96-68=28, Resulting Numbers: [16, 82, 28]
Generated Node #0,3: 14:[16, 82, 28] Operation: 96-68=28
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[68, 16, 14], Operations: ['96-82=14']
Exploring Operation: 68-16=52, Resulting Numbers: [14, 52]
Generated Node #0,0,0: 14:[14, 52] Operation: 68-16=52
Exploring Operation: 68+16=84, Resulting Numbers: [14, 84]
Generated Node #0,0,1: 14:[14, 84] Operation: 68+16=84
Exploring Operation: 16-14=2, Resulting Numbers: [68, 2]
Generated Node #0,0,2: 14:[68, 2] Operation: 16-14=2
Exploring Operation: 68-14=54, Resulting Numbers: [16, 54]
Generated Node #0,0,3: 14:[16, 54] Operation: 68-14=54
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 14:[14, 52], Operations: ['96-82=14', '68-16=52']
Exploring Operation: 52-14=38, Resulting Numbers: [38]
38,14 unequal: No Solution
Exploring Operation: 14+52=66, Resulting Numbers: [66]
66,14 unequal: No Solution
Exploring Operation: 14*52=728, Resulting Numbers: [728]
728,14 unequal: No Solution
No 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: 14:[16, 54], Operations: ['96-82=14', '68-14=54']
Exploring Operation: 16+54=70, Resulting Numbers: [70]
70,14 unequal: No Solution
Exploring Operation: 16*54=864, Resulting Numbers: [864]
864,14 unequal: No Solution
Exploring Operation: 54-16=38, Resulting Numbers: [38]
38,14 unequal: No Solution
No 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: 14:[68, 2], Operations: ['96-82=14', '16-14=2']
Exploring Operation: 68-2=66, Resulting Numbers: [66]
66,14 unequal: No Solution
Exploring Operation: 68*2=136, Resulting Numbers: [136]
136,14 unequal: No Solution
Exploring Operation: 68/2=34, Resulting Numbers: [34]
34,14 unequal: No Solution
Exploring Operation: 68+2=70, Resulting Numbers: [70]
70,14 unequal: No Solution
No 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: 14:[14, 84], Operations: ['96-82=14', '68+16=84']
Exploring Operation: 84-14=70, Resulting Numbers: [70]
70,14 unequal: No Solution
Exploring Operation: 14+84=98, Resulting Numbers: [98]
98,14 unequal: No Solution
Exploring Operation: 14*84=1176, Resulting Numbers: [1176]
1176,14 unequal: No Solution
Exploring Operation: 84/14=6, Resulting Numbers: [6]
6,14 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: 14:[96, 16, 14], Operations: ['82-68=14']
Exploring Operation: 96/16=6, Resulting Numbers: [14, 6]
Generated Node #0,2,0: 14:[14, 6] Operation: 96/16=6
Exploring Operation: 96-16=80, Resulting Numbers: [14, 80]
Generated Node #0,2,1: 14:[14, 80] Operation: 96-16=80
Exploring Operation: 96-14=82, Resulting Numbers: [16, 82]
Generated Node #0,2,2: 14:[16, 82] Operation: 96-14=82
Exploring Operation: 16-14=2, Resulting Numbers: [96, 2]
Generated Node #0,2,3: 14:[96, 2] Operation: 16-14=2
Moving to Node #0,2,0
Current State: 14:[14, 6], Operations: ['82-68=14', '96/16=6']
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,14 unequal: No Solution
Exploring Operation: 14+6=20, Resulting Numbers: [20]
20,14 unequal: No Solution
Exploring Operation: 14*6=84, Resulting Numbers: [84]
84,14 unequal: No Solution
Moving to Node #0,2,1
Current State: 14:[14, 80], Operations: ['82-68=14', '96-16=80']
Exploring Operation: 80-14=66, Resulting Numbers: [66]
66,14 unequal: No Solution
Exploring Operation: 14+80=94, Resulting Numbers: [94]
94,14 unequal: No Solution
Exploring Operation: 14*80=1120, Resulting Numbers: [1120]
1120,14 unequal: No Solution
Moving to Node #0,2,2
Current State: 14:[16, 82], Operations: ['82-68=14', '96-14=82']
Exploring Operation: 16+82=98, Resulting Numbers: [98]
98,14 unequal: No Solution
Exploring Operation: 16*82=1312, Resulting Numbers: [1312]
1312,14 unequal: No Solution
Exploring Operation: 82-16=66, Resulting Numbers: [66]
66,14 unequal: No Solution
Moving to Node #0,2,3
Current State: 14:[96, 2], Operations: ['82-68=14', '16-14=2']
Exploring Operation: 96*2=192, Resulting Numbers: [192]
192,14 unequal: No Solution
Exploring Operation: 96/2=48, Resulting Numbers: [48]
48,14 unequal: No Solution
Exploring Operation: 96+2=98, Resulting Numbers: [98]
98,14 unequal: No Solution
Exploring Operation: 96-2=94, Resulting Numbers: [94]
94,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,3
Current State: 14:[16, 82, 28], Operations: ['96-68=28']
Exploring Operation: 82-16=66, Resulting Numbers: [28, 66]
Generated Node #0,3,0: 14:[28, 66] Operation: 82-16=66
Exploring Operation: 16+82=98, Resulting Numbers: [28, 98]
Generated Node #0,3,1: 14:[28, 98] Operation: 16+82=98
Exploring Operation: 82-28=54, Resulting Numbers: [16, 54]
Generated Node #0,3,2: 14:[16, 54] Operation: 82-28=54
Exploring Operation: 28-16=12, Resulting Numbers: [82, 12]
Generated Node #0,3,3: 14:[82, 12] Operation: 28-16=12
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 14:[16, 54], Operations: ['96-68=28', '82-28=54']
Exploring Operation: 54-16=38, Resulting Numbers: [38]
38,14 unequal: No Solution
Exploring Operation: 16*54=864, Resulting Numbers: [864]
864,14 unequal: No Solution
Exploring Operation: 16+54=70, Resulting Numbers: [70]
70,14 unequal: No Solution
No 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: 14:[28, 66], Operations: ['96-68=28', '82-16=66']
Exploring Operation: 28+66=94, Resulting Numbers: [94]
94,14 unequal: No Solution
Exploring Operation: 66-28=38, Resulting Numbers: [38]
38,14 unequal: No Solution
Exploring Operation: 28*66=1848, Resulting Numbers: [1848]
1848,14 unequal: No Solution
No 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: 14:[82, 12], Operations: ['96-68=28', '28-16=12']
Exploring Operation: 82*12=984, Resulting Numbers: [984]
984,14 unequal: No Solution
Exploring Operation: 82+12=94, Resulting Numbers: [94]
94,14 unequal: No Solution
Exploring Operation: 82-12=70, Resulting Numbers: [70]
70,14 unequal: No Solution
No 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: 14:[28, 98], Operations: ['96-68=28', '16+82=98']
Exploring Operation: 28*98=2744, Resulting Numbers: [2744]
2744,14 unequal: No Solution
Exploring Operation: 98-28=70, Resulting Numbers: [70]
70,14 unequal: No Solution
Exploring Operation: 28+98=126, Resulting Numbers: [126]
126,14 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: 14:[68, 82, 6], Operations: ['96/16=6']
Exploring Operation: 68+6=74, Resulting Numbers: [82, 74]
Generated Node #0,1,0: 14:[82, 74] Operation: 68+6=74
Exploring Operation: 82-68=14, Resulting Numbers: [6, 14]
Generated Node #0,1,1: 14:[6, 14] Operation: 82-68=14
Exploring Operation: 68-6=62, Resulting Numbers: [82, 62]
Generated Node #0,1,2: 14:[82, 62] Operation: 68-6=62
Exploring Operation: 82-6=76, Resulting Numbers: [68, 76]
Generated Node #0,1,3: 14:[68, 76] Operation: 82-6=76
Moving to Node #0,1,1
Current State: 14:[6, 14], Operations: ['96/16=6', '82-68=14']
Exploring Operation: 6+14=20, Resulting Numbers: [20]
20,14 unequal: No Solution
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,14 unequal: No Solution
Exploring Operation: 6*14=84, Resulting Numbers: [84]
84,14 unequal: No Solution
Moving to Node #0,1,3
Current State: 14:[68, 76], Operations: ['96/16=6', '82-6=76']
Exploring Operation: 68*76=5168, Resulting Numbers: [5168]
5168,14 unequal: No Solution
Exploring Operation: 76-68=8, Resulting Numbers: [8]
8,14 unequal: No Solution
Exploring Operation: 68+76=144, Resulting Numbers: [144]
144,14 unequal: No Solution
Moving to Node #0,1,2
Current State: 14:[82, 62], Operations: ['96/16=6', '68-6=62']
Exploring Operation: 82*62=5084, Resulting Numbers: [5084]
5084,14 unequal: No Solution
Exploring Operation: 82-62=20, Resulting Numbers: [20]
20,14 unequal: No Solution
Exploring Operation: 82+62=144, Resulting Numbers: [144]
144,14 unequal: No Solution
Moving to Node #0,1,0
Current State: 14:[82, 74], Operations: ['96/16=6', '68+6=74']
Exploring Operation: 82+74=156, Resulting Numbers: [156]
156,14 unequal: No Solution
Exploring Operation: 82*74=6068, Resulting Numbers: [6068]
6068,14 unequal: No Solution
Exploring Operation: 82-74=8, Resulting Numbers: [8]
8,14 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 |
[
27,
90,
14,
21
] | 87 | [
"90*14=1260",
"1260/21=60",
"27+60=87"
] | Current State: 87:[27, 90, 14, 21], Operations: []
Exploring Operation: 90*14=1260, Resulting Numbers: [27, 21, 1260]
Generated Node #2: [27, 21, 1260] from Operation: 90*14=1260
Current State: 87:[27, 21, 1260], Operations: ['90*14=1260']
Exploring Operation: 1260/21=60, Resulting Numbers: [27, 60]
Generated Node #3: [27, 60] from Operation: 1260/21=60
Current State: 87:[27, 60], Operations: ['90*14=1260', '1260/21=60']
Exploring Operation: 27+60=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[27, 90, 14, 21], Operations: []
Exploring Operation: 21-14=7, Resulting Numbers: [27, 90, 7]
Generated Node #0,0: 87:[27, 90, 7] Operation: 21-14=7
Moving to Node #0,0
Current State: 87:[27, 90, 7], Operations: ['21-14=7']
Exploring Operation: 90-7=83, Resulting Numbers: [27, 83]
Generated Node #0,0,0: 87:[27, 83] Operation: 90-7=83
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 87:[27, 83], Operations: ['21-14=7', '90-7=83']
Exploring Operation: 27+83=110, Resulting Numbers: [110]
110,87 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 |
[
96,
3,
24,
19
] | 45 | [
"96/24=4",
"19-4=15",
"3*15=45"
] | Current State: 45:[96, 3, 24, 19], Operations: []
Exploring Operation: 96/24=4, Resulting Numbers: [3, 19, 4]
Generated Node #2: [3, 19, 4] from Operation: 96/24=4
Current State: 45:[3, 19, 4], Operations: ['96/24=4']
Exploring Operation: 19-4=15, Resulting Numbers: [3, 15]
Generated Node #3: [3, 15] from Operation: 19-4=15
Current State: 45:[3, 15], Operations: ['96/24=4', '19-4=15']
Exploring Operation: 3*15=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[96, 3, 24, 19], Operations: []
Exploring Operation: 96/24=4, Resulting Numbers: [3, 19, 4]
Generated Node #0,0: 45:[3, 19, 4] Operation: 96/24=4
Exploring Operation: 96/3=32, Resulting Numbers: [24, 19, 32]
Generated Node #0,1: 45:[24, 19, 32] Operation: 96/3=32
Moving to Node #0,0
Current State: 45:[3, 19, 4], Operations: ['96/24=4']
Exploring Operation: 19-4=15, Resulting Numbers: [3, 15]
Generated Node #0,0,0: 45:[3, 15] Operation: 19-4=15
Exploring Operation: 19-3=16, Resulting Numbers: [4, 16]
Generated Node #0,0,1: 45:[4, 16] Operation: 19-3=16
Moving to Node #0,1
Current State: 45:[24, 19, 32], Operations: ['96/3=32']
Exploring Operation: 32-24=8, Resulting Numbers: [19, 8]
Generated Node #0,1,0: 45:[19, 8] Operation: 32-24=8
Exploring Operation: 32-19=13, Resulting Numbers: [24, 13]
Generated Node #0,1,1: 45:[24, 13] Operation: 32-19=13
Moving to Node #0,0,0
Current State: 45:[3, 15], Operations: ['96/24=4', '19-4=15']
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,45 unequal: No Solution
Exploring Operation: 3*15=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[96, 3, 24, 19], Operations: []
Exploring Operation: 96/24=4, Resulting Numbers: [3, 19, 4]
Generated Node #0,0: 45:[3, 19, 4] Operation: 96/24=4
Moving to Node #0,0
Current State: 45:[3, 19, 4], Operations: ['96/24=4']
Exploring Operation: 19-4=15, Resulting Numbers: [3, 15]
Generated Node #0,0,0: 45:[3, 15] Operation: 19-4=15
Moving to Node #0,0,0
Current State: 45:[3, 15], Operations: ['96/24=4', '19-4=15']
Exploring Operation: 3*15=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 0.989583 | hs_2 | mult_heuristic |
[
6,
59,
31,
71
] | 97 | [
"59-31=28",
"6*28=168",
"168-71=97"
] | Current State: 97:[6, 59, 31, 71], Operations: []
Exploring Operation: 59-31=28, Resulting Numbers: [6, 71, 28]
Generated Node #2: [6, 71, 28] from Operation: 59-31=28
Current State: 97:[6, 71, 28], Operations: ['59-31=28']
Exploring Operation: 6*28=168, Resulting Numbers: [71, 168]
Generated Node #3: [71, 168] from Operation: 6*28=168
Current State: 97:[71, 168], Operations: ['59-31=28', '6*28=168']
Exploring Operation: 168-71=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[6, 59, 31, 71], Operations: []
Exploring Operation: 6+31=37, Resulting Numbers: [59, 71, 37]
Generated Node #0,0: 97:[59, 71, 37] Operation: 6+31=37
Exploring Operation: 6+71=77, Resulting Numbers: [59, 31, 77]
Generated Node #0,1: 97:[59, 31, 77] Operation: 6+71=77
Exploring Operation: 6+59=65, Resulting Numbers: [31, 71, 65]
Generated Node #0,2: 97:[31, 71, 65] Operation: 6+59=65
Exploring Operation: 59+31=90, Resulting Numbers: [6, 71, 90]
Generated Node #0,3: 97:[6, 71, 90] Operation: 59+31=90
Moving to Node #0,0
Current State: 97:[59, 71, 37], Operations: ['6+31=37']
Exploring Operation: 59+71=130, Resulting Numbers: [37, 130]
Generated Node #0,0,0: 97:[37, 130] Operation: 59+71=130
Exploring Operation: 71+37=108, Resulting Numbers: [59, 108]
Generated Node #0,0,1: 97:[59, 108] Operation: 71+37=108
Exploring Operation: 59+37=96, Resulting Numbers: [71, 96]
Generated Node #0,0,2: 97:[71, 96] Operation: 59+37=96
Exploring Operation: 59-37=22, Resulting Numbers: [71, 22]
Generated Node #0,0,3: 97:[71, 22] Operation: 59-37=22
Moving to Node #0,2
Current State: 97:[31, 71, 65], Operations: ['6+59=65']
Exploring Operation: 31+65=96, Resulting Numbers: [71, 96]
Generated Node #0,2,0: 97:[71, 96] Operation: 31+65=96
Exploring Operation: 31+71=102, Resulting Numbers: [65, 102]
Generated Node #0,2,1: 97:[65, 102] Operation: 31+71=102
Exploring Operation: 65-31=34, Resulting Numbers: [71, 34]
Generated Node #0,2,2: 97:[71, 34] Operation: 65-31=34
Exploring Operation: 71-31=40, Resulting Numbers: [65, 40]
Generated Node #0,2,3: 97:[65, 40] Operation: 71-31=40
Moving to Node #0,1
Current State: 97:[59, 31, 77], Operations: ['6+71=77']
Exploring Operation: 77-31=46, Resulting Numbers: [59, 46]
Generated Node #0,1,0: 97:[59, 46] Operation: 77-31=46
Exploring Operation: 59+31=90, Resulting Numbers: [77, 90]
Generated Node #0,1,1: 97:[77, 90] Operation: 59+31=90
Exploring Operation: 31+77=108, Resulting Numbers: [59, 108]
Generated Node #0,1,2: 97:[59, 108] Operation: 31+77=108
Exploring Operation: 59-31=28, Resulting Numbers: [77, 28]
Generated Node #0,1,3: 97:[77, 28] Operation: 59-31=28
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 97:[77, 90], Operations: ['6+71=77', '59+31=90']
Exploring Operation: 77*90=6930, Resulting Numbers: [6930]
6930,97 unequal: No Solution
Exploring Operation: 77+90=167, Resulting Numbers: [167]
167,97 unequal: No Solution
Exploring Operation: 90-77=13, Resulting Numbers: [13]
13,97 unequal: No Solution
No 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: 97:[59, 108], Operations: ['6+71=77', '31+77=108']
Exploring Operation: 59+108=167, Resulting Numbers: [167]
167,97 unequal: No Solution
Exploring Operation: 108-59=49, Resulting Numbers: [49]
49,97 unequal: No Solution
Exploring Operation: 59*108=6372, Resulting Numbers: [6372]
6372,97 unequal: No Solution
No 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: 97:[59, 46], Operations: ['6+71=77', '77-31=46']
Exploring Operation: 59-46=13, Resulting Numbers: [13]
13,97 unequal: No Solution
Exploring Operation: 59+46=105, Resulting Numbers: [105]
105,97 unequal: No Solution
Exploring Operation: 59*46=2714, Resulting Numbers: [2714]
2714,97 unequal: No Solution
No 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: 97:[77, 28], Operations: ['6+71=77', '59-31=28']
Exploring Operation: 77+28=105, Resulting Numbers: [105]
105,97 unequal: No Solution
Exploring Operation: 77*28=2156, Resulting Numbers: [2156]
2156,97 unequal: No Solution
Exploring Operation: 77-28=49, Resulting Numbers: [49]
49,97 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: 97:[6, 71, 90], Operations: ['59+31=90']
Exploring Operation: 90-6=84, Resulting Numbers: [71, 84]
Generated Node #0,3,0: 97:[71, 84] Operation: 90-6=84
Exploring Operation: 71-6=65, Resulting Numbers: [90, 65]
Generated Node #0,3,1: 97:[90, 65] Operation: 71-6=65
Exploring Operation: 6+71=77, Resulting Numbers: [90, 77]
Generated Node #0,3,2: 97:[90, 77] Operation: 6+71=77
Exploring Operation: 6+90=96, Resulting Numbers: [71, 96]
Generated Node #0,3,3: 97:[71, 96] Operation: 6+90=96
Moving to Node #0,0,2
Current State: 97:[71, 96], Operations: ['6+31=37', '59+37=96']
Exploring Operation: 71*96=6816, Resulting Numbers: [6816]
6816,97 unequal: No Solution
Exploring Operation: 71+96=167, Resulting Numbers: [167]
167,97 unequal: No Solution
Exploring Operation: 96-71=25, Resulting Numbers: [25]
25,97 unequal: No Solution
Moving to Node #0,2,0
Current State: 97:[71, 96], Operations: ['6+59=65', '31+65=96']
Exploring Operation: 71+96=167, Resulting Numbers: [167]
167,97 unequal: No Solution
Exploring Operation: 71*96=6816, Resulting Numbers: [6816]
6816,97 unequal: No Solution
Exploring Operation: 96-71=25, Resulting Numbers: [25]
25,97 unequal: No Solution
Moving to Node #0,3,3
Current State: 97:[71, 96], Operations: ['59+31=90', '6+90=96']
Exploring Operation: 71+96=167, Resulting Numbers: [167]
167,97 unequal: No Solution
Exploring Operation: 96-71=25, Resulting Numbers: [25]
25,97 unequal: No Solution
Exploring Operation: 71*96=6816, Resulting Numbers: [6816]
6816,97 unequal: No Solution
Moving to Node #0,3,2
Current State: 97:[90, 77], Operations: ['59+31=90', '6+71=77']
Exploring Operation: 90+77=167, Resulting Numbers: [167]
167,97 unequal: No Solution
Exploring Operation: 90*77=6930, Resulting Numbers: [6930]
6930,97 unequal: No Solution
Exploring Operation: 90-77=13, Resulting Numbers: [13]
13,97 unequal: No Solution
Moving to Node #0,2,1
Current State: 97:[65, 102], Operations: ['6+59=65', '31+71=102']
Exploring Operation: 65*102=6630, Resulting Numbers: [6630]
6630,97 unequal: No Solution
Exploring Operation: 65+102=167, Resulting Numbers: [167]
167,97 unequal: No Solution
Exploring Operation: 102-65=37, Resulting Numbers: [37]
37,97 unequal: No Solution
Moving to Node #0,3,1
Current State: 97:[90, 65], Operations: ['59+31=90', '71-6=65']
Exploring Operation: 90+65=155, Resulting Numbers: [155]
155,97 unequal: No Solution
Exploring Operation: 90*65=5850, Resulting Numbers: [5850]
5850,97 unequal: No Solution
Exploring Operation: 90-65=25, Resulting Numbers: [25]
25,97 unequal: No Solution
Moving to Node #0,3,0
Current State: 97:[71, 84], Operations: ['59+31=90', '90-6=84']
Exploring Operation: 71*84=5964, Resulting Numbers: [5964]
5964,97 unequal: No Solution
Exploring Operation: 84-71=13, Resulting Numbers: [13]
13,97 unequal: No Solution
Exploring Operation: 71+84=155, Resulting Numbers: [155]
155,97 unequal: No Solution
Moving to Node #0,0,1
Current State: 97:[59, 108], Operations: ['6+31=37', '71+37=108']
Exploring Operation: 59+108=167, Resulting Numbers: [167]
167,97 unequal: No Solution
Exploring Operation: 59*108=6372, Resulting Numbers: [6372]
6372,97 unequal: No Solution
Exploring Operation: 108-59=49, Resulting Numbers: [49]
49,97 unequal: No Solution
Moving to Node #0,2,2
Current State: 97:[71, 34], Operations: ['6+59=65', '65-31=34']
Exploring Operation: 71+34=105, Resulting Numbers: [105]
105,97 unequal: No Solution
Exploring Operation: 71-34=37, Resulting Numbers: [37]
37,97 unequal: No Solution
Exploring Operation: 71*34=2414, Resulting Numbers: [2414]
2414,97 unequal: No Solution
Moving to Node #0,2,3
Current State: 97:[65, 40], Operations: ['6+59=65', '71-31=40']
Exploring Operation: 65-40=25, Resulting Numbers: [25]
25,97 unequal: No Solution
Exploring Operation: 65*40=2600, Resulting Numbers: [2600]
2600,97 unequal: No Solution
Exploring Operation: 65+40=105, Resulting Numbers: [105]
105,97 unequal: No Solution
Moving to Node #0,0,0
Current State: 97:[37, 130], Operations: ['6+31=37', '59+71=130']
Exploring Operation: 130-37=93, Resulting Numbers: [93]
93,97 unequal: No Solution
Exploring Operation: 37*130=4810, Resulting Numbers: [4810]
4810,97 unequal: No Solution
Exploring Operation: 37+130=167, Resulting Numbers: [167]
167,97 unequal: No Solution
Moving to Node #0,0,3
Current State: 97:[71, 22], Operations: ['6+31=37', '59-37=22']
Exploring Operation: 71+22=93, Resulting Numbers: [93]
93,97 unequal: No Solution
Exploring Operation: 71-22=49, Resulting Numbers: [49]
49,97 unequal: No Solution
Exploring Operation: 71*22=1562, Resulting Numbers: [1562]
1562,97 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
35,
88,
94,
2
] | 64 | [
"35*2=70",
"94-88=6",
"70-6=64"
] | Current State: 64:[35, 88, 94, 2], Operations: []
Exploring Operation: 35*2=70, Resulting Numbers: [88, 94, 70]
Generated Node #2: [88, 94, 70] from Operation: 35*2=70
Current State: 64:[88, 94, 70], Operations: ['35*2=70']
Exploring Operation: 94-88=6, Resulting Numbers: [70, 6]
Generated Node #3: [70, 6] from Operation: 94-88=6
Current State: 64:[70, 6], Operations: ['35*2=70', '94-88=6']
Exploring Operation: 70-6=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[35, 88, 94, 2], Operations: []
Exploring Operation: 94/2=47, Resulting Numbers: [35, 88, 47]
Generated Node #0,0: 64:[35, 88, 47] Operation: 94/2=47
Exploring Operation: 88-35=53, Resulting Numbers: [94, 2, 53]
Generated Node #0,1: 64:[94, 2, 53] Operation: 88-35=53
Exploring Operation: 94-35=59, Resulting Numbers: [88, 2, 59]
Generated Node #0,2: 64:[88, 2, 59] Operation: 94-35=59
Exploring Operation: 94-88=6, Resulting Numbers: [35, 2, 6]
Generated Node #0,3: 64:[35, 2, 6] Operation: 94-88=6
Moving to Node #0,3
Current State: 64:[35, 2, 6], Operations: ['94-88=6']
Exploring Operation: 6-2=4, Resulting Numbers: [35, 4]
Generated Node #0,3,0: 64:[35, 4] Operation: 6-2=4
Exploring Operation: 35-2=33, Resulting Numbers: [6, 33]
Generated Node #0,3,1: 64:[6, 33] Operation: 35-2=33
Exploring Operation: 2+6=8, Resulting Numbers: [35, 8]
Generated Node #0,3,2: 64:[35, 8] Operation: 2+6=8
Exploring Operation: 35-6=29, Resulting Numbers: [2, 29]
Generated Node #0,3,3: 64:[2, 29] Operation: 35-6=29
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 64:[35, 4], Operations: ['94-88=6', '6-2=4']
Exploring Operation: 35+4=39, Resulting Numbers: [39]
39,64 unequal: No Solution
Exploring Operation: 35-4=31, Resulting Numbers: [31]
31,64 unequal: No Solution
Exploring Operation: 35*4=140, Resulting Numbers: [140]
140,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 64:[6, 33], Operations: ['94-88=6', '35-2=33']
Exploring Operation: 6+33=39, Resulting Numbers: [39]
39,64 unequal: No Solution
Exploring Operation: 6*33=198, Resulting Numbers: [198]
198,64 unequal: No Solution
Exploring Operation: 33-6=27, Resulting Numbers: [27]
27,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 64:[35, 8], Operations: ['94-88=6', '2+6=8']
Exploring Operation: 35-8=27, Resulting Numbers: [27]
27,64 unequal: No Solution
Exploring Operation: 35*8=280, Resulting Numbers: [280]
280,64 unequal: No Solution
Exploring Operation: 35+8=43, Resulting Numbers: [43]
43,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 64:[2, 29], Operations: ['94-88=6', '35-6=29']
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,64 unequal: No Solution
Exploring Operation: 2*29=58, Resulting Numbers: [58]
58,64 unequal: No Solution
Exploring Operation: 2+29=31, Resulting Numbers: [31]
31,64 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: 64:[88, 2, 59], Operations: ['94-35=59']
Exploring Operation: 88/2=44, Resulting Numbers: [59, 44]
Generated Node #0,2,0: 64:[59, 44] Operation: 88/2=44
Exploring Operation: 2+59=61, Resulting Numbers: [88, 61]
Generated Node #0,2,1: 64:[88, 61] Operation: 2+59=61
Exploring Operation: 88-2=86, Resulting Numbers: [59, 86]
Generated Node #0,2,2: 64:[59, 86] Operation: 88-2=86
Exploring Operation: 88-59=29, Resulting Numbers: [2, 29]
Generated Node #0,2,3: 64:[2, 29] Operation: 88-59=29
Moving to Node #0,1
Current State: 64:[94, 2, 53], Operations: ['88-35=53']
Exploring Operation: 94-53=41, Resulting Numbers: [2, 41]
Generated Node #0,1,0: 64:[2, 41] Operation: 94-53=41
Exploring Operation: 2+53=55, Resulting Numbers: [94, 55]
Generated Node #0,1,1: 64:[94, 55] Operation: 2+53=55
Exploring Operation: 94/2=47, Resulting Numbers: [53, 47]
Generated Node #0,1,2: 64:[53, 47] Operation: 94/2=47
Exploring Operation: 94-2=92, Resulting Numbers: [53, 92]
Generated Node #0,1,3: 64:[53, 92] Operation: 94-2=92
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 64:[2, 41], Operations: ['88-35=53', '94-53=41']
Exploring Operation: 2+41=43, Resulting Numbers: [43]
43,64 unequal: No Solution
Exploring Operation: 2*41=82, Resulting Numbers: [82]
82,64 unequal: No Solution
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 64:[53, 47], Operations: ['88-35=53', '94/2=47']
Exploring Operation: 53+47=100, Resulting Numbers: [100]
100,64 unequal: No Solution
Exploring Operation: 53-47=6, Resulting Numbers: [6]
6,64 unequal: No Solution
Exploring Operation: 53*47=2491, Resulting Numbers: [2491]
2491,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 64:[94, 55], Operations: ['88-35=53', '2+53=55']
Exploring Operation: 94+55=149, Resulting Numbers: [149]
149,64 unequal: No Solution
Exploring Operation: 94*55=5170, Resulting Numbers: [5170]
5170,64 unequal: No Solution
Exploring Operation: 94-55=39, Resulting Numbers: [39]
39,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 64:[53, 92], Operations: ['88-35=53', '94-2=92']
Exploring Operation: 53*92=4876, Resulting Numbers: [4876]
4876,64 unequal: No Solution
Exploring Operation: 53+92=145, Resulting Numbers: [145]
145,64 unequal: No Solution
Exploring Operation: 92-53=39, Resulting Numbers: [39]
39,64 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: 64:[35, 88, 47], Operations: ['94/2=47']
Exploring Operation: 35+47=82, Resulting Numbers: [88, 82]
Generated Node #0,0,0: 64:[88, 82] Operation: 35+47=82
Exploring Operation: 88-47=41, Resulting Numbers: [35, 41]
Generated Node #0,0,1: 64:[35, 41] Operation: 88-47=41
Exploring Operation: 47-35=12, Resulting Numbers: [88, 12]
Generated Node #0,0,2: 64:[88, 12] Operation: 47-35=12
Exploring Operation: 88-35=53, Resulting Numbers: [47, 53]
Generated Node #0,0,3: 64:[47, 53] Operation: 88-35=53
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 64:[35, 41], Operations: ['94/2=47', '88-47=41']
Exploring Operation: 41-35=6, Resulting Numbers: [6]
6,64 unequal: No Solution
Exploring Operation: 35*41=1435, Resulting Numbers: [1435]
1435,64 unequal: No Solution
Exploring Operation: 35+41=76, Resulting Numbers: [76]
76,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,3
Current State: 64:[47, 53], Operations: ['94/2=47', '88-35=53']
Exploring Operation: 53-47=6, Resulting Numbers: [6]
6,64 unequal: No Solution
Exploring Operation: 47+53=100, Resulting Numbers: [100]
100,64 unequal: No Solution
Exploring Operation: 47*53=2491, Resulting Numbers: [2491]
2491,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,2
Current State: 64:[88, 12], Operations: ['94/2=47', '47-35=12']
Exploring Operation: 88*12=1056, Resulting Numbers: [1056]
1056,64 unequal: No Solution
Exploring Operation: 88+12=100, Resulting Numbers: [100]
100,64 unequal: No Solution
Exploring Operation: 88-12=76, Resulting Numbers: [76]
76,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,0
Current State: 64:[88, 82], Operations: ['94/2=47', '35+47=82']
Exploring Operation: 88-82=6, Resulting Numbers: [6]
6,64 unequal: No Solution
Exploring Operation: 88*82=7216, Resulting Numbers: [7216]
7216,64 unequal: No Solution
Exploring Operation: 88+82=170, Resulting Numbers: [170]
170,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,3
Current State: 64:[2, 29], Operations: ['94-35=59', '88-59=29']
Exploring Operation: 2+29=31, Resulting Numbers: [31]
31,64 unequal: No Solution
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,64 unequal: No Solution
Exploring Operation: 2*29=58, Resulting Numbers: [58]
58,64 unequal: No Solution
Moving to Node #0,2,0
Current State: 64:[59, 44], Operations: ['94-35=59', '88/2=44']
Exploring Operation: 59-44=15, Resulting Numbers: [15]
15,64 unequal: No Solution
Exploring Operation: 59*44=2596, Resulting Numbers: [2596]
2596,64 unequal: No Solution
Exploring Operation: 59+44=103, Resulting Numbers: [103]
103,64 unequal: No Solution
Moving to Node #0,2,2
Current State: 64:[59, 86], Operations: ['94-35=59', '88-2=86']
Exploring Operation: 59*86=5074, Resulting Numbers: [5074]
5074,64 unequal: No Solution
Exploring Operation: 59+86=145, Resulting Numbers: [145]
145,64 unequal: No Solution
Exploring Operation: 86-59=27, Resulting Numbers: [27]
27,64 unequal: No Solution
Moving to Node #0,2,1
Current State: 64:[88, 61], Operations: ['94-35=59', '2+59=61']
Exploring Operation: 88+61=149, Resulting Numbers: [149]
149,64 unequal: No Solution
Exploring Operation: 88*61=5368, Resulting Numbers: [5368]
5368,64 unequal: No Solution
Exploring Operation: 88-61=27, Resulting Numbers: [27]
27,64 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
53,
70,
45,
64
] | 92 | [
"70-53=17",
"45+64=109",
"109-17=92"
] | Current State: 92:[53, 70, 45, 64], Operations: []
Exploring Operation: 70-53=17, Resulting Numbers: [45, 64, 17]
Generated Node #2: [45, 64, 17] from Operation: 70-53=17
Current State: 92:[45, 64, 17], Operations: ['70-53=17']
Exploring Operation: 45+64=109, Resulting Numbers: [17, 109]
Generated Node #3: [17, 109] from Operation: 45+64=109
Current State: 92:[17, 109], Operations: ['70-53=17', '45+64=109']
Exploring Operation: 109-17=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[53, 70, 45, 64], Operations: []
Exploring Operation: 70-64=6, Resulting Numbers: [53, 45, 6]
Generated Node #0,0: 92:[53, 45, 6] Operation: 70-64=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[53, 45, 6], Operations: ['70-64=6']
Exploring Operation: 53-6=47, Resulting Numbers: [45, 47]
Generated Node #0,0,0: 92:[45, 47] Operation: 53-6=47
Moving to Node #0,0,0
Current State: 92:[45, 47], Operations: ['70-64=6', '53-6=47']
Exploring Operation: 45+47=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[53, 70, 45, 64], Operations: []
Exploring Operation: 70-64=6, Resulting Numbers: [53, 45, 6]
Generated Node #0,0: 92:[53, 45, 6] Operation: 70-64=6
Moving to Node #0,0
Current State: 92:[53, 45, 6], Operations: ['70-64=6']
Exploring Operation: 53-6=47, Resulting Numbers: [45, 47]
Generated Node #0,0,0: 92:[45, 47] Operation: 53-6=47
Moving to Node #0,0,0
Current State: 92:[45, 47], Operations: ['70-64=6', '53-6=47']
Exploring Operation: 45+47=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
68,
46,
31,
3
] | 39 | [
"68+31=99",
"46*3=138",
"138-99=39"
] | Current State: 39:[68, 46, 31, 3], Operations: []
Exploring Operation: 68+31=99, Resulting Numbers: [46, 3, 99]
Generated Node #2: [46, 3, 99] from Operation: 68+31=99
Current State: 39:[46, 3, 99], Operations: ['68+31=99']
Exploring Operation: 46*3=138, Resulting Numbers: [99, 138]
Generated Node #3: [99, 138] from Operation: 46*3=138
Current State: 39:[99, 138], Operations: ['68+31=99', '46*3=138']
Exploring Operation: 138-99=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[68, 46, 31, 3], Operations: []
Exploring Operation: 68-31=37, Resulting Numbers: [46, 3, 37]
Generated Node #0,0: 39:[46, 3, 37] Operation: 68-31=37
Exploring Operation: 68-46=22, Resulting Numbers: [31, 3, 22]
Generated Node #0,1: 39:[31, 3, 22] Operation: 68-46=22
Start Sub Search at level 1: Moving to Node #0,0
Current State: 39:[46, 3, 37], Operations: ['68-31=37']
Exploring Operation: 46-37=9, Resulting Numbers: [3, 9]
Generated Node #0,0,0: 39:[3, 9] Operation: 46-37=9
Exploring Operation: 46-3=43, Resulting Numbers: [37, 43]
Generated Node #0,0,1: 39:[37, 43] Operation: 46-3=43
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 39:[3, 9], Operations: ['68-31=37', '46-37=9']
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,39 unequal: No Solution
Exploring Operation: 3+9=12, Resulting Numbers: [12]
12,39 unequal: No Solution
No 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: 39:[37, 43], Operations: ['68-31=37', '46-3=43']
Exploring Operation: 37+43=80, Resulting Numbers: [80]
80,39 unequal: No Solution
Exploring Operation: 43-37=6, Resulting Numbers: [6]
6,39 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: 39:[31, 3, 22], Operations: ['68-46=22']
Exploring Operation: 31+3=34, Resulting Numbers: [22, 34]
Generated Node #0,1,0: 39:[22, 34] Operation: 31+3=34
Exploring Operation: 31-22=9, Resulting Numbers: [3, 9]
Generated Node #0,1,1: 39:[3, 9] Operation: 31-22=9
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 39:[3, 9], Operations: ['68-46=22', '31-22=9']
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,39 unequal: No Solution
Exploring Operation: 3+9=12, Resulting Numbers: [12]
12,39 unequal: No Solution
No 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: 39:[22, 34], Operations: ['68-46=22', '31+3=34']
Exploring Operation: 22+34=56, Resulting Numbers: [56]
56,39 unequal: No Solution
Exploring Operation: 34-22=12, Resulting Numbers: [12]
12,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
43,
94,
39,
8
] | 96 | [
"94-43=51",
"51-39=12",
"8*12=96"
] | Current State: 96:[43, 94, 39, 8], Operations: []
Exploring Operation: 94-43=51, Resulting Numbers: [39, 8, 51]
Generated Node #2: [39, 8, 51] from Operation: 94-43=51
Current State: 96:[39, 8, 51], Operations: ['94-43=51']
Exploring Operation: 51-39=12, Resulting Numbers: [8, 12]
Generated Node #3: [8, 12] from Operation: 51-39=12
Current State: 96:[8, 12], Operations: ['94-43=51', '51-39=12']
Exploring Operation: 8*12=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[43, 94, 39, 8], Operations: []
Exploring Operation: 39+8=47, Resulting Numbers: [43, 94, 47]
Generated Node #0,0: 96:[43, 94, 47] Operation: 39+8=47
Exploring Operation: 94-43=51, Resulting Numbers: [39, 8, 51]
Generated Node #0,1: 96:[39, 8, 51] Operation: 94-43=51
Exploring Operation: 43+8=51, Resulting Numbers: [94, 39, 51]
Generated Node #0,2: 96:[94, 39, 51] Operation: 43+8=51
Exploring Operation: 43-39=4, Resulting Numbers: [94, 8, 4]
Generated Node #0,3: 96:[94, 8, 4] Operation: 43-39=4
Exploring Operation: 39-8=31, Resulting Numbers: [43, 94, 31]
Generated Node #0,4: 96:[43, 94, 31] Operation: 39-8=31
Moving to Node #0,3
Current State: 96:[94, 8, 4], Operations: ['43-39=4']
Exploring Operation: 8/4=2, Resulting Numbers: [94, 2]
Generated Node #0,3,0: 96:[94, 2] Operation: 8/4=2
Exploring Operation: 8-4=4, Resulting Numbers: [94, 4]
Generated Node #0,3,1: 96:[94, 4] Operation: 8-4=4
Exploring Operation: 94+4=98, Resulting Numbers: [8, 98]
Generated Node #0,3,2: 96:[8, 98] Operation: 94+4=98
Exploring Operation: 8+4=12, Resulting Numbers: [94, 12]
Generated Node #0,3,3: 96:[94, 12] Operation: 8+4=12
Exploring Operation: 8*4=32, Resulting Numbers: [94, 32]
Generated Node #0,3,4: 96:[94, 32] Operation: 8*4=32
Moving to Node #0,4
Current State: 96:[43, 94, 31], Operations: ['39-8=31']
Exploring Operation: 43-31=12, Resulting Numbers: [94, 12]
Generated Node #0,4,0: 96:[94, 12] Operation: 43-31=12
Exploring Operation: 43+31=74, Resulting Numbers: [94, 74]
Generated Node #0,4,1: 96:[94, 74] Operation: 43+31=74
Exploring Operation: 94-43=51, Resulting Numbers: [31, 51]
Generated Node #0,4,2: 96:[31, 51] Operation: 94-43=51
Exploring Operation: 94-31=63, Resulting Numbers: [43, 63]
Generated Node #0,4,3: 96:[43, 63] Operation: 94-31=63
Exploring Operation: 94+31=125, Resulting Numbers: [43, 125]
Generated Node #0,4,4: 96:[43, 125] Operation: 94+31=125
Moving to Node #0,0
Current State: 96:[43, 94, 47], Operations: ['39+8=47']
Exploring Operation: 94-47=47, Resulting Numbers: [43, 47]
Generated Node #0,0,0: 96:[43, 47] Operation: 94-47=47
Exploring Operation: 47-43=4, Resulting Numbers: [94, 4]
Generated Node #0,0,1: 96:[94, 4] Operation: 47-43=4
Exploring Operation: 43+47=90, Resulting Numbers: [94, 90]
Generated Node #0,0,2: 96:[94, 90] Operation: 43+47=90
Exploring Operation: 94/47=2, Resulting Numbers: [43, 2]
Generated Node #0,0,3: 96:[43, 2] Operation: 94/47=2
Exploring Operation: 94-43=51, Resulting Numbers: [47, 51]
Generated Node #0,0,4: 96:[47, 51] Operation: 94-43=51
Moving to Node #0,1
Current State: 96:[39, 8, 51], Operations: ['94-43=51']
Exploring Operation: 51-39=12, Resulting Numbers: [8, 12]
Generated Node #0,1,0: 96:[8, 12] Operation: 51-39=12
Exploring Operation: 51-8=43, Resulting Numbers: [39, 43]
Generated Node #0,1,1: 96:[39, 43] Operation: 51-8=43
Exploring Operation: 39-8=31, Resulting Numbers: [51, 31]
Generated Node #0,1,2: 96:[51, 31] Operation: 39-8=31
Exploring Operation: 39+51=90, Resulting Numbers: [8, 90]
Generated Node #0,1,3: 96:[8, 90] Operation: 39+51=90
Exploring Operation: 39+8=47, Resulting Numbers: [51, 47]
Generated Node #0,1,4: 96:[51, 47] Operation: 39+8=47
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 96:[8, 12], Operations: ['94-43=51', '51-39=12']
Exploring Operation: 8+12=20, Resulting Numbers: [20]
20,96 unequal: No Solution
Exploring Operation: 8*12=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[43, 94, 39, 8], Operations: []
Exploring Operation: 94-43=51, Resulting Numbers: [39, 8, 51]
Generated Node #0,1: 96:[39, 8, 51] Operation: 94-43=51
Moving to Node #0,1
Current State: 96:[39, 8, 51], Operations: ['94-43=51']
Exploring Operation: 51-39=12, Resulting Numbers: [8, 12]
Generated Node #0,1,0: 96:[8, 12] Operation: 51-39=12
Moving to Node #0,1,0
Current State: 96:[8, 12], Operations: ['94-43=51', '51-39=12']
Exploring Operation: 8*12=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 1
| 0.97309 | hs_5 | sum_heuristic |
[
34,
54,
5,
64
] | 19 | [
"34+54=88",
"5+64=69",
"88-69=19"
] | Current State: 19:[34, 54, 5, 64], Operations: []
Exploring Operation: 34+54=88, Resulting Numbers: [5, 64, 88]
Generated Node #2: [5, 64, 88] from Operation: 34+54=88
Current State: 19:[5, 64, 88], Operations: ['34+54=88']
Exploring Operation: 5+64=69, Resulting Numbers: [88, 69]
Generated Node #3: [88, 69] from Operation: 5+64=69
Current State: 19:[88, 69], Operations: ['34+54=88', '5+64=69']
Exploring Operation: 88-69=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[34, 54, 5, 64], Operations: []
Exploring Operation: 64-34=30, Resulting Numbers: [54, 5, 30]
Generated Node #0,0: 19:[54, 5, 30] Operation: 64-34=30
Exploring Operation: 54-34=20, Resulting Numbers: [5, 64, 20]
Generated Node #0,1: 19:[5, 64, 20] Operation: 54-34=20
Exploring Operation: 34-5=29, Resulting Numbers: [54, 64, 29]
Generated Node #0,2: 19:[54, 64, 29] Operation: 34-5=29
Exploring Operation: 64-54=10, Resulting Numbers: [34, 5, 10]
Generated Node #0,3: 19:[34, 5, 10] Operation: 64-54=10
Moving to Node #0,3
Current State: 19:[34, 5, 10], Operations: ['64-54=10']
Exploring Operation: 34+5=39, Resulting Numbers: [10, 39]
Generated Node #0,3,0: 19:[10, 39] Operation: 34+5=39
Exploring Operation: 5+10=15, Resulting Numbers: [34, 15]
Generated Node #0,3,1: 19:[34, 15] Operation: 5+10=15
Exploring Operation: 34-5=29, Resulting Numbers: [10, 29]
Generated Node #0,3,2: 19:[10, 29] Operation: 34-5=29
Exploring Operation: 34-10=24, Resulting Numbers: [5, 24]
Generated Node #0,3,3: 19:[5, 24] Operation: 34-10=24
Moving to Node #0,1
Current State: 19:[5, 64, 20], Operations: ['54-34=20']
Exploring Operation: 5+64=69, Resulting Numbers: [20, 69]
Generated Node #0,1,0: 19:[20, 69] Operation: 5+64=69
Exploring Operation: 64-5=59, Resulting Numbers: [20, 59]
Generated Node #0,1,1: 19:[20, 59] Operation: 64-5=59
Exploring Operation: 64-20=44, Resulting Numbers: [5, 44]
Generated Node #0,1,2: 19:[5, 44] Operation: 64-20=44
Exploring Operation: 20-5=15, Resulting Numbers: [64, 15]
Generated Node #0,1,3: 19:[64, 15] Operation: 20-5=15
Moving to Node #0,0
Current State: 19:[54, 5, 30], Operations: ['64-34=30']
Exploring Operation: 30/5=6, Resulting Numbers: [54, 6]
Generated Node #0,0,0: 19:[54, 6] Operation: 30/5=6
Exploring Operation: 54-5=49, Resulting Numbers: [30, 49]
Generated Node #0,0,1: 19:[30, 49] Operation: 54-5=49
Exploring Operation: 54-30=24, Resulting Numbers: [5, 24]
Generated Node #0,0,2: 19:[5, 24] Operation: 54-30=24
Exploring Operation: 30-5=25, Resulting Numbers: [54, 25]
Generated Node #0,0,3: 19:[54, 25] Operation: 30-5=25
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 19:[5, 24], Operations: ['64-34=30', '54-30=24']
Exploring Operation: 5*24=120, Resulting Numbers: [120]
120,19 unequal: No Solution
Exploring Operation: 5+24=29, Resulting Numbers: [29]
29,19 unequal: No Solution
Exploring Operation: 24-5=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[34, 54, 5, 64], Operations: []
Exploring Operation: 64-34=30, Resulting Numbers: [54, 5, 30]
Generated Node #0,0: 19:[54, 5, 30] Operation: 64-34=30
Moving to Node #0,0
Current State: 19:[54, 5, 30], Operations: ['64-34=30']
Exploring Operation: 54-30=24, Resulting Numbers: [5, 24]
Generated Node #0,0,2: 19:[5, 24] Operation: 54-30=24
Moving to Node #0,0,2
Current State: 19:[5, 24], Operations: ['64-34=30', '54-30=24']
Exploring Operation: 24-5=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_4 | sum_heuristic |
[
30,
66,
4,
56
] | 24 | [
"66-30=36",
"4+56=60",
"60-36=24"
] | Current State: 24:[30, 66, 4, 56], Operations: []
Exploring Operation: 66-30=36, Resulting Numbers: [4, 56, 36]
Generated Node #2: [4, 56, 36] from Operation: 66-30=36
Current State: 24:[4, 56, 36], Operations: ['66-30=36']
Exploring Operation: 4+56=60, Resulting Numbers: [36, 60]
Generated Node #3: [36, 60] from Operation: 4+56=60
Current State: 24:[36, 60], Operations: ['66-30=36', '4+56=60']
Exploring Operation: 60-36=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[30, 66, 4, 56], Operations: []
Exploring Operation: 66-56=10, Resulting Numbers: [30, 4, 10]
Generated Node #0,0: 24:[30, 4, 10] Operation: 66-56=10
Exploring Operation: 66-30=36, Resulting Numbers: [4, 56, 36]
Generated Node #0,1: 24:[4, 56, 36] Operation: 66-30=36
Exploring Operation: 56-30=26, Resulting Numbers: [66, 4, 26]
Generated Node #0,2: 24:[66, 4, 26] Operation: 56-30=26
Moving to Node #0,0
Current State: 24:[30, 4, 10], Operations: ['66-56=10']
Exploring Operation: 30-10=20, Resulting Numbers: [4, 20]
Generated Node #0,0,0: 24:[4, 20] Operation: 30-10=20
Exploring Operation: 30/10=3, Resulting Numbers: [4, 3]
Generated Node #0,0,1: 24:[4, 3] Operation: 30/10=3
Exploring Operation: 30-4=26, Resulting Numbers: [10, 26]
Generated Node #0,0,2: 24:[10, 26] Operation: 30-4=26
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 24:[4, 3], Operations: ['66-56=10', '30/10=3']
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,24 unequal: No Solution
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,24 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 24:[4, 20], Operations: ['66-56=10', '30-10=20']
Exploring Operation: 4+20=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[30, 66, 4, 56], Operations: []
Exploring Operation: 66-56=10, Resulting Numbers: [30, 4, 10]
Generated Node #0,0: 24:[30, 4, 10] Operation: 66-56=10
Moving to Node #0,0
Current State: 24:[30, 4, 10], Operations: ['66-56=10']
Exploring Operation: 30-10=20, Resulting Numbers: [4, 20]
Generated Node #0,0,0: 24:[4, 20] Operation: 30-10=20
Moving to Node #0,0,0
Current State: 24:[4, 20], Operations: ['66-56=10', '30-10=20']
Exploring Operation: 4+20=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_3 | mult_heuristic |
[
36,
86,
99,
65
] | 16 | [
"86-36=50",
"99-65=34",
"50-34=16"
] | Current State: 16:[36, 86, 99, 65], Operations: []
Exploring Operation: 86-36=50, Resulting Numbers: [99, 65, 50]
Generated Node #2: [99, 65, 50] from Operation: 86-36=50
Current State: 16:[99, 65, 50], Operations: ['86-36=50']
Exploring Operation: 99-65=34, Resulting Numbers: [50, 34]
Generated Node #3: [50, 34] from Operation: 99-65=34
Current State: 16:[50, 34], Operations: ['86-36=50', '99-65=34']
Exploring Operation: 50-34=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[36, 86, 99, 65], Operations: []
Exploring Operation: 86-65=21, Resulting Numbers: [36, 99, 21]
Generated Node #0,0: 16:[36, 99, 21] Operation: 86-65=21
Exploring Operation: 99-86=13, Resulting Numbers: [36, 65, 13]
Generated Node #0,1: 16:[36, 65, 13] Operation: 99-86=13
Moving to Node #0,1
Current State: 16:[36, 65, 13], Operations: ['99-86=13']
Exploring Operation: 65-36=29, Resulting Numbers: [13, 29]
Generated Node #0,1,0: 16:[13, 29] Operation: 65-36=29
Exploring Operation: 65/13=5, Resulting Numbers: [36, 5]
Generated Node #0,1,1: 16:[36, 5] Operation: 65/13=5
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 16:[13, 29], Operations: ['99-86=13', '65-36=29']
Exploring Operation: 29-13=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[36, 86, 99, 65], Operations: []
Exploring Operation: 99-86=13, Resulting Numbers: [36, 65, 13]
Generated Node #0,1: 16:[36, 65, 13] Operation: 99-86=13
Moving to Node #0,1
Current State: 16:[36, 65, 13], Operations: ['99-86=13']
Exploring Operation: 65-36=29, Resulting Numbers: [13, 29]
Generated Node #0,1,0: 16:[13, 29] Operation: 65-36=29
Moving to Node #0,1,0
Current State: 16:[13, 29], Operations: ['99-86=13', '65-36=29']
Exploring Operation: 29-13=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
3,
35,
67,
24
] | 42 | [
"35+67=102",
"24+102=126",
"126/3=42"
] | Current State: 42:[3, 35, 67, 24], Operations: []
Exploring Operation: 35+67=102, Resulting Numbers: [3, 24, 102]
Generated Node #2: [3, 24, 102] from Operation: 35+67=102
Current State: 42:[3, 24, 102], Operations: ['35+67=102']
Exploring Operation: 24+102=126, Resulting Numbers: [3, 126]
Generated Node #3: [3, 126] from Operation: 24+102=126
Current State: 42:[3, 126], Operations: ['35+67=102', '24+102=126']
Exploring Operation: 126/3=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[3, 35, 67, 24], Operations: []
Exploring Operation: 35-24=11, Resulting Numbers: [3, 67, 11]
Generated Node #0,0: 42:[3, 67, 11] Operation: 35-24=11
Exploring Operation: 3+35=38, Resulting Numbers: [67, 24, 38]
Generated Node #0,1: 42:[67, 24, 38] Operation: 3+35=38
Exploring Operation: 67-35=32, Resulting Numbers: [3, 24, 32]
Generated Node #0,2: 42:[3, 24, 32] Operation: 67-35=32
Exploring Operation: 67-24=43, Resulting Numbers: [3, 35, 43]
Generated Node #0,3: 42:[3, 35, 43] Operation: 67-24=43
Moving to Node #0,3
Current State: 42:[3, 35, 43], Operations: ['67-24=43']
Exploring Operation: 43-35=8, Resulting Numbers: [3, 8]
Generated Node #0,3,0: 42:[3, 8] Operation: 43-35=8
Exploring Operation: 43-3=40, Resulting Numbers: [35, 40]
Generated Node #0,3,1: 42:[35, 40] Operation: 43-3=40
Exploring Operation: 35-3=32, Resulting Numbers: [43, 32]
Generated Node #0,3,2: 42:[43, 32] Operation: 35-3=32
Exploring Operation: 3+35=38, Resulting Numbers: [43, 38]
Generated Node #0,3,3: 42:[43, 38] Operation: 3+35=38
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 42:[3, 8], Operations: ['67-24=43', '43-35=8']
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,42 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,42 unequal: No Solution
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 42:[43, 38], Operations: ['67-24=43', '3+35=38']
Exploring Operation: 43*38=1634, Resulting Numbers: [1634]
1634,42 unequal: No Solution
Exploring Operation: 43-38=5, Resulting Numbers: [5]
5,42 unequal: No Solution
Exploring Operation: 43+38=81, Resulting Numbers: [81]
81,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 42:[35, 40], Operations: ['67-24=43', '43-3=40']
Exploring Operation: 35+40=75, Resulting Numbers: [75]
75,42 unequal: No Solution
Exploring Operation: 35*40=1400, Resulting Numbers: [1400]
1400,42 unequal: No Solution
Exploring Operation: 40-35=5, Resulting Numbers: [5]
5,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 42:[43, 32], Operations: ['67-24=43', '35-3=32']
Exploring Operation: 43-32=11, Resulting Numbers: [11]
11,42 unequal: No Solution
Exploring Operation: 43*32=1376, Resulting Numbers: [1376]
1376,42 unequal: No Solution
Exploring Operation: 43+32=75, Resulting Numbers: [75]
75,42 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: 42:[3, 24, 32], Operations: ['67-35=32']
Exploring Operation: 32-24=8, Resulting Numbers: [3, 8]
Generated Node #0,2,0: 42:[3, 8] Operation: 32-24=8
Exploring Operation: 3+32=35, Resulting Numbers: [24, 35]
Generated Node #0,2,1: 42:[24, 35] Operation: 3+32=35
Exploring Operation: 24/3=8, Resulting Numbers: [32, 8]
Generated Node #0,2,2: 42:[32, 8] Operation: 24/3=8
Exploring Operation: 24-3=21, Resulting Numbers: [32, 21]
Generated Node #0,2,3: 42:[32, 21] Operation: 24-3=21
Moving to Node #0,0
Current State: 42:[3, 67, 11], Operations: ['35-24=11']
Exploring Operation: 11-3=8, Resulting Numbers: [67, 8]
Generated Node #0,0,0: 42:[67, 8] Operation: 11-3=8
Exploring Operation: 67-11=56, Resulting Numbers: [3, 56]
Generated Node #0,0,1: 42:[3, 56] Operation: 67-11=56
Exploring Operation: 67-3=64, Resulting Numbers: [11, 64]
Generated Node #0,0,2: 42:[11, 64] Operation: 67-3=64
Exploring Operation: 3+11=14, Resulting Numbers: [67, 14]
Generated Node #0,0,3: 42:[67, 14] Operation: 3+11=14
Moving to Node #0,1
Current State: 42:[67, 24, 38], Operations: ['3+35=38']
Exploring Operation: 67-38=29, Resulting Numbers: [24, 29]
Generated Node #0,1,0: 42:[24, 29] Operation: 67-38=29
Exploring Operation: 67-24=43, Resulting Numbers: [38, 43]
Generated Node #0,1,1: 42:[38, 43] Operation: 67-24=43
Exploring Operation: 24+38=62, Resulting Numbers: [67, 62]
Generated Node #0,1,2: 42:[67, 62] Operation: 24+38=62
Exploring Operation: 38-24=14, Resulting Numbers: [67, 14]
Generated Node #0,1,3: 42:[67, 14] Operation: 38-24=14
Moving to Node #0,2,0
Current State: 42:[3, 8], Operations: ['67-35=32', '32-24=8']
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,42 unequal: No Solution
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,42 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,42 unequal: No Solution
Moving to Node #0,1,1
Current State: 42:[38, 43], Operations: ['3+35=38', '67-24=43']
Exploring Operation: 38*43=1634, Resulting Numbers: [1634]
1634,42 unequal: No Solution
Exploring Operation: 38+43=81, Resulting Numbers: [81]
81,42 unequal: No Solution
Exploring Operation: 43-38=5, Resulting Numbers: [5]
5,42 unequal: No Solution
Moving to Node #0,2,3
Current State: 42:[32, 21], Operations: ['67-35=32', '24-3=21']
Exploring Operation: 32-21=11, Resulting Numbers: [11]
11,42 unequal: No Solution
Exploring Operation: 32*21=672, Resulting Numbers: [672]
672,42 unequal: No Solution
Exploring Operation: 32+21=53, Resulting Numbers: [53]
53,42 unequal: No Solution
Moving to Node #0,2,1
Current State: 42:[24, 35], Operations: ['67-35=32', '3+32=35']
Exploring Operation: 24*35=840, Resulting Numbers: [840]
840,42 unequal: No Solution
Exploring Operation: 35-24=11, Resulting Numbers: [11]
11,42 unequal: No Solution
Exploring Operation: 24+35=59, Resulting Numbers: [59]
59,42 unequal: No Solution
Moving to Node #0,1,0
Current State: 42:[24, 29], Operations: ['3+35=38', '67-38=29']
Exploring Operation: 24*29=696, Resulting Numbers: [696]
696,42 unequal: No Solution
Exploring Operation: 24+29=53, Resulting Numbers: [53]
53,42 unequal: No Solution
Exploring Operation: 29-24=5, Resulting Numbers: [5]
5,42 unequal: No Solution
Moving to Node #0,2,2
Current State: 42:[32, 8], Operations: ['67-35=32', '24/3=8']
Exploring Operation: 32-8=24, Resulting Numbers: [24]
24,42 unequal: No Solution
Exploring Operation: 32/8=4, Resulting Numbers: [4]
4,42 unequal: No Solution
Exploring Operation: 32+8=40, Resulting Numbers: [40]
40,42 unequal: No Solution
Exploring Operation: 32*8=256, Resulting Numbers: [256]
256,42 unequal: No Solution
Moving to Node #0,0,1
Current State: 42:[3, 56], Operations: ['35-24=11', '67-11=56']
Exploring Operation: 56-3=53, Resulting Numbers: [53]
53,42 unequal: No Solution
Exploring Operation: 3*56=168, Resulting Numbers: [168]
168,42 unequal: No Solution
Exploring Operation: 3+56=59, Resulting Numbers: [59]
59,42 unequal: No Solution
Moving to Node #0,0,3
Current State: 42:[67, 14], Operations: ['35-24=11', '3+11=14']
Exploring Operation: 67*14=938, Resulting Numbers: [938]
938,42 unequal: No Solution
Exploring Operation: 67+14=81, Resulting Numbers: [81]
81,42 unequal: No Solution
Exploring Operation: 67-14=53, Resulting Numbers: [53]
53,42 unequal: No Solution
Moving to Node #0,0,2
Current State: 42:[11, 64], Operations: ['35-24=11', '67-3=64']
Exploring Operation: 11*64=704, Resulting Numbers: [704]
704,42 unequal: No Solution
Exploring Operation: 11+64=75, Resulting Numbers: [75]
75,42 unequal: No Solution
Exploring Operation: 64-11=53, Resulting Numbers: [53]
53,42 unequal: No Solution
Moving to Node #0,1,3
Current State: 42:[67, 14], Operations: ['3+35=38', '38-24=14']
Exploring Operation: 67+14=81, Resulting Numbers: [81]
81,42 unequal: No Solution
Exploring Operation: 67*14=938, Resulting Numbers: [938]
938,42 unequal: No Solution
Exploring Operation: 67-14=53, Resulting Numbers: [53]
53,42 unequal: No Solution
Moving to Node #0,0,0
Current State: 42:[67, 8], Operations: ['35-24=11', '11-3=8']
Exploring Operation: 67-8=59, Resulting Numbers: [59]
59,42 unequal: No Solution
Exploring Operation: 67+8=75, Resulting Numbers: [75]
75,42 unequal: No Solution
Exploring Operation: 67*8=536, Resulting Numbers: [536]
536,42 unequal: No Solution
Moving to Node #0,1,2
Current State: 42:[67, 62], Operations: ['3+35=38', '24+38=62']
Exploring Operation: 67*62=4154, Resulting Numbers: [4154]
4154,42 unequal: No Solution
Exploring Operation: 67+62=129, Resulting Numbers: [129]
129,42 unequal: No Solution
Exploring Operation: 67-62=5, Resulting Numbers: [5]
5,42 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
79,
27,
8,
61
] | 21 | [
"8*61=488",
"79+488=567",
"567/27=21"
] | Current State: 21:[79, 27, 8, 61], Operations: []
Exploring Operation: 8*61=488, Resulting Numbers: [79, 27, 488]
Generated Node #2: [79, 27, 488] from Operation: 8*61=488
Current State: 21:[79, 27, 488], Operations: ['8*61=488']
Exploring Operation: 79+488=567, Resulting Numbers: [27, 567]
Generated Node #3: [27, 567] from Operation: 79+488=567
Current State: 21:[27, 567], Operations: ['8*61=488', '79+488=567']
Exploring Operation: 567/27=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[79, 27, 8, 61], Operations: []
Exploring Operation: 61-27=34, Resulting Numbers: [79, 8, 34]
Generated Node #0,0: 21:[79, 8, 34] Operation: 61-27=34
Exploring Operation: 79-27=52, Resulting Numbers: [8, 61, 52]
Generated Node #0,1: 21:[8, 61, 52] Operation: 79-27=52
Exploring Operation: 79-61=18, Resulting Numbers: [27, 8, 18]
Generated Node #0,2: 21:[27, 8, 18] Operation: 79-61=18
Moving to Node #0,2
Current State: 21:[27, 8, 18], Operations: ['79-61=18']
Exploring Operation: 27-8=19, Resulting Numbers: [18, 19]
Generated Node #0,2,0: 21:[18, 19] Operation: 27-8=19
Exploring Operation: 18-8=10, Resulting Numbers: [27, 10]
Generated Node #0,2,1: 21:[27, 10] Operation: 18-8=10
Exploring Operation: 27-18=9, Resulting Numbers: [8, 9]
Generated Node #0,2,2: 21:[8, 9] Operation: 27-18=9
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 21:[8, 9], Operations: ['79-61=18', '27-18=9']
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,21 unequal: No Solution
Exploring Operation: 8*9=72, Resulting Numbers: [72]
72,21 unequal: No Solution
Exploring Operation: 8+9=17, Resulting Numbers: [17]
17,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:[18, 19], Operations: ['79-61=18', '27-8=19']
Exploring Operation: 19-18=1, Resulting Numbers: [1]
1,21 unequal: No Solution
Exploring Operation: 18*19=342, Resulting Numbers: [342]
342,21 unequal: No Solution
Exploring Operation: 18+19=37, Resulting Numbers: [37]
37,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:[27, 10], Operations: ['79-61=18', '18-8=10']
Exploring Operation: 27*10=270, Resulting Numbers: [270]
270,21 unequal: No Solution
Exploring Operation: 27+10=37, Resulting Numbers: [37]
37,21 unequal: No Solution
Exploring Operation: 27-10=17, Resulting Numbers: [17]
17,21 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: 21:[79, 8, 34], Operations: ['61-27=34']
Exploring Operation: 79-34=45, Resulting Numbers: [8, 45]
Generated Node #0,0,0: 21:[8, 45] Operation: 79-34=45
Exploring Operation: 34-8=26, Resulting Numbers: [79, 26]
Generated Node #0,0,1: 21:[79, 26] Operation: 34-8=26
Exploring Operation: 79-8=71, Resulting Numbers: [34, 71]
Generated Node #0,0,2: 21:[34, 71] Operation: 79-8=71
Moving to Node #0,1
Current State: 21:[8, 61, 52], Operations: ['79-27=52']
Exploring Operation: 52-8=44, Resulting Numbers: [61, 44]
Generated Node #0,1,0: 21:[61, 44] Operation: 52-8=44
Exploring Operation: 61-52=9, Resulting Numbers: [8, 9]
Generated Node #0,1,1: 21:[8, 9] Operation: 61-52=9
Exploring Operation: 61-8=53, Resulting Numbers: [52, 53]
Generated Node #0,1,2: 21:[52, 53] Operation: 61-8=53
Moving to Node #0,1,1
Current State: 21:[8, 9], Operations: ['79-27=52', '61-52=9']
Exploring Operation: 8*9=72, Resulting Numbers: [72]
72,21 unequal: No Solution
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,21 unequal: No Solution
Exploring Operation: 8+9=17, Resulting Numbers: [17]
17,21 unequal: No Solution
Moving to Node #0,0,0
Current State: 21:[8, 45], Operations: ['61-27=34', '79-34=45']
Exploring Operation: 8+45=53, Resulting Numbers: [53]
53,21 unequal: No Solution
Exploring Operation: 8*45=360, Resulting Numbers: [360]
360,21 unequal: No Solution
Exploring Operation: 45-8=37, Resulting Numbers: [37]
37,21 unequal: No Solution
Moving to Node #0,0,2
Current State: 21:[34, 71], Operations: ['61-27=34', '79-8=71']
Exploring Operation: 34+71=105, Resulting Numbers: [105]
105,21 unequal: No Solution
Exploring Operation: 71-34=37, Resulting Numbers: [37]
37,21 unequal: No Solution
Exploring Operation: 34*71=2414, Resulting Numbers: [2414]
2414,21 unequal: No Solution
Moving to Node #0,1,2
Current State: 21:[52, 53], Operations: ['79-27=52', '61-8=53']
Exploring Operation: 53-52=1, Resulting Numbers: [1]
1,21 unequal: No Solution
Exploring Operation: 52+53=105, Resulting Numbers: [105]
105,21 unequal: No Solution
Exploring Operation: 52*53=2756, Resulting Numbers: [2756]
2756,21 unequal: No Solution
Moving to Node #0,1,0
Current State: 21:[61, 44], Operations: ['79-27=52', '52-8=44']
Exploring Operation: 61*44=2684, Resulting Numbers: [2684]
2684,21 unequal: No Solution
Exploring Operation: 61-44=17, Resulting Numbers: [17]
17,21 unequal: No Solution
Exploring Operation: 61+44=105, Resulting Numbers: [105]
105,21 unequal: No Solution
Moving to Node #0,0,1
Current State: 21:[79, 26], Operations: ['61-27=34', '34-8=26']
Exploring Operation: 79*26=2054, Resulting Numbers: [2054]
2054,21 unequal: No Solution
Exploring Operation: 79-26=53, Resulting Numbers: [53]
53,21 unequal: No Solution
Exploring Operation: 79+26=105, Resulting Numbers: [105]
105,21 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
14,
41,
31,
35
] | 25 | [
"41-31=10",
"35*10=350",
"350/14=25"
] | Current State: 25:[14, 41, 31, 35], Operations: []
Exploring Operation: 41-31=10, Resulting Numbers: [14, 35, 10]
Generated Node #2: [14, 35, 10] from Operation: 41-31=10
Current State: 25:[14, 35, 10], Operations: ['41-31=10']
Exploring Operation: 35*10=350, Resulting Numbers: [14, 350]
Generated Node #3: [14, 350] from Operation: 35*10=350
Current State: 25:[14, 350], Operations: ['41-31=10', '35*10=350']
Exploring Operation: 350/14=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[14, 41, 31, 35], Operations: []
Exploring Operation: 41-14=27, Resulting Numbers: [31, 35, 27]
Generated Node #0,0: 25:[31, 35, 27] Operation: 41-14=27
Exploring Operation: 41-35=6, Resulting Numbers: [14, 31, 6]
Generated Node #0,1: 25:[14, 31, 6] Operation: 41-35=6
Moving to Node #0,1
Current State: 25:[14, 31, 6], Operations: ['41-35=6']
Exploring Operation: 14-6=8, Resulting Numbers: [31, 8]
Generated Node #0,1,0: 25:[31, 8] Operation: 14-6=8
Exploring Operation: 31-14=17, Resulting Numbers: [6, 17]
Generated Node #0,1,1: 25:[6, 17] Operation: 31-14=17
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 25:[31, 8], Operations: ['41-35=6', '14-6=8']
Exploring Operation: 31-8=23, Resulting Numbers: [23]
23,25 unequal: No Solution
Exploring Operation: 31+8=39, Resulting Numbers: [39]
39,25 unequal: No Solution
No 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: 25:[6, 17], Operations: ['41-35=6', '31-14=17']
Exploring Operation: 6+17=23, Resulting Numbers: [23]
23,25 unequal: No Solution
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,25 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: 25:[31, 35, 27], Operations: ['41-14=27']
Exploring Operation: 35-31=4, Resulting Numbers: [27, 4]
Generated Node #0,0,0: 25:[27, 4] Operation: 35-31=4
Exploring Operation: 35-27=8, Resulting Numbers: [31, 8]
Generated Node #0,0,1: 25:[31, 8] Operation: 35-27=8
Moving to Node #0,0,0
Current State: 25:[27, 4], Operations: ['41-14=27', '35-31=4']
Exploring Operation: 27+4=31, Resulting Numbers: [31]
31,25 unequal: No Solution
Exploring Operation: 27-4=23, Resulting Numbers: [23]
23,25 unequal: No Solution
Moving to Node #0,0,1
Current State: 25:[31, 8], Operations: ['41-14=27', '35-27=8']
Exploring Operation: 31-8=23, Resulting Numbers: [23]
23,25 unequal: No Solution
Exploring Operation: 31+8=39, Resulting Numbers: [39]
39,25 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
40,
9,
75,
9
] | 53 | [
"40-9=31",
"75+9=84",
"84-31=53"
] | Current State: 53:[40, 9, 75, 9], Operations: []
Exploring Operation: 40-9=31, Resulting Numbers: [75, 31]
Generated Node #2: [75, 31] from Operation: 40-9=31
Current State: 53:[75, 31], Operations: ['40-9=31']
Exploring Operation: 75+9=84, Resulting Numbers: [31, 84]
Generated Node #3: [31, 84] from Operation: 75+9=84
Current State: 53:[31, 84], Operations: ['40-9=31', '75+9=84']
Exploring Operation: 84-31=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[40, 9, 75, 9], Operations: []
Exploring Operation: 9*9=81, Resulting Numbers: [40, 75, 81]
Generated Node #0,0: 53:[40, 75, 81] Operation: 9*9=81
Moving to Node #0,0
Current State: 53:[40, 75, 81], Operations: ['9*9=81']
Exploring Operation: 81-40=41, Resulting Numbers: [75, 41]
Generated Node #0,0,0: 53:[75, 41] Operation: 81-40=41
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 53:[75, 41], Operations: ['9*9=81', '81-40=41']
Exploring Operation: 75-41=34, Resulting Numbers: [34]
34,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 |
[
73,
79,
36,
66
] | 47 | [
"79-73=6",
"66/6=11",
"36+11=47"
] | Current State: 47:[73, 79, 36, 66], Operations: []
Exploring Operation: 79-73=6, Resulting Numbers: [36, 66, 6]
Generated Node #2: [36, 66, 6] from Operation: 79-73=6
Current State: 47:[36, 66, 6], Operations: ['79-73=6']
Exploring Operation: 66/6=11, Resulting Numbers: [36, 11]
Generated Node #3: [36, 11] from Operation: 66/6=11
Current State: 47:[36, 11], Operations: ['79-73=6', '66/6=11']
Exploring Operation: 36+11=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[73, 79, 36, 66], Operations: []
Exploring Operation: 79-36=43, Resulting Numbers: [73, 66, 43]
Generated Node #0,0: 47:[73, 66, 43] Operation: 79-36=43
Moving to Node #0,0
Current State: 47:[73, 66, 43], Operations: ['79-36=43']
Exploring Operation: 73-43=30, Resulting Numbers: [66, 30]
Generated Node #0,0,0: 47:[66, 30] Operation: 73-43=30
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 47:[66, 30], Operations: ['79-36=43', '73-43=30']
Exploring Operation: 66-30=36, Resulting Numbers: [36]
36,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
24,
32,
10,
60
] | 55 | [
"24*60=1440",
"1440/32=45",
"10+45=55"
] | Current State: 55:[24, 32, 10, 60], Operations: []
Exploring Operation: 24*60=1440, Resulting Numbers: [32, 10, 1440]
Generated Node #2: [32, 10, 1440] from Operation: 24*60=1440
Current State: 55:[32, 10, 1440], Operations: ['24*60=1440']
Exploring Operation: 1440/32=45, Resulting Numbers: [10, 45]
Generated Node #3: [10, 45] from Operation: 1440/32=45
Current State: 55:[10, 45], Operations: ['24*60=1440', '1440/32=45']
Exploring Operation: 10+45=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[24, 32, 10, 60], Operations: []
Exploring Operation: 24+32=56, Resulting Numbers: [10, 60, 56]
Generated Node #0,0: 55:[10, 60, 56] Operation: 24+32=56
Exploring Operation: 32+10=42, Resulting Numbers: [24, 60, 42]
Generated Node #0,1: 55:[24, 60, 42] Operation: 32+10=42
Exploring Operation: 32-24=8, Resulting Numbers: [10, 60, 8]
Generated Node #0,2: 55:[10, 60, 8] Operation: 32-24=8
Exploring Operation: 32-10=22, Resulting Numbers: [24, 60, 22]
Generated Node #0,3: 55:[24, 60, 22] Operation: 32-10=22
Exploring Operation: 24-10=14, Resulting Numbers: [32, 60, 14]
Generated Node #0,4: 55:[32, 60, 14] Operation: 24-10=14
Moving to Node #0,0
Current State: 55:[10, 60, 56], Operations: ['24+32=56']
Exploring Operation: 60-10=50, Resulting Numbers: [56, 50]
Generated Node #0,0,0: 55:[56, 50] Operation: 60-10=50
Exploring Operation: 56-10=46, Resulting Numbers: [60, 46]
Generated Node #0,0,1: 55:[60, 46] Operation: 56-10=46
Exploring Operation: 10+60=70, Resulting Numbers: [56, 70]
Generated Node #0,0,2: 55:[56, 70] Operation: 10+60=70
Exploring Operation: 60/10=6, Resulting Numbers: [56, 6]
Generated Node #0,0,3: 55:[56, 6] Operation: 60/10=6
Exploring Operation: 60-56=4, Resulting Numbers: [10, 4]
Generated Node #0,0,4: 55:[10, 4] Operation: 60-56=4
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 55:[56, 6], Operations: ['24+32=56', '60/10=6']
Exploring Operation: 56-6=50, Resulting Numbers: [50]
50,55 unequal: No Solution
Exploring Operation: 56+6=62, Resulting Numbers: [62]
62,55 unequal: No Solution
Exploring Operation: 56*6=336, Resulting Numbers: [336]
336,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:[10, 4], Operations: ['24+32=56', '60-56=4']
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,55 unequal: No Solution
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,55 unequal: No Solution
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,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:[56, 50], Operations: ['24+32=56', '60-10=50']
Exploring Operation: 56-50=6, Resulting Numbers: [6]
6,55 unequal: No Solution
Exploring Operation: 56*50=2800, Resulting Numbers: [2800]
2800,55 unequal: No Solution
Exploring Operation: 56+50=106, Resulting Numbers: [106]
106,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:[60, 46], Operations: ['24+32=56', '56-10=46']
Exploring Operation: 60+46=106, Resulting Numbers: [106]
106,55 unequal: No Solution
Exploring Operation: 60-46=14, Resulting Numbers: [14]
14,55 unequal: No Solution
Exploring Operation: 60*46=2760, Resulting Numbers: [2760]
2760,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:[56, 70], Operations: ['24+32=56', '10+60=70']
Exploring Operation: 56*70=3920, Resulting Numbers: [3920]
3920,55 unequal: No Solution
Exploring Operation: 56+70=126, Resulting Numbers: [126]
126,55 unequal: No Solution
Exploring Operation: 70-56=14, Resulting Numbers: [14]
14,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:[10, 60, 8], Operations: ['32-24=8']
Exploring Operation: 60-10=50, Resulting Numbers: [8, 50]
Generated Node #0,2,0: 55:[8, 50] Operation: 60-10=50
Exploring Operation: 10+8=18, Resulting Numbers: [60, 18]
Generated Node #0,2,1: 55:[60, 18] Operation: 10+8=18
Exploring Operation: 10-8=2, Resulting Numbers: [60, 2]
Generated Node #0,2,2: 55:[60, 2] Operation: 10-8=2
Exploring Operation: 60-8=52, Resulting Numbers: [10, 52]
Generated Node #0,2,3: 55:[10, 52] Operation: 60-8=52
Exploring Operation: 60/10=6, Resulting Numbers: [8, 6]
Generated Node #0,2,4: 55:[8, 6] Operation: 60/10=6
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 55:[10, 52], Operations: ['32-24=8', '60-8=52']
Exploring Operation: 52-10=42, Resulting Numbers: [42]
42,55 unequal: No Solution
Exploring Operation: 10+52=62, Resulting Numbers: [62]
62,55 unequal: No Solution
Exploring Operation: 10*52=520, Resulting Numbers: [520]
520,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:[8, 6], Operations: ['32-24=8', '60/10=6']
Exploring Operation: 8*6=48, Resulting Numbers: [48]
48,55 unequal: No Solution
Exploring Operation: 8+6=14, Resulting Numbers: [14]
14,55 unequal: No Solution
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,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:[8, 50], Operations: ['32-24=8', '60-10=50']
Exploring Operation: 8+50=58, Resulting Numbers: [58]
58,55 unequal: No Solution
Exploring Operation: 8*50=400, Resulting Numbers: [400]
400,55 unequal: No Solution
Exploring Operation: 50-8=42, Resulting Numbers: [42]
42,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:[60, 2], Operations: ['32-24=8', '10-8=2']
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,55 unequal: No Solution
Exploring Operation: 60*2=120, Resulting Numbers: [120]
120,55 unequal: No Solution
Exploring Operation: 60/2=30, Resulting Numbers: [30]
30,55 unequal: No Solution
Exploring Operation: 60+2=62, Resulting Numbers: [62]
62,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:[60, 18], Operations: ['32-24=8', '10+8=18']
Exploring Operation: 60-18=42, Resulting Numbers: [42]
42,55 unequal: No Solution
Exploring Operation: 60*18=1080, Resulting Numbers: [1080]
1080,55 unequal: No Solution
Exploring Operation: 60+18=78, Resulting Numbers: [78]
78,55 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: 55:[24, 60, 22], Operations: ['32-10=22']
Exploring Operation: 24+22=46, Resulting Numbers: [60, 46]
Generated Node #0,3,0: 55:[60, 46] Operation: 24+22=46
Exploring Operation: 60-22=38, Resulting Numbers: [24, 38]
Generated Node #0,3,1: 55:[24, 38] Operation: 60-22=38
Exploring Operation: 60-24=36, Resulting Numbers: [22, 36]
Generated Node #0,3,2: 55:[22, 36] Operation: 60-24=36
Exploring Operation: 24-22=2, Resulting Numbers: [60, 2]
Generated Node #0,3,3: 55:[60, 2] Operation: 24-22=2
Exploring Operation: 24+60=84, Resulting Numbers: [22, 84]
Generated Node #0,3,4: 55:[22, 84] Operation: 24+60=84
Moving to Node #0,4
Current State: 55:[32, 60, 14], Operations: ['24-10=14']
Exploring Operation: 60-14=46, Resulting Numbers: [32, 46]
Generated Node #0,4,0: 55:[32, 46] Operation: 60-14=46
Exploring Operation: 32+14=46, Resulting Numbers: [60, 46]
Generated Node #0,4,1: 55:[60, 46] Operation: 32+14=46
Exploring Operation: 60-32=28, Resulting Numbers: [14, 28]
Generated Node #0,4,2: 55:[14, 28] Operation: 60-32=28
Exploring Operation: 32+60=92, Resulting Numbers: [14, 92]
Generated Node #0,4,3: 55:[14, 92] Operation: 32+60=92
Exploring Operation: 32-14=18, Resulting Numbers: [60, 18]
Generated Node #0,4,4: 55:[60, 18] Operation: 32-14=18
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 55:[60, 18], Operations: ['24-10=14', '32-14=18']
Exploring Operation: 60+18=78, Resulting Numbers: [78]
78,55 unequal: No Solution
Exploring Operation: 60*18=1080, Resulting Numbers: [1080]
1080,55 unequal: No Solution
Exploring Operation: 60-18=42, Resulting Numbers: [42]
42,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,4,1
Current State: 55:[60, 46], Operations: ['24-10=14', '32+14=46']
Exploring Operation: 60-46=14, Resulting Numbers: [14]
14,55 unequal: No Solution
Exploring Operation: 60+46=106, Resulting Numbers: [106]
106,55 unequal: No Solution
Exploring Operation: 60*46=2760, Resulting Numbers: [2760]
2760,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,4,2
Current State: 55:[14, 28], Operations: ['24-10=14', '60-32=28']
Exploring Operation: 28-14=14, Resulting Numbers: [14]
14,55 unequal: No Solution
Exploring Operation: 28/14=2, Resulting Numbers: [2]
2,55 unequal: No Solution
Exploring Operation: 14+28=42, Resulting Numbers: [42]
42,55 unequal: No Solution
Exploring Operation: 14*28=392, Resulting Numbers: [392]
392,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,4,0
Current State: 55:[32, 46], Operations: ['24-10=14', '60-14=46']
Exploring Operation: 46-32=14, Resulting Numbers: [14]
14,55 unequal: No Solution
Exploring Operation: 32+46=78, Resulting Numbers: [78]
78,55 unequal: No Solution
Exploring Operation: 32*46=1472, Resulting Numbers: [1472]
1472,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,4,3
Current State: 55:[14, 92], Operations: ['24-10=14', '32+60=92']
Exploring Operation: 14+92=106, Resulting Numbers: [106]
106,55 unequal: No Solution
Exploring Operation: 92-14=78, Resulting Numbers: [78]
78,55 unequal: No Solution
Exploring Operation: 14*92=1288, Resulting Numbers: [1288]
1288,55 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: 55:[24, 60, 42], Operations: ['32+10=42']
Exploring Operation: 24+42=66, Resulting Numbers: [60, 66]
Generated Node #0,1,0: 55:[60, 66] Operation: 24+42=66
Exploring Operation: 60-24=36, Resulting Numbers: [42, 36]
Generated Node #0,1,1: 55:[42, 36] Operation: 60-24=36
Exploring Operation: 42-24=18, Resulting Numbers: [60, 18]
Generated Node #0,1,2: 55:[60, 18] Operation: 42-24=18
Exploring Operation: 24+60=84, Resulting Numbers: [42, 84]
Generated Node #0,1,3: 55:[42, 84] Operation: 24+60=84
Exploring Operation: 60-42=18, Resulting Numbers: [24, 18]
Generated Node #0,1,4: 55:[24, 18] Operation: 60-42=18
Moving to Node #0,3,3
Current State: 55:[60, 2], Operations: ['32-10=22', '24-22=2']
Exploring Operation: 60*2=120, Resulting Numbers: [120]
120,55 unequal: No Solution
Exploring Operation: 60/2=30, Resulting Numbers: [30]
30,55 unequal: No Solution
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,55 unequal: No Solution
Exploring Operation: 60+2=62, Resulting Numbers: [62]
62,55 unequal: No Solution
Moving to Node #0,1,2
Current State: 55:[60, 18], Operations: ['32+10=42', '42-24=18']
Exploring Operation: 60+18=78, Resulting Numbers: [78]
78,55 unequal: No Solution
Exploring Operation: 60-18=42, Resulting Numbers: [42]
42,55 unequal: No Solution
Exploring Operation: 60*18=1080, Resulting Numbers: [1080]
1080,55 unequal: No Solution
Moving to Node #0,3,0
Current State: 55:[60, 46], Operations: ['32-10=22', '24+22=46']
Exploring Operation: 60*46=2760, Resulting Numbers: [2760]
2760,55 unequal: No Solution
Exploring Operation: 60+46=106, Resulting Numbers: [106]
106,55 unequal: No Solution
Exploring Operation: 60-46=14, Resulting Numbers: [14]
14,55 unequal: No Solution
Moving to Node #0,1,0
Current State: 55:[60, 66], Operations: ['32+10=42', '24+42=66']
Exploring Operation: 60+66=126, Resulting Numbers: [126]
126,55 unequal: No Solution
Exploring Operation: 66-60=6, Resulting Numbers: [6]
6,55 unequal: No Solution
Exploring Operation: 60*66=3960, Resulting Numbers: [3960]
3960,55 unequal: No Solution
Moving to Node #0,1,4
Current State: 55:[24, 18], Operations: ['32+10=42', '60-42=18']
Exploring Operation: 24-18=6, Resulting Numbers: [6]
6,55 unequal: No Solution
Exploring Operation: 24+18=42, Resulting Numbers: [42]
42,55 unequal: No Solution
Exploring Operation: 24*18=432, Resulting Numbers: [432]
432,55 unequal: No Solution
Moving to Node #0,3,1
Current State: 55:[24, 38], Operations: ['32-10=22', '60-22=38']
Exploring Operation: 38-24=14, Resulting Numbers: [14]
14,55 unequal: No Solution
Exploring Operation: 24+38=62, Resulting Numbers: [62]
62,55 unequal: No Solution
Exploring Operation: 24*38=912, Resulting Numbers: [912]
912,55 unequal: No Solution
Moving to Node #0,3,2
Current State: 55:[22, 36], Operations: ['32-10=22', '60-24=36']
Exploring Operation: 22*36=792, Resulting Numbers: [792]
792,55 unequal: No Solution
Exploring Operation: 22+36=58, Resulting Numbers: [58]
58,55 unequal: No Solution
Exploring Operation: 36-22=14, Resulting Numbers: [14]
14,55 unequal: No Solution
Moving to Node #0,1,1
Current State: 55:[42, 36], Operations: ['32+10=42', '60-24=36']
Exploring Operation: 42+36=78, Resulting Numbers: [78]
78,55 unequal: No Solution
Exploring Operation: 42*36=1512, Resulting Numbers: [1512]
1512,55 unequal: No Solution
Exploring Operation: 42-36=6, Resulting Numbers: [6]
6,55 unequal: No Solution
Moving to Node #0,3,4
Current State: 55:[22, 84], Operations: ['32-10=22', '24+60=84']
Exploring Operation: 84-22=62, Resulting Numbers: [62]
62,55 unequal: No Solution
Exploring Operation: 22+84=106, Resulting Numbers: [106]
106,55 unequal: No Solution
Exploring Operation: 22*84=1848, Resulting Numbers: [1848]
1848,55 unequal: No Solution
Moving to Node #0,1,3
Current State: 55:[42, 84], Operations: ['32+10=42', '24+60=84']
Exploring Operation: 42+84=126, Resulting Numbers: [126]
126,55 unequal: No Solution
Exploring Operation: 42*84=3528, Resulting Numbers: [3528]
3528,55 unequal: No Solution
Exploring Operation: 84/42=2, Resulting Numbers: [2]
2,55 unequal: No Solution
Exploring Operation: 84-42=42, Resulting Numbers: [42]
42,55 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
65,
4,
61,
21
] | 55 | [
"61-21=40",
"40/4=10",
"65-10=55"
] | Current State: 55:[65, 4, 61, 21], Operations: []
Exploring Operation: 61-21=40, Resulting Numbers: [65, 4, 40]
Generated Node #2: [65, 4, 40] from Operation: 61-21=40
Current State: 55:[65, 4, 40], Operations: ['61-21=40']
Exploring Operation: 40/4=10, Resulting Numbers: [65, 10]
Generated Node #3: [65, 10] from Operation: 40/4=10
Current State: 55:[65, 10], Operations: ['61-21=40', '40/4=10']
Exploring Operation: 65-10=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[65, 4, 61, 21], Operations: []
Exploring Operation: 65-61=4, Resulting Numbers: [4, 21, 4]
Generated Node #0,0: 55:[4, 21, 4] Operation: 65-61=4
Moving to Node #0,0
Current State: 55:[4, 21, 4], Operations: ['65-61=4']
Exploring Operation: 21-4=17, Resulting Numbers: [4, 17]
Generated Node #0,0,0: 55:[4, 17] Operation: 21-4=17
Moving to Node #0,0,0
Current State: 55:[4, 17], Operations: ['65-61=4', '21-4=17']
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,55 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
70,
73,
40,
42
] | 76 | [
"42-40=2",
"73*2=146",
"146-70=76"
] | Current State: 76:[70, 73, 40, 42], Operations: []
Exploring Operation: 42-40=2, Resulting Numbers: [70, 73, 2]
Generated Node #2: [70, 73, 2] from Operation: 42-40=2
Current State: 76:[70, 73, 2], Operations: ['42-40=2']
Exploring Operation: 73*2=146, Resulting Numbers: [70, 146]
Generated Node #3: [70, 146] from Operation: 73*2=146
Current State: 76:[70, 146], Operations: ['42-40=2', '73*2=146']
Exploring Operation: 146-70=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[70, 73, 40, 42], Operations: []
Exploring Operation: 70-42=28, Resulting Numbers: [73, 40, 28]
Generated Node #0,0: 76:[73, 40, 28] Operation: 70-42=28
Exploring Operation: 42-40=2, Resulting Numbers: [70, 73, 2]
Generated Node #0,1: 76:[70, 73, 2] Operation: 42-40=2
Exploring Operation: 73-70=3, Resulting Numbers: [40, 42, 3]
Generated Node #0,2: 76:[40, 42, 3] Operation: 73-70=3
Start Sub Search at level 1: Moving to Node #0,2
Current State: 76:[40, 42, 3], Operations: ['73-70=3']
Exploring Operation: 42-3=39, Resulting Numbers: [40, 39]
Generated Node #0,2,0: 76:[40, 39] Operation: 42-3=39
Exploring Operation: 42-40=2, Resulting Numbers: [3, 2]
Generated Node #0,2,1: 76:[3, 2] Operation: 42-40=2
Exploring Operation: 40-3=37, Resulting Numbers: [42, 37]
Generated Node #0,2,2: 76:[42, 37] Operation: 40-3=37
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 76:[3, 2], Operations: ['73-70=3', '42-40=2']
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,76 unequal: No Solution
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,76 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 76:[40, 39], Operations: ['73-70=3', '42-3=39']
Exploring Operation: 40-39=1, Resulting Numbers: [1]
1,76 unequal: No Solution
Exploring Operation: 40+39=79, Resulting Numbers: [79]
79,76 unequal: No Solution
Exploring Operation: 40*39=1560, Resulting Numbers: [1560]
1560,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 76:[42, 37], Operations: ['73-70=3', '40-3=37']
Exploring Operation: 42-37=5, Resulting Numbers: [5]
5,76 unequal: No Solution
Exploring Operation: 42+37=79, Resulting Numbers: [79]
79,76 unequal: No Solution
Exploring Operation: 42*37=1554, Resulting Numbers: [1554]
1554,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 76:[70, 73, 2], Operations: ['42-40=2']
Exploring Operation: 70+2=72, Resulting Numbers: [73, 72]
Generated Node #0,1,0: 76:[73, 72] Operation: 70+2=72
Exploring Operation: 70/2=35, Resulting Numbers: [73, 35]
Generated Node #0,1,1: 76:[73, 35] Operation: 70/2=35
Exploring Operation: 73-70=3, Resulting Numbers: [2, 3]
Generated Node #0,1,2: 76:[2, 3] Operation: 73-70=3
Moving to Node #0,1,2
Current State: 76:[2, 3], Operations: ['42-40=2', '73-70=3']
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,76 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,76 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,76 unequal: No Solution
Moving to Node #0,1,1
Current State: 76:[73, 35], Operations: ['42-40=2', '70/2=35']
Exploring Operation: 73+35=108, Resulting Numbers: [108]
108,76 unequal: No Solution
Exploring Operation: 73-35=38, Resulting Numbers: [38]
38,76 unequal: No Solution
Exploring Operation: 73*35=2555, Resulting Numbers: [2555]
2555,76 unequal: No Solution
Moving to Node #0,1,0
Current State: 76:[73, 72], Operations: ['42-40=2', '70+2=72']
Exploring Operation: 73+72=145, Resulting Numbers: [145]
145,76 unequal: No Solution
Exploring Operation: 73*72=5256, Resulting Numbers: [5256]
5256,76 unequal: No Solution
Exploring Operation: 73-72=1, Resulting Numbers: [1]
1,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[73, 40, 28], Operations: ['70-42=28']
Exploring Operation: 73-28=45, Resulting Numbers: [40, 45]
Generated Node #0,0,0: 76:[40, 45] Operation: 73-28=45
Exploring Operation: 40-28=12, Resulting Numbers: [73, 12]
Generated Node #0,0,1: 76:[73, 12] Operation: 40-28=12
Exploring Operation: 40+28=68, Resulting Numbers: [73, 68]
Generated Node #0,0,2: 76:[73, 68] Operation: 40+28=68
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 76:[40, 45], Operations: ['70-42=28', '73-28=45']
Exploring Operation: 45-40=5, Resulting Numbers: [5]
5,76 unequal: No Solution
Exploring Operation: 40+45=85, Resulting Numbers: [85]
85,76 unequal: No Solution
Exploring Operation: 40*45=1800, Resulting Numbers: [1800]
1800,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 76:[73, 12], Operations: ['70-42=28', '40-28=12']
Exploring Operation: 73*12=876, Resulting Numbers: [876]
876,76 unequal: No Solution
Exploring Operation: 73+12=85, Resulting Numbers: [85]
85,76 unequal: No Solution
Exploring Operation: 73-12=61, Resulting Numbers: [61]
61,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 76:[73, 68], Operations: ['70-42=28', '40+28=68']
Exploring Operation: 73+68=141, Resulting Numbers: [141]
141,76 unequal: No Solution
Exploring Operation: 73-68=5, Resulting Numbers: [5]
5,76 unequal: No Solution
Exploring Operation: 73*68=4964, Resulting Numbers: [4964]
4964,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
32,
12,
83,
20
] | 84 | [
"32-12=20",
"20/20=1",
"83+1=84"
] | Current State: 84:[32, 12, 83, 20], Operations: []
Exploring Operation: 32-12=20, Resulting Numbers: [83, 20, 20]
Generated Node #2: [83, 20, 20] from Operation: 32-12=20
Current State: 84:[83, 20, 20], Operations: ['32-12=20']
Exploring Operation: 20/20=1, Resulting Numbers: [83, 1]
Generated Node #3: [83, 1] from Operation: 20/20=1
Current State: 84:[83, 1], Operations: ['32-12=20', '20/20=1']
Exploring Operation: 83+1=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[32, 12, 83, 20], Operations: []
Exploring Operation: 32+12=44, Resulting Numbers: [83, 20, 44]
Generated Node #0,0: 84:[83, 20, 44] Operation: 32+12=44
Exploring Operation: 32-20=12, Resulting Numbers: [12, 83, 12]
Generated Node #0,1: 84:[12, 83, 12] Operation: 32-20=12
Exploring Operation: 32-12=20, Resulting Numbers: [83, 20, 20]
Generated Node #0,2: 84:[83, 20, 20] Operation: 32-12=20
Exploring Operation: 20-12=8, Resulting Numbers: [32, 83, 8]
Generated Node #0,3: 84:[32, 83, 8] Operation: 20-12=8
Exploring Operation: 12+20=32, Resulting Numbers: [32, 83, 32]
Generated Node #0,4: 84:[32, 83, 32] Operation: 12+20=32
Moving to Node #0,1
Current State: 84:[12, 83, 12], Operations: ['32-20=12']
Exploring Operation: 12+12=24, Resulting Numbers: [83, 24]
Generated Node #0,1,0: 84:[83, 24] Operation: 12+12=24
Exploring Operation: 83+12=95, Resulting Numbers: [12, 95]
Generated Node #0,1,1: 84:[12, 95] Operation: 83+12=95
Exploring Operation: 12/12=1, Resulting Numbers: [83, 1]
Generated Node #0,1,2: 84:[83, 1] Operation: 12/12=1
Exploring Operation: 12+83=95, Resulting Numbers: [12, 95]
Generated Node #0,1,3: 84:[12, 95] Operation: 12+83=95
Exploring Operation: 12-12=0, Resulting Numbers: [83, 0]
Generated Node #0,1,4: 84:[83, 0] Operation: 12-12=0
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 84:[83, 1], Operations: ['32-20=12', '12/12=1']
Exploring Operation: 83-1=82, Resulting Numbers: [82]
82,84 unequal: No Solution
Exploring Operation: 83/1=83, Resulting Numbers: [83]
83,84 unequal: No Solution
Exploring Operation: 83*1=83, Resulting Numbers: [83]
83,84 unequal: No Solution
Exploring Operation: 83+1=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[32, 12, 83, 20], Operations: []
Exploring Operation: 32-20=12, Resulting Numbers: [12, 83, 12]
Generated Node #0,1: 84:[12, 83, 12] Operation: 32-20=12
Moving to Node #0,1
Current State: 84:[12, 83, 12], Operations: ['32-20=12']
Exploring Operation: 12/12=1, Resulting Numbers: [83, 1]
Generated Node #0,1,2: 84:[83, 1] Operation: 12/12=1
Moving to Node #0,1,2
Current State: 84:[83, 1], Operations: ['32-20=12', '12/12=1']
Exploring Operation: 83+1=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
[
92,
97,
96,
15
] | 32 | [
"97-92=5",
"96*5=480",
"480/15=32"
] | Current State: 32:[92, 97, 96, 15], Operations: []
Exploring Operation: 97-92=5, Resulting Numbers: [96, 15, 5]
Generated Node #2: [96, 15, 5] from Operation: 97-92=5
Current State: 32:[96, 15, 5], Operations: ['97-92=5']
Exploring Operation: 96*5=480, Resulting Numbers: [15, 480]
Generated Node #3: [15, 480] from Operation: 96*5=480
Current State: 32:[15, 480], Operations: ['97-92=5', '96*5=480']
Exploring Operation: 480/15=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[92, 97, 96, 15], Operations: []
Exploring Operation: 96-92=4, Resulting Numbers: [97, 15, 4]
Generated Node #0,0: 32:[97, 15, 4] Operation: 96-92=4
Exploring Operation: 92-15=77, Resulting Numbers: [97, 96, 77]
Generated Node #0,1: 32:[97, 96, 77] Operation: 92-15=77
Exploring Operation: 97-96=1, Resulting Numbers: [92, 15, 1]
Generated Node #0,2: 32:[92, 15, 1] Operation: 97-96=1
Exploring Operation: 97-92=5, Resulting Numbers: [96, 15, 5]
Generated Node #0,3: 32:[96, 15, 5] Operation: 97-92=5
Start Sub Search at level 1: Moving to Node #0,2
Current State: 32:[92, 15, 1], Operations: ['97-96=1']
Exploring Operation: 92-1=91, Resulting Numbers: [15, 91]
Generated Node #0,2,0: 32:[15, 91] Operation: 92-1=91
Exploring Operation: 92*1=92, Resulting Numbers: [15, 92]
Generated Node #0,2,1: 32:[15, 92] Operation: 92*1=92
Exploring Operation: 15+1=16, Resulting Numbers: [92, 16]
Generated Node #0,2,2: 32:[92, 16] Operation: 15+1=16
Exploring Operation: 92-15=77, Resulting Numbers: [1, 77]
Generated Node #0,2,3: 32:[1, 77] Operation: 92-15=77
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 32:[1, 77], Operations: ['97-96=1', '92-15=77']
Exploring Operation: 1*77=77, Resulting Numbers: [77]
77,32 unequal: No Solution
Exploring Operation: 77/1=77, Resulting Numbers: [77]
77,32 unequal: No Solution
Exploring Operation: 1+77=78, Resulting Numbers: [78]
78,32 unequal: No Solution
Exploring Operation: 77-1=76, Resulting Numbers: [76]
76,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 32:[15, 91], Operations: ['97-96=1', '92-1=91']
Exploring Operation: 15*91=1365, Resulting Numbers: [1365]
1365,32 unequal: No Solution
Exploring Operation: 91-15=76, Resulting Numbers: [76]
76,32 unequal: No Solution
Exploring Operation: 15+91=106, Resulting Numbers: [106]
106,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 32:[92, 16], Operations: ['97-96=1', '15+1=16']
Exploring Operation: 92-16=76, Resulting Numbers: [76]
76,32 unequal: No Solution
Exploring Operation: 92*16=1472, Resulting Numbers: [1472]
1472,32 unequal: No Solution
Exploring Operation: 92+16=108, Resulting Numbers: [108]
108,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 32:[15, 92], Operations: ['97-96=1', '92*1=92']
Exploring Operation: 15*92=1380, Resulting Numbers: [1380]
1380,32 unequal: No Solution
Exploring Operation: 92-15=77, Resulting Numbers: [77]
77,32 unequal: No Solution
Exploring Operation: 15+92=107, Resulting Numbers: [107]
107,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 32:[97, 15, 4], Operations: ['96-92=4']
Exploring Operation: 97-4=93, Resulting Numbers: [15, 93]
Generated Node #0,0,0: 32:[15, 93] Operation: 97-4=93
Exploring Operation: 97-15=82, Resulting Numbers: [4, 82]
Generated Node #0,0,1: 32:[4, 82] Operation: 97-15=82
Exploring Operation: 15+4=19, Resulting Numbers: [97, 19]
Generated Node #0,0,2: 32:[97, 19] Operation: 15+4=19
Exploring Operation: 15-4=11, Resulting Numbers: [97, 11]
Generated Node #0,0,3: 32:[97, 11] Operation: 15-4=11
Moving to Node #0,0,1
Current State: 32:[4, 82], Operations: ['96-92=4', '97-15=82']
Exploring Operation: 82-4=78, Resulting Numbers: [78]
78,32 unequal: No Solution
Exploring Operation: 4*82=328, Resulting Numbers: [328]
328,32 unequal: No Solution
Exploring Operation: 4+82=86, Resulting Numbers: [86]
86,32 unequal: No Solution
Moving to Node #0,0,0
Current State: 32:[15, 93], Operations: ['96-92=4', '97-4=93']
Exploring Operation: 15*93=1395, Resulting Numbers: [1395]
1395,32 unequal: No Solution
Exploring Operation: 93-15=78, Resulting Numbers: [78]
78,32 unequal: No Solution
Exploring Operation: 15+93=108, Resulting Numbers: [108]
108,32 unequal: No Solution
Moving to Node #0,0,3
Current State: 32:[97, 11], Operations: ['96-92=4', '15-4=11']
Exploring Operation: 97+11=108, Resulting Numbers: [108]
108,32 unequal: No Solution
Exploring Operation: 97*11=1067, Resulting Numbers: [1067]
1067,32 unequal: No Solution
Exploring Operation: 97-11=86, Resulting Numbers: [86]
86,32 unequal: No Solution
Moving to Node #0,0,2
Current State: 32:[97, 19], Operations: ['96-92=4', '15+4=19']
Exploring Operation: 97+19=116, Resulting Numbers: [116]
116,32 unequal: No Solution
Exploring Operation: 97-19=78, Resulting Numbers: [78]
78,32 unequal: No Solution
Exploring Operation: 97*19=1843, Resulting Numbers: [1843]
1843,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 32:[96, 15, 5], Operations: ['97-92=5']
Exploring Operation: 96-5=91, Resulting Numbers: [15, 91]
Generated Node #0,3,0: 32:[15, 91] Operation: 96-5=91
Exploring Operation: 15/5=3, Resulting Numbers: [96, 3]
Generated Node #0,3,1: 32:[96, 3] Operation: 15/5=3
Exploring Operation: 15-5=10, Resulting Numbers: [96, 10]
Generated Node #0,3,2: 32:[96, 10] Operation: 15-5=10
Exploring Operation: 96-15=81, Resulting Numbers: [5, 81]
Generated Node #0,3,3: 32:[5, 81] Operation: 96-15=81
Moving to Node #0,3,3
Current State: 32:[5, 81], Operations: ['97-92=5', '96-15=81']
Exploring Operation: 5*81=405, Resulting Numbers: [405]
405,32 unequal: No Solution
Exploring Operation: 81-5=76, Resulting Numbers: [76]
76,32 unequal: No Solution
Exploring Operation: 5+81=86, Resulting Numbers: [86]
86,32 unequal: No Solution
Moving to Node #0,3,0
Current State: 32:[15, 91], Operations: ['97-92=5', '96-5=91']
Exploring Operation: 15+91=106, Resulting Numbers: [106]
106,32 unequal: No Solution
Exploring Operation: 15*91=1365, Resulting Numbers: [1365]
1365,32 unequal: No Solution
Exploring Operation: 91-15=76, Resulting Numbers: [76]
76,32 unequal: No Solution
Moving to Node #0,3,1
Current State: 32:[96, 3], Operations: ['97-92=5', '15/5=3']
Exploring Operation: 96*3=288, Resulting Numbers: [288]
288,32 unequal: No Solution
Exploring Operation: 96-3=93, Resulting Numbers: [93]
93,32 unequal: No Solution
Exploring Operation: 96/3=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[92, 97, 96, 15], Operations: []
Exploring Operation: 97-92=5, Resulting Numbers: [96, 15, 5]
Generated Node #0,3: 32:[96, 15, 5] Operation: 97-92=5
Moving to Node #0,3
Current State: 32:[96, 15, 5], Operations: ['97-92=5']
Exploring Operation: 15/5=3, Resulting Numbers: [96, 3]
Generated Node #0,3,1: 32:[96, 3] Operation: 15/5=3
Moving to Node #0,3,1
Current State: 32:[96, 3], Operations: ['97-92=5', '15/5=3']
Exploring Operation: 96/3=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.953125 | hs_4 | sum_heuristic |
[
13,
26,
86,
49
] | 74 | [
"26/13=2",
"86-49=37",
"2*37=74"
] | Current State: 74:[13, 26, 86, 49], Operations: []
Exploring Operation: 26/13=2, Resulting Numbers: [86, 49, 2]
Generated Node #2: [86, 49, 2] from Operation: 26/13=2
Current State: 74:[86, 49, 2], Operations: ['26/13=2']
Exploring Operation: 86-49=37, Resulting Numbers: [2, 37]
Generated Node #3: [2, 37] from Operation: 86-49=37
Current State: 74:[2, 37], Operations: ['26/13=2', '86-49=37']
Exploring Operation: 2*37=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[13, 26, 86, 49], Operations: []
Exploring Operation: 26/13=2, Resulting Numbers: [86, 49, 2]
Generated Node #0,0: 74:[86, 49, 2] Operation: 26/13=2
Exploring Operation: 26+49=75, Resulting Numbers: [13, 86, 75]
Generated Node #0,1: 74:[13, 86, 75] Operation: 26+49=75
Exploring Operation: 86-13=73, Resulting Numbers: [26, 49, 73]
Generated Node #0,2: 74:[26, 49, 73] Operation: 86-13=73
Exploring Operation: 86-49=37, Resulting Numbers: [13, 26, 37]
Generated Node #0,3: 74:[13, 26, 37] Operation: 86-49=37
Exploring Operation: 49-13=36, Resulting Numbers: [26, 86, 36]
Generated Node #0,4: 74:[26, 86, 36] Operation: 49-13=36
Start Sub Search at level 1: Moving to Node #0,3
Current State: 74:[13, 26, 37], Operations: ['86-49=37']
Exploring Operation: 13+26=39, Resulting Numbers: [37, 39]
Generated Node #0,3,0: 74:[37, 39] Operation: 13+26=39
Exploring Operation: 26+37=63, Resulting Numbers: [13, 63]
Generated Node #0,3,1: 74:[13, 63] Operation: 26+37=63
Exploring Operation: 26/13=2, Resulting Numbers: [37, 2]
Generated Node #0,3,2: 74:[37, 2] Operation: 26/13=2
Exploring Operation: 26-13=13, Resulting Numbers: [37, 13]
Generated Node #0,3,3: 74:[37, 13] Operation: 26-13=13
Exploring Operation: 37-26=11, Resulting Numbers: [13, 11]
Generated Node #0,3,4: 74:[13, 11] Operation: 37-26=11
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 74:[37, 2], Operations: ['86-49=37', '26/13=2']
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,74 unequal: No Solution
Exploring Operation: 37*2=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[13, 26, 86, 49], Operations: []
Exploring Operation: 86-49=37, Resulting Numbers: [13, 26, 37]
Generated Node #0,3: 74:[13, 26, 37] Operation: 86-49=37
Moving to Node #0,3
Current State: 74:[13, 26, 37], Operations: ['86-49=37']
Exploring Operation: 26/13=2, Resulting Numbers: [37, 2]
Generated Node #0,3,2: 74:[37, 2] Operation: 26/13=2
Moving to Node #0,3,2
Current State: 74:[37, 2], Operations: ['86-49=37', '26/13=2']
Exploring Operation: 37*2=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
10,
97,
15,
34
] | 46 | [
"15*34=510",
"510/10=51",
"97-51=46"
] | Current State: 46:[10, 97, 15, 34], Operations: []
Exploring Operation: 15*34=510, Resulting Numbers: [10, 97, 510]
Generated Node #2: [10, 97, 510] from Operation: 15*34=510
Current State: 46:[10, 97, 510], Operations: ['15*34=510']
Exploring Operation: 510/10=51, Resulting Numbers: [97, 51]
Generated Node #3: [97, 51] from Operation: 510/10=51
Current State: 46:[97, 51], Operations: ['15*34=510', '510/10=51']
Exploring Operation: 97-51=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[10, 97, 15, 34], Operations: []
Exploring Operation: 97-10=87, Resulting Numbers: [15, 34, 87]
Generated Node #0,0: 46:[15, 34, 87] Operation: 97-10=87
Exploring Operation: 97-15=82, Resulting Numbers: [10, 34, 82]
Generated Node #0,1: 46:[10, 34, 82] Operation: 97-15=82
Exploring Operation: 97-34=63, Resulting Numbers: [10, 15, 63]
Generated Node #0,2: 46:[10, 15, 63] Operation: 97-34=63
Start Sub Search at level 1: Moving to Node #0,2
Current State: 46:[10, 15, 63], Operations: ['97-34=63']
Exploring Operation: 63-10=53, Resulting Numbers: [15, 53]
Generated Node #0,2,0: 46:[15, 53] Operation: 63-10=53
Exploring Operation: 63-15=48, Resulting Numbers: [10, 48]
Generated Node #0,2,1: 46:[10, 48] Operation: 63-15=48
Exploring Operation: 10+15=25, Resulting Numbers: [63, 25]
Generated Node #0,2,2: 46:[63, 25] Operation: 10+15=25
Moving to Node #0,2,1
Current State: 46:[10, 48], Operations: ['97-34=63', '63-15=48']
Exploring Operation: 10*48=480, Resulting Numbers: [480]
480,46 unequal: No Solution
Exploring Operation: 10+48=58, Resulting Numbers: [58]
58,46 unequal: No Solution
Exploring Operation: 48-10=38, Resulting Numbers: [38]
38,46 unequal: No Solution
Moving to Node #0,2,0
Current State: 46:[15, 53], Operations: ['97-34=63', '63-10=53']
Exploring Operation: 15*53=795, Resulting Numbers: [795]
795,46 unequal: No Solution
Exploring Operation: 53-15=38, Resulting Numbers: [38]
38,46 unequal: No Solution
Exploring Operation: 15+53=68, Resulting Numbers: [68]
68,46 unequal: No Solution
Moving to Node #0,2,2
Current State: 46:[63, 25], Operations: ['97-34=63', '10+15=25']
Exploring Operation: 63+25=88, Resulting Numbers: [88]
88,46 unequal: No Solution
Exploring Operation: 63*25=1575, Resulting Numbers: [1575]
1575,46 unequal: No Solution
Exploring Operation: 63-25=38, Resulting Numbers: [38]
38,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 46:[10, 34, 82], Operations: ['97-15=82']
Exploring Operation: 34-10=24, Resulting Numbers: [82, 24]
Generated Node #0,1,0: 46:[82, 24] Operation: 34-10=24
Exploring Operation: 82-34=48, Resulting Numbers: [10, 48]
Generated Node #0,1,1: 46:[10, 48] Operation: 82-34=48
Exploring Operation: 82-10=72, Resulting Numbers: [34, 72]
Generated Node #0,1,2: 46:[34, 72] Operation: 82-10=72
Moving to Node #0,1,1
Current State: 46:[10, 48], Operations: ['97-15=82', '82-34=48']
Exploring Operation: 10+48=58, Resulting Numbers: [58]
58,46 unequal: No Solution
Exploring Operation: 10*48=480, Resulting Numbers: [480]
480,46 unequal: No Solution
Exploring Operation: 48-10=38, Resulting Numbers: [38]
38,46 unequal: No Solution
Moving to Node #0,1,0
Current State: 46:[82, 24], Operations: ['97-15=82', '34-10=24']
Exploring Operation: 82+24=106, Resulting Numbers: [106]
106,46 unequal: No Solution
Exploring Operation: 82-24=58, Resulting Numbers: [58]
58,46 unequal: No Solution
Exploring Operation: 82*24=1968, Resulting Numbers: [1968]
1968,46 unequal: No Solution
Moving to Node #0,1,2
Current State: 46:[34, 72], Operations: ['97-15=82', '82-10=72']
Exploring Operation: 72-34=38, Resulting Numbers: [38]
38,46 unequal: No Solution
Exploring Operation: 34+72=106, Resulting Numbers: [106]
106,46 unequal: No Solution
Exploring Operation: 34*72=2448, Resulting Numbers: [2448]
2448,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:[15, 34, 87], Operations: ['97-10=87']
Exploring Operation: 87-34=53, Resulting Numbers: [15, 53]
Generated Node #0,0,0: 46:[15, 53] Operation: 87-34=53
Exploring Operation: 15+34=49, Resulting Numbers: [87, 49]
Generated Node #0,0,1: 46:[87, 49] Operation: 15+34=49
Exploring Operation: 87-15=72, Resulting Numbers: [34, 72]
Generated Node #0,0,2: 46:[34, 72] Operation: 87-15=72
Moving to Node #0,0,0
Current State: 46:[15, 53], Operations: ['97-10=87', '87-34=53']
Exploring Operation: 15+53=68, Resulting Numbers: [68]
68,46 unequal: No Solution
Exploring Operation: 53-15=38, Resulting Numbers: [38]
38,46 unequal: No Solution
Exploring Operation: 15*53=795, Resulting Numbers: [795]
795,46 unequal: No Solution
Moving to Node #0,0,2
Current State: 46:[34, 72], Operations: ['97-10=87', '87-15=72']
Exploring Operation: 34*72=2448, Resulting Numbers: [2448]
2448,46 unequal: No Solution
Exploring Operation: 34+72=106, Resulting Numbers: [106]
106,46 unequal: No Solution
Exploring Operation: 72-34=38, Resulting Numbers: [38]
38,46 unequal: No Solution
Moving to Node #0,0,1
Current State: 46:[87, 49], Operations: ['97-10=87', '15+34=49']
Exploring Operation: 87-49=38, Resulting Numbers: [38]
38,46 unequal: No Solution
Exploring Operation: 87+49=136, Resulting Numbers: [136]
136,46 unequal: No Solution
Exploring Operation: 87*49=4263, Resulting Numbers: [4263]
4263,46 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 |
[
48,
15,
44,
21
] | 98 | [
"48-15=33",
"44+21=65",
"33+65=98"
] | Current State: 98:[48, 15, 44, 21], Operations: []
Exploring Operation: 48-15=33, Resulting Numbers: [44, 21, 33]
Generated Node #2: [44, 21, 33] from Operation: 48-15=33
Current State: 98:[44, 21, 33], Operations: ['48-15=33']
Exploring Operation: 44+21=65, Resulting Numbers: [33, 65]
Generated Node #3: [33, 65] from Operation: 44+21=65
Current State: 98:[33, 65], Operations: ['48-15=33', '44+21=65']
Exploring Operation: 33+65=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[48, 15, 44, 21], Operations: []
Exploring Operation: 48-44=4, Resulting Numbers: [15, 21, 4]
Generated Node #0,0: 98:[15, 21, 4] Operation: 48-44=4
Exploring Operation: 48+44=92, Resulting Numbers: [15, 21, 92]
Generated Node #0,1: 98:[15, 21, 92] Operation: 48+44=92
Exploring Operation: 21-15=6, Resulting Numbers: [48, 44, 6]
Generated Node #0,2: 98:[48, 44, 6] Operation: 21-15=6
Exploring Operation: 44-21=23, Resulting Numbers: [48, 15, 23]
Generated Node #0,3: 98:[48, 15, 23] Operation: 44-21=23
Exploring Operation: 15+44=59, Resulting Numbers: [48, 21, 59]
Generated Node #0,4: 98:[48, 21, 59] Operation: 15+44=59
Start Sub Search at level 1: Moving to Node #0,2
Current State: 98:[48, 44, 6], Operations: ['21-15=6']
Exploring Operation: 44+6=50, Resulting Numbers: [48, 50]
Generated Node #0,2,0: 98:[48, 50] Operation: 44+6=50
Exploring Operation: 48+44=92, Resulting Numbers: [6, 92]
Generated Node #0,2,1: 98:[6, 92] Operation: 48+44=92
Exploring Operation: 48/6=8, Resulting Numbers: [44, 8]
Generated Node #0,2,2: 98:[44, 8] Operation: 48/6=8
Exploring Operation: 48+6=54, Resulting Numbers: [44, 54]
Generated Node #0,2,3: 98:[44, 54] Operation: 48+6=54
Exploring Operation: 48-44=4, Resulting Numbers: [6, 4]
Generated Node #0,2,4: 98:[6, 4] Operation: 48-44=4
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 98:[48, 50], Operations: ['21-15=6', '44+6=50']
Exploring Operation: 50-48=2, Resulting Numbers: [2]
2,98 unequal: No Solution
Exploring Operation: 48+50=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[48, 15, 44, 21], Operations: []
Exploring Operation: 21-15=6, Resulting Numbers: [48, 44, 6]
Generated Node #0,2: 98:[48, 44, 6] Operation: 21-15=6
Moving to Node #0,2
Current State: 98:[48, 44, 6], Operations: ['21-15=6']
Exploring Operation: 44+6=50, Resulting Numbers: [48, 50]
Generated Node #0,2,0: 98:[48, 50] Operation: 44+6=50
Moving to Node #0,2,0
Current State: 98:[48, 50], Operations: ['21-15=6', '44+6=50']
Exploring Operation: 48+50=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
60,
69,
87,
19
] | 60 | [
"87-69=18",
"19-18=1",
"60*1=60"
] | Current State: 60:[60, 69, 87, 19], Operations: []
Exploring Operation: 87-69=18, Resulting Numbers: [60, 19, 18]
Generated Node #2: [60, 19, 18] from Operation: 87-69=18
Current State: 60:[60, 19, 18], Operations: ['87-69=18']
Exploring Operation: 19-18=1, Resulting Numbers: [60, 1]
Generated Node #3: [60, 1] from Operation: 19-18=1
Current State: 60:[60, 1], Operations: ['87-69=18', '19-18=1']
Exploring Operation: 60*1=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[60, 69, 87, 19], Operations: []
Exploring Operation: 87-69=18, Resulting Numbers: [60, 19, 18]
Generated Node #0,0: 60:[60, 19, 18] Operation: 87-69=18
Exploring Operation: 87-60=27, Resulting Numbers: [69, 19, 27]
Generated Node #0,1: 60:[69, 19, 27] Operation: 87-60=27
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[60, 19, 18], Operations: ['87-69=18']
Exploring Operation: 19+18=37, Resulting Numbers: [60, 37]
Generated Node #0,0,0: 60:[60, 37] Operation: 19+18=37
Exploring Operation: 19-18=1, Resulting Numbers: [60, 1]
Generated Node #0,0,1: 60:[60, 1] Operation: 19-18=1
Moving to Node #0,0,1
Current State: 60:[60, 1], Operations: ['87-69=18', '19-18=1']
Exploring Operation: 60*1=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[60, 69, 87, 19], Operations: []
Exploring Operation: 87-69=18, Resulting Numbers: [60, 19, 18]
Generated Node #0,0: 60:[60, 19, 18] Operation: 87-69=18
Moving to Node #0,0
Current State: 60:[60, 19, 18], Operations: ['87-69=18']
Exploring Operation: 19-18=1, Resulting Numbers: [60, 1]
Generated Node #0,0,1: 60:[60, 1] Operation: 19-18=1
Moving to Node #0,0,1
Current State: 60:[60, 1], Operations: ['87-69=18', '19-18=1']
Exploring Operation: 60*1=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
71,
67,
22,
90
] | 28 | [
"71-67=4",
"22+90=112",
"112/4=28"
] | Current State: 28:[71, 67, 22, 90], Operations: []
Exploring Operation: 71-67=4, Resulting Numbers: [22, 90, 4]
Generated Node #2: [22, 90, 4] from Operation: 71-67=4
Current State: 28:[22, 90, 4], Operations: ['71-67=4']
Exploring Operation: 22+90=112, Resulting Numbers: [4, 112]
Generated Node #3: [4, 112] from Operation: 22+90=112
Current State: 28:[4, 112], Operations: ['71-67=4', '22+90=112']
Exploring Operation: 112/4=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[71, 67, 22, 90], Operations: []
Exploring Operation: 71-22=49, Resulting Numbers: [67, 90, 49]
Generated Node #0,0: 28:[67, 90, 49] Operation: 71-22=49
Exploring Operation: 90-71=19, Resulting Numbers: [67, 22, 19]
Generated Node #0,1: 28:[67, 22, 19] Operation: 90-71=19
Exploring Operation: 90-67=23, Resulting Numbers: [71, 22, 23]
Generated Node #0,2: 28:[71, 22, 23] Operation: 90-67=23
Exploring Operation: 71-67=4, Resulting Numbers: [22, 90, 4]
Generated Node #0,3: 28:[22, 90, 4] Operation: 71-67=4
Exploring Operation: 67-22=45, Resulting Numbers: [71, 90, 45]
Generated Node #0,4: 28:[71, 90, 45] Operation: 67-22=45
Start Sub Search at level 1: Moving to Node #0,1
Current State: 28:[67, 22, 19], Operations: ['90-71=19']
Exploring Operation: 67-22=45, Resulting Numbers: [19, 45]
Generated Node #0,1,0: 28:[19, 45] Operation: 67-22=45
Exploring Operation: 67+19=86, Resulting Numbers: [22, 86]
Generated Node #0,1,1: 28:[22, 86] Operation: 67+19=86
Exploring Operation: 22+19=41, Resulting Numbers: [67, 41]
Generated Node #0,1,2: 28:[67, 41] Operation: 22+19=41
Exploring Operation: 67-19=48, Resulting Numbers: [22, 48]
Generated Node #0,1,3: 28:[22, 48] Operation: 67-19=48
Exploring Operation: 22-19=3, Resulting Numbers: [67, 3]
Generated Node #0,1,4: 28:[67, 3] Operation: 22-19=3
Moving to Node #0,1,0
Current State: 28:[19, 45], Operations: ['90-71=19', '67-22=45']
Exploring Operation: 19+45=64, Resulting Numbers: [64]
64,28 unequal: No Solution
Exploring Operation: 45-19=26, Resulting Numbers: [26]
26,28 unequal: No Solution
Exploring Operation: 19*45=855, Resulting Numbers: [855]
855,28 unequal: No Solution
Moving to Node #0,1,3
Current State: 28:[22, 48], Operations: ['90-71=19', '67-19=48']
Exploring Operation: 48-22=26, Resulting Numbers: [26]
26,28 unequal: No Solution
Exploring Operation: 22*48=1056, Resulting Numbers: [1056]
1056,28 unequal: No Solution
Exploring Operation: 22+48=70, Resulting Numbers: [70]
70,28 unequal: No Solution
Moving to Node #0,1,4
Current State: 28:[67, 3], Operations: ['90-71=19', '22-19=3']
Exploring Operation: 67*3=201, Resulting Numbers: [201]
201,28 unequal: No Solution
Exploring Operation: 67+3=70, Resulting Numbers: [70]
70,28 unequal: No Solution
Exploring Operation: 67-3=64, Resulting Numbers: [64]
64,28 unequal: No Solution
Moving to Node #0,1,2
Current State: 28:[67, 41], Operations: ['90-71=19', '22+19=41']
Exploring Operation: 67*41=2747, Resulting Numbers: [2747]
2747,28 unequal: No Solution
Exploring Operation: 67-41=26, Resulting Numbers: [26]
26,28 unequal: No Solution
Exploring Operation: 67+41=108, Resulting Numbers: [108]
108,28 unequal: No Solution
Moving to Node #0,1,1
Current State: 28:[22, 86], Operations: ['90-71=19', '67+19=86']
Exploring Operation: 22+86=108, Resulting Numbers: [108]
108,28 unequal: No Solution
Exploring Operation: 22*86=1892, Resulting Numbers: [1892]
1892,28 unequal: No Solution
Exploring Operation: 86-22=64, Resulting Numbers: [64]
64,28 unequal: No Solution
No 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: 28:[71, 22, 23], Operations: ['90-67=23']
Exploring Operation: 71-23=48, Resulting Numbers: [22, 48]
Generated Node #0,2,0: 28:[22, 48] Operation: 71-23=48
Exploring Operation: 22+23=45, Resulting Numbers: [71, 45]
Generated Node #0,2,1: 28:[71, 45] Operation: 22+23=45
Exploring Operation: 71-22=49, Resulting Numbers: [23, 49]
Generated Node #0,2,2: 28:[23, 49] Operation: 71-22=49
Exploring Operation: 71+22=93, Resulting Numbers: [23, 93]
Generated Node #0,2,3: 28:[23, 93] Operation: 71+22=93
Exploring Operation: 23-22=1, Resulting Numbers: [71, 1]
Generated Node #0,2,4: 28:[71, 1] Operation: 23-22=1
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 28:[22, 48], Operations: ['90-67=23', '71-23=48']
Exploring Operation: 48-22=26, Resulting Numbers: [26]
26,28 unequal: No Solution
Exploring Operation: 22+48=70, Resulting Numbers: [70]
70,28 unequal: No Solution
Exploring Operation: 22*48=1056, Resulting Numbers: [1056]
1056,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,2,2
Current State: 28:[23, 49], Operations: ['90-67=23', '71-22=49']
Exploring Operation: 23+49=72, Resulting Numbers: [72]
72,28 unequal: No Solution
Exploring Operation: 23*49=1127, Resulting Numbers: [1127]
1127,28 unequal: No Solution
Exploring Operation: 49-23=26, Resulting Numbers: [26]
26,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,2,4
Current State: 28:[71, 1], Operations: ['90-67=23', '23-22=1']
Exploring Operation: 71-1=70, Resulting Numbers: [70]
70,28 unequal: No Solution
Exploring Operation: 71+1=72, Resulting Numbers: [72]
72,28 unequal: No Solution
Exploring Operation: 71*1=71, Resulting Numbers: [71]
71,28 unequal: No Solution
Exploring Operation: 71/1=71, Resulting Numbers: [71]
71,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,2,1
Current State: 28:[71, 45], Operations: ['90-67=23', '22+23=45']
Exploring Operation: 71-45=26, Resulting Numbers: [26]
26,28 unequal: No Solution
Exploring Operation: 71*45=3195, Resulting Numbers: [3195]
3195,28 unequal: No Solution
Exploring Operation: 71+45=116, Resulting Numbers: [116]
116,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,2,3
Current State: 28:[23, 93], Operations: ['90-67=23', '71+22=93']
Exploring Operation: 93-23=70, Resulting Numbers: [70]
70,28 unequal: No Solution
Exploring Operation: 23*93=2139, Resulting Numbers: [2139]
2139,28 unequal: No Solution
Exploring Operation: 23+93=116, Resulting Numbers: [116]
116,28 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: 28:[22, 90, 4], Operations: ['71-67=4']
Exploring Operation: 90+4=94, Resulting Numbers: [22, 94]
Generated Node #0,3,0: 28:[22, 94] Operation: 90+4=94
Exploring Operation: 90-4=86, Resulting Numbers: [22, 86]
Generated Node #0,3,1: 28:[22, 86] Operation: 90-4=86
Exploring Operation: 22+4=26, Resulting Numbers: [90, 26]
Generated Node #0,3,2: 28:[90, 26] Operation: 22+4=26
Exploring Operation: 22-4=18, Resulting Numbers: [90, 18]
Generated Node #0,3,3: 28:[90, 18] Operation: 22-4=18
Exploring Operation: 90-22=68, Resulting Numbers: [4, 68]
Generated Node #0,3,4: 28:[4, 68] Operation: 90-22=68
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 28:[4, 68], Operations: ['71-67=4', '90-22=68']
Exploring Operation: 68/4=17, Resulting Numbers: [17]
17,28 unequal: No Solution
Exploring Operation: 4+68=72, Resulting Numbers: [72]
72,28 unequal: No Solution
Exploring Operation: 4*68=272, Resulting Numbers: [272]
272,28 unequal: No Solution
Exploring Operation: 68-4=64, Resulting Numbers: [64]
64,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,1
Current State: 28:[22, 86], Operations: ['71-67=4', '90-4=86']
Exploring Operation: 22+86=108, Resulting Numbers: [108]
108,28 unequal: No Solution
Exploring Operation: 86-22=64, Resulting Numbers: [64]
64,28 unequal: No Solution
Exploring Operation: 22*86=1892, Resulting Numbers: [1892]
1892,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,2
Current State: 28:[90, 26], Operations: ['71-67=4', '22+4=26']
Exploring Operation: 90+26=116, Resulting Numbers: [116]
116,28 unequal: No Solution
Exploring Operation: 90*26=2340, Resulting Numbers: [2340]
2340,28 unequal: No Solution
Exploring Operation: 90-26=64, Resulting Numbers: [64]
64,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,3
Current State: 28:[90, 18], Operations: ['71-67=4', '22-4=18']
Exploring Operation: 90+18=108, Resulting Numbers: [108]
108,28 unequal: No Solution
Exploring Operation: 90-18=72, Resulting Numbers: [72]
72,28 unequal: No Solution
Exploring Operation: 90*18=1620, Resulting Numbers: [1620]
1620,28 unequal: No Solution
Exploring Operation: 90/18=5, Resulting Numbers: [5]
5,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:[22, 94], Operations: ['71-67=4', '90+4=94']
Exploring Operation: 22+94=116, Resulting Numbers: [116]
116,28 unequal: No Solution
Exploring Operation: 22*94=2068, Resulting Numbers: [2068]
2068,28 unequal: No Solution
Exploring Operation: 94-22=72, Resulting Numbers: [72]
72,28 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: 28:[67, 90, 49], Operations: ['71-22=49']
Exploring Operation: 90-67=23, Resulting Numbers: [49, 23]
Generated Node #0,0,0: 28:[49, 23] Operation: 90-67=23
Exploring Operation: 67+90=157, Resulting Numbers: [49, 157]
Generated Node #0,0,1: 28:[49, 157] Operation: 67+90=157
Exploring Operation: 90-49=41, Resulting Numbers: [67, 41]
Generated Node #0,0,2: 28:[67, 41] Operation: 90-49=41
Exploring Operation: 67-49=18, Resulting Numbers: [90, 18]
Generated Node #0,0,3: 28:[90, 18] Operation: 67-49=18
Exploring Operation: 67+49=116, Resulting Numbers: [90, 116]
Generated Node #0,0,4: 28:[90, 116] Operation: 67+49=116
Moving to Node #0,0,0
Current State: 28:[49, 23], Operations: ['71-22=49', '90-67=23']
Exploring Operation: 49+23=72, Resulting Numbers: [72]
72,28 unequal: No Solution
Exploring Operation: 49*23=1127, Resulting Numbers: [1127]
1127,28 unequal: No Solution
Exploring Operation: 49-23=26, Resulting Numbers: [26]
26,28 unequal: No Solution
Moving to Node #0,0,2
Current State: 28:[67, 41], Operations: ['71-22=49', '90-49=41']
Exploring Operation: 67+41=108, Resulting Numbers: [108]
108,28 unequal: No Solution
Exploring Operation: 67-41=26, Resulting Numbers: [26]
26,28 unequal: No Solution
Exploring Operation: 67*41=2747, Resulting Numbers: [2747]
2747,28 unequal: No Solution
Moving to Node #0,0,3
Current State: 28:[90, 18], Operations: ['71-22=49', '67-49=18']
Exploring Operation: 90-18=72, Resulting Numbers: [72]
72,28 unequal: No Solution
Exploring Operation: 90+18=108, Resulting Numbers: [108]
108,28 unequal: No Solution
Exploring Operation: 90*18=1620, Resulting Numbers: [1620]
1620,28 unequal: No Solution
Exploring Operation: 90/18=5, Resulting Numbers: [5]
5,28 unequal: No Solution
Moving to Node #0,0,1
Current State: 28:[49, 157], Operations: ['71-22=49', '67+90=157']
Exploring Operation: 49+157=206, Resulting Numbers: [206]
206,28 unequal: No Solution
Exploring Operation: 157-49=108, Resulting Numbers: [108]
108,28 unequal: No Solution
Exploring Operation: 49*157=7693, Resulting Numbers: [7693]
7693,28 unequal: No Solution
Moving to Node #0,0,4
Current State: 28:[90, 116], Operations: ['71-22=49', '67+49=116']
Exploring Operation: 90+116=206, Resulting Numbers: [206]
206,28 unequal: No Solution
Exploring Operation: 116-90=26, Resulting Numbers: [26]
26,28 unequal: No Solution
Exploring Operation: 90*116=10440, Resulting Numbers: [10440]
10440,28 unequal: No Solution
No 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: 28:[71, 90, 45], Operations: ['67-22=45']
Exploring Operation: 71+90=161, Resulting Numbers: [45, 161]
Generated Node #0,4,0: 28:[45, 161] Operation: 71+90=161
Exploring Operation: 71-45=26, Resulting Numbers: [90, 26]
Generated Node #0,4,1: 28:[90, 26] Operation: 71-45=26
Exploring Operation: 90-71=19, Resulting Numbers: [45, 19]
Generated Node #0,4,2: 28:[45, 19] Operation: 90-71=19
Exploring Operation: 90/45=2, Resulting Numbers: [71, 2]
Generated Node #0,4,3: 28:[71, 2] Operation: 90/45=2
Exploring Operation: 90-45=45, Resulting Numbers: [71, 45]
Generated Node #0,4,4: 28:[71, 45] Operation: 90-45=45
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 28:[45, 19], Operations: ['67-22=45', '90-71=19']
Exploring Operation: 45*19=855, Resulting Numbers: [855]
855,28 unequal: No Solution
Exploring Operation: 45+19=64, Resulting Numbers: [64]
64,28 unequal: No Solution
Exploring Operation: 45-19=26, Resulting Numbers: [26]
26,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,4,3
Current State: 28:[71, 2], Operations: ['67-22=45', '90/45=2']
Exploring Operation: 71+2=73, Resulting Numbers: [73]
73,28 unequal: No Solution
Exploring Operation: 71-2=69, Resulting Numbers: [69]
69,28 unequal: No Solution
Exploring Operation: 71*2=142, Resulting Numbers: [142]
142,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,4,4
Current State: 28:[71, 45], Operations: ['67-22=45', '90-45=45']
Exploring Operation: 71*45=3195, Resulting Numbers: [3195]
3195,28 unequal: No Solution
Exploring Operation: 71+45=116, Resulting Numbers: [116]
116,28 unequal: No Solution
Exploring Operation: 71-45=26, Resulting Numbers: [26]
26,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,4,1
Current State: 28:[90, 26], Operations: ['67-22=45', '71-45=26']
Exploring Operation: 90+26=116, Resulting Numbers: [116]
116,28 unequal: No Solution
Exploring Operation: 90*26=2340, Resulting Numbers: [2340]
2340,28 unequal: No Solution
Exploring Operation: 90-26=64, Resulting Numbers: [64]
64,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,4,0
Current State: 28:[45, 161], Operations: ['67-22=45', '71+90=161']
Exploring Operation: 45+161=206, Resulting Numbers: [206]
206,28 unequal: No Solution
Exploring Operation: 161-45=116, Resulting Numbers: [116]
116,28 unequal: No Solution
Exploring Operation: 45*161=7245, Resulting Numbers: [7245]
7245,28 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 |
[
10,
31,
72,
74
] | 26 | [
"74-72=2",
"10/2=5",
"31-5=26"
] | Current State: 26:[10, 31, 72, 74], Operations: []
Exploring Operation: 74-72=2, Resulting Numbers: [10, 31, 2]
Generated Node #2: [10, 31, 2] from Operation: 74-72=2
Current State: 26:[10, 31, 2], Operations: ['74-72=2']
Exploring Operation: 10/2=5, Resulting Numbers: [31, 5]
Generated Node #3: [31, 5] from Operation: 10/2=5
Current State: 26:[31, 5], Operations: ['74-72=2', '10/2=5']
Exploring Operation: 31-5=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[10, 31, 72, 74], Operations: []
Exploring Operation: 74-72=2, Resulting Numbers: [10, 31, 2]
Generated Node #0,0: 26:[10, 31, 2] Operation: 74-72=2
Exploring Operation: 72-31=41, Resulting Numbers: [10, 74, 41]
Generated Node #0,1: 26:[10, 74, 41] Operation: 72-31=41
Moving to Node #0,0
Current State: 26:[10, 31, 2], Operations: ['74-72=2']
Exploring Operation: 31-10=21, Resulting Numbers: [2, 21]
Generated Node #0,0,0: 26:[2, 21] Operation: 31-10=21
Exploring Operation: 10+2=12, Resulting Numbers: [31, 12]
Generated Node #0,0,1: 26:[31, 12] Operation: 10+2=12
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 26:[2, 21], Operations: ['74-72=2', '31-10=21']
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,26 unequal: No Solution
Exploring Operation: 2+21=23, Resulting Numbers: [23]
23,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 26:[31, 12], Operations: ['74-72=2', '10+2=12']
Exploring Operation: 31+12=43, Resulting Numbers: [43]
43,26 unequal: No Solution
Exploring Operation: 31-12=19, Resulting Numbers: [19]
19,26 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: 26:[10, 74, 41], Operations: ['72-31=41']
Exploring Operation: 74-41=33, Resulting Numbers: [10, 33]
Generated Node #0,1,0: 26:[10, 33] Operation: 74-41=33
Exploring Operation: 74-10=64, Resulting Numbers: [41, 64]
Generated Node #0,1,1: 26:[41, 64] Operation: 74-10=64
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 26:[10, 33], Operations: ['72-31=41', '74-41=33']
Exploring Operation: 10+33=43, Resulting Numbers: [43]
43,26 unequal: No Solution
Exploring Operation: 33-10=23, Resulting Numbers: [23]
23,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 26:[41, 64], Operations: ['72-31=41', '74-10=64']
Exploring Operation: 64-41=23, Resulting Numbers: [23]
23,26 unequal: No Solution
Exploring Operation: 41+64=105, Resulting Numbers: [105]
105,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
27,
44,
58,
25
] | 100 | [
"44-27=17",
"58+25=83",
"17+83=100"
] | Current State: 100:[27, 44, 58, 25], Operations: []
Exploring Operation: 44-27=17, Resulting Numbers: [58, 25, 17]
Generated Node #2: [58, 25, 17] from Operation: 44-27=17
Current State: 100:[58, 25, 17], Operations: ['44-27=17']
Exploring Operation: 58+25=83, Resulting Numbers: [17, 83]
Generated Node #3: [17, 83] from Operation: 58+25=83
Current State: 100:[17, 83], Operations: ['44-27=17', '58+25=83']
Exploring Operation: 17+83=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[27, 44, 58, 25], Operations: []
Exploring Operation: 44-25=19, Resulting Numbers: [27, 58, 19]
Generated Node #0,0: 100:[27, 58, 19] Operation: 44-25=19
Exploring Operation: 44+58=102, Resulting Numbers: [27, 25, 102]
Generated Node #0,1: 100:[27, 25, 102] Operation: 44+58=102
Exploring Operation: 58-27=31, Resulting Numbers: [44, 25, 31]
Generated Node #0,2: 100:[44, 25, 31] Operation: 58-27=31
Exploring Operation: 58-44=14, Resulting Numbers: [27, 25, 14]
Generated Node #0,3: 100:[27, 25, 14] Operation: 58-44=14
Exploring Operation: 44-27=17, Resulting Numbers: [58, 25, 17]
Generated Node #0,4: 100:[58, 25, 17] Operation: 44-27=17
Moving to Node #0,1
Current State: 100:[27, 25, 102], Operations: ['44+58=102']
Exploring Operation: 102-25=77, Resulting Numbers: [27, 77]
Generated Node #0,1,0: 100:[27, 77] Operation: 102-25=77
Exploring Operation: 102-27=75, Resulting Numbers: [25, 75]
Generated Node #0,1,1: 100:[25, 75] Operation: 102-27=75
Exploring Operation: 27+102=129, Resulting Numbers: [25, 129]
Generated Node #0,1,2: 100:[25, 129] Operation: 27+102=129
Exploring Operation: 27-25=2, Resulting Numbers: [102, 2]
Generated Node #0,1,3: 100:[102, 2] Operation: 27-25=2
Exploring Operation: 27+25=52, Resulting Numbers: [102, 52]
Generated Node #0,1,4: 100:[102, 52] Operation: 27+25=52
Moving to Node #0,3
Current State: 100:[27, 25, 14], Operations: ['58-44=14']
Exploring Operation: 27+25=52, Resulting Numbers: [14, 52]
Generated Node #0,3,0: 100:[14, 52] Operation: 27+25=52
Exploring Operation: 27-14=13, Resulting Numbers: [25, 13]
Generated Node #0,3,1: 100:[25, 13] Operation: 27-14=13
Exploring Operation: 27-25=2, Resulting Numbers: [14, 2]
Generated Node #0,3,2: 100:[14, 2] Operation: 27-25=2
Exploring Operation: 27+14=41, Resulting Numbers: [25, 41]
Generated Node #0,3,3: 100:[25, 41] Operation: 27+14=41
Exploring Operation: 25-14=11, Resulting Numbers: [27, 11]
Generated Node #0,3,4: 100:[27, 11] Operation: 25-14=11
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 100:[25, 13], Operations: ['58-44=14', '27-14=13']
Exploring Operation: 25+13=38, Resulting Numbers: [38]
38,100 unequal: No Solution
Exploring Operation: 25*13=325, Resulting Numbers: [325]
325,100 unequal: No Solution
Exploring Operation: 25-13=12, Resulting Numbers: [12]
12,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 100:[27, 11], Operations: ['58-44=14', '25-14=11']
Exploring Operation: 27-11=16, Resulting Numbers: [16]
16,100 unequal: No Solution
Exploring Operation: 27*11=297, Resulting Numbers: [297]
297,100 unequal: No Solution
Exploring Operation: 27+11=38, Resulting Numbers: [38]
38,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 100:[14, 2], Operations: ['58-44=14', '27-25=2']
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,100 unequal: No Solution
Exploring Operation: 14+2=16, Resulting Numbers: [16]
16,100 unequal: No Solution
Exploring Operation: 14*2=28, Resulting Numbers: [28]
28,100 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 100:[14, 52], Operations: ['58-44=14', '27+25=52']
Exploring Operation: 52-14=38, Resulting Numbers: [38]
38,100 unequal: No Solution
Exploring Operation: 14*52=728, Resulting Numbers: [728]
728,100 unequal: No Solution
Exploring Operation: 14+52=66, Resulting Numbers: [66]
66,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 100:[25, 41], Operations: ['58-44=14', '27+14=41']
Exploring Operation: 25*41=1025, Resulting Numbers: [1025]
1025,100 unequal: No Solution
Exploring Operation: 41-25=16, Resulting Numbers: [16]
16,100 unequal: No Solution
Exploring Operation: 25+41=66, Resulting Numbers: [66]
66,100 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: 100:[27, 58, 19], Operations: ['44-25=19']
Exploring Operation: 27+19=46, Resulting Numbers: [58, 46]
Generated Node #0,0,0: 100:[58, 46] Operation: 27+19=46
Exploring Operation: 58-19=39, Resulting Numbers: [27, 39]
Generated Node #0,0,1: 100:[27, 39] Operation: 58-19=39
Exploring Operation: 27-19=8, Resulting Numbers: [58, 8]
Generated Node #0,0,2: 100:[58, 8] Operation: 27-19=8
Exploring Operation: 27+58=85, Resulting Numbers: [19, 85]
Generated Node #0,0,3: 100:[19, 85] Operation: 27+58=85
Exploring Operation: 58-27=31, Resulting Numbers: [19, 31]
Generated Node #0,0,4: 100:[19, 31] Operation: 58-27=31
Moving to Node #0,4
Current State: 100:[58, 25, 17], Operations: ['44-27=17']
Exploring Operation: 25+17=42, Resulting Numbers: [58, 42]
Generated Node #0,4,0: 100:[58, 42] Operation: 25+17=42
Exploring Operation: 58+25=83, Resulting Numbers: [17, 83]
Generated Node #0,4,1: 100:[17, 83] Operation: 58+25=83
Exploring Operation: 25-17=8, Resulting Numbers: [58, 8]
Generated Node #0,4,2: 100:[58, 8] Operation: 25-17=8
Exploring Operation: 58-25=33, Resulting Numbers: [17, 33]
Generated Node #0,4,3: 100:[17, 33] Operation: 58-25=33
Exploring Operation: 58-17=41, Resulting Numbers: [25, 41]
Generated Node #0,4,4: 100:[25, 41] Operation: 58-17=41
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 100:[25, 41], Operations: ['44-27=17', '58-17=41']
Exploring Operation: 25*41=1025, Resulting Numbers: [1025]
1025,100 unequal: No Solution
Exploring Operation: 25+41=66, Resulting Numbers: [66]
66,100 unequal: No Solution
Exploring Operation: 41-25=16, Resulting Numbers: [16]
16,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 100:[58, 8], Operations: ['44-27=17', '25-17=8']
Exploring Operation: 58-8=50, Resulting Numbers: [50]
50,100 unequal: No Solution
Exploring Operation: 58*8=464, Resulting Numbers: [464]
464,100 unequal: No Solution
Exploring Operation: 58+8=66, Resulting Numbers: [66]
66,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 100:[17, 33], Operations: ['44-27=17', '58-25=33']
Exploring Operation: 17+33=50, Resulting Numbers: [50]
50,100 unequal: No Solution
Exploring Operation: 33-17=16, Resulting Numbers: [16]
16,100 unequal: No Solution
Exploring Operation: 17*33=561, Resulting Numbers: [561]
561,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 100:[58, 42], Operations: ['44-27=17', '25+17=42']
Exploring Operation: 58+42=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[27, 44, 58, 25], Operations: []
Exploring Operation: 44-27=17, Resulting Numbers: [58, 25, 17]
Generated Node #0,4: 100:[58, 25, 17] Operation: 44-27=17
Moving to Node #0,4
Current State: 100:[58, 25, 17], Operations: ['44-27=17']
Exploring Operation: 25+17=42, Resulting Numbers: [58, 42]
Generated Node #0,4,0: 100:[58, 42] Operation: 25+17=42
Moving to Node #0,4,0
Current State: 100:[58, 42], Operations: ['44-27=17', '25+17=42']
Exploring Operation: 58+42=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 1
| 0.952257 | hs_5 | sum_heuristic |
[
2,
15,
5,
74
] | 56 | [
"15-2=13",
"74-5=69",
"69-13=56"
] | Current State: 56:[2, 15, 5, 74], Operations: []
Exploring Operation: 15-2=13, Resulting Numbers: [5, 74, 13]
Generated Node #2: [5, 74, 13] from Operation: 15-2=13
Current State: 56:[5, 74, 13], Operations: ['15-2=13']
Exploring Operation: 74-5=69, Resulting Numbers: [13, 69]
Generated Node #3: [13, 69] from Operation: 74-5=69
Current State: 56:[13, 69], Operations: ['15-2=13', '74-5=69']
Exploring Operation: 69-13=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[2, 15, 5, 74], Operations: []
Exploring Operation: 74-15=59, Resulting Numbers: [2, 5, 59]
Generated Node #0,0: 56:[2, 5, 59] Operation: 74-15=59
Moving to Node #0,0
Current State: 56:[2, 5, 59], Operations: ['74-15=59']
Exploring Operation: 59-2=57, Resulting Numbers: [5, 57]
Generated Node #0,0,0: 56:[5, 57] Operation: 59-2=57
Moving to Node #0,0,0
Current State: 56:[5, 57], Operations: ['74-15=59', '59-2=57']
Exploring Operation: 57-5=52, Resulting Numbers: [52]
52,56 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
29,
26,
20,
37
] | 99 | [
"29-20=9",
"37-26=11",
"9*11=99"
] | Current State: 99:[29, 26, 20, 37], Operations: []
Exploring Operation: 29-20=9, Resulting Numbers: [26, 37, 9]
Generated Node #2: [26, 37, 9] from Operation: 29-20=9
Current State: 99:[26, 37, 9], Operations: ['29-20=9']
Exploring Operation: 37-26=11, Resulting Numbers: [9, 11]
Generated Node #3: [9, 11] from Operation: 37-26=11
Current State: 99:[9, 11], Operations: ['29-20=9', '37-26=11']
Exploring Operation: 9*11=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[29, 26, 20, 37], Operations: []
Exploring Operation: 26-20=6, Resulting Numbers: [29, 37, 6]
Generated Node #0,0: 99:[29, 37, 6] Operation: 26-20=6
Exploring Operation: 29-20=9, Resulting Numbers: [26, 37, 9]
Generated Node #0,1: 99:[26, 37, 9] Operation: 29-20=9
Exploring Operation: 29-26=3, Resulting Numbers: [20, 37, 3]
Generated Node #0,2: 99:[20, 37, 3] Operation: 29-26=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[29, 37, 6], Operations: ['26-20=6']
Exploring Operation: 29+6=35, Resulting Numbers: [37, 35]
Generated Node #0,0,0: 99:[37, 35] Operation: 29+6=35
Exploring Operation: 37-29=8, Resulting Numbers: [6, 8]
Generated Node #0,0,1: 99:[6, 8] Operation: 37-29=8
Exploring Operation: 37-6=31, Resulting Numbers: [29, 31]
Generated Node #0,0,2: 99:[29, 31] Operation: 37-6=31
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 99:[6, 8], Operations: ['26-20=6', '37-29=8']
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,99 unequal: No Solution
Exploring Operation: 6*8=48, Resulting Numbers: [48]
48,99 unequal: No Solution
Exploring Operation: 6+8=14, Resulting Numbers: [14]
14,99 unequal: No Solution
No 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: 99:[37, 35], Operations: ['26-20=6', '29+6=35']
Exploring Operation: 37*35=1295, Resulting Numbers: [1295]
1295,99 unequal: No Solution
Exploring Operation: 37+35=72, Resulting Numbers: [72]
72,99 unequal: No Solution
Exploring Operation: 37-35=2, Resulting Numbers: [2]
2,99 unequal: No Solution
No 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: 99:[29, 31], Operations: ['26-20=6', '37-6=31']
Exploring Operation: 29*31=899, Resulting Numbers: [899]
899,99 unequal: No Solution
Exploring Operation: 29+31=60, Resulting Numbers: [60]
60,99 unequal: No Solution
Exploring Operation: 31-29=2, Resulting Numbers: [2]
2,99 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: 99:[26, 37, 9], Operations: ['29-20=9']
Exploring Operation: 26-9=17, Resulting Numbers: [37, 17]
Generated Node #0,1,0: 99:[37, 17] Operation: 26-9=17
Exploring Operation: 26+9=35, Resulting Numbers: [37, 35]
Generated Node #0,1,1: 99:[37, 35] Operation: 26+9=35
Exploring Operation: 37-26=11, Resulting Numbers: [9, 11]
Generated Node #0,1,2: 99:[9, 11] Operation: 37-26=11
Moving to Node #0,1,2
Current State: 99:[9, 11], Operations: ['29-20=9', '37-26=11']
Exploring Operation: 9*11=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[29, 26, 20, 37], Operations: []
Exploring Operation: 29-20=9, Resulting Numbers: [26, 37, 9]
Generated Node #0,1: 99:[26, 37, 9] Operation: 29-20=9
Moving to Node #0,1
Current State: 99:[26, 37, 9], Operations: ['29-20=9']
Exploring Operation: 37-26=11, Resulting Numbers: [9, 11]
Generated Node #0,1,2: 99:[9, 11] Operation: 37-26=11
Moving to Node #0,1,2
Current State: 99:[9, 11], Operations: ['29-20=9', '37-26=11']
Exploring Operation: 9*11=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_3 | mult_heuristic |
[
91,
46,
2,
6
] | 93 | [
"6-2=4",
"46*4=184",
"184-91=93"
] | Current State: 93:[91, 46, 2, 6], Operations: []
Exploring Operation: 6-2=4, Resulting Numbers: [91, 46, 4]
Generated Node #2: [91, 46, 4] from Operation: 6-2=4
Current State: 93:[91, 46, 4], Operations: ['6-2=4']
Exploring Operation: 46*4=184, Resulting Numbers: [91, 184]
Generated Node #3: [91, 184] from Operation: 46*4=184
Current State: 93:[91, 184], Operations: ['6-2=4', '46*4=184']
Exploring Operation: 184-91=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[91, 46, 2, 6], Operations: []
Exploring Operation: 46*2=92, Resulting Numbers: [91, 6, 92]
Generated Node #0,0: 93:[91, 6, 92] Operation: 46*2=92
Exploring Operation: 46-6=40, Resulting Numbers: [91, 2, 40]
Generated Node #0,1: 93:[91, 2, 40] Operation: 46-6=40
Start Sub Search at level 1: Moving to Node #0,0
Current State: 93:[91, 6, 92], Operations: ['46*2=92']
Exploring Operation: 92-91=1, Resulting Numbers: [6, 1]
Generated Node #0,0,0: 93:[6, 1] Operation: 92-91=1
Exploring Operation: 91+6=97, Resulting Numbers: [92, 97]
Generated Node #0,0,1: 93:[92, 97] Operation: 91+6=97
Moving to Node #0,0,0
Current State: 93:[6, 1], Operations: ['46*2=92', '92-91=1']
Exploring Operation: 6-1=5, Resulting Numbers: [5]
5,93 unequal: No Solution
Exploring Operation: 6*1=6, Resulting Numbers: [6]
6,93 unequal: No Solution
Moving to Node #0,0,1
Current State: 93:[92, 97], Operations: ['46*2=92', '91+6=97']
Exploring Operation: 92+97=189, Resulting Numbers: [189]
189,93 unequal: No Solution
Exploring Operation: 97-92=5, Resulting Numbers: [5]
5,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 93:[91, 2, 40], Operations: ['46-6=40']
Exploring Operation: 91+2=93, Resulting Numbers: [40, 93]
Generated Node #0,1,0: 93:[40, 93] Operation: 91+2=93
Exploring Operation: 40-2=38, Resulting Numbers: [91, 38]
Generated Node #0,1,1: 93:[91, 38] Operation: 40-2=38
Moving to Node #0,1,0
Current State: 93:[40, 93], Operations: ['46-6=40', '91+2=93']
Exploring Operation: 40+93=133, Resulting Numbers: [133]
133,93 unequal: No Solution
Exploring Operation: 93-40=53, Resulting Numbers: [53]
53,93 unequal: No Solution
Moving to Node #0,1,1
Current State: 93:[91, 38], Operations: ['46-6=40', '40-2=38']
Exploring Operation: 91-38=53, Resulting Numbers: [53]
53,93 unequal: No Solution
Exploring Operation: 91+38=129, Resulting Numbers: [129]
129,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
36,
60,
21,
56
] | 52 | [
"36-21=15",
"60/15=4",
"56-4=52"
] | Current State: 52:[36, 60, 21, 56], Operations: []
Exploring Operation: 36-21=15, Resulting Numbers: [60, 56, 15]
Generated Node #2: [60, 56, 15] from Operation: 36-21=15
Current State: 52:[60, 56, 15], Operations: ['36-21=15']
Exploring Operation: 60/15=4, Resulting Numbers: [56, 4]
Generated Node #3: [56, 4] from Operation: 60/15=4
Current State: 52:[56, 4], Operations: ['36-21=15', '60/15=4']
Exploring Operation: 56-4=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[36, 60, 21, 56], Operations: []
Exploring Operation: 36-21=15, Resulting Numbers: [60, 56, 15]
Generated Node #0,0: 52:[60, 56, 15] Operation: 36-21=15
Exploring Operation: 60-36=24, Resulting Numbers: [21, 56, 24]
Generated Node #0,1: 52:[21, 56, 24] Operation: 60-36=24
Exploring Operation: 60-56=4, Resulting Numbers: [36, 21, 4]
Generated Node #0,2: 52:[36, 21, 4] Operation: 60-56=4
Moving to Node #0,1
Current State: 52:[21, 56, 24], Operations: ['60-36=24']
Exploring Operation: 56-21=35, Resulting Numbers: [24, 35]
Generated Node #0,1,0: 52:[24, 35] Operation: 56-21=35
Exploring Operation: 21+24=45, Resulting Numbers: [56, 45]
Generated Node #0,1,1: 52:[56, 45] Operation: 21+24=45
Exploring Operation: 24-21=3, Resulting Numbers: [56, 3]
Generated Node #0,1,2: 52:[56, 3] Operation: 24-21=3
Moving to Node #0,0
Current State: 52:[60, 56, 15], Operations: ['36-21=15']
Exploring Operation: 60-15=45, Resulting Numbers: [56, 45]
Generated Node #0,0,0: 52:[56, 45] Operation: 60-15=45
Exploring Operation: 60/15=4, Resulting Numbers: [56, 4]
Generated Node #0,0,1: 52:[56, 4] Operation: 60/15=4
Exploring Operation: 60-56=4, Resulting Numbers: [15, 4]
Generated Node #0,0,2: 52:[15, 4] Operation: 60-56=4
Moving to Node #0,2
Current State: 52:[36, 21, 4], Operations: ['60-56=4']
Exploring Operation: 36-21=15, Resulting Numbers: [4, 15]
Generated Node #0,2,0: 52:[4, 15] Operation: 36-21=15
Exploring Operation: 36+21=57, Resulting Numbers: [4, 57]
Generated Node #0,2,1: 52:[4, 57] Operation: 36+21=57
Exploring Operation: 36/4=9, Resulting Numbers: [21, 9]
Generated Node #0,2,2: 52:[21, 9] Operation: 36/4=9
Moving to Node #0,0,2
Current State: 52:[15, 4], Operations: ['36-21=15', '60-56=4']
Exploring Operation: 15*4=60, Resulting Numbers: [60]
60,52 unequal: No Solution
Exploring Operation: 15+4=19, Resulting Numbers: [19]
19,52 unequal: No Solution
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,52 unequal: No Solution
Moving to Node #0,2,0
Current State: 52:[4, 15], Operations: ['60-56=4', '36-21=15']
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,52 unequal: No Solution
Exploring Operation: 4+15=19, Resulting Numbers: [19]
19,52 unequal: No Solution
Exploring Operation: 4*15=60, Resulting Numbers: [60]
60,52 unequal: No Solution
Moving to Node #0,0,1
Current State: 52:[56, 4], Operations: ['36-21=15', '60/15=4']
Exploring Operation: 56/4=14, Resulting Numbers: [14]
14,52 unequal: No Solution
Exploring Operation: 56+4=60, Resulting Numbers: [60]
60,52 unequal: No Solution
Exploring Operation: 56-4=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[36, 60, 21, 56], Operations: []
Exploring Operation: 36-21=15, Resulting Numbers: [60, 56, 15]
Generated Node #0,0: 52:[60, 56, 15] Operation: 36-21=15
Moving to Node #0,0
Current State: 52:[60, 56, 15], Operations: ['36-21=15']
Exploring Operation: 60/15=4, Resulting Numbers: [56, 4]
Generated Node #0,0,1: 52:[56, 4] Operation: 60/15=4
Moving to Node #0,0,1
Current State: 52:[56, 4], Operations: ['36-21=15', '60/15=4']
Exploring Operation: 56-4=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 0.978299 | hs_3 | mult_heuristic |
[
31,
89,
77,
35
] | 98 | [
"89*35=3115",
"3115-77=3038",
"3038/31=98"
] | Current State: 98:[31, 89, 77, 35], Operations: []
Exploring Operation: 89*35=3115, Resulting Numbers: [31, 77, 3115]
Generated Node #2: [31, 77, 3115] from Operation: 89*35=3115
Current State: 98:[31, 77, 3115], Operations: ['89*35=3115']
Exploring Operation: 3115-77=3038, Resulting Numbers: [31, 3038]
Generated Node #3: [31, 3038] from Operation: 3115-77=3038
Current State: 98:[31, 3038], Operations: ['89*35=3115', '3115-77=3038']
Exploring Operation: 3038/31=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[31, 89, 77, 35], Operations: []
Exploring Operation: 35-31=4, Resulting Numbers: [89, 77, 4]
Generated Node #0,0: 98:[89, 77, 4] Operation: 35-31=4
Exploring Operation: 89-77=12, Resulting Numbers: [31, 35, 12]
Generated Node #0,1: 98:[31, 35, 12] Operation: 89-77=12
Exploring Operation: 31+77=108, Resulting Numbers: [89, 35, 108]
Generated Node #0,2: 98:[89, 35, 108] Operation: 31+77=108
Exploring Operation: 77-35=42, Resulting Numbers: [31, 89, 42]
Generated Node #0,3: 98:[31, 89, 42] Operation: 77-35=42
Exploring Operation: 77-31=46, Resulting Numbers: [89, 35, 46]
Generated Node #0,4: 98:[89, 35, 46] Operation: 77-31=46
Moving to Node #0,4
Current State: 98:[89, 35, 46], Operations: ['77-31=46']
Exploring Operation: 89+35=124, Resulting Numbers: [46, 124]
Generated Node #0,4,0: 98:[46, 124] Operation: 89+35=124
Exploring Operation: 89-46=43, Resulting Numbers: [35, 43]
Generated Node #0,4,1: 98:[35, 43] Operation: 89-46=43
Exploring Operation: 89-35=54, Resulting Numbers: [46, 54]
Generated Node #0,4,2: 98:[46, 54] Operation: 89-35=54
Exploring Operation: 46-35=11, Resulting Numbers: [89, 11]
Generated Node #0,4,3: 98:[89, 11] Operation: 46-35=11
Exploring Operation: 35+46=81, Resulting Numbers: [89, 81]
Generated Node #0,4,4: 98:[89, 81] Operation: 35+46=81
Moving to Node #0,0
Current State: 98:[89, 77, 4], Operations: ['35-31=4']
Exploring Operation: 89-77=12, Resulting Numbers: [4, 12]
Generated Node #0,0,0: 98:[4, 12] Operation: 89-77=12
Exploring Operation: 89+4=93, Resulting Numbers: [77, 93]
Generated Node #0,0,1: 98:[77, 93] Operation: 89+4=93
Exploring Operation: 77+4=81, Resulting Numbers: [89, 81]
Generated Node #0,0,2: 98:[89, 81] Operation: 77+4=81
Exploring Operation: 77-4=73, Resulting Numbers: [89, 73]
Generated Node #0,0,3: 98:[89, 73] Operation: 77-4=73
Exploring Operation: 89-4=85, Resulting Numbers: [77, 85]
Generated Node #0,0,4: 98:[77, 85] Operation: 89-4=85
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 98:[4, 12], Operations: ['35-31=4', '89-77=12']
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,98 unequal: No Solution
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,98 unequal: No Solution
Exploring Operation: 4+12=16, Resulting Numbers: [16]
16,98 unequal: No Solution
Exploring Operation: 4*12=48, Resulting Numbers: [48]
48,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,0,1
Current State: 98:[77, 93], Operations: ['35-31=4', '89+4=93']
Exploring Operation: 77*93=7161, Resulting Numbers: [7161]
7161,98 unequal: No Solution
Exploring Operation: 77+93=170, Resulting Numbers: [170]
170,98 unequal: No Solution
Exploring Operation: 93-77=16, Resulting Numbers: [16]
16,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,0,2
Current State: 98:[89, 81], Operations: ['35-31=4', '77+4=81']
Exploring Operation: 89-81=8, Resulting Numbers: [8]
8,98 unequal: No Solution
Exploring Operation: 89+81=170, Resulting Numbers: [170]
170,98 unequal: No Solution
Exploring Operation: 89*81=7209, Resulting Numbers: [7209]
7209,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,0,3
Current State: 98:[89, 73], Operations: ['35-31=4', '77-4=73']
Exploring Operation: 89-73=16, Resulting Numbers: [16]
16,98 unequal: No Solution
Exploring Operation: 89*73=6497, Resulting Numbers: [6497]
6497,98 unequal: No Solution
Exploring Operation: 89+73=162, Resulting Numbers: [162]
162,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,0,4
Current State: 98:[77, 85], Operations: ['35-31=4', '89-4=85']
Exploring Operation: 77*85=6545, Resulting Numbers: [6545]
6545,98 unequal: No Solution
Exploring Operation: 85-77=8, Resulting Numbers: [8]
8,98 unequal: No Solution
Exploring Operation: 77+85=162, Resulting Numbers: [162]
162,98 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: 98:[31, 35, 12], Operations: ['89-77=12']
Exploring Operation: 31+12=43, Resulting Numbers: [35, 43]
Generated Node #0,1,0: 98:[35, 43] Operation: 31+12=43
Exploring Operation: 35-31=4, Resulting Numbers: [12, 4]
Generated Node #0,1,1: 98:[12, 4] Operation: 35-31=4
Exploring Operation: 31-12=19, Resulting Numbers: [35, 19]
Generated Node #0,1,2: 98:[35, 19] Operation: 31-12=19
Exploring Operation: 31+35=66, Resulting Numbers: [12, 66]
Generated Node #0,1,3: 98:[12, 66] Operation: 31+35=66
Exploring Operation: 35+12=47, Resulting Numbers: [31, 47]
Generated Node #0,1,4: 98:[31, 47] Operation: 35+12=47
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 98:[12, 4], Operations: ['89-77=12', '35-31=4']
Exploring Operation: 12+4=16, Resulting Numbers: [16]
16,98 unequal: No Solution
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,98 unequal: No Solution
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,98 unequal: No Solution
Exploring Operation: 12*4=48, Resulting Numbers: [48]
48,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,2
Current State: 98:[35, 19], Operations: ['89-77=12', '31-12=19']
Exploring Operation: 35*19=665, Resulting Numbers: [665]
665,98 unequal: No Solution
Exploring Operation: 35+19=54, Resulting Numbers: [54]
54,98 unequal: No Solution
Exploring Operation: 35-19=16, Resulting Numbers: [16]
16,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,3
Current State: 98:[12, 66], Operations: ['89-77=12', '31+35=66']
Exploring Operation: 66-12=54, Resulting Numbers: [54]
54,98 unequal: No Solution
Exploring Operation: 12+66=78, Resulting Numbers: [78]
78,98 unequal: No Solution
Exploring Operation: 12*66=792, Resulting Numbers: [792]
792,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,4
Current State: 98:[31, 47], Operations: ['89-77=12', '35+12=47']
Exploring Operation: 47-31=16, Resulting Numbers: [16]
16,98 unequal: No Solution
Exploring Operation: 31+47=78, Resulting Numbers: [78]
78,98 unequal: No Solution
Exploring Operation: 31*47=1457, Resulting Numbers: [1457]
1457,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,0
Current State: 98:[35, 43], Operations: ['89-77=12', '31+12=43']
Exploring Operation: 35*43=1505, Resulting Numbers: [1505]
1505,98 unequal: No Solution
Exploring Operation: 43-35=8, Resulting Numbers: [8]
8,98 unequal: No Solution
Exploring Operation: 35+43=78, Resulting Numbers: [78]
78,98 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: 98:[89, 35, 108], Operations: ['31+77=108']
Exploring Operation: 108-35=73, Resulting Numbers: [89, 73]
Generated Node #0,2,0: 98:[89, 73] Operation: 108-35=73
Exploring Operation: 108-89=19, Resulting Numbers: [35, 19]
Generated Node #0,2,1: 98:[35, 19] Operation: 108-89=19
Exploring Operation: 89-35=54, Resulting Numbers: [108, 54]
Generated Node #0,2,2: 98:[108, 54] Operation: 89-35=54
Exploring Operation: 35+108=143, Resulting Numbers: [89, 143]
Generated Node #0,2,3: 98:[89, 143] Operation: 35+108=143
Exploring Operation: 89+35=124, Resulting Numbers: [108, 124]
Generated Node #0,2,4: 98:[108, 124] Operation: 89+35=124
Moving to Node #0,3
Current State: 98:[31, 89, 42], Operations: ['77-35=42']
Exploring Operation: 31+42=73, Resulting Numbers: [89, 73]
Generated Node #0,3,0: 98:[89, 73] Operation: 31+42=73
Exploring Operation: 89-42=47, Resulting Numbers: [31, 47]
Generated Node #0,3,1: 98:[31, 47] Operation: 89-42=47
Exploring Operation: 42-31=11, Resulting Numbers: [89, 11]
Generated Node #0,3,2: 98:[89, 11] Operation: 42-31=11
Exploring Operation: 89-31=58, Resulting Numbers: [42, 58]
Generated Node #0,3,3: 98:[42, 58] Operation: 89-31=58
Exploring Operation: 31+89=120, Resulting Numbers: [42, 120]
Generated Node #0,3,4: 98:[42, 120] Operation: 31+89=120
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 98:[89, 11], Operations: ['77-35=42', '42-31=11']
Exploring Operation: 89-11=78, Resulting Numbers: [78]
78,98 unequal: No Solution
Exploring Operation: 89+11=100, Resulting Numbers: [100]
100,98 unequal: No Solution
Exploring Operation: 89*11=979, Resulting Numbers: [979]
979,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,3,3
Current State: 98:[42, 58], Operations: ['77-35=42', '89-31=58']
Exploring Operation: 42*58=2436, Resulting Numbers: [2436]
2436,98 unequal: No Solution
Exploring Operation: 58-42=16, Resulting Numbers: [16]
16,98 unequal: No Solution
Exploring Operation: 42+58=100, Resulting Numbers: [100]
100,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,3,1
Current State: 98:[31, 47], Operations: ['77-35=42', '89-42=47']
Exploring Operation: 47-31=16, Resulting Numbers: [16]
16,98 unequal: No Solution
Exploring Operation: 31+47=78, Resulting Numbers: [78]
78,98 unequal: No Solution
Exploring Operation: 31*47=1457, Resulting Numbers: [1457]
1457,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,3,4
Current State: 98:[42, 120], Operations: ['77-35=42', '31+89=120']
Exploring Operation: 120-42=78, Resulting Numbers: [78]
78,98 unequal: No Solution
Exploring Operation: 42*120=5040, Resulting Numbers: [5040]
5040,98 unequal: No Solution
Exploring Operation: 42+120=162, Resulting Numbers: [162]
162,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,3,0
Current State: 98:[89, 73], Operations: ['77-35=42', '31+42=73']
Exploring Operation: 89-73=16, Resulting Numbers: [16]
16,98 unequal: No Solution
Exploring Operation: 89+73=162, Resulting Numbers: [162]
162,98 unequal: No Solution
Exploring Operation: 89*73=6497, Resulting Numbers: [6497]
6497,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,2
Current State: 98:[46, 54], Operations: ['77-31=46', '89-35=54']
Exploring Operation: 54-46=8, Resulting Numbers: [8]
8,98 unequal: No Solution
Exploring Operation: 46+54=100, Resulting Numbers: [100]
100,98 unequal: No Solution
Exploring Operation: 46*54=2484, Resulting Numbers: [2484]
2484,98 unequal: No Solution
Moving to Node #0,4,3
Current State: 98:[89, 11], Operations: ['77-31=46', '46-35=11']
Exploring Operation: 89*11=979, Resulting Numbers: [979]
979,98 unequal: No Solution
Exploring Operation: 89+11=100, Resulting Numbers: [100]
100,98 unequal: No Solution
Exploring Operation: 89-11=78, Resulting Numbers: [78]
78,98 unequal: No Solution
Moving to Node #0,2,2
Current State: 98:[108, 54], Operations: ['31+77=108', '89-35=54']
Exploring Operation: 108-54=54, Resulting Numbers: [54]
54,98 unequal: No Solution
Exploring Operation: 108/54=2, Resulting Numbers: [2]
2,98 unequal: No Solution
Exploring Operation: 108*54=5832, Resulting Numbers: [5832]
5832,98 unequal: No Solution
Exploring Operation: 108+54=162, Resulting Numbers: [162]
162,98 unequal: No Solution
Moving to Node #0,2,1
Current State: 98:[35, 19], Operations: ['31+77=108', '108-89=19']
Exploring Operation: 35*19=665, Resulting Numbers: [665]
665,98 unequal: No Solution
Exploring Operation: 35+19=54, Resulting Numbers: [54]
54,98 unequal: No Solution
Exploring Operation: 35-19=16, Resulting Numbers: [16]
16,98 unequal: No Solution
Moving to Node #0,4,1
Current State: 98:[35, 43], Operations: ['77-31=46', '89-46=43']
Exploring Operation: 35*43=1505, Resulting Numbers: [1505]
1505,98 unequal: No Solution
Exploring Operation: 35+43=78, Resulting Numbers: [78]
78,98 unequal: No Solution
Exploring Operation: 43-35=8, Resulting Numbers: [8]
8,98 unequal: No Solution
Moving to Node #0,4,4
Current State: 98:[89, 81], Operations: ['77-31=46', '35+46=81']
Exploring Operation: 89+81=170, Resulting Numbers: [170]
170,98 unequal: No Solution
Exploring Operation: 89-81=8, Resulting Numbers: [8]
8,98 unequal: No Solution
Exploring Operation: 89*81=7209, Resulting Numbers: [7209]
7209,98 unequal: No Solution
Moving to Node #0,4,0
Current State: 98:[46, 124], Operations: ['77-31=46', '89+35=124']
Exploring Operation: 46+124=170, Resulting Numbers: [170]
170,98 unequal: No Solution
Exploring Operation: 46*124=5704, Resulting Numbers: [5704]
5704,98 unequal: No Solution
Exploring Operation: 124-46=78, Resulting Numbers: [78]
78,98 unequal: No Solution
Moving to Node #0,2,0
Current State: 98:[89, 73], Operations: ['31+77=108', '108-35=73']
Exploring Operation: 89+73=162, Resulting Numbers: [162]
162,98 unequal: No Solution
Exploring Operation: 89*73=6497, Resulting Numbers: [6497]
6497,98 unequal: No Solution
Exploring Operation: 89-73=16, Resulting Numbers: [16]
16,98 unequal: No Solution
Moving to Node #0,2,4
Current State: 98:[108, 124], Operations: ['31+77=108', '89+35=124']
Exploring Operation: 124-108=16, Resulting Numbers: [16]
16,98 unequal: No Solution
Exploring Operation: 108*124=13392, Resulting Numbers: [13392]
13392,98 unequal: No Solution
Exploring Operation: 108+124=232, Resulting Numbers: [232]
232,98 unequal: No Solution
Moving to Node #0,2,3
Current State: 98:[89, 143], Operations: ['31+77=108', '35+108=143']
Exploring Operation: 143-89=54, Resulting Numbers: [54]
54,98 unequal: No Solution
Exploring Operation: 89+143=232, Resulting Numbers: [232]
232,98 unequal: No Solution
Exploring Operation: 89*143=12727, Resulting Numbers: [12727]
12727,98 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
55,
47,
67,
94
] | 61 | [
"55+67=122",
"94/47=2",
"122/2=61"
] | Current State: 61:[55, 47, 67, 94], Operations: []
Exploring Operation: 55+67=122, Resulting Numbers: [47, 94, 122]
Generated Node #2: [47, 94, 122] from Operation: 55+67=122
Current State: 61:[47, 94, 122], Operations: ['55+67=122']
Exploring Operation: 94/47=2, Resulting Numbers: [122, 2]
Generated Node #3: [122, 2] from Operation: 94/47=2
Current State: 61:[122, 2], Operations: ['55+67=122', '94/47=2']
Exploring Operation: 122/2=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[55, 47, 67, 94], Operations: []
Exploring Operation: 94-47=47, Resulting Numbers: [55, 67, 47]
Generated Node #0,0: 61:[55, 67, 47] Operation: 94-47=47
Moving to Node #0,0
Current State: 61:[55, 67, 47], Operations: ['94-47=47']
Exploring Operation: 55+47=102, Resulting Numbers: [67, 102]
Generated Node #0,0,0: 61:[67, 102] Operation: 55+47=102
Moving to Node #0,0,0
Current State: 61:[67, 102], Operations: ['94-47=47', '55+47=102']
Exploring Operation: 102-67=35, Resulting Numbers: [35]
35,61 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
16,
57,
73,
55
] | 55 | [
"16+57=73",
"73+55=128",
"128-73=55"
] | Current State: 55:[16, 57, 73, 55], Operations: []
Exploring Operation: 16+57=73, Resulting Numbers: [73, 55, 73]
Generated Node #2: [73, 55, 73] from Operation: 16+57=73
Current State: 55:[73, 55, 73], Operations: ['16+57=73']
Exploring Operation: 73+55=128, Resulting Numbers: [128]
128,55 equal: Goal Reached
Exploring Operation: 128-73=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[16, 57, 73, 55], Operations: []
Exploring Operation: 73-57=16, Resulting Numbers: [16, 55, 16]
Generated Node #0,0: 55:[16, 55, 16] Operation: 73-57=16
Exploring Operation: 57-55=2, Resulting Numbers: [16, 73, 2]
Generated Node #0,1: 55:[16, 73, 2] Operation: 57-55=2
Exploring Operation: 73-16=57, Resulting Numbers: [57, 55, 57]
Generated Node #0,2: 55:[57, 55, 57] Operation: 73-16=57
Exploring Operation: 73-55=18, Resulting Numbers: [16, 57, 18]
Generated Node #0,3: 55:[16, 57, 18] Operation: 73-55=18
Moving to Node #0,2
Current State: 55:[57, 55, 57], Operations: ['73-16=57']
Exploring Operation: 57-55=2, Resulting Numbers: [57, 2]
Generated Node #0,2,0: 55:[57, 2] Operation: 57-55=2
Exploring Operation: 57/57=1, Resulting Numbers: [55, 1]
Generated Node #0,2,1: 55:[55, 1] Operation: 57/57=1
Exploring Operation: 57-57=0, Resulting Numbers: [55, 0]
Generated Node #0,2,2: 55:[55, 0] Operation: 57-57=0
Exploring Operation: 57-55=2, Resulting Numbers: [57, 2]
Generated Node #0,2,3: 55:[57, 2] Operation: 57-55=2
Moving to Node #0,0
Current State: 55:[16, 55, 16], Operations: ['73-57=16']
Exploring Operation: 16+55=71, Resulting Numbers: [16, 71]
Generated Node #0,0,0: 55:[16, 71] Operation: 16+55=71
Exploring Operation: 16-16=0, Resulting Numbers: [55, 0]
Generated Node #0,0,1: 55:[55, 0] Operation: 16-16=0
Exploring Operation: 16/16=1, Resulting Numbers: [55, 1]
Generated Node #0,0,2: 55:[55, 1] Operation: 16/16=1
Exploring Operation: 55-16=39, Resulting Numbers: [16, 39]
Generated Node #0,0,3: 55:[16, 39] Operation: 55-16=39
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 55:[55, 1], Operations: ['73-57=16', '16/16=1']
Exploring Operation: 55*1=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[16, 57, 73, 55], Operations: []
Exploring Operation: 73-57=16, Resulting Numbers: [16, 55, 16]
Generated Node #0,0: 55:[16, 55, 16] Operation: 73-57=16
Moving to Node #0,0
Current State: 55:[16, 55, 16], Operations: ['73-57=16']
Exploring Operation: 16/16=1, Resulting Numbers: [55, 1]
Generated Node #0,0,2: 55:[55, 1] Operation: 16/16=1
Moving to Node #0,0,2
Current State: 55:[55, 1], Operations: ['73-57=16', '16/16=1']
Exploring Operation: 55*1=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | sum_heuristic |
[
48,
2,
33,
88
] | 29 | [
"48-33=15",
"88/2=44",
"44-15=29"
] | Current State: 29:[48, 2, 33, 88], Operations: []
Exploring Operation: 48-33=15, Resulting Numbers: [2, 88, 15]
Generated Node #2: [2, 88, 15] from Operation: 48-33=15
Current State: 29:[2, 88, 15], Operations: ['48-33=15']
Exploring Operation: 88/2=44, Resulting Numbers: [15, 44]
Generated Node #3: [15, 44] from Operation: 88/2=44
Current State: 29:[15, 44], Operations: ['48-33=15', '88/2=44']
Exploring Operation: 44-15=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[48, 2, 33, 88], Operations: []
Exploring Operation: 48/2=24, Resulting Numbers: [33, 88, 24]
Generated Node #0,0: 29:[33, 88, 24] Operation: 48/2=24
Exploring Operation: 88/2=44, Resulting Numbers: [48, 33, 44]
Generated Node #0,1: 29:[48, 33, 44] Operation: 88/2=44
Exploring Operation: 88-33=55, Resulting Numbers: [48, 2, 55]
Generated Node #0,2: 29:[48, 2, 55] Operation: 88-33=55
Exploring Operation: 88-48=40, Resulting Numbers: [2, 33, 40]
Generated Node #0,3: 29:[2, 33, 40] Operation: 88-48=40
Exploring Operation: 48-2=46, Resulting Numbers: [33, 88, 46]
Generated Node #0,4: 29:[33, 88, 46] Operation: 48-2=46
Start Sub Search at level 1: Moving to Node #0,1
Current State: 29:[48, 33, 44], Operations: ['88/2=44']
Exploring Operation: 48-44=4, Resulting Numbers: [33, 4]
Generated Node #0,1,0: 29:[33, 4] Operation: 48-44=4
Exploring Operation: 48+44=92, Resulting Numbers: [33, 92]
Generated Node #0,1,1: 29:[33, 92] Operation: 48+44=92
Exploring Operation: 48+33=81, Resulting Numbers: [44, 81]
Generated Node #0,1,2: 29:[44, 81] Operation: 48+33=81
Exploring Operation: 44-33=11, Resulting Numbers: [48, 11]
Generated Node #0,1,3: 29:[48, 11] Operation: 44-33=11
Exploring Operation: 48-33=15, Resulting Numbers: [44, 15]
Generated Node #0,1,4: 29:[44, 15] Operation: 48-33=15
Moving to Node #0,1,0
Current State: 29:[33, 4], Operations: ['88/2=44', '48-44=4']
Exploring Operation: 33*4=132, Resulting Numbers: [132]
132,29 unequal: No Solution
Exploring Operation: 33+4=37, Resulting Numbers: [37]
37,29 unequal: No Solution
Exploring Operation: 33-4=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[48, 2, 33, 88], Operations: []
Exploring Operation: 88/2=44, Resulting Numbers: [48, 33, 44]
Generated Node #0,1: 29:[48, 33, 44] Operation: 88/2=44
Moving to Node #0,1
Current State: 29:[48, 33, 44], Operations: ['88/2=44']
Exploring Operation: 48-44=4, Resulting Numbers: [33, 4]
Generated Node #0,1,0: 29:[33, 4] Operation: 48-44=4
Moving to Node #0,1,0
Current State: 29:[33, 4], Operations: ['88/2=44', '48-44=4']
Exploring Operation: 33-4=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
33,
24,
61,
86
] | 34 | [
"33-24=9",
"86-61=25",
"9+25=34"
] | Current State: 34:[33, 24, 61, 86], Operations: []
Exploring Operation: 33-24=9, Resulting Numbers: [61, 86, 9]
Generated Node #2: [61, 86, 9] from Operation: 33-24=9
Current State: 34:[61, 86, 9], Operations: ['33-24=9']
Exploring Operation: 86-61=25, Resulting Numbers: [9, 25]
Generated Node #3: [9, 25] from Operation: 86-61=25
Current State: 34:[9, 25], Operations: ['33-24=9', '86-61=25']
Exploring Operation: 9+25=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[33, 24, 61, 86], Operations: []
Exploring Operation: 86-33=53, Resulting Numbers: [24, 61, 53]
Generated Node #0,0: 34:[24, 61, 53] Operation: 86-33=53
Exploring Operation: 86-61=25, Resulting Numbers: [33, 24, 25]
Generated Node #0,1: 34:[33, 24, 25] Operation: 86-61=25
Exploring Operation: 61-24=37, Resulting Numbers: [33, 86, 37]
Generated Node #0,2: 34:[33, 86, 37] Operation: 61-24=37
Exploring Operation: 86-24=62, Resulting Numbers: [33, 61, 62]
Generated Node #0,3: 34:[33, 61, 62] Operation: 86-24=62
Moving to Node #0,1
Current State: 34:[33, 24, 25], Operations: ['86-61=25']
Exploring Operation: 24+25=49, Resulting Numbers: [33, 49]
Generated Node #0,1,0: 34:[33, 49] Operation: 24+25=49
Exploring Operation: 33-24=9, Resulting Numbers: [25, 9]
Generated Node #0,1,1: 34:[25, 9] Operation: 33-24=9
Exploring Operation: 25-24=1, Resulting Numbers: [33, 1]
Generated Node #0,1,2: 34:[33, 1] Operation: 25-24=1
Exploring Operation: 33-25=8, Resulting Numbers: [24, 8]
Generated Node #0,1,3: 34:[24, 8] Operation: 33-25=8
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 34:[33, 1], Operations: ['86-61=25', '25-24=1']
Exploring Operation: 33/1=33, Resulting Numbers: [33]
33,34 unequal: No Solution
Exploring Operation: 33+1=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[33, 24, 61, 86], Operations: []
Exploring Operation: 86-61=25, Resulting Numbers: [33, 24, 25]
Generated Node #0,1: 34:[33, 24, 25] Operation: 86-61=25
Moving to Node #0,1
Current State: 34:[33, 24, 25], Operations: ['86-61=25']
Exploring Operation: 25-24=1, Resulting Numbers: [33, 1]
Generated Node #0,1,2: 34:[33, 1] Operation: 25-24=1
Moving to Node #0,1,2
Current State: 34:[33, 1], Operations: ['86-61=25', '25-24=1']
Exploring Operation: 33+1=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
14,
11,
12,
4
] | 48 | [
"14-11=3",
"12+4=16",
"3*16=48"
] | Current State: 48:[14, 11, 12, 4], Operations: []
Exploring Operation: 14-11=3, Resulting Numbers: [12, 4, 3]
Generated Node #2: [12, 4, 3] from Operation: 14-11=3
Current State: 48:[12, 4, 3], Operations: ['14-11=3']
Exploring Operation: 12+4=16, Resulting Numbers: [3, 16]
Generated Node #3: [3, 16] from Operation: 12+4=16
Current State: 48:[3, 16], Operations: ['14-11=3', '12+4=16']
Exploring Operation: 3*16=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[14, 11, 12, 4], Operations: []
Exploring Operation: 14-11=3, Resulting Numbers: [12, 4, 3]
Generated Node #0,0: 48:[12, 4, 3] Operation: 14-11=3
Moving to Node #0,0
Current State: 48:[12, 4, 3], Operations: ['14-11=3']
Exploring Operation: 12+4=16, Resulting Numbers: [3, 16]
Generated Node #0,0,0: 48:[3, 16] Operation: 12+4=16
Moving to Node #0,0,0
Current State: 48:[3, 16], Operations: ['14-11=3', '12+4=16']
Exploring Operation: 3*16=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[14, 11, 12, 4], Operations: []
Exploring Operation: 14-11=3, Resulting Numbers: [12, 4, 3]
Generated Node #0,0: 48:[12, 4, 3] Operation: 14-11=3
Moving to Node #0,0
Current State: 48:[12, 4, 3], Operations: ['14-11=3']
Exploring Operation: 12+4=16, Resulting Numbers: [3, 16]
Generated Node #0,0,0: 48:[3, 16] Operation: 12+4=16
Moving to Node #0,0,0
Current State: 48:[3, 16], Operations: ['14-11=3', '12+4=16']
Exploring Operation: 3*16=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
68,
52,
57,
78
] | 15 | [
"68+52=120",
"57+78=135",
"135-120=15"
] | Current State: 15:[68, 52, 57, 78], Operations: []
Exploring Operation: 68+52=120, Resulting Numbers: [57, 78, 120]
Generated Node #2: [57, 78, 120] from Operation: 68+52=120
Current State: 15:[57, 78, 120], Operations: ['68+52=120']
Exploring Operation: 57+78=135, Resulting Numbers: [120, 135]
Generated Node #3: [120, 135] from Operation: 57+78=135
Current State: 15:[120, 135], Operations: ['68+52=120', '57+78=135']
Exploring Operation: 135-120=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[68, 52, 57, 78], Operations: []
Exploring Operation: 78-68=10, Resulting Numbers: [52, 57, 10]
Generated Node #0,0: 15:[52, 57, 10] Operation: 78-68=10
Exploring Operation: 78-57=21, Resulting Numbers: [68, 52, 21]
Generated Node #0,1: 15:[68, 52, 21] Operation: 78-57=21
Start Sub Search at level 1: Moving to Node #0,0
Current State: 15:[52, 57, 10], Operations: ['78-68=10']
Exploring Operation: 52-10=42, Resulting Numbers: [57, 42]
Generated Node #0,0,0: 15:[57, 42] Operation: 52-10=42
Exploring Operation: 57-52=5, Resulting Numbers: [10, 5]
Generated Node #0,0,1: 15:[10, 5] Operation: 57-52=5
Moving to Node #0,0,1
Current State: 15:[10, 5], Operations: ['78-68=10', '57-52=5']
Exploring Operation: 10+5=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[68, 52, 57, 78], Operations: []
Exploring Operation: 78-68=10, Resulting Numbers: [52, 57, 10]
Generated Node #0,0: 15:[52, 57, 10] Operation: 78-68=10
Moving to Node #0,0
Current State: 15:[52, 57, 10], Operations: ['78-68=10']
Exploring Operation: 57-52=5, Resulting Numbers: [10, 5]
Generated Node #0,0,1: 15:[10, 5] Operation: 57-52=5
Moving to Node #0,0,1
Current State: 15:[10, 5], Operations: ['78-68=10', '57-52=5']
Exploring Operation: 10+5=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
28,
6,
95,
26
] | 89 | [
"95-28=67",
"6*26=156",
"156-67=89"
] | Current State: 89:[28, 6, 95, 26], Operations: []
Exploring Operation: 95-28=67, Resulting Numbers: [6, 26, 67]
Generated Node #2: [6, 26, 67] from Operation: 95-28=67
Current State: 89:[6, 26, 67], Operations: ['95-28=67']
Exploring Operation: 6*26=156, Resulting Numbers: [67, 156]
Generated Node #3: [67, 156] from Operation: 6*26=156
Current State: 89:[67, 156], Operations: ['95-28=67', '6*26=156']
Exploring Operation: 156-67=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[28, 6, 95, 26], Operations: []
Exploring Operation: 95-6=89, Resulting Numbers: [28, 26, 89]
Generated Node #0,0: 89:[28, 26, 89] Operation: 95-6=89
Exploring Operation: 6*26=156, Resulting Numbers: [28, 95, 156]
Generated Node #0,1: 89:[28, 95, 156] Operation: 6*26=156
Exploring Operation: 28+6=34, Resulting Numbers: [95, 26, 34]
Generated Node #0,2: 89:[95, 26, 34] Operation: 28+6=34
Exploring Operation: 28+26=54, Resulting Numbers: [6, 95, 54]
Generated Node #0,3: 89:[6, 95, 54] Operation: 28+26=54
Exploring Operation: 6+26=32, Resulting Numbers: [28, 95, 32]
Generated Node #0,4: 89:[28, 95, 32] Operation: 6+26=32
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[28, 26, 89], Operations: ['95-6=89']
Exploring Operation: 28+89=117, Resulting Numbers: [26, 117]
Generated Node #0,0,0: 89:[26, 117] Operation: 28+89=117
Exploring Operation: 28+26=54, Resulting Numbers: [89, 54]
Generated Node #0,0,1: 89:[89, 54] Operation: 28+26=54
Exploring Operation: 26+89=115, Resulting Numbers: [28, 115]
Generated Node #0,0,2: 89:[28, 115] Operation: 26+89=115
Exploring Operation: 89-26=63, Resulting Numbers: [28, 63]
Generated Node #0,0,3: 89:[28, 63] Operation: 89-26=63
Exploring Operation: 28-26=2, Resulting Numbers: [89, 2]
Generated Node #0,0,4: 89:[89, 2] Operation: 28-26=2
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 89:[89, 54], Operations: ['95-6=89', '28+26=54']
Exploring Operation: 89-54=35, Resulting Numbers: [35]
35,89 unequal: No Solution
Exploring Operation: 89+54=143, Resulting Numbers: [143]
143,89 unequal: No Solution
Exploring Operation: 89*54=4806, Resulting Numbers: [4806]
4806,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 89:[28, 115], Operations: ['95-6=89', '26+89=115']
Exploring Operation: 28*115=3220, Resulting Numbers: [3220]
3220,89 unequal: No Solution
Exploring Operation: 115-28=87, Resulting Numbers: [87]
87,89 unequal: No Solution
Exploring Operation: 28+115=143, Resulting Numbers: [143]
143,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 89:[28, 63], Operations: ['95-6=89', '89-26=63']
Exploring Operation: 28+63=91, Resulting Numbers: [91]
91,89 unequal: No Solution
Exploring Operation: 28*63=1764, Resulting Numbers: [1764]
1764,89 unequal: No Solution
Exploring Operation: 63-28=35, Resulting Numbers: [35]
35,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 89:[89, 2], Operations: ['95-6=89', '28-26=2']
Exploring Operation: 89-2=87, Resulting Numbers: [87]
87,89 unequal: No Solution
Exploring Operation: 89*2=178, Resulting Numbers: [178]
178,89 unequal: No Solution
Exploring Operation: 89+2=91, Resulting Numbers: [91]
91,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 89:[26, 117], Operations: ['95-6=89', '28+89=117']
Exploring Operation: 117-26=91, Resulting Numbers: [91]
91,89 unequal: No Solution
Exploring Operation: 26*117=3042, Resulting Numbers: [3042]
3042,89 unequal: No Solution
Exploring Operation: 26+117=143, Resulting Numbers: [143]
143,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 89:[95, 26, 34], Operations: ['28+6=34']
Exploring Operation: 95+26=121, Resulting Numbers: [34, 121]
Generated Node #0,2,0: 89:[34, 121] Operation: 95+26=121
Exploring Operation: 26+34=60, Resulting Numbers: [95, 60]
Generated Node #0,2,1: 89:[95, 60] Operation: 26+34=60
Exploring Operation: 34-26=8, Resulting Numbers: [95, 8]
Generated Node #0,2,2: 89:[95, 8] Operation: 34-26=8
Exploring Operation: 95-26=69, Resulting Numbers: [34, 69]
Generated Node #0,2,3: 89:[34, 69] Operation: 95-26=69
Exploring Operation: 95-34=61, Resulting Numbers: [26, 61]
Generated Node #0,2,4: 89:[26, 61] Operation: 95-34=61
Moving to Node #0,2,1
Current State: 89:[95, 60], Operations: ['28+6=34', '26+34=60']
Exploring Operation: 95*60=5700, Resulting Numbers: [5700]
5700,89 unequal: No Solution
Exploring Operation: 95+60=155, Resulting Numbers: [155]
155,89 unequal: No Solution
Exploring Operation: 95-60=35, Resulting Numbers: [35]
35,89 unequal: No Solution
Moving to Node #0,2,3
Current State: 89:[34, 69], Operations: ['28+6=34', '95-26=69']
Exploring Operation: 34+69=103, Resulting Numbers: [103]
103,89 unequal: No Solution
Exploring Operation: 34*69=2346, Resulting Numbers: [2346]
2346,89 unequal: No Solution
Exploring Operation: 69-34=35, Resulting Numbers: [35]
35,89 unequal: No Solution
Moving to Node #0,2,0
Current State: 89:[34, 121], Operations: ['28+6=34', '95+26=121']
Exploring Operation: 34+121=155, Resulting Numbers: [155]
155,89 unequal: No Solution
Exploring Operation: 121-34=87, Resulting Numbers: [87]
87,89 unequal: No Solution
Exploring Operation: 34*121=4114, Resulting Numbers: [4114]
4114,89 unequal: No Solution
Moving to Node #0,2,2
Current State: 89:[95, 8], Operations: ['28+6=34', '34-26=8']
Exploring Operation: 95*8=760, Resulting Numbers: [760]
760,89 unequal: No Solution
Exploring Operation: 95-8=87, Resulting Numbers: [87]
87,89 unequal: No Solution
Exploring Operation: 95+8=103, Resulting Numbers: [103]
103,89 unequal: No Solution
Moving to Node #0,2,4
Current State: 89:[26, 61], Operations: ['28+6=34', '95-34=61']
Exploring Operation: 26*61=1586, Resulting Numbers: [1586]
1586,89 unequal: No Solution
Exploring Operation: 61-26=35, Resulting Numbers: [35]
35,89 unequal: No Solution
Exploring Operation: 26+61=87, Resulting Numbers: [87]
87,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 89:[6, 95, 54], Operations: ['28+26=54']
Exploring Operation: 6+54=60, Resulting Numbers: [95, 60]
Generated Node #0,3,0: 89:[95, 60] Operation: 6+54=60
Exploring Operation: 54/6=9, Resulting Numbers: [95, 9]
Generated Node #0,3,1: 89:[95, 9] Operation: 54/6=9
Exploring Operation: 95-6=89, Resulting Numbers: [54, 89]
Generated Node #0,3,2: 89:[54, 89] Operation: 95-6=89
Exploring Operation: 54-6=48, Resulting Numbers: [95, 48]
Generated Node #0,3,3: 89:[95, 48] Operation: 54-6=48
Exploring Operation: 6+95=101, Resulting Numbers: [54, 101]
Generated Node #0,3,4: 89:[54, 101] Operation: 6+95=101
Moving to Node #0,3,0
Current State: 89:[95, 60], Operations: ['28+26=54', '6+54=60']
Exploring Operation: 95*60=5700, Resulting Numbers: [5700]
5700,89 unequal: No Solution
Exploring Operation: 95-60=35, Resulting Numbers: [35]
35,89 unequal: No Solution
Exploring Operation: 95+60=155, Resulting Numbers: [155]
155,89 unequal: No Solution
Moving to Node #0,3,2
Current State: 89:[54, 89], Operations: ['28+26=54', '95-6=89']
Exploring Operation: 89-54=35, Resulting Numbers: [35]
35,89 unequal: No Solution
Exploring Operation: 54+89=143, Resulting Numbers: [143]
143,89 unequal: No Solution
Exploring Operation: 54*89=4806, Resulting Numbers: [4806]
4806,89 unequal: No Solution
Moving to Node #0,3,3
Current State: 89:[95, 48], Operations: ['28+26=54', '54-6=48']
Exploring Operation: 95*48=4560, Resulting Numbers: [4560]
4560,89 unequal: No Solution
Exploring Operation: 95-48=47, Resulting Numbers: [47]
47,89 unequal: No Solution
Exploring Operation: 95+48=143, Resulting Numbers: [143]
143,89 unequal: No Solution
Moving to Node #0,3,4
Current State: 89:[54, 101], Operations: ['28+26=54', '6+95=101']
Exploring Operation: 101-54=47, Resulting Numbers: [47]
47,89 unequal: No Solution
Exploring Operation: 54+101=155, Resulting Numbers: [155]
155,89 unequal: No Solution
Exploring Operation: 54*101=5454, Resulting Numbers: [5454]
5454,89 unequal: No Solution
Moving to Node #0,3,1
Current State: 89:[95, 9], Operations: ['28+26=54', '54/6=9']
Exploring Operation: 95*9=855, Resulting Numbers: [855]
855,89 unequal: No Solution
Exploring Operation: 95-9=86, Resulting Numbers: [86]
86,89 unequal: No Solution
Exploring Operation: 95+9=104, Resulting Numbers: [104]
104,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,4
Current State: 89:[28, 95, 32], Operations: ['6+26=32']
Exploring Operation: 28+32=60, Resulting Numbers: [95, 60]
Generated Node #0,4,0: 89:[95, 60] Operation: 28+32=60
Exploring Operation: 95-32=63, Resulting Numbers: [28, 63]
Generated Node #0,4,1: 89:[28, 63] Operation: 95-32=63
Exploring Operation: 28+95=123, Resulting Numbers: [32, 123]
Generated Node #0,4,2: 89:[32, 123] Operation: 28+95=123
Exploring Operation: 95-28=67, Resulting Numbers: [32, 67]
Generated Node #0,4,3: 89:[32, 67] Operation: 95-28=67
Exploring Operation: 32-28=4, Resulting Numbers: [95, 4]
Generated Node #0,4,4: 89:[95, 4] Operation: 32-28=4
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 89:[95, 60], Operations: ['6+26=32', '28+32=60']
Exploring Operation: 95+60=155, Resulting Numbers: [155]
155,89 unequal: No Solution
Exploring Operation: 95*60=5700, Resulting Numbers: [5700]
5700,89 unequal: No Solution
Exploring Operation: 95-60=35, Resulting Numbers: [35]
35,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 89:[32, 67], Operations: ['6+26=32', '95-28=67']
Exploring Operation: 67-32=35, Resulting Numbers: [35]
35,89 unequal: No Solution
Exploring Operation: 32+67=99, Resulting Numbers: [99]
99,89 unequal: No Solution
Exploring Operation: 32*67=2144, Resulting Numbers: [2144]
2144,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 89:[28, 63], Operations: ['6+26=32', '95-32=63']
Exploring Operation: 28*63=1764, Resulting Numbers: [1764]
1764,89 unequal: No Solution
Exploring Operation: 63-28=35, Resulting Numbers: [35]
35,89 unequal: No Solution
Exploring Operation: 28+63=91, Resulting Numbers: [91]
91,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 89:[32, 123], Operations: ['6+26=32', '28+95=123']
Exploring Operation: 123-32=91, Resulting Numbers: [91]
91,89 unequal: No Solution
Exploring Operation: 32*123=3936, Resulting Numbers: [3936]
3936,89 unequal: No Solution
Exploring Operation: 32+123=155, Resulting Numbers: [155]
155,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 89:[95, 4], Operations: ['6+26=32', '32-28=4']
Exploring Operation: 95-4=91, Resulting Numbers: [91]
91,89 unequal: No Solution
Exploring Operation: 95+4=99, Resulting Numbers: [99]
99,89 unequal: No Solution
Exploring Operation: 95*4=380, Resulting Numbers: [380]
380,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 89:[28, 95, 156], Operations: ['6*26=156']
Exploring Operation: 28+156=184, Resulting Numbers: [95, 184]
Generated Node #0,1,0: 89:[95, 184] Operation: 28+156=184
Exploring Operation: 156-95=61, Resulting Numbers: [28, 61]
Generated Node #0,1,1: 89:[28, 61] Operation: 156-95=61
Exploring Operation: 28+95=123, Resulting Numbers: [156, 123]
Generated Node #0,1,2: 89:[156, 123] Operation: 28+95=123
Exploring Operation: 95-28=67, Resulting Numbers: [156, 67]
Generated Node #0,1,3: 89:[156, 67] Operation: 95-28=67
Exploring Operation: 156-28=128, Resulting Numbers: [95, 128]
Generated Node #0,1,4: 89:[95, 128] Operation: 156-28=128
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 89:[95, 128], Operations: ['6*26=156', '156-28=128']
Exploring Operation: 128-95=33, Resulting Numbers: [33]
33,89 unequal: No Solution
Exploring Operation: 95+128=223, Resulting Numbers: [223]
223,89 unequal: No Solution
Exploring Operation: 95*128=12160, Resulting Numbers: [12160]
12160,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 89:[28, 61], Operations: ['6*26=156', '156-95=61']
Exploring Operation: 28*61=1708, Resulting Numbers: [1708]
1708,89 unequal: No Solution
Exploring Operation: 61-28=33, Resulting Numbers: [33]
33,89 unequal: No Solution
Exploring Operation: 28+61=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[28, 6, 95, 26], Operations: []
Exploring Operation: 6*26=156, Resulting Numbers: [28, 95, 156]
Generated Node #0,1: 89:[28, 95, 156] Operation: 6*26=156
Moving to Node #0,1
Current State: 89:[28, 95, 156], Operations: ['6*26=156']
Exploring Operation: 156-95=61, Resulting Numbers: [28, 61]
Generated Node #0,1,1: 89:[28, 61] Operation: 156-95=61
Moving to Node #0,1,1
Current State: 89:[28, 61], Operations: ['6*26=156', '156-95=61']
Exploring Operation: 28+61=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.913194 | hs_5 | mult_heuristic |
[
15,
40,
5,
88
] | 51 | [
"15/5=3",
"88-40=48",
"3+48=51"
] | Current State: 51:[15, 40, 5, 88], Operations: []
Exploring Operation: 15/5=3, Resulting Numbers: [40, 88, 3]
Generated Node #2: [40, 88, 3] from Operation: 15/5=3
Current State: 51:[40, 88, 3], Operations: ['15/5=3']
Exploring Operation: 88-40=48, Resulting Numbers: [3, 48]
Generated Node #3: [3, 48] from Operation: 88-40=48
Current State: 51:[3, 48], Operations: ['15/5=3', '88-40=48']
Exploring Operation: 3+48=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[15, 40, 5, 88], Operations: []
Exploring Operation: 88-40=48, Resulting Numbers: [15, 5, 48]
Generated Node #0,0: 51:[15, 5, 48] Operation: 88-40=48
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[15, 5, 48], Operations: ['88-40=48']
Exploring Operation: 15/5=3, Resulting Numbers: [48, 3]
Generated Node #0,0,0: 51:[48, 3] Operation: 15/5=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 51:[48, 3], Operations: ['88-40=48', '15/5=3']
Exploring Operation: 48+3=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[15, 40, 5, 88], Operations: []
Exploring Operation: 88-40=48, Resulting Numbers: [15, 5, 48]
Generated Node #0,0: 51:[15, 5, 48] Operation: 88-40=48
Moving to Node #0,0
Current State: 51:[15, 5, 48], Operations: ['88-40=48']
Exploring Operation: 15/5=3, Resulting Numbers: [48, 3]
Generated Node #0,0,0: 51:[48, 3] Operation: 15/5=3
Moving to Node #0,0,0
Current State: 51:[48, 3], Operations: ['88-40=48', '15/5=3']
Exploring Operation: 48+3=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
2,
45,
94,
94
] | 89 | [
"2*45=90",
"94/94=1",
"90-1=89"
] | Current State: 89:[2, 45, 94, 94], Operations: []
Exploring Operation: 2*45=90, Resulting Numbers: [94, 94, 90]
Generated Node #2: [94, 94, 90] from Operation: 2*45=90
Current State: 89:[94, 94, 90], Operations: ['2*45=90']
Exploring Operation: 94/94=1, Resulting Numbers: [90, 1]
Generated Node #3: [90, 1] from Operation: 94/94=1
Current State: 89:[90, 1], Operations: ['2*45=90', '94/94=1']
Exploring Operation: 90-1=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[2, 45, 94, 94], Operations: []
Exploring Operation: 2+45=47, Resulting Numbers: [94, 94, 47]
Generated Node #0,0: 89:[94, 94, 47] Operation: 2+45=47
Exploring Operation: 2*45=90, Resulting Numbers: [94, 94, 90]
Generated Node #0,1: 89:[94, 94, 90] Operation: 2*45=90
Exploring Operation: 94-2=92, Resulting Numbers: [45, 94, 92]
Generated Node #0,2: 89:[45, 94, 92] Operation: 94-2=92
Exploring Operation: 94-2=92, Resulting Numbers: [45, 94, 92]
Generated Node #0,3: 89:[45, 94, 92] Operation: 94-2=92
Moving to Node #0,1
Current State: 89:[94, 94, 90], Operations: ['2*45=90']
Exploring Operation: 94-94=0, Resulting Numbers: [90, 0]
Generated Node #0,1,0: 89:[90, 0] Operation: 94-94=0
Exploring Operation: 94-90=4, Resulting Numbers: [94, 4]
Generated Node #0,1,1: 89:[94, 4] Operation: 94-90=4
Exploring Operation: 94/94=1, Resulting Numbers: [90, 1]
Generated Node #0,1,2: 89:[90, 1] Operation: 94/94=1
Exploring Operation: 94-90=4, Resulting Numbers: [94, 4]
Generated Node #0,1,3: 89:[94, 4] Operation: 94-90=4
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 89:[90, 1], Operations: ['2*45=90', '94/94=1']
Exploring Operation: 90-1=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[2, 45, 94, 94], Operations: []
Exploring Operation: 2*45=90, Resulting Numbers: [94, 94, 90]
Generated Node #0,1: 89:[94, 94, 90] Operation: 2*45=90
Moving to Node #0,1
Current State: 89:[94, 94, 90], Operations: ['2*45=90']
Exploring Operation: 94/94=1, Resulting Numbers: [90, 1]
Generated Node #0,1,2: 89:[90, 1] Operation: 94/94=1
Moving to Node #0,1,2
Current State: 89:[90, 1], Operations: ['2*45=90', '94/94=1']
Exploring Operation: 90-1=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
44,
20,
8,
89
] | 73 | [
"44-20=24",
"8+89=97",
"97-24=73"
] | Current State: 73:[44, 20, 8, 89], Operations: []
Exploring Operation: 44-20=24, Resulting Numbers: [8, 89, 24]
Generated Node #2: [8, 89, 24] from Operation: 44-20=24
Current State: 73:[8, 89, 24], Operations: ['44-20=24']
Exploring Operation: 8+89=97, Resulting Numbers: [24, 97]
Generated Node #3: [24, 97] from Operation: 8+89=97
Current State: 73:[24, 97], Operations: ['44-20=24', '8+89=97']
Exploring Operation: 97-24=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[44, 20, 8, 89], Operations: []
Exploring Operation: 20+8=28, Resulting Numbers: [44, 89, 28]
Generated Node #0,0: 73:[44, 89, 28] Operation: 20+8=28
Exploring Operation: 89-8=81, Resulting Numbers: [44, 20, 81]
Generated Node #0,1: 73:[44, 20, 81] Operation: 89-8=81
Exploring Operation: 44+20=64, Resulting Numbers: [8, 89, 64]
Generated Node #0,2: 73:[8, 89, 64] Operation: 44+20=64
Exploring Operation: 44+8=52, Resulting Numbers: [20, 89, 52]
Generated Node #0,3: 73:[20, 89, 52] Operation: 44+8=52
Moving to Node #0,0
Current State: 73:[44, 89, 28], Operations: ['20+8=28']
Exploring Operation: 44-28=16, Resulting Numbers: [89, 16]
Generated Node #0,0,0: 73:[89, 16] Operation: 44-28=16
Exploring Operation: 89-28=61, Resulting Numbers: [44, 61]
Generated Node #0,0,1: 73:[44, 61] Operation: 89-28=61
Exploring Operation: 44+28=72, Resulting Numbers: [89, 72]
Generated Node #0,0,2: 73:[89, 72] Operation: 44+28=72
Exploring Operation: 89-44=45, Resulting Numbers: [28, 45]
Generated Node #0,0,3: 73:[28, 45] Operation: 89-44=45
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 73:[89, 72], Operations: ['20+8=28', '44+28=72']
Exploring Operation: 89*72=6408, Resulting Numbers: [6408]
6408,73 unequal: No Solution
Exploring Operation: 89+72=161, Resulting Numbers: [161]
161,73 unequal: No Solution
Exploring Operation: 89-72=17, Resulting Numbers: [17]
17,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 73:[44, 61], Operations: ['20+8=28', '89-28=61']
Exploring Operation: 61-44=17, Resulting Numbers: [17]
17,73 unequal: No Solution
Exploring Operation: 44+61=105, Resulting Numbers: [105]
105,73 unequal: No Solution
Exploring Operation: 44*61=2684, Resulting Numbers: [2684]
2684,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 73:[89, 16], Operations: ['20+8=28', '44-28=16']
Exploring Operation: 89+16=105, Resulting Numbers: [105]
105,73 unequal: No Solution
Exploring Operation: 89*16=1424, Resulting Numbers: [1424]
1424,73 unequal: No Solution
Exploring Operation: 89-16=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[44, 20, 8, 89], Operations: []
Exploring Operation: 20+8=28, Resulting Numbers: [44, 89, 28]
Generated Node #0,0: 73:[44, 89, 28] Operation: 20+8=28
Moving to Node #0,0
Current State: 73:[44, 89, 28], Operations: ['20+8=28']
Exploring Operation: 44-28=16, Resulting Numbers: [89, 16]
Generated Node #0,0,0: 73:[89, 16] Operation: 44-28=16
Moving to Node #0,0,0
Current State: 73:[89, 16], Operations: ['20+8=28', '44-28=16']
Exploring Operation: 89-16=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_4 | mult_heuristic |
[
38,
72,
64,
70
] | 26 | [
"70-64=6",
"72/6=12",
"38-12=26"
] | Current State: 26:[38, 72, 64, 70], Operations: []
Exploring Operation: 70-64=6, Resulting Numbers: [38, 72, 6]
Generated Node #2: [38, 72, 6] from Operation: 70-64=6
Current State: 26:[38, 72, 6], Operations: ['70-64=6']
Exploring Operation: 72/6=12, Resulting Numbers: [38, 12]
Generated Node #3: [38, 12] from Operation: 72/6=12
Current State: 26:[38, 12], Operations: ['70-64=6', '72/6=12']
Exploring Operation: 38-12=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[38, 72, 64, 70], Operations: []
Exploring Operation: 72-38=34, Resulting Numbers: [64, 70, 34]
Generated Node #0,0: 26:[64, 70, 34] Operation: 72-38=34
Exploring Operation: 72-70=2, Resulting Numbers: [38, 64, 2]
Generated Node #0,1: 26:[38, 64, 2] Operation: 72-70=2
Exploring Operation: 72-64=8, Resulting Numbers: [38, 70, 8]
Generated Node #0,2: 26:[38, 70, 8] Operation: 72-64=8
Exploring Operation: 64-38=26, Resulting Numbers: [72, 70, 26]
Generated Node #0,3: 26:[72, 70, 26] Operation: 64-38=26
Exploring Operation: 70-64=6, Resulting Numbers: [38, 72, 6]
Generated Node #0,4: 26:[38, 72, 6] Operation: 70-64=6
Moving to Node #0,1
Current State: 26:[38, 64, 2], Operations: ['72-70=2']
Exploring Operation: 64-2=62, Resulting Numbers: [38, 62]
Generated Node #0,1,0: 26:[38, 62] Operation: 64-2=62
Exploring Operation: 38/2=19, Resulting Numbers: [64, 19]
Generated Node #0,1,1: 26:[64, 19] Operation: 38/2=19
Exploring Operation: 64/2=32, Resulting Numbers: [38, 32]
Generated Node #0,1,2: 26:[38, 32] Operation: 64/2=32
Exploring Operation: 38-2=36, Resulting Numbers: [64, 36]
Generated Node #0,1,3: 26:[64, 36] Operation: 38-2=36
Exploring Operation: 64-38=26, Resulting Numbers: [2, 26]
Generated Node #0,1,4: 26:[2, 26] Operation: 64-38=26
Moving to Node #0,2
Current State: 26:[38, 70, 8], Operations: ['72-64=8']
Exploring Operation: 70-38=32, Resulting Numbers: [8, 32]
Generated Node #0,2,0: 26:[8, 32] Operation: 70-38=32
Exploring Operation: 38+8=46, Resulting Numbers: [70, 46]
Generated Node #0,2,1: 26:[70, 46] Operation: 38+8=46
Exploring Operation: 70-8=62, Resulting Numbers: [38, 62]
Generated Node #0,2,2: 26:[38, 62] Operation: 70-8=62
Exploring Operation: 38-8=30, Resulting Numbers: [70, 30]
Generated Node #0,2,3: 26:[70, 30] Operation: 38-8=30
Exploring Operation: 70+8=78, Resulting Numbers: [38, 78]
Generated Node #0,2,4: 26:[38, 78] Operation: 70+8=78
Moving to Node #0,4
Current State: 26:[38, 72, 6], Operations: ['70-64=6']
Exploring Operation: 72-6=66, Resulting Numbers: [38, 66]
Generated Node #0,4,0: 26:[38, 66] Operation: 72-6=66
Exploring Operation: 72/6=12, Resulting Numbers: [38, 12]
Generated Node #0,4,1: 26:[38, 12] Operation: 72/6=12
Exploring Operation: 38-6=32, Resulting Numbers: [72, 32]
Generated Node #0,4,2: 26:[72, 32] Operation: 38-6=32
Exploring Operation: 72-38=34, Resulting Numbers: [6, 34]
Generated Node #0,4,3: 26:[6, 34] Operation: 72-38=34
Exploring Operation: 38+6=44, Resulting Numbers: [72, 44]
Generated Node #0,4,4: 26:[72, 44] Operation: 38+6=44
Moving to Node #0,0
Current State: 26:[64, 70, 34], Operations: ['72-38=34']
Exploring Operation: 64+70=134, Resulting Numbers: [34, 134]
Generated Node #0,0,0: 26:[34, 134] Operation: 64+70=134
Exploring Operation: 70-64=6, Resulting Numbers: [34, 6]
Generated Node #0,0,1: 26:[34, 6] Operation: 70-64=6
Exploring Operation: 64+34=98, Resulting Numbers: [70, 98]
Generated Node #0,0,2: 26:[70, 98] Operation: 64+34=98
Exploring Operation: 70-34=36, Resulting Numbers: [64, 36]
Generated Node #0,0,3: 26:[64, 36] Operation: 70-34=36
Exploring Operation: 64-34=30, Resulting Numbers: [70, 30]
Generated Node #0,0,4: 26:[70, 30] Operation: 64-34=30
Moving to Node #0,3
Current State: 26:[72, 70, 26], Operations: ['64-38=26']
Exploring Operation: 72-26=46, Resulting Numbers: [70, 46]
Generated Node #0,3,0: 26:[70, 46] Operation: 72-26=46
Exploring Operation: 72+26=98, Resulting Numbers: [70, 98]
Generated Node #0,3,1: 26:[70, 98] Operation: 72+26=98
Exploring Operation: 70-26=44, Resulting Numbers: [72, 44]
Generated Node #0,3,2: 26:[72, 44] Operation: 70-26=44
Exploring Operation: 72+70=142, Resulting Numbers: [26, 142]
Generated Node #0,3,3: 26:[26, 142] Operation: 72+70=142
Exploring Operation: 72-70=2, Resulting Numbers: [26, 2]
Generated Node #0,3,4: 26:[26, 2] Operation: 72-70=2
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 26:[26, 2], Operations: ['64-38=26', '72-70=2']
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,26 unequal: No Solution
Exploring Operation: 26*2=52, Resulting Numbers: [52]
52,26 unequal: No Solution
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,26 unequal: No Solution
Exploring Operation: 26+2=28, Resulting Numbers: [28]
28,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 26:[70, 46], Operations: ['64-38=26', '72-26=46']
Exploring Operation: 70+46=116, Resulting Numbers: [116]
116,26 unequal: No Solution
Exploring Operation: 70*46=3220, Resulting Numbers: [3220]
3220,26 unequal: No Solution
Exploring Operation: 70-46=24, Resulting Numbers: [24]
24,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 26:[72, 44], Operations: ['64-38=26', '70-26=44']
Exploring Operation: 72+44=116, Resulting Numbers: [116]
116,26 unequal: No Solution
Exploring Operation: 72-44=28, Resulting Numbers: [28]
28,26 unequal: No Solution
Exploring Operation: 72*44=3168, Resulting Numbers: [3168]
3168,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 26:[70, 98], Operations: ['64-38=26', '72+26=98']
Exploring Operation: 70+98=168, Resulting Numbers: [168]
168,26 unequal: No Solution
Exploring Operation: 70*98=6860, Resulting Numbers: [6860]
6860,26 unequal: No Solution
Exploring Operation: 98-70=28, Resulting Numbers: [28]
28,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 26:[26, 142], Operations: ['64-38=26', '72+70=142']
Exploring Operation: 26+142=168, Resulting Numbers: [168]
168,26 unequal: No Solution
Exploring Operation: 26*142=3692, Resulting Numbers: [3692]
3692,26 unequal: No Solution
Exploring Operation: 142-26=116, Resulting Numbers: [116]
116,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,4
Current State: 26:[2, 26], Operations: ['72-70=2', '64-38=26']
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,26 unequal: No Solution
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,26 unequal: No Solution
Exploring Operation: 2+26=28, Resulting Numbers: [28]
28,26 unequal: No Solution
Exploring Operation: 2*26=52, Resulting Numbers: [52]
52,26 unequal: No Solution
Moving to Node #0,2,0
Current State: 26:[8, 32], Operations: ['72-64=8', '70-38=32']
Exploring Operation: 8*32=256, Resulting Numbers: [256]
256,26 unequal: No Solution
Exploring Operation: 8+32=40, Resulting Numbers: [40]
40,26 unequal: No Solution
Exploring Operation: 32-8=24, Resulting Numbers: [24]
24,26 unequal: No Solution
Exploring Operation: 32/8=4, Resulting Numbers: [4]
4,26 unequal: No Solution
Moving to Node #0,4,3
Current State: 26:[6, 34], Operations: ['70-64=6', '72-38=34']
Exploring Operation: 6*34=204, Resulting Numbers: [204]
204,26 unequal: No Solution
Exploring Operation: 6+34=40, Resulting Numbers: [40]
40,26 unequal: No Solution
Exploring Operation: 34-6=28, Resulting Numbers: [28]
28,26 unequal: No Solution
Moving to Node #0,0,1
Current State: 26:[34, 6], Operations: ['72-38=34', '70-64=6']
Exploring Operation: 34*6=204, Resulting Numbers: [204]
204,26 unequal: No Solution
Exploring Operation: 34-6=28, Resulting Numbers: [28]
28,26 unequal: No Solution
Exploring Operation: 34+6=40, Resulting Numbers: [40]
40,26 unequal: No Solution
Moving to Node #0,4,1
Current State: 26:[38, 12], Operations: ['70-64=6', '72/6=12']
Exploring Operation: 38*12=456, Resulting Numbers: [456]
456,26 unequal: No Solution
Exploring Operation: 38-12=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[38, 72, 64, 70], Operations: []
Exploring Operation: 70-64=6, Resulting Numbers: [38, 72, 6]
Generated Node #0,4: 26:[38, 72, 6] Operation: 70-64=6
Moving to Node #0,4
Current State: 26:[38, 72, 6], Operations: ['70-64=6']
Exploring Operation: 72/6=12, Resulting Numbers: [38, 12]
Generated Node #0,4,1: 26:[38, 12] Operation: 72/6=12
Moving to Node #0,4,1
Current State: 26:[38, 12], Operations: ['70-64=6', '72/6=12']
Exploring Operation: 38-12=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 0.942708 | hs_5 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.