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 |
|---|---|---|---|---|---|---|---|---|
[
84,
70,
96,
56
] | 16 | [
"70-56=14",
"84/14=6",
"96/6=16"
] | Current State: 16:[84, 70, 96, 56], Operations: []
Exploring Operation: 70-56=14, Resulting Numbers: [84, 96, 14]
Generated Node #2: [84, 96, 14] from Operation: 70-56=14
Current State: 16:[84, 96, 14], Operations: ['70-56=14']
Exploring Operation: 84/14=6, Resulting Numbers: [96, 6]
Generated Node #3: [96, 6] from Operation: 84/14=6
Current State: 16:[96, 6], Operations: ['70-56=14', '84/14=6']
Exploring Operation: 96/6=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[84, 70, 96, 56], Operations: []
Exploring Operation: 96-84=12, Resulting Numbers: [70, 56, 12]
Generated Node #0,0: 16:[70, 56, 12] Operation: 96-84=12
Exploring Operation: 96-70=26, Resulting Numbers: [84, 56, 26]
Generated Node #0,1: 16:[84, 56, 26] Operation: 96-70=26
Exploring Operation: 84-70=14, Resulting Numbers: [96, 56, 14]
Generated Node #0,2: 16:[96, 56, 14] Operation: 84-70=14
Exploring Operation: 84-56=28, Resulting Numbers: [70, 96, 28]
Generated Node #0,3: 16:[70, 96, 28] Operation: 84-56=28
Moving to Node #0,0
Current State: 16:[70, 56, 12], Operations: ['96-84=12']
Exploring Operation: 56-12=44, Resulting Numbers: [70, 44]
Generated Node #0,0,0: 16:[70, 44] Operation: 56-12=44
Exploring Operation: 70-56=14, Resulting Numbers: [12, 14]
Generated Node #0,0,1: 16:[12, 14] Operation: 70-56=14
Exploring Operation: 70+12=82, Resulting Numbers: [56, 82]
Generated Node #0,0,2: 16:[56, 82] Operation: 70+12=82
Exploring Operation: 70-12=58, Resulting Numbers: [56, 58]
Generated Node #0,0,3: 16:[56, 58] Operation: 70-12=58
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 16:[12, 14], Operations: ['96-84=12', '70-56=14']
Exploring Operation: 12+14=26, Resulting Numbers: [26]
26,16 unequal: No Solution
Exploring Operation: 14-12=2, Resulting Numbers: [2]
2,16 unequal: No Solution
Exploring Operation: 12*14=168, Resulting Numbers: [168]
168,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,0,0
Current State: 16:[70, 44], Operations: ['96-84=12', '56-12=44']
Exploring Operation: 70+44=114, Resulting Numbers: [114]
114,16 unequal: No Solution
Exploring Operation: 70*44=3080, Resulting Numbers: [3080]
3080,16 unequal: No Solution
Exploring Operation: 70-44=26, Resulting Numbers: [26]
26,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,0,3
Current State: 16:[56, 58], Operations: ['96-84=12', '70-12=58']
Exploring Operation: 58-56=2, Resulting Numbers: [2]
2,16 unequal: No Solution
Exploring Operation: 56+58=114, Resulting Numbers: [114]
114,16 unequal: No Solution
Exploring Operation: 56*58=3248, Resulting Numbers: [3248]
3248,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,0,2
Current State: 16:[56, 82], Operations: ['96-84=12', '70+12=82']
Exploring Operation: 82-56=26, Resulting Numbers: [26]
26,16 unequal: No Solution
Exploring Operation: 56+82=138, Resulting Numbers: [138]
138,16 unequal: No Solution
Exploring Operation: 56*82=4592, Resulting Numbers: [4592]
4592,16 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: 16:[84, 56, 26], Operations: ['96-70=26']
Exploring Operation: 56-26=30, Resulting Numbers: [84, 30]
Generated Node #0,1,0: 16:[84, 30] Operation: 56-26=30
Exploring Operation: 84-56=28, Resulting Numbers: [26, 28]
Generated Node #0,1,1: 16:[26, 28] Operation: 84-56=28
Exploring Operation: 84-26=58, Resulting Numbers: [56, 58]
Generated Node #0,1,2: 16:[56, 58] Operation: 84-26=58
Exploring Operation: 84+56=140, Resulting Numbers: [26, 140]
Generated Node #0,1,3: 16:[26, 140] Operation: 84+56=140
Moving to Node #0,2
Current State: 16:[96, 56, 14], Operations: ['84-70=14']
Exploring Operation: 56/14=4, Resulting Numbers: [96, 4]
Generated Node #0,2,0: 16:[96, 4] Operation: 56/14=4
Exploring Operation: 96-14=82, Resulting Numbers: [56, 82]
Generated Node #0,2,1: 16:[56, 82] Operation: 96-14=82
Exploring Operation: 56-14=42, Resulting Numbers: [96, 42]
Generated Node #0,2,2: 16:[96, 42] Operation: 56-14=42
Exploring Operation: 96-56=40, Resulting Numbers: [14, 40]
Generated Node #0,2,3: 16:[14, 40] Operation: 96-56=40
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 16:[14, 40], Operations: ['84-70=14', '96-56=40']
Exploring Operation: 14*40=560, Resulting Numbers: [560]
560,16 unequal: No Solution
Exploring Operation: 40-14=26, Resulting Numbers: [26]
26,16 unequal: No Solution
Exploring Operation: 14+40=54, Resulting Numbers: [54]
54,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,0
Current State: 16:[96, 4], Operations: ['84-70=14', '56/14=4']
Exploring Operation: 96/4=24, Resulting Numbers: [24]
24,16 unequal: No Solution
Exploring Operation: 96-4=92, Resulting Numbers: [92]
92,16 unequal: No Solution
Exploring Operation: 96*4=384, Resulting Numbers: [384]
384,16 unequal: No Solution
Exploring Operation: 96+4=100, Resulting Numbers: [100]
100,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,1
Current State: 16:[56, 82], Operations: ['84-70=14', '96-14=82']
Exploring Operation: 56+82=138, Resulting Numbers: [138]
138,16 unequal: No Solution
Exploring Operation: 82-56=26, Resulting Numbers: [26]
26,16 unequal: No Solution
Exploring Operation: 56*82=4592, Resulting Numbers: [4592]
4592,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,2
Current State: 16:[96, 42], Operations: ['84-70=14', '56-14=42']
Exploring Operation: 96*42=4032, Resulting Numbers: [4032]
4032,16 unequal: No Solution
Exploring Operation: 96+42=138, Resulting Numbers: [138]
138,16 unequal: No Solution
Exploring Operation: 96-42=54, Resulting Numbers: [54]
54,16 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: 16:[70, 96, 28], Operations: ['84-56=28']
Exploring Operation: 70-28=42, Resulting Numbers: [96, 42]
Generated Node #0,3,0: 16:[96, 42] Operation: 70-28=42
Exploring Operation: 96-70=26, Resulting Numbers: [28, 26]
Generated Node #0,3,1: 16:[28, 26] Operation: 96-70=26
Exploring Operation: 70+96=166, Resulting Numbers: [28, 166]
Generated Node #0,3,2: 16:[28, 166] Operation: 70+96=166
Exploring Operation: 96-28=68, Resulting Numbers: [70, 68]
Generated Node #0,3,3: 16:[70, 68] Operation: 96-28=68
Moving to Node #0,1,1
Current State: 16:[26, 28], Operations: ['96-70=26', '84-56=28']
Exploring Operation: 26+28=54, Resulting Numbers: [54]
54,16 unequal: No Solution
Exploring Operation: 28-26=2, Resulting Numbers: [2]
2,16 unequal: No Solution
Exploring Operation: 26*28=728, Resulting Numbers: [728]
728,16 unequal: No Solution
Moving to Node #0,3,1
Current State: 16:[28, 26], Operations: ['84-56=28', '96-70=26']
Exploring Operation: 28+26=54, Resulting Numbers: [54]
54,16 unequal: No Solution
Exploring Operation: 28*26=728, Resulting Numbers: [728]
728,16 unequal: No Solution
Exploring Operation: 28-26=2, Resulting Numbers: [2]
2,16 unequal: No Solution
Moving to Node #0,1,2
Current State: 16:[56, 58], Operations: ['96-70=26', '84-26=58']
Exploring Operation: 56*58=3248, Resulting Numbers: [3248]
3248,16 unequal: No Solution
Exploring Operation: 58-56=2, Resulting Numbers: [2]
2,16 unequal: No Solution
Exploring Operation: 56+58=114, Resulting Numbers: [114]
114,16 unequal: No Solution
Moving to Node #0,1,0
Current State: 16:[84, 30], Operations: ['96-70=26', '56-26=30']
Exploring Operation: 84-30=54, Resulting Numbers: [54]
54,16 unequal: No Solution
Exploring Operation: 84+30=114, Resulting Numbers: [114]
114,16 unequal: No Solution
Exploring Operation: 84*30=2520, Resulting Numbers: [2520]
2520,16 unequal: No Solution
Moving to Node #0,3,0
Current State: 16:[96, 42], Operations: ['84-56=28', '70-28=42']
Exploring Operation: 96-42=54, Resulting Numbers: [54]
54,16 unequal: No Solution
Exploring Operation: 96+42=138, Resulting Numbers: [138]
138,16 unequal: No Solution
Exploring Operation: 96*42=4032, Resulting Numbers: [4032]
4032,16 unequal: No Solution
Moving to Node #0,3,3
Current State: 16:[70, 68], Operations: ['84-56=28', '96-28=68']
Exploring Operation: 70*68=4760, Resulting Numbers: [4760]
4760,16 unequal: No Solution
Exploring Operation: 70-68=2, Resulting Numbers: [2]
2,16 unequal: No Solution
Exploring Operation: 70+68=138, Resulting Numbers: [138]
138,16 unequal: No Solution
Moving to Node #0,1,3
Current State: 16:[26, 140], Operations: ['96-70=26', '84+56=140']
Exploring Operation: 26+140=166, Resulting Numbers: [166]
166,16 unequal: No Solution
Exploring Operation: 26*140=3640, Resulting Numbers: [3640]
3640,16 unequal: No Solution
Exploring Operation: 140-26=114, Resulting Numbers: [114]
114,16 unequal: No Solution
Moving to Node #0,3,2
Current State: 16:[28, 166], Operations: ['84-56=28', '70+96=166']
Exploring Operation: 28+166=194, Resulting Numbers: [194]
194,16 unequal: No Solution
Exploring Operation: 166-28=138, Resulting Numbers: [138]
138,16 unequal: No Solution
Exploring Operation: 28*166=4648, Resulting Numbers: [4648]
4648,16 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
67,
28,
65,
61
] | 60 | [
"65-61=4",
"28/4=7",
"67-7=60"
] | Current State: 60:[67, 28, 65, 61], Operations: []
Exploring Operation: 65-61=4, Resulting Numbers: [67, 28, 4]
Generated Node #2: [67, 28, 4] from Operation: 65-61=4
Current State: 60:[67, 28, 4], Operations: ['65-61=4']
Exploring Operation: 28/4=7, Resulting Numbers: [67, 7]
Generated Node #3: [67, 7] from Operation: 28/4=7
Current State: 60:[67, 7], Operations: ['65-61=4', '28/4=7']
Exploring Operation: 67-7=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[67, 28, 65, 61], Operations: []
Exploring Operation: 67-65=2, Resulting Numbers: [28, 61, 2]
Generated Node #0,0: 60:[28, 61, 2] Operation: 67-65=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[28, 61, 2], Operations: ['67-65=2']
Exploring Operation: 28+2=30, Resulting Numbers: [61, 30]
Generated Node #0,0,0: 60:[61, 30] Operation: 28+2=30
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 60:[61, 30], Operations: ['67-65=2', '28+2=30']
Exploring Operation: 61-30=31, Resulting Numbers: [31]
31,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
65,
55,
44,
39
] | 68 | [
"44-39=5",
"65/5=13",
"55+13=68"
] | Current State: 68:[65, 55, 44, 39], Operations: []
Exploring Operation: 44-39=5, Resulting Numbers: [65, 55, 5]
Generated Node #2: [65, 55, 5] from Operation: 44-39=5
Current State: 68:[65, 55, 5], Operations: ['44-39=5']
Exploring Operation: 65/5=13, Resulting Numbers: [55, 13]
Generated Node #3: [55, 13] from Operation: 65/5=13
Current State: 68:[55, 13], Operations: ['44-39=5', '65/5=13']
Exploring Operation: 55+13=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[65, 55, 44, 39], Operations: []
Exploring Operation: 55-44=11, Resulting Numbers: [65, 39, 11]
Generated Node #0,0: 68:[65, 39, 11] Operation: 55-44=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[65, 39, 11], Operations: ['55-44=11']
Exploring Operation: 39-11=28, Resulting Numbers: [65, 28]
Generated Node #0,0,0: 68:[65, 28] Operation: 39-11=28
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 68:[65, 28], Operations: ['55-44=11', '39-11=28']
Exploring Operation: 65-28=37, Resulting Numbers: [37]
37,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 | sum_heuristic |
[
86,
99,
84,
70
] | 64 | [
"86-84=2",
"70/2=35",
"99-35=64"
] | Current State: 64:[86, 99, 84, 70], Operations: []
Exploring Operation: 86-84=2, Resulting Numbers: [99, 70, 2]
Generated Node #2: [99, 70, 2] from Operation: 86-84=2
Current State: 64:[99, 70, 2], Operations: ['86-84=2']
Exploring Operation: 70/2=35, Resulting Numbers: [99, 35]
Generated Node #3: [99, 35] from Operation: 70/2=35
Current State: 64:[99, 35], Operations: ['86-84=2', '70/2=35']
Exploring Operation: 99-35=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[86, 99, 84, 70], Operations: []
Exploring Operation: 99-84=15, Resulting Numbers: [86, 70, 15]
Generated Node #0,0: 64:[86, 70, 15] Operation: 99-84=15
Exploring Operation: 99-86=13, Resulting Numbers: [84, 70, 13]
Generated Node #0,1: 64:[84, 70, 13] Operation: 99-86=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[86, 70, 15], Operations: ['99-84=15']
Exploring Operation: 86-70=16, Resulting Numbers: [15, 16]
Generated Node #0,0,0: 64:[15, 16] Operation: 86-70=16
Exploring Operation: 86-15=71, Resulting Numbers: [70, 71]
Generated Node #0,0,1: 64:[70, 71] Operation: 86-15=71
Moving to Node #0,0,0
Current State: 64:[15, 16], Operations: ['99-84=15', '86-70=16']
Exploring Operation: 16-15=1, Resulting Numbers: [1]
1,64 unequal: No Solution
Exploring Operation: 15+16=31, Resulting Numbers: [31]
31,64 unequal: No Solution
Moving to Node #0,0,1
Current State: 64:[70, 71], Operations: ['99-84=15', '86-15=71']
Exploring Operation: 70+71=141, Resulting Numbers: [141]
141,64 unequal: No Solution
Exploring Operation: 71-70=1, Resulting Numbers: [1]
1,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 64:[84, 70, 13], Operations: ['99-86=13']
Exploring Operation: 84-13=71, Resulting Numbers: [70, 71]
Generated Node #0,1,0: 64:[70, 71] Operation: 84-13=71
Exploring Operation: 84-70=14, Resulting Numbers: [13, 14]
Generated Node #0,1,1: 64:[13, 14] Operation: 84-70=14
Moving to Node #0,1,1
Current State: 64:[13, 14], Operations: ['99-86=13', '84-70=14']
Exploring Operation: 14-13=1, Resulting Numbers: [1]
1,64 unequal: No Solution
Exploring Operation: 13+14=27, Resulting Numbers: [27]
27,64 unequal: No Solution
Moving to Node #0,1,0
Current State: 64:[70, 71], Operations: ['99-86=13', '84-13=71']
Exploring Operation: 70+71=141, Resulting Numbers: [141]
141,64 unequal: No Solution
Exploring Operation: 71-70=1, Resulting Numbers: [1]
1,64 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 |
[
8,
47,
4,
76
] | 64 | [
"76-8=68",
"68/4=17",
"47+17=64"
] | Current State: 64:[8, 47, 4, 76], Operations: []
Exploring Operation: 76-8=68, Resulting Numbers: [47, 4, 68]
Generated Node #2: [47, 4, 68] from Operation: 76-8=68
Current State: 64:[47, 4, 68], Operations: ['76-8=68']
Exploring Operation: 68/4=17, Resulting Numbers: [47, 17]
Generated Node #3: [47, 17] from Operation: 68/4=17
Current State: 64:[47, 17], Operations: ['76-8=68', '68/4=17']
Exploring Operation: 47+17=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[8, 47, 4, 76], Operations: []
Exploring Operation: 76-47=29, Resulting Numbers: [8, 4, 29]
Generated Node #0,0: 64:[8, 4, 29] Operation: 76-47=29
Exploring Operation: 8+47=55, Resulting Numbers: [4, 76, 55]
Generated Node #0,1: 64:[4, 76, 55] Operation: 8+47=55
Exploring Operation: 76-8=68, Resulting Numbers: [47, 4, 68]
Generated Node #0,2: 64:[47, 4, 68] Operation: 76-8=68
Exploring Operation: 76/4=19, Resulting Numbers: [8, 47, 19]
Generated Node #0,3: 64:[8, 47, 19] Operation: 76/4=19
Exploring Operation: 47-8=39, Resulting Numbers: [4, 76, 39]
Generated Node #0,4: 64:[4, 76, 39] Operation: 47-8=39
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[8, 4, 29], Operations: ['76-47=29']
Exploring Operation: 8-4=4, Resulting Numbers: [29, 4]
Generated Node #0,0,0: 64:[29, 4] Operation: 8-4=4
Exploring Operation: 4+29=33, Resulting Numbers: [8, 33]
Generated Node #0,0,1: 64:[8, 33] Operation: 4+29=33
Exploring Operation: 8/4=2, Resulting Numbers: [29, 2]
Generated Node #0,0,2: 64:[29, 2] Operation: 8/4=2
Exploring Operation: 8+29=37, Resulting Numbers: [4, 37]
Generated Node #0,0,3: 64:[4, 37] Operation: 8+29=37
Exploring Operation: 8*4=32, Resulting Numbers: [29, 32]
Generated Node #0,0,4: 64:[29, 32] Operation: 8*4=32
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 64:[8, 33], Operations: ['76-47=29', '4+29=33']
Exploring Operation: 33-8=25, Resulting Numbers: [25]
25,64 unequal: No Solution
Exploring Operation: 8+33=41, Resulting Numbers: [41]
41,64 unequal: No Solution
Exploring Operation: 8*33=264, Resulting Numbers: [264]
264,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 64:[29, 4], Operations: ['76-47=29', '8-4=4']
Exploring Operation: 29*4=116, Resulting Numbers: [116]
116,64 unequal: No Solution
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,64 unequal: No Solution
Exploring Operation: 29+4=33, Resulting Numbers: [33]
33,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 64:[29, 2], Operations: ['76-47=29', '8/4=2']
Exploring Operation: 29+2=31, Resulting Numbers: [31]
31,64 unequal: No Solution
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,64 unequal: No Solution
Exploring Operation: 29*2=58, Resulting Numbers: [58]
58,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 64:[29, 32], Operations: ['76-47=29', '8*4=32']
Exploring Operation: 29+32=61, Resulting Numbers: [61]
61,64 unequal: No Solution
Exploring Operation: 29*32=928, Resulting Numbers: [928]
928,64 unequal: No Solution
Exploring Operation: 32-29=3, Resulting Numbers: [3]
3,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 64:[4, 37], Operations: ['76-47=29', '8+29=37']
Exploring Operation: 37-4=33, Resulting Numbers: [33]
33,64 unequal: No Solution
Exploring Operation: 4*37=148, Resulting Numbers: [148]
148,64 unequal: No Solution
Exploring Operation: 4+37=41, Resulting Numbers: [41]
41,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 64:[8, 47, 19], Operations: ['76/4=19']
Exploring Operation: 47-19=28, Resulting Numbers: [8, 28]
Generated Node #0,3,0: 64:[8, 28] Operation: 47-19=28
Exploring Operation: 8+47=55, Resulting Numbers: [19, 55]
Generated Node #0,3,1: 64:[19, 55] Operation: 8+47=55
Exploring Operation: 19-8=11, Resulting Numbers: [47, 11]
Generated Node #0,3,2: 64:[47, 11] Operation: 19-8=11
Exploring Operation: 47+19=66, Resulting Numbers: [8, 66]
Generated Node #0,3,3: 64:[8, 66] Operation: 47+19=66
Exploring Operation: 47-8=39, Resulting Numbers: [19, 39]
Generated Node #0,3,4: 64:[19, 39] Operation: 47-8=39
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 64:[8, 66], Operations: ['76/4=19', '47+19=66']
Exploring Operation: 8*66=528, Resulting Numbers: [528]
528,64 unequal: No Solution
Exploring Operation: 66-8=58, Resulting Numbers: [58]
58,64 unequal: No Solution
Exploring Operation: 8+66=74, Resulting Numbers: [74]
74,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 64:[8, 28], Operations: ['76/4=19', '47-19=28']
Exploring Operation: 8+28=36, Resulting Numbers: [36]
36,64 unequal: No Solution
Exploring Operation: 8*28=224, Resulting Numbers: [224]
224,64 unequal: No Solution
Exploring Operation: 28-8=20, Resulting Numbers: [20]
20,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 64:[19, 39], Operations: ['76/4=19', '47-8=39']
Exploring Operation: 39-19=20, Resulting Numbers: [20]
20,64 unequal: No Solution
Exploring Operation: 19+39=58, Resulting Numbers: [58]
58,64 unequal: No Solution
Exploring Operation: 19*39=741, Resulting Numbers: [741]
741,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 64:[19, 55], Operations: ['76/4=19', '8+47=55']
Exploring Operation: 19*55=1045, Resulting Numbers: [1045]
1045,64 unequal: No Solution
Exploring Operation: 55-19=36, Resulting Numbers: [36]
36,64 unequal: No Solution
Exploring Operation: 19+55=74, Resulting Numbers: [74]
74,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 64:[47, 11], Operations: ['76/4=19', '19-8=11']
Exploring Operation: 47-11=36, Resulting Numbers: [36]
36,64 unequal: No Solution
Exploring Operation: 47*11=517, Resulting Numbers: [517]
517,64 unequal: No Solution
Exploring Operation: 47+11=58, Resulting Numbers: [58]
58,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 64:[47, 4, 68], Operations: ['76-8=68']
Exploring Operation: 68-4=64, Resulting Numbers: [47, 64]
Generated Node #0,2,0: 64:[47, 64] Operation: 68-4=64
Exploring Operation: 47-4=43, Resulting Numbers: [68, 43]
Generated Node #0,2,1: 64:[68, 43] Operation: 47-4=43
Exploring Operation: 68-47=21, Resulting Numbers: [4, 21]
Generated Node #0,2,2: 64:[4, 21] Operation: 68-47=21
Exploring Operation: 47+4=51, Resulting Numbers: [68, 51]
Generated Node #0,2,3: 64:[68, 51] Operation: 47+4=51
Exploring Operation: 68/4=17, Resulting Numbers: [47, 17]
Generated Node #0,2,4: 64:[47, 17] Operation: 68/4=17
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 64:[4, 21], Operations: ['76-8=68', '68-47=21']
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,64 unequal: No Solution
Exploring Operation: 4+21=25, Resulting Numbers: [25]
25,64 unequal: No Solution
Exploring Operation: 4*21=84, Resulting Numbers: [84]
84,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 64:[47, 64], Operations: ['76-8=68', '68-4=64']
Exploring Operation: 47*64=3008, Resulting Numbers: [3008]
3008,64 unequal: No Solution
Exploring Operation: 64-47=17, Resulting Numbers: [17]
17,64 unequal: No Solution
Exploring Operation: 47+64=111, Resulting Numbers: [111]
111,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 64:[68, 43], Operations: ['76-8=68', '47-4=43']
Exploring Operation: 68-43=25, Resulting Numbers: [25]
25,64 unequal: No Solution
Exploring Operation: 68+43=111, Resulting Numbers: [111]
111,64 unequal: No Solution
Exploring Operation: 68*43=2924, Resulting Numbers: [2924]
2924,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 64:[47, 17], Operations: ['76-8=68', '68/4=17']
Exploring Operation: 47+17=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[8, 47, 4, 76], Operations: []
Exploring Operation: 76-8=68, Resulting Numbers: [47, 4, 68]
Generated Node #0,2: 64:[47, 4, 68] Operation: 76-8=68
Moving to Node #0,2
Current State: 64:[47, 4, 68], Operations: ['76-8=68']
Exploring Operation: 68/4=17, Resulting Numbers: [47, 17]
Generated Node #0,2,4: 64:[47, 17] Operation: 68/4=17
Moving to Node #0,2,4
Current State: 64:[47, 17], Operations: ['76-8=68', '68/4=17']
Exploring Operation: 47+17=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.944444 | hs_5 | sum_heuristic |
[
14,
28,
83,
63
] | 18 | [
"28/14=2",
"83-63=20",
"20-2=18"
] | Current State: 18:[14, 28, 83, 63], Operations: []
Exploring Operation: 28/14=2, Resulting Numbers: [83, 63, 2]
Generated Node #2: [83, 63, 2] from Operation: 28/14=2
Current State: 18:[83, 63, 2], Operations: ['28/14=2']
Exploring Operation: 83-63=20, Resulting Numbers: [2, 20]
Generated Node #3: [2, 20] from Operation: 83-63=20
Current State: 18:[2, 20], Operations: ['28/14=2', '83-63=20']
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[14, 28, 83, 63], Operations: []
Exploring Operation: 63-28=35, Resulting Numbers: [14, 83, 35]
Generated Node #0,0: 18:[14, 83, 35] Operation: 63-28=35
Exploring Operation: 83-63=20, Resulting Numbers: [14, 28, 20]
Generated Node #0,1: 18:[14, 28, 20] Operation: 83-63=20
Exploring Operation: 83-28=55, Resulting Numbers: [14, 63, 55]
Generated Node #0,2: 18:[14, 63, 55] Operation: 83-28=55
Exploring Operation: 63-14=49, Resulting Numbers: [28, 83, 49]
Generated Node #0,3: 18:[28, 83, 49] Operation: 63-14=49
Exploring Operation: 83-14=69, Resulting Numbers: [28, 63, 69]
Generated Node #0,4: 18:[28, 63, 69] Operation: 83-14=69
Moving to Node #0,1
Current State: 18:[14, 28, 20], Operations: ['83-63=20']
Exploring Operation: 28-14=14, Resulting Numbers: [20, 14]
Generated Node #0,1,0: 18:[20, 14] Operation: 28-14=14
Exploring Operation: 28/14=2, Resulting Numbers: [20, 2]
Generated Node #0,1,1: 18:[20, 2] Operation: 28/14=2
Exploring Operation: 14+28=42, Resulting Numbers: [20, 42]
Generated Node #0,1,2: 18:[20, 42] Operation: 14+28=42
Exploring Operation: 28-20=8, Resulting Numbers: [14, 8]
Generated Node #0,1,3: 18:[14, 8] Operation: 28-20=8
Exploring Operation: 20-14=6, Resulting Numbers: [28, 6]
Generated Node #0,1,4: 18:[28, 6] Operation: 20-14=6
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 18:[20, 2], Operations: ['83-63=20', '28/14=2']
Exploring Operation: 20+2=22, Resulting Numbers: [22]
22,18 unequal: No Solution
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[14, 28, 83, 63], Operations: []
Exploring Operation: 83-63=20, Resulting Numbers: [14, 28, 20]
Generated Node #0,1: 18:[14, 28, 20] Operation: 83-63=20
Moving to Node #0,1
Current State: 18:[14, 28, 20], Operations: ['83-63=20']
Exploring Operation: 28/14=2, Resulting Numbers: [20, 2]
Generated Node #0,1,1: 18:[20, 2] Operation: 28/14=2
Moving to Node #0,1,1
Current State: 18:[20, 2], Operations: ['83-63=20', '28/14=2']
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
52,
16,
4,
58
] | 18 | [
"52-16=36",
"58-4=54",
"54-36=18"
] | Current State: 18:[52, 16, 4, 58], Operations: []
Exploring Operation: 52-16=36, Resulting Numbers: [4, 58, 36]
Generated Node #2: [4, 58, 36] from Operation: 52-16=36
Current State: 18:[4, 58, 36], Operations: ['52-16=36']
Exploring Operation: 58-4=54, Resulting Numbers: [36, 54]
Generated Node #3: [36, 54] from Operation: 58-4=54
Current State: 18:[36, 54], Operations: ['52-16=36', '58-4=54']
Exploring Operation: 54-36=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[52, 16, 4, 58], Operations: []
Exploring Operation: 58-52=6, Resulting Numbers: [16, 4, 6]
Generated Node #0,0: 18:[16, 4, 6] Operation: 58-52=6
Exploring Operation: 52-4=48, Resulting Numbers: [16, 58, 48]
Generated Node #0,1: 18:[16, 58, 48] Operation: 52-4=48
Exploring Operation: 58-16=42, Resulting Numbers: [52, 4, 42]
Generated Node #0,2: 18:[52, 4, 42] Operation: 58-16=42
Exploring Operation: 52/4=13, Resulting Numbers: [16, 58, 13]
Generated Node #0,3: 18:[16, 58, 13] Operation: 52/4=13
Exploring Operation: 52-16=36, Resulting Numbers: [4, 58, 36]
Generated Node #0,4: 18:[4, 58, 36] Operation: 52-16=36
Moving to Node #0,0
Current State: 18:[16, 4, 6], Operations: ['58-52=6']
Exploring Operation: 16+4=20, Resulting Numbers: [6, 20]
Generated Node #0,0,0: 18:[6, 20] Operation: 16+4=20
Exploring Operation: 16/4=4, Resulting Numbers: [6, 4]
Generated Node #0,0,1: 18:[6, 4] Operation: 16/4=4
Exploring Operation: 16-4=12, Resulting Numbers: [6, 12]
Generated Node #0,0,2: 18:[6, 12] Operation: 16-4=12
Exploring Operation: 6-4=2, Resulting Numbers: [16, 2]
Generated Node #0,0,3: 18:[16, 2] Operation: 6-4=2
Exploring Operation: 16-6=10, Resulting Numbers: [4, 10]
Generated Node #0,0,4: 18:[4, 10] Operation: 16-6=10
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 18:[6, 4], Operations: ['58-52=6', '16/4=4']
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,18 unequal: No Solution
Exploring Operation: 6*4=24, Resulting Numbers: [24]
24,18 unequal: No Solution
Exploring Operation: 6+4=10, Resulting Numbers: [10]
10,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 18:[6, 20], Operations: ['58-52=6', '16+4=20']
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,18 unequal: No Solution
Exploring Operation: 6*20=120, Resulting Numbers: [120]
120,18 unequal: No Solution
Exploring Operation: 6+20=26, Resulting Numbers: [26]
26,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,3
Current State: 18:[16, 2], Operations: ['58-52=6', '6-4=2']
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,18 unequal: No Solution
Exploring Operation: 16+2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[52, 16, 4, 58], Operations: []
Exploring Operation: 58-52=6, Resulting Numbers: [16, 4, 6]
Generated Node #0,0: 18:[16, 4, 6] Operation: 58-52=6
Moving to Node #0,0
Current State: 18:[16, 4, 6], Operations: ['58-52=6']
Exploring Operation: 6-4=2, Resulting Numbers: [16, 2]
Generated Node #0,0,3: 18:[16, 2] Operation: 6-4=2
Moving to Node #0,0,3
Current State: 18:[16, 2], Operations: ['58-52=6', '6-4=2']
Exploring Operation: 16+2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_5 | sum_heuristic |
[
30,
10,
72,
98
] | 66 | [
"30+10=40",
"98-72=26",
"40+26=66"
] | Current State: 66:[30, 10, 72, 98], Operations: []
Exploring Operation: 30+10=40, Resulting Numbers: [72, 98, 40]
Generated Node #2: [72, 98, 40] from Operation: 30+10=40
Current State: 66:[72, 98, 40], Operations: ['30+10=40']
Exploring Operation: 98-72=26, Resulting Numbers: [40, 26]
Generated Node #3: [40, 26] from Operation: 98-72=26
Current State: 66:[40, 26], Operations: ['30+10=40', '98-72=26']
Exploring Operation: 40+26=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[30, 10, 72, 98], Operations: []
Exploring Operation: 98-72=26, Resulting Numbers: [30, 10, 26]
Generated Node #0,0: 66:[30, 10, 26] Operation: 98-72=26
Exploring Operation: 98-30=68, Resulting Numbers: [10, 72, 68]
Generated Node #0,1: 66:[10, 72, 68] Operation: 98-30=68
Exploring Operation: 98-10=88, Resulting Numbers: [30, 72, 88]
Generated Node #0,2: 66:[30, 72, 88] Operation: 98-10=88
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[30, 10, 26], Operations: ['98-72=26']
Exploring Operation: 30-10=20, Resulting Numbers: [26, 20]
Generated Node #0,0,0: 66:[26, 20] Operation: 30-10=20
Exploring Operation: 30-26=4, Resulting Numbers: [10, 4]
Generated Node #0,0,1: 66:[10, 4] Operation: 30-26=4
Exploring Operation: 30/10=3, Resulting Numbers: [26, 3]
Generated Node #0,0,2: 66:[26, 3] Operation: 30/10=3
Moving to Node #0,0,1
Current State: 66:[10, 4], Operations: ['98-72=26', '30-26=4']
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,66 unequal: No Solution
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,66 unequal: No Solution
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,66 unequal: No Solution
Moving to Node #0,0,2
Current State: 66:[26, 3], Operations: ['98-72=26', '30/10=3']
Exploring Operation: 26+3=29, Resulting Numbers: [29]
29,66 unequal: No Solution
Exploring Operation: 26-3=23, Resulting Numbers: [23]
23,66 unequal: No Solution
Exploring Operation: 26*3=78, Resulting Numbers: [78]
78,66 unequal: No Solution
Moving to Node #0,0,0
Current State: 66:[26, 20], Operations: ['98-72=26', '30-10=20']
Exploring Operation: 26+20=46, Resulting Numbers: [46]
46,66 unequal: No Solution
Exploring Operation: 26*20=520, Resulting Numbers: [520]
520,66 unequal: No Solution
Exploring Operation: 26-20=6, Resulting Numbers: [6]
6,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 66:[10, 72, 68], Operations: ['98-30=68']
Exploring Operation: 72-68=4, Resulting Numbers: [10, 4]
Generated Node #0,1,0: 66:[10, 4] Operation: 72-68=4
Exploring Operation: 68-10=58, Resulting Numbers: [72, 58]
Generated Node #0,1,1: 66:[72, 58] Operation: 68-10=58
Exploring Operation: 72-10=62, Resulting Numbers: [68, 62]
Generated Node #0,1,2: 66:[68, 62] Operation: 72-10=62
Moving to Node #0,1,0
Current State: 66:[10, 4], Operations: ['98-30=68', '72-68=4']
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,66 unequal: No Solution
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,66 unequal: No Solution
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,66 unequal: No Solution
Moving to Node #0,1,2
Current State: 66:[68, 62], Operations: ['98-30=68', '72-10=62']
Exploring Operation: 68+62=130, Resulting Numbers: [130]
130,66 unequal: No Solution
Exploring Operation: 68-62=6, Resulting Numbers: [6]
6,66 unequal: No Solution
Exploring Operation: 68*62=4216, Resulting Numbers: [4216]
4216,66 unequal: No Solution
Moving to Node #0,1,1
Current State: 66:[72, 58], Operations: ['98-30=68', '68-10=58']
Exploring Operation: 72*58=4176, Resulting Numbers: [4176]
4176,66 unequal: No Solution
Exploring Operation: 72+58=130, Resulting Numbers: [130]
130,66 unequal: No Solution
Exploring Operation: 72-58=14, Resulting Numbers: [14]
14,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 66:[30, 72, 88], Operations: ['98-10=88']
Exploring Operation: 88-72=16, Resulting Numbers: [30, 16]
Generated Node #0,2,0: 66:[30, 16] Operation: 88-72=16
Exploring Operation: 88-30=58, Resulting Numbers: [72, 58]
Generated Node #0,2,1: 66:[72, 58] Operation: 88-30=58
Exploring Operation: 72-30=42, Resulting Numbers: [88, 42]
Generated Node #0,2,2: 66:[88, 42] Operation: 72-30=42
Moving to Node #0,2,0
Current State: 66:[30, 16], Operations: ['98-10=88', '88-72=16']
Exploring Operation: 30+16=46, Resulting Numbers: [46]
46,66 unequal: No Solution
Exploring Operation: 30*16=480, Resulting Numbers: [480]
480,66 unequal: No Solution
Exploring Operation: 30-16=14, Resulting Numbers: [14]
14,66 unequal: No Solution
Moving to Node #0,2,1
Current State: 66:[72, 58], Operations: ['98-10=88', '88-30=58']
Exploring Operation: 72*58=4176, Resulting Numbers: [4176]
4176,66 unequal: No Solution
Exploring Operation: 72-58=14, Resulting Numbers: [14]
14,66 unequal: No Solution
Exploring Operation: 72+58=130, Resulting Numbers: [130]
130,66 unequal: No Solution
Moving to Node #0,2,2
Current State: 66:[88, 42], Operations: ['98-10=88', '72-30=42']
Exploring Operation: 88*42=3696, Resulting Numbers: [3696]
3696,66 unequal: No Solution
Exploring Operation: 88+42=130, Resulting Numbers: [130]
130,66 unequal: No Solution
Exploring Operation: 88-42=46, Resulting Numbers: [46]
46,66 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 |
[
23,
84,
97,
48
] | 38 | [
"23+84=107",
"97+48=145",
"145-107=38"
] | Current State: 38:[23, 84, 97, 48], Operations: []
Exploring Operation: 23+84=107, Resulting Numbers: [97, 48, 107]
Generated Node #2: [97, 48, 107] from Operation: 23+84=107
Current State: 38:[97, 48, 107], Operations: ['23+84=107']
Exploring Operation: 97+48=145, Resulting Numbers: [107, 145]
Generated Node #3: [107, 145] from Operation: 97+48=145
Current State: 38:[107, 145], Operations: ['23+84=107', '97+48=145']
Exploring Operation: 145-107=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[23, 84, 97, 48], Operations: []
Exploring Operation: 97-84=13, Resulting Numbers: [23, 48, 13]
Generated Node #0,0: 38:[23, 48, 13] Operation: 97-84=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 38:[23, 48, 13], Operations: ['97-84=13']
Exploring Operation: 48-13=35, Resulting Numbers: [23, 35]
Generated Node #0,0,0: 38:[23, 35] Operation: 48-13=35
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 38:[23, 35], Operations: ['97-84=13', '48-13=35']
Exploring Operation: 35-23=12, Resulting Numbers: [12]
12,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
90,
91,
13,
10
] | 61 | [
"13-10=3",
"90/3=30",
"91-30=61"
] | Current State: 61:[90, 91, 13, 10], Operations: []
Exploring Operation: 13-10=3, Resulting Numbers: [90, 91, 3]
Generated Node #2: [90, 91, 3] from Operation: 13-10=3
Current State: 61:[90, 91, 3], Operations: ['13-10=3']
Exploring Operation: 90/3=30, Resulting Numbers: [91, 30]
Generated Node #3: [91, 30] from Operation: 90/3=30
Current State: 61:[91, 30], Operations: ['13-10=3', '90/3=30']
Exploring Operation: 91-30=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[90, 91, 13, 10], Operations: []
Exploring Operation: 90-13=77, Resulting Numbers: [91, 10, 77]
Generated Node #0,0: 61:[91, 10, 77] Operation: 90-13=77
Moving to Node #0,0
Current State: 61:[91, 10, 77], Operations: ['90-13=77']
Exploring Operation: 91-10=81, Resulting Numbers: [77, 81]
Generated Node #0,0,0: 61:[77, 81] Operation: 91-10=81
Moving to Node #0,0,0
Current State: 61:[77, 81], Operations: ['90-13=77', '91-10=81']
Exploring Operation: 81-77=4, Resulting Numbers: [4]
4,61 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
85,
2,
44,
32
] | 18 | [
"85-44=41",
"41-32=9",
"2*9=18"
] | Current State: 18:[85, 2, 44, 32], Operations: []
Exploring Operation: 85-44=41, Resulting Numbers: [2, 32, 41]
Generated Node #2: [2, 32, 41] from Operation: 85-44=41
Current State: 18:[2, 32, 41], Operations: ['85-44=41']
Exploring Operation: 41-32=9, Resulting Numbers: [2, 9]
Generated Node #3: [2, 9] from Operation: 41-32=9
Current State: 18:[2, 9], Operations: ['85-44=41', '41-32=9']
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[85, 2, 44, 32], Operations: []
Exploring Operation: 44-32=12, Resulting Numbers: [85, 2, 12]
Generated Node #0,0: 18:[85, 2, 12] Operation: 44-32=12
Exploring Operation: 85-32=53, Resulting Numbers: [2, 44, 53]
Generated Node #0,1: 18:[2, 44, 53] Operation: 85-32=53
Exploring Operation: 85-44=41, Resulting Numbers: [2, 32, 41]
Generated Node #0,2: 18:[2, 32, 41] Operation: 85-44=41
Moving to Node #0,2
Current State: 18:[2, 32, 41], Operations: ['85-44=41']
Exploring Operation: 41-32=9, Resulting Numbers: [2, 9]
Generated Node #0,2,0: 18:[2, 9] Operation: 41-32=9
Exploring Operation: 32/2=16, Resulting Numbers: [41, 16]
Generated Node #0,2,1: 18:[41, 16] Operation: 32/2=16
Exploring Operation: 32-2=30, Resulting Numbers: [41, 30]
Generated Node #0,2,2: 18:[41, 30] Operation: 32-2=30
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 18:[2, 9], Operations: ['85-44=41', '41-32=9']
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,18 unequal: No Solution
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[85, 2, 44, 32], Operations: []
Exploring Operation: 85-44=41, Resulting Numbers: [2, 32, 41]
Generated Node #0,2: 18:[2, 32, 41] Operation: 85-44=41
Moving to Node #0,2
Current State: 18:[2, 32, 41], Operations: ['85-44=41']
Exploring Operation: 41-32=9, Resulting Numbers: [2, 9]
Generated Node #0,2,0: 18:[2, 9] Operation: 41-32=9
Moving to Node #0,2,0
Current State: 18:[2, 9], Operations: ['85-44=41', '41-32=9']
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
19,
80,
6,
35
] | 89 | [
"19+35=54",
"54/6=9",
"80+9=89"
] | Current State: 89:[19, 80, 6, 35], Operations: []
Exploring Operation: 19+35=54, Resulting Numbers: [80, 6, 54]
Generated Node #2: [80, 6, 54] from Operation: 19+35=54
Current State: 89:[80, 6, 54], Operations: ['19+35=54']
Exploring Operation: 54/6=9, Resulting Numbers: [80, 9]
Generated Node #3: [80, 9] from Operation: 54/6=9
Current State: 89:[80, 9], Operations: ['19+35=54', '54/6=9']
Exploring Operation: 80+9=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[19, 80, 6, 35], Operations: []
Exploring Operation: 19+6=25, Resulting Numbers: [80, 35, 25]
Generated Node #0,0: 89:[80, 35, 25] Operation: 19+6=25
Exploring Operation: 19*6=114, Resulting Numbers: [80, 35, 114]
Generated Node #0,1: 89:[80, 35, 114] Operation: 19*6=114
Start Sub Search at level 1: Moving to Node #0,1
Current State: 89:[80, 35, 114], Operations: ['19*6=114']
Exploring Operation: 114-35=79, Resulting Numbers: [80, 79]
Generated Node #0,1,0: 89:[80, 79] Operation: 114-35=79
Exploring Operation: 80+35=115, Resulting Numbers: [114, 115]
Generated Node #0,1,1: 89:[114, 115] Operation: 80+35=115
Moving to Node #0,1,0
Current State: 89:[80, 79], Operations: ['19*6=114', '114-35=79']
Exploring Operation: 80-79=1, Resulting Numbers: [1]
1,89 unequal: No Solution
Exploring Operation: 80+79=159, Resulting Numbers: [159]
159,89 unequal: No Solution
Moving to Node #0,1,1
Current State: 89:[114, 115], Operations: ['19*6=114', '80+35=115']
Exploring Operation: 114+115=229, Resulting Numbers: [229]
229,89 unequal: No Solution
Exploring Operation: 115-114=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,0
Current State: 89:[80, 35, 25], Operations: ['19+6=25']
Exploring Operation: 35+25=60, Resulting Numbers: [80, 60]
Generated Node #0,0,0: 89:[80, 60] Operation: 35+25=60
Exploring Operation: 80+25=105, Resulting Numbers: [35, 105]
Generated Node #0,0,1: 89:[35, 105] Operation: 80+25=105
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 89:[80, 60], Operations: ['19+6=25', '35+25=60']
Exploring Operation: 80-60=20, Resulting Numbers: [20]
20,89 unequal: No Solution
Exploring Operation: 80+60=140, Resulting Numbers: [140]
140,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 89:[35, 105], Operations: ['19+6=25', '80+25=105']
Exploring Operation: 105-35=70, Resulting Numbers: [70]
70,89 unequal: No Solution
Exploring Operation: 35+105=140, Resulting Numbers: [140]
140,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
10,
8,
84,
3
] | 86 | [
"8-3=5",
"10/5=2",
"84+2=86"
] | Current State: 86:[10, 8, 84, 3], Operations: []
Exploring Operation: 8-3=5, Resulting Numbers: [10, 84, 5]
Generated Node #2: [10, 84, 5] from Operation: 8-3=5
Current State: 86:[10, 84, 5], Operations: ['8-3=5']
Exploring Operation: 10/5=2, Resulting Numbers: [84, 2]
Generated Node #3: [84, 2] from Operation: 10/5=2
Current State: 86:[84, 2], Operations: ['8-3=5', '10/5=2']
Exploring Operation: 84+2=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[10, 8, 84, 3], Operations: []
Exploring Operation: 10*8=80, Resulting Numbers: [84, 3, 80]
Generated Node #0,0: 86:[84, 3, 80] Operation: 10*8=80
Exploring Operation: 10-3=7, Resulting Numbers: [8, 84, 7]
Generated Node #0,1: 86:[8, 84, 7] Operation: 10-3=7
Exploring Operation: 10-8=2, Resulting Numbers: [84, 3, 2]
Generated Node #0,2: 86:[84, 3, 2] Operation: 10-8=2
Exploring Operation: 8-3=5, Resulting Numbers: [10, 84, 5]
Generated Node #0,3: 86:[10, 84, 5] Operation: 8-3=5
Start Sub Search at level 1: Moving to Node #0,2
Current State: 86:[84, 3, 2], Operations: ['10-8=2']
Exploring Operation: 84+2=86, Resulting Numbers: [3, 86]
Generated Node #0,2,0: 86:[3, 86] Operation: 84+2=86
Exploring Operation: 84+3=87, Resulting Numbers: [2, 87]
Generated Node #0,2,1: 86:[2, 87] Operation: 84+3=87
Exploring Operation: 84/2=42, Resulting Numbers: [3, 42]
Generated Node #0,2,2: 86:[3, 42] Operation: 84/2=42
Exploring Operation: 3-2=1, Resulting Numbers: [84, 1]
Generated Node #0,2,3: 86:[84, 1] Operation: 3-2=1
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 86:[3, 86], Operations: ['10-8=2', '84+2=86']
Exploring Operation: 3+86=89, Resulting Numbers: [89]
89,86 unequal: No Solution
Exploring Operation: 86-3=83, Resulting Numbers: [83]
83,86 unequal: No Solution
Exploring Operation: 3*86=258, Resulting Numbers: [258]
258,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 86:[2, 87], Operations: ['10-8=2', '84+3=87']
Exploring Operation: 87-2=85, Resulting Numbers: [85]
85,86 unequal: No Solution
Exploring Operation: 2+87=89, Resulting Numbers: [89]
89,86 unequal: No Solution
Exploring Operation: 2*87=174, Resulting Numbers: [174]
174,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 86:[3, 42], Operations: ['10-8=2', '84/2=42']
Exploring Operation: 42-3=39, Resulting Numbers: [39]
39,86 unequal: No Solution
Exploring Operation: 42/3=14, Resulting Numbers: [14]
14,86 unequal: No Solution
Exploring Operation: 3+42=45, Resulting Numbers: [45]
45,86 unequal: No Solution
Exploring Operation: 3*42=126, Resulting Numbers: [126]
126,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 86:[84, 1], Operations: ['10-8=2', '3-2=1']
Exploring Operation: 84*1=84, Resulting Numbers: [84]
84,86 unequal: No Solution
Exploring Operation: 84/1=84, Resulting Numbers: [84]
84,86 unequal: No Solution
Exploring Operation: 84+1=85, Resulting Numbers: [85]
85,86 unequal: No Solution
Exploring Operation: 84-1=83, Resulting Numbers: [83]
83,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[84, 3, 80], Operations: ['10*8=80']
Exploring Operation: 84-3=81, Resulting Numbers: [80, 81]
Generated Node #0,0,0: 86:[80, 81] Operation: 84-3=81
Exploring Operation: 3+80=83, Resulting Numbers: [84, 83]
Generated Node #0,0,1: 86:[84, 83] Operation: 3+80=83
Exploring Operation: 84-80=4, Resulting Numbers: [3, 4]
Generated Node #0,0,2: 86:[3, 4] Operation: 84-80=4
Exploring Operation: 84+3=87, Resulting Numbers: [80, 87]
Generated Node #0,0,3: 86:[80, 87] Operation: 84+3=87
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 86:[3, 4], Operations: ['10*8=80', '84-80=4']
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,86 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,86 unequal: No Solution
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 86:[84, 83], Operations: ['10*8=80', '3+80=83']
Exploring Operation: 84+83=167, Resulting Numbers: [167]
167,86 unequal: No Solution
Exploring Operation: 84-83=1, Resulting Numbers: [1]
1,86 unequal: No Solution
Exploring Operation: 84*83=6972, Resulting Numbers: [6972]
6972,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 86:[80, 87], Operations: ['10*8=80', '84+3=87']
Exploring Operation: 80*87=6960, Resulting Numbers: [6960]
6960,86 unequal: No Solution
Exploring Operation: 87-80=7, Resulting Numbers: [7]
7,86 unequal: No Solution
Exploring Operation: 80+87=167, Resulting Numbers: [167]
167,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 86:[80, 81], Operations: ['10*8=80', '84-3=81']
Exploring Operation: 80*81=6480, Resulting Numbers: [6480]
6480,86 unequal: No Solution
Exploring Operation: 81-80=1, Resulting Numbers: [1]
1,86 unequal: No Solution
Exploring Operation: 80+81=161, Resulting Numbers: [161]
161,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 86:[8, 84, 7], Operations: ['10-3=7']
Exploring Operation: 8+84=92, Resulting Numbers: [7, 92]
Generated Node #0,1,0: 86:[7, 92] Operation: 8+84=92
Exploring Operation: 8-7=1, Resulting Numbers: [84, 1]
Generated Node #0,1,1: 86:[84, 1] Operation: 8-7=1
Exploring Operation: 84+7=91, Resulting Numbers: [8, 91]
Generated Node #0,1,2: 86:[8, 91] Operation: 84+7=91
Exploring Operation: 84-8=76, Resulting Numbers: [7, 76]
Generated Node #0,1,3: 86:[7, 76] Operation: 84-8=76
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 86:[84, 1], Operations: ['10-3=7', '8-7=1']
Exploring Operation: 84/1=84, Resulting Numbers: [84]
84,86 unequal: No Solution
Exploring Operation: 84-1=83, Resulting Numbers: [83]
83,86 unequal: No Solution
Exploring Operation: 84+1=85, Resulting Numbers: [85]
85,86 unequal: No Solution
Exploring Operation: 84*1=84, Resulting Numbers: [84]
84,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 86:[7, 92], Operations: ['10-3=7', '8+84=92']
Exploring Operation: 7+92=99, Resulting Numbers: [99]
99,86 unequal: No Solution
Exploring Operation: 7*92=644, Resulting Numbers: [644]
644,86 unequal: No Solution
Exploring Operation: 92-7=85, Resulting Numbers: [85]
85,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 86:[8, 91], Operations: ['10-3=7', '84+7=91']
Exploring Operation: 91-8=83, Resulting Numbers: [83]
83,86 unequal: No Solution
Exploring Operation: 8+91=99, Resulting Numbers: [99]
99,86 unequal: No Solution
Exploring Operation: 8*91=728, Resulting Numbers: [728]
728,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 86:[7, 76], Operations: ['10-3=7', '84-8=76']
Exploring Operation: 7*76=532, Resulting Numbers: [532]
532,86 unequal: No Solution
Exploring Operation: 76-7=69, Resulting Numbers: [69]
69,86 unequal: No Solution
Exploring Operation: 7+76=83, Resulting Numbers: [83]
83,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 86:[10, 84, 5], Operations: ['8-3=5']
Exploring Operation: 10/5=2, Resulting Numbers: [84, 2]
Generated Node #0,3,0: 86:[84, 2] Operation: 10/5=2
Exploring Operation: 10-5=5, Resulting Numbers: [84, 5]
Generated Node #0,3,1: 86:[84, 5] Operation: 10-5=5
Exploring Operation: 10+84=94, Resulting Numbers: [5, 94]
Generated Node #0,3,2: 86:[5, 94] Operation: 10+84=94
Exploring Operation: 10*5=50, Resulting Numbers: [84, 50]
Generated Node #0,3,3: 86:[84, 50] Operation: 10*5=50
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 86:[84, 2], Operations: ['8-3=5', '10/5=2']
Exploring Operation: 84-2=82, Resulting Numbers: [82]
82,86 unequal: No Solution
Exploring Operation: 84+2=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[10, 8, 84, 3], Operations: []
Exploring Operation: 8-3=5, Resulting Numbers: [10, 84, 5]
Generated Node #0,3: 86:[10, 84, 5] Operation: 8-3=5
Moving to Node #0,3
Current State: 86:[10, 84, 5], Operations: ['8-3=5']
Exploring Operation: 10/5=2, Resulting Numbers: [84, 2]
Generated Node #0,3,0: 86:[84, 2] Operation: 10/5=2
Moving to Node #0,3,0
Current State: 86:[84, 2], Operations: ['8-3=5', '10/5=2']
Exploring Operation: 84+2=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.943576 | hs_4 | mult_heuristic |
[
28,
38,
76,
12
] | 19 | [
"38*12=456",
"76+456=532",
"532/28=19"
] | Current State: 19:[28, 38, 76, 12], Operations: []
Exploring Operation: 38*12=456, Resulting Numbers: [28, 76, 456]
Generated Node #2: [28, 76, 456] from Operation: 38*12=456
Current State: 19:[28, 76, 456], Operations: ['38*12=456']
Exploring Operation: 76+456=532, Resulting Numbers: [28, 532]
Generated Node #3: [28, 532] from Operation: 76+456=532
Current State: 19:[28, 532], Operations: ['38*12=456', '76+456=532']
Exploring Operation: 532/28=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[28, 38, 76, 12], Operations: []
Exploring Operation: 76/38=2, Resulting Numbers: [28, 12, 2]
Generated Node #0,0: 19:[28, 12, 2] Operation: 76/38=2
Moving to Node #0,0
Current State: 19:[28, 12, 2], Operations: ['76/38=2']
Exploring Operation: 28/2=14, Resulting Numbers: [12, 14]
Generated Node #0,0,0: 19:[12, 14] Operation: 28/2=14
Moving to Node #0,0,0
Current State: 19:[12, 14], Operations: ['76/38=2', '28/2=14']
Exploring Operation: 12+14=26, Resulting Numbers: [26]
26,19 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
59,
82,
86,
3
] | 71 | [
"86-82=4",
"3*4=12",
"59+12=71"
] | Current State: 71:[59, 82, 86, 3], Operations: []
Exploring Operation: 86-82=4, Resulting Numbers: [59, 3, 4]
Generated Node #2: [59, 3, 4] from Operation: 86-82=4
Current State: 71:[59, 3, 4], Operations: ['86-82=4']
Exploring Operation: 3*4=12, Resulting Numbers: [59, 12]
Generated Node #3: [59, 12] from Operation: 3*4=12
Current State: 71:[59, 12], Operations: ['86-82=4', '3*4=12']
Exploring Operation: 59+12=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[59, 82, 86, 3], Operations: []
Exploring Operation: 59-3=56, Resulting Numbers: [82, 86, 56]
Generated Node #0,0: 71:[82, 86, 56] Operation: 59-3=56
Exploring Operation: 86-3=83, Resulting Numbers: [59, 82, 83]
Generated Node #0,1: 71:[59, 82, 83] Operation: 86-3=83
Exploring Operation: 59+3=62, Resulting Numbers: [82, 86, 62]
Generated Node #0,2: 71:[82, 86, 62] Operation: 59+3=62
Exploring Operation: 82-3=79, Resulting Numbers: [59, 86, 79]
Generated Node #0,3: 71:[59, 86, 79] Operation: 82-3=79
Exploring Operation: 82+3=85, Resulting Numbers: [59, 86, 85]
Generated Node #0,4: 71:[59, 86, 85] Operation: 82+3=85
Moving to Node #0,1
Current State: 71:[59, 82, 83], Operations: ['86-3=83']
Exploring Operation: 83-59=24, Resulting Numbers: [82, 24]
Generated Node #0,1,0: 71:[82, 24] Operation: 83-59=24
Exploring Operation: 82-59=23, Resulting Numbers: [83, 23]
Generated Node #0,1,1: 71:[83, 23] Operation: 82-59=23
Exploring Operation: 59+83=142, Resulting Numbers: [82, 142]
Generated Node #0,1,2: 71:[82, 142] Operation: 59+83=142
Exploring Operation: 83-82=1, Resulting Numbers: [59, 1]
Generated Node #0,1,3: 71:[59, 1] Operation: 83-82=1
Exploring Operation: 59+82=141, Resulting Numbers: [83, 141]
Generated Node #0,1,4: 71:[83, 141] Operation: 59+82=141
Moving to Node #0,3
Current State: 71:[59, 86, 79], Operations: ['82-3=79']
Exploring Operation: 86-59=27, Resulting Numbers: [79, 27]
Generated Node #0,3,0: 71:[79, 27] Operation: 86-59=27
Exploring Operation: 86-79=7, Resulting Numbers: [59, 7]
Generated Node #0,3,1: 71:[59, 7] Operation: 86-79=7
Exploring Operation: 79-59=20, Resulting Numbers: [86, 20]
Generated Node #0,3,2: 71:[86, 20] Operation: 79-59=20
Exploring Operation: 59+86=145, Resulting Numbers: [79, 145]
Generated Node #0,3,3: 71:[79, 145] Operation: 59+86=145
Exploring Operation: 59+79=138, Resulting Numbers: [86, 138]
Generated Node #0,3,4: 71:[86, 138] Operation: 59+79=138
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 71:[79, 27], Operations: ['82-3=79', '86-59=27']
Exploring Operation: 79+27=106, Resulting Numbers: [106]
106,71 unequal: No Solution
Exploring Operation: 79-27=52, Resulting Numbers: [52]
52,71 unequal: No Solution
Exploring Operation: 79*27=2133, Resulting Numbers: [2133]
2133,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 71:[86, 20], Operations: ['82-3=79', '79-59=20']
Exploring Operation: 86+20=106, Resulting Numbers: [106]
106,71 unequal: No Solution
Exploring Operation: 86-20=66, Resulting Numbers: [66]
66,71 unequal: No Solution
Exploring Operation: 86*20=1720, Resulting Numbers: [1720]
1720,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 71:[59, 7], Operations: ['82-3=79', '86-79=7']
Exploring Operation: 59+7=66, Resulting Numbers: [66]
66,71 unequal: No Solution
Exploring Operation: 59*7=413, Resulting Numbers: [413]
413,71 unequal: No Solution
Exploring Operation: 59-7=52, Resulting Numbers: [52]
52,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 71:[79, 145], Operations: ['82-3=79', '59+86=145']
Exploring Operation: 145-79=66, Resulting Numbers: [66]
66,71 unequal: No Solution
Exploring Operation: 79*145=11455, Resulting Numbers: [11455]
11455,71 unequal: No Solution
Exploring Operation: 79+145=224, Resulting Numbers: [224]
224,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 71:[86, 138], Operations: ['82-3=79', '59+79=138']
Exploring Operation: 86*138=11868, Resulting Numbers: [11868]
11868,71 unequal: No Solution
Exploring Operation: 86+138=224, Resulting Numbers: [224]
224,71 unequal: No Solution
Exploring Operation: 138-86=52, Resulting Numbers: [52]
52,71 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: 71:[82, 86, 62], Operations: ['59+3=62']
Exploring Operation: 82+62=144, Resulting Numbers: [86, 144]
Generated Node #0,2,0: 71:[86, 144] Operation: 82+62=144
Exploring Operation: 82-62=20, Resulting Numbers: [86, 20]
Generated Node #0,2,1: 71:[86, 20] Operation: 82-62=20
Exploring Operation: 86+62=148, Resulting Numbers: [82, 148]
Generated Node #0,2,2: 71:[82, 148] Operation: 86+62=148
Exploring Operation: 86-62=24, Resulting Numbers: [82, 24]
Generated Node #0,2,3: 71:[82, 24] Operation: 86-62=24
Exploring Operation: 86-82=4, Resulting Numbers: [62, 4]
Generated Node #0,2,4: 71:[62, 4] Operation: 86-82=4
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 71:[82, 24], Operations: ['59+3=62', '86-62=24']
Exploring Operation: 82*24=1968, Resulting Numbers: [1968]
1968,71 unequal: No Solution
Exploring Operation: 82-24=58, Resulting Numbers: [58]
58,71 unequal: No Solution
Exploring Operation: 82+24=106, Resulting Numbers: [106]
106,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 71:[86, 20], Operations: ['59+3=62', '82-62=20']
Exploring Operation: 86*20=1720, Resulting Numbers: [1720]
1720,71 unequal: No Solution
Exploring Operation: 86-20=66, Resulting Numbers: [66]
66,71 unequal: No Solution
Exploring Operation: 86+20=106, Resulting Numbers: [106]
106,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 71:[62, 4], Operations: ['59+3=62', '86-82=4']
Exploring Operation: 62+4=66, Resulting Numbers: [66]
66,71 unequal: No Solution
Exploring Operation: 62*4=248, Resulting Numbers: [248]
248,71 unequal: No Solution
Exploring Operation: 62-4=58, Resulting Numbers: [58]
58,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 71:[86, 144], Operations: ['59+3=62', '82+62=144']
Exploring Operation: 86*144=12384, Resulting Numbers: [12384]
12384,71 unequal: No Solution
Exploring Operation: 86+144=230, Resulting Numbers: [230]
230,71 unequal: No Solution
Exploring Operation: 144-86=58, Resulting Numbers: [58]
58,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 71:[82, 148], Operations: ['59+3=62', '86+62=148']
Exploring Operation: 148-82=66, Resulting Numbers: [66]
66,71 unequal: No Solution
Exploring Operation: 82*148=12136, Resulting Numbers: [12136]
12136,71 unequal: No Solution
Exploring Operation: 82+148=230, Resulting Numbers: [230]
230,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 71:[82, 86, 56], Operations: ['59-3=56']
Exploring Operation: 86+56=142, Resulting Numbers: [82, 142]
Generated Node #0,0,0: 71:[82, 142] Operation: 86+56=142
Exploring Operation: 82-56=26, Resulting Numbers: [86, 26]
Generated Node #0,0,1: 71:[86, 26] Operation: 82-56=26
Exploring Operation: 86-56=30, Resulting Numbers: [82, 30]
Generated Node #0,0,2: 71:[82, 30] Operation: 86-56=30
Exploring Operation: 86-82=4, Resulting Numbers: [56, 4]
Generated Node #0,0,3: 71:[56, 4] Operation: 86-82=4
Exploring Operation: 82+56=138, Resulting Numbers: [86, 138]
Generated Node #0,0,4: 71:[86, 138] Operation: 82+56=138
Moving to Node #0,4
Current State: 71:[59, 86, 85], Operations: ['82+3=85']
Exploring Operation: 86-59=27, Resulting Numbers: [85, 27]
Generated Node #0,4,0: 71:[85, 27] Operation: 86-59=27
Exploring Operation: 86-85=1, Resulting Numbers: [59, 1]
Generated Node #0,4,1: 71:[59, 1] Operation: 86-85=1
Exploring Operation: 59+85=144, Resulting Numbers: [86, 144]
Generated Node #0,4,2: 71:[86, 144] Operation: 59+85=144
Exploring Operation: 59+86=145, Resulting Numbers: [85, 145]
Generated Node #0,4,3: 71:[85, 145] Operation: 59+86=145
Exploring Operation: 85-59=26, Resulting Numbers: [86, 26]
Generated Node #0,4,4: 71:[86, 26] Operation: 85-59=26
Moving to Node #0,0,2
Current State: 71:[82, 30], Operations: ['59-3=56', '86-56=30']
Exploring Operation: 82*30=2460, Resulting Numbers: [2460]
2460,71 unequal: No Solution
Exploring Operation: 82+30=112, Resulting Numbers: [112]
112,71 unequal: No Solution
Exploring Operation: 82-30=52, Resulting Numbers: [52]
52,71 unequal: No Solution
Moving to Node #0,1,0
Current State: 71:[82, 24], Operations: ['86-3=83', '83-59=24']
Exploring Operation: 82-24=58, Resulting Numbers: [58]
58,71 unequal: No Solution
Exploring Operation: 82*24=1968, Resulting Numbers: [1968]
1968,71 unequal: No Solution
Exploring Operation: 82+24=106, Resulting Numbers: [106]
106,71 unequal: No Solution
Moving to Node #0,4,0
Current State: 71:[85, 27], Operations: ['82+3=85', '86-59=27']
Exploring Operation: 85-27=58, Resulting Numbers: [58]
58,71 unequal: No Solution
Exploring Operation: 85+27=112, Resulting Numbers: [112]
112,71 unequal: No Solution
Exploring Operation: 85*27=2295, Resulting Numbers: [2295]
2295,71 unequal: No Solution
Moving to Node #0,0,1
Current State: 71:[86, 26], Operations: ['59-3=56', '82-56=26']
Exploring Operation: 86-26=60, Resulting Numbers: [60]
60,71 unequal: No Solution
Exploring Operation: 86*26=2236, Resulting Numbers: [2236]
2236,71 unequal: No Solution
Exploring Operation: 86+26=112, Resulting Numbers: [112]
112,71 unequal: No Solution
Moving to Node #0,4,4
Current State: 71:[86, 26], Operations: ['82+3=85', '85-59=26']
Exploring Operation: 86*26=2236, Resulting Numbers: [2236]
2236,71 unequal: No Solution
Exploring Operation: 86+26=112, Resulting Numbers: [112]
112,71 unequal: No Solution
Exploring Operation: 86-26=60, Resulting Numbers: [60]
60,71 unequal: No Solution
Moving to Node #0,1,1
Current State: 71:[83, 23], Operations: ['86-3=83', '82-59=23']
Exploring Operation: 83*23=1909, Resulting Numbers: [1909]
1909,71 unequal: No Solution
Exploring Operation: 83-23=60, Resulting Numbers: [60]
60,71 unequal: No Solution
Exploring Operation: 83+23=106, Resulting Numbers: [106]
106,71 unequal: No Solution
Moving to Node #0,1,2
Current State: 71:[82, 142], Operations: ['86-3=83', '59+83=142']
Exploring Operation: 82+142=224, Resulting Numbers: [224]
224,71 unequal: No Solution
Exploring Operation: 142-82=60, Resulting Numbers: [60]
60,71 unequal: No Solution
Exploring Operation: 82*142=11644, Resulting Numbers: [11644]
11644,71 unequal: No Solution
Moving to Node #0,4,1
Current State: 71:[59, 1], Operations: ['82+3=85', '86-85=1']
Exploring Operation: 59/1=59, Resulting Numbers: [59]
59,71 unequal: No Solution
Exploring Operation: 59+1=60, Resulting Numbers: [60]
60,71 unequal: No Solution
Exploring Operation: 59*1=59, Resulting Numbers: [59]
59,71 unequal: No Solution
Exploring Operation: 59-1=58, Resulting Numbers: [58]
58,71 unequal: No Solution
Moving to Node #0,0,3
Current State: 71:[56, 4], Operations: ['59-3=56', '86-82=4']
Exploring Operation: 56-4=52, Resulting Numbers: [52]
52,71 unequal: No Solution
Exploring Operation: 56+4=60, Resulting Numbers: [60]
60,71 unequal: No Solution
Exploring Operation: 56*4=224, Resulting Numbers: [224]
224,71 unequal: No Solution
Exploring Operation: 56/4=14, Resulting Numbers: [14]
14,71 unequal: No Solution
Moving to Node #0,0,0
Current State: 71:[82, 142], Operations: ['59-3=56', '86+56=142']
Exploring Operation: 82+142=224, Resulting Numbers: [224]
224,71 unequal: No Solution
Exploring Operation: 82*142=11644, Resulting Numbers: [11644]
11644,71 unequal: No Solution
Exploring Operation: 142-82=60, Resulting Numbers: [60]
60,71 unequal: No Solution
Moving to Node #0,1,4
Current State: 71:[83, 141], Operations: ['86-3=83', '59+82=141']
Exploring Operation: 141-83=58, Resulting Numbers: [58]
58,71 unequal: No Solution
Exploring Operation: 83+141=224, Resulting Numbers: [224]
224,71 unequal: No Solution
Exploring Operation: 83*141=11703, Resulting Numbers: [11703]
11703,71 unequal: No Solution
Moving to Node #0,0,4
Current State: 71:[86, 138], Operations: ['59-3=56', '82+56=138']
Exploring Operation: 86+138=224, Resulting Numbers: [224]
224,71 unequal: No Solution
Exploring Operation: 138-86=52, Resulting Numbers: [52]
52,71 unequal: No Solution
Exploring Operation: 86*138=11868, Resulting Numbers: [11868]
11868,71 unequal: No Solution
Moving to Node #0,1,3
Current State: 71:[59, 1], Operations: ['86-3=83', '83-82=1']
Exploring Operation: 59/1=59, Resulting Numbers: [59]
59,71 unequal: No Solution
Exploring Operation: 59-1=58, Resulting Numbers: [58]
58,71 unequal: No Solution
Exploring Operation: 59*1=59, Resulting Numbers: [59]
59,71 unequal: No Solution
Exploring Operation: 59+1=60, Resulting Numbers: [60]
60,71 unequal: No Solution
Moving to Node #0,4,2
Current State: 71:[86, 144], Operations: ['82+3=85', '59+85=144']
Exploring Operation: 86+144=230, Resulting Numbers: [230]
230,71 unequal: No Solution
Exploring Operation: 86*144=12384, Resulting Numbers: [12384]
12384,71 unequal: No Solution
Exploring Operation: 144-86=58, Resulting Numbers: [58]
58,71 unequal: No Solution
Moving to Node #0,4,3
Current State: 71:[85, 145], Operations: ['82+3=85', '59+86=145']
Exploring Operation: 145-85=60, Resulting Numbers: [60]
60,71 unequal: No Solution
Exploring Operation: 85*145=12325, Resulting Numbers: [12325]
12325,71 unequal: No Solution
Exploring Operation: 85+145=230, Resulting Numbers: [230]
230,71 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
56,
3,
39,
60
] | 51 | [
"60-56=4",
"3*4=12",
"39+12=51"
] | Current State: 51:[56, 3, 39, 60], Operations: []
Exploring Operation: 60-56=4, Resulting Numbers: [3, 39, 4]
Generated Node #2: [3, 39, 4] from Operation: 60-56=4
Current State: 51:[3, 39, 4], Operations: ['60-56=4']
Exploring Operation: 3*4=12, Resulting Numbers: [39, 12]
Generated Node #3: [39, 12] from Operation: 3*4=12
Current State: 51:[39, 12], Operations: ['60-56=4', '3*4=12']
Exploring Operation: 39+12=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[56, 3, 39, 60], Operations: []
Exploring Operation: 39/3=13, Resulting Numbers: [56, 60, 13]
Generated Node #0,0: 51:[56, 60, 13] Operation: 39/3=13
Exploring Operation: 60/3=20, Resulting Numbers: [56, 39, 20]
Generated Node #0,1: 51:[56, 39, 20] Operation: 60/3=20
Exploring Operation: 56-39=17, Resulting Numbers: [3, 60, 17]
Generated Node #0,2: 51:[3, 60, 17] Operation: 56-39=17
Exploring Operation: 60-39=21, Resulting Numbers: [56, 3, 21]
Generated Node #0,3: 51:[56, 3, 21] Operation: 60-39=21
Exploring Operation: 60-56=4, Resulting Numbers: [3, 39, 4]
Generated Node #0,4: 51:[3, 39, 4] Operation: 60-56=4
Start Sub Search at level 1: Moving to Node #0,2
Current State: 51:[3, 60, 17], Operations: ['56-39=17']
Exploring Operation: 60/3=20, Resulting Numbers: [17, 20]
Generated Node #0,2,0: 51:[17, 20] Operation: 60/3=20
Exploring Operation: 60-17=43, Resulting Numbers: [3, 43]
Generated Node #0,2,1: 51:[3, 43] Operation: 60-17=43
Exploring Operation: 3+60=63, Resulting Numbers: [17, 63]
Generated Node #0,2,2: 51:[17, 63] Operation: 3+60=63
Exploring Operation: 60-3=57, Resulting Numbers: [17, 57]
Generated Node #0,2,3: 51:[17, 57] Operation: 60-3=57
Exploring Operation: 3*17=51, Resulting Numbers: [60, 51]
Generated Node #0,2,4: 51:[60, 51] Operation: 3*17=51
Moving to Node #0,2,0
Current State: 51:[17, 20], Operations: ['56-39=17', '60/3=20']
Exploring Operation: 20-17=3, Resulting Numbers: [3]
3,51 unequal: No Solution
Exploring Operation: 17*20=340, Resulting Numbers: [340]
340,51 unequal: No Solution
Exploring Operation: 17+20=37, Resulting Numbers: [37]
37,51 unequal: No Solution
Moving to Node #0,2,3
Current State: 51:[17, 57], Operations: ['56-39=17', '60-3=57']
Exploring Operation: 17*57=969, Resulting Numbers: [969]
969,51 unequal: No Solution
Exploring Operation: 57-17=40, Resulting Numbers: [40]
40,51 unequal: No Solution
Exploring Operation: 17+57=74, Resulting Numbers: [74]
74,51 unequal: No Solution
Moving to Node #0,2,1
Current State: 51:[3, 43], Operations: ['56-39=17', '60-17=43']
Exploring Operation: 3+43=46, Resulting Numbers: [46]
46,51 unequal: No Solution
Exploring Operation: 43-3=40, Resulting Numbers: [40]
40,51 unequal: No Solution
Exploring Operation: 3*43=129, Resulting Numbers: [129]
129,51 unequal: No Solution
Moving to Node #0,2,4
Current State: 51:[60, 51], Operations: ['56-39=17', '3*17=51']
Exploring Operation: 60-51=9, Resulting Numbers: [9]
9,51 unequal: No Solution
Exploring Operation: 60*51=3060, Resulting Numbers: [3060]
3060,51 unequal: No Solution
Exploring Operation: 60+51=111, Resulting Numbers: [111]
111,51 unequal: No Solution
Moving to Node #0,2,2
Current State: 51:[17, 63], Operations: ['56-39=17', '3+60=63']
Exploring Operation: 63-17=46, Resulting Numbers: [46]
46,51 unequal: No Solution
Exploring Operation: 17+63=80, Resulting Numbers: [80]
80,51 unequal: No Solution
Exploring Operation: 17*63=1071, Resulting Numbers: [1071]
1071,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 51:[56, 3, 21], Operations: ['60-39=21']
Exploring Operation: 56-3=53, Resulting Numbers: [21, 53]
Generated Node #0,3,0: 51:[21, 53] Operation: 56-3=53
Exploring Operation: 21-3=18, Resulting Numbers: [56, 18]
Generated Node #0,3,1: 51:[56, 18] Operation: 21-3=18
Exploring Operation: 3+21=24, Resulting Numbers: [56, 24]
Generated Node #0,3,2: 51:[56, 24] Operation: 3+21=24
Exploring Operation: 21/3=7, Resulting Numbers: [56, 7]
Generated Node #0,3,3: 51:[56, 7] Operation: 21/3=7
Exploring Operation: 56+3=59, Resulting Numbers: [21, 59]
Generated Node #0,3,4: 51:[21, 59] Operation: 56+3=59
Moving to Node #0,3,0
Current State: 51:[21, 53], Operations: ['60-39=21', '56-3=53']
Exploring Operation: 21*53=1113, Resulting Numbers: [1113]
1113,51 unequal: No Solution
Exploring Operation: 21+53=74, Resulting Numbers: [74]
74,51 unequal: No Solution
Exploring Operation: 53-21=32, Resulting Numbers: [32]
32,51 unequal: No Solution
Moving to Node #0,3,1
Current State: 51:[56, 18], Operations: ['60-39=21', '21-3=18']
Exploring Operation: 56+18=74, Resulting Numbers: [74]
74,51 unequal: No Solution
Exploring Operation: 56*18=1008, Resulting Numbers: [1008]
1008,51 unequal: No Solution
Exploring Operation: 56-18=38, Resulting Numbers: [38]
38,51 unequal: No Solution
Moving to Node #0,3,3
Current State: 51:[56, 7], Operations: ['60-39=21', '21/3=7']
Exploring Operation: 56*7=392, Resulting Numbers: [392]
392,51 unequal: No Solution
Exploring Operation: 56/7=8, Resulting Numbers: [8]
8,51 unequal: No Solution
Exploring Operation: 56-7=49, Resulting Numbers: [49]
49,51 unequal: No Solution
Exploring Operation: 56+7=63, Resulting Numbers: [63]
63,51 unequal: No Solution
Moving to Node #0,3,2
Current State: 51:[56, 24], Operations: ['60-39=21', '3+21=24']
Exploring Operation: 56-24=32, Resulting Numbers: [32]
32,51 unequal: No Solution
Exploring Operation: 56+24=80, Resulting Numbers: [80]
80,51 unequal: No Solution
Exploring Operation: 56*24=1344, Resulting Numbers: [1344]
1344,51 unequal: No Solution
Moving to Node #0,3,4
Current State: 51:[21, 59], Operations: ['60-39=21', '56+3=59']
Exploring Operation: 21*59=1239, Resulting Numbers: [1239]
1239,51 unequal: No Solution
Exploring Operation: 21+59=80, Resulting Numbers: [80]
80,51 unequal: No Solution
Exploring Operation: 59-21=38, Resulting Numbers: [38]
38,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 51:[3, 39, 4], Operations: ['60-56=4']
Exploring Operation: 39-3=36, Resulting Numbers: [4, 36]
Generated Node #0,4,0: 51:[4, 36] Operation: 39-3=36
Exploring Operation: 39/3=13, Resulting Numbers: [4, 13]
Generated Node #0,4,1: 51:[4, 13] Operation: 39/3=13
Exploring Operation: 4-3=1, Resulting Numbers: [39, 1]
Generated Node #0,4,2: 51:[39, 1] Operation: 4-3=1
Exploring Operation: 39+4=43, Resulting Numbers: [3, 43]
Generated Node #0,4,3: 51:[3, 43] Operation: 39+4=43
Exploring Operation: 3+39=42, Resulting Numbers: [4, 42]
Generated Node #0,4,4: 51:[4, 42] Operation: 3+39=42
Moving to Node #0,4,1
Current State: 51:[4, 13], Operations: ['60-56=4', '39/3=13']
Exploring Operation: 4+13=17, Resulting Numbers: [17]
17,51 unequal: No Solution
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,51 unequal: No Solution
Exploring Operation: 4*13=52, Resulting Numbers: [52]
52,51 unequal: No Solution
Moving to Node #0,4,3
Current State: 51:[3, 43], Operations: ['60-56=4', '39+4=43']
Exploring Operation: 3*43=129, Resulting Numbers: [129]
129,51 unequal: No Solution
Exploring Operation: 3+43=46, Resulting Numbers: [46]
46,51 unequal: No Solution
Exploring Operation: 43-3=40, Resulting Numbers: [40]
40,51 unequal: No Solution
Moving to Node #0,4,4
Current State: 51:[4, 42], Operations: ['60-56=4', '3+39=42']
Exploring Operation: 4*42=168, Resulting Numbers: [168]
168,51 unequal: No Solution
Exploring Operation: 4+42=46, Resulting Numbers: [46]
46,51 unequal: No Solution
Exploring Operation: 42-4=38, Resulting Numbers: [38]
38,51 unequal: No Solution
Moving to Node #0,4,2
Current State: 51:[39, 1], Operations: ['60-56=4', '4-3=1']
Exploring Operation: 39*1=39, Resulting Numbers: [39]
39,51 unequal: No Solution
Exploring Operation: 39/1=39, Resulting Numbers: [39]
39,51 unequal: No Solution
Exploring Operation: 39+1=40, Resulting Numbers: [40]
40,51 unequal: No Solution
Exploring Operation: 39-1=38, Resulting Numbers: [38]
38,51 unequal: No Solution
Moving to Node #0,4,0
Current State: 51:[4, 36], Operations: ['60-56=4', '39-3=36']
Exploring Operation: 36-4=32, Resulting Numbers: [32]
32,51 unequal: No Solution
Exploring Operation: 4+36=40, Resulting Numbers: [40]
40,51 unequal: No Solution
Exploring Operation: 36/4=9, Resulting Numbers: [9]
9,51 unequal: No Solution
Exploring Operation: 4*36=144, Resulting Numbers: [144]
144,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[56, 60, 13], Operations: ['39/3=13']
Exploring Operation: 60+13=73, Resulting Numbers: [56, 73]
Generated Node #0,0,0: 51:[56, 73] Operation: 60+13=73
Exploring Operation: 60-13=47, Resulting Numbers: [56, 47]
Generated Node #0,0,1: 51:[56, 47] Operation: 60-13=47
Exploring Operation: 60-56=4, Resulting Numbers: [13, 4]
Generated Node #0,0,2: 51:[13, 4] Operation: 60-56=4
Exploring Operation: 56-13=43, Resulting Numbers: [60, 43]
Generated Node #0,0,3: 51:[60, 43] Operation: 56-13=43
Exploring Operation: 56+13=69, Resulting Numbers: [60, 69]
Generated Node #0,0,4: 51:[60, 69] Operation: 56+13=69
Moving to Node #0,0,2
Current State: 51:[13, 4], Operations: ['39/3=13', '60-56=4']
Exploring Operation: 13*4=52, Resulting Numbers: [52]
52,51 unequal: No Solution
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,51 unequal: No Solution
Exploring Operation: 13+4=17, Resulting Numbers: [17]
17,51 unequal: No Solution
Moving to Node #0,0,1
Current State: 51:[56, 47], Operations: ['39/3=13', '60-13=47']
Exploring Operation: 56+47=103, Resulting Numbers: [103]
103,51 unequal: No Solution
Exploring Operation: 56-47=9, Resulting Numbers: [9]
9,51 unequal: No Solution
Exploring Operation: 56*47=2632, Resulting Numbers: [2632]
2632,51 unequal: No Solution
Moving to Node #0,0,3
Current State: 51:[60, 43], Operations: ['39/3=13', '56-13=43']
Exploring Operation: 60+43=103, Resulting Numbers: [103]
103,51 unequal: No Solution
Exploring Operation: 60-43=17, Resulting Numbers: [17]
17,51 unequal: No Solution
Exploring Operation: 60*43=2580, Resulting Numbers: [2580]
2580,51 unequal: No Solution
Moving to Node #0,0,0
Current State: 51:[56, 73], Operations: ['39/3=13', '60+13=73']
Exploring Operation: 56*73=4088, Resulting Numbers: [4088]
4088,51 unequal: No Solution
Exploring Operation: 73-56=17, Resulting Numbers: [17]
17,51 unequal: No Solution
Exploring Operation: 56+73=129, Resulting Numbers: [129]
129,51 unequal: No Solution
Moving to Node #0,0,4
Current State: 51:[60, 69], Operations: ['39/3=13', '56+13=69']
Exploring Operation: 69-60=9, Resulting Numbers: [9]
9,51 unequal: No Solution
Exploring Operation: 60*69=4140, Resulting Numbers: [4140]
4140,51 unequal: No Solution
Exploring Operation: 60+69=129, Resulting Numbers: [129]
129,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 51:[56, 39, 20], Operations: ['60/3=20']
Exploring Operation: 39-20=19, Resulting Numbers: [56, 19]
Generated Node #0,1,0: 51:[56, 19] Operation: 39-20=19
Exploring Operation: 56-39=17, Resulting Numbers: [20, 17]
Generated Node #0,1,1: 51:[20, 17] Operation: 56-39=17
Exploring Operation: 56+20=76, Resulting Numbers: [39, 76]
Generated Node #0,1,2: 51:[39, 76] Operation: 56+20=76
Exploring Operation: 56-20=36, Resulting Numbers: [39, 36]
Generated Node #0,1,3: 51:[39, 36] Operation: 56-20=36
Exploring Operation: 39+20=59, Resulting Numbers: [56, 59]
Generated Node #0,1,4: 51:[56, 59] Operation: 39+20=59
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 51:[20, 17], Operations: ['60/3=20', '56-39=17']
Exploring Operation: 20*17=340, Resulting Numbers: [340]
340,51 unequal: No Solution
Exploring Operation: 20+17=37, Resulting Numbers: [37]
37,51 unequal: No Solution
Exploring Operation: 20-17=3, Resulting Numbers: [3]
3,51 unequal: No Solution
No 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: 51:[56, 19], Operations: ['60/3=20', '39-20=19']
Exploring Operation: 56+19=75, Resulting Numbers: [75]
75,51 unequal: No Solution
Exploring Operation: 56-19=37, Resulting Numbers: [37]
37,51 unequal: No Solution
Exploring Operation: 56*19=1064, Resulting Numbers: [1064]
1064,51 unequal: No Solution
No 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: 51:[56, 59], Operations: ['60/3=20', '39+20=59']
Exploring Operation: 56+59=115, Resulting Numbers: [115]
115,51 unequal: No Solution
Exploring Operation: 59-56=3, Resulting Numbers: [3]
3,51 unequal: No Solution
Exploring Operation: 56*59=3304, Resulting Numbers: [3304]
3304,51 unequal: No Solution
No 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: 51:[39, 36], Operations: ['60/3=20', '56-20=36']
Exploring Operation: 39-36=3, Resulting Numbers: [3]
3,51 unequal: No Solution
Exploring Operation: 39*36=1404, Resulting Numbers: [1404]
1404,51 unequal: No Solution
Exploring Operation: 39+36=75, Resulting Numbers: [75]
75,51 unequal: No Solution
No 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: 51:[39, 76], Operations: ['60/3=20', '56+20=76']
Exploring Operation: 76-39=37, Resulting Numbers: [37]
37,51 unequal: No Solution
Exploring Operation: 39+76=115, Resulting Numbers: [115]
115,51 unequal: No Solution
Exploring Operation: 39*76=2964, Resulting Numbers: [2964]
2964,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
29,
39,
5,
41
] | 45 | [
"39+41=80",
"80/5=16",
"29+16=45"
] | Current State: 45:[29, 39, 5, 41], Operations: []
Exploring Operation: 39+41=80, Resulting Numbers: [29, 5, 80]
Generated Node #2: [29, 5, 80] from Operation: 39+41=80
Current State: 45:[29, 5, 80], Operations: ['39+41=80']
Exploring Operation: 80/5=16, Resulting Numbers: [29, 16]
Generated Node #3: [29, 16] from Operation: 80/5=16
Current State: 45:[29, 16], Operations: ['39+41=80', '80/5=16']
Exploring Operation: 29+16=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[29, 39, 5, 41], Operations: []
Exploring Operation: 39-29=10, Resulting Numbers: [5, 41, 10]
Generated Node #0,0: 45:[5, 41, 10] Operation: 39-29=10
Exploring Operation: 41-29=12, Resulting Numbers: [39, 5, 12]
Generated Node #0,1: 45:[39, 5, 12] Operation: 41-29=12
Exploring Operation: 41-39=2, Resulting Numbers: [29, 5, 2]
Generated Node #0,2: 45:[29, 5, 2] Operation: 41-39=2
Moving to Node #0,0
Current State: 45:[5, 41, 10], Operations: ['39-29=10']
Exploring Operation: 10-5=5, Resulting Numbers: [41, 5]
Generated Node #0,0,0: 45:[41, 5] Operation: 10-5=5
Exploring Operation: 5+41=46, Resulting Numbers: [10, 46]
Generated Node #0,0,1: 45:[10, 46] Operation: 5+41=46
Exploring Operation: 5+10=15, Resulting Numbers: [41, 15]
Generated Node #0,0,2: 45:[41, 15] Operation: 5+10=15
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 45:[10, 46], Operations: ['39-29=10', '5+41=46']
Exploring Operation: 46-10=36, Resulting Numbers: [36]
36,45 unequal: No Solution
Exploring Operation: 10*46=460, Resulting Numbers: [460]
460,45 unequal: No Solution
Exploring Operation: 10+46=56, Resulting Numbers: [56]
56,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 45:[41, 5], Operations: ['39-29=10', '10-5=5']
Exploring Operation: 41-5=36, Resulting Numbers: [36]
36,45 unequal: No Solution
Exploring Operation: 41*5=205, Resulting Numbers: [205]
205,45 unequal: No Solution
Exploring Operation: 41+5=46, Resulting Numbers: [46]
46,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 45:[41, 15], Operations: ['39-29=10', '5+10=15']
Exploring Operation: 41+15=56, Resulting Numbers: [56]
56,45 unequal: No Solution
Exploring Operation: 41*15=615, Resulting Numbers: [615]
615,45 unequal: No Solution
Exploring Operation: 41-15=26, Resulting Numbers: [26]
26,45 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: 45:[39, 5, 12], Operations: ['41-29=12']
Exploring Operation: 5+12=17, Resulting Numbers: [39, 17]
Generated Node #0,1,0: 45:[39, 17] Operation: 5+12=17
Exploring Operation: 39+12=51, Resulting Numbers: [5, 51]
Generated Node #0,1,1: 45:[5, 51] Operation: 39+12=51
Exploring Operation: 39+5=44, Resulting Numbers: [12, 44]
Generated Node #0,1,2: 45:[12, 44] Operation: 39+5=44
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 45:[12, 44], Operations: ['41-29=12', '39+5=44']
Exploring Operation: 44-12=32, Resulting Numbers: [32]
32,45 unequal: No Solution
Exploring Operation: 12+44=56, Resulting Numbers: [56]
56,45 unequal: No Solution
Exploring Operation: 12*44=528, Resulting Numbers: [528]
528,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 45:[5, 51], Operations: ['41-29=12', '39+12=51']
Exploring Operation: 51-5=46, Resulting Numbers: [46]
46,45 unequal: No Solution
Exploring Operation: 5*51=255, Resulting Numbers: [255]
255,45 unequal: No Solution
Exploring Operation: 5+51=56, Resulting Numbers: [56]
56,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 45:[39, 17], Operations: ['41-29=12', '5+12=17']
Exploring Operation: 39-17=22, Resulting Numbers: [22]
22,45 unequal: No Solution
Exploring Operation: 39+17=56, Resulting Numbers: [56]
56,45 unequal: No Solution
Exploring Operation: 39*17=663, Resulting Numbers: [663]
663,45 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: 45:[29, 5, 2], Operations: ['41-39=2']
Exploring Operation: 29-2=27, Resulting Numbers: [5, 27]
Generated Node #0,2,0: 45:[5, 27] Operation: 29-2=27
Exploring Operation: 29+5=34, Resulting Numbers: [2, 34]
Generated Node #0,2,1: 45:[2, 34] Operation: 29+5=34
Exploring Operation: 29-5=24, Resulting Numbers: [2, 24]
Generated Node #0,2,2: 45:[2, 24] Operation: 29-5=24
Moving to Node #0,2,2
Current State: 45:[2, 24], Operations: ['41-39=2', '29-5=24']
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,45 unequal: No Solution
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,45 unequal: No Solution
Exploring Operation: 2*24=48, Resulting Numbers: [48]
48,45 unequal: No Solution
Moving to Node #0,2,0
Current State: 45:[5, 27], Operations: ['41-39=2', '29-2=27']
Exploring Operation: 5*27=135, Resulting Numbers: [135]
135,45 unequal: No Solution
Exploring Operation: 27-5=22, Resulting Numbers: [22]
22,45 unequal: No Solution
Exploring Operation: 5+27=32, Resulting Numbers: [32]
32,45 unequal: No Solution
Moving to Node #0,2,1
Current State: 45:[2, 34], Operations: ['41-39=2', '29+5=34']
Exploring Operation: 2+34=36, Resulting Numbers: [36]
36,45 unequal: No Solution
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,45 unequal: No Solution
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,45 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
99,
24,
91,
57
] | 73 | [
"99-24=75",
"91+57=148",
"148-75=73"
] | Current State: 73:[99, 24, 91, 57], Operations: []
Exploring Operation: 99-24=75, Resulting Numbers: [91, 57, 75]
Generated Node #2: [91, 57, 75] from Operation: 99-24=75
Current State: 73:[91, 57, 75], Operations: ['99-24=75']
Exploring Operation: 91+57=148, Resulting Numbers: [75, 148]
Generated Node #3: [75, 148] from Operation: 91+57=148
Current State: 73:[75, 148], Operations: ['99-24=75', '91+57=148']
Exploring Operation: 148-75=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[99, 24, 91, 57], Operations: []
Exploring Operation: 99-24=75, Resulting Numbers: [91, 57, 75]
Generated Node #0,0: 73:[91, 57, 75] Operation: 99-24=75
Exploring Operation: 24+57=81, Resulting Numbers: [99, 91, 81]
Generated Node #0,1: 73:[99, 91, 81] Operation: 24+57=81
Exploring Operation: 91-24=67, Resulting Numbers: [99, 57, 67]
Generated Node #0,2: 73:[99, 57, 67] Operation: 91-24=67
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[91, 57, 75], Operations: ['99-24=75']
Exploring Operation: 91-57=34, Resulting Numbers: [75, 34]
Generated Node #0,0,0: 73:[75, 34] Operation: 91-57=34
Exploring Operation: 91-75=16, Resulting Numbers: [57, 16]
Generated Node #0,0,1: 73:[57, 16] Operation: 91-75=16
Exploring Operation: 75-57=18, Resulting Numbers: [91, 18]
Generated Node #0,0,2: 73:[91, 18] Operation: 75-57=18
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 73:[75, 34], Operations: ['99-24=75', '91-57=34']
Exploring Operation: 75*34=2550, Resulting Numbers: [2550]
2550,73 unequal: No Solution
Exploring Operation: 75-34=41, Resulting Numbers: [41]
41,73 unequal: No Solution
Exploring Operation: 75+34=109, Resulting Numbers: [109]
109,73 unequal: No Solution
No 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: 73:[57, 16], Operations: ['99-24=75', '91-75=16']
Exploring Operation: 57+16=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[99, 24, 91, 57], Operations: []
Exploring Operation: 99-24=75, Resulting Numbers: [91, 57, 75]
Generated Node #0,0: 73:[91, 57, 75] Operation: 99-24=75
Moving to Node #0,0
Current State: 73:[91, 57, 75], Operations: ['99-24=75']
Exploring Operation: 91-75=16, Resulting Numbers: [57, 16]
Generated Node #0,0,1: 73:[57, 16] Operation: 91-75=16
Moving to Node #0,0,1
Current State: 73:[57, 16], Operations: ['99-24=75', '91-75=16']
Exploring Operation: 57+16=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_3 | sum_heuristic |
[
28,
26,
48,
5
] | 86 | [
"28-26=2",
"48-5=43",
"2*43=86"
] | Current State: 86:[28, 26, 48, 5], Operations: []
Exploring Operation: 28-26=2, Resulting Numbers: [48, 5, 2]
Generated Node #2: [48, 5, 2] from Operation: 28-26=2
Current State: 86:[48, 5, 2], Operations: ['28-26=2']
Exploring Operation: 48-5=43, Resulting Numbers: [2, 43]
Generated Node #3: [2, 43] from Operation: 48-5=43
Current State: 86:[2, 43], Operations: ['28-26=2', '48-5=43']
Exploring Operation: 2*43=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[28, 26, 48, 5], Operations: []
Exploring Operation: 28+26=54, Resulting Numbers: [48, 5, 54]
Generated Node #0,0: 86:[48, 5, 54] Operation: 28+26=54
Exploring Operation: 28+48=76, Resulting Numbers: [26, 5, 76]
Generated Node #0,1: 86:[26, 5, 76] Operation: 28+48=76
Exploring Operation: 28-26=2, Resulting Numbers: [48, 5, 2]
Generated Node #0,2: 86:[48, 5, 2] Operation: 28-26=2
Moving to Node #0,2
Current State: 86:[48, 5, 2], Operations: ['28-26=2']
Exploring Operation: 48-2=46, Resulting Numbers: [5, 46]
Generated Node #0,2,0: 86:[5, 46] Operation: 48-2=46
Exploring Operation: 5-2=3, Resulting Numbers: [48, 3]
Generated Node #0,2,1: 86:[48, 3] Operation: 5-2=3
Exploring Operation: 48-5=43, Resulting Numbers: [2, 43]
Generated Node #0,2,2: 86:[2, 43] Operation: 48-5=43
Moving to Node #0,0
Current State: 86:[48, 5, 54], Operations: ['28+26=54']
Exploring Operation: 54-5=49, Resulting Numbers: [48, 49]
Generated Node #0,0,0: 86:[48, 49] Operation: 54-5=49
Exploring Operation: 54-48=6, Resulting Numbers: [5, 6]
Generated Node #0,0,1: 86:[5, 6] Operation: 54-48=6
Exploring Operation: 48-5=43, Resulting Numbers: [54, 43]
Generated Node #0,0,2: 86:[54, 43] Operation: 48-5=43
Moving to Node #0,1
Current State: 86:[26, 5, 76], Operations: ['28+48=76']
Exploring Operation: 26+76=102, Resulting Numbers: [5, 102]
Generated Node #0,1,0: 86:[5, 102] Operation: 26+76=102
Exploring Operation: 26+5=31, Resulting Numbers: [76, 31]
Generated Node #0,1,1: 86:[76, 31] Operation: 26+5=31
Exploring Operation: 76-26=50, Resulting Numbers: [5, 50]
Generated Node #0,1,2: 86:[5, 50] Operation: 76-26=50
Moving to Node #0,2,2
Current State: 86:[2, 43], Operations: ['28-26=2', '48-5=43']
Exploring Operation: 43-2=41, Resulting Numbers: [41]
41,86 unequal: No Solution
Exploring Operation: 2*43=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[28, 26, 48, 5], Operations: []
Exploring Operation: 28-26=2, Resulting Numbers: [48, 5, 2]
Generated Node #0,2: 86:[48, 5, 2] Operation: 28-26=2
Moving to Node #0,2
Current State: 86:[48, 5, 2], Operations: ['28-26=2']
Exploring Operation: 48-5=43, Resulting Numbers: [2, 43]
Generated Node #0,2,2: 86:[2, 43] Operation: 48-5=43
Moving to Node #0,2,2
Current State: 86:[2, 43], Operations: ['28-26=2', '48-5=43']
Exploring Operation: 2*43=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 0.984375 | hs_3 | mult_heuristic |
[
84,
63,
21,
79
] | 59 | [
"63*79=4977",
"4977-21=4956",
"4956/84=59"
] | Current State: 59:[84, 63, 21, 79], Operations: []
Exploring Operation: 63*79=4977, Resulting Numbers: [84, 21, 4977]
Generated Node #2: [84, 21, 4977] from Operation: 63*79=4977
Current State: 59:[84, 21, 4977], Operations: ['63*79=4977']
Exploring Operation: 4977-21=4956, Resulting Numbers: [84, 4956]
Generated Node #3: [84, 4956] from Operation: 4977-21=4956
Current State: 59:[84, 4956], Operations: ['63*79=4977', '4977-21=4956']
Exploring Operation: 4956/84=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[84, 63, 21, 79], Operations: []
Exploring Operation: 79-21=58, Resulting Numbers: [84, 63, 58]
Generated Node #0,0: 59:[84, 63, 58] Operation: 79-21=58
Exploring Operation: 84-21=63, Resulting Numbers: [63, 79, 63]
Generated Node #0,1: 59:[63, 79, 63] Operation: 84-21=63
Moving to Node #0,1
Current State: 59:[63, 79, 63], Operations: ['84-21=63']
Exploring Operation: 79-63=16, Resulting Numbers: [63, 16]
Generated Node #0,1,0: 59:[63, 16] Operation: 79-63=16
Exploring Operation: 79-63=16, Resulting Numbers: [63, 16]
Generated Node #0,1,1: 59:[63, 16] Operation: 79-63=16
Moving to Node #0,0
Current State: 59:[84, 63, 58], Operations: ['79-21=58']
Exploring Operation: 84-58=26, Resulting Numbers: [63, 26]
Generated Node #0,0,0: 59:[63, 26] Operation: 84-58=26
Exploring Operation: 84-63=21, Resulting Numbers: [58, 21]
Generated Node #0,0,1: 59:[58, 21] Operation: 84-63=21
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 59:[63, 26], Operations: ['79-21=58', '84-58=26']
Exploring Operation: 63-26=37, Resulting Numbers: [37]
37,59 unequal: No Solution
Exploring Operation: 63+26=89, Resulting Numbers: [89]
89,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 59:[58, 21], Operations: ['79-21=58', '84-63=21']
Exploring Operation: 58-21=37, Resulting Numbers: [37]
37,59 unequal: No Solution
Exploring Operation: 58+21=79, Resulting Numbers: [79]
79,59 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: 59:[63, 16], Operations: ['84-21=63', '79-63=16']
Exploring Operation: 63-16=47, Resulting Numbers: [47]
47,59 unequal: No Solution
Exploring Operation: 63+16=79, Resulting Numbers: [79]
79,59 unequal: No Solution
Moving to Node #0,1,1
Current State: 59:[63, 16], Operations: ['84-21=63', '79-63=16']
Exploring Operation: 63-16=47, Resulting Numbers: [47]
47,59 unequal: No Solution
Exploring Operation: 63+16=79, Resulting Numbers: [79]
79,59 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
52,
2,
23,
6
] | 55 | [
"52/2=26",
"23+6=29",
"26+29=55"
] | Current State: 55:[52, 2, 23, 6], Operations: []
Exploring Operation: 52/2=26, Resulting Numbers: [23, 6, 26]
Generated Node #2: [23, 6, 26] from Operation: 52/2=26
Current State: 55:[23, 6, 26], Operations: ['52/2=26']
Exploring Operation: 23+6=29, Resulting Numbers: [26, 29]
Generated Node #3: [26, 29] from Operation: 23+6=29
Current State: 55:[26, 29], Operations: ['52/2=26', '23+6=29']
Exploring Operation: 26+29=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[52, 2, 23, 6], Operations: []
Exploring Operation: 23-6=17, Resulting Numbers: [52, 2, 17]
Generated Node #0,0: 55:[52, 2, 17] Operation: 23-6=17
Exploring Operation: 2*23=46, Resulting Numbers: [52, 6, 46]
Generated Node #0,1: 55:[52, 6, 46] Operation: 2*23=46
Exploring Operation: 52+2=54, Resulting Numbers: [23, 6, 54]
Generated Node #0,2: 55:[23, 6, 54] Operation: 52+2=54
Exploring Operation: 2*6=12, Resulting Numbers: [52, 23, 12]
Generated Node #0,3: 55:[52, 23, 12] Operation: 2*6=12
Exploring Operation: 23-2=21, Resulting Numbers: [52, 6, 21]
Generated Node #0,4: 55:[52, 6, 21] Operation: 23-2=21
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[52, 2, 17], Operations: ['23-6=17']
Exploring Operation: 52+17=69, Resulting Numbers: [2, 69]
Generated Node #0,0,0: 55:[2, 69] Operation: 52+17=69
Exploring Operation: 52-2=50, Resulting Numbers: [17, 50]
Generated Node #0,0,1: 55:[17, 50] Operation: 52-2=50
Exploring Operation: 17-2=15, Resulting Numbers: [52, 15]
Generated Node #0,0,2: 55:[52, 15] Operation: 17-2=15
Exploring Operation: 52+2=54, Resulting Numbers: [17, 54]
Generated Node #0,0,3: 55:[17, 54] Operation: 52+2=54
Exploring Operation: 2+17=19, Resulting Numbers: [52, 19]
Generated Node #0,0,4: 55:[52, 19] Operation: 2+17=19
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 55:[52, 15], Operations: ['23-6=17', '17-2=15']
Exploring Operation: 52+15=67, Resulting Numbers: [67]
67,55 unequal: No Solution
Exploring Operation: 52-15=37, Resulting Numbers: [37]
37,55 unequal: No Solution
Exploring Operation: 52*15=780, Resulting Numbers: [780]
780,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 55:[17, 54], Operations: ['23-6=17', '52+2=54']
Exploring Operation: 54-17=37, Resulting Numbers: [37]
37,55 unequal: No Solution
Exploring Operation: 17+54=71, Resulting Numbers: [71]
71,55 unequal: No Solution
Exploring Operation: 17*54=918, Resulting Numbers: [918]
918,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:[17, 50], Operations: ['23-6=17', '52-2=50']
Exploring Operation: 17*50=850, Resulting Numbers: [850]
850,55 unequal: No Solution
Exploring Operation: 50-17=33, Resulting Numbers: [33]
33,55 unequal: No Solution
Exploring Operation: 17+50=67, Resulting Numbers: [67]
67,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 55:[52, 19], Operations: ['23-6=17', '2+17=19']
Exploring Operation: 52*19=988, Resulting Numbers: [988]
988,55 unequal: No Solution
Exploring Operation: 52-19=33, Resulting Numbers: [33]
33,55 unequal: No Solution
Exploring Operation: 52+19=71, Resulting Numbers: [71]
71,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 55:[2, 69], Operations: ['23-6=17', '52+17=69']
Exploring Operation: 69-2=67, Resulting Numbers: [67]
67,55 unequal: No Solution
Exploring Operation: 2*69=138, Resulting Numbers: [138]
138,55 unequal: No Solution
Exploring Operation: 2+69=71, Resulting Numbers: [71]
71,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 55:[52, 6, 46], Operations: ['2*23=46']
Exploring Operation: 52-6=46, Resulting Numbers: [46, 46]
Generated Node #0,1,0: 55:[46, 46] Operation: 52-6=46
Exploring Operation: 52-46=6, Resulting Numbers: [6, 6]
Generated Node #0,1,1: 55:[6, 6] Operation: 52-46=6
Exploring Operation: 52+6=58, Resulting Numbers: [46, 58]
Generated Node #0,1,2: 55:[46, 58] Operation: 52+6=58
Exploring Operation: 6+46=52, Resulting Numbers: [52, 52]
Generated Node #0,1,3: 55:[52, 52] Operation: 6+46=52
Exploring Operation: 46-6=40, Resulting Numbers: [52, 40]
Generated Node #0,1,4: 55:[52, 40] Operation: 46-6=40
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 55:[6, 6], Operations: ['2*23=46', '52-46=6']
Exploring Operation: 6-6=0, Resulting Numbers: [0]
0,55 unequal: No Solution
Exploring Operation: 6+6=12, Resulting Numbers: [12]
12,55 unequal: No Solution
Exploring Operation: 6*6=36, Resulting Numbers: [36]
36,55 unequal: No Solution
Exploring Operation: 6/6=1, Resulting Numbers: [1]
1,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,3
Current State: 55:[52, 52], Operations: ['2*23=46', '6+46=52']
Exploring Operation: 52*52=2704, Resulting Numbers: [2704]
2704,55 unequal: No Solution
Exploring Operation: 52/52=1, Resulting Numbers: [1]
1,55 unequal: No Solution
Exploring Operation: 52-52=0, Resulting Numbers: [0]
0,55 unequal: No Solution
Exploring Operation: 52+52=104, Resulting Numbers: [104]
104,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,2
Current State: 55:[46, 58], Operations: ['2*23=46', '52+6=58']
Exploring Operation: 58-46=12, Resulting Numbers: [12]
12,55 unequal: No Solution
Exploring Operation: 46+58=104, Resulting Numbers: [104]
104,55 unequal: No Solution
Exploring Operation: 46*58=2668, Resulting Numbers: [2668]
2668,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,0
Current State: 55:[46, 46], Operations: ['2*23=46', '52-6=46']
Exploring Operation: 46-46=0, Resulting Numbers: [0]
0,55 unequal: No Solution
Exploring Operation: 46+46=92, Resulting Numbers: [92]
92,55 unequal: No Solution
Exploring Operation: 46*46=2116, Resulting Numbers: [2116]
2116,55 unequal: No Solution
Exploring Operation: 46/46=1, Resulting Numbers: [1]
1,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,4
Current State: 55:[52, 40], Operations: ['2*23=46', '46-6=40']
Exploring Operation: 52-40=12, Resulting Numbers: [12]
12,55 unequal: No Solution
Exploring Operation: 52*40=2080, Resulting Numbers: [2080]
2080,55 unequal: No Solution
Exploring Operation: 52+40=92, Resulting Numbers: [92]
92,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,2
Current State: 55:[23, 6, 54], Operations: ['52+2=54']
Exploring Operation: 54-6=48, Resulting Numbers: [23, 48]
Generated Node #0,2,0: 55:[23, 48] Operation: 54-6=48
Exploring Operation: 54/6=9, Resulting Numbers: [23, 9]
Generated Node #0,2,1: 55:[23, 9] Operation: 54/6=9
Exploring Operation: 6+54=60, Resulting Numbers: [23, 60]
Generated Node #0,2,2: 55:[23, 60] Operation: 6+54=60
Exploring Operation: 23+6=29, Resulting Numbers: [54, 29]
Generated Node #0,2,3: 55:[54, 29] Operation: 23+6=29
Exploring Operation: 23-6=17, Resulting Numbers: [54, 17]
Generated Node #0,2,4: 55:[54, 17] Operation: 23-6=17
Moving to Node #0,2,4
Current State: 55:[54, 17], Operations: ['52+2=54', '23-6=17']
Exploring Operation: 54+17=71, Resulting Numbers: [71]
71,55 unequal: No Solution
Exploring Operation: 54-17=37, Resulting Numbers: [37]
37,55 unequal: No Solution
Exploring Operation: 54*17=918, Resulting Numbers: [918]
918,55 unequal: No Solution
Moving to Node #0,2,1
Current State: 55:[23, 9], Operations: ['52+2=54', '54/6=9']
Exploring Operation: 23*9=207, Resulting Numbers: [207]
207,55 unequal: No Solution
Exploring Operation: 23-9=14, Resulting Numbers: [14]
14,55 unequal: No Solution
Exploring Operation: 23+9=32, Resulting Numbers: [32]
32,55 unequal: No Solution
Moving to Node #0,2,2
Current State: 55:[23, 60], Operations: ['52+2=54', '6+54=60']
Exploring Operation: 23+60=83, Resulting Numbers: [83]
83,55 unequal: No Solution
Exploring Operation: 60-23=37, Resulting Numbers: [37]
37,55 unequal: No Solution
Exploring Operation: 23*60=1380, Resulting Numbers: [1380]
1380,55 unequal: No Solution
Moving to Node #0,2,0
Current State: 55:[23, 48], Operations: ['52+2=54', '54-6=48']
Exploring Operation: 23+48=71, Resulting Numbers: [71]
71,55 unequal: No Solution
Exploring Operation: 48-23=25, Resulting Numbers: [25]
25,55 unequal: No Solution
Exploring Operation: 23*48=1104, Resulting Numbers: [1104]
1104,55 unequal: No Solution
Moving to Node #0,2,3
Current State: 55:[54, 29], Operations: ['52+2=54', '23+6=29']
Exploring Operation: 54-29=25, Resulting Numbers: [25]
25,55 unequal: No Solution
Exploring Operation: 54+29=83, Resulting Numbers: [83]
83,55 unequal: No Solution
Exploring Operation: 54*29=1566, Resulting Numbers: [1566]
1566,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 55:[52, 6, 21], Operations: ['23-2=21']
Exploring Operation: 21-6=15, Resulting Numbers: [52, 15]
Generated Node #0,4,0: 55:[52, 15] Operation: 21-6=15
Exploring Operation: 52+21=73, Resulting Numbers: [6, 73]
Generated Node #0,4,1: 55:[6, 73] Operation: 52+21=73
Exploring Operation: 52+6=58, Resulting Numbers: [21, 58]
Generated Node #0,4,2: 55:[21, 58] Operation: 52+6=58
Exploring Operation: 52-6=46, Resulting Numbers: [21, 46]
Generated Node #0,4,3: 55:[21, 46] Operation: 52-6=46
Exploring Operation: 6+21=27, Resulting Numbers: [52, 27]
Generated Node #0,4,4: 55:[52, 27] Operation: 6+21=27
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 55:[52, 15], Operations: ['23-2=21', '21-6=15']
Exploring Operation: 52-15=37, Resulting Numbers: [37]
37,55 unequal: No Solution
Exploring Operation: 52*15=780, Resulting Numbers: [780]
780,55 unequal: No Solution
Exploring Operation: 52+15=67, Resulting Numbers: [67]
67,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 55:[21, 58], Operations: ['23-2=21', '52+6=58']
Exploring Operation: 58-21=37, Resulting Numbers: [37]
37,55 unequal: No Solution
Exploring Operation: 21+58=79, Resulting Numbers: [79]
79,55 unequal: No Solution
Exploring Operation: 21*58=1218, Resulting Numbers: [1218]
1218,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,4,1
Current State: 55:[6, 73], Operations: ['23-2=21', '52+21=73']
Exploring Operation: 6*73=438, Resulting Numbers: [438]
438,55 unequal: No Solution
Exploring Operation: 73-6=67, Resulting Numbers: [67]
67,55 unequal: No Solution
Exploring Operation: 6+73=79, Resulting Numbers: [79]
79,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,4,3
Current State: 55:[21, 46], Operations: ['23-2=21', '52-6=46']
Exploring Operation: 46-21=25, Resulting Numbers: [25]
25,55 unequal: No Solution
Exploring Operation: 21+46=67, Resulting Numbers: [67]
67,55 unequal: No Solution
Exploring Operation: 21*46=966, Resulting Numbers: [966]
966,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,4,4
Current State: 55:[52, 27], Operations: ['23-2=21', '6+21=27']
Exploring Operation: 52*27=1404, Resulting Numbers: [1404]
1404,55 unequal: No Solution
Exploring Operation: 52-27=25, Resulting Numbers: [25]
25,55 unequal: No Solution
Exploring Operation: 52+27=79, Resulting Numbers: [79]
79,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 55:[52, 23, 12], Operations: ['2*6=12']
Exploring Operation: 23-12=11, Resulting Numbers: [52, 11]
Generated Node #0,3,0: 55:[52, 11] Operation: 23-12=11
Exploring Operation: 52-23=29, Resulting Numbers: [12, 29]
Generated Node #0,3,1: 55:[12, 29] Operation: 52-23=29
Exploring Operation: 52+23=75, Resulting Numbers: [12, 75]
Generated Node #0,3,2: 55:[12, 75] Operation: 52+23=75
Exploring Operation: 23+12=35, Resulting Numbers: [52, 35]
Generated Node #0,3,3: 55:[52, 35] Operation: 23+12=35
Exploring Operation: 52+12=64, Resulting Numbers: [23, 64]
Generated Node #0,3,4: 55:[23, 64] Operation: 52+12=64
Moving to Node #0,3,0
Current State: 55:[52, 11], Operations: ['2*6=12', '23-12=11']
Exploring Operation: 52*11=572, Resulting Numbers: [572]
572,55 unequal: No Solution
Exploring Operation: 52-11=41, Resulting Numbers: [41]
41,55 unequal: No Solution
Exploring Operation: 52+11=63, Resulting Numbers: [63]
63,55 unequal: No Solution
Moving to Node #0,3,1
Current State: 55:[12, 29], Operations: ['2*6=12', '52-23=29']
Exploring Operation: 12*29=348, Resulting Numbers: [348]
348,55 unequal: No Solution
Exploring Operation: 29-12=17, Resulting Numbers: [17]
17,55 unequal: No Solution
Exploring Operation: 12+29=41, Resulting Numbers: [41]
41,55 unequal: No Solution
Moving to Node #0,3,2
Current State: 55:[12, 75], Operations: ['2*6=12', '52+23=75']
Exploring Operation: 12+75=87, Resulting Numbers: [87]
87,55 unequal: No Solution
Exploring Operation: 75-12=63, Resulting Numbers: [63]
63,55 unequal: No Solution
Exploring Operation: 12*75=900, Resulting Numbers: [900]
900,55 unequal: No Solution
Moving to Node #0,3,4
Current State: 55:[23, 64], Operations: ['2*6=12', '52+12=64']
Exploring Operation: 23+64=87, Resulting Numbers: [87]
87,55 unequal: No Solution
Exploring Operation: 64-23=41, Resulting Numbers: [41]
41,55 unequal: No Solution
Exploring Operation: 23*64=1472, Resulting Numbers: [1472]
1472,55 unequal: No Solution
Moving to Node #0,3,3
Current State: 55:[52, 35], Operations: ['2*6=12', '23+12=35']
Exploring Operation: 52-35=17, Resulting Numbers: [17]
17,55 unequal: No Solution
Exploring Operation: 52*35=1820, Resulting Numbers: [1820]
1820,55 unequal: No Solution
Exploring Operation: 52+35=87, Resulting Numbers: [87]
87,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
83,
1,
71,
28
] | 39 | [
"83-1=82",
"71-28=43",
"82-43=39"
] | Current State: 39:[83, 1, 71, 28], Operations: []
Exploring Operation: 83-1=82, Resulting Numbers: [71, 28, 82]
Generated Node #2: [71, 28, 82] from Operation: 83-1=82
Current State: 39:[71, 28, 82], Operations: ['83-1=82']
Exploring Operation: 71-28=43, Resulting Numbers: [82, 43]
Generated Node #3: [82, 43] from Operation: 71-28=43
Current State: 39:[82, 43], Operations: ['83-1=82', '71-28=43']
Exploring Operation: 82-43=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[83, 1, 71, 28], Operations: []
Exploring Operation: 83-71=12, Resulting Numbers: [1, 28, 12]
Generated Node #0,0: 39:[1, 28, 12] Operation: 83-71=12
Exploring Operation: 83-1=82, Resulting Numbers: [71, 28, 82]
Generated Node #0,1: 39:[71, 28, 82] Operation: 83-1=82
Exploring Operation: 83-28=55, Resulting Numbers: [1, 71, 55]
Generated Node #0,2: 39:[1, 71, 55] Operation: 83-28=55
Exploring Operation: 71-1=70, Resulting Numbers: [83, 28, 70]
Generated Node #0,3: 39:[83, 28, 70] Operation: 71-1=70
Exploring Operation: 71-28=43, Resulting Numbers: [83, 1, 43]
Generated Node #0,4: 39:[83, 1, 43] Operation: 71-28=43
Moving to Node #0,0
Current State: 39:[1, 28, 12], Operations: ['83-71=12']
Exploring Operation: 1+12=13, Resulting Numbers: [28, 13]
Generated Node #0,0,0: 39:[28, 13] Operation: 1+12=13
Exploring Operation: 28+12=40, Resulting Numbers: [1, 40]
Generated Node #0,0,1: 39:[1, 40] Operation: 28+12=40
Exploring Operation: 1*28=28, Resulting Numbers: [12, 28]
Generated Node #0,0,2: 39:[12, 28] Operation: 1*28=28
Exploring Operation: 1+28=29, Resulting Numbers: [12, 29]
Generated Node #0,0,3: 39:[12, 29] Operation: 1+28=29
Exploring Operation: 28-12=16, Resulting Numbers: [1, 16]
Generated Node #0,0,4: 39:[1, 16] Operation: 28-12=16
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 39:[1, 40], Operations: ['83-71=12', '28+12=40']
Exploring Operation: 1*40=40, Resulting Numbers: [40]
40,39 unequal: No Solution
Exploring Operation: 40-1=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[83, 1, 71, 28], Operations: []
Exploring Operation: 83-71=12, Resulting Numbers: [1, 28, 12]
Generated Node #0,0: 39:[1, 28, 12] Operation: 83-71=12
Moving to Node #0,0
Current State: 39:[1, 28, 12], Operations: ['83-71=12']
Exploring Operation: 28+12=40, Resulting Numbers: [1, 40]
Generated Node #0,0,1: 39:[1, 40] Operation: 28+12=40
Moving to Node #0,0,1
Current State: 39:[1, 40], Operations: ['83-71=12', '28+12=40']
Exploring Operation: 40-1=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
14,
1,
17,
42
] | 48 | [
"42/14=3",
"17-1=16",
"3*16=48"
] | Current State: 48:[14, 1, 17, 42], Operations: []
Exploring Operation: 42/14=3, Resulting Numbers: [1, 17, 3]
Generated Node #2: [1, 17, 3] from Operation: 42/14=3
Current State: 48:[1, 17, 3], Operations: ['42/14=3']
Exploring Operation: 17-1=16, Resulting Numbers: [3, 16]
Generated Node #3: [3, 16] from Operation: 17-1=16
Current State: 48:[3, 16], Operations: ['42/14=3', '17-1=16']
Exploring Operation: 3*16=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[14, 1, 17, 42], Operations: []
Exploring Operation: 42/14=3, Resulting Numbers: [1, 17, 3]
Generated Node #0,0: 48:[1, 17, 3] Operation: 42/14=3
Exploring Operation: 42-17=25, Resulting Numbers: [14, 1, 25]
Generated Node #0,1: 48:[14, 1, 25] Operation: 42-17=25
Moving to Node #0,0
Current State: 48:[1, 17, 3], Operations: ['42/14=3']
Exploring Operation: 17-1=16, Resulting Numbers: [3, 16]
Generated Node #0,0,0: 48:[3, 16] Operation: 17-1=16
Exploring Operation: 1*17=17, Resulting Numbers: [3, 17]
Generated Node #0,0,1: 48:[3, 17] Operation: 1*17=17
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 48:[3, 16], Operations: ['42/14=3', '17-1=16']
Exploring Operation: 3*16=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[14, 1, 17, 42], Operations: []
Exploring Operation: 42/14=3, Resulting Numbers: [1, 17, 3]
Generated Node #0,0: 48:[1, 17, 3] Operation: 42/14=3
Moving to Node #0,0
Current State: 48:[1, 17, 3], Operations: ['42/14=3']
Exploring Operation: 17-1=16, Resulting Numbers: [3, 16]
Generated Node #0,0,0: 48:[3, 16] Operation: 17-1=16
Moving to Node #0,0,0
Current State: 48:[3, 16], Operations: ['42/14=3', '17-1=16']
Exploring Operation: 3*16=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
15,
51,
68,
46
] | 44 | [
"15+51=66",
"68-46=22",
"66-22=44"
] | Current State: 44:[15, 51, 68, 46], Operations: []
Exploring Operation: 15+51=66, Resulting Numbers: [68, 46, 66]
Generated Node #2: [68, 46, 66] from Operation: 15+51=66
Current State: 44:[68, 46, 66], Operations: ['15+51=66']
Exploring Operation: 68-46=22, Resulting Numbers: [66, 22]
Generated Node #3: [66, 22] from Operation: 68-46=22
Current State: 44:[66, 22], Operations: ['15+51=66', '68-46=22']
Exploring Operation: 66-22=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[15, 51, 68, 46], Operations: []
Exploring Operation: 51-46=5, Resulting Numbers: [15, 68, 5]
Generated Node #0,0: 44:[15, 68, 5] Operation: 51-46=5
Exploring Operation: 68-46=22, Resulting Numbers: [15, 51, 22]
Generated Node #0,1: 44:[15, 51, 22] Operation: 68-46=22
Exploring Operation: 68-51=17, Resulting Numbers: [15, 46, 17]
Generated Node #0,2: 44:[15, 46, 17] Operation: 68-51=17
Exploring Operation: 68-15=53, Resulting Numbers: [51, 46, 53]
Generated Node #0,3: 44:[51, 46, 53] Operation: 68-15=53
Start Sub Search at level 1: Moving to Node #0,1
Current State: 44:[15, 51, 22], Operations: ['68-46=22']
Exploring Operation: 51-22=29, Resulting Numbers: [15, 29]
Generated Node #0,1,0: 44:[15, 29] Operation: 51-22=29
Exploring Operation: 51-15=36, Resulting Numbers: [22, 36]
Generated Node #0,1,1: 44:[22, 36] Operation: 51-15=36
Exploring Operation: 22-15=7, Resulting Numbers: [51, 7]
Generated Node #0,1,2: 44:[51, 7] Operation: 22-15=7
Exploring Operation: 15+22=37, Resulting Numbers: [51, 37]
Generated Node #0,1,3: 44:[51, 37] Operation: 15+22=37
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 44:[22, 36], Operations: ['68-46=22', '51-15=36']
Exploring Operation: 36-22=14, Resulting Numbers: [14]
14,44 unequal: No Solution
Exploring Operation: 22*36=792, Resulting Numbers: [792]
792,44 unequal: No Solution
Exploring Operation: 22+36=58, Resulting Numbers: [58]
58,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 44:[51, 7], Operations: ['68-46=22', '22-15=7']
Exploring Operation: 51*7=357, Resulting Numbers: [357]
357,44 unequal: No Solution
Exploring Operation: 51+7=58, Resulting Numbers: [58]
58,44 unequal: No Solution
Exploring Operation: 51-7=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[15, 51, 68, 46], Operations: []
Exploring Operation: 68-46=22, Resulting Numbers: [15, 51, 22]
Generated Node #0,1: 44:[15, 51, 22] Operation: 68-46=22
Moving to Node #0,1
Current State: 44:[15, 51, 22], Operations: ['68-46=22']
Exploring Operation: 22-15=7, Resulting Numbers: [51, 7]
Generated Node #0,1,2: 44:[51, 7] Operation: 22-15=7
Moving to Node #0,1,2
Current State: 44:[51, 7], Operations: ['68-46=22', '22-15=7']
Exploring Operation: 51-7=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_4 | mult_heuristic |
[
39,
17,
99,
78
] | 43 | [
"39-17=22",
"99-78=21",
"22+21=43"
] | Current State: 43:[39, 17, 99, 78], Operations: []
Exploring Operation: 39-17=22, Resulting Numbers: [99, 78, 22]
Generated Node #2: [99, 78, 22] from Operation: 39-17=22
Current State: 43:[99, 78, 22], Operations: ['39-17=22']
Exploring Operation: 99-78=21, Resulting Numbers: [22, 21]
Generated Node #3: [22, 21] from Operation: 99-78=21
Current State: 43:[22, 21], Operations: ['39-17=22', '99-78=21']
Exploring Operation: 22+21=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[39, 17, 99, 78], Operations: []
Exploring Operation: 99-39=60, Resulting Numbers: [17, 78, 60]
Generated Node #0,0: 43:[17, 78, 60] Operation: 99-39=60
Exploring Operation: 99-17=82, Resulting Numbers: [39, 78, 82]
Generated Node #0,1: 43:[39, 78, 82] Operation: 99-17=82
Exploring Operation: 99-78=21, Resulting Numbers: [39, 17, 21]
Generated Node #0,2: 43:[39, 17, 21] Operation: 99-78=21
Start Sub Search at level 1: Moving to Node #0,2
Current State: 43:[39, 17, 21], Operations: ['99-78=21']
Exploring Operation: 39+17=56, Resulting Numbers: [21, 56]
Generated Node #0,2,0: 43:[21, 56] Operation: 39+17=56
Exploring Operation: 39-17=22, Resulting Numbers: [21, 22]
Generated Node #0,2,1: 43:[21, 22] Operation: 39-17=22
Exploring Operation: 17+21=38, Resulting Numbers: [39, 38]
Generated Node #0,2,2: 43:[39, 38] Operation: 17+21=38
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 43:[39, 38], Operations: ['99-78=21', '17+21=38']
Exploring Operation: 39*38=1482, Resulting Numbers: [1482]
1482,43 unequal: No Solution
Exploring Operation: 39-38=1, Resulting Numbers: [1]
1,43 unequal: No Solution
Exploring Operation: 39+38=77, Resulting Numbers: [77]
77,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 43:[21, 56], Operations: ['99-78=21', '39+17=56']
Exploring Operation: 21+56=77, Resulting Numbers: [77]
77,43 unequal: No Solution
Exploring Operation: 56-21=35, Resulting Numbers: [35]
35,43 unequal: No Solution
Exploring Operation: 21*56=1176, Resulting Numbers: [1176]
1176,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 43:[21, 22], Operations: ['99-78=21', '39-17=22']
Exploring Operation: 22-21=1, Resulting Numbers: [1]
1,43 unequal: No Solution
Exploring Operation: 21+22=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[39, 17, 99, 78], Operations: []
Exploring Operation: 99-78=21, Resulting Numbers: [39, 17, 21]
Generated Node #0,2: 43:[39, 17, 21] Operation: 99-78=21
Moving to Node #0,2
Current State: 43:[39, 17, 21], Operations: ['99-78=21']
Exploring Operation: 39-17=22, Resulting Numbers: [21, 22]
Generated Node #0,2,1: 43:[21, 22] Operation: 39-17=22
Moving to Node #0,2,1
Current State: 43:[21, 22], Operations: ['99-78=21', '39-17=22']
Exploring Operation: 21+22=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_3 | mult_heuristic |
[
81,
71,
54,
21
] | 65 | [
"81-71=10",
"54+21=75",
"75-10=65"
] | Current State: 65:[81, 71, 54, 21], Operations: []
Exploring Operation: 81-71=10, Resulting Numbers: [54, 21, 10]
Generated Node #2: [54, 21, 10] from Operation: 81-71=10
Current State: 65:[54, 21, 10], Operations: ['81-71=10']
Exploring Operation: 54+21=75, Resulting Numbers: [10, 75]
Generated Node #3: [10, 75] from Operation: 54+21=75
Current State: 65:[10, 75], Operations: ['81-71=10', '54+21=75']
Exploring Operation: 75-10=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[81, 71, 54, 21], Operations: []
Exploring Operation: 81-54=27, Resulting Numbers: [71, 21, 27]
Generated Node #0,0: 65:[71, 21, 27] Operation: 81-54=27
Exploring Operation: 81-71=10, Resulting Numbers: [54, 21, 10]
Generated Node #0,1: 65:[54, 21, 10] Operation: 81-71=10
Exploring Operation: 81-21=60, Resulting Numbers: [71, 54, 60]
Generated Node #0,2: 65:[71, 54, 60] Operation: 81-21=60
Moving to Node #0,1
Current State: 65:[54, 21, 10], Operations: ['81-71=10']
Exploring Operation: 54+21=75, Resulting Numbers: [10, 75]
Generated Node #0,1,0: 65:[10, 75] Operation: 54+21=75
Exploring Operation: 54+10=64, Resulting Numbers: [21, 64]
Generated Node #0,1,1: 65:[21, 64] Operation: 54+10=64
Exploring Operation: 21-10=11, Resulting Numbers: [54, 11]
Generated Node #0,1,2: 65:[54, 11] Operation: 21-10=11
Moving to Node #0,2
Current State: 65:[71, 54, 60], Operations: ['81-21=60']
Exploring Operation: 71-54=17, Resulting Numbers: [60, 17]
Generated Node #0,2,0: 65:[60, 17] Operation: 71-54=17
Exploring Operation: 60-54=6, Resulting Numbers: [71, 6]
Generated Node #0,2,1: 65:[71, 6] Operation: 60-54=6
Exploring Operation: 71-60=11, Resulting Numbers: [54, 11]
Generated Node #0,2,2: 65:[54, 11] Operation: 71-60=11
Moving to Node #0,0
Current State: 65:[71, 21, 27], Operations: ['81-54=27']
Exploring Operation: 21+27=48, Resulting Numbers: [71, 48]
Generated Node #0,0,0: 65:[71, 48] Operation: 21+27=48
Exploring Operation: 27-21=6, Resulting Numbers: [71, 6]
Generated Node #0,0,1: 65:[71, 6] Operation: 27-21=6
Exploring Operation: 71-21=50, Resulting Numbers: [27, 50]
Generated Node #0,0,2: 65:[27, 50] Operation: 71-21=50
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 65:[71, 6], Operations: ['81-54=27', '27-21=6']
Exploring Operation: 71-6=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[81, 71, 54, 21], Operations: []
Exploring Operation: 81-54=27, Resulting Numbers: [71, 21, 27]
Generated Node #0,0: 65:[71, 21, 27] Operation: 81-54=27
Moving to Node #0,0
Current State: 65:[71, 21, 27], Operations: ['81-54=27']
Exploring Operation: 27-21=6, Resulting Numbers: [71, 6]
Generated Node #0,0,1: 65:[71, 6] Operation: 27-21=6
Moving to Node #0,0,1
Current State: 65:[71, 6], Operations: ['81-54=27', '27-21=6']
Exploring Operation: 71-6=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_3 | mult_heuristic |
[
45,
44,
59,
82
] | 22 | [
"45-44=1",
"82-59=23",
"23-1=22"
] | Current State: 22:[45, 44, 59, 82], Operations: []
Exploring Operation: 45-44=1, Resulting Numbers: [59, 82, 1]
Generated Node #2: [59, 82, 1] from Operation: 45-44=1
Current State: 22:[59, 82, 1], Operations: ['45-44=1']
Exploring Operation: 82-59=23, Resulting Numbers: [1, 23]
Generated Node #3: [1, 23] from Operation: 82-59=23
Current State: 22:[1, 23], Operations: ['45-44=1', '82-59=23']
Exploring Operation: 23-1=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[45, 44, 59, 82], Operations: []
Exploring Operation: 82-59=23, Resulting Numbers: [45, 44, 23]
Generated Node #0,0: 22:[45, 44, 23] Operation: 82-59=23
Exploring Operation: 82-45=37, Resulting Numbers: [44, 59, 37]
Generated Node #0,1: 22:[44, 59, 37] Operation: 82-45=37
Moving to Node #0,0
Current State: 22:[45, 44, 23], Operations: ['82-59=23']
Exploring Operation: 45-23=22, Resulting Numbers: [44, 22]
Generated Node #0,0,0: 22:[44, 22] Operation: 45-23=22
Exploring Operation: 45-44=1, Resulting Numbers: [23, 1]
Generated Node #0,0,1: 22:[23, 1] Operation: 45-44=1
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 22:[23, 1], Operations: ['82-59=23', '45-44=1']
Exploring Operation: 23*1=23, Resulting Numbers: [23]
23,22 unequal: No Solution
Exploring Operation: 23-1=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[45, 44, 59, 82], Operations: []
Exploring Operation: 82-59=23, Resulting Numbers: [45, 44, 23]
Generated Node #0,0: 22:[45, 44, 23] Operation: 82-59=23
Moving to Node #0,0
Current State: 22:[45, 44, 23], Operations: ['82-59=23']
Exploring Operation: 45-44=1, Resulting Numbers: [23, 1]
Generated Node #0,0,1: 22:[23, 1] Operation: 45-44=1
Moving to Node #0,0,1
Current State: 22:[23, 1], Operations: ['82-59=23', '45-44=1']
Exploring Operation: 23-1=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
84,
72,
61,
87
] | 33 | [
"87-84=3",
"72-61=11",
"3*11=33"
] | Current State: 33:[84, 72, 61, 87], Operations: []
Exploring Operation: 87-84=3, Resulting Numbers: [72, 61, 3]
Generated Node #2: [72, 61, 3] from Operation: 87-84=3
Current State: 33:[72, 61, 3], Operations: ['87-84=3']
Exploring Operation: 72-61=11, Resulting Numbers: [3, 11]
Generated Node #3: [3, 11] from Operation: 72-61=11
Current State: 33:[3, 11], Operations: ['87-84=3', '72-61=11']
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[84, 72, 61, 87], Operations: []
Exploring Operation: 84-72=12, Resulting Numbers: [61, 87, 12]
Generated Node #0,0: 33:[61, 87, 12] Operation: 84-72=12
Exploring Operation: 87-84=3, Resulting Numbers: [72, 61, 3]
Generated Node #0,1: 33:[72, 61, 3] Operation: 87-84=3
Moving to Node #0,1
Current State: 33:[72, 61, 3], Operations: ['87-84=3']
Exploring Operation: 72-61=11, Resulting Numbers: [3, 11]
Generated Node #0,1,0: 33:[3, 11] Operation: 72-61=11
Exploring Operation: 72/3=24, Resulting Numbers: [61, 24]
Generated Node #0,1,1: 33:[61, 24] Operation: 72/3=24
Moving to Node #0,0
Current State: 33:[61, 87, 12], Operations: ['84-72=12']
Exploring Operation: 87-61=26, Resulting Numbers: [12, 26]
Generated Node #0,0,0: 33:[12, 26] Operation: 87-61=26
Exploring Operation: 61-12=49, Resulting Numbers: [87, 49]
Generated Node #0,0,1: 33:[87, 49] Operation: 61-12=49
Moving to Node #0,1,0
Current State: 33:[3, 11], Operations: ['87-84=3', '72-61=11']
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,33 unequal: No Solution
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[84, 72, 61, 87], Operations: []
Exploring Operation: 87-84=3, Resulting Numbers: [72, 61, 3]
Generated Node #0,1: 33:[72, 61, 3] Operation: 87-84=3
Moving to Node #0,1
Current State: 33:[72, 61, 3], Operations: ['87-84=3']
Exploring Operation: 72-61=11, Resulting Numbers: [3, 11]
Generated Node #0,1,0: 33:[3, 11] Operation: 72-61=11
Moving to Node #0,1,0
Current State: 33:[3, 11], Operations: ['87-84=3', '72-61=11']
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 0.989583 | hs_2 | mult_heuristic |
[
99,
50,
51,
33
] | 30 | [
"99+51=150",
"150/50=3",
"33-3=30"
] | Current State: 30:[99, 50, 51, 33], Operations: []
Exploring Operation: 99+51=150, Resulting Numbers: [50, 33, 150]
Generated Node #2: [50, 33, 150] from Operation: 99+51=150
Current State: 30:[50, 33, 150], Operations: ['99+51=150']
Exploring Operation: 150/50=3, Resulting Numbers: [33, 3]
Generated Node #3: [33, 3] from Operation: 150/50=3
Current State: 30:[33, 3], Operations: ['99+51=150', '150/50=3']
Exploring Operation: 33-3=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[99, 50, 51, 33], Operations: []
Exploring Operation: 99-51=48, Resulting Numbers: [50, 33, 48]
Generated Node #0,0: 30:[50, 33, 48] Operation: 99-51=48
Exploring Operation: 99/33=3, Resulting Numbers: [50, 51, 3]
Generated Node #0,1: 30:[50, 51, 3] Operation: 99/33=3
Exploring Operation: 99-50=49, Resulting Numbers: [51, 33, 49]
Generated Node #0,2: 30:[51, 33, 49] Operation: 99-50=49
Exploring Operation: 51-50=1, Resulting Numbers: [99, 33, 1]
Generated Node #0,3: 30:[99, 33, 1] Operation: 51-50=1
Moving to Node #0,0
Current State: 30:[50, 33, 48], Operations: ['99-51=48']
Exploring Operation: 50-48=2, Resulting Numbers: [33, 2]
Generated Node #0,0,0: 30:[33, 2] Operation: 50-48=2
Exploring Operation: 50-33=17, Resulting Numbers: [48, 17]
Generated Node #0,0,1: 30:[48, 17] Operation: 50-33=17
Exploring Operation: 48-33=15, Resulting Numbers: [50, 15]
Generated Node #0,0,2: 30:[50, 15] Operation: 48-33=15
Exploring Operation: 50+33=83, Resulting Numbers: [48, 83]
Generated Node #0,0,3: 30:[48, 83] Operation: 50+33=83
Moving to Node #0,1
Current State: 30:[50, 51, 3], Operations: ['99/33=3']
Exploring Operation: 50-3=47, Resulting Numbers: [51, 47]
Generated Node #0,1,0: 30:[51, 47] Operation: 50-3=47
Exploring Operation: 51-50=1, Resulting Numbers: [3, 1]
Generated Node #0,1,1: 30:[3, 1] Operation: 51-50=1
Exploring Operation: 51/3=17, Resulting Numbers: [50, 17]
Generated Node #0,1,2: 30:[50, 17] Operation: 51/3=17
Exploring Operation: 51-3=48, Resulting Numbers: [50, 48]
Generated Node #0,1,3: 30:[50, 48] Operation: 51-3=48
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 30:[3, 1], Operations: ['99/33=3', '51-50=1']
Exploring Operation: 3*1=3, Resulting Numbers: [3]
3,30 unequal: No Solution
Exploring Operation: 3+1=4, Resulting Numbers: [4]
4,30 unequal: No Solution
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,30 unequal: No Solution
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 30:[50, 17], Operations: ['99/33=3', '51/3=17']
Exploring Operation: 50+17=67, Resulting Numbers: [67]
67,30 unequal: No Solution
Exploring Operation: 50*17=850, Resulting Numbers: [850]
850,30 unequal: No Solution
Exploring Operation: 50-17=33, Resulting Numbers: [33]
33,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 30:[51, 47], Operations: ['99/33=3', '50-3=47']
Exploring Operation: 51*47=2397, Resulting Numbers: [2397]
2397,30 unequal: No Solution
Exploring Operation: 51+47=98, Resulting Numbers: [98]
98,30 unequal: No Solution
Exploring Operation: 51-47=4, Resulting Numbers: [4]
4,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 30:[50, 48], Operations: ['99/33=3', '51-3=48']
Exploring Operation: 50+48=98, Resulting Numbers: [98]
98,30 unequal: No Solution
Exploring Operation: 50*48=2400, Resulting Numbers: [2400]
2400,30 unequal: No Solution
Exploring Operation: 50-48=2, Resulting Numbers: [2]
2,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 30:[51, 33, 49], Operations: ['99-50=49']
Exploring Operation: 49-33=16, Resulting Numbers: [51, 16]
Generated Node #0,2,0: 30:[51, 16] Operation: 49-33=16
Exploring Operation: 51-33=18, Resulting Numbers: [49, 18]
Generated Node #0,2,1: 30:[49, 18] Operation: 51-33=18
Exploring Operation: 51+33=84, Resulting Numbers: [49, 84]
Generated Node #0,2,2: 30:[49, 84] Operation: 51+33=84
Exploring Operation: 51-49=2, Resulting Numbers: [33, 2]
Generated Node #0,2,3: 30:[33, 2] Operation: 51-49=2
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 30:[33, 2], Operations: ['99-50=49', '51-49=2']
Exploring Operation: 33*2=66, Resulting Numbers: [66]
66,30 unequal: No Solution
Exploring Operation: 33+2=35, Resulting Numbers: [35]
35,30 unequal: No Solution
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 30:[51, 16], Operations: ['99-50=49', '49-33=16']
Exploring Operation: 51*16=816, Resulting Numbers: [816]
816,30 unequal: No Solution
Exploring Operation: 51+16=67, Resulting Numbers: [67]
67,30 unequal: No Solution
Exploring Operation: 51-16=35, Resulting Numbers: [35]
35,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 30:[49, 18], Operations: ['99-50=49', '51-33=18']
Exploring Operation: 49-18=31, Resulting Numbers: [31]
31,30 unequal: No Solution
Exploring Operation: 49*18=882, Resulting Numbers: [882]
882,30 unequal: No Solution
Exploring Operation: 49+18=67, Resulting Numbers: [67]
67,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 30:[49, 84], Operations: ['99-50=49', '51+33=84']
Exploring Operation: 49+84=133, Resulting Numbers: [133]
133,30 unequal: No Solution
Exploring Operation: 84-49=35, Resulting Numbers: [35]
35,30 unequal: No Solution
Exploring Operation: 49*84=4116, Resulting Numbers: [4116]
4116,30 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: 30:[99, 33, 1], Operations: ['51-50=1']
Exploring Operation: 33-1=32, Resulting Numbers: [99, 32]
Generated Node #0,3,0: 30:[99, 32] Operation: 33-1=32
Exploring Operation: 99-33=66, Resulting Numbers: [1, 66]
Generated Node #0,3,1: 30:[1, 66] Operation: 99-33=66
Exploring Operation: 99-1=98, Resulting Numbers: [33, 98]
Generated Node #0,3,2: 30:[33, 98] Operation: 99-1=98
Exploring Operation: 99/33=3, Resulting Numbers: [1, 3]
Generated Node #0,3,3: 30:[1, 3] Operation: 99/33=3
Moving to Node #0,3,3
Current State: 30:[1, 3], Operations: ['51-50=1', '99/33=3']
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,30 unequal: No Solution
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,30 unequal: No Solution
Exploring Operation: 1*3=3, Resulting Numbers: [3]
3,30 unequal: No Solution
Exploring Operation: 1+3=4, Resulting Numbers: [4]
4,30 unequal: No Solution
Moving to Node #0,0,0
Current State: 30:[33, 2], Operations: ['99-51=48', '50-48=2']
Exploring Operation: 33+2=35, Resulting Numbers: [35]
35,30 unequal: No Solution
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,30 unequal: No Solution
Exploring Operation: 33*2=66, Resulting Numbers: [66]
66,30 unequal: No Solution
Moving to Node #0,0,2
Current State: 30:[50, 15], Operations: ['99-51=48', '48-33=15']
Exploring Operation: 50+15=65, Resulting Numbers: [65]
65,30 unequal: No Solution
Exploring Operation: 50-15=35, Resulting Numbers: [35]
35,30 unequal: No Solution
Exploring Operation: 50*15=750, Resulting Numbers: [750]
750,30 unequal: No Solution
Moving to Node #0,0,1
Current State: 30:[48, 17], Operations: ['99-51=48', '50-33=17']
Exploring Operation: 48-17=31, Resulting Numbers: [31]
31,30 unequal: No Solution
Exploring Operation: 48*17=816, Resulting Numbers: [816]
816,30 unequal: No Solution
Exploring Operation: 48+17=65, Resulting Numbers: [65]
65,30 unequal: No Solution
Moving to Node #0,3,1
Current State: 30:[1, 66], Operations: ['51-50=1', '99-33=66']
Exploring Operation: 1*66=66, Resulting Numbers: [66]
66,30 unequal: No Solution
Exploring Operation: 66-1=65, Resulting Numbers: [65]
65,30 unequal: No Solution
Exploring Operation: 66/1=66, Resulting Numbers: [66]
66,30 unequal: No Solution
Exploring Operation: 1+66=67, Resulting Numbers: [67]
67,30 unequal: No Solution
Moving to Node #0,3,0
Current State: 30:[99, 32], Operations: ['51-50=1', '33-1=32']
Exploring Operation: 99-32=67, Resulting Numbers: [67]
67,30 unequal: No Solution
Exploring Operation: 99+32=131, Resulting Numbers: [131]
131,30 unequal: No Solution
Exploring Operation: 99*32=3168, Resulting Numbers: [3168]
3168,30 unequal: No Solution
Moving to Node #0,3,2
Current State: 30:[33, 98], Operations: ['51-50=1', '99-1=98']
Exploring Operation: 33*98=3234, Resulting Numbers: [3234]
3234,30 unequal: No Solution
Exploring Operation: 98-33=65, Resulting Numbers: [65]
65,30 unequal: No Solution
Exploring Operation: 33+98=131, Resulting Numbers: [131]
131,30 unequal: No Solution
Moving to Node #0,0,3
Current State: 30:[48, 83], Operations: ['99-51=48', '50+33=83']
Exploring Operation: 48*83=3984, Resulting Numbers: [3984]
3984,30 unequal: No Solution
Exploring Operation: 83-48=35, Resulting Numbers: [35]
35,30 unequal: No Solution
Exploring Operation: 48+83=131, Resulting Numbers: [131]
131,30 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
52,
84,
28,
54
] | 14 | [
"54-52=2",
"84/2=42",
"42-28=14"
] | Current State: 14:[52, 84, 28, 54], Operations: []
Exploring Operation: 54-52=2, Resulting Numbers: [84, 28, 2]
Generated Node #2: [84, 28, 2] from Operation: 54-52=2
Current State: 14:[84, 28, 2], Operations: ['54-52=2']
Exploring Operation: 84/2=42, Resulting Numbers: [28, 42]
Generated Node #3: [28, 42] from Operation: 84/2=42
Current State: 14:[28, 42], Operations: ['54-52=2', '84/2=42']
Exploring Operation: 42-28=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[52, 84, 28, 54], Operations: []
Exploring Operation: 84/28=3, Resulting Numbers: [52, 54, 3]
Generated Node #0,0: 14:[52, 54, 3] Operation: 84/28=3
Exploring Operation: 84-54=30, Resulting Numbers: [52, 28, 30]
Generated Node #0,1: 14:[52, 28, 30] Operation: 84-54=30
Exploring Operation: 84-52=32, Resulting Numbers: [28, 54, 32]
Generated Node #0,2: 14:[28, 54, 32] Operation: 84-52=32
Start Sub Search at level 1: Moving to Node #0,1
Current State: 14:[52, 28, 30], Operations: ['84-54=30']
Exploring Operation: 52-28=24, Resulting Numbers: [30, 24]
Generated Node #0,1,0: 14:[30, 24] Operation: 52-28=24
Exploring Operation: 30-28=2, Resulting Numbers: [52, 2]
Generated Node #0,1,1: 14:[52, 2] Operation: 30-28=2
Exploring Operation: 52-30=22, Resulting Numbers: [28, 22]
Generated Node #0,1,2: 14:[28, 22] Operation: 52-30=22
Moving to Node #0,1,2
Current State: 14:[28, 22], Operations: ['84-54=30', '52-30=22']
Exploring Operation: 28-22=6, Resulting Numbers: [6]
6,14 unequal: No Solution
Exploring Operation: 28+22=50, Resulting Numbers: [50]
50,14 unequal: No Solution
Exploring Operation: 28*22=616, Resulting Numbers: [616]
616,14 unequal: No Solution
Moving to Node #0,1,0
Current State: 14:[30, 24], Operations: ['84-54=30', '52-28=24']
Exploring Operation: 30+24=54, Resulting Numbers: [54]
54,14 unequal: No Solution
Exploring Operation: 30-24=6, Resulting Numbers: [6]
6,14 unequal: No Solution
Exploring Operation: 30*24=720, Resulting Numbers: [720]
720,14 unequal: No Solution
Moving to Node #0,1,1
Current State: 14:[52, 2], Operations: ['84-54=30', '30-28=2']
Exploring Operation: 52/2=26, Resulting Numbers: [26]
26,14 unequal: No Solution
Exploring Operation: 52-2=50, Resulting Numbers: [50]
50,14 unequal: No Solution
Exploring Operation: 52+2=54, Resulting Numbers: [54]
54,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 14:[28, 54, 32], Operations: ['84-52=32']
Exploring Operation: 32-28=4, Resulting Numbers: [54, 4]
Generated Node #0,2,0: 14:[54, 4] Operation: 32-28=4
Exploring Operation: 54-28=26, Resulting Numbers: [32, 26]
Generated Node #0,2,1: 14:[32, 26] Operation: 54-28=26
Exploring Operation: 54-32=22, Resulting Numbers: [28, 22]
Generated Node #0,2,2: 14:[28, 22] Operation: 54-32=22
Moving to Node #0,2,2
Current State: 14:[28, 22], Operations: ['84-52=32', '54-32=22']
Exploring Operation: 28+22=50, Resulting Numbers: [50]
50,14 unequal: No Solution
Exploring Operation: 28-22=6, Resulting Numbers: [6]
6,14 unequal: No Solution
Exploring Operation: 28*22=616, Resulting Numbers: [616]
616,14 unequal: No Solution
Moving to Node #0,2,1
Current State: 14:[32, 26], Operations: ['84-52=32', '54-28=26']
Exploring Operation: 32-26=6, Resulting Numbers: [6]
6,14 unequal: No Solution
Exploring Operation: 32+26=58, Resulting Numbers: [58]
58,14 unequal: No Solution
Exploring Operation: 32*26=832, Resulting Numbers: [832]
832,14 unequal: No Solution
Moving to Node #0,2,0
Current State: 14:[54, 4], Operations: ['84-52=32', '32-28=4']
Exploring Operation: 54+4=58, Resulting Numbers: [58]
58,14 unequal: No Solution
Exploring Operation: 54-4=50, Resulting Numbers: [50]
50,14 unequal: No Solution
Exploring Operation: 54*4=216, Resulting Numbers: [216]
216,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[52, 54, 3], Operations: ['84/28=3']
Exploring Operation: 52-3=49, Resulting Numbers: [54, 49]
Generated Node #0,0,0: 14:[54, 49] Operation: 52-3=49
Exploring Operation: 54/3=18, Resulting Numbers: [52, 18]
Generated Node #0,0,1: 14:[52, 18] Operation: 54/3=18
Exploring Operation: 54-52=2, Resulting Numbers: [3, 2]
Generated Node #0,0,2: 14:[3, 2] Operation: 54-52=2
Moving to Node #0,0,2
Current State: 14:[3, 2], Operations: ['84/28=3', '54-52=2']
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,14 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,14 unequal: No Solution
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,14 unequal: No Solution
Moving to Node #0,0,1
Current State: 14:[52, 18], Operations: ['84/28=3', '54/3=18']
Exploring Operation: 52*18=936, Resulting Numbers: [936]
936,14 unequal: No Solution
Exploring Operation: 52+18=70, Resulting Numbers: [70]
70,14 unequal: No Solution
Exploring Operation: 52-18=34, Resulting Numbers: [34]
34,14 unequal: No Solution
Moving to Node #0,0,0
Current State: 14:[54, 49], Operations: ['84/28=3', '52-3=49']
Exploring Operation: 54+49=103, Resulting Numbers: [103]
103,14 unequal: No Solution
Exploring Operation: 54*49=2646, Resulting Numbers: [2646]
2646,14 unequal: No Solution
Exploring Operation: 54-49=5, Resulting Numbers: [5]
5,14 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 |
[
36,
9,
6,
61
] | 43 | [
"36+61=97",
"9*6=54",
"97-54=43"
] | Current State: 43:[36, 9, 6, 61], Operations: []
Exploring Operation: 36+61=97, Resulting Numbers: [9, 6, 97]
Generated Node #2: [9, 6, 97] from Operation: 36+61=97
Current State: 43:[9, 6, 97], Operations: ['36+61=97']
Exploring Operation: 9*6=54, Resulting Numbers: [97, 54]
Generated Node #3: [97, 54] from Operation: 9*6=54
Current State: 43:[97, 54], Operations: ['36+61=97', '9*6=54']
Exploring Operation: 97-54=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[36, 9, 6, 61], Operations: []
Exploring Operation: 36+6=42, Resulting Numbers: [9, 61, 42]
Generated Node #0,0: 43:[9, 61, 42] Operation: 36+6=42
Exploring Operation: 9*6=54, Resulting Numbers: [36, 61, 54]
Generated Node #0,1: 43:[36, 61, 54] Operation: 9*6=54
Start Sub Search at level 1: Moving to Node #0,1
Current State: 43:[36, 61, 54], Operations: ['9*6=54']
Exploring Operation: 61-36=25, Resulting Numbers: [54, 25]
Generated Node #0,1,0: 43:[54, 25] Operation: 61-36=25
Exploring Operation: 54-36=18, Resulting Numbers: [61, 18]
Generated Node #0,1,1: 43:[61, 18] Operation: 54-36=18
Moving to Node #0,1,0
Current State: 43:[54, 25], Operations: ['9*6=54', '61-36=25']
Exploring Operation: 54+25=79, Resulting Numbers: [79]
79,43 unequal: No Solution
Exploring Operation: 54-25=29, Resulting Numbers: [29]
29,43 unequal: No Solution
Moving to Node #0,1,1
Current State: 43:[61, 18], Operations: ['9*6=54', '54-36=18']
Exploring Operation: 61-18=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[36, 9, 6, 61], Operations: []
Exploring Operation: 9*6=54, Resulting Numbers: [36, 61, 54]
Generated Node #0,1: 43:[36, 61, 54] Operation: 9*6=54
Moving to Node #0,1
Current State: 43:[36, 61, 54], Operations: ['9*6=54']
Exploring Operation: 54-36=18, Resulting Numbers: [61, 18]
Generated Node #0,1,1: 43:[61, 18] Operation: 54-36=18
Moving to Node #0,1,1
Current State: 43:[61, 18], Operations: ['9*6=54', '54-36=18']
Exploring Operation: 61-18=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
2,
70,
13,
25
] | 71 | [
"2*13=26",
"70-25=45",
"26+45=71"
] | Current State: 71:[2, 70, 13, 25], Operations: []
Exploring Operation: 2*13=26, Resulting Numbers: [70, 25, 26]
Generated Node #2: [70, 25, 26] from Operation: 2*13=26
Current State: 71:[70, 25, 26], Operations: ['2*13=26']
Exploring Operation: 70-25=45, Resulting Numbers: [26, 45]
Generated Node #3: [26, 45] from Operation: 70-25=45
Current State: 71:[26, 45], Operations: ['2*13=26', '70-25=45']
Exploring Operation: 26+45=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[2, 70, 13, 25], Operations: []
Exploring Operation: 2+25=27, Resulting Numbers: [70, 13, 27]
Generated Node #0,0: 71:[70, 13, 27] Operation: 2+25=27
Exploring Operation: 2*13=26, Resulting Numbers: [70, 25, 26]
Generated Node #0,1: 71:[70, 25, 26] Operation: 2*13=26
Exploring Operation: 2+13=15, Resulting Numbers: [70, 25, 15]
Generated Node #0,2: 71:[70, 25, 15] Operation: 2+13=15
Exploring Operation: 2*25=50, Resulting Numbers: [70, 13, 50]
Generated Node #0,3: 71:[70, 13, 50] Operation: 2*25=50
Moving to Node #0,3
Current State: 71:[70, 13, 50], Operations: ['2*25=50']
Exploring Operation: 50-13=37, Resulting Numbers: [70, 37]
Generated Node #0,3,0: 71:[70, 37] Operation: 50-13=37
Exploring Operation: 70-13=57, Resulting Numbers: [50, 57]
Generated Node #0,3,1: 71:[50, 57] Operation: 70-13=57
Exploring Operation: 13+50=63, Resulting Numbers: [70, 63]
Generated Node #0,3,2: 71:[70, 63] Operation: 13+50=63
Exploring Operation: 70+13=83, Resulting Numbers: [50, 83]
Generated Node #0,3,3: 71:[50, 83] Operation: 70+13=83
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 71:[70, 63], Operations: ['2*25=50', '13+50=63']
Exploring Operation: 70+63=133, Resulting Numbers: [133]
133,71 unequal: No Solution
Exploring Operation: 70-63=7, Resulting Numbers: [7]
7,71 unequal: No Solution
Exploring Operation: 70*63=4410, Resulting Numbers: [4410]
4410,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 71:[50, 83], Operations: ['2*25=50', '70+13=83']
Exploring Operation: 50+83=133, Resulting Numbers: [133]
133,71 unequal: No Solution
Exploring Operation: 50*83=4150, Resulting Numbers: [4150]
4150,71 unequal: No Solution
Exploring Operation: 83-50=33, Resulting Numbers: [33]
33,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 71:[70, 37], Operations: ['2*25=50', '50-13=37']
Exploring Operation: 70-37=33, Resulting Numbers: [33]
33,71 unequal: No Solution
Exploring Operation: 70+37=107, Resulting Numbers: [107]
107,71 unequal: No Solution
Exploring Operation: 70*37=2590, Resulting Numbers: [2590]
2590,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 71:[50, 57], Operations: ['2*25=50', '70-13=57']
Exploring Operation: 57-50=7, Resulting Numbers: [7]
7,71 unequal: No Solution
Exploring Operation: 50*57=2850, Resulting Numbers: [2850]
2850,71 unequal: No Solution
Exploring Operation: 50+57=107, Resulting Numbers: [107]
107,71 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: 71:[70, 25, 26], Operations: ['2*13=26']
Exploring Operation: 70+25=95, Resulting Numbers: [26, 95]
Generated Node #0,1,0: 71:[26, 95] Operation: 70+25=95
Exploring Operation: 25+26=51, Resulting Numbers: [70, 51]
Generated Node #0,1,1: 71:[70, 51] Operation: 25+26=51
Exploring Operation: 70-25=45, Resulting Numbers: [26, 45]
Generated Node #0,1,2: 71:[26, 45] Operation: 70-25=45
Exploring Operation: 70+26=96, Resulting Numbers: [25, 96]
Generated Node #0,1,3: 71:[25, 96] Operation: 70+26=96
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 71:[70, 51], Operations: ['2*13=26', '25+26=51']
Exploring Operation: 70+51=121, Resulting Numbers: [121]
121,71 unequal: No Solution
Exploring Operation: 70*51=3570, Resulting Numbers: [3570]
3570,71 unequal: No Solution
Exploring Operation: 70-51=19, Resulting Numbers: [19]
19,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 71:[26, 95], Operations: ['2*13=26', '70+25=95']
Exploring Operation: 26*95=2470, Resulting Numbers: [2470]
2470,71 unequal: No Solution
Exploring Operation: 26+95=121, Resulting Numbers: [121]
121,71 unequal: No Solution
Exploring Operation: 95-26=69, Resulting Numbers: [69]
69,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 71:[26, 45], Operations: ['2*13=26', '70-25=45']
Exploring Operation: 26*45=1170, Resulting Numbers: [1170]
1170,71 unequal: No Solution
Exploring Operation: 45-26=19, Resulting Numbers: [19]
19,71 unequal: No Solution
Exploring Operation: 26+45=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[2, 70, 13, 25], Operations: []
Exploring Operation: 2*13=26, Resulting Numbers: [70, 25, 26]
Generated Node #0,1: 71:[70, 25, 26] Operation: 2*13=26
Moving to Node #0,1
Current State: 71:[70, 25, 26], Operations: ['2*13=26']
Exploring Operation: 70-25=45, Resulting Numbers: [26, 45]
Generated Node #0,1,2: 71:[26, 45] Operation: 70-25=45
Moving to Node #0,1,2
Current State: 71:[26, 45], Operations: ['2*13=26', '70-25=45']
Exploring Operation: 26+45=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_4 | mult_heuristic |
[
76,
8,
3,
1
] | 74 | [
"3+1=4",
"8/4=2",
"76-2=74"
] | Current State: 74:[76, 8, 3, 1], Operations: []
Exploring Operation: 3+1=4, Resulting Numbers: [76, 8, 4]
Generated Node #2: [76, 8, 4] from Operation: 3+1=4
Current State: 74:[76, 8, 4], Operations: ['3+1=4']
Exploring Operation: 8/4=2, Resulting Numbers: [76, 2]
Generated Node #3: [76, 2] from Operation: 8/4=2
Current State: 74:[76, 2], Operations: ['3+1=4', '8/4=2']
Exploring Operation: 76-2=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[76, 8, 3, 1], Operations: []
Exploring Operation: 8-1=7, Resulting Numbers: [76, 3, 7]
Generated Node #0,0: 74:[76, 3, 7] Operation: 8-1=7
Exploring Operation: 76-8=68, Resulting Numbers: [3, 1, 68]
Generated Node #0,1: 74:[3, 1, 68] Operation: 76-8=68
Exploring Operation: 76-3=73, Resulting Numbers: [8, 1, 73]
Generated Node #0,2: 74:[8, 1, 73] Operation: 76-3=73
Exploring Operation: 76-1=75, Resulting Numbers: [8, 3, 75]
Generated Node #0,3: 74:[8, 3, 75] Operation: 76-1=75
Exploring Operation: 8-3=5, Resulting Numbers: [76, 1, 5]
Generated Node #0,4: 74:[76, 1, 5] Operation: 8-3=5
Moving to Node #0,4
Current State: 74:[76, 1, 5], Operations: ['8-3=5']
Exploring Operation: 76-5=71, Resulting Numbers: [1, 71]
Generated Node #0,4,0: 74:[1, 71] Operation: 76-5=71
Exploring Operation: 76*1=76, Resulting Numbers: [5, 76]
Generated Node #0,4,1: 74:[5, 76] Operation: 76*1=76
Exploring Operation: 76/1=76, Resulting Numbers: [5, 76]
Generated Node #0,4,2: 74:[5, 76] Operation: 76/1=76
Exploring Operation: 76-1=75, Resulting Numbers: [5, 75]
Generated Node #0,4,3: 74:[5, 75] Operation: 76-1=75
Exploring Operation: 5-1=4, Resulting Numbers: [76, 4]
Generated Node #0,4,4: 74:[76, 4] Operation: 5-1=4
Moving to Node #0,1
Current State: 74:[3, 1, 68], Operations: ['76-8=68']
Exploring Operation: 3*1=3, Resulting Numbers: [68, 3]
Generated Node #0,1,0: 74:[68, 3] Operation: 3*1=3
Exploring Operation: 3/1=3, Resulting Numbers: [68, 3]
Generated Node #0,1,1: 74:[68, 3] Operation: 3/1=3
Exploring Operation: 3+68=71, Resulting Numbers: [1, 71]
Generated Node #0,1,2: 74:[1, 71] Operation: 3+68=71
Exploring Operation: 3-1=2, Resulting Numbers: [68, 2]
Generated Node #0,1,3: 74:[68, 2] Operation: 3-1=2
Exploring Operation: 1+68=69, Resulting Numbers: [3, 69]
Generated Node #0,1,4: 74:[3, 69] Operation: 1+68=69
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 74:[1, 71], Operations: ['76-8=68', '3+68=71']
Exploring Operation: 71/1=71, Resulting Numbers: [71]
71,74 unequal: No Solution
Exploring Operation: 1+71=72, Resulting Numbers: [72]
72,74 unequal: No Solution
Exploring Operation: 1*71=71, Resulting Numbers: [71]
71,74 unequal: No Solution
Exploring Operation: 71-1=70, Resulting Numbers: [70]
70,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 74:[68, 2], Operations: ['76-8=68', '3-1=2']
Exploring Operation: 68/2=34, Resulting Numbers: [34]
34,74 unequal: No Solution
Exploring Operation: 68+2=70, Resulting Numbers: [70]
70,74 unequal: No Solution
Exploring Operation: 68-2=66, Resulting Numbers: [66]
66,74 unequal: No Solution
Exploring Operation: 68*2=136, Resulting Numbers: [136]
136,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 74:[3, 69], Operations: ['76-8=68', '1+68=69']
Exploring Operation: 69/3=23, Resulting Numbers: [23]
23,74 unequal: No Solution
Exploring Operation: 3+69=72, Resulting Numbers: [72]
72,74 unequal: No Solution
Exploring Operation: 69-3=66, Resulting Numbers: [66]
66,74 unequal: No Solution
Exploring Operation: 3*69=207, Resulting Numbers: [207]
207,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 74:[68, 3], Operations: ['76-8=68', '3*1=3']
Exploring Operation: 68+3=71, Resulting Numbers: [71]
71,74 unequal: No Solution
Exploring Operation: 68*3=204, Resulting Numbers: [204]
204,74 unequal: No Solution
Exploring Operation: 68-3=65, Resulting Numbers: [65]
65,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 74:[68, 3], Operations: ['76-8=68', '3/1=3']
Exploring Operation: 68-3=65, Resulting Numbers: [65]
65,74 unequal: No Solution
Exploring Operation: 68+3=71, Resulting Numbers: [71]
71,74 unequal: No Solution
Exploring Operation: 68*3=204, Resulting Numbers: [204]
204,74 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: 74:[8, 3, 75], Operations: ['76-1=75']
Exploring Operation: 8+3=11, Resulting Numbers: [75, 11]
Generated Node #0,3,0: 74:[75, 11] Operation: 8+3=11
Exploring Operation: 75-3=72, Resulting Numbers: [8, 72]
Generated Node #0,3,1: 74:[8, 72] Operation: 75-3=72
Exploring Operation: 8-3=5, Resulting Numbers: [75, 5]
Generated Node #0,3,2: 74:[75, 5] Operation: 8-3=5
Exploring Operation: 8+75=83, Resulting Numbers: [3, 83]
Generated Node #0,3,3: 74:[3, 83] Operation: 8+75=83
Exploring Operation: 75-8=67, Resulting Numbers: [3, 67]
Generated Node #0,3,4: 74:[3, 67] Operation: 75-8=67
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 74:[75, 5], Operations: ['76-1=75', '8-3=5']
Exploring Operation: 75-5=70, Resulting Numbers: [70]
70,74 unequal: No Solution
Exploring Operation: 75/5=15, Resulting Numbers: [15]
15,74 unequal: No Solution
Exploring Operation: 75*5=375, Resulting Numbers: [375]
375,74 unequal: No Solution
Exploring Operation: 75+5=80, Resulting Numbers: [80]
80,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 74:[8, 72], Operations: ['76-1=75', '75-3=72']
Exploring Operation: 8*72=576, Resulting Numbers: [576]
576,74 unequal: No Solution
Exploring Operation: 72/8=9, Resulting Numbers: [9]
9,74 unequal: No Solution
Exploring Operation: 8+72=80, Resulting Numbers: [80]
80,74 unequal: No Solution
Exploring Operation: 72-8=64, Resulting Numbers: [64]
64,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 74:[3, 67], Operations: ['76-1=75', '75-8=67']
Exploring Operation: 67-3=64, Resulting Numbers: [64]
64,74 unequal: No Solution
Exploring Operation: 3+67=70, Resulting Numbers: [70]
70,74 unequal: No Solution
Exploring Operation: 3*67=201, Resulting Numbers: [201]
201,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 74:[75, 11], Operations: ['76-1=75', '8+3=11']
Exploring Operation: 75-11=64, Resulting Numbers: [64]
64,74 unequal: No Solution
Exploring Operation: 75+11=86, Resulting Numbers: [86]
86,74 unequal: No Solution
Exploring Operation: 75*11=825, Resulting Numbers: [825]
825,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 74:[3, 83], Operations: ['76-1=75', '8+75=83']
Exploring Operation: 83-3=80, Resulting Numbers: [80]
80,74 unequal: No Solution
Exploring Operation: 3+83=86, Resulting Numbers: [86]
86,74 unequal: No Solution
Exploring Operation: 3*83=249, Resulting Numbers: [249]
249,74 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: 74:[76, 3, 7], Operations: ['8-1=7']
Exploring Operation: 7-3=4, Resulting Numbers: [76, 4]
Generated Node #0,0,0: 74:[76, 4] Operation: 7-3=4
Exploring Operation: 76+3=79, Resulting Numbers: [7, 79]
Generated Node #0,0,1: 74:[7, 79] Operation: 76+3=79
Exploring Operation: 76-7=69, Resulting Numbers: [3, 69]
Generated Node #0,0,2: 74:[3, 69] Operation: 76-7=69
Exploring Operation: 76+7=83, Resulting Numbers: [3, 83]
Generated Node #0,0,3: 74:[3, 83] Operation: 76+7=83
Exploring Operation: 76-3=73, Resulting Numbers: [7, 73]
Generated Node #0,0,4: 74:[7, 73] Operation: 76-3=73
Moving to Node #0,2
Current State: 74:[8, 1, 73], Operations: ['76-3=73']
Exploring Operation: 8-1=7, Resulting Numbers: [73, 7]
Generated Node #0,2,0: 74:[73, 7] Operation: 8-1=7
Exploring Operation: 8/1=8, Resulting Numbers: [73, 8]
Generated Node #0,2,1: 74:[73, 8] Operation: 8/1=8
Exploring Operation: 8*1=8, Resulting Numbers: [73, 8]
Generated Node #0,2,2: 74:[73, 8] Operation: 8*1=8
Exploring Operation: 1+73=74, Resulting Numbers: [8, 74]
Generated Node #0,2,3: 74:[8, 74] Operation: 1+73=74
Exploring Operation: 1*73=73, Resulting Numbers: [8, 73]
Generated Node #0,2,4: 74:[8, 73] Operation: 1*73=73
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 74:[73, 7], Operations: ['76-3=73', '8-1=7']
Exploring Operation: 73+7=80, Resulting Numbers: [80]
80,74 unequal: No Solution
Exploring Operation: 73*7=511, Resulting Numbers: [511]
511,74 unequal: No Solution
Exploring Operation: 73-7=66, Resulting Numbers: [66]
66,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 74:[8, 74], Operations: ['76-3=73', '1+73=74']
Exploring Operation: 8*74=592, Resulting Numbers: [592]
592,74 unequal: No Solution
Exploring Operation: 74-8=66, Resulting Numbers: [66]
66,74 unequal: No Solution
Exploring Operation: 8+74=82, Resulting Numbers: [82]
82,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 74:[73, 8], Operations: ['76-3=73', '8/1=8']
Exploring Operation: 73+8=81, Resulting Numbers: [81]
81,74 unequal: No Solution
Exploring Operation: 73*8=584, Resulting Numbers: [584]
584,74 unequal: No Solution
Exploring Operation: 73-8=65, Resulting Numbers: [65]
65,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 74:[73, 8], Operations: ['76-3=73', '8*1=8']
Exploring Operation: 73-8=65, Resulting Numbers: [65]
65,74 unequal: No Solution
Exploring Operation: 73*8=584, Resulting Numbers: [584]
584,74 unequal: No Solution
Exploring Operation: 73+8=81, Resulting Numbers: [81]
81,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 74:[8, 73], Operations: ['76-3=73', '1*73=73']
Exploring Operation: 73-8=65, Resulting Numbers: [65]
65,74 unequal: No Solution
Exploring Operation: 8+73=81, Resulting Numbers: [81]
81,74 unequal: No Solution
Exploring Operation: 8*73=584, Resulting Numbers: [584]
584,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,0
Current State: 74:[1, 71], Operations: ['8-3=5', '76-5=71']
Exploring Operation: 1*71=71, Resulting Numbers: [71]
71,74 unequal: No Solution
Exploring Operation: 71/1=71, Resulting Numbers: [71]
71,74 unequal: No Solution
Exploring Operation: 1+71=72, Resulting Numbers: [72]
72,74 unequal: No Solution
Exploring Operation: 71-1=70, Resulting Numbers: [70]
70,74 unequal: No Solution
Moving to Node #0,4,4
Current State: 74:[76, 4], Operations: ['8-3=5', '5-1=4']
Exploring Operation: 76-4=72, Resulting Numbers: [72]
72,74 unequal: No Solution
Exploring Operation: 76/4=19, Resulting Numbers: [19]
19,74 unequal: No Solution
Exploring Operation: 76+4=80, Resulting Numbers: [80]
80,74 unequal: No Solution
Exploring Operation: 76*4=304, Resulting Numbers: [304]
304,74 unequal: No Solution
Moving to Node #0,0,0
Current State: 74:[76, 4], Operations: ['8-1=7', '7-3=4']
Exploring Operation: 76*4=304, Resulting Numbers: [304]
304,74 unequal: No Solution
Exploring Operation: 76+4=80, Resulting Numbers: [80]
80,74 unequal: No Solution
Exploring Operation: 76/4=19, Resulting Numbers: [19]
19,74 unequal: No Solution
Exploring Operation: 76-4=72, Resulting Numbers: [72]
72,74 unequal: No Solution
Moving to Node #0,4,3
Current State: 74:[5, 75], Operations: ['8-3=5', '76-1=75']
Exploring Operation: 5*75=375, Resulting Numbers: [375]
375,74 unequal: No Solution
Exploring Operation: 75-5=70, Resulting Numbers: [70]
70,74 unequal: No Solution
Exploring Operation: 5+75=80, Resulting Numbers: [80]
80,74 unequal: No Solution
Exploring Operation: 75/5=15, Resulting Numbers: [15]
15,74 unequal: No Solution
Moving to Node #0,4,2
Current State: 74:[5, 76], Operations: ['8-3=5', '76/1=76']
Exploring Operation: 5*76=380, Resulting Numbers: [380]
380,74 unequal: No Solution
Exploring Operation: 76-5=71, Resulting Numbers: [71]
71,74 unequal: No Solution
Exploring Operation: 5+76=81, Resulting Numbers: [81]
81,74 unequal: No Solution
Moving to Node #0,4,1
Current State: 74:[5, 76], Operations: ['8-3=5', '76*1=76']
Exploring Operation: 5+76=81, Resulting Numbers: [81]
81,74 unequal: No Solution
Exploring Operation: 76-5=71, Resulting Numbers: [71]
71,74 unequal: No Solution
Exploring Operation: 5*76=380, Resulting Numbers: [380]
380,74 unequal: No Solution
Moving to Node #0,0,2
Current State: 74:[3, 69], Operations: ['8-1=7', '76-7=69']
Exploring Operation: 69/3=23, Resulting Numbers: [23]
23,74 unequal: No Solution
Exploring Operation: 3+69=72, Resulting Numbers: [72]
72,74 unequal: No Solution
Exploring Operation: 69-3=66, Resulting Numbers: [66]
66,74 unequal: No Solution
Exploring Operation: 3*69=207, Resulting Numbers: [207]
207,74 unequal: No Solution
Moving to Node #0,0,4
Current State: 74:[7, 73], Operations: ['8-1=7', '76-3=73']
Exploring Operation: 7+73=80, Resulting Numbers: [80]
80,74 unequal: No Solution
Exploring Operation: 73-7=66, Resulting Numbers: [66]
66,74 unequal: No Solution
Exploring Operation: 7*73=511, Resulting Numbers: [511]
511,74 unequal: No Solution
Moving to Node #0,0,1
Current State: 74:[7, 79], Operations: ['8-1=7', '76+3=79']
Exploring Operation: 79-7=72, Resulting Numbers: [72]
72,74 unequal: No Solution
Exploring Operation: 7*79=553, Resulting Numbers: [553]
553,74 unequal: No Solution
Exploring Operation: 7+79=86, Resulting Numbers: [86]
86,74 unequal: No Solution
Moving to Node #0,0,3
Current State: 74:[3, 83], Operations: ['8-1=7', '76+7=83']
Exploring Operation: 3*83=249, Resulting Numbers: [249]
249,74 unequal: No Solution
Exploring Operation: 83-3=80, Resulting Numbers: [80]
80,74 unequal: No Solution
Exploring Operation: 3+83=86, Resulting Numbers: [86]
86,74 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
7,
93,
99,
60
] | 18 | [
"99-93=6",
"7*6=42",
"60-42=18"
] | Current State: 18:[7, 93, 99, 60], Operations: []
Exploring Operation: 99-93=6, Resulting Numbers: [7, 60, 6]
Generated Node #2: [7, 60, 6] from Operation: 99-93=6
Current State: 18:[7, 60, 6], Operations: ['99-93=6']
Exploring Operation: 7*6=42, Resulting Numbers: [60, 42]
Generated Node #3: [60, 42] from Operation: 7*6=42
Current State: 18:[60, 42], Operations: ['99-93=6', '7*6=42']
Exploring Operation: 60-42=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[7, 93, 99, 60], Operations: []
Exploring Operation: 93-60=33, Resulting Numbers: [7, 99, 33]
Generated Node #0,0: 18:[7, 99, 33] Operation: 93-60=33
Exploring Operation: 99-7=92, Resulting Numbers: [93, 60, 92]
Generated Node #0,1: 18:[93, 60, 92] Operation: 99-7=92
Exploring Operation: 99-93=6, Resulting Numbers: [7, 60, 6]
Generated Node #0,2: 18:[7, 60, 6] Operation: 99-93=6
Exploring Operation: 93-7=86, Resulting Numbers: [99, 60, 86]
Generated Node #0,3: 18:[99, 60, 86] Operation: 93-7=86
Exploring Operation: 99-60=39, Resulting Numbers: [7, 93, 39]
Generated Node #0,4: 18:[7, 93, 39] Operation: 99-60=39
Moving to Node #0,2
Current State: 18:[7, 60, 6], Operations: ['99-93=6']
Exploring Operation: 7-6=1, Resulting Numbers: [60, 1]
Generated Node #0,2,0: 18:[60, 1] Operation: 7-6=1
Exploring Operation: 60-6=54, Resulting Numbers: [7, 54]
Generated Node #0,2,1: 18:[7, 54] Operation: 60-6=54
Exploring Operation: 7+6=13, Resulting Numbers: [60, 13]
Generated Node #0,2,2: 18:[60, 13] Operation: 7+6=13
Exploring Operation: 60-7=53, Resulting Numbers: [6, 53]
Generated Node #0,2,3: 18:[6, 53] Operation: 60-7=53
Exploring Operation: 60/6=10, Resulting Numbers: [7, 10]
Generated Node #0,2,4: 18:[7, 10] Operation: 60/6=10
Moving to Node #0,4
Current State: 18:[7, 93, 39], Operations: ['99-60=39']
Exploring Operation: 93-7=86, Resulting Numbers: [39, 86]
Generated Node #0,4,0: 18:[39, 86] Operation: 93-7=86
Exploring Operation: 7+93=100, Resulting Numbers: [39, 100]
Generated Node #0,4,1: 18:[39, 100] Operation: 7+93=100
Exploring Operation: 93-39=54, Resulting Numbers: [7, 54]
Generated Node #0,4,2: 18:[7, 54] Operation: 93-39=54
Exploring Operation: 39-7=32, Resulting Numbers: [93, 32]
Generated Node #0,4,3: 18:[93, 32] Operation: 39-7=32
Exploring Operation: 7+39=46, Resulting Numbers: [93, 46]
Generated Node #0,4,4: 18:[93, 46] Operation: 7+39=46
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 18:[7, 54], Operations: ['99-60=39', '93-39=54']
Exploring Operation: 7*54=378, Resulting Numbers: [378]
378,18 unequal: No Solution
Exploring Operation: 54-7=47, Resulting Numbers: [47]
47,18 unequal: No Solution
Exploring Operation: 7+54=61, Resulting Numbers: [61]
61,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 18:[39, 86], Operations: ['99-60=39', '93-7=86']
Exploring Operation: 39*86=3354, Resulting Numbers: [3354]
3354,18 unequal: No Solution
Exploring Operation: 86-39=47, Resulting Numbers: [47]
47,18 unequal: No Solution
Exploring Operation: 39+86=125, Resulting Numbers: [125]
125,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 18:[93, 32], Operations: ['99-60=39', '39-7=32']
Exploring Operation: 93-32=61, Resulting Numbers: [61]
61,18 unequal: No Solution
Exploring Operation: 93*32=2976, Resulting Numbers: [2976]
2976,18 unequal: No Solution
Exploring Operation: 93+32=125, Resulting Numbers: [125]
125,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 18:[39, 100], Operations: ['99-60=39', '7+93=100']
Exploring Operation: 39+100=139, Resulting Numbers: [139]
139,18 unequal: No Solution
Exploring Operation: 100-39=61, Resulting Numbers: [61]
61,18 unequal: No Solution
Exploring Operation: 39*100=3900, Resulting Numbers: [3900]
3900,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 18:[93, 46], Operations: ['99-60=39', '7+39=46']
Exploring Operation: 93+46=139, Resulting Numbers: [139]
139,18 unequal: No Solution
Exploring Operation: 93-46=47, Resulting Numbers: [47]
47,18 unequal: No Solution
Exploring Operation: 93*46=4278, Resulting Numbers: [4278]
4278,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 18:[7, 99, 33], Operations: ['93-60=33']
Exploring Operation: 33-7=26, Resulting Numbers: [99, 26]
Generated Node #0,0,0: 18:[99, 26] Operation: 33-7=26
Exploring Operation: 99-7=92, Resulting Numbers: [33, 92]
Generated Node #0,0,1: 18:[33, 92] Operation: 99-7=92
Exploring Operation: 7+99=106, Resulting Numbers: [33, 106]
Generated Node #0,0,2: 18:[33, 106] Operation: 7+99=106
Exploring Operation: 99/33=3, Resulting Numbers: [7, 3]
Generated Node #0,0,3: 18:[7, 3] Operation: 99/33=3
Exploring Operation: 99-33=66, Resulting Numbers: [7, 66]
Generated Node #0,0,4: 18:[7, 66] Operation: 99-33=66
Moving to Node #0,1
Current State: 18:[93, 60, 92], Operations: ['99-7=92']
Exploring Operation: 93-92=1, Resulting Numbers: [60, 1]
Generated Node #0,1,0: 18:[60, 1] Operation: 93-92=1
Exploring Operation: 93+92=185, Resulting Numbers: [60, 185]
Generated Node #0,1,1: 18:[60, 185] Operation: 93+92=185
Exploring Operation: 92-60=32, Resulting Numbers: [93, 32]
Generated Node #0,1,2: 18:[93, 32] Operation: 92-60=32
Exploring Operation: 93+60=153, Resulting Numbers: [92, 153]
Generated Node #0,1,3: 18:[92, 153] Operation: 93+60=153
Exploring Operation: 93-60=33, Resulting Numbers: [92, 33]
Generated Node #0,1,4: 18:[92, 33] Operation: 93-60=33
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 18:[60, 1], Operations: ['99-7=92', '93-92=1']
Exploring Operation: 60-1=59, Resulting Numbers: [59]
59,18 unequal: No Solution
Exploring Operation: 60+1=61, Resulting Numbers: [61]
61,18 unequal: No Solution
Exploring Operation: 60/1=60, Resulting Numbers: [60]
60,18 unequal: No Solution
Exploring Operation: 60*1=60, Resulting Numbers: [60]
60,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 18:[93, 32], Operations: ['99-7=92', '92-60=32']
Exploring Operation: 93-32=61, Resulting Numbers: [61]
61,18 unequal: No Solution
Exploring Operation: 93+32=125, Resulting Numbers: [125]
125,18 unequal: No Solution
Exploring Operation: 93*32=2976, Resulting Numbers: [2976]
2976,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 18:[92, 33], Operations: ['99-7=92', '93-60=33']
Exploring Operation: 92*33=3036, Resulting Numbers: [3036]
3036,18 unequal: No Solution
Exploring Operation: 92-33=59, Resulting Numbers: [59]
59,18 unequal: No Solution
Exploring Operation: 92+33=125, Resulting Numbers: [125]
125,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 18:[60, 185], Operations: ['99-7=92', '93+92=185']
Exploring Operation: 60*185=11100, Resulting Numbers: [11100]
11100,18 unequal: No Solution
Exploring Operation: 185-60=125, Resulting Numbers: [125]
125,18 unequal: No Solution
Exploring Operation: 60+185=245, Resulting Numbers: [245]
245,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 18:[92, 153], Operations: ['99-7=92', '93+60=153']
Exploring Operation: 92+153=245, Resulting Numbers: [245]
245,18 unequal: No Solution
Exploring Operation: 153-92=61, Resulting Numbers: [61]
61,18 unequal: No Solution
Exploring Operation: 92*153=14076, Resulting Numbers: [14076]
14076,18 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: 18:[99, 60, 86], Operations: ['93-7=86']
Exploring Operation: 99+60=159, Resulting Numbers: [86, 159]
Generated Node #0,3,0: 18:[86, 159] Operation: 99+60=159
Exploring Operation: 99-86=13, Resulting Numbers: [60, 13]
Generated Node #0,3,1: 18:[60, 13] Operation: 99-86=13
Exploring Operation: 99-60=39, Resulting Numbers: [86, 39]
Generated Node #0,3,2: 18:[86, 39] Operation: 99-60=39
Exploring Operation: 86-60=26, Resulting Numbers: [99, 26]
Generated Node #0,3,3: 18:[99, 26] Operation: 86-60=26
Exploring Operation: 99+86=185, Resulting Numbers: [60, 185]
Generated Node #0,3,4: 18:[60, 185] Operation: 99+86=185
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 18:[60, 13], Operations: ['93-7=86', '99-86=13']
Exploring Operation: 60*13=780, Resulting Numbers: [780]
780,18 unequal: No Solution
Exploring Operation: 60+13=73, Resulting Numbers: [73]
73,18 unequal: No Solution
Exploring Operation: 60-13=47, Resulting Numbers: [47]
47,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,2
Current State: 18:[86, 39], Operations: ['93-7=86', '99-60=39']
Exploring Operation: 86+39=125, Resulting Numbers: [125]
125,18 unequal: No Solution
Exploring Operation: 86*39=3354, Resulting Numbers: [3354]
3354,18 unequal: No Solution
Exploring Operation: 86-39=47, Resulting Numbers: [47]
47,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:[99, 26], Operations: ['93-7=86', '86-60=26']
Exploring Operation: 99-26=73, Resulting Numbers: [73]
73,18 unequal: No Solution
Exploring Operation: 99+26=125, Resulting Numbers: [125]
125,18 unequal: No Solution
Exploring Operation: 99*26=2574, Resulting Numbers: [2574]
2574,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:[86, 159], Operations: ['93-7=86', '99+60=159']
Exploring Operation: 86*159=13674, Resulting Numbers: [13674]
13674,18 unequal: No Solution
Exploring Operation: 86+159=245, Resulting Numbers: [245]
245,18 unequal: No Solution
Exploring Operation: 159-86=73, Resulting Numbers: [73]
73,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,4
Current State: 18:[60, 185], Operations: ['93-7=86', '99+86=185']
Exploring Operation: 60+185=245, Resulting Numbers: [245]
245,18 unequal: No Solution
Exploring Operation: 185-60=125, Resulting Numbers: [125]
125,18 unequal: No Solution
Exploring Operation: 60*185=11100, Resulting Numbers: [11100]
11100,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,3
Current State: 18:[7, 3], Operations: ['93-60=33', '99/33=3']
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,18 unequal: No Solution
Exploring Operation: 7+3=10, Resulting Numbers: [10]
10,18 unequal: No Solution
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,18 unequal: No Solution
Moving to Node #0,2,4
Current State: 18:[7, 10], Operations: ['99-93=6', '60/6=10']
Exploring Operation: 7+10=17, Resulting Numbers: [17]
17,18 unequal: No Solution
Exploring Operation: 7*10=70, Resulting Numbers: [70]
70,18 unequal: No Solution
Exploring Operation: 10-7=3, Resulting Numbers: [3]
3,18 unequal: No Solution
Moving to Node #0,2,3
Current State: 18:[6, 53], Operations: ['99-93=6', '60-7=53']
Exploring Operation: 53-6=47, Resulting Numbers: [47]
47,18 unequal: No Solution
Exploring Operation: 6*53=318, Resulting Numbers: [318]
318,18 unequal: No Solution
Exploring Operation: 6+53=59, Resulting Numbers: [59]
59,18 unequal: No Solution
Moving to Node #0,2,1
Current State: 18:[7, 54], Operations: ['99-93=6', '60-6=54']
Exploring Operation: 7*54=378, Resulting Numbers: [378]
378,18 unequal: No Solution
Exploring Operation: 54-7=47, Resulting Numbers: [47]
47,18 unequal: No Solution
Exploring Operation: 7+54=61, Resulting Numbers: [61]
61,18 unequal: No Solution
Moving to Node #0,2,0
Current State: 18:[60, 1], Operations: ['99-93=6', '7-6=1']
Exploring Operation: 60+1=61, Resulting Numbers: [61]
61,18 unequal: No Solution
Exploring Operation: 60*1=60, Resulting Numbers: [60]
60,18 unequal: No Solution
Exploring Operation: 60/1=60, Resulting Numbers: [60]
60,18 unequal: No Solution
Exploring Operation: 60-1=59, Resulting Numbers: [59]
59,18 unequal: No Solution
Moving to Node #0,2,2
Current State: 18:[60, 13], Operations: ['99-93=6', '7+6=13']
Exploring Operation: 60+13=73, Resulting Numbers: [73]
73,18 unequal: No Solution
Exploring Operation: 60*13=780, Resulting Numbers: [780]
780,18 unequal: No Solution
Exploring Operation: 60-13=47, Resulting Numbers: [47]
47,18 unequal: No Solution
Moving to Node #0,0,4
Current State: 18:[7, 66], Operations: ['93-60=33', '99-33=66']
Exploring Operation: 7*66=462, Resulting Numbers: [462]
462,18 unequal: No Solution
Exploring Operation: 7+66=73, Resulting Numbers: [73]
73,18 unequal: No Solution
Exploring Operation: 66-7=59, Resulting Numbers: [59]
59,18 unequal: No Solution
Moving to Node #0,0,1
Current State: 18:[33, 92], Operations: ['93-60=33', '99-7=92']
Exploring Operation: 92-33=59, Resulting Numbers: [59]
59,18 unequal: No Solution
Exploring Operation: 33*92=3036, Resulting Numbers: [3036]
3036,18 unequal: No Solution
Exploring Operation: 33+92=125, Resulting Numbers: [125]
125,18 unequal: No Solution
Moving to Node #0,0,0
Current State: 18:[99, 26], Operations: ['93-60=33', '33-7=26']
Exploring Operation: 99+26=125, Resulting Numbers: [125]
125,18 unequal: No Solution
Exploring Operation: 99-26=73, Resulting Numbers: [73]
73,18 unequal: No Solution
Exploring Operation: 99*26=2574, Resulting Numbers: [2574]
2574,18 unequal: No Solution
Moving to Node #0,0,2
Current State: 18:[33, 106], Operations: ['93-60=33', '7+99=106']
Exploring Operation: 106-33=73, Resulting Numbers: [73]
73,18 unequal: No Solution
Exploring Operation: 33*106=3498, Resulting Numbers: [3498]
3498,18 unequal: No Solution
Exploring Operation: 33+106=139, Resulting Numbers: [139]
139,18 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
2,
86,
72,
5
] | 10 | [
"72/2=36",
"86-36=50",
"50/5=10"
] | Current State: 10:[2, 86, 72, 5], Operations: []
Exploring Operation: 72/2=36, Resulting Numbers: [86, 5, 36]
Generated Node #2: [86, 5, 36] from Operation: 72/2=36
Current State: 10:[86, 5, 36], Operations: ['72/2=36']
Exploring Operation: 86-36=50, Resulting Numbers: [5, 50]
Generated Node #3: [5, 50] from Operation: 86-36=50
Current State: 10:[5, 50], Operations: ['72/2=36', '86-36=50']
Exploring Operation: 50/5=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[2, 86, 72, 5], Operations: []
Exploring Operation: 86-5=81, Resulting Numbers: [2, 72, 81]
Generated Node #0,0: 10:[2, 72, 81] Operation: 86-5=81
Exploring Operation: 86-72=14, Resulting Numbers: [2, 5, 14]
Generated Node #0,1: 10:[2, 5, 14] Operation: 86-72=14
Exploring Operation: 86/2=43, Resulting Numbers: [72, 5, 43]
Generated Node #0,2: 10:[72, 5, 43] Operation: 86/2=43
Exploring Operation: 72/2=36, Resulting Numbers: [86, 5, 36]
Generated Node #0,3: 10:[86, 5, 36] Operation: 72/2=36
Moving to Node #0,1
Current State: 10:[2, 5, 14], Operations: ['86-72=14']
Exploring Operation: 2*5=10, Resulting Numbers: [14, 10]
Generated Node #0,1,0: 10:[14, 10] Operation: 2*5=10
Exploring Operation: 14-2=12, Resulting Numbers: [5, 12]
Generated Node #0,1,1: 10:[5, 12] Operation: 14-2=12
Exploring Operation: 14-5=9, Resulting Numbers: [2, 9]
Generated Node #0,1,2: 10:[2, 9] Operation: 14-5=9
Exploring Operation: 14/2=7, Resulting Numbers: [5, 7]
Generated Node #0,1,3: 10:[5, 7] Operation: 14/2=7
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 10:[2, 9], Operations: ['86-72=14', '14-5=9']
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,10 unequal: No Solution
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,10 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 10:[5, 12], Operations: ['86-72=14', '14-2=12']
Exploring Operation: 5*12=60, Resulting Numbers: [60]
60,10 unequal: No Solution
Exploring Operation: 5+12=17, Resulting Numbers: [17]
17,10 unequal: No Solution
Exploring Operation: 12-5=7, Resulting Numbers: [7]
7,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 10:[5, 7], Operations: ['86-72=14', '14/2=7']
Exploring Operation: 5+7=12, Resulting Numbers: [12]
12,10 unequal: No Solution
Exploring Operation: 5*7=35, Resulting Numbers: [35]
35,10 unequal: No Solution
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 10:[14, 10], Operations: ['86-72=14', '2*5=10']
Exploring Operation: 14-10=4, Resulting Numbers: [4]
4,10 unequal: No Solution
Exploring Operation: 14+10=24, Resulting Numbers: [24]
24,10 unequal: No Solution
Exploring Operation: 14*10=140, Resulting Numbers: [140]
140,10 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: 10:[72, 5, 43], Operations: ['86/2=43']
Exploring Operation: 72+5=77, Resulting Numbers: [43, 77]
Generated Node #0,2,0: 10:[43, 77] Operation: 72+5=77
Exploring Operation: 43-5=38, Resulting Numbers: [72, 38]
Generated Node #0,2,1: 10:[72, 38] Operation: 43-5=38
Exploring Operation: 72-43=29, Resulting Numbers: [5, 29]
Generated Node #0,2,2: 10:[5, 29] Operation: 72-43=29
Exploring Operation: 72-5=67, Resulting Numbers: [43, 67]
Generated Node #0,2,3: 10:[43, 67] Operation: 72-5=67
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 10:[5, 29], Operations: ['86/2=43', '72-43=29']
Exploring Operation: 5*29=145, Resulting Numbers: [145]
145,10 unequal: No Solution
Exploring Operation: 29-5=24, Resulting Numbers: [24]
24,10 unequal: No Solution
Exploring Operation: 5+29=34, Resulting Numbers: [34]
34,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 10:[72, 38], Operations: ['86/2=43', '43-5=38']
Exploring Operation: 72*38=2736, Resulting Numbers: [2736]
2736,10 unequal: No Solution
Exploring Operation: 72+38=110, Resulting Numbers: [110]
110,10 unequal: No Solution
Exploring Operation: 72-38=34, Resulting Numbers: [34]
34,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 10:[43, 67], Operations: ['86/2=43', '72-5=67']
Exploring Operation: 67-43=24, Resulting Numbers: [24]
24,10 unequal: No Solution
Exploring Operation: 43*67=2881, Resulting Numbers: [2881]
2881,10 unequal: No Solution
Exploring Operation: 43+67=110, Resulting Numbers: [110]
110,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 10:[43, 77], Operations: ['86/2=43', '72+5=77']
Exploring Operation: 43+77=120, Resulting Numbers: [120]
120,10 unequal: No Solution
Exploring Operation: 77-43=34, Resulting Numbers: [34]
34,10 unequal: No Solution
Exploring Operation: 43*77=3311, Resulting Numbers: [3311]
3311,10 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: 10:[86, 5, 36], Operations: ['72/2=36']
Exploring Operation: 36-5=31, Resulting Numbers: [86, 31]
Generated Node #0,3,0: 10:[86, 31] Operation: 36-5=31
Exploring Operation: 86-5=81, Resulting Numbers: [36, 81]
Generated Node #0,3,1: 10:[36, 81] Operation: 86-5=81
Exploring Operation: 86+5=91, Resulting Numbers: [36, 91]
Generated Node #0,3,2: 10:[36, 91] Operation: 86+5=91
Exploring Operation: 86-36=50, Resulting Numbers: [5, 50]
Generated Node #0,3,3: 10:[5, 50] Operation: 86-36=50
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 10:[5, 50], Operations: ['72/2=36', '86-36=50']
Exploring Operation: 5*50=250, Resulting Numbers: [250]
250,10 unequal: No Solution
Exploring Operation: 50/5=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[2, 86, 72, 5], Operations: []
Exploring Operation: 72/2=36, Resulting Numbers: [86, 5, 36]
Generated Node #0,3: 10:[86, 5, 36] Operation: 72/2=36
Moving to Node #0,3
Current State: 10:[86, 5, 36], Operations: ['72/2=36']
Exploring Operation: 86-36=50, Resulting Numbers: [5, 50]
Generated Node #0,3,3: 10:[5, 50] Operation: 86-36=50
Moving to Node #0,3,3
Current State: 10:[5, 50], Operations: ['72/2=36', '86-36=50']
Exploring Operation: 50/5=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 1
| 0.960069 | hs_4 | sum_heuristic |
[
7,
73,
91,
80
] | 14 | [
"7+91=98",
"80-73=7",
"98/7=14"
] | Current State: 14:[7, 73, 91, 80], Operations: []
Exploring Operation: 7+91=98, Resulting Numbers: [73, 80, 98]
Generated Node #2: [73, 80, 98] from Operation: 7+91=98
Current State: 14:[73, 80, 98], Operations: ['7+91=98']
Exploring Operation: 80-73=7, Resulting Numbers: [98, 7]
Generated Node #3: [98, 7] from Operation: 80-73=7
Current State: 14:[98, 7], Operations: ['7+91=98', '80-73=7']
Exploring Operation: 98/7=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[7, 73, 91, 80], Operations: []
Exploring Operation: 91-80=11, Resulting Numbers: [7, 73, 11]
Generated Node #0,0: 14:[7, 73, 11] Operation: 91-80=11
Moving to Node #0,0
Current State: 14:[7, 73, 11], Operations: ['91-80=11']
Exploring Operation: 73-11=62, Resulting Numbers: [7, 62]
Generated Node #0,0,0: 14:[7, 62] Operation: 73-11=62
Moving to Node #0,0,0
Current State: 14:[7, 62], Operations: ['91-80=11', '73-11=62']
Exploring Operation: 62-7=55, Resulting Numbers: [55]
55,14 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
4,
86,
65,
60
] | 43 | [
"86-4=82",
"65+60=125",
"125-82=43"
] | Current State: 43:[4, 86, 65, 60], Operations: []
Exploring Operation: 86-4=82, Resulting Numbers: [65, 60, 82]
Generated Node #2: [65, 60, 82] from Operation: 86-4=82
Current State: 43:[65, 60, 82], Operations: ['86-4=82']
Exploring Operation: 65+60=125, Resulting Numbers: [82, 125]
Generated Node #3: [82, 125] from Operation: 65+60=125
Current State: 43:[82, 125], Operations: ['86-4=82', '65+60=125']
Exploring Operation: 125-82=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[4, 86, 65, 60], Operations: []
Exploring Operation: 86-65=21, Resulting Numbers: [4, 60, 21]
Generated Node #0,0: 43:[4, 60, 21] Operation: 86-65=21
Exploring Operation: 65-4=61, Resulting Numbers: [86, 60, 61]
Generated Node #0,1: 43:[86, 60, 61] Operation: 65-4=61
Exploring Operation: 60-4=56, Resulting Numbers: [86, 65, 56]
Generated Node #0,2: 43:[86, 65, 56] Operation: 60-4=56
Exploring Operation: 86-60=26, Resulting Numbers: [4, 65, 26]
Generated Node #0,3: 43:[4, 65, 26] Operation: 86-60=26
Exploring Operation: 86-4=82, Resulting Numbers: [65, 60, 82]
Generated Node #0,4: 43:[65, 60, 82] Operation: 86-4=82
Moving to Node #0,0
Current State: 43:[4, 60, 21], Operations: ['86-65=21']
Exploring Operation: 21-4=17, Resulting Numbers: [60, 17]
Generated Node #0,0,0: 43:[60, 17] Operation: 21-4=17
Exploring Operation: 60-4=56, Resulting Numbers: [21, 56]
Generated Node #0,0,1: 43:[21, 56] Operation: 60-4=56
Exploring Operation: 4+60=64, Resulting Numbers: [21, 64]
Generated Node #0,0,2: 43:[21, 64] Operation: 4+60=64
Exploring Operation: 60-21=39, Resulting Numbers: [4, 39]
Generated Node #0,0,3: 43:[4, 39] Operation: 60-21=39
Exploring Operation: 4+21=25, Resulting Numbers: [60, 25]
Generated Node #0,0,4: 43:[60, 25] Operation: 4+21=25
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 43:[21, 56], Operations: ['86-65=21', '60-4=56']
Exploring Operation: 21+56=77, Resulting Numbers: [77]
77,43 unequal: No Solution
Exploring Operation: 21*56=1176, Resulting Numbers: [1176]
1176,43 unequal: No Solution
Exploring Operation: 56-21=35, Resulting Numbers: [35]
35,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,4
Current State: 43:[60, 25], Operations: ['86-65=21', '4+21=25']
Exploring Operation: 60*25=1500, Resulting Numbers: [1500]
1500,43 unequal: No Solution
Exploring Operation: 60-25=35, Resulting Numbers: [35]
35,43 unequal: No Solution
Exploring Operation: 60+25=85, Resulting Numbers: [85]
85,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,0
Current State: 43:[60, 17], Operations: ['86-65=21', '21-4=17']
Exploring Operation: 60-17=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[4, 86, 65, 60], Operations: []
Exploring Operation: 86-65=21, Resulting Numbers: [4, 60, 21]
Generated Node #0,0: 43:[4, 60, 21] Operation: 86-65=21
Moving to Node #0,0
Current State: 43:[4, 60, 21], Operations: ['86-65=21']
Exploring Operation: 21-4=17, Resulting Numbers: [60, 17]
Generated Node #0,0,0: 43:[60, 17] Operation: 21-4=17
Moving to Node #0,0,0
Current State: 43:[60, 17], Operations: ['86-65=21', '21-4=17']
Exploring Operation: 60-17=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | mult_heuristic |
[
60,
66,
19,
97
] | 84 | [
"66-60=6",
"97-19=78",
"6+78=84"
] | Current State: 84:[60, 66, 19, 97], Operations: []
Exploring Operation: 66-60=6, Resulting Numbers: [19, 97, 6]
Generated Node #2: [19, 97, 6] from Operation: 66-60=6
Current State: 84:[19, 97, 6], Operations: ['66-60=6']
Exploring Operation: 97-19=78, Resulting Numbers: [6, 78]
Generated Node #3: [6, 78] from Operation: 97-19=78
Current State: 84:[6, 78], Operations: ['66-60=6', '97-19=78']
Exploring Operation: 6+78=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[60, 66, 19, 97], Operations: []
Exploring Operation: 97-66=31, Resulting Numbers: [60, 19, 31]
Generated Node #0,0: 84:[60, 19, 31] Operation: 97-66=31
Exploring Operation: 66-60=6, Resulting Numbers: [19, 97, 6]
Generated Node #0,1: 84:[19, 97, 6] Operation: 66-60=6
Moving to Node #0,1
Current State: 84:[19, 97, 6], Operations: ['66-60=6']
Exploring Operation: 97-6=91, Resulting Numbers: [19, 91]
Generated Node #0,1,0: 84:[19, 91] Operation: 97-6=91
Exploring Operation: 97-19=78, Resulting Numbers: [6, 78]
Generated Node #0,1,1: 84:[6, 78] Operation: 97-19=78
Moving to Node #0,0
Current State: 84:[60, 19, 31], Operations: ['97-66=31']
Exploring Operation: 60-31=29, Resulting Numbers: [19, 29]
Generated Node #0,0,0: 84:[19, 29] Operation: 60-31=29
Exploring Operation: 60-19=41, Resulting Numbers: [31, 41]
Generated Node #0,0,1: 84:[31, 41] Operation: 60-19=41
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 84:[19, 29], Operations: ['97-66=31', '60-31=29']
Exploring Operation: 19+29=48, Resulting Numbers: [48]
48,84 unequal: No Solution
Exploring Operation: 29-19=10, Resulting Numbers: [10]
10,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 84:[31, 41], Operations: ['97-66=31', '60-19=41']
Exploring Operation: 41-31=10, Resulting Numbers: [10]
10,84 unequal: No Solution
Exploring Operation: 31+41=72, Resulting Numbers: [72]
72,84 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: 84:[6, 78], Operations: ['66-60=6', '97-19=78']
Exploring Operation: 6+78=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[60, 66, 19, 97], Operations: []
Exploring Operation: 66-60=6, Resulting Numbers: [19, 97, 6]
Generated Node #0,1: 84:[19, 97, 6] Operation: 66-60=6
Moving to Node #0,1
Current State: 84:[19, 97, 6], Operations: ['66-60=6']
Exploring Operation: 97-19=78, Resulting Numbers: [6, 78]
Generated Node #0,1,1: 84:[6, 78] Operation: 97-19=78
Moving to Node #0,1,1
Current State: 84:[6, 78], Operations: ['66-60=6', '97-19=78']
Exploring Operation: 6+78=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 0.986979 | hs_2 | sum_heuristic |
[
22,
85,
40,
20
] | 74 | [
"22*20=440",
"440/40=11",
"85-11=74"
] | Current State: 74:[22, 85, 40, 20], Operations: []
Exploring Operation: 22*20=440, Resulting Numbers: [85, 40, 440]
Generated Node #2: [85, 40, 440] from Operation: 22*20=440
Current State: 74:[85, 40, 440], Operations: ['22*20=440']
Exploring Operation: 440/40=11, Resulting Numbers: [85, 11]
Generated Node #3: [85, 11] from Operation: 440/40=11
Current State: 74:[85, 11], Operations: ['22*20=440', '440/40=11']
Exploring Operation: 85-11=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[22, 85, 40, 20], Operations: []
Exploring Operation: 22-20=2, Resulting Numbers: [85, 40, 2]
Generated Node #0,0: 74:[85, 40, 2] Operation: 22-20=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[85, 40, 2], Operations: ['22-20=2']
Exploring Operation: 85-40=45, Resulting Numbers: [2, 45]
Generated Node #0,0,0: 74:[2, 45] Operation: 85-40=45
Moving to Node #0,0,0
Current State: 74:[2, 45], Operations: ['22-20=2', '85-40=45']
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,74 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 |
[
23,
8,
5,
83
] | 61 | [
"23-5=18",
"8*18=144",
"144-83=61"
] | Current State: 61:[23, 8, 5, 83], Operations: []
Exploring Operation: 23-5=18, Resulting Numbers: [8, 83, 18]
Generated Node #2: [8, 83, 18] from Operation: 23-5=18
Current State: 61:[8, 83, 18], Operations: ['23-5=18']
Exploring Operation: 8*18=144, Resulting Numbers: [83, 144]
Generated Node #3: [83, 144] from Operation: 8*18=144
Current State: 61:[83, 144], Operations: ['23-5=18', '8*18=144']
Exploring Operation: 144-83=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[23, 8, 5, 83], Operations: []
Exploring Operation: 83-8=75, Resulting Numbers: [23, 5, 75]
Generated Node #0,0: 61:[23, 5, 75] Operation: 83-8=75
Exploring Operation: 23+5=28, Resulting Numbers: [8, 83, 28]
Generated Node #0,1: 61:[8, 83, 28] Operation: 23+5=28
Exploring Operation: 8*5=40, Resulting Numbers: [23, 83, 40]
Generated Node #0,2: 61:[23, 83, 40] Operation: 8*5=40
Exploring Operation: 8+5=13, Resulting Numbers: [23, 83, 13]
Generated Node #0,3: 61:[23, 83, 13] Operation: 8+5=13
Exploring Operation: 23+8=31, Resulting Numbers: [5, 83, 31]
Generated Node #0,4: 61:[5, 83, 31] Operation: 23+8=31
Start Sub Search at level 1: Moving to Node #0,2
Current State: 61:[23, 83, 40], Operations: ['8*5=40']
Exploring Operation: 83-23=60, Resulting Numbers: [40, 60]
Generated Node #0,2,0: 61:[40, 60] Operation: 83-23=60
Exploring Operation: 23+40=63, Resulting Numbers: [83, 63]
Generated Node #0,2,1: 61:[83, 63] Operation: 23+40=63
Exploring Operation: 83-40=43, Resulting Numbers: [23, 43]
Generated Node #0,2,2: 61:[23, 43] Operation: 83-40=43
Exploring Operation: 40-23=17, Resulting Numbers: [83, 17]
Generated Node #0,2,3: 61:[83, 17] Operation: 40-23=17
Exploring Operation: 23+83=106, Resulting Numbers: [40, 106]
Generated Node #0,2,4: 61:[40, 106] Operation: 23+83=106
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 61:[40, 60], Operations: ['8*5=40', '83-23=60']
Exploring Operation: 40*60=2400, Resulting Numbers: [2400]
2400,61 unequal: No Solution
Exploring Operation: 60-40=20, Resulting Numbers: [20]
20,61 unequal: No Solution
Exploring Operation: 40+60=100, Resulting Numbers: [100]
100,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 61:[83, 63], Operations: ['8*5=40', '23+40=63']
Exploring Operation: 83+63=146, Resulting Numbers: [146]
146,61 unequal: No Solution
Exploring Operation: 83-63=20, Resulting Numbers: [20]
20,61 unequal: No Solution
Exploring Operation: 83*63=5229, Resulting Numbers: [5229]
5229,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 61:[23, 43], Operations: ['8*5=40', '83-40=43']
Exploring Operation: 23+43=66, Resulting Numbers: [66]
66,61 unequal: No Solution
Exploring Operation: 23*43=989, Resulting Numbers: [989]
989,61 unequal: No Solution
Exploring Operation: 43-23=20, Resulting Numbers: [20]
20,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 61:[83, 17], Operations: ['8*5=40', '40-23=17']
Exploring Operation: 83+17=100, Resulting Numbers: [100]
100,61 unequal: No Solution
Exploring Operation: 83-17=66, Resulting Numbers: [66]
66,61 unequal: No Solution
Exploring Operation: 83*17=1411, Resulting Numbers: [1411]
1411,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 61:[40, 106], Operations: ['8*5=40', '23+83=106']
Exploring Operation: 40*106=4240, Resulting Numbers: [4240]
4240,61 unequal: No Solution
Exploring Operation: 40+106=146, Resulting Numbers: [146]
146,61 unequal: No Solution
Exploring Operation: 106-40=66, Resulting Numbers: [66]
66,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[23, 5, 75], Operations: ['83-8=75']
Exploring Operation: 5+75=80, Resulting Numbers: [23, 80]
Generated Node #0,0,0: 61:[23, 80] Operation: 5+75=80
Exploring Operation: 75-23=52, Resulting Numbers: [5, 52]
Generated Node #0,0,1: 61:[5, 52] Operation: 75-23=52
Exploring Operation: 23+5=28, Resulting Numbers: [75, 28]
Generated Node #0,0,2: 61:[75, 28] Operation: 23+5=28
Exploring Operation: 23-5=18, Resulting Numbers: [75, 18]
Generated Node #0,0,3: 61:[75, 18] Operation: 23-5=18
Exploring Operation: 75-5=70, Resulting Numbers: [23, 70]
Generated Node #0,0,4: 61:[23, 70] Operation: 75-5=70
Moving to Node #0,0,2
Current State: 61:[75, 28], Operations: ['83-8=75', '23+5=28']
Exploring Operation: 75+28=103, Resulting Numbers: [103]
103,61 unequal: No Solution
Exploring Operation: 75*28=2100, Resulting Numbers: [2100]
2100,61 unequal: No Solution
Exploring Operation: 75-28=47, Resulting Numbers: [47]
47,61 unequal: No Solution
Moving to Node #0,0,4
Current State: 61:[23, 70], Operations: ['83-8=75', '75-5=70']
Exploring Operation: 70-23=47, Resulting Numbers: [47]
47,61 unequal: No Solution
Exploring Operation: 23+70=93, Resulting Numbers: [93]
93,61 unequal: No Solution
Exploring Operation: 23*70=1610, Resulting Numbers: [1610]
1610,61 unequal: No Solution
Moving to Node #0,0,0
Current State: 61:[23, 80], Operations: ['83-8=75', '5+75=80']
Exploring Operation: 23*80=1840, Resulting Numbers: [1840]
1840,61 unequal: No Solution
Exploring Operation: 23+80=103, Resulting Numbers: [103]
103,61 unequal: No Solution
Exploring Operation: 80-23=57, Resulting Numbers: [57]
57,61 unequal: No Solution
Moving to Node #0,0,3
Current State: 61:[75, 18], Operations: ['83-8=75', '23-5=18']
Exploring Operation: 75*18=1350, Resulting Numbers: [1350]
1350,61 unequal: No Solution
Exploring Operation: 75-18=57, Resulting Numbers: [57]
57,61 unequal: No Solution
Exploring Operation: 75+18=93, Resulting Numbers: [93]
93,61 unequal: No Solution
Moving to Node #0,0,1
Current State: 61:[5, 52], Operations: ['83-8=75', '75-23=52']
Exploring Operation: 5*52=260, Resulting Numbers: [260]
260,61 unequal: No Solution
Exploring Operation: 52-5=47, Resulting Numbers: [47]
47,61 unequal: No Solution
Exploring Operation: 5+52=57, Resulting Numbers: [57]
57,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 61:[8, 83, 28], Operations: ['23+5=28']
Exploring Operation: 8+83=91, Resulting Numbers: [28, 91]
Generated Node #0,1,0: 61:[28, 91] Operation: 8+83=91
Exploring Operation: 83-28=55, Resulting Numbers: [8, 55]
Generated Node #0,1,1: 61:[8, 55] Operation: 83-28=55
Exploring Operation: 8+28=36, Resulting Numbers: [83, 36]
Generated Node #0,1,2: 61:[83, 36] Operation: 8+28=36
Exploring Operation: 28-8=20, Resulting Numbers: [83, 20]
Generated Node #0,1,3: 61:[83, 20] Operation: 28-8=20
Exploring Operation: 83-8=75, Resulting Numbers: [28, 75]
Generated Node #0,1,4: 61:[28, 75] Operation: 83-8=75
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 61:[83, 36], Operations: ['23+5=28', '8+28=36']
Exploring Operation: 83+36=119, Resulting Numbers: [119]
119,61 unequal: No Solution
Exploring Operation: 83*36=2988, Resulting Numbers: [2988]
2988,61 unequal: No Solution
Exploring Operation: 83-36=47, Resulting Numbers: [47]
47,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 61:[28, 75], Operations: ['23+5=28', '83-8=75']
Exploring Operation: 75-28=47, Resulting Numbers: [47]
47,61 unequal: No Solution
Exploring Operation: 28*75=2100, Resulting Numbers: [2100]
2100,61 unequal: No Solution
Exploring Operation: 28+75=103, Resulting Numbers: [103]
103,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 61:[8, 55], Operations: ['23+5=28', '83-28=55']
Exploring Operation: 8+55=63, Resulting Numbers: [63]
63,61 unequal: No Solution
Exploring Operation: 8*55=440, Resulting Numbers: [440]
440,61 unequal: No Solution
Exploring Operation: 55-8=47, Resulting Numbers: [47]
47,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 61:[28, 91], Operations: ['23+5=28', '8+83=91']
Exploring Operation: 28+91=119, Resulting Numbers: [119]
119,61 unequal: No Solution
Exploring Operation: 28*91=2548, Resulting Numbers: [2548]
2548,61 unequal: No Solution
Exploring Operation: 91-28=63, Resulting Numbers: [63]
63,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 61:[83, 20], Operations: ['23+5=28', '28-8=20']
Exploring Operation: 83*20=1660, Resulting Numbers: [1660]
1660,61 unequal: No Solution
Exploring Operation: 83+20=103, Resulting Numbers: [103]
103,61 unequal: No Solution
Exploring Operation: 83-20=63, Resulting Numbers: [63]
63,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 61:[23, 83, 13], Operations: ['8+5=13']
Exploring Operation: 83+13=96, Resulting Numbers: [23, 96]
Generated Node #0,3,0: 61:[23, 96] Operation: 83+13=96
Exploring Operation: 23+13=36, Resulting Numbers: [83, 36]
Generated Node #0,3,1: 61:[83, 36] Operation: 23+13=36
Exploring Operation: 83-23=60, Resulting Numbers: [13, 60]
Generated Node #0,3,2: 61:[13, 60] Operation: 83-23=60
Exploring Operation: 23-13=10, Resulting Numbers: [83, 10]
Generated Node #0,3,3: 61:[83, 10] Operation: 23-13=10
Exploring Operation: 83-13=70, Resulting Numbers: [23, 70]
Generated Node #0,3,4: 61:[23, 70] Operation: 83-13=70
Moving to Node #0,3,1
Current State: 61:[83, 36], Operations: ['8+5=13', '23+13=36']
Exploring Operation: 83-36=47, Resulting Numbers: [47]
47,61 unequal: No Solution
Exploring Operation: 83*36=2988, Resulting Numbers: [2988]
2988,61 unequal: No Solution
Exploring Operation: 83+36=119, Resulting Numbers: [119]
119,61 unequal: No Solution
Moving to Node #0,3,4
Current State: 61:[23, 70], Operations: ['8+5=13', '83-13=70']
Exploring Operation: 23+70=93, Resulting Numbers: [93]
93,61 unequal: No Solution
Exploring Operation: 23*70=1610, Resulting Numbers: [1610]
1610,61 unequal: No Solution
Exploring Operation: 70-23=47, Resulting Numbers: [47]
47,61 unequal: No Solution
Moving to Node #0,3,2
Current State: 61:[13, 60], Operations: ['8+5=13', '83-23=60']
Exploring Operation: 60-13=47, Resulting Numbers: [47]
47,61 unequal: No Solution
Exploring Operation: 13+60=73, Resulting Numbers: [73]
73,61 unequal: No Solution
Exploring Operation: 13*60=780, Resulting Numbers: [780]
780,61 unequal: No Solution
Moving to Node #0,3,0
Current State: 61:[23, 96], Operations: ['8+5=13', '83+13=96']
Exploring Operation: 23*96=2208, Resulting Numbers: [2208]
2208,61 unequal: No Solution
Exploring Operation: 96-23=73, Resulting Numbers: [73]
73,61 unequal: No Solution
Exploring Operation: 23+96=119, Resulting Numbers: [119]
119,61 unequal: No Solution
Moving to Node #0,3,3
Current State: 61:[83, 10], Operations: ['8+5=13', '23-13=10']
Exploring Operation: 83*10=830, Resulting Numbers: [830]
830,61 unequal: No Solution
Exploring Operation: 83-10=73, Resulting Numbers: [73]
73,61 unequal: No Solution
Exploring Operation: 83+10=93, Resulting Numbers: [93]
93,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 61:[5, 83, 31], Operations: ['23+8=31']
Exploring Operation: 31-5=26, Resulting Numbers: [83, 26]
Generated Node #0,4,0: 61:[83, 26] Operation: 31-5=26
Exploring Operation: 83-31=52, Resulting Numbers: [5, 52]
Generated Node #0,4,1: 61:[5, 52] Operation: 83-31=52
Exploring Operation: 5+83=88, Resulting Numbers: [31, 88]
Generated Node #0,4,2: 61:[31, 88] Operation: 5+83=88
Exploring Operation: 5+31=36, Resulting Numbers: [83, 36]
Generated Node #0,4,3: 61:[83, 36] Operation: 5+31=36
Exploring Operation: 83-5=78, Resulting Numbers: [31, 78]
Generated Node #0,4,4: 61:[31, 78] Operation: 83-5=78
Moving to Node #0,4,3
Current State: 61:[83, 36], Operations: ['23+8=31', '5+31=36']
Exploring Operation: 83+36=119, Resulting Numbers: [119]
119,61 unequal: No Solution
Exploring Operation: 83-36=47, Resulting Numbers: [47]
47,61 unequal: No Solution
Exploring Operation: 83*36=2988, Resulting Numbers: [2988]
2988,61 unequal: No Solution
Moving to Node #0,4,4
Current State: 61:[31, 78], Operations: ['23+8=31', '83-5=78']
Exploring Operation: 78-31=47, Resulting Numbers: [47]
47,61 unequal: No Solution
Exploring Operation: 31+78=109, Resulting Numbers: [109]
109,61 unequal: No Solution
Exploring Operation: 31*78=2418, Resulting Numbers: [2418]
2418,61 unequal: No Solution
Moving to Node #0,4,0
Current State: 61:[83, 26], Operations: ['23+8=31', '31-5=26']
Exploring Operation: 83-26=57, Resulting Numbers: [57]
57,61 unequal: No Solution
Exploring Operation: 83+26=109, Resulting Numbers: [109]
109,61 unequal: No Solution
Exploring Operation: 83*26=2158, Resulting Numbers: [2158]
2158,61 unequal: No Solution
Moving to Node #0,4,2
Current State: 61:[31, 88], Operations: ['23+8=31', '5+83=88']
Exploring Operation: 88-31=57, Resulting Numbers: [57]
57,61 unequal: No Solution
Exploring Operation: 31+88=119, Resulting Numbers: [119]
119,61 unequal: No Solution
Exploring Operation: 31*88=2728, Resulting Numbers: [2728]
2728,61 unequal: No Solution
Moving to Node #0,4,1
Current State: 61:[5, 52], Operations: ['23+8=31', '83-31=52']
Exploring Operation: 52-5=47, Resulting Numbers: [47]
47,61 unequal: No Solution
Exploring Operation: 5*52=260, Resulting Numbers: [260]
260,61 unequal: No Solution
Exploring Operation: 5+52=57, Resulting Numbers: [57]
57,61 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,
87,
32,
73
] | 54 | [
"87+73=160",
"160/32=5",
"49+5=54"
] | Current State: 54:[49, 87, 32, 73], Operations: []
Exploring Operation: 87+73=160, Resulting Numbers: [49, 32, 160]
Generated Node #2: [49, 32, 160] from Operation: 87+73=160
Current State: 54:[49, 32, 160], Operations: ['87+73=160']
Exploring Operation: 160/32=5, Resulting Numbers: [49, 5]
Generated Node #3: [49, 5] from Operation: 160/32=5
Current State: 54:[49, 5], Operations: ['87+73=160', '160/32=5']
Exploring Operation: 49+5=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[49, 87, 32, 73], Operations: []
Exploring Operation: 87-73=14, Resulting Numbers: [49, 32, 14]
Generated Node #0,0: 54:[49, 32, 14] Operation: 87-73=14
Exploring Operation: 87-32=55, Resulting Numbers: [49, 73, 55]
Generated Node #0,1: 54:[49, 73, 55] Operation: 87-32=55
Moving to Node #0,0
Current State: 54:[49, 32, 14], Operations: ['87-73=14']
Exploring Operation: 32-14=18, Resulting Numbers: [49, 18]
Generated Node #0,0,0: 54:[49, 18] Operation: 32-14=18
Exploring Operation: 49-32=17, Resulting Numbers: [14, 17]
Generated Node #0,0,1: 54:[14, 17] Operation: 49-32=17
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 54:[49, 18], Operations: ['87-73=14', '32-14=18']
Exploring Operation: 49+18=67, Resulting Numbers: [67]
67,54 unequal: No Solution
Exploring Operation: 49-18=31, Resulting Numbers: [31]
31,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 54:[14, 17], Operations: ['87-73=14', '49-32=17']
Exploring Operation: 17-14=3, Resulting Numbers: [3]
3,54 unequal: No Solution
Exploring Operation: 14+17=31, Resulting Numbers: [31]
31,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 54:[49, 73, 55], Operations: ['87-32=55']
Exploring Operation: 73-55=18, Resulting Numbers: [49, 18]
Generated Node #0,1,0: 54:[49, 18] Operation: 73-55=18
Exploring Operation: 73-49=24, Resulting Numbers: [55, 24]
Generated Node #0,1,1: 54:[55, 24] Operation: 73-49=24
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 54:[55, 24], Operations: ['87-32=55', '73-49=24']
Exploring Operation: 55+24=79, Resulting Numbers: [79]
79,54 unequal: No Solution
Exploring Operation: 55-24=31, Resulting Numbers: [31]
31,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 54:[49, 18], Operations: ['87-32=55', '73-55=18']
Exploring Operation: 49+18=67, Resulting Numbers: [67]
67,54 unequal: No Solution
Exploring Operation: 49-18=31, Resulting Numbers: [31]
31,54 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 |
[
22,
77,
7,
8
] | 88 | [
"77/7=11",
"22-11=11",
"8*11=88"
] | Current State: 88:[22, 77, 7, 8], Operations: []
Exploring Operation: 77/7=11, Resulting Numbers: [22, 8, 11]
Generated Node #2: [22, 8, 11] from Operation: 77/7=11
Current State: 88:[22, 8, 11], Operations: ['77/7=11']
Exploring Operation: 22-11=11, Resulting Numbers: [8, 11]
Generated Node #3: [8, 11] from Operation: 22-11=11
Current State: 88:[8, 11], Operations: ['77/7=11', '22-11=11']
Exploring Operation: 8*11=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[22, 77, 7, 8], Operations: []
Exploring Operation: 77/7=11, Resulting Numbers: [22, 8, 11]
Generated Node #0,0: 88:[22, 8, 11] Operation: 77/7=11
Moving to Node #0,0
Current State: 88:[22, 8, 11], Operations: ['77/7=11']
Exploring Operation: 22-11=11, Resulting Numbers: [8, 11]
Generated Node #0,0,0: 88:[8, 11] Operation: 22-11=11
Moving to Node #0,0,0
Current State: 88:[8, 11], Operations: ['77/7=11', '22-11=11']
Exploring Operation: 8*11=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[22, 77, 7, 8], Operations: []
Exploring Operation: 77/7=11, Resulting Numbers: [22, 8, 11]
Generated Node #0,0: 88:[22, 8, 11] Operation: 77/7=11
Moving to Node #0,0
Current State: 88:[22, 8, 11], Operations: ['77/7=11']
Exploring Operation: 22-11=11, Resulting Numbers: [8, 11]
Generated Node #0,0,0: 88:[8, 11] Operation: 22-11=11
Moving to Node #0,0,0
Current State: 88:[8, 11], Operations: ['77/7=11', '22-11=11']
Exploring Operation: 8*11=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
40,
21,
43,
79
] | 86 | [
"43-40=3",
"21/3=7",
"79+7=86"
] | Current State: 86:[40, 21, 43, 79], Operations: []
Exploring Operation: 43-40=3, Resulting Numbers: [21, 79, 3]
Generated Node #2: [21, 79, 3] from Operation: 43-40=3
Current State: 86:[21, 79, 3], Operations: ['43-40=3']
Exploring Operation: 21/3=7, Resulting Numbers: [79, 7]
Generated Node #3: [79, 7] from Operation: 21/3=7
Current State: 86:[79, 7], Operations: ['43-40=3', '21/3=7']
Exploring Operation: 79+7=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[40, 21, 43, 79], Operations: []
Exploring Operation: 79-40=39, Resulting Numbers: [21, 43, 39]
Generated Node #0,0: 86:[21, 43, 39] Operation: 79-40=39
Exploring Operation: 79-21=58, Resulting Numbers: [40, 43, 58]
Generated Node #0,1: 86:[40, 43, 58] Operation: 79-21=58
Exploring Operation: 21+79=100, Resulting Numbers: [40, 43, 100]
Generated Node #0,2: 86:[40, 43, 100] Operation: 21+79=100
Exploring Operation: 40-21=19, Resulting Numbers: [43, 79, 19]
Generated Node #0,3: 86:[43, 79, 19] Operation: 40-21=19
Start Sub Search at level 1: Moving to Node #0,2
Current State: 86:[40, 43, 100], Operations: ['21+79=100']
Exploring Operation: 40+43=83, Resulting Numbers: [100, 83]
Generated Node #0,2,0: 86:[100, 83] Operation: 40+43=83
Exploring Operation: 43-40=3, Resulting Numbers: [100, 3]
Generated Node #0,2,1: 86:[100, 3] Operation: 43-40=3
Exploring Operation: 100-43=57, Resulting Numbers: [40, 57]
Generated Node #0,2,2: 86:[40, 57] Operation: 100-43=57
Exploring Operation: 100-40=60, Resulting Numbers: [43, 60]
Generated Node #0,2,3: 86:[43, 60] Operation: 100-40=60
Moving to Node #0,2,1
Current State: 86:[100, 3], Operations: ['21+79=100', '43-40=3']
Exploring Operation: 100*3=300, Resulting Numbers: [300]
300,86 unequal: No Solution
Exploring Operation: 100+3=103, Resulting Numbers: [103]
103,86 unequal: No Solution
Exploring Operation: 100-3=97, Resulting Numbers: [97]
97,86 unequal: No Solution
Moving to Node #0,2,2
Current State: 86:[40, 57], Operations: ['21+79=100', '100-43=57']
Exploring Operation: 57-40=17, Resulting Numbers: [17]
17,86 unequal: No Solution
Exploring Operation: 40+57=97, Resulting Numbers: [97]
97,86 unequal: No Solution
Exploring Operation: 40*57=2280, Resulting Numbers: [2280]
2280,86 unequal: No Solution
Moving to Node #0,2,0
Current State: 86:[100, 83], Operations: ['21+79=100', '40+43=83']
Exploring Operation: 100-83=17, Resulting Numbers: [17]
17,86 unequal: No Solution
Exploring Operation: 100*83=8300, Resulting Numbers: [8300]
8300,86 unequal: No Solution
Exploring Operation: 100+83=183, Resulting Numbers: [183]
183,86 unequal: No Solution
Moving to Node #0,2,3
Current State: 86:[43, 60], Operations: ['21+79=100', '100-40=60']
Exploring Operation: 43*60=2580, Resulting Numbers: [2580]
2580,86 unequal: No Solution
Exploring Operation: 60-43=17, Resulting Numbers: [17]
17,86 unequal: No Solution
Exploring Operation: 43+60=103, Resulting Numbers: [103]
103,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 86:[40, 43, 58], Operations: ['79-21=58']
Exploring Operation: 58-40=18, Resulting Numbers: [43, 18]
Generated Node #0,1,0: 86:[43, 18] Operation: 58-40=18
Exploring Operation: 58-43=15, Resulting Numbers: [40, 15]
Generated Node #0,1,1: 86:[40, 15] Operation: 58-43=15
Exploring Operation: 40+58=98, Resulting Numbers: [43, 98]
Generated Node #0,1,2: 86:[43, 98] Operation: 40+58=98
Exploring Operation: 43-40=3, Resulting Numbers: [58, 3]
Generated Node #0,1,3: 86:[58, 3] Operation: 43-40=3
Moving to Node #0,1,2
Current State: 86:[43, 98], Operations: ['79-21=58', '40+58=98']
Exploring Operation: 98-43=55, Resulting Numbers: [55]
55,86 unequal: No Solution
Exploring Operation: 43*98=4214, Resulting Numbers: [4214]
4214,86 unequal: No Solution
Exploring Operation: 43+98=141, Resulting Numbers: [141]
141,86 unequal: No Solution
Moving to Node #0,1,1
Current State: 86:[40, 15], Operations: ['79-21=58', '58-43=15']
Exploring Operation: 40*15=600, Resulting Numbers: [600]
600,86 unequal: No Solution
Exploring Operation: 40+15=55, Resulting Numbers: [55]
55,86 unequal: No Solution
Exploring Operation: 40-15=25, Resulting Numbers: [25]
25,86 unequal: No Solution
Moving to Node #0,1,0
Current State: 86:[43, 18], Operations: ['79-21=58', '58-40=18']
Exploring Operation: 43-18=25, Resulting Numbers: [25]
25,86 unequal: No Solution
Exploring Operation: 43*18=774, Resulting Numbers: [774]
774,86 unequal: No Solution
Exploring Operation: 43+18=61, Resulting Numbers: [61]
61,86 unequal: No Solution
Moving to Node #0,1,3
Current State: 86:[58, 3], Operations: ['79-21=58', '43-40=3']
Exploring Operation: 58+3=61, Resulting Numbers: [61]
61,86 unequal: No Solution
Exploring Operation: 58-3=55, Resulting Numbers: [55]
55,86 unequal: No Solution
Exploring Operation: 58*3=174, Resulting Numbers: [174]
174,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
Current State: 86:[21, 43, 39], Operations: ['79-40=39']
Exploring Operation: 39-21=18, Resulting Numbers: [43, 18]
Generated Node #0,0,0: 86:[43, 18] Operation: 39-21=18
Exploring Operation: 43+39=82, Resulting Numbers: [21, 82]
Generated Node #0,0,1: 86:[21, 82] Operation: 43+39=82
Exploring Operation: 43-39=4, Resulting Numbers: [21, 4]
Generated Node #0,0,2: 86:[21, 4] Operation: 43-39=4
Exploring Operation: 21+39=60, Resulting Numbers: [43, 60]
Generated Node #0,0,3: 86:[43, 60] Operation: 21+39=60
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 86:[43, 18], Operations: ['79-40=39', '39-21=18']
Exploring Operation: 43-18=25, Resulting Numbers: [25]
25,86 unequal: No Solution
Exploring Operation: 43*18=774, Resulting Numbers: [774]
774,86 unequal: No Solution
Exploring Operation: 43+18=61, Resulting Numbers: [61]
61,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 86:[43, 60], Operations: ['79-40=39', '21+39=60']
Exploring Operation: 60-43=17, Resulting Numbers: [17]
17,86 unequal: No Solution
Exploring Operation: 43*60=2580, Resulting Numbers: [2580]
2580,86 unequal: No Solution
Exploring Operation: 43+60=103, Resulting Numbers: [103]
103,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 86:[21, 4], Operations: ['79-40=39', '43-39=4']
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,86 unequal: No Solution
Exploring Operation: 21+4=25, Resulting Numbers: [25]
25,86 unequal: No Solution
Exploring Operation: 21*4=84, Resulting Numbers: [84]
84,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 86:[21, 82], Operations: ['79-40=39', '43+39=82']
Exploring Operation: 82-21=61, Resulting Numbers: [61]
61,86 unequal: No Solution
Exploring Operation: 21+82=103, Resulting Numbers: [103]
103,86 unequal: No Solution
Exploring Operation: 21*82=1722, Resulting Numbers: [1722]
1722,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 86:[43, 79, 19], Operations: ['40-21=19']
Exploring Operation: 79+19=98, Resulting Numbers: [43, 98]
Generated Node #0,3,0: 86:[43, 98] Operation: 79+19=98
Exploring Operation: 79-43=36, Resulting Numbers: [19, 36]
Generated Node #0,3,1: 86:[19, 36] Operation: 79-43=36
Exploring Operation: 43+19=62, Resulting Numbers: [79, 62]
Generated Node #0,3,2: 86:[79, 62] Operation: 43+19=62
Exploring Operation: 79-19=60, Resulting Numbers: [43, 60]
Generated Node #0,3,3: 86:[43, 60] Operation: 79-19=60
Moving to Node #0,3,0
Current State: 86:[43, 98], Operations: ['40-21=19', '79+19=98']
Exploring Operation: 98-43=55, Resulting Numbers: [55]
55,86 unequal: No Solution
Exploring Operation: 43*98=4214, Resulting Numbers: [4214]
4214,86 unequal: No Solution
Exploring Operation: 43+98=141, Resulting Numbers: [141]
141,86 unequal: No Solution
Moving to Node #0,3,3
Current State: 86:[43, 60], Operations: ['40-21=19', '79-19=60']
Exploring Operation: 43+60=103, Resulting Numbers: [103]
103,86 unequal: No Solution
Exploring Operation: 60-43=17, Resulting Numbers: [17]
17,86 unequal: No Solution
Exploring Operation: 43*60=2580, Resulting Numbers: [2580]
2580,86 unequal: No Solution
Moving to Node #0,3,1
Current State: 86:[19, 36], Operations: ['40-21=19', '79-43=36']
Exploring Operation: 19*36=684, Resulting Numbers: [684]
684,86 unequal: No Solution
Exploring Operation: 19+36=55, Resulting Numbers: [55]
55,86 unequal: No Solution
Exploring Operation: 36-19=17, Resulting Numbers: [17]
17,86 unequal: No Solution
Moving to Node #0,3,2
Current State: 86:[79, 62], Operations: ['40-21=19', '43+19=62']
Exploring Operation: 79*62=4898, Resulting Numbers: [4898]
4898,86 unequal: No Solution
Exploring Operation: 79-62=17, Resulting Numbers: [17]
17,86 unequal: No Solution
Exploring Operation: 79+62=141, Resulting Numbers: [141]
141,86 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 |
[
58,
60,
8,
52
] | 34 | [
"60-58=2",
"52/2=26",
"8+26=34"
] | Current State: 34:[58, 60, 8, 52], Operations: []
Exploring Operation: 60-58=2, Resulting Numbers: [8, 52, 2]
Generated Node #2: [8, 52, 2] from Operation: 60-58=2
Current State: 34:[8, 52, 2], Operations: ['60-58=2']
Exploring Operation: 52/2=26, Resulting Numbers: [8, 26]
Generated Node #3: [8, 26] from Operation: 52/2=26
Current State: 34:[8, 26], Operations: ['60-58=2', '52/2=26']
Exploring Operation: 8+26=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[58, 60, 8, 52], Operations: []
Exploring Operation: 58-52=6, Resulting Numbers: [60, 8, 6]
Generated Node #0,0: 34:[60, 8, 6] Operation: 58-52=6
Exploring Operation: 60-58=2, Resulting Numbers: [8, 52, 2]
Generated Node #0,1: 34:[8, 52, 2] Operation: 60-58=2
Moving to Node #0,1
Current State: 34:[8, 52, 2], Operations: ['60-58=2']
Exploring Operation: 52/2=26, Resulting Numbers: [8, 26]
Generated Node #0,1,0: 34:[8, 26] Operation: 52/2=26
Exploring Operation: 52-8=44, Resulting Numbers: [2, 44]
Generated Node #0,1,1: 34:[2, 44] Operation: 52-8=44
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 34:[2, 44], Operations: ['60-58=2', '52-8=44']
Exploring Operation: 44/2=22, Resulting Numbers: [22]
22,34 unequal: No Solution
Exploring Operation: 44-2=42, Resulting Numbers: [42]
42,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 34:[8, 26], Operations: ['60-58=2', '52/2=26']
Exploring Operation: 8+26=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[58, 60, 8, 52], Operations: []
Exploring Operation: 60-58=2, Resulting Numbers: [8, 52, 2]
Generated Node #0,1: 34:[8, 52, 2] Operation: 60-58=2
Moving to Node #0,1
Current State: 34:[8, 52, 2], Operations: ['60-58=2']
Exploring Operation: 52/2=26, Resulting Numbers: [8, 26]
Generated Node #0,1,0: 34:[8, 26] Operation: 52/2=26
Moving to Node #0,1,0
Current State: 34:[8, 26], Operations: ['60-58=2', '52/2=26']
Exploring Operation: 8+26=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
99,
41,
3,
1
] | 85 | [
"41+1=42",
"42/3=14",
"99-14=85"
] | Current State: 85:[99, 41, 3, 1], Operations: []
Exploring Operation: 41+1=42, Resulting Numbers: [99, 3, 42]
Generated Node #2: [99, 3, 42] from Operation: 41+1=42
Current State: 85:[99, 3, 42], Operations: ['41+1=42']
Exploring Operation: 42/3=14, Resulting Numbers: [99, 14]
Generated Node #3: [99, 14] from Operation: 42/3=14
Current State: 85:[99, 14], Operations: ['41+1=42', '42/3=14']
Exploring Operation: 99-14=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[99, 41, 3, 1], Operations: []
Exploring Operation: 99-3=96, Resulting Numbers: [41, 1, 96]
Generated Node #0,0: 85:[41, 1, 96] Operation: 99-3=96
Exploring Operation: 41-3=38, Resulting Numbers: [99, 1, 38]
Generated Node #0,1: 85:[99, 1, 38] Operation: 41-3=38
Exploring Operation: 99-1=98, Resulting Numbers: [41, 3, 98]
Generated Node #0,2: 85:[41, 3, 98] Operation: 99-1=98
Exploring Operation: 99-41=58, Resulting Numbers: [3, 1, 58]
Generated Node #0,3: 85:[3, 1, 58] Operation: 99-41=58
Exploring Operation: 41-1=40, Resulting Numbers: [99, 3, 40]
Generated Node #0,4: 85:[99, 3, 40] Operation: 41-1=40
Moving to Node #0,3
Current State: 85:[3, 1, 58], Operations: ['99-41=58']
Exploring Operation: 3+1=4, Resulting Numbers: [58, 4]
Generated Node #0,3,0: 85:[58, 4] Operation: 3+1=4
Exploring Operation: 3+58=61, Resulting Numbers: [1, 61]
Generated Node #0,3,1: 85:[1, 61] Operation: 3+58=61
Exploring Operation: 3/1=3, Resulting Numbers: [58, 3]
Generated Node #0,3,2: 85:[58, 3] Operation: 3/1=3
Exploring Operation: 3*1=3, Resulting Numbers: [58, 3]
Generated Node #0,3,3: 85:[58, 3] Operation: 3*1=3
Exploring Operation: 1+58=59, Resulting Numbers: [3, 59]
Generated Node #0,3,4: 85:[3, 59] Operation: 1+58=59
Moving to Node #0,1
Current State: 85:[99, 1, 38], Operations: ['41-3=38']
Exploring Operation: 99-1=98, Resulting Numbers: [38, 98]
Generated Node #0,1,0: 85:[38, 98] Operation: 99-1=98
Exploring Operation: 38-1=37, Resulting Numbers: [99, 37]
Generated Node #0,1,1: 85:[99, 37] Operation: 38-1=37
Exploring Operation: 99/1=99, Resulting Numbers: [38, 99]
Generated Node #0,1,2: 85:[38, 99] Operation: 99/1=99
Exploring Operation: 99-38=61, Resulting Numbers: [1, 61]
Generated Node #0,1,3: 85:[1, 61] Operation: 99-38=61
Exploring Operation: 99*1=99, Resulting Numbers: [38, 99]
Generated Node #0,1,4: 85:[38, 99] Operation: 99*1=99
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 85:[1, 61], Operations: ['41-3=38', '99-38=61']
Exploring Operation: 61-1=60, Resulting Numbers: [60]
60,85 unequal: No Solution
Exploring Operation: 1*61=61, Resulting Numbers: [61]
61,85 unequal: No Solution
Exploring Operation: 1+61=62, Resulting Numbers: [62]
62,85 unequal: No Solution
Exploring Operation: 61/1=61, Resulting Numbers: [61]
61,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 85:[38, 98], Operations: ['41-3=38', '99-1=98']
Exploring Operation: 98-38=60, Resulting Numbers: [60]
60,85 unequal: No Solution
Exploring Operation: 38+98=136, Resulting Numbers: [136]
136,85 unequal: No Solution
Exploring Operation: 38*98=3724, Resulting Numbers: [3724]
3724,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 85:[99, 37], Operations: ['41-3=38', '38-1=37']
Exploring Operation: 99*37=3663, Resulting Numbers: [3663]
3663,85 unequal: No Solution
Exploring Operation: 99+37=136, Resulting Numbers: [136]
136,85 unequal: No Solution
Exploring Operation: 99-37=62, Resulting Numbers: [62]
62,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 85:[38, 99], Operations: ['41-3=38', '99/1=99']
Exploring Operation: 38+99=137, Resulting Numbers: [137]
137,85 unequal: No Solution
Exploring Operation: 99-38=61, Resulting Numbers: [61]
61,85 unequal: No Solution
Exploring Operation: 38*99=3762, Resulting Numbers: [3762]
3762,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 85:[38, 99], Operations: ['41-3=38', '99*1=99']
Exploring Operation: 99-38=61, Resulting Numbers: [61]
61,85 unequal: No Solution
Exploring Operation: 38+99=137, Resulting Numbers: [137]
137,85 unequal: No Solution
Exploring Operation: 38*99=3762, Resulting Numbers: [3762]
3762,85 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: 85:[99, 3, 40], Operations: ['41-1=40']
Exploring Operation: 99/3=33, Resulting Numbers: [40, 33]
Generated Node #0,4,0: 85:[40, 33] Operation: 99/3=33
Exploring Operation: 99-3=96, Resulting Numbers: [40, 96]
Generated Node #0,4,1: 85:[40, 96] Operation: 99-3=96
Exploring Operation: 99+3=102, Resulting Numbers: [40, 102]
Generated Node #0,4,2: 85:[40, 102] Operation: 99+3=102
Exploring Operation: 40-3=37, Resulting Numbers: [99, 37]
Generated Node #0,4,3: 85:[99, 37] Operation: 40-3=37
Exploring Operation: 99-40=59, Resulting Numbers: [3, 59]
Generated Node #0,4,4: 85:[3, 59] Operation: 99-40=59
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 85:[3, 59], Operations: ['41-1=40', '99-40=59']
Exploring Operation: 3+59=62, Resulting Numbers: [62]
62,85 unequal: No Solution
Exploring Operation: 3*59=177, Resulting Numbers: [177]
177,85 unequal: No Solution
Exploring Operation: 59-3=56, Resulting Numbers: [56]
56,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 85:[40, 96], Operations: ['41-1=40', '99-3=96']
Exploring Operation: 40+96=136, Resulting Numbers: [136]
136,85 unequal: No Solution
Exploring Operation: 96-40=56, Resulting Numbers: [56]
56,85 unequal: No Solution
Exploring Operation: 40*96=3840, Resulting Numbers: [3840]
3840,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 85:[99, 37], Operations: ['41-1=40', '40-3=37']
Exploring Operation: 99-37=62, Resulting Numbers: [62]
62,85 unequal: No Solution
Exploring Operation: 99*37=3663, Resulting Numbers: [3663]
3663,85 unequal: No Solution
Exploring Operation: 99+37=136, Resulting Numbers: [136]
136,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 85:[40, 33], Operations: ['41-1=40', '99/3=33']
Exploring Operation: 40+33=73, Resulting Numbers: [73]
73,85 unequal: No Solution
Exploring Operation: 40*33=1320, Resulting Numbers: [1320]
1320,85 unequal: No Solution
Exploring Operation: 40-33=7, Resulting Numbers: [7]
7,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 85:[40, 102], Operations: ['41-1=40', '99+3=102']
Exploring Operation: 102-40=62, Resulting Numbers: [62]
62,85 unequal: No Solution
Exploring Operation: 40*102=4080, Resulting Numbers: [4080]
4080,85 unequal: No Solution
Exploring Operation: 40+102=142, Resulting Numbers: [142]
142,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 85:[41, 1, 96], Operations: ['99-3=96']
Exploring Operation: 41*1=41, Resulting Numbers: [96, 41]
Generated Node #0,0,0: 85:[96, 41] Operation: 41*1=41
Exploring Operation: 96-41=55, Resulting Numbers: [1, 55]
Generated Node #0,0,1: 85:[1, 55] Operation: 96-41=55
Exploring Operation: 41-1=40, Resulting Numbers: [96, 40]
Generated Node #0,0,2: 85:[96, 40] Operation: 41-1=40
Exploring Operation: 96-1=95, Resulting Numbers: [41, 95]
Generated Node #0,0,3: 85:[41, 95] Operation: 96-1=95
Exploring Operation: 41/1=41, Resulting Numbers: [96, 41]
Generated Node #0,0,4: 85:[96, 41] Operation: 41/1=41
Moving to Node #0,2
Current State: 85:[41, 3, 98], Operations: ['99-1=98']
Exploring Operation: 41+3=44, Resulting Numbers: [98, 44]
Generated Node #0,2,0: 85:[98, 44] Operation: 41+3=44
Exploring Operation: 98-3=95, Resulting Numbers: [41, 95]
Generated Node #0,2,1: 85:[41, 95] Operation: 98-3=95
Exploring Operation: 98-41=57, Resulting Numbers: [3, 57]
Generated Node #0,2,2: 85:[3, 57] Operation: 98-41=57
Exploring Operation: 3+98=101, Resulting Numbers: [41, 101]
Generated Node #0,2,3: 85:[41, 101] Operation: 3+98=101
Exploring Operation: 41-3=38, Resulting Numbers: [98, 38]
Generated Node #0,2,4: 85:[98, 38] Operation: 41-3=38
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 85:[3, 57], Operations: ['99-1=98', '98-41=57']
Exploring Operation: 3+57=60, Resulting Numbers: [60]
60,85 unequal: No Solution
Exploring Operation: 3*57=171, Resulting Numbers: [171]
171,85 unequal: No Solution
Exploring Operation: 57-3=54, Resulting Numbers: [54]
54,85 unequal: No Solution
Exploring Operation: 57/3=19, Resulting Numbers: [19]
19,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 85:[41, 95], Operations: ['99-1=98', '98-3=95']
Exploring Operation: 41*95=3895, Resulting Numbers: [3895]
3895,85 unequal: No Solution
Exploring Operation: 95-41=54, Resulting Numbers: [54]
54,85 unequal: No Solution
Exploring Operation: 41+95=136, Resulting Numbers: [136]
136,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 85:[98, 38], Operations: ['99-1=98', '41-3=38']
Exploring Operation: 98+38=136, Resulting Numbers: [136]
136,85 unequal: No Solution
Exploring Operation: 98*38=3724, Resulting Numbers: [3724]
3724,85 unequal: No Solution
Exploring Operation: 98-38=60, Resulting Numbers: [60]
60,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 85:[98, 44], Operations: ['99-1=98', '41+3=44']
Exploring Operation: 98-44=54, Resulting Numbers: [54]
54,85 unequal: No Solution
Exploring Operation: 98*44=4312, Resulting Numbers: [4312]
4312,85 unequal: No Solution
Exploring Operation: 98+44=142, Resulting Numbers: [142]
142,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 85:[41, 101], Operations: ['99-1=98', '3+98=101']
Exploring Operation: 41*101=4141, Resulting Numbers: [4141]
4141,85 unequal: No Solution
Exploring Operation: 101-41=60, Resulting Numbers: [60]
60,85 unequal: No Solution
Exploring Operation: 41+101=142, Resulting Numbers: [142]
142,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,0
Current State: 85:[58, 4], Operations: ['99-41=58', '3+1=4']
Exploring Operation: 58+4=62, Resulting Numbers: [62]
62,85 unequal: No Solution
Exploring Operation: 58-4=54, Resulting Numbers: [54]
54,85 unequal: No Solution
Exploring Operation: 58*4=232, Resulting Numbers: [232]
232,85 unequal: No Solution
Moving to Node #0,3,4
Current State: 85:[3, 59], Operations: ['99-41=58', '1+58=59']
Exploring Operation: 3+59=62, Resulting Numbers: [62]
62,85 unequal: No Solution
Exploring Operation: 59-3=56, Resulting Numbers: [56]
56,85 unequal: No Solution
Exploring Operation: 3*59=177, Resulting Numbers: [177]
177,85 unequal: No Solution
Moving to Node #0,3,1
Current State: 85:[1, 61], Operations: ['99-41=58', '3+58=61']
Exploring Operation: 1+61=62, Resulting Numbers: [62]
62,85 unequal: No Solution
Exploring Operation: 61/1=61, Resulting Numbers: [61]
61,85 unequal: No Solution
Exploring Operation: 1*61=61, Resulting Numbers: [61]
61,85 unequal: No Solution
Exploring Operation: 61-1=60, Resulting Numbers: [60]
60,85 unequal: No Solution
Moving to Node #0,3,3
Current State: 85:[58, 3], Operations: ['99-41=58', '3*1=3']
Exploring Operation: 58*3=174, Resulting Numbers: [174]
174,85 unequal: No Solution
Exploring Operation: 58-3=55, Resulting Numbers: [55]
55,85 unequal: No Solution
Exploring Operation: 58+3=61, Resulting Numbers: [61]
61,85 unequal: No Solution
Moving to Node #0,3,2
Current State: 85:[58, 3], Operations: ['99-41=58', '3/1=3']
Exploring Operation: 58+3=61, Resulting Numbers: [61]
61,85 unequal: No Solution
Exploring Operation: 58-3=55, Resulting Numbers: [55]
55,85 unequal: No Solution
Exploring Operation: 58*3=174, Resulting Numbers: [174]
174,85 unequal: No Solution
Moving to Node #0,0,2
Current State: 85:[96, 40], Operations: ['99-3=96', '41-1=40']
Exploring Operation: 96+40=136, Resulting Numbers: [136]
136,85 unequal: No Solution
Exploring Operation: 96-40=56, Resulting Numbers: [56]
56,85 unequal: No Solution
Exploring Operation: 96*40=3840, Resulting Numbers: [3840]
3840,85 unequal: No Solution
Moving to Node #0,0,1
Current State: 85:[1, 55], Operations: ['99-3=96', '96-41=55']
Exploring Operation: 1*55=55, Resulting Numbers: [55]
55,85 unequal: No Solution
Exploring Operation: 55/1=55, Resulting Numbers: [55]
55,85 unequal: No Solution
Exploring Operation: 1+55=56, Resulting Numbers: [56]
56,85 unequal: No Solution
Exploring Operation: 55-1=54, Resulting Numbers: [54]
54,85 unequal: No Solution
Moving to Node #0,0,3
Current State: 85:[41, 95], Operations: ['99-3=96', '96-1=95']
Exploring Operation: 41*95=3895, Resulting Numbers: [3895]
3895,85 unequal: No Solution
Exploring Operation: 95-41=54, Resulting Numbers: [54]
54,85 unequal: No Solution
Exploring Operation: 41+95=136, Resulting Numbers: [136]
136,85 unequal: No Solution
Moving to Node #0,0,4
Current State: 85:[96, 41], Operations: ['99-3=96', '41/1=41']
Exploring Operation: 96+41=137, Resulting Numbers: [137]
137,85 unequal: No Solution
Exploring Operation: 96-41=55, Resulting Numbers: [55]
55,85 unequal: No Solution
Exploring Operation: 96*41=3936, Resulting Numbers: [3936]
3936,85 unequal: No Solution
Moving to Node #0,0,0
Current State: 85:[96, 41], Operations: ['99-3=96', '41*1=41']
Exploring Operation: 96-41=55, Resulting Numbers: [55]
55,85 unequal: No Solution
Exploring Operation: 96+41=137, Resulting Numbers: [137]
137,85 unequal: No Solution
Exploring Operation: 96*41=3936, Resulting Numbers: [3936]
3936,85 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
18,
98,
11,
5
] | 63 | [
"18-11=7",
"5*7=35",
"98-35=63"
] | Current State: 63:[18, 98, 11, 5], Operations: []
Exploring Operation: 18-11=7, Resulting Numbers: [98, 5, 7]
Generated Node #2: [98, 5, 7] from Operation: 18-11=7
Current State: 63:[98, 5, 7], Operations: ['18-11=7']
Exploring Operation: 5*7=35, Resulting Numbers: [98, 35]
Generated Node #3: [98, 35] from Operation: 5*7=35
Current State: 63:[98, 35], Operations: ['18-11=7', '5*7=35']
Exploring Operation: 98-35=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[18, 98, 11, 5], Operations: []
Exploring Operation: 98-18=80, Resulting Numbers: [11, 5, 80]
Generated Node #0,0: 63:[11, 5, 80] Operation: 98-18=80
Exploring Operation: 18-11=7, Resulting Numbers: [98, 5, 7]
Generated Node #0,1: 63:[98, 5, 7] Operation: 18-11=7
Exploring Operation: 98-11=87, Resulting Numbers: [18, 5, 87]
Generated Node #0,2: 63:[18, 5, 87] Operation: 98-11=87
Exploring Operation: 18+5=23, Resulting Numbers: [98, 11, 23]
Generated Node #0,3: 63:[98, 11, 23] Operation: 18+5=23
Exploring Operation: 98-5=93, Resulting Numbers: [18, 11, 93]
Generated Node #0,4: 63:[18, 11, 93] Operation: 98-5=93
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[11, 5, 80], Operations: ['98-18=80']
Exploring Operation: 11+5=16, Resulting Numbers: [80, 16]
Generated Node #0,0,0: 63:[80, 16] Operation: 11+5=16
Exploring Operation: 11-5=6, Resulting Numbers: [80, 6]
Generated Node #0,0,1: 63:[80, 6] Operation: 11-5=6
Exploring Operation: 80-11=69, Resulting Numbers: [5, 69]
Generated Node #0,0,2: 63:[5, 69] Operation: 80-11=69
Exploring Operation: 80/5=16, Resulting Numbers: [11, 16]
Generated Node #0,0,3: 63:[11, 16] Operation: 80/5=16
Exploring Operation: 80-5=75, Resulting Numbers: [11, 75]
Generated Node #0,0,4: 63:[11, 75] Operation: 80-5=75
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 63:[11, 16], Operations: ['98-18=80', '80/5=16']
Exploring Operation: 11+16=27, Resulting Numbers: [27]
27,63 unequal: No Solution
Exploring Operation: 16-11=5, Resulting Numbers: [5]
5,63 unequal: No Solution
Exploring Operation: 11*16=176, Resulting Numbers: [176]
176,63 unequal: No Solution
No 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: 63:[5, 69], Operations: ['98-18=80', '80-11=69']
Exploring Operation: 69-5=64, Resulting Numbers: [64]
64,63 unequal: No Solution
Exploring Operation: 5+69=74, Resulting Numbers: [74]
74,63 unequal: No Solution
Exploring Operation: 5*69=345, Resulting Numbers: [345]
345,63 unequal: No Solution
No 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: 63:[11, 75], Operations: ['98-18=80', '80-5=75']
Exploring Operation: 11*75=825, Resulting Numbers: [825]
825,63 unequal: No Solution
Exploring Operation: 11+75=86, Resulting Numbers: [86]
86,63 unequal: No Solution
Exploring Operation: 75-11=64, Resulting Numbers: [64]
64,63 unequal: No Solution
No 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: 63:[80, 6], Operations: ['98-18=80', '11-5=6']
Exploring Operation: 80*6=480, Resulting Numbers: [480]
480,63 unequal: No Solution
Exploring Operation: 80+6=86, Resulting Numbers: [86]
86,63 unequal: No Solution
Exploring Operation: 80-6=74, Resulting Numbers: [74]
74,63 unequal: No Solution
No 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: 63:[80, 16], Operations: ['98-18=80', '11+5=16']
Exploring Operation: 80*16=1280, Resulting Numbers: [1280]
1280,63 unequal: No Solution
Exploring Operation: 80+16=96, Resulting Numbers: [96]
96,63 unequal: No Solution
Exploring Operation: 80/16=5, Resulting Numbers: [5]
5,63 unequal: No Solution
Exploring Operation: 80-16=64, Resulting Numbers: [64]
64,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 63:[18, 5, 87], Operations: ['98-11=87']
Exploring Operation: 18+5=23, Resulting Numbers: [87, 23]
Generated Node #0,2,0: 63:[87, 23] Operation: 18+5=23
Exploring Operation: 87-5=82, Resulting Numbers: [18, 82]
Generated Node #0,2,1: 63:[18, 82] Operation: 87-5=82
Exploring Operation: 18-5=13, Resulting Numbers: [87, 13]
Generated Node #0,2,2: 63:[87, 13] Operation: 18-5=13
Exploring Operation: 87-18=69, Resulting Numbers: [5, 69]
Generated Node #0,2,3: 63:[5, 69] Operation: 87-18=69
Exploring Operation: 5+87=92, Resulting Numbers: [18, 92]
Generated Node #0,2,4: 63:[18, 92] Operation: 5+87=92
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 63:[5, 69], Operations: ['98-11=87', '87-18=69']
Exploring Operation: 5*69=345, Resulting Numbers: [345]
345,63 unequal: No Solution
Exploring Operation: 69-5=64, Resulting Numbers: [64]
64,63 unequal: No Solution
Exploring Operation: 5+69=74, Resulting Numbers: [74]
74,63 unequal: No Solution
No 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: 63:[18, 82], Operations: ['98-11=87', '87-5=82']
Exploring Operation: 18*82=1476, Resulting Numbers: [1476]
1476,63 unequal: No Solution
Exploring Operation: 18+82=100, Resulting Numbers: [100]
100,63 unequal: No Solution
Exploring Operation: 82-18=64, Resulting Numbers: [64]
64,63 unequal: No Solution
No 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: 63:[87, 23], Operations: ['98-11=87', '18+5=23']
Exploring Operation: 87-23=64, Resulting Numbers: [64]
64,63 unequal: No Solution
Exploring Operation: 87*23=2001, Resulting Numbers: [2001]
2001,63 unequal: No Solution
Exploring Operation: 87+23=110, Resulting Numbers: [110]
110,63 unequal: No Solution
No 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: 63:[87, 13], Operations: ['98-11=87', '18-5=13']
Exploring Operation: 87+13=100, Resulting Numbers: [100]
100,63 unequal: No Solution
Exploring Operation: 87*13=1131, Resulting Numbers: [1131]
1131,63 unequal: No Solution
Exploring Operation: 87-13=74, Resulting Numbers: [74]
74,63 unequal: No Solution
No 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: 63:[18, 92], Operations: ['98-11=87', '5+87=92']
Exploring Operation: 18+92=110, Resulting Numbers: [110]
110,63 unequal: No Solution
Exploring Operation: 92-18=74, Resulting Numbers: [74]
74,63 unequal: No Solution
Exploring Operation: 18*92=1656, Resulting Numbers: [1656]
1656,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 63:[18, 11, 93], Operations: ['98-5=93']
Exploring Operation: 18-11=7, Resulting Numbers: [93, 7]
Generated Node #0,4,0: 63:[93, 7] Operation: 18-11=7
Exploring Operation: 18+11=29, Resulting Numbers: [93, 29]
Generated Node #0,4,1: 63:[93, 29] Operation: 18+11=29
Exploring Operation: 93-11=82, Resulting Numbers: [18, 82]
Generated Node #0,4,2: 63:[18, 82] Operation: 93-11=82
Exploring Operation: 11+93=104, Resulting Numbers: [18, 104]
Generated Node #0,4,3: 63:[18, 104] Operation: 11+93=104
Exploring Operation: 93-18=75, Resulting Numbers: [11, 75]
Generated Node #0,4,4: 63:[11, 75] Operation: 93-18=75
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 63:[11, 75], Operations: ['98-5=93', '93-18=75']
Exploring Operation: 11*75=825, Resulting Numbers: [825]
825,63 unequal: No Solution
Exploring Operation: 11+75=86, Resulting Numbers: [86]
86,63 unequal: No Solution
Exploring Operation: 75-11=64, Resulting Numbers: [64]
64,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 63:[18, 82], Operations: ['98-5=93', '93-11=82']
Exploring Operation: 18*82=1476, Resulting Numbers: [1476]
1476,63 unequal: No Solution
Exploring Operation: 82-18=64, Resulting Numbers: [64]
64,63 unequal: No Solution
Exploring Operation: 18+82=100, Resulting Numbers: [100]
100,63 unequal: No Solution
No 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: 63:[93, 7], Operations: ['98-5=93', '18-11=7']
Exploring Operation: 93*7=651, Resulting Numbers: [651]
651,63 unequal: No Solution
Exploring Operation: 93+7=100, Resulting Numbers: [100]
100,63 unequal: No Solution
Exploring Operation: 93-7=86, Resulting Numbers: [86]
86,63 unequal: No Solution
No 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: 63:[93, 29], Operations: ['98-5=93', '18+11=29']
Exploring Operation: 93*29=2697, Resulting Numbers: [2697]
2697,63 unequal: No Solution
Exploring Operation: 93-29=64, Resulting Numbers: [64]
64,63 unequal: No Solution
Exploring Operation: 93+29=122, Resulting Numbers: [122]
122,63 unequal: No Solution
No 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: 63:[18, 104], Operations: ['98-5=93', '11+93=104']
Exploring Operation: 18+104=122, Resulting Numbers: [122]
122,63 unequal: No Solution
Exploring Operation: 18*104=1872, Resulting Numbers: [1872]
1872,63 unequal: No Solution
Exploring Operation: 104-18=86, Resulting Numbers: [86]
86,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 63:[98, 5, 7], Operations: ['18-11=7']
Exploring Operation: 98-7=91, Resulting Numbers: [5, 91]
Generated Node #0,1,0: 63:[5, 91] Operation: 98-7=91
Exploring Operation: 98/7=14, Resulting Numbers: [5, 14]
Generated Node #0,1,1: 63:[5, 14] Operation: 98/7=14
Exploring Operation: 98-5=93, Resulting Numbers: [7, 93]
Generated Node #0,1,2: 63:[7, 93] Operation: 98-5=93
Exploring Operation: 5+7=12, Resulting Numbers: [98, 12]
Generated Node #0,1,3: 63:[98, 12] Operation: 5+7=12
Exploring Operation: 7-5=2, Resulting Numbers: [98, 2]
Generated Node #0,1,4: 63:[98, 2] Operation: 7-5=2
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 63:[5, 14], Operations: ['18-11=7', '98/7=14']
Exploring Operation: 5*14=70, Resulting Numbers: [70]
70,63 unequal: No Solution
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,63 unequal: No Solution
Exploring Operation: 5+14=19, Resulting Numbers: [19]
19,63 unequal: No Solution
No 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: 63:[5, 91], Operations: ['18-11=7', '98-7=91']
Exploring Operation: 5*91=455, Resulting Numbers: [455]
455,63 unequal: No Solution
Exploring Operation: 91-5=86, Resulting Numbers: [86]
86,63 unequal: No Solution
Exploring Operation: 5+91=96, Resulting Numbers: [96]
96,63 unequal: No Solution
No 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: 63:[7, 93], Operations: ['18-11=7', '98-5=93']
Exploring Operation: 7+93=100, Resulting Numbers: [100]
100,63 unequal: No Solution
Exploring Operation: 93-7=86, Resulting Numbers: [86]
86,63 unequal: No Solution
Exploring Operation: 7*93=651, Resulting Numbers: [651]
651,63 unequal: No Solution
No 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: 63:[98, 2], Operations: ['18-11=7', '7-5=2']
Exploring Operation: 98*2=196, Resulting Numbers: [196]
196,63 unequal: No Solution
Exploring Operation: 98/2=49, Resulting Numbers: [49]
49,63 unequal: No Solution
Exploring Operation: 98-2=96, Resulting Numbers: [96]
96,63 unequal: No Solution
Exploring Operation: 98+2=100, Resulting Numbers: [100]
100,63 unequal: No Solution
No 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: 63:[98, 12], Operations: ['18-11=7', '5+7=12']
Exploring Operation: 98+12=110, Resulting Numbers: [110]
110,63 unequal: No Solution
Exploring Operation: 98-12=86, Resulting Numbers: [86]
86,63 unequal: No Solution
Exploring Operation: 98*12=1176, Resulting Numbers: [1176]
1176,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 63:[98, 11, 23], Operations: ['18+5=23']
Exploring Operation: 98+11=109, Resulting Numbers: [23, 109]
Generated Node #0,3,0: 63:[23, 109] Operation: 98+11=109
Exploring Operation: 98-23=75, Resulting Numbers: [11, 75]
Generated Node #0,3,1: 63:[11, 75] Operation: 98-23=75
Exploring Operation: 23-11=12, Resulting Numbers: [98, 12]
Generated Node #0,3,2: 63:[98, 12] Operation: 23-11=12
Exploring Operation: 98-11=87, Resulting Numbers: [23, 87]
Generated Node #0,3,3: 63:[23, 87] Operation: 98-11=87
Exploring Operation: 11+23=34, Resulting Numbers: [98, 34]
Generated Node #0,3,4: 63:[98, 34] Operation: 11+23=34
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 63:[11, 75], Operations: ['18+5=23', '98-23=75']
Exploring Operation: 11+75=86, Resulting Numbers: [86]
86,63 unequal: No Solution
Exploring Operation: 11*75=825, Resulting Numbers: [825]
825,63 unequal: No Solution
Exploring Operation: 75-11=64, Resulting Numbers: [64]
64,63 unequal: No Solution
No 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: 63:[23, 87], Operations: ['18+5=23', '98-11=87']
Exploring Operation: 23*87=2001, Resulting Numbers: [2001]
2001,63 unequal: No Solution
Exploring Operation: 23+87=110, Resulting Numbers: [110]
110,63 unequal: No Solution
Exploring Operation: 87-23=64, Resulting Numbers: [64]
64,63 unequal: No Solution
No 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: 63:[98, 12], Operations: ['18+5=23', '23-11=12']
Exploring Operation: 98*12=1176, Resulting Numbers: [1176]
1176,63 unequal: No Solution
Exploring Operation: 98+12=110, Resulting Numbers: [110]
110,63 unequal: No Solution
Exploring Operation: 98-12=86, Resulting Numbers: [86]
86,63 unequal: No Solution
No 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: 63:[23, 109], Operations: ['18+5=23', '98+11=109']
Exploring Operation: 23*109=2507, Resulting Numbers: [2507]
2507,63 unequal: No Solution
Exploring Operation: 23+109=132, Resulting Numbers: [132]
132,63 unequal: No Solution
Exploring Operation: 109-23=86, Resulting Numbers: [86]
86,63 unequal: No Solution
No 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: 63:[98, 34], Operations: ['18+5=23', '11+23=34']
Exploring Operation: 98-34=64, Resulting Numbers: [64]
64,63 unequal: No Solution
Exploring Operation: 98*34=3332, Resulting Numbers: [3332]
3332,63 unequal: No Solution
Exploring Operation: 98+34=132, Resulting Numbers: [132]
132,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
29,
32,
70,
49
] | 82 | [
"29+32=61",
"70-49=21",
"61+21=82"
] | Current State: 82:[29, 32, 70, 49], Operations: []
Exploring Operation: 29+32=61, Resulting Numbers: [70, 49, 61]
Generated Node #2: [70, 49, 61] from Operation: 29+32=61
Current State: 82:[70, 49, 61], Operations: ['29+32=61']
Exploring Operation: 70-49=21, Resulting Numbers: [61, 21]
Generated Node #3: [61, 21] from Operation: 70-49=21
Current State: 82:[61, 21], Operations: ['29+32=61', '70-49=21']
Exploring Operation: 61+21=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[29, 32, 70, 49], Operations: []
Exploring Operation: 32-29=3, Resulting Numbers: [70, 49, 3]
Generated Node #0,0: 82:[70, 49, 3] Operation: 32-29=3
Exploring Operation: 70-29=41, Resulting Numbers: [32, 49, 41]
Generated Node #0,1: 82:[32, 49, 41] Operation: 70-29=41
Start Sub Search at level 1: Moving to Node #0,1
Current State: 82:[32, 49, 41], Operations: ['70-29=41']
Exploring Operation: 49-32=17, Resulting Numbers: [41, 17]
Generated Node #0,1,0: 82:[41, 17] Operation: 49-32=17
Exploring Operation: 32+49=81, Resulting Numbers: [41, 81]
Generated Node #0,1,1: 82:[41, 81] Operation: 32+49=81
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 82:[41, 81], Operations: ['70-29=41', '32+49=81']
Exploring Operation: 81-41=40, Resulting Numbers: [40]
40,82 unequal: No Solution
Exploring Operation: 41+81=122, Resulting Numbers: [122]
122,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,1,0
Current State: 82:[41, 17], Operations: ['70-29=41', '49-32=17']
Exploring Operation: 41-17=24, Resulting Numbers: [24]
24,82 unequal: No Solution
Exploring Operation: 41+17=58, Resulting Numbers: [58]
58,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,0
Current State: 82:[70, 49, 3], Operations: ['32-29=3']
Exploring Operation: 49-3=46, Resulting Numbers: [70, 46]
Generated Node #0,0,0: 82:[70, 46] Operation: 49-3=46
Exploring Operation: 70+3=73, Resulting Numbers: [49, 73]
Generated Node #0,0,1: 82:[49, 73] Operation: 70+3=73
Moving to Node #0,0,0
Current State: 82:[70, 46], Operations: ['32-29=3', '49-3=46']
Exploring Operation: 70-46=24, Resulting Numbers: [24]
24,82 unequal: No Solution
Exploring Operation: 70+46=116, Resulting Numbers: [116]
116,82 unequal: No Solution
Moving to Node #0,0,1
Current State: 82:[49, 73], Operations: ['32-29=3', '70+3=73']
Exploring Operation: 49+73=122, Resulting Numbers: [122]
122,82 unequal: No Solution
Exploring Operation: 73-49=24, Resulting Numbers: [24]
24,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
6,
69,
2,
90
] | 27 | [
"90-6=84",
"84/2=42",
"69-42=27"
] | Current State: 27:[6, 69, 2, 90], Operations: []
Exploring Operation: 90-6=84, Resulting Numbers: [69, 2, 84]
Generated Node #2: [69, 2, 84] from Operation: 90-6=84
Current State: 27:[69, 2, 84], Operations: ['90-6=84']
Exploring Operation: 84/2=42, Resulting Numbers: [69, 42]
Generated Node #3: [69, 42] from Operation: 84/2=42
Current State: 27:[69, 42], Operations: ['90-6=84', '84/2=42']
Exploring Operation: 69-42=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[6, 69, 2, 90], Operations: []
Exploring Operation: 90-69=21, Resulting Numbers: [6, 2, 21]
Generated Node #0,0: 27:[6, 2, 21] Operation: 90-69=21
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[6, 2, 21], Operations: ['90-69=21']
Exploring Operation: 6+21=27, Resulting Numbers: [2, 27]
Generated Node #0,0,0: 27:[2, 27] Operation: 6+21=27
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 27:[2, 27], Operations: ['90-69=21', '6+21=27']
Exploring Operation: 2+27=29, Resulting Numbers: [29]
29,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
37,
45,
99,
5
] | 48 | [
"45/5=9",
"99/9=11",
"37+11=48"
] | Current State: 48:[37, 45, 99, 5], Operations: []
Exploring Operation: 45/5=9, Resulting Numbers: [37, 99, 9]
Generated Node #2: [37, 99, 9] from Operation: 45/5=9
Current State: 48:[37, 99, 9], Operations: ['45/5=9']
Exploring Operation: 99/9=11, Resulting Numbers: [37, 11]
Generated Node #3: [37, 11] from Operation: 99/9=11
Current State: 48:[37, 11], Operations: ['45/5=9', '99/9=11']
Exploring Operation: 37+11=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[37, 45, 99, 5], Operations: []
Exploring Operation: 99-45=54, Resulting Numbers: [37, 5, 54]
Generated Node #0,0: 48:[37, 5, 54] Operation: 99-45=54
Exploring Operation: 99-37=62, Resulting Numbers: [45, 5, 62]
Generated Node #0,1: 48:[45, 5, 62] Operation: 99-37=62
Moving to Node #0,0
Current State: 48:[37, 5, 54], Operations: ['99-45=54']
Exploring Operation: 54-37=17, Resulting Numbers: [5, 17]
Generated Node #0,0,0: 48:[5, 17] Operation: 54-37=17
Exploring Operation: 37+5=42, Resulting Numbers: [54, 42]
Generated Node #0,0,1: 48:[54, 42] Operation: 37+5=42
Moving to Node #0,1
Current State: 48:[45, 5, 62], Operations: ['99-37=62']
Exploring Operation: 62-45=17, Resulting Numbers: [5, 17]
Generated Node #0,1,0: 48:[5, 17] Operation: 62-45=17
Exploring Operation: 62-5=57, Resulting Numbers: [45, 57]
Generated Node #0,1,1: 48:[45, 57] Operation: 62-5=57
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 48:[5, 17], Operations: ['99-37=62', '62-45=17']
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,48 unequal: No Solution
Exploring Operation: 5+17=22, Resulting Numbers: [22]
22,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,1,1
Current State: 48:[45, 57], Operations: ['99-37=62', '62-5=57']
Exploring Operation: 57-45=12, Resulting Numbers: [12]
12,48 unequal: No Solution
Exploring Operation: 45+57=102, Resulting Numbers: [102]
102,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 48:[5, 17], Operations: ['99-45=54', '54-37=17']
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,48 unequal: No Solution
Exploring Operation: 5+17=22, Resulting Numbers: [22]
22,48 unequal: No Solution
Moving to Node #0,0,1
Current State: 48:[54, 42], Operations: ['99-45=54', '37+5=42']
Exploring Operation: 54-42=12, Resulting Numbers: [12]
12,48 unequal: No Solution
Exploring Operation: 54+42=96, Resulting Numbers: [96]
96,48 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
1,
35,
7,
94
] | 98 | [
"94-1=93",
"35/7=5",
"93+5=98"
] | Current State: 98:[1, 35, 7, 94], Operations: []
Exploring Operation: 94-1=93, Resulting Numbers: [35, 7, 93]
Generated Node #2: [35, 7, 93] from Operation: 94-1=93
Current State: 98:[35, 7, 93], Operations: ['94-1=93']
Exploring Operation: 35/7=5, Resulting Numbers: [93, 5]
Generated Node #3: [93, 5] from Operation: 35/7=5
Current State: 98:[93, 5], Operations: ['94-1=93', '35/7=5']
Exploring Operation: 93+5=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[1, 35, 7, 94], Operations: []
Exploring Operation: 35+7=42, Resulting Numbers: [1, 94, 42]
Generated Node #0,0: 98:[1, 94, 42] Operation: 35+7=42
Exploring Operation: 35/7=5, Resulting Numbers: [1, 94, 5]
Generated Node #0,1: 98:[1, 94, 5] Operation: 35/7=5
Exploring Operation: 94-35=59, Resulting Numbers: [1, 7, 59]
Generated Node #0,2: 98:[1, 7, 59] Operation: 94-35=59
Moving to Node #0,1
Current State: 98:[1, 94, 5], Operations: ['35/7=5']
Exploring Operation: 94+5=99, Resulting Numbers: [1, 99]
Generated Node #0,1,0: 98:[1, 99] Operation: 94+5=99
Exploring Operation: 1+5=6, Resulting Numbers: [94, 6]
Generated Node #0,1,1: 98:[94, 6] Operation: 1+5=6
Exploring Operation: 1+94=95, Resulting Numbers: [5, 95]
Generated Node #0,1,2: 98:[5, 95] Operation: 1+94=95
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 98:[1, 99], Operations: ['35/7=5', '94+5=99']
Exploring Operation: 99-1=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[1, 35, 7, 94], Operations: []
Exploring Operation: 35/7=5, Resulting Numbers: [1, 94, 5]
Generated Node #0,1: 98:[1, 94, 5] Operation: 35/7=5
Moving to Node #0,1
Current State: 98:[1, 94, 5], Operations: ['35/7=5']
Exploring Operation: 94+5=99, Resulting Numbers: [1, 99]
Generated Node #0,1,0: 98:[1, 99] Operation: 94+5=99
Moving to Node #0,1,0
Current State: 98:[1, 99], Operations: ['35/7=5', '94+5=99']
Exploring Operation: 99-1=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
54,
56,
17,
16
] | 88 | [
"54*16=864",
"56*17=952",
"952-864=88"
] | Current State: 88:[54, 56, 17, 16], Operations: []
Exploring Operation: 54*16=864, Resulting Numbers: [56, 17, 864]
Generated Node #2: [56, 17, 864] from Operation: 54*16=864
Current State: 88:[56, 17, 864], Operations: ['54*16=864']
Exploring Operation: 56*17=952, Resulting Numbers: [864, 952]
Generated Node #3: [864, 952] from Operation: 56*17=952
Current State: 88:[864, 952], Operations: ['54*16=864', '56*17=952']
Exploring Operation: 952-864=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[54, 56, 17, 16], Operations: []
Exploring Operation: 56-54=2, Resulting Numbers: [17, 16, 2]
Generated Node #0,0: 88:[17, 16, 2] Operation: 56-54=2
Exploring Operation: 56-16=40, Resulting Numbers: [54, 17, 40]
Generated Node #0,1: 88:[54, 17, 40] Operation: 56-16=40
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[17, 16, 2], Operations: ['56-54=2']
Exploring Operation: 16/2=8, Resulting Numbers: [17, 8]
Generated Node #0,0,0: 88:[17, 8] Operation: 16/2=8
Exploring Operation: 17-16=1, Resulting Numbers: [2, 1]
Generated Node #0,0,1: 88:[2, 1] Operation: 17-16=1
Moving to Node #0,0,1
Current State: 88:[2, 1], Operations: ['56-54=2', '17-16=1']
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,88 unequal: No Solution
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,88 unequal: No Solution
Moving to Node #0,0,0
Current State: 88:[17, 8], Operations: ['56-54=2', '16/2=8']
Exploring Operation: 17+8=25, Resulting Numbers: [25]
25,88 unequal: No Solution
Exploring Operation: 17-8=9, Resulting Numbers: [9]
9,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 88:[54, 17, 40], Operations: ['56-16=40']
Exploring Operation: 54-40=14, Resulting Numbers: [17, 14]
Generated Node #0,1,0: 88:[17, 14] Operation: 54-40=14
Exploring Operation: 54-17=37, Resulting Numbers: [40, 37]
Generated Node #0,1,1: 88:[40, 37] Operation: 54-17=37
Moving to Node #0,1,0
Current State: 88:[17, 14], Operations: ['56-16=40', '54-40=14']
Exploring Operation: 17+14=31, Resulting Numbers: [31]
31,88 unequal: No Solution
Exploring Operation: 17-14=3, Resulting Numbers: [3]
3,88 unequal: No Solution
Moving to Node #0,1,1
Current State: 88:[40, 37], Operations: ['56-16=40', '54-17=37']
Exploring Operation: 40+37=77, Resulting Numbers: [77]
77,88 unequal: No Solution
Exploring Operation: 40-37=3, Resulting Numbers: [3]
3,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
48,
84,
8,
56
] | 83 | [
"48+8=56",
"56/56=1",
"84-1=83"
] | Current State: 83:[48, 84, 8, 56], Operations: []
Exploring Operation: 48+8=56, Resulting Numbers: [84, 56, 56]
Generated Node #2: [84, 56, 56] from Operation: 48+8=56
Current State: 83:[84, 56, 56], Operations: ['48+8=56']
Exploring Operation: 56/56=1, Resulting Numbers: [84, 1]
Generated Node #3: [84, 1] from Operation: 56/56=1
Current State: 83:[84, 1], Operations: ['48+8=56', '56/56=1']
Exploring Operation: 84-1=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[48, 84, 8, 56], Operations: []
Exploring Operation: 8+56=64, Resulting Numbers: [48, 84, 64]
Generated Node #0,0: 83:[48, 84, 64] Operation: 8+56=64
Exploring Operation: 48+8=56, Resulting Numbers: [84, 56, 56]
Generated Node #0,1: 83:[84, 56, 56] Operation: 48+8=56
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[48, 84, 64], Operations: ['8+56=64']
Exploring Operation: 48+64=112, Resulting Numbers: [84, 112]
Generated Node #0,0,0: 83:[84, 112] Operation: 48+64=112
Exploring Operation: 84-48=36, Resulting Numbers: [64, 36]
Generated Node #0,0,1: 83:[64, 36] Operation: 84-48=36
Moving to Node #0,0,0
Current State: 83:[84, 112], Operations: ['8+56=64', '48+64=112']
Exploring Operation: 84+112=196, Resulting Numbers: [196]
196,83 unequal: No Solution
Exploring Operation: 112-84=28, Resulting Numbers: [28]
28,83 unequal: No Solution
Moving to Node #0,0,1
Current State: 83:[64, 36], Operations: ['8+56=64', '84-48=36']
Exploring Operation: 64-36=28, Resulting Numbers: [28]
28,83 unequal: No Solution
Exploring Operation: 64+36=100, Resulting Numbers: [100]
100,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 83:[84, 56, 56], Operations: ['48+8=56']
Exploring Operation: 56+56=112, Resulting Numbers: [84, 112]
Generated Node #0,1,0: 83:[84, 112] Operation: 56+56=112
Exploring Operation: 84-56=28, Resulting Numbers: [56, 28]
Generated Node #0,1,1: 83:[56, 28] Operation: 84-56=28
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 83:[84, 112], Operations: ['48+8=56', '56+56=112']
Exploring Operation: 112-84=28, Resulting Numbers: [28]
28,83 unequal: No Solution
Exploring Operation: 84+112=196, Resulting Numbers: [196]
196,83 unequal: No Solution
No 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: 83:[56, 28], Operations: ['48+8=56', '84-56=28']
Exploring Operation: 56+28=84, Resulting Numbers: [84]
84,83 unequal: No Solution
Exploring Operation: 56-28=28, Resulting Numbers: [28]
28,83 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 |
[
99,
76,
24,
28
] | 75 | [
"99-76=23",
"24+28=52",
"23+52=75"
] | Current State: 75:[99, 76, 24, 28], Operations: []
Exploring Operation: 99-76=23, Resulting Numbers: [24, 28, 23]
Generated Node #2: [24, 28, 23] from Operation: 99-76=23
Current State: 75:[24, 28, 23], Operations: ['99-76=23']
Exploring Operation: 24+28=52, Resulting Numbers: [23, 52]
Generated Node #3: [23, 52] from Operation: 24+28=52
Current State: 75:[23, 52], Operations: ['99-76=23', '24+28=52']
Exploring Operation: 23+52=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[99, 76, 24, 28], Operations: []
Exploring Operation: 99-24=75, Resulting Numbers: [76, 28, 75]
Generated Node #0,0: 75:[76, 28, 75] Operation: 99-24=75
Moving to Node #0,0
Current State: 75:[76, 28, 75], Operations: ['99-24=75']
Exploring Operation: 76-75=1, Resulting Numbers: [28, 1]
Generated Node #0,0,0: 75:[28, 1] Operation: 76-75=1
Moving to Node #0,0,0
Current State: 75:[28, 1], Operations: ['99-24=75', '76-75=1']
Exploring Operation: 28-1=27, Resulting Numbers: [27]
27,75 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
6,
36,
63,
36
] | 68 | [
"6+63=69",
"36/36=1",
"69-1=68"
] | Current State: 68:[6, 36, 63, 36], Operations: []
Exploring Operation: 6+63=69, Resulting Numbers: [36, 36, 69]
Generated Node #2: [36, 36, 69] from Operation: 6+63=69
Current State: 68:[36, 36, 69], Operations: ['6+63=69']
Exploring Operation: 36/36=1, Resulting Numbers: [69, 1]
Generated Node #3: [69, 1] from Operation: 36/36=1
Current State: 68:[69, 1], Operations: ['6+63=69', '36/36=1']
Exploring Operation: 69-1=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[6, 36, 63, 36], Operations: []
Exploring Operation: 36/6=6, Resulting Numbers: [36, 63, 6]
Generated Node #0,0: 68:[36, 63, 6] Operation: 36/6=6
Exploring Operation: 36/6=6, Resulting Numbers: [63, 36, 6]
Generated Node #0,1: 68:[63, 36, 6] Operation: 36/6=6
Exploring Operation: 6+63=69, Resulting Numbers: [36, 36, 69]
Generated Node #0,2: 68:[36, 36, 69] Operation: 6+63=69
Exploring Operation: 36/36=1, Resulting Numbers: [6, 63, 1]
Generated Node #0,3: 68:[6, 63, 1] Operation: 36/36=1
Exploring Operation: 36-36=0, Resulting Numbers: [6, 63, 0]
Generated Node #0,4: 68:[6, 63, 0] Operation: 36-36=0
Start Sub Search at level 1: Moving to Node #0,2
Current State: 68:[36, 36, 69], Operations: ['6+63=69']
Exploring Operation: 36+36=72, Resulting Numbers: [69, 72]
Generated Node #0,2,0: 68:[69, 72] Operation: 36+36=72
Exploring Operation: 36/36=1, Resulting Numbers: [69, 1]
Generated Node #0,2,1: 68:[69, 1] Operation: 36/36=1
Exploring Operation: 69-36=33, Resulting Numbers: [36, 33]
Generated Node #0,2,2: 68:[36, 33] Operation: 69-36=33
Exploring Operation: 36-36=0, Resulting Numbers: [69, 0]
Generated Node #0,2,3: 68:[69, 0] Operation: 36-36=0
Exploring Operation: 69-36=33, Resulting Numbers: [36, 33]
Generated Node #0,2,4: 68:[36, 33] Operation: 69-36=33
Moving to Node #0,2,1
Current State: 68:[69, 1], Operations: ['6+63=69', '36/36=1']
Exploring Operation: 69/1=69, Resulting Numbers: [69]
69,68 unequal: No Solution
Exploring Operation: 69-1=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[6, 36, 63, 36], Operations: []
Exploring Operation: 6+63=69, Resulting Numbers: [36, 36, 69]
Generated Node #0,2: 68:[36, 36, 69] Operation: 6+63=69
Moving to Node #0,2
Current State: 68:[36, 36, 69], Operations: ['6+63=69']
Exploring Operation: 36/36=1, Resulting Numbers: [69, 1]
Generated Node #0,2,1: 68:[69, 1] Operation: 36/36=1
Moving to Node #0,2,1
Current State: 68:[69, 1], Operations: ['6+63=69', '36/36=1']
Exploring Operation: 69-1=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
55,
24,
37,
86
] | 35 | [
"24+86=110",
"110/55=2",
"37-2=35"
] | Current State: 35:[55, 24, 37, 86], Operations: []
Exploring Operation: 24+86=110, Resulting Numbers: [55, 37, 110]
Generated Node #2: [55, 37, 110] from Operation: 24+86=110
Current State: 35:[55, 37, 110], Operations: ['24+86=110']
Exploring Operation: 110/55=2, Resulting Numbers: [37, 2]
Generated Node #3: [37, 2] from Operation: 110/55=2
Current State: 35:[37, 2], Operations: ['24+86=110', '110/55=2']
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[55, 24, 37, 86], Operations: []
Exploring Operation: 55-24=31, Resulting Numbers: [37, 86, 31]
Generated Node #0,0: 35:[37, 86, 31] Operation: 55-24=31
Exploring Operation: 86-37=49, Resulting Numbers: [55, 24, 49]
Generated Node #0,1: 35:[55, 24, 49] Operation: 86-37=49
Exploring Operation: 86-24=62, Resulting Numbers: [55, 37, 62]
Generated Node #0,2: 35:[55, 37, 62] Operation: 86-24=62
Exploring Operation: 86-55=31, Resulting Numbers: [24, 37, 31]
Generated Node #0,3: 35:[24, 37, 31] Operation: 86-55=31
Start Sub Search at level 1: Moving to Node #0,3
Current State: 35:[24, 37, 31], Operations: ['86-55=31']
Exploring Operation: 31-24=7, Resulting Numbers: [37, 7]
Generated Node #0,3,0: 35:[37, 7] Operation: 31-24=7
Exploring Operation: 37-24=13, Resulting Numbers: [31, 13]
Generated Node #0,3,1: 35:[31, 13] Operation: 37-24=13
Exploring Operation: 24+31=55, Resulting Numbers: [37, 55]
Generated Node #0,3,2: 35:[37, 55] Operation: 24+31=55
Exploring Operation: 37-31=6, Resulting Numbers: [24, 6]
Generated Node #0,3,3: 35:[24, 6] Operation: 37-31=6
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 35:[37, 7], Operations: ['86-55=31', '31-24=7']
Exploring Operation: 37-7=30, Resulting Numbers: [30]
30,35 unequal: No Solution
Exploring Operation: 37*7=259, Resulting Numbers: [259]
259,35 unequal: No Solution
Exploring Operation: 37+7=44, Resulting Numbers: [44]
44,35 unequal: No Solution
No 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: 35:[31, 13], Operations: ['86-55=31', '37-24=13']
Exploring Operation: 31*13=403, Resulting Numbers: [403]
403,35 unequal: No Solution
Exploring Operation: 31-13=18, Resulting Numbers: [18]
18,35 unequal: No Solution
Exploring Operation: 31+13=44, Resulting Numbers: [44]
44,35 unequal: No Solution
No 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: 35:[24, 6], Operations: ['86-55=31', '37-31=6']
Exploring Operation: 24+6=30, Resulting Numbers: [30]
30,35 unequal: No Solution
Exploring Operation: 24/6=4, Resulting Numbers: [4]
4,35 unequal: No Solution
Exploring Operation: 24-6=18, Resulting Numbers: [18]
18,35 unequal: No Solution
Exploring Operation: 24*6=144, Resulting Numbers: [144]
144,35 unequal: No Solution
No 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: 35:[37, 55], Operations: ['86-55=31', '24+31=55']
Exploring Operation: 37+55=92, Resulting Numbers: [92]
92,35 unequal: No Solution
Exploring Operation: 55-37=18, Resulting Numbers: [18]
18,35 unequal: No Solution
Exploring Operation: 37*55=2035, Resulting Numbers: [2035]
2035,35 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: 35:[55, 24, 49], Operations: ['86-37=49']
Exploring Operation: 55-24=31, Resulting Numbers: [49, 31]
Generated Node #0,1,0: 35:[49, 31] Operation: 55-24=31
Exploring Operation: 55+24=79, Resulting Numbers: [49, 79]
Generated Node #0,1,1: 35:[49, 79] Operation: 55+24=79
Exploring Operation: 55-49=6, Resulting Numbers: [24, 6]
Generated Node #0,1,2: 35:[24, 6] Operation: 55-49=6
Exploring Operation: 49-24=25, Resulting Numbers: [55, 25]
Generated Node #0,1,3: 35:[55, 25] Operation: 49-24=25
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 35:[24, 6], Operations: ['86-37=49', '55-49=6']
Exploring Operation: 24/6=4, Resulting Numbers: [4]
4,35 unequal: No Solution
Exploring Operation: 24-6=18, Resulting Numbers: [18]
18,35 unequal: No Solution
Exploring Operation: 24*6=144, Resulting Numbers: [144]
144,35 unequal: No Solution
Exploring Operation: 24+6=30, Resulting Numbers: [30]
30,35 unequal: No Solution
No 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: 35:[49, 31], Operations: ['86-37=49', '55-24=31']
Exploring Operation: 49*31=1519, Resulting Numbers: [1519]
1519,35 unequal: No Solution
Exploring Operation: 49-31=18, Resulting Numbers: [18]
18,35 unequal: No Solution
Exploring Operation: 49+31=80, Resulting Numbers: [80]
80,35 unequal: No Solution
No 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: 35:[55, 25], Operations: ['86-37=49', '49-24=25']
Exploring Operation: 55+25=80, Resulting Numbers: [80]
80,35 unequal: No Solution
Exploring Operation: 55*25=1375, Resulting Numbers: [1375]
1375,35 unequal: No Solution
Exploring Operation: 55-25=30, Resulting Numbers: [30]
30,35 unequal: No Solution
No 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: 35:[49, 79], Operations: ['86-37=49', '55+24=79']
Exploring Operation: 49*79=3871, Resulting Numbers: [3871]
3871,35 unequal: No Solution
Exploring Operation: 79-49=30, Resulting Numbers: [30]
30,35 unequal: No Solution
Exploring Operation: 49+79=128, Resulting Numbers: [128]
128,35 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: 35:[55, 37, 62], Operations: ['86-24=62']
Exploring Operation: 62-55=7, Resulting Numbers: [37, 7]
Generated Node #0,2,0: 35:[37, 7] Operation: 62-55=7
Exploring Operation: 55+37=92, Resulting Numbers: [62, 92]
Generated Node #0,2,1: 35:[62, 92] Operation: 55+37=92
Exploring Operation: 55-37=18, Resulting Numbers: [62, 18]
Generated Node #0,2,2: 35:[62, 18] Operation: 55-37=18
Exploring Operation: 62-37=25, Resulting Numbers: [55, 25]
Generated Node #0,2,3: 35:[55, 25] Operation: 62-37=25
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 35:[37, 7], Operations: ['86-24=62', '62-55=7']
Exploring Operation: 37-7=30, Resulting Numbers: [30]
30,35 unequal: No Solution
Exploring Operation: 37+7=44, Resulting Numbers: [44]
44,35 unequal: No Solution
Exploring Operation: 37*7=259, Resulting Numbers: [259]
259,35 unequal: No Solution
No 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: 35:[55, 25], Operations: ['86-24=62', '62-37=25']
Exploring Operation: 55-25=30, Resulting Numbers: [30]
30,35 unequal: No Solution
Exploring Operation: 55+25=80, Resulting Numbers: [80]
80,35 unequal: No Solution
Exploring Operation: 55*25=1375, Resulting Numbers: [1375]
1375,35 unequal: No Solution
No 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: 35:[62, 18], Operations: ['86-24=62', '55-37=18']
Exploring Operation: 62-18=44, Resulting Numbers: [44]
44,35 unequal: No Solution
Exploring Operation: 62*18=1116, Resulting Numbers: [1116]
1116,35 unequal: No Solution
Exploring Operation: 62+18=80, Resulting Numbers: [80]
80,35 unequal: No Solution
No 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: 35:[62, 92], Operations: ['86-24=62', '55+37=92']
Exploring Operation: 92-62=30, Resulting Numbers: [30]
30,35 unequal: No Solution
Exploring Operation: 62+92=154, Resulting Numbers: [154]
154,35 unequal: No Solution
Exploring Operation: 62*92=5704, Resulting Numbers: [5704]
5704,35 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: 35:[37, 86, 31], Operations: ['55-24=31']
Exploring Operation: 86-31=55, Resulting Numbers: [37, 55]
Generated Node #0,0,0: 35:[37, 55] Operation: 86-31=55
Exploring Operation: 37-31=6, Resulting Numbers: [86, 6]
Generated Node #0,0,1: 35:[86, 6] Operation: 37-31=6
Exploring Operation: 86-37=49, Resulting Numbers: [31, 49]
Generated Node #0,0,2: 35:[31, 49] Operation: 86-37=49
Exploring Operation: 37+31=68, Resulting Numbers: [86, 68]
Generated Node #0,0,3: 35:[86, 68] Operation: 37+31=68
Moving to Node #0,0,2
Current State: 35:[31, 49], Operations: ['55-24=31', '86-37=49']
Exploring Operation: 49-31=18, Resulting Numbers: [18]
18,35 unequal: No Solution
Exploring Operation: 31+49=80, Resulting Numbers: [80]
80,35 unequal: No Solution
Exploring Operation: 31*49=1519, Resulting Numbers: [1519]
1519,35 unequal: No Solution
Moving to Node #0,0,0
Current State: 35:[37, 55], Operations: ['55-24=31', '86-31=55']
Exploring Operation: 55-37=18, Resulting Numbers: [18]
18,35 unequal: No Solution
Exploring Operation: 37*55=2035, Resulting Numbers: [2035]
2035,35 unequal: No Solution
Exploring Operation: 37+55=92, Resulting Numbers: [92]
92,35 unequal: No Solution
Moving to Node #0,0,1
Current State: 35:[86, 6], Operations: ['55-24=31', '37-31=6']
Exploring Operation: 86-6=80, Resulting Numbers: [80]
80,35 unequal: No Solution
Exploring Operation: 86+6=92, Resulting Numbers: [92]
92,35 unequal: No Solution
Exploring Operation: 86*6=516, Resulting Numbers: [516]
516,35 unequal: No Solution
Moving to Node #0,0,3
Current State: 35:[86, 68], Operations: ['55-24=31', '37+31=68']
Exploring Operation: 86*68=5848, Resulting Numbers: [5848]
5848,35 unequal: No Solution
Exploring Operation: 86-68=18, Resulting Numbers: [18]
18,35 unequal: No Solution
Exploring Operation: 86+68=154, Resulting Numbers: [154]
154,35 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 |
[
87,
5,
64,
11
] | 60 | [
"87-64=23",
"23-11=12",
"5*12=60"
] | Current State: 60:[87, 5, 64, 11], Operations: []
Exploring Operation: 87-64=23, Resulting Numbers: [5, 11, 23]
Generated Node #2: [5, 11, 23] from Operation: 87-64=23
Current State: 60:[5, 11, 23], Operations: ['87-64=23']
Exploring Operation: 23-11=12, Resulting Numbers: [5, 12]
Generated Node #3: [5, 12] from Operation: 23-11=12
Current State: 60:[5, 12], Operations: ['87-64=23', '23-11=12']
Exploring Operation: 5*12=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[87, 5, 64, 11], Operations: []
Exploring Operation: 87-64=23, Resulting Numbers: [5, 11, 23]
Generated Node #0,0: 60:[5, 11, 23] Operation: 87-64=23
Moving to Node #0,0
Current State: 60:[5, 11, 23], Operations: ['87-64=23']
Exploring Operation: 23-11=12, Resulting Numbers: [5, 12]
Generated Node #0,0,0: 60:[5, 12] Operation: 23-11=12
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 60:[5, 12], Operations: ['87-64=23', '23-11=12']
Exploring Operation: 5*12=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[87, 5, 64, 11], Operations: []
Exploring Operation: 87-64=23, Resulting Numbers: [5, 11, 23]
Generated Node #0,0: 60:[5, 11, 23] Operation: 87-64=23
Moving to Node #0,0
Current State: 60:[5, 11, 23], Operations: ['87-64=23']
Exploring Operation: 23-11=12, Resulting Numbers: [5, 12]
Generated Node #0,0,0: 60:[5, 12] Operation: 23-11=12
Moving to Node #0,0,0
Current State: 60:[5, 12], Operations: ['87-64=23', '23-11=12']
Exploring Operation: 5*12=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
8,
69,
95,
79
] | 71 | [
"95-79=16",
"16/8=2",
"69+2=71"
] | Current State: 71:[8, 69, 95, 79], Operations: []
Exploring Operation: 95-79=16, Resulting Numbers: [8, 69, 16]
Generated Node #2: [8, 69, 16] from Operation: 95-79=16
Current State: 71:[8, 69, 16], Operations: ['95-79=16']
Exploring Operation: 16/8=2, Resulting Numbers: [69, 2]
Generated Node #3: [69, 2] from Operation: 16/8=2
Current State: 71:[69, 2], Operations: ['95-79=16', '16/8=2']
Exploring Operation: 69+2=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[8, 69, 95, 79], Operations: []
Exploring Operation: 8+69=77, Resulting Numbers: [95, 79, 77]
Generated Node #0,0: 71:[95, 79, 77] Operation: 8+69=77
Exploring Operation: 69-8=61, Resulting Numbers: [95, 79, 61]
Generated Node #0,1: 71:[95, 79, 61] Operation: 69-8=61
Exploring Operation: 79-8=71, Resulting Numbers: [69, 95, 71]
Generated Node #0,2: 71:[69, 95, 71] Operation: 79-8=71
Exploring Operation: 95-8=87, Resulting Numbers: [69, 79, 87]
Generated Node #0,3: 71:[69, 79, 87] Operation: 95-8=87
Start Sub Search at level 1: Moving to Node #0,2
Current State: 71:[69, 95, 71], Operations: ['79-8=71']
Exploring Operation: 69+95=164, Resulting Numbers: [71, 164]
Generated Node #0,2,0: 71:[71, 164] Operation: 69+95=164
Exploring Operation: 69+71=140, Resulting Numbers: [95, 140]
Generated Node #0,2,1: 71:[95, 140] Operation: 69+71=140
Exploring Operation: 95-69=26, Resulting Numbers: [71, 26]
Generated Node #0,2,2: 71:[71, 26] Operation: 95-69=26
Exploring Operation: 95-71=24, Resulting Numbers: [69, 24]
Generated Node #0,2,3: 71:[69, 24] Operation: 95-71=24
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 71:[71, 26], Operations: ['79-8=71', '95-69=26']
Exploring Operation: 71+26=97, Resulting Numbers: [97]
97,71 unequal: No Solution
Exploring Operation: 71*26=1846, Resulting Numbers: [1846]
1846,71 unequal: No Solution
Exploring Operation: 71-26=45, Resulting Numbers: [45]
45,71 unequal: No Solution
No 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: 71:[69, 24], Operations: ['79-8=71', '95-71=24']
Exploring Operation: 69+24=93, Resulting Numbers: [93]
93,71 unequal: No Solution
Exploring Operation: 69*24=1656, Resulting Numbers: [1656]
1656,71 unequal: No Solution
Exploring Operation: 69-24=45, Resulting Numbers: [45]
45,71 unequal: No Solution
No 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: 71:[71, 164], Operations: ['79-8=71', '69+95=164']
Exploring Operation: 71*164=11644, Resulting Numbers: [11644]
11644,71 unequal: No Solution
Exploring Operation: 71+164=235, Resulting Numbers: [235]
235,71 unequal: No Solution
Exploring Operation: 164-71=93, Resulting Numbers: [93]
93,71 unequal: No Solution
No 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: 71:[95, 140], Operations: ['79-8=71', '69+71=140']
Exploring Operation: 95*140=13300, Resulting Numbers: [13300]
13300,71 unequal: No Solution
Exploring Operation: 95+140=235, Resulting Numbers: [235]
235,71 unequal: No Solution
Exploring Operation: 140-95=45, Resulting Numbers: [45]
45,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 71:[69, 79, 87], Operations: ['95-8=87']
Exploring Operation: 79-69=10, Resulting Numbers: [87, 10]
Generated Node #0,3,0: 71:[87, 10] Operation: 79-69=10
Exploring Operation: 87-79=8, Resulting Numbers: [69, 8]
Generated Node #0,3,1: 71:[69, 8] Operation: 87-79=8
Exploring Operation: 69+79=148, Resulting Numbers: [87, 148]
Generated Node #0,3,2: 71:[87, 148] Operation: 69+79=148
Exploring Operation: 87-69=18, Resulting Numbers: [79, 18]
Generated Node #0,3,3: 71:[79, 18] Operation: 87-69=18
Moving to Node #0,3,3
Current State: 71:[79, 18], Operations: ['95-8=87', '87-69=18']
Exploring Operation: 79-18=61, Resulting Numbers: [61]
61,71 unequal: No Solution
Exploring Operation: 79*18=1422, Resulting Numbers: [1422]
1422,71 unequal: No Solution
Exploring Operation: 79+18=97, Resulting Numbers: [97]
97,71 unequal: No Solution
Moving to Node #0,3,1
Current State: 71:[69, 8], Operations: ['95-8=87', '87-79=8']
Exploring Operation: 69+8=77, Resulting Numbers: [77]
77,71 unequal: No Solution
Exploring Operation: 69-8=61, Resulting Numbers: [61]
61,71 unequal: No Solution
Exploring Operation: 69*8=552, Resulting Numbers: [552]
552,71 unequal: No Solution
Moving to Node #0,3,0
Current State: 71:[87, 10], Operations: ['95-8=87', '79-69=10']
Exploring Operation: 87+10=97, Resulting Numbers: [97]
97,71 unequal: No Solution
Exploring Operation: 87-10=77, Resulting Numbers: [77]
77,71 unequal: No Solution
Exploring Operation: 87*10=870, Resulting Numbers: [870]
870,71 unequal: No Solution
Moving to Node #0,3,2
Current State: 71:[87, 148], Operations: ['95-8=87', '69+79=148']
Exploring Operation: 148-87=61, Resulting Numbers: [61]
61,71 unequal: No Solution
Exploring Operation: 87*148=12876, Resulting Numbers: [12876]
12876,71 unequal: No Solution
Exploring Operation: 87+148=235, Resulting Numbers: [235]
235,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[95, 79, 77], Operations: ['8+69=77']
Exploring Operation: 95-77=18, Resulting Numbers: [79, 18]
Generated Node #0,0,0: 71:[79, 18] Operation: 95-77=18
Exploring Operation: 95+79=174, Resulting Numbers: [77, 174]
Generated Node #0,0,1: 71:[77, 174] Operation: 95+79=174
Exploring Operation: 95-79=16, Resulting Numbers: [77, 16]
Generated Node #0,0,2: 71:[77, 16] Operation: 95-79=16
Exploring Operation: 79-77=2, Resulting Numbers: [95, 2]
Generated Node #0,0,3: 71:[95, 2] Operation: 79-77=2
Moving to Node #0,0,0
Current State: 71:[79, 18], Operations: ['8+69=77', '95-77=18']
Exploring Operation: 79-18=61, Resulting Numbers: [61]
61,71 unequal: No Solution
Exploring Operation: 79+18=97, Resulting Numbers: [97]
97,71 unequal: No Solution
Exploring Operation: 79*18=1422, Resulting Numbers: [1422]
1422,71 unequal: No Solution
Moving to Node #0,0,2
Current State: 71:[77, 16], Operations: ['8+69=77', '95-79=16']
Exploring Operation: 77+16=93, Resulting Numbers: [93]
93,71 unequal: No Solution
Exploring Operation: 77*16=1232, Resulting Numbers: [1232]
1232,71 unequal: No Solution
Exploring Operation: 77-16=61, Resulting Numbers: [61]
61,71 unequal: No Solution
Moving to Node #0,0,3
Current State: 71:[95, 2], Operations: ['8+69=77', '79-77=2']
Exploring Operation: 95-2=93, Resulting Numbers: [93]
93,71 unequal: No Solution
Exploring Operation: 95*2=190, Resulting Numbers: [190]
190,71 unequal: No Solution
Exploring Operation: 95+2=97, Resulting Numbers: [97]
97,71 unequal: No Solution
Moving to Node #0,0,1
Current State: 71:[77, 174], Operations: ['8+69=77', '95+79=174']
Exploring Operation: 77*174=13398, Resulting Numbers: [13398]
13398,71 unequal: No Solution
Exploring Operation: 77+174=251, Resulting Numbers: [251]
251,71 unequal: No Solution
Exploring Operation: 174-77=97, Resulting Numbers: [97]
97,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 71:[95, 79, 61], Operations: ['69-8=61']
Exploring Operation: 95+61=156, Resulting Numbers: [79, 156]
Generated Node #0,1,0: 71:[79, 156] Operation: 95+61=156
Exploring Operation: 95-79=16, Resulting Numbers: [61, 16]
Generated Node #0,1,1: 71:[61, 16] Operation: 95-79=16
Exploring Operation: 79-61=18, Resulting Numbers: [95, 18]
Generated Node #0,1,2: 71:[95, 18] Operation: 79-61=18
Exploring Operation: 95-61=34, Resulting Numbers: [79, 34]
Generated Node #0,1,3: 71:[79, 34] Operation: 95-61=34
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 71:[79, 34], Operations: ['69-8=61', '95-61=34']
Exploring Operation: 79-34=45, Resulting Numbers: [45]
45,71 unequal: No Solution
Exploring Operation: 79+34=113, Resulting Numbers: [113]
113,71 unequal: No Solution
Exploring Operation: 79*34=2686, Resulting Numbers: [2686]
2686,71 unequal: No Solution
No 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: 71:[61, 16], Operations: ['69-8=61', '95-79=16']
Exploring Operation: 61+16=77, Resulting Numbers: [77]
77,71 unequal: No Solution
Exploring Operation: 61*16=976, Resulting Numbers: [976]
976,71 unequal: No Solution
Exploring Operation: 61-16=45, Resulting Numbers: [45]
45,71 unequal: No Solution
No 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: 71:[95, 18], Operations: ['69-8=61', '79-61=18']
Exploring Operation: 95+18=113, Resulting Numbers: [113]
113,71 unequal: No Solution
Exploring Operation: 95-18=77, Resulting Numbers: [77]
77,71 unequal: No Solution
Exploring Operation: 95*18=1710, Resulting Numbers: [1710]
1710,71 unequal: No Solution
No 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: 71:[79, 156], Operations: ['69-8=61', '95+61=156']
Exploring Operation: 156-79=77, Resulting Numbers: [77]
77,71 unequal: No Solution
Exploring Operation: 79+156=235, Resulting Numbers: [235]
235,71 unequal: No Solution
Exploring Operation: 79*156=12324, Resulting Numbers: [12324]
12324,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
80,
85,
99,
73
] | 31 | [
"85-80=5",
"99-73=26",
"5+26=31"
] | Current State: 31:[80, 85, 99, 73], Operations: []
Exploring Operation: 85-80=5, Resulting Numbers: [99, 73, 5]
Generated Node #2: [99, 73, 5] from Operation: 85-80=5
Current State: 31:[99, 73, 5], Operations: ['85-80=5']
Exploring Operation: 99-73=26, Resulting Numbers: [5, 26]
Generated Node #3: [5, 26] from Operation: 99-73=26
Current State: 31:[5, 26], Operations: ['85-80=5', '99-73=26']
Exploring Operation: 5+26=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[80, 85, 99, 73], Operations: []
Exploring Operation: 99-85=14, Resulting Numbers: [80, 73, 14]
Generated Node #0,0: 31:[80, 73, 14] Operation: 99-85=14
Exploring Operation: 85-80=5, Resulting Numbers: [99, 73, 5]
Generated Node #0,1: 31:[99, 73, 5] Operation: 85-80=5
Exploring Operation: 99-80=19, Resulting Numbers: [85, 73, 19]
Generated Node #0,2: 31:[85, 73, 19] Operation: 99-80=19
Exploring Operation: 99-73=26, Resulting Numbers: [80, 85, 26]
Generated Node #0,3: 31:[80, 85, 26] Operation: 99-73=26
Moving to Node #0,0
Current State: 31:[80, 73, 14], Operations: ['99-85=14']
Exploring Operation: 73-14=59, Resulting Numbers: [80, 59]
Generated Node #0,0,0: 31:[80, 59] Operation: 73-14=59
Exploring Operation: 80+14=94, Resulting Numbers: [73, 94]
Generated Node #0,0,1: 31:[73, 94] Operation: 80+14=94
Exploring Operation: 80-73=7, Resulting Numbers: [14, 7]
Generated Node #0,0,2: 31:[14, 7] Operation: 80-73=7
Exploring Operation: 80-14=66, Resulting Numbers: [73, 66]
Generated Node #0,0,3: 31:[73, 66] Operation: 80-14=66
Moving to Node #0,3
Current State: 31:[80, 85, 26], Operations: ['99-73=26']
Exploring Operation: 85-26=59, Resulting Numbers: [80, 59]
Generated Node #0,3,0: 31:[80, 59] Operation: 85-26=59
Exploring Operation: 80+26=106, Resulting Numbers: [85, 106]
Generated Node #0,3,1: 31:[85, 106] Operation: 80+26=106
Exploring Operation: 80-26=54, Resulting Numbers: [85, 54]
Generated Node #0,3,2: 31:[85, 54] Operation: 80-26=54
Exploring Operation: 85-80=5, Resulting Numbers: [26, 5]
Generated Node #0,3,3: 31:[26, 5] Operation: 85-80=5
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 31:[26, 5], Operations: ['99-73=26', '85-80=5']
Exploring Operation: 26*5=130, Resulting Numbers: [130]
130,31 unequal: No Solution
Exploring Operation: 26-5=21, Resulting Numbers: [21]
21,31 unequal: No Solution
Exploring Operation: 26+5=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[80, 85, 99, 73], Operations: []
Exploring Operation: 99-73=26, Resulting Numbers: [80, 85, 26]
Generated Node #0,3: 31:[80, 85, 26] Operation: 99-73=26
Moving to Node #0,3
Current State: 31:[80, 85, 26], Operations: ['99-73=26']
Exploring Operation: 85-80=5, Resulting Numbers: [26, 5]
Generated Node #0,3,3: 31:[26, 5] Operation: 85-80=5
Moving to Node #0,3,3
Current State: 31:[26, 5], Operations: ['99-73=26', '85-80=5']
Exploring Operation: 26+5=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_4 | mult_heuristic |
[
22,
92,
2,
58
] | 54 | [
"22+92=114",
"2+58=60",
"114-60=54"
] | Current State: 54:[22, 92, 2, 58], Operations: []
Exploring Operation: 22+92=114, Resulting Numbers: [2, 58, 114]
Generated Node #2: [2, 58, 114] from Operation: 22+92=114
Current State: 54:[2, 58, 114], Operations: ['22+92=114']
Exploring Operation: 2+58=60, Resulting Numbers: [114, 60]
Generated Node #3: [114, 60] from Operation: 2+58=60
Current State: 54:[114, 60], Operations: ['22+92=114', '2+58=60']
Exploring Operation: 114-60=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[22, 92, 2, 58], Operations: []
Exploring Operation: 92-58=34, Resulting Numbers: [22, 2, 34]
Generated Node #0,0: 54:[22, 2, 34] Operation: 92-58=34
Moving to Node #0,0
Current State: 54:[22, 2, 34], Operations: ['92-58=34']
Exploring Operation: 22+34=56, Resulting Numbers: [2, 56]
Generated Node #0,0,0: 54:[2, 56] Operation: 22+34=56
Moving to Node #0,0,0
Current State: 54:[2, 56], Operations: ['92-58=34', '22+34=56']
Exploring Operation: 56-2=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[22, 92, 2, 58], Operations: []
Exploring Operation: 92-58=34, Resulting Numbers: [22, 2, 34]
Generated Node #0,0: 54:[22, 2, 34] Operation: 92-58=34
Moving to Node #0,0
Current State: 54:[22, 2, 34], Operations: ['92-58=34']
Exploring Operation: 22+34=56, Resulting Numbers: [2, 56]
Generated Node #0,0,0: 54:[2, 56] Operation: 22+34=56
Moving to Node #0,0,0
Current State: 54:[2, 56], Operations: ['92-58=34', '22+34=56']
Exploring Operation: 56-2=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
75,
92,
85,
28
] | 33 | [
"92-75=17",
"85/17=5",
"28+5=33"
] | Current State: 33:[75, 92, 85, 28], Operations: []
Exploring Operation: 92-75=17, Resulting Numbers: [85, 28, 17]
Generated Node #2: [85, 28, 17] from Operation: 92-75=17
Current State: 33:[85, 28, 17], Operations: ['92-75=17']
Exploring Operation: 85/17=5, Resulting Numbers: [28, 5]
Generated Node #3: [28, 5] from Operation: 85/17=5
Current State: 33:[28, 5], Operations: ['92-75=17', '85/17=5']
Exploring Operation: 28+5=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[75, 92, 85, 28], Operations: []
Exploring Operation: 85-75=10, Resulting Numbers: [92, 28, 10]
Generated Node #0,0: 33:[92, 28, 10] Operation: 85-75=10
Exploring Operation: 75-28=47, Resulting Numbers: [92, 85, 47]
Generated Node #0,1: 33:[92, 85, 47] Operation: 75-28=47
Exploring Operation: 92-85=7, Resulting Numbers: [75, 28, 7]
Generated Node #0,2: 33:[75, 28, 7] Operation: 92-85=7
Exploring Operation: 92-75=17, Resulting Numbers: [85, 28, 17]
Generated Node #0,3: 33:[85, 28, 17] Operation: 92-75=17
Start Sub Search at level 1: Moving to Node #0,2
Current State: 33:[75, 28, 7], Operations: ['92-85=7']
Exploring Operation: 28/7=4, Resulting Numbers: [75, 4]
Generated Node #0,2,0: 33:[75, 4] Operation: 28/7=4
Exploring Operation: 28+7=35, Resulting Numbers: [75, 35]
Generated Node #0,2,1: 33:[75, 35] Operation: 28+7=35
Exploring Operation: 75-28=47, Resulting Numbers: [7, 47]
Generated Node #0,2,2: 33:[7, 47] Operation: 75-28=47
Exploring Operation: 75-7=68, Resulting Numbers: [28, 68]
Generated Node #0,2,3: 33:[28, 68] Operation: 75-7=68
Moving to Node #0,2,2
Current State: 33:[7, 47], Operations: ['92-85=7', '75-28=47']
Exploring Operation: 7+47=54, Resulting Numbers: [54]
54,33 unequal: No Solution
Exploring Operation: 47-7=40, Resulting Numbers: [40]
40,33 unequal: No Solution
Exploring Operation: 7*47=329, Resulting Numbers: [329]
329,33 unequal: No Solution
Moving to Node #0,2,3
Current State: 33:[28, 68], Operations: ['92-85=7', '75-7=68']
Exploring Operation: 28*68=1904, Resulting Numbers: [1904]
1904,33 unequal: No Solution
Exploring Operation: 28+68=96, Resulting Numbers: [96]
96,33 unequal: No Solution
Exploring Operation: 68-28=40, Resulting Numbers: [40]
40,33 unequal: No Solution
Moving to Node #0,2,0
Current State: 33:[75, 4], Operations: ['92-85=7', '28/7=4']
Exploring Operation: 75+4=79, Resulting Numbers: [79]
79,33 unequal: No Solution
Exploring Operation: 75*4=300, Resulting Numbers: [300]
300,33 unequal: No Solution
Exploring Operation: 75-4=71, Resulting Numbers: [71]
71,33 unequal: No Solution
Moving to Node #0,2,1
Current State: 33:[75, 35], Operations: ['92-85=7', '28+7=35']
Exploring Operation: 75+35=110, Resulting Numbers: [110]
110,33 unequal: No Solution
Exploring Operation: 75*35=2625, Resulting Numbers: [2625]
2625,33 unequal: No Solution
Exploring Operation: 75-35=40, Resulting Numbers: [40]
40,33 unequal: No Solution
No 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: 33:[85, 28, 17], Operations: ['92-75=17']
Exploring Operation: 85-28=57, Resulting Numbers: [17, 57]
Generated Node #0,3,0: 33:[17, 57] Operation: 85-28=57
Exploring Operation: 28-17=11, Resulting Numbers: [85, 11]
Generated Node #0,3,1: 33:[85, 11] Operation: 28-17=11
Exploring Operation: 85-17=68, Resulting Numbers: [28, 68]
Generated Node #0,3,2: 33:[28, 68] Operation: 85-17=68
Exploring Operation: 85/17=5, Resulting Numbers: [28, 5]
Generated Node #0,3,3: 33:[28, 5] Operation: 85/17=5
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 33:[28, 5], Operations: ['92-75=17', '85/17=5']
Exploring Operation: 28*5=140, Resulting Numbers: [140]
140,33 unequal: No Solution
Exploring Operation: 28+5=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[75, 92, 85, 28], Operations: []
Exploring Operation: 92-75=17, Resulting Numbers: [85, 28, 17]
Generated Node #0,3: 33:[85, 28, 17] Operation: 92-75=17
Moving to Node #0,3
Current State: 33:[85, 28, 17], Operations: ['92-75=17']
Exploring Operation: 85/17=5, Resulting Numbers: [28, 5]
Generated Node #0,3,3: 33:[28, 5] Operation: 85/17=5
Moving to Node #0,3,3
Current State: 33:[28, 5], Operations: ['92-75=17', '85/17=5']
Exploring Operation: 28+5=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.973958 | hs_4 | mult_heuristic |
[
54,
52,
35,
2
] | 20 | [
"52-35=17",
"2*17=34",
"54-34=20"
] | Current State: 20:[54, 52, 35, 2], Operations: []
Exploring Operation: 52-35=17, Resulting Numbers: [54, 2, 17]
Generated Node #2: [54, 2, 17] from Operation: 52-35=17
Current State: 20:[54, 2, 17], Operations: ['52-35=17']
Exploring Operation: 2*17=34, Resulting Numbers: [54, 34]
Generated Node #3: [54, 34] from Operation: 2*17=34
Current State: 20:[54, 34], Operations: ['52-35=17', '2*17=34']
Exploring Operation: 54-34=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[54, 52, 35, 2], Operations: []
Exploring Operation: 52/2=26, Resulting Numbers: [54, 35, 26]
Generated Node #0,0: 20:[54, 35, 26] Operation: 52/2=26
Exploring Operation: 52-35=17, Resulting Numbers: [54, 2, 17]
Generated Node #0,1: 20:[54, 2, 17] Operation: 52-35=17
Exploring Operation: 54/2=27, Resulting Numbers: [52, 35, 27]
Generated Node #0,2: 20:[52, 35, 27] Operation: 54/2=27
Exploring Operation: 54-35=19, Resulting Numbers: [52, 2, 19]
Generated Node #0,3: 20:[52, 2, 19] Operation: 54-35=19
Exploring Operation: 54-52=2, Resulting Numbers: [35, 2, 2]
Generated Node #0,4: 20:[35, 2, 2] Operation: 54-52=2
Start Sub Search at level 1: Moving to Node #0,4
Current State: 20:[35, 2, 2], Operations: ['54-52=2']
Exploring Operation: 35-2=33, Resulting Numbers: [2, 33]
Generated Node #0,4,0: 20:[2, 33] Operation: 35-2=33
Exploring Operation: 2+2=4, Resulting Numbers: [35, 4]
Generated Node #0,4,1: 20:[35, 4] Operation: 2+2=4
Exploring Operation: 35-2=33, Resulting Numbers: [2, 33]
Generated Node #0,4,2: 20:[2, 33] Operation: 35-2=33
Exploring Operation: 2/2=1, Resulting Numbers: [35, 1]
Generated Node #0,4,3: 20:[35, 1] Operation: 2/2=1
Exploring Operation: 2*2=4, Resulting Numbers: [35, 4]
Generated Node #0,4,4: 20:[35, 4] Operation: 2*2=4
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 20:[2, 33], Operations: ['54-52=2', '35-2=33']
Exploring Operation: 2*33=66, Resulting Numbers: [66]
66,20 unequal: No Solution
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,20 unequal: No Solution
Exploring Operation: 2+33=35, Resulting Numbers: [35]
35,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 20:[2, 33], Operations: ['54-52=2', '35-2=33']
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,20 unequal: No Solution
Exploring Operation: 2*33=66, Resulting Numbers: [66]
66,20 unequal: No Solution
Exploring Operation: 2+33=35, Resulting Numbers: [35]
35,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 20:[35, 4], Operations: ['54-52=2', '2+2=4']
Exploring Operation: 35-4=31, Resulting Numbers: [31]
31,20 unequal: No Solution
Exploring Operation: 35+4=39, Resulting Numbers: [39]
39,20 unequal: No Solution
Exploring Operation: 35*4=140, Resulting Numbers: [140]
140,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 20:[35, 4], Operations: ['54-52=2', '2*2=4']
Exploring Operation: 35+4=39, Resulting Numbers: [39]
39,20 unequal: No Solution
Exploring Operation: 35*4=140, Resulting Numbers: [140]
140,20 unequal: No Solution
Exploring Operation: 35-4=31, Resulting Numbers: [31]
31,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 20:[35, 1], Operations: ['54-52=2', '2/2=1']
Exploring Operation: 35-1=34, Resulting Numbers: [34]
34,20 unequal: No Solution
Exploring Operation: 35*1=35, Resulting Numbers: [35]
35,20 unequal: No Solution
Exploring Operation: 35+1=36, Resulting Numbers: [36]
36,20 unequal: No Solution
Exploring Operation: 35/1=35, Resulting Numbers: [35]
35,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 20:[52, 2, 19], Operations: ['54-35=19']
Exploring Operation: 2+19=21, Resulting Numbers: [52, 21]
Generated Node #0,3,0: 20:[52, 21] Operation: 2+19=21
Exploring Operation: 52-19=33, Resulting Numbers: [2, 33]
Generated Node #0,3,1: 20:[2, 33] Operation: 52-19=33
Exploring Operation: 52-2=50, Resulting Numbers: [19, 50]
Generated Node #0,3,2: 20:[19, 50] Operation: 52-2=50
Exploring Operation: 52/2=26, Resulting Numbers: [19, 26]
Generated Node #0,3,3: 20:[19, 26] Operation: 52/2=26
Exploring Operation: 52+2=54, Resulting Numbers: [19, 54]
Generated Node #0,3,4: 20:[19, 54] Operation: 52+2=54
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 20:[19, 26], Operations: ['54-35=19', '52/2=26']
Exploring Operation: 19*26=494, Resulting Numbers: [494]
494,20 unequal: No Solution
Exploring Operation: 26-19=7, Resulting Numbers: [7]
7,20 unequal: No Solution
Exploring Operation: 19+26=45, Resulting Numbers: [45]
45,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 20:[2, 33], Operations: ['54-35=19', '52-19=33']
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,20 unequal: No Solution
Exploring Operation: 2*33=66, Resulting Numbers: [66]
66,20 unequal: No Solution
Exploring Operation: 2+33=35, Resulting Numbers: [35]
35,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 20:[19, 50], Operations: ['54-35=19', '52-2=50']
Exploring Operation: 19*50=950, Resulting Numbers: [950]
950,20 unequal: No Solution
Exploring Operation: 50-19=31, Resulting Numbers: [31]
31,20 unequal: No Solution
Exploring Operation: 19+50=69, Resulting Numbers: [69]
69,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 20:[52, 21], Operations: ['54-35=19', '2+19=21']
Exploring Operation: 52-21=31, Resulting Numbers: [31]
31,20 unequal: No Solution
Exploring Operation: 52+21=73, Resulting Numbers: [73]
73,20 unequal: No Solution
Exploring Operation: 52*21=1092, Resulting Numbers: [1092]
1092,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 20:[19, 54], Operations: ['54-35=19', '52+2=54']
Exploring Operation: 19+54=73, Resulting Numbers: [73]
73,20 unequal: No Solution
Exploring Operation: 19*54=1026, Resulting Numbers: [1026]
1026,20 unequal: No Solution
Exploring Operation: 54-19=35, Resulting Numbers: [35]
35,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 20:[54, 2, 17], Operations: ['52-35=17']
Exploring Operation: 54+2=56, Resulting Numbers: [17, 56]
Generated Node #0,1,0: 20:[17, 56] Operation: 54+2=56
Exploring Operation: 54-17=37, Resulting Numbers: [2, 37]
Generated Node #0,1,1: 20:[2, 37] Operation: 54-17=37
Exploring Operation: 2+17=19, Resulting Numbers: [54, 19]
Generated Node #0,1,2: 20:[54, 19] Operation: 2+17=19
Exploring Operation: 54/2=27, Resulting Numbers: [17, 27]
Generated Node #0,1,3: 20:[17, 27] Operation: 54/2=27
Exploring Operation: 54-2=52, Resulting Numbers: [17, 52]
Generated Node #0,1,4: 20:[17, 52] Operation: 54-2=52
Moving to Node #0,1,3
Current State: 20:[17, 27], Operations: ['52-35=17', '54/2=27']
Exploring Operation: 17*27=459, Resulting Numbers: [459]
459,20 unequal: No Solution
Exploring Operation: 17+27=44, Resulting Numbers: [44]
44,20 unequal: No Solution
Exploring Operation: 27-17=10, Resulting Numbers: [10]
10,20 unequal: No Solution
Moving to Node #0,1,1
Current State: 20:[2, 37], Operations: ['52-35=17', '54-17=37']
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,20 unequal: No Solution
Exploring Operation: 2+37=39, Resulting Numbers: [39]
39,20 unequal: No Solution
Exploring Operation: 2*37=74, Resulting Numbers: [74]
74,20 unequal: No Solution
Moving to Node #0,1,2
Current State: 20:[54, 19], Operations: ['52-35=17', '2+17=19']
Exploring Operation: 54*19=1026, Resulting Numbers: [1026]
1026,20 unequal: No Solution
Exploring Operation: 54-19=35, Resulting Numbers: [35]
35,20 unequal: No Solution
Exploring Operation: 54+19=73, Resulting Numbers: [73]
73,20 unequal: No Solution
Moving to Node #0,1,4
Current State: 20:[17, 52], Operations: ['52-35=17', '54-2=52']
Exploring Operation: 17+52=69, Resulting Numbers: [69]
69,20 unequal: No Solution
Exploring Operation: 52-17=35, Resulting Numbers: [35]
35,20 unequal: No Solution
Exploring Operation: 17*52=884, Resulting Numbers: [884]
884,20 unequal: No Solution
Moving to Node #0,1,0
Current State: 20:[17, 56], Operations: ['52-35=17', '54+2=56']
Exploring Operation: 56-17=39, Resulting Numbers: [39]
39,20 unequal: No Solution
Exploring Operation: 17*56=952, Resulting Numbers: [952]
952,20 unequal: No Solution
Exploring Operation: 17+56=73, Resulting Numbers: [73]
73,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 20:[52, 35, 27], Operations: ['54/2=27']
Exploring Operation: 52-35=17, Resulting Numbers: [27, 17]
Generated Node #0,2,0: 20:[27, 17] Operation: 52-35=17
Exploring Operation: 52+35=87, Resulting Numbers: [27, 87]
Generated Node #0,2,1: 20:[27, 87] Operation: 52+35=87
Exploring Operation: 52+27=79, Resulting Numbers: [35, 79]
Generated Node #0,2,2: 20:[35, 79] Operation: 52+27=79
Exploring Operation: 52-27=25, Resulting Numbers: [35, 25]
Generated Node #0,2,3: 20:[35, 25] Operation: 52-27=25
Exploring Operation: 35-27=8, Resulting Numbers: [52, 8]
Generated Node #0,2,4: 20:[52, 8] Operation: 35-27=8
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 20:[27, 17], Operations: ['54/2=27', '52-35=17']
Exploring Operation: 27-17=10, Resulting Numbers: [10]
10,20 unequal: No Solution
Exploring Operation: 27+17=44, Resulting Numbers: [44]
44,20 unequal: No Solution
Exploring Operation: 27*17=459, Resulting Numbers: [459]
459,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 20:[35, 25], Operations: ['54/2=27', '52-27=25']
Exploring Operation: 35+25=60, Resulting Numbers: [60]
60,20 unequal: No Solution
Exploring Operation: 35-25=10, Resulting Numbers: [10]
10,20 unequal: No Solution
Exploring Operation: 35*25=875, Resulting Numbers: [875]
875,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 20:[52, 8], Operations: ['54/2=27', '35-27=8']
Exploring Operation: 52+8=60, Resulting Numbers: [60]
60,20 unequal: No Solution
Exploring Operation: 52*8=416, Resulting Numbers: [416]
416,20 unequal: No Solution
Exploring Operation: 52-8=44, Resulting Numbers: [44]
44,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 20:[27, 87], Operations: ['54/2=27', '52+35=87']
Exploring Operation: 27*87=2349, Resulting Numbers: [2349]
2349,20 unequal: No Solution
Exploring Operation: 27+87=114, Resulting Numbers: [114]
114,20 unequal: No Solution
Exploring Operation: 87-27=60, Resulting Numbers: [60]
60,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 20:[35, 79], Operations: ['54/2=27', '52+27=79']
Exploring Operation: 35+79=114, Resulting Numbers: [114]
114,20 unequal: No Solution
Exploring Operation: 79-35=44, Resulting Numbers: [44]
44,20 unequal: No Solution
Exploring Operation: 35*79=2765, Resulting Numbers: [2765]
2765,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[54, 35, 26], Operations: ['52/2=26']
Exploring Operation: 54+26=80, Resulting Numbers: [35, 80]
Generated Node #0,0,0: 20:[35, 80] Operation: 54+26=80
Exploring Operation: 54+35=89, Resulting Numbers: [26, 89]
Generated Node #0,0,1: 20:[26, 89] Operation: 54+35=89
Exploring Operation: 35-26=9, Resulting Numbers: [54, 9]
Generated Node #0,0,2: 20:[54, 9] Operation: 35-26=9
Exploring Operation: 54-35=19, Resulting Numbers: [26, 19]
Generated Node #0,0,3: 20:[26, 19] Operation: 54-35=19
Exploring Operation: 54-26=28, Resulting Numbers: [35, 28]
Generated Node #0,0,4: 20:[35, 28] Operation: 54-26=28
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 20:[26, 19], Operations: ['52/2=26', '54-35=19']
Exploring Operation: 26+19=45, Resulting Numbers: [45]
45,20 unequal: No Solution
Exploring Operation: 26-19=7, Resulting Numbers: [7]
7,20 unequal: No Solution
Exploring Operation: 26*19=494, Resulting Numbers: [494]
494,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 20:[35, 28], Operations: ['52/2=26', '54-26=28']
Exploring Operation: 35*28=980, Resulting Numbers: [980]
980,20 unequal: No Solution
Exploring Operation: 35+28=63, Resulting Numbers: [63]
63,20 unequal: No Solution
Exploring Operation: 35-28=7, Resulting Numbers: [7]
7,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 20:[54, 9], Operations: ['52/2=26', '35-26=9']
Exploring Operation: 54*9=486, Resulting Numbers: [486]
486,20 unequal: No Solution
Exploring Operation: 54-9=45, Resulting Numbers: [45]
45,20 unequal: No Solution
Exploring Operation: 54/9=6, Resulting Numbers: [6]
6,20 unequal: No Solution
Exploring Operation: 54+9=63, Resulting Numbers: [63]
63,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 20:[35, 80], Operations: ['52/2=26', '54+26=80']
Exploring Operation: 35+80=115, Resulting Numbers: [115]
115,20 unequal: No Solution
Exploring Operation: 80-35=45, Resulting Numbers: [45]
45,20 unequal: No Solution
Exploring Operation: 35*80=2800, Resulting Numbers: [2800]
2800,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 20:[26, 89], Operations: ['52/2=26', '54+35=89']
Exploring Operation: 26*89=2314, Resulting Numbers: [2314]
2314,20 unequal: No Solution
Exploring Operation: 26+89=115, Resulting Numbers: [115]
115,20 unequal: No Solution
Exploring Operation: 89-26=63, Resulting Numbers: [63]
63,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
3,
2,
8,
20
] | 45 | [
"8-3=5",
"2*20=40",
"5+40=45"
] | Current State: 45:[3, 2, 8, 20], Operations: []
Exploring Operation: 8-3=5, Resulting Numbers: [2, 20, 5]
Generated Node #2: [2, 20, 5] from Operation: 8-3=5
Current State: 45:[2, 20, 5], Operations: ['8-3=5']
Exploring Operation: 2*20=40, Resulting Numbers: [5, 40]
Generated Node #3: [5, 40] from Operation: 2*20=40
Current State: 45:[5, 40], Operations: ['8-3=5', '2*20=40']
Exploring Operation: 5+40=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[3, 2, 8, 20], Operations: []
Exploring Operation: 20-3=17, Resulting Numbers: [2, 8, 17]
Generated Node #0,0: 45:[2, 8, 17] Operation: 20-3=17
Exploring Operation: 20/2=10, Resulting Numbers: [3, 8, 10]
Generated Node #0,1: 45:[3, 8, 10] Operation: 20/2=10
Start Sub Search at level 1: Moving to Node #0,1
Current State: 45:[3, 8, 10], Operations: ['20/2=10']
Exploring Operation: 10-8=2, Resulting Numbers: [3, 2]
Generated Node #0,1,0: 45:[3, 2] Operation: 10-8=2
Exploring Operation: 8-3=5, Resulting Numbers: [10, 5]
Generated Node #0,1,1: 45:[10, 5] Operation: 8-3=5
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 45:[3, 2], Operations: ['20/2=10', '10-8=2']
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,45 unequal: No Solution
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 45:[10, 5], Operations: ['20/2=10', '8-3=5']
Exploring Operation: 10+5=15, Resulting Numbers: [15]
15,45 unequal: No Solution
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 45:[2, 8, 17], Operations: ['20-3=17']
Exploring Operation: 17-8=9, Resulting Numbers: [2, 9]
Generated Node #0,0,0: 45:[2, 9] Operation: 17-8=9
Exploring Operation: 17-2=15, Resulting Numbers: [8, 15]
Generated Node #0,0,1: 45:[8, 15] Operation: 17-2=15
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 45:[2, 9], Operations: ['20-3=17', '17-8=9']
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,45 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 45:[8, 15], Operations: ['20-3=17', '17-2=15']
Exploring Operation: 15-8=7, Resulting Numbers: [7]
7,45 unequal: No Solution
Exploring Operation: 8+15=23, Resulting Numbers: [23]
23,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
14,
61,
2,
13
] | 73 | [
"61-14=47",
"2*13=26",
"47+26=73"
] | Current State: 73:[14, 61, 2, 13], Operations: []
Exploring Operation: 61-14=47, Resulting Numbers: [2, 13, 47]
Generated Node #2: [2, 13, 47] from Operation: 61-14=47
Current State: 73:[2, 13, 47], Operations: ['61-14=47']
Exploring Operation: 2*13=26, Resulting Numbers: [47, 26]
Generated Node #3: [47, 26] from Operation: 2*13=26
Current State: 73:[47, 26], Operations: ['61-14=47', '2*13=26']
Exploring Operation: 47+26=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[14, 61, 2, 13], Operations: []
Exploring Operation: 14+13=27, Resulting Numbers: [61, 2, 27]
Generated Node #0,0: 73:[61, 2, 27] Operation: 14+13=27
Exploring Operation: 14+2=16, Resulting Numbers: [61, 13, 16]
Generated Node #0,1: 73:[61, 13, 16] Operation: 14+2=16
Exploring Operation: 2*13=26, Resulting Numbers: [14, 61, 26]
Generated Node #0,2: 73:[14, 61, 26] Operation: 2*13=26
Exploring Operation: 14*2=28, Resulting Numbers: [61, 13, 28]
Generated Node #0,3: 73:[61, 13, 28] Operation: 14*2=28
Moving to Node #0,3
Current State: 73:[61, 13, 28], Operations: ['14*2=28']
Exploring Operation: 28-13=15, Resulting Numbers: [61, 15]
Generated Node #0,3,0: 73:[61, 15] Operation: 28-13=15
Exploring Operation: 13+28=41, Resulting Numbers: [61, 41]
Generated Node #0,3,1: 73:[61, 41] Operation: 13+28=41
Exploring Operation: 61+13=74, Resulting Numbers: [28, 74]
Generated Node #0,3,2: 73:[28, 74] Operation: 61+13=74
Exploring Operation: 61-13=48, Resulting Numbers: [28, 48]
Generated Node #0,3,3: 73:[28, 48] Operation: 61-13=48
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 73:[61, 41], Operations: ['14*2=28', '13+28=41']
Exploring Operation: 61-41=20, Resulting Numbers: [20]
20,73 unequal: No Solution
Exploring Operation: 61*41=2501, Resulting Numbers: [2501]
2501,73 unequal: No Solution
Exploring Operation: 61+41=102, Resulting Numbers: [102]
102,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 73:[28, 74], Operations: ['14*2=28', '61+13=74']
Exploring Operation: 74-28=46, Resulting Numbers: [46]
46,73 unequal: No Solution
Exploring Operation: 28*74=2072, Resulting Numbers: [2072]
2072,73 unequal: No Solution
Exploring Operation: 28+74=102, Resulting Numbers: [102]
102,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 73:[61, 15], Operations: ['14*2=28', '28-13=15']
Exploring Operation: 61-15=46, Resulting Numbers: [46]
46,73 unequal: No Solution
Exploring Operation: 61+15=76, Resulting Numbers: [76]
76,73 unequal: No Solution
Exploring Operation: 61*15=915, Resulting Numbers: [915]
915,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 73:[28, 48], Operations: ['14*2=28', '61-13=48']
Exploring Operation: 28+48=76, Resulting Numbers: [76]
76,73 unequal: No Solution
Exploring Operation: 48-28=20, Resulting Numbers: [20]
20,73 unequal: No Solution
Exploring Operation: 28*48=1344, Resulting Numbers: [1344]
1344,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 73:[14, 61, 26], Operations: ['2*13=26']
Exploring Operation: 61-14=47, Resulting Numbers: [26, 47]
Generated Node #0,2,0: 73:[26, 47] Operation: 61-14=47
Exploring Operation: 14+61=75, Resulting Numbers: [26, 75]
Generated Node #0,2,1: 73:[26, 75] Operation: 14+61=75
Exploring Operation: 26-14=12, Resulting Numbers: [61, 12]
Generated Node #0,2,2: 73:[61, 12] Operation: 26-14=12
Exploring Operation: 14+26=40, Resulting Numbers: [61, 40]
Generated Node #0,2,3: 73:[61, 40] Operation: 14+26=40
Moving to Node #0,1
Current State: 73:[61, 13, 16], Operations: ['14+2=16']
Exploring Operation: 61+16=77, Resulting Numbers: [13, 77]
Generated Node #0,1,0: 73:[13, 77] Operation: 61+16=77
Exploring Operation: 61-13=48, Resulting Numbers: [16, 48]
Generated Node #0,1,1: 73:[16, 48] Operation: 61-13=48
Exploring Operation: 61+13=74, Resulting Numbers: [16, 74]
Generated Node #0,1,2: 73:[16, 74] Operation: 61+13=74
Exploring Operation: 13+16=29, Resulting Numbers: [61, 29]
Generated Node #0,1,3: 73:[61, 29] Operation: 13+16=29
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 73:[61, 29], Operations: ['14+2=16', '13+16=29']
Exploring Operation: 61+29=90, Resulting Numbers: [90]
90,73 unequal: No Solution
Exploring Operation: 61*29=1769, Resulting Numbers: [1769]
1769,73 unequal: No Solution
Exploring Operation: 61-29=32, Resulting Numbers: [32]
32,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 73:[16, 74], Operations: ['14+2=16', '61+13=74']
Exploring Operation: 16+74=90, Resulting Numbers: [90]
90,73 unequal: No Solution
Exploring Operation: 16*74=1184, Resulting Numbers: [1184]
1184,73 unequal: No Solution
Exploring Operation: 74-16=58, Resulting Numbers: [58]
58,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 73:[13, 77], Operations: ['14+2=16', '61+16=77']
Exploring Operation: 77-13=64, Resulting Numbers: [64]
64,73 unequal: No Solution
Exploring Operation: 13+77=90, Resulting Numbers: [90]
90,73 unequal: No Solution
Exploring Operation: 13*77=1001, Resulting Numbers: [1001]
1001,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 73:[16, 48], Operations: ['14+2=16', '61-13=48']
Exploring Operation: 16+48=64, Resulting Numbers: [64]
64,73 unequal: No Solution
Exploring Operation: 48/16=3, Resulting Numbers: [3]
3,73 unequal: No Solution
Exploring Operation: 16*48=768, Resulting Numbers: [768]
768,73 unequal: No Solution
Exploring Operation: 48-16=32, Resulting Numbers: [32]
32,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 73:[61, 2, 27], Operations: ['14+13=27']
Exploring Operation: 2+27=29, Resulting Numbers: [61, 29]
Generated Node #0,0,0: 73:[61, 29] Operation: 2+27=29
Exploring Operation: 61+2=63, Resulting Numbers: [27, 63]
Generated Node #0,0,1: 73:[27, 63] Operation: 61+2=63
Exploring Operation: 2*27=54, Resulting Numbers: [61, 54]
Generated Node #0,0,2: 73:[61, 54] Operation: 2*27=54
Exploring Operation: 61-2=59, Resulting Numbers: [27, 59]
Generated Node #0,0,3: 73:[27, 59] Operation: 61-2=59
Moving to Node #0,0,2
Current State: 73:[61, 54], Operations: ['14+13=27', '2*27=54']
Exploring Operation: 61*54=3294, Resulting Numbers: [3294]
3294,73 unequal: No Solution
Exploring Operation: 61+54=115, Resulting Numbers: [115]
115,73 unequal: No Solution
Exploring Operation: 61-54=7, Resulting Numbers: [7]
7,73 unequal: No Solution
Moving to Node #0,2,3
Current State: 73:[61, 40], Operations: ['2*13=26', '14+26=40']
Exploring Operation: 61*40=2440, Resulting Numbers: [2440]
2440,73 unequal: No Solution
Exploring Operation: 61+40=101, Resulting Numbers: [101]
101,73 unequal: No Solution
Exploring Operation: 61-40=21, Resulting Numbers: [21]
21,73 unequal: No Solution
Moving to Node #0,2,1
Current State: 73:[26, 75], Operations: ['2*13=26', '14+61=75']
Exploring Operation: 75-26=49, Resulting Numbers: [49]
49,73 unequal: No Solution
Exploring Operation: 26*75=1950, Resulting Numbers: [1950]
1950,73 unequal: No Solution
Exploring Operation: 26+75=101, Resulting Numbers: [101]
101,73 unequal: No Solution
Moving to Node #0,0,0
Current State: 73:[61, 29], Operations: ['14+13=27', '2+27=29']
Exploring Operation: 61*29=1769, Resulting Numbers: [1769]
1769,73 unequal: No Solution
Exploring Operation: 61-29=32, Resulting Numbers: [32]
32,73 unequal: No Solution
Exploring Operation: 61+29=90, Resulting Numbers: [90]
90,73 unequal: No Solution
Moving to Node #0,0,1
Current State: 73:[27, 63], Operations: ['14+13=27', '61+2=63']
Exploring Operation: 27+63=90, Resulting Numbers: [90]
90,73 unequal: No Solution
Exploring Operation: 63-27=36, Resulting Numbers: [36]
36,73 unequal: No Solution
Exploring Operation: 27*63=1701, Resulting Numbers: [1701]
1701,73 unequal: No Solution
Moving to Node #0,0,3
Current State: 73:[27, 59], Operations: ['14+13=27', '61-2=59']
Exploring Operation: 27*59=1593, Resulting Numbers: [1593]
1593,73 unequal: No Solution
Exploring Operation: 27+59=86, Resulting Numbers: [86]
86,73 unequal: No Solution
Exploring Operation: 59-27=32, Resulting Numbers: [32]
32,73 unequal: No Solution
Moving to Node #0,2,2
Current State: 73:[61, 12], Operations: ['2*13=26', '26-14=12']
Exploring Operation: 61-12=49, Resulting Numbers: [49]
49,73 unequal: No Solution
Exploring Operation: 61+12=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[14, 61, 2, 13], Operations: []
Exploring Operation: 2*13=26, Resulting Numbers: [14, 61, 26]
Generated Node #0,2: 73:[14, 61, 26] Operation: 2*13=26
Moving to Node #0,2
Current State: 73:[14, 61, 26], Operations: ['2*13=26']
Exploring Operation: 26-14=12, Resulting Numbers: [61, 12]
Generated Node #0,2,2: 73:[61, 12] Operation: 26-14=12
Moving to Node #0,2,2
Current State: 73:[61, 12], Operations: ['2*13=26', '26-14=12']
Exploring Operation: 61+12=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 0.940104 | hs_4 | mult_heuristic |
[
82,
79,
76,
2
] | 83 | [
"82+79=161",
"76+2=78",
"161-78=83"
] | Current State: 83:[82, 79, 76, 2], Operations: []
Exploring Operation: 82+79=161, Resulting Numbers: [76, 2, 161]
Generated Node #2: [76, 2, 161] from Operation: 82+79=161
Current State: 83:[76, 2, 161], Operations: ['82+79=161']
Exploring Operation: 76+2=78, Resulting Numbers: [161, 78]
Generated Node #3: [161, 78] from Operation: 76+2=78
Current State: 83:[161, 78], Operations: ['82+79=161', '76+2=78']
Exploring Operation: 161-78=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[82, 79, 76, 2], Operations: []
Exploring Operation: 76+2=78, Resulting Numbers: [82, 79, 78]
Generated Node #0,0: 83:[82, 79, 78] Operation: 76+2=78
Exploring Operation: 79-2=77, Resulting Numbers: [82, 76, 77]
Generated Node #0,1: 83:[82, 76, 77] Operation: 79-2=77
Exploring Operation: 82+2=84, Resulting Numbers: [79, 76, 84]
Generated Node #0,2: 83:[79, 76, 84] Operation: 82+2=84
Exploring Operation: 79+2=81, Resulting Numbers: [82, 76, 81]
Generated Node #0,3: 83:[82, 76, 81] Operation: 79+2=81
Exploring Operation: 82-2=80, Resulting Numbers: [79, 76, 80]
Generated Node #0,4: 83:[79, 76, 80] Operation: 82-2=80
Moving to Node #0,0
Current State: 83:[82, 79, 78], Operations: ['76+2=78']
Exploring Operation: 82+78=160, Resulting Numbers: [79, 160]
Generated Node #0,0,0: 83:[79, 160] Operation: 82+78=160
Exploring Operation: 79+78=157, Resulting Numbers: [82, 157]
Generated Node #0,0,1: 83:[82, 157] Operation: 79+78=157
Exploring Operation: 82-78=4, Resulting Numbers: [79, 4]
Generated Node #0,0,2: 83:[79, 4] Operation: 82-78=4
Exploring Operation: 82+79=161, Resulting Numbers: [78, 161]
Generated Node #0,0,3: 83:[78, 161] Operation: 82+79=161
Exploring Operation: 79-78=1, Resulting Numbers: [82, 1]
Generated Node #0,0,4: 83:[82, 1] Operation: 79-78=1
Moving to Node #0,3
Current State: 83:[82, 76, 81], Operations: ['79+2=81']
Exploring Operation: 82+76=158, Resulting Numbers: [81, 158]
Generated Node #0,3,0: 83:[81, 158] Operation: 82+76=158
Exploring Operation: 76+81=157, Resulting Numbers: [82, 157]
Generated Node #0,3,1: 83:[82, 157] Operation: 76+81=157
Exploring Operation: 82-76=6, Resulting Numbers: [81, 6]
Generated Node #0,3,2: 83:[81, 6] Operation: 82-76=6
Exploring Operation: 82+81=163, Resulting Numbers: [76, 163]
Generated Node #0,3,3: 83:[76, 163] Operation: 82+81=163
Exploring Operation: 81-76=5, Resulting Numbers: [82, 5]
Generated Node #0,3,4: 83:[82, 5] Operation: 81-76=5
Moving to Node #0,2
Current State: 83:[79, 76, 84], Operations: ['82+2=84']
Exploring Operation: 84-76=8, Resulting Numbers: [79, 8]
Generated Node #0,2,0: 83:[79, 8] Operation: 84-76=8
Exploring Operation: 76+84=160, Resulting Numbers: [79, 160]
Generated Node #0,2,1: 83:[79, 160] Operation: 76+84=160
Exploring Operation: 79-76=3, Resulting Numbers: [84, 3]
Generated Node #0,2,2: 83:[84, 3] Operation: 79-76=3
Exploring Operation: 79+76=155, Resulting Numbers: [84, 155]
Generated Node #0,2,3: 83:[84, 155] Operation: 79+76=155
Exploring Operation: 84-79=5, Resulting Numbers: [76, 5]
Generated Node #0,2,4: 83:[76, 5] Operation: 84-79=5
Moving to Node #0,1
Current State: 83:[82, 76, 77], Operations: ['79-2=77']
Exploring Operation: 77-76=1, Resulting Numbers: [82, 1]
Generated Node #0,1,0: 83:[82, 1] Operation: 77-76=1
Exploring Operation: 82-76=6, Resulting Numbers: [77, 6]
Generated Node #0,1,1: 83:[77, 6] Operation: 82-76=6
Exploring Operation: 76+77=153, Resulting Numbers: [82, 153]
Generated Node #0,1,2: 83:[82, 153] Operation: 76+77=153
Exploring Operation: 82+77=159, Resulting Numbers: [76, 159]
Generated Node #0,1,3: 83:[76, 159] Operation: 82+77=159
Exploring Operation: 82+76=158, Resulting Numbers: [77, 158]
Generated Node #0,1,4: 83:[77, 158] Operation: 82+76=158
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 83:[82, 153], Operations: ['79-2=77', '76+77=153']
Exploring Operation: 82+153=235, Resulting Numbers: [235]
235,83 unequal: No Solution
Exploring Operation: 153-82=71, Resulting Numbers: [71]
71,83 unequal: No Solution
Exploring Operation: 82*153=12546, Resulting Numbers: [12546]
12546,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 83:[77, 158], Operations: ['79-2=77', '82+76=158']
Exploring Operation: 158-77=81, Resulting Numbers: [81]
81,83 unequal: No Solution
Exploring Operation: 77*158=12166, Resulting Numbers: [12166]
12166,83 unequal: No Solution
Exploring Operation: 77+158=235, Resulting Numbers: [235]
235,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 83:[82, 1], Operations: ['79-2=77', '77-76=1']
Exploring Operation: 82/1=82, Resulting Numbers: [82]
82,83 unequal: No Solution
Exploring Operation: 82-1=81, Resulting Numbers: [81]
81,83 unequal: No Solution
Exploring Operation: 82+1=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Moving to Node #0
Current State: 83:[82, 79, 76, 2], Operations: []
Exploring Operation: 79-2=77, Resulting Numbers: [82, 76, 77]
Generated Node #0,1: 83:[82, 76, 77] Operation: 79-2=77
Moving to Node #0,1
Current State: 83:[82, 76, 77], Operations: ['79-2=77']
Exploring Operation: 77-76=1, Resulting Numbers: [82, 1]
Generated Node #0,1,0: 83:[82, 1] Operation: 77-76=1
Moving to Node #0,1,0
Current State: 83:[82, 1], Operations: ['79-2=77', '77-76=1']
Exploring Operation: 82+1=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Exit Sub Search at level 1
| 0.967014 | hs_5 | sum_heuristic |
[
33,
15,
54,
1
] | 36 | [
"33-15=18",
"54*1=54",
"54-18=36"
] | Current State: 36:[33, 15, 54, 1], Operations: []
Exploring Operation: 33-15=18, Resulting Numbers: [54, 1, 18]
Generated Node #2: [54, 1, 18] from Operation: 33-15=18
Current State: 36:[54, 1, 18], Operations: ['33-15=18']
Exploring Operation: 54*1=54, Resulting Numbers: [18, 54]
Generated Node #3: [18, 54] from Operation: 54*1=54
Current State: 36:[18, 54], Operations: ['33-15=18', '54*1=54']
Exploring Operation: 54-18=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[33, 15, 54, 1], Operations: []
Exploring Operation: 54-15=39, Resulting Numbers: [33, 1, 39]
Generated Node #0,0: 36:[33, 1, 39] Operation: 54-15=39
Exploring Operation: 33-15=18, Resulting Numbers: [54, 1, 18]
Generated Node #0,1: 36:[54, 1, 18] Operation: 33-15=18
Exploring Operation: 54-33=21, Resulting Numbers: [15, 1, 21]
Generated Node #0,2: 36:[15, 1, 21] Operation: 54-33=21
Exploring Operation: 33+1=34, Resulting Numbers: [15, 54, 34]
Generated Node #0,3: 36:[15, 54, 34] Operation: 33+1=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[33, 1, 39], Operations: ['54-15=39']
Exploring Operation: 39-1=38, Resulting Numbers: [33, 38]
Generated Node #0,0,0: 36:[33, 38] Operation: 39-1=38
Exploring Operation: 33*1=33, Resulting Numbers: [39, 33]
Generated Node #0,0,1: 36:[39, 33] Operation: 33*1=33
Exploring Operation: 39-33=6, Resulting Numbers: [1, 6]
Generated Node #0,0,2: 36:[1, 6] Operation: 39-33=6
Exploring Operation: 33+1=34, Resulting Numbers: [39, 34]
Generated Node #0,0,3: 36:[39, 34] Operation: 33+1=34
Moving to Node #0,0,2
Current State: 36:[1, 6], Operations: ['54-15=39', '39-33=6']
Exploring Operation: 6/1=6, Resulting Numbers: [6]
6,36 unequal: No Solution
Exploring Operation: 1*6=6, Resulting Numbers: [6]
6,36 unequal: No Solution
Exploring Operation: 1+6=7, Resulting Numbers: [7]
7,36 unequal: No Solution
Exploring Operation: 6-1=5, Resulting Numbers: [5]
5,36 unequal: No Solution
Moving to Node #0,0,3
Current State: 36:[39, 34], Operations: ['54-15=39', '33+1=34']
Exploring Operation: 39+34=73, Resulting Numbers: [73]
73,36 unequal: No Solution
Exploring Operation: 39*34=1326, Resulting Numbers: [1326]
1326,36 unequal: No Solution
Exploring Operation: 39-34=5, Resulting Numbers: [5]
5,36 unequal: No Solution
Moving to Node #0,0,0
Current State: 36:[33, 38], Operations: ['54-15=39', '39-1=38']
Exploring Operation: 33*38=1254, Resulting Numbers: [1254]
1254,36 unequal: No Solution
Exploring Operation: 33+38=71, Resulting Numbers: [71]
71,36 unequal: No Solution
Exploring Operation: 38-33=5, Resulting Numbers: [5]
5,36 unequal: No Solution
Moving to Node #0,0,1
Current State: 36:[39, 33], Operations: ['54-15=39', '33*1=33']
Exploring Operation: 39-33=6, Resulting Numbers: [6]
6,36 unequal: No Solution
Exploring Operation: 39*33=1287, Resulting Numbers: [1287]
1287,36 unequal: No Solution
Exploring Operation: 39+33=72, Resulting Numbers: [72]
72,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:[15, 1, 21], Operations: ['54-33=21']
Exploring Operation: 21-15=6, Resulting Numbers: [1, 6]
Generated Node #0,2,0: 36:[1, 6] Operation: 21-15=6
Exploring Operation: 15+1=16, Resulting Numbers: [21, 16]
Generated Node #0,2,1: 36:[21, 16] Operation: 15+1=16
Exploring Operation: 15-1=14, Resulting Numbers: [21, 14]
Generated Node #0,2,2: 36:[21, 14] Operation: 15-1=14
Exploring Operation: 15+21=36, Resulting Numbers: [1, 36]
Generated Node #0,2,3: 36:[1, 36] Operation: 15+21=36
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 36:[1, 6], Operations: ['54-33=21', '21-15=6']
Exploring Operation: 6/1=6, Resulting Numbers: [6]
6,36 unequal: No Solution
Exploring Operation: 1+6=7, Resulting Numbers: [7]
7,36 unequal: No Solution
Exploring Operation: 6-1=5, Resulting Numbers: [5]
5,36 unequal: No Solution
Exploring Operation: 1*6=6, Resulting Numbers: [6]
6,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:[1, 36], Operations: ['54-33=21', '15+21=36']
Exploring Operation: 1*36=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[33, 15, 54, 1], Operations: []
Exploring Operation: 54-33=21, Resulting Numbers: [15, 1, 21]
Generated Node #0,2: 36:[15, 1, 21] Operation: 54-33=21
Moving to Node #0,2
Current State: 36:[15, 1, 21], Operations: ['54-33=21']
Exploring Operation: 15+21=36, Resulting Numbers: [1, 36]
Generated Node #0,2,3: 36:[1, 36] Operation: 15+21=36
Moving to Node #0,2,3
Current State: 36:[1, 36], Operations: ['54-33=21', '15+21=36']
Exploring Operation: 1*36=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.970486 | hs_4 | sum_heuristic |
[
30,
38,
31,
82
] | 14 | [
"38*31=1178",
"1178-30=1148",
"1148/82=14"
] | Current State: 14:[30, 38, 31, 82], Operations: []
Exploring Operation: 38*31=1178, Resulting Numbers: [30, 82, 1178]
Generated Node #2: [30, 82, 1178] from Operation: 38*31=1178
Current State: 14:[30, 82, 1178], Operations: ['38*31=1178']
Exploring Operation: 1178-30=1148, Resulting Numbers: [82, 1148]
Generated Node #3: [82, 1148] from Operation: 1178-30=1148
Current State: 14:[82, 1148], Operations: ['38*31=1178', '1178-30=1148']
Exploring Operation: 1148/82=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[30, 38, 31, 82], Operations: []
Exploring Operation: 82-31=51, Resulting Numbers: [30, 38, 51]
Generated Node #0,0: 14:[30, 38, 51] Operation: 82-31=51
Exploring Operation: 82-38=44, Resulting Numbers: [30, 31, 44]
Generated Node #0,1: 14:[30, 31, 44] Operation: 82-38=44
Start Sub Search at level 1: Moving to Node #0,1
Current State: 14:[30, 31, 44], Operations: ['82-38=44']
Exploring Operation: 44-30=14, Resulting Numbers: [31, 14]
Generated Node #0,1,0: 14:[31, 14] Operation: 44-30=14
Exploring Operation: 44-31=13, Resulting Numbers: [30, 13]
Generated Node #0,1,1: 14:[30, 13] Operation: 44-31=13
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 14:[31, 14], Operations: ['82-38=44', '44-30=14']
Exploring Operation: 31+14=45, Resulting Numbers: [45]
45,14 unequal: No Solution
Exploring Operation: 31-14=17, Resulting Numbers: [17]
17,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 14:[30, 13], Operations: ['82-38=44', '44-31=13']
Exploring Operation: 30+13=43, Resulting Numbers: [43]
43,14 unequal: No Solution
Exploring Operation: 30-13=17, Resulting Numbers: [17]
17,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[30, 38, 51], Operations: ['82-31=51']
Exploring Operation: 51-30=21, Resulting Numbers: [38, 21]
Generated Node #0,0,0: 14:[38, 21] Operation: 51-30=21
Exploring Operation: 51-38=13, Resulting Numbers: [30, 13]
Generated Node #0,0,1: 14:[30, 13] Operation: 51-38=13
Moving to Node #0,0,1
Current State: 14:[30, 13], Operations: ['82-31=51', '51-38=13']
Exploring Operation: 30+13=43, Resulting Numbers: [43]
43,14 unequal: No Solution
Exploring Operation: 30-13=17, Resulting Numbers: [17]
17,14 unequal: No Solution
Moving to Node #0,0,0
Current State: 14:[38, 21], Operations: ['82-31=51', '51-30=21']
Exploring Operation: 38+21=59, Resulting Numbers: [59]
59,14 unequal: No Solution
Exploring Operation: 38-21=17, Resulting Numbers: [17]
17,14 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 |
[
47,
42,
32,
3
] | 19 | [
"47+42=89",
"89-32=57",
"57/3=19"
] | Current State: 19:[47, 42, 32, 3], Operations: []
Exploring Operation: 47+42=89, Resulting Numbers: [32, 3, 89]
Generated Node #2: [32, 3, 89] from Operation: 47+42=89
Current State: 19:[32, 3, 89], Operations: ['47+42=89']
Exploring Operation: 89-32=57, Resulting Numbers: [3, 57]
Generated Node #3: [3, 57] from Operation: 89-32=57
Current State: 19:[3, 57], Operations: ['47+42=89', '89-32=57']
Exploring Operation: 57/3=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[47, 42, 32, 3], Operations: []
Exploring Operation: 47-3=44, Resulting Numbers: [42, 32, 44]
Generated Node #0,0: 19:[42, 32, 44] Operation: 47-3=44
Exploring Operation: 42-32=10, Resulting Numbers: [47, 3, 10]
Generated Node #0,1: 19:[47, 3, 10] Operation: 42-32=10
Exploring Operation: 47-42=5, Resulting Numbers: [32, 3, 5]
Generated Node #0,2: 19:[32, 3, 5] Operation: 47-42=5
Exploring Operation: 47-32=15, Resulting Numbers: [42, 3, 15]
Generated Node #0,3: 19:[42, 3, 15] Operation: 47-32=15
Exploring Operation: 42/3=14, Resulting Numbers: [47, 32, 14]
Generated Node #0,4: 19:[47, 32, 14] Operation: 42/3=14
Moving to Node #0,2
Current State: 19:[32, 3, 5], Operations: ['47-42=5']
Exploring Operation: 32+3=35, Resulting Numbers: [5, 35]
Generated Node #0,2,0: 19:[5, 35] Operation: 32+3=35
Exploring Operation: 3+5=8, Resulting Numbers: [32, 8]
Generated Node #0,2,1: 19:[32, 8] Operation: 3+5=8
Exploring Operation: 32-5=27, Resulting Numbers: [3, 27]
Generated Node #0,2,2: 19:[3, 27] Operation: 32-5=27
Exploring Operation: 32-3=29, Resulting Numbers: [5, 29]
Generated Node #0,2,3: 19:[5, 29] Operation: 32-3=29
Exploring Operation: 3*5=15, Resulting Numbers: [32, 15]
Generated Node #0,2,4: 19:[32, 15] Operation: 3*5=15
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 19:[32, 15], Operations: ['47-42=5', '3*5=15']
Exploring Operation: 32-15=17, Resulting Numbers: [17]
17,19 unequal: No Solution
Exploring Operation: 32*15=480, Resulting Numbers: [480]
480,19 unequal: No Solution
Exploring Operation: 32+15=47, Resulting Numbers: [47]
47,19 unequal: No Solution
No 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: 19:[32, 8], Operations: ['47-42=5', '3+5=8']
Exploring Operation: 32-8=24, Resulting Numbers: [24]
24,19 unequal: No Solution
Exploring Operation: 32+8=40, Resulting Numbers: [40]
40,19 unequal: No Solution
Exploring Operation: 32*8=256, Resulting Numbers: [256]
256,19 unequal: No Solution
Exploring Operation: 32/8=4, Resulting Numbers: [4]
4,19 unequal: No Solution
No 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: 19:[3, 27], Operations: ['47-42=5', '32-5=27']
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,19 unequal: No Solution
Exploring Operation: 3*27=81, Resulting Numbers: [81]
81,19 unequal: No Solution
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,19 unequal: No Solution
Exploring Operation: 3+27=30, Resulting Numbers: [30]
30,19 unequal: No Solution
No 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: 19:[5, 29], Operations: ['47-42=5', '32-3=29']
Exploring Operation: 29-5=24, Resulting Numbers: [24]
24,19 unequal: No Solution
Exploring Operation: 5*29=145, Resulting Numbers: [145]
145,19 unequal: No Solution
Exploring Operation: 5+29=34, Resulting Numbers: [34]
34,19 unequal: No Solution
No 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: 19:[5, 35], Operations: ['47-42=5', '32+3=35']
Exploring Operation: 35-5=30, Resulting Numbers: [30]
30,19 unequal: No Solution
Exploring Operation: 35/5=7, Resulting Numbers: [7]
7,19 unequal: No Solution
Exploring Operation: 5+35=40, Resulting Numbers: [40]
40,19 unequal: No Solution
Exploring Operation: 5*35=175, Resulting Numbers: [175]
175,19 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: 19:[42, 3, 15], Operations: ['47-32=15']
Exploring Operation: 42-15=27, Resulting Numbers: [3, 27]
Generated Node #0,3,0: 19:[3, 27] Operation: 42-15=27
Exploring Operation: 3+15=18, Resulting Numbers: [42, 18]
Generated Node #0,3,1: 19:[42, 18] Operation: 3+15=18
Exploring Operation: 42/3=14, Resulting Numbers: [15, 14]
Generated Node #0,3,2: 19:[15, 14] Operation: 42/3=14
Exploring Operation: 42-3=39, Resulting Numbers: [15, 39]
Generated Node #0,3,3: 19:[15, 39] Operation: 42-3=39
Exploring Operation: 42+3=45, Resulting Numbers: [15, 45]
Generated Node #0,3,4: 19:[15, 45] Operation: 42+3=45
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 19:[15, 14], Operations: ['47-32=15', '42/3=14']
Exploring Operation: 15-14=1, Resulting Numbers: [1]
1,19 unequal: No Solution
Exploring Operation: 15+14=29, Resulting Numbers: [29]
29,19 unequal: No Solution
Exploring Operation: 15*14=210, Resulting Numbers: [210]
210,19 unequal: No Solution
No 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: 19:[3, 27], Operations: ['47-32=15', '42-15=27']
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,19 unequal: No Solution
Exploring Operation: 3*27=81, Resulting Numbers: [81]
81,19 unequal: No Solution
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,19 unequal: No Solution
Exploring Operation: 3+27=30, Resulting Numbers: [30]
30,19 unequal: No Solution
No 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: 19:[42, 18], Operations: ['47-32=15', '3+15=18']
Exploring Operation: 42+18=60, Resulting Numbers: [60]
60,19 unequal: No Solution
Exploring Operation: 42*18=756, Resulting Numbers: [756]
756,19 unequal: No Solution
Exploring Operation: 42-18=24, Resulting Numbers: [24]
24,19 unequal: No Solution
No 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: 19:[15, 39], Operations: ['47-32=15', '42-3=39']
Exploring Operation: 15+39=54, Resulting Numbers: [54]
54,19 unequal: No Solution
Exploring Operation: 39-15=24, Resulting Numbers: [24]
24,19 unequal: No Solution
Exploring Operation: 15*39=585, Resulting Numbers: [585]
585,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 19:[15, 45], Operations: ['47-32=15', '42+3=45']
Exploring Operation: 15+45=60, Resulting Numbers: [60]
60,19 unequal: No Solution
Exploring Operation: 15*45=675, Resulting Numbers: [675]
675,19 unequal: No Solution
Exploring Operation: 45/15=3, Resulting Numbers: [3]
3,19 unequal: No Solution
Exploring Operation: 45-15=30, Resulting Numbers: [30]
30,19 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: 19:[47, 32, 14], Operations: ['42/3=14']
Exploring Operation: 32-14=18, Resulting Numbers: [47, 18]
Generated Node #0,4,0: 19:[47, 18] Operation: 32-14=18
Exploring Operation: 47+14=61, Resulting Numbers: [32, 61]
Generated Node #0,4,1: 19:[32, 61] Operation: 47+14=61
Exploring Operation: 32+14=46, Resulting Numbers: [47, 46]
Generated Node #0,4,2: 19:[47, 46] Operation: 32+14=46
Exploring Operation: 47-32=15, Resulting Numbers: [14, 15]
Generated Node #0,4,3: 19:[14, 15] Operation: 47-32=15
Exploring Operation: 47-14=33, Resulting Numbers: [32, 33]
Generated Node #0,4,4: 19:[32, 33] Operation: 47-14=33
Moving to Node #0,1
Current State: 19:[47, 3, 10], Operations: ['42-32=10']
Exploring Operation: 3+10=13, Resulting Numbers: [47, 13]
Generated Node #0,1,0: 19:[47, 13] Operation: 3+10=13
Exploring Operation: 3*10=30, Resulting Numbers: [47, 30]
Generated Node #0,1,1: 19:[47, 30] Operation: 3*10=30
Exploring Operation: 47-3=44, Resulting Numbers: [10, 44]
Generated Node #0,1,2: 19:[10, 44] Operation: 47-3=44
Exploring Operation: 47-10=37, Resulting Numbers: [3, 37]
Generated Node #0,1,3: 19:[3, 37] Operation: 47-10=37
Exploring Operation: 47+3=50, Resulting Numbers: [10, 50]
Generated Node #0,1,4: 19:[10, 50] Operation: 47+3=50
Moving to Node #0,0
Current State: 19:[42, 32, 44], Operations: ['47-3=44']
Exploring Operation: 44-42=2, Resulting Numbers: [32, 2]
Generated Node #0,0,0: 19:[32, 2] Operation: 44-42=2
Exploring Operation: 44-32=12, Resulting Numbers: [42, 12]
Generated Node #0,0,1: 19:[42, 12] Operation: 44-32=12
Exploring Operation: 42-32=10, Resulting Numbers: [44, 10]
Generated Node #0,0,2: 19:[44, 10] Operation: 42-32=10
Exploring Operation: 42+44=86, Resulting Numbers: [32, 86]
Generated Node #0,0,3: 19:[32, 86] Operation: 42+44=86
Exploring Operation: 42+32=74, Resulting Numbers: [44, 74]
Generated Node #0,0,4: 19:[44, 74] Operation: 42+32=74
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 19:[32, 2], Operations: ['47-3=44', '44-42=2']
Exploring Operation: 32+2=34, Resulting Numbers: [34]
34,19 unequal: No Solution
Exploring Operation: 32*2=64, Resulting Numbers: [64]
64,19 unequal: No Solution
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,19 unequal: No Solution
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,19 unequal: No Solution
No 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: 19:[42, 12], Operations: ['47-3=44', '44-32=12']
Exploring Operation: 42+12=54, Resulting Numbers: [54]
54,19 unequal: No Solution
Exploring Operation: 42-12=30, Resulting Numbers: [30]
30,19 unequal: No Solution
Exploring Operation: 42*12=504, Resulting Numbers: [504]
504,19 unequal: No Solution
No 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: 19:[44, 10], Operations: ['47-3=44', '42-32=10']
Exploring Operation: 44*10=440, Resulting Numbers: [440]
440,19 unequal: No Solution
Exploring Operation: 44-10=34, Resulting Numbers: [34]
34,19 unequal: No Solution
Exploring Operation: 44+10=54, Resulting Numbers: [54]
54,19 unequal: No Solution
No 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: 19:[32, 86], Operations: ['47-3=44', '42+44=86']
Exploring Operation: 32*86=2752, Resulting Numbers: [2752]
2752,19 unequal: No Solution
Exploring Operation: 32+86=118, Resulting Numbers: [118]
118,19 unequal: No Solution
Exploring Operation: 86-32=54, Resulting Numbers: [54]
54,19 unequal: No Solution
No 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: 19:[44, 74], Operations: ['47-3=44', '42+32=74']
Exploring Operation: 44*74=3256, Resulting Numbers: [3256]
3256,19 unequal: No Solution
Exploring Operation: 44+74=118, Resulting Numbers: [118]
118,19 unequal: No Solution
Exploring Operation: 74-44=30, Resulting Numbers: [30]
30,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,3
Current State: 19:[14, 15], Operations: ['42/3=14', '47-32=15']
Exploring Operation: 15-14=1, Resulting Numbers: [1]
1,19 unequal: No Solution
Exploring Operation: 14*15=210, Resulting Numbers: [210]
210,19 unequal: No Solution
Exploring Operation: 14+15=29, Resulting Numbers: [29]
29,19 unequal: No Solution
Moving to Node #0,4,4
Current State: 19:[32, 33], Operations: ['42/3=14', '47-14=33']
Exploring Operation: 33-32=1, Resulting Numbers: [1]
1,19 unequal: No Solution
Exploring Operation: 32+33=65, Resulting Numbers: [65]
65,19 unequal: No Solution
Exploring Operation: 32*33=1056, Resulting Numbers: [1056]
1056,19 unequal: No Solution
Moving to Node #0,4,0
Current State: 19:[47, 18], Operations: ['42/3=14', '32-14=18']
Exploring Operation: 47+18=65, Resulting Numbers: [65]
65,19 unequal: No Solution
Exploring Operation: 47-18=29, Resulting Numbers: [29]
29,19 unequal: No Solution
Exploring Operation: 47*18=846, Resulting Numbers: [846]
846,19 unequal: No Solution
Moving to Node #0,1,2
Current State: 19:[10, 44], Operations: ['42-32=10', '47-3=44']
Exploring Operation: 44-10=34, Resulting Numbers: [34]
34,19 unequal: No Solution
Exploring Operation: 10*44=440, Resulting Numbers: [440]
440,19 unequal: No Solution
Exploring Operation: 10+44=54, Resulting Numbers: [54]
54,19 unequal: No Solution
Moving to Node #0,1,0
Current State: 19:[47, 13], Operations: ['42-32=10', '3+10=13']
Exploring Operation: 47-13=34, Resulting Numbers: [34]
34,19 unequal: No Solution
Exploring Operation: 47*13=611, Resulting Numbers: [611]
611,19 unequal: No Solution
Exploring Operation: 47+13=60, Resulting Numbers: [60]
60,19 unequal: No Solution
Moving to Node #0,1,3
Current State: 19:[3, 37], Operations: ['42-32=10', '47-10=37']
Exploring Operation: 37-3=34, Resulting Numbers: [34]
34,19 unequal: No Solution
Exploring Operation: 3+37=40, Resulting Numbers: [40]
40,19 unequal: No Solution
Exploring Operation: 3*37=111, Resulting Numbers: [111]
111,19 unequal: No Solution
Moving to Node #0,1,1
Current State: 19:[47, 30], Operations: ['42-32=10', '3*10=30']
Exploring Operation: 47+30=77, Resulting Numbers: [77]
77,19 unequal: No Solution
Exploring Operation: 47-30=17, Resulting Numbers: [17]
17,19 unequal: No Solution
Exploring Operation: 47*30=1410, Resulting Numbers: [1410]
1410,19 unequal: No Solution
Moving to Node #0,1,4
Current State: 19:[10, 50], Operations: ['42-32=10', '47+3=50']
Exploring Operation: 50/10=5, Resulting Numbers: [5]
5,19 unequal: No Solution
Exploring Operation: 10*50=500, Resulting Numbers: [500]
500,19 unequal: No Solution
Exploring Operation: 10+50=60, Resulting Numbers: [60]
60,19 unequal: No Solution
Exploring Operation: 50-10=40, Resulting Numbers: [40]
40,19 unequal: No Solution
Moving to Node #0,4,2
Current State: 19:[47, 46], Operations: ['42/3=14', '32+14=46']
Exploring Operation: 47-46=1, Resulting Numbers: [1]
1,19 unequal: No Solution
Exploring Operation: 47*46=2162, Resulting Numbers: [2162]
2162,19 unequal: No Solution
Exploring Operation: 47+46=93, Resulting Numbers: [93]
93,19 unequal: No Solution
Moving to Node #0,4,1
Current State: 19:[32, 61], Operations: ['42/3=14', '47+14=61']
Exploring Operation: 61-32=29, Resulting Numbers: [29]
29,19 unequal: No Solution
Exploring Operation: 32*61=1952, Resulting Numbers: [1952]
1952,19 unequal: No Solution
Exploring Operation: 32+61=93, Resulting Numbers: [93]
93,19 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
1,
94,
88,
60
] | 53 | [
"1+94=95",
"88+60=148",
"148-95=53"
] | Current State: 53:[1, 94, 88, 60], Operations: []
Exploring Operation: 1+94=95, Resulting Numbers: [88, 60, 95]
Generated Node #2: [88, 60, 95] from Operation: 1+94=95
Current State: 53:[88, 60, 95], Operations: ['1+94=95']
Exploring Operation: 88+60=148, Resulting Numbers: [95, 148]
Generated Node #3: [95, 148] from Operation: 88+60=148
Current State: 53:[95, 148], Operations: ['1+94=95', '88+60=148']
Exploring Operation: 148-95=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[1, 94, 88, 60], Operations: []
Exploring Operation: 94-1=93, Resulting Numbers: [88, 60, 93]
Generated Node #0,0: 53:[88, 60, 93] Operation: 94-1=93
Exploring Operation: 88-1=87, Resulting Numbers: [94, 60, 87]
Generated Node #0,1: 53:[94, 60, 87] Operation: 88-1=87
Moving to Node #0,0
Current State: 53:[88, 60, 93], Operations: ['94-1=93']
Exploring Operation: 93-88=5, Resulting Numbers: [60, 5]
Generated Node #0,0,0: 53:[60, 5] Operation: 93-88=5
Exploring Operation: 93-60=33, Resulting Numbers: [88, 33]
Generated Node #0,0,1: 53:[88, 33] Operation: 93-60=33
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 53:[60, 5], Operations: ['94-1=93', '93-88=5']
Exploring Operation: 60-5=55, Resulting Numbers: [55]
55,53 unequal: No Solution
Exploring Operation: 60+5=65, Resulting Numbers: [65]
65,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 53:[88, 33], Operations: ['94-1=93', '93-60=33']
Exploring Operation: 88-33=55, Resulting Numbers: [55]
55,53 unequal: No Solution
Exploring Operation: 88+33=121, Resulting Numbers: [121]
121,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 53:[94, 60, 87], Operations: ['88-1=87']
Exploring Operation: 94-87=7, Resulting Numbers: [60, 7]
Generated Node #0,1,0: 53:[60, 7] Operation: 94-87=7
Exploring Operation: 94-60=34, Resulting Numbers: [87, 34]
Generated Node #0,1,1: 53:[87, 34] Operation: 94-60=34
Moving to Node #0,1,0
Current State: 53:[60, 7], Operations: ['88-1=87', '94-87=7']
Exploring Operation: 60-7=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[1, 94, 88, 60], Operations: []
Exploring Operation: 88-1=87, Resulting Numbers: [94, 60, 87]
Generated Node #0,1: 53:[94, 60, 87] Operation: 88-1=87
Moving to Node #0,1
Current State: 53:[94, 60, 87], Operations: ['88-1=87']
Exploring Operation: 94-87=7, Resulting Numbers: [60, 7]
Generated Node #0,1,0: 53:[60, 7] Operation: 94-87=7
Moving to Node #0,1,0
Current State: 53:[60, 7], Operations: ['88-1=87', '94-87=7']
Exploring Operation: 60-7=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 0.986979 | hs_2 | sum_heuristic |
[
52,
55,
76,
33
] | 87 | [
"55-52=3",
"33/3=11",
"76+11=87"
] | Current State: 87:[52, 55, 76, 33], Operations: []
Exploring Operation: 55-52=3, Resulting Numbers: [76, 33, 3]
Generated Node #2: [76, 33, 3] from Operation: 55-52=3
Current State: 87:[76, 33, 3], Operations: ['55-52=3']
Exploring Operation: 33/3=11, Resulting Numbers: [76, 11]
Generated Node #3: [76, 11] from Operation: 33/3=11
Current State: 87:[76, 11], Operations: ['55-52=3', '33/3=11']
Exploring Operation: 76+11=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[52, 55, 76, 33], Operations: []
Exploring Operation: 52+55=107, Resulting Numbers: [76, 33, 107]
Generated Node #0,0: 87:[76, 33, 107] Operation: 52+55=107
Exploring Operation: 55-52=3, Resulting Numbers: [76, 33, 3]
Generated Node #0,1: 87:[76, 33, 3] Operation: 55-52=3
Exploring Operation: 76-52=24, Resulting Numbers: [55, 33, 24]
Generated Node #0,2: 87:[55, 33, 24] Operation: 76-52=24
Start Sub Search at level 1: Moving to Node #0,1
Current State: 87:[76, 33, 3], Operations: ['55-52=3']
Exploring Operation: 76-33=43, Resulting Numbers: [3, 43]
Generated Node #0,1,0: 87:[3, 43] Operation: 76-33=43
Exploring Operation: 76+3=79, Resulting Numbers: [33, 79]
Generated Node #0,1,1: 87:[33, 79] Operation: 76+3=79
Exploring Operation: 33-3=30, Resulting Numbers: [76, 30]
Generated Node #0,1,2: 87:[76, 30] Operation: 33-3=30
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 87:[33, 79], Operations: ['55-52=3', '76+3=79']
Exploring Operation: 33+79=112, Resulting Numbers: [112]
112,87 unequal: No Solution
Exploring Operation: 79-33=46, Resulting Numbers: [46]
46,87 unequal: No Solution
Exploring Operation: 33*79=2607, Resulting Numbers: [2607]
2607,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 87:[76, 30], Operations: ['55-52=3', '33-3=30']
Exploring Operation: 76-30=46, Resulting Numbers: [46]
46,87 unequal: No Solution
Exploring Operation: 76*30=2280, Resulting Numbers: [2280]
2280,87 unequal: No Solution
Exploring Operation: 76+30=106, Resulting Numbers: [106]
106,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 87:[3, 43], Operations: ['55-52=3', '76-33=43']
Exploring Operation: 43-3=40, Resulting Numbers: [40]
40,87 unequal: No Solution
Exploring Operation: 3*43=129, Resulting Numbers: [129]
129,87 unequal: No Solution
Exploring Operation: 3+43=46, Resulting Numbers: [46]
46,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 87:[76, 33, 107], Operations: ['52+55=107']
Exploring Operation: 76-33=43, Resulting Numbers: [107, 43]
Generated Node #0,0,0: 87:[107, 43] Operation: 76-33=43
Exploring Operation: 107-33=74, Resulting Numbers: [76, 74]
Generated Node #0,0,1: 87:[76, 74] Operation: 107-33=74
Exploring Operation: 107-76=31, Resulting Numbers: [33, 31]
Generated Node #0,0,2: 87:[33, 31] Operation: 107-76=31
Moving to Node #0,0,2
Current State: 87:[33, 31], Operations: ['52+55=107', '107-76=31']
Exploring Operation: 33*31=1023, Resulting Numbers: [1023]
1023,87 unequal: No Solution
Exploring Operation: 33+31=64, Resulting Numbers: [64]
64,87 unequal: No Solution
Exploring Operation: 33-31=2, Resulting Numbers: [2]
2,87 unequal: No Solution
Moving to Node #0,0,1
Current State: 87:[76, 74], Operations: ['52+55=107', '107-33=74']
Exploring Operation: 76*74=5624, Resulting Numbers: [5624]
5624,87 unequal: No Solution
Exploring Operation: 76+74=150, Resulting Numbers: [150]
150,87 unequal: No Solution
Exploring Operation: 76-74=2, Resulting Numbers: [2]
2,87 unequal: No Solution
Moving to Node #0,0,0
Current State: 87:[107, 43], Operations: ['52+55=107', '76-33=43']
Exploring Operation: 107*43=4601, Resulting Numbers: [4601]
4601,87 unequal: No Solution
Exploring Operation: 107-43=64, Resulting Numbers: [64]
64,87 unequal: No Solution
Exploring Operation: 107+43=150, Resulting Numbers: [150]
150,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 87:[55, 33, 24], Operations: ['76-52=24']
Exploring Operation: 55-24=31, Resulting Numbers: [33, 31]
Generated Node #0,2,0: 87:[33, 31] Operation: 55-24=31
Exploring Operation: 55+33=88, Resulting Numbers: [24, 88]
Generated Node #0,2,1: 87:[24, 88] Operation: 55+33=88
Exploring Operation: 55-33=22, Resulting Numbers: [24, 22]
Generated Node #0,2,2: 87:[24, 22] Operation: 55-33=22
Moving to Node #0,2,0
Current State: 87:[33, 31], Operations: ['76-52=24', '55-24=31']
Exploring Operation: 33+31=64, Resulting Numbers: [64]
64,87 unequal: No Solution
Exploring Operation: 33-31=2, Resulting Numbers: [2]
2,87 unequal: No Solution
Exploring Operation: 33*31=1023, Resulting Numbers: [1023]
1023,87 unequal: No Solution
Moving to Node #0,2,1
Current State: 87:[24, 88], Operations: ['76-52=24', '55+33=88']
Exploring Operation: 24*88=2112, Resulting Numbers: [2112]
2112,87 unequal: No Solution
Exploring Operation: 24+88=112, Resulting Numbers: [112]
112,87 unequal: No Solution
Exploring Operation: 88-24=64, Resulting Numbers: [64]
64,87 unequal: No Solution
Moving to Node #0,2,2
Current State: 87:[24, 22], Operations: ['76-52=24', '55-33=22']
Exploring Operation: 24+22=46, Resulting Numbers: [46]
46,87 unequal: No Solution
Exploring Operation: 24-22=2, Resulting Numbers: [2]
2,87 unequal: No Solution
Exploring Operation: 24*22=528, Resulting Numbers: [528]
528,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
33,
40,
75,
36
] | 32 | [
"40-33=7",
"75-36=39",
"39-7=32"
] | Current State: 32:[33, 40, 75, 36], Operations: []
Exploring Operation: 40-33=7, Resulting Numbers: [75, 36, 7]
Generated Node #2: [75, 36, 7] from Operation: 40-33=7
Current State: 32:[75, 36, 7], Operations: ['40-33=7']
Exploring Operation: 75-36=39, Resulting Numbers: [7, 39]
Generated Node #3: [7, 39] from Operation: 75-36=39
Current State: 32:[7, 39], Operations: ['40-33=7', '75-36=39']
Exploring Operation: 39-7=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[33, 40, 75, 36], Operations: []
Exploring Operation: 75-40=35, Resulting Numbers: [33, 36, 35]
Generated Node #0,0: 32:[33, 36, 35] Operation: 75-40=35
Moving to Node #0,0
Current State: 32:[33, 36, 35], Operations: ['75-40=35']
Exploring Operation: 36-35=1, Resulting Numbers: [33, 1]
Generated Node #0,0,0: 32:[33, 1] Operation: 36-35=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 32:[33, 1], Operations: ['75-40=35', '36-35=1']
Exploring Operation: 33-1=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[33, 40, 75, 36], Operations: []
Exploring Operation: 75-40=35, Resulting Numbers: [33, 36, 35]
Generated Node #0,0: 32:[33, 36, 35] Operation: 75-40=35
Moving to Node #0,0
Current State: 32:[33, 36, 35], Operations: ['75-40=35']
Exploring Operation: 36-35=1, Resulting Numbers: [33, 1]
Generated Node #0,0,0: 32:[33, 1] Operation: 36-35=1
Moving to Node #0,0,0
Current State: 32:[33, 1], Operations: ['75-40=35', '36-35=1']
Exploring Operation: 33-1=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
60,
56,
3,
43
] | 84 | [
"60*56=3360",
"43-3=40",
"3360/40=84"
] | Current State: 84:[60, 56, 3, 43], Operations: []
Exploring Operation: 60*56=3360, Resulting Numbers: [3, 43, 3360]
Generated Node #2: [3, 43, 3360] from Operation: 60*56=3360
Current State: 84:[3, 43, 3360], Operations: ['60*56=3360']
Exploring Operation: 43-3=40, Resulting Numbers: [3360, 40]
Generated Node #3: [3360, 40] from Operation: 43-3=40
Current State: 84:[3360, 40], Operations: ['60*56=3360', '43-3=40']
Exploring Operation: 3360/40=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[60, 56, 3, 43], Operations: []
Exploring Operation: 56-43=13, Resulting Numbers: [60, 3, 13]
Generated Node #0,0: 84:[60, 3, 13] Operation: 56-43=13
Exploring Operation: 60-56=4, Resulting Numbers: [3, 43, 4]
Generated Node #0,1: 84:[3, 43, 4] Operation: 60-56=4
Exploring Operation: 60-3=57, Resulting Numbers: [56, 43, 57]
Generated Node #0,2: 84:[56, 43, 57] Operation: 60-3=57
Exploring Operation: 60/3=20, Resulting Numbers: [56, 43, 20]
Generated Node #0,3: 84:[56, 43, 20] Operation: 60/3=20
Exploring Operation: 60-43=17, Resulting Numbers: [56, 3, 17]
Generated Node #0,4: 84:[56, 3, 17] Operation: 60-43=17
Moving to Node #0,1
Current State: 84:[3, 43, 4], Operations: ['60-56=4']
Exploring Operation: 3+4=7, Resulting Numbers: [43, 7]
Generated Node #0,1,0: 84:[43, 7] Operation: 3+4=7
Exploring Operation: 3*4=12, Resulting Numbers: [43, 12]
Generated Node #0,1,1: 84:[43, 12] Operation: 3*4=12
Exploring Operation: 43-4=39, Resulting Numbers: [3, 39]
Generated Node #0,1,2: 84:[3, 39] Operation: 43-4=39
Exploring Operation: 4-3=1, Resulting Numbers: [43, 1]
Generated Node #0,1,3: 84:[43, 1] Operation: 4-3=1
Exploring Operation: 43-3=40, Resulting Numbers: [4, 40]
Generated Node #0,1,4: 84:[4, 40] Operation: 43-3=40
Moving to Node #0,3
Current State: 84:[56, 43, 20], Operations: ['60/3=20']
Exploring Operation: 56-43=13, Resulting Numbers: [20, 13]
Generated Node #0,3,0: 84:[20, 13] Operation: 56-43=13
Exploring Operation: 43-20=23, Resulting Numbers: [56, 23]
Generated Node #0,3,1: 84:[56, 23] Operation: 43-20=23
Exploring Operation: 56+20=76, Resulting Numbers: [43, 76]
Generated Node #0,3,2: 84:[43, 76] Operation: 56+20=76
Exploring Operation: 56+43=99, Resulting Numbers: [20, 99]
Generated Node #0,3,3: 84:[20, 99] Operation: 56+43=99
Exploring Operation: 56-20=36, Resulting Numbers: [43, 36]
Generated Node #0,3,4: 84:[43, 36] Operation: 56-20=36
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 84:[20, 13], Operations: ['60/3=20', '56-43=13']
Exploring Operation: 20*13=260, Resulting Numbers: [260]
260,84 unequal: No Solution
Exploring Operation: 20+13=33, Resulting Numbers: [33]
33,84 unequal: No Solution
Exploring Operation: 20-13=7, Resulting Numbers: [7]
7,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 84:[43, 36], Operations: ['60/3=20', '56-20=36']
Exploring Operation: 43-36=7, Resulting Numbers: [7]
7,84 unequal: No Solution
Exploring Operation: 43+36=79, Resulting Numbers: [79]
79,84 unequal: No Solution
Exploring Operation: 43*36=1548, Resulting Numbers: [1548]
1548,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 84:[43, 76], Operations: ['60/3=20', '56+20=76']
Exploring Operation: 43+76=119, Resulting Numbers: [119]
119,84 unequal: No Solution
Exploring Operation: 43*76=3268, Resulting Numbers: [3268]
3268,84 unequal: No Solution
Exploring Operation: 76-43=33, Resulting Numbers: [33]
33,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 84:[56, 23], Operations: ['60/3=20', '43-20=23']
Exploring Operation: 56+23=79, Resulting Numbers: [79]
79,84 unequal: No Solution
Exploring Operation: 56*23=1288, Resulting Numbers: [1288]
1288,84 unequal: No Solution
Exploring Operation: 56-23=33, Resulting Numbers: [33]
33,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 84:[20, 99], Operations: ['60/3=20', '56+43=99']
Exploring Operation: 99-20=79, Resulting Numbers: [79]
79,84 unequal: No Solution
Exploring Operation: 20*99=1980, Resulting Numbers: [1980]
1980,84 unequal: No Solution
Exploring Operation: 20+99=119, Resulting Numbers: [119]
119,84 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: 84:[56, 3, 17], Operations: ['60-43=17']
Exploring Operation: 17-3=14, Resulting Numbers: [56, 14]
Generated Node #0,4,0: 84:[56, 14] Operation: 17-3=14
Exploring Operation: 3+17=20, Resulting Numbers: [56, 20]
Generated Node #0,4,1: 84:[56, 20] Operation: 3+17=20
Exploring Operation: 56-3=53, Resulting Numbers: [17, 53]
Generated Node #0,4,2: 84:[17, 53] Operation: 56-3=53
Exploring Operation: 56+17=73, Resulting Numbers: [3, 73]
Generated Node #0,4,3: 84:[3, 73] Operation: 56+17=73
Exploring Operation: 56-17=39, Resulting Numbers: [3, 39]
Generated Node #0,4,4: 84:[3, 39] Operation: 56-17=39
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 84:[3, 39], Operations: ['60-43=17', '56-17=39']
Exploring Operation: 3+39=42, Resulting Numbers: [42]
42,84 unequal: No Solution
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,84 unequal: No Solution
Exploring Operation: 3*39=117, Resulting Numbers: [117]
117,84 unequal: No Solution
Exploring Operation: 39-3=36, Resulting Numbers: [36]
36,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 84:[3, 73], Operations: ['60-43=17', '56+17=73']
Exploring Operation: 3*73=219, Resulting Numbers: [219]
219,84 unequal: No Solution
Exploring Operation: 73-3=70, Resulting Numbers: [70]
70,84 unequal: No Solution
Exploring Operation: 3+73=76, Resulting Numbers: [76]
76,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 84:[56, 14], Operations: ['60-43=17', '17-3=14']
Exploring Operation: 56*14=784, Resulting Numbers: [784]
784,84 unequal: No Solution
Exploring Operation: 56+14=70, Resulting Numbers: [70]
70,84 unequal: No Solution
Exploring Operation: 56-14=42, Resulting Numbers: [42]
42,84 unequal: No Solution
Exploring Operation: 56/14=4, Resulting Numbers: [4]
4,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 84:[17, 53], Operations: ['60-43=17', '56-3=53']
Exploring Operation: 53-17=36, Resulting Numbers: [36]
36,84 unequal: No Solution
Exploring Operation: 17+53=70, Resulting Numbers: [70]
70,84 unequal: No Solution
Exploring Operation: 17*53=901, Resulting Numbers: [901]
901,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 84:[56, 20], Operations: ['60-43=17', '3+17=20']
Exploring Operation: 56+20=76, Resulting Numbers: [76]
76,84 unequal: No Solution
Exploring Operation: 56-20=36, Resulting Numbers: [36]
36,84 unequal: No Solution
Exploring Operation: 56*20=1120, Resulting Numbers: [1120]
1120,84 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: 84:[60, 3, 13], Operations: ['56-43=13']
Exploring Operation: 60/3=20, Resulting Numbers: [13, 20]
Generated Node #0,0,0: 84:[13, 20] Operation: 60/3=20
Exploring Operation: 60+13=73, Resulting Numbers: [3, 73]
Generated Node #0,0,1: 84:[3, 73] Operation: 60+13=73
Exploring Operation: 60-3=57, Resulting Numbers: [13, 57]
Generated Node #0,0,2: 84:[13, 57] Operation: 60-3=57
Exploring Operation: 60-13=47, Resulting Numbers: [3, 47]
Generated Node #0,0,3: 84:[3, 47] Operation: 60-13=47
Exploring Operation: 3+13=16, Resulting Numbers: [60, 16]
Generated Node #0,0,4: 84:[60, 16] Operation: 3+13=16
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 84:[13, 20], Operations: ['56-43=13', '60/3=20']
Exploring Operation: 20-13=7, Resulting Numbers: [7]
7,84 unequal: No Solution
Exploring Operation: 13*20=260, Resulting Numbers: [260]
260,84 unequal: No Solution
Exploring Operation: 13+20=33, Resulting Numbers: [33]
33,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 84:[3, 47], Operations: ['56-43=13', '60-13=47']
Exploring Operation: 3+47=50, Resulting Numbers: [50]
50,84 unequal: No Solution
Exploring Operation: 3*47=141, Resulting Numbers: [141]
141,84 unequal: No Solution
Exploring Operation: 47-3=44, Resulting Numbers: [44]
44,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 84:[3, 73], Operations: ['56-43=13', '60+13=73']
Exploring Operation: 3*73=219, Resulting Numbers: [219]
219,84 unequal: No Solution
Exploring Operation: 3+73=76, Resulting Numbers: [76]
76,84 unequal: No Solution
Exploring Operation: 73-3=70, Resulting Numbers: [70]
70,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 84:[13, 57], Operations: ['56-43=13', '60-3=57']
Exploring Operation: 57-13=44, Resulting Numbers: [44]
44,84 unequal: No Solution
Exploring Operation: 13+57=70, Resulting Numbers: [70]
70,84 unequal: No Solution
Exploring Operation: 13*57=741, Resulting Numbers: [741]
741,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 84:[60, 16], Operations: ['56-43=13', '3+13=16']
Exploring Operation: 60*16=960, Resulting Numbers: [960]
960,84 unequal: No Solution
Exploring Operation: 60-16=44, Resulting Numbers: [44]
44,84 unequal: No Solution
Exploring Operation: 60+16=76, Resulting Numbers: [76]
76,84 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: 84:[56, 43, 57], Operations: ['60-3=57']
Exploring Operation: 57-56=1, Resulting Numbers: [43, 1]
Generated Node #0,2,0: 84:[43, 1] Operation: 57-56=1
Exploring Operation: 56+43=99, Resulting Numbers: [57, 99]
Generated Node #0,2,1: 84:[57, 99] Operation: 56+43=99
Exploring Operation: 56-43=13, Resulting Numbers: [57, 13]
Generated Node #0,2,2: 84:[57, 13] Operation: 56-43=13
Exploring Operation: 56+57=113, Resulting Numbers: [43, 113]
Generated Node #0,2,3: 84:[43, 113] Operation: 56+57=113
Exploring Operation: 57-43=14, Resulting Numbers: [56, 14]
Generated Node #0,2,4: 84:[56, 14] Operation: 57-43=14
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 84:[43, 1], Operations: ['60-3=57', '57-56=1']
Exploring Operation: 43+1=44, Resulting Numbers: [44]
44,84 unequal: No Solution
Exploring Operation: 43-1=42, Resulting Numbers: [42]
42,84 unequal: No Solution
Exploring Operation: 43/1=43, Resulting Numbers: [43]
43,84 unequal: No Solution
Exploring Operation: 43*1=43, Resulting Numbers: [43]
43,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 84:[56, 14], Operations: ['60-3=57', '57-43=14']
Exploring Operation: 56-14=42, Resulting Numbers: [42]
42,84 unequal: No Solution
Exploring Operation: 56+14=70, Resulting Numbers: [70]
70,84 unequal: No Solution
Exploring Operation: 56*14=784, Resulting Numbers: [784]
784,84 unequal: No Solution
Exploring Operation: 56/14=4, Resulting Numbers: [4]
4,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 84:[57, 13], Operations: ['60-3=57', '56-43=13']
Exploring Operation: 57*13=741, Resulting Numbers: [741]
741,84 unequal: No Solution
Exploring Operation: 57+13=70, Resulting Numbers: [70]
70,84 unequal: No Solution
Exploring Operation: 57-13=44, Resulting Numbers: [44]
44,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 84:[57, 99], Operations: ['60-3=57', '56+43=99']
Exploring Operation: 57+99=156, Resulting Numbers: [156]
156,84 unequal: No Solution
Exploring Operation: 57*99=5643, Resulting Numbers: [5643]
5643,84 unequal: No Solution
Exploring Operation: 99-57=42, Resulting Numbers: [42]
42,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 84:[43, 113], Operations: ['60-3=57', '56+57=113']
Exploring Operation: 43+113=156, Resulting Numbers: [156]
156,84 unequal: No Solution
Exploring Operation: 113-43=70, Resulting Numbers: [70]
70,84 unequal: No Solution
Exploring Operation: 43*113=4859, Resulting Numbers: [4859]
4859,84 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: 84:[43, 7], Operations: ['60-56=4', '3+4=7']
Exploring Operation: 43*7=301, Resulting Numbers: [301]
301,84 unequal: No Solution
Exploring Operation: 43-7=36, Resulting Numbers: [36]
36,84 unequal: No Solution
Exploring Operation: 43+7=50, Resulting Numbers: [50]
50,84 unequal: No Solution
Moving to Node #0,1,1
Current State: 84:[43, 12], Operations: ['60-56=4', '3*4=12']
Exploring Operation: 43+12=55, Resulting Numbers: [55]
55,84 unequal: No Solution
Exploring Operation: 43*12=516, Resulting Numbers: [516]
516,84 unequal: No Solution
Exploring Operation: 43-12=31, Resulting Numbers: [31]
31,84 unequal: No Solution
Moving to Node #0,1,3
Current State: 84:[43, 1], Operations: ['60-56=4', '4-3=1']
Exploring Operation: 43-1=42, Resulting Numbers: [42]
42,84 unequal: No Solution
Exploring Operation: 43*1=43, Resulting Numbers: [43]
43,84 unequal: No Solution
Exploring Operation: 43/1=43, Resulting Numbers: [43]
43,84 unequal: No Solution
Exploring Operation: 43+1=44, Resulting Numbers: [44]
44,84 unequal: No Solution
Moving to Node #0,1,4
Current State: 84:[4, 40], Operations: ['60-56=4', '43-3=40']
Exploring Operation: 4+40=44, Resulting Numbers: [44]
44,84 unequal: No Solution
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,84 unequal: No Solution
Exploring Operation: 4*40=160, Resulting Numbers: [160]
160,84 unequal: No Solution
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,84 unequal: No Solution
Moving to Node #0,1,2
Current State: 84:[3, 39], Operations: ['60-56=4', '43-4=39']
Exploring Operation: 3+39=42, Resulting Numbers: [42]
42,84 unequal: No Solution
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,84 unequal: No Solution
Exploring Operation: 3*39=117, Resulting Numbers: [117]
117,84 unequal: No Solution
Exploring Operation: 39-3=36, Resulting Numbers: [36]
36,84 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
5,
2,
39,
54
] | 87 | [
"5*39=195",
"2*54=108",
"195-108=87"
] | Current State: 87:[5, 2, 39, 54], Operations: []
Exploring Operation: 5*39=195, Resulting Numbers: [2, 54, 195]
Generated Node #2: [2, 54, 195] from Operation: 5*39=195
Current State: 87:[2, 54, 195], Operations: ['5*39=195']
Exploring Operation: 2*54=108, Resulting Numbers: [195, 108]
Generated Node #3: [195, 108] from Operation: 2*54=108
Current State: 87:[195, 108], Operations: ['5*39=195', '2*54=108']
Exploring Operation: 195-108=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[5, 2, 39, 54], Operations: []
Exploring Operation: 54-39=15, Resulting Numbers: [5, 2, 15]
Generated Node #0,0: 87:[5, 2, 15] Operation: 54-39=15
Exploring Operation: 54/2=27, Resulting Numbers: [5, 39, 27]
Generated Node #0,1: 87:[5, 39, 27] Operation: 54/2=27
Exploring Operation: 39+54=93, Resulting Numbers: [5, 2, 93]
Generated Node #0,2: 87:[5, 2, 93] Operation: 39+54=93
Exploring Operation: 54-5=49, Resulting Numbers: [2, 39, 49]
Generated Node #0,3: 87:[2, 39, 49] Operation: 54-5=49
Exploring Operation: 39-5=34, Resulting Numbers: [2, 54, 34]
Generated Node #0,4: 87:[2, 54, 34] Operation: 39-5=34
Moving to Node #0,2
Current State: 87:[5, 2, 93], Operations: ['39+54=93']
Exploring Operation: 5-2=3, Resulting Numbers: [93, 3]
Generated Node #0,2,0: 87:[93, 3] Operation: 5-2=3
Exploring Operation: 5+2=7, Resulting Numbers: [93, 7]
Generated Node #0,2,1: 87:[93, 7] Operation: 5+2=7
Exploring Operation: 93-2=91, Resulting Numbers: [5, 91]
Generated Node #0,2,2: 87:[5, 91] Operation: 93-2=91
Exploring Operation: 2+93=95, Resulting Numbers: [5, 95]
Generated Node #0,2,3: 87:[5, 95] Operation: 2+93=95
Exploring Operation: 93-5=88, Resulting Numbers: [2, 88]
Generated Node #0,2,4: 87:[2, 88] Operation: 93-5=88
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 87:[2, 88], Operations: ['39+54=93', '93-5=88']
Exploring Operation: 88-2=86, Resulting Numbers: [86]
86,87 unequal: No Solution
Exploring Operation: 88/2=44, Resulting Numbers: [44]
44,87 unequal: No Solution
Exploring Operation: 2+88=90, Resulting Numbers: [90]
90,87 unequal: No Solution
Exploring Operation: 2*88=176, Resulting Numbers: [176]
176,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 87:[93, 3], Operations: ['39+54=93', '5-2=3']
Exploring Operation: 93-3=90, Resulting Numbers: [90]
90,87 unequal: No Solution
Exploring Operation: 93/3=31, Resulting Numbers: [31]
31,87 unequal: No Solution
Exploring Operation: 93*3=279, Resulting Numbers: [279]
279,87 unequal: No Solution
Exploring Operation: 93+3=96, Resulting Numbers: [96]
96,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 87:[5, 91], Operations: ['39+54=93', '93-2=91']
Exploring Operation: 91-5=86, Resulting Numbers: [86]
86,87 unequal: No Solution
Exploring Operation: 5*91=455, Resulting Numbers: [455]
455,87 unequal: No Solution
Exploring Operation: 5+91=96, Resulting Numbers: [96]
96,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 87:[93, 7], Operations: ['39+54=93', '5+2=7']
Exploring Operation: 93+7=100, Resulting Numbers: [100]
100,87 unequal: No Solution
Exploring Operation: 93*7=651, Resulting Numbers: [651]
651,87 unequal: No Solution
Exploring Operation: 93-7=86, Resulting Numbers: [86]
86,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 87:[5, 95], Operations: ['39+54=93', '2+93=95']
Exploring Operation: 5*95=475, Resulting Numbers: [475]
475,87 unequal: No Solution
Exploring Operation: 95/5=19, Resulting Numbers: [19]
19,87 unequal: No Solution
Exploring Operation: 95-5=90, Resulting Numbers: [90]
90,87 unequal: No Solution
Exploring Operation: 5+95=100, Resulting Numbers: [100]
100,87 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: 87:[5, 39, 27], Operations: ['54/2=27']
Exploring Operation: 27-5=22, Resulting Numbers: [39, 22]
Generated Node #0,1,0: 87:[39, 22] Operation: 27-5=22
Exploring Operation: 39-5=34, Resulting Numbers: [27, 34]
Generated Node #0,1,1: 87:[27, 34] Operation: 39-5=34
Exploring Operation: 39-27=12, Resulting Numbers: [5, 12]
Generated Node #0,1,2: 87:[5, 12] Operation: 39-27=12
Exploring Operation: 5+27=32, Resulting Numbers: [39, 32]
Generated Node #0,1,3: 87:[39, 32] Operation: 5+27=32
Exploring Operation: 5+39=44, Resulting Numbers: [27, 44]
Generated Node #0,1,4: 87:[27, 44] Operation: 5+39=44
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 87:[27, 34], Operations: ['54/2=27', '39-5=34']
Exploring Operation: 27+34=61, Resulting Numbers: [61]
61,87 unequal: No Solution
Exploring Operation: 34-27=7, Resulting Numbers: [7]
7,87 unequal: No Solution
Exploring Operation: 27*34=918, Resulting Numbers: [918]
918,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 87:[5, 12], Operations: ['54/2=27', '39-27=12']
Exploring Operation: 5+12=17, Resulting Numbers: [17]
17,87 unequal: No Solution
Exploring Operation: 5*12=60, Resulting Numbers: [60]
60,87 unequal: No Solution
Exploring Operation: 12-5=7, Resulting Numbers: [7]
7,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 87:[39, 32], Operations: ['54/2=27', '5+27=32']
Exploring Operation: 39-32=7, Resulting Numbers: [7]
7,87 unequal: No Solution
Exploring Operation: 39*32=1248, Resulting Numbers: [1248]
1248,87 unequal: No Solution
Exploring Operation: 39+32=71, Resulting Numbers: [71]
71,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 87:[39, 22], Operations: ['54/2=27', '27-5=22']
Exploring Operation: 39-22=17, Resulting Numbers: [17]
17,87 unequal: No Solution
Exploring Operation: 39+22=61, Resulting Numbers: [61]
61,87 unequal: No Solution
Exploring Operation: 39*22=858, Resulting Numbers: [858]
858,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 87:[27, 44], Operations: ['54/2=27', '5+39=44']
Exploring Operation: 27*44=1188, Resulting Numbers: [1188]
1188,87 unequal: No Solution
Exploring Operation: 44-27=17, Resulting Numbers: [17]
17,87 unequal: No Solution
Exploring Operation: 27+44=71, Resulting Numbers: [71]
71,87 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: 87:[5, 2, 15], Operations: ['54-39=15']
Exploring Operation: 5+15=20, Resulting Numbers: [2, 20]
Generated Node #0,0,0: 87:[2, 20] Operation: 5+15=20
Exploring Operation: 15/5=3, Resulting Numbers: [2, 3]
Generated Node #0,0,1: 87:[2, 3] Operation: 15/5=3
Exploring Operation: 15-5=10, Resulting Numbers: [2, 10]
Generated Node #0,0,2: 87:[2, 10] Operation: 15-5=10
Exploring Operation: 2*15=30, Resulting Numbers: [5, 30]
Generated Node #0,0,3: 87:[5, 30] Operation: 2*15=30
Exploring Operation: 5-2=3, Resulting Numbers: [15, 3]
Generated Node #0,0,4: 87:[15, 3] Operation: 5-2=3
Moving to Node #0,3
Current State: 87:[2, 39, 49], Operations: ['54-5=49']
Exploring Operation: 49-2=47, Resulting Numbers: [39, 47]
Generated Node #0,3,0: 87:[39, 47] Operation: 49-2=47
Exploring Operation: 39-2=37, Resulting Numbers: [49, 37]
Generated Node #0,3,1: 87:[49, 37] Operation: 39-2=37
Exploring Operation: 39+49=88, Resulting Numbers: [2, 88]
Generated Node #0,3,2: 87:[2, 88] Operation: 39+49=88
Exploring Operation: 2*49=98, Resulting Numbers: [39, 98]
Generated Node #0,3,3: 87:[39, 98] Operation: 2*49=98
Exploring Operation: 49-39=10, Resulting Numbers: [2, 10]
Generated Node #0,3,4: 87:[2, 10] Operation: 49-39=10
Moving to Node #0,4
Current State: 87:[2, 54, 34], Operations: ['39-5=34']
Exploring Operation: 54-34=20, Resulting Numbers: [2, 20]
Generated Node #0,4,0: 87:[2, 20] Operation: 54-34=20
Exploring Operation: 54+34=88, Resulting Numbers: [2, 88]
Generated Node #0,4,1: 87:[2, 88] Operation: 54+34=88
Exploring Operation: 54-2=52, Resulting Numbers: [34, 52]
Generated Node #0,4,2: 87:[34, 52] Operation: 54-2=52
Exploring Operation: 2*54=108, Resulting Numbers: [34, 108]
Generated Node #0,4,3: 87:[34, 108] Operation: 2*54=108
Exploring Operation: 54/2=27, Resulting Numbers: [34, 27]
Generated Node #0,4,4: 87:[34, 27] Operation: 54/2=27
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 87:[2, 88], Operations: ['39-5=34', '54+34=88']
Exploring Operation: 88/2=44, Resulting Numbers: [44]
44,87 unequal: No Solution
Exploring Operation: 88-2=86, Resulting Numbers: [86]
86,87 unequal: No Solution
Exploring Operation: 2*88=176, Resulting Numbers: [176]
176,87 unequal: No Solution
Exploring Operation: 2+88=90, Resulting Numbers: [90]
90,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 87:[34, 27], Operations: ['39-5=34', '54/2=27']
Exploring Operation: 34+27=61, Resulting Numbers: [61]
61,87 unequal: No Solution
Exploring Operation: 34*27=918, Resulting Numbers: [918]
918,87 unequal: No Solution
Exploring Operation: 34-27=7, Resulting Numbers: [7]
7,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 87:[2, 20], Operations: ['39-5=34', '54-34=20']
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,87 unequal: No Solution
Exploring Operation: 2+20=22, Resulting Numbers: [22]
22,87 unequal: No Solution
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,87 unequal: No Solution
Exploring Operation: 2*20=40, Resulting Numbers: [40]
40,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 87:[34, 108], Operations: ['39-5=34', '2*54=108']
Exploring Operation: 34*108=3672, Resulting Numbers: [3672]
3672,87 unequal: No Solution
Exploring Operation: 34+108=142, Resulting Numbers: [142]
142,87 unequal: No Solution
Exploring Operation: 108-34=74, Resulting Numbers: [74]
74,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 87:[34, 52], Operations: ['39-5=34', '54-2=52']
Exploring Operation: 34+52=86, Resulting Numbers: [86]
86,87 unequal: No Solution
Exploring Operation: 52-34=18, Resulting Numbers: [18]
18,87 unequal: No Solution
Exploring Operation: 34*52=1768, Resulting Numbers: [1768]
1768,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 87:[2, 3], Operations: ['54-39=15', '15/5=3']
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,87 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,87 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,87 unequal: No Solution
Moving to Node #0,3,2
Current State: 87:[2, 88], Operations: ['54-5=49', '39+49=88']
Exploring Operation: 88-2=86, Resulting Numbers: [86]
86,87 unequal: No Solution
Exploring Operation: 88/2=44, Resulting Numbers: [44]
44,87 unequal: No Solution
Exploring Operation: 2*88=176, Resulting Numbers: [176]
176,87 unequal: No Solution
Exploring Operation: 2+88=90, Resulting Numbers: [90]
90,87 unequal: No Solution
Moving to Node #0,0,3
Current State: 87:[5, 30], Operations: ['54-39=15', '2*15=30']
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,87 unequal: No Solution
Exploring Operation: 30/5=6, Resulting Numbers: [6]
6,87 unequal: No Solution
Exploring Operation: 5+30=35, Resulting Numbers: [35]
35,87 unequal: No Solution
Exploring Operation: 5*30=150, Resulting Numbers: [150]
150,87 unequal: No Solution
Moving to Node #0,3,4
Current State: 87:[2, 10], Operations: ['54-5=49', '49-39=10']
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,87 unequal: No Solution
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,87 unequal: No Solution
Exploring Operation: 2+10=12, Resulting Numbers: [12]
12,87 unequal: No Solution
Exploring Operation: 2*10=20, Resulting Numbers: [20]
20,87 unequal: No Solution
Moving to Node #0,0,2
Current State: 87:[2, 10], Operations: ['54-39=15', '15-5=10']
Exploring Operation: 2+10=12, Resulting Numbers: [12]
12,87 unequal: No Solution
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,87 unequal: No Solution
Exploring Operation: 2*10=20, Resulting Numbers: [20]
20,87 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,87 unequal: No Solution
Moving to Node #0,0,0
Current State: 87:[2, 20], Operations: ['54-39=15', '5+15=20']
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,87 unequal: No Solution
Exploring Operation: 2+20=22, Resulting Numbers: [22]
22,87 unequal: No Solution
Exploring Operation: 2*20=40, Resulting Numbers: [40]
40,87 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,87 unequal: No Solution
Moving to Node #0,0,4
Current State: 87:[15, 3], Operations: ['54-39=15', '5-2=3']
Exploring Operation: 15*3=45, Resulting Numbers: [45]
45,87 unequal: No Solution
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,87 unequal: No Solution
Exploring Operation: 15+3=18, Resulting Numbers: [18]
18,87 unequal: No Solution
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,87 unequal: No Solution
Moving to Node #0,3,3
Current State: 87:[39, 98], Operations: ['54-5=49', '2*49=98']
Exploring Operation: 98-39=59, Resulting Numbers: [59]
59,87 unequal: No Solution
Exploring Operation: 39+98=137, Resulting Numbers: [137]
137,87 unequal: No Solution
Exploring Operation: 39*98=3822, Resulting Numbers: [3822]
3822,87 unequal: No Solution
Moving to Node #0,3,1
Current State: 87:[49, 37], Operations: ['54-5=49', '39-2=37']
Exploring Operation: 49-37=12, Resulting Numbers: [12]
12,87 unequal: No Solution
Exploring Operation: 49+37=86, Resulting Numbers: [86]
86,87 unequal: No Solution
Exploring Operation: 49*37=1813, Resulting Numbers: [1813]
1813,87 unequal: No Solution
Moving to Node #0,3,0
Current State: 87:[39, 47], Operations: ['54-5=49', '49-2=47']
Exploring Operation: 39*47=1833, Resulting Numbers: [1833]
1833,87 unequal: No Solution
Exploring Operation: 39+47=86, Resulting Numbers: [86]
86,87 unequal: No Solution
Exploring Operation: 47-39=8, Resulting Numbers: [8]
8,87 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
16,
94,
18,
41
] | 19 | [
"94-16=78",
"18+41=59",
"78-59=19"
] | Current State: 19:[16, 94, 18, 41], Operations: []
Exploring Operation: 94-16=78, Resulting Numbers: [18, 41, 78]
Generated Node #2: [18, 41, 78] from Operation: 94-16=78
Current State: 19:[18, 41, 78], Operations: ['94-16=78']
Exploring Operation: 18+41=59, Resulting Numbers: [78, 59]
Generated Node #3: [78, 59] from Operation: 18+41=59
Current State: 19:[78, 59], Operations: ['94-16=78', '18+41=59']
Exploring Operation: 78-59=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[16, 94, 18, 41], Operations: []
Exploring Operation: 94-41=53, Resulting Numbers: [16, 18, 53]
Generated Node #0,0: 19:[16, 18, 53] Operation: 94-41=53
Exploring Operation: 94-16=78, Resulting Numbers: [18, 41, 78]
Generated Node #0,1: 19:[18, 41, 78] Operation: 94-16=78
Moving to Node #0,0
Current State: 19:[16, 18, 53], Operations: ['94-41=53']
Exploring Operation: 53-16=37, Resulting Numbers: [18, 37]
Generated Node #0,0,0: 19:[18, 37] Operation: 53-16=37
Exploring Operation: 53-18=35, Resulting Numbers: [16, 35]
Generated Node #0,0,1: 19:[16, 35] Operation: 53-18=35
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 19:[18, 37], Operations: ['94-41=53', '53-16=37']
Exploring Operation: 37-18=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[16, 94, 18, 41], Operations: []
Exploring Operation: 94-41=53, Resulting Numbers: [16, 18, 53]
Generated Node #0,0: 19:[16, 18, 53] Operation: 94-41=53
Moving to Node #0,0
Current State: 19:[16, 18, 53], Operations: ['94-41=53']
Exploring Operation: 53-16=37, Resulting Numbers: [18, 37]
Generated Node #0,0,0: 19:[18, 37] Operation: 53-16=37
Moving to Node #0,0,0
Current State: 19:[18, 37], Operations: ['94-41=53', '53-16=37']
Exploring Operation: 37-18=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
39,
54,
8,
49
] | 79 | [
"54-49=5",
"8*5=40",
"39+40=79"
] | Current State: 79:[39, 54, 8, 49], Operations: []
Exploring Operation: 54-49=5, Resulting Numbers: [39, 8, 5]
Generated Node #2: [39, 8, 5] from Operation: 54-49=5
Current State: 79:[39, 8, 5], Operations: ['54-49=5']
Exploring Operation: 8*5=40, Resulting Numbers: [39, 40]
Generated Node #3: [39, 40] from Operation: 8*5=40
Current State: 79:[39, 40], Operations: ['54-49=5', '8*5=40']
Exploring Operation: 39+40=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[39, 54, 8, 49], Operations: []
Exploring Operation: 39+8=47, Resulting Numbers: [54, 49, 47]
Generated Node #0,0: 79:[54, 49, 47] Operation: 39+8=47
Exploring Operation: 54+8=62, Resulting Numbers: [39, 49, 62]
Generated Node #0,1: 79:[39, 49, 62] Operation: 54+8=62
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[54, 49, 47], Operations: ['39+8=47']
Exploring Operation: 49+47=96, Resulting Numbers: [54, 96]
Generated Node #0,0,0: 79:[54, 96] Operation: 49+47=96
Exploring Operation: 54+47=101, Resulting Numbers: [49, 101]
Generated Node #0,0,1: 79:[49, 101] Operation: 54+47=101
Moving to Node #0,0,0
Current State: 79:[54, 96], Operations: ['39+8=47', '49+47=96']
Exploring Operation: 96-54=42, Resulting Numbers: [42]
42,79 unequal: No Solution
Exploring Operation: 54+96=150, Resulting Numbers: [150]
150,79 unequal: No Solution
Moving to Node #0,0,1
Current State: 79:[49, 101], Operations: ['39+8=47', '54+47=101']
Exploring Operation: 101-49=52, Resulting Numbers: [52]
52,79 unequal: No Solution
Exploring Operation: 49+101=150, Resulting Numbers: [150]
150,79 unequal: No Solution
No 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:[39, 49, 62], Operations: ['54+8=62']
Exploring Operation: 39+49=88, Resulting Numbers: [62, 88]
Generated Node #0,1,0: 79:[62, 88] Operation: 39+49=88
Exploring Operation: 39+62=101, Resulting Numbers: [49, 101]
Generated Node #0,1,1: 79:[49, 101] Operation: 39+62=101
Moving to Node #0,1,0
Current State: 79:[62, 88], Operations: ['54+8=62', '39+49=88']
Exploring Operation: 88-62=26, Resulting Numbers: [26]
26,79 unequal: No Solution
Exploring Operation: 62+88=150, Resulting Numbers: [150]
150,79 unequal: No Solution
Moving to Node #0,1,1
Current State: 79:[49, 101], Operations: ['54+8=62', '39+62=101']
Exploring Operation: 101-49=52, Resulting Numbers: [52]
52,79 unequal: No Solution
Exploring Operation: 49+101=150, Resulting Numbers: [150]
150,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
39,
67,
36,
96
] | 26 | [
"39+67=106",
"36+96=132",
"132-106=26"
] | Current State: 26:[39, 67, 36, 96], Operations: []
Exploring Operation: 39+67=106, Resulting Numbers: [36, 96, 106]
Generated Node #2: [36, 96, 106] from Operation: 39+67=106
Current State: 26:[36, 96, 106], Operations: ['39+67=106']
Exploring Operation: 36+96=132, Resulting Numbers: [106, 132]
Generated Node #3: [106, 132] from Operation: 36+96=132
Current State: 26:[106, 132], Operations: ['39+67=106', '36+96=132']
Exploring Operation: 132-106=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[39, 67, 36, 96], Operations: []
Exploring Operation: 96-67=29, Resulting Numbers: [39, 36, 29]
Generated Node #0,0: 26:[39, 36, 29] Operation: 96-67=29
Exploring Operation: 96-39=57, Resulting Numbers: [67, 36, 57]
Generated Node #0,1: 26:[67, 36, 57] Operation: 96-39=57
Exploring Operation: 67-36=31, Resulting Numbers: [39, 96, 31]
Generated Node #0,2: 26:[39, 96, 31] Operation: 67-36=31
Exploring Operation: 67-39=28, Resulting Numbers: [36, 96, 28]
Generated Node #0,3: 26:[36, 96, 28] Operation: 67-39=28
Moving to Node #0,0
Current State: 26:[39, 36, 29], Operations: ['96-67=29']
Exploring Operation: 39+36=75, Resulting Numbers: [29, 75]
Generated Node #0,0,0: 26:[29, 75] Operation: 39+36=75
Exploring Operation: 39-29=10, Resulting Numbers: [36, 10]
Generated Node #0,0,1: 26:[36, 10] Operation: 39-29=10
Exploring Operation: 36-29=7, Resulting Numbers: [39, 7]
Generated Node #0,0,2: 26:[39, 7] Operation: 36-29=7
Exploring Operation: 39-36=3, Resulting Numbers: [29, 3]
Generated Node #0,0,3: 26:[29, 3] Operation: 39-36=3
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 26:[29, 3], Operations: ['96-67=29', '39-36=3']
Exploring Operation: 29+3=32, Resulting Numbers: [32]
32,26 unequal: No Solution
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[39, 67, 36, 96], Operations: []
Exploring Operation: 96-67=29, Resulting Numbers: [39, 36, 29]
Generated Node #0,0: 26:[39, 36, 29] Operation: 96-67=29
Moving to Node #0,0
Current State: 26:[39, 36, 29], Operations: ['96-67=29']
Exploring Operation: 39-36=3, Resulting Numbers: [29, 3]
Generated Node #0,0,3: 26:[29, 3] Operation: 39-36=3
Moving to Node #0,0,3
Current State: 26:[29, 3], Operations: ['96-67=29', '39-36=3']
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
63,
70,
67,
14
] | 52 | [
"63+70=133",
"67+14=81",
"133-81=52"
] | Current State: 52:[63, 70, 67, 14], Operations: []
Exploring Operation: 63+70=133, Resulting Numbers: [67, 14, 133]
Generated Node #2: [67, 14, 133] from Operation: 63+70=133
Current State: 52:[67, 14, 133], Operations: ['63+70=133']
Exploring Operation: 67+14=81, Resulting Numbers: [133, 81]
Generated Node #3: [133, 81] from Operation: 67+14=81
Current State: 52:[133, 81], Operations: ['63+70=133', '67+14=81']
Exploring Operation: 133-81=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[63, 70, 67, 14], Operations: []
Exploring Operation: 70-14=56, Resulting Numbers: [63, 67, 56]
Generated Node #0,0: 52:[63, 67, 56] Operation: 70-14=56
Exploring Operation: 67-63=4, Resulting Numbers: [70, 14, 4]
Generated Node #0,1: 52:[70, 14, 4] Operation: 67-63=4
Exploring Operation: 70-67=3, Resulting Numbers: [63, 14, 3]
Generated Node #0,2: 52:[63, 14, 3] Operation: 70-67=3
Exploring Operation: 70/14=5, Resulting Numbers: [63, 67, 5]
Generated Node #0,3: 52:[63, 67, 5] Operation: 70/14=5
Exploring Operation: 70-63=7, Resulting Numbers: [67, 14, 7]
Generated Node #0,4: 52:[67, 14, 7] Operation: 70-63=7
Start Sub Search at level 1: Moving to Node #0,2
Current State: 52:[63, 14, 3], Operations: ['70-67=3']
Exploring Operation: 63+3=66, Resulting Numbers: [14, 66]
Generated Node #0,2,0: 52:[14, 66] Operation: 63+3=66
Exploring Operation: 63-3=60, Resulting Numbers: [14, 60]
Generated Node #0,2,1: 52:[14, 60] Operation: 63-3=60
Exploring Operation: 63-14=49, Resulting Numbers: [3, 49]
Generated Node #0,2,2: 52:[3, 49] Operation: 63-14=49
Exploring Operation: 14-3=11, Resulting Numbers: [63, 11]
Generated Node #0,2,3: 52:[63, 11] Operation: 14-3=11
Exploring Operation: 63/3=21, Resulting Numbers: [14, 21]
Generated Node #0,2,4: 52:[14, 21] Operation: 63/3=21
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 52:[3, 49], Operations: ['70-67=3', '63-14=49']
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,52 unequal: No Solution
Exploring Operation: 3+49=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[63, 70, 67, 14], Operations: []
Exploring Operation: 70-67=3, Resulting Numbers: [63, 14, 3]
Generated Node #0,2: 52:[63, 14, 3] Operation: 70-67=3
Moving to Node #0,2
Current State: 52:[63, 14, 3], Operations: ['70-67=3']
Exploring Operation: 63-14=49, Resulting Numbers: [3, 49]
Generated Node #0,2,2: 52:[3, 49] Operation: 63-14=49
Moving to Node #0,2,2
Current State: 52:[3, 49], Operations: ['70-67=3', '63-14=49']
Exploring Operation: 3+49=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
84,
28,
27,
55
] | 46 | [
"84/28=3",
"27/3=9",
"55-9=46"
] | Current State: 46:[84, 28, 27, 55], Operations: []
Exploring Operation: 84/28=3, Resulting Numbers: [27, 55, 3]
Generated Node #2: [27, 55, 3] from Operation: 84/28=3
Current State: 46:[27, 55, 3], Operations: ['84/28=3']
Exploring Operation: 27/3=9, Resulting Numbers: [55, 9]
Generated Node #3: [55, 9] from Operation: 27/3=9
Current State: 46:[55, 9], Operations: ['84/28=3', '27/3=9']
Exploring Operation: 55-9=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[84, 28, 27, 55], Operations: []
Exploring Operation: 84-27=57, Resulting Numbers: [28, 55, 57]
Generated Node #0,0: 46:[28, 55, 57] Operation: 84-27=57
Exploring Operation: 55-28=27, Resulting Numbers: [84, 27, 27]
Generated Node #0,1: 46:[84, 27, 27] Operation: 55-28=27
Exploring Operation: 84-55=29, Resulting Numbers: [28, 27, 29]
Generated Node #0,2: 46:[28, 27, 29] Operation: 84-55=29
Exploring Operation: 84-28=56, Resulting Numbers: [27, 55, 56]
Generated Node #0,3: 46:[27, 55, 56] Operation: 84-28=56
Exploring Operation: 84/28=3, Resulting Numbers: [27, 55, 3]
Generated Node #0,4: 46:[27, 55, 3] Operation: 84/28=3
Moving to Node #0,4
Current State: 46:[27, 55, 3], Operations: ['84/28=3']
Exploring Operation: 27/3=9, Resulting Numbers: [55, 9]
Generated Node #0,4,0: 46:[55, 9] Operation: 27/3=9
Exploring Operation: 55-27=28, Resulting Numbers: [3, 28]
Generated Node #0,4,1: 46:[3, 28] Operation: 55-27=28
Exploring Operation: 27-3=24, Resulting Numbers: [55, 24]
Generated Node #0,4,2: 46:[55, 24] Operation: 27-3=24
Exploring Operation: 27+3=30, Resulting Numbers: [55, 30]
Generated Node #0,4,3: 46:[55, 30] Operation: 27+3=30
Exploring Operation: 55-3=52, Resulting Numbers: [27, 52]
Generated Node #0,4,4: 46:[27, 52] Operation: 55-3=52
Moving to Node #0,2
Current State: 46:[28, 27, 29], Operations: ['84-55=29']
Exploring Operation: 28+27=55, Resulting Numbers: [29, 55]
Generated Node #0,2,0: 46:[29, 55] Operation: 28+27=55
Exploring Operation: 28+29=57, Resulting Numbers: [27, 57]
Generated Node #0,2,1: 46:[27, 57] Operation: 28+29=57
Exploring Operation: 29-28=1, Resulting Numbers: [27, 1]
Generated Node #0,2,2: 46:[27, 1] Operation: 29-28=1
Exploring Operation: 28-27=1, Resulting Numbers: [29, 1]
Generated Node #0,2,3: 46:[29, 1] Operation: 28-27=1
Exploring Operation: 29-27=2, Resulting Numbers: [28, 2]
Generated Node #0,2,4: 46:[28, 2] Operation: 29-27=2
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 46:[27, 1], Operations: ['84-55=29', '29-28=1']
Exploring Operation: 27-1=26, Resulting Numbers: [26]
26,46 unequal: No Solution
Exploring Operation: 27/1=27, Resulting Numbers: [27]
27,46 unequal: No Solution
Exploring Operation: 27*1=27, Resulting Numbers: [27]
27,46 unequal: No Solution
Exploring Operation: 27+1=28, Resulting Numbers: [28]
28,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 46:[28, 2], Operations: ['84-55=29', '29-27=2']
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,46 unequal: No Solution
Exploring Operation: 28+2=30, Resulting Numbers: [30]
30,46 unequal: No Solution
Exploring Operation: 28*2=56, Resulting Numbers: [56]
56,46 unequal: No Solution
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 46:[29, 1], Operations: ['84-55=29', '28-27=1']
Exploring Operation: 29-1=28, Resulting Numbers: [28]
28,46 unequal: No Solution
Exploring Operation: 29/1=29, Resulting Numbers: [29]
29,46 unequal: No Solution
Exploring Operation: 29+1=30, Resulting Numbers: [30]
30,46 unequal: No Solution
Exploring Operation: 29*1=29, Resulting Numbers: [29]
29,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 46:[29, 55], Operations: ['84-55=29', '28+27=55']
Exploring Operation: 55-29=26, Resulting Numbers: [26]
26,46 unequal: No Solution
Exploring Operation: 29*55=1595, Resulting Numbers: [1595]
1595,46 unequal: No Solution
Exploring Operation: 29+55=84, Resulting Numbers: [84]
84,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 46:[27, 57], Operations: ['84-55=29', '28+29=57']
Exploring Operation: 27*57=1539, Resulting Numbers: [1539]
1539,46 unequal: No Solution
Exploring Operation: 27+57=84, Resulting Numbers: [84]
84,46 unequal: No Solution
Exploring Operation: 57-27=30, Resulting Numbers: [30]
30,46 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: 46:[27, 55, 56], Operations: ['84-28=56']
Exploring Operation: 56-27=29, Resulting Numbers: [55, 29]
Generated Node #0,3,0: 46:[55, 29] Operation: 56-27=29
Exploring Operation: 55-27=28, Resulting Numbers: [56, 28]
Generated Node #0,3,1: 46:[56, 28] Operation: 55-27=28
Exploring Operation: 27+55=82, Resulting Numbers: [56, 82]
Generated Node #0,3,2: 46:[56, 82] Operation: 27+55=82
Exploring Operation: 27+56=83, Resulting Numbers: [55, 83]
Generated Node #0,3,3: 46:[55, 83] Operation: 27+56=83
Exploring Operation: 56-55=1, Resulting Numbers: [27, 1]
Generated Node #0,3,4: 46:[27, 1] Operation: 56-55=1
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 46:[27, 1], Operations: ['84-28=56', '56-55=1']
Exploring Operation: 27-1=26, Resulting Numbers: [26]
26,46 unequal: No Solution
Exploring Operation: 27+1=28, Resulting Numbers: [28]
28,46 unequal: No Solution
Exploring Operation: 27*1=27, Resulting Numbers: [27]
27,46 unequal: No Solution
Exploring Operation: 27/1=27, Resulting Numbers: [27]
27,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 46:[55, 29], Operations: ['84-28=56', '56-27=29']
Exploring Operation: 55*29=1595, Resulting Numbers: [1595]
1595,46 unequal: No Solution
Exploring Operation: 55-29=26, Resulting Numbers: [26]
26,46 unequal: No Solution
Exploring Operation: 55+29=84, Resulting Numbers: [84]
84,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 46:[56, 28], Operations: ['84-28=56', '55-27=28']
Exploring Operation: 56-28=28, Resulting Numbers: [28]
28,46 unequal: No Solution
Exploring Operation: 56+28=84, Resulting Numbers: [84]
84,46 unequal: No Solution
Exploring Operation: 56*28=1568, Resulting Numbers: [1568]
1568,46 unequal: No Solution
Exploring Operation: 56/28=2, Resulting Numbers: [2]
2,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 46:[56, 82], Operations: ['84-28=56', '27+55=82']
Exploring Operation: 56*82=4592, Resulting Numbers: [4592]
4592,46 unequal: No Solution
Exploring Operation: 56+82=138, Resulting Numbers: [138]
138,46 unequal: No Solution
Exploring Operation: 82-56=26, Resulting Numbers: [26]
26,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 46:[55, 83], Operations: ['84-28=56', '27+56=83']
Exploring Operation: 55+83=138, Resulting Numbers: [138]
138,46 unequal: No Solution
Exploring Operation: 55*83=4565, Resulting Numbers: [4565]
4565,46 unequal: No Solution
Exploring Operation: 83-55=28, Resulting Numbers: [28]
28,46 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: 46:[28, 55, 57], Operations: ['84-27=57']
Exploring Operation: 57-28=29, Resulting Numbers: [55, 29]
Generated Node #0,0,0: 46:[55, 29] Operation: 57-28=29
Exploring Operation: 28+55=83, Resulting Numbers: [57, 83]
Generated Node #0,0,1: 46:[57, 83] Operation: 28+55=83
Exploring Operation: 28+57=85, Resulting Numbers: [55, 85]
Generated Node #0,0,2: 46:[55, 85] Operation: 28+57=85
Exploring Operation: 55-28=27, Resulting Numbers: [57, 27]
Generated Node #0,0,3: 46:[57, 27] Operation: 55-28=27
Exploring Operation: 57-55=2, Resulting Numbers: [28, 2]
Generated Node #0,0,4: 46:[28, 2] Operation: 57-55=2
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 46:[28, 2], Operations: ['84-27=57', '57-55=2']
Exploring Operation: 28+2=30, Resulting Numbers: [30]
30,46 unequal: No Solution
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,46 unequal: No Solution
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,46 unequal: No Solution
Exploring Operation: 28*2=56, Resulting Numbers: [56]
56,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 46:[55, 29], Operations: ['84-27=57', '57-28=29']
Exploring Operation: 55*29=1595, Resulting Numbers: [1595]
1595,46 unequal: No Solution
Exploring Operation: 55+29=84, Resulting Numbers: [84]
84,46 unequal: No Solution
Exploring Operation: 55-29=26, Resulting Numbers: [26]
26,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 46:[57, 27], Operations: ['84-27=57', '55-28=27']
Exploring Operation: 57+27=84, Resulting Numbers: [84]
84,46 unequal: No Solution
Exploring Operation: 57*27=1539, Resulting Numbers: [1539]
1539,46 unequal: No Solution
Exploring Operation: 57-27=30, Resulting Numbers: [30]
30,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 46:[57, 83], Operations: ['84-27=57', '28+55=83']
Exploring Operation: 57*83=4731, Resulting Numbers: [4731]
4731,46 unequal: No Solution
Exploring Operation: 83-57=26, Resulting Numbers: [26]
26,46 unequal: No Solution
Exploring Operation: 57+83=140, Resulting Numbers: [140]
140,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 46:[55, 85], Operations: ['84-27=57', '28+57=85']
Exploring Operation: 85-55=30, Resulting Numbers: [30]
30,46 unequal: No Solution
Exploring Operation: 55*85=4675, Resulting Numbers: [4675]
4675,46 unequal: No Solution
Exploring Operation: 55+85=140, Resulting Numbers: [140]
140,46 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: 46:[84, 27, 27], Operations: ['55-28=27']
Exploring Operation: 27+27=54, Resulting Numbers: [84, 54]
Generated Node #0,1,0: 46:[84, 54] Operation: 27+27=54
Exploring Operation: 84-27=57, Resulting Numbers: [27, 57]
Generated Node #0,1,1: 46:[27, 57] Operation: 84-27=57
Exploring Operation: 84-27=57, Resulting Numbers: [27, 57]
Generated Node #0,1,2: 46:[27, 57] Operation: 84-27=57
Exploring Operation: 27-27=0, Resulting Numbers: [84, 0]
Generated Node #0,1,3: 46:[84, 0] Operation: 27-27=0
Exploring Operation: 27/27=1, Resulting Numbers: [84, 1]
Generated Node #0,1,4: 46:[84, 1] Operation: 27/27=1
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 46:[27, 57], Operations: ['55-28=27', '84-27=57']
Exploring Operation: 27*57=1539, Resulting Numbers: [1539]
1539,46 unequal: No Solution
Exploring Operation: 27+57=84, Resulting Numbers: [84]
84,46 unequal: No Solution
Exploring Operation: 57-27=30, Resulting Numbers: [30]
30,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 46:[27, 57], Operations: ['55-28=27', '84-27=57']
Exploring Operation: 57-27=30, Resulting Numbers: [30]
30,46 unequal: No Solution
Exploring Operation: 27+57=84, Resulting Numbers: [84]
84,46 unequal: No Solution
Exploring Operation: 27*57=1539, Resulting Numbers: [1539]
1539,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 46:[84, 1], Operations: ['55-28=27', '27/27=1']
Exploring Operation: 84-1=83, Resulting Numbers: [83]
83,46 unequal: No Solution
Exploring Operation: 84/1=84, Resulting Numbers: [84]
84,46 unequal: No Solution
Exploring Operation: 84+1=85, Resulting Numbers: [85]
85,46 unequal: No Solution
Exploring Operation: 84*1=84, Resulting Numbers: [84]
84,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 46:[84, 0], Operations: ['55-28=27', '27-27=0']
Exploring Operation: 84-0=84, Resulting Numbers: [84]
84,46 unequal: No Solution
Exploring Operation: 84+0=84, Resulting Numbers: [84]
84,46 unequal: No Solution
Exploring Operation: 84*0=0, Resulting Numbers: [0]
0,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 46:[84, 54], Operations: ['55-28=27', '27+27=54']
Exploring Operation: 84-54=30, Resulting Numbers: [30]
30,46 unequal: No Solution
Exploring Operation: 84*54=4536, Resulting Numbers: [4536]
4536,46 unequal: No Solution
Exploring Operation: 84+54=138, Resulting Numbers: [138]
138,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,1
Current State: 46:[3, 28], Operations: ['84/28=3', '55-27=28']
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,46 unequal: No Solution
Exploring Operation: 3*28=84, Resulting Numbers: [84]
84,46 unequal: No Solution
Exploring Operation: 3+28=31, Resulting Numbers: [31]
31,46 unequal: No Solution
Moving to Node #0,4,4
Current State: 46:[27, 52], Operations: ['84/28=3', '55-3=52']
Exploring Operation: 27+52=79, Resulting Numbers: [79]
79,46 unequal: No Solution
Exploring Operation: 52-27=25, Resulting Numbers: [25]
25,46 unequal: No Solution
Exploring Operation: 27*52=1404, Resulting Numbers: [1404]
1404,46 unequal: No Solution
Moving to Node #0,4,2
Current State: 46:[55, 24], Operations: ['84/28=3', '27-3=24']
Exploring Operation: 55-24=31, Resulting Numbers: [31]
31,46 unequal: No Solution
Exploring Operation: 55*24=1320, Resulting Numbers: [1320]
1320,46 unequal: No Solution
Exploring Operation: 55+24=79, Resulting Numbers: [79]
79,46 unequal: No Solution
Moving to Node #0,4,0
Current State: 46:[55, 9], Operations: ['84/28=3', '27/3=9']
Exploring Operation: 55-9=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[84, 28, 27, 55], Operations: []
Exploring Operation: 84/28=3, Resulting Numbers: [27, 55, 3]
Generated Node #0,4: 46:[27, 55, 3] Operation: 84/28=3
Moving to Node #0,4
Current State: 46:[27, 55, 3], Operations: ['84/28=3']
Exploring Operation: 27/3=9, Resulting Numbers: [55, 9]
Generated Node #0,4,0: 46:[55, 9] Operation: 27/3=9
Moving to Node #0,4,0
Current State: 46:[55, 9], Operations: ['84/28=3', '27/3=9']
Exploring Operation: 55-9=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 0.903646 | hs_5 | sum_heuristic |
[
8,
9,
53,
47
] | 60 | [
"9+47=56",
"56/8=7",
"53+7=60"
] | Current State: 60:[8, 9, 53, 47], Operations: []
Exploring Operation: 9+47=56, Resulting Numbers: [8, 53, 56]
Generated Node #2: [8, 53, 56] from Operation: 9+47=56
Current State: 60:[8, 53, 56], Operations: ['9+47=56']
Exploring Operation: 56/8=7, Resulting Numbers: [53, 7]
Generated Node #3: [53, 7] from Operation: 56/8=7
Current State: 60:[53, 7], Operations: ['9+47=56', '56/8=7']
Exploring Operation: 53+7=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[8, 9, 53, 47], Operations: []
Exploring Operation: 53-47=6, Resulting Numbers: [8, 9, 6]
Generated Node #0,0: 60:[8, 9, 6] Operation: 53-47=6
Exploring Operation: 8+53=61, Resulting Numbers: [9, 47, 61]
Generated Node #0,1: 60:[9, 47, 61] Operation: 8+53=61
Exploring Operation: 8+47=55, Resulting Numbers: [9, 53, 55]
Generated Node #0,2: 60:[9, 53, 55] Operation: 8+47=55
Exploring Operation: 9+47=56, Resulting Numbers: [8, 53, 56]
Generated Node #0,3: 60:[8, 53, 56] Operation: 9+47=56
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[8, 9, 6], Operations: ['53-47=6']
Exploring Operation: 8+9=17, Resulting Numbers: [6, 17]
Generated Node #0,0,0: 60:[6, 17] Operation: 8+9=17
Exploring Operation: 8+6=14, Resulting Numbers: [9, 14]
Generated Node #0,0,1: 60:[9, 14] Operation: 8+6=14
Exploring Operation: 8-6=2, Resulting Numbers: [9, 2]
Generated Node #0,0,2: 60:[9, 2] Operation: 8-6=2
Exploring Operation: 9-8=1, Resulting Numbers: [6, 1]
Generated Node #0,0,3: 60:[6, 1] Operation: 9-8=1
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 60:[9, 2], Operations: ['53-47=6', '8-6=2']
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,60 unequal: No Solution
Exploring Operation: 9+2=11, Resulting Numbers: [11]
11,60 unequal: No Solution
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 60:[6, 1], Operations: ['53-47=6', '9-8=1']
Exploring Operation: 6/1=6, Resulting Numbers: [6]
6,60 unequal: No Solution
Exploring Operation: 6-1=5, Resulting Numbers: [5]
5,60 unequal: No Solution
Exploring Operation: 6*1=6, Resulting Numbers: [6]
6,60 unequal: No Solution
Exploring Operation: 6+1=7, Resulting Numbers: [7]
7,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 60:[6, 17], Operations: ['53-47=6', '8+9=17']
Exploring Operation: 6*17=102, Resulting Numbers: [102]
102,60 unequal: No Solution
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,60 unequal: No Solution
Exploring Operation: 6+17=23, Resulting Numbers: [23]
23,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 60:[9, 14], Operations: ['53-47=6', '8+6=14']
Exploring Operation: 9*14=126, Resulting Numbers: [126]
126,60 unequal: No Solution
Exploring Operation: 14-9=5, Resulting Numbers: [5]
5,60 unequal: No Solution
Exploring Operation: 9+14=23, Resulting Numbers: [23]
23,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 60:[9, 53, 55], Operations: ['8+47=55']
Exploring Operation: 55-53=2, Resulting Numbers: [9, 2]
Generated Node #0,2,0: 60:[9, 2] Operation: 55-53=2
Exploring Operation: 9+55=64, Resulting Numbers: [53, 64]
Generated Node #0,2,1: 60:[53, 64] Operation: 9+55=64
Exploring Operation: 53-9=44, Resulting Numbers: [55, 44]
Generated Node #0,2,2: 60:[55, 44] Operation: 53-9=44
Exploring Operation: 9+53=62, Resulting Numbers: [55, 62]
Generated Node #0,2,3: 60:[55, 62] Operation: 9+53=62
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 60:[9, 2], Operations: ['8+47=55', '55-53=2']
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,60 unequal: No Solution
Exploring Operation: 9+2=11, Resulting Numbers: [11]
11,60 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 60:[55, 62], Operations: ['8+47=55', '9+53=62']
Exploring Operation: 55*62=3410, Resulting Numbers: [3410]
3410,60 unequal: No Solution
Exploring Operation: 55+62=117, Resulting Numbers: [117]
117,60 unequal: No Solution
Exploring Operation: 62-55=7, Resulting Numbers: [7]
7,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 60:[53, 64], Operations: ['8+47=55', '9+55=64']
Exploring Operation: 64-53=11, Resulting Numbers: [11]
11,60 unequal: No Solution
Exploring Operation: 53+64=117, Resulting Numbers: [117]
117,60 unequal: No Solution
Exploring Operation: 53*64=3392, Resulting Numbers: [3392]
3392,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 60:[55, 44], Operations: ['8+47=55', '53-9=44']
Exploring Operation: 55*44=2420, Resulting Numbers: [2420]
2420,60 unequal: No Solution
Exploring Operation: 55+44=99, Resulting Numbers: [99]
99,60 unequal: No Solution
Exploring Operation: 55-44=11, Resulting Numbers: [11]
11,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 60:[8, 53, 56], Operations: ['9+47=56']
Exploring Operation: 8+53=61, Resulting Numbers: [56, 61]
Generated Node #0,3,0: 60:[56, 61] Operation: 8+53=61
Exploring Operation: 8+56=64, Resulting Numbers: [53, 64]
Generated Node #0,3,1: 60:[53, 64] Operation: 8+56=64
Exploring Operation: 56/8=7, Resulting Numbers: [53, 7]
Generated Node #0,3,2: 60:[53, 7] Operation: 56/8=7
Exploring Operation: 56-53=3, Resulting Numbers: [8, 3]
Generated Node #0,3,3: 60:[8, 3] Operation: 56-53=3
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 60:[8, 3], Operations: ['9+47=56', '56-53=3']
Exploring Operation: 8+3=11, Resulting Numbers: [11]
11,60 unequal: No Solution
Exploring Operation: 8*3=24, Resulting Numbers: [24]
24,60 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 60:[56, 61], Operations: ['9+47=56', '8+53=61']
Exploring Operation: 61-56=5, Resulting Numbers: [5]
5,60 unequal: No Solution
Exploring Operation: 56*61=3416, Resulting Numbers: [3416]
3416,60 unequal: No Solution
Exploring Operation: 56+61=117, Resulting Numbers: [117]
117,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 60:[53, 7], Operations: ['9+47=56', '56/8=7']
Exploring Operation: 53*7=371, Resulting Numbers: [371]
371,60 unequal: No Solution
Exploring Operation: 53-7=46, Resulting Numbers: [46]
46,60 unequal: No Solution
Exploring Operation: 53+7=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[8, 9, 53, 47], Operations: []
Exploring Operation: 9+47=56, Resulting Numbers: [8, 53, 56]
Generated Node #0,3: 60:[8, 53, 56] Operation: 9+47=56
Moving to Node #0,3
Current State: 60:[8, 53, 56], Operations: ['9+47=56']
Exploring Operation: 56/8=7, Resulting Numbers: [53, 7]
Generated Node #0,3,2: 60:[53, 7] Operation: 56/8=7
Moving to Node #0,3,2
Current State: 60:[53, 7], Operations: ['9+47=56', '56/8=7']
Exploring Operation: 53+7=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.953125 | hs_4 | mult_heuristic |
[
53,
57,
44,
77
] | 37 | [
"57-53=4",
"77-44=33",
"4+33=37"
] | Current State: 37:[53, 57, 44, 77], Operations: []
Exploring Operation: 57-53=4, Resulting Numbers: [44, 77, 4]
Generated Node #2: [44, 77, 4] from Operation: 57-53=4
Current State: 37:[44, 77, 4], Operations: ['57-53=4']
Exploring Operation: 77-44=33, Resulting Numbers: [4, 33]
Generated Node #3: [4, 33] from Operation: 77-44=33
Current State: 37:[4, 33], Operations: ['57-53=4', '77-44=33']
Exploring Operation: 4+33=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[53, 57, 44, 77], Operations: []
Exploring Operation: 57-44=13, Resulting Numbers: [53, 77, 13]
Generated Node #0,0: 37:[53, 77, 13] Operation: 57-44=13
Exploring Operation: 77-44=33, Resulting Numbers: [53, 57, 33]
Generated Node #0,1: 37:[53, 57, 33] Operation: 77-44=33
Exploring Operation: 77-53=24, Resulting Numbers: [57, 44, 24]
Generated Node #0,2: 37:[57, 44, 24] Operation: 77-53=24
Exploring Operation: 77-57=20, Resulting Numbers: [53, 44, 20]
Generated Node #0,3: 37:[53, 44, 20] Operation: 77-57=20
Exploring Operation: 57-53=4, Resulting Numbers: [44, 77, 4]
Generated Node #0,4: 37:[44, 77, 4] Operation: 57-53=4
Moving to Node #0,1
Current State: 37:[53, 57, 33], Operations: ['77-44=33']
Exploring Operation: 53+33=86, Resulting Numbers: [57, 86]
Generated Node #0,1,0: 37:[57, 86] Operation: 53+33=86
Exploring Operation: 57-33=24, Resulting Numbers: [53, 24]
Generated Node #0,1,1: 37:[53, 24] Operation: 57-33=24
Exploring Operation: 57+33=90, Resulting Numbers: [53, 90]
Generated Node #0,1,2: 37:[53, 90] Operation: 57+33=90
Exploring Operation: 53-33=20, Resulting Numbers: [57, 20]
Generated Node #0,1,3: 37:[57, 20] Operation: 53-33=20
Exploring Operation: 57-53=4, Resulting Numbers: [33, 4]
Generated Node #0,1,4: 37:[33, 4] Operation: 57-53=4
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 37:[53, 24], Operations: ['77-44=33', '57-33=24']
Exploring Operation: 53+24=77, Resulting Numbers: [77]
77,37 unequal: No Solution
Exploring Operation: 53*24=1272, Resulting Numbers: [1272]
1272,37 unequal: No Solution
Exploring Operation: 53-24=29, Resulting Numbers: [29]
29,37 unequal: No Solution
No 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: 37:[57, 20], Operations: ['77-44=33', '53-33=20']
Exploring Operation: 57+20=77, Resulting Numbers: [77]
77,37 unequal: No Solution
Exploring Operation: 57*20=1140, Resulting Numbers: [1140]
1140,37 unequal: No Solution
Exploring Operation: 57-20=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[53, 57, 44, 77], Operations: []
Exploring Operation: 77-44=33, Resulting Numbers: [53, 57, 33]
Generated Node #0,1: 37:[53, 57, 33] Operation: 77-44=33
Moving to Node #0,1
Current State: 37:[53, 57, 33], Operations: ['77-44=33']
Exploring Operation: 53-33=20, Resulting Numbers: [57, 20]
Generated Node #0,1,3: 37:[57, 20] Operation: 53-33=20
Moving to Node #0,1,3
Current State: 37:[57, 20], Operations: ['77-44=33', '53-33=20']
Exploring Operation: 57-20=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_5 | sum_heuristic |
[
97,
50,
41,
73
] | 79 | [
"97-50=47",
"73-41=32",
"47+32=79"
] | Current State: 79:[97, 50, 41, 73], Operations: []
Exploring Operation: 97-50=47, Resulting Numbers: [41, 73, 47]
Generated Node #2: [41, 73, 47] from Operation: 97-50=47
Current State: 79:[41, 73, 47], Operations: ['97-50=47']
Exploring Operation: 73-41=32, Resulting Numbers: [47, 32]
Generated Node #3: [47, 32] from Operation: 73-41=32
Current State: 79:[47, 32], Operations: ['97-50=47', '73-41=32']
Exploring Operation: 47+32=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[97, 50, 41, 73], Operations: []
Exploring Operation: 41+73=114, Resulting Numbers: [97, 50, 114]
Generated Node #0,0: 79:[97, 50, 114] Operation: 41+73=114
Exploring Operation: 97+41=138, Resulting Numbers: [50, 73, 138]
Generated Node #0,1: 79:[50, 73, 138] Operation: 97+41=138
Exploring Operation: 50+41=91, Resulting Numbers: [97, 73, 91]
Generated Node #0,2: 79:[97, 73, 91] Operation: 50+41=91
Exploring Operation: 97-41=56, Resulting Numbers: [50, 73, 56]
Generated Node #0,3: 79:[50, 73, 56] Operation: 97-41=56
Exploring Operation: 97-50=47, Resulting Numbers: [41, 73, 47]
Generated Node #0,4: 79:[41, 73, 47] Operation: 97-50=47
Moving to Node #0,2
Current State: 79:[97, 73, 91], Operations: ['50+41=91']
Exploring Operation: 91-73=18, Resulting Numbers: [97, 18]
Generated Node #0,2,0: 79:[97, 18] Operation: 91-73=18
Exploring Operation: 97-91=6, Resulting Numbers: [73, 6]
Generated Node #0,2,1: 79:[73, 6] Operation: 97-91=6
Exploring Operation: 97-73=24, Resulting Numbers: [91, 24]
Generated Node #0,2,2: 79:[91, 24] Operation: 97-73=24
Exploring Operation: 73+91=164, Resulting Numbers: [97, 164]
Generated Node #0,2,3: 79:[97, 164] Operation: 73+91=164
Exploring Operation: 97+73=170, Resulting Numbers: [91, 170]
Generated Node #0,2,4: 79:[91, 170] Operation: 97+73=170
Moving to Node #0,3
Current State: 79:[50, 73, 56], Operations: ['97-41=56']
Exploring Operation: 73+56=129, Resulting Numbers: [50, 129]
Generated Node #0,3,0: 79:[50, 129] Operation: 73+56=129
Exploring Operation: 73-50=23, Resulting Numbers: [56, 23]
Generated Node #0,3,1: 79:[56, 23] Operation: 73-50=23
Exploring Operation: 50+56=106, Resulting Numbers: [73, 106]
Generated Node #0,3,2: 79:[73, 106] Operation: 50+56=106
Exploring Operation: 56-50=6, Resulting Numbers: [73, 6]
Generated Node #0,3,3: 79:[73, 6] Operation: 56-50=6
Exploring Operation: 50+73=123, Resulting Numbers: [56, 123]
Generated Node #0,3,4: 79:[56, 123] Operation: 50+73=123
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 79:[73, 106], Operations: ['97-41=56', '50+56=106']
Exploring Operation: 73*106=7738, Resulting Numbers: [7738]
7738,79 unequal: No Solution
Exploring Operation: 106-73=33, Resulting Numbers: [33]
33,79 unequal: No Solution
Exploring Operation: 73+106=179, Resulting Numbers: [179]
179,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 79:[56, 123], Operations: ['97-41=56', '50+73=123']
Exploring Operation: 56*123=6888, Resulting Numbers: [6888]
6888,79 unequal: No Solution
Exploring Operation: 56+123=179, Resulting Numbers: [179]
179,79 unequal: No Solution
Exploring Operation: 123-56=67, Resulting Numbers: [67]
67,79 unequal: No Solution
No 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: 79:[50, 129], Operations: ['97-41=56', '73+56=129']
Exploring Operation: 50+129=179, Resulting Numbers: [179]
179,79 unequal: No Solution
Exploring Operation: 50*129=6450, Resulting Numbers: [6450]
6450,79 unequal: No Solution
Exploring Operation: 129-50=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Moving to Node #0
Current State: 79:[97, 50, 41, 73], Operations: []
Exploring Operation: 97-41=56, Resulting Numbers: [50, 73, 56]
Generated Node #0,3: 79:[50, 73, 56] Operation: 97-41=56
Moving to Node #0,3
Current State: 79:[50, 73, 56], Operations: ['97-41=56']
Exploring Operation: 73+56=129, Resulting Numbers: [50, 129]
Generated Node #0,3,0: 79:[50, 129] Operation: 73+56=129
Moving to Node #0,3,0
Current State: 79:[50, 129], Operations: ['97-41=56', '73+56=129']
Exploring Operation: 129-50=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Exit Sub Search at level 1
| 0.975694 | hs_5 | sum_heuristic |
[
42,
45,
69,
4
] | 48 | [
"69-45=24",
"24/4=6",
"42+6=48"
] | Current State: 48:[42, 45, 69, 4], Operations: []
Exploring Operation: 69-45=24, Resulting Numbers: [42, 4, 24]
Generated Node #2: [42, 4, 24] from Operation: 69-45=24
Current State: 48:[42, 4, 24], Operations: ['69-45=24']
Exploring Operation: 24/4=6, Resulting Numbers: [42, 6]
Generated Node #3: [42, 6] from Operation: 24/4=6
Current State: 48:[42, 6], Operations: ['69-45=24', '24/4=6']
Exploring Operation: 42+6=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[42, 45, 69, 4], Operations: []
Exploring Operation: 45-42=3, Resulting Numbers: [69, 4, 3]
Generated Node #0,0: 48:[69, 4, 3] Operation: 45-42=3
Exploring Operation: 42+4=46, Resulting Numbers: [45, 69, 46]
Generated Node #0,1: 48:[45, 69, 46] Operation: 42+4=46
Exploring Operation: 69-42=27, Resulting Numbers: [45, 4, 27]
Generated Node #0,2: 48:[45, 4, 27] Operation: 69-42=27
Exploring Operation: 69-45=24, Resulting Numbers: [42, 4, 24]
Generated Node #0,3: 48:[42, 4, 24] Operation: 69-45=24
Moving to Node #0,2
Current State: 48:[45, 4, 27], Operations: ['69-42=27']
Exploring Operation: 45-4=41, Resulting Numbers: [27, 41]
Generated Node #0,2,0: 48:[27, 41] Operation: 45-4=41
Exploring Operation: 45-27=18, Resulting Numbers: [4, 18]
Generated Node #0,2,1: 48:[4, 18] Operation: 45-27=18
Exploring Operation: 45+4=49, Resulting Numbers: [27, 49]
Generated Node #0,2,2: 48:[27, 49] Operation: 45+4=49
Exploring Operation: 27-4=23, Resulting Numbers: [45, 23]
Generated Node #0,2,3: 48:[45, 23] Operation: 27-4=23
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 48:[4, 18], Operations: ['69-42=27', '45-27=18']
Exploring Operation: 4+18=22, Resulting Numbers: [22]
22,48 unequal: No Solution
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,48 unequal: No Solution
Exploring Operation: 4*18=72, Resulting Numbers: [72]
72,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,2,2
Current State: 48:[27, 49], Operations: ['69-42=27', '45+4=49']
Exploring Operation: 49-27=22, Resulting Numbers: [22]
22,48 unequal: No Solution
Exploring Operation: 27*49=1323, Resulting Numbers: [1323]
1323,48 unequal: No Solution
Exploring Operation: 27+49=76, Resulting Numbers: [76]
76,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,2,3
Current State: 48:[45, 23], Operations: ['69-42=27', '27-4=23']
Exploring Operation: 45-23=22, Resulting Numbers: [22]
22,48 unequal: No Solution
Exploring Operation: 45*23=1035, Resulting Numbers: [1035]
1035,48 unequal: No Solution
Exploring Operation: 45+23=68, Resulting Numbers: [68]
68,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,2,0
Current State: 48:[27, 41], Operations: ['69-42=27', '45-4=41']
Exploring Operation: 27+41=68, Resulting Numbers: [68]
68,48 unequal: No Solution
Exploring Operation: 41-27=14, Resulting Numbers: [14]
14,48 unequal: No Solution
Exploring Operation: 27*41=1107, Resulting Numbers: [1107]
1107,48 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: 48:[42, 4, 24], Operations: ['69-45=24']
Exploring Operation: 42-4=38, Resulting Numbers: [24, 38]
Generated Node #0,3,0: 48:[24, 38] Operation: 42-4=38
Exploring Operation: 42-24=18, Resulting Numbers: [4, 18]
Generated Node #0,3,1: 48:[4, 18] Operation: 42-24=18
Exploring Operation: 42+4=46, Resulting Numbers: [24, 46]
Generated Node #0,3,2: 48:[24, 46] Operation: 42+4=46
Exploring Operation: 24/4=6, Resulting Numbers: [42, 6]
Generated Node #0,3,3: 48:[42, 6] Operation: 24/4=6
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 48:[4, 18], Operations: ['69-45=24', '42-24=18']
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,48 unequal: No Solution
Exploring Operation: 4+18=22, Resulting Numbers: [22]
22,48 unequal: No Solution
Exploring Operation: 4*18=72, Resulting Numbers: [72]
72,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,3,2
Current State: 48:[24, 46], Operations: ['69-45=24', '42+4=46']
Exploring Operation: 46-24=22, Resulting Numbers: [22]
22,48 unequal: No Solution
Exploring Operation: 24+46=70, Resulting Numbers: [70]
70,48 unequal: No Solution
Exploring Operation: 24*46=1104, Resulting Numbers: [1104]
1104,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,3,3
Current State: 48:[42, 6], Operations: ['69-45=24', '24/4=6']
Exploring Operation: 42+6=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[42, 45, 69, 4], Operations: []
Exploring Operation: 69-45=24, Resulting Numbers: [42, 4, 24]
Generated Node #0,3: 48:[42, 4, 24] Operation: 69-45=24
Moving to Node #0,3
Current State: 48:[42, 4, 24], Operations: ['69-45=24']
Exploring Operation: 24/4=6, Resulting Numbers: [42, 6]
Generated Node #0,3,3: 48:[42, 6] Operation: 24/4=6
Moving to Node #0,3,3
Current State: 48:[42, 6], Operations: ['69-45=24', '24/4=6']
Exploring Operation: 42+6=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.969618 | hs_4 | sum_heuristic |
[
58,
77,
82,
50
] | 68 | [
"82-77=5",
"50/5=10",
"58+10=68"
] | Current State: 68:[58, 77, 82, 50], Operations: []
Exploring Operation: 82-77=5, Resulting Numbers: [58, 50, 5]
Generated Node #2: [58, 50, 5] from Operation: 82-77=5
Current State: 68:[58, 50, 5], Operations: ['82-77=5']
Exploring Operation: 50/5=10, Resulting Numbers: [58, 10]
Generated Node #3: [58, 10] from Operation: 50/5=10
Current State: 68:[58, 10], Operations: ['82-77=5', '50/5=10']
Exploring Operation: 58+10=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[58, 77, 82, 50], Operations: []
Exploring Operation: 58-50=8, Resulting Numbers: [77, 82, 8]
Generated Node #0,0: 68:[77, 82, 8] Operation: 58-50=8
Exploring Operation: 77-50=27, Resulting Numbers: [58, 82, 27]
Generated Node #0,1: 68:[58, 82, 27] Operation: 77-50=27
Exploring Operation: 82-77=5, Resulting Numbers: [58, 50, 5]
Generated Node #0,2: 68:[58, 50, 5] Operation: 82-77=5
Exploring Operation: 82-50=32, Resulting Numbers: [58, 77, 32]
Generated Node #0,3: 68:[58, 77, 32] Operation: 82-50=32
Exploring Operation: 77-58=19, Resulting Numbers: [82, 50, 19]
Generated Node #0,4: 68:[82, 50, 19] Operation: 77-58=19
Moving to Node #0,3
Current State: 68:[58, 77, 32], Operations: ['82-50=32']
Exploring Operation: 58-32=26, Resulting Numbers: [77, 26]
Generated Node #0,3,0: 68:[77, 26] Operation: 58-32=26
Exploring Operation: 58+32=90, Resulting Numbers: [77, 90]
Generated Node #0,3,1: 68:[77, 90] Operation: 58+32=90
Exploring Operation: 77+32=109, Resulting Numbers: [58, 109]
Generated Node #0,3,2: 68:[58, 109] Operation: 77+32=109
Exploring Operation: 77-32=45, Resulting Numbers: [58, 45]
Generated Node #0,3,3: 68:[58, 45] Operation: 77-32=45
Exploring Operation: 77-58=19, Resulting Numbers: [32, 19]
Generated Node #0,3,4: 68:[32, 19] Operation: 77-58=19
Moving to Node #0,2
Current State: 68:[58, 50, 5], Operations: ['82-77=5']
Exploring Operation: 50+5=55, Resulting Numbers: [58, 55]
Generated Node #0,2,0: 68:[58, 55] Operation: 50+5=55
Exploring Operation: 50/5=10, Resulting Numbers: [58, 10]
Generated Node #0,2,1: 68:[58, 10] Operation: 50/5=10
Exploring Operation: 58+5=63, Resulting Numbers: [50, 63]
Generated Node #0,2,2: 68:[50, 63] Operation: 58+5=63
Exploring Operation: 50-5=45, Resulting Numbers: [58, 45]
Generated Node #0,2,3: 68:[58, 45] Operation: 50-5=45
Exploring Operation: 58-50=8, Resulting Numbers: [5, 8]
Generated Node #0,2,4: 68:[5, 8] Operation: 58-50=8
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 68:[5, 8], Operations: ['82-77=5', '58-50=8']
Exploring Operation: 5+8=13, Resulting Numbers: [13]
13,68 unequal: No Solution
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,68 unequal: No Solution
Exploring Operation: 5*8=40, Resulting Numbers: [40]
40,68 unequal: No Solution
No 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: 68:[58, 10], Operations: ['82-77=5', '50/5=10']
Exploring Operation: 58*10=580, Resulting Numbers: [580]
580,68 unequal: No Solution
Exploring Operation: 58-10=48, Resulting Numbers: [48]
48,68 unequal: No Solution
Exploring Operation: 58+10=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[58, 77, 82, 50], Operations: []
Exploring Operation: 82-77=5, Resulting Numbers: [58, 50, 5]
Generated Node #0,2: 68:[58, 50, 5] Operation: 82-77=5
Moving to Node #0,2
Current State: 68:[58, 50, 5], Operations: ['82-77=5']
Exploring Operation: 50/5=10, Resulting Numbers: [58, 10]
Generated Node #0,2,1: 68:[58, 10] Operation: 50/5=10
Moving to Node #0,2,1
Current State: 68:[58, 10], Operations: ['82-77=5', '50/5=10']
Exploring Operation: 58+10=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_5 | sum_heuristic |
[
96,
6,
85,
34
] | 81 | [
"6*85=510",
"510/34=15",
"96-15=81"
] | Current State: 81:[96, 6, 85, 34], Operations: []
Exploring Operation: 6*85=510, Resulting Numbers: [96, 34, 510]
Generated Node #2: [96, 34, 510] from Operation: 6*85=510
Current State: 81:[96, 34, 510], Operations: ['6*85=510']
Exploring Operation: 510/34=15, Resulting Numbers: [96, 15]
Generated Node #3: [96, 15] from Operation: 510/34=15
Current State: 81:[96, 15], Operations: ['6*85=510', '510/34=15']
Exploring Operation: 96-15=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[96, 6, 85, 34], Operations: []
Exploring Operation: 96-6=90, Resulting Numbers: [85, 34, 90]
Generated Node #0,0: 81:[85, 34, 90] Operation: 96-6=90
Exploring Operation: 96-85=11, Resulting Numbers: [6, 34, 11]
Generated Node #0,1: 81:[6, 34, 11] Operation: 96-85=11
Exploring Operation: 96/6=16, Resulting Numbers: [85, 34, 16]
Generated Node #0,2: 81:[85, 34, 16] Operation: 96/6=16
Start Sub Search at level 1: Moving to Node #0,1
Current State: 81:[6, 34, 11], Operations: ['96-85=11']
Exploring Operation: 34-11=23, Resulting Numbers: [6, 23]
Generated Node #0,1,0: 81:[6, 23] Operation: 34-11=23
Exploring Operation: 11-6=5, Resulting Numbers: [34, 5]
Generated Node #0,1,1: 81:[34, 5] Operation: 11-6=5
Exploring Operation: 34-6=28, Resulting Numbers: [11, 28]
Generated Node #0,1,2: 81:[11, 28] Operation: 34-6=28
Moving to Node #0,1,2
Current State: 81:[11, 28], Operations: ['96-85=11', '34-6=28']
Exploring Operation: 28-11=17, Resulting Numbers: [17]
17,81 unequal: No Solution
Exploring Operation: 11*28=308, Resulting Numbers: [308]
308,81 unequal: No Solution
Exploring Operation: 11+28=39, Resulting Numbers: [39]
39,81 unequal: No Solution
Moving to Node #0,1,0
Current State: 81:[6, 23], Operations: ['96-85=11', '34-11=23']
Exploring Operation: 6*23=138, Resulting Numbers: [138]
138,81 unequal: No Solution
Exploring Operation: 6+23=29, Resulting Numbers: [29]
29,81 unequal: No Solution
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,81 unequal: No Solution
Moving to Node #0,1,1
Current State: 81:[34, 5], Operations: ['96-85=11', '11-6=5']
Exploring Operation: 34-5=29, Resulting Numbers: [29]
29,81 unequal: No Solution
Exploring Operation: 34+5=39, Resulting Numbers: [39]
39,81 unequal: No Solution
Exploring Operation: 34*5=170, Resulting Numbers: [170]
170,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 81:[85, 34, 16], Operations: ['96/6=16']
Exploring Operation: 85+16=101, Resulting Numbers: [34, 101]
Generated Node #0,2,0: 81:[34, 101] Operation: 85+16=101
Exploring Operation: 85-16=69, Resulting Numbers: [34, 69]
Generated Node #0,2,1: 81:[34, 69] Operation: 85-16=69
Exploring Operation: 34-16=18, Resulting Numbers: [85, 18]
Generated Node #0,2,2: 81:[85, 18] Operation: 34-16=18
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 81:[85, 18], Operations: ['96/6=16', '34-16=18']
Exploring Operation: 85-18=67, Resulting Numbers: [67]
67,81 unequal: No Solution
Exploring Operation: 85*18=1530, Resulting Numbers: [1530]
1530,81 unequal: No Solution
Exploring Operation: 85+18=103, Resulting Numbers: [103]
103,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 81:[34, 69], Operations: ['96/6=16', '85-16=69']
Exploring Operation: 34+69=103, Resulting Numbers: [103]
103,81 unequal: No Solution
Exploring Operation: 34*69=2346, Resulting Numbers: [2346]
2346,81 unequal: No Solution
Exploring Operation: 69-34=35, Resulting Numbers: [35]
35,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 81:[34, 101], Operations: ['96/6=16', '85+16=101']
Exploring Operation: 34*101=3434, Resulting Numbers: [3434]
3434,81 unequal: No Solution
Exploring Operation: 101-34=67, Resulting Numbers: [67]
67,81 unequal: No Solution
Exploring Operation: 34+101=135, Resulting Numbers: [135]
135,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[85, 34, 90], Operations: ['96-6=90']
Exploring Operation: 90-34=56, Resulting Numbers: [85, 56]
Generated Node #0,0,0: 81:[85, 56] Operation: 90-34=56
Exploring Operation: 90-85=5, Resulting Numbers: [34, 5]
Generated Node #0,0,1: 81:[34, 5] Operation: 90-85=5
Exploring Operation: 85-34=51, Resulting Numbers: [90, 51]
Generated Node #0,0,2: 81:[90, 51] Operation: 85-34=51
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 81:[34, 5], Operations: ['96-6=90', '90-85=5']
Exploring Operation: 34+5=39, Resulting Numbers: [39]
39,81 unequal: No Solution
Exploring Operation: 34-5=29, Resulting Numbers: [29]
29,81 unequal: No Solution
Exploring Operation: 34*5=170, Resulting Numbers: [170]
170,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 81:[85, 56], Operations: ['96-6=90', '90-34=56']
Exploring Operation: 85*56=4760, Resulting Numbers: [4760]
4760,81 unequal: No Solution
Exploring Operation: 85+56=141, Resulting Numbers: [141]
141,81 unequal: No Solution
Exploring Operation: 85-56=29, Resulting Numbers: [29]
29,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 81:[90, 51], Operations: ['96-6=90', '85-34=51']
Exploring Operation: 90-51=39, Resulting Numbers: [39]
39,81 unequal: No Solution
Exploring Operation: 90*51=4590, Resulting Numbers: [4590]
4590,81 unequal: No Solution
Exploring Operation: 90+51=141, Resulting Numbers: [141]
141,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
78,
44,
18,
56
] | 36 | [
"78-56=22",
"44*18=792",
"792/22=36"
] | Current State: 36:[78, 44, 18, 56], Operations: []
Exploring Operation: 78-56=22, Resulting Numbers: [44, 18, 22]
Generated Node #2: [44, 18, 22] from Operation: 78-56=22
Current State: 36:[44, 18, 22], Operations: ['78-56=22']
Exploring Operation: 44*18=792, Resulting Numbers: [22, 792]
Generated Node #3: [22, 792] from Operation: 44*18=792
Current State: 36:[22, 792], Operations: ['78-56=22', '44*18=792']
Exploring Operation: 792/22=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[78, 44, 18, 56], Operations: []
Exploring Operation: 78-44=34, Resulting Numbers: [18, 56, 34]
Generated Node #0,0: 36:[18, 56, 34] Operation: 78-44=34
Exploring Operation: 78-56=22, Resulting Numbers: [44, 18, 22]
Generated Node #0,1: 36:[44, 18, 22] Operation: 78-56=22
Exploring Operation: 56-44=12, Resulting Numbers: [78, 18, 12]
Generated Node #0,2: 36:[78, 18, 12] Operation: 56-44=12
Moving to Node #0,1
Current State: 36:[44, 18, 22], Operations: ['78-56=22']
Exploring Operation: 22-18=4, Resulting Numbers: [44, 4]
Generated Node #0,1,0: 36:[44, 4] Operation: 22-18=4
Exploring Operation: 44-22=22, Resulting Numbers: [18, 22]
Generated Node #0,1,1: 36:[18, 22] Operation: 44-22=22
Exploring Operation: 44/22=2, Resulting Numbers: [18, 2]
Generated Node #0,1,2: 36:[18, 2] Operation: 44/22=2
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 36:[18, 2], Operations: ['78-56=22', '44/22=2']
Exploring Operation: 18*2=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[78, 44, 18, 56], Operations: []
Exploring Operation: 78-56=22, Resulting Numbers: [44, 18, 22]
Generated Node #0,1: 36:[44, 18, 22] Operation: 78-56=22
Moving to Node #0,1
Current State: 36:[44, 18, 22], Operations: ['78-56=22']
Exploring Operation: 44/22=2, Resulting Numbers: [18, 2]
Generated Node #0,1,2: 36:[18, 2] Operation: 44/22=2
Moving to Node #0,1,2
Current State: 36:[18, 2], Operations: ['78-56=22', '44/22=2']
Exploring Operation: 18*2=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
44,
31,
46,
23
] | 11 | [
"44-31=13",
"46/23=2",
"13-2=11"
] | Current State: 11:[44, 31, 46, 23], Operations: []
Exploring Operation: 44-31=13, Resulting Numbers: [46, 23, 13]
Generated Node #2: [46, 23, 13] from Operation: 44-31=13
Current State: 11:[46, 23, 13], Operations: ['44-31=13']
Exploring Operation: 46/23=2, Resulting Numbers: [13, 2]
Generated Node #3: [13, 2] from Operation: 46/23=2
Current State: 11:[13, 2], Operations: ['44-31=13', '46/23=2']
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[44, 31, 46, 23], Operations: []
Exploring Operation: 44-31=13, Resulting Numbers: [46, 23, 13]
Generated Node #0,0: 11:[46, 23, 13] Operation: 44-31=13
Exploring Operation: 46-44=2, Resulting Numbers: [31, 23, 2]
Generated Node #0,1: 11:[31, 23, 2] Operation: 46-44=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 11:[31, 23, 2], Operations: ['46-44=2']
Exploring Operation: 31-2=29, Resulting Numbers: [23, 29]
Generated Node #0,1,0: 11:[23, 29] Operation: 31-2=29
Exploring Operation: 31-23=8, Resulting Numbers: [2, 8]
Generated Node #0,1,1: 11:[2, 8] Operation: 31-23=8
Moving to Node #0,1,1
Current State: 11:[2, 8], Operations: ['46-44=2', '31-23=8']
Exploring Operation: 2*8=16, Resulting Numbers: [16]
16,11 unequal: No Solution
Exploring Operation: 2+8=10, Resulting Numbers: [10]
10,11 unequal: No Solution
Moving to Node #0,1,0
Current State: 11:[23, 29], Operations: ['46-44=2', '31-2=29']
Exploring Operation: 29-23=6, Resulting Numbers: [6]
6,11 unequal: No Solution
Exploring Operation: 23+29=52, Resulting Numbers: [52]
52,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,0
Current State: 11:[46, 23, 13], Operations: ['44-31=13']
Exploring Operation: 46/23=2, Resulting Numbers: [13, 2]
Generated Node #0,0,0: 11:[13, 2] Operation: 46/23=2
Exploring Operation: 46-23=23, Resulting Numbers: [13, 23]
Generated Node #0,0,1: 11:[13, 23] Operation: 46-23=23
Moving to Node #0,0,0
Current State: 11:[13, 2], Operations: ['44-31=13', '46/23=2']
Exploring Operation: 13+2=15, Resulting Numbers: [15]
15,11 unequal: No Solution
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[44, 31, 46, 23], Operations: []
Exploring Operation: 44-31=13, Resulting Numbers: [46, 23, 13]
Generated Node #0,0: 11:[46, 23, 13] Operation: 44-31=13
Moving to Node #0,0
Current State: 11:[46, 23, 13], Operations: ['44-31=13']
Exploring Operation: 46/23=2, Resulting Numbers: [13, 2]
Generated Node #0,0,0: 11:[13, 2] Operation: 46/23=2
Moving to Node #0,0,0
Current State: 11:[13, 2], Operations: ['44-31=13', '46/23=2']
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_2 | sum_heuristic |
[
92,
72,
54,
36
] | 42 | [
"92-36=56",
"54*56=3024",
"3024/72=42"
] | Current State: 42:[92, 72, 54, 36], Operations: []
Exploring Operation: 92-36=56, Resulting Numbers: [72, 54, 56]
Generated Node #2: [72, 54, 56] from Operation: 92-36=56
Current State: 42:[72, 54, 56], Operations: ['92-36=56']
Exploring Operation: 54*56=3024, Resulting Numbers: [72, 3024]
Generated Node #3: [72, 3024] from Operation: 54*56=3024
Current State: 42:[72, 3024], Operations: ['92-36=56', '54*56=3024']
Exploring Operation: 3024/72=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[92, 72, 54, 36], Operations: []
Exploring Operation: 92-36=56, Resulting Numbers: [72, 54, 56]
Generated Node #0,0: 42:[72, 54, 56] Operation: 92-36=56
Exploring Operation: 92-72=20, Resulting Numbers: [54, 36, 20]
Generated Node #0,1: 42:[54, 36, 20] Operation: 92-72=20
Exploring Operation: 92-54=38, Resulting Numbers: [72, 36, 38]
Generated Node #0,2: 42:[72, 36, 38] Operation: 92-54=38
Moving to Node #0,1
Current State: 42:[54, 36, 20], Operations: ['92-72=20']
Exploring Operation: 54-20=34, Resulting Numbers: [36, 34]
Generated Node #0,1,0: 42:[36, 34] Operation: 54-20=34
Exploring Operation: 36-20=16, Resulting Numbers: [54, 16]
Generated Node #0,1,1: 42:[54, 16] Operation: 36-20=16
Exploring Operation: 54-36=18, Resulting Numbers: [20, 18]
Generated Node #0,1,2: 42:[20, 18] Operation: 54-36=18
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 42:[20, 18], Operations: ['92-72=20', '54-36=18']
Exploring Operation: 20*18=360, Resulting Numbers: [360]
360,42 unequal: No Solution
Exploring Operation: 20+18=38, Resulting Numbers: [38]
38,42 unequal: No Solution
Exploring Operation: 20-18=2, Resulting Numbers: [2]
2,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 42:[36, 34], Operations: ['92-72=20', '54-20=34']
Exploring Operation: 36*34=1224, Resulting Numbers: [1224]
1224,42 unequal: No Solution
Exploring Operation: 36-34=2, Resulting Numbers: [2]
2,42 unequal: No Solution
Exploring Operation: 36+34=70, Resulting Numbers: [70]
70,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 42:[54, 16], Operations: ['92-72=20', '36-20=16']
Exploring Operation: 54*16=864, Resulting Numbers: [864]
864,42 unequal: No Solution
Exploring Operation: 54+16=70, Resulting Numbers: [70]
70,42 unequal: No Solution
Exploring Operation: 54-16=38, Resulting Numbers: [38]
38,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 42:[72, 36, 38], Operations: ['92-54=38']
Exploring Operation: 72/36=2, Resulting Numbers: [38, 2]
Generated Node #0,2,0: 42:[38, 2] Operation: 72/36=2
Exploring Operation: 72-36=36, Resulting Numbers: [38, 36]
Generated Node #0,2,1: 42:[38, 36] Operation: 72-36=36
Exploring Operation: 72-38=34, Resulting Numbers: [36, 34]
Generated Node #0,2,2: 42:[36, 34] Operation: 72-38=34
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 42:[38, 2], Operations: ['92-54=38', '72/36=2']
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,42 unequal: No Solution
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,42 unequal: No Solution
Exploring Operation: 38+2=40, Resulting Numbers: [40]
40,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 42:[38, 36], Operations: ['92-54=38', '72-36=36']
Exploring Operation: 38+36=74, Resulting Numbers: [74]
74,42 unequal: No Solution
Exploring Operation: 38-36=2, Resulting Numbers: [2]
2,42 unequal: No Solution
Exploring Operation: 38*36=1368, Resulting Numbers: [1368]
1368,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 42:[36, 34], Operations: ['92-54=38', '72-38=34']
Exploring Operation: 36-34=2, Resulting Numbers: [2]
2,42 unequal: No Solution
Exploring Operation: 36*34=1224, Resulting Numbers: [1224]
1224,42 unequal: No Solution
Exploring Operation: 36+34=70, Resulting Numbers: [70]
70,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 42:[72, 54, 56], Operations: ['92-36=56']
Exploring Operation: 56-54=2, Resulting Numbers: [72, 2]
Generated Node #0,0,0: 42:[72, 2] Operation: 56-54=2
Exploring Operation: 72-56=16, Resulting Numbers: [54, 16]
Generated Node #0,0,1: 42:[54, 16] Operation: 72-56=16
Exploring Operation: 72-54=18, Resulting Numbers: [56, 18]
Generated Node #0,0,2: 42:[56, 18] Operation: 72-54=18
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 42:[54, 16], Operations: ['92-36=56', '72-56=16']
Exploring Operation: 54-16=38, Resulting Numbers: [38]
38,42 unequal: No Solution
Exploring Operation: 54*16=864, Resulting Numbers: [864]
864,42 unequal: No Solution
Exploring Operation: 54+16=70, Resulting Numbers: [70]
70,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 42:[56, 18], Operations: ['92-36=56', '72-54=18']
Exploring Operation: 56+18=74, Resulting Numbers: [74]
74,42 unequal: No Solution
Exploring Operation: 56*18=1008, Resulting Numbers: [1008]
1008,42 unequal: No Solution
Exploring Operation: 56-18=38, Resulting Numbers: [38]
38,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 42:[72, 2], Operations: ['92-36=56', '56-54=2']
Exploring Operation: 72+2=74, Resulting Numbers: [74]
74,42 unequal: No Solution
Exploring Operation: 72/2=36, Resulting Numbers: [36]
36,42 unequal: No Solution
Exploring Operation: 72-2=70, Resulting Numbers: [70]
70,42 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 |
[
20,
8,
10,
34
] | 46 | [
"20-10=10",
"8*10=80",
"80-34=46"
] | Current State: 46:[20, 8, 10, 34], Operations: []
Exploring Operation: 20-10=10, Resulting Numbers: [8, 34, 10]
Generated Node #2: [8, 34, 10] from Operation: 20-10=10
Current State: 46:[8, 34, 10], Operations: ['20-10=10']
Exploring Operation: 8*10=80, Resulting Numbers: [34, 80]
Generated Node #3: [34, 80] from Operation: 8*10=80
Current State: 46:[34, 80], Operations: ['20-10=10', '8*10=80']
Exploring Operation: 80-34=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[20, 8, 10, 34], Operations: []
Exploring Operation: 34-10=24, Resulting Numbers: [20, 8, 24]
Generated Node #0,0: 46:[20, 8, 24] Operation: 34-10=24
Exploring Operation: 10+34=44, Resulting Numbers: [20, 8, 44]
Generated Node #0,1: 46:[20, 8, 44] Operation: 10+34=44
Moving to Node #0,0
Current State: 46:[20, 8, 24], Operations: ['34-10=24']
Exploring Operation: 24/8=3, Resulting Numbers: [20, 3]
Generated Node #0,0,0: 46:[20, 3] Operation: 24/8=3
Exploring Operation: 20+8=28, Resulting Numbers: [24, 28]
Generated Node #0,0,1: 46:[24, 28] Operation: 20+8=28
Moving to Node #0,1
Current State: 46:[20, 8, 44], Operations: ['10+34=44']
Exploring Operation: 20+8=28, Resulting Numbers: [44, 28]
Generated Node #0,1,0: 46:[44, 28] Operation: 20+8=28
Exploring Operation: 44-20=24, Resulting Numbers: [8, 24]
Generated Node #0,1,1: 46:[8, 24] Operation: 44-20=24
Moving to Node #0,0,0
Current State: 46:[20, 3], Operations: ['34-10=24', '24/8=3']
Exploring Operation: 20-3=17, Resulting Numbers: [17]
17,46 unequal: No Solution
Exploring Operation: 20+3=23, Resulting Numbers: [23]
23,46 unequal: No Solution
Moving to Node #0,0,1
Current State: 46:[24, 28], Operations: ['34-10=24', '20+8=28']
Exploring Operation: 28-24=4, Resulting Numbers: [4]
4,46 unequal: No Solution
Exploring Operation: 24+28=52, Resulting Numbers: [52]
52,46 unequal: No Solution
Moving to Node #0,1,1
Current State: 46:[8, 24], Operations: ['10+34=44', '44-20=24']
Exploring Operation: 24-8=16, Resulting Numbers: [16]
16,46 unequal: No Solution
Exploring Operation: 24/8=3, Resulting Numbers: [3]
3,46 unequal: No Solution
Moving to Node #0,1,0
Current State: 46:[44, 28], Operations: ['10+34=44', '20+8=28']
Exploring Operation: 44+28=72, Resulting Numbers: [72]
72,46 unequal: No Solution
Exploring Operation: 44-28=16, Resulting Numbers: [16]
16,46 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
50,
27,
4,
56
] | 37 | [
"50-27=23",
"4+56=60",
"60-23=37"
] | Current State: 37:[50, 27, 4, 56], Operations: []
Exploring Operation: 50-27=23, Resulting Numbers: [4, 56, 23]
Generated Node #2: [4, 56, 23] from Operation: 50-27=23
Current State: 37:[4, 56, 23], Operations: ['50-27=23']
Exploring Operation: 4+56=60, Resulting Numbers: [23, 60]
Generated Node #3: [23, 60] from Operation: 4+56=60
Current State: 37:[23, 60], Operations: ['50-27=23', '4+56=60']
Exploring Operation: 60-23=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[50, 27, 4, 56], Operations: []
Exploring Operation: 50-4=46, Resulting Numbers: [27, 56, 46]
Generated Node #0,0: 37:[27, 56, 46] Operation: 50-4=46
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[27, 56, 46], Operations: ['50-4=46']
Exploring Operation: 56-27=29, Resulting Numbers: [46, 29]
Generated Node #0,0,0: 37:[46, 29] Operation: 56-27=29
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 37:[46, 29], Operations: ['50-4=46', '56-27=29']
Exploring Operation: 46-29=17, Resulting Numbers: [17]
17,37 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 |
[
62,
73,
45,
88
] | 53 | [
"73-62=11",
"88/11=8",
"45+8=53"
] | Current State: 53:[62, 73, 45, 88], Operations: []
Exploring Operation: 73-62=11, Resulting Numbers: [45, 88, 11]
Generated Node #2: [45, 88, 11] from Operation: 73-62=11
Current State: 53:[45, 88, 11], Operations: ['73-62=11']
Exploring Operation: 88/11=8, Resulting Numbers: [45, 8]
Generated Node #3: [45, 8] from Operation: 88/11=8
Current State: 53:[45, 8], Operations: ['73-62=11', '88/11=8']
Exploring Operation: 45+8=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[62, 73, 45, 88], Operations: []
Exploring Operation: 88-45=43, Resulting Numbers: [62, 73, 43]
Generated Node #0,0: 53:[62, 73, 43] Operation: 88-45=43
Exploring Operation: 73-45=28, Resulting Numbers: [62, 88, 28]
Generated Node #0,1: 53:[62, 88, 28] Operation: 73-45=28
Exploring Operation: 88-62=26, Resulting Numbers: [73, 45, 26]
Generated Node #0,2: 53:[73, 45, 26] Operation: 88-62=26
Exploring Operation: 88-73=15, Resulting Numbers: [62, 45, 15]
Generated Node #0,3: 53:[62, 45, 15] Operation: 88-73=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[62, 73, 43], Operations: ['88-45=43']
Exploring Operation: 62+43=105, Resulting Numbers: [73, 105]
Generated Node #0,0,0: 53:[73, 105] Operation: 62+43=105
Exploring Operation: 73-62=11, Resulting Numbers: [43, 11]
Generated Node #0,0,1: 53:[43, 11] Operation: 73-62=11
Exploring Operation: 62-43=19, Resulting Numbers: [73, 19]
Generated Node #0,0,2: 53:[73, 19] Operation: 62-43=19
Exploring Operation: 73-43=30, Resulting Numbers: [62, 30]
Generated Node #0,0,3: 53:[62, 30] Operation: 73-43=30
Moving to Node #0,0,3
Current State: 53:[62, 30], Operations: ['88-45=43', '73-43=30']
Exploring Operation: 62-30=32, Resulting Numbers: [32]
32,53 unequal: No Solution
Exploring Operation: 62*30=1860, Resulting Numbers: [1860]
1860,53 unequal: No Solution
Exploring Operation: 62+30=92, Resulting Numbers: [92]
92,53 unequal: No Solution
Moving to Node #0,0,1
Current State: 53:[43, 11], Operations: ['88-45=43', '73-62=11']
Exploring Operation: 43*11=473, Resulting Numbers: [473]
473,53 unequal: No Solution
Exploring Operation: 43-11=32, Resulting Numbers: [32]
32,53 unequal: No Solution
Exploring Operation: 43+11=54, Resulting Numbers: [54]
54,53 unequal: No Solution
Moving to Node #0,0,2
Current State: 53:[73, 19], Operations: ['88-45=43', '62-43=19']
Exploring Operation: 73*19=1387, Resulting Numbers: [1387]
1387,53 unequal: No Solution
Exploring Operation: 73-19=54, Resulting Numbers: [54]
54,53 unequal: No Solution
Exploring Operation: 73+19=92, Resulting Numbers: [92]
92,53 unequal: No Solution
Moving to Node #0,0,0
Current State: 53:[73, 105], Operations: ['88-45=43', '62+43=105']
Exploring Operation: 73+105=178, Resulting Numbers: [178]
178,53 unequal: No Solution
Exploring Operation: 73*105=7665, Resulting Numbers: [7665]
7665,53 unequal: No Solution
Exploring Operation: 105-73=32, Resulting Numbers: [32]
32,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,2
Current State: 53:[73, 45, 26], Operations: ['88-62=26']
Exploring Operation: 45+26=71, Resulting Numbers: [73, 71]
Generated Node #0,2,0: 53:[73, 71] Operation: 45+26=71
Exploring Operation: 73-26=47, Resulting Numbers: [45, 47]
Generated Node #0,2,1: 53:[45, 47] Operation: 73-26=47
Exploring Operation: 73-45=28, Resulting Numbers: [26, 28]
Generated Node #0,2,2: 53:[26, 28] Operation: 73-45=28
Exploring Operation: 73+26=99, Resulting Numbers: [45, 99]
Generated Node #0,2,3: 53:[45, 99] Operation: 73+26=99
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 53:[45, 47], Operations: ['88-62=26', '73-26=47']
Exploring Operation: 45+47=92, Resulting Numbers: [92]
92,53 unequal: No Solution
Exploring Operation: 47-45=2, Resulting Numbers: [2]
2,53 unequal: No Solution
Exploring Operation: 45*47=2115, Resulting Numbers: [2115]
2115,53 unequal: No Solution
No 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: 53:[73, 71], Operations: ['88-62=26', '45+26=71']
Exploring Operation: 73+71=144, Resulting Numbers: [144]
144,53 unequal: No Solution
Exploring Operation: 73-71=2, Resulting Numbers: [2]
2,53 unequal: No Solution
Exploring Operation: 73*71=5183, Resulting Numbers: [5183]
5183,53 unequal: No Solution
No 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: 53:[26, 28], Operations: ['88-62=26', '73-45=28']
Exploring Operation: 26*28=728, Resulting Numbers: [728]
728,53 unequal: No Solution
Exploring Operation: 26+28=54, Resulting Numbers: [54]
54,53 unequal: No Solution
Exploring Operation: 28-26=2, Resulting Numbers: [2]
2,53 unequal: No Solution
No 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: 53:[45, 99], Operations: ['88-62=26', '73+26=99']
Exploring Operation: 99-45=54, Resulting Numbers: [54]
54,53 unequal: No Solution
Exploring Operation: 45*99=4455, Resulting Numbers: [4455]
4455,53 unequal: No Solution
Exploring Operation: 45+99=144, Resulting Numbers: [144]
144,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 53:[62, 45, 15], Operations: ['88-73=15']
Exploring Operation: 62-15=47, Resulting Numbers: [45, 47]
Generated Node #0,3,0: 53:[45, 47] Operation: 62-15=47
Exploring Operation: 45-15=30, Resulting Numbers: [62, 30]
Generated Node #0,3,1: 53:[62, 30] Operation: 45-15=30
Exploring Operation: 45+15=60, Resulting Numbers: [62, 60]
Generated Node #0,3,2: 53:[62, 60] Operation: 45+15=60
Exploring Operation: 62+15=77, Resulting Numbers: [45, 77]
Generated Node #0,3,3: 53:[45, 77] Operation: 62+15=77
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 53:[45, 47], Operations: ['88-73=15', '62-15=47']
Exploring Operation: 47-45=2, Resulting Numbers: [2]
2,53 unequal: No Solution
Exploring Operation: 45+47=92, Resulting Numbers: [92]
92,53 unequal: No Solution
Exploring Operation: 45*47=2115, Resulting Numbers: [2115]
2115,53 unequal: No Solution
No 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: 53:[62, 60], Operations: ['88-73=15', '45+15=60']
Exploring Operation: 62*60=3720, Resulting Numbers: [3720]
3720,53 unequal: No Solution
Exploring Operation: 62-60=2, Resulting Numbers: [2]
2,53 unequal: No Solution
Exploring Operation: 62+60=122, Resulting Numbers: [122]
122,53 unequal: No Solution
No 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: 53:[62, 30], Operations: ['88-73=15', '45-15=30']
Exploring Operation: 62*30=1860, Resulting Numbers: [1860]
1860,53 unequal: No Solution
Exploring Operation: 62-30=32, Resulting Numbers: [32]
32,53 unequal: No Solution
Exploring Operation: 62+30=92, Resulting Numbers: [92]
92,53 unequal: No Solution
No 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: 53:[45, 77], Operations: ['88-73=15', '62+15=77']
Exploring Operation: 45*77=3465, Resulting Numbers: [3465]
3465,53 unequal: No Solution
Exploring Operation: 45+77=122, Resulting Numbers: [122]
122,53 unequal: No Solution
Exploring Operation: 77-45=32, Resulting Numbers: [32]
32,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 53:[62, 88, 28], Operations: ['73-45=28']
Exploring Operation: 62-28=34, Resulting Numbers: [88, 34]
Generated Node #0,1,0: 53:[88, 34] Operation: 62-28=34
Exploring Operation: 88-62=26, Resulting Numbers: [28, 26]
Generated Node #0,1,1: 53:[28, 26] Operation: 88-62=26
Exploring Operation: 88-28=60, Resulting Numbers: [62, 60]
Generated Node #0,1,2: 53:[62, 60] Operation: 88-28=60
Exploring Operation: 62+28=90, Resulting Numbers: [88, 90]
Generated Node #0,1,3: 53:[88, 90] Operation: 62+28=90
Moving to Node #0,1,2
Current State: 53:[62, 60], Operations: ['73-45=28', '88-28=60']
Exploring Operation: 62+60=122, Resulting Numbers: [122]
122,53 unequal: No Solution
Exploring Operation: 62-60=2, Resulting Numbers: [2]
2,53 unequal: No Solution
Exploring Operation: 62*60=3720, Resulting Numbers: [3720]
3720,53 unequal: No Solution
Moving to Node #0,1,1
Current State: 53:[28, 26], Operations: ['73-45=28', '88-62=26']
Exploring Operation: 28*26=728, Resulting Numbers: [728]
728,53 unequal: No Solution
Exploring Operation: 28-26=2, Resulting Numbers: [2]
2,53 unequal: No Solution
Exploring Operation: 28+26=54, Resulting Numbers: [54]
54,53 unequal: No Solution
Moving to Node #0,1,0
Current State: 53:[88, 34], Operations: ['73-45=28', '62-28=34']
Exploring Operation: 88-34=54, Resulting Numbers: [54]
54,53 unequal: No Solution
Exploring Operation: 88*34=2992, Resulting Numbers: [2992]
2992,53 unequal: No Solution
Exploring Operation: 88+34=122, Resulting Numbers: [122]
122,53 unequal: No Solution
Moving to Node #0,1,3
Current State: 53:[88, 90], Operations: ['73-45=28', '62+28=90']
Exploring Operation: 90-88=2, Resulting Numbers: [2]
2,53 unequal: No Solution
Exploring Operation: 88*90=7920, Resulting Numbers: [7920]
7920,53 unequal: No Solution
Exploring Operation: 88+90=178, Resulting Numbers: [178]
178,53 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 |
[
3,
96,
57,
61
] | 16 | [
"57/3=19",
"96-61=35",
"35-19=16"
] | Current State: 16:[3, 96, 57, 61], Operations: []
Exploring Operation: 57/3=19, Resulting Numbers: [96, 61, 19]
Generated Node #2: [96, 61, 19] from Operation: 57/3=19
Current State: 16:[96, 61, 19], Operations: ['57/3=19']
Exploring Operation: 96-61=35, Resulting Numbers: [19, 35]
Generated Node #3: [19, 35] from Operation: 96-61=35
Current State: 16:[19, 35], Operations: ['57/3=19', '96-61=35']
Exploring Operation: 35-19=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[3, 96, 57, 61], Operations: []
Exploring Operation: 96-61=35, Resulting Numbers: [3, 57, 35]
Generated Node #0,0: 16:[3, 57, 35] Operation: 96-61=35
Exploring Operation: 96/3=32, Resulting Numbers: [57, 61, 32]
Generated Node #0,1: 16:[57, 61, 32] Operation: 96/3=32
Exploring Operation: 61-57=4, Resulting Numbers: [3, 96, 4]
Generated Node #0,2: 16:[3, 96, 4] Operation: 61-57=4
Exploring Operation: 96-57=39, Resulting Numbers: [3, 61, 39]
Generated Node #0,3: 16:[3, 61, 39] Operation: 96-57=39
Start Sub Search at level 1: Moving to Node #0,0
Current State: 16:[3, 57, 35], Operations: ['96-61=35']
Exploring Operation: 57/3=19, Resulting Numbers: [35, 19]
Generated Node #0,0,0: 16:[35, 19] Operation: 57/3=19
Exploring Operation: 57-3=54, Resulting Numbers: [35, 54]
Generated Node #0,0,1: 16:[35, 54] Operation: 57-3=54
Exploring Operation: 35-3=32, Resulting Numbers: [57, 32]
Generated Node #0,0,2: 16:[57, 32] Operation: 35-3=32
Exploring Operation: 57-35=22, Resulting Numbers: [3, 22]
Generated Node #0,0,3: 16:[3, 22] Operation: 57-35=22
Moving to Node #0,0,3
Current State: 16:[3, 22], Operations: ['96-61=35', '57-35=22']
Exploring Operation: 3+22=25, Resulting Numbers: [25]
25,16 unequal: No Solution
Exploring Operation: 3*22=66, Resulting Numbers: [66]
66,16 unequal: No Solution
Exploring Operation: 22-3=19, Resulting Numbers: [19]
19,16 unequal: No Solution
Moving to Node #0,0,0
Current State: 16:[35, 19], Operations: ['96-61=35', '57/3=19']
Exploring Operation: 35-19=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[3, 96, 57, 61], Operations: []
Exploring Operation: 96-61=35, Resulting Numbers: [3, 57, 35]
Generated Node #0,0: 16:[3, 57, 35] Operation: 96-61=35
Moving to Node #0,0
Current State: 16:[3, 57, 35], Operations: ['96-61=35']
Exploring Operation: 57/3=19, Resulting Numbers: [35, 19]
Generated Node #0,0,0: 16:[35, 19] Operation: 57/3=19
Moving to Node #0,0,0
Current State: 16:[35, 19], Operations: ['96-61=35', '57/3=19']
Exploring Operation: 35-19=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | sum_heuristic |
[
13,
3,
2,
93
] | 100 | [
"13+93=106",
"3*2=6",
"106-6=100"
] | Current State: 100:[13, 3, 2, 93], Operations: []
Exploring Operation: 13+93=106, Resulting Numbers: [3, 2, 106]
Generated Node #2: [3, 2, 106] from Operation: 13+93=106
Current State: 100:[3, 2, 106], Operations: ['13+93=106']
Exploring Operation: 3*2=6, Resulting Numbers: [106, 6]
Generated Node #3: [106, 6] from Operation: 3*2=6
Current State: 100:[106, 6], Operations: ['13+93=106', '3*2=6']
Exploring Operation: 106-6=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[13, 3, 2, 93], Operations: []
Exploring Operation: 13-3=10, Resulting Numbers: [2, 93, 10]
Generated Node #0,0: 100:[2, 93, 10] Operation: 13-3=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[2, 93, 10], Operations: ['13-3=10']
Exploring Operation: 93+10=103, Resulting Numbers: [2, 103]
Generated Node #0,0,0: 100:[2, 103] Operation: 93+10=103
Moving to Node #0,0,0
Current State: 100:[2, 103], Operations: ['13-3=10', '93+10=103']
Exploring Operation: 103-2=101, Resulting Numbers: [101]
101,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
24,
50,
3,
52
] | 10 | [
"24/3=8",
"52-50=2",
"8+2=10"
] | Current State: 10:[24, 50, 3, 52], Operations: []
Exploring Operation: 24/3=8, Resulting Numbers: [50, 52, 8]
Generated Node #2: [50, 52, 8] from Operation: 24/3=8
Current State: 10:[50, 52, 8], Operations: ['24/3=8']
Exploring Operation: 52-50=2, Resulting Numbers: [8, 2]
Generated Node #3: [8, 2] from Operation: 52-50=2
Current State: 10:[8, 2], Operations: ['24/3=8', '52-50=2']
Exploring Operation: 8+2=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[24, 50, 3, 52], Operations: []
Exploring Operation: 52-50=2, Resulting Numbers: [24, 3, 2]
Generated Node #0,0: 10:[24, 3, 2] Operation: 52-50=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[24, 3, 2], Operations: ['52-50=2']
Exploring Operation: 24/3=8, Resulting Numbers: [2, 8]
Generated Node #0,0,0: 10:[2, 8] Operation: 24/3=8
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 10:[2, 8], Operations: ['52-50=2', '24/3=8']
Exploring Operation: 2+8=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[24, 50, 3, 52], Operations: []
Exploring Operation: 52-50=2, Resulting Numbers: [24, 3, 2]
Generated Node #0,0: 10:[24, 3, 2] Operation: 52-50=2
Moving to Node #0,0
Current State: 10:[24, 3, 2], Operations: ['52-50=2']
Exploring Operation: 24/3=8, Resulting Numbers: [2, 8]
Generated Node #0,0,0: 10:[2, 8] Operation: 24/3=8
Moving to Node #0,0,0
Current State: 10:[2, 8], Operations: ['52-50=2', '24/3=8']
Exploring Operation: 2+8=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
63,
7,
16,
63
] | 56 | [
"63/7=9",
"63-16=47",
"9+47=56"
] | Current State: 56:[63, 7, 16, 63], Operations: []
Exploring Operation: 63/7=9, Resulting Numbers: [16, 9]
Generated Node #2: [16, 9] from Operation: 63/7=9
Current State: 56:[16, 9], Operations: ['63/7=9']
Exploring Operation: 63-16=47, Resulting Numbers: [9, 47]
Generated Node #3: [9, 47] from Operation: 63-16=47
Current State: 56:[9, 47], Operations: ['63/7=9', '63-16=47']
Exploring Operation: 9+47=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[63, 7, 16, 63], Operations: []
Exploring Operation: 63-7=56, Resulting Numbers: [16, 63, 56]
Generated Node #0,0: 56:[16, 63, 56] Operation: 63-7=56
Exploring Operation: 63-63=0, Resulting Numbers: [7, 16, 0]
Generated Node #0,1: 56:[7, 16, 0] Operation: 63-63=0
Exploring Operation: 63/63=1, Resulting Numbers: [7, 16, 1]
Generated Node #0,2: 56:[7, 16, 1] Operation: 63/63=1
Moving to Node #0,2
Current State: 56:[7, 16, 1], Operations: ['63/63=1']
Exploring Operation: 16-7=9, Resulting Numbers: [1, 9]
Generated Node #0,2,0: 56:[1, 9] Operation: 16-7=9
Exploring Operation: 16-1=15, Resulting Numbers: [7, 15]
Generated Node #0,2,1: 56:[7, 15] Operation: 16-1=15
Exploring Operation: 7+1=8, Resulting Numbers: [16, 8]
Generated Node #0,2,2: 56:[16, 8] Operation: 7+1=8
Moving to Node #0,1
Current State: 56:[7, 16, 0], Operations: ['63-63=0']
Exploring Operation: 7+0=7, Resulting Numbers: [16, 7]
Generated Node #0,1,0: 56:[16, 7] Operation: 7+0=7
Exploring Operation: 16+0=16, Resulting Numbers: [7, 16]
Generated Node #0,1,1: 56:[7, 16] Operation: 16+0=16
Exploring Operation: 7-0=7, Resulting Numbers: [16, 7]
Generated Node #0,1,2: 56:[16, 7] Operation: 7-0=7
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 56:[16, 7], Operations: ['63-63=0', '7+0=7']
Exploring Operation: 16+7=23, Resulting Numbers: [23]
23,56 unequal: No Solution
Exploring Operation: 16*7=112, Resulting Numbers: [112]
112,56 unequal: No Solution
Exploring Operation: 16-7=9, Resulting Numbers: [9]
9,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 56:[7, 16], Operations: ['63-63=0', '16+0=16']
Exploring Operation: 16-7=9, Resulting Numbers: [9]
9,56 unequal: No Solution
Exploring Operation: 7+16=23, Resulting Numbers: [23]
23,56 unequal: No Solution
Exploring Operation: 7*16=112, Resulting Numbers: [112]
112,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 56:[16, 7], Operations: ['63-63=0', '7-0=7']
Exploring Operation: 16+7=23, Resulting Numbers: [23]
23,56 unequal: No Solution
Exploring Operation: 16*7=112, Resulting Numbers: [112]
112,56 unequal: No Solution
Exploring Operation: 16-7=9, Resulting Numbers: [9]
9,56 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: 56:[16, 63, 56], Operations: ['63-7=56']
Exploring Operation: 56-16=40, Resulting Numbers: [63, 40]
Generated Node #0,0,0: 56:[63, 40] Operation: 56-16=40
Exploring Operation: 63-56=7, Resulting Numbers: [16, 7]
Generated Node #0,0,1: 56:[16, 7] Operation: 63-56=7
Exploring Operation: 63-16=47, Resulting Numbers: [56, 47]
Generated Node #0,0,2: 56:[56, 47] Operation: 63-16=47
Moving to Node #0,2,1
Current State: 56:[7, 15], Operations: ['63/63=1', '16-1=15']
Exploring Operation: 15-7=8, Resulting Numbers: [8]
8,56 unequal: No Solution
Exploring Operation: 7*15=105, Resulting Numbers: [105]
105,56 unequal: No Solution
Exploring Operation: 7+15=22, Resulting Numbers: [22]
22,56 unequal: No Solution
Moving to Node #0,2,2
Current State: 56:[16, 8], Operations: ['63/63=1', '7+1=8']
Exploring Operation: 16+8=24, Resulting Numbers: [24]
24,56 unequal: No Solution
Exploring Operation: 16-8=8, Resulting Numbers: [8]
8,56 unequal: No Solution
Exploring Operation: 16/8=2, Resulting Numbers: [2]
2,56 unequal: No Solution
Moving to Node #0,2,0
Current State: 56:[1, 9], Operations: ['63/63=1', '16-7=9']
Exploring Operation: 9-1=8, Resulting Numbers: [8]
8,56 unequal: No Solution
Exploring Operation: 9/1=9, Resulting Numbers: [9]
9,56 unequal: No Solution
Exploring Operation: 1*9=9, Resulting Numbers: [9]
9,56 unequal: No Solution
Moving to Node #0,0,1
Current State: 56:[16, 7], Operations: ['63-7=56', '63-56=7']
Exploring Operation: 16-7=9, Resulting Numbers: [9]
9,56 unequal: No Solution
Exploring Operation: 16*7=112, Resulting Numbers: [112]
112,56 unequal: No Solution
Exploring Operation: 16+7=23, Resulting Numbers: [23]
23,56 unequal: No Solution
Moving to Node #0,0,2
Current State: 56:[56, 47], Operations: ['63-7=56', '63-16=47']
Exploring Operation: 56*47=2632, Resulting Numbers: [2632]
2632,56 unequal: No Solution
Exploring Operation: 56-47=9, Resulting Numbers: [9]
9,56 unequal: No Solution
Exploring Operation: 56+47=103, Resulting Numbers: [103]
103,56 unequal: No Solution
Moving to Node #0,0,0
Current State: 56:[63, 40], Operations: ['63-7=56', '56-16=40']
Exploring Operation: 63*40=2520, Resulting Numbers: [2520]
2520,56 unequal: No Solution
Exploring Operation: 63-40=23, Resulting Numbers: [23]
23,56 unequal: No Solution
Exploring Operation: 63+40=103, Resulting Numbers: [103]
103,56 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
51,
3,
42,
70
] | 43 | [
"51-42=9",
"3*9=27",
"70-27=43"
] | Current State: 43:[51, 3, 42, 70], Operations: []
Exploring Operation: 51-42=9, Resulting Numbers: [3, 70, 9]
Generated Node #2: [3, 70, 9] from Operation: 51-42=9
Current State: 43:[3, 70, 9], Operations: ['51-42=9']
Exploring Operation: 3*9=27, Resulting Numbers: [70, 27]
Generated Node #3: [70, 27] from Operation: 3*9=27
Current State: 43:[70, 27], Operations: ['51-42=9', '3*9=27']
Exploring Operation: 70-27=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[51, 3, 42, 70], Operations: []
Exploring Operation: 70-3=67, Resulting Numbers: [51, 42, 67]
Generated Node #0,0: 43:[51, 42, 67] Operation: 70-3=67
Exploring Operation: 3+42=45, Resulting Numbers: [51, 70, 45]
Generated Node #0,1: 43:[51, 70, 45] Operation: 3+42=45
Exploring Operation: 51-3=48, Resulting Numbers: [42, 70, 48]
Generated Node #0,2: 43:[42, 70, 48] Operation: 51-3=48
Moving to Node #0,0
Current State: 43:[51, 42, 67], Operations: ['70-3=67']
Exploring Operation: 67-42=25, Resulting Numbers: [51, 25]
Generated Node #0,0,0: 43:[51, 25] Operation: 67-42=25
Exploring Operation: 51-42=9, Resulting Numbers: [67, 9]
Generated Node #0,0,1: 43:[67, 9] Operation: 51-42=9
Exploring Operation: 67-51=16, Resulting Numbers: [42, 16]
Generated Node #0,0,2: 43:[42, 16] Operation: 67-51=16
Moving to Node #0,2
Current State: 43:[42, 70, 48], Operations: ['51-3=48']
Exploring Operation: 70-48=22, Resulting Numbers: [42, 22]
Generated Node #0,2,0: 43:[42, 22] Operation: 70-48=22
Exploring Operation: 70-42=28, Resulting Numbers: [48, 28]
Generated Node #0,2,1: 43:[48, 28] Operation: 70-42=28
Exploring Operation: 48-42=6, Resulting Numbers: [70, 6]
Generated Node #0,2,2: 43:[70, 6] Operation: 48-42=6
Moving to Node #0,1
Current State: 43:[51, 70, 45], Operations: ['3+42=45']
Exploring Operation: 70-51=19, Resulting Numbers: [45, 19]
Generated Node #0,1,0: 43:[45, 19] Operation: 70-51=19
Exploring Operation: 51-45=6, Resulting Numbers: [70, 6]
Generated Node #0,1,1: 43:[70, 6] Operation: 51-45=6
Exploring Operation: 70-45=25, Resulting Numbers: [51, 25]
Generated Node #0,1,2: 43:[51, 25] Operation: 70-45=25
Moving to Node #0,2,1
Current State: 43:[48, 28], Operations: ['51-3=48', '70-42=28']
Exploring Operation: 48*28=1344, Resulting Numbers: [1344]
1344,43 unequal: No Solution
Exploring Operation: 48+28=76, Resulting Numbers: [76]
76,43 unequal: No Solution
Exploring Operation: 48-28=20, Resulting Numbers: [20]
20,43 unequal: No Solution
Moving to Node #0,2,0
Current State: 43:[42, 22], Operations: ['51-3=48', '70-48=22']
Exploring Operation: 42*22=924, Resulting Numbers: [924]
924,43 unequal: No Solution
Exploring Operation: 42-22=20, Resulting Numbers: [20]
20,43 unequal: No Solution
Exploring Operation: 42+22=64, Resulting Numbers: [64]
64,43 unequal: No Solution
Moving to Node #0,1,0
Current State: 43:[45, 19], Operations: ['3+42=45', '70-51=19']
Exploring Operation: 45+19=64, Resulting Numbers: [64]
64,43 unequal: No Solution
Exploring Operation: 45-19=26, Resulting Numbers: [26]
26,43 unequal: No Solution
Exploring Operation: 45*19=855, Resulting Numbers: [855]
855,43 unequal: No Solution
Moving to Node #0,0,0
Current State: 43:[51, 25], Operations: ['70-3=67', '67-42=25']
Exploring Operation: 51+25=76, Resulting Numbers: [76]
76,43 unequal: No Solution
Exploring Operation: 51-25=26, Resulting Numbers: [26]
26,43 unequal: No Solution
Exploring Operation: 51*25=1275, Resulting Numbers: [1275]
1275,43 unequal: No Solution
Moving to Node #0,1,2
Current State: 43:[51, 25], Operations: ['3+42=45', '70-45=25']
Exploring Operation: 51-25=26, Resulting Numbers: [26]
26,43 unequal: No Solution
Exploring Operation: 51+25=76, Resulting Numbers: [76]
76,43 unequal: No Solution
Exploring Operation: 51*25=1275, Resulting Numbers: [1275]
1275,43 unequal: No Solution
Moving to Node #0,0,2
Current State: 43:[42, 16], Operations: ['70-3=67', '67-51=16']
Exploring Operation: 42+16=58, Resulting Numbers: [58]
58,43 unequal: No Solution
Exploring Operation: 42*16=672, Resulting Numbers: [672]
672,43 unequal: No Solution
Exploring Operation: 42-16=26, Resulting Numbers: [26]
26,43 unequal: No Solution
Moving to Node #0,0,1
Current State: 43:[67, 9], Operations: ['70-3=67', '51-42=9']
Exploring Operation: 67-9=58, Resulting Numbers: [58]
58,43 unequal: No Solution
Exploring Operation: 67+9=76, Resulting Numbers: [76]
76,43 unequal: No Solution
Exploring Operation: 67*9=603, Resulting Numbers: [603]
603,43 unequal: No Solution
Moving to Node #0,2,2
Current State: 43:[70, 6], Operations: ['51-3=48', '48-42=6']
Exploring Operation: 70-6=64, Resulting Numbers: [64]
64,43 unequal: No Solution
Exploring Operation: 70+6=76, Resulting Numbers: [76]
76,43 unequal: No Solution
Exploring Operation: 70*6=420, Resulting Numbers: [420]
420,43 unequal: No Solution
Moving to Node #0,1,1
Current State: 43:[70, 6], Operations: ['3+42=45', '51-45=6']
Exploring Operation: 70-6=64, Resulting Numbers: [64]
64,43 unequal: No Solution
Exploring Operation: 70*6=420, Resulting Numbers: [420]
420,43 unequal: No Solution
Exploring Operation: 70+6=76, Resulting Numbers: [76]
76,43 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
64,
33,
78,
77
] | 96 | [
"64+33=97",
"78-77=1",
"97-1=96"
] | Current State: 96:[64, 33, 78, 77], Operations: []
Exploring Operation: 64+33=97, Resulting Numbers: [78, 77, 97]
Generated Node #2: [78, 77, 97] from Operation: 64+33=97
Current State: 96:[78, 77, 97], Operations: ['64+33=97']
Exploring Operation: 78-77=1, Resulting Numbers: [97, 1]
Generated Node #3: [97, 1] from Operation: 78-77=1
Current State: 96:[97, 1], Operations: ['64+33=97', '78-77=1']
Exploring Operation: 97-1=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[64, 33, 78, 77], Operations: []
Exploring Operation: 78-77=1, Resulting Numbers: [64, 33, 1]
Generated Node #0,0: 96:[64, 33, 1] Operation: 78-77=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[64, 33, 1], Operations: ['78-77=1']
Exploring Operation: 64+33=97, Resulting Numbers: [1, 97]
Generated Node #0,0,0: 96:[1, 97] Operation: 64+33=97
Moving to Node #0,0,0
Current State: 96:[1, 97], Operations: ['78-77=1', '64+33=97']
Exploring Operation: 97-1=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[64, 33, 78, 77], Operations: []
Exploring Operation: 78-77=1, Resulting Numbers: [64, 33, 1]
Generated Node #0,0: 96:[64, 33, 1] Operation: 78-77=1
Moving to Node #0,0
Current State: 96:[64, 33, 1], Operations: ['78-77=1']
Exploring Operation: 64+33=97, Resulting Numbers: [1, 97]
Generated Node #0,0,0: 96:[1, 97] Operation: 64+33=97
Moving to Node #0,0,0
Current State: 96:[1, 97], Operations: ['78-77=1', '64+33=97']
Exploring Operation: 97-1=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
14,
28,
1,
27
] | 70 | [
"14+28=42",
"1+27=28",
"42+28=70"
] | Current State: 70:[14, 28, 1, 27], Operations: []
Exploring Operation: 14+28=42, Resulting Numbers: [1, 27, 42]
Generated Node #2: [1, 27, 42] from Operation: 14+28=42
Current State: 70:[1, 27, 42], Operations: ['14+28=42']
Exploring Operation: 1+27=28, Resulting Numbers: [42, 28]
Generated Node #3: [42, 28] from Operation: 1+27=28
Current State: 70:[42, 28], Operations: ['14+28=42', '1+27=28']
Exploring Operation: 42+28=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[14, 28, 1, 27], Operations: []
Exploring Operation: 14+27=41, Resulting Numbers: [28, 1, 41]
Generated Node #0,0: 70:[28, 1, 41] Operation: 14+27=41
Exploring Operation: 28-27=1, Resulting Numbers: [14, 1, 1]
Generated Node #0,1: 70:[14, 1, 1] Operation: 28-27=1
Exploring Operation: 28/14=2, Resulting Numbers: [1, 27, 2]
Generated Node #0,2: 70:[1, 27, 2] Operation: 28/14=2
Exploring Operation: 28-14=14, Resulting Numbers: [1, 27, 14]
Generated Node #0,3: 70:[1, 27, 14] Operation: 28-14=14
Exploring Operation: 27-14=13, Resulting Numbers: [28, 1, 13]
Generated Node #0,4: 70:[28, 1, 13] Operation: 27-14=13
Moving to Node #0,1
Current State: 70:[14, 1, 1], Operations: ['28-27=1']
Exploring Operation: 1+1=2, Resulting Numbers: [14, 2]
Generated Node #0,1,0: 70:[14, 2] Operation: 1+1=2
Exploring Operation: 14/1=14, Resulting Numbers: [1, 14]
Generated Node #0,1,1: 70:[1, 14] Operation: 14/1=14
Exploring Operation: 14/1=14, Resulting Numbers: [1, 14]
Generated Node #0,1,2: 70:[1, 14] Operation: 14/1=14
Exploring Operation: 14*1=14, Resulting Numbers: [1, 14]
Generated Node #0,1,3: 70:[1, 14] Operation: 14*1=14
Exploring Operation: 14*1=14, Resulting Numbers: [1, 14]
Generated Node #0,1,4: 70:[1, 14] Operation: 14*1=14
Moving to Node #0,3
Current State: 70:[1, 27, 14], Operations: ['28-14=14']
Exploring Operation: 27-14=13, Resulting Numbers: [1, 13]
Generated Node #0,3,0: 70:[1, 13] Operation: 27-14=13
Exploring Operation: 1+27=28, Resulting Numbers: [14, 28]
Generated Node #0,3,1: 70:[14, 28] Operation: 1+27=28
Exploring Operation: 1*27=27, Resulting Numbers: [14, 27]
Generated Node #0,3,2: 70:[14, 27] Operation: 1*27=27
Exploring Operation: 27+14=41, Resulting Numbers: [1, 41]
Generated Node #0,3,3: 70:[1, 41] Operation: 27+14=41
Exploring Operation: 27/1=27, Resulting Numbers: [14, 27]
Generated Node #0,3,4: 70:[14, 27] Operation: 27/1=27
Moving to Node #0,2
Current State: 70:[1, 27, 2], Operations: ['28/14=2']
Exploring Operation: 1*27=27, Resulting Numbers: [2, 27]
Generated Node #0,2,0: 70:[2, 27] Operation: 1*27=27
Exploring Operation: 1+27=28, Resulting Numbers: [2, 28]
Generated Node #0,2,1: 70:[2, 28] Operation: 1+27=28
Exploring Operation: 1*2=2, Resulting Numbers: [27, 2]
Generated Node #0,2,2: 70:[27, 2] Operation: 1*2=2
Exploring Operation: 27+2=29, Resulting Numbers: [1, 29]
Generated Node #0,2,3: 70:[1, 29] Operation: 27+2=29
Exploring Operation: 27/1=27, Resulting Numbers: [2, 27]
Generated Node #0,2,4: 70:[2, 27] Operation: 27/1=27
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 70:[2, 28], Operations: ['28/14=2', '1+27=28']
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,70 unequal: No Solution
Exploring Operation: 2*28=56, Resulting Numbers: [56]
56,70 unequal: No Solution
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,70 unequal: No Solution
Exploring Operation: 2+28=30, Resulting Numbers: [30]
30,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,2,3
Current State: 70:[1, 29], Operations: ['28/14=2', '27+2=29']
Exploring Operation: 1+29=30, Resulting Numbers: [30]
30,70 unequal: No Solution
Exploring Operation: 29/1=29, Resulting Numbers: [29]
29,70 unequal: No Solution
Exploring Operation: 29-1=28, Resulting Numbers: [28]
28,70 unequal: No Solution
Exploring Operation: 1*29=29, Resulting Numbers: [29]
29,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,2,0
Current State: 70:[2, 27], Operations: ['28/14=2', '1*27=27']
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,70 unequal: No Solution
Exploring Operation: 2*27=54, Resulting Numbers: [54]
54,70 unequal: No Solution
Exploring Operation: 2+27=29, Resulting Numbers: [29]
29,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,2,2
Current State: 70:[27, 2], Operations: ['28/14=2', '1*2=2']
Exploring Operation: 27*2=54, Resulting Numbers: [54]
54,70 unequal: No Solution
Exploring Operation: 27+2=29, Resulting Numbers: [29]
29,70 unequal: No Solution
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,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,2,4
Current State: 70:[2, 27], Operations: ['28/14=2', '27/1=27']
Exploring Operation: 2+27=29, Resulting Numbers: [29]
29,70 unequal: No Solution
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,70 unequal: No Solution
Exploring Operation: 2*27=54, Resulting Numbers: [54]
54,70 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: 70:[28, 1, 13], Operations: ['27-14=13']
Exploring Operation: 28+1=29, Resulting Numbers: [13, 29]
Generated Node #0,4,0: 70:[13, 29] Operation: 28+1=29
Exploring Operation: 28-13=15, Resulting Numbers: [1, 15]
Generated Node #0,4,1: 70:[1, 15] Operation: 28-13=15
Exploring Operation: 28*1=28, Resulting Numbers: [13, 28]
Generated Node #0,4,2: 70:[13, 28] Operation: 28*1=28
Exploring Operation: 28+13=41, Resulting Numbers: [1, 41]
Generated Node #0,4,3: 70:[1, 41] Operation: 28+13=41
Exploring Operation: 1+13=14, Resulting Numbers: [28, 14]
Generated Node #0,4,4: 70:[28, 14] Operation: 1+13=14
Moving to Node #0,0
Current State: 70:[28, 1, 41], Operations: ['14+27=41']
Exploring Operation: 41-28=13, Resulting Numbers: [1, 13]
Generated Node #0,0,0: 70:[1, 13] Operation: 41-28=13
Exploring Operation: 41-1=40, Resulting Numbers: [28, 40]
Generated Node #0,0,1: 70:[28, 40] Operation: 41-1=40
Exploring Operation: 28+1=29, Resulting Numbers: [41, 29]
Generated Node #0,0,2: 70:[41, 29] Operation: 28+1=29
Exploring Operation: 28*1=28, Resulting Numbers: [41, 28]
Generated Node #0,0,3: 70:[41, 28] Operation: 28*1=28
Exploring Operation: 28+41=69, Resulting Numbers: [1, 69]
Generated Node #0,0,4: 70:[1, 69] Operation: 28+41=69
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 70:[1, 13], Operations: ['14+27=41', '41-28=13']
Exploring Operation: 1+13=14, Resulting Numbers: [14]
14,70 unequal: No Solution
Exploring Operation: 1*13=13, Resulting Numbers: [13]
13,70 unequal: No Solution
Exploring Operation: 13-1=12, Resulting Numbers: [12]
12,70 unequal: No Solution
Exploring Operation: 13/1=13, Resulting Numbers: [13]
13,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,4
Current State: 70:[1, 69], Operations: ['14+27=41', '28+41=69']
Exploring Operation: 69/1=69, Resulting Numbers: [69]
69,70 unequal: No Solution
Exploring Operation: 1+69=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[14, 28, 1, 27], Operations: []
Exploring Operation: 14+27=41, Resulting Numbers: [28, 1, 41]
Generated Node #0,0: 70:[28, 1, 41] Operation: 14+27=41
Moving to Node #0,0
Current State: 70:[28, 1, 41], Operations: ['14+27=41']
Exploring Operation: 28+41=69, Resulting Numbers: [1, 69]
Generated Node #0,0,4: 70:[1, 69] Operation: 28+41=69
Moving to Node #0,0,4
Current State: 70:[1, 69], Operations: ['14+27=41', '28+41=69']
Exploring Operation: 1+69=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 1
| 0.950521 | hs_5 | sum_heuristic |
[
29,
2,
31,
63
] | 99 | [
"63-29=34",
"2*34=68",
"31+68=99"
] | Current State: 99:[29, 2, 31, 63], Operations: []
Exploring Operation: 63-29=34, Resulting Numbers: [2, 31, 34]
Generated Node #2: [2, 31, 34] from Operation: 63-29=34
Current State: 99:[2, 31, 34], Operations: ['63-29=34']
Exploring Operation: 2*34=68, Resulting Numbers: [31, 68]
Generated Node #3: [31, 68] from Operation: 2*34=68
Current State: 99:[31, 68], Operations: ['63-29=34', '2*34=68']
Exploring Operation: 31+68=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[29, 2, 31, 63], Operations: []
Exploring Operation: 29+63=92, Resulting Numbers: [2, 31, 92]
Generated Node #0,0: 99:[2, 31, 92] Operation: 29+63=92
Exploring Operation: 31-29=2, Resulting Numbers: [2, 63, 2]
Generated Node #0,1: 99:[2, 63, 2] Operation: 31-29=2
Exploring Operation: 63-29=34, Resulting Numbers: [2, 31, 34]
Generated Node #0,2: 99:[2, 31, 34] Operation: 63-29=34
Exploring Operation: 31+63=94, Resulting Numbers: [29, 2, 94]
Generated Node #0,3: 99:[29, 2, 94] Operation: 31+63=94
Exploring Operation: 63-31=32, Resulting Numbers: [29, 2, 32]
Generated Node #0,4: 99:[29, 2, 32] Operation: 63-31=32
Moving to Node #0,2
Current State: 99:[2, 31, 34], Operations: ['63-29=34']
Exploring Operation: 2+34=36, Resulting Numbers: [31, 36]
Generated Node #0,2,0: 99:[31, 36] Operation: 2+34=36
Exploring Operation: 34-2=32, Resulting Numbers: [31, 32]
Generated Node #0,2,1: 99:[31, 32] Operation: 34-2=32
Exploring Operation: 34-31=3, Resulting Numbers: [2, 3]
Generated Node #0,2,2: 99:[2, 3] Operation: 34-31=3
Exploring Operation: 2+31=33, Resulting Numbers: [34, 33]
Generated Node #0,2,3: 99:[34, 33] Operation: 2+31=33
Exploring Operation: 31-2=29, Resulting Numbers: [34, 29]
Generated Node #0,2,4: 99:[34, 29] Operation: 31-2=29
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 99:[2, 3], Operations: ['63-29=34', '34-31=3']
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,99 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,99 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 99:[34, 33], Operations: ['63-29=34', '2+31=33']
Exploring Operation: 34+33=67, Resulting Numbers: [67]
67,99 unequal: No Solution
Exploring Operation: 34-33=1, Resulting Numbers: [1]
1,99 unequal: No Solution
Exploring Operation: 34*33=1122, Resulting Numbers: [1122]
1122,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 99:[31, 32], Operations: ['63-29=34', '34-2=32']
Exploring Operation: 32-31=1, Resulting Numbers: [1]
1,99 unequal: No Solution
Exploring Operation: 31+32=63, Resulting Numbers: [63]
63,99 unequal: No Solution
Exploring Operation: 31*32=992, Resulting Numbers: [992]
992,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 99:[31, 36], Operations: ['63-29=34', '2+34=36']
Exploring Operation: 31*36=1116, Resulting Numbers: [1116]
1116,99 unequal: No Solution
Exploring Operation: 36-31=5, Resulting Numbers: [5]
5,99 unequal: No Solution
Exploring Operation: 31+36=67, Resulting Numbers: [67]
67,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 99:[34, 29], Operations: ['63-29=34', '31-2=29']
Exploring Operation: 34+29=63, Resulting Numbers: [63]
63,99 unequal: No Solution
Exploring Operation: 34-29=5, Resulting Numbers: [5]
5,99 unequal: No Solution
Exploring Operation: 34*29=986, Resulting Numbers: [986]
986,99 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: 99:[29, 2, 32], Operations: ['63-31=32']
Exploring Operation: 32-29=3, Resulting Numbers: [2, 3]
Generated Node #0,4,0: 99:[2, 3] Operation: 32-29=3
Exploring Operation: 29-2=27, Resulting Numbers: [32, 27]
Generated Node #0,4,1: 99:[32, 27] Operation: 29-2=27
Exploring Operation: 29+2=31, Resulting Numbers: [32, 31]
Generated Node #0,4,2: 99:[32, 31] Operation: 29+2=31
Exploring Operation: 32-2=30, Resulting Numbers: [29, 30]
Generated Node #0,4,3: 99:[29, 30] Operation: 32-2=30
Exploring Operation: 2+32=34, Resulting Numbers: [29, 34]
Generated Node #0,4,4: 99:[29, 34] Operation: 2+32=34
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 99:[2, 3], Operations: ['63-31=32', '32-29=3']
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,99 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,99 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 99:[32, 31], Operations: ['63-31=32', '29+2=31']
Exploring Operation: 32-31=1, Resulting Numbers: [1]
1,99 unequal: No Solution
Exploring Operation: 32*31=992, Resulting Numbers: [992]
992,99 unequal: No Solution
Exploring Operation: 32+31=63, Resulting Numbers: [63]
63,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 99:[29, 34], Operations: ['63-31=32', '2+32=34']
Exploring Operation: 29+34=63, Resulting Numbers: [63]
63,99 unequal: No Solution
Exploring Operation: 34-29=5, Resulting Numbers: [5]
5,99 unequal: No Solution
Exploring Operation: 29*34=986, Resulting Numbers: [986]
986,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 99:[32, 27], Operations: ['63-31=32', '29-2=27']
Exploring Operation: 32+27=59, Resulting Numbers: [59]
59,99 unequal: No Solution
Exploring Operation: 32*27=864, Resulting Numbers: [864]
864,99 unequal: No Solution
Exploring Operation: 32-27=5, Resulting Numbers: [5]
5,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 99:[29, 30], Operations: ['63-31=32', '32-2=30']
Exploring Operation: 30-29=1, Resulting Numbers: [1]
1,99 unequal: No Solution
Exploring Operation: 29*30=870, Resulting Numbers: [870]
870,99 unequal: No Solution
Exploring Operation: 29+30=59, Resulting Numbers: [59]
59,99 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: 99:[2, 31, 92], Operations: ['29+63=92']
Exploring Operation: 31-2=29, Resulting Numbers: [92, 29]
Generated Node #0,0,0: 99:[92, 29] Operation: 31-2=29
Exploring Operation: 92/2=46, Resulting Numbers: [31, 46]
Generated Node #0,0,1: 99:[31, 46] Operation: 92/2=46
Exploring Operation: 2+92=94, Resulting Numbers: [31, 94]
Generated Node #0,0,2: 99:[31, 94] Operation: 2+92=94
Exploring Operation: 92-2=90, Resulting Numbers: [31, 90]
Generated Node #0,0,3: 99:[31, 90] Operation: 92-2=90
Exploring Operation: 2+31=33, Resulting Numbers: [92, 33]
Generated Node #0,0,4: 99:[92, 33] Operation: 2+31=33
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 99:[31, 94], Operations: ['29+63=92', '2+92=94']
Exploring Operation: 31+94=125, Resulting Numbers: [125]
125,99 unequal: No Solution
Exploring Operation: 31*94=2914, Resulting Numbers: [2914]
2914,99 unequal: No Solution
Exploring Operation: 94-31=63, Resulting Numbers: [63]
63,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 99:[92, 33], Operations: ['29+63=92', '2+31=33']
Exploring Operation: 92-33=59, Resulting Numbers: [59]
59,99 unequal: No Solution
Exploring Operation: 92+33=125, Resulting Numbers: [125]
125,99 unequal: No Solution
Exploring Operation: 92*33=3036, Resulting Numbers: [3036]
3036,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 99:[92, 29], Operations: ['29+63=92', '31-2=29']
Exploring Operation: 92+29=121, Resulting Numbers: [121]
121,99 unequal: No Solution
Exploring Operation: 92-29=63, Resulting Numbers: [63]
63,99 unequal: No Solution
Exploring Operation: 92*29=2668, Resulting Numbers: [2668]
2668,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 99:[31, 90], Operations: ['29+63=92', '92-2=90']
Exploring Operation: 31+90=121, Resulting Numbers: [121]
121,99 unequal: No Solution
Exploring Operation: 31*90=2790, Resulting Numbers: [2790]
2790,99 unequal: No Solution
Exploring Operation: 90-31=59, Resulting Numbers: [59]
59,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 99:[31, 46], Operations: ['29+63=92', '92/2=46']
Exploring Operation: 31+46=77, Resulting Numbers: [77]
77,99 unequal: No Solution
Exploring Operation: 31*46=1426, Resulting Numbers: [1426]
1426,99 unequal: No Solution
Exploring Operation: 46-31=15, Resulting Numbers: [15]
15,99 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: 99:[29, 2, 94], Operations: ['31+63=94']
Exploring Operation: 2+94=96, Resulting Numbers: [29, 96]
Generated Node #0,3,0: 99:[29, 96] Operation: 2+94=96
Exploring Operation: 94/2=47, Resulting Numbers: [29, 47]
Generated Node #0,3,1: 99:[29, 47] Operation: 94/2=47
Exploring Operation: 29-2=27, Resulting Numbers: [94, 27]
Generated Node #0,3,2: 99:[94, 27] Operation: 29-2=27
Exploring Operation: 29+2=31, Resulting Numbers: [94, 31]
Generated Node #0,3,3: 99:[94, 31] Operation: 29+2=31
Exploring Operation: 94-2=92, Resulting Numbers: [29, 92]
Generated Node #0,3,4: 99:[29, 92] Operation: 94-2=92
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 99:[29, 96], Operations: ['31+63=94', '2+94=96']
Exploring Operation: 29+96=125, Resulting Numbers: [125]
125,99 unequal: No Solution
Exploring Operation: 29*96=2784, Resulting Numbers: [2784]
2784,99 unequal: No Solution
Exploring Operation: 96-29=67, Resulting Numbers: [67]
67,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 99:[94, 31], Operations: ['31+63=94', '29+2=31']
Exploring Operation: 94*31=2914, Resulting Numbers: [2914]
2914,99 unequal: No Solution
Exploring Operation: 94+31=125, Resulting Numbers: [125]
125,99 unequal: No Solution
Exploring Operation: 94-31=63, Resulting Numbers: [63]
63,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 99:[94, 27], Operations: ['31+63=94', '29-2=27']
Exploring Operation: 94*27=2538, Resulting Numbers: [2538]
2538,99 unequal: No Solution
Exploring Operation: 94+27=121, Resulting Numbers: [121]
121,99 unequal: No Solution
Exploring Operation: 94-27=67, Resulting Numbers: [67]
67,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 99:[29, 92], Operations: ['31+63=94', '94-2=92']
Exploring Operation: 29*92=2668, Resulting Numbers: [2668]
2668,99 unequal: No Solution
Exploring Operation: 92-29=63, Resulting Numbers: [63]
63,99 unequal: No Solution
Exploring Operation: 29+92=121, Resulting Numbers: [121]
121,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 99:[29, 47], Operations: ['31+63=94', '94/2=47']
Exploring Operation: 47-29=18, Resulting Numbers: [18]
18,99 unequal: No Solution
Exploring Operation: 29*47=1363, Resulting Numbers: [1363]
1363,99 unequal: No Solution
Exploring Operation: 29+47=76, Resulting Numbers: [76]
76,99 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: 99:[2, 63, 2], Operations: ['31-29=2']
Exploring Operation: 2*63=126, Resulting Numbers: [2, 126]
Generated Node #0,1,0: 99:[2, 126] Operation: 2*63=126
Exploring Operation: 63*2=126, Resulting Numbers: [2, 126]
Generated Node #0,1,1: 99:[2, 126] Operation: 63*2=126
Exploring Operation: 2+2=4, Resulting Numbers: [63, 4]
Generated Node #0,1,2: 99:[63, 4] Operation: 2+2=4
Exploring Operation: 63-2=61, Resulting Numbers: [2, 61]
Generated Node #0,1,3: 99:[2, 61] Operation: 63-2=61
Exploring Operation: 63-2=61, Resulting Numbers: [2, 61]
Generated Node #0,1,4: 99:[2, 61] Operation: 63-2=61
Moving to Node #0,1,0
Current State: 99:[2, 126], Operations: ['31-29=2', '2*63=126']
Exploring Operation: 2+126=128, Resulting Numbers: [128]
128,99 unequal: No Solution
Exploring Operation: 2*126=252, Resulting Numbers: [252]
252,99 unequal: No Solution
Exploring Operation: 126-2=124, Resulting Numbers: [124]
124,99 unequal: No Solution
Exploring Operation: 126/2=63, Resulting Numbers: [63]
63,99 unequal: No Solution
Moving to Node #0,1,1
Current State: 99:[2, 126], Operations: ['31-29=2', '63*2=126']
Exploring Operation: 2+126=128, Resulting Numbers: [128]
128,99 unequal: No Solution
Exploring Operation: 126/2=63, Resulting Numbers: [63]
63,99 unequal: No Solution
Exploring Operation: 2*126=252, Resulting Numbers: [252]
252,99 unequal: No Solution
Exploring Operation: 126-2=124, Resulting Numbers: [124]
124,99 unequal: No Solution
Moving to Node #0,1,3
Current State: 99:[2, 61], Operations: ['31-29=2', '63-2=61']
Exploring Operation: 2*61=122, Resulting Numbers: [122]
122,99 unequal: No Solution
Exploring Operation: 2+61=63, Resulting Numbers: [63]
63,99 unequal: No Solution
Exploring Operation: 61-2=59, Resulting Numbers: [59]
59,99 unequal: No Solution
Moving to Node #0,1,4
Current State: 99:[2, 61], Operations: ['31-29=2', '63-2=61']
Exploring Operation: 2+61=63, Resulting Numbers: [63]
63,99 unequal: No Solution
Exploring Operation: 2*61=122, Resulting Numbers: [122]
122,99 unequal: No Solution
Exploring Operation: 61-2=59, Resulting Numbers: [59]
59,99 unequal: No Solution
Moving to Node #0,1,2
Current State: 99:[63, 4], Operations: ['31-29=2', '2+2=4']
Exploring Operation: 63+4=67, Resulting Numbers: [67]
67,99 unequal: No Solution
Exploring Operation: 63*4=252, Resulting Numbers: [252]
252,99 unequal: No Solution
Exploring Operation: 63-4=59, Resulting Numbers: [59]
59,99 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
97,
97,
2,
34
] | 66 | [
"97/97=1",
"34-1=33",
"2*33=66"
] | Current State: 66:[97, 97, 2, 34], Operations: []
Exploring Operation: 97/97=1, Resulting Numbers: [2, 34, 1]
Generated Node #2: [2, 34, 1] from Operation: 97/97=1
Current State: 66:[2, 34, 1], Operations: ['97/97=1']
Exploring Operation: 34-1=33, Resulting Numbers: [2, 33]
Generated Node #3: [2, 33] from Operation: 34-1=33
Current State: 66:[2, 33], Operations: ['97/97=1', '34-1=33']
Exploring Operation: 2*33=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[97, 97, 2, 34], Operations: []
Exploring Operation: 97/97=1, Resulting Numbers: [2, 34, 1]
Generated Node #0,0: 66:[2, 34, 1] Operation: 97/97=1
Exploring Operation: 97-34=63, Resulting Numbers: [97, 2, 63]
Generated Node #0,1: 66:[97, 2, 63] Operation: 97-34=63
Exploring Operation: 97-97=0, Resulting Numbers: [2, 34, 0]
Generated Node #0,2: 66:[2, 34, 0] Operation: 97-97=0
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[2, 34, 1], Operations: ['97/97=1']
Exploring Operation: 2+1=3, Resulting Numbers: [34, 3]
Generated Node #0,0,0: 66:[34, 3] Operation: 2+1=3
Exploring Operation: 34-1=33, Resulting Numbers: [2, 33]
Generated Node #0,0,1: 66:[2, 33] Operation: 34-1=33
Exploring Operation: 2*1=2, Resulting Numbers: [34, 2]
Generated Node #0,0,2: 66:[34, 2] Operation: 2*1=2
Moving to Node #0,0,1
Current State: 66:[2, 33], Operations: ['97/97=1', '34-1=33']
Exploring Operation: 2+33=35, Resulting Numbers: [35]
35,66 unequal: No Solution
Exploring Operation: 2*33=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[97, 97, 2, 34], Operations: []
Exploring Operation: 97/97=1, Resulting Numbers: [2, 34, 1]
Generated Node #0,0: 66:[2, 34, 1] Operation: 97/97=1
Moving to Node #0,0
Current State: 66:[2, 34, 1], Operations: ['97/97=1']
Exploring Operation: 34-1=33, Resulting Numbers: [2, 33]
Generated Node #0,0,1: 66:[2, 33] Operation: 34-1=33
Moving to Node #0,0,1
Current State: 66:[2, 33], Operations: ['97/97=1', '34-1=33']
Exploring Operation: 2*33=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
69,
1,
2,
5
] | 80 | [
"69+1=70",
"2*5=10",
"70+10=80"
] | Current State: 80:[69, 1, 2, 5], Operations: []
Exploring Operation: 69+1=70, Resulting Numbers: [2, 5, 70]
Generated Node #2: [2, 5, 70] from Operation: 69+1=70
Current State: 80:[2, 5, 70], Operations: ['69+1=70']
Exploring Operation: 2*5=10, Resulting Numbers: [70, 10]
Generated Node #3: [70, 10] from Operation: 2*5=10
Current State: 80:[70, 10], Operations: ['69+1=70', '2*5=10']
Exploring Operation: 70+10=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[69, 1, 2, 5], Operations: []
Exploring Operation: 69+1=70, Resulting Numbers: [2, 5, 70]
Generated Node #0,0: 80:[2, 5, 70] Operation: 69+1=70
Exploring Operation: 69+5=74, Resulting Numbers: [1, 2, 74]
Generated Node #0,1: 80:[1, 2, 74] Operation: 69+5=74
Exploring Operation: 69+2=71, Resulting Numbers: [1, 5, 71]
Generated Node #0,2: 80:[1, 5, 71] Operation: 69+2=71
Start Sub Search at level 1: Moving to Node #0,1
Current State: 80:[1, 2, 74], Operations: ['69+5=74']
Exploring Operation: 1+74=75, Resulting Numbers: [2, 75]
Generated Node #0,1,0: 80:[2, 75] Operation: 1+74=75
Exploring Operation: 2+74=76, Resulting Numbers: [1, 76]
Generated Node #0,1,1: 80:[1, 76] Operation: 2+74=76
Exploring Operation: 74/2=37, Resulting Numbers: [1, 37]
Generated Node #0,1,2: 80:[1, 37] Operation: 74/2=37
Moving to Node #0,1,2
Current State: 80:[1, 37], Operations: ['69+5=74', '74/2=37']
Exploring Operation: 1+37=38, Resulting Numbers: [38]
38,80 unequal: No Solution
Exploring Operation: 37/1=37, Resulting Numbers: [37]
37,80 unequal: No Solution
Exploring Operation: 1*37=37, Resulting Numbers: [37]
37,80 unequal: No Solution
Moving to Node #0,1,0
Current State: 80:[2, 75], Operations: ['69+5=74', '1+74=75']
Exploring Operation: 2+75=77, Resulting Numbers: [77]
77,80 unequal: No Solution
Exploring Operation: 75-2=73, Resulting Numbers: [73]
73,80 unequal: No Solution
Exploring Operation: 2*75=150, Resulting Numbers: [150]
150,80 unequal: No Solution
Moving to Node #0,1,1
Current State: 80:[1, 76], Operations: ['69+5=74', '2+74=76']
Exploring Operation: 1*76=76, Resulting Numbers: [76]
76,80 unequal: No Solution
Exploring Operation: 1+76=77, Resulting Numbers: [77]
77,80 unequal: No Solution
Exploring Operation: 76/1=76, Resulting Numbers: [76]
76,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[2, 5, 70], Operations: ['69+1=70']
Exploring Operation: 5+70=75, Resulting Numbers: [2, 75]
Generated Node #0,0,0: 80:[2, 75] Operation: 5+70=75
Exploring Operation: 70/5=14, Resulting Numbers: [2, 14]
Generated Node #0,0,1: 80:[2, 14] Operation: 70/5=14
Exploring Operation: 70/2=35, Resulting Numbers: [5, 35]
Generated Node #0,0,2: 80:[5, 35] Operation: 70/2=35
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 80:[2, 14], Operations: ['69+1=70', '70/5=14']
Exploring Operation: 2+14=16, Resulting Numbers: [16]
16,80 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,80 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,80 unequal: No Solution
No 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: 80:[2, 75], Operations: ['69+1=70', '5+70=75']
Exploring Operation: 75-2=73, Resulting Numbers: [73]
73,80 unequal: No Solution
Exploring Operation: 2*75=150, Resulting Numbers: [150]
150,80 unequal: No Solution
Exploring Operation: 2+75=77, Resulting Numbers: [77]
77,80 unequal: No Solution
No 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: 80:[5, 35], Operations: ['69+1=70', '70/2=35']
Exploring Operation: 35/5=7, Resulting Numbers: [7]
7,80 unequal: No Solution
Exploring Operation: 5+35=40, Resulting Numbers: [40]
40,80 unequal: No Solution
Exploring Operation: 35-5=30, Resulting Numbers: [30]
30,80 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: 80:[1, 5, 71], Operations: ['69+2=71']
Exploring Operation: 1*5=5, Resulting Numbers: [71, 5]
Generated Node #0,2,0: 80:[71, 5] Operation: 1*5=5
Exploring Operation: 5+71=76, Resulting Numbers: [1, 76]
Generated Node #0,2,1: 80:[1, 76] Operation: 5+71=76
Exploring Operation: 1+71=72, Resulting Numbers: [5, 72]
Generated Node #0,2,2: 80:[5, 72] Operation: 1+71=72
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 80:[1, 76], Operations: ['69+2=71', '5+71=76']
Exploring Operation: 1+76=77, Resulting Numbers: [77]
77,80 unequal: No Solution
Exploring Operation: 76/1=76, Resulting Numbers: [76]
76,80 unequal: No Solution
Exploring Operation: 1*76=76, Resulting Numbers: [76]
76,80 unequal: No Solution
No 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: 80:[5, 72], Operations: ['69+2=71', '1+71=72']
Exploring Operation: 72-5=67, Resulting Numbers: [67]
67,80 unequal: No Solution
Exploring Operation: 5+72=77, Resulting Numbers: [77]
77,80 unequal: No Solution
Exploring Operation: 5*72=360, Resulting Numbers: [360]
360,80 unequal: No Solution
No 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: 80:[71, 5], Operations: ['69+2=71', '1*5=5']
Exploring Operation: 71+5=76, Resulting Numbers: [76]
76,80 unequal: No Solution
Exploring Operation: 71-5=66, Resulting Numbers: [66]
66,80 unequal: No Solution
Exploring Operation: 71*5=355, Resulting Numbers: [355]
355,80 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 |
[
54,
10,
40,
50
] | 10 | [
"54*10=540",
"540-40=500",
"500/50=10"
] | Current State: 10:[54, 10, 40, 50], Operations: []
Exploring Operation: 54*10=540, Resulting Numbers: [40, 50, 540]
Generated Node #2: [40, 50, 540] from Operation: 54*10=540
Current State: 10:[40, 50, 540], Operations: ['54*10=540']
Exploring Operation: 540-40=500, Resulting Numbers: [50, 500]
Generated Node #3: [50, 500] from Operation: 540-40=500
Current State: 10:[50, 500], Operations: ['54*10=540', '540-40=500']
Exploring Operation: 500/50=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[54, 10, 40, 50], Operations: []
Exploring Operation: 54-40=14, Resulting Numbers: [10, 50, 14]
Generated Node #0,0: 10:[10, 50, 14] Operation: 54-40=14
Exploring Operation: 50-40=10, Resulting Numbers: [54, 10, 10]
Generated Node #0,1: 10:[54, 10, 10] Operation: 50-40=10
Exploring Operation: 54-50=4, Resulting Numbers: [10, 40, 4]
Generated Node #0,2: 10:[10, 40, 4] Operation: 54-50=4
Exploring Operation: 50/10=5, Resulting Numbers: [54, 40, 5]
Generated Node #0,3: 10:[54, 40, 5] Operation: 50/10=5
Moving to Node #0,2
Current State: 10:[10, 40, 4], Operations: ['54-50=4']
Exploring Operation: 40/10=4, Resulting Numbers: [4, 4]
Generated Node #0,2,0: 10:[4, 4] Operation: 40/10=4
Exploring Operation: 40-10=30, Resulting Numbers: [4, 30]
Generated Node #0,2,1: 10:[4, 30] Operation: 40-10=30
Exploring Operation: 40-4=36, Resulting Numbers: [10, 36]
Generated Node #0,2,2: 10:[10, 36] Operation: 40-4=36
Exploring Operation: 40/4=10, Resulting Numbers: [10, 10]
Generated Node #0,2,3: 10:[10, 10] Operation: 40/4=10
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 10:[10, 10], Operations: ['54-50=4', '40/4=10']
Exploring Operation: 10+10=20, Resulting Numbers: [20]
20,10 unequal: No Solution
Exploring Operation: 10*10=100, Resulting Numbers: [100]
100,10 unequal: No Solution
Exploring Operation: 10-10=0, Resulting Numbers: [0]
0,10 unequal: No Solution
Exploring Operation: 10/10=1, Resulting Numbers: [1]
1,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 10:[4, 4], Operations: ['54-50=4', '40/10=4']
Exploring Operation: 4-4=0, Resulting Numbers: [0]
0,10 unequal: No Solution
Exploring Operation: 4/4=1, Resulting Numbers: [1]
1,10 unequal: No Solution
Exploring Operation: 4+4=8, Resulting Numbers: [8]
8,10 unequal: No Solution
Exploring Operation: 4*4=16, Resulting Numbers: [16]
16,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 10:[4, 30], Operations: ['54-50=4', '40-10=30']
Exploring Operation: 4*30=120, Resulting Numbers: [120]
120,10 unequal: No Solution
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,10 unequal: No Solution
Exploring Operation: 4+30=34, Resulting Numbers: [34]
34,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 10:[10, 36], Operations: ['54-50=4', '40-4=36']
Exploring Operation: 10+36=46, Resulting Numbers: [46]
46,10 unequal: No Solution
Exploring Operation: 10*36=360, Resulting Numbers: [360]
360,10 unequal: No Solution
Exploring Operation: 36-10=26, Resulting Numbers: [26]
26,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 10:[54, 10, 10], Operations: ['50-40=10']
Exploring Operation: 54-10=44, Resulting Numbers: [10, 44]
Generated Node #0,1,0: 10:[10, 44] Operation: 54-10=44
Exploring Operation: 54-10=44, Resulting Numbers: [10, 44]
Generated Node #0,1,1: 10:[10, 44] Operation: 54-10=44
Exploring Operation: 10-10=0, Resulting Numbers: [54, 0]
Generated Node #0,1,2: 10:[54, 0] Operation: 10-10=0
Exploring Operation: 10/10=1, Resulting Numbers: [54, 1]
Generated Node #0,1,3: 10:[54, 1] Operation: 10/10=1
Moving to Node #0,0
Current State: 10:[10, 50, 14], Operations: ['54-40=14']
Exploring Operation: 50-14=36, Resulting Numbers: [10, 36]
Generated Node #0,0,0: 10:[10, 36] Operation: 50-14=36
Exploring Operation: 50/10=5, Resulting Numbers: [14, 5]
Generated Node #0,0,1: 10:[14, 5] Operation: 50/10=5
Exploring Operation: 50-10=40, Resulting Numbers: [14, 40]
Generated Node #0,0,2: 10:[14, 40] Operation: 50-10=40
Exploring Operation: 14-10=4, Resulting Numbers: [50, 4]
Generated Node #0,0,3: 10:[50, 4] Operation: 14-10=4
Moving to Node #0,3
Current State: 10:[54, 40, 5], Operations: ['50/10=5']
Exploring Operation: 40/5=8, Resulting Numbers: [54, 8]
Generated Node #0,3,0: 10:[54, 8] Operation: 40/5=8
Exploring Operation: 54-5=49, Resulting Numbers: [40, 49]
Generated Node #0,3,1: 10:[40, 49] Operation: 54-5=49
Exploring Operation: 40-5=35, Resulting Numbers: [54, 35]
Generated Node #0,3,2: 10:[54, 35] Operation: 40-5=35
Exploring Operation: 54-40=14, Resulting Numbers: [5, 14]
Generated Node #0,3,3: 10:[5, 14] Operation: 54-40=14
Moving to Node #0,0,1
Current State: 10:[14, 5], Operations: ['54-40=14', '50/10=5']
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,10 unequal: No Solution
Exploring Operation: 14+5=19, Resulting Numbers: [19]
19,10 unequal: No Solution
Exploring Operation: 14*5=70, Resulting Numbers: [70]
70,10 unequal: No Solution
Moving to Node #0,3,3
Current State: 10:[5, 14], Operations: ['50/10=5', '54-40=14']
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,10 unequal: No Solution
Exploring Operation: 5+14=19, Resulting Numbers: [19]
19,10 unequal: No Solution
Exploring Operation: 5*14=70, Resulting Numbers: [70]
70,10 unequal: No Solution
Moving to Node #0,0,0
Current State: 10:[10, 36], Operations: ['54-40=14', '50-14=36']
Exploring Operation: 36-10=26, Resulting Numbers: [26]
26,10 unequal: No Solution
Exploring Operation: 10+36=46, Resulting Numbers: [46]
46,10 unequal: No Solution
Exploring Operation: 10*36=360, Resulting Numbers: [360]
360,10 unequal: No Solution
Moving to Node #0,0,2
Current State: 10:[14, 40], Operations: ['54-40=14', '50-10=40']
Exploring Operation: 14+40=54, Resulting Numbers: [54]
54,10 unequal: No Solution
Exploring Operation: 14*40=560, Resulting Numbers: [560]
560,10 unequal: No Solution
Exploring Operation: 40-14=26, Resulting Numbers: [26]
26,10 unequal: No Solution
Moving to Node #0,1,1
Current State: 10:[10, 44], Operations: ['50-40=10', '54-10=44']
Exploring Operation: 44-10=34, Resulting Numbers: [34]
34,10 unequal: No Solution
Exploring Operation: 10+44=54, Resulting Numbers: [54]
54,10 unequal: No Solution
Exploring Operation: 10*44=440, Resulting Numbers: [440]
440,10 unequal: No Solution
Moving to Node #0,1,0
Current State: 10:[10, 44], Operations: ['50-40=10', '54-10=44']
Exploring Operation: 10+44=54, Resulting Numbers: [54]
54,10 unequal: No Solution
Exploring Operation: 10*44=440, Resulting Numbers: [440]
440,10 unequal: No Solution
Exploring Operation: 44-10=34, Resulting Numbers: [34]
34,10 unequal: No Solution
Moving to Node #0,0,3
Current State: 10:[50, 4], Operations: ['54-40=14', '14-10=4']
Exploring Operation: 50-4=46, Resulting Numbers: [46]
46,10 unequal: No Solution
Exploring Operation: 50+4=54, Resulting Numbers: [54]
54,10 unequal: No Solution
Exploring Operation: 50*4=200, Resulting Numbers: [200]
200,10 unequal: No Solution
Moving to Node #0,1,3
Current State: 10:[54, 1], Operations: ['50-40=10', '10/10=1']
Exploring Operation: 54*1=54, Resulting Numbers: [54]
54,10 unequal: No Solution
Exploring Operation: 54/1=54, Resulting Numbers: [54]
54,10 unequal: No Solution
Exploring Operation: 54+1=55, Resulting Numbers: [55]
55,10 unequal: No Solution
Exploring Operation: 54-1=53, Resulting Numbers: [53]
53,10 unequal: No Solution
Moving to Node #0,3,0
Current State: 10:[54, 8], Operations: ['50/10=5', '40/5=8']
Exploring Operation: 54+8=62, Resulting Numbers: [62]
62,10 unequal: No Solution
Exploring Operation: 54*8=432, Resulting Numbers: [432]
432,10 unequal: No Solution
Exploring Operation: 54-8=46, Resulting Numbers: [46]
46,10 unequal: No Solution
Moving to Node #0,1,2
Current State: 10:[54, 0], Operations: ['50-40=10', '10-10=0']
Exploring Operation: 54-0=54, Resulting Numbers: [54]
54,10 unequal: No Solution
Exploring Operation: 54*0=0, Resulting Numbers: [0]
0,10 unequal: No Solution
Exploring Operation: 54+0=54, Resulting Numbers: [54]
54,10 unequal: No Solution
Moving to Node #0,3,1
Current State: 10:[40, 49], Operations: ['50/10=5', '54-5=49']
Exploring Operation: 40*49=1960, Resulting Numbers: [1960]
1960,10 unequal: No Solution
Exploring Operation: 40+49=89, Resulting Numbers: [89]
89,10 unequal: No Solution
Exploring Operation: 49-40=9, Resulting Numbers: [9]
9,10 unequal: No Solution
Moving to Node #0,3,2
Current State: 10:[54, 35], Operations: ['50/10=5', '40-5=35']
Exploring Operation: 54-35=19, Resulting Numbers: [19]
19,10 unequal: No Solution
Exploring Operation: 54+35=89, Resulting Numbers: [89]
89,10 unequal: No Solution
Exploring Operation: 54*35=1890, Resulting Numbers: [1890]
1890,10 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.