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 |
---|---|---|---|---|---|---|---|---|
[
51,
15,
67,
98
] | 98 |
[
"51+15=66",
"67-66=1",
"98*1=98"
] |
Current State: 98:[51, 15, 67, 98], Operations: []
Exploring Operation: 51+15=66, Resulting Numbers: [67, 98, 66]
Generated Node #2: [67, 98, 66] from Operation: 51+15=66
Current State: 98:[67, 98, 66], Operations: ['51+15=66']
Exploring Operation: 67-66=1, Resulting Numbers: [98, 1]
Generated Node #3: [98, 1] from Operation: 67-66=1
Current State: 98:[98, 1], Operations: ['51+15=66', '67-66=1']
Exploring Operation: 98*1=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 |
Current State: 98:[51, 15, 67, 98], Operations: []
Exploring Operation: 15+67=82, Resulting Numbers: [51, 98, 82]
Generated Node #0,0: 98:[51, 98, 82] Operation: 15+67=82
Exploring Operation: 67-51=16, Resulting Numbers: [15, 98, 16]
Generated Node #0,1: 98:[15, 98, 16] Operation: 67-51=16
Exploring Operation: 67-15=52, Resulting Numbers: [51, 98, 52]
Generated Node #0,2: 98:[51, 98, 52] Operation: 67-15=52
Start Sub Search at level 1: Moving to Node #0,1
Current State: 98:[15, 98, 16], Operations: ['67-51=16']
Exploring Operation: 15+98=113, Resulting Numbers: [16, 113]
Generated Node #0,1,0: 98:[16, 113] Operation: 15+98=113
Exploring Operation: 98-15=83, Resulting Numbers: [16, 83]
Generated Node #0,1,1: 98:[16, 83] Operation: 98-15=83
Exploring Operation: 16-15=1, Resulting Numbers: [98, 1]
Generated Node #0,1,2: 98:[98, 1] Operation: 16-15=1
Moving to Node #0,1,2
Current State: 98:[98, 1], Operations: ['67-51=16', '16-15=1']
Exploring Operation: 98*1=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[51, 15, 67, 98], Operations: []
Exploring Operation: 67-51=16, Resulting Numbers: [15, 98, 16]
Generated Node #0,1: 98:[15, 98, 16] Operation: 67-51=16
Moving to Node #0,1
Current State: 98:[15, 98, 16], Operations: ['67-51=16']
Exploring Operation: 16-15=1, Resulting Numbers: [98, 1]
Generated Node #0,1,2: 98:[98, 1] Operation: 16-15=1
Moving to Node #0,1,2
Current State: 98:[98, 1], Operations: ['67-51=16', '16-15=1']
Exploring Operation: 98*1=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 |
hs_3
|
mult_heuristic
|
[
64,
68,
83,
45
] | 70 |
[
"83+45=128",
"128/64=2",
"68+2=70"
] |
Current State: 70:[64, 68, 83, 45], Operations: []
Exploring Operation: 83+45=128, Resulting Numbers: [64, 68, 128]
Generated Node #2: [64, 68, 128] from Operation: 83+45=128
Current State: 70:[64, 68, 128], Operations: ['83+45=128']
Exploring Operation: 128/64=2, Resulting Numbers: [68, 2]
Generated Node #3: [68, 2] from Operation: 128/64=2
Current State: 70:[68, 2], Operations: ['83+45=128', '128/64=2']
Exploring Operation: 68+2=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 |
Current State: 70:[64, 68, 83, 45], Operations: []
Exploring Operation: 83-64=19, Resulting Numbers: [68, 45, 19]
Generated Node #0,0: 70:[68, 45, 19] Operation: 83-64=19
Exploring Operation: 83-68=15, Resulting Numbers: [64, 45, 15]
Generated Node #0,1: 70:[64, 45, 15] Operation: 83-68=15
Exploring Operation: 64-45=19, Resulting Numbers: [68, 83, 19]
Generated Node #0,2: 70:[68, 83, 19] Operation: 64-45=19
Exploring Operation: 83-45=38, Resulting Numbers: [64, 68, 38]
Generated Node #0,3: 70:[64, 68, 38] Operation: 83-45=38
Start Sub Search at level 1: Moving to Node #0,3
Current State: 70:[64, 68, 38], Operations: ['83-45=38']
Exploring Operation: 68-38=30, Resulting Numbers: [64, 30]
Generated Node #0,3,0: 70:[64, 30] Operation: 68-38=30
Exploring Operation: 64+38=102, Resulting Numbers: [68, 102]
Generated Node #0,3,1: 70:[68, 102] Operation: 64+38=102
Exploring Operation: 68-64=4, Resulting Numbers: [38, 4]
Generated Node #0,3,2: 70:[38, 4] Operation: 68-64=4
Exploring Operation: 64-38=26, Resulting Numbers: [68, 26]
Generated Node #0,3,3: 70:[68, 26] Operation: 64-38=26
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 70:[38, 4], Operations: ['83-45=38', '68-64=4']
Exploring Operation: 38+4=42, Resulting Numbers: [42]
42,70 unequal: No Solution
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,70 unequal: No Solution
Exploring Operation: 38*4=152, Resulting Numbers: [152]
152,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 70:[64, 30], Operations: ['83-45=38', '68-38=30']
Exploring Operation: 64*30=1920, Resulting Numbers: [1920]
1920,70 unequal: No Solution
Exploring Operation: 64+30=94, Resulting Numbers: [94]
94,70 unequal: No Solution
Exploring Operation: 64-30=34, Resulting Numbers: [34]
34,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 70:[68, 26], Operations: ['83-45=38', '64-38=26']
Exploring Operation: 68-26=42, Resulting Numbers: [42]
42,70 unequal: No Solution
Exploring Operation: 68*26=1768, Resulting Numbers: [1768]
1768,70 unequal: No Solution
Exploring Operation: 68+26=94, Resulting Numbers: [94]
94,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 70:[68, 102], Operations: ['83-45=38', '64+38=102']
Exploring Operation: 102-68=34, Resulting Numbers: [34]
34,70 unequal: No Solution
Exploring Operation: 68+102=170, Resulting Numbers: [170]
170,70 unequal: No Solution
Exploring Operation: 68*102=6936, Resulting Numbers: [6936]
6936,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[68, 45, 19], Operations: ['83-64=19']
Exploring Operation: 68-19=49, Resulting Numbers: [45, 49]
Generated Node #0,0,0: 70:[45, 49] Operation: 68-19=49
Exploring Operation: 68-45=23, Resulting Numbers: [19, 23]
Generated Node #0,0,1: 70:[19, 23] Operation: 68-45=23
Exploring Operation: 45-19=26, Resulting Numbers: [68, 26]
Generated Node #0,0,2: 70:[68, 26] Operation: 45-19=26
Exploring Operation: 45+19=64, Resulting Numbers: [68, 64]
Generated Node #0,0,3: 70:[68, 64] Operation: 45+19=64
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 70:[68, 64], Operations: ['83-64=19', '45+19=64']
Exploring Operation: 68-64=4, Resulting Numbers: [4]
4,70 unequal: No Solution
Exploring Operation: 68*64=4352, Resulting Numbers: [4352]
4352,70 unequal: No Solution
Exploring Operation: 68+64=132, Resulting Numbers: [132]
132,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 70:[68, 26], Operations: ['83-64=19', '45-19=26']
Exploring Operation: 68-26=42, Resulting Numbers: [42]
42,70 unequal: No Solution
Exploring Operation: 68*26=1768, Resulting Numbers: [1768]
1768,70 unequal: No Solution
Exploring Operation: 68+26=94, Resulting Numbers: [94]
94,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 70:[19, 23], Operations: ['83-64=19', '68-45=23']
Exploring Operation: 19+23=42, Resulting Numbers: [42]
42,70 unequal: No Solution
Exploring Operation: 23-19=4, Resulting Numbers: [4]
4,70 unequal: No Solution
Exploring Operation: 19*23=437, Resulting Numbers: [437]
437,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 70:[45, 49], Operations: ['83-64=19', '68-19=49']
Exploring Operation: 45+49=94, Resulting Numbers: [94]
94,70 unequal: No Solution
Exploring Operation: 45*49=2205, Resulting Numbers: [2205]
2205,70 unequal: No Solution
Exploring Operation: 49-45=4, Resulting Numbers: [4]
4,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 70:[64, 45, 15], Operations: ['83-68=15']
Exploring Operation: 45-15=30, Resulting Numbers: [64, 30]
Generated Node #0,1,0: 70:[64, 30] Operation: 45-15=30
Exploring Operation: 64-45=19, Resulting Numbers: [15, 19]
Generated Node #0,1,1: 70:[15, 19] Operation: 64-45=19
Exploring Operation: 45/15=3, Resulting Numbers: [64, 3]
Generated Node #0,1,2: 70:[64, 3] Operation: 45/15=3
Exploring Operation: 45+15=60, Resulting Numbers: [64, 60]
Generated Node #0,1,3: 70:[64, 60] Operation: 45+15=60
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 70:[15, 19], Operations: ['83-68=15', '64-45=19']
Exploring Operation: 15*19=285, Resulting Numbers: [285]
285,70 unequal: No Solution
Exploring Operation: 19-15=4, Resulting Numbers: [4]
4,70 unequal: No Solution
Exploring Operation: 15+19=34, Resulting Numbers: [34]
34,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 70:[64, 3], Operations: ['83-68=15', '45/15=3']
Exploring Operation: 64+3=67, Resulting Numbers: [67]
67,70 unequal: No Solution
Exploring Operation: 64*3=192, Resulting Numbers: [192]
192,70 unequal: No Solution
Exploring Operation: 64-3=61, Resulting Numbers: [61]
61,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 70:[64, 30], Operations: ['83-68=15', '45-15=30']
Exploring Operation: 64+30=94, Resulting Numbers: [94]
94,70 unequal: No Solution
Exploring Operation: 64-30=34, Resulting Numbers: [34]
34,70 unequal: No Solution
Exploring Operation: 64*30=1920, Resulting Numbers: [1920]
1920,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 70:[64, 60], Operations: ['83-68=15', '45+15=60']
Exploring Operation: 64+60=124, Resulting Numbers: [124]
124,70 unequal: No Solution
Exploring Operation: 64-60=4, Resulting Numbers: [4]
4,70 unequal: No Solution
Exploring Operation: 64*60=3840, Resulting Numbers: [3840]
3840,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 70:[68, 83, 19], Operations: ['64-45=19']
Exploring Operation: 68+19=87, Resulting Numbers: [83, 87]
Generated Node #0,2,0: 70:[83, 87] Operation: 68+19=87
Exploring Operation: 83-68=15, Resulting Numbers: [19, 15]
Generated Node #0,2,1: 70:[19, 15] Operation: 83-68=15
Exploring Operation: 68-19=49, Resulting Numbers: [83, 49]
Generated Node #0,2,2: 70:[83, 49] Operation: 68-19=49
Exploring Operation: 83-19=64, Resulting Numbers: [68, 64]
Generated Node #0,2,3: 70:[68, 64] Operation: 83-19=64
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 70:[19, 15], Operations: ['64-45=19', '83-68=15']
Exploring Operation: 19+15=34, Resulting Numbers: [34]
34,70 unequal: No Solution
Exploring Operation: 19*15=285, Resulting Numbers: [285]
285,70 unequal: No Solution
Exploring Operation: 19-15=4, Resulting Numbers: [4]
4,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 70:[68, 64], Operations: ['64-45=19', '83-19=64']
Exploring Operation: 68+64=132, Resulting Numbers: [132]
132,70 unequal: No Solution
Exploring Operation: 68*64=4352, Resulting Numbers: [4352]
4352,70 unequal: No Solution
Exploring Operation: 68-64=4, Resulting Numbers: [4]
4,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 70:[83, 49], Operations: ['64-45=19', '68-19=49']
Exploring Operation: 83*49=4067, Resulting Numbers: [4067]
4067,70 unequal: No Solution
Exploring Operation: 83+49=132, Resulting Numbers: [132]
132,70 unequal: No Solution
Exploring Operation: 83-49=34, Resulting Numbers: [34]
34,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 70:[83, 87], Operations: ['64-45=19', '68+19=87']
Exploring Operation: 83+87=170, Resulting Numbers: [170]
170,70 unequal: No Solution
Exploring Operation: 87-83=4, Resulting Numbers: [4]
4,70 unequal: No Solution
Exploring Operation: 83*87=7221, Resulting Numbers: [7221]
7221,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_4
|
sum_heuristic
|
[
95,
21,
36,
1
] | 37 |
[
"95-21=74",
"36+1=37",
"74-37=37"
] |
Current State: 37:[95, 21, 36, 1], Operations: []
Exploring Operation: 95-21=74, Resulting Numbers: [36, 1, 74]
Generated Node #2: [36, 1, 74] from Operation: 95-21=74
Current State: 37:[36, 1, 74], Operations: ['95-21=74']
Exploring Operation: 36+1=37, Resulting Numbers: [74, 37]
Generated Node #3: [74, 37] from Operation: 36+1=37
Current State: 37:[74, 37], Operations: ['95-21=74', '36+1=37']
Exploring Operation: 74-37=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 |
Current State: 37:[95, 21, 36, 1], Operations: []
Exploring Operation: 95-21=74, Resulting Numbers: [36, 1, 74]
Generated Node #0,0: 37:[36, 1, 74] Operation: 95-21=74
Moving to Node #0,0
Current State: 37:[36, 1, 74], Operations: ['95-21=74']
Exploring Operation: 36+1=37, Resulting Numbers: [74, 37]
Generated Node #0,0,0: 37:[74, 37] Operation: 36+1=37
Moving to Node #0,0,0
Current State: 37:[74, 37], Operations: ['95-21=74', '36+1=37']
Exploring Operation: 74-37=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[95, 21, 36, 1], Operations: []
Exploring Operation: 95-21=74, Resulting Numbers: [36, 1, 74]
Generated Node #0,0: 37:[36, 1, 74] Operation: 95-21=74
Moving to Node #0,0
Current State: 37:[36, 1, 74], Operations: ['95-21=74']
Exploring Operation: 36+1=37, Resulting Numbers: [74, 37]
Generated Node #0,0,0: 37:[74, 37] Operation: 36+1=37
Moving to Node #0,0,0
Current State: 37:[74, 37], Operations: ['95-21=74', '36+1=37']
Exploring Operation: 74-37=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 0.993924 |
hs_1
|
sum_heuristic
|
[
83,
98,
7,
14
] | 91 |
[
"98-83=15",
"7*15=105",
"105-14=91"
] |
Current State: 91:[83, 98, 7, 14], Operations: []
Exploring Operation: 98-83=15, Resulting Numbers: [7, 14, 15]
Generated Node #2: [7, 14, 15] from Operation: 98-83=15
Current State: 91:[7, 14, 15], Operations: ['98-83=15']
Exploring Operation: 7*15=105, Resulting Numbers: [14, 105]
Generated Node #3: [14, 105] from Operation: 7*15=105
Current State: 91:[14, 105], Operations: ['98-83=15', '7*15=105']
Exploring Operation: 105-14=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 |
Current State: 91:[83, 98, 7, 14], Operations: []
Exploring Operation: 98-7=91, Resulting Numbers: [83, 14, 91]
Generated Node #0,0: 91:[83, 14, 91] Operation: 98-7=91
Exploring Operation: 98/7=14, Resulting Numbers: [83, 14, 14]
Generated Node #0,1: 91:[83, 14, 14] Operation: 98/7=14
Exploring Operation: 98/14=7, Resulting Numbers: [83, 7, 7]
Generated Node #0,2: 91:[83, 7, 7] Operation: 98/14=7
Exploring Operation: 98-83=15, Resulting Numbers: [7, 14, 15]
Generated Node #0,3: 91:[7, 14, 15] Operation: 98-83=15
Exploring Operation: 83+7=90, Resulting Numbers: [98, 14, 90]
Generated Node #0,4: 91:[98, 14, 90] Operation: 83+7=90
Start Sub Search at level 1: Moving to Node #0,3
Current State: 91:[7, 14, 15], Operations: ['98-83=15']
Exploring Operation: 15-7=8, Resulting Numbers: [14, 8]
Generated Node #0,3,0: 91:[14, 8] Operation: 15-7=8
Exploring Operation: 14-7=7, Resulting Numbers: [15, 7]
Generated Node #0,3,1: 91:[15, 7] Operation: 14-7=7
Exploring Operation: 15-14=1, Resulting Numbers: [7, 1]
Generated Node #0,3,2: 91:[7, 1] Operation: 15-14=1
Exploring Operation: 7*14=98, Resulting Numbers: [15, 98]
Generated Node #0,3,3: 91:[15, 98] Operation: 7*14=98
Exploring Operation: 14/7=2, Resulting Numbers: [15, 2]
Generated Node #0,3,4: 91:[15, 2] Operation: 14/7=2
Moving to Node #0,3,0
Current State: 91:[14, 8], Operations: ['98-83=15', '15-7=8']
Exploring Operation: 14-8=6, Resulting Numbers: [6]
6,91 unequal: No Solution
Exploring Operation: 14*8=112, Resulting Numbers: [112]
112,91 unequal: No Solution
Exploring Operation: 14+8=22, Resulting Numbers: [22]
22,91 unequal: No Solution
Moving to Node #0,3,1
Current State: 91:[15, 7], Operations: ['98-83=15', '14-7=7']
Exploring Operation: 15*7=105, Resulting Numbers: [105]
105,91 unequal: No Solution
Exploring Operation: 15-7=8, Resulting Numbers: [8]
8,91 unequal: No Solution
Exploring Operation: 15+7=22, Resulting Numbers: [22]
22,91 unequal: No Solution
Moving to Node #0,3,2
Current State: 91:[7, 1], Operations: ['98-83=15', '15-14=1']
Exploring Operation: 7*1=7, Resulting Numbers: [7]
7,91 unequal: No Solution
Exploring Operation: 7/1=7, Resulting Numbers: [7]
7,91 unequal: No Solution
Exploring Operation: 7+1=8, Resulting Numbers: [8]
8,91 unequal: No Solution
Exploring Operation: 7-1=6, Resulting Numbers: [6]
6,91 unequal: No Solution
Moving to Node #0,3,4
Current State: 91:[15, 2], Operations: ['98-83=15', '14/7=2']
Exploring Operation: 15+2=17, Resulting Numbers: [17]
17,91 unequal: No Solution
Exploring Operation: 15*2=30, Resulting Numbers: [30]
30,91 unequal: No Solution
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,91 unequal: No Solution
Moving to Node #0,3,3
Current State: 91:[15, 98], Operations: ['98-83=15', '7*14=98']
Exploring Operation: 98-15=83, Resulting Numbers: [83]
83,91 unequal: No Solution
Exploring Operation: 15+98=113, Resulting Numbers: [113]
113,91 unequal: No Solution
Exploring Operation: 15*98=1470, Resulting Numbers: [1470]
1470,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 91:[83, 7, 7], Operations: ['98/14=7']
Exploring Operation: 7+7=14, Resulting Numbers: [83, 14]
Generated Node #0,2,0: 91:[83, 14] Operation: 7+7=14
Exploring Operation: 83-7=76, Resulting Numbers: [7, 76]
Generated Node #0,2,1: 91:[7, 76] Operation: 83-7=76
Exploring Operation: 83+7=90, Resulting Numbers: [7, 90]
Generated Node #0,2,2: 91:[7, 90] Operation: 83+7=90
Exploring Operation: 7/7=1, Resulting Numbers: [83, 1]
Generated Node #0,2,3: 91:[83, 1] Operation: 7/7=1
Exploring Operation: 83+7=90, Resulting Numbers: [7, 90]
Generated Node #0,2,4: 91:[7, 90] Operation: 83+7=90
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 91:[7, 90], Operations: ['98/14=7', '83+7=90']
Exploring Operation: 7+90=97, Resulting Numbers: [97]
97,91 unequal: No Solution
Exploring Operation: 90-7=83, Resulting Numbers: [83]
83,91 unequal: No Solution
Exploring Operation: 7*90=630, Resulting Numbers: [630]
630,91 unequal: No Solution
No 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: 91:[7, 90], Operations: ['98/14=7', '83+7=90']
Exploring Operation: 7*90=630, Resulting Numbers: [630]
630,91 unequal: No Solution
Exploring Operation: 90-7=83, Resulting Numbers: [83]
83,91 unequal: No Solution
Exploring Operation: 7+90=97, Resulting Numbers: [97]
97,91 unequal: No Solution
No 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: 91:[83, 14], Operations: ['98/14=7', '7+7=14']
Exploring Operation: 83*14=1162, Resulting Numbers: [1162]
1162,91 unequal: No Solution
Exploring Operation: 83-14=69, Resulting Numbers: [69]
69,91 unequal: No Solution
Exploring Operation: 83+14=97, Resulting Numbers: [97]
97,91 unequal: No Solution
No 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: 91:[83, 1], Operations: ['98/14=7', '7/7=1']
Exploring Operation: 83*1=83, Resulting Numbers: [83]
83,91 unequal: No Solution
Exploring Operation: 83/1=83, Resulting Numbers: [83]
83,91 unequal: No Solution
Exploring Operation: 83-1=82, Resulting Numbers: [82]
82,91 unequal: No Solution
Exploring Operation: 83+1=84, Resulting Numbers: [84]
84,91 unequal: No Solution
No 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: 91:[7, 76], Operations: ['98/14=7', '83-7=76']
Exploring Operation: 7*76=532, Resulting Numbers: [532]
532,91 unequal: No Solution
Exploring Operation: 7+76=83, Resulting Numbers: [83]
83,91 unequal: No Solution
Exploring Operation: 76-7=69, Resulting Numbers: [69]
69,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[83, 14, 91], Operations: ['98-7=91']
Exploring Operation: 14+91=105, Resulting Numbers: [83, 105]
Generated Node #0,0,0: 91:[83, 105] Operation: 14+91=105
Exploring Operation: 83+14=97, Resulting Numbers: [91, 97]
Generated Node #0,0,1: 91:[91, 97] Operation: 83+14=97
Exploring Operation: 83-14=69, Resulting Numbers: [91, 69]
Generated Node #0,0,2: 91:[91, 69] Operation: 83-14=69
Exploring Operation: 91-14=77, Resulting Numbers: [83, 77]
Generated Node #0,0,3: 91:[83, 77] Operation: 91-14=77
Exploring Operation: 91-83=8, Resulting Numbers: [14, 8]
Generated Node #0,0,4: 91:[14, 8] Operation: 91-83=8
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 91:[14, 8], Operations: ['98-7=91', '91-83=8']
Exploring Operation: 14*8=112, Resulting Numbers: [112]
112,91 unequal: No Solution
Exploring Operation: 14+8=22, Resulting Numbers: [22]
22,91 unequal: No Solution
Exploring Operation: 14-8=6, Resulting Numbers: [6]
6,91 unequal: No Solution
No 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: 91:[91, 97], Operations: ['98-7=91', '83+14=97']
Exploring Operation: 97-91=6, Resulting Numbers: [6]
6,91 unequal: No Solution
Exploring Operation: 91*97=8827, Resulting Numbers: [8827]
8827,91 unequal: No Solution
Exploring Operation: 91+97=188, Resulting Numbers: [188]
188,91 unequal: No Solution
No 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: 91:[83, 105], Operations: ['98-7=91', '14+91=105']
Exploring Operation: 83+105=188, Resulting Numbers: [188]
188,91 unequal: No Solution
Exploring Operation: 105-83=22, Resulting Numbers: [22]
22,91 unequal: No Solution
Exploring Operation: 83*105=8715, Resulting Numbers: [8715]
8715,91 unequal: No Solution
No 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: 91:[91, 69], Operations: ['98-7=91', '83-14=69']
Exploring Operation: 91*69=6279, Resulting Numbers: [6279]
6279,91 unequal: No Solution
Exploring Operation: 91+69=160, Resulting Numbers: [160]
160,91 unequal: No Solution
Exploring Operation: 91-69=22, Resulting Numbers: [22]
22,91 unequal: No Solution
No 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: 91:[83, 77], Operations: ['98-7=91', '91-14=77']
Exploring Operation: 83+77=160, Resulting Numbers: [160]
160,91 unequal: No Solution
Exploring Operation: 83-77=6, Resulting Numbers: [6]
6,91 unequal: No Solution
Exploring Operation: 83*77=6391, Resulting Numbers: [6391]
6391,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 91:[98, 14, 90], Operations: ['83+7=90']
Exploring Operation: 98+14=112, Resulting Numbers: [90, 112]
Generated Node #0,4,0: 91:[90, 112] Operation: 98+14=112
Exploring Operation: 98-90=8, Resulting Numbers: [14, 8]
Generated Node #0,4,1: 91:[14, 8] Operation: 98-90=8
Exploring Operation: 98/14=7, Resulting Numbers: [90, 7]
Generated Node #0,4,2: 91:[90, 7] Operation: 98/14=7
Exploring Operation: 98-14=84, Resulting Numbers: [90, 84]
Generated Node #0,4,3: 91:[90, 84] Operation: 98-14=84
Exploring Operation: 14+90=104, Resulting Numbers: [98, 104]
Generated Node #0,4,4: 91:[98, 104] Operation: 14+90=104
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 91:[90, 7], Operations: ['83+7=90', '98/14=7']
Exploring Operation: 90*7=630, Resulting Numbers: [630]
630,91 unequal: No Solution
Exploring Operation: 90+7=97, Resulting Numbers: [97]
97,91 unequal: No Solution
Exploring Operation: 90-7=83, Resulting Numbers: [83]
83,91 unequal: No Solution
No 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: 91:[14, 8], Operations: ['83+7=90', '98-90=8']
Exploring Operation: 14+8=22, Resulting Numbers: [22]
22,91 unequal: No Solution
Exploring Operation: 14*8=112, Resulting Numbers: [112]
112,91 unequal: No Solution
Exploring Operation: 14-8=6, Resulting Numbers: [6]
6,91 unequal: No Solution
No 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: 91:[90, 84], Operations: ['83+7=90', '98-14=84']
Exploring Operation: 90*84=7560, Resulting Numbers: [7560]
7560,91 unequal: No Solution
Exploring Operation: 90+84=174, Resulting Numbers: [174]
174,91 unequal: No Solution
Exploring Operation: 90-84=6, Resulting Numbers: [6]
6,91 unequal: No Solution
No 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: 91:[98, 104], Operations: ['83+7=90', '14+90=104']
Exploring Operation: 104-98=6, Resulting Numbers: [6]
6,91 unequal: No Solution
Exploring Operation: 98*104=10192, Resulting Numbers: [10192]
10192,91 unequal: No Solution
Exploring Operation: 98+104=202, Resulting Numbers: [202]
202,91 unequal: No Solution
No 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: 91:[90, 112], Operations: ['83+7=90', '98+14=112']
Exploring Operation: 90+112=202, Resulting Numbers: [202]
202,91 unequal: No Solution
Exploring Operation: 90*112=10080, Resulting Numbers: [10080]
10080,91 unequal: No Solution
Exploring Operation: 112-90=22, Resulting Numbers: [22]
22,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 91:[83, 14, 14], Operations: ['98/7=14']
Exploring Operation: 83+14=97, Resulting Numbers: [14, 97]
Generated Node #0,1,0: 91:[14, 97] Operation: 83+14=97
Exploring Operation: 83+14=97, Resulting Numbers: [14, 97]
Generated Node #0,1,1: 91:[14, 97] Operation: 83+14=97
Exploring Operation: 14-14=0, Resulting Numbers: [83, 0]
Generated Node #0,1,2: 91:[83, 0] Operation: 14-14=0
Exploring Operation: 14/14=1, Resulting Numbers: [83, 1]
Generated Node #0,1,3: 91:[83, 1] Operation: 14/14=1
Exploring Operation: 83-14=69, Resulting Numbers: [14, 69]
Generated Node #0,1,4: 91:[14, 69] Operation: 83-14=69
Moving to Node #0,1,0
Current State: 91:[14, 97], Operations: ['98/7=14', '83+14=97']
Exploring Operation: 14*97=1358, Resulting Numbers: [1358]
1358,91 unequal: No Solution
Exploring Operation: 97-14=83, Resulting Numbers: [83]
83,91 unequal: No Solution
Exploring Operation: 14+97=111, Resulting Numbers: [111]
111,91 unequal: No Solution
Moving to Node #0,1,1
Current State: 91:[14, 97], Operations: ['98/7=14', '83+14=97']
Exploring Operation: 97-14=83, Resulting Numbers: [83]
83,91 unequal: No Solution
Exploring Operation: 14*97=1358, Resulting Numbers: [1358]
1358,91 unequal: No Solution
Exploring Operation: 14+97=111, Resulting Numbers: [111]
111,91 unequal: No Solution
Moving to Node #0,1,3
Current State: 91:[83, 1], Operations: ['98/7=14', '14/14=1']
Exploring Operation: 83-1=82, Resulting Numbers: [82]
82,91 unequal: No Solution
Exploring Operation: 83*1=83, Resulting Numbers: [83]
83,91 unequal: No Solution
Exploring Operation: 83+1=84, Resulting Numbers: [84]
84,91 unequal: No Solution
Exploring Operation: 83/1=83, Resulting Numbers: [83]
83,91 unequal: No Solution
Moving to Node #0,1,2
Current State: 91:[83, 0], Operations: ['98/7=14', '14-14=0']
Exploring Operation: 83+0=83, Resulting Numbers: [83]
83,91 unequal: No Solution
Exploring Operation: 83*0=0, Resulting Numbers: [0]
0,91 unequal: No Solution
Exploring Operation: 83-0=83, Resulting Numbers: [83]
83,91 unequal: No Solution
Moving to Node #0,1,4
Current State: 91:[14, 69], Operations: ['98/7=14', '83-14=69']
Exploring Operation: 14+69=83, Resulting Numbers: [83]
83,91 unequal: No Solution
Exploring Operation: 69-14=55, Resulting Numbers: [55]
55,91 unequal: No Solution
Exploring Operation: 14*69=966, Resulting Numbers: [966]
966,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_5
|
sum_heuristic
|
[
91,
96,
74,
94
] | 25 |
[
"96-91=5",
"94-74=20",
"5+20=25"
] |
Current State: 25:[91, 96, 74, 94], Operations: []
Exploring Operation: 96-91=5, Resulting Numbers: [74, 94, 5]
Generated Node #2: [74, 94, 5] from Operation: 96-91=5
Current State: 25:[74, 94, 5], Operations: ['96-91=5']
Exploring Operation: 94-74=20, Resulting Numbers: [5, 20]
Generated Node #3: [5, 20] from Operation: 94-74=20
Current State: 25:[5, 20], Operations: ['96-91=5', '94-74=20']
Exploring Operation: 5+20=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 |
Current State: 25:[91, 96, 74, 94], Operations: []
Exploring Operation: 96-94=2, Resulting Numbers: [91, 74, 2]
Generated Node #0,0: 25:[91, 74, 2] Operation: 96-94=2
Exploring Operation: 94-74=20, Resulting Numbers: [91, 96, 20]
Generated Node #0,1: 25:[91, 96, 20] Operation: 94-74=20
Exploring Operation: 96-74=22, Resulting Numbers: [91, 94, 22]
Generated Node #0,2: 25:[91, 94, 22] Operation: 96-74=22
Exploring Operation: 96-91=5, Resulting Numbers: [74, 94, 5]
Generated Node #0,3: 25:[74, 94, 5] Operation: 96-91=5
Exploring Operation: 94-91=3, Resulting Numbers: [96, 74, 3]
Generated Node #0,4: 25:[96, 74, 3] Operation: 94-91=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[91, 74, 2], Operations: ['96-94=2']
Exploring Operation: 74/2=37, Resulting Numbers: [91, 37]
Generated Node #0,0,0: 25:[91, 37] Operation: 74/2=37
Exploring Operation: 74-2=72, Resulting Numbers: [91, 72]
Generated Node #0,0,1: 25:[91, 72] Operation: 74-2=72
Exploring Operation: 91-74=17, Resulting Numbers: [2, 17]
Generated Node #0,0,2: 25:[2, 17] Operation: 91-74=17
Exploring Operation: 91+2=93, Resulting Numbers: [74, 93]
Generated Node #0,0,3: 25:[74, 93] Operation: 91+2=93
Exploring Operation: 91-2=89, Resulting Numbers: [74, 89]
Generated Node #0,0,4: 25:[74, 89] Operation: 91-2=89
Moving to Node #0,0,2
Current State: 25:[2, 17], Operations: ['96-94=2', '91-74=17']
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,25 unequal: No Solution
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,25 unequal: No Solution
Exploring Operation: 2+17=19, Resulting Numbers: [19]
19,25 unequal: No Solution
Moving to Node #0,0,0
Current State: 25:[91, 37], Operations: ['96-94=2', '74/2=37']
Exploring Operation: 91+37=128, Resulting Numbers: [128]
128,25 unequal: No Solution
Exploring Operation: 91-37=54, Resulting Numbers: [54]
54,25 unequal: No Solution
Exploring Operation: 91*37=3367, Resulting Numbers: [3367]
3367,25 unequal: No Solution
Moving to Node #0,0,1
Current State: 25:[91, 72], Operations: ['96-94=2', '74-2=72']
Exploring Operation: 91*72=6552, Resulting Numbers: [6552]
6552,25 unequal: No Solution
Exploring Operation: 91-72=19, Resulting Numbers: [19]
19,25 unequal: No Solution
Exploring Operation: 91+72=163, Resulting Numbers: [163]
163,25 unequal: No Solution
Moving to Node #0,0,4
Current State: 25:[74, 89], Operations: ['96-94=2', '91-2=89']
Exploring Operation: 74*89=6586, Resulting Numbers: [6586]
6586,25 unequal: No Solution
Exploring Operation: 89-74=15, Resulting Numbers: [15]
15,25 unequal: No Solution
Exploring Operation: 74+89=163, Resulting Numbers: [163]
163,25 unequal: No Solution
Moving to Node #0,0,3
Current State: 25:[74, 93], Operations: ['96-94=2', '91+2=93']
Exploring Operation: 93-74=19, Resulting Numbers: [19]
19,25 unequal: No Solution
Exploring Operation: 74+93=167, Resulting Numbers: [167]
167,25 unequal: No Solution
Exploring Operation: 74*93=6882, Resulting Numbers: [6882]
6882,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,3
Current State: 25:[74, 94, 5], Operations: ['96-91=5']
Exploring Operation: 94-5=89, Resulting Numbers: [74, 89]
Generated Node #0,3,0: 25:[74, 89] Operation: 94-5=89
Exploring Operation: 94+5=99, Resulting Numbers: [74, 99]
Generated Node #0,3,1: 25:[74, 99] Operation: 94+5=99
Exploring Operation: 74+5=79, Resulting Numbers: [94, 79]
Generated Node #0,3,2: 25:[94, 79] Operation: 74+5=79
Exploring Operation: 74-5=69, Resulting Numbers: [94, 69]
Generated Node #0,3,3: 25:[94, 69] Operation: 74-5=69
Exploring Operation: 94-74=20, Resulting Numbers: [5, 20]
Generated Node #0,3,4: 25:[5, 20] Operation: 94-74=20
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 25:[5, 20], Operations: ['96-91=5', '94-74=20']
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,25 unequal: No Solution
Exploring Operation: 20-5=15, Resulting Numbers: [15]
15,25 unequal: No Solution
Exploring Operation: 5*20=100, Resulting Numbers: [100]
100,25 unequal: No Solution
Exploring Operation: 5+20=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[91, 96, 74, 94], Operations: []
Exploring Operation: 96-91=5, Resulting Numbers: [74, 94, 5]
Generated Node #0,3: 25:[74, 94, 5] Operation: 96-91=5
Moving to Node #0,3
Current State: 25:[74, 94, 5], Operations: ['96-91=5']
Exploring Operation: 94-74=20, Resulting Numbers: [5, 20]
Generated Node #0,3,4: 25:[5, 20] Operation: 94-74=20
Moving to Node #0,3,4
Current State: 25:[5, 20], Operations: ['96-91=5', '94-74=20']
Exploring Operation: 5+20=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.967014 |
hs_5
|
sum_heuristic
|
[
46,
80,
12,
44
] | 43 |
[
"80-44=36",
"36/12=3",
"46-3=43"
] |
Current State: 43:[46, 80, 12, 44], Operations: []
Exploring Operation: 80-44=36, Resulting Numbers: [46, 12, 36]
Generated Node #2: [46, 12, 36] from Operation: 80-44=36
Current State: 43:[46, 12, 36], Operations: ['80-44=36']
Exploring Operation: 36/12=3, Resulting Numbers: [46, 3]
Generated Node #3: [46, 3] from Operation: 36/12=3
Current State: 43:[46, 3], Operations: ['80-44=36', '36/12=3']
Exploring Operation: 46-3=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 |
Current State: 43:[46, 80, 12, 44], Operations: []
Exploring Operation: 80-46=34, Resulting Numbers: [12, 44, 34]
Generated Node #0,0: 43:[12, 44, 34] Operation: 80-46=34
Exploring Operation: 80-12=68, Resulting Numbers: [46, 44, 68]
Generated Node #0,1: 43:[46, 44, 68] Operation: 80-12=68
Start Sub Search at level 1: Moving to Node #0,1
Current State: 43:[46, 44, 68], Operations: ['80-12=68']
Exploring Operation: 68-46=22, Resulting Numbers: [44, 22]
Generated Node #0,1,0: 43:[44, 22] Operation: 68-46=22
Exploring Operation: 68-44=24, Resulting Numbers: [46, 24]
Generated Node #0,1,1: 43:[46, 24] Operation: 68-44=24
Moving to Node #0,1,0
Current State: 43:[44, 22], Operations: ['80-12=68', '68-46=22']
Exploring Operation: 44+22=66, Resulting Numbers: [66]
66,43 unequal: No Solution
Exploring Operation: 44-22=22, Resulting Numbers: [22]
22,43 unequal: No Solution
Moving to Node #0,1,1
Current State: 43:[46, 24], Operations: ['80-12=68', '68-44=24']
Exploring Operation: 46+24=70, Resulting Numbers: [70]
70,43 unequal: No Solution
Exploring Operation: 46-24=22, Resulting Numbers: [22]
22,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[12, 44, 34], Operations: ['80-46=34']
Exploring Operation: 12+34=46, Resulting Numbers: [44, 46]
Generated Node #0,0,0: 43:[44, 46] Operation: 12+34=46
Exploring Operation: 44-12=32, Resulting Numbers: [34, 32]
Generated Node #0,0,1: 43:[34, 32] Operation: 44-12=32
Moving to Node #0,0,0
Current State: 43:[44, 46], Operations: ['80-46=34', '12+34=46']
Exploring Operation: 44+46=90, Resulting Numbers: [90]
90,43 unequal: No Solution
Exploring Operation: 46-44=2, Resulting Numbers: [2]
2,43 unequal: No Solution
Moving to Node #0,0,1
Current State: 43:[34, 32], Operations: ['80-46=34', '44-12=32']
Exploring Operation: 34+32=66, Resulting Numbers: [66]
66,43 unequal: No Solution
Exploring Operation: 34-32=2, Resulting Numbers: [2]
2,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_2
|
sum_heuristic
|
[
4,
53,
74,
78
] | 45 |
[
"53-4=49",
"78-74=4",
"49-4=45"
] |
Current State: 45:[4, 53, 74, 78], Operations: []
Exploring Operation: 53-4=49, Resulting Numbers: [74, 78, 49]
Generated Node #2: [74, 78, 49] from Operation: 53-4=49
Current State: 45:[74, 78, 49], Operations: ['53-4=49']
Exploring Operation: 78-74=4, Resulting Numbers: [49, 4]
Generated Node #3: [49, 4] from Operation: 78-74=4
Current State: 45:[49, 4], Operations: ['53-4=49', '78-74=4']
Exploring Operation: 49-4=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 |
Current State: 45:[4, 53, 74, 78], Operations: []
Exploring Operation: 78-74=4, Resulting Numbers: [4, 53, 4]
Generated Node #0,0: 45:[4, 53, 4] Operation: 78-74=4
Exploring Operation: 74-53=21, Resulting Numbers: [4, 78, 21]
Generated Node #0,1: 45:[4, 78, 21] Operation: 74-53=21
Exploring Operation: 53-4=49, Resulting Numbers: [74, 78, 49]
Generated Node #0,2: 45:[74, 78, 49] Operation: 53-4=49
Exploring Operation: 78-53=25, Resulting Numbers: [4, 74, 25]
Generated Node #0,3: 45:[4, 74, 25] Operation: 78-53=25
Start Sub Search at level 1: Moving to Node #0,0
Current State: 45:[4, 53, 4], Operations: ['78-74=4']
Exploring Operation: 53-4=49, Resulting Numbers: [4, 49]
Generated Node #0,0,0: 45:[4, 49] Operation: 53-4=49
Exploring Operation: 4*4=16, Resulting Numbers: [53, 16]
Generated Node #0,0,1: 45:[53, 16] Operation: 4*4=16
Exploring Operation: 4+4=8, Resulting Numbers: [53, 8]
Generated Node #0,0,2: 45:[53, 8] Operation: 4+4=8
Exploring Operation: 53-4=49, Resulting Numbers: [4, 49]
Generated Node #0,0,3: 45:[4, 49] Operation: 53-4=49
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 45:[4, 49], Operations: ['78-74=4', '53-4=49']
Exploring Operation: 49-4=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[4, 53, 74, 78], Operations: []
Exploring Operation: 78-74=4, Resulting Numbers: [4, 53, 4]
Generated Node #0,0: 45:[4, 53, 4] Operation: 78-74=4
Moving to Node #0,0
Current State: 45:[4, 53, 4], Operations: ['78-74=4']
Exploring Operation: 53-4=49, Resulting Numbers: [4, 49]
Generated Node #0,0,0: 45:[4, 49] Operation: 53-4=49
Moving to Node #0,0,0
Current State: 45:[4, 49], Operations: ['78-74=4', '53-4=49']
Exploring Operation: 49-4=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 |
hs_4
|
sum_heuristic
|
[
47,
31,
80,
55
] | 53 |
[
"47+31=78",
"80-55=25",
"78-25=53"
] |
Current State: 53:[47, 31, 80, 55], Operations: []
Exploring Operation: 47+31=78, Resulting Numbers: [80, 55, 78]
Generated Node #2: [80, 55, 78] from Operation: 47+31=78
Current State: 53:[80, 55, 78], Operations: ['47+31=78']
Exploring Operation: 80-55=25, Resulting Numbers: [78, 25]
Generated Node #3: [78, 25] from Operation: 80-55=25
Current State: 53:[78, 25], Operations: ['47+31=78', '80-55=25']
Exploring Operation: 78-25=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 |
Current State: 53:[47, 31, 80, 55], Operations: []
Exploring Operation: 80-31=49, Resulting Numbers: [47, 55, 49]
Generated Node #0,0: 53:[47, 55, 49] Operation: 80-31=49
Exploring Operation: 80-47=33, Resulting Numbers: [31, 55, 33]
Generated Node #0,1: 53:[31, 55, 33] Operation: 80-47=33
Exploring Operation: 80-55=25, Resulting Numbers: [47, 31, 25]
Generated Node #0,2: 53:[47, 31, 25] Operation: 80-55=25
Exploring Operation: 55-31=24, Resulting Numbers: [47, 80, 24]
Generated Node #0,3: 53:[47, 80, 24] Operation: 55-31=24
Exploring Operation: 47+31=78, Resulting Numbers: [80, 55, 78]
Generated Node #0,4: 53:[80, 55, 78] Operation: 47+31=78
Moving to Node #0,0
Current State: 53:[47, 55, 49], Operations: ['80-31=49']
Exploring Operation: 55-47=8, Resulting Numbers: [49, 8]
Generated Node #0,0,0: 53:[49, 8] Operation: 55-47=8
Exploring Operation: 49-47=2, Resulting Numbers: [55, 2]
Generated Node #0,0,1: 53:[55, 2] Operation: 49-47=2
Exploring Operation: 47+49=96, Resulting Numbers: [55, 96]
Generated Node #0,0,2: 53:[55, 96] Operation: 47+49=96
Exploring Operation: 47+55=102, Resulting Numbers: [49, 102]
Generated Node #0,0,3: 53:[49, 102] Operation: 47+55=102
Exploring Operation: 55-49=6, Resulting Numbers: [47, 6]
Generated Node #0,0,4: 53:[47, 6] Operation: 55-49=6
Moving to Node #0,1
Current State: 53:[31, 55, 33], Operations: ['80-47=33']
Exploring Operation: 55-31=24, Resulting Numbers: [33, 24]
Generated Node #0,1,0: 53:[33, 24] Operation: 55-31=24
Exploring Operation: 31+33=64, Resulting Numbers: [55, 64]
Generated Node #0,1,1: 53:[55, 64] Operation: 31+33=64
Exploring Operation: 55-33=22, Resulting Numbers: [31, 22]
Generated Node #0,1,2: 53:[31, 22] Operation: 55-33=22
Exploring Operation: 31+55=86, Resulting Numbers: [33, 86]
Generated Node #0,1,3: 53:[33, 86] Operation: 31+55=86
Exploring Operation: 33-31=2, Resulting Numbers: [55, 2]
Generated Node #0,1,4: 53:[55, 2] Operation: 33-31=2
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 53:[55, 64], Operations: ['80-47=33', '31+33=64']
Exploring Operation: 55+64=119, Resulting Numbers: [119]
119,53 unequal: No Solution
Exploring Operation: 64-55=9, Resulting Numbers: [9]
9,53 unequal: No Solution
Exploring Operation: 55*64=3520, Resulting Numbers: [3520]
3520,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 53:[33, 24], Operations: ['80-47=33', '55-31=24']
Exploring Operation: 33+24=57, Resulting Numbers: [57]
57,53 unequal: No Solution
Exploring Operation: 33*24=792, Resulting Numbers: [792]
792,53 unequal: No Solution
Exploring Operation: 33-24=9, Resulting Numbers: [9]
9,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 53:[31, 22], Operations: ['80-47=33', '55-33=22']
Exploring Operation: 31-22=9, Resulting Numbers: [9]
9,53 unequal: No Solution
Exploring Operation: 31*22=682, Resulting Numbers: [682]
682,53 unequal: No Solution
Exploring Operation: 31+22=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[47, 31, 80, 55], Operations: []
Exploring Operation: 80-47=33, Resulting Numbers: [31, 55, 33]
Generated Node #0,1: 53:[31, 55, 33] Operation: 80-47=33
Moving to Node #0,1
Current State: 53:[31, 55, 33], Operations: ['80-47=33']
Exploring Operation: 55-33=22, Resulting Numbers: [31, 22]
Generated Node #0,1,2: 53:[31, 22] Operation: 55-33=22
Moving to Node #0,1,2
Current State: 53:[31, 22], Operations: ['80-47=33', '55-33=22']
Exploring Operation: 31+22=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 1
| 0.975694 |
hs_5
|
sum_heuristic
|
[
10,
50,
67,
20
] | 52 |
[
"50/10=5",
"67-20=47",
"5+47=52"
] |
Current State: 52:[10, 50, 67, 20], Operations: []
Exploring Operation: 50/10=5, Resulting Numbers: [67, 20, 5]
Generated Node #2: [67, 20, 5] from Operation: 50/10=5
Current State: 52:[67, 20, 5], Operations: ['50/10=5']
Exploring Operation: 67-20=47, Resulting Numbers: [5, 47]
Generated Node #3: [5, 47] from Operation: 67-20=47
Current State: 52:[5, 47], Operations: ['50/10=5', '67-20=47']
Exploring Operation: 5+47=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 |
Current State: 52:[10, 50, 67, 20], Operations: []
Exploring Operation: 67-20=47, Resulting Numbers: [10, 50, 47]
Generated Node #0,0: 52:[10, 50, 47] Operation: 67-20=47
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[10, 50, 47], Operations: ['67-20=47']
Exploring Operation: 50-47=3, Resulting Numbers: [10, 3]
Generated Node #0,0,0: 52:[10, 3] Operation: 50-47=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 52:[10, 3], Operations: ['67-20=47', '50-47=3']
Exploring Operation: 10+3=13, Resulting Numbers: [13]
13,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
No solution found.
| 0 |
hs_1
|
sum_heuristic
|
[
3,
37,
87,
53
] | 35 |
[
"3*53=159",
"37+87=124",
"159-124=35"
] |
Current State: 35:[3, 37, 87, 53], Operations: []
Exploring Operation: 3*53=159, Resulting Numbers: [37, 87, 159]
Generated Node #2: [37, 87, 159] from Operation: 3*53=159
Current State: 35:[37, 87, 159], Operations: ['3*53=159']
Exploring Operation: 37+87=124, Resulting Numbers: [159, 124]
Generated Node #3: [159, 124] from Operation: 37+87=124
Current State: 35:[159, 124], Operations: ['3*53=159', '37+87=124']
Exploring Operation: 159-124=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 |
Current State: 35:[3, 37, 87, 53], Operations: []
Exploring Operation: 87/3=29, Resulting Numbers: [37, 53, 29]
Generated Node #0,0: 35:[37, 53, 29] Operation: 87/3=29
Exploring Operation: 87-53=34, Resulting Numbers: [3, 37, 34]
Generated Node #0,1: 35:[3, 37, 34] Operation: 87-53=34
Start Sub Search at level 1: Moving to Node #0,1
Current State: 35:[3, 37, 34], Operations: ['87-53=34']
Exploring Operation: 37-3=34, Resulting Numbers: [34, 34]
Generated Node #0,1,0: 35:[34, 34] Operation: 37-3=34
Exploring Operation: 3+34=37, Resulting Numbers: [37, 37]
Generated Node #0,1,1: 35:[37, 37] Operation: 3+34=37
Moving to Node #0,1,0
Current State: 35:[34, 34], Operations: ['87-53=34', '37-3=34']
Exploring Operation: 34/34=1, Resulting Numbers: [1]
1,35 unequal: No Solution
Exploring Operation: 34-34=0, Resulting Numbers: [0]
0,35 unequal: No Solution
Moving to Node #0,1,1
Current State: 35:[37, 37], Operations: ['87-53=34', '3+34=37']
Exploring Operation: 37-37=0, Resulting Numbers: [0]
0,35 unequal: No Solution
Exploring Operation: 37/37=1, Resulting Numbers: [1]
1,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[37, 53, 29], Operations: ['87/3=29']
Exploring Operation: 53-29=24, Resulting Numbers: [37, 24]
Generated Node #0,0,0: 35:[37, 24] Operation: 53-29=24
Exploring Operation: 53-37=16, Resulting Numbers: [29, 16]
Generated Node #0,0,1: 35:[29, 16] Operation: 53-37=16
Moving to Node #0,0,0
Current State: 35:[37, 24], Operations: ['87/3=29', '53-29=24']
Exploring Operation: 37-24=13, Resulting Numbers: [13]
13,35 unequal: No Solution
Exploring Operation: 37+24=61, Resulting Numbers: [61]
61,35 unequal: No Solution
Moving to Node #0,0,1
Current State: 35:[29, 16], Operations: ['87/3=29', '53-37=16']
Exploring Operation: 29+16=45, Resulting Numbers: [45]
45,35 unequal: No Solution
Exploring Operation: 29-16=13, Resulting Numbers: [13]
13,35 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
|
[
7,
9,
77,
94
] | 26 |
[
"77+94=171",
"171/9=19",
"7+19=26"
] |
Current State: 26:[7, 9, 77, 94], Operations: []
Exploring Operation: 77+94=171, Resulting Numbers: [7, 9, 171]
Generated Node #2: [7, 9, 171] from Operation: 77+94=171
Current State: 26:[7, 9, 171], Operations: ['77+94=171']
Exploring Operation: 171/9=19, Resulting Numbers: [7, 19]
Generated Node #3: [7, 19] from Operation: 171/9=19
Current State: 26:[7, 19], Operations: ['77+94=171', '171/9=19']
Exploring Operation: 7+19=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 |
Current State: 26:[7, 9, 77, 94], Operations: []
Exploring Operation: 94-9=85, Resulting Numbers: [7, 77, 85]
Generated Node #0,0: 26:[7, 77, 85] Operation: 94-9=85
Exploring Operation: 94-77=17, Resulting Numbers: [7, 9, 17]
Generated Node #0,1: 26:[7, 9, 17] Operation: 94-77=17
Exploring Operation: 77-9=68, Resulting Numbers: [7, 94, 68]
Generated Node #0,2: 26:[7, 94, 68] Operation: 77-9=68
Exploring Operation: 77/7=11, Resulting Numbers: [9, 94, 11]
Generated Node #0,3: 26:[9, 94, 11] Operation: 77/7=11
Exploring Operation: 77-7=70, Resulting Numbers: [9, 94, 70]
Generated Node #0,4: 26:[9, 94, 70] Operation: 77-7=70
Moving to Node #0,1
Current State: 26:[7, 9, 17], Operations: ['94-77=17']
Exploring Operation: 7+17=24, Resulting Numbers: [9, 24]
Generated Node #0,1,0: 26:[9, 24] Operation: 7+17=24
Exploring Operation: 17-7=10, Resulting Numbers: [9, 10]
Generated Node #0,1,1: 26:[9, 10] Operation: 17-7=10
Exploring Operation: 7+9=16, Resulting Numbers: [17, 16]
Generated Node #0,1,2: 26:[17, 16] Operation: 7+9=16
Exploring Operation: 9-7=2, Resulting Numbers: [17, 2]
Generated Node #0,1,3: 26:[17, 2] Operation: 9-7=2
Exploring Operation: 9+17=26, Resulting Numbers: [7, 26]
Generated Node #0,1,4: 26:[7, 26] Operation: 9+17=26
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 26:[17, 2], Operations: ['94-77=17', '9-7=2']
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,26 unequal: No Solution
Exploring Operation: 17*2=34, Resulting Numbers: [34]
34,26 unequal: No Solution
Exploring Operation: 17+2=19, Resulting Numbers: [19]
19,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,4
Current State: 26:[7, 26], Operations: ['94-77=17', '9+17=26']
Exploring Operation: 7*26=182, Resulting Numbers: [182]
182,26 unequal: No Solution
Exploring Operation: 7+26=33, Resulting Numbers: [33]
33,26 unequal: No Solution
Exploring Operation: 26-7=19, Resulting Numbers: [19]
19,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,0
Current State: 26:[9, 24], Operations: ['94-77=17', '7+17=24']
Exploring Operation: 9+24=33, Resulting Numbers: [33]
33,26 unequal: No Solution
Exploring Operation: 9*24=216, Resulting Numbers: [216]
216,26 unequal: No Solution
Exploring Operation: 24-9=15, Resulting Numbers: [15]
15,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:[9, 10], Operations: ['94-77=17', '17-7=10']
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,26 unequal: No Solution
Exploring Operation: 9*10=90, Resulting Numbers: [90]
90,26 unequal: No Solution
Exploring Operation: 9+10=19, Resulting Numbers: [19]
19,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,2
Current State: 26:[17, 16], Operations: ['94-77=17', '7+9=16']
Exploring Operation: 17-16=1, Resulting Numbers: [1]
1,26 unequal: No Solution
Exploring Operation: 17+16=33, Resulting Numbers: [33]
33,26 unequal: No Solution
Exploring Operation: 17*16=272, Resulting Numbers: [272]
272,26 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: 26:[9, 94, 11], Operations: ['77/7=11']
Exploring Operation: 11-9=2, Resulting Numbers: [94, 2]
Generated Node #0,3,0: 26:[94, 2] Operation: 11-9=2
Exploring Operation: 9+11=20, Resulting Numbers: [94, 20]
Generated Node #0,3,1: 26:[94, 20] Operation: 9+11=20
Exploring Operation: 94-11=83, Resulting Numbers: [9, 83]
Generated Node #0,3,2: 26:[9, 83] Operation: 94-11=83
Exploring Operation: 9+94=103, Resulting Numbers: [11, 103]
Generated Node #0,3,3: 26:[11, 103] Operation: 9+94=103
Exploring Operation: 94-9=85, Resulting Numbers: [11, 85]
Generated Node #0,3,4: 26:[11, 85] Operation: 94-9=85
Moving to Node #0,0
Current State: 26:[7, 77, 85], Operations: ['94-9=85']
Exploring Operation: 85-77=8, Resulting Numbers: [7, 8]
Generated Node #0,0,0: 26:[7, 8] Operation: 85-77=8
Exploring Operation: 77/7=11, Resulting Numbers: [85, 11]
Generated Node #0,0,1: 26:[85, 11] Operation: 77/7=11
Exploring Operation: 85-7=78, Resulting Numbers: [77, 78]
Generated Node #0,0,2: 26:[77, 78] Operation: 85-7=78
Exploring Operation: 7+77=84, Resulting Numbers: [85, 84]
Generated Node #0,0,3: 26:[85, 84] Operation: 7+77=84
Exploring Operation: 77-7=70, Resulting Numbers: [85, 70]
Generated Node #0,0,4: 26:[85, 70] Operation: 77-7=70
Moving to Node #0,2
Current State: 26:[7, 94, 68], Operations: ['77-9=68']
Exploring Operation: 7+94=101, Resulting Numbers: [68, 101]
Generated Node #0,2,0: 26:[68, 101] Operation: 7+94=101
Exploring Operation: 68-7=61, Resulting Numbers: [94, 61]
Generated Node #0,2,1: 26:[94, 61] Operation: 68-7=61
Exploring Operation: 94-7=87, Resulting Numbers: [68, 87]
Generated Node #0,2,2: 26:[68, 87] Operation: 94-7=87
Exploring Operation: 94-68=26, Resulting Numbers: [7, 26]
Generated Node #0,2,3: 26:[7, 26] Operation: 94-68=26
Exploring Operation: 7+68=75, Resulting Numbers: [94, 75]
Generated Node #0,2,4: 26:[94, 75] Operation: 7+68=75
Moving to Node #0,4
Current State: 26:[9, 94, 70], Operations: ['77-7=70']
Exploring Operation: 94-9=85, Resulting Numbers: [70, 85]
Generated Node #0,4,0: 26:[70, 85] Operation: 94-9=85
Exploring Operation: 94-70=24, Resulting Numbers: [9, 24]
Generated Node #0,4,1: 26:[9, 24] Operation: 94-70=24
Exploring Operation: 9+70=79, Resulting Numbers: [94, 79]
Generated Node #0,4,2: 26:[94, 79] Operation: 9+70=79
Exploring Operation: 9+94=103, Resulting Numbers: [70, 103]
Generated Node #0,4,3: 26:[70, 103] Operation: 9+94=103
Exploring Operation: 70-9=61, Resulting Numbers: [94, 61]
Generated Node #0,4,4: 26:[94, 61] Operation: 70-9=61
Moving to Node #0,2,3
Current State: 26:[7, 26], Operations: ['77-9=68', '94-68=26']
Exploring Operation: 26-7=19, Resulting Numbers: [19]
19,26 unequal: No Solution
Exploring Operation: 7+26=33, Resulting Numbers: [33]
33,26 unequal: No Solution
Exploring Operation: 7*26=182, Resulting Numbers: [182]
182,26 unequal: No Solution
Moving to Node #0,4,1
Current State: 26:[9, 24], Operations: ['77-7=70', '94-70=24']
Exploring Operation: 9*24=216, Resulting Numbers: [216]
216,26 unequal: No Solution
Exploring Operation: 24-9=15, Resulting Numbers: [15]
15,26 unequal: No Solution
Exploring Operation: 9+24=33, Resulting Numbers: [33]
33,26 unequal: No Solution
Moving to Node #0,0,0
Current State: 26:[7, 8], Operations: ['94-9=85', '85-77=8']
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,26 unequal: No Solution
Exploring Operation: 7*8=56, Resulting Numbers: [56]
56,26 unequal: No Solution
Exploring Operation: 7+8=15, Resulting Numbers: [15]
15,26 unequal: No Solution
Moving to Node #0,3,2
Current State: 26:[9, 83], Operations: ['77/7=11', '94-11=83']
Exploring Operation: 83-9=74, Resulting Numbers: [74]
74,26 unequal: No Solution
Exploring Operation: 9*83=747, Resulting Numbers: [747]
747,26 unequal: No Solution
Exploring Operation: 9+83=92, Resulting Numbers: [92]
92,26 unequal: No Solution
Moving to Node #0,0,1
Current State: 26:[85, 11], Operations: ['94-9=85', '77/7=11']
Exploring Operation: 85-11=74, Resulting Numbers: [74]
74,26 unequal: No Solution
Exploring Operation: 85+11=96, Resulting Numbers: [96]
96,26 unequal: No Solution
Exploring Operation: 85*11=935, Resulting Numbers: [935]
935,26 unequal: No Solution
Moving to Node #0,3,4
Current State: 26:[11, 85], Operations: ['77/7=11', '94-9=85']
Exploring Operation: 11*85=935, Resulting Numbers: [935]
935,26 unequal: No Solution
Exploring Operation: 11+85=96, Resulting Numbers: [96]
96,26 unequal: No Solution
Exploring Operation: 85-11=74, Resulting Numbers: [74]
74,26 unequal: No Solution
Moving to Node #0,3,0
Current State: 26:[94, 2], Operations: ['77/7=11', '11-9=2']
Exploring Operation: 94+2=96, Resulting Numbers: [96]
96,26 unequal: No Solution
Exploring Operation: 94/2=47, Resulting Numbers: [47]
47,26 unequal: No Solution
Exploring Operation: 94-2=92, Resulting Numbers: [92]
92,26 unequal: No Solution
Exploring Operation: 94*2=188, Resulting Numbers: [188]
188,26 unequal: No Solution
Moving to Node #0,3,1
Current State: 26:[94, 20], Operations: ['77/7=11', '9+11=20']
Exploring Operation: 94+20=114, Resulting Numbers: [114]
114,26 unequal: No Solution
Exploring Operation: 94-20=74, Resulting Numbers: [74]
74,26 unequal: No Solution
Exploring Operation: 94*20=1880, Resulting Numbers: [1880]
1880,26 unequal: No Solution
Moving to Node #0,3,3
Current State: 26:[11, 103], Operations: ['77/7=11', '9+94=103']
Exploring Operation: 103-11=92, Resulting Numbers: [92]
92,26 unequal: No Solution
Exploring Operation: 11*103=1133, Resulting Numbers: [1133]
1133,26 unequal: No Solution
Exploring Operation: 11+103=114, Resulting Numbers: [114]
114,26 unequal: No Solution
Moving to Node #0,4,4
Current State: 26:[94, 61], Operations: ['77-7=70', '70-9=61']
Exploring Operation: 94*61=5734, Resulting Numbers: [5734]
5734,26 unequal: No Solution
Exploring Operation: 94-61=33, Resulting Numbers: [33]
33,26 unequal: No Solution
Exploring Operation: 94+61=155, Resulting Numbers: [155]
155,26 unequal: No Solution
Moving to Node #0,2,2
Current State: 26:[68, 87], Operations: ['77-9=68', '94-7=87']
Exploring Operation: 68+87=155, Resulting Numbers: [155]
155,26 unequal: No Solution
Exploring Operation: 87-68=19, Resulting Numbers: [19]
19,26 unequal: No Solution
Exploring Operation: 68*87=5916, Resulting Numbers: [5916]
5916,26 unequal: No Solution
Moving to Node #0,2,1
Current State: 26:[94, 61], Operations: ['77-9=68', '68-7=61']
Exploring Operation: 94-61=33, Resulting Numbers: [33]
33,26 unequal: No Solution
Exploring Operation: 94*61=5734, Resulting Numbers: [5734]
5734,26 unequal: No Solution
Exploring Operation: 94+61=155, Resulting Numbers: [155]
155,26 unequal: No Solution
Moving to Node #0,0,4
Current State: 26:[85, 70], Operations: ['94-9=85', '77-7=70']
Exploring Operation: 85*70=5950, Resulting Numbers: [5950]
5950,26 unequal: No Solution
Exploring Operation: 85-70=15, Resulting Numbers: [15]
15,26 unequal: No Solution
Exploring Operation: 85+70=155, Resulting Numbers: [155]
155,26 unequal: No Solution
Moving to Node #0,0,2
Current State: 26:[77, 78], Operations: ['94-9=85', '85-7=78']
Exploring Operation: 78-77=1, Resulting Numbers: [1]
1,26 unequal: No Solution
Exploring Operation: 77*78=6006, Resulting Numbers: [6006]
6006,26 unequal: No Solution
Exploring Operation: 77+78=155, Resulting Numbers: [155]
155,26 unequal: No Solution
Moving to Node #0,4,0
Current State: 26:[70, 85], Operations: ['77-7=70', '94-9=85']
Exploring Operation: 70*85=5950, Resulting Numbers: [5950]
5950,26 unequal: No Solution
Exploring Operation: 85-70=15, Resulting Numbers: [15]
15,26 unequal: No Solution
Exploring Operation: 70+85=155, Resulting Numbers: [155]
155,26 unequal: No Solution
Moving to Node #0,2,0
Current State: 26:[68, 101], Operations: ['77-9=68', '7+94=101']
Exploring Operation: 101-68=33, Resulting Numbers: [33]
33,26 unequal: No Solution
Exploring Operation: 68*101=6868, Resulting Numbers: [6868]
6868,26 unequal: No Solution
Exploring Operation: 68+101=169, Resulting Numbers: [169]
169,26 unequal: No Solution
Moving to Node #0,0,3
Current State: 26:[85, 84], Operations: ['94-9=85', '7+77=84']
Exploring Operation: 85*84=7140, Resulting Numbers: [7140]
7140,26 unequal: No Solution
Exploring Operation: 85-84=1, Resulting Numbers: [1]
1,26 unequal: No Solution
Exploring Operation: 85+84=169, Resulting Numbers: [169]
169,26 unequal: No Solution
Moving to Node #0,2,4
Current State: 26:[94, 75], Operations: ['77-9=68', '7+68=75']
Exploring Operation: 94+75=169, Resulting Numbers: [169]
169,26 unequal: No Solution
Exploring Operation: 94-75=19, Resulting Numbers: [19]
19,26 unequal: No Solution
Exploring Operation: 94*75=7050, Resulting Numbers: [7050]
7050,26 unequal: No Solution
Moving to Node #0,4,3
Current State: 26:[70, 103], Operations: ['77-7=70', '9+94=103']
Exploring Operation: 103-70=33, Resulting Numbers: [33]
33,26 unequal: No Solution
Exploring Operation: 70*103=7210, Resulting Numbers: [7210]
7210,26 unequal: No Solution
Exploring Operation: 70+103=173, Resulting Numbers: [173]
173,26 unequal: No Solution
Moving to Node #0,4,2
Current State: 26:[94, 79], Operations: ['77-7=70', '9+70=79']
Exploring Operation: 94*79=7426, Resulting Numbers: [7426]
7426,26 unequal: No Solution
Exploring Operation: 94-79=15, Resulting Numbers: [15]
15,26 unequal: No Solution
Exploring Operation: 94+79=173, Resulting Numbers: [173]
173,26 unequal: No Solution
No solution found.
| 0 |
hs_5
|
mult_heuristic
|
[
80,
2,
74,
77
] | 68 |
[
"80-77=3",
"2*3=6",
"74-6=68"
] |
Current State: 68:[80, 2, 74, 77], Operations: []
Exploring Operation: 80-77=3, Resulting Numbers: [2, 74, 3]
Generated Node #2: [2, 74, 3] from Operation: 80-77=3
Current State: 68:[2, 74, 3], Operations: ['80-77=3']
Exploring Operation: 2*3=6, Resulting Numbers: [74, 6]
Generated Node #3: [74, 6] from Operation: 2*3=6
Current State: 68:[74, 6], Operations: ['80-77=3', '2*3=6']
Exploring Operation: 74-6=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 |
Current State: 68:[80, 2, 74, 77], Operations: []
Exploring Operation: 80-77=3, Resulting Numbers: [2, 74, 3]
Generated Node #0,0: 68:[2, 74, 3] Operation: 80-77=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[2, 74, 3], Operations: ['80-77=3']
Exploring Operation: 74-3=71, Resulting Numbers: [2, 71]
Generated Node #0,0,0: 68:[2, 71] Operation: 74-3=71
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 68:[2, 71], Operations: ['80-77=3', '74-3=71']
Exploring Operation: 71-2=69, Resulting Numbers: [69]
69,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
mult_heuristic
|
[
2,
94,
74,
7
] | 70 |
[
"94-74=20",
"20/2=10",
"7*10=70"
] |
Current State: 70:[2, 94, 74, 7], Operations: []
Exploring Operation: 94-74=20, Resulting Numbers: [2, 7, 20]
Generated Node #2: [2, 7, 20] from Operation: 94-74=20
Current State: 70:[2, 7, 20], Operations: ['94-74=20']
Exploring Operation: 20/2=10, Resulting Numbers: [7, 10]
Generated Node #3: [7, 10] from Operation: 20/2=10
Current State: 70:[7, 10], Operations: ['94-74=20', '20/2=10']
Exploring Operation: 7*10=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 |
Current State: 70:[2, 94, 74, 7], Operations: []
Exploring Operation: 94/2=47, Resulting Numbers: [74, 7, 47]
Generated Node #0,0: 70:[74, 7, 47] Operation: 94/2=47
Exploring Operation: 94-74=20, Resulting Numbers: [2, 7, 20]
Generated Node #0,1: 70:[2, 7, 20] Operation: 94-74=20
Moving to Node #0,1
Current State: 70:[2, 7, 20], Operations: ['94-74=20']
Exploring Operation: 20-7=13, Resulting Numbers: [2, 13]
Generated Node #0,1,0: 70:[2, 13] Operation: 20-7=13
Exploring Operation: 20/2=10, Resulting Numbers: [7, 10]
Generated Node #0,1,1: 70:[7, 10] Operation: 20/2=10
Moving to Node #0,0
Current State: 70:[74, 7, 47], Operations: ['94/2=47']
Exploring Operation: 74-47=27, Resulting Numbers: [7, 27]
Generated Node #0,0,0: 70:[7, 27] Operation: 74-47=27
Exploring Operation: 47-7=40, Resulting Numbers: [74, 40]
Generated Node #0,0,1: 70:[74, 40] Operation: 47-7=40
Moving to Node #0,1,1
Current State: 70:[7, 10], Operations: ['94-74=20', '20/2=10']
Exploring Operation: 10-7=3, Resulting Numbers: [3]
3,70 unequal: No Solution
Exploring Operation: 7*10=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[2, 94, 74, 7], Operations: []
Exploring Operation: 94-74=20, Resulting Numbers: [2, 7, 20]
Generated Node #0,1: 70:[2, 7, 20] Operation: 94-74=20
Moving to Node #0,1
Current State: 70:[2, 7, 20], Operations: ['94-74=20']
Exploring Operation: 20/2=10, Resulting Numbers: [7, 10]
Generated Node #0,1,1: 70:[7, 10] Operation: 20/2=10
Moving to Node #0,1,1
Current State: 70:[7, 10], Operations: ['94-74=20', '20/2=10']
Exploring Operation: 7*10=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 0.989583 |
hs_2
|
mult_heuristic
|
[
33,
2,
39,
78
] | 84 |
[
"33+39=72",
"2*78=156",
"156-72=84"
] |
Current State: 84:[33, 2, 39, 78], Operations: []
Exploring Operation: 33+39=72, Resulting Numbers: [2, 78, 72]
Generated Node #2: [2, 78, 72] from Operation: 33+39=72
Current State: 84:[2, 78, 72], Operations: ['33+39=72']
Exploring Operation: 2*78=156, Resulting Numbers: [72, 156]
Generated Node #3: [72, 156] from Operation: 2*78=156
Current State: 84:[72, 156], Operations: ['33+39=72', '2*78=156']
Exploring Operation: 156-72=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 |
Current State: 84:[33, 2, 39, 78], Operations: []
Exploring Operation: 78/39=2, Resulting Numbers: [33, 2, 2]
Generated Node #0,0: 84:[33, 2, 2] Operation: 78/39=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[33, 2, 2], Operations: ['78/39=2']
Exploring Operation: 33-2=31, Resulting Numbers: [2, 31]
Generated Node #0,0,0: 84:[2, 31] Operation: 33-2=31
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 84:[2, 31], Operations: ['78/39=2', '33-2=31']
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
mult_heuristic
|
[
22,
90,
28,
67
] | 29 |
[
"90-22=68",
"67-28=39",
"68-39=29"
] |
Current State: 29:[22, 90, 28, 67], Operations: []
Exploring Operation: 90-22=68, Resulting Numbers: [28, 67, 68]
Generated Node #2: [28, 67, 68] from Operation: 90-22=68
Current State: 29:[28, 67, 68], Operations: ['90-22=68']
Exploring Operation: 67-28=39, Resulting Numbers: [68, 39]
Generated Node #3: [68, 39] from Operation: 67-28=39
Current State: 29:[68, 39], Operations: ['90-22=68', '67-28=39']
Exploring Operation: 68-39=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 |
Current State: 29:[22, 90, 28, 67], Operations: []
Exploring Operation: 67-22=45, Resulting Numbers: [90, 28, 45]
Generated Node #0,0: 29:[90, 28, 45] Operation: 67-22=45
Exploring Operation: 90-22=68, Resulting Numbers: [28, 67, 68]
Generated Node #0,1: 29:[28, 67, 68] Operation: 90-22=68
Exploring Operation: 90-67=23, Resulting Numbers: [22, 28, 23]
Generated Node #0,2: 29:[22, 28, 23] Operation: 90-67=23
Start Sub Search at level 1: Moving to Node #0,2
Current State: 29:[22, 28, 23], Operations: ['90-67=23']
Exploring Operation: 28-22=6, Resulting Numbers: [23, 6]
Generated Node #0,2,0: 29:[23, 6] Operation: 28-22=6
Exploring Operation: 22+28=50, Resulting Numbers: [23, 50]
Generated Node #0,2,1: 29:[23, 50] Operation: 22+28=50
Exploring Operation: 22+23=45, Resulting Numbers: [28, 45]
Generated Node #0,2,2: 29:[28, 45] Operation: 22+23=45
Moving to Node #0,2,2
Current State: 29:[28, 45], Operations: ['90-67=23', '22+23=45']
Exploring Operation: 28*45=1260, Resulting Numbers: [1260]
1260,29 unequal: No Solution
Exploring Operation: 28+45=73, Resulting Numbers: [73]
73,29 unequal: No Solution
Exploring Operation: 45-28=17, Resulting Numbers: [17]
17,29 unequal: No Solution
Moving to Node #0,2,1
Current State: 29:[23, 50], Operations: ['90-67=23', '22+28=50']
Exploring Operation: 50-23=27, Resulting Numbers: [27]
27,29 unequal: No Solution
Exploring Operation: 23+50=73, Resulting Numbers: [73]
73,29 unequal: No Solution
Exploring Operation: 23*50=1150, Resulting Numbers: [1150]
1150,29 unequal: No Solution
Moving to Node #0,2,0
Current State: 29:[23, 6], Operations: ['90-67=23', '28-22=6']
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,29 unequal: No Solution
Exploring Operation: 23*6=138, Resulting Numbers: [138]
138,29 unequal: No Solution
Exploring Operation: 23+6=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[22, 90, 28, 67], Operations: []
Exploring Operation: 90-67=23, Resulting Numbers: [22, 28, 23]
Generated Node #0,2: 29:[22, 28, 23] Operation: 90-67=23
Moving to Node #0,2
Current State: 29:[22, 28, 23], Operations: ['90-67=23']
Exploring Operation: 28-22=6, Resulting Numbers: [23, 6]
Generated Node #0,2,0: 29:[23, 6] Operation: 28-22=6
Moving to Node #0,2,0
Current State: 29:[23, 6], Operations: ['90-67=23', '28-22=6']
Exploring Operation: 23+6=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 |
hs_3
|
sum_heuristic
|
[
10,
50,
6,
52
] | 63 |
[
"50/10=5",
"6+52=58",
"5+58=63"
] |
Current State: 63:[10, 50, 6, 52], Operations: []
Exploring Operation: 50/10=5, Resulting Numbers: [6, 52, 5]
Generated Node #2: [6, 52, 5] from Operation: 50/10=5
Current State: 63:[6, 52, 5], Operations: ['50/10=5']
Exploring Operation: 6+52=58, Resulting Numbers: [5, 58]
Generated Node #3: [5, 58] from Operation: 6+52=58
Current State: 63:[5, 58], Operations: ['50/10=5', '6+52=58']
Exploring Operation: 5+58=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 |
Current State: 63:[10, 50, 6, 52], Operations: []
Exploring Operation: 52-50=2, Resulting Numbers: [10, 6, 2]
Generated Node #0,0: 63:[10, 6, 2] Operation: 52-50=2
Moving to Node #0,0
Current State: 63:[10, 6, 2], Operations: ['52-50=2']
Exploring Operation: 6/2=3, Resulting Numbers: [10, 3]
Generated Node #0,0,0: 63:[10, 3] Operation: 6/2=3
Moving to Node #0,0,0
Current State: 63:[10, 3], Operations: ['52-50=2', '6/2=3']
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,63 unequal: No Solution
No solution found.
| 0 |
hs_1
|
sum_heuristic
|
[
4,
7,
35,
9
] | 23 |
[
"7-4=3",
"35-9=26",
"26-3=23"
] |
Current State: 23:[4, 7, 35, 9], Operations: []
Exploring Operation: 7-4=3, Resulting Numbers: [35, 9, 3]
Generated Node #2: [35, 9, 3] from Operation: 7-4=3
Current State: 23:[35, 9, 3], Operations: ['7-4=3']
Exploring Operation: 35-9=26, Resulting Numbers: [3, 26]
Generated Node #3: [3, 26] from Operation: 35-9=26
Current State: 23:[3, 26], Operations: ['7-4=3', '35-9=26']
Exploring Operation: 26-3=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 |
Current State: 23:[4, 7, 35, 9], Operations: []
Exploring Operation: 35-4=31, Resulting Numbers: [7, 9, 31]
Generated Node #0,0: 23:[7, 9, 31] Operation: 35-4=31
Exploring Operation: 4+7=11, Resulting Numbers: [35, 9, 11]
Generated Node #0,1: 23:[35, 9, 11] Operation: 4+7=11
Exploring Operation: 4*7=28, Resulting Numbers: [35, 9, 28]
Generated Node #0,2: 23:[35, 9, 28] Operation: 4*7=28
Start Sub Search at level 1: Moving to Node #0,2
Current State: 23:[35, 9, 28], Operations: ['4*7=28']
Exploring Operation: 35+9=44, Resulting Numbers: [28, 44]
Generated Node #0,2,0: 23:[28, 44] Operation: 35+9=44
Exploring Operation: 28-9=19, Resulting Numbers: [35, 19]
Generated Node #0,2,1: 23:[35, 19] Operation: 28-9=19
Exploring Operation: 35-9=26, Resulting Numbers: [28, 26]
Generated Node #0,2,2: 23:[28, 26] Operation: 35-9=26
Moving to Node #0,2,2
Current State: 23:[28, 26], Operations: ['4*7=28', '35-9=26']
Exploring Operation: 28*26=728, Resulting Numbers: [728]
728,23 unequal: No Solution
Exploring Operation: 28-26=2, Resulting Numbers: [2]
2,23 unequal: No Solution
Exploring Operation: 28+26=54, Resulting Numbers: [54]
54,23 unequal: No Solution
Moving to Node #0,2,1
Current State: 23:[35, 19], Operations: ['4*7=28', '28-9=19']
Exploring Operation: 35+19=54, Resulting Numbers: [54]
54,23 unequal: No Solution
Exploring Operation: 35*19=665, Resulting Numbers: [665]
665,23 unequal: No Solution
Exploring Operation: 35-19=16, Resulting Numbers: [16]
16,23 unequal: No Solution
Moving to Node #0,2,0
Current State: 23:[28, 44], Operations: ['4*7=28', '35+9=44']
Exploring Operation: 44-28=16, Resulting Numbers: [16]
16,23 unequal: No Solution
Exploring Operation: 28*44=1232, Resulting Numbers: [1232]
1232,23 unequal: No Solution
Exploring Operation: 28+44=72, Resulting Numbers: [72]
72,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[7, 9, 31], Operations: ['35-4=31']
Exploring Operation: 31-7=24, Resulting Numbers: [9, 24]
Generated Node #0,0,0: 23:[9, 24] Operation: 31-7=24
Exploring Operation: 7+9=16, Resulting Numbers: [31, 16]
Generated Node #0,0,1: 23:[31, 16] Operation: 7+9=16
Exploring Operation: 31-9=22, Resulting Numbers: [7, 22]
Generated Node #0,0,2: 23:[7, 22] Operation: 31-9=22
Moving to Node #0,0,0
Current State: 23:[9, 24], Operations: ['35-4=31', '31-7=24']
Exploring Operation: 9*24=216, Resulting Numbers: [216]
216,23 unequal: No Solution
Exploring Operation: 24-9=15, Resulting Numbers: [15]
15,23 unequal: No Solution
Exploring Operation: 9+24=33, Resulting Numbers: [33]
33,23 unequal: No Solution
Moving to Node #0,0,1
Current State: 23:[31, 16], Operations: ['35-4=31', '7+9=16']
Exploring Operation: 31+16=47, Resulting Numbers: [47]
47,23 unequal: No Solution
Exploring Operation: 31*16=496, Resulting Numbers: [496]
496,23 unequal: No Solution
Exploring Operation: 31-16=15, Resulting Numbers: [15]
15,23 unequal: No Solution
Moving to Node #0,0,2
Current State: 23:[7, 22], Operations: ['35-4=31', '31-9=22']
Exploring Operation: 7*22=154, Resulting Numbers: [154]
154,23 unequal: No Solution
Exploring Operation: 7+22=29, Resulting Numbers: [29]
29,23 unequal: No Solution
Exploring Operation: 22-7=15, Resulting Numbers: [15]
15,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 23:[35, 9, 11], Operations: ['4+7=11']
Exploring Operation: 35-11=24, Resulting Numbers: [9, 24]
Generated Node #0,1,0: 23:[9, 24] Operation: 35-11=24
Exploring Operation: 9+11=20, Resulting Numbers: [35, 20]
Generated Node #0,1,1: 23:[35, 20] Operation: 9+11=20
Exploring Operation: 35-9=26, Resulting Numbers: [11, 26]
Generated Node #0,1,2: 23:[11, 26] Operation: 35-9=26
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 23:[9, 24], Operations: ['4+7=11', '35-11=24']
Exploring Operation: 9*24=216, Resulting Numbers: [216]
216,23 unequal: No Solution
Exploring Operation: 24-9=15, Resulting Numbers: [15]
15,23 unequal: No Solution
Exploring Operation: 9+24=33, Resulting Numbers: [33]
33,23 unequal: No Solution
No 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: 23:[35, 20], Operations: ['4+7=11', '9+11=20']
Exploring Operation: 35+20=55, Resulting Numbers: [55]
55,23 unequal: No Solution
Exploring Operation: 35*20=700, Resulting Numbers: [700]
700,23 unequal: No Solution
Exploring Operation: 35-20=15, Resulting Numbers: [15]
15,23 unequal: No Solution
No 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: 23:[11, 26], Operations: ['4+7=11', '35-9=26']
Exploring Operation: 11+26=37, Resulting Numbers: [37]
37,23 unequal: No Solution
Exploring Operation: 26-11=15, Resulting Numbers: [15]
15,23 unequal: No Solution
Exploring Operation: 11*26=286, Resulting Numbers: [286]
286,23 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
|
[
9,
55,
99,
87
] | 52 |
[
"9+55=64",
"99-87=12",
"64-12=52"
] |
Current State: 52:[9, 55, 99, 87], Operations: []
Exploring Operation: 9+55=64, Resulting Numbers: [99, 87, 64]
Generated Node #2: [99, 87, 64] from Operation: 9+55=64
Current State: 52:[99, 87, 64], Operations: ['9+55=64']
Exploring Operation: 99-87=12, Resulting Numbers: [64, 12]
Generated Node #3: [64, 12] from Operation: 99-87=12
Current State: 52:[64, 12], Operations: ['9+55=64', '99-87=12']
Exploring Operation: 64-12=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 |
Current State: 52:[9, 55, 99, 87], Operations: []
Exploring Operation: 99-87=12, Resulting Numbers: [9, 55, 12]
Generated Node #0,0: 52:[9, 55, 12] Operation: 99-87=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[9, 55, 12], Operations: ['99-87=12']
Exploring Operation: 12-9=3, Resulting Numbers: [55, 3]
Generated Node #0,0,0: 52:[55, 3] Operation: 12-9=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 52:[55, 3], Operations: ['99-87=12', '12-9=3']
Exploring Operation: 55-3=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[9, 55, 99, 87], Operations: []
Exploring Operation: 99-87=12, Resulting Numbers: [9, 55, 12]
Generated Node #0,0: 52:[9, 55, 12] Operation: 99-87=12
Moving to Node #0,0
Current State: 52:[9, 55, 12], Operations: ['99-87=12']
Exploring Operation: 12-9=3, Resulting Numbers: [55, 3]
Generated Node #0,0,0: 52:[55, 3] Operation: 12-9=3
Moving to Node #0,0,0
Current State: 52:[55, 3], Operations: ['99-87=12', '12-9=3']
Exploring Operation: 55-3=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 |
hs_1
|
mult_heuristic
|
[
56,
52,
29,
43
] | 13 |
[
"43-29=14",
"56/14=4",
"52/4=13"
] |
Current State: 13:[56, 52, 29, 43], Operations: []
Exploring Operation: 43-29=14, Resulting Numbers: [56, 52, 14]
Generated Node #2: [56, 52, 14] from Operation: 43-29=14
Current State: 13:[56, 52, 14], Operations: ['43-29=14']
Exploring Operation: 56/14=4, Resulting Numbers: [52, 4]
Generated Node #3: [52, 4] from Operation: 56/14=4
Current State: 13:[52, 4], Operations: ['43-29=14', '56/14=4']
Exploring Operation: 52/4=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 |
Current State: 13:[56, 52, 29, 43], Operations: []
Exploring Operation: 56-43=13, Resulting Numbers: [52, 29, 13]
Generated Node #0,0: 13:[52, 29, 13] Operation: 56-43=13
Exploring Operation: 56-52=4, Resulting Numbers: [29, 43, 4]
Generated Node #0,1: 13:[29, 43, 4] Operation: 56-52=4
Moving to Node #0,0
Current State: 13:[52, 29, 13], Operations: ['56-43=13']
Exploring Operation: 52/13=4, Resulting Numbers: [29, 4]
Generated Node #0,0,0: 13:[29, 4] Operation: 52/13=4
Exploring Operation: 52-29=23, Resulting Numbers: [13, 23]
Generated Node #0,0,1: 13:[13, 23] Operation: 52-29=23
Moving to Node #0,1
Current State: 13:[29, 43, 4], Operations: ['56-52=4']
Exploring Operation: 43-29=14, Resulting Numbers: [4, 14]
Generated Node #0,1,0: 13:[4, 14] Operation: 43-29=14
Exploring Operation: 29-4=25, Resulting Numbers: [43, 25]
Generated Node #0,1,1: 13:[43, 25] Operation: 29-4=25
Moving to Node #0,0,1
Current State: 13:[13, 23], Operations: ['56-43=13', '52-29=23']
Exploring Operation: 13+23=36, Resulting Numbers: [36]
36,13 unequal: No Solution
Exploring Operation: 23-13=10, Resulting Numbers: [10]
10,13 unequal: No Solution
Moving to Node #0,1,0
Current State: 13:[4, 14], Operations: ['56-52=4', '43-29=14']
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,13 unequal: No Solution
Exploring Operation: 4+14=18, Resulting Numbers: [18]
18,13 unequal: No Solution
Moving to Node #0,0,0
Current State: 13:[29, 4], Operations: ['56-43=13', '52/13=4']
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,13 unequal: No Solution
Exploring Operation: 29+4=33, Resulting Numbers: [33]
33,13 unequal: No Solution
Moving to Node #0,1,1
Current State: 13:[43, 25], Operations: ['56-52=4', '29-4=25']
Exploring Operation: 43+25=68, Resulting Numbers: [68]
68,13 unequal: No Solution
Exploring Operation: 43-25=18, Resulting Numbers: [18]
18,13 unequal: No Solution
No solution found.
| 0 |
hs_2
|
sum_heuristic
|
[
50,
24,
42,
99
] | 75 |
[
"50*99=4950",
"24+42=66",
"4950/66=75"
] |
Current State: 75:[50, 24, 42, 99], Operations: []
Exploring Operation: 50*99=4950, Resulting Numbers: [24, 42, 4950]
Generated Node #2: [24, 42, 4950] from Operation: 50*99=4950
Current State: 75:[24, 42, 4950], Operations: ['50*99=4950']
Exploring Operation: 24+42=66, Resulting Numbers: [4950, 66]
Generated Node #3: [4950, 66] from Operation: 24+42=66
Current State: 75:[4950, 66], Operations: ['50*99=4950', '24+42=66']
Exploring Operation: 4950/66=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 |
Current State: 75:[50, 24, 42, 99], Operations: []
Exploring Operation: 50+24=74, Resulting Numbers: [42, 99, 74]
Generated Node #0,0: 75:[42, 99, 74] Operation: 50+24=74
Exploring Operation: 50-42=8, Resulting Numbers: [24, 99, 8]
Generated Node #0,1: 75:[24, 99, 8] Operation: 50-42=8
Start Sub Search at level 1: Moving to Node #0,1
Current State: 75:[24, 99, 8], Operations: ['50-42=8']
Exploring Operation: 99-24=75, Resulting Numbers: [8, 75]
Generated Node #0,1,0: 75:[8, 75] Operation: 99-24=75
Exploring Operation: 99-8=91, Resulting Numbers: [24, 91]
Generated Node #0,1,1: 75:[24, 91] Operation: 99-8=91
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 75:[8, 75], Operations: ['50-42=8', '99-24=75']
Exploring Operation: 75-8=67, Resulting Numbers: [67]
67,75 unequal: No Solution
Exploring Operation: 8+75=83, Resulting Numbers: [83]
83,75 unequal: No Solution
No 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: 75:[24, 91], Operations: ['50-42=8', '99-8=91']
Exploring Operation: 91-24=67, Resulting Numbers: [67]
67,75 unequal: No Solution
Exploring Operation: 24+91=115, Resulting Numbers: [115]
115,75 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: 75:[42, 99, 74], Operations: ['50+24=74']
Exploring Operation: 99-74=25, Resulting Numbers: [42, 25]
Generated Node #0,0,0: 75:[42, 25] Operation: 99-74=25
Exploring Operation: 99-42=57, Resulting Numbers: [74, 57]
Generated Node #0,0,1: 75:[74, 57] Operation: 99-42=57
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 75:[42, 25], Operations: ['50+24=74', '99-74=25']
Exploring Operation: 42-25=17, Resulting Numbers: [17]
17,75 unequal: No Solution
Exploring Operation: 42+25=67, Resulting Numbers: [67]
67,75 unequal: No Solution
No 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: 75:[74, 57], Operations: ['50+24=74', '99-42=57']
Exploring Operation: 74+57=131, Resulting Numbers: [131]
131,75 unequal: No Solution
Exploring Operation: 74-57=17, Resulting Numbers: [17]
17,75 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
|
[
76,
72,
27,
72
] | 36 |
[
"76-72=4",
"27*4=108",
"108-72=36"
] |
Current State: 36:[76, 72, 27, 72], Operations: []
Exploring Operation: 76-72=4, Resulting Numbers: [27, 4]
Generated Node #2: [27, 4] from Operation: 76-72=4
Current State: 36:[27, 4], Operations: ['76-72=4']
Exploring Operation: 27*4=108, Resulting Numbers: [108]
108,36 equal: Goal Reached
Exploring Operation: 108-72=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 |
Current State: 36:[76, 72, 27, 72], Operations: []
Exploring Operation: 76-72=4, Resulting Numbers: [72, 27, 4]
Generated Node #0,0: 36:[72, 27, 4] Operation: 76-72=4
Exploring Operation: 76-72=4, Resulting Numbers: [27, 72, 4]
Generated Node #0,1: 36:[27, 72, 4] Operation: 76-72=4
Exploring Operation: 72/72=1, Resulting Numbers: [76, 27, 1]
Generated Node #0,2: 36:[76, 27, 1] Operation: 72/72=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[72, 27, 4], Operations: ['76-72=4']
Exploring Operation: 72-27=45, Resulting Numbers: [4, 45]
Generated Node #0,0,0: 36:[4, 45] Operation: 72-27=45
Exploring Operation: 72/4=18, Resulting Numbers: [27, 18]
Generated Node #0,0,1: 36:[27, 18] Operation: 72/4=18
Exploring Operation: 72-4=68, Resulting Numbers: [27, 68]
Generated Node #0,0,2: 36:[27, 68] Operation: 72-4=68
Moving to Node #0,0,0
Current State: 36:[4, 45], Operations: ['76-72=4', '72-27=45']
Exploring Operation: 45-4=41, Resulting Numbers: [41]
41,36 unequal: No Solution
Exploring Operation: 4+45=49, Resulting Numbers: [49]
49,36 unequal: No Solution
Exploring Operation: 4*45=180, Resulting Numbers: [180]
180,36 unequal: No Solution
Moving to Node #0,0,1
Current State: 36:[27, 18], Operations: ['76-72=4', '72/4=18']
Exploring Operation: 27-18=9, Resulting Numbers: [9]
9,36 unequal: No Solution
Exploring Operation: 27+18=45, Resulting Numbers: [45]
45,36 unequal: No Solution
Exploring Operation: 27*18=486, Resulting Numbers: [486]
486,36 unequal: No Solution
Moving to Node #0,0,2
Current State: 36:[27, 68], Operations: ['76-72=4', '72-4=68']
Exploring Operation: 27+68=95, Resulting Numbers: [95]
95,36 unequal: No Solution
Exploring Operation: 68-27=41, Resulting Numbers: [41]
41,36 unequal: No Solution
Exploring Operation: 27*68=1836, Resulting Numbers: [1836]
1836,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 36:[27, 72, 4], Operations: ['76-72=4']
Exploring Operation: 27+4=31, Resulting Numbers: [72, 31]
Generated Node #0,1,0: 36:[72, 31] Operation: 27+4=31
Exploring Operation: 72-27=45, Resulting Numbers: [4, 45]
Generated Node #0,1,1: 36:[4, 45] Operation: 72-27=45
Exploring Operation: 72/4=18, Resulting Numbers: [27, 18]
Generated Node #0,1,2: 36:[27, 18] Operation: 72/4=18
Moving to Node #0,1,1
Current State: 36:[4, 45], Operations: ['76-72=4', '72-27=45']
Exploring Operation: 4+45=49, Resulting Numbers: [49]
49,36 unequal: No Solution
Exploring Operation: 45-4=41, Resulting Numbers: [41]
41,36 unequal: No Solution
Exploring Operation: 4*45=180, Resulting Numbers: [180]
180,36 unequal: No Solution
Moving to Node #0,1,2
Current State: 36:[27, 18], Operations: ['76-72=4', '72/4=18']
Exploring Operation: 27-18=9, Resulting Numbers: [9]
9,36 unequal: No Solution
Exploring Operation: 27*18=486, Resulting Numbers: [486]
486,36 unequal: No Solution
Exploring Operation: 27+18=45, Resulting Numbers: [45]
45,36 unequal: No Solution
Moving to Node #0,1,0
Current State: 36:[72, 31], Operations: ['76-72=4', '27+4=31']
Exploring Operation: 72*31=2232, Resulting Numbers: [2232]
2232,36 unequal: No Solution
Exploring Operation: 72-31=41, Resulting Numbers: [41]
41,36 unequal: No Solution
Exploring Operation: 72+31=103, Resulting Numbers: [103]
103,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 36:[76, 27, 1], Operations: ['72/72=1']
Exploring Operation: 76-1=75, Resulting Numbers: [27, 75]
Generated Node #0,2,0: 36:[27, 75] Operation: 76-1=75
Exploring Operation: 76-27=49, Resulting Numbers: [1, 49]
Generated Node #0,2,1: 36:[1, 49] Operation: 76-27=49
Exploring Operation: 27+1=28, Resulting Numbers: [76, 28]
Generated Node #0,2,2: 36:[76, 28] Operation: 27+1=28
Moving to Node #0,2,1
Current State: 36:[1, 49], Operations: ['72/72=1', '76-27=49']
Exploring Operation: 49-1=48, Resulting Numbers: [48]
48,36 unequal: No Solution
Exploring Operation: 1*49=49, Resulting Numbers: [49]
49,36 unequal: No Solution
Exploring Operation: 49/1=49, Resulting Numbers: [49]
49,36 unequal: No Solution
Moving to Node #0,2,0
Current State: 36:[27, 75], Operations: ['72/72=1', '76-1=75']
Exploring Operation: 27+75=102, Resulting Numbers: [102]
102,36 unequal: No Solution
Exploring Operation: 75-27=48, Resulting Numbers: [48]
48,36 unequal: No Solution
Exploring Operation: 27*75=2025, Resulting Numbers: [2025]
2025,36 unequal: No Solution
Moving to Node #0,2,2
Current State: 36:[76, 28], Operations: ['72/72=1', '27+1=28']
Exploring Operation: 76-28=48, Resulting Numbers: [48]
48,36 unequal: No Solution
Exploring Operation: 76+28=104, Resulting Numbers: [104]
104,36 unequal: No Solution
Exploring Operation: 76*28=2128, Resulting Numbers: [2128]
2128,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_3
|
mult_heuristic
|
[
12,
79,
53,
59
] | 70 |
[
"79+53=132",
"132/12=11",
"59+11=70"
] |
Current State: 70:[12, 79, 53, 59], Operations: []
Exploring Operation: 79+53=132, Resulting Numbers: [12, 59, 132]
Generated Node #2: [12, 59, 132] from Operation: 79+53=132
Current State: 70:[12, 59, 132], Operations: ['79+53=132']
Exploring Operation: 132/12=11, Resulting Numbers: [59, 11]
Generated Node #3: [59, 11] from Operation: 132/12=11
Current State: 70:[59, 11], Operations: ['79+53=132', '132/12=11']
Exploring Operation: 59+11=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 |
Current State: 70:[12, 79, 53, 59], Operations: []
Exploring Operation: 79-53=26, Resulting Numbers: [12, 59, 26]
Generated Node #0,0: 70:[12, 59, 26] Operation: 79-53=26
Exploring Operation: 59-53=6, Resulting Numbers: [12, 79, 6]
Generated Node #0,1: 70:[12, 79, 6] Operation: 59-53=6
Moving to Node #0,1
Current State: 70:[12, 79, 6], Operations: ['59-53=6']
Exploring Operation: 79-6=73, Resulting Numbers: [12, 73]
Generated Node #0,1,0: 70:[12, 73] Operation: 79-6=73
Exploring Operation: 79-12=67, Resulting Numbers: [6, 67]
Generated Node #0,1,1: 70:[6, 67] Operation: 79-12=67
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 70:[6, 67], Operations: ['59-53=6', '79-12=67']
Exploring Operation: 67-6=61, Resulting Numbers: [61]
61,70 unequal: No Solution
Exploring Operation: 6+67=73, Resulting Numbers: [73]
73,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 70:[12, 73], Operations: ['59-53=6', '79-6=73']
Exploring Operation: 12+73=85, Resulting Numbers: [85]
85,70 unequal: No Solution
Exploring Operation: 73-12=61, Resulting Numbers: [61]
61,70 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: 70:[12, 59, 26], Operations: ['79-53=26']
Exploring Operation: 12+59=71, Resulting Numbers: [26, 71]
Generated Node #0,0,0: 70:[26, 71] Operation: 12+59=71
Exploring Operation: 59-26=33, Resulting Numbers: [12, 33]
Generated Node #0,0,1: 70:[12, 33] Operation: 59-26=33
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 70:[12, 33], Operations: ['79-53=26', '59-26=33']
Exploring Operation: 33-12=21, Resulting Numbers: [21]
21,70 unequal: No Solution
Exploring Operation: 12+33=45, Resulting Numbers: [45]
45,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 70:[26, 71], Operations: ['79-53=26', '12+59=71']
Exploring Operation: 26+71=97, Resulting Numbers: [97]
97,70 unequal: No Solution
Exploring Operation: 71-26=45, Resulting Numbers: [45]
45,70 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
|
[
4,
36,
86,
4
] | 42 |
[
"4+36=40",
"86-4=82",
"82-40=42"
] |
Current State: 42:[4, 36, 86, 4], Operations: []
Exploring Operation: 4+36=40, Resulting Numbers: [86, 40]
Generated Node #2: [86, 40] from Operation: 4+36=40
Current State: 42:[86, 40], Operations: ['4+36=40']
Exploring Operation: 86-4=82, Resulting Numbers: [40, 82]
Generated Node #3: [40, 82] from Operation: 86-4=82
Current State: 42:[40, 82], Operations: ['4+36=40', '86-4=82']
Exploring Operation: 82-40=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 |
Current State: 42:[4, 36, 86, 4], Operations: []
Exploring Operation: 86-36=50, Resulting Numbers: [4, 4, 50]
Generated Node #0,0: 42:[4, 4, 50] Operation: 86-36=50
Moving to Node #0,0
Current State: 42:[4, 4, 50], Operations: ['86-36=50']
Exploring Operation: 50-4=46, Resulting Numbers: [4, 46]
Generated Node #0,0,0: 42:[4, 46] Operation: 50-4=46
Moving to Node #0,0,0
Current State: 42:[4, 46], Operations: ['86-36=50', '50-4=46']
Exploring Operation: 46-4=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[4, 36, 86, 4], Operations: []
Exploring Operation: 86-36=50, Resulting Numbers: [4, 4, 50]
Generated Node #0,0: 42:[4, 4, 50] Operation: 86-36=50
Moving to Node #0,0
Current State: 42:[4, 4, 50], Operations: ['86-36=50']
Exploring Operation: 50-4=46, Resulting Numbers: [4, 46]
Generated Node #0,0,0: 42:[4, 46] Operation: 50-4=46
Moving to Node #0,0,0
Current State: 42:[4, 46], Operations: ['86-36=50', '50-4=46']
Exploring Operation: 46-4=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 0.993924 |
hs_1
|
mult_heuristic
|
[
78,
82,
76,
7
] | 87 |
[
"82-78=4",
"76+7=83",
"4+83=87"
] |
Current State: 87:[78, 82, 76, 7], Operations: []
Exploring Operation: 82-78=4, Resulting Numbers: [76, 7, 4]
Generated Node #2: [76, 7, 4] from Operation: 82-78=4
Current State: 87:[76, 7, 4], Operations: ['82-78=4']
Exploring Operation: 76+7=83, Resulting Numbers: [4, 83]
Generated Node #3: [4, 83] from Operation: 76+7=83
Current State: 87:[4, 83], Operations: ['82-78=4', '76+7=83']
Exploring Operation: 4+83=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 |
Current State: 87:[78, 82, 76, 7], Operations: []
Exploring Operation: 82-78=4, Resulting Numbers: [76, 7, 4]
Generated Node #0,0: 87:[76, 7, 4] Operation: 82-78=4
Exploring Operation: 78-76=2, Resulting Numbers: [82, 7, 2]
Generated Node #0,1: 87:[82, 7, 2] Operation: 78-76=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 87:[82, 7, 2], Operations: ['78-76=2']
Exploring Operation: 82+2=84, Resulting Numbers: [7, 84]
Generated Node #0,1,0: 87:[7, 84] Operation: 82+2=84
Exploring Operation: 82+7=89, Resulting Numbers: [2, 89]
Generated Node #0,1,1: 87:[2, 89] Operation: 82+7=89
Moving to Node #0,1,1
Current State: 87:[2, 89], Operations: ['78-76=2', '82+7=89']
Exploring Operation: 2+89=91, Resulting Numbers: [91]
91,87 unequal: No Solution
Exploring Operation: 89-2=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[78, 82, 76, 7], Operations: []
Exploring Operation: 78-76=2, Resulting Numbers: [82, 7, 2]
Generated Node #0,1: 87:[82, 7, 2] Operation: 78-76=2
Moving to Node #0,1
Current State: 87:[82, 7, 2], Operations: ['78-76=2']
Exploring Operation: 82+7=89, Resulting Numbers: [2, 89]
Generated Node #0,1,1: 87:[2, 89] Operation: 82+7=89
Moving to Node #0,1,1
Current State: 87:[2, 89], Operations: ['78-76=2', '82+7=89']
Exploring Operation: 89-2=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 |
hs_2
|
sum_heuristic
|
[
40,
4,
36,
68
] | 48 |
[
"68-36=32",
"32/4=8",
"40+8=48"
] |
Current State: 48:[40, 4, 36, 68], Operations: []
Exploring Operation: 68-36=32, Resulting Numbers: [40, 4, 32]
Generated Node #2: [40, 4, 32] from Operation: 68-36=32
Current State: 48:[40, 4, 32], Operations: ['68-36=32']
Exploring Operation: 32/4=8, Resulting Numbers: [40, 8]
Generated Node #3: [40, 8] from Operation: 32/4=8
Current State: 48:[40, 8], Operations: ['68-36=32', '32/4=8']
Exploring Operation: 40+8=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 |
Current State: 48:[40, 4, 36, 68], Operations: []
Exploring Operation: 68-40=28, Resulting Numbers: [4, 36, 28]
Generated Node #0,0: 48:[4, 36, 28] Operation: 68-40=28
Start Sub Search at level 1: Moving to Node #0,0
Current State: 48:[4, 36, 28], Operations: ['68-40=28']
Exploring Operation: 36-28=8, Resulting Numbers: [4, 8]
Generated Node #0,0,0: 48:[4, 8] Operation: 36-28=8
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 48:[4, 8], Operations: ['68-40=28', '36-28=8']
Exploring Operation: 4+8=12, Resulting Numbers: [12]
12,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
mult_heuristic
|
[
36,
53,
66,
17
] | 65 |
[
"53-36=17",
"17/17=1",
"66-1=65"
] |
Current State: 65:[36, 53, 66, 17], Operations: []
Exploring Operation: 53-36=17, Resulting Numbers: [66, 17, 17]
Generated Node #2: [66, 17, 17] from Operation: 53-36=17
Current State: 65:[66, 17, 17], Operations: ['53-36=17']
Exploring Operation: 17/17=1, Resulting Numbers: [66, 1]
Generated Node #3: [66, 1] from Operation: 17/17=1
Current State: 65:[66, 1], Operations: ['53-36=17', '17/17=1']
Exploring Operation: 66-1=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 |
Current State: 65:[36, 53, 66, 17], Operations: []
Exploring Operation: 53-36=17, Resulting Numbers: [66, 17, 17]
Generated Node #0,0: 65:[66, 17, 17] Operation: 53-36=17
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[66, 17, 17], Operations: ['53-36=17']
Exploring Operation: 17/17=1, Resulting Numbers: [66, 1]
Generated Node #0,0,0: 65:[66, 1] Operation: 17/17=1
Moving to Node #0,0,0
Current State: 65:[66, 1], Operations: ['53-36=17', '17/17=1']
Exploring Operation: 66-1=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[36, 53, 66, 17], Operations: []
Exploring Operation: 53-36=17, Resulting Numbers: [66, 17, 17]
Generated Node #0,0: 65:[66, 17, 17] Operation: 53-36=17
Moving to Node #0,0
Current State: 65:[66, 17, 17], Operations: ['53-36=17']
Exploring Operation: 17/17=1, Resulting Numbers: [66, 1]
Generated Node #0,0,0: 65:[66, 1] Operation: 17/17=1
Moving to Node #0,0,0
Current State: 65:[66, 1], Operations: ['53-36=17', '17/17=1']
Exploring Operation: 66-1=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 |
hs_1
|
mult_heuristic
|
[
48,
78,
14,
2
] | 26 |
[
"14+2=16",
"48/16=3",
"78/3=26"
] |
Current State: 26:[48, 78, 14, 2], Operations: []
Exploring Operation: 14+2=16, Resulting Numbers: [48, 78, 16]
Generated Node #2: [48, 78, 16] from Operation: 14+2=16
Current State: 26:[48, 78, 16], Operations: ['14+2=16']
Exploring Operation: 48/16=3, Resulting Numbers: [78, 3]
Generated Node #3: [78, 3] from Operation: 48/16=3
Current State: 26:[78, 3], Operations: ['14+2=16', '48/16=3']
Exploring Operation: 78/3=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 |
Current State: 26:[48, 78, 14, 2], Operations: []
Exploring Operation: 48-14=34, Resulting Numbers: [78, 2, 34]
Generated Node #0,0: 26:[78, 2, 34] Operation: 48-14=34
Exploring Operation: 78-48=30, Resulting Numbers: [14, 2, 30]
Generated Node #0,1: 26:[14, 2, 30] Operation: 78-48=30
Exploring Operation: 78/2=39, Resulting Numbers: [48, 14, 39]
Generated Node #0,2: 26:[48, 14, 39] Operation: 78/2=39
Exploring Operation: 48/2=24, Resulting Numbers: [78, 14, 24]
Generated Node #0,3: 26:[78, 14, 24] Operation: 48/2=24
Exploring Operation: 78-14=64, Resulting Numbers: [48, 2, 64]
Generated Node #0,4: 26:[48, 2, 64] Operation: 78-14=64
Moving to Node #0,1
Current State: 26:[14, 2, 30], Operations: ['78-48=30']
Exploring Operation: 14-2=12, Resulting Numbers: [30, 12]
Generated Node #0,1,0: 26:[30, 12] Operation: 14-2=12
Exploring Operation: 30-2=28, Resulting Numbers: [14, 28]
Generated Node #0,1,1: 26:[14, 28] Operation: 30-2=28
Exploring Operation: 30/2=15, Resulting Numbers: [14, 15]
Generated Node #0,1,2: 26:[14, 15] Operation: 30/2=15
Exploring Operation: 14*2=28, Resulting Numbers: [30, 28]
Generated Node #0,1,3: 26:[30, 28] Operation: 14*2=28
Exploring Operation: 30-14=16, Resulting Numbers: [2, 16]
Generated Node #0,1,4: 26:[2, 16] Operation: 30-14=16
Moving to Node #0,2
Current State: 26:[48, 14, 39], Operations: ['78/2=39']
Exploring Operation: 48+14=62, Resulting Numbers: [39, 62]
Generated Node #0,2,0: 26:[39, 62] Operation: 48+14=62
Exploring Operation: 48-14=34, Resulting Numbers: [39, 34]
Generated Node #0,2,1: 26:[39, 34] Operation: 48-14=34
Exploring Operation: 39-14=25, Resulting Numbers: [48, 25]
Generated Node #0,2,2: 26:[48, 25] Operation: 39-14=25
Exploring Operation: 14+39=53, Resulting Numbers: [48, 53]
Generated Node #0,2,3: 26:[48, 53] Operation: 14+39=53
Exploring Operation: 48-39=9, Resulting Numbers: [14, 9]
Generated Node #0,2,4: 26:[14, 9] Operation: 48-39=9
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 26:[14, 9], Operations: ['78/2=39', '48-39=9']
Exploring Operation: 14+9=23, Resulting Numbers: [23]
23,26 unequal: No Solution
Exploring Operation: 14-9=5, Resulting Numbers: [5]
5,26 unequal: No Solution
Exploring Operation: 14*9=126, Resulting Numbers: [126]
126,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,1
Current State: 26:[39, 34], Operations: ['78/2=39', '48-14=34']
Exploring Operation: 39+34=73, Resulting Numbers: [73]
73,26 unequal: No Solution
Exploring Operation: 39-34=5, Resulting Numbers: [5]
5,26 unequal: No Solution
Exploring Operation: 39*34=1326, Resulting Numbers: [1326]
1326,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 26:[48, 25], Operations: ['78/2=39', '39-14=25']
Exploring Operation: 48*25=1200, Resulting Numbers: [1200]
1200,26 unequal: No Solution
Exploring Operation: 48+25=73, Resulting Numbers: [73]
73,26 unequal: No Solution
Exploring Operation: 48-25=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,2,0
Current State: 26:[39, 62], Operations: ['78/2=39', '48+14=62']
Exploring Operation: 39*62=2418, Resulting Numbers: [2418]
2418,26 unequal: No Solution
Exploring Operation: 39+62=101, Resulting Numbers: [101]
101,26 unequal: No Solution
Exploring Operation: 62-39=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,2,3
Current State: 26:[48, 53], Operations: ['78/2=39', '14+39=53']
Exploring Operation: 48+53=101, Resulting Numbers: [101]
101,26 unequal: No Solution
Exploring Operation: 48*53=2544, Resulting Numbers: [2544]
2544,26 unequal: No Solution
Exploring Operation: 53-48=5, Resulting Numbers: [5]
5,26 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: 26:[78, 14, 24], Operations: ['48/2=24']
Exploring Operation: 24-14=10, Resulting Numbers: [78, 10]
Generated Node #0,3,0: 26:[78, 10] Operation: 24-14=10
Exploring Operation: 78+14=92, Resulting Numbers: [24, 92]
Generated Node #0,3,1: 26:[24, 92] Operation: 78+14=92
Exploring Operation: 78-14=64, Resulting Numbers: [24, 64]
Generated Node #0,3,2: 26:[24, 64] Operation: 78-14=64
Exploring Operation: 14+24=38, Resulting Numbers: [78, 38]
Generated Node #0,3,3: 26:[78, 38] Operation: 14+24=38
Exploring Operation: 78-24=54, Resulting Numbers: [14, 54]
Generated Node #0,3,4: 26:[14, 54] Operation: 78-24=54
Moving to Node #0,0
Current State: 26:[78, 2, 34], Operations: ['48-14=34']
Exploring Operation: 34/2=17, Resulting Numbers: [78, 17]
Generated Node #0,0,0: 26:[78, 17] Operation: 34/2=17
Exploring Operation: 78-34=44, Resulting Numbers: [2, 44]
Generated Node #0,0,1: 26:[2, 44] Operation: 78-34=44
Exploring Operation: 34-2=32, Resulting Numbers: [78, 32]
Generated Node #0,0,2: 26:[78, 32] Operation: 34-2=32
Exploring Operation: 78-2=76, Resulting Numbers: [34, 76]
Generated Node #0,0,3: 26:[34, 76] Operation: 78-2=76
Exploring Operation: 78/2=39, Resulting Numbers: [34, 39]
Generated Node #0,0,4: 26:[34, 39] Operation: 78/2=39
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 26:[2, 44], Operations: ['48-14=34', '78-34=44']
Exploring Operation: 2*44=88, Resulting Numbers: [88]
88,26 unequal: No Solution
Exploring Operation: 2+44=46, Resulting Numbers: [46]
46,26 unequal: No Solution
Exploring Operation: 44/2=22, Resulting Numbers: [22]
22,26 unequal: No Solution
Exploring Operation: 44-2=42, Resulting Numbers: [42]
42,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,4
Current State: 26:[34, 39], Operations: ['48-14=34', '78/2=39']
Exploring Operation: 34+39=73, Resulting Numbers: [73]
73,26 unequal: No Solution
Exploring Operation: 39-34=5, Resulting Numbers: [5]
5,26 unequal: No Solution
Exploring Operation: 34*39=1326, Resulting Numbers: [1326]
1326,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,0
Current State: 26:[78, 17], Operations: ['48-14=34', '34/2=17']
Exploring Operation: 78*17=1326, Resulting Numbers: [1326]
1326,26 unequal: No Solution
Exploring Operation: 78-17=61, Resulting Numbers: [61]
61,26 unequal: No Solution
Exploring Operation: 78+17=95, Resulting Numbers: [95]
95,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,2
Current State: 26:[78, 32], Operations: ['48-14=34', '34-2=32']
Exploring Operation: 78*32=2496, Resulting Numbers: [2496]
2496,26 unequal: No Solution
Exploring Operation: 78+32=110, Resulting Numbers: [110]
110,26 unequal: No Solution
Exploring Operation: 78-32=46, Resulting Numbers: [46]
46,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,3
Current State: 26:[34, 76], Operations: ['48-14=34', '78-2=76']
Exploring Operation: 34*76=2584, Resulting Numbers: [2584]
2584,26 unequal: No Solution
Exploring Operation: 76-34=42, Resulting Numbers: [42]
42,26 unequal: No Solution
Exploring Operation: 34+76=110, Resulting Numbers: [110]
110,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 26:[48, 2, 64], Operations: ['78-14=64']
Exploring Operation: 48/2=24, Resulting Numbers: [64, 24]
Generated Node #0,4,0: 26:[64, 24] Operation: 48/2=24
Exploring Operation: 64-48=16, Resulting Numbers: [2, 16]
Generated Node #0,4,1: 26:[2, 16] Operation: 64-48=16
Exploring Operation: 64/2=32, Resulting Numbers: [48, 32]
Generated Node #0,4,2: 26:[48, 32] Operation: 64/2=32
Exploring Operation: 64-2=62, Resulting Numbers: [48, 62]
Generated Node #0,4,3: 26:[48, 62] Operation: 64-2=62
Exploring Operation: 48-2=46, Resulting Numbers: [64, 46]
Generated Node #0,4,4: 26:[64, 46] Operation: 48-2=46
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 26:[2, 16], Operations: ['78-14=64', '64-48=16']
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,26 unequal: No Solution
Exploring Operation: 2*16=32, Resulting Numbers: [32]
32,26 unequal: No Solution
Exploring Operation: 2+16=18, Resulting Numbers: [18]
18,26 unequal: No Solution
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,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,4,2
Current State: 26:[48, 32], Operations: ['78-14=64', '64/2=32']
Exploring Operation: 48*32=1536, Resulting Numbers: [1536]
1536,26 unequal: No Solution
Exploring Operation: 48-32=16, Resulting Numbers: [16]
16,26 unequal: No Solution
Exploring Operation: 48+32=80, Resulting Numbers: [80]
80,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,4,0
Current State: 26:[64, 24], Operations: ['78-14=64', '48/2=24']
Exploring Operation: 64-24=40, Resulting Numbers: [40]
40,26 unequal: No Solution
Exploring Operation: 64+24=88, Resulting Numbers: [88]
88,26 unequal: No Solution
Exploring Operation: 64*24=1536, Resulting Numbers: [1536]
1536,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,4,3
Current State: 26:[48, 62], Operations: ['78-14=64', '64-2=62']
Exploring Operation: 48*62=2976, Resulting Numbers: [2976]
2976,26 unequal: No Solution
Exploring Operation: 48+62=110, Resulting Numbers: [110]
110,26 unequal: No Solution
Exploring Operation: 62-48=14, Resulting Numbers: [14]
14,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,4,4
Current State: 26:[64, 46], Operations: ['78-14=64', '48-2=46']
Exploring Operation: 64-46=18, Resulting Numbers: [18]
18,26 unequal: No Solution
Exploring Operation: 64+46=110, Resulting Numbers: [110]
110,26 unequal: No Solution
Exploring Operation: 64*46=2944, Resulting Numbers: [2944]
2944,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 26:[14, 28], Operations: ['78-48=30', '30-2=28']
Exploring Operation: 28-14=14, Resulting Numbers: [14]
14,26 unequal: No Solution
Exploring Operation: 14*28=392, Resulting Numbers: [392]
392,26 unequal: No Solution
Exploring Operation: 14+28=42, Resulting Numbers: [42]
42,26 unequal: No Solution
Exploring Operation: 28/14=2, Resulting Numbers: [2]
2,26 unequal: No Solution
Moving to Node #0,1,4
Current State: 26:[2, 16], Operations: ['78-48=30', '30-14=16']
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,26 unequal: No Solution
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,26 unequal: No Solution
Exploring Operation: 2+16=18, Resulting Numbers: [18]
18,26 unequal: No Solution
Exploring Operation: 2*16=32, Resulting Numbers: [32]
32,26 unequal: No Solution
Moving to Node #0,1,2
Current State: 26:[14, 15], Operations: ['78-48=30', '30/2=15']
Exploring Operation: 14+15=29, Resulting Numbers: [29]
29,26 unequal: No Solution
Exploring Operation: 14*15=210, Resulting Numbers: [210]
210,26 unequal: No Solution
Exploring Operation: 15-14=1, Resulting Numbers: [1]
1,26 unequal: No Solution
Moving to Node #0,1,0
Current State: 26:[30, 12], Operations: ['78-48=30', '14-2=12']
Exploring Operation: 30-12=18, Resulting Numbers: [18]
18,26 unequal: No Solution
Exploring Operation: 30+12=42, Resulting Numbers: [42]
42,26 unequal: No Solution
Exploring Operation: 30*12=360, Resulting Numbers: [360]
360,26 unequal: No Solution
Moving to Node #0,1,3
Current State: 26:[30, 28], Operations: ['78-48=30', '14*2=28']
Exploring Operation: 30+28=58, Resulting Numbers: [58]
58,26 unequal: No Solution
Exploring Operation: 30-28=2, Resulting Numbers: [2]
2,26 unequal: No Solution
Exploring Operation: 30*28=840, Resulting Numbers: [840]
840,26 unequal: No Solution
Moving to Node #0,3,4
Current State: 26:[14, 54], Operations: ['48/2=24', '78-24=54']
Exploring Operation: 14*54=756, Resulting Numbers: [756]
756,26 unequal: No Solution
Exploring Operation: 14+54=68, Resulting Numbers: [68]
68,26 unequal: No Solution
Exploring Operation: 54-14=40, Resulting Numbers: [40]
40,26 unequal: No Solution
Moving to Node #0,3,2
Current State: 26:[24, 64], Operations: ['48/2=24', '78-14=64']
Exploring Operation: 64-24=40, Resulting Numbers: [40]
40,26 unequal: No Solution
Exploring Operation: 24+64=88, Resulting Numbers: [88]
88,26 unequal: No Solution
Exploring Operation: 24*64=1536, Resulting Numbers: [1536]
1536,26 unequal: No Solution
Moving to Node #0,3,0
Current State: 26:[78, 10], Operations: ['48/2=24', '24-14=10']
Exploring Operation: 78*10=780, Resulting Numbers: [780]
780,26 unequal: No Solution
Exploring Operation: 78-10=68, Resulting Numbers: [68]
68,26 unequal: No Solution
Exploring Operation: 78+10=88, Resulting Numbers: [88]
88,26 unequal: No Solution
Moving to Node #0,3,3
Current State: 26:[78, 38], Operations: ['48/2=24', '14+24=38']
Exploring Operation: 78+38=116, Resulting Numbers: [116]
116,26 unequal: No Solution
Exploring Operation: 78*38=2964, Resulting Numbers: [2964]
2964,26 unequal: No Solution
Exploring Operation: 78-38=40, Resulting Numbers: [40]
40,26 unequal: No Solution
Moving to Node #0,3,1
Current State: 26:[24, 92], Operations: ['48/2=24', '78+14=92']
Exploring Operation: 24+92=116, Resulting Numbers: [116]
116,26 unequal: No Solution
Exploring Operation: 92-24=68, Resulting Numbers: [68]
68,26 unequal: No Solution
Exploring Operation: 24*92=2208, Resulting Numbers: [2208]
2208,26 unequal: No Solution
No solution found.
| 0 |
hs_5
|
sum_heuristic
|
[
28,
23,
6,
4
] | 96 |
[
"28/4=7",
"23-7=16",
"6*16=96"
] |
Current State: 96:[28, 23, 6, 4], Operations: []
Exploring Operation: 28/4=7, Resulting Numbers: [23, 6, 7]
Generated Node #2: [23, 6, 7] from Operation: 28/4=7
Current State: 96:[23, 6, 7], Operations: ['28/4=7']
Exploring Operation: 23-7=16, Resulting Numbers: [6, 16]
Generated Node #3: [6, 16] from Operation: 23-7=16
Current State: 96:[6, 16], Operations: ['28/4=7', '23-7=16']
Exploring Operation: 6*16=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 |
Current State: 96:[28, 23, 6, 4], Operations: []
Exploring Operation: 28-23=5, Resulting Numbers: [6, 4, 5]
Generated Node #0,0: 96:[6, 4, 5] Operation: 28-23=5
Exploring Operation: 28+4=32, Resulting Numbers: [23, 6, 32]
Generated Node #0,1: 96:[23, 6, 32] Operation: 28+4=32
Exploring Operation: 28-4=24, Resulting Numbers: [23, 6, 24]
Generated Node #0,2: 96:[23, 6, 24] Operation: 28-4=24
Moving to Node #0,0
Current State: 96:[6, 4, 5], Operations: ['28-23=5']
Exploring Operation: 6*4=24, Resulting Numbers: [5, 24]
Generated Node #0,0,0: 96:[5, 24] Operation: 6*4=24
Exploring Operation: 6+5=11, Resulting Numbers: [4, 11]
Generated Node #0,0,1: 96:[4, 11] Operation: 6+5=11
Exploring Operation: 6-4=2, Resulting Numbers: [5, 2]
Generated Node #0,0,2: 96:[5, 2] Operation: 6-4=2
Moving to Node #0,1
Current State: 96:[23, 6, 32], Operations: ['28+4=32']
Exploring Operation: 23-6=17, Resulting Numbers: [32, 17]
Generated Node #0,1,0: 96:[32, 17] Operation: 23-6=17
Exploring Operation: 23+6=29, Resulting Numbers: [32, 29]
Generated Node #0,1,1: 96:[32, 29] Operation: 23+6=29
Exploring Operation: 32-23=9, Resulting Numbers: [6, 9]
Generated Node #0,1,2: 96:[6, 9] Operation: 32-23=9
Moving to Node #0,2
Current State: 96:[23, 6, 24], Operations: ['28-4=24']
Exploring Operation: 23-6=17, Resulting Numbers: [24, 17]
Generated Node #0,2,0: 96:[24, 17] Operation: 23-6=17
Exploring Operation: 23+24=47, Resulting Numbers: [6, 47]
Generated Node #0,2,1: 96:[6, 47] Operation: 23+24=47
Exploring Operation: 24-23=1, Resulting Numbers: [6, 1]
Generated Node #0,2,2: 96:[6, 1] Operation: 24-23=1
Moving to Node #0,0,0
Current State: 96:[5, 24], Operations: ['28-23=5', '6*4=24']
Exploring Operation: 5+24=29, Resulting Numbers: [29]
29,96 unequal: No Solution
Exploring Operation: 24-5=19, Resulting Numbers: [19]
19,96 unequal: No Solution
Exploring Operation: 5*24=120, Resulting Numbers: [120]
120,96 unequal: No Solution
Moving to Node #0,0,2
Current State: 96:[5, 2], Operations: ['28-23=5', '6-4=2']
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,96 unequal: No Solution
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,96 unequal: No Solution
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,96 unequal: No Solution
Moving to Node #0,2,0
Current State: 96:[24, 17], Operations: ['28-4=24', '23-6=17']
Exploring Operation: 24*17=408, Resulting Numbers: [408]
408,96 unequal: No Solution
Exploring Operation: 24-17=7, Resulting Numbers: [7]
7,96 unequal: No Solution
Exploring Operation: 24+17=41, Resulting Numbers: [41]
41,96 unequal: No Solution
Moving to Node #0,2,2
Current State: 96:[6, 1], Operations: ['28-4=24', '24-23=1']
Exploring Operation: 6+1=7, Resulting Numbers: [7]
7,96 unequal: No Solution
Exploring Operation: 6/1=6, Resulting Numbers: [6]
6,96 unequal: No Solution
Exploring Operation: 6*1=6, Resulting Numbers: [6]
6,96 unequal: No Solution
Moving to Node #0,2,1
Current State: 96:[6, 47], Operations: ['28-4=24', '23+24=47']
Exploring Operation: 47-6=41, Resulting Numbers: [41]
41,96 unequal: No Solution
Exploring Operation: 6+47=53, Resulting Numbers: [53]
53,96 unequal: No Solution
Exploring Operation: 6*47=282, Resulting Numbers: [282]
282,96 unequal: No Solution
Moving to Node #0,0,1
Current State: 96:[4, 11], Operations: ['28-23=5', '6+5=11']
Exploring Operation: 4+11=15, Resulting Numbers: [15]
15,96 unequal: No Solution
Exploring Operation: 4*11=44, Resulting Numbers: [44]
44,96 unequal: No Solution
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,96 unequal: No Solution
Moving to Node #0,1,0
Current State: 96:[32, 17], Operations: ['28+4=32', '23-6=17']
Exploring Operation: 32+17=49, Resulting Numbers: [49]
49,96 unequal: No Solution
Exploring Operation: 32*17=544, Resulting Numbers: [544]
544,96 unequal: No Solution
Exploring Operation: 32-17=15, Resulting Numbers: [15]
15,96 unequal: No Solution
Moving to Node #0,1,2
Current State: 96:[6, 9], Operations: ['28+4=32', '32-23=9']
Exploring Operation: 9-6=3, Resulting Numbers: [3]
3,96 unequal: No Solution
Exploring Operation: 6*9=54, Resulting Numbers: [54]
54,96 unequal: No Solution
Exploring Operation: 6+9=15, Resulting Numbers: [15]
15,96 unequal: No Solution
Moving to Node #0,1,1
Current State: 96:[32, 29], Operations: ['28+4=32', '23+6=29']
Exploring Operation: 32*29=928, Resulting Numbers: [928]
928,96 unequal: No Solution
Exploring Operation: 32+29=61, Resulting Numbers: [61]
61,96 unequal: No Solution
Exploring Operation: 32-29=3, Resulting Numbers: [3]
3,96 unequal: No Solution
No solution found.
| 0 |
hs_3
|
mult_heuristic
|
[
64,
67,
42,
41
] | 27 |
[
"67-64=3",
"42/3=14",
"41-14=27"
] |
Current State: 27:[64, 67, 42, 41], Operations: []
Exploring Operation: 67-64=3, Resulting Numbers: [42, 41, 3]
Generated Node #2: [42, 41, 3] from Operation: 67-64=3
Current State: 27:[42, 41, 3], Operations: ['67-64=3']
Exploring Operation: 42/3=14, Resulting Numbers: [41, 14]
Generated Node #3: [41, 14] from Operation: 42/3=14
Current State: 27:[41, 14], Operations: ['67-64=3', '42/3=14']
Exploring Operation: 41-14=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 |
Current State: 27:[64, 67, 42, 41], Operations: []
Exploring Operation: 67-64=3, Resulting Numbers: [42, 41, 3]
Generated Node #0,0: 27:[42, 41, 3] Operation: 67-64=3
Exploring Operation: 67-42=25, Resulting Numbers: [64, 41, 25]
Generated Node #0,1: 27:[64, 41, 25] Operation: 67-42=25
Exploring Operation: 67-41=26, Resulting Numbers: [64, 42, 26]
Generated Node #0,2: 27:[64, 42, 26] Operation: 67-41=26
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[42, 41, 3], Operations: ['67-64=3']
Exploring Operation: 42-3=39, Resulting Numbers: [41, 39]
Generated Node #0,0,0: 27:[41, 39] Operation: 42-3=39
Exploring Operation: 42-41=1, Resulting Numbers: [3, 1]
Generated Node #0,0,1: 27:[3, 1] Operation: 42-41=1
Exploring Operation: 42/3=14, Resulting Numbers: [41, 14]
Generated Node #0,0,2: 27:[41, 14] Operation: 42/3=14
Moving to Node #0,0,1
Current State: 27:[3, 1], Operations: ['67-64=3', '42-41=1']
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,27 unequal: No Solution
Exploring Operation: 3*1=3, Resulting Numbers: [3]
3,27 unequal: No Solution
Exploring Operation: 3+1=4, Resulting Numbers: [4]
4,27 unequal: No Solution
Moving to Node #0,0,2
Current State: 27:[41, 14], Operations: ['67-64=3', '42/3=14']
Exploring Operation: 41+14=55, Resulting Numbers: [55]
55,27 unequal: No Solution
Exploring Operation: 41-14=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[64, 67, 42, 41], Operations: []
Exploring Operation: 67-64=3, Resulting Numbers: [42, 41, 3]
Generated Node #0,0: 27:[42, 41, 3] Operation: 67-64=3
Moving to Node #0,0
Current State: 27:[42, 41, 3], Operations: ['67-64=3']
Exploring Operation: 42/3=14, Resulting Numbers: [41, 14]
Generated Node #0,0,2: 27:[41, 14] Operation: 42/3=14
Moving to Node #0,0,2
Current State: 27:[41, 14], Operations: ['67-64=3', '42/3=14']
Exploring Operation: 41-14=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 |
hs_3
|
sum_heuristic
|
[
90,
88,
97,
82
] | 86 |
[
"90-82=8",
"88/8=11",
"97-11=86"
] |
Current State: 86:[90, 88, 97, 82], Operations: []
Exploring Operation: 90-82=8, Resulting Numbers: [88, 97, 8]
Generated Node #2: [88, 97, 8] from Operation: 90-82=8
Current State: 86:[88, 97, 8], Operations: ['90-82=8']
Exploring Operation: 88/8=11, Resulting Numbers: [97, 11]
Generated Node #3: [97, 11] from Operation: 88/8=11
Current State: 86:[97, 11], Operations: ['90-82=8', '88/8=11']
Exploring Operation: 97-11=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 |
Current State: 86:[90, 88, 97, 82], Operations: []
Exploring Operation: 90-88=2, Resulting Numbers: [97, 82, 2]
Generated Node #0,0: 86:[97, 82, 2] Operation: 90-88=2
Exploring Operation: 97-90=7, Resulting Numbers: [88, 82, 7]
Generated Node #0,1: 86:[88, 82, 7] Operation: 97-90=7
Moving to Node #0,1
Current State: 86:[88, 82, 7], Operations: ['97-90=7']
Exploring Operation: 82+7=89, Resulting Numbers: [88, 89]
Generated Node #0,1,0: 86:[88, 89] Operation: 82+7=89
Exploring Operation: 88-82=6, Resulting Numbers: [7, 6]
Generated Node #0,1,1: 86:[7, 6] Operation: 88-82=6
Moving to Node #0,0
Current State: 86:[97, 82, 2], Operations: ['90-88=2']
Exploring Operation: 97-82=15, Resulting Numbers: [2, 15]
Generated Node #0,0,0: 86:[2, 15] Operation: 97-82=15
Exploring Operation: 97-2=95, Resulting Numbers: [82, 95]
Generated Node #0,0,1: 86:[82, 95] Operation: 97-2=95
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 86:[2, 15], Operations: ['90-88=2', '97-82=15']
Exploring Operation: 2*15=30, Resulting Numbers: [30]
30,86 unequal: No Solution
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,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,1
Current State: 86:[82, 95], Operations: ['90-88=2', '97-2=95']
Exploring Operation: 95-82=13, Resulting Numbers: [13]
13,86 unequal: No Solution
Exploring Operation: 82+95=177, Resulting Numbers: [177]
177,86 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: 86:[88, 89], Operations: ['97-90=7', '82+7=89']
Exploring Operation: 88+89=177, Resulting Numbers: [177]
177,86 unequal: No Solution
Exploring Operation: 89-88=1, Resulting Numbers: [1]
1,86 unequal: No Solution
Moving to Node #0,1,1
Current State: 86:[7, 6], Operations: ['97-90=7', '88-82=6']
Exploring Operation: 7*6=42, Resulting Numbers: [42]
42,86 unequal: No Solution
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,86 unequal: No Solution
No solution found.
| 0 |
hs_2
|
sum_heuristic
|
[
88,
68,
8,
93
] | 65 |
[
"88-68=20",
"93-8=85",
"85-20=65"
] |
Current State: 65:[88, 68, 8, 93], Operations: []
Exploring Operation: 88-68=20, Resulting Numbers: [8, 93, 20]
Generated Node #2: [8, 93, 20] from Operation: 88-68=20
Current State: 65:[8, 93, 20], Operations: ['88-68=20']
Exploring Operation: 93-8=85, Resulting Numbers: [20, 85]
Generated Node #3: [20, 85] from Operation: 93-8=85
Current State: 65:[20, 85], Operations: ['88-68=20', '93-8=85']
Exploring Operation: 85-20=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 |
Current State: 65:[88, 68, 8, 93], Operations: []
Exploring Operation: 93-88=5, Resulting Numbers: [68, 8, 5]
Generated Node #0,0: 65:[68, 8, 5] Operation: 93-88=5
Moving to Node #0,0
Current State: 65:[68, 8, 5], Operations: ['93-88=5']
Exploring Operation: 8+5=13, Resulting Numbers: [68, 13]
Generated Node #0,0,0: 65:[68, 13] Operation: 8+5=13
Moving to Node #0,0,0
Current State: 65:[68, 13], Operations: ['93-88=5', '8+5=13']
Exploring Operation: 68-13=55, Resulting Numbers: [55]
55,65 unequal: No Solution
No solution found.
| 0 |
hs_1
|
sum_heuristic
|
[
7,
51,
81,
50
] | 89 |
[
"7+51=58",
"81-50=31",
"58+31=89"
] |
Current State: 89:[7, 51, 81, 50], Operations: []
Exploring Operation: 7+51=58, Resulting Numbers: [81, 50, 58]
Generated Node #2: [81, 50, 58] from Operation: 7+51=58
Current State: 89:[81, 50, 58], Operations: ['7+51=58']
Exploring Operation: 81-50=31, Resulting Numbers: [58, 31]
Generated Node #3: [58, 31] from Operation: 81-50=31
Current State: 89:[58, 31], Operations: ['7+51=58', '81-50=31']
Exploring Operation: 58+31=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 |
Current State: 89:[7, 51, 81, 50], Operations: []
Exploring Operation: 7+50=57, Resulting Numbers: [51, 81, 57]
Generated Node #0,0: 89:[51, 81, 57] Operation: 7+50=57
Exploring Operation: 7+51=58, Resulting Numbers: [81, 50, 58]
Generated Node #0,1: 89:[81, 50, 58] Operation: 7+51=58
Exploring Operation: 7+81=88, Resulting Numbers: [51, 50, 88]
Generated Node #0,2: 89:[51, 50, 88] Operation: 7+81=88
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[51, 81, 57], Operations: ['7+50=57']
Exploring Operation: 51+57=108, Resulting Numbers: [81, 108]
Generated Node #0,0,0: 89:[81, 108] Operation: 51+57=108
Exploring Operation: 51+81=132, Resulting Numbers: [57, 132]
Generated Node #0,0,1: 89:[57, 132] Operation: 51+81=132
Exploring Operation: 81+57=138, Resulting Numbers: [51, 138]
Generated Node #0,0,2: 89:[51, 138] Operation: 81+57=138
Moving to Node #0,0,0
Current State: 89:[81, 108], Operations: ['7+50=57', '51+57=108']
Exploring Operation: 81*108=8748, Resulting Numbers: [8748]
8748,89 unequal: No Solution
Exploring Operation: 81+108=189, Resulting Numbers: [189]
189,89 unequal: No Solution
Exploring Operation: 108-81=27, Resulting Numbers: [27]
27,89 unequal: No Solution
Moving to Node #0,0,1
Current State: 89:[57, 132], Operations: ['7+50=57', '51+81=132']
Exploring Operation: 57+132=189, Resulting Numbers: [189]
189,89 unequal: No Solution
Exploring Operation: 132-57=75, Resulting Numbers: [75]
75,89 unequal: No Solution
Exploring Operation: 57*132=7524, Resulting Numbers: [7524]
7524,89 unequal: No Solution
Moving to Node #0,0,2
Current State: 89:[51, 138], Operations: ['7+50=57', '81+57=138']
Exploring Operation: 51+138=189, Resulting Numbers: [189]
189,89 unequal: No Solution
Exploring Operation: 51*138=7038, Resulting Numbers: [7038]
7038,89 unequal: No Solution
Exploring Operation: 138-51=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,1
Current State: 89:[81, 50, 58], Operations: ['7+51=58']
Exploring Operation: 50+58=108, Resulting Numbers: [81, 108]
Generated Node #0,1,0: 89:[81, 108] Operation: 50+58=108
Exploring Operation: 81-50=31, Resulting Numbers: [58, 31]
Generated Node #0,1,1: 89:[58, 31] Operation: 81-50=31
Exploring Operation: 81+50=131, Resulting Numbers: [58, 131]
Generated Node #0,1,2: 89:[58, 131] Operation: 81+50=131
Moving to Node #0,1,0
Current State: 89:[81, 108], Operations: ['7+51=58', '50+58=108']
Exploring Operation: 81*108=8748, Resulting Numbers: [8748]
8748,89 unequal: No Solution
Exploring Operation: 81+108=189, Resulting Numbers: [189]
189,89 unequal: No Solution
Exploring Operation: 108-81=27, Resulting Numbers: [27]
27,89 unequal: No Solution
Moving to Node #0,1,2
Current State: 89:[58, 131], Operations: ['7+51=58', '81+50=131']
Exploring Operation: 58*131=7598, Resulting Numbers: [7598]
7598,89 unequal: No Solution
Exploring Operation: 58+131=189, Resulting Numbers: [189]
189,89 unequal: No Solution
Exploring Operation: 131-58=73, Resulting Numbers: [73]
73,89 unequal: No Solution
Moving to Node #0,1,1
Current State: 89:[58, 31], Operations: ['7+51=58', '81-50=31']
Exploring Operation: 58+31=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[7, 51, 81, 50], Operations: []
Exploring Operation: 7+51=58, Resulting Numbers: [81, 50, 58]
Generated Node #0,1: 89:[81, 50, 58] Operation: 7+51=58
Moving to Node #0,1
Current State: 89:[81, 50, 58], Operations: ['7+51=58']
Exploring Operation: 81-50=31, Resulting Numbers: [58, 31]
Generated Node #0,1,1: 89:[58, 31] Operation: 81-50=31
Moving to Node #0,1,1
Current State: 89:[58, 31], Operations: ['7+51=58', '81-50=31']
Exploring Operation: 58+31=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Exit Sub Search at level 1
| 0.974826 |
hs_3
|
sum_heuristic
|
[
12,
4,
20,
21
] | 16 |
[
"12+4=16",
"21-20=1",
"16*1=16"
] |
Current State: 16:[12, 4, 20, 21], Operations: []
Exploring Operation: 12+4=16, Resulting Numbers: [20, 21, 16]
Generated Node #2: [20, 21, 16] from Operation: 12+4=16
Current State: 16:[20, 21, 16], Operations: ['12+4=16']
Exploring Operation: 21-20=1, Resulting Numbers: [16, 1]
Generated Node #3: [16, 1] from Operation: 21-20=1
Current State: 16:[16, 1], Operations: ['12+4=16', '21-20=1']
Exploring Operation: 16*1=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 |
Current State: 16:[12, 4, 20, 21], Operations: []
Exploring Operation: 21-20=1, Resulting Numbers: [12, 4, 1]
Generated Node #0,0: 16:[12, 4, 1] Operation: 21-20=1
Exploring Operation: 21-12=9, Resulting Numbers: [4, 20, 9]
Generated Node #0,1: 16:[4, 20, 9] Operation: 21-12=9
Exploring Operation: 20-12=8, Resulting Numbers: [4, 21, 8]
Generated Node #0,2: 16:[4, 21, 8] Operation: 20-12=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 16:[12, 4, 1], Operations: ['21-20=1']
Exploring Operation: 12/4=3, Resulting Numbers: [1, 3]
Generated Node #0,0,0: 16:[1, 3] Operation: 12/4=3
Exploring Operation: 12+4=16, Resulting Numbers: [1, 16]
Generated Node #0,0,1: 16:[1, 16] Operation: 12+4=16
Exploring Operation: 12-4=8, Resulting Numbers: [1, 8]
Generated Node #0,0,2: 16:[1, 8] Operation: 12-4=8
Moving to Node #0,0,1
Current State: 16:[1, 16], Operations: ['21-20=1', '12+4=16']
Exploring Operation: 16/1=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[12, 4, 20, 21], Operations: []
Exploring Operation: 21-20=1, Resulting Numbers: [12, 4, 1]
Generated Node #0,0: 16:[12, 4, 1] Operation: 21-20=1
Moving to Node #0,0
Current State: 16:[12, 4, 1], Operations: ['21-20=1']
Exploring Operation: 12+4=16, Resulting Numbers: [1, 16]
Generated Node #0,0,1: 16:[1, 16] Operation: 12+4=16
Moving to Node #0,0,1
Current State: 16:[1, 16], Operations: ['21-20=1', '12+4=16']
Exploring Operation: 16/1=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 |
hs_3
|
mult_heuristic
|
[
68,
13,
92,
58
] | 11 |
[
"92-58=34",
"68/34=2",
"13-2=11"
] |
Current State: 11:[68, 13, 92, 58], Operations: []
Exploring Operation: 92-58=34, Resulting Numbers: [68, 13, 34]
Generated Node #2: [68, 13, 34] from Operation: 92-58=34
Current State: 11:[68, 13, 34], Operations: ['92-58=34']
Exploring Operation: 68/34=2, Resulting Numbers: [13, 2]
Generated Node #3: [13, 2] from Operation: 68/34=2
Current State: 11:[13, 2], Operations: ['92-58=34', '68/34=2']
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 |
Current State: 11:[68, 13, 92, 58], Operations: []
Exploring Operation: 92-58=34, Resulting Numbers: [68, 13, 34]
Generated Node #0,0: 11:[68, 13, 34] Operation: 92-58=34
Exploring Operation: 92-68=24, Resulting Numbers: [13, 58, 24]
Generated Node #0,1: 11:[13, 58, 24] Operation: 92-68=24
Moving to Node #0,1
Current State: 11:[13, 58, 24], Operations: ['92-68=24']
Exploring Operation: 58-13=45, Resulting Numbers: [24, 45]
Generated Node #0,1,0: 11:[24, 45] Operation: 58-13=45
Exploring Operation: 58-24=34, Resulting Numbers: [13, 34]
Generated Node #0,1,1: 11:[13, 34] Operation: 58-24=34
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 11:[13, 34], Operations: ['92-68=24', '58-24=34']
Exploring Operation: 34-13=21, Resulting Numbers: [21]
21,11 unequal: No Solution
Exploring Operation: 13+34=47, Resulting Numbers: [47]
47,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 11:[24, 45], Operations: ['92-68=24', '58-13=45']
Exploring Operation: 24+45=69, Resulting Numbers: [69]
69,11 unequal: No Solution
Exploring Operation: 45-24=21, Resulting Numbers: [21]
21,11 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: 11:[68, 13, 34], Operations: ['92-58=34']
Exploring Operation: 68/34=2, Resulting Numbers: [13, 2]
Generated Node #0,0,0: 11:[13, 2] Operation: 68/34=2
Exploring Operation: 68-34=34, Resulting Numbers: [13, 34]
Generated Node #0,0,1: 11:[13, 34] Operation: 68-34=34
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 11:[13, 2], Operations: ['92-58=34', '68/34=2']
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[68, 13, 92, 58], Operations: []
Exploring Operation: 92-58=34, Resulting Numbers: [68, 13, 34]
Generated Node #0,0: 11:[68, 13, 34] Operation: 92-58=34
Moving to Node #0,0
Current State: 11:[68, 13, 34], Operations: ['92-58=34']
Exploring Operation: 68/34=2, Resulting Numbers: [13, 2]
Generated Node #0,0,0: 11:[13, 2] Operation: 68/34=2
Moving to Node #0,0,0
Current State: 11:[13, 2], Operations: ['92-58=34', '68/34=2']
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 |
hs_2
|
sum_heuristic
|
[
43,
75,
14,
56
] | 36 |
[
"75-43=32",
"56/14=4",
"32+4=36"
] |
Current State: 36:[43, 75, 14, 56], Operations: []
Exploring Operation: 75-43=32, Resulting Numbers: [14, 56, 32]
Generated Node #2: [14, 56, 32] from Operation: 75-43=32
Current State: 36:[14, 56, 32], Operations: ['75-43=32']
Exploring Operation: 56/14=4, Resulting Numbers: [32, 4]
Generated Node #3: [32, 4] from Operation: 56/14=4
Current State: 36:[32, 4], Operations: ['75-43=32', '56/14=4']
Exploring Operation: 32+4=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 |
Current State: 36:[43, 75, 14, 56], Operations: []
Exploring Operation: 75-56=19, Resulting Numbers: [43, 14, 19]
Generated Node #0,0: 36:[43, 14, 19] Operation: 75-56=19
Moving to Node #0,0
Current State: 36:[43, 14, 19], Operations: ['75-56=19']
Exploring Operation: 43-14=29, Resulting Numbers: [19, 29]
Generated Node #0,0,0: 36:[19, 29] Operation: 43-14=29
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 36:[19, 29], Operations: ['75-56=19', '43-14=29']
Exploring Operation: 29-19=10, Resulting Numbers: [10]
10,36 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
|
[
29,
13,
8,
4
] | 79 |
[
"29-4=25",
"13*8=104",
"104-25=79"
] |
Current State: 79:[29, 13, 8, 4], Operations: []
Exploring Operation: 29-4=25, Resulting Numbers: [13, 8, 25]
Generated Node #2: [13, 8, 25] from Operation: 29-4=25
Current State: 79:[13, 8, 25], Operations: ['29-4=25']
Exploring Operation: 13*8=104, Resulting Numbers: [25, 104]
Generated Node #3: [25, 104] from Operation: 13*8=104
Current State: 79:[25, 104], Operations: ['29-4=25', '13*8=104']
Exploring Operation: 104-25=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 |
Current State: 79:[29, 13, 8, 4], Operations: []
Exploring Operation: 13*4=52, Resulting Numbers: [29, 8, 52]
Generated Node #0,0: 79:[29, 8, 52] Operation: 13*4=52
Exploring Operation: 13*8=104, Resulting Numbers: [29, 4, 104]
Generated Node #0,1: 79:[29, 4, 104] Operation: 13*8=104
Exploring Operation: 8*4=32, Resulting Numbers: [29, 13, 32]
Generated Node #0,2: 79:[29, 13, 32] Operation: 8*4=32
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[29, 8, 52], Operations: ['13*4=52']
Exploring Operation: 8+52=60, Resulting Numbers: [29, 60]
Generated Node #0,0,0: 79:[29, 60] Operation: 8+52=60
Exploring Operation: 29+52=81, Resulting Numbers: [8, 81]
Generated Node #0,0,1: 79:[8, 81] Operation: 29+52=81
Exploring Operation: 29+8=37, Resulting Numbers: [52, 37]
Generated Node #0,0,2: 79:[52, 37] Operation: 29+8=37
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 79:[29, 60], Operations: ['13*4=52', '8+52=60']
Exploring Operation: 29+60=89, Resulting Numbers: [89]
89,79 unequal: No Solution
Exploring Operation: 29*60=1740, Resulting Numbers: [1740]
1740,79 unequal: No Solution
Exploring Operation: 60-29=31, Resulting Numbers: [31]
31,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 79:[52, 37], Operations: ['13*4=52', '29+8=37']
Exploring Operation: 52*37=1924, Resulting Numbers: [1924]
1924,79 unequal: No Solution
Exploring Operation: 52-37=15, Resulting Numbers: [15]
15,79 unequal: No Solution
Exploring Operation: 52+37=89, Resulting Numbers: [89]
89,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 79:[8, 81], Operations: ['13*4=52', '29+52=81']
Exploring Operation: 8*81=648, Resulting Numbers: [648]
648,79 unequal: No Solution
Exploring Operation: 8+81=89, Resulting Numbers: [89]
89,79 unequal: No Solution
Exploring Operation: 81-8=73, Resulting Numbers: [73]
73,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 79:[29, 4, 104], Operations: ['13*8=104']
Exploring Operation: 29+4=33, Resulting Numbers: [104, 33]
Generated Node #0,1,0: 79:[104, 33] Operation: 29+4=33
Exploring Operation: 29*4=116, Resulting Numbers: [104, 116]
Generated Node #0,1,1: 79:[104, 116] Operation: 29*4=116
Exploring Operation: 104-4=100, Resulting Numbers: [29, 100]
Generated Node #0,1,2: 79:[29, 100] Operation: 104-4=100
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 79:[104, 116], Operations: ['13*8=104', '29*4=116']
Exploring Operation: 116-104=12, Resulting Numbers: [12]
12,79 unequal: No Solution
Exploring Operation: 104+116=220, Resulting Numbers: [220]
220,79 unequal: No Solution
Exploring Operation: 104*116=12064, Resulting Numbers: [12064]
12064,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 79:[104, 33], Operations: ['13*8=104', '29+4=33']
Exploring Operation: 104*33=3432, Resulting Numbers: [3432]
3432,79 unequal: No Solution
Exploring Operation: 104+33=137, Resulting Numbers: [137]
137,79 unequal: No Solution
Exploring Operation: 104-33=71, Resulting Numbers: [71]
71,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 79:[29, 100], Operations: ['13*8=104', '104-4=100']
Exploring Operation: 29+100=129, Resulting Numbers: [129]
129,79 unequal: No Solution
Exploring Operation: 100-29=71, Resulting Numbers: [71]
71,79 unequal: No Solution
Exploring Operation: 29*100=2900, Resulting Numbers: [2900]
2900,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 79:[29, 13, 32], Operations: ['8*4=32']
Exploring Operation: 13+32=45, Resulting Numbers: [29, 45]
Generated Node #0,2,0: 79:[29, 45] Operation: 13+32=45
Exploring Operation: 29+13=42, Resulting Numbers: [32, 42]
Generated Node #0,2,1: 79:[32, 42] Operation: 29+13=42
Exploring Operation: 29+32=61, Resulting Numbers: [13, 61]
Generated Node #0,2,2: 79:[13, 61] Operation: 29+32=61
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 79:[29, 45], Operations: ['8*4=32', '13+32=45']
Exploring Operation: 45-29=16, Resulting Numbers: [16]
16,79 unequal: No Solution
Exploring Operation: 29+45=74, Resulting Numbers: [74]
74,79 unequal: No Solution
Exploring Operation: 29*45=1305, Resulting Numbers: [1305]
1305,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 79:[32, 42], Operations: ['8*4=32', '29+13=42']
Exploring Operation: 32+42=74, Resulting Numbers: [74]
74,79 unequal: No Solution
Exploring Operation: 42-32=10, Resulting Numbers: [10]
10,79 unequal: No Solution
Exploring Operation: 32*42=1344, Resulting Numbers: [1344]
1344,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 79:[13, 61], Operations: ['8*4=32', '29+32=61']
Exploring Operation: 61-13=48, Resulting Numbers: [48]
48,79 unequal: No Solution
Exploring Operation: 13+61=74, Resulting Numbers: [74]
74,79 unequal: No Solution
Exploring Operation: 13*61=793, Resulting Numbers: [793]
793,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_3
|
mult_heuristic
|
[
17,
10,
80,
75
] | 18 |
[
"17*80=1360",
"1360-10=1350",
"1350/75=18"
] |
Current State: 18:[17, 10, 80, 75], Operations: []
Exploring Operation: 17*80=1360, Resulting Numbers: [10, 75, 1360]
Generated Node #2: [10, 75, 1360] from Operation: 17*80=1360
Current State: 18:[10, 75, 1360], Operations: ['17*80=1360']
Exploring Operation: 1360-10=1350, Resulting Numbers: [75, 1350]
Generated Node #3: [75, 1350] from Operation: 1360-10=1350
Current State: 18:[75, 1350], Operations: ['17*80=1360', '1360-10=1350']
Exploring Operation: 1350/75=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 |
Current State: 18:[17, 10, 80, 75], Operations: []
Exploring Operation: 80-75=5, Resulting Numbers: [17, 10, 5]
Generated Node #0,0: 18:[17, 10, 5] Operation: 80-75=5
Exploring Operation: 80/10=8, Resulting Numbers: [17, 75, 8]
Generated Node #0,1: 18:[17, 75, 8] Operation: 80/10=8
Exploring Operation: 75-17=58, Resulting Numbers: [10, 80, 58]
Generated Node #0,2: 18:[10, 80, 58] Operation: 75-17=58
Exploring Operation: 80-17=63, Resulting Numbers: [10, 75, 63]
Generated Node #0,3: 18:[10, 75, 63] Operation: 80-17=63
Moving to Node #0,0
Current State: 18:[17, 10, 5], Operations: ['80-75=5']
Exploring Operation: 10/5=2, Resulting Numbers: [17, 2]
Generated Node #0,0,0: 18:[17, 2] Operation: 10/5=2
Exploring Operation: 17-10=7, Resulting Numbers: [5, 7]
Generated Node #0,0,1: 18:[5, 7] Operation: 17-10=7
Exploring Operation: 10-5=5, Resulting Numbers: [17, 5]
Generated Node #0,0,2: 18:[17, 5] Operation: 10-5=5
Exploring Operation: 17-5=12, Resulting Numbers: [10, 12]
Generated Node #0,0,3: 18:[10, 12] Operation: 17-5=12
Moving to Node #0,1
Current State: 18:[17, 75, 8], Operations: ['80/10=8']
Exploring Operation: 75-8=67, Resulting Numbers: [17, 67]
Generated Node #0,1,0: 18:[17, 67] Operation: 75-8=67
Exploring Operation: 75-17=58, Resulting Numbers: [8, 58]
Generated Node #0,1,1: 18:[8, 58] Operation: 75-17=58
Exploring Operation: 17+8=25, Resulting Numbers: [75, 25]
Generated Node #0,1,2: 18:[75, 25] Operation: 17+8=25
Exploring Operation: 17-8=9, Resulting Numbers: [75, 9]
Generated Node #0,1,3: 18:[75, 9] Operation: 17-8=9
Moving to Node #0,3
Current State: 18:[10, 75, 63], Operations: ['80-17=63']
Exploring Operation: 75-10=65, Resulting Numbers: [63, 65]
Generated Node #0,3,0: 18:[63, 65] Operation: 75-10=65
Exploring Operation: 10+75=85, Resulting Numbers: [63, 85]
Generated Node #0,3,1: 18:[63, 85] Operation: 10+75=85
Exploring Operation: 75-63=12, Resulting Numbers: [10, 12]
Generated Node #0,3,2: 18:[10, 12] Operation: 75-63=12
Exploring Operation: 63-10=53, Resulting Numbers: [75, 53]
Generated Node #0,3,3: 18:[75, 53] Operation: 63-10=53
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 18:[10, 12], Operations: ['80-17=63', '75-63=12']
Exploring Operation: 10*12=120, Resulting Numbers: [120]
120,18 unequal: No Solution
Exploring Operation: 12-10=2, Resulting Numbers: [2]
2,18 unequal: No Solution
Exploring Operation: 10+12=22, Resulting Numbers: [22]
22,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 18:[63, 65], Operations: ['80-17=63', '75-10=65']
Exploring Operation: 63+65=128, Resulting Numbers: [128]
128,18 unequal: No Solution
Exploring Operation: 65-63=2, Resulting Numbers: [2]
2,18 unequal: No Solution
Exploring Operation: 63*65=4095, Resulting Numbers: [4095]
4095,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 18:[75, 53], Operations: ['80-17=63', '63-10=53']
Exploring Operation: 75*53=3975, Resulting Numbers: [3975]
3975,18 unequal: No Solution
Exploring Operation: 75+53=128, Resulting Numbers: [128]
128,18 unequal: No Solution
Exploring Operation: 75-53=22, Resulting Numbers: [22]
22,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 18:[63, 85], Operations: ['80-17=63', '10+75=85']
Exploring Operation: 63*85=5355, Resulting Numbers: [5355]
5355,18 unequal: No Solution
Exploring Operation: 85-63=22, Resulting Numbers: [22]
22,18 unequal: No Solution
Exploring Operation: 63+85=148, Resulting Numbers: [148]
148,18 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: 18:[10, 80, 58], Operations: ['75-17=58']
Exploring Operation: 80-58=22, Resulting Numbers: [10, 22]
Generated Node #0,2,0: 18:[10, 22] Operation: 80-58=22
Exploring Operation: 80/10=8, Resulting Numbers: [58, 8]
Generated Node #0,2,1: 18:[58, 8] Operation: 80/10=8
Exploring Operation: 58-10=48, Resulting Numbers: [80, 48]
Generated Node #0,2,2: 18:[80, 48] Operation: 58-10=48
Exploring Operation: 80-10=70, Resulting Numbers: [58, 70]
Generated Node #0,2,3: 18:[58, 70] Operation: 80-10=70
Moving to Node #0,0,0
Current State: 18:[17, 2], Operations: ['80-75=5', '10/5=2']
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,18 unequal: No Solution
Exploring Operation: 17*2=34, Resulting Numbers: [34]
34,18 unequal: No Solution
Exploring Operation: 17+2=19, Resulting Numbers: [19]
19,18 unequal: No Solution
Moving to Node #0,0,2
Current State: 18:[17, 5], Operations: ['80-75=5', '10-5=5']
Exploring Operation: 17*5=85, Resulting Numbers: [85]
85,18 unequal: No Solution
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,18 unequal: No Solution
Exploring Operation: 17+5=22, Resulting Numbers: [22]
22,18 unequal: No Solution
Moving to Node #0,0,1
Current State: 18:[5, 7], Operations: ['80-75=5', '17-10=7']
Exploring Operation: 5+7=12, Resulting Numbers: [12]
12,18 unequal: No Solution
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,18 unequal: No Solution
Exploring Operation: 5*7=35, Resulting Numbers: [35]
35,18 unequal: No Solution
Moving to Node #0,0,3
Current State: 18:[10, 12], Operations: ['80-75=5', '17-5=12']
Exploring Operation: 12-10=2, Resulting Numbers: [2]
2,18 unequal: No Solution
Exploring Operation: 10+12=22, Resulting Numbers: [22]
22,18 unequal: No Solution
Exploring Operation: 10*12=120, Resulting Numbers: [120]
120,18 unequal: No Solution
Moving to Node #0,2,0
Current State: 18:[10, 22], Operations: ['75-17=58', '80-58=22']
Exploring Operation: 10*22=220, Resulting Numbers: [220]
220,18 unequal: No Solution
Exploring Operation: 10+22=32, Resulting Numbers: [32]
32,18 unequal: No Solution
Exploring Operation: 22-10=12, Resulting Numbers: [12]
12,18 unequal: No Solution
Moving to Node #0,1,1
Current State: 18:[8, 58], Operations: ['80/10=8', '75-17=58']
Exploring Operation: 58-8=50, Resulting Numbers: [50]
50,18 unequal: No Solution
Exploring Operation: 8*58=464, Resulting Numbers: [464]
464,18 unequal: No Solution
Exploring Operation: 8+58=66, Resulting Numbers: [66]
66,18 unequal: No Solution
Moving to Node #0,2,1
Current State: 18:[58, 8], Operations: ['75-17=58', '80/10=8']
Exploring Operation: 58*8=464, Resulting Numbers: [464]
464,18 unequal: No Solution
Exploring Operation: 58-8=50, Resulting Numbers: [50]
50,18 unequal: No Solution
Exploring Operation: 58+8=66, Resulting Numbers: [66]
66,18 unequal: No Solution
Moving to Node #0,1,0
Current State: 18:[17, 67], Operations: ['80/10=8', '75-8=67']
Exploring Operation: 17*67=1139, Resulting Numbers: [1139]
1139,18 unequal: No Solution
Exploring Operation: 17+67=84, Resulting Numbers: [84]
84,18 unequal: No Solution
Exploring Operation: 67-17=50, Resulting Numbers: [50]
50,18 unequal: No Solution
Moving to Node #0,1,3
Current State: 18:[75, 9], Operations: ['80/10=8', '17-8=9']
Exploring Operation: 75*9=675, Resulting Numbers: [675]
675,18 unequal: No Solution
Exploring Operation: 75-9=66, Resulting Numbers: [66]
66,18 unequal: No Solution
Exploring Operation: 75+9=84, Resulting Numbers: [84]
84,18 unequal: No Solution
Moving to Node #0,1,2
Current State: 18:[75, 25], Operations: ['80/10=8', '17+8=25']
Exploring Operation: 75*25=1875, Resulting Numbers: [1875]
1875,18 unequal: No Solution
Exploring Operation: 75/25=3, Resulting Numbers: [3]
3,18 unequal: No Solution
Exploring Operation: 75-25=50, Resulting Numbers: [50]
50,18 unequal: No Solution
Exploring Operation: 75+25=100, Resulting Numbers: [100]
100,18 unequal: No Solution
Moving to Node #0,2,2
Current State: 18:[80, 48], Operations: ['75-17=58', '58-10=48']
Exploring Operation: 80-48=32, Resulting Numbers: [32]
32,18 unequal: No Solution
Exploring Operation: 80+48=128, Resulting Numbers: [128]
128,18 unequal: No Solution
Exploring Operation: 80*48=3840, Resulting Numbers: [3840]
3840,18 unequal: No Solution
Moving to Node #0,2,3
Current State: 18:[58, 70], Operations: ['75-17=58', '80-10=70']
Exploring Operation: 58+70=128, Resulting Numbers: [128]
128,18 unequal: No Solution
Exploring Operation: 58*70=4060, Resulting Numbers: [4060]
4060,18 unequal: No Solution
Exploring Operation: 70-58=12, Resulting Numbers: [12]
12,18 unequal: No Solution
No solution found.
| 0 |
hs_4
|
sum_heuristic
|
[
19,
13,
11,
82
] | 55 |
[
"13+82=95",
"95/19=5",
"11*5=55"
] |
Current State: 55:[19, 13, 11, 82], Operations: []
Exploring Operation: 13+82=95, Resulting Numbers: [19, 11, 95]
Generated Node #2: [19, 11, 95] from Operation: 13+82=95
Current State: 55:[19, 11, 95], Operations: ['13+82=95']
Exploring Operation: 95/19=5, Resulting Numbers: [11, 5]
Generated Node #3: [11, 5] from Operation: 95/19=5
Current State: 55:[11, 5], Operations: ['13+82=95', '95/19=5']
Exploring Operation: 11*5=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 |
Current State: 55:[19, 13, 11, 82], Operations: []
Exploring Operation: 82-19=63, Resulting Numbers: [13, 11, 63]
Generated Node #0,0: 55:[13, 11, 63] Operation: 82-19=63
Exploring Operation: 82-11=71, Resulting Numbers: [19, 13, 71]
Generated Node #0,1: 55:[19, 13, 71] Operation: 82-11=71
Exploring Operation: 19-13=6, Resulting Numbers: [11, 82, 6]
Generated Node #0,2: 55:[11, 82, 6] Operation: 19-13=6
Exploring Operation: 82-13=69, Resulting Numbers: [19, 11, 69]
Generated Node #0,3: 55:[19, 11, 69] Operation: 82-13=69
Moving to Node #0,0
Current State: 55:[13, 11, 63], Operations: ['82-19=63']
Exploring Operation: 63-13=50, Resulting Numbers: [11, 50]
Generated Node #0,0,0: 55:[11, 50] Operation: 63-13=50
Exploring Operation: 63-11=52, Resulting Numbers: [13, 52]
Generated Node #0,0,1: 55:[13, 52] Operation: 63-11=52
Exploring Operation: 13+11=24, Resulting Numbers: [63, 24]
Generated Node #0,0,2: 55:[63, 24] Operation: 13+11=24
Exploring Operation: 13-11=2, Resulting Numbers: [63, 2]
Generated Node #0,0,3: 55:[63, 2] Operation: 13-11=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 55:[11, 50], Operations: ['82-19=63', '63-13=50']
Exploring Operation: 11+50=61, Resulting Numbers: [61]
61,55 unequal: No Solution
Exploring Operation: 11*50=550, Resulting Numbers: [550]
550,55 unequal: No Solution
Exploring Operation: 50-11=39, Resulting Numbers: [39]
39,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:[13, 52], Operations: ['82-19=63', '63-11=52']
Exploring Operation: 52-13=39, Resulting Numbers: [39]
39,55 unequal: No Solution
Exploring Operation: 52/13=4, Resulting Numbers: [4]
4,55 unequal: No Solution
Exploring Operation: 13*52=676, Resulting Numbers: [676]
676,55 unequal: No Solution
Exploring Operation: 13+52=65, Resulting Numbers: [65]
65,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,3
Current State: 55:[63, 2], Operations: ['82-19=63', '13-11=2']
Exploring Operation: 63-2=61, Resulting Numbers: [61]
61,55 unequal: No Solution
Exploring Operation: 63*2=126, Resulting Numbers: [126]
126,55 unequal: No Solution
Exploring Operation: 63+2=65, Resulting Numbers: [65]
65,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:[63, 24], Operations: ['82-19=63', '13+11=24']
Exploring Operation: 63*24=1512, Resulting Numbers: [1512]
1512,55 unequal: No Solution
Exploring Operation: 63-24=39, Resulting Numbers: [39]
39,55 unequal: No Solution
Exploring Operation: 63+24=87, Resulting Numbers: [87]
87,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:[19, 11, 69], Operations: ['82-13=69']
Exploring Operation: 69-11=58, Resulting Numbers: [19, 58]
Generated Node #0,3,0: 55:[19, 58] Operation: 69-11=58
Exploring Operation: 19+11=30, Resulting Numbers: [69, 30]
Generated Node #0,3,1: 55:[69, 30] Operation: 19+11=30
Exploring Operation: 19-11=8, Resulting Numbers: [69, 8]
Generated Node #0,3,2: 55:[69, 8] Operation: 19-11=8
Exploring Operation: 69-19=50, Resulting Numbers: [11, 50]
Generated Node #0,3,3: 55:[11, 50] Operation: 69-19=50
Moving to Node #0,1
Current State: 55:[19, 13, 71], Operations: ['82-11=71']
Exploring Operation: 71-13=58, Resulting Numbers: [19, 58]
Generated Node #0,1,0: 55:[19, 58] Operation: 71-13=58
Exploring Operation: 19+13=32, Resulting Numbers: [71, 32]
Generated Node #0,1,1: 55:[71, 32] Operation: 19+13=32
Exploring Operation: 19-13=6, Resulting Numbers: [71, 6]
Generated Node #0,1,2: 55:[71, 6] Operation: 19-13=6
Exploring Operation: 71-19=52, Resulting Numbers: [13, 52]
Generated Node #0,1,3: 55:[13, 52] Operation: 71-19=52
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 55:[13, 52], Operations: ['82-11=71', '71-19=52']
Exploring Operation: 52-13=39, Resulting Numbers: [39]
39,55 unequal: No Solution
Exploring Operation: 13*52=676, Resulting Numbers: [676]
676,55 unequal: No Solution
Exploring Operation: 52/13=4, Resulting Numbers: [4]
4,55 unequal: No Solution
Exploring Operation: 13+52=65, Resulting Numbers: [65]
65,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 55:[19, 58], Operations: ['82-11=71', '71-13=58']
Exploring Operation: 19*58=1102, Resulting Numbers: [1102]
1102,55 unequal: No Solution
Exploring Operation: 58-19=39, Resulting Numbers: [39]
39,55 unequal: No Solution
Exploring Operation: 19+58=77, Resulting Numbers: [77]
77,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 55:[71, 6], Operations: ['82-11=71', '19-13=6']
Exploring Operation: 71-6=65, Resulting Numbers: [65]
65,55 unequal: No Solution
Exploring Operation: 71+6=77, Resulting Numbers: [77]
77,55 unequal: No Solution
Exploring Operation: 71*6=426, Resulting Numbers: [426]
426,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 55:[71, 32], Operations: ['82-11=71', '19+13=32']
Exploring Operation: 71*32=2272, Resulting Numbers: [2272]
2272,55 unequal: No Solution
Exploring Operation: 71+32=103, Resulting Numbers: [103]
103,55 unequal: No Solution
Exploring Operation: 71-32=39, Resulting Numbers: [39]
39,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:[11, 82, 6], Operations: ['19-13=6']
Exploring Operation: 11-6=5, Resulting Numbers: [82, 5]
Generated Node #0,2,0: 55:[82, 5] Operation: 11-6=5
Exploring Operation: 11+6=17, Resulting Numbers: [82, 17]
Generated Node #0,2,1: 55:[82, 17] Operation: 11+6=17
Exploring Operation: 82-11=71, Resulting Numbers: [6, 71]
Generated Node #0,2,2: 55:[6, 71] Operation: 82-11=71
Exploring Operation: 82-6=76, Resulting Numbers: [11, 76]
Generated Node #0,2,3: 55:[11, 76] Operation: 82-6=76
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 55:[6, 71], Operations: ['19-13=6', '82-11=71']
Exploring Operation: 71-6=65, Resulting Numbers: [65]
65,55 unequal: No Solution
Exploring Operation: 6*71=426, Resulting Numbers: [426]
426,55 unequal: No Solution
Exploring Operation: 6+71=77, Resulting Numbers: [77]
77,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,3
Current State: 55:[11, 76], Operations: ['19-13=6', '82-6=76']
Exploring Operation: 76-11=65, Resulting Numbers: [65]
65,55 unequal: No Solution
Exploring Operation: 11+76=87, Resulting Numbers: [87]
87,55 unequal: No Solution
Exploring Operation: 11*76=836, Resulting Numbers: [836]
836,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:[82, 5], Operations: ['19-13=6', '11-6=5']
Exploring Operation: 82-5=77, Resulting Numbers: [77]
77,55 unequal: No Solution
Exploring Operation: 82*5=410, Resulting Numbers: [410]
410,55 unequal: No Solution
Exploring Operation: 82+5=87, Resulting Numbers: [87]
87,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:[82, 17], Operations: ['19-13=6', '11+6=17']
Exploring Operation: 82+17=99, Resulting Numbers: [99]
99,55 unequal: No Solution
Exploring Operation: 82*17=1394, Resulting Numbers: [1394]
1394,55 unequal: No Solution
Exploring Operation: 82-17=65, Resulting Numbers: [65]
65,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,3
Current State: 55:[11, 50], Operations: ['82-13=69', '69-19=50']
Exploring Operation: 50-11=39, Resulting Numbers: [39]
39,55 unequal: No Solution
Exploring Operation: 11*50=550, Resulting Numbers: [550]
550,55 unequal: No Solution
Exploring Operation: 11+50=61, Resulting Numbers: [61]
61,55 unequal: No Solution
Moving to Node #0,3,0
Current State: 55:[19, 58], Operations: ['82-13=69', '69-11=58']
Exploring Operation: 58-19=39, Resulting Numbers: [39]
39,55 unequal: No Solution
Exploring Operation: 19*58=1102, Resulting Numbers: [1102]
1102,55 unequal: No Solution
Exploring Operation: 19+58=77, Resulting Numbers: [77]
77,55 unequal: No Solution
Moving to Node #0,3,2
Current State: 55:[69, 8], Operations: ['82-13=69', '19-11=8']
Exploring Operation: 69-8=61, Resulting Numbers: [61]
61,55 unequal: No Solution
Exploring Operation: 69+8=77, Resulting Numbers: [77]
77,55 unequal: No Solution
Exploring Operation: 69*8=552, Resulting Numbers: [552]
552,55 unequal: No Solution
Moving to Node #0,3,1
Current State: 55:[69, 30], Operations: ['82-13=69', '19+11=30']
Exploring Operation: 69*30=2070, Resulting Numbers: [2070]
2070,55 unequal: No Solution
Exploring Operation: 69-30=39, Resulting Numbers: [39]
39,55 unequal: No Solution
Exploring Operation: 69+30=99, Resulting Numbers: [99]
99,55 unequal: No Solution
No solution found.
| 0 |
hs_4
|
sum_heuristic
|
[
34,
39,
37,
24
] | 82 |
[
"39-37=2",
"24*2=48",
"34+48=82"
] |
Current State: 82:[34, 39, 37, 24], Operations: []
Exploring Operation: 39-37=2, Resulting Numbers: [34, 24, 2]
Generated Node #2: [34, 24, 2] from Operation: 39-37=2
Current State: 82:[34, 24, 2], Operations: ['39-37=2']
Exploring Operation: 24*2=48, Resulting Numbers: [34, 48]
Generated Node #3: [34, 48] from Operation: 24*2=48
Current State: 82:[34, 48], Operations: ['39-37=2', '24*2=48']
Exploring Operation: 34+48=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 |
Current State: 82:[34, 39, 37, 24], Operations: []
Exploring Operation: 34-24=10, Resulting Numbers: [39, 37, 10]
Generated Node #0,0: 82:[39, 37, 10] Operation: 34-24=10
Moving to Node #0,0
Current State: 82:[39, 37, 10], Operations: ['34-24=10']
Exploring Operation: 39-37=2, Resulting Numbers: [10, 2]
Generated Node #0,0,0: 82:[10, 2] Operation: 39-37=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 82:[10, 2], Operations: ['34-24=10', '39-37=2']
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
mult_heuristic
|
[
5,
87,
9,
54
] | 87 |
[
"54/9=6",
"6-5=1",
"87*1=87"
] |
Current State: 87:[5, 87, 9, 54], Operations: []
Exploring Operation: 54/9=6, Resulting Numbers: [5, 87, 6]
Generated Node #2: [5, 87, 6] from Operation: 54/9=6
Current State: 87:[5, 87, 6], Operations: ['54/9=6']
Exploring Operation: 6-5=1, Resulting Numbers: [87, 1]
Generated Node #3: [87, 1] from Operation: 6-5=1
Current State: 87:[87, 1], Operations: ['54/9=6', '6-5=1']
Exploring Operation: 87*1=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 |
Current State: 87:[5, 87, 9, 54], Operations: []
Exploring Operation: 54/9=6, Resulting Numbers: [5, 87, 6]
Generated Node #0,0: 87:[5, 87, 6] Operation: 54/9=6
Moving to Node #0,0
Current State: 87:[5, 87, 6], Operations: ['54/9=6']
Exploring Operation: 5*6=30, Resulting Numbers: [87, 30]
Generated Node #0,0,0: 87:[87, 30] Operation: 5*6=30
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 87:[87, 30], Operations: ['54/9=6', '5*6=30']
Exploring Operation: 87-30=57, Resulting Numbers: [57]
57,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
|
sum_heuristic
|
[
88,
90,
62,
59
] | 94 |
[
"88*62=5456",
"90+5456=5546",
"5546/59=94"
] |
Current State: 94:[88, 90, 62, 59], Operations: []
Exploring Operation: 88*62=5456, Resulting Numbers: [90, 59, 5456]
Generated Node #2: [90, 59, 5456] from Operation: 88*62=5456
Current State: 94:[90, 59, 5456], Operations: ['88*62=5456']
Exploring Operation: 90+5456=5546, Resulting Numbers: [59, 5546]
Generated Node #3: [59, 5546] from Operation: 90+5456=5546
Current State: 94:[59, 5546], Operations: ['88*62=5456', '90+5456=5546']
Exploring Operation: 5546/59=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 |
Current State: 94:[88, 90, 62, 59], Operations: []
Exploring Operation: 90-88=2, Resulting Numbers: [62, 59, 2]
Generated Node #0,0: 94:[62, 59, 2] Operation: 90-88=2
Exploring Operation: 62-59=3, Resulting Numbers: [88, 90, 3]
Generated Node #0,1: 94:[88, 90, 3] Operation: 62-59=3
Start Sub Search at level 1: Moving to Node #0,1
Current State: 94:[88, 90, 3], Operations: ['62-59=3']
Exploring Operation: 90-88=2, Resulting Numbers: [3, 2]
Generated Node #0,1,0: 94:[3, 2] Operation: 90-88=2
Exploring Operation: 88+3=91, Resulting Numbers: [90, 91]
Generated Node #0,1,1: 94:[90, 91] Operation: 88+3=91
Moving to Node #0,1,0
Current State: 94:[3, 2], Operations: ['62-59=3', '90-88=2']
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,94 unequal: No Solution
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,94 unequal: No Solution
Moving to Node #0,1,1
Current State: 94:[90, 91], Operations: ['62-59=3', '88+3=91']
Exploring Operation: 90+91=181, Resulting Numbers: [181]
181,94 unequal: No Solution
Exploring Operation: 91-90=1, Resulting Numbers: [1]
1,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[62, 59, 2], Operations: ['90-88=2']
Exploring Operation: 62-2=60, Resulting Numbers: [59, 60]
Generated Node #0,0,0: 94:[59, 60] Operation: 62-2=60
Exploring Operation: 62-59=3, Resulting Numbers: [2, 3]
Generated Node #0,0,1: 94:[2, 3] Operation: 62-59=3
Moving to Node #0,0,1
Current State: 94:[2, 3], Operations: ['90-88=2', '62-59=3']
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,94 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,94 unequal: No Solution
Moving to Node #0,0,0
Current State: 94:[59, 60], Operations: ['90-88=2', '62-2=60']
Exploring Operation: 59+60=119, Resulting Numbers: [119]
119,94 unequal: No Solution
Exploring Operation: 60-59=1, Resulting Numbers: [1]
1,94 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
|
[
19,
28,
4,
5
] | 43 |
[
"19*4=76",
"28+5=33",
"76-33=43"
] |
Current State: 43:[19, 28, 4, 5], Operations: []
Exploring Operation: 19*4=76, Resulting Numbers: [28, 5, 76]
Generated Node #2: [28, 5, 76] from Operation: 19*4=76
Current State: 43:[28, 5, 76], Operations: ['19*4=76']
Exploring Operation: 28+5=33, Resulting Numbers: [76, 33]
Generated Node #3: [76, 33] from Operation: 28+5=33
Current State: 43:[76, 33], Operations: ['19*4=76', '28+5=33']
Exploring Operation: 76-33=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 |
Current State: 43:[19, 28, 4, 5], Operations: []
Exploring Operation: 28+5=33, Resulting Numbers: [19, 4, 33]
Generated Node #0,0: 43:[19, 4, 33] Operation: 28+5=33
Exploring Operation: 19+4=23, Resulting Numbers: [28, 5, 23]
Generated Node #0,1: 43:[28, 5, 23] Operation: 19+4=23
Exploring Operation: 4*5=20, Resulting Numbers: [19, 28, 20]
Generated Node #0,2: 43:[19, 28, 20] Operation: 4*5=20
Exploring Operation: 19+5=24, Resulting Numbers: [28, 4, 24]
Generated Node #0,3: 43:[28, 4, 24] Operation: 19+5=24
Exploring Operation: 28+4=32, Resulting Numbers: [19, 5, 32]
Generated Node #0,4: 43:[19, 5, 32] Operation: 28+4=32
Start Sub Search at level 1: Moving to Node #0,2
Current State: 43:[19, 28, 20], Operations: ['4*5=20']
Exploring Operation: 19+20=39, Resulting Numbers: [28, 39]
Generated Node #0,2,0: 43:[28, 39] Operation: 19+20=39
Exploring Operation: 19+28=47, Resulting Numbers: [20, 47]
Generated Node #0,2,1: 43:[20, 47] Operation: 19+28=47
Exploring Operation: 28-19=9, Resulting Numbers: [20, 9]
Generated Node #0,2,2: 43:[20, 9] Operation: 28-19=9
Exploring Operation: 20-19=1, Resulting Numbers: [28, 1]
Generated Node #0,2,3: 43:[28, 1] Operation: 20-19=1
Exploring Operation: 28+20=48, Resulting Numbers: [19, 48]
Generated Node #0,2,4: 43:[19, 48] Operation: 28+20=48
Moving to Node #0,2,0
Current State: 43:[28, 39], Operations: ['4*5=20', '19+20=39']
Exploring Operation: 28+39=67, Resulting Numbers: [67]
67,43 unequal: No Solution
Exploring Operation: 39-28=11, Resulting Numbers: [11]
11,43 unequal: No Solution
Exploring Operation: 28*39=1092, Resulting Numbers: [1092]
1092,43 unequal: No Solution
Moving to Node #0,2,1
Current State: 43:[20, 47], Operations: ['4*5=20', '19+28=47']
Exploring Operation: 20+47=67, Resulting Numbers: [67]
67,43 unequal: No Solution
Exploring Operation: 20*47=940, Resulting Numbers: [940]
940,43 unequal: No Solution
Exploring Operation: 47-20=27, Resulting Numbers: [27]
27,43 unequal: No Solution
Moving to Node #0,2,4
Current State: 43:[19, 48], Operations: ['4*5=20', '28+20=48']
Exploring Operation: 48-19=29, Resulting Numbers: [29]
29,43 unequal: No Solution
Exploring Operation: 19*48=912, Resulting Numbers: [912]
912,43 unequal: No Solution
Exploring Operation: 19+48=67, Resulting Numbers: [67]
67,43 unequal: No Solution
Moving to Node #0,2,2
Current State: 43:[20, 9], Operations: ['4*5=20', '28-19=9']
Exploring Operation: 20-9=11, Resulting Numbers: [11]
11,43 unequal: No Solution
Exploring Operation: 20*9=180, Resulting Numbers: [180]
180,43 unequal: No Solution
Exploring Operation: 20+9=29, Resulting Numbers: [29]
29,43 unequal: No Solution
Moving to Node #0,2,3
Current State: 43:[28, 1], Operations: ['4*5=20', '20-19=1']
Exploring Operation: 28*1=28, Resulting Numbers: [28]
28,43 unequal: No Solution
Exploring Operation: 28+1=29, Resulting Numbers: [29]
29,43 unequal: No Solution
Exploring Operation: 28-1=27, Resulting Numbers: [27]
27,43 unequal: No Solution
Exploring Operation: 28/1=28, Resulting Numbers: [28]
28,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[19, 4, 33], Operations: ['28+5=33']
Exploring Operation: 19-4=15, Resulting Numbers: [33, 15]
Generated Node #0,0,0: 43:[33, 15] Operation: 19-4=15
Exploring Operation: 4+33=37, Resulting Numbers: [19, 37]
Generated Node #0,0,1: 43:[19, 37] Operation: 4+33=37
Exploring Operation: 19*4=76, Resulting Numbers: [33, 76]
Generated Node #0,0,2: 43:[33, 76] Operation: 19*4=76
Exploring Operation: 19+4=23, Resulting Numbers: [33, 23]
Generated Node #0,0,3: 43:[33, 23] Operation: 19+4=23
Exploring Operation: 33-4=29, Resulting Numbers: [19, 29]
Generated Node #0,0,4: 43:[19, 29] Operation: 33-4=29
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 43:[19, 37], Operations: ['28+5=33', '4+33=37']
Exploring Operation: 19+37=56, Resulting Numbers: [56]
56,43 unequal: No Solution
Exploring Operation: 19*37=703, Resulting Numbers: [703]
703,43 unequal: No Solution
Exploring Operation: 37-19=18, Resulting Numbers: [18]
18,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 43:[33, 23], Operations: ['28+5=33', '19+4=23']
Exploring Operation: 33+23=56, Resulting Numbers: [56]
56,43 unequal: No Solution
Exploring Operation: 33*23=759, Resulting Numbers: [759]
759,43 unequal: No Solution
Exploring Operation: 33-23=10, Resulting Numbers: [10]
10,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 43:[33, 15], Operations: ['28+5=33', '19-4=15']
Exploring Operation: 33*15=495, Resulting Numbers: [495]
495,43 unequal: No Solution
Exploring Operation: 33-15=18, Resulting Numbers: [18]
18,43 unequal: No Solution
Exploring Operation: 33+15=48, Resulting Numbers: [48]
48,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 43:[19, 29], Operations: ['28+5=33', '33-4=29']
Exploring Operation: 19+29=48, Resulting Numbers: [48]
48,43 unequal: No Solution
Exploring Operation: 19*29=551, Resulting Numbers: [551]
551,43 unequal: No Solution
Exploring Operation: 29-19=10, Resulting Numbers: [10]
10,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 43:[33, 76], Operations: ['28+5=33', '19*4=76']
Exploring Operation: 33*76=2508, Resulting Numbers: [2508]
2508,43 unequal: No Solution
Exploring Operation: 33+76=109, Resulting Numbers: [109]
109,43 unequal: No Solution
Exploring Operation: 76-33=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[19, 28, 4, 5], Operations: []
Exploring Operation: 28+5=33, Resulting Numbers: [19, 4, 33]
Generated Node #0,0: 43:[19, 4, 33] Operation: 28+5=33
Moving to Node #0,0
Current State: 43:[19, 4, 33], Operations: ['28+5=33']
Exploring Operation: 19*4=76, Resulting Numbers: [33, 76]
Generated Node #0,0,2: 43:[33, 76] Operation: 19*4=76
Moving to Node #0,0,2
Current State: 43:[33, 76], Operations: ['28+5=33', '19*4=76']
Exploring Operation: 76-33=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.956597 |
hs_5
|
sum_heuristic
|
[
28,
72,
43,
7
] | 33 |
[
"43-28=15",
"7*15=105",
"105-72=33"
] |
Current State: 33:[28, 72, 43, 7], Operations: []
Exploring Operation: 43-28=15, Resulting Numbers: [72, 7, 15]
Generated Node #2: [72, 7, 15] from Operation: 43-28=15
Current State: 33:[72, 7, 15], Operations: ['43-28=15']
Exploring Operation: 7*15=105, Resulting Numbers: [72, 105]
Generated Node #3: [72, 105] from Operation: 7*15=105
Current State: 33:[72, 105], Operations: ['43-28=15', '7*15=105']
Exploring Operation: 105-72=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 |
Current State: 33:[28, 72, 43, 7], Operations: []
Exploring Operation: 72-7=65, Resulting Numbers: [28, 43, 65]
Generated Node #0,0: 33:[28, 43, 65] Operation: 72-7=65
Exploring Operation: 72-43=29, Resulting Numbers: [28, 7, 29]
Generated Node #0,1: 33:[28, 7, 29] Operation: 72-43=29
Exploring Operation: 43-28=15, Resulting Numbers: [72, 7, 15]
Generated Node #0,2: 33:[72, 7, 15] Operation: 43-28=15
Exploring Operation: 72-28=44, Resulting Numbers: [43, 7, 44]
Generated Node #0,3: 33:[43, 7, 44] Operation: 72-28=44
Moving to Node #0,1
Current State: 33:[28, 7, 29], Operations: ['72-43=29']
Exploring Operation: 28/7=4, Resulting Numbers: [29, 4]
Generated Node #0,1,0: 33:[29, 4] Operation: 28/7=4
Exploring Operation: 7+29=36, Resulting Numbers: [28, 36]
Generated Node #0,1,1: 33:[28, 36] Operation: 7+29=36
Exploring Operation: 29-28=1, Resulting Numbers: [7, 1]
Generated Node #0,1,2: 33:[7, 1] Operation: 29-28=1
Exploring Operation: 28+7=35, Resulting Numbers: [29, 35]
Generated Node #0,1,3: 33:[29, 35] Operation: 28+7=35
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 33:[29, 4], Operations: ['72-43=29', '28/7=4']
Exploring Operation: 29*4=116, Resulting Numbers: [116]
116,33 unequal: No Solution
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,33 unequal: No Solution
Exploring Operation: 29+4=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[28, 72, 43, 7], Operations: []
Exploring Operation: 72-43=29, Resulting Numbers: [28, 7, 29]
Generated Node #0,1: 33:[28, 7, 29] Operation: 72-43=29
Moving to Node #0,1
Current State: 33:[28, 7, 29], Operations: ['72-43=29']
Exploring Operation: 28/7=4, Resulting Numbers: [29, 4]
Generated Node #0,1,0: 33:[29, 4] Operation: 28/7=4
Moving to Node #0,1,0
Current State: 33:[29, 4], Operations: ['72-43=29', '28/7=4']
Exploring Operation: 29+4=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 |
hs_4
|
sum_heuristic
|
[
3,
44,
46,
17
] | 18 |
[
"3+44=47",
"46-17=29",
"47-29=18"
] |
Current State: 18:[3, 44, 46, 17], Operations: []
Exploring Operation: 3+44=47, Resulting Numbers: [46, 17, 47]
Generated Node #2: [46, 17, 47] from Operation: 3+44=47
Current State: 18:[46, 17, 47], Operations: ['3+44=47']
Exploring Operation: 46-17=29, Resulting Numbers: [47, 29]
Generated Node #3: [47, 29] from Operation: 46-17=29
Current State: 18:[47, 29], Operations: ['3+44=47', '46-17=29']
Exploring Operation: 47-29=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 |
Current State: 18:[3, 44, 46, 17], Operations: []
Exploring Operation: 46-44=2, Resulting Numbers: [3, 17, 2]
Generated Node #0,0: 18:[3, 17, 2] Operation: 46-44=2
Exploring Operation: 44-17=27, Resulting Numbers: [3, 46, 27]
Generated Node #0,1: 18:[3, 46, 27] Operation: 44-17=27
Exploring Operation: 46-17=29, Resulting Numbers: [3, 44, 29]
Generated Node #0,2: 18:[3, 44, 29] Operation: 46-17=29
Moving to Node #0,0
Current State: 18:[3, 17, 2], Operations: ['46-44=2']
Exploring Operation: 17+2=19, Resulting Numbers: [3, 19]
Generated Node #0,0,0: 18:[3, 19] Operation: 17+2=19
Exploring Operation: 3+17=20, Resulting Numbers: [2, 20]
Generated Node #0,0,1: 18:[2, 20] Operation: 3+17=20
Exploring Operation: 3*2=6, Resulting Numbers: [17, 6]
Generated Node #0,0,2: 18:[17, 6] Operation: 3*2=6
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 18:[3, 19], Operations: ['46-44=2', '17+2=19']
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,18 unequal: No Solution
Exploring Operation: 3*19=57, Resulting Numbers: [57]
57,18 unequal: No Solution
Exploring Operation: 3+19=22, Resulting Numbers: [22]
22,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 18:[17, 6], Operations: ['46-44=2', '3*2=6']
Exploring Operation: 17*6=102, Resulting Numbers: [102]
102,18 unequal: No Solution
Exploring Operation: 17+6=23, Resulting Numbers: [23]
23,18 unequal: No Solution
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 18:[2, 20], Operations: ['46-44=2', '3+17=20']
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[3, 44, 46, 17], Operations: []
Exploring Operation: 46-44=2, Resulting Numbers: [3, 17, 2]
Generated Node #0,0: 18:[3, 17, 2] Operation: 46-44=2
Moving to Node #0,0
Current State: 18:[3, 17, 2], Operations: ['46-44=2']
Exploring Operation: 3+17=20, Resulting Numbers: [2, 20]
Generated Node #0,0,1: 18:[2, 20] Operation: 3+17=20
Moving to Node #0,0,1
Current State: 18:[2, 20], Operations: ['46-44=2', '3+17=20']
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 |
hs_3
|
sum_heuristic
|
[
76,
57,
14,
40
] | 16 |
[
"57*40=2280",
"2280/76=30",
"30-14=16"
] |
Current State: 16:[76, 57, 14, 40], Operations: []
Exploring Operation: 57*40=2280, Resulting Numbers: [76, 14, 2280]
Generated Node #2: [76, 14, 2280] from Operation: 57*40=2280
Current State: 16:[76, 14, 2280], Operations: ['57*40=2280']
Exploring Operation: 2280/76=30, Resulting Numbers: [14, 30]
Generated Node #3: [14, 30] from Operation: 2280/76=30
Current State: 16:[14, 30], Operations: ['57*40=2280', '2280/76=30']
Exploring Operation: 30-14=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 |
Current State: 16:[76, 57, 14, 40], Operations: []
Exploring Operation: 76-57=19, Resulting Numbers: [14, 40, 19]
Generated Node #0,0: 16:[14, 40, 19] Operation: 76-57=19
Exploring Operation: 57-40=17, Resulting Numbers: [76, 14, 17]
Generated Node #0,1: 16:[76, 14, 17] Operation: 57-40=17
Exploring Operation: 76-14=62, Resulting Numbers: [57, 40, 62]
Generated Node #0,2: 16:[57, 40, 62] Operation: 76-14=62
Exploring Operation: 76-40=36, Resulting Numbers: [57, 14, 36]
Generated Node #0,3: 16:[57, 14, 36] Operation: 76-40=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 16:[14, 40, 19], Operations: ['76-57=19']
Exploring Operation: 14+40=54, Resulting Numbers: [19, 54]
Generated Node #0,0,0: 16:[19, 54] Operation: 14+40=54
Exploring Operation: 40-19=21, Resulting Numbers: [14, 21]
Generated Node #0,0,1: 16:[14, 21] Operation: 40-19=21
Exploring Operation: 40-14=26, Resulting Numbers: [19, 26]
Generated Node #0,0,2: 16:[19, 26] Operation: 40-14=26
Exploring Operation: 19-14=5, Resulting Numbers: [40, 5]
Generated Node #0,0,3: 16:[40, 5] Operation: 19-14=5
Moving to Node #0,0,1
Current State: 16:[14, 21], Operations: ['76-57=19', '40-19=21']
Exploring Operation: 14*21=294, Resulting Numbers: [294]
294,16 unequal: No Solution
Exploring Operation: 21-14=7, Resulting Numbers: [7]
7,16 unequal: No Solution
Exploring Operation: 14+21=35, Resulting Numbers: [35]
35,16 unequal: No Solution
Moving to Node #0,0,2
Current State: 16:[19, 26], Operations: ['76-57=19', '40-14=26']
Exploring Operation: 26-19=7, Resulting Numbers: [7]
7,16 unequal: No Solution
Exploring Operation: 19+26=45, Resulting Numbers: [45]
45,16 unequal: No Solution
Exploring Operation: 19*26=494, Resulting Numbers: [494]
494,16 unequal: No Solution
Moving to Node #0,0,3
Current State: 16:[40, 5], Operations: ['76-57=19', '19-14=5']
Exploring Operation: 40/5=8, Resulting Numbers: [8]
8,16 unequal: No Solution
Exploring Operation: 40*5=200, Resulting Numbers: [200]
200,16 unequal: No Solution
Exploring Operation: 40+5=45, Resulting Numbers: [45]
45,16 unequal: No Solution
Exploring Operation: 40-5=35, Resulting Numbers: [35]
35,16 unequal: No Solution
Moving to Node #0,0,0
Current State: 16:[19, 54], Operations: ['76-57=19', '14+40=54']
Exploring Operation: 19*54=1026, Resulting Numbers: [1026]
1026,16 unequal: No Solution
Exploring Operation: 19+54=73, Resulting Numbers: [73]
73,16 unequal: No Solution
Exploring Operation: 54-19=35, Resulting Numbers: [35]
35,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 16:[76, 14, 17], Operations: ['57-40=17']
Exploring Operation: 76+14=90, Resulting Numbers: [17, 90]
Generated Node #0,1,0: 16:[17, 90] Operation: 76+14=90
Exploring Operation: 17-14=3, Resulting Numbers: [76, 3]
Generated Node #0,1,1: 16:[76, 3] Operation: 17-14=3
Exploring Operation: 76-17=59, Resulting Numbers: [14, 59]
Generated Node #0,1,2: 16:[14, 59] Operation: 76-17=59
Exploring Operation: 76-14=62, Resulting Numbers: [17, 62]
Generated Node #0,1,3: 16:[17, 62] Operation: 76-14=62
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 16:[14, 59], Operations: ['57-40=17', '76-17=59']
Exploring Operation: 14*59=826, Resulting Numbers: [826]
826,16 unequal: No Solution
Exploring Operation: 14+59=73, Resulting Numbers: [73]
73,16 unequal: No Solution
Exploring Operation: 59-14=45, Resulting Numbers: [45]
45,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 16:[17, 62], Operations: ['57-40=17', '76-14=62']
Exploring Operation: 62-17=45, Resulting Numbers: [45]
45,16 unequal: No Solution
Exploring Operation: 17+62=79, Resulting Numbers: [79]
79,16 unequal: No Solution
Exploring Operation: 17*62=1054, Resulting Numbers: [1054]
1054,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 16:[76, 3], Operations: ['57-40=17', '17-14=3']
Exploring Operation: 76*3=228, Resulting Numbers: [228]
228,16 unequal: No Solution
Exploring Operation: 76-3=73, Resulting Numbers: [73]
73,16 unequal: No Solution
Exploring Operation: 76+3=79, Resulting Numbers: [79]
79,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 16:[17, 90], Operations: ['57-40=17', '76+14=90']
Exploring Operation: 17*90=1530, Resulting Numbers: [1530]
1530,16 unequal: No Solution
Exploring Operation: 90-17=73, Resulting Numbers: [73]
73,16 unequal: No Solution
Exploring Operation: 17+90=107, Resulting Numbers: [107]
107,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 16:[57, 14, 36], Operations: ['76-40=36']
Exploring Operation: 57-36=21, Resulting Numbers: [14, 21]
Generated Node #0,3,0: 16:[14, 21] Operation: 57-36=21
Exploring Operation: 57-14=43, Resulting Numbers: [36, 43]
Generated Node #0,3,1: 16:[36, 43] Operation: 57-14=43
Exploring Operation: 57+14=71, Resulting Numbers: [36, 71]
Generated Node #0,3,2: 16:[36, 71] Operation: 57+14=71
Exploring Operation: 36-14=22, Resulting Numbers: [57, 22]
Generated Node #0,3,3: 16:[57, 22] Operation: 36-14=22
Moving to Node #0,3,0
Current State: 16:[14, 21], Operations: ['76-40=36', '57-36=21']
Exploring Operation: 21-14=7, Resulting Numbers: [7]
7,16 unequal: No Solution
Exploring Operation: 14*21=294, Resulting Numbers: [294]
294,16 unequal: No Solution
Exploring Operation: 14+21=35, Resulting Numbers: [35]
35,16 unequal: No Solution
Moving to Node #0,3,3
Current State: 16:[57, 22], Operations: ['76-40=36', '36-14=22']
Exploring Operation: 57-22=35, Resulting Numbers: [35]
35,16 unequal: No Solution
Exploring Operation: 57*22=1254, Resulting Numbers: [1254]
1254,16 unequal: No Solution
Exploring Operation: 57+22=79, Resulting Numbers: [79]
79,16 unequal: No Solution
Moving to Node #0,3,1
Current State: 16:[36, 43], Operations: ['76-40=36', '57-14=43']
Exploring Operation: 36*43=1548, Resulting Numbers: [1548]
1548,16 unequal: No Solution
Exploring Operation: 43-36=7, Resulting Numbers: [7]
7,16 unequal: No Solution
Exploring Operation: 36+43=79, Resulting Numbers: [79]
79,16 unequal: No Solution
Moving to Node #0,3,2
Current State: 16:[36, 71], Operations: ['76-40=36', '57+14=71']
Exploring Operation: 71-36=35, Resulting Numbers: [35]
35,16 unequal: No Solution
Exploring Operation: 36*71=2556, Resulting Numbers: [2556]
2556,16 unequal: No Solution
Exploring Operation: 36+71=107, Resulting Numbers: [107]
107,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 16:[57, 40, 62], Operations: ['76-14=62']
Exploring Operation: 57+40=97, Resulting Numbers: [62, 97]
Generated Node #0,2,0: 16:[62, 97] Operation: 57+40=97
Exploring Operation: 62-40=22, Resulting Numbers: [57, 22]
Generated Node #0,2,1: 16:[57, 22] Operation: 62-40=22
Exploring Operation: 57-40=17, Resulting Numbers: [62, 17]
Generated Node #0,2,2: 16:[62, 17] Operation: 57-40=17
Exploring Operation: 62-57=5, Resulting Numbers: [40, 5]
Generated Node #0,2,3: 16:[40, 5] Operation: 62-57=5
Moving to Node #0,2,3
Current State: 16:[40, 5], Operations: ['76-14=62', '62-57=5']
Exploring Operation: 40-5=35, Resulting Numbers: [35]
35,16 unequal: No Solution
Exploring Operation: 40/5=8, Resulting Numbers: [8]
8,16 unequal: No Solution
Exploring Operation: 40+5=45, Resulting Numbers: [45]
45,16 unequal: No Solution
Exploring Operation: 40*5=200, Resulting Numbers: [200]
200,16 unequal: No Solution
Moving to Node #0,2,2
Current State: 16:[62, 17], Operations: ['76-14=62', '57-40=17']
Exploring Operation: 62*17=1054, Resulting Numbers: [1054]
1054,16 unequal: No Solution
Exploring Operation: 62-17=45, Resulting Numbers: [45]
45,16 unequal: No Solution
Exploring Operation: 62+17=79, Resulting Numbers: [79]
79,16 unequal: No Solution
Moving to Node #0,2,1
Current State: 16:[57, 22], Operations: ['76-14=62', '62-40=22']
Exploring Operation: 57*22=1254, Resulting Numbers: [1254]
1254,16 unequal: No Solution
Exploring Operation: 57-22=35, Resulting Numbers: [35]
35,16 unequal: No Solution
Exploring Operation: 57+22=79, Resulting Numbers: [79]
79,16 unequal: No Solution
Moving to Node #0,2,0
Current State: 16:[62, 97], Operations: ['76-14=62', '57+40=97']
Exploring Operation: 97-62=35, Resulting Numbers: [35]
35,16 unequal: No Solution
Exploring Operation: 62+97=159, Resulting Numbers: [159]
159,16 unequal: No Solution
Exploring Operation: 62*97=6014, Resulting Numbers: [6014]
6014,16 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
|
[
80,
66,
8,
6
] | 82 |
[
"80/8=10",
"66+6=72",
"10+72=82"
] |
Current State: 82:[80, 66, 8, 6], Operations: []
Exploring Operation: 80/8=10, Resulting Numbers: [66, 6, 10]
Generated Node #2: [66, 6, 10] from Operation: 80/8=10
Current State: 82:[66, 6, 10], Operations: ['80/8=10']
Exploring Operation: 66+6=72, Resulting Numbers: [10, 72]
Generated Node #3: [10, 72] from Operation: 66+6=72
Current State: 82:[10, 72], Operations: ['80/8=10', '66+6=72']
Exploring Operation: 10+72=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 |
Current State: 82:[80, 66, 8, 6], Operations: []
Exploring Operation: 66/6=11, Resulting Numbers: [80, 8, 11]
Generated Node #0,0: 82:[80, 8, 11] Operation: 66/6=11
Exploring Operation: 66+8=74, Resulting Numbers: [80, 6, 74]
Generated Node #0,1: 82:[80, 6, 74] Operation: 66+8=74
Exploring Operation: 66+6=72, Resulting Numbers: [80, 8, 72]
Generated Node #0,2: 82:[80, 8, 72] Operation: 66+6=72
Start Sub Search at level 1: Moving to Node #0,1
Current State: 82:[80, 6, 74], Operations: ['66+8=74']
Exploring Operation: 80+6=86, Resulting Numbers: [74, 86]
Generated Node #0,1,0: 82:[74, 86] Operation: 80+6=86
Exploring Operation: 6+74=80, Resulting Numbers: [80, 80]
Generated Node #0,1,1: 82:[80, 80] Operation: 6+74=80
Exploring Operation: 80-74=6, Resulting Numbers: [6, 6]
Generated Node #0,1,2: 82:[6, 6] Operation: 80-74=6
Moving to Node #0,1,1
Current State: 82:[80, 80], Operations: ['66+8=74', '6+74=80']
Exploring Operation: 80-80=0, Resulting Numbers: [0]
0,82 unequal: No Solution
Exploring Operation: 80+80=160, Resulting Numbers: [160]
160,82 unequal: No Solution
Exploring Operation: 80/80=1, Resulting Numbers: [1]
1,82 unequal: No Solution
Moving to Node #0,1,2
Current State: 82:[6, 6], Operations: ['66+8=74', '80-74=6']
Exploring Operation: 6*6=36, Resulting Numbers: [36]
36,82 unequal: No Solution
Exploring Operation: 6/6=1, Resulting Numbers: [1]
1,82 unequal: No Solution
Exploring Operation: 6-6=0, Resulting Numbers: [0]
0,82 unequal: No Solution
Moving to Node #0,1,0
Current State: 82:[74, 86], Operations: ['66+8=74', '80+6=86']
Exploring Operation: 86-74=12, Resulting Numbers: [12]
12,82 unequal: No Solution
Exploring Operation: 74*86=6364, Resulting Numbers: [6364]
6364,82 unequal: No Solution
Exploring Operation: 74+86=160, Resulting Numbers: [160]
160,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[80, 8, 11], Operations: ['66/6=11']
Exploring Operation: 80+8=88, Resulting Numbers: [11, 88]
Generated Node #0,0,0: 82:[11, 88] Operation: 80+8=88
Exploring Operation: 8*11=88, Resulting Numbers: [80, 88]
Generated Node #0,0,1: 82:[80, 88] Operation: 8*11=88
Exploring Operation: 11-8=3, Resulting Numbers: [80, 3]
Generated Node #0,0,2: 82:[80, 3] Operation: 11-8=3
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 82:[80, 3], Operations: ['66/6=11', '11-8=3']
Exploring Operation: 80-3=77, Resulting Numbers: [77]
77,82 unequal: No Solution
Exploring Operation: 80+3=83, Resulting Numbers: [83]
83,82 unequal: No Solution
Exploring Operation: 80*3=240, Resulting Numbers: [240]
240,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 82:[80, 88], Operations: ['66/6=11', '8*11=88']
Exploring Operation: 80+88=168, Resulting Numbers: [168]
168,82 unequal: No Solution
Exploring Operation: 80*88=7040, Resulting Numbers: [7040]
7040,82 unequal: No Solution
Exploring Operation: 88-80=8, Resulting Numbers: [8]
8,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 82:[11, 88], Operations: ['66/6=11', '80+8=88']
Exploring Operation: 88-11=77, Resulting Numbers: [77]
77,82 unequal: No Solution
Exploring Operation: 11+88=99, Resulting Numbers: [99]
99,82 unequal: No Solution
Exploring Operation: 88/11=8, Resulting Numbers: [8]
8,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 82:[80, 8, 72], Operations: ['66+6=72']
Exploring Operation: 80-72=8, Resulting Numbers: [8, 8]
Generated Node #0,2,0: 82:[8, 8] Operation: 80-72=8
Exploring Operation: 72/8=9, Resulting Numbers: [80, 9]
Generated Node #0,2,1: 82:[80, 9] Operation: 72/8=9
Exploring Operation: 8+72=80, Resulting Numbers: [80, 80]
Generated Node #0,2,2: 82:[80, 80] Operation: 8+72=80
Moving to Node #0,2,2
Current State: 82:[80, 80], Operations: ['66+6=72', '8+72=80']
Exploring Operation: 80/80=1, Resulting Numbers: [1]
1,82 unequal: No Solution
Exploring Operation: 80-80=0, Resulting Numbers: [0]
0,82 unequal: No Solution
Exploring Operation: 80+80=160, Resulting Numbers: [160]
160,82 unequal: No Solution
Moving to Node #0,2,1
Current State: 82:[80, 9], Operations: ['66+6=72', '72/8=9']
Exploring Operation: 80-9=71, Resulting Numbers: [71]
71,82 unequal: No Solution
Exploring Operation: 80+9=89, Resulting Numbers: [89]
89,82 unequal: No Solution
Exploring Operation: 80*9=720, Resulting Numbers: [720]
720,82 unequal: No Solution
Moving to Node #0,2,0
Current State: 82:[8, 8], Operations: ['66+6=72', '80-72=8']
Exploring Operation: 8/8=1, Resulting Numbers: [1]
1,82 unequal: No Solution
Exploring Operation: 8-8=0, Resulting Numbers: [0]
0,82 unequal: No Solution
Exploring Operation: 8+8=16, Resulting Numbers: [16]
16,82 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
|
[
18,
89,
51,
40
] | 96 |
[
"18+89=107",
"51-40=11",
"107-11=96"
] |
Current State: 96:[18, 89, 51, 40], Operations: []
Exploring Operation: 18+89=107, Resulting Numbers: [51, 40, 107]
Generated Node #2: [51, 40, 107] from Operation: 18+89=107
Current State: 96:[51, 40, 107], Operations: ['18+89=107']
Exploring Operation: 51-40=11, Resulting Numbers: [107, 11]
Generated Node #3: [107, 11] from Operation: 51-40=11
Current State: 96:[107, 11], Operations: ['18+89=107', '51-40=11']
Exploring Operation: 107-11=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 |
Current State: 96:[18, 89, 51, 40], Operations: []
Exploring Operation: 89-40=49, Resulting Numbers: [18, 51, 49]
Generated Node #0,0: 96:[18, 51, 49] Operation: 89-40=49
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[18, 51, 49], Operations: ['89-40=49']
Exploring Operation: 51-18=33, Resulting Numbers: [49, 33]
Generated Node #0,0,0: 96:[49, 33] Operation: 51-18=33
Moving to Node #0,0,0
Current State: 96:[49, 33], Operations: ['89-40=49', '51-18=33']
Exploring Operation: 49-33=16, Resulting Numbers: [16]
16,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
sum_heuristic
|
[
62,
20,
80,
93
] | 95 |
[
"62+20=82",
"93-80=13",
"82+13=95"
] |
Current State: 95:[62, 20, 80, 93], Operations: []
Exploring Operation: 62+20=82, Resulting Numbers: [80, 93, 82]
Generated Node #2: [80, 93, 82] from Operation: 62+20=82
Current State: 95:[80, 93, 82], Operations: ['62+20=82']
Exploring Operation: 93-80=13, Resulting Numbers: [82, 13]
Generated Node #3: [82, 13] from Operation: 93-80=13
Current State: 95:[82, 13], Operations: ['62+20=82', '93-80=13']
Exploring Operation: 82+13=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 |
Current State: 95:[62, 20, 80, 93], Operations: []
Exploring Operation: 93-62=31, Resulting Numbers: [20, 80, 31]
Generated Node #0,0: 95:[20, 80, 31] Operation: 93-62=31
Exploring Operation: 80-62=18, Resulting Numbers: [20, 93, 18]
Generated Node #0,1: 95:[20, 93, 18] Operation: 80-62=18
Exploring Operation: 62+20=82, Resulting Numbers: [80, 93, 82]
Generated Node #0,2: 95:[80, 93, 82] Operation: 62+20=82
Exploring Operation: 80/20=4, Resulting Numbers: [62, 93, 4]
Generated Node #0,3: 95:[62, 93, 4] Operation: 80/20=4
Moving to Node #0,1
Current State: 95:[20, 93, 18], Operations: ['80-62=18']
Exploring Operation: 20+93=113, Resulting Numbers: [18, 113]
Generated Node #0,1,0: 95:[18, 113] Operation: 20+93=113
Exploring Operation: 20-18=2, Resulting Numbers: [93, 2]
Generated Node #0,1,1: 95:[93, 2] Operation: 20-18=2
Exploring Operation: 93+18=111, Resulting Numbers: [20, 111]
Generated Node #0,1,2: 95:[20, 111] Operation: 93+18=111
Exploring Operation: 20+18=38, Resulting Numbers: [93, 38]
Generated Node #0,1,3: 95:[93, 38] Operation: 20+18=38
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 95:[93, 2], Operations: ['80-62=18', '20-18=2']
Exploring Operation: 93-2=91, Resulting Numbers: [91]
91,95 unequal: No Solution
Exploring Operation: 93*2=186, Resulting Numbers: [186]
186,95 unequal: No Solution
Exploring Operation: 93+2=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[62, 20, 80, 93], Operations: []
Exploring Operation: 80-62=18, Resulting Numbers: [20, 93, 18]
Generated Node #0,1: 95:[20, 93, 18] Operation: 80-62=18
Moving to Node #0,1
Current State: 95:[20, 93, 18], Operations: ['80-62=18']
Exploring Operation: 20-18=2, Resulting Numbers: [93, 2]
Generated Node #0,1,1: 95:[93, 2] Operation: 20-18=2
Moving to Node #0,1,1
Current State: 95:[93, 2], Operations: ['80-62=18', '20-18=2']
Exploring Operation: 93+2=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 |
hs_4
|
sum_heuristic
|
[
95,
3,
19,
17
] | 70 |
[
"95/19=5",
"17-3=14",
"5*14=70"
] |
Current State: 70:[95, 3, 19, 17], Operations: []
Exploring Operation: 95/19=5, Resulting Numbers: [3, 17, 5]
Generated Node #2: [3, 17, 5] from Operation: 95/19=5
Current State: 70:[3, 17, 5], Operations: ['95/19=5']
Exploring Operation: 17-3=14, Resulting Numbers: [5, 14]
Generated Node #3: [5, 14] from Operation: 17-3=14
Current State: 70:[5, 14], Operations: ['95/19=5', '17-3=14']
Exploring Operation: 5*14=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 |
Current State: 70:[95, 3, 19, 17], Operations: []
Exploring Operation: 95-19=76, Resulting Numbers: [3, 17, 76]
Generated Node #0,0: 70:[3, 17, 76] Operation: 95-19=76
Exploring Operation: 95-17=78, Resulting Numbers: [3, 19, 78]
Generated Node #0,1: 70:[3, 19, 78] Operation: 95-17=78
Exploring Operation: 95/19=5, Resulting Numbers: [3, 17, 5]
Generated Node #0,2: 70:[3, 17, 5] Operation: 95/19=5
Start Sub Search at level 1: Moving to Node #0,2
Current State: 70:[3, 17, 5], Operations: ['95/19=5']
Exploring Operation: 5-3=2, Resulting Numbers: [17, 2]
Generated Node #0,2,0: 70:[17, 2] Operation: 5-3=2
Exploring Operation: 17-3=14, Resulting Numbers: [5, 14]
Generated Node #0,2,1: 70:[5, 14] Operation: 17-3=14
Exploring Operation: 17-5=12, Resulting Numbers: [3, 12]
Generated Node #0,2,2: 70:[3, 12] Operation: 17-5=12
Moving to Node #0,2,1
Current State: 70:[5, 14], Operations: ['95/19=5', '17-3=14']
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,70 unequal: No Solution
Exploring Operation: 5+14=19, Resulting Numbers: [19]
19,70 unequal: No Solution
Exploring Operation: 5*14=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[95, 3, 19, 17], Operations: []
Exploring Operation: 95/19=5, Resulting Numbers: [3, 17, 5]
Generated Node #0,2: 70:[3, 17, 5] Operation: 95/19=5
Moving to Node #0,2
Current State: 70:[3, 17, 5], Operations: ['95/19=5']
Exploring Operation: 17-3=14, Resulting Numbers: [5, 14]
Generated Node #0,2,1: 70:[5, 14] Operation: 17-3=14
Moving to Node #0,2,1
Current State: 70:[5, 14], Operations: ['95/19=5', '17-3=14']
Exploring Operation: 5*14=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 |
hs_3
|
mult_heuristic
|
[
46,
57,
48,
21
] | 80 |
[
"57-46=11",
"48+21=69",
"11+69=80"
] |
Current State: 80:[46, 57, 48, 21], Operations: []
Exploring Operation: 57-46=11, Resulting Numbers: [48, 21, 11]
Generated Node #2: [48, 21, 11] from Operation: 57-46=11
Current State: 80:[48, 21, 11], Operations: ['57-46=11']
Exploring Operation: 48+21=69, Resulting Numbers: [11, 69]
Generated Node #3: [11, 69] from Operation: 48+21=69
Current State: 80:[11, 69], Operations: ['57-46=11', '48+21=69']
Exploring Operation: 11+69=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 |
Current State: 80:[46, 57, 48, 21], Operations: []
Exploring Operation: 57-46=11, Resulting Numbers: [48, 21, 11]
Generated Node #0,0: 80:[48, 21, 11] Operation: 57-46=11
Exploring Operation: 57-48=9, Resulting Numbers: [46, 21, 9]
Generated Node #0,1: 80:[46, 21, 9] Operation: 57-48=9
Moving to Node #0,1
Current State: 80:[46, 21, 9], Operations: ['57-48=9']
Exploring Operation: 46-21=25, Resulting Numbers: [9, 25]
Generated Node #0,1,0: 80:[9, 25] Operation: 46-21=25
Exploring Operation: 46-9=37, Resulting Numbers: [21, 37]
Generated Node #0,1,1: 80:[21, 37] Operation: 46-9=37
Moving to Node #0,0
Current State: 80:[48, 21, 11], Operations: ['57-46=11']
Exploring Operation: 48-21=27, Resulting Numbers: [11, 27]
Generated Node #0,0,0: 80:[11, 27] Operation: 48-21=27
Exploring Operation: 48-11=37, Resulting Numbers: [21, 37]
Generated Node #0,0,1: 80:[21, 37] Operation: 48-11=37
Moving to Node #0,1,1
Current State: 80:[21, 37], Operations: ['57-48=9', '46-9=37']
Exploring Operation: 21+37=58, Resulting Numbers: [58]
58,80 unequal: No Solution
Exploring Operation: 37-21=16, Resulting Numbers: [16]
16,80 unequal: No Solution
Moving to Node #0,0,1
Current State: 80:[21, 37], Operations: ['57-46=11', '48-11=37']
Exploring Operation: 37-21=16, Resulting Numbers: [16]
16,80 unequal: No Solution
Exploring Operation: 21+37=58, Resulting Numbers: [58]
58,80 unequal: No Solution
Moving to Node #0,1,0
Current State: 80:[9, 25], Operations: ['57-48=9', '46-21=25']
Exploring Operation: 9+25=34, Resulting Numbers: [34]
34,80 unequal: No Solution
Exploring Operation: 25-9=16, Resulting Numbers: [16]
16,80 unequal: No Solution
Moving to Node #0,0,0
Current State: 80:[11, 27], Operations: ['57-46=11', '48-21=27']
Exploring Operation: 11+27=38, Resulting Numbers: [38]
38,80 unequal: No Solution
Exploring Operation: 27-11=16, Resulting Numbers: [16]
16,80 unequal: No Solution
No solution found.
| 0 |
hs_2
|
sum_heuristic
|
[
17,
39,
69,
23
] | 12 |
[
"17*69=1173",
"1173/23=51",
"51-39=12"
] |
Current State: 12:[17, 39, 69, 23], Operations: []
Exploring Operation: 17*69=1173, Resulting Numbers: [39, 23, 1173]
Generated Node #2: [39, 23, 1173] from Operation: 17*69=1173
Current State: 12:[39, 23, 1173], Operations: ['17*69=1173']
Exploring Operation: 1173/23=51, Resulting Numbers: [39, 51]
Generated Node #3: [39, 51] from Operation: 1173/23=51
Current State: 12:[39, 51], Operations: ['17*69=1173', '1173/23=51']
Exploring Operation: 51-39=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 |
Current State: 12:[17, 39, 69, 23], Operations: []
Exploring Operation: 39-17=22, Resulting Numbers: [69, 23, 22]
Generated Node #0,0: 12:[69, 23, 22] Operation: 39-17=22
Exploring Operation: 69/23=3, Resulting Numbers: [17, 39, 3]
Generated Node #0,1: 12:[17, 39, 3] Operation: 69/23=3
Exploring Operation: 69-39=30, Resulting Numbers: [17, 23, 30]
Generated Node #0,2: 12:[17, 23, 30] Operation: 69-39=30
Exploring Operation: 39-23=16, Resulting Numbers: [17, 69, 16]
Generated Node #0,3: 12:[17, 69, 16] Operation: 39-23=16
Exploring Operation: 69-23=46, Resulting Numbers: [17, 39, 46]
Generated Node #0,4: 12:[17, 39, 46] Operation: 69-23=46
Start Sub Search at level 1: Moving to Node #0,1
Current State: 12:[17, 39, 3], Operations: ['69/23=3']
Exploring Operation: 17-3=14, Resulting Numbers: [39, 14]
Generated Node #0,1,0: 12:[39, 14] Operation: 17-3=14
Exploring Operation: 17+3=20, Resulting Numbers: [39, 20]
Generated Node #0,1,1: 12:[39, 20] Operation: 17+3=20
Exploring Operation: 39/3=13, Resulting Numbers: [17, 13]
Generated Node #0,1,2: 12:[17, 13] Operation: 39/3=13
Exploring Operation: 39-3=36, Resulting Numbers: [17, 36]
Generated Node #0,1,3: 12:[17, 36] Operation: 39-3=36
Exploring Operation: 39-17=22, Resulting Numbers: [3, 22]
Generated Node #0,1,4: 12:[3, 22] Operation: 39-17=22
Moving to Node #0,1,2
Current State: 12:[17, 13], Operations: ['69/23=3', '39/3=13']
Exploring Operation: 17-13=4, Resulting Numbers: [4]
4,12 unequal: No Solution
Exploring Operation: 17*13=221, Resulting Numbers: [221]
221,12 unequal: No Solution
Exploring Operation: 17+13=30, Resulting Numbers: [30]
30,12 unequal: No Solution
Moving to Node #0,1,4
Current State: 12:[3, 22], Operations: ['69/23=3', '39-17=22']
Exploring Operation: 22-3=19, Resulting Numbers: [19]
19,12 unequal: No Solution
Exploring Operation: 3*22=66, Resulting Numbers: [66]
66,12 unequal: No Solution
Exploring Operation: 3+22=25, Resulting Numbers: [25]
25,12 unequal: No Solution
Moving to Node #0,1,0
Current State: 12:[39, 14], Operations: ['69/23=3', '17-3=14']
Exploring Operation: 39-14=25, Resulting Numbers: [25]
25,12 unequal: No Solution
Exploring Operation: 39*14=546, Resulting Numbers: [546]
546,12 unequal: No Solution
Exploring Operation: 39+14=53, Resulting Numbers: [53]
53,12 unequal: No Solution
Moving to Node #0,1,3
Current State: 12:[17, 36], Operations: ['69/23=3', '39-3=36']
Exploring Operation: 36-17=19, Resulting Numbers: [19]
19,12 unequal: No Solution
Exploring Operation: 17*36=612, Resulting Numbers: [612]
612,12 unequal: No Solution
Exploring Operation: 17+36=53, Resulting Numbers: [53]
53,12 unequal: No Solution
Moving to Node #0,1,1
Current State: 12:[39, 20], Operations: ['69/23=3', '17+3=20']
Exploring Operation: 39*20=780, Resulting Numbers: [780]
780,12 unequal: No Solution
Exploring Operation: 39+20=59, Resulting Numbers: [59]
59,12 unequal: No Solution
Exploring Operation: 39-20=19, Resulting Numbers: [19]
19,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 12:[17, 23, 30], Operations: ['69-39=30']
Exploring Operation: 30-23=7, Resulting Numbers: [17, 7]
Generated Node #0,2,0: 12:[17, 7] Operation: 30-23=7
Exploring Operation: 17+30=47, Resulting Numbers: [23, 47]
Generated Node #0,2,1: 12:[23, 47] Operation: 17+30=47
Exploring Operation: 17+23=40, Resulting Numbers: [30, 40]
Generated Node #0,2,2: 12:[30, 40] Operation: 17+23=40
Exploring Operation: 30-17=13, Resulting Numbers: [23, 13]
Generated Node #0,2,3: 12:[23, 13] Operation: 30-17=13
Exploring Operation: 23-17=6, Resulting Numbers: [30, 6]
Generated Node #0,2,4: 12:[30, 6] Operation: 23-17=6
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 12:[17, 7], Operations: ['69-39=30', '30-23=7']
Exploring Operation: 17*7=119, Resulting Numbers: [119]
119,12 unequal: No Solution
Exploring Operation: 17+7=24, Resulting Numbers: [24]
24,12 unequal: No Solution
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 12:[23, 13], Operations: ['69-39=30', '30-17=13']
Exploring Operation: 23-13=10, Resulting Numbers: [10]
10,12 unequal: No Solution
Exploring Operation: 23+13=36, Resulting Numbers: [36]
36,12 unequal: No Solution
Exploring Operation: 23*13=299, Resulting Numbers: [299]
299,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 12:[30, 6], Operations: ['69-39=30', '23-17=6']
Exploring Operation: 30-6=24, Resulting Numbers: [24]
24,12 unequal: No Solution
Exploring Operation: 30/6=5, Resulting Numbers: [5]
5,12 unequal: No Solution
Exploring Operation: 30+6=36, Resulting Numbers: [36]
36,12 unequal: No Solution
Exploring Operation: 30*6=180, Resulting Numbers: [180]
180,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 12:[23, 47], Operations: ['69-39=30', '17+30=47']
Exploring Operation: 23+47=70, Resulting Numbers: [70]
70,12 unequal: No Solution
Exploring Operation: 23*47=1081, Resulting Numbers: [1081]
1081,12 unequal: No Solution
Exploring Operation: 47-23=24, Resulting Numbers: [24]
24,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 12:[30, 40], Operations: ['69-39=30', '17+23=40']
Exploring Operation: 40-30=10, Resulting Numbers: [10]
10,12 unequal: No Solution
Exploring Operation: 30+40=70, Resulting Numbers: [70]
70,12 unequal: No Solution
Exploring Operation: 30*40=1200, Resulting Numbers: [1200]
1200,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 12:[17, 69, 16], Operations: ['39-23=16']
Exploring Operation: 17+16=33, Resulting Numbers: [69, 33]
Generated Node #0,3,0: 12:[69, 33] Operation: 17+16=33
Exploring Operation: 69-17=52, Resulting Numbers: [16, 52]
Generated Node #0,3,1: 12:[16, 52] Operation: 69-17=52
Exploring Operation: 17-16=1, Resulting Numbers: [69, 1]
Generated Node #0,3,2: 12:[69, 1] Operation: 17-16=1
Exploring Operation: 17+69=86, Resulting Numbers: [16, 86]
Generated Node #0,3,3: 12:[16, 86] Operation: 17+69=86
Exploring Operation: 69-16=53, Resulting Numbers: [17, 53]
Generated Node #0,3,4: 12:[17, 53] Operation: 69-16=53
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 12:[16, 52], Operations: ['39-23=16', '69-17=52']
Exploring Operation: 52-16=36, Resulting Numbers: [36]
36,12 unequal: No Solution
Exploring Operation: 16+52=68, Resulting Numbers: [68]
68,12 unequal: No Solution
Exploring Operation: 16*52=832, Resulting Numbers: [832]
832,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 12:[17, 53], Operations: ['39-23=16', '69-16=53']
Exploring Operation: 17+53=70, Resulting Numbers: [70]
70,12 unequal: No Solution
Exploring Operation: 17*53=901, Resulting Numbers: [901]
901,12 unequal: No Solution
Exploring Operation: 53-17=36, Resulting Numbers: [36]
36,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 12:[69, 1], Operations: ['39-23=16', '17-16=1']
Exploring Operation: 69+1=70, Resulting Numbers: [70]
70,12 unequal: No Solution
Exploring Operation: 69*1=69, Resulting Numbers: [69]
69,12 unequal: No Solution
Exploring Operation: 69-1=68, Resulting Numbers: [68]
68,12 unequal: No Solution
Exploring Operation: 69/1=69, Resulting Numbers: [69]
69,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 12:[69, 33], Operations: ['39-23=16', '17+16=33']
Exploring Operation: 69-33=36, Resulting Numbers: [36]
36,12 unequal: No Solution
Exploring Operation: 69+33=102, Resulting Numbers: [102]
102,12 unequal: No Solution
Exploring Operation: 69*33=2277, Resulting Numbers: [2277]
2277,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 12:[16, 86], Operations: ['39-23=16', '17+69=86']
Exploring Operation: 16*86=1376, Resulting Numbers: [1376]
1376,12 unequal: No Solution
Exploring Operation: 16+86=102, Resulting Numbers: [102]
102,12 unequal: No Solution
Exploring Operation: 86-16=70, Resulting Numbers: [70]
70,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 12:[17, 39, 46], Operations: ['69-23=46']
Exploring Operation: 17+46=63, Resulting Numbers: [39, 63]
Generated Node #0,4,0: 12:[39, 63] Operation: 17+46=63
Exploring Operation: 17+39=56, Resulting Numbers: [46, 56]
Generated Node #0,4,1: 12:[46, 56] Operation: 17+39=56
Exploring Operation: 39-17=22, Resulting Numbers: [46, 22]
Generated Node #0,4,2: 12:[46, 22] Operation: 39-17=22
Exploring Operation: 46-17=29, Resulting Numbers: [39, 29]
Generated Node #0,4,3: 12:[39, 29] Operation: 46-17=29
Exploring Operation: 46-39=7, Resulting Numbers: [17, 7]
Generated Node #0,4,4: 12:[17, 7] Operation: 46-39=7
Moving to Node #0,4,4
Current State: 12:[17, 7], Operations: ['69-23=46', '46-39=7']
Exploring Operation: 17+7=24, Resulting Numbers: [24]
24,12 unequal: No Solution
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,12 unequal: No Solution
Exploring Operation: 17*7=119, Resulting Numbers: [119]
119,12 unequal: No Solution
Moving to Node #0,4,3
Current State: 12:[39, 29], Operations: ['69-23=46', '46-17=29']
Exploring Operation: 39-29=10, Resulting Numbers: [10]
10,12 unequal: No Solution
Exploring Operation: 39+29=68, Resulting Numbers: [68]
68,12 unequal: No Solution
Exploring Operation: 39*29=1131, Resulting Numbers: [1131]
1131,12 unequal: No Solution
Moving to Node #0,4,2
Current State: 12:[46, 22], Operations: ['69-23=46', '39-17=22']
Exploring Operation: 46*22=1012, Resulting Numbers: [1012]
1012,12 unequal: No Solution
Exploring Operation: 46-22=24, Resulting Numbers: [24]
24,12 unequal: No Solution
Exploring Operation: 46+22=68, Resulting Numbers: [68]
68,12 unequal: No Solution
Moving to Node #0,4,0
Current State: 12:[39, 63], Operations: ['69-23=46', '17+46=63']
Exploring Operation: 39+63=102, Resulting Numbers: [102]
102,12 unequal: No Solution
Exploring Operation: 63-39=24, Resulting Numbers: [24]
24,12 unequal: No Solution
Exploring Operation: 39*63=2457, Resulting Numbers: [2457]
2457,12 unequal: No Solution
Moving to Node #0,4,1
Current State: 12:[46, 56], Operations: ['69-23=46', '17+39=56']
Exploring Operation: 46+56=102, Resulting Numbers: [102]
102,12 unequal: No Solution
Exploring Operation: 46*56=2576, Resulting Numbers: [2576]
2576,12 unequal: No Solution
Exploring Operation: 56-46=10, Resulting Numbers: [10]
10,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 12:[69, 23, 22], Operations: ['39-17=22']
Exploring Operation: 69+23=92, Resulting Numbers: [22, 92]
Generated Node #0,0,0: 12:[22, 92] Operation: 69+23=92
Exploring Operation: 69-23=46, Resulting Numbers: [22, 46]
Generated Node #0,0,1: 12:[22, 46] Operation: 69-23=46
Exploring Operation: 69/23=3, Resulting Numbers: [22, 3]
Generated Node #0,0,2: 12:[22, 3] Operation: 69/23=3
Exploring Operation: 69-22=47, Resulting Numbers: [23, 47]
Generated Node #0,0,3: 12:[23, 47] Operation: 69-22=47
Exploring Operation: 23-22=1, Resulting Numbers: [69, 1]
Generated Node #0,0,4: 12:[69, 1] Operation: 23-22=1
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 12:[22, 3], Operations: ['39-17=22', '69/23=3']
Exploring Operation: 22-3=19, Resulting Numbers: [19]
19,12 unequal: No Solution
Exploring Operation: 22*3=66, Resulting Numbers: [66]
66,12 unequal: No Solution
Exploring Operation: 22+3=25, Resulting Numbers: [25]
25,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 12:[22, 46], Operations: ['39-17=22', '69-23=46']
Exploring Operation: 22*46=1012, Resulting Numbers: [1012]
1012,12 unequal: No Solution
Exploring Operation: 46-22=24, Resulting Numbers: [24]
24,12 unequal: No Solution
Exploring Operation: 22+46=68, Resulting Numbers: [68]
68,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 12:[23, 47], Operations: ['39-17=22', '69-22=47']
Exploring Operation: 47-23=24, Resulting Numbers: [24]
24,12 unequal: No Solution
Exploring Operation: 23+47=70, Resulting Numbers: [70]
70,12 unequal: No Solution
Exploring Operation: 23*47=1081, Resulting Numbers: [1081]
1081,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 12:[69, 1], Operations: ['39-17=22', '23-22=1']
Exploring Operation: 69+1=70, Resulting Numbers: [70]
70,12 unequal: No Solution
Exploring Operation: 69*1=69, Resulting Numbers: [69]
69,12 unequal: No Solution
Exploring Operation: 69-1=68, Resulting Numbers: [68]
68,12 unequal: No Solution
Exploring Operation: 69/1=69, Resulting Numbers: [69]
69,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 12:[22, 92], Operations: ['39-17=22', '69+23=92']
Exploring Operation: 92-22=70, Resulting Numbers: [70]
70,12 unequal: No Solution
Exploring Operation: 22+92=114, Resulting Numbers: [114]
114,12 unequal: No Solution
Exploring Operation: 22*92=2024, Resulting Numbers: [2024]
2024,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_5
|
mult_heuristic
|
[
98,
1,
94,
41
] | 38 |
[
"98-1=97",
"94+41=135",
"135-97=38"
] |
Current State: 38:[98, 1, 94, 41], Operations: []
Exploring Operation: 98-1=97, Resulting Numbers: [94, 41, 97]
Generated Node #2: [94, 41, 97] from Operation: 98-1=97
Current State: 38:[94, 41, 97], Operations: ['98-1=97']
Exploring Operation: 94+41=135, Resulting Numbers: [97, 135]
Generated Node #3: [97, 135] from Operation: 94+41=135
Current State: 38:[97, 135], Operations: ['98-1=97', '94+41=135']
Exploring Operation: 135-97=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 |
Current State: 38:[98, 1, 94, 41], Operations: []
Exploring Operation: 94-41=53, Resulting Numbers: [98, 1, 53]
Generated Node #0,0: 38:[98, 1, 53] Operation: 94-41=53
Exploring Operation: 98-94=4, Resulting Numbers: [1, 41, 4]
Generated Node #0,1: 38:[1, 41, 4] Operation: 98-94=4
Exploring Operation: 98-41=57, Resulting Numbers: [1, 94, 57]
Generated Node #0,2: 38:[1, 94, 57] Operation: 98-41=57
Start Sub Search at level 1: Moving to Node #0,1
Current State: 38:[1, 41, 4], Operations: ['98-94=4']
Exploring Operation: 4-1=3, Resulting Numbers: [41, 3]
Generated Node #0,1,0: 38:[41, 3] Operation: 4-1=3
Exploring Operation: 41-1=40, Resulting Numbers: [4, 40]
Generated Node #0,1,1: 38:[4, 40] Operation: 41-1=40
Exploring Operation: 41-4=37, Resulting Numbers: [1, 37]
Generated Node #0,1,2: 38:[1, 37] Operation: 41-4=37
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 38:[1, 37], Operations: ['98-94=4', '41-4=37']
Exploring Operation: 1+37=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[98, 1, 94, 41], Operations: []
Exploring Operation: 98-94=4, Resulting Numbers: [1, 41, 4]
Generated Node #0,1: 38:[1, 41, 4] Operation: 98-94=4
Moving to Node #0,1
Current State: 38:[1, 41, 4], Operations: ['98-94=4']
Exploring Operation: 41-4=37, Resulting Numbers: [1, 37]
Generated Node #0,1,2: 38:[1, 37] Operation: 41-4=37
Moving to Node #0,1,2
Current State: 38:[1, 37], Operations: ['98-94=4', '41-4=37']
Exploring Operation: 1+37=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 |
hs_3
|
mult_heuristic
|
[
97,
3,
71,
61
] | 55 |
[
"97+61=158",
"3*71=213",
"213-158=55"
] |
Current State: 55:[97, 3, 71, 61], Operations: []
Exploring Operation: 97+61=158, Resulting Numbers: [3, 71, 158]
Generated Node #2: [3, 71, 158] from Operation: 97+61=158
Current State: 55:[3, 71, 158], Operations: ['97+61=158']
Exploring Operation: 3*71=213, Resulting Numbers: [158, 213]
Generated Node #3: [158, 213] from Operation: 3*71=213
Current State: 55:[158, 213], Operations: ['97+61=158', '3*71=213']
Exploring Operation: 213-158=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 |
Current State: 55:[97, 3, 71, 61], Operations: []
Exploring Operation: 97-61=36, Resulting Numbers: [3, 71, 36]
Generated Node #0,0: 55:[3, 71, 36] Operation: 97-61=36
Exploring Operation: 97-71=26, Resulting Numbers: [3, 61, 26]
Generated Node #0,1: 55:[3, 61, 26] Operation: 97-71=26
Start Sub Search at level 1: Moving to Node #0,1
Current State: 55:[3, 61, 26], Operations: ['97-71=26']
Exploring Operation: 61-3=58, Resulting Numbers: [26, 58]
Generated Node #0,1,0: 55:[26, 58] Operation: 61-3=58
Exploring Operation: 26-3=23, Resulting Numbers: [61, 23]
Generated Node #0,1,1: 55:[61, 23] Operation: 26-3=23
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 55:[26, 58], Operations: ['97-71=26', '61-3=58']
Exploring Operation: 26+58=84, Resulting Numbers: [84]
84,55 unequal: No Solution
Exploring Operation: 58-26=32, Resulting Numbers: [32]
32,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 55:[61, 23], Operations: ['97-71=26', '26-3=23']
Exploring Operation: 61-23=38, Resulting Numbers: [38]
38,55 unequal: No Solution
Exploring Operation: 61+23=84, Resulting Numbers: [84]
84,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[3, 71, 36], Operations: ['97-61=36']
Exploring Operation: 36/3=12, Resulting Numbers: [71, 12]
Generated Node #0,0,0: 55:[71, 12] Operation: 36/3=12
Exploring Operation: 71-36=35, Resulting Numbers: [3, 35]
Generated Node #0,0,1: 55:[3, 35] Operation: 71-36=35
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 55:[71, 12], Operations: ['97-61=36', '36/3=12']
Exploring Operation: 71-12=59, Resulting Numbers: [59]
59,55 unequal: No Solution
Exploring Operation: 71+12=83, Resulting Numbers: [83]
83,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 55:[3, 35], Operations: ['97-61=36', '71-36=35']
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,55 unequal: No Solution
Exploring Operation: 3+35=38, Resulting Numbers: [38]
38,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_2
|
mult_heuristic
|
[
7,
14,
75,
15
] | 28 |
[
"75/15=5",
"7-5=2",
"14*2=28"
] |
Current State: 28:[7, 14, 75, 15], Operations: []
Exploring Operation: 75/15=5, Resulting Numbers: [7, 14, 5]
Generated Node #2: [7, 14, 5] from Operation: 75/15=5
Current State: 28:[7, 14, 5], Operations: ['75/15=5']
Exploring Operation: 7-5=2, Resulting Numbers: [14, 2]
Generated Node #3: [14, 2] from Operation: 7-5=2
Current State: 28:[14, 2], Operations: ['75/15=5', '7-5=2']
Exploring Operation: 14*2=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 |
Current State: 28:[7, 14, 75, 15], Operations: []
Exploring Operation: 75-15=60, Resulting Numbers: [7, 14, 60]
Generated Node #0,0: 28:[7, 14, 60] Operation: 75-15=60
Exploring Operation: 75/15=5, Resulting Numbers: [7, 14, 5]
Generated Node #0,1: 28:[7, 14, 5] Operation: 75/15=5
Start Sub Search at level 1: Moving to Node #0,1
Current State: 28:[7, 14, 5], Operations: ['75/15=5']
Exploring Operation: 7-5=2, Resulting Numbers: [14, 2]
Generated Node #0,1,0: 28:[14, 2] Operation: 7-5=2
Exploring Operation: 14-7=7, Resulting Numbers: [5, 7]
Generated Node #0,1,1: 28:[5, 7] Operation: 14-7=7
Moving to Node #0,1,0
Current State: 28:[14, 2], Operations: ['75/15=5', '7-5=2']
Exploring Operation: 14*2=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[7, 14, 75, 15], Operations: []
Exploring Operation: 75/15=5, Resulting Numbers: [7, 14, 5]
Generated Node #0,1: 28:[7, 14, 5] Operation: 75/15=5
Moving to Node #0,1
Current State: 28:[7, 14, 5], Operations: ['75/15=5']
Exploring Operation: 7-5=2, Resulting Numbers: [14, 2]
Generated Node #0,1,0: 28:[14, 2] Operation: 7-5=2
Moving to Node #0,1,0
Current State: 28:[14, 2], Operations: ['75/15=5', '7-5=2']
Exploring Operation: 14*2=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 |
hs_2
|
sum_heuristic
|
[
9,
60,
62,
69
] | 19 |
[
"69-60=9",
"9*9=81",
"81-62=19"
] |
Current State: 19:[9, 60, 62, 69], Operations: []
Exploring Operation: 69-60=9, Resulting Numbers: [9, 62, 9]
Generated Node #2: [9, 62, 9] from Operation: 69-60=9
Current State: 19:[9, 62, 9], Operations: ['69-60=9']
Exploring Operation: 9*9=81, Resulting Numbers: [62, 81]
Generated Node #3: [62, 81] from Operation: 9*9=81
Current State: 19:[62, 81], Operations: ['69-60=9', '9*9=81']
Exploring Operation: 81-62=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 |
Current State: 19:[9, 60, 62, 69], Operations: []
Exploring Operation: 69-60=9, Resulting Numbers: [9, 62, 9]
Generated Node #0,0: 19:[9, 62, 9] Operation: 69-60=9
Moving to Node #0,0
Current State: 19:[9, 62, 9], Operations: ['69-60=9']
Exploring Operation: 62-9=53, Resulting Numbers: [9, 53]
Generated Node #0,0,0: 19:[9, 53] Operation: 62-9=53
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 19:[9, 53], Operations: ['69-60=9', '62-9=53']
Exploring Operation: 53-9=44, Resulting Numbers: [44]
44,19 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,
19,
21,
27
] | 72 |
[
"27-19=8",
"21*8=168",
"168-96=72"
] |
Current State: 72:[96, 19, 21, 27], Operations: []
Exploring Operation: 27-19=8, Resulting Numbers: [96, 21, 8]
Generated Node #2: [96, 21, 8] from Operation: 27-19=8
Current State: 72:[96, 21, 8], Operations: ['27-19=8']
Exploring Operation: 21*8=168, Resulting Numbers: [96, 168]
Generated Node #3: [96, 168] from Operation: 21*8=168
Current State: 72:[96, 168], Operations: ['27-19=8', '21*8=168']
Exploring Operation: 168-96=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 |
Current State: 72:[96, 19, 21, 27], Operations: []
Exploring Operation: 96-21=75, Resulting Numbers: [19, 27, 75]
Generated Node #0,0: 72:[19, 27, 75] Operation: 96-21=75
Moving to Node #0,0
Current State: 72:[19, 27, 75], Operations: ['96-21=75']
Exploring Operation: 27-19=8, Resulting Numbers: [75, 8]
Generated Node #0,0,0: 72:[75, 8] Operation: 27-19=8
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 72:[75, 8], Operations: ['96-21=75', '27-19=8']
Exploring Operation: 75-8=67, Resulting Numbers: [67]
67,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
sum_heuristic
|
[
2,
41,
78,
61
] | 88 |
[
"61-41=20",
"20/2=10",
"78+10=88"
] |
Current State: 88:[2, 41, 78, 61], Operations: []
Exploring Operation: 61-41=20, Resulting Numbers: [2, 78, 20]
Generated Node #2: [2, 78, 20] from Operation: 61-41=20
Current State: 88:[2, 78, 20], Operations: ['61-41=20']
Exploring Operation: 20/2=10, Resulting Numbers: [78, 10]
Generated Node #3: [78, 10] from Operation: 20/2=10
Current State: 88:[78, 10], Operations: ['61-41=20', '20/2=10']
Exploring Operation: 78+10=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 |
Current State: 88:[2, 41, 78, 61], Operations: []
Exploring Operation: 78-61=17, Resulting Numbers: [2, 41, 17]
Generated Node #0,0: 88:[2, 41, 17] Operation: 78-61=17
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[2, 41, 17], Operations: ['78-61=17']
Exploring Operation: 41-17=24, Resulting Numbers: [2, 24]
Generated Node #0,0,0: 88:[2, 24] Operation: 41-17=24
Moving to Node #0,0,0
Current State: 88:[2, 24], Operations: ['78-61=17', '41-17=24']
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
mult_heuristic
|
[
53,
49,
31,
89
] | 44 |
[
"53+49=102",
"89-31=58",
"102-58=44"
] |
Current State: 44:[53, 49, 31, 89], Operations: []
Exploring Operation: 53+49=102, Resulting Numbers: [31, 89, 102]
Generated Node #2: [31, 89, 102] from Operation: 53+49=102
Current State: 44:[31, 89, 102], Operations: ['53+49=102']
Exploring Operation: 89-31=58, Resulting Numbers: [102, 58]
Generated Node #3: [102, 58] from Operation: 89-31=58
Current State: 44:[102, 58], Operations: ['53+49=102', '89-31=58']
Exploring Operation: 102-58=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 |
Current State: 44:[53, 49, 31, 89], Operations: []
Exploring Operation: 89-53=36, Resulting Numbers: [49, 31, 36]
Generated Node #0,0: 44:[49, 31, 36] Operation: 89-53=36
Exploring Operation: 53-31=22, Resulting Numbers: [49, 89, 22]
Generated Node #0,1: 44:[49, 89, 22] Operation: 53-31=22
Exploring Operation: 89-31=58, Resulting Numbers: [53, 49, 58]
Generated Node #0,2: 44:[53, 49, 58] Operation: 89-31=58
Exploring Operation: 53-49=4, Resulting Numbers: [31, 89, 4]
Generated Node #0,3: 44:[31, 89, 4] Operation: 53-49=4
Exploring Operation: 89-49=40, Resulting Numbers: [53, 31, 40]
Generated Node #0,4: 44:[53, 31, 40] Operation: 89-49=40
Start Sub Search at level 1: Moving to Node #0,0
Current State: 44:[49, 31, 36], Operations: ['89-53=36']
Exploring Operation: 49+31=80, Resulting Numbers: [36, 80]
Generated Node #0,0,0: 44:[36, 80] Operation: 49+31=80
Exploring Operation: 31+36=67, Resulting Numbers: [49, 67]
Generated Node #0,0,1: 44:[49, 67] Operation: 31+36=67
Exploring Operation: 49-31=18, Resulting Numbers: [36, 18]
Generated Node #0,0,2: 44:[36, 18] Operation: 49-31=18
Exploring Operation: 36-31=5, Resulting Numbers: [49, 5]
Generated Node #0,0,3: 44:[49, 5] Operation: 36-31=5
Exploring Operation: 49-36=13, Resulting Numbers: [31, 13]
Generated Node #0,0,4: 44:[31, 13] Operation: 49-36=13
Moving to Node #0,0,3
Current State: 44:[49, 5], Operations: ['89-53=36', '36-31=5']
Exploring Operation: 49+5=54, Resulting Numbers: [54]
54,44 unequal: No Solution
Exploring Operation: 49*5=245, Resulting Numbers: [245]
245,44 unequal: No Solution
Exploring Operation: 49-5=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[53, 49, 31, 89], Operations: []
Exploring Operation: 89-53=36, Resulting Numbers: [49, 31, 36]
Generated Node #0,0: 44:[49, 31, 36] Operation: 89-53=36
Moving to Node #0,0
Current State: 44:[49, 31, 36], Operations: ['89-53=36']
Exploring Operation: 36-31=5, Resulting Numbers: [49, 5]
Generated Node #0,0,3: 44:[49, 5] Operation: 36-31=5
Moving to Node #0,0,3
Current State: 44:[49, 5], Operations: ['89-53=36', '36-31=5']
Exploring Operation: 49-5=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 |
hs_5
|
mult_heuristic
|
[
47,
30,
19,
25
] | 50 |
[
"47-30=17",
"19-17=2",
"25*2=50"
] |
Current State: 50:[47, 30, 19, 25], Operations: []
Exploring Operation: 47-30=17, Resulting Numbers: [19, 25, 17]
Generated Node #2: [19, 25, 17] from Operation: 47-30=17
Current State: 50:[19, 25, 17], Operations: ['47-30=17']
Exploring Operation: 19-17=2, Resulting Numbers: [25, 2]
Generated Node #3: [25, 2] from Operation: 19-17=2
Current State: 50:[25, 2], Operations: ['47-30=17', '19-17=2']
Exploring Operation: 25*2=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 |
Current State: 50:[47, 30, 19, 25], Operations: []
Exploring Operation: 30-19=11, Resulting Numbers: [47, 25, 11]
Generated Node #0,0: 50:[47, 25, 11] Operation: 30-19=11
Exploring Operation: 30+19=49, Resulting Numbers: [47, 25, 49]
Generated Node #0,1: 50:[47, 25, 49] Operation: 30+19=49
Moving to Node #0,0
Current State: 50:[47, 25, 11], Operations: ['30-19=11']
Exploring Operation: 47-25=22, Resulting Numbers: [11, 22]
Generated Node #0,0,0: 50:[11, 22] Operation: 47-25=22
Exploring Operation: 25-11=14, Resulting Numbers: [47, 14]
Generated Node #0,0,1: 50:[47, 14] Operation: 25-11=14
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 50:[11, 22], Operations: ['30-19=11', '47-25=22']
Exploring Operation: 22-11=11, Resulting Numbers: [11]
11,50 unequal: No Solution
Exploring Operation: 22/11=2, Resulting Numbers: [2]
2,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 50:[47, 14], Operations: ['30-19=11', '25-11=14']
Exploring Operation: 47+14=61, Resulting Numbers: [61]
61,50 unequal: No Solution
Exploring Operation: 47-14=33, Resulting Numbers: [33]
33,50 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: 50:[47, 25, 49], Operations: ['30+19=49']
Exploring Operation: 49-47=2, Resulting Numbers: [25, 2]
Generated Node #0,1,0: 50:[25, 2] Operation: 49-47=2
Exploring Operation: 47-25=22, Resulting Numbers: [49, 22]
Generated Node #0,1,1: 50:[49, 22] Operation: 47-25=22
Moving to Node #0,1,0
Current State: 50:[25, 2], Operations: ['30+19=49', '49-47=2']
Exploring Operation: 25*2=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[47, 30, 19, 25], Operations: []
Exploring Operation: 30+19=49, Resulting Numbers: [47, 25, 49]
Generated Node #0,1: 50:[47, 25, 49] Operation: 30+19=49
Moving to Node #0,1
Current State: 50:[47, 25, 49], Operations: ['30+19=49']
Exploring Operation: 49-47=2, Resulting Numbers: [25, 2]
Generated Node #0,1,0: 50:[25, 2] Operation: 49-47=2
Moving to Node #0,1,0
Current State: 50:[25, 2], Operations: ['30+19=49', '49-47=2']
Exploring Operation: 25*2=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 0.986979 |
hs_2
|
sum_heuristic
|
[
39,
89,
20,
52
] | 18 |
[
"89-39=50",
"52-20=32",
"50-32=18"
] |
Current State: 18:[39, 89, 20, 52], Operations: []
Exploring Operation: 89-39=50, Resulting Numbers: [20, 52, 50]
Generated Node #2: [20, 52, 50] from Operation: 89-39=50
Current State: 18:[20, 52, 50], Operations: ['89-39=50']
Exploring Operation: 52-20=32, Resulting Numbers: [50, 32]
Generated Node #3: [50, 32] from Operation: 52-20=32
Current State: 18:[50, 32], Operations: ['89-39=50', '52-20=32']
Exploring Operation: 50-32=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 |
Current State: 18:[39, 89, 20, 52], Operations: []
Exploring Operation: 89-52=37, Resulting Numbers: [39, 20, 37]
Generated Node #0,0: 18:[39, 20, 37] Operation: 89-52=37
Start Sub Search at level 1: Moving to Node #0,0
Current State: 18:[39, 20, 37], Operations: ['89-52=37']
Exploring Operation: 39-37=2, Resulting Numbers: [20, 2]
Generated Node #0,0,0: 18:[20, 2] Operation: 39-37=2
Moving to Node #0,0,0
Current State: 18:[20, 2], Operations: ['89-52=37', '39-37=2']
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[39, 89, 20, 52], Operations: []
Exploring Operation: 89-52=37, Resulting Numbers: [39, 20, 37]
Generated Node #0,0: 18:[39, 20, 37] Operation: 89-52=37
Moving to Node #0,0
Current State: 18:[39, 20, 37], Operations: ['89-52=37']
Exploring Operation: 39-37=2, Resulting Numbers: [20, 2]
Generated Node #0,0,0: 18:[20, 2] Operation: 39-37=2
Moving to Node #0,0,0
Current State: 18:[20, 2], Operations: ['89-52=37', '39-37=2']
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 |
hs_1
|
mult_heuristic
|
[
74,
66,
73,
93
] | 27 |
[
"74-73=1",
"93-66=27",
"1*27=27"
] |
Current State: 27:[74, 66, 73, 93], Operations: []
Exploring Operation: 74-73=1, Resulting Numbers: [66, 93, 1]
Generated Node #2: [66, 93, 1] from Operation: 74-73=1
Current State: 27:[66, 93, 1], Operations: ['74-73=1']
Exploring Operation: 93-66=27, Resulting Numbers: [1, 27]
Generated Node #3: [1, 27] from Operation: 93-66=27
Current State: 27:[1, 27], Operations: ['74-73=1', '93-66=27']
Exploring Operation: 1*27=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 |
Current State: 27:[74, 66, 73, 93], Operations: []
Exploring Operation: 74-73=1, Resulting Numbers: [66, 93, 1]
Generated Node #0,0: 27:[66, 93, 1] Operation: 74-73=1
Exploring Operation: 93-74=19, Resulting Numbers: [66, 73, 19]
Generated Node #0,1: 27:[66, 73, 19] Operation: 93-74=19
Exploring Operation: 93-66=27, Resulting Numbers: [74, 73, 27]
Generated Node #0,2: 27:[74, 73, 27] Operation: 93-66=27
Exploring Operation: 93-73=20, Resulting Numbers: [74, 66, 20]
Generated Node #0,3: 27:[74, 66, 20] Operation: 93-73=20
Moving to Node #0,1
Current State: 27:[66, 73, 19], Operations: ['93-74=19']
Exploring Operation: 73-19=54, Resulting Numbers: [66, 54]
Generated Node #0,1,0: 27:[66, 54] Operation: 73-19=54
Exploring Operation: 73-66=7, Resulting Numbers: [19, 7]
Generated Node #0,1,1: 27:[19, 7] Operation: 73-66=7
Exploring Operation: 66+19=85, Resulting Numbers: [73, 85]
Generated Node #0,1,2: 27:[73, 85] Operation: 66+19=85
Exploring Operation: 66-19=47, Resulting Numbers: [73, 47]
Generated Node #0,1,3: 27:[73, 47] Operation: 66-19=47
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 27:[19, 7], Operations: ['93-74=19', '73-66=7']
Exploring Operation: 19-7=12, Resulting Numbers: [12]
12,27 unequal: No Solution
Exploring Operation: 19+7=26, Resulting Numbers: [26]
26,27 unequal: No Solution
Exploring Operation: 19*7=133, Resulting Numbers: [133]
133,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,0
Current State: 27:[66, 54], Operations: ['93-74=19', '73-19=54']
Exploring Operation: 66*54=3564, Resulting Numbers: [3564]
3564,27 unequal: No Solution
Exploring Operation: 66-54=12, Resulting Numbers: [12]
12,27 unequal: No Solution
Exploring Operation: 66+54=120, Resulting Numbers: [120]
120,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,3
Current State: 27:[73, 47], Operations: ['93-74=19', '66-19=47']
Exploring Operation: 73+47=120, Resulting Numbers: [120]
120,27 unequal: No Solution
Exploring Operation: 73*47=3431, Resulting Numbers: [3431]
3431,27 unequal: No Solution
Exploring Operation: 73-47=26, Resulting Numbers: [26]
26,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,2
Current State: 27:[73, 85], Operations: ['93-74=19', '66+19=85']
Exploring Operation: 73*85=6205, Resulting Numbers: [6205]
6205,27 unequal: No Solution
Exploring Operation: 73+85=158, Resulting Numbers: [158]
158,27 unequal: No Solution
Exploring Operation: 85-73=12, Resulting Numbers: [12]
12,27 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: 27:[74, 66, 20], Operations: ['93-73=20']
Exploring Operation: 66-20=46, Resulting Numbers: [74, 46]
Generated Node #0,3,0: 27:[74, 46] Operation: 66-20=46
Exploring Operation: 74-20=54, Resulting Numbers: [66, 54]
Generated Node #0,3,1: 27:[66, 54] Operation: 74-20=54
Exploring Operation: 74-66=8, Resulting Numbers: [20, 8]
Generated Node #0,3,2: 27:[20, 8] Operation: 74-66=8
Exploring Operation: 74+20=94, Resulting Numbers: [66, 94]
Generated Node #0,3,3: 27:[66, 94] Operation: 74+20=94
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 27:[20, 8], Operations: ['93-73=20', '74-66=8']
Exploring Operation: 20+8=28, Resulting Numbers: [28]
28,27 unequal: No Solution
Exploring Operation: 20*8=160, Resulting Numbers: [160]
160,27 unequal: No Solution
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,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,3,0
Current State: 27:[74, 46], Operations: ['93-73=20', '66-20=46']
Exploring Operation: 74*46=3404, Resulting Numbers: [3404]
3404,27 unequal: No Solution
Exploring Operation: 74-46=28, Resulting Numbers: [28]
28,27 unequal: No Solution
Exploring Operation: 74+46=120, Resulting Numbers: [120]
120,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,3,1
Current State: 27:[66, 54], Operations: ['93-73=20', '74-20=54']
Exploring Operation: 66+54=120, Resulting Numbers: [120]
120,27 unequal: No Solution
Exploring Operation: 66*54=3564, Resulting Numbers: [3564]
3564,27 unequal: No Solution
Exploring Operation: 66-54=12, Resulting Numbers: [12]
12,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,3,3
Current State: 27:[66, 94], Operations: ['93-73=20', '74+20=94']
Exploring Operation: 66*94=6204, Resulting Numbers: [6204]
6204,27 unequal: No Solution
Exploring Operation: 66+94=160, Resulting Numbers: [160]
160,27 unequal: No Solution
Exploring Operation: 94-66=28, Resulting Numbers: [28]
28,27 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: 27:[74, 73, 27], Operations: ['93-66=27']
Exploring Operation: 74-73=1, Resulting Numbers: [27, 1]
Generated Node #0,2,0: 27:[27, 1] Operation: 74-73=1
Exploring Operation: 74+73=147, Resulting Numbers: [27, 147]
Generated Node #0,2,1: 27:[27, 147] Operation: 74+73=147
Exploring Operation: 73-27=46, Resulting Numbers: [74, 46]
Generated Node #0,2,2: 27:[74, 46] Operation: 73-27=46
Exploring Operation: 74-27=47, Resulting Numbers: [73, 47]
Generated Node #0,2,3: 27:[73, 47] Operation: 74-27=47
Moving to Node #0,0
Current State: 27:[66, 93, 1], Operations: ['74-73=1']
Exploring Operation: 93-1=92, Resulting Numbers: [66, 92]
Generated Node #0,0,0: 27:[66, 92] Operation: 93-1=92
Exploring Operation: 66*1=66, Resulting Numbers: [93, 66]
Generated Node #0,0,1: 27:[93, 66] Operation: 66*1=66
Exploring Operation: 66-1=65, Resulting Numbers: [93, 65]
Generated Node #0,0,2: 27:[93, 65] Operation: 66-1=65
Exploring Operation: 93-66=27, Resulting Numbers: [1, 27]
Generated Node #0,0,3: 27:[1, 27] Operation: 93-66=27
Moving to Node #0,2,0
Current State: 27:[27, 1], Operations: ['93-66=27', '74-73=1']
Exploring Operation: 27*1=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[74, 66, 73, 93], Operations: []
Exploring Operation: 93-66=27, Resulting Numbers: [74, 73, 27]
Generated Node #0,2: 27:[74, 73, 27] Operation: 93-66=27
Moving to Node #0,2
Current State: 27:[74, 73, 27], Operations: ['93-66=27']
Exploring Operation: 74-73=1, Resulting Numbers: [27, 1]
Generated Node #0,2,0: 27:[27, 1] Operation: 74-73=1
Moving to Node #0,2,0
Current State: 27:[27, 1], Operations: ['93-66=27', '74-73=1']
Exploring Operation: 27*1=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 0.957465 |
hs_4
|
sum_heuristic
|
[
31,
82,
10,
72
] | 36 |
[
"31+10=41",
"82/41=2",
"72/2=36"
] |
Current State: 36:[31, 82, 10, 72], Operations: []
Exploring Operation: 31+10=41, Resulting Numbers: [82, 72, 41]
Generated Node #2: [82, 72, 41] from Operation: 31+10=41
Current State: 36:[82, 72, 41], Operations: ['31+10=41']
Exploring Operation: 82/41=2, Resulting Numbers: [72, 2]
Generated Node #3: [72, 2] from Operation: 82/41=2
Current State: 36:[72, 2], Operations: ['31+10=41', '82/41=2']
Exploring Operation: 72/2=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 |
Current State: 36:[31, 82, 10, 72], Operations: []
Exploring Operation: 82-31=51, Resulting Numbers: [10, 72, 51]
Generated Node #0,0: 36:[10, 72, 51] Operation: 82-31=51
Exploring Operation: 82-72=10, Resulting Numbers: [31, 10, 10]
Generated Node #0,1: 36:[31, 10, 10] Operation: 82-72=10
Moving to Node #0,1
Current State: 36:[31, 10, 10], Operations: ['82-72=10']
Exploring Operation: 31-10=21, Resulting Numbers: [10, 21]
Generated Node #0,1,0: 36:[10, 21] Operation: 31-10=21
Exploring Operation: 31-10=21, Resulting Numbers: [10, 21]
Generated Node #0,1,1: 36:[10, 21] Operation: 31-10=21
Moving to Node #0,0
Current State: 36:[10, 72, 51], Operations: ['82-31=51']
Exploring Operation: 72-10=62, Resulting Numbers: [51, 62]
Generated Node #0,0,0: 36:[51, 62] Operation: 72-10=62
Exploring Operation: 72-51=21, Resulting Numbers: [10, 21]
Generated Node #0,0,1: 36:[10, 21] Operation: 72-51=21
Moving to Node #0,1,0
Current State: 36:[10, 21], Operations: ['82-72=10', '31-10=21']
Exploring Operation: 21-10=11, Resulting Numbers: [11]
11,36 unequal: No Solution
Exploring Operation: 10+21=31, Resulting Numbers: [31]
31,36 unequal: No Solution
Moving to Node #0,0,1
Current State: 36:[10, 21], Operations: ['82-31=51', '72-51=21']
Exploring Operation: 10+21=31, Resulting Numbers: [31]
31,36 unequal: No Solution
Exploring Operation: 21-10=11, Resulting Numbers: [11]
11,36 unequal: No Solution
Moving to Node #0,1,1
Current State: 36:[10, 21], Operations: ['82-72=10', '31-10=21']
Exploring Operation: 10+21=31, Resulting Numbers: [31]
31,36 unequal: No Solution
Exploring Operation: 21-10=11, Resulting Numbers: [11]
11,36 unequal: No Solution
Moving to Node #0,0,0
Current State: 36:[51, 62], Operations: ['82-31=51', '72-10=62']
Exploring Operation: 51+62=113, Resulting Numbers: [113]
113,36 unequal: No Solution
Exploring Operation: 62-51=11, Resulting Numbers: [11]
11,36 unequal: No Solution
No solution found.
| 0 |
hs_2
|
sum_heuristic
|
[
48,
48,
79,
50
] | 33 |
[
"48+48=96",
"79+50=129",
"129-96=33"
] |
Current State: 33:[48, 48, 79, 50], Operations: []
Exploring Operation: 48+48=96, Resulting Numbers: [79, 50, 96]
Generated Node #2: [79, 50, 96] from Operation: 48+48=96
Current State: 33:[79, 50, 96], Operations: ['48+48=96']
Exploring Operation: 79+50=129, Resulting Numbers: [96, 129]
Generated Node #3: [96, 129] from Operation: 79+50=129
Current State: 33:[96, 129], Operations: ['48+48=96', '79+50=129']
Exploring Operation: 129-96=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 |
Current State: 33:[48, 48, 79, 50], Operations: []
Exploring Operation: 79-48=31, Resulting Numbers: [48, 50, 31]
Generated Node #0,0: 33:[48, 50, 31] Operation: 79-48=31
Exploring Operation: 79-48=31, Resulting Numbers: [48, 50, 31]
Generated Node #0,1: 33:[48, 50, 31] Operation: 79-48=31
Exploring Operation: 79-50=29, Resulting Numbers: [48, 48, 29]
Generated Node #0,2: 33:[48, 48, 29] Operation: 79-50=29
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[48, 50, 31], Operations: ['79-48=31']
Exploring Operation: 50-31=19, Resulting Numbers: [48, 19]
Generated Node #0,0,0: 33:[48, 19] Operation: 50-31=19
Exploring Operation: 50-48=2, Resulting Numbers: [31, 2]
Generated Node #0,0,1: 33:[31, 2] Operation: 50-48=2
Exploring Operation: 48-31=17, Resulting Numbers: [50, 17]
Generated Node #0,0,2: 33:[50, 17] Operation: 48-31=17
Moving to Node #0,0,1
Current State: 33:[31, 2], Operations: ['79-48=31', '50-48=2']
Exploring Operation: 31*2=62, Resulting Numbers: [62]
62,33 unequal: No Solution
Exploring Operation: 31+2=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[48, 48, 79, 50], Operations: []
Exploring Operation: 79-48=31, Resulting Numbers: [48, 50, 31]
Generated Node #0,0: 33:[48, 50, 31] Operation: 79-48=31
Moving to Node #0,0
Current State: 33:[48, 50, 31], Operations: ['79-48=31']
Exploring Operation: 50-48=2, Resulting Numbers: [31, 2]
Generated Node #0,0,1: 33:[31, 2] Operation: 50-48=2
Moving to Node #0,0,1
Current State: 33:[31, 2], Operations: ['79-48=31', '50-48=2']
Exploring Operation: 31+2=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 |
hs_3
|
mult_heuristic
|
[
54,
96,
32,
4
] | 88 |
[
"54*4=216",
"96+32=128",
"216-128=88"
] |
Current State: 88:[54, 96, 32, 4], Operations: []
Exploring Operation: 54*4=216, Resulting Numbers: [96, 32, 216]
Generated Node #2: [96, 32, 216] from Operation: 54*4=216
Current State: 88:[96, 32, 216], Operations: ['54*4=216']
Exploring Operation: 96+32=128, Resulting Numbers: [216, 128]
Generated Node #3: [216, 128] from Operation: 96+32=128
Current State: 88:[216, 128], Operations: ['54*4=216', '96+32=128']
Exploring Operation: 216-128=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 |
Current State: 88:[54, 96, 32, 4], Operations: []
Exploring Operation: 54-32=22, Resulting Numbers: [96, 4, 22]
Generated Node #0,0: 88:[96, 4, 22] Operation: 54-32=22
Exploring Operation: 54+32=86, Resulting Numbers: [96, 4, 86]
Generated Node #0,1: 88:[96, 4, 86] Operation: 54+32=86
Moving to Node #0,0
Current State: 88:[96, 4, 22], Operations: ['54-32=22']
Exploring Operation: 96-4=92, Resulting Numbers: [22, 92]
Generated Node #0,0,0: 88:[22, 92] Operation: 96-4=92
Exploring Operation: 96/4=24, Resulting Numbers: [22, 24]
Generated Node #0,0,1: 88:[22, 24] Operation: 96/4=24
Moving to Node #0,1
Current State: 88:[96, 4, 86], Operations: ['54+32=86']
Exploring Operation: 96/4=24, Resulting Numbers: [86, 24]
Generated Node #0,1,0: 88:[86, 24] Operation: 96/4=24
Exploring Operation: 96-86=10, Resulting Numbers: [4, 10]
Generated Node #0,1,1: 88:[4, 10] Operation: 96-86=10
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 88:[4, 10], Operations: ['54+32=86', '96-86=10']
Exploring Operation: 4+10=14, Resulting Numbers: [14]
14,88 unequal: No Solution
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,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:[86, 24], Operations: ['54+32=86', '96/4=24']
Exploring Operation: 86+24=110, Resulting Numbers: [110]
110,88 unequal: No Solution
Exploring Operation: 86-24=62, Resulting Numbers: [62]
62,88 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: 88:[22, 24], Operations: ['54-32=22', '96/4=24']
Exploring Operation: 22+24=46, Resulting Numbers: [46]
46,88 unequal: No Solution
Exploring Operation: 24-22=2, Resulting Numbers: [2]
2,88 unequal: No Solution
Moving to Node #0,0,0
Current State: 88:[22, 92], Operations: ['54-32=22', '96-4=92']
Exploring Operation: 22+92=114, Resulting Numbers: [114]
114,88 unequal: No Solution
Exploring Operation: 92-22=70, Resulting Numbers: [70]
70,88 unequal: No Solution
No solution found.
| 0 |
hs_2
|
mult_heuristic
|
[
19,
3,
76,
17
] | 24 |
[
"76/19=4",
"3+17=20",
"4+20=24"
] |
Current State: 24:[19, 3, 76, 17], Operations: []
Exploring Operation: 76/19=4, Resulting Numbers: [3, 17, 4]
Generated Node #2: [3, 17, 4] from Operation: 76/19=4
Current State: 24:[3, 17, 4], Operations: ['76/19=4']
Exploring Operation: 3+17=20, Resulting Numbers: [4, 20]
Generated Node #3: [4, 20] from Operation: 3+17=20
Current State: 24:[4, 20], Operations: ['76/19=4', '3+17=20']
Exploring Operation: 4+20=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 |
Current State: 24:[19, 3, 76, 17], Operations: []
Exploring Operation: 19-17=2, Resulting Numbers: [3, 76, 2]
Generated Node #0,0: 24:[3, 76, 2] Operation: 19-17=2
Exploring Operation: 76-19=57, Resulting Numbers: [3, 17, 57]
Generated Node #0,1: 24:[3, 17, 57] Operation: 76-19=57
Exploring Operation: 76-17=59, Resulting Numbers: [19, 3, 59]
Generated Node #0,2: 24:[19, 3, 59] Operation: 76-17=59
Exploring Operation: 76/19=4, Resulting Numbers: [3, 17, 4]
Generated Node #0,3: 24:[3, 17, 4] Operation: 76/19=4
Moving to Node #0,3
Current State: 24:[3, 17, 4], Operations: ['76/19=4']
Exploring Operation: 17-4=13, Resulting Numbers: [3, 13]
Generated Node #0,3,0: 24:[3, 13] Operation: 17-4=13
Exploring Operation: 3+17=20, Resulting Numbers: [4, 20]
Generated Node #0,3,1: 24:[4, 20] Operation: 3+17=20
Exploring Operation: 17+4=21, Resulting Numbers: [3, 21]
Generated Node #0,3,2: 24:[3, 21] Operation: 17+4=21
Exploring Operation: 17-3=14, Resulting Numbers: [4, 14]
Generated Node #0,3,3: 24:[4, 14] Operation: 17-3=14
Moving to Node #0,1
Current State: 24:[3, 17, 57], Operations: ['76-19=57']
Exploring Operation: 57/3=19, Resulting Numbers: [17, 19]
Generated Node #0,1,0: 24:[17, 19] Operation: 57/3=19
Exploring Operation: 57-17=40, Resulting Numbers: [3, 40]
Generated Node #0,1,1: 24:[3, 40] Operation: 57-17=40
Exploring Operation: 57-3=54, Resulting Numbers: [17, 54]
Generated Node #0,1,2: 24:[17, 54] Operation: 57-3=54
Exploring Operation: 17-3=14, Resulting Numbers: [57, 14]
Generated Node #0,1,3: 24:[57, 14] Operation: 17-3=14
Moving to Node #0,2
Current State: 24:[19, 3, 59], Operations: ['76-17=59']
Exploring Operation: 59-19=40, Resulting Numbers: [3, 40]
Generated Node #0,2,0: 24:[3, 40] Operation: 59-19=40
Exploring Operation: 19-3=16, Resulting Numbers: [59, 16]
Generated Node #0,2,1: 24:[59, 16] Operation: 19-3=16
Exploring Operation: 19+3=22, Resulting Numbers: [59, 22]
Generated Node #0,2,2: 24:[59, 22] Operation: 19+3=22
Exploring Operation: 59-3=56, Resulting Numbers: [19, 56]
Generated Node #0,2,3: 24:[19, 56] Operation: 59-3=56
Moving to Node #0,0
Current State: 24:[3, 76, 2], Operations: ['19-17=2']
Exploring Operation: 3*2=6, Resulting Numbers: [76, 6]
Generated Node #0,0,0: 24:[76, 6] Operation: 3*2=6
Exploring Operation: 76/2=38, Resulting Numbers: [3, 38]
Generated Node #0,0,1: 24:[3, 38] Operation: 76/2=38
Exploring Operation: 76-3=73, Resulting Numbers: [2, 73]
Generated Node #0,0,2: 24:[2, 73] Operation: 76-3=73
Exploring Operation: 76-2=74, Resulting Numbers: [3, 74]
Generated Node #0,0,3: 24:[3, 74] Operation: 76-2=74
Moving to Node #0,3,0
Current State: 24:[3, 13], Operations: ['76/19=4', '17-4=13']
Exploring Operation: 3+13=16, Resulting Numbers: [16]
16,24 unequal: No Solution
Exploring Operation: 3*13=39, Resulting Numbers: [39]
39,24 unequal: No Solution
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,24 unequal: No Solution
Moving to Node #0,3,3
Current State: 24:[4, 14], Operations: ['76/19=4', '17-3=14']
Exploring Operation: 4+14=18, Resulting Numbers: [18]
18,24 unequal: No Solution
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,24 unequal: No Solution
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,24 unequal: No Solution
Moving to Node #0,3,2
Current State: 24:[3, 21], Operations: ['76/19=4', '17+4=21']
Exploring Operation: 3+21=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[19, 3, 76, 17], Operations: []
Exploring Operation: 76/19=4, Resulting Numbers: [3, 17, 4]
Generated Node #0,3: 24:[3, 17, 4] Operation: 76/19=4
Moving to Node #0,3
Current State: 24:[3, 17, 4], Operations: ['76/19=4']
Exploring Operation: 17+4=21, Resulting Numbers: [3, 21]
Generated Node #0,3,2: 24:[3, 21] Operation: 17+4=21
Moving to Node #0,3,2
Current State: 24:[3, 21], Operations: ['76/19=4', '17+4=21']
Exploring Operation: 3+21=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 0.97309 |
hs_4
|
sum_heuristic
|
[
60,
32,
20,
36
] | 41 |
[
"32-20=12",
"60/12=5",
"36+5=41"
] |
Current State: 41:[60, 32, 20, 36], Operations: []
Exploring Operation: 32-20=12, Resulting Numbers: [60, 36, 12]
Generated Node #2: [60, 36, 12] from Operation: 32-20=12
Current State: 41:[60, 36, 12], Operations: ['32-20=12']
Exploring Operation: 60/12=5, Resulting Numbers: [36, 5]
Generated Node #3: [36, 5] from Operation: 60/12=5
Current State: 41:[36, 5], Operations: ['32-20=12', '60/12=5']
Exploring Operation: 36+5=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 |
Current State: 41:[60, 32, 20, 36], Operations: []
Exploring Operation: 60-20=40, Resulting Numbers: [32, 36, 40]
Generated Node #0,0: 41:[32, 36, 40] Operation: 60-20=40
Moving to Node #0,0
Current State: 41:[32, 36, 40], Operations: ['60-20=40']
Exploring Operation: 32+36=68, Resulting Numbers: [40, 68]
Generated Node #0,0,0: 41:[40, 68] Operation: 32+36=68
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 41:[40, 68], Operations: ['60-20=40', '32+36=68']
Exploring Operation: 68-40=28, Resulting Numbers: [28]
28,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
mult_heuristic
|
[
3,
17,
79,
13
] | 78 |
[
"17-3=14",
"79+13=92",
"92-14=78"
] |
Current State: 78:[3, 17, 79, 13], Operations: []
Exploring Operation: 17-3=14, Resulting Numbers: [79, 13, 14]
Generated Node #2: [79, 13, 14] from Operation: 17-3=14
Current State: 78:[79, 13, 14], Operations: ['17-3=14']
Exploring Operation: 79+13=92, Resulting Numbers: [14, 92]
Generated Node #3: [14, 92] from Operation: 79+13=92
Current State: 78:[14, 92], Operations: ['17-3=14', '79+13=92']
Exploring Operation: 92-14=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 |
Current State: 78:[3, 17, 79, 13], Operations: []
Exploring Operation: 3*13=39, Resulting Numbers: [17, 79, 39]
Generated Node #0,0: 78:[17, 79, 39] Operation: 3*13=39
Exploring Operation: 17-13=4, Resulting Numbers: [3, 79, 4]
Generated Node #0,1: 78:[3, 79, 4] Operation: 17-13=4
Exploring Operation: 17+13=30, Resulting Numbers: [3, 79, 30]
Generated Node #0,2: 78:[3, 79, 30] Operation: 17+13=30
Exploring Operation: 17-3=14, Resulting Numbers: [79, 13, 14]
Generated Node #0,3: 78:[79, 13, 14] Operation: 17-3=14
Moving to Node #0,1
Current State: 78:[3, 79, 4], Operations: ['17-13=4']
Exploring Operation: 4-3=1, Resulting Numbers: [79, 1]
Generated Node #0,1,0: 78:[79, 1] Operation: 4-3=1
Exploring Operation: 3*4=12, Resulting Numbers: [79, 12]
Generated Node #0,1,1: 78:[79, 12] Operation: 3*4=12
Exploring Operation: 3+4=7, Resulting Numbers: [79, 7]
Generated Node #0,1,2: 78:[79, 7] Operation: 3+4=7
Exploring Operation: 79-3=76, Resulting Numbers: [4, 76]
Generated Node #0,1,3: 78:[4, 76] Operation: 79-3=76
Moving to Node #0,3
Current State: 78:[79, 13, 14], Operations: ['17-3=14']
Exploring Operation: 13+14=27, Resulting Numbers: [79, 27]
Generated Node #0,3,0: 78:[79, 27] Operation: 13+14=27
Exploring Operation: 14-13=1, Resulting Numbers: [79, 1]
Generated Node #0,3,1: 78:[79, 1] Operation: 14-13=1
Exploring Operation: 79-13=66, Resulting Numbers: [14, 66]
Generated Node #0,3,2: 78:[14, 66] Operation: 79-13=66
Exploring Operation: 79-14=65, Resulting Numbers: [13, 65]
Generated Node #0,3,3: 78:[13, 65] Operation: 79-14=65
Moving to Node #0,2
Current State: 78:[3, 79, 30], Operations: ['17+13=30']
Exploring Operation: 30-3=27, Resulting Numbers: [79, 27]
Generated Node #0,2,0: 78:[79, 27] Operation: 30-3=27
Exploring Operation: 30/3=10, Resulting Numbers: [79, 10]
Generated Node #0,2,1: 78:[79, 10] Operation: 30/3=10
Exploring Operation: 3+30=33, Resulting Numbers: [79, 33]
Generated Node #0,2,2: 78:[79, 33] Operation: 3+30=33
Exploring Operation: 79-3=76, Resulting Numbers: [30, 76]
Generated Node #0,2,3: 78:[30, 76] Operation: 79-3=76
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 78:[79, 27], Operations: ['17+13=30', '30-3=27']
Exploring Operation: 79+27=106, Resulting Numbers: [106]
106,78 unequal: No Solution
Exploring Operation: 79-27=52, Resulting Numbers: [52]
52,78 unequal: No Solution
Exploring Operation: 79*27=2133, Resulting Numbers: [2133]
2133,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 78:[79, 10], Operations: ['17+13=30', '30/3=10']
Exploring Operation: 79+10=89, Resulting Numbers: [89]
89,78 unequal: No Solution
Exploring Operation: 79*10=790, Resulting Numbers: [790]
790,78 unequal: No Solution
Exploring Operation: 79-10=69, Resulting Numbers: [69]
69,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 78:[30, 76], Operations: ['17+13=30', '79-3=76']
Exploring Operation: 76-30=46, Resulting Numbers: [46]
46,78 unequal: No Solution
Exploring Operation: 30+76=106, Resulting Numbers: [106]
106,78 unequal: No Solution
Exploring Operation: 30*76=2280, Resulting Numbers: [2280]
2280,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 78:[79, 33], Operations: ['17+13=30', '3+30=33']
Exploring Operation: 79+33=112, Resulting Numbers: [112]
112,78 unequal: No Solution
Exploring Operation: 79-33=46, Resulting Numbers: [46]
46,78 unequal: No Solution
Exploring Operation: 79*33=2607, Resulting Numbers: [2607]
2607,78 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: 78:[17, 79, 39], Operations: ['3*13=39']
Exploring Operation: 79-39=40, Resulting Numbers: [17, 40]
Generated Node #0,0,0: 78:[17, 40] Operation: 79-39=40
Exploring Operation: 79-17=62, Resulting Numbers: [39, 62]
Generated Node #0,0,1: 78:[39, 62] Operation: 79-17=62
Exploring Operation: 39-17=22, Resulting Numbers: [79, 22]
Generated Node #0,0,2: 78:[79, 22] Operation: 39-17=22
Exploring Operation: 17+79=96, Resulting Numbers: [39, 96]
Generated Node #0,0,3: 78:[39, 96] Operation: 17+79=96
Moving to Node #0,1,0
Current State: 78:[79, 1], Operations: ['17-13=4', '4-3=1']
Exploring Operation: 79/1=79, Resulting Numbers: [79]
79,78 unequal: No Solution
Exploring Operation: 79+1=80, Resulting Numbers: [80]
80,78 unequal: No Solution
Exploring Operation: 79*1=79, Resulting Numbers: [79]
79,78 unequal: No Solution
Exploring Operation: 79-1=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[3, 17, 79, 13], Operations: []
Exploring Operation: 17-13=4, Resulting Numbers: [3, 79, 4]
Generated Node #0,1: 78:[3, 79, 4] Operation: 17-13=4
Moving to Node #0,1
Current State: 78:[3, 79, 4], Operations: ['17-13=4']
Exploring Operation: 4-3=1, Resulting Numbers: [79, 1]
Generated Node #0,1,0: 78:[79, 1] Operation: 4-3=1
Moving to Node #0,1,0
Current State: 78:[79, 1], Operations: ['17-13=4', '4-3=1']
Exploring Operation: 79-1=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 0.965278 |
hs_4
|
mult_heuristic
|
[
29,
4,
23,
21
] | 23 |
[
"29-4=25",
"23-21=2",
"25-2=23"
] |
Current State: 23:[29, 4, 23, 21], Operations: []
Exploring Operation: 29-4=25, Resulting Numbers: [23, 21, 25]
Generated Node #2: [23, 21, 25] from Operation: 29-4=25
Current State: 23:[23, 21, 25], Operations: ['29-4=25']
Exploring Operation: 23-21=2, Resulting Numbers: [25, 2]
Generated Node #3: [25, 2] from Operation: 23-21=2
Current State: 23:[25, 2], Operations: ['29-4=25', '23-21=2']
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 |
Current State: 23:[29, 4, 23, 21], Operations: []
Exploring Operation: 29-4=25, Resulting Numbers: [23, 21, 25]
Generated Node #0,0: 23:[23, 21, 25] Operation: 29-4=25
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[23, 21, 25], Operations: ['29-4=25']
Exploring Operation: 25-21=4, Resulting Numbers: [23, 4]
Generated Node #0,0,0: 23:[23, 4] Operation: 25-21=4
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 23:[23, 4], Operations: ['29-4=25', '25-21=4']
Exploring Operation: 23+4=27, Resulting Numbers: [27]
27,23 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
|
[
21,
86,
74,
12
] | 22 |
[
"86-74=12",
"12/12=1",
"21+1=22"
] |
Current State: 22:[21, 86, 74, 12], Operations: []
Exploring Operation: 86-74=12, Resulting Numbers: [21, 12, 12]
Generated Node #2: [21, 12, 12] from Operation: 86-74=12
Current State: 22:[21, 12, 12], Operations: ['86-74=12']
Exploring Operation: 12/12=1, Resulting Numbers: [21, 1]
Generated Node #3: [21, 1] from Operation: 12/12=1
Current State: 22:[21, 1], Operations: ['86-74=12', '12/12=1']
Exploring Operation: 21+1=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 |
Current State: 22:[21, 86, 74, 12], Operations: []
Exploring Operation: 86-74=12, Resulting Numbers: [21, 12, 12]
Generated Node #0,0: 22:[21, 12, 12] Operation: 86-74=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[21, 12, 12], Operations: ['86-74=12']
Exploring Operation: 12/12=1, Resulting Numbers: [21, 1]
Generated Node #0,0,0: 22:[21, 1] Operation: 12/12=1
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 22:[21, 1], Operations: ['86-74=12', '12/12=1']
Exploring Operation: 21+1=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[21, 86, 74, 12], Operations: []
Exploring Operation: 86-74=12, Resulting Numbers: [21, 12, 12]
Generated Node #0,0: 22:[21, 12, 12] Operation: 86-74=12
Moving to Node #0,0
Current State: 22:[21, 12, 12], Operations: ['86-74=12']
Exploring Operation: 12/12=1, Resulting Numbers: [21, 1]
Generated Node #0,0,0: 22:[21, 1] Operation: 12/12=1
Moving to Node #0,0,0
Current State: 22:[21, 1], Operations: ['86-74=12', '12/12=1']
Exploring Operation: 21+1=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 |
hs_1
|
mult_heuristic
|
[
65,
6,
53,
3
] | 94 |
[
"6-3=3",
"53*3=159",
"159-65=94"
] |
Current State: 94:[65, 6, 53, 3], Operations: []
Exploring Operation: 6-3=3, Resulting Numbers: [65, 53, 3]
Generated Node #2: [65, 53, 3] from Operation: 6-3=3
Current State: 94:[65, 53, 3], Operations: ['6-3=3']
Exploring Operation: 53*3=159, Resulting Numbers: [65, 159]
Generated Node #3: [65, 159] from Operation: 53*3=159
Current State: 94:[65, 159], Operations: ['6-3=3', '53*3=159']
Exploring Operation: 159-65=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 |
Current State: 94:[65, 6, 53, 3], Operations: []
Exploring Operation: 65-3=62, Resulting Numbers: [6, 53, 62]
Generated Node #0,0: 94:[6, 53, 62] Operation: 65-3=62
Exploring Operation: 53-6=47, Resulting Numbers: [65, 3, 47]
Generated Node #0,1: 94:[65, 3, 47] Operation: 53-6=47
Exploring Operation: 65-53=12, Resulting Numbers: [6, 3, 12]
Generated Node #0,2: 94:[6, 3, 12] Operation: 65-53=12
Exploring Operation: 6/3=2, Resulting Numbers: [65, 53, 2]
Generated Node #0,3: 94:[65, 53, 2] Operation: 6/3=2
Exploring Operation: 65-6=59, Resulting Numbers: [53, 3, 59]
Generated Node #0,4: 94:[53, 3, 59] Operation: 65-6=59
Moving to Node #0,2
Current State: 94:[6, 3, 12], Operations: ['65-53=12']
Exploring Operation: 6/3=2, Resulting Numbers: [12, 2]
Generated Node #0,2,0: 94:[12, 2] Operation: 6/3=2
Exploring Operation: 6-3=3, Resulting Numbers: [12, 3]
Generated Node #0,2,1: 94:[12, 3] Operation: 6-3=3
Exploring Operation: 12/6=2, Resulting Numbers: [3, 2]
Generated Node #0,2,2: 94:[3, 2] Operation: 12/6=2
Exploring Operation: 12/3=4, Resulting Numbers: [6, 4]
Generated Node #0,2,3: 94:[6, 4] Operation: 12/3=4
Exploring Operation: 12-6=6, Resulting Numbers: [3, 6]
Generated Node #0,2,4: 94:[3, 6] Operation: 12-6=6
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 94:[3, 2], Operations: ['65-53=12', '12/6=2']
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,94 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,94 unequal: No Solution
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 94:[3, 6], Operations: ['65-53=12', '12-6=6']
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,94 unequal: No Solution
Exploring Operation: 3*6=18, Resulting Numbers: [18]
18,94 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,94 unequal: No Solution
Exploring Operation: 3+6=9, Resulting Numbers: [9]
9,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 94:[6, 4], Operations: ['65-53=12', '12/3=4']
Exploring Operation: 6*4=24, Resulting Numbers: [24]
24,94 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,94 unequal: No Solution
Exploring Operation: 6+4=10, Resulting Numbers: [10]
10,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 94:[12, 2], Operations: ['65-53=12', '6/3=2']
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,94 unequal: No Solution
Exploring Operation: 12*2=24, Resulting Numbers: [24]
24,94 unequal: No Solution
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,94 unequal: No Solution
Exploring Operation: 12+2=14, Resulting Numbers: [14]
14,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 94:[12, 3], Operations: ['65-53=12', '6-3=3']
Exploring Operation: 12+3=15, Resulting Numbers: [15]
15,94 unequal: No Solution
Exploring Operation: 12*3=36, Resulting Numbers: [36]
36,94 unequal: No Solution
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,94 unequal: No Solution
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 94:[53, 3, 59], Operations: ['65-6=59']
Exploring Operation: 59-53=6, Resulting Numbers: [3, 6]
Generated Node #0,4,0: 94:[3, 6] Operation: 59-53=6
Exploring Operation: 59-3=56, Resulting Numbers: [53, 56]
Generated Node #0,4,1: 94:[53, 56] Operation: 59-3=56
Exploring Operation: 53+59=112, Resulting Numbers: [3, 112]
Generated Node #0,4,2: 94:[3, 112] Operation: 53+59=112
Exploring Operation: 53+3=56, Resulting Numbers: [59, 56]
Generated Node #0,4,3: 94:[59, 56] Operation: 53+3=56
Exploring Operation: 53-3=50, Resulting Numbers: [59, 50]
Generated Node #0,4,4: 94:[59, 50] Operation: 53-3=50
Moving to Node #0,1
Current State: 94:[65, 3, 47], Operations: ['53-6=47']
Exploring Operation: 65+3=68, Resulting Numbers: [47, 68]
Generated Node #0,1,0: 94:[47, 68] Operation: 65+3=68
Exploring Operation: 3+47=50, Resulting Numbers: [65, 50]
Generated Node #0,1,1: 94:[65, 50] Operation: 3+47=50
Exploring Operation: 65-3=62, Resulting Numbers: [47, 62]
Generated Node #0,1,2: 94:[47, 62] Operation: 65-3=62
Exploring Operation: 65+47=112, Resulting Numbers: [3, 112]
Generated Node #0,1,3: 94:[3, 112] Operation: 65+47=112
Exploring Operation: 65-47=18, Resulting Numbers: [3, 18]
Generated Node #0,1,4: 94:[3, 18] Operation: 65-47=18
Moving to Node #0,3
Current State: 94:[65, 53, 2], Operations: ['6/3=2']
Exploring Operation: 65-2=63, Resulting Numbers: [53, 63]
Generated Node #0,3,0: 94:[53, 63] Operation: 65-2=63
Exploring Operation: 53-2=51, Resulting Numbers: [65, 51]
Generated Node #0,3,1: 94:[65, 51] Operation: 53-2=51
Exploring Operation: 65+53=118, Resulting Numbers: [2, 118]
Generated Node #0,3,2: 94:[2, 118] Operation: 65+53=118
Exploring Operation: 65-53=12, Resulting Numbers: [2, 12]
Generated Node #0,3,3: 94:[2, 12] Operation: 65-53=12
Exploring Operation: 65+2=67, Resulting Numbers: [53, 67]
Generated Node #0,3,4: 94:[53, 67] Operation: 65+2=67
Moving to Node #0,0
Current State: 94:[6, 53, 62], Operations: ['65-3=62']
Exploring Operation: 62-6=56, Resulting Numbers: [53, 56]
Generated Node #0,0,0: 94:[53, 56] Operation: 62-6=56
Exploring Operation: 6+53=59, Resulting Numbers: [62, 59]
Generated Node #0,0,1: 94:[62, 59] Operation: 6+53=59
Exploring Operation: 62-53=9, Resulting Numbers: [6, 9]
Generated Node #0,0,2: 94:[6, 9] Operation: 62-53=9
Exploring Operation: 53-6=47, Resulting Numbers: [62, 47]
Generated Node #0,0,3: 94:[62, 47] Operation: 53-6=47
Exploring Operation: 53+62=115, Resulting Numbers: [6, 115]
Generated Node #0,0,4: 94:[6, 115] Operation: 53+62=115
Moving to Node #0,4,0
Current State: 94:[3, 6], Operations: ['65-6=59', '59-53=6']
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,94 unequal: No Solution
Exploring Operation: 3*6=18, Resulting Numbers: [18]
18,94 unequal: No Solution
Exploring Operation: 3+6=9, Resulting Numbers: [9]
9,94 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,94 unequal: No Solution
Moving to Node #0,3,3
Current State: 94:[2, 12], Operations: ['6/3=2', '65-53=12']
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,94 unequal: No Solution
Exploring Operation: 2*12=24, Resulting Numbers: [24]
24,94 unequal: No Solution
Exploring Operation: 2+12=14, Resulting Numbers: [14]
14,94 unequal: No Solution
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,94 unequal: No Solution
Moving to Node #0,0,2
Current State: 94:[6, 9], Operations: ['65-3=62', '62-53=9']
Exploring Operation: 6+9=15, Resulting Numbers: [15]
15,94 unequal: No Solution
Exploring Operation: 6*9=54, Resulting Numbers: [54]
54,94 unequal: No Solution
Exploring Operation: 9-6=3, Resulting Numbers: [3]
3,94 unequal: No Solution
Moving to Node #0,4,4
Current State: 94:[59, 50], Operations: ['65-6=59', '53-3=50']
Exploring Operation: 59*50=2950, Resulting Numbers: [2950]
2950,94 unequal: No Solution
Exploring Operation: 59+50=109, Resulting Numbers: [109]
109,94 unequal: No Solution
Exploring Operation: 59-50=9, Resulting Numbers: [9]
9,94 unequal: No Solution
Moving to Node #0,1,2
Current State: 94:[47, 62], Operations: ['53-6=47', '65-3=62']
Exploring Operation: 47*62=2914, Resulting Numbers: [2914]
2914,94 unequal: No Solution
Exploring Operation: 47+62=109, Resulting Numbers: [109]
109,94 unequal: No Solution
Exploring Operation: 62-47=15, Resulting Numbers: [15]
15,94 unequal: No Solution
Moving to Node #0,4,1
Current State: 94:[53, 56], Operations: ['65-6=59', '59-3=56']
Exploring Operation: 56-53=3, Resulting Numbers: [3]
3,94 unequal: No Solution
Exploring Operation: 53*56=2968, Resulting Numbers: [2968]
2968,94 unequal: No Solution
Exploring Operation: 53+56=109, Resulting Numbers: [109]
109,94 unequal: No Solution
Moving to Node #0,0,3
Current State: 94:[62, 47], Operations: ['65-3=62', '53-6=47']
Exploring Operation: 62-47=15, Resulting Numbers: [15]
15,94 unequal: No Solution
Exploring Operation: 62*47=2914, Resulting Numbers: [2914]
2914,94 unequal: No Solution
Exploring Operation: 62+47=109, Resulting Numbers: [109]
109,94 unequal: No Solution
Moving to Node #0,0,0
Current State: 94:[53, 56], Operations: ['65-3=62', '62-6=56']
Exploring Operation: 56-53=3, Resulting Numbers: [3]
3,94 unequal: No Solution
Exploring Operation: 53+56=109, Resulting Numbers: [109]
109,94 unequal: No Solution
Exploring Operation: 53*56=2968, Resulting Numbers: [2968]
2968,94 unequal: No Solution
Moving to Node #0,1,4
Current State: 94:[3, 18], Operations: ['53-6=47', '65-47=18']
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,94 unequal: No Solution
Exploring Operation: 3+18=21, Resulting Numbers: [21]
21,94 unequal: No Solution
Exploring Operation: 3*18=54, Resulting Numbers: [54]
54,94 unequal: No Solution
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,94 unequal: No Solution
Moving to Node #0,4,2
Current State: 94:[3, 112], Operations: ['65-6=59', '53+59=112']
Exploring Operation: 3+112=115, Resulting Numbers: [115]
115,94 unequal: No Solution
Exploring Operation: 3*112=336, Resulting Numbers: [336]
336,94 unequal: No Solution
Exploring Operation: 112-3=109, Resulting Numbers: [109]
109,94 unequal: No Solution
Moving to Node #0,1,3
Current State: 94:[3, 112], Operations: ['53-6=47', '65+47=112']
Exploring Operation: 3+112=115, Resulting Numbers: [115]
115,94 unequal: No Solution
Exploring Operation: 3*112=336, Resulting Numbers: [336]
336,94 unequal: No Solution
Exploring Operation: 112-3=109, Resulting Numbers: [109]
109,94 unequal: No Solution
Moving to Node #0,4,3
Current State: 94:[59, 56], Operations: ['65-6=59', '53+3=56']
Exploring Operation: 59+56=115, Resulting Numbers: [115]
115,94 unequal: No Solution
Exploring Operation: 59-56=3, Resulting Numbers: [3]
3,94 unequal: No Solution
Exploring Operation: 59*56=3304, Resulting Numbers: [3304]
3304,94 unequal: No Solution
Moving to Node #0,1,1
Current State: 94:[65, 50], Operations: ['53-6=47', '3+47=50']
Exploring Operation: 65+50=115, Resulting Numbers: [115]
115,94 unequal: No Solution
Exploring Operation: 65*50=3250, Resulting Numbers: [3250]
3250,94 unequal: No Solution
Exploring Operation: 65-50=15, Resulting Numbers: [15]
15,94 unequal: No Solution
Moving to Node #0,1,0
Current State: 94:[47, 68], Operations: ['53-6=47', '65+3=68']
Exploring Operation: 47*68=3196, Resulting Numbers: [3196]
3196,94 unequal: No Solution
Exploring Operation: 68-47=21, Resulting Numbers: [21]
21,94 unequal: No Solution
Exploring Operation: 47+68=115, Resulting Numbers: [115]
115,94 unequal: No Solution
Moving to Node #0,3,1
Current State: 94:[65, 51], Operations: ['6/3=2', '53-2=51']
Exploring Operation: 65+51=116, Resulting Numbers: [116]
116,94 unequal: No Solution
Exploring Operation: 65-51=14, Resulting Numbers: [14]
14,94 unequal: No Solution
Exploring Operation: 65*51=3315, Resulting Numbers: [3315]
3315,94 unequal: No Solution
Moving to Node #0,3,0
Current State: 94:[53, 63], Operations: ['6/3=2', '65-2=63']
Exploring Operation: 63-53=10, Resulting Numbers: [10]
10,94 unequal: No Solution
Exploring Operation: 53+63=116, Resulting Numbers: [116]
116,94 unequal: No Solution
Exploring Operation: 53*63=3339, Resulting Numbers: [3339]
3339,94 unequal: No Solution
Moving to Node #0,3,2
Current State: 94:[2, 118], Operations: ['6/3=2', '65+53=118']
Exploring Operation: 2+118=120, Resulting Numbers: [120]
120,94 unequal: No Solution
Exploring Operation: 118/2=59, Resulting Numbers: [59]
59,94 unequal: No Solution
Exploring Operation: 118-2=116, Resulting Numbers: [116]
116,94 unequal: No Solution
Exploring Operation: 2*118=236, Resulting Numbers: [236]
236,94 unequal: No Solution
Moving to Node #0,0,4
Current State: 94:[6, 115], Operations: ['65-3=62', '53+62=115']
Exploring Operation: 115-6=109, Resulting Numbers: [109]
109,94 unequal: No Solution
Exploring Operation: 6*115=690, Resulting Numbers: [690]
690,94 unequal: No Solution
Exploring Operation: 6+115=121, Resulting Numbers: [121]
121,94 unequal: No Solution
Moving to Node #0,3,4
Current State: 94:[53, 67], Operations: ['6/3=2', '65+2=67']
Exploring Operation: 53*67=3551, Resulting Numbers: [3551]
3551,94 unequal: No Solution
Exploring Operation: 67-53=14, Resulting Numbers: [14]
14,94 unequal: No Solution
Exploring Operation: 53+67=120, Resulting Numbers: [120]
120,94 unequal: No Solution
Moving to Node #0,0,1
Current State: 94:[62, 59], Operations: ['65-3=62', '6+53=59']
Exploring Operation: 62+59=121, Resulting Numbers: [121]
121,94 unequal: No Solution
Exploring Operation: 62-59=3, Resulting Numbers: [3]
3,94 unequal: No Solution
Exploring Operation: 62*59=3658, Resulting Numbers: [3658]
3658,94 unequal: No Solution
No solution found.
| 0 |
hs_5
|
sum_heuristic
|
[
41,
4,
43,
69
] | 75 |
[
"41-4=37",
"43+69=112",
"112-37=75"
] |
Current State: 75:[41, 4, 43, 69], Operations: []
Exploring Operation: 41-4=37, Resulting Numbers: [43, 69, 37]
Generated Node #2: [43, 69, 37] from Operation: 41-4=37
Current State: 75:[43, 69, 37], Operations: ['41-4=37']
Exploring Operation: 43+69=112, Resulting Numbers: [37, 112]
Generated Node #3: [37, 112] from Operation: 43+69=112
Current State: 75:[37, 112], Operations: ['41-4=37', '43+69=112']
Exploring Operation: 112-37=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 |
Current State: 75:[41, 4, 43, 69], Operations: []
Exploring Operation: 69-43=26, Resulting Numbers: [41, 4, 26]
Generated Node #0,0: 75:[41, 4, 26] Operation: 69-43=26
Exploring Operation: 69-41=28, Resulting Numbers: [4, 43, 28]
Generated Node #0,1: 75:[4, 43, 28] Operation: 69-41=28
Exploring Operation: 43-41=2, Resulting Numbers: [4, 69, 2]
Generated Node #0,2: 75:[4, 69, 2] Operation: 43-41=2
Exploring Operation: 41+43=84, Resulting Numbers: [4, 69, 84]
Generated Node #0,3: 75:[4, 69, 84] Operation: 41+43=84
Moving to Node #0,2
Current State: 75:[4, 69, 2], Operations: ['43-41=2']
Exploring Operation: 4+69=73, Resulting Numbers: [2, 73]
Generated Node #0,2,0: 75:[2, 73] Operation: 4+69=73
Exploring Operation: 69+2=71, Resulting Numbers: [4, 71]
Generated Node #0,2,1: 75:[4, 71] Operation: 69+2=71
Exploring Operation: 4+2=6, Resulting Numbers: [69, 6]
Generated Node #0,2,2: 75:[69, 6] Operation: 4+2=6
Exploring Operation: 4-2=2, Resulting Numbers: [69, 2]
Generated Node #0,2,3: 75:[69, 2] Operation: 4-2=2
Moving to Node #0,3
Current State: 75:[4, 69, 84], Operations: ['41+43=84']
Exploring Operation: 84-4=80, Resulting Numbers: [69, 80]
Generated Node #0,3,0: 75:[69, 80] Operation: 84-4=80
Exploring Operation: 4+69=73, Resulting Numbers: [84, 73]
Generated Node #0,3,1: 75:[84, 73] Operation: 4+69=73
Exploring Operation: 84-69=15, Resulting Numbers: [4, 15]
Generated Node #0,3,2: 75:[4, 15] Operation: 84-69=15
Exploring Operation: 84/4=21, Resulting Numbers: [69, 21]
Generated Node #0,3,3: 75:[69, 21] Operation: 84/4=21
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 75:[4, 15], Operations: ['41+43=84', '84-69=15']
Exploring Operation: 4*15=60, Resulting Numbers: [60]
60,75 unequal: No Solution
Exploring Operation: 4+15=19, Resulting Numbers: [19]
19,75 unequal: No Solution
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,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,3,3
Current State: 75:[69, 21], Operations: ['41+43=84', '84/4=21']
Exploring Operation: 69-21=48, Resulting Numbers: [48]
48,75 unequal: No Solution
Exploring Operation: 69*21=1449, Resulting Numbers: [1449]
1449,75 unequal: No Solution
Exploring Operation: 69+21=90, Resulting Numbers: [90]
90,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,3,0
Current State: 75:[69, 80], Operations: ['41+43=84', '84-4=80']
Exploring Operation: 69+80=149, Resulting Numbers: [149]
149,75 unequal: No Solution
Exploring Operation: 69*80=5520, Resulting Numbers: [5520]
5520,75 unequal: No Solution
Exploring Operation: 80-69=11, Resulting Numbers: [11]
11,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,3,1
Current State: 75:[84, 73], Operations: ['41+43=84', '4+69=73']
Exploring Operation: 84+73=157, Resulting Numbers: [157]
157,75 unequal: No Solution
Exploring Operation: 84*73=6132, Resulting Numbers: [6132]
6132,75 unequal: No Solution
Exploring Operation: 84-73=11, Resulting Numbers: [11]
11,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 75:[41, 4, 26], Operations: ['69-43=26']
Exploring Operation: 41-4=37, Resulting Numbers: [26, 37]
Generated Node #0,0,0: 75:[26, 37] Operation: 41-4=37
Exploring Operation: 41-26=15, Resulting Numbers: [4, 15]
Generated Node #0,0,1: 75:[4, 15] Operation: 41-26=15
Exploring Operation: 41+26=67, Resulting Numbers: [4, 67]
Generated Node #0,0,2: 75:[4, 67] Operation: 41+26=67
Exploring Operation: 26-4=22, Resulting Numbers: [41, 22]
Generated Node #0,0,3: 75:[41, 22] Operation: 26-4=22
Moving to Node #0,1
Current State: 75:[4, 43, 28], Operations: ['69-41=28']
Exploring Operation: 43+28=71, Resulting Numbers: [4, 71]
Generated Node #0,1,0: 75:[4, 71] Operation: 43+28=71
Exploring Operation: 43-4=39, Resulting Numbers: [28, 39]
Generated Node #0,1,1: 75:[28, 39] Operation: 43-4=39
Exploring Operation: 43-28=15, Resulting Numbers: [4, 15]
Generated Node #0,1,2: 75:[4, 15] Operation: 43-28=15
Exploring Operation: 28-4=24, Resulting Numbers: [43, 24]
Generated Node #0,1,3: 75:[43, 24] Operation: 28-4=24
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 75:[4, 15], Operations: ['69-41=28', '43-28=15']
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,75 unequal: No Solution
Exploring Operation: 4+15=19, Resulting Numbers: [19]
19,75 unequal: No Solution
Exploring Operation: 4*15=60, Resulting Numbers: [60]
60,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:[4, 71], Operations: ['69-41=28', '43+28=71']
Exploring Operation: 4+71=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[41, 4, 43, 69], Operations: []
Exploring Operation: 69-41=28, Resulting Numbers: [4, 43, 28]
Generated Node #0,1: 75:[4, 43, 28] Operation: 69-41=28
Moving to Node #0,1
Current State: 75:[4, 43, 28], Operations: ['69-41=28']
Exploring Operation: 43+28=71, Resulting Numbers: [4, 71]
Generated Node #0,1,0: 75:[4, 71] Operation: 43+28=71
Moving to Node #0,1,0
Current State: 75:[4, 71], Operations: ['69-41=28', '43+28=71']
Exploring Operation: 4+71=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.965278 |
hs_4
|
sum_heuristic
|
[
42,
20,
63,
43
] | 62 |
[
"42*63=2646",
"20+2646=2666",
"2666/43=62"
] |
Current State: 62:[42, 20, 63, 43], Operations: []
Exploring Operation: 42*63=2646, Resulting Numbers: [20, 43, 2646]
Generated Node #2: [20, 43, 2646] from Operation: 42*63=2646
Current State: 62:[20, 43, 2646], Operations: ['42*63=2646']
Exploring Operation: 20+2646=2666, Resulting Numbers: [43, 2666]
Generated Node #3: [43, 2666] from Operation: 20+2646=2666
Current State: 62:[43, 2666], Operations: ['42*63=2646', '20+2646=2666']
Exploring Operation: 2666/43=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 |
Current State: 62:[42, 20, 63, 43], Operations: []
Exploring Operation: 43-42=1, Resulting Numbers: [20, 63, 1]
Generated Node #0,0: 62:[20, 63, 1] Operation: 43-42=1
Exploring Operation: 42+20=62, Resulting Numbers: [63, 43, 62]
Generated Node #0,1: 62:[63, 43, 62] Operation: 42+20=62
Start Sub Search at level 1: Moving to Node #0,0
Current State: 62:[20, 63, 1], Operations: ['43-42=1']
Exploring Operation: 20+1=21, Resulting Numbers: [63, 21]
Generated Node #0,0,0: 62:[63, 21] Operation: 20+1=21
Exploring Operation: 63-1=62, Resulting Numbers: [20, 62]
Generated Node #0,0,1: 62:[20, 62] Operation: 63-1=62
Moving to Node #0,0,0
Current State: 62:[63, 21], Operations: ['43-42=1', '20+1=21']
Exploring Operation: 63-21=42, Resulting Numbers: [42]
42,62 unequal: No Solution
Exploring Operation: 63/21=3, Resulting Numbers: [3]
3,62 unequal: No Solution
Moving to Node #0,0,1
Current State: 62:[20, 62], Operations: ['43-42=1', '63-1=62']
Exploring Operation: 20+62=82, Resulting Numbers: [82]
82,62 unequal: No Solution
Exploring Operation: 62-20=42, Resulting Numbers: [42]
42,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
Current State: 62:[63, 43, 62], Operations: ['42+20=62']
Exploring Operation: 63-43=20, Resulting Numbers: [62, 20]
Generated Node #0,1,0: 62:[62, 20] Operation: 63-43=20
Exploring Operation: 63-62=1, Resulting Numbers: [43, 1]
Generated Node #0,1,1: 62:[43, 1] Operation: 63-62=1
Moving to Node #0,1,0
Current State: 62:[62, 20], Operations: ['42+20=62', '63-43=20']
Exploring Operation: 62-20=42, Resulting Numbers: [42]
42,62 unequal: No Solution
Exploring Operation: 62+20=82, Resulting Numbers: [82]
82,62 unequal: No Solution
Moving to Node #0,1,1
Current State: 62:[43, 1], Operations: ['42+20=62', '63-62=1']
Exploring Operation: 43-1=42, Resulting Numbers: [42]
42,62 unequal: No Solution
Exploring Operation: 43*1=43, Resulting Numbers: [43]
43,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_2
|
sum_heuristic
|
[
17,
36,
10,
94
] | 51 |
[
"17+36=53",
"10+94=104",
"104-53=51"
] |
Current State: 51:[17, 36, 10, 94], Operations: []
Exploring Operation: 17+36=53, Resulting Numbers: [10, 94, 53]
Generated Node #2: [10, 94, 53] from Operation: 17+36=53
Current State: 51:[10, 94, 53], Operations: ['17+36=53']
Exploring Operation: 10+94=104, Resulting Numbers: [53, 104]
Generated Node #3: [53, 104] from Operation: 10+94=104
Current State: 51:[53, 104], Operations: ['17+36=53', '10+94=104']
Exploring Operation: 104-53=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 |
Current State: 51:[17, 36, 10, 94], Operations: []
Exploring Operation: 94-17=77, Resulting Numbers: [36, 10, 77]
Generated Node #0,0: 51:[36, 10, 77] Operation: 94-17=77
Exploring Operation: 94-36=58, Resulting Numbers: [17, 10, 58]
Generated Node #0,1: 51:[17, 10, 58] Operation: 94-36=58
Start Sub Search at level 1: Moving to Node #0,1
Current State: 51:[17, 10, 58], Operations: ['94-36=58']
Exploring Operation: 58-10=48, Resulting Numbers: [17, 48]
Generated Node #0,1,0: 51:[17, 48] Operation: 58-10=48
Exploring Operation: 17-10=7, Resulting Numbers: [58, 7]
Generated Node #0,1,1: 51:[58, 7] Operation: 17-10=7
Moving to Node #0,1,0
Current State: 51:[17, 48], Operations: ['94-36=58', '58-10=48']
Exploring Operation: 17+48=65, Resulting Numbers: [65]
65,51 unequal: No Solution
Exploring Operation: 48-17=31, Resulting Numbers: [31]
31,51 unequal: No Solution
Moving to Node #0,1,1
Current State: 51:[58, 7], Operations: ['94-36=58', '17-10=7']
Exploring Operation: 58+7=65, Resulting Numbers: [65]
65,51 unequal: No Solution
Exploring Operation: 58-7=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[17, 36, 10, 94], Operations: []
Exploring Operation: 94-36=58, Resulting Numbers: [17, 10, 58]
Generated Node #0,1: 51:[17, 10, 58] Operation: 94-36=58
Moving to Node #0,1
Current State: 51:[17, 10, 58], Operations: ['94-36=58']
Exploring Operation: 17-10=7, Resulting Numbers: [58, 7]
Generated Node #0,1,1: 51:[58, 7] Operation: 17-10=7
Moving to Node #0,1,1
Current State: 51:[58, 7], Operations: ['94-36=58', '17-10=7']
Exploring Operation: 58-7=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 |
hs_2
|
mult_heuristic
|
[
32,
15,
91,
37
] | 88 |
[
"37-32=5",
"15/5=3",
"91-3=88"
] |
Current State: 88:[32, 15, 91, 37], Operations: []
Exploring Operation: 37-32=5, Resulting Numbers: [15, 91, 5]
Generated Node #2: [15, 91, 5] from Operation: 37-32=5
Current State: 88:[15, 91, 5], Operations: ['37-32=5']
Exploring Operation: 15/5=3, Resulting Numbers: [91, 3]
Generated Node #3: [91, 3] from Operation: 15/5=3
Current State: 88:[91, 3], Operations: ['37-32=5', '15/5=3']
Exploring Operation: 91-3=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 |
Current State: 88:[32, 15, 91, 37], Operations: []
Exploring Operation: 32+15=47, Resulting Numbers: [91, 37, 47]
Generated Node #0,0: 88:[91, 37, 47] Operation: 32+15=47
Exploring Operation: 37-32=5, Resulting Numbers: [15, 91, 5]
Generated Node #0,1: 88:[15, 91, 5] Operation: 37-32=5
Exploring Operation: 32-15=17, Resulting Numbers: [91, 37, 17]
Generated Node #0,2: 88:[91, 37, 17] Operation: 32-15=17
Exploring Operation: 15+37=52, Resulting Numbers: [32, 91, 52]
Generated Node #0,3: 88:[32, 91, 52] Operation: 15+37=52
Exploring Operation: 37-15=22, Resulting Numbers: [32, 91, 22]
Generated Node #0,4: 88:[32, 91, 22] Operation: 37-15=22
Start Sub Search at level 1: Moving to Node #0,1
Current State: 88:[15, 91, 5], Operations: ['37-32=5']
Exploring Operation: 15+5=20, Resulting Numbers: [91, 20]
Generated Node #0,1,0: 88:[91, 20] Operation: 15+5=20
Exploring Operation: 15-5=10, Resulting Numbers: [91, 10]
Generated Node #0,1,1: 88:[91, 10] Operation: 15-5=10
Exploring Operation: 15/5=3, Resulting Numbers: [91, 3]
Generated Node #0,1,2: 88:[91, 3] Operation: 15/5=3
Exploring Operation: 91-5=86, Resulting Numbers: [15, 86]
Generated Node #0,1,3: 88:[15, 86] Operation: 91-5=86
Exploring Operation: 91+5=96, Resulting Numbers: [15, 96]
Generated Node #0,1,4: 88:[15, 96] Operation: 91+5=96
Moving to Node #0,1,1
Current State: 88:[91, 10], Operations: ['37-32=5', '15-5=10']
Exploring Operation: 91*10=910, Resulting Numbers: [910]
910,88 unequal: No Solution
Exploring Operation: 91-10=81, Resulting Numbers: [81]
81,88 unequal: No Solution
Exploring Operation: 91+10=101, Resulting Numbers: [101]
101,88 unequal: No Solution
Moving to Node #0,1,2
Current State: 88:[91, 3], Operations: ['37-32=5', '15/5=3']
Exploring Operation: 91+3=94, Resulting Numbers: [94]
94,88 unequal: No Solution
Exploring Operation: 91-3=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[32, 15, 91, 37], Operations: []
Exploring Operation: 37-32=5, Resulting Numbers: [15, 91, 5]
Generated Node #0,1: 88:[15, 91, 5] Operation: 37-32=5
Moving to Node #0,1
Current State: 88:[15, 91, 5], Operations: ['37-32=5']
Exploring Operation: 15/5=3, Resulting Numbers: [91, 3]
Generated Node #0,1,2: 88:[91, 3] Operation: 15/5=3
Moving to Node #0,1,2
Current State: 88:[91, 3], Operations: ['37-32=5', '15/5=3']
Exploring Operation: 91-3=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 |
hs_5
|
mult_heuristic
|
[
51,
49,
79,
10
] | 67 |
[
"51-49=2",
"79-10=69",
"69-2=67"
] |
Current State: 67:[51, 49, 79, 10], Operations: []
Exploring Operation: 51-49=2, Resulting Numbers: [79, 10, 2]
Generated Node #2: [79, 10, 2] from Operation: 51-49=2
Current State: 67:[79, 10, 2], Operations: ['51-49=2']
Exploring Operation: 79-10=69, Resulting Numbers: [2, 69]
Generated Node #3: [2, 69] from Operation: 79-10=69
Current State: 67:[2, 69], Operations: ['51-49=2', '79-10=69']
Exploring Operation: 69-2=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 |
Current State: 67:[51, 49, 79, 10], Operations: []
Exploring Operation: 51+10=61, Resulting Numbers: [49, 79, 61]
Generated Node #0,0: 67:[49, 79, 61] Operation: 51+10=61
Exploring Operation: 51-10=41, Resulting Numbers: [49, 79, 41]
Generated Node #0,1: 67:[49, 79, 41] Operation: 51-10=41
Exploring Operation: 49+10=59, Resulting Numbers: [51, 79, 59]
Generated Node #0,2: 67:[51, 79, 59] Operation: 49+10=59
Exploring Operation: 79-10=69, Resulting Numbers: [51, 49, 69]
Generated Node #0,3: 67:[51, 49, 69] Operation: 79-10=69
Moving to Node #0,0
Current State: 67:[49, 79, 61], Operations: ['51+10=61']
Exploring Operation: 61-49=12, Resulting Numbers: [79, 12]
Generated Node #0,0,0: 67:[79, 12] Operation: 61-49=12
Exploring Operation: 79-49=30, Resulting Numbers: [61, 30]
Generated Node #0,0,1: 67:[61, 30] Operation: 79-49=30
Exploring Operation: 49+61=110, Resulting Numbers: [79, 110]
Generated Node #0,0,2: 67:[79, 110] Operation: 49+61=110
Exploring Operation: 49+79=128, Resulting Numbers: [61, 128]
Generated Node #0,0,3: 67:[61, 128] Operation: 49+79=128
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 67:[61, 30], Operations: ['51+10=61', '79-49=30']
Exploring Operation: 61-30=31, Resulting Numbers: [31]
31,67 unequal: No Solution
Exploring Operation: 61*30=1830, Resulting Numbers: [1830]
1830,67 unequal: No Solution
Exploring Operation: 61+30=91, Resulting Numbers: [91]
91,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 67:[79, 110], Operations: ['51+10=61', '49+61=110']
Exploring Operation: 110-79=31, Resulting Numbers: [31]
31,67 unequal: No Solution
Exploring Operation: 79*110=8690, Resulting Numbers: [8690]
8690,67 unequal: No Solution
Exploring Operation: 79+110=189, Resulting Numbers: [189]
189,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 67:[79, 12], Operations: ['51+10=61', '61-49=12']
Exploring Operation: 79*12=948, Resulting Numbers: [948]
948,67 unequal: No Solution
Exploring Operation: 79+12=91, Resulting Numbers: [91]
91,67 unequal: No Solution
Exploring Operation: 79-12=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Moving to Node #0
Current State: 67:[51, 49, 79, 10], Operations: []
Exploring Operation: 51+10=61, Resulting Numbers: [49, 79, 61]
Generated Node #0,0: 67:[49, 79, 61] Operation: 51+10=61
Moving to Node #0,0
Current State: 67:[49, 79, 61], Operations: ['51+10=61']
Exploring Operation: 61-49=12, Resulting Numbers: [79, 12]
Generated Node #0,0,0: 67:[79, 12] Operation: 61-49=12
Moving to Node #0,0,0
Current State: 67:[79, 12], Operations: ['51+10=61', '61-49=12']
Exploring Operation: 79-12=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 |
hs_4
|
sum_heuristic
|
[
10,
14,
70,
62
] | 94 |
[
"70-62=8",
"10*8=80",
"14+80=94"
] |
Current State: 94:[10, 14, 70, 62], Operations: []
Exploring Operation: 70-62=8, Resulting Numbers: [10, 14, 8]
Generated Node #2: [10, 14, 8] from Operation: 70-62=8
Current State: 94:[10, 14, 8], Operations: ['70-62=8']
Exploring Operation: 10*8=80, Resulting Numbers: [14, 80]
Generated Node #3: [14, 80] from Operation: 10*8=80
Current State: 94:[14, 80], Operations: ['70-62=8', '10*8=80']
Exploring Operation: 14+80=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 |
Current State: 94:[10, 14, 70, 62], Operations: []
Exploring Operation: 70/14=5, Resulting Numbers: [10, 62, 5]
Generated Node #0,0: 94:[10, 62, 5] Operation: 70/14=5
Exploring Operation: 70-62=8, Resulting Numbers: [10, 14, 8]
Generated Node #0,1: 94:[10, 14, 8] Operation: 70-62=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[10, 62, 5], Operations: ['70/14=5']
Exploring Operation: 62-10=52, Resulting Numbers: [5, 52]
Generated Node #0,0,0: 94:[5, 52] Operation: 62-10=52
Exploring Operation: 10/5=2, Resulting Numbers: [62, 2]
Generated Node #0,0,1: 94:[62, 2] Operation: 10/5=2
Moving to Node #0,0,0
Current State: 94:[5, 52], Operations: ['70/14=5', '62-10=52']
Exploring Operation: 5+52=57, Resulting Numbers: [57]
57,94 unequal: No Solution
Exploring Operation: 52-5=47, Resulting Numbers: [47]
47,94 unequal: No Solution
Moving to Node #0,0,1
Current State: 94:[62, 2], Operations: ['70/14=5', '10/5=2']
Exploring Operation: 62-2=60, Resulting Numbers: [60]
60,94 unequal: No Solution
Exploring Operation: 62/2=31, Resulting Numbers: [31]
31,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 94:[10, 14, 8], Operations: ['70-62=8']
Exploring Operation: 14-10=4, Resulting Numbers: [8, 4]
Generated Node #0,1,0: 94:[8, 4] Operation: 14-10=4
Exploring Operation: 10-8=2, Resulting Numbers: [14, 2]
Generated Node #0,1,1: 94:[14, 2] Operation: 10-8=2
Moving to Node #0,1,0
Current State: 94:[8, 4], Operations: ['70-62=8', '14-10=4']
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,94 unequal: No Solution
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,94 unequal: No Solution
Moving to Node #0,1,1
Current State: 94:[14, 2], Operations: ['70-62=8', '10-8=2']
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,94 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,94 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
|
[
81,
86,
84,
4
] | 64 |
[
"86-81=5",
"4*5=20",
"84-20=64"
] |
Current State: 64:[81, 86, 84, 4], Operations: []
Exploring Operation: 86-81=5, Resulting Numbers: [84, 4, 5]
Generated Node #2: [84, 4, 5] from Operation: 86-81=5
Current State: 64:[84, 4, 5], Operations: ['86-81=5']
Exploring Operation: 4*5=20, Resulting Numbers: [84, 20]
Generated Node #3: [84, 20] from Operation: 4*5=20
Current State: 64:[84, 20], Operations: ['86-81=5', '4*5=20']
Exploring Operation: 84-20=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 |
Current State: 64:[81, 86, 84, 4], Operations: []
Exploring Operation: 86-84=2, Resulting Numbers: [81, 4, 2]
Generated Node #0,0: 64:[81, 4, 2] Operation: 86-84=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[81, 4, 2], Operations: ['86-84=2']
Exploring Operation: 81-4=77, Resulting Numbers: [2, 77]
Generated Node #0,0,0: 64:[2, 77] Operation: 81-4=77
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 64:[2, 77], Operations: ['86-84=2', '81-4=77']
Exploring Operation: 77-2=75, Resulting Numbers: [75]
75,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_1
|
sum_heuristic
|
[
15,
99,
49,
41
] | 92 |
[
"99-15=84",
"49-41=8",
"84+8=92"
] |
Current State: 92:[15, 99, 49, 41], Operations: []
Exploring Operation: 99-15=84, Resulting Numbers: [49, 41, 84]
Generated Node #2: [49, 41, 84] from Operation: 99-15=84
Current State: 92:[49, 41, 84], Operations: ['99-15=84']
Exploring Operation: 49-41=8, Resulting Numbers: [84, 8]
Generated Node #3: [84, 8] from Operation: 49-41=8
Current State: 92:[84, 8], Operations: ['99-15=84', '49-41=8']
Exploring Operation: 84+8=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 |
Current State: 92:[15, 99, 49, 41], Operations: []
Exploring Operation: 99-49=50, Resulting Numbers: [15, 41, 50]
Generated Node #0,0: 92:[15, 41, 50] Operation: 99-49=50
Exploring Operation: 99-15=84, Resulting Numbers: [49, 41, 84]
Generated Node #0,1: 92:[49, 41, 84] Operation: 99-15=84
Exploring Operation: 41-15=26, Resulting Numbers: [99, 49, 26]
Generated Node #0,2: 92:[99, 49, 26] Operation: 41-15=26
Moving to Node #0,2
Current State: 92:[99, 49, 26], Operations: ['41-15=26']
Exploring Operation: 99-49=50, Resulting Numbers: [26, 50]
Generated Node #0,2,0: 92:[26, 50] Operation: 99-49=50
Exploring Operation: 99-26=73, Resulting Numbers: [49, 73]
Generated Node #0,2,1: 92:[49, 73] Operation: 99-26=73
Exploring Operation: 49-26=23, Resulting Numbers: [99, 23]
Generated Node #0,2,2: 92:[99, 23] Operation: 49-26=23
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 92:[26, 50], Operations: ['41-15=26', '99-49=50']
Exploring Operation: 26*50=1300, Resulting Numbers: [1300]
1300,92 unequal: No Solution
Exploring Operation: 50-26=24, Resulting Numbers: [24]
24,92 unequal: No Solution
Exploring Operation: 26+50=76, Resulting Numbers: [76]
76,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 92:[99, 23], Operations: ['41-15=26', '49-26=23']
Exploring Operation: 99-23=76, Resulting Numbers: [76]
76,92 unequal: No Solution
Exploring Operation: 99*23=2277, Resulting Numbers: [2277]
2277,92 unequal: No Solution
Exploring Operation: 99+23=122, Resulting Numbers: [122]
122,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 92:[49, 73], Operations: ['41-15=26', '99-26=73']
Exploring Operation: 73-49=24, Resulting Numbers: [24]
24,92 unequal: No Solution
Exploring Operation: 49+73=122, Resulting Numbers: [122]
122,92 unequal: No Solution
Exploring Operation: 49*73=3577, Resulting Numbers: [3577]
3577,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 92:[49, 41, 84], Operations: ['99-15=84']
Exploring Operation: 49-41=8, Resulting Numbers: [84, 8]
Generated Node #0,1,0: 92:[84, 8] Operation: 49-41=8
Exploring Operation: 84-41=43, Resulting Numbers: [49, 43]
Generated Node #0,1,1: 92:[49, 43] Operation: 84-41=43
Exploring Operation: 49+41=90, Resulting Numbers: [84, 90]
Generated Node #0,1,2: 92:[84, 90] Operation: 49+41=90
Moving to Node #0,0
Current State: 92:[15, 41, 50], Operations: ['99-49=50']
Exploring Operation: 41-15=26, Resulting Numbers: [50, 26]
Generated Node #0,0,0: 92:[50, 26] Operation: 41-15=26
Exploring Operation: 50-41=9, Resulting Numbers: [15, 9]
Generated Node #0,0,1: 92:[15, 9] Operation: 50-41=9
Exploring Operation: 41+50=91, Resulting Numbers: [15, 91]
Generated Node #0,0,2: 92:[15, 91] Operation: 41+50=91
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 92:[50, 26], Operations: ['99-49=50', '41-15=26']
Exploring Operation: 50-26=24, Resulting Numbers: [24]
24,92 unequal: No Solution
Exploring Operation: 50+26=76, Resulting Numbers: [76]
76,92 unequal: No Solution
Exploring Operation: 50*26=1300, Resulting Numbers: [1300]
1300,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 92:[15, 91], Operations: ['99-49=50', '41+50=91']
Exploring Operation: 15*91=1365, Resulting Numbers: [1365]
1365,92 unequal: No Solution
Exploring Operation: 15+91=106, Resulting Numbers: [106]
106,92 unequal: No Solution
Exploring Operation: 91-15=76, Resulting Numbers: [76]
76,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 92:[15, 9], Operations: ['99-49=50', '50-41=9']
Exploring Operation: 15+9=24, Resulting Numbers: [24]
24,92 unequal: No Solution
Exploring Operation: 15-9=6, Resulting Numbers: [6]
6,92 unequal: No Solution
Exploring Operation: 15*9=135, Resulting Numbers: [135]
135,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 92:[49, 43], Operations: ['99-15=84', '84-41=43']
Exploring Operation: 49*43=2107, Resulting Numbers: [2107]
2107,92 unequal: No Solution
Exploring Operation: 49-43=6, Resulting Numbers: [6]
6,92 unequal: No Solution
Exploring Operation: 49+43=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[15, 99, 49, 41], Operations: []
Exploring Operation: 99-15=84, Resulting Numbers: [49, 41, 84]
Generated Node #0,1: 92:[49, 41, 84] Operation: 99-15=84
Moving to Node #0,1
Current State: 92:[49, 41, 84], Operations: ['99-15=84']
Exploring Operation: 84-41=43, Resulting Numbers: [49, 43]
Generated Node #0,1,1: 92:[49, 43] Operation: 84-41=43
Moving to Node #0,1,1
Current State: 92:[49, 43], Operations: ['99-15=84', '84-41=43']
Exploring Operation: 49+43=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 0.967882 |
hs_3
|
sum_heuristic
|
[
85,
10,
90,
97
] | 95 |
[
"90-85=5",
"10/5=2",
"97-2=95"
] |
Current State: 95:[85, 10, 90, 97], Operations: []
Exploring Operation: 90-85=5, Resulting Numbers: [10, 97, 5]
Generated Node #2: [10, 97, 5] from Operation: 90-85=5
Current State: 95:[10, 97, 5], Operations: ['90-85=5']
Exploring Operation: 10/5=2, Resulting Numbers: [97, 2]
Generated Node #3: [97, 2] from Operation: 10/5=2
Current State: 95:[97, 2], Operations: ['90-85=5', '10/5=2']
Exploring Operation: 97-2=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 |
Current State: 95:[85, 10, 90, 97], Operations: []
Exploring Operation: 97-85=12, Resulting Numbers: [10, 90, 12]
Generated Node #0,0: 95:[10, 90, 12] Operation: 97-85=12
Exploring Operation: 90/10=9, Resulting Numbers: [85, 97, 9]
Generated Node #0,1: 95:[85, 97, 9] Operation: 90/10=9
Exploring Operation: 85+10=95, Resulting Numbers: [90, 97, 95]
Generated Node #0,2: 95:[90, 97, 95] Operation: 85+10=95
Exploring Operation: 90-85=5, Resulting Numbers: [10, 97, 5]
Generated Node #0,3: 95:[10, 97, 5] Operation: 90-85=5
Exploring Operation: 10+90=100, Resulting Numbers: [85, 97, 100]
Generated Node #0,4: 95:[85, 97, 100] Operation: 10+90=100
Start Sub Search at level 1: Moving to Node #0,2
Current State: 95:[90, 97, 95], Operations: ['85+10=95']
Exploring Operation: 90+95=185, Resulting Numbers: [97, 185]
Generated Node #0,2,0: 95:[97, 185] Operation: 90+95=185
Exploring Operation: 95-90=5, Resulting Numbers: [97, 5]
Generated Node #0,2,1: 95:[97, 5] Operation: 95-90=5
Exploring Operation: 90+97=187, Resulting Numbers: [95, 187]
Generated Node #0,2,2: 95:[95, 187] Operation: 90+97=187
Exploring Operation: 97-95=2, Resulting Numbers: [90, 2]
Generated Node #0,2,3: 95:[90, 2] Operation: 97-95=2
Exploring Operation: 97-90=7, Resulting Numbers: [95, 7]
Generated Node #0,2,4: 95:[95, 7] Operation: 97-90=7
Moving to Node #0,2,1
Current State: 95:[97, 5], Operations: ['85+10=95', '95-90=5']
Exploring Operation: 97+5=102, Resulting Numbers: [102]
102,95 unequal: No Solution
Exploring Operation: 97*5=485, Resulting Numbers: [485]
485,95 unequal: No Solution
Exploring Operation: 97-5=92, Resulting Numbers: [92]
92,95 unequal: No Solution
Moving to Node #0,2,4
Current State: 95:[95, 7], Operations: ['85+10=95', '97-90=7']
Exploring Operation: 95*7=665, Resulting Numbers: [665]
665,95 unequal: No Solution
Exploring Operation: 95+7=102, Resulting Numbers: [102]
102,95 unequal: No Solution
Exploring Operation: 95-7=88, Resulting Numbers: [88]
88,95 unequal: No Solution
Moving to Node #0,2,3
Current State: 95:[90, 2], Operations: ['85+10=95', '97-95=2']
Exploring Operation: 90/2=45, Resulting Numbers: [45]
45,95 unequal: No Solution
Exploring Operation: 90*2=180, Resulting Numbers: [180]
180,95 unequal: No Solution
Exploring Operation: 90-2=88, Resulting Numbers: [88]
88,95 unequal: No Solution
Exploring Operation: 90+2=92, Resulting Numbers: [92]
92,95 unequal: No Solution
Moving to Node #0,2,0
Current State: 95:[97, 185], Operations: ['85+10=95', '90+95=185']
Exploring Operation: 97+185=282, Resulting Numbers: [282]
282,95 unequal: No Solution
Exploring Operation: 97*185=17945, Resulting Numbers: [17945]
17945,95 unequal: No Solution
Exploring Operation: 185-97=88, Resulting Numbers: [88]
88,95 unequal: No Solution
Moving to Node #0,2,2
Current State: 95:[95, 187], Operations: ['85+10=95', '90+97=187']
Exploring Operation: 95*187=17765, Resulting Numbers: [17765]
17765,95 unequal: No Solution
Exploring Operation: 187-95=92, Resulting Numbers: [92]
92,95 unequal: No Solution
Exploring Operation: 95+187=282, Resulting Numbers: [282]
282,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 95:[10, 97, 5], Operations: ['90-85=5']
Exploring Operation: 10+5=15, Resulting Numbers: [97, 15]
Generated Node #0,3,0: 95:[97, 15] Operation: 10+5=15
Exploring Operation: 97-5=92, Resulting Numbers: [10, 92]
Generated Node #0,3,1: 95:[10, 92] Operation: 97-5=92
Exploring Operation: 10-5=5, Resulting Numbers: [97, 5]
Generated Node #0,3,2: 95:[97, 5] Operation: 10-5=5
Exploring Operation: 97-10=87, Resulting Numbers: [5, 87]
Generated Node #0,3,3: 95:[5, 87] Operation: 97-10=87
Exploring Operation: 10/5=2, Resulting Numbers: [97, 2]
Generated Node #0,3,4: 95:[97, 2] Operation: 10/5=2
Moving to Node #0,3,2
Current State: 95:[97, 5], Operations: ['90-85=5', '10-5=5']
Exploring Operation: 97*5=485, Resulting Numbers: [485]
485,95 unequal: No Solution
Exploring Operation: 97+5=102, Resulting Numbers: [102]
102,95 unequal: No Solution
Exploring Operation: 97-5=92, Resulting Numbers: [92]
92,95 unequal: No Solution
Moving to Node #0,3,4
Current State: 95:[97, 2], Operations: ['90-85=5', '10/5=2']
Exploring Operation: 97*2=194, Resulting Numbers: [194]
194,95 unequal: No Solution
Exploring Operation: 97-2=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[85, 10, 90, 97], Operations: []
Exploring Operation: 90-85=5, Resulting Numbers: [10, 97, 5]
Generated Node #0,3: 95:[10, 97, 5] Operation: 90-85=5
Moving to Node #0,3
Current State: 95:[10, 97, 5], Operations: ['90-85=5']
Exploring Operation: 10/5=2, Resulting Numbers: [97, 2]
Generated Node #0,3,4: 95:[97, 2] Operation: 10/5=2
Moving to Node #0,3,4
Current State: 95:[97, 2], Operations: ['90-85=5', '10/5=2']
Exploring Operation: 97-2=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.965278 |
hs_5
|
mult_heuristic
|
[
42,
66,
14,
42
] | 53 |
[
"42/42=1",
"66-14=52",
"1+52=53"
] |
Current State: 53:[42, 66, 14, 42], Operations: []
Exploring Operation: 42/42=1, Resulting Numbers: [66, 14, 1]
Generated Node #2: [66, 14, 1] from Operation: 42/42=1
Current State: 53:[66, 14, 1], Operations: ['42/42=1']
Exploring Operation: 66-14=52, Resulting Numbers: [1, 52]
Generated Node #3: [1, 52] from Operation: 66-14=52
Current State: 53:[1, 52], Operations: ['42/42=1', '66-14=52']
Exploring Operation: 1+52=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 |
Current State: 53:[42, 66, 14, 42], Operations: []
Exploring Operation: 42-14=28, Resulting Numbers: [66, 42, 28]
Generated Node #0,0: 53:[66, 42, 28] Operation: 42-14=28
Exploring Operation: 42+14=56, Resulting Numbers: [66, 42, 56]
Generated Node #0,1: 53:[66, 42, 56] Operation: 42+14=56
Exploring Operation: 14+42=56, Resulting Numbers: [42, 66, 56]
Generated Node #0,2: 53:[42, 66, 56] Operation: 14+42=56
Exploring Operation: 66-14=52, Resulting Numbers: [42, 42, 52]
Generated Node #0,3: 53:[42, 42, 52] Operation: 66-14=52
Start Sub Search at level 1: Moving to Node #0,3
Current State: 53:[42, 42, 52], Operations: ['66-14=52']
Exploring Operation: 42+42=84, Resulting Numbers: [52, 84]
Generated Node #0,3,0: 53:[52, 84] Operation: 42+42=84
Exploring Operation: 42+52=94, Resulting Numbers: [42, 94]
Generated Node #0,3,1: 53:[42, 94] Operation: 42+52=94
Exploring Operation: 42/42=1, Resulting Numbers: [52, 1]
Generated Node #0,3,2: 53:[52, 1] Operation: 42/42=1
Exploring Operation: 42+52=94, Resulting Numbers: [42, 94]
Generated Node #0,3,3: 53:[42, 94] Operation: 42+52=94
Moving to Node #0,3,0
Current State: 53:[52, 84], Operations: ['66-14=52', '42+42=84']
Exploring Operation: 52*84=4368, Resulting Numbers: [4368]
4368,53 unequal: No Solution
Exploring Operation: 84-52=32, Resulting Numbers: [32]
32,53 unequal: No Solution
Exploring Operation: 52+84=136, Resulting Numbers: [136]
136,53 unequal: No Solution
Moving to Node #0,3,3
Current State: 53:[42, 94], Operations: ['66-14=52', '42+52=94']
Exploring Operation: 42+94=136, Resulting Numbers: [136]
136,53 unequal: No Solution
Exploring Operation: 42*94=3948, Resulting Numbers: [3948]
3948,53 unequal: No Solution
Exploring Operation: 94-42=52, Resulting Numbers: [52]
52,53 unequal: No Solution
Moving to Node #0,3,1
Current State: 53:[42, 94], Operations: ['66-14=52', '42+52=94']
Exploring Operation: 42*94=3948, Resulting Numbers: [3948]
3948,53 unequal: No Solution
Exploring Operation: 42+94=136, Resulting Numbers: [136]
136,53 unequal: No Solution
Exploring Operation: 94-42=52, Resulting Numbers: [52]
52,53 unequal: No Solution
Moving to Node #0,3,2
Current State: 53:[52, 1], Operations: ['66-14=52', '42/42=1']
Exploring Operation: 52*1=52, Resulting Numbers: [52]
52,53 unequal: No Solution
Exploring Operation: 52+1=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[42, 66, 14, 42], Operations: []
Exploring Operation: 66-14=52, Resulting Numbers: [42, 42, 52]
Generated Node #0,3: 53:[42, 42, 52] Operation: 66-14=52
Moving to Node #0,3
Current State: 53:[42, 42, 52], Operations: ['66-14=52']
Exploring Operation: 42/42=1, Resulting Numbers: [52, 1]
Generated Node #0,3,2: 53:[52, 1] Operation: 42/42=1
Moving to Node #0,3,2
Current State: 53:[52, 1], Operations: ['66-14=52', '42/42=1']
Exploring Operation: 52+1=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 |
hs_4
|
mult_heuristic
|
[
3,
1,
33,
17
] | 81 |
[
"3*33=99",
"1+17=18",
"99-18=81"
] |
Current State: 81:[3, 1, 33, 17], Operations: []
Exploring Operation: 3*33=99, Resulting Numbers: [1, 17, 99]
Generated Node #2: [1, 17, 99] from Operation: 3*33=99
Current State: 81:[1, 17, 99], Operations: ['3*33=99']
Exploring Operation: 1+17=18, Resulting Numbers: [99, 18]
Generated Node #3: [99, 18] from Operation: 1+17=18
Current State: 81:[99, 18], Operations: ['3*33=99', '1+17=18']
Exploring Operation: 99-18=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 |
Current State: 81:[3, 1, 33, 17], Operations: []
Exploring Operation: 33-17=16, Resulting Numbers: [3, 1, 16]
Generated Node #0,0: 81:[3, 1, 16] Operation: 33-17=16
Exploring Operation: 33/3=11, Resulting Numbers: [1, 17, 11]
Generated Node #0,1: 81:[1, 17, 11] Operation: 33/3=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[3, 1, 16], Operations: ['33-17=16']
Exploring Operation: 16-1=15, Resulting Numbers: [3, 15]
Generated Node #0,0,0: 81:[3, 15] Operation: 16-1=15
Exploring Operation: 16-3=13, Resulting Numbers: [1, 13]
Generated Node #0,0,1: 81:[1, 13] Operation: 16-3=13
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 81:[3, 15], Operations: ['33-17=16', '16-1=15']
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,81 unequal: No Solution
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 81:[1, 13], Operations: ['33-17=16', '16-3=13']
Exploring Operation: 1*13=13, Resulting Numbers: [13]
13,81 unequal: No Solution
Exploring Operation: 13-1=12, Resulting Numbers: [12]
12,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 81:[1, 17, 11], Operations: ['33/3=11']
Exploring Operation: 17-11=6, Resulting Numbers: [1, 6]
Generated Node #0,1,0: 81:[1, 6] Operation: 17-11=6
Exploring Operation: 17+11=28, Resulting Numbers: [1, 28]
Generated Node #0,1,1: 81:[1, 28] Operation: 17+11=28
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 81:[1, 28], Operations: ['33/3=11', '17+11=28']
Exploring Operation: 28-1=27, Resulting Numbers: [27]
27,81 unequal: No Solution
Exploring Operation: 1*28=28, Resulting Numbers: [28]
28,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 81:[1, 6], Operations: ['33/3=11', '17-11=6']
Exploring Operation: 6-1=5, Resulting Numbers: [5]
5,81 unequal: No Solution
Exploring Operation: 1+6=7, Resulting Numbers: [7]
7,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_2
|
sum_heuristic
|
[
46,
55,
12,
76
] | 73 |
[
"55-46=9",
"76-12=64",
"9+64=73"
] |
Current State: 73:[46, 55, 12, 76], Operations: []
Exploring Operation: 55-46=9, Resulting Numbers: [12, 76, 9]
Generated Node #2: [12, 76, 9] from Operation: 55-46=9
Current State: 73:[12, 76, 9], Operations: ['55-46=9']
Exploring Operation: 76-12=64, Resulting Numbers: [9, 64]
Generated Node #3: [9, 64] from Operation: 76-12=64
Current State: 73:[9, 64], Operations: ['55-46=9', '76-12=64']
Exploring Operation: 9+64=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 |
Current State: 73:[46, 55, 12, 76], Operations: []
Exploring Operation: 46+12=58, Resulting Numbers: [55, 76, 58]
Generated Node #0,0: 73:[55, 76, 58] Operation: 46+12=58
Exploring Operation: 55+12=67, Resulting Numbers: [46, 76, 67]
Generated Node #0,1: 73:[46, 76, 67] Operation: 55+12=67
Exploring Operation: 76-12=64, Resulting Numbers: [46, 55, 64]
Generated Node #0,2: 73:[46, 55, 64] Operation: 76-12=64
Moving to Node #0,0
Current State: 73:[55, 76, 58], Operations: ['46+12=58']
Exploring Operation: 55+58=113, Resulting Numbers: [76, 113]
Generated Node #0,0,0: 73:[76, 113] Operation: 55+58=113
Exploring Operation: 76-55=21, Resulting Numbers: [58, 21]
Generated Node #0,0,1: 73:[58, 21] Operation: 76-55=21
Exploring Operation: 55+76=131, Resulting Numbers: [58, 131]
Generated Node #0,0,2: 73:[58, 131] Operation: 55+76=131
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 73:[76, 113], Operations: ['46+12=58', '55+58=113']
Exploring Operation: 76*113=8588, Resulting Numbers: [8588]
8588,73 unequal: No Solution
Exploring Operation: 113-76=37, Resulting Numbers: [37]
37,73 unequal: No Solution
Exploring Operation: 76+113=189, Resulting Numbers: [189]
189,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:[58, 21], Operations: ['46+12=58', '76-55=21']
Exploring Operation: 58+21=79, Resulting Numbers: [79]
79,73 unequal: No Solution
Exploring Operation: 58-21=37, Resulting Numbers: [37]
37,73 unequal: No Solution
Exploring Operation: 58*21=1218, Resulting Numbers: [1218]
1218,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 73:[58, 131], Operations: ['46+12=58', '55+76=131']
Exploring Operation: 58+131=189, Resulting Numbers: [189]
189,73 unequal: No Solution
Exploring Operation: 58*131=7598, Resulting Numbers: [7598]
7598,73 unequal: No Solution
Exploring Operation: 131-58=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[46, 55, 12, 76], Operations: []
Exploring Operation: 46+12=58, Resulting Numbers: [55, 76, 58]
Generated Node #0,0: 73:[55, 76, 58] Operation: 46+12=58
Moving to Node #0,0
Current State: 73:[55, 76, 58], Operations: ['46+12=58']
Exploring Operation: 55+76=131, Resulting Numbers: [58, 131]
Generated Node #0,0,2: 73:[58, 131] Operation: 55+76=131
Moving to Node #0,0,2
Current State: 73:[58, 131], Operations: ['46+12=58', '55+76=131']
Exploring Operation: 131-58=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 |
hs_3
|
sum_heuristic
|
[
31,
2,
75,
24
] | 94 |
[
"31+75=106",
"24/2=12",
"106-12=94"
] |
Current State: 94:[31, 2, 75, 24], Operations: []
Exploring Operation: 31+75=106, Resulting Numbers: [2, 24, 106]
Generated Node #2: [2, 24, 106] from Operation: 31+75=106
Current State: 94:[2, 24, 106], Operations: ['31+75=106']
Exploring Operation: 24/2=12, Resulting Numbers: [106, 12]
Generated Node #3: [106, 12] from Operation: 24/2=12
Current State: 94:[106, 12], Operations: ['31+75=106', '24/2=12']
Exploring Operation: 106-12=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 |
Current State: 94:[31, 2, 75, 24], Operations: []
Exploring Operation: 75-31=44, Resulting Numbers: [2, 24, 44]
Generated Node #0,0: 94:[2, 24, 44] Operation: 75-31=44
Exploring Operation: 75-24=51, Resulting Numbers: [31, 2, 51]
Generated Node #0,1: 94:[31, 2, 51] Operation: 75-24=51
Exploring Operation: 31-24=7, Resulting Numbers: [2, 75, 7]
Generated Node #0,2: 94:[2, 75, 7] Operation: 31-24=7
Exploring Operation: 75+24=99, Resulting Numbers: [31, 2, 99]
Generated Node #0,3: 94:[31, 2, 99] Operation: 75+24=99
Start Sub Search at level 1: Moving to Node #0,1
Current State: 94:[31, 2, 51], Operations: ['75-24=51']
Exploring Operation: 51-31=20, Resulting Numbers: [2, 20]
Generated Node #0,1,0: 94:[2, 20] Operation: 51-31=20
Exploring Operation: 51-2=49, Resulting Numbers: [31, 49]
Generated Node #0,1,1: 94:[31, 49] Operation: 51-2=49
Exploring Operation: 31+2=33, Resulting Numbers: [51, 33]
Generated Node #0,1,2: 94:[51, 33] Operation: 31+2=33
Exploring Operation: 31+51=82, Resulting Numbers: [2, 82]
Generated Node #0,1,3: 94:[2, 82] Operation: 31+51=82
Moving to Node #0,1,3
Current State: 94:[2, 82], Operations: ['75-24=51', '31+51=82']
Exploring Operation: 82/2=41, Resulting Numbers: [41]
41,94 unequal: No Solution
Exploring Operation: 82-2=80, Resulting Numbers: [80]
80,94 unequal: No Solution
Exploring Operation: 2+82=84, Resulting Numbers: [84]
84,94 unequal: No Solution
Exploring Operation: 2*82=164, Resulting Numbers: [164]
164,94 unequal: No Solution
Moving to Node #0,1,1
Current State: 94:[31, 49], Operations: ['75-24=51', '51-2=49']
Exploring Operation: 31+49=80, Resulting Numbers: [80]
80,94 unequal: No Solution
Exploring Operation: 31*49=1519, Resulting Numbers: [1519]
1519,94 unequal: No Solution
Exploring Operation: 49-31=18, Resulting Numbers: [18]
18,94 unequal: No Solution
Moving to Node #0,1,0
Current State: 94:[2, 20], Operations: ['75-24=51', '51-31=20']
Exploring Operation: 2+20=22, Resulting Numbers: [22]
22,94 unequal: No Solution
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,94 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,94 unequal: No Solution
Exploring Operation: 2*20=40, Resulting Numbers: [40]
40,94 unequal: No Solution
Moving to Node #0,1,2
Current State: 94:[51, 33], Operations: ['75-24=51', '31+2=33']
Exploring Operation: 51+33=84, Resulting Numbers: [84]
84,94 unequal: No Solution
Exploring Operation: 51*33=1683, Resulting Numbers: [1683]
1683,94 unequal: No Solution
Exploring Operation: 51-33=18, Resulting Numbers: [18]
18,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 94:[31, 2, 99], Operations: ['75+24=99']
Exploring Operation: 31+2=33, Resulting Numbers: [99, 33]
Generated Node #0,3,0: 94:[99, 33] Operation: 31+2=33
Exploring Operation: 99-31=68, Resulting Numbers: [2, 68]
Generated Node #0,3,1: 94:[2, 68] Operation: 99-31=68
Exploring Operation: 99-2=97, Resulting Numbers: [31, 97]
Generated Node #0,3,2: 94:[31, 97] Operation: 99-2=97
Exploring Operation: 31*2=62, Resulting Numbers: [99, 62]
Generated Node #0,3,3: 94:[99, 62] Operation: 31*2=62
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 94:[99, 33], Operations: ['75+24=99', '31+2=33']
Exploring Operation: 99*33=3267, Resulting Numbers: [3267]
3267,94 unequal: No Solution
Exploring Operation: 99/33=3, Resulting Numbers: [3]
3,94 unequal: No Solution
Exploring Operation: 99-33=66, Resulting Numbers: [66]
66,94 unequal: No Solution
Exploring Operation: 99+33=132, Resulting Numbers: [132]
132,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 94:[31, 97], Operations: ['75+24=99', '99-2=97']
Exploring Operation: 31+97=128, Resulting Numbers: [128]
128,94 unequal: No Solution
Exploring Operation: 97-31=66, Resulting Numbers: [66]
66,94 unequal: No Solution
Exploring Operation: 31*97=3007, Resulting Numbers: [3007]
3007,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 94:[99, 62], Operations: ['75+24=99', '31*2=62']
Exploring Operation: 99-62=37, Resulting Numbers: [37]
37,94 unequal: No Solution
Exploring Operation: 99*62=6138, Resulting Numbers: [6138]
6138,94 unequal: No Solution
Exploring Operation: 99+62=161, Resulting Numbers: [161]
161,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 94:[2, 68], Operations: ['75+24=99', '99-31=68']
Exploring Operation: 68-2=66, Resulting Numbers: [66]
66,94 unequal: No Solution
Exploring Operation: 68/2=34, Resulting Numbers: [34]
34,94 unequal: No Solution
Exploring Operation: 2*68=136, Resulting Numbers: [136]
136,94 unequal: No Solution
Exploring Operation: 2+68=70, Resulting Numbers: [70]
70,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 94:[2, 75, 7], Operations: ['31-24=7']
Exploring Operation: 2+75=77, Resulting Numbers: [7, 77]
Generated Node #0,2,0: 94:[7, 77] Operation: 2+75=77
Exploring Operation: 75+7=82, Resulting Numbers: [2, 82]
Generated Node #0,2,1: 94:[2, 82] Operation: 75+7=82
Exploring Operation: 75-7=68, Resulting Numbers: [2, 68]
Generated Node #0,2,2: 94:[2, 68] Operation: 75-7=68
Exploring Operation: 7-2=5, Resulting Numbers: [75, 5]
Generated Node #0,2,3: 94:[75, 5] Operation: 7-2=5
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 94:[2, 82], Operations: ['31-24=7', '75+7=82']
Exploring Operation: 82-2=80, Resulting Numbers: [80]
80,94 unequal: No Solution
Exploring Operation: 2*82=164, Resulting Numbers: [164]
164,94 unequal: No Solution
Exploring Operation: 2+82=84, Resulting Numbers: [84]
84,94 unequal: No Solution
Exploring Operation: 82/2=41, Resulting Numbers: [41]
41,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 94:[2, 68], Operations: ['31-24=7', '75-7=68']
Exploring Operation: 68/2=34, Resulting Numbers: [34]
34,94 unequal: No Solution
Exploring Operation: 2+68=70, Resulting Numbers: [70]
70,94 unequal: No Solution
Exploring Operation: 68-2=66, Resulting Numbers: [66]
66,94 unequal: No Solution
Exploring Operation: 2*68=136, Resulting Numbers: [136]
136,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 94:[7, 77], Operations: ['31-24=7', '2+75=77']
Exploring Operation: 7+77=84, Resulting Numbers: [84]
84,94 unequal: No Solution
Exploring Operation: 7*77=539, Resulting Numbers: [539]
539,94 unequal: No Solution
Exploring Operation: 77-7=70, Resulting Numbers: [70]
70,94 unequal: No Solution
Exploring Operation: 77/7=11, Resulting Numbers: [11]
11,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 94:[75, 5], Operations: ['31-24=7', '7-2=5']
Exploring Operation: 75-5=70, Resulting Numbers: [70]
70,94 unequal: No Solution
Exploring Operation: 75+5=80, Resulting Numbers: [80]
80,94 unequal: No Solution
Exploring Operation: 75*5=375, Resulting Numbers: [375]
375,94 unequal: No Solution
Exploring Operation: 75/5=15, Resulting Numbers: [15]
15,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[2, 24, 44], Operations: ['75-31=44']
Exploring Operation: 24+44=68, Resulting Numbers: [2, 68]
Generated Node #0,0,0: 94:[2, 68] Operation: 24+44=68
Exploring Operation: 2*24=48, Resulting Numbers: [44, 48]
Generated Node #0,0,1: 94:[44, 48] Operation: 2*24=48
Exploring Operation: 44-24=20, Resulting Numbers: [2, 20]
Generated Node #0,0,2: 94:[2, 20] Operation: 44-24=20
Exploring Operation: 24/2=12, Resulting Numbers: [44, 12]
Generated Node #0,0,3: 94:[44, 12] Operation: 24/2=12
Moving to Node #0,0,1
Current State: 94:[44, 48], Operations: ['75-31=44', '2*24=48']
Exploring Operation: 44*48=2112, Resulting Numbers: [2112]
2112,94 unequal: No Solution
Exploring Operation: 48-44=4, Resulting Numbers: [4]
4,94 unequal: No Solution
Exploring Operation: 44+48=92, Resulting Numbers: [92]
92,94 unequal: No Solution
Moving to Node #0,0,3
Current State: 94:[44, 12], Operations: ['75-31=44', '24/2=12']
Exploring Operation: 44+12=56, Resulting Numbers: [56]
56,94 unequal: No Solution
Exploring Operation: 44-12=32, Resulting Numbers: [32]
32,94 unequal: No Solution
Exploring Operation: 44*12=528, Resulting Numbers: [528]
528,94 unequal: No Solution
Moving to Node #0,0,2
Current State: 94:[2, 20], Operations: ['75-31=44', '44-24=20']
Exploring Operation: 2*20=40, Resulting Numbers: [40]
40,94 unequal: No Solution
Exploring Operation: 2+20=22, Resulting Numbers: [22]
22,94 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,94 unequal: No Solution
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,94 unequal: No Solution
Moving to Node #0,0,0
Current State: 94:[2, 68], Operations: ['75-31=44', '24+44=68']
Exploring Operation: 68/2=34, Resulting Numbers: [34]
34,94 unequal: No Solution
Exploring Operation: 68-2=66, Resulting Numbers: [66]
66,94 unequal: No Solution
Exploring Operation: 2*68=136, Resulting Numbers: [136]
136,94 unequal: No Solution
Exploring Operation: 2+68=70, Resulting Numbers: [70]
70,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_4
|
sum_heuristic
|
[
92,
4,
1,
7
] | 33 |
[
"92+7=99",
"4-1=3",
"99/3=33"
] |
Current State: 33:[92, 4, 1, 7], Operations: []
Exploring Operation: 92+7=99, Resulting Numbers: [4, 1, 99]
Generated Node #2: [4, 1, 99] from Operation: 92+7=99
Current State: 33:[4, 1, 99], Operations: ['92+7=99']
Exploring Operation: 4-1=3, Resulting Numbers: [99, 3]
Generated Node #3: [99, 3] from Operation: 4-1=3
Current State: 33:[99, 3], Operations: ['92+7=99', '4-1=3']
Exploring Operation: 99/3=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 |
Current State: 33:[92, 4, 1, 7], Operations: []
Exploring Operation: 92-7=85, Resulting Numbers: [4, 1, 85]
Generated Node #0,0: 33:[4, 1, 85] Operation: 92-7=85
Exploring Operation: 92/4=23, Resulting Numbers: [1, 7, 23]
Generated Node #0,1: 33:[1, 7, 23] Operation: 92/4=23
Exploring Operation: 92-4=88, Resulting Numbers: [1, 7, 88]
Generated Node #0,2: 33:[1, 7, 88] Operation: 92-4=88
Start Sub Search at level 1: Moving to Node #0,1
Current State: 33:[1, 7, 23], Operations: ['92/4=23']
Exploring Operation: 1+7=8, Resulting Numbers: [23, 8]
Generated Node #0,1,0: 33:[23, 8] Operation: 1+7=8
Exploring Operation: 7+23=30, Resulting Numbers: [1, 30]
Generated Node #0,1,1: 33:[1, 30] Operation: 7+23=30
Exploring Operation: 23-7=16, Resulting Numbers: [1, 16]
Generated Node #0,1,2: 33:[1, 16] Operation: 23-7=16
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 33:[1, 30], Operations: ['92/4=23', '7+23=30']
Exploring Operation: 30/1=30, Resulting Numbers: [30]
30,33 unequal: No Solution
Exploring Operation: 1+30=31, Resulting Numbers: [31]
31,33 unequal: No Solution
Exploring Operation: 1*30=30, Resulting Numbers: [30]
30,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 33:[1, 16], Operations: ['92/4=23', '23-7=16']
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,33 unequal: No Solution
Exploring Operation: 16/1=16, Resulting Numbers: [16]
16,33 unequal: No Solution
Exploring Operation: 1*16=16, Resulting Numbers: [16]
16,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 33:[23, 8], Operations: ['92/4=23', '1+7=8']
Exploring Operation: 23-8=15, Resulting Numbers: [15]
15,33 unequal: No Solution
Exploring Operation: 23+8=31, Resulting Numbers: [31]
31,33 unequal: No Solution
Exploring Operation: 23*8=184, Resulting Numbers: [184]
184,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[4, 1, 85], Operations: ['92-7=85']
Exploring Operation: 4-1=3, Resulting Numbers: [85, 3]
Generated Node #0,0,0: 33:[85, 3] Operation: 4-1=3
Exploring Operation: 85-4=81, Resulting Numbers: [1, 81]
Generated Node #0,0,1: 33:[1, 81] Operation: 85-4=81
Exploring Operation: 85-1=84, Resulting Numbers: [4, 84]
Generated Node #0,0,2: 33:[4, 84] Operation: 85-1=84
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 33:[1, 81], Operations: ['92-7=85', '85-4=81']
Exploring Operation: 81-1=80, Resulting Numbers: [80]
80,33 unequal: No Solution
Exploring Operation: 1*81=81, Resulting Numbers: [81]
81,33 unequal: No Solution
Exploring Operation: 81/1=81, Resulting Numbers: [81]
81,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 33:[85, 3], Operations: ['92-7=85', '4-1=3']
Exploring Operation: 85*3=255, Resulting Numbers: [255]
255,33 unequal: No Solution
Exploring Operation: 85+3=88, Resulting Numbers: [88]
88,33 unequal: No Solution
Exploring Operation: 85-3=82, Resulting Numbers: [82]
82,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 33:[4, 84], Operations: ['92-7=85', '85-1=84']
Exploring Operation: 84/4=21, Resulting Numbers: [21]
21,33 unequal: No Solution
Exploring Operation: 4+84=88, Resulting Numbers: [88]
88,33 unequal: No Solution
Exploring Operation: 84-4=80, Resulting Numbers: [80]
80,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 33:[1, 7, 88], Operations: ['92-4=88']
Exploring Operation: 7-1=6, Resulting Numbers: [88, 6]
Generated Node #0,2,0: 33:[88, 6] Operation: 7-1=6
Exploring Operation: 1+7=8, Resulting Numbers: [88, 8]
Generated Node #0,2,1: 33:[88, 8] Operation: 1+7=8
Exploring Operation: 88-7=81, Resulting Numbers: [1, 81]
Generated Node #0,2,2: 33:[1, 81] Operation: 88-7=81
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 33:[1, 81], Operations: ['92-4=88', '88-7=81']
Exploring Operation: 81-1=80, Resulting Numbers: [80]
80,33 unequal: No Solution
Exploring Operation: 81/1=81, Resulting Numbers: [81]
81,33 unequal: No Solution
Exploring Operation: 1*81=81, Resulting Numbers: [81]
81,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 33:[88, 6], Operations: ['92-4=88', '7-1=6']
Exploring Operation: 88*6=528, Resulting Numbers: [528]
528,33 unequal: No Solution
Exploring Operation: 88+6=94, Resulting Numbers: [94]
94,33 unequal: No Solution
Exploring Operation: 88-6=82, Resulting Numbers: [82]
82,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 33:[88, 8], Operations: ['92-4=88', '1+7=8']
Exploring Operation: 88/8=11, Resulting Numbers: [11]
11,33 unequal: No Solution
Exploring Operation: 88+8=96, Resulting Numbers: [96]
96,33 unequal: No Solution
Exploring Operation: 88-8=80, Resulting Numbers: [80]
80,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_3
|
sum_heuristic
|
[
85,
10,
19,
55
] | 50 |
[
"85+10=95",
"95/19=5",
"55-5=50"
] |
Current State: 50:[85, 10, 19, 55], Operations: []
Exploring Operation: 85+10=95, Resulting Numbers: [19, 55, 95]
Generated Node #2: [19, 55, 95] from Operation: 85+10=95
Current State: 50:[19, 55, 95], Operations: ['85+10=95']
Exploring Operation: 95/19=5, Resulting Numbers: [55, 5]
Generated Node #3: [55, 5] from Operation: 95/19=5
Current State: 50:[55, 5], Operations: ['85+10=95', '95/19=5']
Exploring Operation: 55-5=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 |
Current State: 50:[85, 10, 19, 55], Operations: []
Exploring Operation: 85-55=30, Resulting Numbers: [10, 19, 30]
Generated Node #0,0: 50:[10, 19, 30] Operation: 85-55=30
Exploring Operation: 85-19=66, Resulting Numbers: [10, 55, 66]
Generated Node #0,1: 50:[10, 55, 66] Operation: 85-19=66
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[10, 19, 30], Operations: ['85-55=30']
Exploring Operation: 30-19=11, Resulting Numbers: [10, 11]
Generated Node #0,0,0: 50:[10, 11] Operation: 30-19=11
Exploring Operation: 19+30=49, Resulting Numbers: [10, 49]
Generated Node #0,0,1: 50:[10, 49] Operation: 19+30=49
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 50:[10, 11], Operations: ['85-55=30', '30-19=11']
Exploring Operation: 10+11=21, Resulting Numbers: [21]
21,50 unequal: No Solution
Exploring Operation: 11-10=1, Resulting Numbers: [1]
1,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 50:[10, 49], Operations: ['85-55=30', '19+30=49']
Exploring Operation: 10+49=59, Resulting Numbers: [59]
59,50 unequal: No Solution
Exploring Operation: 49-10=39, Resulting Numbers: [39]
39,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 50:[10, 55, 66], Operations: ['85-19=66']
Exploring Operation: 66-55=11, Resulting Numbers: [10, 11]
Generated Node #0,1,0: 50:[10, 11] Operation: 66-55=11
Exploring Operation: 66-10=56, Resulting Numbers: [55, 56]
Generated Node #0,1,1: 50:[55, 56] Operation: 66-10=56
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 50:[10, 11], Operations: ['85-19=66', '66-55=11']
Exploring Operation: 11-10=1, Resulting Numbers: [1]
1,50 unequal: No Solution
Exploring Operation: 10+11=21, Resulting Numbers: [21]
21,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 50:[55, 56], Operations: ['85-19=66', '66-10=56']
Exploring Operation: 56-55=1, Resulting Numbers: [1]
1,50 unequal: No Solution
Exploring Operation: 55+56=111, Resulting Numbers: [111]
111,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_2
|
sum_heuristic
|
[
26,
30,
60,
55
] | 68 |
[
"26*30=780",
"780/60=13",
"55+13=68"
] |
Current State: 68:[26, 30, 60, 55], Operations: []
Exploring Operation: 26*30=780, Resulting Numbers: [60, 55, 780]
Generated Node #2: [60, 55, 780] from Operation: 26*30=780
Current State: 68:[60, 55, 780], Operations: ['26*30=780']
Exploring Operation: 780/60=13, Resulting Numbers: [55, 13]
Generated Node #3: [55, 13] from Operation: 780/60=13
Current State: 68:[55, 13], Operations: ['26*30=780', '780/60=13']
Exploring Operation: 55+13=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 |
Current State: 68:[26, 30, 60, 55], Operations: []
Exploring Operation: 60-55=5, Resulting Numbers: [26, 30, 5]
Generated Node #0,0: 68:[26, 30, 5] Operation: 60-55=5
Moving to Node #0,0
Current State: 68:[26, 30, 5], Operations: ['60-55=5']
Exploring Operation: 30-26=4, Resulting Numbers: [5, 4]
Generated Node #0,0,0: 68:[5, 4] Operation: 30-26=4
Moving to Node #0,0,0
Current State: 68:[5, 4], Operations: ['60-55=5', '30-26=4']
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,68 unequal: No Solution
No solution found.
| 0 |
hs_1
|
mult_heuristic
|
[
95,
37,
37,
67
] | 29 |
[
"95-67=28",
"37/37=1",
"28+1=29"
] |
Current State: 29:[95, 37, 37, 67], Operations: []
Exploring Operation: 95-67=28, Resulting Numbers: [37, 37, 28]
Generated Node #2: [37, 37, 28] from Operation: 95-67=28
Current State: 29:[37, 37, 28], Operations: ['95-67=28']
Exploring Operation: 37/37=1, Resulting Numbers: [28, 1]
Generated Node #3: [28, 1] from Operation: 37/37=1
Current State: 29:[28, 1], Operations: ['95-67=28', '37/37=1']
Exploring Operation: 28+1=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 |
Current State: 29:[95, 37, 37, 67], Operations: []
Exploring Operation: 95-67=28, Resulting Numbers: [37, 37, 28]
Generated Node #0,0: 29:[37, 37, 28] Operation: 95-67=28
Exploring Operation: 95-37=58, Resulting Numbers: [37, 67, 58]
Generated Node #0,1: 29:[37, 67, 58] Operation: 95-37=58
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[37, 37, 28], Operations: ['95-67=28']
Exploring Operation: 37-28=9, Resulting Numbers: [37, 9]
Generated Node #0,0,0: 29:[37, 9] Operation: 37-28=9
Exploring Operation: 37-28=9, Resulting Numbers: [37, 9]
Generated Node #0,0,1: 29:[37, 9] Operation: 37-28=9
Moving to Node #0,0,0
Current State: 29:[37, 9], Operations: ['95-67=28', '37-28=9']
Exploring Operation: 37-9=28, Resulting Numbers: [28]
28,29 unequal: No Solution
Exploring Operation: 37+9=46, Resulting Numbers: [46]
46,29 unequal: No Solution
Moving to Node #0,0,1
Current State: 29:[37, 9], Operations: ['95-67=28', '37-28=9']
Exploring Operation: 37+9=46, Resulting Numbers: [46]
46,29 unequal: No Solution
Exploring Operation: 37-9=28, Resulting Numbers: [28]
28,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 29:[37, 67, 58], Operations: ['95-37=58']
Exploring Operation: 67-37=30, Resulting Numbers: [58, 30]
Generated Node #0,1,0: 29:[58, 30] Operation: 67-37=30
Exploring Operation: 67-58=9, Resulting Numbers: [37, 9]
Generated Node #0,1,1: 29:[37, 9] Operation: 67-58=9
Moving to Node #0,1,1
Current State: 29:[37, 9], Operations: ['95-37=58', '67-58=9']
Exploring Operation: 37-9=28, Resulting Numbers: [28]
28,29 unequal: No Solution
Exploring Operation: 37+9=46, Resulting Numbers: [46]
46,29 unequal: No Solution
Moving to Node #0,1,0
Current State: 29:[58, 30], Operations: ['95-37=58', '67-37=30']
Exploring Operation: 58+30=88, Resulting Numbers: [88]
88,29 unequal: No Solution
Exploring Operation: 58-30=28, Resulting Numbers: [28]
28,29 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
|
[
89,
98,
97,
2
] | 91 |
[
"89+2=91",
"98-97=1",
"91*1=91"
] |
Current State: 91:[89, 98, 97, 2], Operations: []
Exploring Operation: 89+2=91, Resulting Numbers: [98, 97, 91]
Generated Node #2: [98, 97, 91] from Operation: 89+2=91
Current State: 91:[98, 97, 91], Operations: ['89+2=91']
Exploring Operation: 98-97=1, Resulting Numbers: [91, 1]
Generated Node #3: [91, 1] from Operation: 98-97=1
Current State: 91:[91, 1], Operations: ['89+2=91', '98-97=1']
Exploring Operation: 91*1=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 |
Current State: 91:[89, 98, 97, 2], Operations: []
Exploring Operation: 98-97=1, Resulting Numbers: [89, 2, 1]
Generated Node #0,0: 91:[89, 2, 1] Operation: 98-97=1
Exploring Operation: 98-89=9, Resulting Numbers: [97, 2, 9]
Generated Node #0,1: 91:[97, 2, 9] Operation: 98-89=9
Exploring Operation: 97-89=8, Resulting Numbers: [98, 2, 8]
Generated Node #0,2: 91:[98, 2, 8] Operation: 97-89=8
Exploring Operation: 89+2=91, Resulting Numbers: [98, 97, 91]
Generated Node #0,3: 91:[98, 97, 91] Operation: 89+2=91
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[89, 2, 1], Operations: ['98-97=1']
Exploring Operation: 89*1=89, Resulting Numbers: [2, 89]
Generated Node #0,0,0: 91:[2, 89] Operation: 89*1=89
Exploring Operation: 89+2=91, Resulting Numbers: [1, 91]
Generated Node #0,0,1: 91:[1, 91] Operation: 89+2=91
Exploring Operation: 2+1=3, Resulting Numbers: [89, 3]
Generated Node #0,0,2: 91:[89, 3] Operation: 2+1=3
Exploring Operation: 89+1=90, Resulting Numbers: [2, 90]
Generated Node #0,0,3: 91:[2, 90] Operation: 89+1=90
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 91:[1, 91], Operations: ['98-97=1', '89+2=91']
Exploring Operation: 91-1=90, Resulting Numbers: [90]
90,91 unequal: No Solution
Exploring Operation: 1+91=92, Resulting Numbers: [92]
92,91 unequal: No Solution
Exploring Operation: 91/1=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[89, 98, 97, 2], Operations: []
Exploring Operation: 98-97=1, Resulting Numbers: [89, 2, 1]
Generated Node #0,0: 91:[89, 2, 1] Operation: 98-97=1
Moving to Node #0,0
Current State: 91:[89, 2, 1], Operations: ['98-97=1']
Exploring Operation: 89+2=91, Resulting Numbers: [1, 91]
Generated Node #0,0,1: 91:[1, 91] Operation: 89+2=91
Moving to Node #0,0,1
Current State: 91:[1, 91], Operations: ['98-97=1', '89+2=91']
Exploring Operation: 91/1=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 |
hs_4
|
mult_heuristic
|
[
39,
34,
76,
24
] | 47 |
[
"39-34=5",
"76-24=52",
"52-5=47"
] |
Current State: 47:[39, 34, 76, 24], Operations: []
Exploring Operation: 39-34=5, Resulting Numbers: [76, 24, 5]
Generated Node #2: [76, 24, 5] from Operation: 39-34=5
Current State: 47:[76, 24, 5], Operations: ['39-34=5']
Exploring Operation: 76-24=52, Resulting Numbers: [5, 52]
Generated Node #3: [5, 52] from Operation: 76-24=52
Current State: 47:[5, 52], Operations: ['39-34=5', '76-24=52']
Exploring Operation: 52-5=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 |
Current State: 47:[39, 34, 76, 24], Operations: []
Exploring Operation: 76-39=37, Resulting Numbers: [34, 24, 37]
Generated Node #0,0: 47:[34, 24, 37] Operation: 76-39=37
Exploring Operation: 39+24=63, Resulting Numbers: [34, 76, 63]
Generated Node #0,1: 47:[34, 76, 63] Operation: 39+24=63
Exploring Operation: 34+24=58, Resulting Numbers: [39, 76, 58]
Generated Node #0,2: 47:[39, 76, 58] Operation: 34+24=58
Exploring Operation: 76-24=52, Resulting Numbers: [39, 34, 52]
Generated Node #0,3: 47:[39, 34, 52] Operation: 76-24=52
Exploring Operation: 76-34=42, Resulting Numbers: [39, 24, 42]
Generated Node #0,4: 47:[39, 24, 42] Operation: 76-34=42
Moving to Node #0,3
Current State: 47:[39, 34, 52], Operations: ['76-24=52']
Exploring Operation: 39+34=73, Resulting Numbers: [52, 73]
Generated Node #0,3,0: 47:[52, 73] Operation: 39+34=73
Exploring Operation: 39-34=5, Resulting Numbers: [52, 5]
Generated Node #0,3,1: 47:[52, 5] Operation: 39-34=5
Exploring Operation: 52-34=18, Resulting Numbers: [39, 18]
Generated Node #0,3,2: 47:[39, 18] Operation: 52-34=18
Exploring Operation: 52-39=13, Resulting Numbers: [34, 13]
Generated Node #0,3,3: 47:[34, 13] Operation: 52-39=13
Exploring Operation: 34+52=86, Resulting Numbers: [39, 86]
Generated Node #0,3,4: 47:[39, 86] Operation: 34+52=86
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 47:[52, 73], Operations: ['76-24=52', '39+34=73']
Exploring Operation: 52+73=125, Resulting Numbers: [125]
125,47 unequal: No Solution
Exploring Operation: 52*73=3796, Resulting Numbers: [3796]
3796,47 unequal: No Solution
Exploring Operation: 73-52=21, Resulting Numbers: [21]
21,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,3,2
Current State: 47:[39, 18], Operations: ['76-24=52', '52-34=18']
Exploring Operation: 39+18=57, Resulting Numbers: [57]
57,47 unequal: No Solution
Exploring Operation: 39*18=702, Resulting Numbers: [702]
702,47 unequal: No Solution
Exploring Operation: 39-18=21, Resulting Numbers: [21]
21,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,3,1
Current State: 47:[52, 5], Operations: ['76-24=52', '39-34=5']
Exploring Operation: 52+5=57, Resulting Numbers: [57]
57,47 unequal: No Solution
Exploring Operation: 52*5=260, Resulting Numbers: [260]
260,47 unequal: No Solution
Exploring Operation: 52-5=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[39, 34, 76, 24], Operations: []
Exploring Operation: 76-24=52, Resulting Numbers: [39, 34, 52]
Generated Node #0,3: 47:[39, 34, 52] Operation: 76-24=52
Moving to Node #0,3
Current State: 47:[39, 34, 52], Operations: ['76-24=52']
Exploring Operation: 39-34=5, Resulting Numbers: [52, 5]
Generated Node #0,3,1: 47:[52, 5] Operation: 39-34=5
Moving to Node #0,3,1
Current State: 47:[52, 5], Operations: ['76-24=52', '39-34=5']
Exploring Operation: 52-5=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 |
hs_5
|
sum_heuristic
|
[
49,
8,
51,
93
] | 89 |
[
"51-49=2",
"8/2=4",
"93-4=89"
] |
Current State: 89:[49, 8, 51, 93], Operations: []
Exploring Operation: 51-49=2, Resulting Numbers: [8, 93, 2]
Generated Node #2: [8, 93, 2] from Operation: 51-49=2
Current State: 89:[8, 93, 2], Operations: ['51-49=2']
Exploring Operation: 8/2=4, Resulting Numbers: [93, 4]
Generated Node #3: [93, 4] from Operation: 8/2=4
Current State: 89:[93, 4], Operations: ['51-49=2', '8/2=4']
Exploring Operation: 93-4=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 |
Current State: 89:[49, 8, 51, 93], Operations: []
Exploring Operation: 8+51=59, Resulting Numbers: [49, 93, 59]
Generated Node #0,0: 89:[49, 93, 59] Operation: 8+51=59
Exploring Operation: 51-8=43, Resulting Numbers: [49, 93, 43]
Generated Node #0,1: 89:[49, 93, 43] Operation: 51-8=43
Exploring Operation: 49+8=57, Resulting Numbers: [51, 93, 57]
Generated Node #0,2: 89:[51, 93, 57] Operation: 49+8=57
Exploring Operation: 93-8=85, Resulting Numbers: [49, 51, 85]
Generated Node #0,3: 89:[49, 51, 85] Operation: 93-8=85
Exploring Operation: 49-8=41, Resulting Numbers: [51, 93, 41]
Generated Node #0,4: 89:[51, 93, 41] Operation: 49-8=41
Moving to Node #0,0
Current State: 89:[49, 93, 59], Operations: ['8+51=59']
Exploring Operation: 59-49=10, Resulting Numbers: [93, 10]
Generated Node #0,0,0: 89:[93, 10] Operation: 59-49=10
Exploring Operation: 49+93=142, Resulting Numbers: [59, 142]
Generated Node #0,0,1: 89:[59, 142] Operation: 49+93=142
Exploring Operation: 49+59=108, Resulting Numbers: [93, 108]
Generated Node #0,0,2: 89:[93, 108] Operation: 49+59=108
Exploring Operation: 93-59=34, Resulting Numbers: [49, 34]
Generated Node #0,0,3: 89:[49, 34] Operation: 93-59=34
Exploring Operation: 93-49=44, Resulting Numbers: [59, 44]
Generated Node #0,0,4: 89:[59, 44] Operation: 93-49=44
Moving to Node #0,2
Current State: 89:[51, 93, 57], Operations: ['49+8=57']
Exploring Operation: 93-51=42, Resulting Numbers: [57, 42]
Generated Node #0,2,0: 89:[57, 42] Operation: 93-51=42
Exploring Operation: 57-51=6, Resulting Numbers: [93, 6]
Generated Node #0,2,1: 89:[93, 6] Operation: 57-51=6
Exploring Operation: 51+57=108, Resulting Numbers: [93, 108]
Generated Node #0,2,2: 89:[93, 108] Operation: 51+57=108
Exploring Operation: 93-57=36, Resulting Numbers: [51, 36]
Generated Node #0,2,3: 89:[51, 36] Operation: 93-57=36
Exploring Operation: 51+93=144, Resulting Numbers: [57, 144]
Generated Node #0,2,4: 89:[57, 144] Operation: 51+93=144
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 89:[93, 108], Operations: ['49+8=57', '51+57=108']
Exploring Operation: 108-93=15, Resulting Numbers: [15]
15,89 unequal: No Solution
Exploring Operation: 93+108=201, Resulting Numbers: [201]
201,89 unequal: No Solution
Exploring Operation: 93*108=10044, Resulting Numbers: [10044]
10044,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 89:[57, 42], Operations: ['49+8=57', '93-51=42']
Exploring Operation: 57-42=15, Resulting Numbers: [15]
15,89 unequal: No Solution
Exploring Operation: 57+42=99, Resulting Numbers: [99]
99,89 unequal: No Solution
Exploring Operation: 57*42=2394, Resulting Numbers: [2394]
2394,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 89:[93, 6], Operations: ['49+8=57', '57-51=6']
Exploring Operation: 93*6=558, Resulting Numbers: [558]
558,89 unequal: No Solution
Exploring Operation: 93-6=87, Resulting Numbers: [87]
87,89 unequal: No Solution
Exploring Operation: 93+6=99, Resulting Numbers: [99]
99,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 89:[57, 144], Operations: ['49+8=57', '51+93=144']
Exploring Operation: 57*144=8208, Resulting Numbers: [8208]
8208,89 unequal: No Solution
Exploring Operation: 57+144=201, Resulting Numbers: [201]
201,89 unequal: No Solution
Exploring Operation: 144-57=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,2,3
Current State: 89:[51, 36], Operations: ['49+8=57', '93-57=36']
Exploring Operation: 51*36=1836, Resulting Numbers: [1836]
1836,89 unequal: No Solution
Exploring Operation: 51+36=87, Resulting Numbers: [87]
87,89 unequal: No Solution
Exploring Operation: 51-36=15, Resulting Numbers: [15]
15,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 89:[49, 51, 85], Operations: ['93-8=85']
Exploring Operation: 51+85=136, Resulting Numbers: [49, 136]
Generated Node #0,3,0: 89:[49, 136] Operation: 51+85=136
Exploring Operation: 85-49=36, Resulting Numbers: [51, 36]
Generated Node #0,3,1: 89:[51, 36] Operation: 85-49=36
Exploring Operation: 51-49=2, Resulting Numbers: [85, 2]
Generated Node #0,3,2: 89:[85, 2] Operation: 51-49=2
Exploring Operation: 49+85=134, Resulting Numbers: [51, 134]
Generated Node #0,3,3: 89:[51, 134] Operation: 49+85=134
Exploring Operation: 49+51=100, Resulting Numbers: [85, 100]
Generated Node #0,3,4: 89:[85, 100] Operation: 49+51=100
Moving to Node #0,1
Current State: 89:[49, 93, 43], Operations: ['51-8=43']
Exploring Operation: 93-49=44, Resulting Numbers: [43, 44]
Generated Node #0,1,0: 89:[43, 44] Operation: 93-49=44
Exploring Operation: 93-43=50, Resulting Numbers: [49, 50]
Generated Node #0,1,1: 89:[49, 50] Operation: 93-43=50
Exploring Operation: 49-43=6, Resulting Numbers: [93, 6]
Generated Node #0,1,2: 89:[93, 6] Operation: 49-43=6
Exploring Operation: 49+43=92, Resulting Numbers: [93, 92]
Generated Node #0,1,3: 89:[93, 92] Operation: 49+43=92
Exploring Operation: 93+43=136, Resulting Numbers: [49, 136]
Generated Node #0,1,4: 89:[49, 136] Operation: 93+43=136
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 89:[93, 92], Operations: ['51-8=43', '49+43=92']
Exploring Operation: 93+92=185, Resulting Numbers: [185]
185,89 unequal: No Solution
Exploring Operation: 93*92=8556, Resulting Numbers: [8556]
8556,89 unequal: No Solution
Exploring Operation: 93-92=1, Resulting Numbers: [1]
1,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 89:[49, 50], Operations: ['51-8=43', '93-43=50']
Exploring Operation: 50-49=1, Resulting Numbers: [1]
1,89 unequal: No Solution
Exploring Operation: 49+50=99, Resulting Numbers: [99]
99,89 unequal: No Solution
Exploring Operation: 49*50=2450, Resulting Numbers: [2450]
2450,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 89:[93, 6], Operations: ['51-8=43', '49-43=6']
Exploring Operation: 93+6=99, Resulting Numbers: [99]
99,89 unequal: No Solution
Exploring Operation: 93-6=87, Resulting Numbers: [87]
87,89 unequal: No Solution
Exploring Operation: 93*6=558, Resulting Numbers: [558]
558,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 89:[49, 136], Operations: ['51-8=43', '93+43=136']
Exploring Operation: 49*136=6664, Resulting Numbers: [6664]
6664,89 unequal: No Solution
Exploring Operation: 136-49=87, Resulting Numbers: [87]
87,89 unequal: No Solution
Exploring Operation: 49+136=185, Resulting Numbers: [185]
185,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 89:[43, 44], Operations: ['51-8=43', '93-49=44']
Exploring Operation: 44-43=1, Resulting Numbers: [1]
1,89 unequal: No Solution
Exploring Operation: 43*44=1892, Resulting Numbers: [1892]
1892,89 unequal: No Solution
Exploring Operation: 43+44=87, Resulting Numbers: [87]
87,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 89:[51, 93, 41], Operations: ['49-8=41']
Exploring Operation: 93-51=42, Resulting Numbers: [41, 42]
Generated Node #0,4,0: 89:[41, 42] Operation: 93-51=42
Exploring Operation: 51-41=10, Resulting Numbers: [93, 10]
Generated Node #0,4,1: 89:[93, 10] Operation: 51-41=10
Exploring Operation: 93-41=52, Resulting Numbers: [51, 52]
Generated Node #0,4,2: 89:[51, 52] Operation: 93-41=52
Exploring Operation: 93+41=134, Resulting Numbers: [51, 134]
Generated Node #0,4,3: 89:[51, 134] Operation: 93+41=134
Exploring Operation: 51+41=92, Resulting Numbers: [93, 92]
Generated Node #0,4,4: 89:[93, 92] Operation: 51+41=92
Moving to Node #0,4,4
Current State: 89:[93, 92], Operations: ['49-8=41', '51+41=92']
Exploring Operation: 93*92=8556, Resulting Numbers: [8556]
8556,89 unequal: No Solution
Exploring Operation: 93-92=1, Resulting Numbers: [1]
1,89 unequal: No Solution
Exploring Operation: 93+92=185, Resulting Numbers: [185]
185,89 unequal: No Solution
Moving to Node #0,3,4
Current State: 89:[85, 100], Operations: ['93-8=85', '49+51=100']
Exploring Operation: 100-85=15, Resulting Numbers: [15]
15,89 unequal: No Solution
Exploring Operation: 85+100=185, Resulting Numbers: [185]
185,89 unequal: No Solution
Exploring Operation: 85*100=8500, Resulting Numbers: [8500]
8500,89 unequal: No Solution
Moving to Node #0,0,2
Current State: 89:[93, 108], Operations: ['8+51=59', '49+59=108']
Exploring Operation: 108-93=15, Resulting Numbers: [15]
15,89 unequal: No Solution
Exploring Operation: 93+108=201, Resulting Numbers: [201]
201,89 unequal: No Solution
Exploring Operation: 93*108=10044, Resulting Numbers: [10044]
10044,89 unequal: No Solution
Moving to Node #0,4,2
Current State: 89:[51, 52], Operations: ['49-8=41', '93-41=52']
Exploring Operation: 52-51=1, Resulting Numbers: [1]
1,89 unequal: No Solution
Exploring Operation: 51*52=2652, Resulting Numbers: [2652]
2652,89 unequal: No Solution
Exploring Operation: 51+52=103, Resulting Numbers: [103]
103,89 unequal: No Solution
Moving to Node #0,0,4
Current State: 89:[59, 44], Operations: ['8+51=59', '93-49=44']
Exploring Operation: 59+44=103, Resulting Numbers: [103]
103,89 unequal: No Solution
Exploring Operation: 59*44=2596, Resulting Numbers: [2596]
2596,89 unequal: No Solution
Exploring Operation: 59-44=15, Resulting Numbers: [15]
15,89 unequal: No Solution
Moving to Node #0,3,3
Current State: 89:[51, 134], Operations: ['93-8=85', '49+85=134']
Exploring Operation: 51+134=185, Resulting Numbers: [185]
185,89 unequal: No Solution
Exploring Operation: 51*134=6834, Resulting Numbers: [6834]
6834,89 unequal: No Solution
Exploring Operation: 134-51=83, Resulting Numbers: [83]
83,89 unequal: No Solution
Moving to Node #0,4,3
Current State: 89:[51, 134], Operations: ['49-8=41', '93+41=134']
Exploring Operation: 51+134=185, Resulting Numbers: [185]
185,89 unequal: No Solution
Exploring Operation: 51*134=6834, Resulting Numbers: [6834]
6834,89 unequal: No Solution
Exploring Operation: 134-51=83, Resulting Numbers: [83]
83,89 unequal: No Solution
Moving to Node #0,4,1
Current State: 89:[93, 10], Operations: ['49-8=41', '51-41=10']
Exploring Operation: 93-10=83, Resulting Numbers: [83]
83,89 unequal: No Solution
Exploring Operation: 93+10=103, Resulting Numbers: [103]
103,89 unequal: No Solution
Exploring Operation: 93*10=930, Resulting Numbers: [930]
930,89 unequal: No Solution
Moving to Node #0,0,1
Current State: 89:[59, 142], Operations: ['8+51=59', '49+93=142']
Exploring Operation: 142-59=83, Resulting Numbers: [83]
83,89 unequal: No Solution
Exploring Operation: 59*142=8378, Resulting Numbers: [8378]
8378,89 unequal: No Solution
Exploring Operation: 59+142=201, Resulting Numbers: [201]
201,89 unequal: No Solution
Moving to Node #0,0,0
Current State: 89:[93, 10], Operations: ['8+51=59', '59-49=10']
Exploring Operation: 93-10=83, Resulting Numbers: [83]
83,89 unequal: No Solution
Exploring Operation: 93+10=103, Resulting Numbers: [103]
103,89 unequal: No Solution
Exploring Operation: 93*10=930, Resulting Numbers: [930]
930,89 unequal: No Solution
Moving to Node #0,3,0
Current State: 89:[49, 136], Operations: ['93-8=85', '51+85=136']
Exploring Operation: 49+136=185, Resulting Numbers: [185]
185,89 unequal: No Solution
Exploring Operation: 136-49=87, Resulting Numbers: [87]
87,89 unequal: No Solution
Exploring Operation: 49*136=6664, Resulting Numbers: [6664]
6664,89 unequal: No Solution
Moving to Node #0,3,1
Current State: 89:[51, 36], Operations: ['93-8=85', '85-49=36']
Exploring Operation: 51*36=1836, Resulting Numbers: [1836]
1836,89 unequal: No Solution
Exploring Operation: 51+36=87, Resulting Numbers: [87]
87,89 unequal: No Solution
Exploring Operation: 51-36=15, Resulting Numbers: [15]
15,89 unequal: No Solution
Moving to Node #0,3,2
Current State: 89:[85, 2], Operations: ['93-8=85', '51-49=2']
Exploring Operation: 85-2=83, Resulting Numbers: [83]
83,89 unequal: No Solution
Exploring Operation: 85*2=170, Resulting Numbers: [170]
170,89 unequal: No Solution
Exploring Operation: 85+2=87, Resulting Numbers: [87]
87,89 unequal: No Solution
Moving to Node #0,4,0
Current State: 89:[41, 42], Operations: ['49-8=41', '93-51=42']
Exploring Operation: 41+42=83, Resulting Numbers: [83]
83,89 unequal: No Solution
Exploring Operation: 41*42=1722, Resulting Numbers: [1722]
1722,89 unequal: No Solution
Exploring Operation: 42-41=1, Resulting Numbers: [1]
1,89 unequal: No Solution
Moving to Node #0,0,3
Current State: 89:[49, 34], Operations: ['8+51=59', '93-59=34']
Exploring Operation: 49*34=1666, Resulting Numbers: [1666]
1666,89 unequal: No Solution
Exploring Operation: 49-34=15, Resulting Numbers: [15]
15,89 unequal: No Solution
Exploring Operation: 49+34=83, Resulting Numbers: [83]
83,89 unequal: No Solution
No solution found.
| 0 |
hs_5
|
mult_heuristic
|
[
38,
60,
6,
3
] | 49 |
[
"38+60=98",
"6/3=2",
"98/2=49"
] |
Current State: 49:[38, 60, 6, 3], Operations: []
Exploring Operation: 38+60=98, Resulting Numbers: [6, 3, 98]
Generated Node #2: [6, 3, 98] from Operation: 38+60=98
Current State: 49:[6, 3, 98], Operations: ['38+60=98']
Exploring Operation: 6/3=2, Resulting Numbers: [98, 2]
Generated Node #3: [98, 2] from Operation: 6/3=2
Current State: 49:[98, 2], Operations: ['38+60=98', '6/3=2']
Exploring Operation: 98/2=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 |
Current State: 49:[38, 60, 6, 3], Operations: []
Exploring Operation: 38+3=41, Resulting Numbers: [60, 6, 41]
Generated Node #0,0: 49:[60, 6, 41] Operation: 38+3=41
Exploring Operation: 60/6=10, Resulting Numbers: [38, 3, 10]
Generated Node #0,1: 49:[38, 3, 10] Operation: 60/6=10
Exploring Operation: 38+6=44, Resulting Numbers: [60, 3, 44]
Generated Node #0,2: 49:[60, 3, 44] Operation: 38+6=44
Exploring Operation: 60-6=54, Resulting Numbers: [38, 3, 54]
Generated Node #0,3: 49:[38, 3, 54] Operation: 60-6=54
Exploring Operation: 60-38=22, Resulting Numbers: [6, 3, 22]
Generated Node #0,4: 49:[6, 3, 22] Operation: 60-38=22
Start Sub Search at level 1: Moving to Node #0,1
Current State: 49:[38, 3, 10], Operations: ['60/6=10']
Exploring Operation: 38+3=41, Resulting Numbers: [10, 41]
Generated Node #0,1,0: 49:[10, 41] Operation: 38+3=41
Exploring Operation: 38-3=35, Resulting Numbers: [10, 35]
Generated Node #0,1,1: 49:[10, 35] Operation: 38-3=35
Exploring Operation: 38+10=48, Resulting Numbers: [3, 48]
Generated Node #0,1,2: 49:[3, 48] Operation: 38+10=48
Exploring Operation: 10-3=7, Resulting Numbers: [38, 7]
Generated Node #0,1,3: 49:[38, 7] Operation: 10-3=7
Exploring Operation: 3+10=13, Resulting Numbers: [38, 13]
Generated Node #0,1,4: 49:[38, 13] Operation: 3+10=13
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 49:[3, 48], Operations: ['60/6=10', '38+10=48']
Exploring Operation: 48-3=45, Resulting Numbers: [45]
45,49 unequal: No Solution
Exploring Operation: 48/3=16, Resulting Numbers: [16]
16,49 unequal: No Solution
Exploring Operation: 3*48=144, Resulting Numbers: [144]
144,49 unequal: No Solution
Exploring Operation: 3+48=51, Resulting Numbers: [51]
51,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 49:[10, 41], Operations: ['60/6=10', '38+3=41']
Exploring Operation: 41-10=31, Resulting Numbers: [31]
31,49 unequal: No Solution
Exploring Operation: 10*41=410, Resulting Numbers: [410]
410,49 unequal: No Solution
Exploring Operation: 10+41=51, Resulting Numbers: [51]
51,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 49:[38, 7], Operations: ['60/6=10', '10-3=7']
Exploring Operation: 38*7=266, Resulting Numbers: [266]
266,49 unequal: No Solution
Exploring Operation: 38+7=45, Resulting Numbers: [45]
45,49 unequal: No Solution
Exploring Operation: 38-7=31, Resulting Numbers: [31]
31,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 49:[10, 35], Operations: ['60/6=10', '38-3=35']
Exploring Operation: 10*35=350, Resulting Numbers: [350]
350,49 unequal: No Solution
Exploring Operation: 10+35=45, Resulting Numbers: [45]
45,49 unequal: No Solution
Exploring Operation: 35-10=25, Resulting Numbers: [25]
25,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 49:[38, 13], Operations: ['60/6=10', '3+10=13']
Exploring Operation: 38+13=51, Resulting Numbers: [51]
51,49 unequal: No Solution
Exploring Operation: 38*13=494, Resulting Numbers: [494]
494,49 unequal: No Solution
Exploring Operation: 38-13=25, Resulting Numbers: [25]
25,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[60, 6, 41], Operations: ['38+3=41']
Exploring Operation: 60-6=54, Resulting Numbers: [41, 54]
Generated Node #0,0,0: 49:[41, 54] Operation: 60-6=54
Exploring Operation: 60/6=10, Resulting Numbers: [41, 10]
Generated Node #0,0,1: 49:[41, 10] Operation: 60/6=10
Exploring Operation: 60+6=66, Resulting Numbers: [41, 66]
Generated Node #0,0,2: 49:[41, 66] Operation: 60+6=66
Exploring Operation: 6+41=47, Resulting Numbers: [60, 47]
Generated Node #0,0,3: 49:[60, 47] Operation: 6+41=47
Exploring Operation: 60-41=19, Resulting Numbers: [6, 19]
Generated Node #0,0,4: 49:[6, 19] Operation: 60-41=19
Moving to Node #0,0,1
Current State: 49:[41, 10], Operations: ['38+3=41', '60/6=10']
Exploring Operation: 41+10=51, Resulting Numbers: [51]
51,49 unequal: No Solution
Exploring Operation: 41*10=410, Resulting Numbers: [410]
410,49 unequal: No Solution
Exploring Operation: 41-10=31, Resulting Numbers: [31]
31,49 unequal: No Solution
Moving to Node #0,0,3
Current State: 49:[60, 47], Operations: ['38+3=41', '6+41=47']
Exploring Operation: 60*47=2820, Resulting Numbers: [2820]
2820,49 unequal: No Solution
Exploring Operation: 60-47=13, Resulting Numbers: [13]
13,49 unequal: No Solution
Exploring Operation: 60+47=107, Resulting Numbers: [107]
107,49 unequal: No Solution
Moving to Node #0,0,0
Current State: 49:[41, 54], Operations: ['38+3=41', '60-6=54']
Exploring Operation: 41+54=95, Resulting Numbers: [95]
95,49 unequal: No Solution
Exploring Operation: 41*54=2214, Resulting Numbers: [2214]
2214,49 unequal: No Solution
Exploring Operation: 54-41=13, Resulting Numbers: [13]
13,49 unequal: No Solution
Moving to Node #0,0,4
Current State: 49:[6, 19], Operations: ['38+3=41', '60-41=19']
Exploring Operation: 6*19=114, Resulting Numbers: [114]
114,49 unequal: No Solution
Exploring Operation: 19-6=13, Resulting Numbers: [13]
13,49 unequal: No Solution
Exploring Operation: 6+19=25, Resulting Numbers: [25]
25,49 unequal: No Solution
Moving to Node #0,0,2
Current State: 49:[41, 66], Operations: ['38+3=41', '60+6=66']
Exploring Operation: 66-41=25, Resulting Numbers: [25]
25,49 unequal: No Solution
Exploring Operation: 41*66=2706, Resulting Numbers: [2706]
2706,49 unequal: No Solution
Exploring Operation: 41+66=107, Resulting Numbers: [107]
107,49 unequal: No Solution
No 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: 49:[60, 3, 44], Operations: ['38+6=44']
Exploring Operation: 60-44=16, Resulting Numbers: [3, 16]
Generated Node #0,2,0: 49:[3, 16] Operation: 60-44=16
Exploring Operation: 3+44=47, Resulting Numbers: [60, 47]
Generated Node #0,2,1: 49:[60, 47] Operation: 3+44=47
Exploring Operation: 60+3=63, Resulting Numbers: [44, 63]
Generated Node #0,2,2: 49:[44, 63] Operation: 60+3=63
Exploring Operation: 60/3=20, Resulting Numbers: [44, 20]
Generated Node #0,2,3: 49:[44, 20] Operation: 60/3=20
Exploring Operation: 60-3=57, Resulting Numbers: [44, 57]
Generated Node #0,2,4: 49:[44, 57] Operation: 60-3=57
Moving to Node #0,2,0
Current State: 49:[3, 16], Operations: ['38+6=44', '60-44=16']
Exploring Operation: 3+16=19, Resulting Numbers: [19]
19,49 unequal: No Solution
Exploring Operation: 3*16=48, Resulting Numbers: [48]
48,49 unequal: No Solution
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,49 unequal: No Solution
Moving to Node #0,2,4
Current State: 49:[44, 57], Operations: ['38+6=44', '60-3=57']
Exploring Operation: 44*57=2508, Resulting Numbers: [2508]
2508,49 unequal: No Solution
Exploring Operation: 57-44=13, Resulting Numbers: [13]
13,49 unequal: No Solution
Exploring Operation: 44+57=101, Resulting Numbers: [101]
101,49 unequal: No Solution
Moving to Node #0,2,1
Current State: 49:[60, 47], Operations: ['38+6=44', '3+44=47']
Exploring Operation: 60*47=2820, Resulting Numbers: [2820]
2820,49 unequal: No Solution
Exploring Operation: 60+47=107, Resulting Numbers: [107]
107,49 unequal: No Solution
Exploring Operation: 60-47=13, Resulting Numbers: [13]
13,49 unequal: No Solution
Moving to Node #0,2,3
Current State: 49:[44, 20], Operations: ['38+6=44', '60/3=20']
Exploring Operation: 44*20=880, Resulting Numbers: [880]
880,49 unequal: No Solution
Exploring Operation: 44+20=64, Resulting Numbers: [64]
64,49 unequal: No Solution
Exploring Operation: 44-20=24, Resulting Numbers: [24]
24,49 unequal: No Solution
Moving to Node #0,2,2
Current State: 49:[44, 63], Operations: ['38+6=44', '60+3=63']
Exploring Operation: 44+63=107, Resulting Numbers: [107]
107,49 unequal: No Solution
Exploring Operation: 63-44=19, Resulting Numbers: [19]
19,49 unequal: No Solution
Exploring Operation: 44*63=2772, Resulting Numbers: [2772]
2772,49 unequal: No Solution
No 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: 49:[38, 3, 54], Operations: ['60-6=54']
Exploring Operation: 54-3=51, Resulting Numbers: [38, 51]
Generated Node #0,3,0: 49:[38, 51] Operation: 54-3=51
Exploring Operation: 54-38=16, Resulting Numbers: [3, 16]
Generated Node #0,3,1: 49:[3, 16] Operation: 54-38=16
Exploring Operation: 38-3=35, Resulting Numbers: [54, 35]
Generated Node #0,3,2: 49:[54, 35] Operation: 38-3=35
Exploring Operation: 38+3=41, Resulting Numbers: [54, 41]
Generated Node #0,3,3: 49:[54, 41] Operation: 38+3=41
Exploring Operation: 3+54=57, Resulting Numbers: [38, 57]
Generated Node #0,3,4: 49:[38, 57] Operation: 3+54=57
Moving to Node #0,3,0
Current State: 49:[38, 51], Operations: ['60-6=54', '54-3=51']
Exploring Operation: 38+51=89, Resulting Numbers: [89]
89,49 unequal: No Solution
Exploring Operation: 51-38=13, Resulting Numbers: [13]
13,49 unequal: No Solution
Exploring Operation: 38*51=1938, Resulting Numbers: [1938]
1938,49 unequal: No Solution
Moving to Node #0,3,3
Current State: 49:[54, 41], Operations: ['60-6=54', '38+3=41']
Exploring Operation: 54-41=13, Resulting Numbers: [13]
13,49 unequal: No Solution
Exploring Operation: 54+41=95, Resulting Numbers: [95]
95,49 unequal: No Solution
Exploring Operation: 54*41=2214, Resulting Numbers: [2214]
2214,49 unequal: No Solution
Moving to Node #0,3,1
Current State: 49:[3, 16], Operations: ['60-6=54', '54-38=16']
Exploring Operation: 3*16=48, Resulting Numbers: [48]
48,49 unequal: No Solution
Exploring Operation: 3+16=19, Resulting Numbers: [19]
19,49 unequal: No Solution
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,49 unequal: No Solution
Moving to Node #0,3,2
Current State: 49:[54, 35], Operations: ['60-6=54', '38-3=35']
Exploring Operation: 54*35=1890, Resulting Numbers: [1890]
1890,49 unequal: No Solution
Exploring Operation: 54-35=19, Resulting Numbers: [19]
19,49 unequal: No Solution
Exploring Operation: 54+35=89, Resulting Numbers: [89]
89,49 unequal: No Solution
Moving to Node #0,3,4
Current State: 49:[38, 57], Operations: ['60-6=54', '3+54=57']
Exploring Operation: 38+57=95, Resulting Numbers: [95]
95,49 unequal: No Solution
Exploring Operation: 57-38=19, Resulting Numbers: [19]
19,49 unequal: No Solution
Exploring Operation: 38*57=2166, Resulting Numbers: [2166]
2166,49 unequal: No Solution
No 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: 49:[6, 3, 22], Operations: ['60-38=22']
Exploring Operation: 3*22=66, Resulting Numbers: [6, 66]
Generated Node #0,4,0: 49:[6, 66] Operation: 3*22=66
Exploring Operation: 6+3=9, Resulting Numbers: [22, 9]
Generated Node #0,4,1: 49:[22, 9] Operation: 6+3=9
Exploring Operation: 22-3=19, Resulting Numbers: [6, 19]
Generated Node #0,4,2: 49:[6, 19] Operation: 22-3=19
Exploring Operation: 6-3=3, Resulting Numbers: [22, 3]
Generated Node #0,4,3: 49:[22, 3] Operation: 6-3=3
Exploring Operation: 22-6=16, Resulting Numbers: [3, 16]
Generated Node #0,4,4: 49:[3, 16] Operation: 22-6=16
Moving to Node #0,4,2
Current State: 49:[6, 19], Operations: ['60-38=22', '22-3=19']
Exploring Operation: 6+19=25, Resulting Numbers: [25]
25,49 unequal: No Solution
Exploring Operation: 19-6=13, Resulting Numbers: [13]
13,49 unequal: No Solution
Exploring Operation: 6*19=114, Resulting Numbers: [114]
114,49 unequal: No Solution
Moving to Node #0,4,4
Current State: 49:[3, 16], Operations: ['60-38=22', '22-6=16']
Exploring Operation: 3+16=19, Resulting Numbers: [19]
19,49 unequal: No Solution
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,49 unequal: No Solution
Exploring Operation: 3*16=48, Resulting Numbers: [48]
48,49 unequal: No Solution
Moving to Node #0,4,1
Current State: 49:[22, 9], Operations: ['60-38=22', '6+3=9']
Exploring Operation: 22+9=31, Resulting Numbers: [31]
31,49 unequal: No Solution
Exploring Operation: 22-9=13, Resulting Numbers: [13]
13,49 unequal: No Solution
Exploring Operation: 22*9=198, Resulting Numbers: [198]
198,49 unequal: No Solution
Moving to Node #0,4,0
Current State: 49:[6, 66], Operations: ['60-38=22', '3*22=66']
Exploring Operation: 66-6=60, Resulting Numbers: [60]
60,49 unequal: No Solution
Exploring Operation: 6*66=396, Resulting Numbers: [396]
396,49 unequal: No Solution
Exploring Operation: 6+66=72, Resulting Numbers: [72]
72,49 unequal: No Solution
Exploring Operation: 66/6=11, Resulting Numbers: [11]
11,49 unequal: No Solution
Moving to Node #0,4,3
Current State: 49:[22, 3], Operations: ['60-38=22', '6-3=3']
Exploring Operation: 22*3=66, Resulting Numbers: [66]
66,49 unequal: No Solution
Exploring Operation: 22+3=25, Resulting Numbers: [25]
25,49 unequal: No Solution
Exploring Operation: 22-3=19, Resulting Numbers: [19]
19,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_5
|
sum_heuristic
|
[
49,
79,
48,
53
] | 35 |
[
"79-49=30",
"53-48=5",
"30+5=35"
] |
Current State: 35:[49, 79, 48, 53], Operations: []
Exploring Operation: 79-49=30, Resulting Numbers: [48, 53, 30]
Generated Node #2: [48, 53, 30] from Operation: 79-49=30
Current State: 35:[48, 53, 30], Operations: ['79-49=30']
Exploring Operation: 53-48=5, Resulting Numbers: [30, 5]
Generated Node #3: [30, 5] from Operation: 53-48=5
Current State: 35:[30, 5], Operations: ['79-49=30', '53-48=5']
Exploring Operation: 30+5=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 |
Current State: 35:[49, 79, 48, 53], Operations: []
Exploring Operation: 79-48=31, Resulting Numbers: [49, 53, 31]
Generated Node #0,0: 35:[49, 53, 31] Operation: 79-48=31
Exploring Operation: 79-49=30, Resulting Numbers: [48, 53, 30]
Generated Node #0,1: 35:[48, 53, 30] Operation: 79-49=30
Moving to Node #0,0
Current State: 35:[49, 53, 31], Operations: ['79-48=31']
Exploring Operation: 53-49=4, Resulting Numbers: [31, 4]
Generated Node #0,0,0: 35:[31, 4] Operation: 53-49=4
Exploring Operation: 53-31=22, Resulting Numbers: [49, 22]
Generated Node #0,0,1: 35:[49, 22] Operation: 53-31=22
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 35:[31, 4], Operations: ['79-48=31', '53-49=4']
Exploring Operation: 31+4=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[49, 79, 48, 53], Operations: []
Exploring Operation: 79-48=31, Resulting Numbers: [49, 53, 31]
Generated Node #0,0: 35:[49, 53, 31] Operation: 79-48=31
Moving to Node #0,0
Current State: 35:[49, 53, 31], Operations: ['79-48=31']
Exploring Operation: 53-49=4, Resulting Numbers: [31, 4]
Generated Node #0,0,0: 35:[31, 4] Operation: 53-49=4
Moving to Node #0,0,0
Current State: 35:[31, 4], Operations: ['79-48=31', '53-49=4']
Exploring Operation: 31+4=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 |
hs_2
|
sum_heuristic
|
[
4,
86,
2,
84
] | 37 |
[
"84-4=80",
"86/2=43",
"80-43=37"
] |
Current State: 37:[4, 86, 2, 84], Operations: []
Exploring Operation: 84-4=80, Resulting Numbers: [86, 2, 80]
Generated Node #2: [86, 2, 80] from Operation: 84-4=80
Current State: 37:[86, 2, 80], Operations: ['84-4=80']
Exploring Operation: 86/2=43, Resulting Numbers: [80, 43]
Generated Node #3: [80, 43] from Operation: 86/2=43
Current State: 37:[80, 43], Operations: ['84-4=80', '86/2=43']
Exploring Operation: 80-43=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 |
Current State: 37:[4, 86, 2, 84], Operations: []
Exploring Operation: 86/2=43, Resulting Numbers: [4, 84, 43]
Generated Node #0,0: 37:[4, 84, 43] Operation: 86/2=43
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[4, 84, 43], Operations: ['86/2=43']
Exploring Operation: 84/4=21, Resulting Numbers: [43, 21]
Generated Node #0,0,0: 37:[43, 21] Operation: 84/4=21
Moving to Node #0,0,0
Current State: 37:[43, 21], Operations: ['86/2=43', '84/4=21']
Exploring Operation: 43-21=22, Resulting Numbers: [22]
22,37 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
|
[
75,
86,
58,
88
] | 34 |
[
"75-58=17",
"88-86=2",
"17*2=34"
] |
Current State: 34:[75, 86, 58, 88], Operations: []
Exploring Operation: 75-58=17, Resulting Numbers: [86, 88, 17]
Generated Node #2: [86, 88, 17] from Operation: 75-58=17
Current State: 34:[86, 88, 17], Operations: ['75-58=17']
Exploring Operation: 88-86=2, Resulting Numbers: [17, 2]
Generated Node #3: [17, 2] from Operation: 88-86=2
Current State: 34:[17, 2], Operations: ['75-58=17', '88-86=2']
Exploring Operation: 17*2=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 |
Current State: 34:[75, 86, 58, 88], Operations: []
Exploring Operation: 86-58=28, Resulting Numbers: [75, 88, 28]
Generated Node #0,0: 34:[75, 88, 28] Operation: 86-58=28
Exploring Operation: 88-58=30, Resulting Numbers: [75, 86, 30]
Generated Node #0,1: 34:[75, 86, 30] Operation: 88-58=30
Exploring Operation: 88-75=13, Resulting Numbers: [86, 58, 13]
Generated Node #0,2: 34:[86, 58, 13] Operation: 88-75=13
Exploring Operation: 88-86=2, Resulting Numbers: [75, 58, 2]
Generated Node #0,3: 34:[75, 58, 2] Operation: 88-86=2
Exploring Operation: 86-75=11, Resulting Numbers: [58, 88, 11]
Generated Node #0,4: 34:[58, 88, 11] Operation: 86-75=11
Start Sub Search at level 1: Moving to Node #0,3
Current State: 34:[75, 58, 2], Operations: ['88-86=2']
Exploring Operation: 75-2=73, Resulting Numbers: [58, 73]
Generated Node #0,3,0: 34:[58, 73] Operation: 75-2=73
Exploring Operation: 58-2=56, Resulting Numbers: [75, 56]
Generated Node #0,3,1: 34:[75, 56] Operation: 58-2=56
Exploring Operation: 58/2=29, Resulting Numbers: [75, 29]
Generated Node #0,3,2: 34:[75, 29] Operation: 58/2=29
Exploring Operation: 75+2=77, Resulting Numbers: [58, 77]
Generated Node #0,3,3: 34:[58, 77] Operation: 75+2=77
Exploring Operation: 75-58=17, Resulting Numbers: [2, 17]
Generated Node #0,3,4: 34:[2, 17] Operation: 75-58=17
Moving to Node #0,3,4
Current State: 34:[2, 17], Operations: ['88-86=2', '75-58=17']
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,34 unequal: No Solution
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[75, 86, 58, 88], Operations: []
Exploring Operation: 88-86=2, Resulting Numbers: [75, 58, 2]
Generated Node #0,3: 34:[75, 58, 2] Operation: 88-86=2
Moving to Node #0,3
Current State: 34:[75, 58, 2], Operations: ['88-86=2']
Exploring Operation: 75-58=17, Resulting Numbers: [2, 17]
Generated Node #0,3,4: 34:[2, 17] Operation: 75-58=17
Moving to Node #0,3,4
Current State: 34:[2, 17], Operations: ['88-86=2', '75-58=17']
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 |
hs_5
|
mult_heuristic
|
[
74,
29,
11,
3
] | 36 |
[
"74+3=77",
"77/11=7",
"29+7=36"
] |
Current State: 36:[74, 29, 11, 3], Operations: []
Exploring Operation: 74+3=77, Resulting Numbers: [29, 11, 77]
Generated Node #2: [29, 11, 77] from Operation: 74+3=77
Current State: 36:[29, 11, 77], Operations: ['74+3=77']
Exploring Operation: 77/11=7, Resulting Numbers: [29, 7]
Generated Node #3: [29, 7] from Operation: 77/11=7
Current State: 36:[29, 7], Operations: ['74+3=77', '77/11=7']
Exploring Operation: 29+7=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 |
Current State: 36:[74, 29, 11, 3], Operations: []
Exploring Operation: 74-29=45, Resulting Numbers: [11, 3, 45]
Generated Node #0,0: 36:[11, 3, 45] Operation: 74-29=45
Exploring Operation: 29+11=40, Resulting Numbers: [74, 3, 40]
Generated Node #0,1: 36:[74, 3, 40] Operation: 29+11=40
Exploring Operation: 74-11=63, Resulting Numbers: [29, 3, 63]
Generated Node #0,2: 36:[29, 3, 63] Operation: 74-11=63
Exploring Operation: 29-11=18, Resulting Numbers: [74, 3, 18]
Generated Node #0,3: 36:[74, 3, 18] Operation: 29-11=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[11, 3, 45], Operations: ['74-29=45']
Exploring Operation: 45-11=34, Resulting Numbers: [3, 34]
Generated Node #0,0,0: 36:[3, 34] Operation: 45-11=34
Exploring Operation: 45/3=15, Resulting Numbers: [11, 15]
Generated Node #0,0,1: 36:[11, 15] Operation: 45/3=15
Exploring Operation: 45-3=42, Resulting Numbers: [11, 42]
Generated Node #0,0,2: 36:[11, 42] Operation: 45-3=42
Exploring Operation: 11-3=8, Resulting Numbers: [45, 8]
Generated Node #0,0,3: 36:[45, 8] Operation: 11-3=8
Moving to Node #0,0,0
Current State: 36:[3, 34], Operations: ['74-29=45', '45-11=34']
Exploring Operation: 3+34=37, Resulting Numbers: [37]
37,36 unequal: No Solution
Exploring Operation: 3*34=102, Resulting Numbers: [102]
102,36 unequal: No Solution
Exploring Operation: 34-3=31, Resulting Numbers: [31]
31,36 unequal: No Solution
Moving to Node #0,0,1
Current State: 36:[11, 15], Operations: ['74-29=45', '45/3=15']
Exploring Operation: 15-11=4, Resulting Numbers: [4]
4,36 unequal: No Solution
Exploring Operation: 11+15=26, Resulting Numbers: [26]
26,36 unequal: No Solution
Exploring Operation: 11*15=165, Resulting Numbers: [165]
165,36 unequal: No Solution
Moving to Node #0,0,2
Current State: 36:[11, 42], Operations: ['74-29=45', '45-3=42']
Exploring Operation: 42-11=31, Resulting Numbers: [31]
31,36 unequal: No Solution
Exploring Operation: 11+42=53, Resulting Numbers: [53]
53,36 unequal: No Solution
Exploring Operation: 11*42=462, Resulting Numbers: [462]
462,36 unequal: No Solution
Moving to Node #0,0,3
Current State: 36:[45, 8], Operations: ['74-29=45', '11-3=8']
Exploring Operation: 45+8=53, Resulting Numbers: [53]
53,36 unequal: No Solution
Exploring Operation: 45-8=37, Resulting Numbers: [37]
37,36 unequal: No Solution
Exploring Operation: 45*8=360, Resulting Numbers: [360]
360,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 36:[29, 3, 63], Operations: ['74-11=63']
Exploring Operation: 63-3=60, Resulting Numbers: [29, 60]
Generated Node #0,2,0: 36:[29, 60] Operation: 63-3=60
Exploring Operation: 63-29=34, Resulting Numbers: [3, 34]
Generated Node #0,2,1: 36:[3, 34] Operation: 63-29=34
Exploring Operation: 29+3=32, Resulting Numbers: [63, 32]
Generated Node #0,2,2: 36:[63, 32] Operation: 29+3=32
Exploring Operation: 63/3=21, Resulting Numbers: [29, 21]
Generated Node #0,2,3: 36:[29, 21] Operation: 63/3=21
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 36:[3, 34], Operations: ['74-11=63', '63-29=34']
Exploring Operation: 3*34=102, Resulting Numbers: [102]
102,36 unequal: No Solution
Exploring Operation: 3+34=37, Resulting Numbers: [37]
37,36 unequal: No Solution
Exploring Operation: 34-3=31, Resulting Numbers: [31]
31,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 36:[29, 21], Operations: ['74-11=63', '63/3=21']
Exploring Operation: 29*21=609, Resulting Numbers: [609]
609,36 unequal: No Solution
Exploring Operation: 29-21=8, Resulting Numbers: [8]
8,36 unequal: No Solution
Exploring Operation: 29+21=50, Resulting Numbers: [50]
50,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 36:[29, 60], Operations: ['74-11=63', '63-3=60']
Exploring Operation: 29*60=1740, Resulting Numbers: [1740]
1740,36 unequal: No Solution
Exploring Operation: 29+60=89, Resulting Numbers: [89]
89,36 unequal: No Solution
Exploring Operation: 60-29=31, Resulting Numbers: [31]
31,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 36:[63, 32], Operations: ['74-11=63', '29+3=32']
Exploring Operation: 63+32=95, Resulting Numbers: [95]
95,36 unequal: No Solution
Exploring Operation: 63*32=2016, Resulting Numbers: [2016]
2016,36 unequal: No Solution
Exploring Operation: 63-32=31, Resulting Numbers: [31]
31,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 36:[74, 3, 18], Operations: ['29-11=18']
Exploring Operation: 74-18=56, Resulting Numbers: [3, 56]
Generated Node #0,3,0: 36:[3, 56] Operation: 74-18=56
Exploring Operation: 74+3=77, Resulting Numbers: [18, 77]
Generated Node #0,3,1: 36:[18, 77] Operation: 74+3=77
Exploring Operation: 74-3=71, Resulting Numbers: [18, 71]
Generated Node #0,3,2: 36:[18, 71] Operation: 74-3=71
Exploring Operation: 18/3=6, Resulting Numbers: [74, 6]
Generated Node #0,3,3: 36:[74, 6] Operation: 18/3=6
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 36:[3, 56], Operations: ['29-11=18', '74-18=56']
Exploring Operation: 56-3=53, Resulting Numbers: [53]
53,36 unequal: No Solution
Exploring Operation: 3+56=59, Resulting Numbers: [59]
59,36 unequal: No Solution
Exploring Operation: 3*56=168, Resulting Numbers: [168]
168,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 36:[18, 71], Operations: ['29-11=18', '74-3=71']
Exploring Operation: 18*71=1278, Resulting Numbers: [1278]
1278,36 unequal: No Solution
Exploring Operation: 18+71=89, Resulting Numbers: [89]
89,36 unequal: No Solution
Exploring Operation: 71-18=53, Resulting Numbers: [53]
53,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 36:[74, 6], Operations: ['29-11=18', '18/3=6']
Exploring Operation: 74-6=68, Resulting Numbers: [68]
68,36 unequal: No Solution
Exploring Operation: 74*6=444, Resulting Numbers: [444]
444,36 unequal: No Solution
Exploring Operation: 74+6=80, Resulting Numbers: [80]
80,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 36:[18, 77], Operations: ['29-11=18', '74+3=77']
Exploring Operation: 18+77=95, Resulting Numbers: [95]
95,36 unequal: No Solution
Exploring Operation: 18*77=1386, Resulting Numbers: [1386]
1386,36 unequal: No Solution
Exploring Operation: 77-18=59, Resulting Numbers: [59]
59,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 36:[74, 3, 40], Operations: ['29+11=40']
Exploring Operation: 74-3=71, Resulting Numbers: [40, 71]
Generated Node #0,1,0: 36:[40, 71] Operation: 74-3=71
Exploring Operation: 74+3=77, Resulting Numbers: [40, 77]
Generated Node #0,1,1: 36:[40, 77] Operation: 74+3=77
Exploring Operation: 40-3=37, Resulting Numbers: [74, 37]
Generated Node #0,1,2: 36:[74, 37] Operation: 40-3=37
Exploring Operation: 74-40=34, Resulting Numbers: [3, 34]
Generated Node #0,1,3: 36:[3, 34] Operation: 74-40=34
Moving to Node #0,1,3
Current State: 36:[3, 34], Operations: ['29+11=40', '74-40=34']
Exploring Operation: 3+34=37, Resulting Numbers: [37]
37,36 unequal: No Solution
Exploring Operation: 3*34=102, Resulting Numbers: [102]
102,36 unequal: No Solution
Exploring Operation: 34-3=31, Resulting Numbers: [31]
31,36 unequal: No Solution
Moving to Node #0,1,2
Current State: 36:[74, 37], Operations: ['29+11=40', '40-3=37']
Exploring Operation: 74-37=37, Resulting Numbers: [37]
37,36 unequal: No Solution
Exploring Operation: 74/37=2, Resulting Numbers: [2]
2,36 unequal: No Solution
Exploring Operation: 74*37=2738, Resulting Numbers: [2738]
2738,36 unequal: No Solution
Exploring Operation: 74+37=111, Resulting Numbers: [111]
111,36 unequal: No Solution
Moving to Node #0,1,0
Current State: 36:[40, 71], Operations: ['29+11=40', '74-3=71']
Exploring Operation: 40+71=111, Resulting Numbers: [111]
111,36 unequal: No Solution
Exploring Operation: 71-40=31, Resulting Numbers: [31]
31,36 unequal: No Solution
Exploring Operation: 40*71=2840, Resulting Numbers: [2840]
2840,36 unequal: No Solution
Moving to Node #0,1,1
Current State: 36:[40, 77], Operations: ['29+11=40', '74+3=77']
Exploring Operation: 40+77=117, Resulting Numbers: [117]
117,36 unequal: No Solution
Exploring Operation: 40*77=3080, Resulting Numbers: [3080]
3080,36 unequal: No Solution
Exploring Operation: 77-40=37, Resulting Numbers: [37]
37,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_4
|
sum_heuristic
|
[
3,
93,
45,
82
] | 26 |
[
"45/3=15",
"93-82=11",
"15+11=26"
] |
Current State: 26:[3, 93, 45, 82], Operations: []
Exploring Operation: 45/3=15, Resulting Numbers: [93, 82, 15]
Generated Node #2: [93, 82, 15] from Operation: 45/3=15
Current State: 26:[93, 82, 15], Operations: ['45/3=15']
Exploring Operation: 93-82=11, Resulting Numbers: [15, 11]
Generated Node #3: [15, 11] from Operation: 93-82=11
Current State: 26:[15, 11], Operations: ['45/3=15', '93-82=11']
Exploring Operation: 15+11=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 |
Current State: 26:[3, 93, 45, 82], Operations: []
Exploring Operation: 82-45=37, Resulting Numbers: [3, 93, 37]
Generated Node #0,0: 26:[3, 93, 37] Operation: 82-45=37
Exploring Operation: 93-45=48, Resulting Numbers: [3, 82, 48]
Generated Node #0,1: 26:[3, 82, 48] Operation: 93-45=48
Exploring Operation: 93-82=11, Resulting Numbers: [3, 45, 11]
Generated Node #0,2: 26:[3, 45, 11] Operation: 93-82=11
Moving to Node #0,2
Current State: 26:[3, 45, 11], Operations: ['93-82=11']
Exploring Operation: 45/3=15, Resulting Numbers: [11, 15]
Generated Node #0,2,0: 26:[11, 15] Operation: 45/3=15
Exploring Operation: 45-3=42, Resulting Numbers: [11, 42]
Generated Node #0,2,1: 26:[11, 42] Operation: 45-3=42
Exploring Operation: 45-11=34, Resulting Numbers: [3, 34]
Generated Node #0,2,2: 26:[3, 34] Operation: 45-11=34
Moving to Node #0,0
Current State: 26:[3, 93, 37], Operations: ['82-45=37']
Exploring Operation: 93/3=31, Resulting Numbers: [37, 31]
Generated Node #0,0,0: 26:[37, 31] Operation: 93/3=31
Exploring Operation: 93-3=90, Resulting Numbers: [37, 90]
Generated Node #0,0,1: 26:[37, 90] Operation: 93-3=90
Exploring Operation: 93-37=56, Resulting Numbers: [3, 56]
Generated Node #0,0,2: 26:[3, 56] Operation: 93-37=56
Moving to Node #0,1
Current State: 26:[3, 82, 48], Operations: ['93-45=48']
Exploring Operation: 82-48=34, Resulting Numbers: [3, 34]
Generated Node #0,1,0: 26:[3, 34] Operation: 82-48=34
Exploring Operation: 82-3=79, Resulting Numbers: [48, 79]
Generated Node #0,1,1: 26:[48, 79] Operation: 82-3=79
Exploring Operation: 48/3=16, Resulting Numbers: [82, 16]
Generated Node #0,1,2: 26:[82, 16] Operation: 48/3=16
Moving to Node #0,2,0
Current State: 26:[11, 15], Operations: ['93-82=11', '45/3=15']
Exploring Operation: 11*15=165, Resulting Numbers: [165]
165,26 unequal: No Solution
Exploring Operation: 15-11=4, Resulting Numbers: [4]
4,26 unequal: No Solution
Exploring Operation: 11+15=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[3, 93, 45, 82], Operations: []
Exploring Operation: 93-82=11, Resulting Numbers: [3, 45, 11]
Generated Node #0,2: 26:[3, 45, 11] Operation: 93-82=11
Moving to Node #0,2
Current State: 26:[3, 45, 11], Operations: ['93-82=11']
Exploring Operation: 45/3=15, Resulting Numbers: [11, 15]
Generated Node #0,2,0: 26:[11, 15] Operation: 45/3=15
Moving to Node #0,2,0
Current State: 26:[11, 15], Operations: ['93-82=11', '45/3=15']
Exploring Operation: 11+15=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 0.983507 |
hs_3
|
mult_heuristic
|
[
35,
19,
7,
25
] | 48 |
[
"35-19=16",
"7+25=32",
"16+32=48"
] |
Current State: 48:[35, 19, 7, 25], Operations: []
Exploring Operation: 35-19=16, Resulting Numbers: [7, 25, 16]
Generated Node #2: [7, 25, 16] from Operation: 35-19=16
Current State: 48:[7, 25, 16], Operations: ['35-19=16']
Exploring Operation: 7+25=32, Resulting Numbers: [16, 32]
Generated Node #3: [16, 32] from Operation: 7+25=32
Current State: 48:[16, 32], Operations: ['35-19=16', '7+25=32']
Exploring Operation: 16+32=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 |
Current State: 48:[35, 19, 7, 25], Operations: []
Exploring Operation: 35-19=16, Resulting Numbers: [7, 25, 16]
Generated Node #0,0: 48:[7, 25, 16] Operation: 35-19=16
Exploring Operation: 35/7=5, Resulting Numbers: [19, 25, 5]
Generated Node #0,1: 48:[19, 25, 5] Operation: 35/7=5
Moving to Node #0,0
Current State: 48:[7, 25, 16], Operations: ['35-19=16']
Exploring Operation: 25-7=18, Resulting Numbers: [16, 18]
Generated Node #0,0,0: 48:[16, 18] Operation: 25-7=18
Exploring Operation: 7+16=23, Resulting Numbers: [25, 23]
Generated Node #0,0,1: 48:[25, 23] Operation: 7+16=23
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 48:[16, 18], Operations: ['35-19=16', '25-7=18']
Exploring Operation: 16+18=34, Resulting Numbers: [34]
34,48 unequal: No Solution
Exploring Operation: 18-16=2, Resulting Numbers: [2]
2,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 48:[25, 23], Operations: ['35-19=16', '7+16=23']
Exploring Operation: 25+23=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[35, 19, 7, 25], Operations: []
Exploring Operation: 35-19=16, Resulting Numbers: [7, 25, 16]
Generated Node #0,0: 48:[7, 25, 16] Operation: 35-19=16
Moving to Node #0,0
Current State: 48:[7, 25, 16], Operations: ['35-19=16']
Exploring Operation: 7+16=23, Resulting Numbers: [25, 23]
Generated Node #0,0,1: 48:[25, 23] Operation: 7+16=23
Moving to Node #0,0,1
Current State: 48:[25, 23], Operations: ['35-19=16', '7+16=23']
Exploring Operation: 25+23=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 |
hs_2
|
sum_heuristic
|
[
3,
18,
47,
37
] | 69 |
[
"18-3=15",
"47+37=84",
"84-15=69"
] |
Current State: 69:[3, 18, 47, 37], Operations: []
Exploring Operation: 18-3=15, Resulting Numbers: [47, 37, 15]
Generated Node #2: [47, 37, 15] from Operation: 18-3=15
Current State: 69:[47, 37, 15], Operations: ['18-3=15']
Exploring Operation: 47+37=84, Resulting Numbers: [15, 84]
Generated Node #3: [15, 84] from Operation: 47+37=84
Current State: 69:[15, 84], Operations: ['18-3=15', '47+37=84']
Exploring Operation: 84-15=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 |
Current State: 69:[3, 18, 47, 37], Operations: []
Exploring Operation: 47-37=10, Resulting Numbers: [3, 18, 10]
Generated Node #0,0: 69:[3, 18, 10] Operation: 47-37=10
Exploring Operation: 18+47=65, Resulting Numbers: [3, 37, 65]
Generated Node #0,1: 69:[3, 37, 65] Operation: 18+47=65
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[3, 18, 10], Operations: ['47-37=10']
Exploring Operation: 18-10=8, Resulting Numbers: [3, 8]
Generated Node #0,0,0: 69:[3, 8] Operation: 18-10=8
Exploring Operation: 18+10=28, Resulting Numbers: [3, 28]
Generated Node #0,0,1: 69:[3, 28] Operation: 18+10=28
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 69:[3, 8], Operations: ['47-37=10', '18-10=8']
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,69 unequal: No Solution
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,69 unequal: No Solution
No 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: 69:[3, 28], Operations: ['47-37=10', '18+10=28']
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,69 unequal: No Solution
Exploring Operation: 3+28=31, Resulting Numbers: [31]
31,69 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: 69:[3, 37, 65], Operations: ['18+47=65']
Exploring Operation: 37-3=34, Resulting Numbers: [65, 34]
Generated Node #0,1,0: 69:[65, 34] Operation: 37-3=34
Exploring Operation: 65-37=28, Resulting Numbers: [3, 28]
Generated Node #0,1,1: 69:[3, 28] Operation: 65-37=28
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 69:[3, 28], Operations: ['18+47=65', '65-37=28']
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,69 unequal: No Solution
Exploring Operation: 3+28=31, Resulting Numbers: [31]
31,69 unequal: No Solution
No 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: 69:[65, 34], Operations: ['18+47=65', '37-3=34']
Exploring Operation: 65-34=31, Resulting Numbers: [31]
31,69 unequal: No Solution
Exploring Operation: 65+34=99, Resulting Numbers: [99]
99,69 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
|
[
30,
86,
4,
15
] | 44 |
[
"30+86=116",
"116/4=29",
"15+29=44"
] |
Current State: 44:[30, 86, 4, 15], Operations: []
Exploring Operation: 30+86=116, Resulting Numbers: [4, 15, 116]
Generated Node #2: [4, 15, 116] from Operation: 30+86=116
Current State: 44:[4, 15, 116], Operations: ['30+86=116']
Exploring Operation: 116/4=29, Resulting Numbers: [15, 29]
Generated Node #3: [15, 29] from Operation: 116/4=29
Current State: 44:[15, 29], Operations: ['30+86=116', '116/4=29']
Exploring Operation: 15+29=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 |
Current State: 44:[30, 86, 4, 15], Operations: []
Exploring Operation: 86-30=56, Resulting Numbers: [4, 15, 56]
Generated Node #0,0: 44:[4, 15, 56] Operation: 86-30=56
Moving to Node #0,0
Current State: 44:[4, 15, 56], Operations: ['86-30=56']
Exploring Operation: 56-15=41, Resulting Numbers: [4, 41]
Generated Node #0,0,0: 44:[4, 41] Operation: 56-15=41
Moving to Node #0,0,0
Current State: 44:[4, 41], Operations: ['86-30=56', '56-15=41']
Exploring Operation: 4+41=45, Resulting Numbers: [45]
45,44 unequal: No Solution
No solution found.
| 0 |
hs_1
|
mult_heuristic
|
[
73,
91,
49,
66
] | 84 |
[
"73-66=7",
"49/7=7",
"91-7=84"
] |
Current State: 84:[73, 91, 49, 66], Operations: []
Exploring Operation: 73-66=7, Resulting Numbers: [91, 49, 7]
Generated Node #2: [91, 49, 7] from Operation: 73-66=7
Current State: 84:[91, 49, 7], Operations: ['73-66=7']
Exploring Operation: 49/7=7, Resulting Numbers: [91, 7]
Generated Node #3: [91, 7] from Operation: 49/7=7
Current State: 84:[91, 7], Operations: ['73-66=7', '49/7=7']
Exploring Operation: 91-7=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 |
Current State: 84:[73, 91, 49, 66], Operations: []
Exploring Operation: 73-66=7, Resulting Numbers: [91, 49, 7]
Generated Node #0,0: 84:[91, 49, 7] Operation: 73-66=7
Exploring Operation: 91-66=25, Resulting Numbers: [73, 49, 25]
Generated Node #0,1: 84:[73, 49, 25] Operation: 91-66=25
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[91, 49, 7], Operations: ['73-66=7']
Exploring Operation: 91-49=42, Resulting Numbers: [7, 42]
Generated Node #0,0,0: 84:[7, 42] Operation: 91-49=42
Exploring Operation: 91-7=84, Resulting Numbers: [49, 84]
Generated Node #0,0,1: 84:[49, 84] Operation: 91-7=84
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 84:[7, 42], Operations: ['73-66=7', '91-49=42']
Exploring Operation: 7+42=49, Resulting Numbers: [49]
49,84 unequal: No Solution
Exploring Operation: 42/7=6, Resulting Numbers: [6]
6,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 84:[49, 84], Operations: ['73-66=7', '91-7=84']
Exploring Operation: 49+84=133, Resulting Numbers: [133]
133,84 unequal: No Solution
Exploring Operation: 84-49=35, Resulting Numbers: [35]
35,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 84:[73, 49, 25], Operations: ['91-66=25']
Exploring Operation: 73-25=48, Resulting Numbers: [49, 48]
Generated Node #0,1,0: 84:[49, 48] Operation: 73-25=48
Exploring Operation: 73-49=24, Resulting Numbers: [25, 24]
Generated Node #0,1,1: 84:[25, 24] Operation: 73-49=24
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 84:[25, 24], Operations: ['91-66=25', '73-49=24']
Exploring Operation: 25-24=1, Resulting Numbers: [1]
1,84 unequal: No Solution
Exploring Operation: 25+24=49, Resulting Numbers: [49]
49,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 84:[49, 48], Operations: ['91-66=25', '73-25=48']
Exploring Operation: 49-48=1, Resulting Numbers: [1]
1,84 unequal: No Solution
Exploring Operation: 49+48=97, Resulting Numbers: [97]
97,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_2
|
sum_heuristic
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.