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 |
|---|---|---|---|---|---|---|---|---|
[
25,
59,
76,
29
] | 40 | [
"29-25=4",
"76/4=19",
"59-19=40"
] | Current State: 40:[25, 59, 76, 29], Operations: []
Exploring Operation: 29-25=4, Resulting Numbers: [59, 76, 4]
Generated Node #2: [59, 76, 4] from Operation: 29-25=4
Current State: 40:[59, 76, 4], Operations: ['29-25=4']
Exploring Operation: 76/4=19, Resulting Numbers: [59, 19]
Generated Node #3: [59, 19] from Operation: 76/4=19
Current State: 40:[59, 19], Operations: ['29-25=4', '76/4=19']
Exploring Operation: 59-19=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[25, 59, 76, 29], Operations: []
Exploring Operation: 76-29=47, Resulting Numbers: [25, 59, 47]
Generated Node #0,0: 40:[25, 59, 47] Operation: 76-29=47
Exploring Operation: 76-59=17, Resulting Numbers: [25, 29, 17]
Generated Node #0,1: 40:[25, 29, 17] Operation: 76-59=17
Start Sub Search at level 1: Moving to Node #0,1
Current State: 40:[25, 29, 17], Operations: ['76-59=17']
Exploring Operation: 29-25=4, Resulting Numbers: [17, 4]
Generated Node #0,1,0: 40:[17, 4] Operation: 29-25=4
Exploring Operation: 29-17=12, Resulting Numbers: [25, 12]
Generated Node #0,1,1: 40:[25, 12] Operation: 29-17=12
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 40:[17, 4], Operations: ['76-59=17', '29-25=4']
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,40 unequal: No Solution
Exploring Operation: 17+4=21, Resulting Numbers: [21]
21,40 unequal: No Solution
No 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: 40:[25, 12], Operations: ['76-59=17', '29-17=12']
Exploring Operation: 25-12=13, Resulting Numbers: [13]
13,40 unequal: No Solution
Exploring Operation: 25+12=37, Resulting Numbers: [37]
37,40 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: 40:[25, 59, 47], Operations: ['76-29=47']
Exploring Operation: 59-25=34, Resulting Numbers: [47, 34]
Generated Node #0,0,0: 40:[47, 34] Operation: 59-25=34
Exploring Operation: 59-47=12, Resulting Numbers: [25, 12]
Generated Node #0,0,1: 40:[25, 12] Operation: 59-47=12
Moving to Node #0,0,1
Current State: 40:[25, 12], Operations: ['76-29=47', '59-47=12']
Exploring Operation: 25+12=37, Resulting Numbers: [37]
37,40 unequal: No Solution
Exploring Operation: 25-12=13, Resulting Numbers: [13]
13,40 unequal: No Solution
Moving to Node #0,0,0
Current State: 40:[47, 34], Operations: ['76-29=47', '59-25=34']
Exploring Operation: 47+34=81, Resulting Numbers: [81]
81,40 unequal: No Solution
Exploring Operation: 47-34=13, Resulting Numbers: [13]
13,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
7,
23,
48,
74
] | 56 | [
"7+23=30",
"74-48=26",
"30+26=56"
] | Current State: 56:[7, 23, 48, 74], Operations: []
Exploring Operation: 7+23=30, Resulting Numbers: [48, 74, 30]
Generated Node #2: [48, 74, 30] from Operation: 7+23=30
Current State: 56:[48, 74, 30], Operations: ['7+23=30']
Exploring Operation: 74-48=26, Resulting Numbers: [30, 26]
Generated Node #3: [30, 26] from Operation: 74-48=26
Current State: 56:[30, 26], Operations: ['7+23=30', '74-48=26']
Exploring Operation: 30+26=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[7, 23, 48, 74], Operations: []
Exploring Operation: 74-48=26, Resulting Numbers: [7, 23, 26]
Generated Node #0,0: 56:[7, 23, 26] Operation: 74-48=26
Exploring Operation: 74-23=51, Resulting Numbers: [7, 48, 51]
Generated Node #0,1: 56:[7, 48, 51] Operation: 74-23=51
Exploring Operation: 48-23=25, Resulting Numbers: [7, 74, 25]
Generated Node #0,2: 56:[7, 74, 25] Operation: 48-23=25
Moving to Node #0,0
Current State: 56:[7, 23, 26], Operations: ['74-48=26']
Exploring Operation: 26-23=3, Resulting Numbers: [7, 3]
Generated Node #0,0,0: 56:[7, 3] Operation: 26-23=3
Exploring Operation: 23-7=16, Resulting Numbers: [26, 16]
Generated Node #0,0,1: 56:[26, 16] Operation: 23-7=16
Exploring Operation: 7+23=30, Resulting Numbers: [26, 30]
Generated Node #0,0,2: 56:[26, 30] Operation: 7+23=30
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 56:[7, 3], Operations: ['74-48=26', '26-23=3']
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,56 unequal: No Solution
Exploring Operation: 7+3=10, Resulting Numbers: [10]
10,56 unequal: No Solution
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,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,0,1
Current State: 56:[26, 16], Operations: ['74-48=26', '23-7=16']
Exploring Operation: 26-16=10, Resulting Numbers: [10]
10,56 unequal: No Solution
Exploring Operation: 26*16=416, Resulting Numbers: [416]
416,56 unequal: No Solution
Exploring Operation: 26+16=42, Resulting Numbers: [42]
42,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,0,2
Current State: 56:[26, 30], Operations: ['74-48=26', '7+23=30']
Exploring Operation: 26+30=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[7, 23, 48, 74], Operations: []
Exploring Operation: 74-48=26, Resulting Numbers: [7, 23, 26]
Generated Node #0,0: 56:[7, 23, 26] Operation: 74-48=26
Moving to Node #0,0
Current State: 56:[7, 23, 26], Operations: ['74-48=26']
Exploring Operation: 7+23=30, Resulting Numbers: [26, 30]
Generated Node #0,0,2: 56:[26, 30] Operation: 7+23=30
Moving to Node #0,0,2
Current State: 56:[26, 30], Operations: ['74-48=26', '7+23=30']
Exploring Operation: 26+30=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_3 | mult_heuristic |
[
26,
55,
53,
85
] | 98 | [
"55-53=2",
"26/2=13",
"85+13=98"
] | Current State: 98:[26, 55, 53, 85], Operations: []
Exploring Operation: 55-53=2, Resulting Numbers: [26, 85, 2]
Generated Node #2: [26, 85, 2] from Operation: 55-53=2
Current State: 98:[26, 85, 2], Operations: ['55-53=2']
Exploring Operation: 26/2=13, Resulting Numbers: [85, 13]
Generated Node #3: [85, 13] from Operation: 26/2=13
Current State: 98:[85, 13], Operations: ['55-53=2', '26/2=13']
Exploring Operation: 85+13=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[26, 55, 53, 85], Operations: []
Exploring Operation: 85-26=59, Resulting Numbers: [55, 53, 59]
Generated Node #0,0: 98:[55, 53, 59] Operation: 85-26=59
Exploring Operation: 26+85=111, Resulting Numbers: [55, 53, 111]
Generated Node #0,1: 98:[55, 53, 111] Operation: 26+85=111
Exploring Operation: 55-53=2, Resulting Numbers: [26, 85, 2]
Generated Node #0,2: 98:[26, 85, 2] Operation: 55-53=2
Exploring Operation: 55-26=29, Resulting Numbers: [53, 85, 29]
Generated Node #0,3: 98:[53, 85, 29] Operation: 55-26=29
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[55, 53, 59], Operations: ['85-26=59']
Exploring Operation: 59-53=6, Resulting Numbers: [55, 6]
Generated Node #0,0,0: 98:[55, 6] Operation: 59-53=6
Exploring Operation: 55+53=108, Resulting Numbers: [59, 108]
Generated Node #0,0,1: 98:[59, 108] Operation: 55+53=108
Exploring Operation: 59-55=4, Resulting Numbers: [53, 4]
Generated Node #0,0,2: 98:[53, 4] Operation: 59-55=4
Exploring Operation: 55-53=2, Resulting Numbers: [59, 2]
Generated Node #0,0,3: 98:[59, 2] Operation: 55-53=2
Moving to Node #0,0,2
Current State: 98:[53, 4], Operations: ['85-26=59', '59-55=4']
Exploring Operation: 53*4=212, Resulting Numbers: [212]
212,98 unequal: No Solution
Exploring Operation: 53+4=57, Resulting Numbers: [57]
57,98 unequal: No Solution
Exploring Operation: 53-4=49, Resulting Numbers: [49]
49,98 unequal: No Solution
Moving to Node #0,0,0
Current State: 98:[55, 6], Operations: ['85-26=59', '59-53=6']
Exploring Operation: 55-6=49, Resulting Numbers: [49]
49,98 unequal: No Solution
Exploring Operation: 55*6=330, Resulting Numbers: [330]
330,98 unequal: No Solution
Exploring Operation: 55+6=61, Resulting Numbers: [61]
61,98 unequal: No Solution
Moving to Node #0,0,3
Current State: 98:[59, 2], Operations: ['85-26=59', '55-53=2']
Exploring Operation: 59-2=57, Resulting Numbers: [57]
57,98 unequal: No Solution
Exploring Operation: 59*2=118, Resulting Numbers: [118]
118,98 unequal: No Solution
Exploring Operation: 59+2=61, Resulting Numbers: [61]
61,98 unequal: No Solution
Moving to Node #0,0,1
Current State: 98:[59, 108], Operations: ['85-26=59', '55+53=108']
Exploring Operation: 59+108=167, Resulting Numbers: [167]
167,98 unequal: No Solution
Exploring Operation: 108-59=49, Resulting Numbers: [49]
49,98 unequal: No Solution
Exploring Operation: 59*108=6372, Resulting Numbers: [6372]
6372,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 98:[55, 53, 111], Operations: ['26+85=111']
Exploring Operation: 55-53=2, Resulting Numbers: [111, 2]
Generated Node #0,1,0: 98:[111, 2] Operation: 55-53=2
Exploring Operation: 111-55=56, Resulting Numbers: [53, 56]
Generated Node #0,1,1: 98:[53, 56] Operation: 111-55=56
Exploring Operation: 111-53=58, Resulting Numbers: [55, 58]
Generated Node #0,1,2: 98:[55, 58] Operation: 111-53=58
Exploring Operation: 55+53=108, Resulting Numbers: [111, 108]
Generated Node #0,1,3: 98:[111, 108] Operation: 55+53=108
Moving to Node #0,1,1
Current State: 98:[53, 56], Operations: ['26+85=111', '111-55=56']
Exploring Operation: 56-53=3, Resulting Numbers: [3]
3,98 unequal: No Solution
Exploring Operation: 53*56=2968, Resulting Numbers: [2968]
2968,98 unequal: No Solution
Exploring Operation: 53+56=109, Resulting Numbers: [109]
109,98 unequal: No Solution
Moving to Node #0,1,0
Current State: 98:[111, 2], Operations: ['26+85=111', '55-53=2']
Exploring Operation: 111-2=109, Resulting Numbers: [109]
109,98 unequal: No Solution
Exploring Operation: 111+2=113, Resulting Numbers: [113]
113,98 unequal: No Solution
Exploring Operation: 111*2=222, Resulting Numbers: [222]
222,98 unequal: No Solution
Moving to Node #0,1,2
Current State: 98:[55, 58], Operations: ['26+85=111', '111-53=58']
Exploring Operation: 55+58=113, Resulting Numbers: [113]
113,98 unequal: No Solution
Exploring Operation: 58-55=3, Resulting Numbers: [3]
3,98 unequal: No Solution
Exploring Operation: 55*58=3190, Resulting Numbers: [3190]
3190,98 unequal: No Solution
Moving to Node #0,1,3
Current State: 98:[111, 108], Operations: ['26+85=111', '55+53=108']
Exploring Operation: 111+108=219, Resulting Numbers: [219]
219,98 unequal: No Solution
Exploring Operation: 111*108=11988, Resulting Numbers: [11988]
11988,98 unequal: No Solution
Exploring Operation: 111-108=3, Resulting Numbers: [3]
3,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 98:[26, 85, 2], Operations: ['55-53=2']
Exploring Operation: 26*2=52, Resulting Numbers: [85, 52]
Generated Node #0,2,0: 98:[85, 52] Operation: 26*2=52
Exploring Operation: 85-26=59, Resulting Numbers: [2, 59]
Generated Node #0,2,1: 98:[2, 59] Operation: 85-26=59
Exploring Operation: 26/2=13, Resulting Numbers: [85, 13]
Generated Node #0,2,2: 98:[85, 13] Operation: 26/2=13
Exploring Operation: 26+85=111, Resulting Numbers: [2, 111]
Generated Node #0,2,3: 98:[2, 111] Operation: 26+85=111
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 98:[2, 59], Operations: ['55-53=2', '85-26=59']
Exploring Operation: 2+59=61, Resulting Numbers: [61]
61,98 unequal: No Solution
Exploring Operation: 59-2=57, Resulting Numbers: [57]
57,98 unequal: No Solution
Exploring Operation: 2*59=118, Resulting Numbers: [118]
118,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 98:[2, 111], Operations: ['55-53=2', '26+85=111']
Exploring Operation: 111-2=109, Resulting Numbers: [109]
109,98 unequal: No Solution
Exploring Operation: 2+111=113, Resulting Numbers: [113]
113,98 unequal: No Solution
Exploring Operation: 2*111=222, Resulting Numbers: [222]
222,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 98:[85, 13], Operations: ['55-53=2', '26/2=13']
Exploring Operation: 85*13=1105, Resulting Numbers: [1105]
1105,98 unequal: No Solution
Exploring Operation: 85+13=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[26, 55, 53, 85], Operations: []
Exploring Operation: 55-53=2, Resulting Numbers: [26, 85, 2]
Generated Node #0,2: 98:[26, 85, 2] Operation: 55-53=2
Moving to Node #0,2
Current State: 98:[26, 85, 2], Operations: ['55-53=2']
Exploring Operation: 26/2=13, Resulting Numbers: [85, 13]
Generated Node #0,2,2: 98:[85, 13] Operation: 26/2=13
Moving to Node #0,2,2
Current State: 98:[85, 13], Operations: ['55-53=2', '26/2=13']
Exploring Operation: 85+13=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.954861 | hs_4 | sum_heuristic |
[
40,
85,
38,
2
] | 54 | [
"85-38=47",
"2*47=94",
"94-40=54"
] | Current State: 54:[40, 85, 38, 2], Operations: []
Exploring Operation: 85-38=47, Resulting Numbers: [40, 2, 47]
Generated Node #2: [40, 2, 47] from Operation: 85-38=47
Current State: 54:[40, 2, 47], Operations: ['85-38=47']
Exploring Operation: 2*47=94, Resulting Numbers: [40, 94]
Generated Node #3: [40, 94] from Operation: 2*47=94
Current State: 54:[40, 94], Operations: ['85-38=47', '2*47=94']
Exploring Operation: 94-40=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[40, 85, 38, 2], Operations: []
Exploring Operation: 85-40=45, Resulting Numbers: [38, 2, 45]
Generated Node #0,0: 54:[38, 2, 45] Operation: 85-40=45
Moving to Node #0,0
Current State: 54:[38, 2, 45], Operations: ['85-40=45']
Exploring Operation: 45-38=7, Resulting Numbers: [2, 7]
Generated Node #0,0,0: 54:[2, 7] Operation: 45-38=7
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 54:[2, 7], Operations: ['85-40=45', '45-38=7']
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,54 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 |
[
28,
62,
46,
6
] | 60 | [
"28*6=168",
"62+46=108",
"168-108=60"
] | Current State: 60:[28, 62, 46, 6], Operations: []
Exploring Operation: 28*6=168, Resulting Numbers: [62, 46, 168]
Generated Node #2: [62, 46, 168] from Operation: 28*6=168
Current State: 60:[62, 46, 168], Operations: ['28*6=168']
Exploring Operation: 62+46=108, Resulting Numbers: [168, 108]
Generated Node #3: [168, 108] from Operation: 62+46=108
Current State: 60:[168, 108], Operations: ['28*6=168', '62+46=108']
Exploring Operation: 168-108=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[28, 62, 46, 6], Operations: []
Exploring Operation: 46+6=52, Resulting Numbers: [28, 62, 52]
Generated Node #0,0: 60:[28, 62, 52] Operation: 46+6=52
Exploring Operation: 62-46=16, Resulting Numbers: [28, 6, 16]
Generated Node #0,1: 60:[28, 6, 16] Operation: 62-46=16
Exploring Operation: 46-28=18, Resulting Numbers: [62, 6, 18]
Generated Node #0,2: 60:[62, 6, 18] Operation: 46-28=18
Moving to Node #0,1
Current State: 60:[28, 6, 16], Operations: ['62-46=16']
Exploring Operation: 28-16=12, Resulting Numbers: [6, 12]
Generated Node #0,1,0: 60:[6, 12] Operation: 28-16=12
Exploring Operation: 28-6=22, Resulting Numbers: [16, 22]
Generated Node #0,1,1: 60:[16, 22] Operation: 28-6=22
Exploring Operation: 16-6=10, Resulting Numbers: [28, 10]
Generated Node #0,1,2: 60:[28, 10] Operation: 16-6=10
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 60:[6, 12], Operations: ['62-46=16', '28-16=12']
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,60 unequal: No Solution
Exploring Operation: 6+12=18, Resulting Numbers: [18]
18,60 unequal: No Solution
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 60:[28, 10], Operations: ['62-46=16', '16-6=10']
Exploring Operation: 28*10=280, Resulting Numbers: [280]
280,60 unequal: No Solution
Exploring Operation: 28+10=38, Resulting Numbers: [38]
38,60 unequal: No Solution
Exploring Operation: 28-10=18, Resulting Numbers: [18]
18,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 60:[16, 22], Operations: ['62-46=16', '28-6=22']
Exploring Operation: 16*22=352, Resulting Numbers: [352]
352,60 unequal: No Solution
Exploring Operation: 22-16=6, Resulting Numbers: [6]
6,60 unequal: No Solution
Exploring Operation: 16+22=38, Resulting Numbers: [38]
38,60 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: 60:[62, 6, 18], Operations: ['46-28=18']
Exploring Operation: 62-6=56, Resulting Numbers: [18, 56]
Generated Node #0,2,0: 60:[18, 56] Operation: 62-6=56
Exploring Operation: 18/6=3, Resulting Numbers: [62, 3]
Generated Node #0,2,1: 60:[62, 3] Operation: 18/6=3
Exploring Operation: 18-6=12, Resulting Numbers: [62, 12]
Generated Node #0,2,2: 60:[62, 12] Operation: 18-6=12
Moving to Node #0,0
Current State: 60:[28, 62, 52], Operations: ['46+6=52']
Exploring Operation: 62-28=34, Resulting Numbers: [52, 34]
Generated Node #0,0,0: 60:[52, 34] Operation: 62-28=34
Exploring Operation: 52-28=24, Resulting Numbers: [62, 24]
Generated Node #0,0,1: 60:[62, 24] Operation: 52-28=24
Exploring Operation: 62-52=10, Resulting Numbers: [28, 10]
Generated Node #0,0,2: 60:[28, 10] Operation: 62-52=10
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 60:[28, 10], Operations: ['46+6=52', '62-52=10']
Exploring Operation: 28*10=280, Resulting Numbers: [280]
280,60 unequal: No Solution
Exploring Operation: 28+10=38, Resulting Numbers: [38]
38,60 unequal: No Solution
Exploring Operation: 28-10=18, Resulting Numbers: [18]
18,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 60:[62, 24], Operations: ['46+6=52', '52-28=24']
Exploring Operation: 62+24=86, Resulting Numbers: [86]
86,60 unequal: No Solution
Exploring Operation: 62*24=1488, Resulting Numbers: [1488]
1488,60 unequal: No Solution
Exploring Operation: 62-24=38, Resulting Numbers: [38]
38,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 60:[52, 34], Operations: ['46+6=52', '62-28=34']
Exploring Operation: 52-34=18, Resulting Numbers: [18]
18,60 unequal: No Solution
Exploring Operation: 52*34=1768, Resulting Numbers: [1768]
1768,60 unequal: No Solution
Exploring Operation: 52+34=86, Resulting Numbers: [86]
86,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,1
Current State: 60:[62, 3], Operations: ['46-28=18', '18/6=3']
Exploring Operation: 62*3=186, Resulting Numbers: [186]
186,60 unequal: No Solution
Exploring Operation: 62-3=59, Resulting Numbers: [59]
59,60 unequal: No Solution
Exploring Operation: 62+3=65, Resulting Numbers: [65]
65,60 unequal: No Solution
Moving to Node #0,2,2
Current State: 60:[62, 12], Operations: ['46-28=18', '18-6=12']
Exploring Operation: 62*12=744, Resulting Numbers: [744]
744,60 unequal: No Solution
Exploring Operation: 62+12=74, Resulting Numbers: [74]
74,60 unequal: No Solution
Exploring Operation: 62-12=50, Resulting Numbers: [50]
50,60 unequal: No Solution
Moving to Node #0,2,0
Current State: 60:[18, 56], Operations: ['46-28=18', '62-6=56']
Exploring Operation: 18+56=74, Resulting Numbers: [74]
74,60 unequal: No Solution
Exploring Operation: 18*56=1008, Resulting Numbers: [1008]
1008,60 unequal: No Solution
Exploring Operation: 56-18=38, Resulting Numbers: [38]
38,60 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
51,
86,
82,
7
] | 40 | [
"86-51=35",
"82-7=75",
"75-35=40"
] | Current State: 40:[51, 86, 82, 7], Operations: []
Exploring Operation: 86-51=35, Resulting Numbers: [82, 7, 35]
Generated Node #2: [82, 7, 35] from Operation: 86-51=35
Current State: 40:[82, 7, 35], Operations: ['86-51=35']
Exploring Operation: 82-7=75, Resulting Numbers: [35, 75]
Generated Node #3: [35, 75] from Operation: 82-7=75
Current State: 40:[35, 75], Operations: ['86-51=35', '82-7=75']
Exploring Operation: 75-35=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[51, 86, 82, 7], Operations: []
Exploring Operation: 86-51=35, Resulting Numbers: [82, 7, 35]
Generated Node #0,0: 40:[82, 7, 35] Operation: 86-51=35
Exploring Operation: 86-82=4, Resulting Numbers: [51, 7, 4]
Generated Node #0,1: 40:[51, 7, 4] Operation: 86-82=4
Exploring Operation: 82-51=31, Resulting Numbers: [86, 7, 31]
Generated Node #0,2: 40:[86, 7, 31] Operation: 82-51=31
Start Sub Search at level 1: Moving to Node #0,1
Current State: 40:[51, 7, 4], Operations: ['86-82=4']
Exploring Operation: 51-7=44, Resulting Numbers: [4, 44]
Generated Node #0,1,0: 40:[4, 44] Operation: 51-7=44
Exploring Operation: 51-4=47, Resulting Numbers: [7, 47]
Generated Node #0,1,1: 40:[7, 47] Operation: 51-4=47
Exploring Operation: 7+4=11, Resulting Numbers: [51, 11]
Generated Node #0,1,2: 40:[51, 11] Operation: 7+4=11
Moving to Node #0,1,0
Current State: 40:[4, 44], Operations: ['86-82=4', '51-7=44']
Exploring Operation: 4+44=48, Resulting Numbers: [48]
48,40 unequal: No Solution
Exploring Operation: 44/4=11, Resulting Numbers: [11]
11,40 unequal: No Solution
Exploring Operation: 44-4=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[51, 86, 82, 7], Operations: []
Exploring Operation: 86-82=4, Resulting Numbers: [51, 7, 4]
Generated Node #0,1: 40:[51, 7, 4] Operation: 86-82=4
Moving to Node #0,1
Current State: 40:[51, 7, 4], Operations: ['86-82=4']
Exploring Operation: 51-7=44, Resulting Numbers: [4, 44]
Generated Node #0,1,0: 40:[4, 44] Operation: 51-7=44
Moving to Node #0,1,0
Current State: 40:[4, 44], Operations: ['86-82=4', '51-7=44']
Exploring Operation: 44-4=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
93,
10,
83,
88
] | 87 | [
"93-10=83",
"83/83=1",
"88-1=87"
] | Current State: 87:[93, 10, 83, 88], Operations: []
Exploring Operation: 93-10=83, Resulting Numbers: [83, 88, 83]
Generated Node #2: [83, 88, 83] from Operation: 93-10=83
Current State: 87:[83, 88, 83], Operations: ['93-10=83']
Exploring Operation: 83/83=1, Resulting Numbers: [88, 1]
Generated Node #3: [88, 1] from Operation: 83/83=1
Current State: 87:[88, 1], Operations: ['93-10=83', '83/83=1']
Exploring Operation: 88-1=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[93, 10, 83, 88], Operations: []
Exploring Operation: 93-10=83, Resulting Numbers: [83, 88, 83]
Generated Node #0,0: 87:[83, 88, 83] Operation: 93-10=83
Moving to Node #0,0
Current State: 87:[83, 88, 83], Operations: ['93-10=83']
Exploring Operation: 83/83=1, Resulting Numbers: [88, 1]
Generated Node #0,0,0: 87:[88, 1] Operation: 83/83=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 87:[88, 1], Operations: ['93-10=83', '83/83=1']
Exploring Operation: 88-1=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[93, 10, 83, 88], Operations: []
Exploring Operation: 93-10=83, Resulting Numbers: [83, 88, 83]
Generated Node #0,0: 87:[83, 88, 83] Operation: 93-10=83
Moving to Node #0,0
Current State: 87:[83, 88, 83], Operations: ['93-10=83']
Exploring Operation: 83/83=1, Resulting Numbers: [88, 1]
Generated Node #0,0,0: 87:[88, 1] Operation: 83/83=1
Moving to Node #0,0,0
Current State: 87:[88, 1], Operations: ['93-10=83', '83/83=1']
Exploring Operation: 88-1=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
38,
5,
25,
8
] | 25 | [
"38-25=13",
"13-8=5",
"5*5=25"
] | Current State: 25:[38, 5, 25, 8], Operations: []
Exploring Operation: 38-25=13, Resulting Numbers: [5, 8, 13]
Generated Node #2: [5, 8, 13] from Operation: 38-25=13
Current State: 25:[5, 8, 13], Operations: ['38-25=13']
Exploring Operation: 13-8=5, Resulting Numbers: [5, 5]
Generated Node #3: [5, 5] from Operation: 13-8=5
Current State: 25:[5, 5], Operations: ['38-25=13', '13-8=5']
Exploring Operation: 5*5=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[38, 5, 25, 8], Operations: []
Exploring Operation: 38-8=30, Resulting Numbers: [5, 25, 30]
Generated Node #0,0: 25:[5, 25, 30] Operation: 38-8=30
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[5, 25, 30], Operations: ['38-8=30']
Exploring Operation: 30-5=25, Resulting Numbers: [25, 25]
Generated Node #0,0,0: 25:[25, 25] Operation: 30-5=25
Moving to Node #0,0,0
Current State: 25:[25, 25], Operations: ['38-8=30', '30-5=25']
Exploring Operation: 25/25=1, Resulting Numbers: [1]
1,25 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 |
[
92,
63,
90,
73
] | 46 | [
"92-63=29",
"90-73=17",
"29+17=46"
] | Current State: 46:[92, 63, 90, 73], Operations: []
Exploring Operation: 92-63=29, Resulting Numbers: [90, 73, 29]
Generated Node #2: [90, 73, 29] from Operation: 92-63=29
Current State: 46:[90, 73, 29], Operations: ['92-63=29']
Exploring Operation: 90-73=17, Resulting Numbers: [29, 17]
Generated Node #3: [29, 17] from Operation: 90-73=17
Current State: 46:[29, 17], Operations: ['92-63=29', '90-73=17']
Exploring Operation: 29+17=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[92, 63, 90, 73], Operations: []
Exploring Operation: 92-90=2, Resulting Numbers: [63, 73, 2]
Generated Node #0,0: 46:[63, 73, 2] Operation: 92-90=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 46:[63, 73, 2], Operations: ['92-90=2']
Exploring Operation: 73-63=10, Resulting Numbers: [2, 10]
Generated Node #0,0,0: 46:[2, 10] Operation: 73-63=10
Moving to Node #0,0,0
Current State: 46:[2, 10], Operations: ['92-90=2', '73-63=10']
Exploring Operation: 2*10=20, Resulting Numbers: [20]
20,46 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 |
[
13,
22,
3,
1
] | 31 | [
"13+22=35",
"3+1=4",
"35-4=31"
] | Current State: 31:[13, 22, 3, 1], Operations: []
Exploring Operation: 13+22=35, Resulting Numbers: [3, 1, 35]
Generated Node #2: [3, 1, 35] from Operation: 13+22=35
Current State: 31:[3, 1, 35], Operations: ['13+22=35']
Exploring Operation: 3+1=4, Resulting Numbers: [35, 4]
Generated Node #3: [35, 4] from Operation: 3+1=4
Current State: 31:[35, 4], Operations: ['13+22=35', '3+1=4']
Exploring Operation: 35-4=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[13, 22, 3, 1], Operations: []
Exploring Operation: 13+1=14, Resulting Numbers: [22, 3, 14]
Generated Node #0,0: 31:[22, 3, 14] Operation: 13+1=14
Exploring Operation: 13+3=16, Resulting Numbers: [22, 1, 16]
Generated Node #0,1: 31:[22, 1, 16] Operation: 13+3=16
Exploring Operation: 13*3=39, Resulting Numbers: [22, 1, 39]
Generated Node #0,2: 31:[22, 1, 39] Operation: 13*3=39
Moving to Node #0,2
Current State: 31:[22, 1, 39], Operations: ['13*3=39']
Exploring Operation: 22+1=23, Resulting Numbers: [39, 23]
Generated Node #0,2,0: 31:[39, 23] Operation: 22+1=23
Exploring Operation: 39-1=38, Resulting Numbers: [22, 38]
Generated Node #0,2,1: 31:[22, 38] Operation: 39-1=38
Exploring Operation: 22*1=22, Resulting Numbers: [39, 22]
Generated Node #0,2,2: 31:[39, 22] Operation: 22*1=22
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 31:[39, 23], Operations: ['13*3=39', '22+1=23']
Exploring Operation: 39*23=897, Resulting Numbers: [897]
897,31 unequal: No Solution
Exploring Operation: 39-23=16, Resulting Numbers: [16]
16,31 unequal: No Solution
Exploring Operation: 39+23=62, Resulting Numbers: [62]
62,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 31:[22, 38], Operations: ['13*3=39', '39-1=38']
Exploring Operation: 22+38=60, Resulting Numbers: [60]
60,31 unequal: No Solution
Exploring Operation: 38-22=16, Resulting Numbers: [16]
16,31 unequal: No Solution
Exploring Operation: 22*38=836, Resulting Numbers: [836]
836,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 31:[39, 22], Operations: ['13*3=39', '22*1=22']
Exploring Operation: 39-22=17, Resulting Numbers: [17]
17,31 unequal: No Solution
Exploring Operation: 39+22=61, Resulting Numbers: [61]
61,31 unequal: No Solution
Exploring Operation: 39*22=858, Resulting Numbers: [858]
858,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 31:[22, 3, 14], Operations: ['13+1=14']
Exploring Operation: 22+3=25, Resulting Numbers: [14, 25]
Generated Node #0,0,0: 31:[14, 25] Operation: 22+3=25
Exploring Operation: 3+14=17, Resulting Numbers: [22, 17]
Generated Node #0,0,1: 31:[22, 17] Operation: 3+14=17
Exploring Operation: 3*14=42, Resulting Numbers: [22, 42]
Generated Node #0,0,2: 31:[22, 42] Operation: 3*14=42
Moving to Node #0,1
Current State: 31:[22, 1, 16], Operations: ['13+3=16']
Exploring Operation: 22*1=22, Resulting Numbers: [16, 22]
Generated Node #0,1,0: 31:[16, 22] Operation: 22*1=22
Exploring Operation: 1+16=17, Resulting Numbers: [22, 17]
Generated Node #0,1,1: 31:[22, 17] Operation: 1+16=17
Exploring Operation: 22+1=23, Resulting Numbers: [16, 23]
Generated Node #0,1,2: 31:[16, 23] Operation: 22+1=23
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 31:[22, 17], Operations: ['13+3=16', '1+16=17']
Exploring Operation: 22*17=374, Resulting Numbers: [374]
374,31 unequal: No Solution
Exploring Operation: 22+17=39, Resulting Numbers: [39]
39,31 unequal: No Solution
Exploring Operation: 22-17=5, Resulting Numbers: [5]
5,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 31:[16, 23], Operations: ['13+3=16', '22+1=23']
Exploring Operation: 23-16=7, Resulting Numbers: [7]
7,31 unequal: No Solution
Exploring Operation: 16*23=368, Resulting Numbers: [368]
368,31 unequal: No Solution
Exploring Operation: 16+23=39, Resulting Numbers: [39]
39,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 31:[16, 22], Operations: ['13+3=16', '22*1=22']
Exploring Operation: 16*22=352, Resulting Numbers: [352]
352,31 unequal: No Solution
Exploring Operation: 22-16=6, Resulting Numbers: [6]
6,31 unequal: No Solution
Exploring Operation: 16+22=38, Resulting Numbers: [38]
38,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,2
Current State: 31:[22, 42], Operations: ['13+1=14', '3*14=42']
Exploring Operation: 42-22=20, Resulting Numbers: [20]
20,31 unequal: No Solution
Exploring Operation: 22+42=64, Resulting Numbers: [64]
64,31 unequal: No Solution
Exploring Operation: 22*42=924, Resulting Numbers: [924]
924,31 unequal: No Solution
Moving to Node #0,0,0
Current State: 31:[14, 25], Operations: ['13+1=14', '22+3=25']
Exploring Operation: 14+25=39, Resulting Numbers: [39]
39,31 unequal: No Solution
Exploring Operation: 14*25=350, Resulting Numbers: [350]
350,31 unequal: No Solution
Exploring Operation: 25-14=11, Resulting Numbers: [11]
11,31 unequal: No Solution
Moving to Node #0,0,1
Current State: 31:[22, 17], Operations: ['13+1=14', '3+14=17']
Exploring Operation: 22*17=374, Resulting Numbers: [374]
374,31 unequal: No Solution
Exploring Operation: 22-17=5, Resulting Numbers: [5]
5,31 unequal: No Solution
Exploring Operation: 22+17=39, Resulting Numbers: [39]
39,31 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
21,
72,
66,
8
] | 28 | [
"21*8=168",
"72-66=6",
"168/6=28"
] | Current State: 28:[21, 72, 66, 8], Operations: []
Exploring Operation: 21*8=168, Resulting Numbers: [72, 66, 168]
Generated Node #2: [72, 66, 168] from Operation: 21*8=168
Current State: 28:[72, 66, 168], Operations: ['21*8=168']
Exploring Operation: 72-66=6, Resulting Numbers: [168, 6]
Generated Node #3: [168, 6] from Operation: 72-66=6
Current State: 28:[168, 6], Operations: ['21*8=168', '72-66=6']
Exploring Operation: 168/6=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[21, 72, 66, 8], Operations: []
Exploring Operation: 66-21=45, Resulting Numbers: [72, 8, 45]
Generated Node #0,0: 28:[72, 8, 45] Operation: 66-21=45
Exploring Operation: 72-21=51, Resulting Numbers: [66, 8, 51]
Generated Node #0,1: 28:[66, 8, 51] Operation: 72-21=51
Exploring Operation: 72/8=9, Resulting Numbers: [21, 66, 9]
Generated Node #0,2: 28:[21, 66, 9] Operation: 72/8=9
Exploring Operation: 72-66=6, Resulting Numbers: [21, 8, 6]
Generated Node #0,3: 28:[21, 8, 6] Operation: 72-66=6
Start Sub Search at level 1: Moving to Node #0,3
Current State: 28:[21, 8, 6], Operations: ['72-66=6']
Exploring Operation: 21+8=29, Resulting Numbers: [6, 29]
Generated Node #0,3,0: 28:[6, 29] Operation: 21+8=29
Exploring Operation: 21-8=13, Resulting Numbers: [6, 13]
Generated Node #0,3,1: 28:[6, 13] Operation: 21-8=13
Exploring Operation: 21+6=27, Resulting Numbers: [8, 27]
Generated Node #0,3,2: 28:[8, 27] Operation: 21+6=27
Exploring Operation: 21-6=15, Resulting Numbers: [8, 15]
Generated Node #0,3,3: 28:[8, 15] Operation: 21-6=15
Moving to Node #0,3,0
Current State: 28:[6, 29], Operations: ['72-66=6', '21+8=29']
Exploring Operation: 6*29=174, Resulting Numbers: [174]
174,28 unequal: No Solution
Exploring Operation: 29-6=23, Resulting Numbers: [23]
23,28 unequal: No Solution
Exploring Operation: 6+29=35, Resulting Numbers: [35]
35,28 unequal: No Solution
Moving to Node #0,3,2
Current State: 28:[8, 27], Operations: ['72-66=6', '21+6=27']
Exploring Operation: 8+27=35, Resulting Numbers: [35]
35,28 unequal: No Solution
Exploring Operation: 8*27=216, Resulting Numbers: [216]
216,28 unequal: No Solution
Exploring Operation: 27-8=19, Resulting Numbers: [19]
19,28 unequal: No Solution
Moving to Node #0,3,1
Current State: 28:[6, 13], Operations: ['72-66=6', '21-8=13']
Exploring Operation: 6+13=19, Resulting Numbers: [19]
19,28 unequal: No Solution
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,28 unequal: No Solution
Exploring Operation: 6*13=78, Resulting Numbers: [78]
78,28 unequal: No Solution
Moving to Node #0,3,3
Current State: 28:[8, 15], Operations: ['72-66=6', '21-6=15']
Exploring Operation: 8+15=23, Resulting Numbers: [23]
23,28 unequal: No Solution
Exploring Operation: 8*15=120, Resulting Numbers: [120]
120,28 unequal: No Solution
Exploring Operation: 15-8=7, Resulting Numbers: [7]
7,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 28:[21, 66, 9], Operations: ['72/8=9']
Exploring Operation: 21+9=30, Resulting Numbers: [66, 30]
Generated Node #0,2,0: 28:[66, 30] Operation: 21+9=30
Exploring Operation: 66-21=45, Resulting Numbers: [9, 45]
Generated Node #0,2,1: 28:[9, 45] Operation: 66-21=45
Exploring Operation: 21-9=12, Resulting Numbers: [66, 12]
Generated Node #0,2,2: 28:[66, 12] Operation: 21-9=12
Exploring Operation: 66-9=57, Resulting Numbers: [21, 57]
Generated Node #0,2,3: 28:[21, 57] Operation: 66-9=57
Moving to Node #0,2,1
Current State: 28:[9, 45], Operations: ['72/8=9', '66-21=45']
Exploring Operation: 9+45=54, Resulting Numbers: [54]
54,28 unequal: No Solution
Exploring Operation: 9*45=405, Resulting Numbers: [405]
405,28 unequal: No Solution
Exploring Operation: 45-9=36, Resulting Numbers: [36]
36,28 unequal: No Solution
Exploring Operation: 45/9=5, Resulting Numbers: [5]
5,28 unequal: No Solution
Moving to Node #0,2,3
Current State: 28:[21, 57], Operations: ['72/8=9', '66-9=57']
Exploring Operation: 21*57=1197, Resulting Numbers: [1197]
1197,28 unequal: No Solution
Exploring Operation: 57-21=36, Resulting Numbers: [36]
36,28 unequal: No Solution
Exploring Operation: 21+57=78, Resulting Numbers: [78]
78,28 unequal: No Solution
Moving to Node #0,2,2
Current State: 28:[66, 12], Operations: ['72/8=9', '21-9=12']
Exploring Operation: 66*12=792, Resulting Numbers: [792]
792,28 unequal: No Solution
Exploring Operation: 66+12=78, Resulting Numbers: [78]
78,28 unequal: No Solution
Exploring Operation: 66-12=54, Resulting Numbers: [54]
54,28 unequal: No Solution
Moving to Node #0,2,0
Current State: 28:[66, 30], Operations: ['72/8=9', '21+9=30']
Exploring Operation: 66-30=36, Resulting Numbers: [36]
36,28 unequal: No Solution
Exploring Operation: 66*30=1980, Resulting Numbers: [1980]
1980,28 unequal: No Solution
Exploring Operation: 66+30=96, Resulting Numbers: [96]
96,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[72, 8, 45], Operations: ['66-21=45']
Exploring Operation: 72-45=27, Resulting Numbers: [8, 27]
Generated Node #0,0,0: 28:[8, 27] Operation: 72-45=27
Exploring Operation: 72/8=9, Resulting Numbers: [45, 9]
Generated Node #0,0,1: 28:[45, 9] Operation: 72/8=9
Exploring Operation: 45-8=37, Resulting Numbers: [72, 37]
Generated Node #0,0,2: 28:[72, 37] Operation: 45-8=37
Exploring Operation: 72-8=64, Resulting Numbers: [45, 64]
Generated Node #0,0,3: 28:[45, 64] Operation: 72-8=64
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 28:[8, 27], Operations: ['66-21=45', '72-45=27']
Exploring Operation: 27-8=19, Resulting Numbers: [19]
19,28 unequal: No Solution
Exploring Operation: 8*27=216, Resulting Numbers: [216]
216,28 unequal: No Solution
Exploring Operation: 8+27=35, Resulting Numbers: [35]
35,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 28:[45, 9], Operations: ['66-21=45', '72/8=9']
Exploring Operation: 45/9=5, Resulting Numbers: [5]
5,28 unequal: No Solution
Exploring Operation: 45*9=405, Resulting Numbers: [405]
405,28 unequal: No Solution
Exploring Operation: 45-9=36, Resulting Numbers: [36]
36,28 unequal: No Solution
Exploring Operation: 45+9=54, Resulting Numbers: [54]
54,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 28:[72, 37], Operations: ['66-21=45', '45-8=37']
Exploring Operation: 72-37=35, Resulting Numbers: [35]
35,28 unequal: No Solution
Exploring Operation: 72*37=2664, Resulting Numbers: [2664]
2664,28 unequal: No Solution
Exploring Operation: 72+37=109, Resulting Numbers: [109]
109,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 28:[45, 64], Operations: ['66-21=45', '72-8=64']
Exploring Operation: 45+64=109, Resulting Numbers: [109]
109,28 unequal: No Solution
Exploring Operation: 64-45=19, Resulting Numbers: [19]
19,28 unequal: No Solution
Exploring Operation: 45*64=2880, Resulting Numbers: [2880]
2880,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 28:[66, 8, 51], Operations: ['72-21=51']
Exploring Operation: 66+8=74, Resulting Numbers: [51, 74]
Generated Node #0,1,0: 28:[51, 74] Operation: 66+8=74
Exploring Operation: 51-8=43, Resulting Numbers: [66, 43]
Generated Node #0,1,1: 28:[66, 43] Operation: 51-8=43
Exploring Operation: 66-8=58, Resulting Numbers: [51, 58]
Generated Node #0,1,2: 28:[51, 58] Operation: 66-8=58
Exploring Operation: 66-51=15, Resulting Numbers: [8, 15]
Generated Node #0,1,3: 28:[8, 15] Operation: 66-51=15
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 28:[8, 15], Operations: ['72-21=51', '66-51=15']
Exploring Operation: 8*15=120, Resulting Numbers: [120]
120,28 unequal: No Solution
Exploring Operation: 8+15=23, Resulting Numbers: [23]
23,28 unequal: No Solution
Exploring Operation: 15-8=7, Resulting Numbers: [7]
7,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 28:[66, 43], Operations: ['72-21=51', '51-8=43']
Exploring Operation: 66+43=109, Resulting Numbers: [109]
109,28 unequal: No Solution
Exploring Operation: 66-43=23, Resulting Numbers: [23]
23,28 unequal: No Solution
Exploring Operation: 66*43=2838, Resulting Numbers: [2838]
2838,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 28:[51, 58], Operations: ['72-21=51', '66-8=58']
Exploring Operation: 51+58=109, Resulting Numbers: [109]
109,28 unequal: No Solution
Exploring Operation: 51*58=2958, Resulting Numbers: [2958]
2958,28 unequal: No Solution
Exploring Operation: 58-51=7, Resulting Numbers: [7]
7,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 28:[51, 74], Operations: ['72-21=51', '66+8=74']
Exploring Operation: 74-51=23, Resulting Numbers: [23]
23,28 unequal: No Solution
Exploring Operation: 51*74=3774, Resulting Numbers: [3774]
3774,28 unequal: No Solution
Exploring Operation: 51+74=125, Resulting Numbers: [125]
125,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
94,
42,
21,
3
] | 73 | [
"94+42=136",
"21*3=63",
"136-63=73"
] | Current State: 73:[94, 42, 21, 3], Operations: []
Exploring Operation: 94+42=136, Resulting Numbers: [21, 3, 136]
Generated Node #2: [21, 3, 136] from Operation: 94+42=136
Current State: 73:[21, 3, 136], Operations: ['94+42=136']
Exploring Operation: 21*3=63, Resulting Numbers: [136, 63]
Generated Node #3: [136, 63] from Operation: 21*3=63
Current State: 73:[136, 63], Operations: ['94+42=136', '21*3=63']
Exploring Operation: 136-63=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[94, 42, 21, 3], Operations: []
Exploring Operation: 94-21=73, Resulting Numbers: [42, 3, 73]
Generated Node #0,0: 73:[42, 3, 73] Operation: 94-21=73
Exploring Operation: 42+21=63, Resulting Numbers: [94, 3, 63]
Generated Node #0,1: 73:[94, 3, 63] Operation: 42+21=63
Exploring Operation: 42+3=45, Resulting Numbers: [94, 21, 45]
Generated Node #0,2: 73:[94, 21, 45] Operation: 42+3=45
Exploring Operation: 94-3=91, Resulting Numbers: [42, 21, 91]
Generated Node #0,3: 73:[42, 21, 91] Operation: 94-3=91
Exploring Operation: 21*3=63, Resulting Numbers: [94, 42, 63]
Generated Node #0,4: 73:[94, 42, 63] Operation: 21*3=63
Moving to Node #0,4
Current State: 73:[94, 42, 63], Operations: ['21*3=63']
Exploring Operation: 63-42=21, Resulting Numbers: [94, 21]
Generated Node #0,4,0: 73:[94, 21] Operation: 63-42=21
Exploring Operation: 42+63=105, Resulting Numbers: [94, 105]
Generated Node #0,4,1: 73:[94, 105] Operation: 42+63=105
Exploring Operation: 94+42=136, Resulting Numbers: [63, 136]
Generated Node #0,4,2: 73:[63, 136] Operation: 94+42=136
Exploring Operation: 94-63=31, Resulting Numbers: [42, 31]
Generated Node #0,4,3: 73:[42, 31] Operation: 94-63=31
Exploring Operation: 94-42=52, Resulting Numbers: [63, 52]
Generated Node #0,4,4: 73:[63, 52] Operation: 94-42=52
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 73:[63, 52], Operations: ['21*3=63', '94-42=52']
Exploring Operation: 63+52=115, Resulting Numbers: [115]
115,73 unequal: No Solution
Exploring Operation: 63-52=11, Resulting Numbers: [11]
11,73 unequal: No Solution
Exploring Operation: 63*52=3276, Resulting Numbers: [3276]
3276,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,4,1
Current State: 73:[94, 105], Operations: ['21*3=63', '42+63=105']
Exploring Operation: 94*105=9870, Resulting Numbers: [9870]
9870,73 unequal: No Solution
Exploring Operation: 94+105=199, Resulting Numbers: [199]
199,73 unequal: No Solution
Exploring Operation: 105-94=11, Resulting Numbers: [11]
11,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,4,0
Current State: 73:[94, 21], Operations: ['21*3=63', '63-42=21']
Exploring Operation: 94+21=115, Resulting Numbers: [115]
115,73 unequal: No Solution
Exploring Operation: 94-21=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[94, 42, 21, 3], Operations: []
Exploring Operation: 21*3=63, Resulting Numbers: [94, 42, 63]
Generated Node #0,4: 73:[94, 42, 63] Operation: 21*3=63
Moving to Node #0,4
Current State: 73:[94, 42, 63], Operations: ['21*3=63']
Exploring Operation: 63-42=21, Resulting Numbers: [94, 21]
Generated Node #0,4,0: 73:[94, 21] Operation: 63-42=21
Moving to Node #0,4,0
Current State: 73:[94, 21], Operations: ['21*3=63', '63-42=21']
Exploring Operation: 94-21=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_5 | mult_heuristic |
[
18,
60,
56,
4
] | 92 | [
"18+60=78",
"56/4=14",
"78+14=92"
] | Current State: 92:[18, 60, 56, 4], Operations: []
Exploring Operation: 18+60=78, Resulting Numbers: [56, 4, 78]
Generated Node #2: [56, 4, 78] from Operation: 18+60=78
Current State: 92:[56, 4, 78], Operations: ['18+60=78']
Exploring Operation: 56/4=14, Resulting Numbers: [78, 14]
Generated Node #3: [78, 14] from Operation: 56/4=14
Current State: 92:[78, 14], Operations: ['18+60=78', '56/4=14']
Exploring Operation: 78+14=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[18, 60, 56, 4], Operations: []
Exploring Operation: 60-56=4, Resulting Numbers: [18, 4, 4]
Generated Node #0,0: 92:[18, 4, 4] Operation: 60-56=4
Exploring Operation: 60-18=42, Resulting Numbers: [56, 4, 42]
Generated Node #0,1: 92:[56, 4, 42] Operation: 60-18=42
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[18, 4, 4], Operations: ['60-56=4']
Exploring Operation: 18+4=22, Resulting Numbers: [4, 22]
Generated Node #0,0,0: 92:[4, 22] Operation: 18+4=22
Exploring Operation: 18+4=22, Resulting Numbers: [4, 22]
Generated Node #0,0,1: 92:[4, 22] Operation: 18+4=22
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 92:[4, 22], Operations: ['60-56=4', '18+4=22']
Exploring Operation: 4+22=26, Resulting Numbers: [26]
26,92 unequal: No Solution
Exploring Operation: 4*22=88, Resulting Numbers: [88]
88,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 92:[4, 22], Operations: ['60-56=4', '18+4=22']
Exploring Operation: 4*22=88, Resulting Numbers: [88]
88,92 unequal: No Solution
Exploring Operation: 4+22=26, Resulting Numbers: [26]
26,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 92:[56, 4, 42], Operations: ['60-18=42']
Exploring Operation: 56-42=14, Resulting Numbers: [4, 14]
Generated Node #0,1,0: 92:[4, 14] Operation: 56-42=14
Exploring Operation: 56+42=98, Resulting Numbers: [4, 98]
Generated Node #0,1,1: 92:[4, 98] Operation: 56+42=98
Moving to Node #0,1,1
Current State: 92:[4, 98], Operations: ['60-18=42', '56+42=98']
Exploring Operation: 4+98=102, Resulting Numbers: [102]
102,92 unequal: No Solution
Exploring Operation: 98-4=94, Resulting Numbers: [94]
94,92 unequal: No Solution
Moving to Node #0,1,0
Current State: 92:[4, 14], Operations: ['60-18=42', '56-42=14']
Exploring Operation: 4+14=18, Resulting Numbers: [18]
18,92 unequal: No Solution
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
9,
29,
87,
28
] | 55 | [
"9*87=783",
"783/29=27",
"28+27=55"
] | Current State: 55:[9, 29, 87, 28], Operations: []
Exploring Operation: 9*87=783, Resulting Numbers: [29, 28, 783]
Generated Node #2: [29, 28, 783] from Operation: 9*87=783
Current State: 55:[29, 28, 783], Operations: ['9*87=783']
Exploring Operation: 783/29=27, Resulting Numbers: [28, 27]
Generated Node #3: [28, 27] from Operation: 783/29=27
Current State: 55:[28, 27], Operations: ['9*87=783', '783/29=27']
Exploring Operation: 28+27=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[9, 29, 87, 28], Operations: []
Exploring Operation: 87/29=3, Resulting Numbers: [9, 28, 3]
Generated Node #0,0: 55:[9, 28, 3] Operation: 87/29=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[9, 28, 3], Operations: ['87/29=3']
Exploring Operation: 28-9=19, Resulting Numbers: [3, 19]
Generated Node #0,0,0: 55:[3, 19] Operation: 28-9=19
Moving to Node #0,0,0
Current State: 55:[3, 19], Operations: ['87/29=3', '28-9=19']
Exploring Operation: 3*19=57, Resulting Numbers: [57]
57,55 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 |
[
17,
22,
6,
56
] | 58 | [
"17-6=11",
"22/11=2",
"56+2=58"
] | Current State: 58:[17, 22, 6, 56], Operations: []
Exploring Operation: 17-6=11, Resulting Numbers: [22, 56, 11]
Generated Node #2: [22, 56, 11] from Operation: 17-6=11
Current State: 58:[22, 56, 11], Operations: ['17-6=11']
Exploring Operation: 22/11=2, Resulting Numbers: [56, 2]
Generated Node #3: [56, 2] from Operation: 22/11=2
Current State: 58:[56, 2], Operations: ['17-6=11', '22/11=2']
Exploring Operation: 56+2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[17, 22, 6, 56], Operations: []
Exploring Operation: 17+6=23, Resulting Numbers: [22, 56, 23]
Generated Node #0,0: 58:[22, 56, 23] Operation: 17+6=23
Exploring Operation: 22+6=28, Resulting Numbers: [17, 56, 28]
Generated Node #0,1: 58:[17, 56, 28] Operation: 22+6=28
Exploring Operation: 22-17=5, Resulting Numbers: [6, 56, 5]
Generated Node #0,2: 58:[6, 56, 5] Operation: 22-17=5
Exploring Operation: 17+22=39, Resulting Numbers: [6, 56, 39]
Generated Node #0,3: 58:[6, 56, 39] Operation: 17+22=39
Moving to Node #0,2
Current State: 58:[6, 56, 5], Operations: ['22-17=5']
Exploring Operation: 6+56=62, Resulting Numbers: [5, 62]
Generated Node #0,2,0: 58:[5, 62] Operation: 6+56=62
Exploring Operation: 56+5=61, Resulting Numbers: [6, 61]
Generated Node #0,2,1: 58:[6, 61] Operation: 56+5=61
Exploring Operation: 6*5=30, Resulting Numbers: [56, 30]
Generated Node #0,2,2: 58:[56, 30] Operation: 6*5=30
Exploring Operation: 6-5=1, Resulting Numbers: [56, 1]
Generated Node #0,2,3: 58:[56, 1] Operation: 6-5=1
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 58:[56, 30], Operations: ['22-17=5', '6*5=30']
Exploring Operation: 56+30=86, Resulting Numbers: [86]
86,58 unequal: No Solution
Exploring Operation: 56-30=26, Resulting Numbers: [26]
26,58 unequal: No Solution
Exploring Operation: 56*30=1680, Resulting Numbers: [1680]
1680,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 58:[56, 1], Operations: ['22-17=5', '6-5=1']
Exploring Operation: 56*1=56, Resulting Numbers: [56]
56,58 unequal: No Solution
Exploring Operation: 56+1=57, Resulting Numbers: [57]
57,58 unequal: No Solution
Exploring Operation: 56/1=56, Resulting Numbers: [56]
56,58 unequal: No Solution
Exploring Operation: 56-1=55, Resulting Numbers: [55]
55,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 58:[5, 62], Operations: ['22-17=5', '6+56=62']
Exploring Operation: 5+62=67, Resulting Numbers: [67]
67,58 unequal: No Solution
Exploring Operation: 5*62=310, Resulting Numbers: [310]
310,58 unequal: No Solution
Exploring Operation: 62-5=57, Resulting Numbers: [57]
57,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 58:[6, 61], Operations: ['22-17=5', '56+5=61']
Exploring Operation: 6*61=366, Resulting Numbers: [366]
366,58 unequal: No Solution
Exploring Operation: 6+61=67, Resulting Numbers: [67]
67,58 unequal: No Solution
Exploring Operation: 61-6=55, Resulting Numbers: [55]
55,58 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: 58:[17, 56, 28], Operations: ['22+6=28']
Exploring Operation: 56/28=2, Resulting Numbers: [17, 2]
Generated Node #0,1,0: 58:[17, 2] Operation: 56/28=2
Exploring Operation: 56-28=28, Resulting Numbers: [17, 28]
Generated Node #0,1,1: 58:[17, 28] Operation: 56-28=28
Exploring Operation: 56-17=39, Resulting Numbers: [28, 39]
Generated Node #0,1,2: 58:[28, 39] Operation: 56-17=39
Exploring Operation: 28-17=11, Resulting Numbers: [56, 11]
Generated Node #0,1,3: 58:[56, 11] Operation: 28-17=11
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 58:[28, 39], Operations: ['22+6=28', '56-17=39']
Exploring Operation: 28*39=1092, Resulting Numbers: [1092]
1092,58 unequal: No Solution
Exploring Operation: 39-28=11, Resulting Numbers: [11]
11,58 unequal: No Solution
Exploring Operation: 28+39=67, Resulting Numbers: [67]
67,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 58:[56, 11], Operations: ['22+6=28', '28-17=11']
Exploring Operation: 56+11=67, Resulting Numbers: [67]
67,58 unequal: No Solution
Exploring Operation: 56*11=616, Resulting Numbers: [616]
616,58 unequal: No Solution
Exploring Operation: 56-11=45, Resulting Numbers: [45]
45,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 58:[17, 2], Operations: ['22+6=28', '56/28=2']
Exploring Operation: 17*2=34, Resulting Numbers: [34]
34,58 unequal: No Solution
Exploring Operation: 17+2=19, Resulting Numbers: [19]
19,58 unequal: No Solution
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 58:[17, 28], Operations: ['22+6=28', '56-28=28']
Exploring Operation: 28-17=11, Resulting Numbers: [11]
11,58 unequal: No Solution
Exploring Operation: 17*28=476, Resulting Numbers: [476]
476,58 unequal: No Solution
Exploring Operation: 17+28=45, Resulting Numbers: [45]
45,58 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: 58:[22, 56, 23], Operations: ['17+6=23']
Exploring Operation: 56-22=34, Resulting Numbers: [23, 34]
Generated Node #0,0,0: 58:[23, 34] Operation: 56-22=34
Exploring Operation: 56-23=33, Resulting Numbers: [22, 33]
Generated Node #0,0,1: 58:[22, 33] Operation: 56-23=33
Exploring Operation: 23-22=1, Resulting Numbers: [56, 1]
Generated Node #0,0,2: 58:[56, 1] Operation: 23-22=1
Exploring Operation: 22+23=45, Resulting Numbers: [56, 45]
Generated Node #0,0,3: 58:[56, 45] Operation: 22+23=45
Moving to Node #0,3
Current State: 58:[6, 56, 39], Operations: ['17+22=39']
Exploring Operation: 6+56=62, Resulting Numbers: [39, 62]
Generated Node #0,3,0: 58:[39, 62] Operation: 6+56=62
Exploring Operation: 56-39=17, Resulting Numbers: [6, 17]
Generated Node #0,3,1: 58:[6, 17] Operation: 56-39=17
Exploring Operation: 39-6=33, Resulting Numbers: [56, 33]
Generated Node #0,3,2: 58:[56, 33] Operation: 39-6=33
Exploring Operation: 6+39=45, Resulting Numbers: [56, 45]
Generated Node #0,3,3: 58:[56, 45] Operation: 6+39=45
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 58:[56, 33], Operations: ['17+22=39', '39-6=33']
Exploring Operation: 56-33=23, Resulting Numbers: [23]
23,58 unequal: No Solution
Exploring Operation: 56+33=89, Resulting Numbers: [89]
89,58 unequal: No Solution
Exploring Operation: 56*33=1848, Resulting Numbers: [1848]
1848,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 58:[39, 62], Operations: ['17+22=39', '6+56=62']
Exploring Operation: 39*62=2418, Resulting Numbers: [2418]
2418,58 unequal: No Solution
Exploring Operation: 39+62=101, Resulting Numbers: [101]
101,58 unequal: No Solution
Exploring Operation: 62-39=23, Resulting Numbers: [23]
23,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 58:[56, 45], Operations: ['17+22=39', '6+39=45']
Exploring Operation: 56+45=101, Resulting Numbers: [101]
101,58 unequal: No Solution
Exploring Operation: 56-45=11, Resulting Numbers: [11]
11,58 unequal: No Solution
Exploring Operation: 56*45=2520, Resulting Numbers: [2520]
2520,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 58:[6, 17], Operations: ['17+22=39', '56-39=17']
Exploring Operation: 6+17=23, Resulting Numbers: [23]
23,58 unequal: No Solution
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,58 unequal: No Solution
Exploring Operation: 6*17=102, Resulting Numbers: [102]
102,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,2
Current State: 58:[56, 1], Operations: ['17+6=23', '23-22=1']
Exploring Operation: 56/1=56, Resulting Numbers: [56]
56,58 unequal: No Solution
Exploring Operation: 56*1=56, Resulting Numbers: [56]
56,58 unequal: No Solution
Exploring Operation: 56-1=55, Resulting Numbers: [55]
55,58 unequal: No Solution
Exploring Operation: 56+1=57, Resulting Numbers: [57]
57,58 unequal: No Solution
Moving to Node #0,0,1
Current State: 58:[22, 33], Operations: ['17+6=23', '56-23=33']
Exploring Operation: 33-22=11, Resulting Numbers: [11]
11,58 unequal: No Solution
Exploring Operation: 22+33=55, Resulting Numbers: [55]
55,58 unequal: No Solution
Exploring Operation: 22*33=726, Resulting Numbers: [726]
726,58 unequal: No Solution
Moving to Node #0,0,0
Current State: 58:[23, 34], Operations: ['17+6=23', '56-22=34']
Exploring Operation: 34-23=11, Resulting Numbers: [11]
11,58 unequal: No Solution
Exploring Operation: 23*34=782, Resulting Numbers: [782]
782,58 unequal: No Solution
Exploring Operation: 23+34=57, Resulting Numbers: [57]
57,58 unequal: No Solution
Moving to Node #0,0,3
Current State: 58:[56, 45], Operations: ['17+6=23', '22+23=45']
Exploring Operation: 56*45=2520, Resulting Numbers: [2520]
2520,58 unequal: No Solution
Exploring Operation: 56+45=101, Resulting Numbers: [101]
101,58 unequal: No Solution
Exploring Operation: 56-45=11, Resulting Numbers: [11]
11,58 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
7,
49,
38,
14
] | 83 | [
"38*14=532",
"49+532=581",
"581/7=83"
] | Current State: 83:[7, 49, 38, 14], Operations: []
Exploring Operation: 38*14=532, Resulting Numbers: [7, 49, 532]
Generated Node #2: [7, 49, 532] from Operation: 38*14=532
Current State: 83:[7, 49, 532], Operations: ['38*14=532']
Exploring Operation: 49+532=581, Resulting Numbers: [7, 581]
Generated Node #3: [7, 581] from Operation: 49+532=581
Current State: 83:[7, 581], Operations: ['38*14=532', '49+532=581']
Exploring Operation: 581/7=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[7, 49, 38, 14], Operations: []
Exploring Operation: 7*14=98, Resulting Numbers: [49, 38, 98]
Generated Node #0,0: 83:[49, 38, 98] Operation: 7*14=98
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[49, 38, 98], Operations: ['7*14=98']
Exploring Operation: 49+38=87, Resulting Numbers: [98, 87]
Generated Node #0,0,0: 83:[98, 87] Operation: 49+38=87
Moving to Node #0,0,0
Current State: 83:[98, 87], Operations: ['7*14=98', '49+38=87']
Exploring Operation: 98-87=11, Resulting Numbers: [11]
11,83 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 |
[
14,
2,
23,
30
] | 96 | [
"30-23=7",
"14*7=98",
"98-2=96"
] | Current State: 96:[14, 2, 23, 30], Operations: []
Exploring Operation: 30-23=7, Resulting Numbers: [14, 2, 7]
Generated Node #2: [14, 2, 7] from Operation: 30-23=7
Current State: 96:[14, 2, 7], Operations: ['30-23=7']
Exploring Operation: 14*7=98, Resulting Numbers: [2, 98]
Generated Node #3: [2, 98] from Operation: 14*7=98
Current State: 96:[2, 98], Operations: ['30-23=7', '14*7=98']
Exploring Operation: 98-2=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[14, 2, 23, 30], Operations: []
Exploring Operation: 30-14=16, Resulting Numbers: [2, 23, 16]
Generated Node #0,0: 96:[2, 23, 16] Operation: 30-14=16
Exploring Operation: 14-2=12, Resulting Numbers: [23, 30, 12]
Generated Node #0,1: 96:[23, 30, 12] Operation: 14-2=12
Exploring Operation: 14+2=16, Resulting Numbers: [23, 30, 16]
Generated Node #0,2: 96:[23, 30, 16] Operation: 14+2=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[2, 23, 16], Operations: ['30-14=16']
Exploring Operation: 2*16=32, Resulting Numbers: [23, 32]
Generated Node #0,0,0: 96:[23, 32] Operation: 2*16=32
Exploring Operation: 16/2=8, Resulting Numbers: [23, 8]
Generated Node #0,0,1: 96:[23, 8] Operation: 16/2=8
Exploring Operation: 2+23=25, Resulting Numbers: [16, 25]
Generated Node #0,0,2: 96:[16, 25] Operation: 2+23=25
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 96:[23, 32], Operations: ['30-14=16', '2*16=32']
Exploring Operation: 23*32=736, Resulting Numbers: [736]
736,96 unequal: No Solution
Exploring Operation: 32-23=9, Resulting Numbers: [9]
9,96 unequal: No Solution
Exploring Operation: 23+32=55, Resulting Numbers: [55]
55,96 unequal: No Solution
No 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: 96:[23, 8], Operations: ['30-14=16', '16/2=8']
Exploring Operation: 23*8=184, Resulting Numbers: [184]
184,96 unequal: No Solution
Exploring Operation: 23+8=31, Resulting Numbers: [31]
31,96 unequal: No Solution
Exploring Operation: 23-8=15, Resulting Numbers: [15]
15,96 unequal: No Solution
No 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: 96:[16, 25], Operations: ['30-14=16', '2+23=25']
Exploring Operation: 25-16=9, Resulting Numbers: [9]
9,96 unequal: No Solution
Exploring Operation: 16*25=400, Resulting Numbers: [400]
400,96 unequal: No Solution
Exploring Operation: 16+25=41, Resulting Numbers: [41]
41,96 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: 96:[23, 30, 12], Operations: ['14-2=12']
Exploring Operation: 30-23=7, Resulting Numbers: [12, 7]
Generated Node #0,1,0: 96:[12, 7] Operation: 30-23=7
Exploring Operation: 30-12=18, Resulting Numbers: [23, 18]
Generated Node #0,1,1: 96:[23, 18] Operation: 30-12=18
Exploring Operation: 23-12=11, Resulting Numbers: [30, 11]
Generated Node #0,1,2: 96:[30, 11] Operation: 23-12=11
Moving to Node #0,1,0
Current State: 96:[12, 7], Operations: ['14-2=12', '30-23=7']
Exploring Operation: 12*7=84, Resulting Numbers: [84]
84,96 unequal: No Solution
Exploring Operation: 12+7=19, Resulting Numbers: [19]
19,96 unequal: No Solution
Exploring Operation: 12-7=5, Resulting Numbers: [5]
5,96 unequal: No Solution
Moving to Node #0,1,1
Current State: 96:[23, 18], Operations: ['14-2=12', '30-12=18']
Exploring Operation: 23*18=414, Resulting Numbers: [414]
414,96 unequal: No Solution
Exploring Operation: 23+18=41, Resulting Numbers: [41]
41,96 unequal: No Solution
Exploring Operation: 23-18=5, Resulting Numbers: [5]
5,96 unequal: No Solution
Moving to Node #0,1,2
Current State: 96:[30, 11], Operations: ['14-2=12', '23-12=11']
Exploring Operation: 30*11=330, Resulting Numbers: [330]
330,96 unequal: No Solution
Exploring Operation: 30-11=19, Resulting Numbers: [19]
19,96 unequal: No Solution
Exploring Operation: 30+11=41, Resulting Numbers: [41]
41,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 96:[23, 30, 16], Operations: ['14+2=16']
Exploring Operation: 23-16=7, Resulting Numbers: [30, 7]
Generated Node #0,2,0: 96:[30, 7] Operation: 23-16=7
Exploring Operation: 30-23=7, Resulting Numbers: [16, 7]
Generated Node #0,2,1: 96:[16, 7] Operation: 30-23=7
Exploring Operation: 30+16=46, Resulting Numbers: [23, 46]
Generated Node #0,2,2: 96:[23, 46] Operation: 30+16=46
Moving to Node #0,2,1
Current State: 96:[16, 7], Operations: ['14+2=16', '30-23=7']
Exploring Operation: 16*7=112, Resulting Numbers: [112]
112,96 unequal: No Solution
Exploring Operation: 16+7=23, Resulting Numbers: [23]
23,96 unequal: No Solution
Exploring Operation: 16-7=9, Resulting Numbers: [9]
9,96 unequal: No Solution
Moving to Node #0,2,0
Current State: 96:[30, 7], Operations: ['14+2=16', '23-16=7']
Exploring Operation: 30-7=23, Resulting Numbers: [23]
23,96 unequal: No Solution
Exploring Operation: 30*7=210, Resulting Numbers: [210]
210,96 unequal: No Solution
Exploring Operation: 30+7=37, Resulting Numbers: [37]
37,96 unequal: No Solution
Moving to Node #0,2,2
Current State: 96:[23, 46], Operations: ['14+2=16', '30+16=46']
Exploring Operation: 46-23=23, Resulting Numbers: [23]
23,96 unequal: No Solution
Exploring Operation: 46/23=2, Resulting Numbers: [2]
2,96 unequal: No Solution
Exploring Operation: 23+46=69, Resulting Numbers: [69]
69,96 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 |
[
73,
58,
29,
9
] | 53 | [
"73-58=15",
"29+9=38",
"15+38=53"
] | Current State: 53:[73, 58, 29, 9], Operations: []
Exploring Operation: 73-58=15, Resulting Numbers: [29, 9, 15]
Generated Node #2: [29, 9, 15] from Operation: 73-58=15
Current State: 53:[29, 9, 15], Operations: ['73-58=15']
Exploring Operation: 29+9=38, Resulting Numbers: [15, 38]
Generated Node #3: [15, 38] from Operation: 29+9=38
Current State: 53:[15, 38], Operations: ['73-58=15', '29+9=38']
Exploring Operation: 15+38=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[73, 58, 29, 9], Operations: []
Exploring Operation: 73-9=64, Resulting Numbers: [58, 29, 64]
Generated Node #0,0: 53:[58, 29, 64] Operation: 73-9=64
Moving to Node #0,0
Current State: 53:[58, 29, 64], Operations: ['73-9=64']
Exploring Operation: 64-29=35, Resulting Numbers: [58, 35]
Generated Node #0,0,0: 53:[58, 35] Operation: 64-29=35
Moving to Node #0,0,0
Current State: 53:[58, 35], Operations: ['73-9=64', '64-29=35']
Exploring Operation: 58-35=23, Resulting Numbers: [23]
23,53 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
66,
65,
4,
10
] | 79 | [
"66-10=56",
"56/4=14",
"65+14=79"
] | Current State: 79:[66, 65, 4, 10], Operations: []
Exploring Operation: 66-10=56, Resulting Numbers: [65, 4, 56]
Generated Node #2: [65, 4, 56] from Operation: 66-10=56
Current State: 79:[65, 4, 56], Operations: ['66-10=56']
Exploring Operation: 56/4=14, Resulting Numbers: [65, 14]
Generated Node #3: [65, 14] from Operation: 56/4=14
Current State: 79:[65, 14], Operations: ['66-10=56', '56/4=14']
Exploring Operation: 65+14=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[66, 65, 4, 10], Operations: []
Exploring Operation: 4*10=40, Resulting Numbers: [66, 65, 40]
Generated Node #0,0: 79:[66, 65, 40] Operation: 4*10=40
Moving to Node #0,0
Current State: 79:[66, 65, 40], Operations: ['4*10=40']
Exploring Operation: 65+40=105, Resulting Numbers: [66, 105]
Generated Node #0,0,0: 79:[66, 105] Operation: 65+40=105
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 79:[66, 105], Operations: ['4*10=40', '65+40=105']
Exploring Operation: 105-66=39, Resulting Numbers: [39]
39,79 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 |
[
70,
11,
53,
70
] | 65 | [
"70/70=1",
"11+53=64",
"1+64=65"
] | Current State: 65:[70, 11, 53, 70], Operations: []
Exploring Operation: 70/70=1, Resulting Numbers: [11, 53, 1]
Generated Node #2: [11, 53, 1] from Operation: 70/70=1
Current State: 65:[11, 53, 1], Operations: ['70/70=1']
Exploring Operation: 11+53=64, Resulting Numbers: [1, 64]
Generated Node #3: [1, 64] from Operation: 11+53=64
Current State: 65:[1, 64], Operations: ['70/70=1', '11+53=64']
Exploring Operation: 1+64=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[70, 11, 53, 70], Operations: []
Exploring Operation: 70-53=17, Resulting Numbers: [70, 11, 17]
Generated Node #0,0: 65:[70, 11, 17] Operation: 70-53=17
Exploring Operation: 70-53=17, Resulting Numbers: [11, 70, 17]
Generated Node #0,1: 65:[11, 70, 17] Operation: 70-53=17
Exploring Operation: 70/70=1, Resulting Numbers: [11, 53, 1]
Generated Node #0,2: 65:[11, 53, 1] Operation: 70/70=1
Exploring Operation: 11+53=64, Resulting Numbers: [70, 70, 64]
Generated Node #0,3: 65:[70, 70, 64] Operation: 11+53=64
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[70, 11, 17], Operations: ['70-53=17']
Exploring Operation: 70+11=81, Resulting Numbers: [17, 81]
Generated Node #0,0,0: 65:[17, 81] Operation: 70+11=81
Exploring Operation: 70-11=59, Resulting Numbers: [17, 59]
Generated Node #0,0,1: 65:[17, 59] Operation: 70-11=59
Exploring Operation: 70-17=53, Resulting Numbers: [11, 53]
Generated Node #0,0,2: 65:[11, 53] Operation: 70-17=53
Exploring Operation: 17-11=6, Resulting Numbers: [70, 6]
Generated Node #0,0,3: 65:[70, 6] Operation: 17-11=6
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 65:[70, 6], Operations: ['70-53=17', '17-11=6']
Exploring Operation: 70+6=76, Resulting Numbers: [76]
76,65 unequal: No Solution
Exploring Operation: 70*6=420, Resulting Numbers: [420]
420,65 unequal: No Solution
Exploring Operation: 70-6=64, Resulting Numbers: [64]
64,65 unequal: No Solution
No 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: 65:[17, 59], Operations: ['70-53=17', '70-11=59']
Exploring Operation: 59-17=42, Resulting Numbers: [42]
42,65 unequal: No Solution
Exploring Operation: 17*59=1003, Resulting Numbers: [1003]
1003,65 unequal: No Solution
Exploring Operation: 17+59=76, Resulting Numbers: [76]
76,65 unequal: No Solution
No 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: 65:[11, 53], Operations: ['70-53=17', '70-17=53']
Exploring Operation: 11*53=583, Resulting Numbers: [583]
583,65 unequal: No Solution
Exploring Operation: 11+53=64, Resulting Numbers: [64]
64,65 unequal: No Solution
Exploring Operation: 53-11=42, Resulting Numbers: [42]
42,65 unequal: No Solution
No 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: 65:[17, 81], Operations: ['70-53=17', '70+11=81']
Exploring Operation: 17+81=98, Resulting Numbers: [98]
98,65 unequal: No Solution
Exploring Operation: 81-17=64, Resulting Numbers: [64]
64,65 unequal: No Solution
Exploring Operation: 17*81=1377, Resulting Numbers: [1377]
1377,65 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: 65:[11, 70, 17], Operations: ['70-53=17']
Exploring Operation: 70-17=53, Resulting Numbers: [11, 53]
Generated Node #0,1,0: 65:[11, 53] Operation: 70-17=53
Exploring Operation: 11+70=81, Resulting Numbers: [17, 81]
Generated Node #0,1,1: 65:[17, 81] Operation: 11+70=81
Exploring Operation: 17-11=6, Resulting Numbers: [70, 6]
Generated Node #0,1,2: 65:[70, 6] Operation: 17-11=6
Exploring Operation: 70-11=59, Resulting Numbers: [17, 59]
Generated Node #0,1,3: 65:[17, 59] Operation: 70-11=59
Moving to Node #0,1,2
Current State: 65:[70, 6], Operations: ['70-53=17', '17-11=6']
Exploring Operation: 70*6=420, Resulting Numbers: [420]
420,65 unequal: No Solution
Exploring Operation: 70-6=64, Resulting Numbers: [64]
64,65 unequal: No Solution
Exploring Operation: 70+6=76, Resulting Numbers: [76]
76,65 unequal: No Solution
Moving to Node #0,1,3
Current State: 65:[17, 59], Operations: ['70-53=17', '70-11=59']
Exploring Operation: 17+59=76, Resulting Numbers: [76]
76,65 unequal: No Solution
Exploring Operation: 59-17=42, Resulting Numbers: [42]
42,65 unequal: No Solution
Exploring Operation: 17*59=1003, Resulting Numbers: [1003]
1003,65 unequal: No Solution
Moving to Node #0,1,0
Current State: 65:[11, 53], Operations: ['70-53=17', '70-17=53']
Exploring Operation: 11*53=583, Resulting Numbers: [583]
583,65 unequal: No Solution
Exploring Operation: 11+53=64, Resulting Numbers: [64]
64,65 unequal: No Solution
Exploring Operation: 53-11=42, Resulting Numbers: [42]
42,65 unequal: No Solution
Moving to Node #0,1,1
Current State: 65:[17, 81], Operations: ['70-53=17', '11+70=81']
Exploring Operation: 81-17=64, Resulting Numbers: [64]
64,65 unequal: No Solution
Exploring Operation: 17+81=98, Resulting Numbers: [98]
98,65 unequal: No Solution
Exploring Operation: 17*81=1377, Resulting Numbers: [1377]
1377,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 65:[70, 70, 64], Operations: ['11+53=64']
Exploring Operation: 70-64=6, Resulting Numbers: [70, 6]
Generated Node #0,3,0: 65:[70, 6] Operation: 70-64=6
Exploring Operation: 70-64=6, Resulting Numbers: [70, 6]
Generated Node #0,3,1: 65:[70, 6] Operation: 70-64=6
Exploring Operation: 70-70=0, Resulting Numbers: [64, 0]
Generated Node #0,3,2: 65:[64, 0] Operation: 70-70=0
Exploring Operation: 70/70=1, Resulting Numbers: [64, 1]
Generated Node #0,3,3: 65:[64, 1] Operation: 70/70=1
Moving to Node #0,3,3
Current State: 65:[64, 1], Operations: ['11+53=64', '70/70=1']
Exploring Operation: 64*1=64, Resulting Numbers: [64]
64,65 unequal: No Solution
Exploring Operation: 64+1=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[70, 11, 53, 70], Operations: []
Exploring Operation: 11+53=64, Resulting Numbers: [70, 70, 64]
Generated Node #0,3: 65:[70, 70, 64] Operation: 11+53=64
Moving to Node #0,3
Current State: 65:[70, 70, 64], Operations: ['11+53=64']
Exploring Operation: 70/70=1, Resulting Numbers: [64, 1]
Generated Node #0,3,3: 65:[64, 1] Operation: 70/70=1
Moving to Node #0,3,3
Current State: 65:[64, 1], Operations: ['11+53=64', '70/70=1']
Exploring Operation: 64+1=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 1
| 0.960069 | hs_4 | mult_heuristic |
[
4,
95,
3,
69
] | 33 | [
"4+95=99",
"69-3=66",
"99-66=33"
] | Current State: 33:[4, 95, 3, 69], Operations: []
Exploring Operation: 4+95=99, Resulting Numbers: [3, 69, 99]
Generated Node #2: [3, 69, 99] from Operation: 4+95=99
Current State: 33:[3, 69, 99], Operations: ['4+95=99']
Exploring Operation: 69-3=66, Resulting Numbers: [99, 66]
Generated Node #3: [99, 66] from Operation: 69-3=66
Current State: 33:[99, 66], Operations: ['4+95=99', '69-3=66']
Exploring Operation: 99-66=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[4, 95, 3, 69], Operations: []
Exploring Operation: 95-69=26, Resulting Numbers: [4, 3, 26]
Generated Node #0,0: 33:[4, 3, 26] Operation: 95-69=26
Exploring Operation: 95-4=91, Resulting Numbers: [3, 69, 91]
Generated Node #0,1: 33:[3, 69, 91] Operation: 95-4=91
Exploring Operation: 69/3=23, Resulting Numbers: [4, 95, 23]
Generated Node #0,2: 33:[4, 95, 23] Operation: 69/3=23
Moving to Node #0,0
Current State: 33:[4, 3, 26], Operations: ['95-69=26']
Exploring Operation: 4*3=12, Resulting Numbers: [26, 12]
Generated Node #0,0,0: 33:[26, 12] Operation: 4*3=12
Exploring Operation: 4+26=30, Resulting Numbers: [3, 30]
Generated Node #0,0,1: 33:[3, 30] Operation: 4+26=30
Exploring Operation: 3+26=29, Resulting Numbers: [4, 29]
Generated Node #0,0,2: 33:[4, 29] Operation: 3+26=29
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 33:[3, 30], Operations: ['95-69=26', '4+26=30']
Exploring Operation: 30/3=10, Resulting Numbers: [10]
10,33 unequal: No Solution
Exploring Operation: 30-3=27, Resulting Numbers: [27]
27,33 unequal: No Solution
Exploring Operation: 3+30=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[4, 95, 3, 69], Operations: []
Exploring Operation: 95-69=26, Resulting Numbers: [4, 3, 26]
Generated Node #0,0: 33:[4, 3, 26] Operation: 95-69=26
Moving to Node #0,0
Current State: 33:[4, 3, 26], Operations: ['95-69=26']
Exploring Operation: 4+26=30, Resulting Numbers: [3, 30]
Generated Node #0,0,1: 33:[3, 30] Operation: 4+26=30
Moving to Node #0,0,1
Current State: 33:[3, 30], Operations: ['95-69=26', '4+26=30']
Exploring Operation: 3+30=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
57,
9,
8,
67
] | 11 | [
"57-9=48",
"67-8=59",
"59-48=11"
] | Current State: 11:[57, 9, 8, 67], Operations: []
Exploring Operation: 57-9=48, Resulting Numbers: [8, 67, 48]
Generated Node #2: [8, 67, 48] from Operation: 57-9=48
Current State: 11:[8, 67, 48], Operations: ['57-9=48']
Exploring Operation: 67-8=59, Resulting Numbers: [48, 59]
Generated Node #3: [48, 59] from Operation: 67-8=59
Current State: 11:[48, 59], Operations: ['57-9=48', '67-8=59']
Exploring Operation: 59-48=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[57, 9, 8, 67], Operations: []
Exploring Operation: 57-8=49, Resulting Numbers: [9, 67, 49]
Generated Node #0,0: 11:[9, 67, 49] Operation: 57-8=49
Exploring Operation: 67-57=10, Resulting Numbers: [9, 8, 10]
Generated Node #0,1: 11:[9, 8, 10] Operation: 67-57=10
Exploring Operation: 57-9=48, Resulting Numbers: [8, 67, 48]
Generated Node #0,2: 11:[8, 67, 48] Operation: 57-9=48
Exploring Operation: 67-8=59, Resulting Numbers: [57, 9, 59]
Generated Node #0,3: 11:[57, 9, 59] Operation: 67-8=59
Exploring Operation: 67-9=58, Resulting Numbers: [57, 8, 58]
Generated Node #0,4: 11:[57, 8, 58] Operation: 67-9=58
Moving to Node #0,1
Current State: 11:[9, 8, 10], Operations: ['67-57=10']
Exploring Operation: 9-8=1, Resulting Numbers: [10, 1]
Generated Node #0,1,0: 11:[10, 1] Operation: 9-8=1
Exploring Operation: 10-8=2, Resulting Numbers: [9, 2]
Generated Node #0,1,1: 11:[9, 2] Operation: 10-8=2
Exploring Operation: 9+8=17, Resulting Numbers: [10, 17]
Generated Node #0,1,2: 11:[10, 17] Operation: 9+8=17
Exploring Operation: 9+10=19, Resulting Numbers: [8, 19]
Generated Node #0,1,3: 11:[8, 19] Operation: 9+10=19
Exploring Operation: 8+10=18, Resulting Numbers: [9, 18]
Generated Node #0,1,4: 11:[9, 18] Operation: 8+10=18
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 11:[10, 17], Operations: ['67-57=10', '9+8=17']
Exploring Operation: 10*17=170, Resulting Numbers: [170]
170,11 unequal: No Solution
Exploring Operation: 10+17=27, Resulting Numbers: [27]
27,11 unequal: No Solution
Exploring Operation: 17-10=7, Resulting Numbers: [7]
7,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 11:[9, 18], Operations: ['67-57=10', '8+10=18']
Exploring Operation: 9+18=27, Resulting Numbers: [27]
27,11 unequal: No Solution
Exploring Operation: 18/9=2, Resulting Numbers: [2]
2,11 unequal: No Solution
Exploring Operation: 9*18=162, Resulting Numbers: [162]
162,11 unequal: No Solution
Exploring Operation: 18-9=9, Resulting Numbers: [9]
9,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 11:[10, 1], Operations: ['67-57=10', '9-8=1']
Exploring Operation: 10+1=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[57, 9, 8, 67], Operations: []
Exploring Operation: 67-57=10, Resulting Numbers: [9, 8, 10]
Generated Node #0,1: 11:[9, 8, 10] Operation: 67-57=10
Moving to Node #0,1
Current State: 11:[9, 8, 10], Operations: ['67-57=10']
Exploring Operation: 9-8=1, Resulting Numbers: [10, 1]
Generated Node #0,1,0: 11:[10, 1] Operation: 9-8=1
Moving to Node #0,1,0
Current State: 11:[10, 1], Operations: ['67-57=10', '9-8=1']
Exploring Operation: 10+1=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_5 | sum_heuristic |
[
48,
62,
23,
56
] | 27 | [
"62-48=14",
"56/14=4",
"23+4=27"
] | Current State: 27:[48, 62, 23, 56], Operations: []
Exploring Operation: 62-48=14, Resulting Numbers: [23, 56, 14]
Generated Node #2: [23, 56, 14] from Operation: 62-48=14
Current State: 27:[23, 56, 14], Operations: ['62-48=14']
Exploring Operation: 56/14=4, Resulting Numbers: [23, 4]
Generated Node #3: [23, 4] from Operation: 56/14=4
Current State: 27:[23, 4], Operations: ['62-48=14', '56/14=4']
Exploring Operation: 23+4=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[48, 62, 23, 56], Operations: []
Exploring Operation: 62-56=6, Resulting Numbers: [48, 23, 6]
Generated Node #0,0: 27:[48, 23, 6] Operation: 62-56=6
Exploring Operation: 62-48=14, Resulting Numbers: [23, 56, 14]
Generated Node #0,1: 27:[23, 56, 14] Operation: 62-48=14
Moving to Node #0,0
Current State: 27:[48, 23, 6], Operations: ['62-56=6']
Exploring Operation: 48-23=25, Resulting Numbers: [6, 25]
Generated Node #0,0,0: 27:[6, 25] Operation: 48-23=25
Exploring Operation: 48/6=8, Resulting Numbers: [23, 8]
Generated Node #0,0,1: 27:[23, 8] Operation: 48/6=8
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 27:[6, 25], Operations: ['62-56=6', '48-23=25']
Exploring Operation: 6+25=31, Resulting Numbers: [31]
31,27 unequal: No Solution
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 27:[23, 8], Operations: ['62-56=6', '48/6=8']
Exploring Operation: 23+8=31, Resulting Numbers: [31]
31,27 unequal: No Solution
Exploring Operation: 23-8=15, Resulting Numbers: [15]
15,27 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: 27:[23, 56, 14], Operations: ['62-48=14']
Exploring Operation: 56-23=33, Resulting Numbers: [14, 33]
Generated Node #0,1,0: 27:[14, 33] Operation: 56-23=33
Exploring Operation: 56/14=4, Resulting Numbers: [23, 4]
Generated Node #0,1,1: 27:[23, 4] Operation: 56/14=4
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 27:[23, 4], Operations: ['62-48=14', '56/14=4']
Exploring Operation: 23+4=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[48, 62, 23, 56], Operations: []
Exploring Operation: 62-48=14, Resulting Numbers: [23, 56, 14]
Generated Node #0,1: 27:[23, 56, 14] Operation: 62-48=14
Moving to Node #0,1
Current State: 27:[23, 56, 14], Operations: ['62-48=14']
Exploring Operation: 56/14=4, Resulting Numbers: [23, 4]
Generated Node #0,1,1: 27:[23, 4] Operation: 56/14=4
Moving to Node #0,1,1
Current State: 27:[23, 4], Operations: ['62-48=14', '56/14=4']
Exploring Operation: 23+4=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_2 | mult_heuristic |
[
33,
57,
89,
19
] | 10 | [
"33*57=1881",
"1881/19=99",
"99-89=10"
] | Current State: 10:[33, 57, 89, 19], Operations: []
Exploring Operation: 33*57=1881, Resulting Numbers: [89, 19, 1881]
Generated Node #2: [89, 19, 1881] from Operation: 33*57=1881
Current State: 10:[89, 19, 1881], Operations: ['33*57=1881']
Exploring Operation: 1881/19=99, Resulting Numbers: [89, 99]
Generated Node #3: [89, 99] from Operation: 1881/19=99
Current State: 10:[89, 99], Operations: ['33*57=1881', '1881/19=99']
Exploring Operation: 99-89=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[33, 57, 89, 19], Operations: []
Exploring Operation: 89-57=32, Resulting Numbers: [33, 19, 32]
Generated Node #0,0: 10:[33, 19, 32] Operation: 89-57=32
Exploring Operation: 57-33=24, Resulting Numbers: [89, 19, 24]
Generated Node #0,1: 10:[89, 19, 24] Operation: 57-33=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[33, 19, 32], Operations: ['89-57=32']
Exploring Operation: 33-19=14, Resulting Numbers: [32, 14]
Generated Node #0,0,0: 10:[32, 14] Operation: 33-19=14
Exploring Operation: 33-32=1, Resulting Numbers: [19, 1]
Generated Node #0,0,1: 10:[19, 1] Operation: 33-32=1
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 10:[19, 1], Operations: ['89-57=32', '33-32=1']
Exploring Operation: 19*1=19, Resulting Numbers: [19]
19,10 unequal: No Solution
Exploring Operation: 19-1=18, Resulting Numbers: [18]
18,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 10:[32, 14], Operations: ['89-57=32', '33-19=14']
Exploring Operation: 32-14=18, Resulting Numbers: [18]
18,10 unequal: No Solution
Exploring Operation: 32+14=46, Resulting Numbers: [46]
46,10 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: 10:[89, 19, 24], Operations: ['57-33=24']
Exploring Operation: 89-24=65, Resulting Numbers: [19, 65]
Generated Node #0,1,0: 10:[19, 65] Operation: 89-24=65
Exploring Operation: 89-19=70, Resulting Numbers: [24, 70]
Generated Node #0,1,1: 10:[24, 70] Operation: 89-19=70
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 10:[19, 65], Operations: ['57-33=24', '89-24=65']
Exploring Operation: 65-19=46, Resulting Numbers: [46]
46,10 unequal: No Solution
Exploring Operation: 19+65=84, Resulting Numbers: [84]
84,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 10:[24, 70], Operations: ['57-33=24', '89-19=70']
Exploring Operation: 24+70=94, Resulting Numbers: [94]
94,10 unequal: No Solution
Exploring Operation: 70-24=46, Resulting Numbers: [46]
46,10 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 |
[
60,
20,
56,
51
] | 35 | [
"60-20=40",
"56-51=5",
"40-5=35"
] | Current State: 35:[60, 20, 56, 51], Operations: []
Exploring Operation: 60-20=40, Resulting Numbers: [56, 51, 40]
Generated Node #2: [56, 51, 40] from Operation: 60-20=40
Current State: 35:[56, 51, 40], Operations: ['60-20=40']
Exploring Operation: 56-51=5, Resulting Numbers: [40, 5]
Generated Node #3: [40, 5] from Operation: 56-51=5
Current State: 35:[40, 5], Operations: ['60-20=40', '56-51=5']
Exploring Operation: 40-5=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[60, 20, 56, 51], Operations: []
Exploring Operation: 60-20=40, Resulting Numbers: [56, 51, 40]
Generated Node #0,0: 35:[56, 51, 40] Operation: 60-20=40
Exploring Operation: 56-51=5, Resulting Numbers: [60, 20, 5]
Generated Node #0,1: 35:[60, 20, 5] Operation: 56-51=5
Exploring Operation: 60/20=3, Resulting Numbers: [56, 51, 3]
Generated Node #0,2: 35:[56, 51, 3] Operation: 60/20=3
Exploring Operation: 60-51=9, Resulting Numbers: [20, 56, 9]
Generated Node #0,3: 35:[20, 56, 9] Operation: 60-51=9
Exploring Operation: 60-56=4, Resulting Numbers: [20, 51, 4]
Generated Node #0,4: 35:[20, 51, 4] Operation: 60-56=4
Moving to Node #0,4
Current State: 35:[20, 51, 4], Operations: ['60-56=4']
Exploring Operation: 51-20=31, Resulting Numbers: [4, 31]
Generated Node #0,4,0: 35:[4, 31] Operation: 51-20=31
Exploring Operation: 51-4=47, Resulting Numbers: [20, 47]
Generated Node #0,4,1: 35:[20, 47] Operation: 51-4=47
Exploring Operation: 20/4=5, Resulting Numbers: [51, 5]
Generated Node #0,4,2: 35:[51, 5] Operation: 20/4=5
Exploring Operation: 20-4=16, Resulting Numbers: [51, 16]
Generated Node #0,4,3: 35:[51, 16] Operation: 20-4=16
Exploring Operation: 20+4=24, Resulting Numbers: [51, 24]
Generated Node #0,4,4: 35:[51, 24] Operation: 20+4=24
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 35:[4, 31], Operations: ['60-56=4', '51-20=31']
Exploring Operation: 4*31=124, Resulting Numbers: [124]
124,35 unequal: No Solution
Exploring Operation: 31-4=27, Resulting Numbers: [27]
27,35 unequal: No Solution
Exploring Operation: 4+31=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[60, 20, 56, 51], Operations: []
Exploring Operation: 60-56=4, Resulting Numbers: [20, 51, 4]
Generated Node #0,4: 35:[20, 51, 4] Operation: 60-56=4
Moving to Node #0,4
Current State: 35:[20, 51, 4], Operations: ['60-56=4']
Exploring Operation: 51-20=31, Resulting Numbers: [4, 31]
Generated Node #0,4,0: 35:[4, 31] Operation: 51-20=31
Moving to Node #0,4,0
Current State: 35:[4, 31], Operations: ['60-56=4', '51-20=31']
Exploring Operation: 4+31=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
34,
32,
68,
15
] | 55 | [
"34-32=2",
"68-15=53",
"2+53=55"
] | Current State: 55:[34, 32, 68, 15], Operations: []
Exploring Operation: 34-32=2, Resulting Numbers: [68, 15, 2]
Generated Node #2: [68, 15, 2] from Operation: 34-32=2
Current State: 55:[68, 15, 2], Operations: ['34-32=2']
Exploring Operation: 68-15=53, Resulting Numbers: [2, 53]
Generated Node #3: [2, 53] from Operation: 68-15=53
Current State: 55:[2, 53], Operations: ['34-32=2', '68-15=53']
Exploring Operation: 2+53=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[34, 32, 68, 15], Operations: []
Exploring Operation: 34-32=2, Resulting Numbers: [68, 15, 2]
Generated Node #0,0: 55:[68, 15, 2] Operation: 34-32=2
Exploring Operation: 34+32=66, Resulting Numbers: [68, 15, 66]
Generated Node #0,1: 55:[68, 15, 66] Operation: 34+32=66
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[68, 15, 2], Operations: ['34-32=2']
Exploring Operation: 68-2=66, Resulting Numbers: [15, 66]
Generated Node #0,0,0: 55:[15, 66] Operation: 68-2=66
Exploring Operation: 68-15=53, Resulting Numbers: [2, 53]
Generated Node #0,0,1: 55:[2, 53] Operation: 68-15=53
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 55:[2, 53], Operations: ['34-32=2', '68-15=53']
Exploring Operation: 53-2=51, Resulting Numbers: [51]
51,55 unequal: No Solution
Exploring Operation: 2+53=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[34, 32, 68, 15], Operations: []
Exploring Operation: 34-32=2, Resulting Numbers: [68, 15, 2]
Generated Node #0,0: 55:[68, 15, 2] Operation: 34-32=2
Moving to Node #0,0
Current State: 55:[68, 15, 2], Operations: ['34-32=2']
Exploring Operation: 68-15=53, Resulting Numbers: [2, 53]
Generated Node #0,0,1: 55:[2, 53] Operation: 68-15=53
Moving to Node #0,0,1
Current State: 55:[2, 53], Operations: ['34-32=2', '68-15=53']
Exploring Operation: 2+53=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
13,
65,
75,
39
] | 58 | [
"75*39=2925",
"2925/65=45",
"13+45=58"
] | Current State: 58:[13, 65, 75, 39], Operations: []
Exploring Operation: 75*39=2925, Resulting Numbers: [13, 65, 2925]
Generated Node #2: [13, 65, 2925] from Operation: 75*39=2925
Current State: 58:[13, 65, 2925], Operations: ['75*39=2925']
Exploring Operation: 2925/65=45, Resulting Numbers: [13, 45]
Generated Node #3: [13, 45] from Operation: 2925/65=45
Current State: 58:[13, 45], Operations: ['75*39=2925', '2925/65=45']
Exploring Operation: 13+45=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[13, 65, 75, 39], Operations: []
Exploring Operation: 75-13=62, Resulting Numbers: [65, 39, 62]
Generated Node #0,0: 58:[65, 39, 62] Operation: 75-13=62
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[65, 39, 62], Operations: ['75-13=62']
Exploring Operation: 65-39=26, Resulting Numbers: [62, 26]
Generated Node #0,0,0: 58:[62, 26] Operation: 65-39=26
Moving to Node #0,0,0
Current State: 58:[62, 26], Operations: ['75-13=62', '65-39=26']
Exploring Operation: 62-26=36, Resulting Numbers: [36]
36,58 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 |
[
60,
65,
16,
34
] | 55 | [
"65-60=5",
"16+34=50",
"5+50=55"
] | Current State: 55:[60, 65, 16, 34], Operations: []
Exploring Operation: 65-60=5, Resulting Numbers: [16, 34, 5]
Generated Node #2: [16, 34, 5] from Operation: 65-60=5
Current State: 55:[16, 34, 5], Operations: ['65-60=5']
Exploring Operation: 16+34=50, Resulting Numbers: [5, 50]
Generated Node #3: [5, 50] from Operation: 16+34=50
Current State: 55:[5, 50], Operations: ['65-60=5', '16+34=50']
Exploring Operation: 5+50=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[60, 65, 16, 34], Operations: []
Exploring Operation: 60-34=26, Resulting Numbers: [65, 16, 26]
Generated Node #0,0: 55:[65, 16, 26] Operation: 60-34=26
Exploring Operation: 16+34=50, Resulting Numbers: [60, 65, 50]
Generated Node #0,1: 55:[60, 65, 50] Operation: 16+34=50
Exploring Operation: 34-16=18, Resulting Numbers: [60, 65, 18]
Generated Node #0,2: 55:[60, 65, 18] Operation: 34-16=18
Exploring Operation: 65-60=5, Resulting Numbers: [16, 34, 5]
Generated Node #0,3: 55:[16, 34, 5] Operation: 65-60=5
Start Sub Search at level 1: Moving to Node #0,1
Current State: 55:[60, 65, 50], Operations: ['16+34=50']
Exploring Operation: 60+50=110, Resulting Numbers: [65, 110]
Generated Node #0,1,0: 55:[65, 110] Operation: 60+50=110
Exploring Operation: 65-50=15, Resulting Numbers: [60, 15]
Generated Node #0,1,1: 55:[60, 15] Operation: 65-50=15
Exploring Operation: 65-60=5, Resulting Numbers: [50, 5]
Generated Node #0,1,2: 55:[50, 5] Operation: 65-60=5
Exploring Operation: 60-50=10, Resulting Numbers: [65, 10]
Generated Node #0,1,3: 55:[65, 10] Operation: 60-50=10
Moving to Node #0,1,2
Current State: 55:[50, 5], Operations: ['16+34=50', '65-60=5']
Exploring Operation: 50*5=250, Resulting Numbers: [250]
250,55 unequal: No Solution
Exploring Operation: 50+5=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[60, 65, 16, 34], Operations: []
Exploring Operation: 16+34=50, Resulting Numbers: [60, 65, 50]
Generated Node #0,1: 55:[60, 65, 50] Operation: 16+34=50
Moving to Node #0,1
Current State: 55:[60, 65, 50], Operations: ['16+34=50']
Exploring Operation: 65-60=5, Resulting Numbers: [50, 5]
Generated Node #0,1,2: 55:[50, 5] Operation: 65-60=5
Moving to Node #0,1,2
Current State: 55:[50, 5], Operations: ['16+34=50', '65-60=5']
Exploring Operation: 50+5=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
5,
44,
39,
79
] | 69 | [
"5+44=49",
"39+79=118",
"118-49=69"
] | Current State: 69:[5, 44, 39, 79], Operations: []
Exploring Operation: 5+44=49, Resulting Numbers: [39, 79, 49]
Generated Node #2: [39, 79, 49] from Operation: 5+44=49
Current State: 69:[39, 79, 49], Operations: ['5+44=49']
Exploring Operation: 39+79=118, Resulting Numbers: [49, 118]
Generated Node #3: [49, 118] from Operation: 39+79=118
Current State: 69:[49, 118], Operations: ['5+44=49', '39+79=118']
Exploring Operation: 118-49=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[5, 44, 39, 79], Operations: []
Exploring Operation: 79-44=35, Resulting Numbers: [5, 39, 35]
Generated Node #0,0: 69:[5, 39, 35] Operation: 79-44=35
Exploring Operation: 44+39=83, Resulting Numbers: [5, 79, 83]
Generated Node #0,1: 69:[5, 79, 83] Operation: 44+39=83
Exploring Operation: 44-39=5, Resulting Numbers: [5, 79, 5]
Generated Node #0,2: 69:[5, 79, 5] Operation: 44-39=5
Moving to Node #0,2
Current State: 69:[5, 79, 5], Operations: ['44-39=5']
Exploring Operation: 79-5=74, Resulting Numbers: [5, 74]
Generated Node #0,2,0: 69:[5, 74] Operation: 79-5=74
Exploring Operation: 79-5=74, Resulting Numbers: [5, 74]
Generated Node #0,2,1: 69:[5, 74] Operation: 79-5=74
Exploring Operation: 5*5=25, Resulting Numbers: [79, 25]
Generated Node #0,2,2: 69:[79, 25] Operation: 5*5=25
Moving to Node #0,1
Current State: 69:[5, 79, 83], Operations: ['44+39=83']
Exploring Operation: 79-5=74, Resulting Numbers: [83, 74]
Generated Node #0,1,0: 69:[83, 74] Operation: 79-5=74
Exploring Operation: 83-5=78, Resulting Numbers: [79, 78]
Generated Node #0,1,1: 69:[79, 78] Operation: 83-5=78
Exploring Operation: 83-79=4, Resulting Numbers: [5, 4]
Generated Node #0,1,2: 69:[5, 4] Operation: 83-79=4
Moving to Node #0,0
Current State: 69:[5, 39, 35], Operations: ['79-44=35']
Exploring Operation: 39+35=74, Resulting Numbers: [5, 74]
Generated Node #0,0,0: 69:[5, 74] Operation: 39+35=74
Exploring Operation: 35/5=7, Resulting Numbers: [39, 7]
Generated Node #0,0,1: 69:[39, 7] Operation: 35/5=7
Exploring Operation: 39-35=4, Resulting Numbers: [5, 4]
Generated Node #0,0,2: 69:[5, 4] Operation: 39-35=4
Moving to Node #0,1,2
Current State: 69:[5, 4], Operations: ['44+39=83', '83-79=4']
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,69 unequal: No Solution
Exploring Operation: 5*4=20, Resulting Numbers: [20]
20,69 unequal: No Solution
Exploring Operation: 5+4=9, Resulting Numbers: [9]
9,69 unequal: No Solution
Moving to Node #0,0,2
Current State: 69:[5, 4], Operations: ['79-44=35', '39-35=4']
Exploring Operation: 5+4=9, Resulting Numbers: [9]
9,69 unequal: No Solution
Exploring Operation: 5*4=20, Resulting Numbers: [20]
20,69 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,69 unequal: No Solution
Moving to Node #0,2,0
Current State: 69:[5, 74], Operations: ['44-39=5', '79-5=74']
Exploring Operation: 74-5=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[5, 44, 39, 79], Operations: []
Exploring Operation: 44-39=5, Resulting Numbers: [5, 79, 5]
Generated Node #0,2: 69:[5, 79, 5] Operation: 44-39=5
Moving to Node #0,2
Current State: 69:[5, 79, 5], Operations: ['44-39=5']
Exploring Operation: 79-5=74, Resulting Numbers: [5, 74]
Generated Node #0,2,0: 69:[5, 74] Operation: 79-5=74
Moving to Node #0,2,0
Current State: 69:[5, 74], Operations: ['44-39=5', '79-5=74']
Exploring Operation: 74-5=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 0.980035 | hs_3 | mult_heuristic |
[
6,
4,
46,
32
] | 19 | [
"6+46=52",
"52/4=13",
"32-13=19"
] | Current State: 19:[6, 4, 46, 32], Operations: []
Exploring Operation: 6+46=52, Resulting Numbers: [4, 32, 52]
Generated Node #2: [4, 32, 52] from Operation: 6+46=52
Current State: 19:[4, 32, 52], Operations: ['6+46=52']
Exploring Operation: 52/4=13, Resulting Numbers: [32, 13]
Generated Node #3: [32, 13] from Operation: 52/4=13
Current State: 19:[32, 13], Operations: ['6+46=52', '52/4=13']
Exploring Operation: 32-13=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[6, 4, 46, 32], Operations: []
Exploring Operation: 6+4=10, Resulting Numbers: [46, 32, 10]
Generated Node #0,0: 19:[46, 32, 10] Operation: 6+4=10
Exploring Operation: 46-6=40, Resulting Numbers: [4, 32, 40]
Generated Node #0,1: 19:[4, 32, 40] Operation: 46-6=40
Exploring Operation: 46-32=14, Resulting Numbers: [6, 4, 14]
Generated Node #0,2: 19:[6, 4, 14] Operation: 46-32=14
Exploring Operation: 6*4=24, Resulting Numbers: [46, 32, 24]
Generated Node #0,3: 19:[46, 32, 24] Operation: 6*4=24
Exploring Operation: 32-6=26, Resulting Numbers: [4, 46, 26]
Generated Node #0,4: 19:[4, 46, 26] Operation: 32-6=26
Moving to Node #0,2
Current State: 19:[6, 4, 14], Operations: ['46-32=14']
Exploring Operation: 6+14=20, Resulting Numbers: [4, 20]
Generated Node #0,2,0: 19:[4, 20] Operation: 6+14=20
Exploring Operation: 6*4=24, Resulting Numbers: [14, 24]
Generated Node #0,2,1: 19:[14, 24] Operation: 6*4=24
Exploring Operation: 4+14=18, Resulting Numbers: [6, 18]
Generated Node #0,2,2: 19:[6, 18] Operation: 4+14=18
Exploring Operation: 6-4=2, Resulting Numbers: [14, 2]
Generated Node #0,2,3: 19:[14, 2] Operation: 6-4=2
Exploring Operation: 6+4=10, Resulting Numbers: [14, 10]
Generated Node #0,2,4: 19:[14, 10] Operation: 6+4=10
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 19:[14, 24], Operations: ['46-32=14', '6*4=24']
Exploring Operation: 24-14=10, Resulting Numbers: [10]
10,19 unequal: No Solution
Exploring Operation: 14+24=38, Resulting Numbers: [38]
38,19 unequal: No Solution
Exploring Operation: 14*24=336, Resulting Numbers: [336]
336,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:[6, 18], Operations: ['46-32=14', '4+14=18']
Exploring Operation: 18/6=3, Resulting Numbers: [3]
3,19 unequal: No Solution
Exploring Operation: 6+18=24, Resulting Numbers: [24]
24,19 unequal: No Solution
Exploring Operation: 18-6=12, Resulting Numbers: [12]
12,19 unequal: No Solution
Exploring Operation: 6*18=108, Resulting Numbers: [108]
108,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,4
Current State: 19:[14, 10], Operations: ['46-32=14', '6+4=10']
Exploring Operation: 14*10=140, Resulting Numbers: [140]
140,19 unequal: No Solution
Exploring Operation: 14-10=4, Resulting Numbers: [4]
4,19 unequal: No Solution
Exploring Operation: 14+10=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,2,0
Current State: 19:[4, 20], Operations: ['46-32=14', '6+14=20']
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,19 unequal: No Solution
Exploring Operation: 4*20=80, Resulting Numbers: [80]
80,19 unequal: No Solution
Exploring Operation: 4+20=24, Resulting Numbers: [24]
24,19 unequal: No Solution
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,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:[14, 2], Operations: ['46-32=14', '6-4=2']
Exploring Operation: 14+2=16, Resulting Numbers: [16]
16,19 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,19 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,19 unequal: No Solution
Exploring Operation: 14*2=28, Resulting Numbers: [28]
28,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:[46, 32, 24], Operations: ['6*4=24']
Exploring Operation: 46-24=22, Resulting Numbers: [32, 22]
Generated Node #0,3,0: 19:[32, 22] Operation: 46-24=22
Exploring Operation: 46-32=14, Resulting Numbers: [24, 14]
Generated Node #0,3,1: 19:[24, 14] Operation: 46-32=14
Exploring Operation: 46+32=78, Resulting Numbers: [24, 78]
Generated Node #0,3,2: 19:[24, 78] Operation: 46+32=78
Exploring Operation: 46+24=70, Resulting Numbers: [32, 70]
Generated Node #0,3,3: 19:[32, 70] Operation: 46+24=70
Exploring Operation: 32-24=8, Resulting Numbers: [46, 8]
Generated Node #0,3,4: 19:[46, 8] Operation: 32-24=8
Moving to Node #0,0
Current State: 19:[46, 32, 10], Operations: ['6+4=10']
Exploring Operation: 46-32=14, Resulting Numbers: [10, 14]
Generated Node #0,0,0: 19:[10, 14] Operation: 46-32=14
Exploring Operation: 46+10=56, Resulting Numbers: [32, 56]
Generated Node #0,0,1: 19:[32, 56] Operation: 46+10=56
Exploring Operation: 32+10=42, Resulting Numbers: [46, 42]
Generated Node #0,0,2: 19:[46, 42] Operation: 32+10=42
Exploring Operation: 32-10=22, Resulting Numbers: [46, 22]
Generated Node #0,0,3: 19:[46, 22] Operation: 32-10=22
Exploring Operation: 46-10=36, Resulting Numbers: [32, 36]
Generated Node #0,0,4: 19:[32, 36] Operation: 46-10=36
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 19:[10, 14], Operations: ['6+4=10', '46-32=14']
Exploring Operation: 14-10=4, Resulting Numbers: [4]
4,19 unequal: No Solution
Exploring Operation: 10*14=140, Resulting Numbers: [140]
140,19 unequal: No Solution
Exploring Operation: 10+14=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,0,3
Current State: 19:[46, 22], Operations: ['6+4=10', '32-10=22']
Exploring Operation: 46-22=24, Resulting Numbers: [24]
24,19 unequal: No Solution
Exploring Operation: 46+22=68, Resulting Numbers: [68]
68,19 unequal: No Solution
Exploring Operation: 46*22=1012, Resulting Numbers: [1012]
1012,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:[32, 36], Operations: ['6+4=10', '46-10=36']
Exploring Operation: 36-32=4, Resulting Numbers: [4]
4,19 unequal: No Solution
Exploring Operation: 32*36=1152, Resulting Numbers: [1152]
1152,19 unequal: No Solution
Exploring Operation: 32+36=68, Resulting Numbers: [68]
68,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:[32, 56], Operations: ['6+4=10', '46+10=56']
Exploring Operation: 56-32=24, Resulting Numbers: [24]
24,19 unequal: No Solution
Exploring Operation: 32+56=88, Resulting Numbers: [88]
88,19 unequal: No Solution
Exploring Operation: 32*56=1792, Resulting Numbers: [1792]
1792,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:[46, 42], Operations: ['6+4=10', '32+10=42']
Exploring Operation: 46-42=4, Resulting Numbers: [4]
4,19 unequal: No Solution
Exploring Operation: 46*42=1932, Resulting Numbers: [1932]
1932,19 unequal: No Solution
Exploring Operation: 46+42=88, Resulting Numbers: [88]
88,19 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: 19:[4, 32, 40], Operations: ['46-6=40']
Exploring Operation: 40-32=8, Resulting Numbers: [4, 8]
Generated Node #0,1,0: 19:[4, 8] Operation: 40-32=8
Exploring Operation: 40/4=10, Resulting Numbers: [32, 10]
Generated Node #0,1,1: 19:[32, 10] Operation: 40/4=10
Exploring Operation: 32/4=8, Resulting Numbers: [40, 8]
Generated Node #0,1,2: 19:[40, 8] Operation: 32/4=8
Exploring Operation: 32-4=28, Resulting Numbers: [40, 28]
Generated Node #0,1,3: 19:[40, 28] Operation: 32-4=28
Exploring Operation: 40-4=36, Resulting Numbers: [32, 36]
Generated Node #0,1,4: 19:[32, 36] Operation: 40-4=36
Moving to Node #0,4
Current State: 19:[4, 46, 26], Operations: ['32-6=26']
Exploring Operation: 46-4=42, Resulting Numbers: [26, 42]
Generated Node #0,4,0: 19:[26, 42] Operation: 46-4=42
Exploring Operation: 46-26=20, Resulting Numbers: [4, 20]
Generated Node #0,4,1: 19:[4, 20] Operation: 46-26=20
Exploring Operation: 4+46=50, Resulting Numbers: [26, 50]
Generated Node #0,4,2: 19:[26, 50] Operation: 4+46=50
Exploring Operation: 26-4=22, Resulting Numbers: [46, 22]
Generated Node #0,4,3: 19:[46, 22] Operation: 26-4=22
Exploring Operation: 4+26=30, Resulting Numbers: [46, 30]
Generated Node #0,4,4: 19:[46, 30] Operation: 4+26=30
Moving to Node #0,3,1
Current State: 19:[24, 14], Operations: ['6*4=24', '46-32=14']
Exploring Operation: 24-14=10, Resulting Numbers: [10]
10,19 unequal: No Solution
Exploring Operation: 24*14=336, Resulting Numbers: [336]
336,19 unequal: No Solution
Exploring Operation: 24+14=38, Resulting Numbers: [38]
38,19 unequal: No Solution
Moving to Node #0,3,0
Current State: 19:[32, 22], Operations: ['6*4=24', '46-24=22']
Exploring Operation: 32*22=704, Resulting Numbers: [704]
704,19 unequal: No Solution
Exploring Operation: 32+22=54, Resulting Numbers: [54]
54,19 unequal: No Solution
Exploring Operation: 32-22=10, Resulting Numbers: [10]
10,19 unequal: No Solution
Moving to Node #0,4,1
Current State: 19:[4, 20], Operations: ['32-6=26', '46-26=20']
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,19 unequal: No Solution
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,19 unequal: No Solution
Exploring Operation: 4*20=80, Resulting Numbers: [80]
80,19 unequal: No Solution
Exploring Operation: 4+20=24, Resulting Numbers: [24]
24,19 unequal: No Solution
Moving to Node #0,1,1
Current State: 19:[32, 10], Operations: ['46-6=40', '40/4=10']
Exploring Operation: 32*10=320, Resulting Numbers: [320]
320,19 unequal: No Solution
Exploring Operation: 32-10=22, Resulting Numbers: [22]
22,19 unequal: No Solution
Exploring Operation: 32+10=42, Resulting Numbers: [42]
42,19 unequal: No Solution
Moving to Node #0,1,0
Current State: 19:[4, 8], Operations: ['46-6=40', '40-32=8']
Exploring Operation: 4+8=12, Resulting Numbers: [12]
12,19 unequal: No Solution
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,19 unequal: No Solution
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,19 unequal: No Solution
Exploring Operation: 4*8=32, Resulting Numbers: [32]
32,19 unequal: No Solution
Moving to Node #0,4,3
Current State: 19:[46, 22], Operations: ['32-6=26', '26-4=22']
Exploring Operation: 46*22=1012, Resulting Numbers: [1012]
1012,19 unequal: No Solution
Exploring Operation: 46+22=68, Resulting Numbers: [68]
68,19 unequal: No Solution
Exploring Operation: 46-22=24, Resulting Numbers: [24]
24,19 unequal: No Solution
Moving to Node #0,4,0
Current State: 19:[26, 42], Operations: ['32-6=26', '46-4=42']
Exploring Operation: 42-26=16, Resulting Numbers: [16]
16,19 unequal: No Solution
Exploring Operation: 26*42=1092, Resulting Numbers: [1092]
1092,19 unequal: No Solution
Exploring Operation: 26+42=68, Resulting Numbers: [68]
68,19 unequal: No Solution
Moving to Node #0,1,3
Current State: 19:[40, 28], Operations: ['46-6=40', '32-4=28']
Exploring Operation: 40+28=68, Resulting Numbers: [68]
68,19 unequal: No Solution
Exploring Operation: 40-28=12, Resulting Numbers: [12]
12,19 unequal: No Solution
Exploring Operation: 40*28=1120, Resulting Numbers: [1120]
1120,19 unequal: No Solution
Moving to Node #0,1,4
Current State: 19:[32, 36], Operations: ['46-6=40', '40-4=36']
Exploring Operation: 32+36=68, Resulting Numbers: [68]
68,19 unequal: No Solution
Exploring Operation: 32*36=1152, Resulting Numbers: [1152]
1152,19 unequal: No Solution
Exploring Operation: 36-32=4, Resulting Numbers: [4]
4,19 unequal: No Solution
Moving to Node #0,1,2
Current State: 19:[40, 8], Operations: ['46-6=40', '32/4=8']
Exploring Operation: 40/8=5, Resulting Numbers: [5]
5,19 unequal: No Solution
Exploring Operation: 40*8=320, Resulting Numbers: [320]
320,19 unequal: No Solution
Exploring Operation: 40+8=48, Resulting Numbers: [48]
48,19 unequal: No Solution
Exploring Operation: 40-8=32, Resulting Numbers: [32]
32,19 unequal: No Solution
Moving to Node #0,3,4
Current State: 19:[46, 8], Operations: ['6*4=24', '32-24=8']
Exploring Operation: 46+8=54, Resulting Numbers: [54]
54,19 unequal: No Solution
Exploring Operation: 46*8=368, Resulting Numbers: [368]
368,19 unequal: No Solution
Exploring Operation: 46-8=38, Resulting Numbers: [38]
38,19 unequal: No Solution
Moving to Node #0,4,4
Current State: 19:[46, 30], Operations: ['32-6=26', '4+26=30']
Exploring Operation: 46*30=1380, Resulting Numbers: [1380]
1380,19 unequal: No Solution
Exploring Operation: 46+30=76, Resulting Numbers: [76]
76,19 unequal: No Solution
Exploring Operation: 46-30=16, Resulting Numbers: [16]
16,19 unequal: No Solution
Moving to Node #0,4,2
Current State: 19:[26, 50], Operations: ['32-6=26', '4+46=50']
Exploring Operation: 26*50=1300, Resulting Numbers: [1300]
1300,19 unequal: No Solution
Exploring Operation: 26+50=76, Resulting Numbers: [76]
76,19 unequal: No Solution
Exploring Operation: 50-26=24, Resulting Numbers: [24]
24,19 unequal: No Solution
Moving to Node #0,3,3
Current State: 19:[32, 70], Operations: ['6*4=24', '46+24=70']
Exploring Operation: 32+70=102, Resulting Numbers: [102]
102,19 unequal: No Solution
Exploring Operation: 70-32=38, Resulting Numbers: [38]
38,19 unequal: No Solution
Exploring Operation: 32*70=2240, Resulting Numbers: [2240]
2240,19 unequal: No Solution
Moving to Node #0,3,2
Current State: 19:[24, 78], Operations: ['6*4=24', '46+32=78']
Exploring Operation: 24+78=102, Resulting Numbers: [102]
102,19 unequal: No Solution
Exploring Operation: 24*78=1872, Resulting Numbers: [1872]
1872,19 unequal: No Solution
Exploring Operation: 78-24=54, Resulting Numbers: [54]
54,19 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
88,
15,
65,
68
] | 93 | [
"68-65=3",
"15/3=5",
"88+5=93"
] | Current State: 93:[88, 15, 65, 68], Operations: []
Exploring Operation: 68-65=3, Resulting Numbers: [88, 15, 3]
Generated Node #2: [88, 15, 3] from Operation: 68-65=3
Current State: 93:[88, 15, 3], Operations: ['68-65=3']
Exploring Operation: 15/3=5, Resulting Numbers: [88, 5]
Generated Node #3: [88, 5] from Operation: 15/3=5
Current State: 93:[88, 5], Operations: ['68-65=3', '15/3=5']
Exploring Operation: 88+5=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[88, 15, 65, 68], Operations: []
Exploring Operation: 15+65=80, Resulting Numbers: [88, 68, 80]
Generated Node #0,0: 93:[88, 68, 80] Operation: 15+65=80
Exploring Operation: 68-65=3, Resulting Numbers: [88, 15, 3]
Generated Node #0,1: 93:[88, 15, 3] Operation: 68-65=3
Moving to Node #0,1
Current State: 93:[88, 15, 3], Operations: ['68-65=3']
Exploring Operation: 88+15=103, Resulting Numbers: [3, 103]
Generated Node #0,1,0: 93:[3, 103] Operation: 88+15=103
Exploring Operation: 15/3=5, Resulting Numbers: [88, 5]
Generated Node #0,1,1: 93:[88, 5] Operation: 15/3=5
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 93:[88, 5], Operations: ['68-65=3', '15/3=5']
Exploring Operation: 88-5=83, Resulting Numbers: [83]
83,93 unequal: No Solution
Exploring Operation: 88+5=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[88, 15, 65, 68], Operations: []
Exploring Operation: 68-65=3, Resulting Numbers: [88, 15, 3]
Generated Node #0,1: 93:[88, 15, 3] Operation: 68-65=3
Moving to Node #0,1
Current State: 93:[88, 15, 3], Operations: ['68-65=3']
Exploring Operation: 15/3=5, Resulting Numbers: [88, 5]
Generated Node #0,1,1: 93:[88, 5] Operation: 15/3=5
Moving to Node #0,1,1
Current State: 93:[88, 5], Operations: ['68-65=3', '15/3=5']
Exploring Operation: 88+5=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
49,
47,
69,
50
] | 22 | [
"50-49=1",
"69-47=22",
"1*22=22"
] | Current State: 22:[49, 47, 69, 50], Operations: []
Exploring Operation: 50-49=1, Resulting Numbers: [47, 69, 1]
Generated Node #2: [47, 69, 1] from Operation: 50-49=1
Current State: 22:[47, 69, 1], Operations: ['50-49=1']
Exploring Operation: 69-47=22, Resulting Numbers: [1, 22]
Generated Node #3: [1, 22] from Operation: 69-47=22
Current State: 22:[1, 22], Operations: ['50-49=1', '69-47=22']
Exploring Operation: 1*22=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[49, 47, 69, 50], Operations: []
Exploring Operation: 69-49=20, Resulting Numbers: [47, 50, 20]
Generated Node #0,0: 22:[47, 50, 20] Operation: 69-49=20
Exploring Operation: 69-47=22, Resulting Numbers: [49, 50, 22]
Generated Node #0,1: 22:[49, 50, 22] Operation: 69-47=22
Exploring Operation: 69-50=19, Resulting Numbers: [49, 47, 19]
Generated Node #0,2: 22:[49, 47, 19] Operation: 69-50=19
Moving to Node #0,0
Current State: 22:[47, 50, 20], Operations: ['69-49=20']
Exploring Operation: 50-20=30, Resulting Numbers: [47, 30]
Generated Node #0,0,0: 22:[47, 30] Operation: 50-20=30
Exploring Operation: 47-20=27, Resulting Numbers: [50, 27]
Generated Node #0,0,1: 22:[50, 27] Operation: 47-20=27
Exploring Operation: 50-47=3, Resulting Numbers: [20, 3]
Generated Node #0,0,2: 22:[20, 3] Operation: 50-47=3
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 22:[20, 3], Operations: ['69-49=20', '50-47=3']
Exploring Operation: 20+3=23, Resulting Numbers: [23]
23,22 unequal: No Solution
Exploring Operation: 20-3=17, Resulting Numbers: [17]
17,22 unequal: No Solution
Exploring Operation: 20*3=60, Resulting Numbers: [60]
60,22 unequal: No Solution
No 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: 22:[47, 30], Operations: ['69-49=20', '50-20=30']
Exploring Operation: 47*30=1410, Resulting Numbers: [1410]
1410,22 unequal: No Solution
Exploring Operation: 47-30=17, Resulting Numbers: [17]
17,22 unequal: No Solution
Exploring Operation: 47+30=77, Resulting Numbers: [77]
77,22 unequal: No Solution
No 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: 22:[50, 27], Operations: ['69-49=20', '47-20=27']
Exploring Operation: 50*27=1350, Resulting Numbers: [1350]
1350,22 unequal: No Solution
Exploring Operation: 50-27=23, Resulting Numbers: [23]
23,22 unequal: No Solution
Exploring Operation: 50+27=77, Resulting Numbers: [77]
77,22 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: 22:[49, 50, 22], Operations: ['69-47=22']
Exploring Operation: 50-49=1, Resulting Numbers: [22, 1]
Generated Node #0,1,0: 22:[22, 1] Operation: 50-49=1
Exploring Operation: 50-22=28, Resulting Numbers: [49, 28]
Generated Node #0,1,1: 22:[49, 28] Operation: 50-22=28
Exploring Operation: 49-22=27, Resulting Numbers: [50, 27]
Generated Node #0,1,2: 22:[50, 27] Operation: 49-22=27
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 22:[22, 1], Operations: ['69-47=22', '50-49=1']
Exploring Operation: 22*1=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[49, 47, 69, 50], Operations: []
Exploring Operation: 69-47=22, Resulting Numbers: [49, 50, 22]
Generated Node #0,1: 22:[49, 50, 22] Operation: 69-47=22
Moving to Node #0,1
Current State: 22:[49, 50, 22], Operations: ['69-47=22']
Exploring Operation: 50-49=1, Resulting Numbers: [22, 1]
Generated Node #0,1,0: 22:[22, 1] Operation: 50-49=1
Moving to Node #0,1,0
Current State: 22:[22, 1], Operations: ['69-47=22', '50-49=1']
Exploring Operation: 22*1=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_3 | mult_heuristic |
[
18,
64,
37,
99
] | 66 | [
"18*99=1782",
"64-37=27",
"1782/27=66"
] | Current State: 66:[18, 64, 37, 99], Operations: []
Exploring Operation: 18*99=1782, Resulting Numbers: [64, 37, 1782]
Generated Node #2: [64, 37, 1782] from Operation: 18*99=1782
Current State: 66:[64, 37, 1782], Operations: ['18*99=1782']
Exploring Operation: 64-37=27, Resulting Numbers: [1782, 27]
Generated Node #3: [1782, 27] from Operation: 64-37=27
Current State: 66:[1782, 27], Operations: ['18*99=1782', '64-37=27']
Exploring Operation: 1782/27=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[18, 64, 37, 99], Operations: []
Exploring Operation: 99-37=62, Resulting Numbers: [18, 64, 62]
Generated Node #0,0: 66:[18, 64, 62] Operation: 99-37=62
Exploring Operation: 99-64=35, Resulting Numbers: [18, 37, 35]
Generated Node #0,1: 66:[18, 37, 35] Operation: 99-64=35
Exploring Operation: 64-37=27, Resulting Numbers: [18, 99, 27]
Generated Node #0,2: 66:[18, 99, 27] Operation: 64-37=27
Exploring Operation: 99-18=81, Resulting Numbers: [64, 37, 81]
Generated Node #0,3: 66:[64, 37, 81] Operation: 99-18=81
Exploring Operation: 37-18=19, Resulting Numbers: [64, 99, 19]
Generated Node #0,4: 66:[64, 99, 19] Operation: 37-18=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[18, 64, 62], Operations: ['99-37=62']
Exploring Operation: 18+64=82, Resulting Numbers: [62, 82]
Generated Node #0,0,0: 66:[62, 82] Operation: 18+64=82
Exploring Operation: 64-18=46, Resulting Numbers: [62, 46]
Generated Node #0,0,1: 66:[62, 46] Operation: 64-18=46
Exploring Operation: 62-18=44, Resulting Numbers: [64, 44]
Generated Node #0,0,2: 66:[64, 44] Operation: 62-18=44
Exploring Operation: 18+62=80, Resulting Numbers: [64, 80]
Generated Node #0,0,3: 66:[64, 80] Operation: 18+62=80
Exploring Operation: 64-62=2, Resulting Numbers: [18, 2]
Generated Node #0,0,4: 66:[18, 2] Operation: 64-62=2
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 66:[18, 2], Operations: ['99-37=62', '64-62=2']
Exploring Operation: 18+2=20, Resulting Numbers: [20]
20,66 unequal: No Solution
Exploring Operation: 18*2=36, Resulting Numbers: [36]
36,66 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,66 unequal: No Solution
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 66:[64, 44], Operations: ['99-37=62', '62-18=44']
Exploring Operation: 64+44=108, Resulting Numbers: [108]
108,66 unequal: No Solution
Exploring Operation: 64*44=2816, Resulting Numbers: [2816]
2816,66 unequal: No Solution
Exploring Operation: 64-44=20, Resulting Numbers: [20]
20,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 66:[64, 80], Operations: ['99-37=62', '18+62=80']
Exploring Operation: 64*80=5120, Resulting Numbers: [5120]
5120,66 unequal: No Solution
Exploring Operation: 64+80=144, Resulting Numbers: [144]
144,66 unequal: No Solution
Exploring Operation: 80-64=16, Resulting Numbers: [16]
16,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 66:[62, 46], Operations: ['99-37=62', '64-18=46']
Exploring Operation: 62-46=16, Resulting Numbers: [16]
16,66 unequal: No Solution
Exploring Operation: 62+46=108, Resulting Numbers: [108]
108,66 unequal: No Solution
Exploring Operation: 62*46=2852, Resulting Numbers: [2852]
2852,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 66:[62, 82], Operations: ['99-37=62', '18+64=82']
Exploring Operation: 82-62=20, Resulting Numbers: [20]
20,66 unequal: No Solution
Exploring Operation: 62+82=144, Resulting Numbers: [144]
144,66 unequal: No Solution
Exploring Operation: 62*82=5084, Resulting Numbers: [5084]
5084,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 66:[18, 37, 35], Operations: ['99-64=35']
Exploring Operation: 35-18=17, Resulting Numbers: [37, 17]
Generated Node #0,1,0: 66:[37, 17] Operation: 35-18=17
Exploring Operation: 37-18=19, Resulting Numbers: [35, 19]
Generated Node #0,1,1: 66:[35, 19] Operation: 37-18=19
Exploring Operation: 18+37=55, Resulting Numbers: [35, 55]
Generated Node #0,1,2: 66:[35, 55] Operation: 18+37=55
Exploring Operation: 37-35=2, Resulting Numbers: [18, 2]
Generated Node #0,1,3: 66:[18, 2] Operation: 37-35=2
Exploring Operation: 37+35=72, Resulting Numbers: [18, 72]
Generated Node #0,1,4: 66:[18, 72] Operation: 37+35=72
Moving to Node #0,1,3
Current State: 66:[18, 2], Operations: ['99-64=35', '37-35=2']
Exploring Operation: 18*2=36, Resulting Numbers: [36]
36,66 unequal: No Solution
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,66 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,66 unequal: No Solution
Exploring Operation: 18+2=20, Resulting Numbers: [20]
20,66 unequal: No Solution
Moving to Node #0,1,1
Current State: 66:[35, 19], Operations: ['99-64=35', '37-18=19']
Exploring Operation: 35+19=54, Resulting Numbers: [54]
54,66 unequal: No Solution
Exploring Operation: 35-19=16, Resulting Numbers: [16]
16,66 unequal: No Solution
Exploring Operation: 35*19=665, Resulting Numbers: [665]
665,66 unequal: No Solution
Moving to Node #0,1,0
Current State: 66:[37, 17], Operations: ['99-64=35', '35-18=17']
Exploring Operation: 37*17=629, Resulting Numbers: [629]
629,66 unequal: No Solution
Exploring Operation: 37+17=54, Resulting Numbers: [54]
54,66 unequal: No Solution
Exploring Operation: 37-17=20, Resulting Numbers: [20]
20,66 unequal: No Solution
Moving to Node #0,1,4
Current State: 66:[18, 72], Operations: ['99-64=35', '37+35=72']
Exploring Operation: 72-18=54, Resulting Numbers: [54]
54,66 unequal: No Solution
Exploring Operation: 18*72=1296, Resulting Numbers: [1296]
1296,66 unequal: No Solution
Exploring Operation: 72/18=4, Resulting Numbers: [4]
4,66 unequal: No Solution
Exploring Operation: 18+72=90, Resulting Numbers: [90]
90,66 unequal: No Solution
Moving to Node #0,1,2
Current State: 66:[35, 55], Operations: ['99-64=35', '18+37=55']
Exploring Operation: 35+55=90, Resulting Numbers: [90]
90,66 unequal: No Solution
Exploring Operation: 55-35=20, Resulting Numbers: [20]
20,66 unequal: No Solution
Exploring Operation: 35*55=1925, Resulting Numbers: [1925]
1925,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 66:[64, 37, 81], Operations: ['99-18=81']
Exploring Operation: 81-64=17, Resulting Numbers: [37, 17]
Generated Node #0,3,0: 66:[37, 17] Operation: 81-64=17
Exploring Operation: 81-37=44, Resulting Numbers: [64, 44]
Generated Node #0,3,1: 66:[64, 44] Operation: 81-37=44
Exploring Operation: 64-37=27, Resulting Numbers: [81, 27]
Generated Node #0,3,2: 66:[81, 27] Operation: 64-37=27
Exploring Operation: 37+81=118, Resulting Numbers: [64, 118]
Generated Node #0,3,3: 66:[64, 118] Operation: 37+81=118
Exploring Operation: 64+37=101, Resulting Numbers: [81, 101]
Generated Node #0,3,4: 66:[81, 101] Operation: 64+37=101
Moving to Node #0,3,0
Current State: 66:[37, 17], Operations: ['99-18=81', '81-64=17']
Exploring Operation: 37*17=629, Resulting Numbers: [629]
629,66 unequal: No Solution
Exploring Operation: 37-17=20, Resulting Numbers: [20]
20,66 unequal: No Solution
Exploring Operation: 37+17=54, Resulting Numbers: [54]
54,66 unequal: No Solution
Moving to Node #0,3,1
Current State: 66:[64, 44], Operations: ['99-18=81', '81-37=44']
Exploring Operation: 64*44=2816, Resulting Numbers: [2816]
2816,66 unequal: No Solution
Exploring Operation: 64-44=20, Resulting Numbers: [20]
20,66 unequal: No Solution
Exploring Operation: 64+44=108, Resulting Numbers: [108]
108,66 unequal: No Solution
Moving to Node #0,3,2
Current State: 66:[81, 27], Operations: ['99-18=81', '64-37=27']
Exploring Operation: 81/27=3, Resulting Numbers: [3]
3,66 unequal: No Solution
Exploring Operation: 81-27=54, Resulting Numbers: [54]
54,66 unequal: No Solution
Exploring Operation: 81*27=2187, Resulting Numbers: [2187]
2187,66 unequal: No Solution
Exploring Operation: 81+27=108, Resulting Numbers: [108]
108,66 unequal: No Solution
Moving to Node #0,3,4
Current State: 66:[81, 101], Operations: ['99-18=81', '64+37=101']
Exploring Operation: 81+101=182, Resulting Numbers: [182]
182,66 unequal: No Solution
Exploring Operation: 101-81=20, Resulting Numbers: [20]
20,66 unequal: No Solution
Exploring Operation: 81*101=8181, Resulting Numbers: [8181]
8181,66 unequal: No Solution
Moving to Node #0,3,3
Current State: 66:[64, 118], Operations: ['99-18=81', '37+81=118']
Exploring Operation: 118-64=54, Resulting Numbers: [54]
54,66 unequal: No Solution
Exploring Operation: 64*118=7552, Resulting Numbers: [7552]
7552,66 unequal: No Solution
Exploring Operation: 64+118=182, Resulting Numbers: [182]
182,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,4
Current State: 66:[64, 99, 19], Operations: ['37-18=19']
Exploring Operation: 64+19=83, Resulting Numbers: [99, 83]
Generated Node #0,4,0: 66:[99, 83] Operation: 64+19=83
Exploring Operation: 99+19=118, Resulting Numbers: [64, 118]
Generated Node #0,4,1: 66:[64, 118] Operation: 99+19=118
Exploring Operation: 99-19=80, Resulting Numbers: [64, 80]
Generated Node #0,4,2: 66:[64, 80] Operation: 99-19=80
Exploring Operation: 99-64=35, Resulting Numbers: [19, 35]
Generated Node #0,4,3: 66:[19, 35] Operation: 99-64=35
Exploring Operation: 64-19=45, Resulting Numbers: [99, 45]
Generated Node #0,4,4: 66:[99, 45] Operation: 64-19=45
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 66:[19, 35], Operations: ['37-18=19', '99-64=35']
Exploring Operation: 19+35=54, Resulting Numbers: [54]
54,66 unequal: No Solution
Exploring Operation: 19*35=665, Resulting Numbers: [665]
665,66 unequal: No Solution
Exploring Operation: 35-19=16, Resulting Numbers: [16]
16,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 66:[64, 80], Operations: ['37-18=19', '99-19=80']
Exploring Operation: 64*80=5120, Resulting Numbers: [5120]
5120,66 unequal: No Solution
Exploring Operation: 80-64=16, Resulting Numbers: [16]
16,66 unequal: No Solution
Exploring Operation: 64+80=144, Resulting Numbers: [144]
144,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 66:[99, 45], Operations: ['37-18=19', '64-19=45']
Exploring Operation: 99+45=144, Resulting Numbers: [144]
144,66 unequal: No Solution
Exploring Operation: 99-45=54, Resulting Numbers: [54]
54,66 unequal: No Solution
Exploring Operation: 99*45=4455, Resulting Numbers: [4455]
4455,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 66:[99, 83], Operations: ['37-18=19', '64+19=83']
Exploring Operation: 99-83=16, Resulting Numbers: [16]
16,66 unequal: No Solution
Exploring Operation: 99*83=8217, Resulting Numbers: [8217]
8217,66 unequal: No Solution
Exploring Operation: 99+83=182, Resulting Numbers: [182]
182,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 66:[64, 118], Operations: ['37-18=19', '99+19=118']
Exploring Operation: 64*118=7552, Resulting Numbers: [7552]
7552,66 unequal: No Solution
Exploring Operation: 64+118=182, Resulting Numbers: [182]
182,66 unequal: No Solution
Exploring Operation: 118-64=54, Resulting Numbers: [54]
54,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 66:[18, 99, 27], Operations: ['64-37=27']
Exploring Operation: 99-27=72, Resulting Numbers: [18, 72]
Generated Node #0,2,0: 66:[18, 72] Operation: 99-27=72
Exploring Operation: 18+27=45, Resulting Numbers: [99, 45]
Generated Node #0,2,1: 66:[99, 45] Operation: 18+27=45
Exploring Operation: 27-18=9, Resulting Numbers: [99, 9]
Generated Node #0,2,2: 66:[99, 9] Operation: 27-18=9
Exploring Operation: 18+99=117, Resulting Numbers: [27, 117]
Generated Node #0,2,3: 66:[27, 117] Operation: 18+99=117
Exploring Operation: 99-18=81, Resulting Numbers: [27, 81]
Generated Node #0,2,4: 66:[27, 81] Operation: 99-18=81
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 66:[18, 72], Operations: ['64-37=27', '99-27=72']
Exploring Operation: 72-18=54, Resulting Numbers: [54]
54,66 unequal: No Solution
Exploring Operation: 72/18=4, Resulting Numbers: [4]
4,66 unequal: No Solution
Exploring Operation: 18+72=90, Resulting Numbers: [90]
90,66 unequal: No Solution
Exploring Operation: 18*72=1296, Resulting Numbers: [1296]
1296,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 66:[27, 81], Operations: ['64-37=27', '99-18=81']
Exploring Operation: 81/27=3, Resulting Numbers: [3]
3,66 unequal: No Solution
Exploring Operation: 27*81=2187, Resulting Numbers: [2187]
2187,66 unequal: No Solution
Exploring Operation: 27+81=108, Resulting Numbers: [108]
108,66 unequal: No Solution
Exploring Operation: 81-27=54, Resulting Numbers: [54]
54,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 66:[99, 9], Operations: ['64-37=27', '27-18=9']
Exploring Operation: 99+9=108, Resulting Numbers: [108]
108,66 unequal: No Solution
Exploring Operation: 99*9=891, Resulting Numbers: [891]
891,66 unequal: No Solution
Exploring Operation: 99-9=90, Resulting Numbers: [90]
90,66 unequal: No Solution
Exploring Operation: 99/9=11, Resulting Numbers: [11]
11,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 66:[99, 45], Operations: ['64-37=27', '18+27=45']
Exploring Operation: 99-45=54, Resulting Numbers: [54]
54,66 unequal: No Solution
Exploring Operation: 99*45=4455, Resulting Numbers: [4455]
4455,66 unequal: No Solution
Exploring Operation: 99+45=144, Resulting Numbers: [144]
144,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 66:[27, 117], Operations: ['64-37=27', '18+99=117']
Exploring Operation: 27+117=144, Resulting Numbers: [144]
144,66 unequal: No Solution
Exploring Operation: 117-27=90, Resulting Numbers: [90]
90,66 unequal: No Solution
Exploring Operation: 27*117=3159, Resulting Numbers: [3159]
3159,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
32,
58,
42,
64
] | 39 | [
"64-58=6",
"42/6=7",
"32+7=39"
] | Current State: 39:[32, 58, 42, 64], Operations: []
Exploring Operation: 64-58=6, Resulting Numbers: [32, 42, 6]
Generated Node #2: [32, 42, 6] from Operation: 64-58=6
Current State: 39:[32, 42, 6], Operations: ['64-58=6']
Exploring Operation: 42/6=7, Resulting Numbers: [32, 7]
Generated Node #3: [32, 7] from Operation: 42/6=7
Current State: 39:[32, 7], Operations: ['64-58=6', '42/6=7']
Exploring Operation: 32+7=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[32, 58, 42, 64], Operations: []
Exploring Operation: 64/32=2, Resulting Numbers: [58, 42, 2]
Generated Node #0,0: 39:[58, 42, 2] Operation: 64/32=2
Exploring Operation: 64-58=6, Resulting Numbers: [32, 42, 6]
Generated Node #0,1: 39:[32, 42, 6] Operation: 64-58=6
Moving to Node #0,1
Current State: 39:[32, 42, 6], Operations: ['64-58=6']
Exploring Operation: 32+6=38, Resulting Numbers: [42, 38]
Generated Node #0,1,0: 39:[42, 38] Operation: 32+6=38
Exploring Operation: 42-32=10, Resulting Numbers: [6, 10]
Generated Node #0,1,1: 39:[6, 10] Operation: 42-32=10
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 39:[42, 38], Operations: ['64-58=6', '32+6=38']
Exploring Operation: 42-38=4, Resulting Numbers: [4]
4,39 unequal: No Solution
Exploring Operation: 42+38=80, Resulting Numbers: [80]
80,39 unequal: No Solution
No 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: 39:[6, 10], Operations: ['64-58=6', '42-32=10']
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,39 unequal: No Solution
Exploring Operation: 6+10=16, Resulting Numbers: [16]
16,39 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: 39:[58, 42, 2], Operations: ['64/32=2']
Exploring Operation: 58-42=16, Resulting Numbers: [2, 16]
Generated Node #0,0,0: 39:[2, 16] Operation: 58-42=16
Exploring Operation: 58/2=29, Resulting Numbers: [42, 29]
Generated Node #0,0,1: 39:[42, 29] Operation: 58/2=29
Moving to Node #0,0,0
Current State: 39:[2, 16], Operations: ['64/32=2', '58-42=16']
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,39 unequal: No Solution
Exploring Operation: 2+16=18, Resulting Numbers: [18]
18,39 unequal: No Solution
Moving to Node #0,0,1
Current State: 39:[42, 29], Operations: ['64/32=2', '58/2=29']
Exploring Operation: 42+29=71, Resulting Numbers: [71]
71,39 unequal: No Solution
Exploring Operation: 42-29=13, Resulting Numbers: [13]
13,39 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
59,
16,
92,
74
] | 93 | [
"59+16=75",
"92-74=18",
"75+18=93"
] | Current State: 93:[59, 16, 92, 74], Operations: []
Exploring Operation: 59+16=75, Resulting Numbers: [92, 74, 75]
Generated Node #2: [92, 74, 75] from Operation: 59+16=75
Current State: 93:[92, 74, 75], Operations: ['59+16=75']
Exploring Operation: 92-74=18, Resulting Numbers: [75, 18]
Generated Node #3: [75, 18] from Operation: 92-74=18
Current State: 93:[75, 18], Operations: ['59+16=75', '92-74=18']
Exploring Operation: 75+18=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[59, 16, 92, 74], Operations: []
Exploring Operation: 59-16=43, Resulting Numbers: [92, 74, 43]
Generated Node #0,0: 93:[92, 74, 43] Operation: 59-16=43
Exploring Operation: 74-59=15, Resulting Numbers: [16, 92, 15]
Generated Node #0,1: 93:[16, 92, 15] Operation: 74-59=15
Start Sub Search at level 1: Moving to Node #0,1
Current State: 93:[16, 92, 15], Operations: ['74-59=15']
Exploring Operation: 16+15=31, Resulting Numbers: [92, 31]
Generated Node #0,1,0: 93:[92, 31] Operation: 16+15=31
Exploring Operation: 16-15=1, Resulting Numbers: [92, 1]
Generated Node #0,1,1: 93:[92, 1] Operation: 16-15=1
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 93:[92, 31], Operations: ['74-59=15', '16+15=31']
Exploring Operation: 92+31=123, Resulting Numbers: [123]
123,93 unequal: No Solution
Exploring Operation: 92-31=61, Resulting Numbers: [61]
61,93 unequal: No Solution
No 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: 93:[92, 1], Operations: ['74-59=15', '16-15=1']
Exploring Operation: 92+1=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[59, 16, 92, 74], Operations: []
Exploring Operation: 74-59=15, Resulting Numbers: [16, 92, 15]
Generated Node #0,1: 93:[16, 92, 15] Operation: 74-59=15
Moving to Node #0,1
Current State: 93:[16, 92, 15], Operations: ['74-59=15']
Exploring Operation: 16-15=1, Resulting Numbers: [92, 1]
Generated Node #0,1,1: 93:[92, 1] Operation: 16-15=1
Moving to Node #0,1,1
Current State: 93:[92, 1], Operations: ['74-59=15', '16-15=1']
Exploring Operation: 92+1=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
33,
98,
63,
72
] | 74 | [
"98-33=65",
"72-63=9",
"65+9=74"
] | Current State: 74:[33, 98, 63, 72], Operations: []
Exploring Operation: 98-33=65, Resulting Numbers: [63, 72, 65]
Generated Node #2: [63, 72, 65] from Operation: 98-33=65
Current State: 74:[63, 72, 65], Operations: ['98-33=65']
Exploring Operation: 72-63=9, Resulting Numbers: [65, 9]
Generated Node #3: [65, 9] from Operation: 72-63=9
Current State: 74:[65, 9], Operations: ['98-33=65', '72-63=9']
Exploring Operation: 65+9=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[33, 98, 63, 72], Operations: []
Exploring Operation: 98-63=35, Resulting Numbers: [33, 72, 35]
Generated Node #0,0: 74:[33, 72, 35] Operation: 98-63=35
Exploring Operation: 98-33=65, Resulting Numbers: [63, 72, 65]
Generated Node #0,1: 74:[63, 72, 65] Operation: 98-33=65
Moving to Node #0,0
Current State: 74:[33, 72, 35], Operations: ['98-63=35']
Exploring Operation: 72-33=39, Resulting Numbers: [35, 39]
Generated Node #0,0,0: 74:[35, 39] Operation: 72-33=39
Exploring Operation: 35-33=2, Resulting Numbers: [72, 2]
Generated Node #0,0,1: 74:[72, 2] Operation: 35-33=2
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 74:[72, 2], Operations: ['98-63=35', '35-33=2']
Exploring Operation: 72/2=36, Resulting Numbers: [36]
36,74 unequal: No Solution
Exploring Operation: 72+2=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[33, 98, 63, 72], Operations: []
Exploring Operation: 98-63=35, Resulting Numbers: [33, 72, 35]
Generated Node #0,0: 74:[33, 72, 35] Operation: 98-63=35
Moving to Node #0,0
Current State: 74:[33, 72, 35], Operations: ['98-63=35']
Exploring Operation: 35-33=2, Resulting Numbers: [72, 2]
Generated Node #0,0,1: 74:[72, 2] Operation: 35-33=2
Moving to Node #0,0,1
Current State: 74:[72, 2], Operations: ['98-63=35', '35-33=2']
Exploring Operation: 72+2=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
13,
26,
8,
11
] | 38 | [
"26/13=2",
"8+11=19",
"2*19=38"
] | Current State: 38:[13, 26, 8, 11], Operations: []
Exploring Operation: 26/13=2, Resulting Numbers: [8, 11, 2]
Generated Node #2: [8, 11, 2] from Operation: 26/13=2
Current State: 38:[8, 11, 2], Operations: ['26/13=2']
Exploring Operation: 8+11=19, Resulting Numbers: [2, 19]
Generated Node #3: [2, 19] from Operation: 8+11=19
Current State: 38:[2, 19], Operations: ['26/13=2', '8+11=19']
Exploring Operation: 2*19=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[13, 26, 8, 11], Operations: []
Exploring Operation: 11-8=3, Resulting Numbers: [13, 26, 3]
Generated Node #0,0: 38:[13, 26, 3] Operation: 11-8=3
Exploring Operation: 13-11=2, Resulting Numbers: [26, 8, 2]
Generated Node #0,1: 38:[26, 8, 2] Operation: 13-11=2
Exploring Operation: 8+11=19, Resulting Numbers: [13, 26, 19]
Generated Node #0,2: 38:[13, 26, 19] Operation: 8+11=19
Exploring Operation: 26/13=2, Resulting Numbers: [8, 11, 2]
Generated Node #0,3: 38:[8, 11, 2] Operation: 26/13=2
Exploring Operation: 26+11=37, Resulting Numbers: [13, 8, 37]
Generated Node #0,4: 38:[13, 8, 37] Operation: 26+11=37
Moving to Node #0,1
Current State: 38:[26, 8, 2], Operations: ['13-11=2']
Exploring Operation: 26+8=34, Resulting Numbers: [2, 34]
Generated Node #0,1,0: 38:[2, 34] Operation: 26+8=34
Exploring Operation: 26-8=18, Resulting Numbers: [2, 18]
Generated Node #0,1,1: 38:[2, 18] Operation: 26-8=18
Exploring Operation: 8*2=16, Resulting Numbers: [26, 16]
Generated Node #0,1,2: 38:[26, 16] Operation: 8*2=16
Exploring Operation: 26-2=24, Resulting Numbers: [8, 24]
Generated Node #0,1,3: 38:[8, 24] Operation: 26-2=24
Exploring Operation: 8/2=4, Resulting Numbers: [26, 4]
Generated Node #0,1,4: 38:[26, 4] Operation: 8/2=4
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 38:[2, 18], Operations: ['13-11=2', '26-8=18']
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,38 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,38 unequal: No Solution
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,38 unequal: No Solution
Exploring Operation: 2*18=36, Resulting Numbers: [36]
36,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 38:[2, 34], Operations: ['13-11=2', '26+8=34']
Exploring Operation: 2*34=68, Resulting Numbers: [68]
68,38 unequal: No Solution
Exploring Operation: 2+34=36, Resulting Numbers: [36]
36,38 unequal: No Solution
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,38 unequal: No Solution
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 38:[26, 4], Operations: ['13-11=2', '8/2=4']
Exploring Operation: 26*4=104, Resulting Numbers: [104]
104,38 unequal: No Solution
Exploring Operation: 26+4=30, Resulting Numbers: [30]
30,38 unequal: No Solution
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 38:[26, 16], Operations: ['13-11=2', '8*2=16']
Exploring Operation: 26-16=10, Resulting Numbers: [10]
10,38 unequal: No Solution
Exploring Operation: 26+16=42, Resulting Numbers: [42]
42,38 unequal: No Solution
Exploring Operation: 26*16=416, Resulting Numbers: [416]
416,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 38:[8, 24], Operations: ['13-11=2', '26-2=24']
Exploring Operation: 24/8=3, Resulting Numbers: [3]
3,38 unequal: No Solution
Exploring Operation: 24-8=16, Resulting Numbers: [16]
16,38 unequal: No Solution
Exploring Operation: 8+24=32, Resulting Numbers: [32]
32,38 unequal: No Solution
Exploring Operation: 8*24=192, Resulting Numbers: [192]
192,38 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: 38:[13, 8, 37], Operations: ['26+11=37']
Exploring Operation: 13-8=5, Resulting Numbers: [37, 5]
Generated Node #0,4,0: 38:[37, 5] Operation: 13-8=5
Exploring Operation: 13+8=21, Resulting Numbers: [37, 21]
Generated Node #0,4,1: 38:[37, 21] Operation: 13+8=21
Exploring Operation: 37-13=24, Resulting Numbers: [8, 24]
Generated Node #0,4,2: 38:[8, 24] Operation: 37-13=24
Exploring Operation: 8+37=45, Resulting Numbers: [13, 45]
Generated Node #0,4,3: 38:[13, 45] Operation: 8+37=45
Exploring Operation: 37-8=29, Resulting Numbers: [13, 29]
Generated Node #0,4,4: 38:[13, 29] Operation: 37-8=29
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 38:[37, 21], Operations: ['26+11=37', '13+8=21']
Exploring Operation: 37-21=16, Resulting Numbers: [16]
16,38 unequal: No Solution
Exploring Operation: 37+21=58, Resulting Numbers: [58]
58,38 unequal: No Solution
Exploring Operation: 37*21=777, Resulting Numbers: [777]
777,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 38:[37, 5], Operations: ['26+11=37', '13-8=5']
Exploring Operation: 37+5=42, Resulting Numbers: [42]
42,38 unequal: No Solution
Exploring Operation: 37-5=32, Resulting Numbers: [32]
32,38 unequal: No Solution
Exploring Operation: 37*5=185, Resulting Numbers: [185]
185,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 38:[8, 24], Operations: ['26+11=37', '37-13=24']
Exploring Operation: 24-8=16, Resulting Numbers: [16]
16,38 unequal: No Solution
Exploring Operation: 8+24=32, Resulting Numbers: [32]
32,38 unequal: No Solution
Exploring Operation: 24/8=3, Resulting Numbers: [3]
3,38 unequal: No Solution
Exploring Operation: 8*24=192, Resulting Numbers: [192]
192,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 38:[13, 45], Operations: ['26+11=37', '8+37=45']
Exploring Operation: 13*45=585, Resulting Numbers: [585]
585,38 unequal: No Solution
Exploring Operation: 45-13=32, Resulting Numbers: [32]
32,38 unequal: No Solution
Exploring Operation: 13+45=58, Resulting Numbers: [58]
58,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 38:[13, 29], Operations: ['26+11=37', '37-8=29']
Exploring Operation: 29-13=16, Resulting Numbers: [16]
16,38 unequal: No Solution
Exploring Operation: 13*29=377, Resulting Numbers: [377]
377,38 unequal: No Solution
Exploring Operation: 13+29=42, Resulting Numbers: [42]
42,38 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: 38:[13, 26, 19], Operations: ['8+11=19']
Exploring Operation: 26-19=7, Resulting Numbers: [13, 7]
Generated Node #0,2,0: 38:[13, 7] Operation: 26-19=7
Exploring Operation: 19-13=6, Resulting Numbers: [26, 6]
Generated Node #0,2,1: 38:[26, 6] Operation: 19-13=6
Exploring Operation: 26/13=2, Resulting Numbers: [19, 2]
Generated Node #0,2,2: 38:[19, 2] Operation: 26/13=2
Exploring Operation: 13+26=39, Resulting Numbers: [19, 39]
Generated Node #0,2,3: 38:[19, 39] Operation: 13+26=39
Exploring Operation: 26-13=13, Resulting Numbers: [19, 13]
Generated Node #0,2,4: 38:[19, 13] Operation: 26-13=13
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 38:[19, 2], Operations: ['8+11=19', '26/13=2']
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,38 unequal: No Solution
Exploring Operation: 19+2=21, Resulting Numbers: [21]
21,38 unequal: No Solution
Exploring Operation: 19*2=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[13, 26, 8, 11], Operations: []
Exploring Operation: 8+11=19, Resulting Numbers: [13, 26, 19]
Generated Node #0,2: 38:[13, 26, 19] Operation: 8+11=19
Moving to Node #0,2
Current State: 38:[13, 26, 19], Operations: ['8+11=19']
Exploring Operation: 26/13=2, Resulting Numbers: [19, 2]
Generated Node #0,2,2: 38:[19, 2] Operation: 26/13=2
Moving to Node #0,2,2
Current State: 38:[19, 2], Operations: ['8+11=19', '26/13=2']
Exploring Operation: 19*2=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 1
| 0.947049 | hs_5 | sum_heuristic |
[
7,
67,
28,
16
] | 72 | [
"67-7=60",
"28-16=12",
"60+12=72"
] | Current State: 72:[7, 67, 28, 16], Operations: []
Exploring Operation: 67-7=60, Resulting Numbers: [28, 16, 60]
Generated Node #2: [28, 16, 60] from Operation: 67-7=60
Current State: 72:[28, 16, 60], Operations: ['67-7=60']
Exploring Operation: 28-16=12, Resulting Numbers: [60, 12]
Generated Node #3: [60, 12] from Operation: 28-16=12
Current State: 72:[60, 12], Operations: ['67-7=60', '28-16=12']
Exploring Operation: 60+12=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[7, 67, 28, 16], Operations: []
Exploring Operation: 67-28=39, Resulting Numbers: [7, 16, 39]
Generated Node #0,0: 72:[7, 16, 39] Operation: 67-28=39
Exploring Operation: 28-16=12, Resulting Numbers: [7, 67, 12]
Generated Node #0,1: 72:[7, 67, 12] Operation: 28-16=12
Exploring Operation: 7+28=35, Resulting Numbers: [67, 16, 35]
Generated Node #0,2: 72:[67, 16, 35] Operation: 7+28=35
Exploring Operation: 28/7=4, Resulting Numbers: [67, 16, 4]
Generated Node #0,3: 72:[67, 16, 4] Operation: 28/7=4
Exploring Operation: 7+67=74, Resulting Numbers: [28, 16, 74]
Generated Node #0,4: 72:[28, 16, 74] Operation: 7+67=74
Moving to Node #0,0
Current State: 72:[7, 16, 39], Operations: ['67-28=39']
Exploring Operation: 7+39=46, Resulting Numbers: [16, 46]
Generated Node #0,0,0: 72:[16, 46] Operation: 7+39=46
Exploring Operation: 39-7=32, Resulting Numbers: [16, 32]
Generated Node #0,0,1: 72:[16, 32] Operation: 39-7=32
Exploring Operation: 7+16=23, Resulting Numbers: [39, 23]
Generated Node #0,0,2: 72:[39, 23] Operation: 7+16=23
Exploring Operation: 16-7=9, Resulting Numbers: [39, 9]
Generated Node #0,0,3: 72:[39, 9] Operation: 16-7=9
Exploring Operation: 39-16=23, Resulting Numbers: [7, 23]
Generated Node #0,0,4: 72:[7, 23] Operation: 39-16=23
Moving to Node #0,1
Current State: 72:[7, 67, 12], Operations: ['28-16=12']
Exploring Operation: 7+12=19, Resulting Numbers: [67, 19]
Generated Node #0,1,0: 72:[67, 19] Operation: 7+12=19
Exploring Operation: 67-7=60, Resulting Numbers: [12, 60]
Generated Node #0,1,1: 72:[12, 60] Operation: 67-7=60
Exploring Operation: 7+67=74, Resulting Numbers: [12, 74]
Generated Node #0,1,2: 72:[12, 74] Operation: 7+67=74
Exploring Operation: 67+12=79, Resulting Numbers: [7, 79]
Generated Node #0,1,3: 72:[7, 79] Operation: 67+12=79
Exploring Operation: 12-7=5, Resulting Numbers: [67, 5]
Generated Node #0,1,4: 72:[67, 5] Operation: 12-7=5
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 72:[12, 74], Operations: ['28-16=12', '7+67=74']
Exploring Operation: 12*74=888, Resulting Numbers: [888]
888,72 unequal: No Solution
Exploring Operation: 12+74=86, Resulting Numbers: [86]
86,72 unequal: No Solution
Exploring Operation: 74-12=62, Resulting Numbers: [62]
62,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 72:[67, 19], Operations: ['28-16=12', '7+12=19']
Exploring Operation: 67-19=48, Resulting Numbers: [48]
48,72 unequal: No Solution
Exploring Operation: 67*19=1273, Resulting Numbers: [1273]
1273,72 unequal: No Solution
Exploring Operation: 67+19=86, Resulting Numbers: [86]
86,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 72:[67, 5], Operations: ['28-16=12', '12-7=5']
Exploring Operation: 67*5=335, Resulting Numbers: [335]
335,72 unequal: No Solution
Exploring Operation: 67+5=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[7, 67, 28, 16], Operations: []
Exploring Operation: 28-16=12, Resulting Numbers: [7, 67, 12]
Generated Node #0,1: 72:[7, 67, 12] Operation: 28-16=12
Moving to Node #0,1
Current State: 72:[7, 67, 12], Operations: ['28-16=12']
Exploring Operation: 12-7=5, Resulting Numbers: [67, 5]
Generated Node #0,1,4: 72:[67, 5] Operation: 12-7=5
Moving to Node #0,1,4
Current State: 72:[67, 5], Operations: ['28-16=12', '12-7=5']
Exploring Operation: 67+5=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_5 | mult_heuristic |
[
69,
66,
52,
16
] | 71 | [
"69-66=3",
"52+16=68",
"3+68=71"
] | Current State: 71:[69, 66, 52, 16], Operations: []
Exploring Operation: 69-66=3, Resulting Numbers: [52, 16, 3]
Generated Node #2: [52, 16, 3] from Operation: 69-66=3
Current State: 71:[52, 16, 3], Operations: ['69-66=3']
Exploring Operation: 52+16=68, Resulting Numbers: [3, 68]
Generated Node #3: [3, 68] from Operation: 52+16=68
Current State: 71:[3, 68], Operations: ['69-66=3', '52+16=68']
Exploring Operation: 3+68=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[69, 66, 52, 16], Operations: []
Exploring Operation: 66+16=82, Resulting Numbers: [69, 52, 82]
Generated Node #0,0: 71:[69, 52, 82] Operation: 66+16=82
Exploring Operation: 52+16=68, Resulting Numbers: [69, 66, 68]
Generated Node #0,1: 71:[69, 66, 68] Operation: 52+16=68
Exploring Operation: 69+16=85, Resulting Numbers: [66, 52, 85]
Generated Node #0,2: 71:[66, 52, 85] Operation: 69+16=85
Moving to Node #0,1
Current State: 71:[69, 66, 68], Operations: ['52+16=68']
Exploring Operation: 66+68=134, Resulting Numbers: [69, 134]
Generated Node #0,1,0: 71:[69, 134] Operation: 66+68=134
Exploring Operation: 69-66=3, Resulting Numbers: [68, 3]
Generated Node #0,1,1: 71:[68, 3] Operation: 69-66=3
Exploring Operation: 69+66=135, Resulting Numbers: [68, 135]
Generated Node #0,1,2: 71:[68, 135] Operation: 69+66=135
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 71:[69, 134], Operations: ['52+16=68', '66+68=134']
Exploring Operation: 69+134=203, Resulting Numbers: [203]
203,71 unequal: No Solution
Exploring Operation: 69*134=9246, Resulting Numbers: [9246]
9246,71 unequal: No Solution
Exploring Operation: 134-69=65, Resulting Numbers: [65]
65,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:[68, 135], Operations: ['52+16=68', '69+66=135']
Exploring Operation: 135-68=67, Resulting Numbers: [67]
67,71 unequal: No Solution
Exploring Operation: 68+135=203, Resulting Numbers: [203]
203,71 unequal: No Solution
Exploring Operation: 68*135=9180, Resulting Numbers: [9180]
9180,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,1
Current State: 71:[68, 3], Operations: ['52+16=68', '69-66=3']
Exploring Operation: 68-3=65, Resulting Numbers: [65]
65,71 unequal: No Solution
Exploring Operation: 68+3=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[69, 66, 52, 16], Operations: []
Exploring Operation: 52+16=68, Resulting Numbers: [69, 66, 68]
Generated Node #0,1: 71:[69, 66, 68] Operation: 52+16=68
Moving to Node #0,1
Current State: 71:[69, 66, 68], Operations: ['52+16=68']
Exploring Operation: 69-66=3, Resulting Numbers: [68, 3]
Generated Node #0,1,1: 71:[68, 3] Operation: 69-66=3
Moving to Node #0,1,1
Current State: 71:[68, 3], Operations: ['52+16=68', '69-66=3']
Exploring Operation: 68+3=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_3 | mult_heuristic |
[
70,
35,
2,
25
] | 30 | [
"70-35=35",
"25+35=60",
"60/2=30"
] | Current State: 30:[70, 35, 2, 25], Operations: []
Exploring Operation: 70-35=35, Resulting Numbers: [2, 25, 35]
Generated Node #2: [2, 25, 35] from Operation: 70-35=35
Current State: 30:[2, 25, 35], Operations: ['70-35=35']
Exploring Operation: 25+35=60, Resulting Numbers: [2, 60]
Generated Node #3: [2, 60] from Operation: 25+35=60
Current State: 30:[2, 60], Operations: ['70-35=35', '25+35=60']
Exploring Operation: 60/2=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[70, 35, 2, 25], Operations: []
Exploring Operation: 70/35=2, Resulting Numbers: [2, 25, 2]
Generated Node #0,0: 30:[2, 25, 2] Operation: 70/35=2
Exploring Operation: 70-35=35, Resulting Numbers: [2, 25, 35]
Generated Node #0,1: 30:[2, 25, 35] Operation: 70-35=35
Moving to Node #0,0
Current State: 30:[2, 25, 2], Operations: ['70/35=2']
Exploring Operation: 25+2=27, Resulting Numbers: [2, 27]
Generated Node #0,0,0: 30:[2, 27] Operation: 25+2=27
Exploring Operation: 2+25=27, Resulting Numbers: [2, 27]
Generated Node #0,0,1: 30:[2, 27] Operation: 2+25=27
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 30:[2, 27], Operations: ['70/35=2', '25+2=27']
Exploring Operation: 2+27=29, Resulting Numbers: [29]
29,30 unequal: No Solution
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,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,0,1
Current State: 30:[2, 27], Operations: ['70/35=2', '2+25=27']
Exploring Operation: 2+27=29, Resulting Numbers: [29]
29,30 unequal: No Solution
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,30 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: 30:[2, 25, 35], Operations: ['70-35=35']
Exploring Operation: 2+25=27, Resulting Numbers: [35, 27]
Generated Node #0,1,0: 30:[35, 27] Operation: 2+25=27
Exploring Operation: 35-25=10, Resulting Numbers: [2, 10]
Generated Node #0,1,1: 30:[2, 10] Operation: 35-25=10
Moving to Node #0,1,1
Current State: 30:[2, 10], Operations: ['70-35=35', '35-25=10']
Exploring Operation: 2+10=12, Resulting Numbers: [12]
12,30 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,30 unequal: No Solution
Moving to Node #0,1,0
Current State: 30:[35, 27], Operations: ['70-35=35', '2+25=27']
Exploring Operation: 35-27=8, Resulting Numbers: [8]
8,30 unequal: No Solution
Exploring Operation: 35+27=62, Resulting Numbers: [62]
62,30 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
37,
2,
36,
30
] | 25 | [
"37-30=7",
"36/2=18",
"7+18=25"
] | Current State: 25:[37, 2, 36, 30], Operations: []
Exploring Operation: 37-30=7, Resulting Numbers: [2, 36, 7]
Generated Node #2: [2, 36, 7] from Operation: 37-30=7
Current State: 25:[2, 36, 7], Operations: ['37-30=7']
Exploring Operation: 36/2=18, Resulting Numbers: [7, 18]
Generated Node #3: [7, 18] from Operation: 36/2=18
Current State: 25:[7, 18], Operations: ['37-30=7', '36/2=18']
Exploring Operation: 7+18=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[37, 2, 36, 30], Operations: []
Exploring Operation: 36-30=6, Resulting Numbers: [37, 2, 6]
Generated Node #0,0: 25:[37, 2, 6] Operation: 36-30=6
Exploring Operation: 37-30=7, Resulting Numbers: [2, 36, 7]
Generated Node #0,1: 25:[2, 36, 7] Operation: 37-30=7
Exploring Operation: 37-2=35, Resulting Numbers: [36, 30, 35]
Generated Node #0,2: 25:[36, 30, 35] Operation: 37-2=35
Exploring Operation: 37-36=1, Resulting Numbers: [2, 30, 1]
Generated Node #0,3: 25:[2, 30, 1] Operation: 37-36=1
Exploring Operation: 36/2=18, Resulting Numbers: [37, 30, 18]
Generated Node #0,4: 25:[37, 30, 18] Operation: 36/2=18
Start Sub Search at level 1: Moving to Node #0,3
Current State: 25:[2, 30, 1], Operations: ['37-36=1']
Exploring Operation: 2*1=2, Resulting Numbers: [30, 2]
Generated Node #0,3,0: 25:[30, 2] Operation: 2*1=2
Exploring Operation: 2+1=3, Resulting Numbers: [30, 3]
Generated Node #0,3,1: 25:[30, 3] Operation: 2+1=3
Exploring Operation: 2/1=2, Resulting Numbers: [30, 2]
Generated Node #0,3,2: 25:[30, 2] Operation: 2/1=2
Exploring Operation: 30-2=28, Resulting Numbers: [1, 28]
Generated Node #0,3,3: 25:[1, 28] Operation: 30-2=28
Exploring Operation: 30-1=29, Resulting Numbers: [2, 29]
Generated Node #0,3,4: 25:[2, 29] Operation: 30-1=29
Moving to Node #0,3,1
Current State: 25:[30, 3], Operations: ['37-36=1', '2+1=3']
Exploring Operation: 30-3=27, Resulting Numbers: [27]
27,25 unequal: No Solution
Exploring Operation: 30/3=10, Resulting Numbers: [10]
10,25 unequal: No Solution
Exploring Operation: 30*3=90, Resulting Numbers: [90]
90,25 unequal: No Solution
Exploring Operation: 30+3=33, Resulting Numbers: [33]
33,25 unequal: No Solution
Moving to Node #0,3,4
Current State: 25:[2, 29], Operations: ['37-36=1', '30-1=29']
Exploring Operation: 2*29=58, Resulting Numbers: [58]
58,25 unequal: No Solution
Exploring Operation: 2+29=31, Resulting Numbers: [31]
31,25 unequal: No Solution
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,25 unequal: No Solution
Moving to Node #0,3,3
Current State: 25:[1, 28], Operations: ['37-36=1', '30-2=28']
Exploring Operation: 28-1=27, Resulting Numbers: [27]
27,25 unequal: No Solution
Exploring Operation: 28/1=28, Resulting Numbers: [28]
28,25 unequal: No Solution
Exploring Operation: 1*28=28, Resulting Numbers: [28]
28,25 unequal: No Solution
Exploring Operation: 1+28=29, Resulting Numbers: [29]
29,25 unequal: No Solution
Moving to Node #0,3,0
Current State: 25:[30, 2], Operations: ['37-36=1', '2*1=2']
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,25 unequal: No Solution
Exploring Operation: 30+2=32, Resulting Numbers: [32]
32,25 unequal: No Solution
Exploring Operation: 30*2=60, Resulting Numbers: [60]
60,25 unequal: No Solution
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,25 unequal: No Solution
Moving to Node #0,3,2
Current State: 25:[30, 2], Operations: ['37-36=1', '2/1=2']
Exploring Operation: 30+2=32, Resulting Numbers: [32]
32,25 unequal: No Solution
Exploring Operation: 30*2=60, Resulting Numbers: [60]
60,25 unequal: No Solution
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,25 unequal: No Solution
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[37, 2, 6], Operations: ['36-30=6']
Exploring Operation: 37+2=39, Resulting Numbers: [6, 39]
Generated Node #0,0,0: 25:[6, 39] Operation: 37+2=39
Exploring Operation: 37-6=31, Resulting Numbers: [2, 31]
Generated Node #0,0,1: 25:[2, 31] Operation: 37-6=31
Exploring Operation: 37-2=35, Resulting Numbers: [6, 35]
Generated Node #0,0,2: 25:[6, 35] Operation: 37-2=35
Exploring Operation: 6/2=3, Resulting Numbers: [37, 3]
Generated Node #0,0,3: 25:[37, 3] Operation: 6/2=3
Exploring Operation: 6-2=4, Resulting Numbers: [37, 4]
Generated Node #0,0,4: 25:[37, 4] Operation: 6-2=4
Moving to Node #0,0,1
Current State: 25:[2, 31], Operations: ['36-30=6', '37-6=31']
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,25 unequal: No Solution
Exploring Operation: 2+31=33, Resulting Numbers: [33]
33,25 unequal: No Solution
Exploring Operation: 2*31=62, Resulting Numbers: [62]
62,25 unequal: No Solution
Moving to Node #0,0,2
Current State: 25:[6, 35], Operations: ['36-30=6', '37-2=35']
Exploring Operation: 6+35=41, Resulting Numbers: [41]
41,25 unequal: No Solution
Exploring Operation: 6*35=210, Resulting Numbers: [210]
210,25 unequal: No Solution
Exploring Operation: 35-6=29, Resulting Numbers: [29]
29,25 unequal: No Solution
Moving to Node #0,0,4
Current State: 25:[37, 4], Operations: ['36-30=6', '6-2=4']
Exploring Operation: 37+4=41, Resulting Numbers: [41]
41,25 unequal: No Solution
Exploring Operation: 37-4=33, Resulting Numbers: [33]
33,25 unequal: No Solution
Exploring Operation: 37*4=148, Resulting Numbers: [148]
148,25 unequal: No Solution
Moving to Node #0,0,3
Current State: 25:[37, 3], Operations: ['36-30=6', '6/2=3']
Exploring Operation: 37-3=34, Resulting Numbers: [34]
34,25 unequal: No Solution
Exploring Operation: 37*3=111, Resulting Numbers: [111]
111,25 unequal: No Solution
Exploring Operation: 37+3=40, Resulting Numbers: [40]
40,25 unequal: No Solution
Moving to Node #0,0,0
Current State: 25:[6, 39], Operations: ['36-30=6', '37+2=39']
Exploring Operation: 6*39=234, Resulting Numbers: [234]
234,25 unequal: No Solution
Exploring Operation: 6+39=45, Resulting Numbers: [45]
45,25 unequal: No Solution
Exploring Operation: 39-6=33, Resulting Numbers: [33]
33,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 25:[2, 36, 7], Operations: ['37-30=7']
Exploring Operation: 36-7=29, Resulting Numbers: [2, 29]
Generated Node #0,1,0: 25:[2, 29] Operation: 36-7=29
Exploring Operation: 7-2=5, Resulting Numbers: [36, 5]
Generated Node #0,1,1: 25:[36, 5] Operation: 7-2=5
Exploring Operation: 36/2=18, Resulting Numbers: [7, 18]
Generated Node #0,1,2: 25:[7, 18] Operation: 36/2=18
Exploring Operation: 36-2=34, Resulting Numbers: [7, 34]
Generated Node #0,1,3: 25:[7, 34] Operation: 36-2=34
Exploring Operation: 2+36=38, Resulting Numbers: [7, 38]
Generated Node #0,1,4: 25:[7, 38] Operation: 2+36=38
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 25:[2, 29], Operations: ['37-30=7', '36-7=29']
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,25 unequal: No Solution
Exploring Operation: 2+29=31, Resulting Numbers: [31]
31,25 unequal: No Solution
Exploring Operation: 2*29=58, Resulting Numbers: [58]
58,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 25:[7, 18], Operations: ['37-30=7', '36/2=18']
Exploring Operation: 7+18=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[37, 2, 36, 30], Operations: []
Exploring Operation: 37-30=7, Resulting Numbers: [2, 36, 7]
Generated Node #0,1: 25:[2, 36, 7] Operation: 37-30=7
Moving to Node #0,1
Current State: 25:[2, 36, 7], Operations: ['37-30=7']
Exploring Operation: 36/2=18, Resulting Numbers: [7, 18]
Generated Node #0,1,2: 25:[7, 18] Operation: 36/2=18
Moving to Node #0,1,2
Current State: 25:[7, 18], Operations: ['37-30=7', '36/2=18']
Exploring Operation: 7+18=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.946181 | hs_5 | sum_heuristic |
[
20,
20,
49,
15
] | 53 | [
"20-15=5",
"20/5=4",
"49+4=53"
] | Current State: 53:[20, 20, 49, 15], Operations: []
Exploring Operation: 20-15=5, Resulting Numbers: [49, 5]
Generated Node #2: [49, 5] from Operation: 20-15=5
Current State: 53:[49, 5], Operations: ['20-15=5']
Exploring Operation: 20/5=4, Resulting Numbers: [49, 4]
Generated Node #3: [49, 4] from Operation: 20/5=4
Current State: 53:[49, 4], Operations: ['20-15=5', '20/5=4']
Exploring Operation: 49+4=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[20, 20, 49, 15], Operations: []
Exploring Operation: 20+20=40, Resulting Numbers: [49, 15, 40]
Generated Node #0,0: 53:[49, 15, 40] Operation: 20+20=40
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[49, 15, 40], Operations: ['20+20=40']
Exploring Operation: 15+40=55, Resulting Numbers: [49, 55]
Generated Node #0,0,0: 53:[49, 55] Operation: 15+40=55
Moving to Node #0,0,0
Current State: 53:[49, 55], Operations: ['20+20=40', '15+40=55']
Exploring Operation: 55-49=6, Resulting Numbers: [6]
6,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
76,
81,
25,
83
] | 53 | [
"81-76=5",
"83-25=58",
"58-5=53"
] | Current State: 53:[76, 81, 25, 83], Operations: []
Exploring Operation: 81-76=5, Resulting Numbers: [25, 83, 5]
Generated Node #2: [25, 83, 5] from Operation: 81-76=5
Current State: 53:[25, 83, 5], Operations: ['81-76=5']
Exploring Operation: 83-25=58, Resulting Numbers: [5, 58]
Generated Node #3: [5, 58] from Operation: 83-25=58
Current State: 53:[5, 58], Operations: ['81-76=5', '83-25=58']
Exploring Operation: 58-5=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[76, 81, 25, 83], Operations: []
Exploring Operation: 83-76=7, Resulting Numbers: [81, 25, 7]
Generated Node #0,0: 53:[81, 25, 7] Operation: 83-76=7
Exploring Operation: 76-25=51, Resulting Numbers: [81, 83, 51]
Generated Node #0,1: 53:[81, 83, 51] Operation: 76-25=51
Exploring Operation: 81-25=56, Resulting Numbers: [76, 83, 56]
Generated Node #0,2: 53:[76, 83, 56] Operation: 81-25=56
Exploring Operation: 83-25=58, Resulting Numbers: [76, 81, 58]
Generated Node #0,3: 53:[76, 81, 58] Operation: 83-25=58
Start Sub Search at level 1: Moving to Node #0,2
Current State: 53:[76, 83, 56], Operations: ['81-25=56']
Exploring Operation: 76+83=159, Resulting Numbers: [56, 159]
Generated Node #0,2,0: 53:[56, 159] Operation: 76+83=159
Exploring Operation: 83-56=27, Resulting Numbers: [76, 27]
Generated Node #0,2,1: 53:[76, 27] Operation: 83-56=27
Exploring Operation: 76-56=20, Resulting Numbers: [83, 20]
Generated Node #0,2,2: 53:[83, 20] Operation: 76-56=20
Exploring Operation: 83-76=7, Resulting Numbers: [56, 7]
Generated Node #0,2,3: 53:[56, 7] Operation: 83-76=7
Moving to Node #0,2,1
Current State: 53:[76, 27], Operations: ['81-25=56', '83-56=27']
Exploring Operation: 76-27=49, Resulting Numbers: [49]
49,53 unequal: No Solution
Exploring Operation: 76*27=2052, Resulting Numbers: [2052]
2052,53 unequal: No Solution
Exploring Operation: 76+27=103, Resulting Numbers: [103]
103,53 unequal: No Solution
Moving to Node #0,2,3
Current State: 53:[56, 7], Operations: ['81-25=56', '83-76=7']
Exploring Operation: 56-7=49, Resulting Numbers: [49]
49,53 unequal: No Solution
Exploring Operation: 56/7=8, Resulting Numbers: [8]
8,53 unequal: No Solution
Exploring Operation: 56+7=63, Resulting Numbers: [63]
63,53 unequal: No Solution
Exploring Operation: 56*7=392, Resulting Numbers: [392]
392,53 unequal: No Solution
Moving to Node #0,2,2
Current State: 53:[83, 20], Operations: ['81-25=56', '76-56=20']
Exploring Operation: 83*20=1660, Resulting Numbers: [1660]
1660,53 unequal: No Solution
Exploring Operation: 83-20=63, Resulting Numbers: [63]
63,53 unequal: No Solution
Exploring Operation: 83+20=103, Resulting Numbers: [103]
103,53 unequal: No Solution
Moving to Node #0,2,0
Current State: 53:[56, 159], Operations: ['81-25=56', '76+83=159']
Exploring Operation: 56*159=8904, Resulting Numbers: [8904]
8904,53 unequal: No Solution
Exploring Operation: 159-56=103, Resulting Numbers: [103]
103,53 unequal: No Solution
Exploring Operation: 56+159=215, Resulting Numbers: [215]
215,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,3
Current State: 53:[76, 81, 58], Operations: ['83-25=58']
Exploring Operation: 81-76=5, Resulting Numbers: [58, 5]
Generated Node #0,3,0: 53:[58, 5] Operation: 81-76=5
Exploring Operation: 81-58=23, Resulting Numbers: [76, 23]
Generated Node #0,3,1: 53:[76, 23] Operation: 81-58=23
Exploring Operation: 76+81=157, Resulting Numbers: [58, 157]
Generated Node #0,3,2: 53:[58, 157] Operation: 76+81=157
Exploring Operation: 76-58=18, Resulting Numbers: [81, 18]
Generated Node #0,3,3: 53:[81, 18] Operation: 76-58=18
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 53:[58, 5], Operations: ['83-25=58', '81-76=5']
Exploring Operation: 58-5=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[76, 81, 25, 83], Operations: []
Exploring Operation: 83-25=58, Resulting Numbers: [76, 81, 58]
Generated Node #0,3: 53:[76, 81, 58] Operation: 83-25=58
Moving to Node #0,3
Current State: 53:[76, 81, 58], Operations: ['83-25=58']
Exploring Operation: 81-76=5, Resulting Numbers: [58, 5]
Generated Node #0,3,0: 53:[58, 5] Operation: 81-76=5
Moving to Node #0,3,0
Current State: 53:[58, 5], Operations: ['83-25=58', '81-76=5']
Exploring Operation: 58-5=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.973958 | hs_4 | mult_heuristic |
[
9,
37,
13,
3
] | 27 | [
"9/3=3",
"37-13=24",
"3+24=27"
] | Current State: 27:[9, 37, 13, 3], Operations: []
Exploring Operation: 9/3=3, Resulting Numbers: [37, 13, 3]
Generated Node #2: [37, 13, 3] from Operation: 9/3=3
Current State: 27:[37, 13, 3], Operations: ['9/3=3']
Exploring Operation: 37-13=24, Resulting Numbers: [3, 24]
Generated Node #3: [3, 24] from Operation: 37-13=24
Current State: 27:[3, 24], Operations: ['9/3=3', '37-13=24']
Exploring Operation: 3+24=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[9, 37, 13, 3], Operations: []
Exploring Operation: 13-9=4, Resulting Numbers: [37, 3, 4]
Generated Node #0,0: 27:[37, 3, 4] Operation: 13-9=4
Exploring Operation: 37-9=28, Resulting Numbers: [13, 3, 28]
Generated Node #0,1: 27:[13, 3, 28] Operation: 37-9=28
Exploring Operation: 37-13=24, Resulting Numbers: [9, 3, 24]
Generated Node #0,2: 27:[9, 3, 24] Operation: 37-13=24
Exploring Operation: 37-3=34, Resulting Numbers: [9, 13, 34]
Generated Node #0,3: 27:[9, 13, 34] Operation: 37-3=34
Moving to Node #0,2
Current State: 27:[9, 3, 24], Operations: ['37-13=24']
Exploring Operation: 24/3=8, Resulting Numbers: [9, 8]
Generated Node #0,2,0: 27:[9, 8] Operation: 24/3=8
Exploring Operation: 9*3=27, Resulting Numbers: [24, 27]
Generated Node #0,2,1: 27:[24, 27] Operation: 9*3=27
Exploring Operation: 3+24=27, Resulting Numbers: [9, 27]
Generated Node #0,2,2: 27:[9, 27] Operation: 3+24=27
Exploring Operation: 9/3=3, Resulting Numbers: [24, 3]
Generated Node #0,2,3: 27:[24, 3] Operation: 9/3=3
Moving to Node #0,1
Current State: 27:[13, 3, 28], Operations: ['37-9=28']
Exploring Operation: 13-3=10, Resulting Numbers: [28, 10]
Generated Node #0,1,0: 27:[28, 10] Operation: 13-3=10
Exploring Operation: 28-13=15, Resulting Numbers: [3, 15]
Generated Node #0,1,1: 27:[3, 15] Operation: 28-13=15
Exploring Operation: 28-3=25, Resulting Numbers: [13, 25]
Generated Node #0,1,2: 27:[13, 25] Operation: 28-3=25
Exploring Operation: 13+3=16, Resulting Numbers: [28, 16]
Generated Node #0,1,3: 27:[28, 16] Operation: 13+3=16
Moving to Node #0,3
Current State: 27:[9, 13, 34], Operations: ['37-3=34']
Exploring Operation: 9+13=22, Resulting Numbers: [34, 22]
Generated Node #0,3,0: 27:[34, 22] Operation: 9+13=22
Exploring Operation: 13-9=4, Resulting Numbers: [34, 4]
Generated Node #0,3,1: 27:[34, 4] Operation: 13-9=4
Exploring Operation: 34-13=21, Resulting Numbers: [9, 21]
Generated Node #0,3,2: 27:[9, 21] Operation: 34-13=21
Exploring Operation: 34-9=25, Resulting Numbers: [13, 25]
Generated Node #0,3,3: 27:[13, 25] Operation: 34-9=25
Moving to Node #0,0
Current State: 27:[37, 3, 4], Operations: ['13-9=4']
Exploring Operation: 37-3=34, Resulting Numbers: [4, 34]
Generated Node #0,0,0: 27:[4, 34] Operation: 37-3=34
Exploring Operation: 37-4=33, Resulting Numbers: [3, 33]
Generated Node #0,0,1: 27:[3, 33] Operation: 37-4=33
Exploring Operation: 3+4=7, Resulting Numbers: [37, 7]
Generated Node #0,0,2: 27:[37, 7] Operation: 3+4=7
Exploring Operation: 4-3=1, Resulting Numbers: [37, 1]
Generated Node #0,0,3: 27:[37, 1] Operation: 4-3=1
Moving to Node #0,2,2
Current State: 27:[9, 27], Operations: ['37-13=24', '3+24=27']
Exploring Operation: 27/9=3, Resulting Numbers: [3]
3,27 unequal: No Solution
Exploring Operation: 9*27=243, Resulting Numbers: [243]
243,27 unequal: No Solution
Exploring Operation: 27-9=18, Resulting Numbers: [18]
18,27 unequal: No Solution
Exploring Operation: 9+27=36, Resulting Numbers: [36]
36,27 unequal: No Solution
Moving to Node #0,2,0
Current State: 27:[9, 8], Operations: ['37-13=24', '24/3=8']
Exploring Operation: 9+8=17, Resulting Numbers: [17]
17,27 unequal: No Solution
Exploring Operation: 9*8=72, Resulting Numbers: [72]
72,27 unequal: No Solution
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,27 unequal: No Solution
Moving to Node #0,1,0
Current State: 27:[28, 10], Operations: ['37-9=28', '13-3=10']
Exploring Operation: 28*10=280, Resulting Numbers: [280]
280,27 unequal: No Solution
Exploring Operation: 28-10=18, Resulting Numbers: [18]
18,27 unequal: No Solution
Exploring Operation: 28+10=38, Resulting Numbers: [38]
38,27 unequal: No Solution
Moving to Node #0,2,1
Current State: 27:[24, 27], Operations: ['37-13=24', '9*3=27']
Exploring Operation: 27-24=3, Resulting Numbers: [3]
3,27 unequal: No Solution
Exploring Operation: 24*27=648, Resulting Numbers: [648]
648,27 unequal: No Solution
Exploring Operation: 24+27=51, Resulting Numbers: [51]
51,27 unequal: No Solution
Moving to Node #0,2,3
Current State: 27:[24, 3], Operations: ['37-13=24', '9/3=3']
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,27 unequal: No Solution
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,27 unequal: No Solution
Exploring Operation: 24*3=72, Resulting Numbers: [72]
72,27 unequal: No Solution
Exploring Operation: 24+3=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[9, 37, 13, 3], Operations: []
Exploring Operation: 37-13=24, Resulting Numbers: [9, 3, 24]
Generated Node #0,2: 27:[9, 3, 24] Operation: 37-13=24
Moving to Node #0,2
Current State: 27:[9, 3, 24], Operations: ['37-13=24']
Exploring Operation: 9/3=3, Resulting Numbers: [24, 3]
Generated Node #0,2,3: 27:[24, 3] Operation: 9/3=3
Moving to Node #0,2,3
Current State: 27:[24, 3], Operations: ['37-13=24', '9/3=3']
Exploring Operation: 24+3=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 0.96441 | hs_4 | sum_heuristic |
[
49,
3,
15,
92
] | 84 | [
"49+15=64",
"92-64=28",
"3*28=84"
] | Current State: 84:[49, 3, 15, 92], Operations: []
Exploring Operation: 49+15=64, Resulting Numbers: [3, 92, 64]
Generated Node #2: [3, 92, 64] from Operation: 49+15=64
Current State: 84:[3, 92, 64], Operations: ['49+15=64']
Exploring Operation: 92-64=28, Resulting Numbers: [3, 28]
Generated Node #3: [3, 28] from Operation: 92-64=28
Current State: 84:[3, 28], Operations: ['49+15=64', '92-64=28']
Exploring Operation: 3*28=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[49, 3, 15, 92], Operations: []
Exploring Operation: 92-49=43, Resulting Numbers: [3, 15, 43]
Generated Node #0,0: 84:[3, 15, 43] Operation: 92-49=43
Exploring Operation: 92-3=89, Resulting Numbers: [49, 15, 89]
Generated Node #0,1: 84:[49, 15, 89] Operation: 92-3=89
Exploring Operation: 49-15=34, Resulting Numbers: [3, 92, 34]
Generated Node #0,2: 84:[3, 92, 34] Operation: 49-15=34
Exploring Operation: 49-3=46, Resulting Numbers: [15, 92, 46]
Generated Node #0,3: 84:[15, 92, 46] Operation: 49-3=46
Exploring Operation: 92-15=77, Resulting Numbers: [49, 3, 77]
Generated Node #0,4: 84:[49, 3, 77] Operation: 92-15=77
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[3, 15, 43], Operations: ['92-49=43']
Exploring Operation: 43-15=28, Resulting Numbers: [3, 28]
Generated Node #0,0,0: 84:[3, 28] Operation: 43-15=28
Exploring Operation: 43-3=40, Resulting Numbers: [15, 40]
Generated Node #0,0,1: 84:[15, 40] Operation: 43-3=40
Exploring Operation: 3+15=18, Resulting Numbers: [43, 18]
Generated Node #0,0,2: 84:[43, 18] Operation: 3+15=18
Exploring Operation: 15/3=5, Resulting Numbers: [43, 5]
Generated Node #0,0,3: 84:[43, 5] Operation: 15/3=5
Exploring Operation: 15-3=12, Resulting Numbers: [43, 12]
Generated Node #0,0,4: 84:[43, 12] Operation: 15-3=12
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 84:[3, 28], Operations: ['92-49=43', '43-15=28']
Exploring Operation: 3+28=31, Resulting Numbers: [31]
31,84 unequal: No Solution
Exploring Operation: 3*28=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[49, 3, 15, 92], Operations: []
Exploring Operation: 92-49=43, Resulting Numbers: [3, 15, 43]
Generated Node #0,0: 84:[3, 15, 43] Operation: 92-49=43
Moving to Node #0,0
Current State: 84:[3, 15, 43], Operations: ['92-49=43']
Exploring Operation: 43-15=28, Resulting Numbers: [3, 28]
Generated Node #0,0,0: 84:[3, 28] Operation: 43-15=28
Moving to Node #0,0,0
Current State: 84:[3, 28], Operations: ['92-49=43', '43-15=28']
Exploring Operation: 3*28=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
97,
78,
93,
58
] | 24 | [
"97+78=175",
"93+58=151",
"175-151=24"
] | Current State: 24:[97, 78, 93, 58], Operations: []
Exploring Operation: 97+78=175, Resulting Numbers: [93, 58, 175]
Generated Node #2: [93, 58, 175] from Operation: 97+78=175
Current State: 24:[93, 58, 175], Operations: ['97+78=175']
Exploring Operation: 93+58=151, Resulting Numbers: [175, 151]
Generated Node #3: [175, 151] from Operation: 93+58=151
Current State: 24:[175, 151], Operations: ['97+78=175', '93+58=151']
Exploring Operation: 175-151=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[97, 78, 93, 58], Operations: []
Exploring Operation: 93-78=15, Resulting Numbers: [97, 58, 15]
Generated Node #0,0: 24:[97, 58, 15] Operation: 93-78=15
Exploring Operation: 97-93=4, Resulting Numbers: [78, 58, 4]
Generated Node #0,1: 24:[78, 58, 4] Operation: 97-93=4
Exploring Operation: 97-78=19, Resulting Numbers: [93, 58, 19]
Generated Node #0,2: 24:[93, 58, 19] Operation: 97-78=19
Start Sub Search at level 1: Moving to Node #0,1
Current State: 24:[78, 58, 4], Operations: ['97-93=4']
Exploring Operation: 78-58=20, Resulting Numbers: [4, 20]
Generated Node #0,1,0: 24:[4, 20] Operation: 78-58=20
Exploring Operation: 58-4=54, Resulting Numbers: [78, 54]
Generated Node #0,1,1: 24:[78, 54] Operation: 58-4=54
Exploring Operation: 78-4=74, Resulting Numbers: [58, 74]
Generated Node #0,1,2: 24:[58, 74] Operation: 78-4=74
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 24:[4, 20], Operations: ['97-93=4', '78-58=20']
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,24 unequal: No Solution
Exploring Operation: 4+20=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[97, 78, 93, 58], Operations: []
Exploring Operation: 97-93=4, Resulting Numbers: [78, 58, 4]
Generated Node #0,1: 24:[78, 58, 4] Operation: 97-93=4
Moving to Node #0,1
Current State: 24:[78, 58, 4], Operations: ['97-93=4']
Exploring Operation: 78-58=20, Resulting Numbers: [4, 20]
Generated Node #0,1,0: 24:[4, 20] Operation: 78-58=20
Moving to Node #0,1,0
Current State: 24:[4, 20], Operations: ['97-93=4', '78-58=20']
Exploring Operation: 4+20=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
42,
51,
52,
36
] | 77 | [
"42+51=93",
"52-36=16",
"93-16=77"
] | Current State: 77:[42, 51, 52, 36], Operations: []
Exploring Operation: 42+51=93, Resulting Numbers: [52, 36, 93]
Generated Node #2: [52, 36, 93] from Operation: 42+51=93
Current State: 77:[52, 36, 93], Operations: ['42+51=93']
Exploring Operation: 52-36=16, Resulting Numbers: [93, 16]
Generated Node #3: [93, 16] from Operation: 52-36=16
Current State: 77:[93, 16], Operations: ['42+51=93', '52-36=16']
Exploring Operation: 93-16=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[42, 51, 52, 36], Operations: []
Exploring Operation: 51-42=9, Resulting Numbers: [52, 36, 9]
Generated Node #0,0: 77:[52, 36, 9] Operation: 51-42=9
Exploring Operation: 52-42=10, Resulting Numbers: [51, 36, 10]
Generated Node #0,1: 77:[51, 36, 10] Operation: 52-42=10
Exploring Operation: 42+36=78, Resulting Numbers: [51, 52, 78]
Generated Node #0,2: 77:[51, 52, 78] Operation: 42+36=78
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[52, 36, 9], Operations: ['51-42=9']
Exploring Operation: 52-36=16, Resulting Numbers: [9, 16]
Generated Node #0,0,0: 77:[9, 16] Operation: 52-36=16
Exploring Operation: 36/9=4, Resulting Numbers: [52, 4]
Generated Node #0,0,1: 77:[52, 4] Operation: 36/9=4
Exploring Operation: 52+36=88, Resulting Numbers: [9, 88]
Generated Node #0,0,2: 77:[9, 88] Operation: 52+36=88
Moving to Node #0,0,0
Current State: 77:[9, 16], Operations: ['51-42=9', '52-36=16']
Exploring Operation: 9*16=144, Resulting Numbers: [144]
144,77 unequal: No Solution
Exploring Operation: 16-9=7, Resulting Numbers: [7]
7,77 unequal: No Solution
Exploring Operation: 9+16=25, Resulting Numbers: [25]
25,77 unequal: No Solution
Moving to Node #0,0,2
Current State: 77:[9, 88], Operations: ['51-42=9', '52+36=88']
Exploring Operation: 9+88=97, Resulting Numbers: [97]
97,77 unequal: No Solution
Exploring Operation: 9*88=792, Resulting Numbers: [792]
792,77 unequal: No Solution
Exploring Operation: 88-9=79, Resulting Numbers: [79]
79,77 unequal: No Solution
Moving to Node #0,0,1
Current State: 77:[52, 4], Operations: ['51-42=9', '36/9=4']
Exploring Operation: 52-4=48, Resulting Numbers: [48]
48,77 unequal: No Solution
Exploring Operation: 52+4=56, Resulting Numbers: [56]
56,77 unequal: No Solution
Exploring Operation: 52/4=13, Resulting Numbers: [13]
13,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 77:[51, 36, 10], Operations: ['52-42=10']
Exploring Operation: 51+10=61, Resulting Numbers: [36, 61]
Generated Node #0,1,0: 77:[36, 61] Operation: 51+10=61
Exploring Operation: 51-36=15, Resulting Numbers: [10, 15]
Generated Node #0,1,1: 77:[10, 15] Operation: 51-36=15
Exploring Operation: 51+36=87, Resulting Numbers: [10, 87]
Generated Node #0,1,2: 77:[10, 87] Operation: 51+36=87
Moving to Node #0,1,1
Current State: 77:[10, 15], Operations: ['52-42=10', '51-36=15']
Exploring Operation: 10+15=25, Resulting Numbers: [25]
25,77 unequal: No Solution
Exploring Operation: 15-10=5, Resulting Numbers: [5]
5,77 unequal: No Solution
Exploring Operation: 10*15=150, Resulting Numbers: [150]
150,77 unequal: No Solution
Moving to Node #0,1,2
Current State: 77:[10, 87], Operations: ['52-42=10', '51+36=87']
Exploring Operation: 87-10=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[42, 51, 52, 36], Operations: []
Exploring Operation: 52-42=10, Resulting Numbers: [51, 36, 10]
Generated Node #0,1: 77:[51, 36, 10] Operation: 52-42=10
Moving to Node #0,1
Current State: 77:[51, 36, 10], Operations: ['52-42=10']
Exploring Operation: 51+36=87, Resulting Numbers: [10, 87]
Generated Node #0,1,2: 77:[10, 87] Operation: 51+36=87
Moving to Node #0,1,2
Current State: 77:[10, 87], Operations: ['52-42=10', '51+36=87']
Exploring Operation: 87-10=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_3 | sum_heuristic |
[
40,
57,
9,
55
] | 29 | [
"57-40=17",
"55-9=46",
"46-17=29"
] | Current State: 29:[40, 57, 9, 55], Operations: []
Exploring Operation: 57-40=17, Resulting Numbers: [9, 55, 17]
Generated Node #2: [9, 55, 17] from Operation: 57-40=17
Current State: 29:[9, 55, 17], Operations: ['57-40=17']
Exploring Operation: 55-9=46, Resulting Numbers: [17, 46]
Generated Node #3: [17, 46] from Operation: 55-9=46
Current State: 29:[17, 46], Operations: ['57-40=17', '55-9=46']
Exploring Operation: 46-17=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[40, 57, 9, 55], Operations: []
Exploring Operation: 57-40=17, Resulting Numbers: [9, 55, 17]
Generated Node #0,0: 29:[9, 55, 17] Operation: 57-40=17
Exploring Operation: 40-9=31, Resulting Numbers: [57, 55, 31]
Generated Node #0,1: 29:[57, 55, 31] Operation: 40-9=31
Exploring Operation: 55-9=46, Resulting Numbers: [40, 57, 46]
Generated Node #0,2: 29:[40, 57, 46] Operation: 55-9=46
Exploring Operation: 57-9=48, Resulting Numbers: [40, 55, 48]
Generated Node #0,3: 29:[40, 55, 48] Operation: 57-9=48
Moving to Node #0,1
Current State: 29:[57, 55, 31], Operations: ['40-9=31']
Exploring Operation: 57+55=112, Resulting Numbers: [31, 112]
Generated Node #0,1,0: 29:[31, 112] Operation: 57+55=112
Exploring Operation: 57-55=2, Resulting Numbers: [31, 2]
Generated Node #0,1,1: 29:[31, 2] Operation: 57-55=2
Exploring Operation: 57-31=26, Resulting Numbers: [55, 26]
Generated Node #0,1,2: 29:[55, 26] Operation: 57-31=26
Exploring Operation: 55-31=24, Resulting Numbers: [57, 24]
Generated Node #0,1,3: 29:[57, 24] Operation: 55-31=24
Moving to Node #0,3
Current State: 29:[40, 55, 48], Operations: ['57-9=48']
Exploring Operation: 48-40=8, Resulting Numbers: [55, 8]
Generated Node #0,3,0: 29:[55, 8] Operation: 48-40=8
Exploring Operation: 40+55=95, Resulting Numbers: [48, 95]
Generated Node #0,3,1: 29:[48, 95] Operation: 40+55=95
Exploring Operation: 55-40=15, Resulting Numbers: [48, 15]
Generated Node #0,3,2: 29:[48, 15] Operation: 55-40=15
Exploring Operation: 55-48=7, Resulting Numbers: [40, 7]
Generated Node #0,3,3: 29:[40, 7] Operation: 55-48=7
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 29:[48, 15], Operations: ['57-9=48', '55-40=15']
Exploring Operation: 48-15=33, Resulting Numbers: [33]
33,29 unequal: No Solution
Exploring Operation: 48*15=720, Resulting Numbers: [720]
720,29 unequal: No Solution
Exploring Operation: 48+15=63, Resulting Numbers: [63]
63,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 29:[40, 7], Operations: ['57-9=48', '55-48=7']
Exploring Operation: 40*7=280, Resulting Numbers: [280]
280,29 unequal: No Solution
Exploring Operation: 40+7=47, Resulting Numbers: [47]
47,29 unequal: No Solution
Exploring Operation: 40-7=33, Resulting Numbers: [33]
33,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 29:[55, 8], Operations: ['57-9=48', '48-40=8']
Exploring Operation: 55*8=440, Resulting Numbers: [440]
440,29 unequal: No Solution
Exploring Operation: 55-8=47, Resulting Numbers: [47]
47,29 unequal: No Solution
Exploring Operation: 55+8=63, Resulting Numbers: [63]
63,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 29:[48, 95], Operations: ['57-9=48', '40+55=95']
Exploring Operation: 95-48=47, Resulting Numbers: [47]
47,29 unequal: No Solution
Exploring Operation: 48*95=4560, Resulting Numbers: [4560]
4560,29 unequal: No Solution
Exploring Operation: 48+95=143, Resulting Numbers: [143]
143,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 29:[40, 57, 46], Operations: ['55-9=46']
Exploring Operation: 57-40=17, Resulting Numbers: [46, 17]
Generated Node #0,2,0: 29:[46, 17] Operation: 57-40=17
Exploring Operation: 46-40=6, Resulting Numbers: [57, 6]
Generated Node #0,2,1: 29:[57, 6] Operation: 46-40=6
Exploring Operation: 40+57=97, Resulting Numbers: [46, 97]
Generated Node #0,2,2: 29:[46, 97] Operation: 40+57=97
Exploring Operation: 57-46=11, Resulting Numbers: [40, 11]
Generated Node #0,2,3: 29:[40, 11] Operation: 57-46=11
Moving to Node #0,0
Current State: 29:[9, 55, 17], Operations: ['57-40=17']
Exploring Operation: 55-17=38, Resulting Numbers: [9, 38]
Generated Node #0,0,0: 29:[9, 38] Operation: 55-17=38
Exploring Operation: 9+55=64, Resulting Numbers: [17, 64]
Generated Node #0,0,1: 29:[17, 64] Operation: 9+55=64
Exploring Operation: 9+17=26, Resulting Numbers: [55, 26]
Generated Node #0,0,2: 29:[55, 26] Operation: 9+17=26
Exploring Operation: 55-9=46, Resulting Numbers: [17, 46]
Generated Node #0,0,3: 29:[17, 46] Operation: 55-9=46
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 29:[9, 38], Operations: ['57-40=17', '55-17=38']
Exploring Operation: 38-9=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[40, 57, 9, 55], Operations: []
Exploring Operation: 57-40=17, Resulting Numbers: [9, 55, 17]
Generated Node #0,0: 29:[9, 55, 17] Operation: 57-40=17
Moving to Node #0,0
Current State: 29:[9, 55, 17], Operations: ['57-40=17']
Exploring Operation: 55-17=38, Resulting Numbers: [9, 38]
Generated Node #0,0,0: 29:[9, 38] Operation: 55-17=38
Moving to Node #0,0,0
Current State: 29:[9, 38], Operations: ['57-40=17', '55-17=38']
Exploring Operation: 38-9=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_4 | sum_heuristic |
[
64,
13,
66,
85
] | 100 | [
"64-13=51",
"66+85=151",
"151-51=100"
] | Current State: 100:[64, 13, 66, 85], Operations: []
Exploring Operation: 64-13=51, Resulting Numbers: [66, 85, 51]
Generated Node #2: [66, 85, 51] from Operation: 64-13=51
Current State: 100:[66, 85, 51], Operations: ['64-13=51']
Exploring Operation: 66+85=151, Resulting Numbers: [51, 151]
Generated Node #3: [51, 151] from Operation: 66+85=151
Current State: 100:[51, 151], Operations: ['64-13=51', '66+85=151']
Exploring Operation: 151-51=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[64, 13, 66, 85], Operations: []
Exploring Operation: 85-64=21, Resulting Numbers: [13, 66, 21]
Generated Node #0,0: 100:[13, 66, 21] Operation: 85-64=21
Exploring Operation: 85-66=19, Resulting Numbers: [64, 13, 19]
Generated Node #0,1: 100:[64, 13, 19] Operation: 85-66=19
Exploring Operation: 66-64=2, Resulting Numbers: [13, 85, 2]
Generated Node #0,2: 100:[13, 85, 2] Operation: 66-64=2
Moving to Node #0,1
Current State: 100:[64, 13, 19], Operations: ['85-66=19']
Exploring Operation: 64-19=45, Resulting Numbers: [13, 45]
Generated Node #0,1,0: 100:[13, 45] Operation: 64-19=45
Exploring Operation: 19-13=6, Resulting Numbers: [64, 6]
Generated Node #0,1,1: 100:[64, 6] Operation: 19-13=6
Exploring Operation: 64-13=51, Resulting Numbers: [19, 51]
Generated Node #0,1,2: 100:[19, 51] Operation: 64-13=51
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 100:[19, 51], Operations: ['85-66=19', '64-13=51']
Exploring Operation: 19+51=70, Resulting Numbers: [70]
70,100 unequal: No Solution
Exploring Operation: 51-19=32, Resulting Numbers: [32]
32,100 unequal: No Solution
Exploring Operation: 19*51=969, Resulting Numbers: [969]
969,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 100:[13, 45], Operations: ['85-66=19', '64-19=45']
Exploring Operation: 13*45=585, Resulting Numbers: [585]
585,100 unequal: No Solution
Exploring Operation: 13+45=58, Resulting Numbers: [58]
58,100 unequal: No Solution
Exploring Operation: 45-13=32, Resulting Numbers: [32]
32,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 100:[64, 6], Operations: ['85-66=19', '19-13=6']
Exploring Operation: 64*6=384, Resulting Numbers: [384]
384,100 unequal: No Solution
Exploring Operation: 64+6=70, Resulting Numbers: [70]
70,100 unequal: No Solution
Exploring Operation: 64-6=58, Resulting Numbers: [58]
58,100 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: 100:[13, 85, 2], Operations: ['66-64=2']
Exploring Operation: 13-2=11, Resulting Numbers: [85, 11]
Generated Node #0,2,0: 100:[85, 11] Operation: 13-2=11
Exploring Operation: 13*2=26, Resulting Numbers: [85, 26]
Generated Node #0,2,1: 100:[85, 26] Operation: 13*2=26
Exploring Operation: 13+85=98, Resulting Numbers: [2, 98]
Generated Node #0,2,2: 100:[2, 98] Operation: 13+85=98
Moving to Node #0,0
Current State: 100:[13, 66, 21], Operations: ['85-64=21']
Exploring Operation: 66+21=87, Resulting Numbers: [13, 87]
Generated Node #0,0,0: 100:[13, 87] Operation: 66+21=87
Exploring Operation: 66-13=53, Resulting Numbers: [21, 53]
Generated Node #0,0,1: 100:[21, 53] Operation: 66-13=53
Exploring Operation: 66-21=45, Resulting Numbers: [13, 45]
Generated Node #0,0,2: 100:[13, 45] Operation: 66-21=45
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 100:[21, 53], Operations: ['85-64=21', '66-13=53']
Exploring Operation: 21+53=74, Resulting Numbers: [74]
74,100 unequal: No Solution
Exploring Operation: 21*53=1113, Resulting Numbers: [1113]
1113,100 unequal: No Solution
Exploring Operation: 53-21=32, Resulting Numbers: [32]
32,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 100:[13, 45], Operations: ['85-64=21', '66-21=45']
Exploring Operation: 13+45=58, Resulting Numbers: [58]
58,100 unequal: No Solution
Exploring Operation: 45-13=32, Resulting Numbers: [32]
32,100 unequal: No Solution
Exploring Operation: 13*45=585, Resulting Numbers: [585]
585,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 100:[13, 87], Operations: ['85-64=21', '66+21=87']
Exploring Operation: 87-13=74, Resulting Numbers: [74]
74,100 unequal: No Solution
Exploring Operation: 13*87=1131, Resulting Numbers: [1131]
1131,100 unequal: No Solution
Exploring Operation: 13+87=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[64, 13, 66, 85], Operations: []
Exploring Operation: 85-64=21, Resulting Numbers: [13, 66, 21]
Generated Node #0,0: 100:[13, 66, 21] Operation: 85-64=21
Moving to Node #0,0
Current State: 100:[13, 66, 21], Operations: ['85-64=21']
Exploring Operation: 66+21=87, Resulting Numbers: [13, 87]
Generated Node #0,0,0: 100:[13, 87] Operation: 66+21=87
Moving to Node #0,0,0
Current State: 100:[13, 87], Operations: ['85-64=21', '66+21=87']
Exploring Operation: 13+87=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 1
| 0.970486 | hs_3 | mult_heuristic |
[
20,
50,
13,
9
] | 26 | [
"50-20=30",
"13-9=4",
"30-4=26"
] | Current State: 26:[20, 50, 13, 9], Operations: []
Exploring Operation: 50-20=30, Resulting Numbers: [13, 9, 30]
Generated Node #2: [13, 9, 30] from Operation: 50-20=30
Current State: 26:[13, 9, 30], Operations: ['50-20=30']
Exploring Operation: 13-9=4, Resulting Numbers: [30, 4]
Generated Node #3: [30, 4] from Operation: 13-9=4
Current State: 26:[30, 4], Operations: ['50-20=30', '13-9=4']
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[20, 50, 13, 9], Operations: []
Exploring Operation: 50-9=41, Resulting Numbers: [20, 13, 41]
Generated Node #0,0: 26:[20, 13, 41] Operation: 50-9=41
Exploring Operation: 20-9=11, Resulting Numbers: [50, 13, 11]
Generated Node #0,1: 26:[50, 13, 11] Operation: 20-9=11
Exploring Operation: 50-20=30, Resulting Numbers: [13, 9, 30]
Generated Node #0,2: 26:[13, 9, 30] Operation: 50-20=30
Exploring Operation: 20+9=29, Resulting Numbers: [50, 13, 29]
Generated Node #0,3: 26:[50, 13, 29] Operation: 20+9=29
Exploring Operation: 50-13=37, Resulting Numbers: [20, 9, 37]
Generated Node #0,4: 26:[20, 9, 37] Operation: 50-13=37
Start Sub Search at level 1: Moving to Node #0,2
Current State: 26:[13, 9, 30], Operations: ['50-20=30']
Exploring Operation: 30-13=17, Resulting Numbers: [9, 17]
Generated Node #0,2,0: 26:[9, 17] Operation: 30-13=17
Exploring Operation: 13+9=22, Resulting Numbers: [30, 22]
Generated Node #0,2,1: 26:[30, 22] Operation: 13+9=22
Exploring Operation: 30-9=21, Resulting Numbers: [13, 21]
Generated Node #0,2,2: 26:[13, 21] Operation: 30-9=21
Exploring Operation: 9+30=39, Resulting Numbers: [13, 39]
Generated Node #0,2,3: 26:[13, 39] Operation: 9+30=39
Exploring Operation: 13-9=4, Resulting Numbers: [30, 4]
Generated Node #0,2,4: 26:[30, 4] Operation: 13-9=4
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 26:[13, 21], Operations: ['50-20=30', '30-9=21']
Exploring Operation: 21-13=8, Resulting Numbers: [8]
8,26 unequal: No Solution
Exploring Operation: 13*21=273, Resulting Numbers: [273]
273,26 unequal: No Solution
Exploring Operation: 13+21=34, Resulting Numbers: [34]
34,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 26:[30, 4], Operations: ['50-20=30', '13-9=4']
Exploring Operation: 30*4=120, Resulting Numbers: [120]
120,26 unequal: No Solution
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[20, 50, 13, 9], Operations: []
Exploring Operation: 50-20=30, Resulting Numbers: [13, 9, 30]
Generated Node #0,2: 26:[13, 9, 30] Operation: 50-20=30
Moving to Node #0,2
Current State: 26:[13, 9, 30], Operations: ['50-20=30']
Exploring Operation: 13-9=4, Resulting Numbers: [30, 4]
Generated Node #0,2,4: 26:[30, 4] Operation: 13-9=4
Moving to Node #0,2,4
Current State: 26:[30, 4], Operations: ['50-20=30', '13-9=4']
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_5 | mult_heuristic |
[
86,
42,
12,
78
] | 46 | [
"86-42=44",
"12+78=90",
"90-44=46"
] | Current State: 46:[86, 42, 12, 78], Operations: []
Exploring Operation: 86-42=44, Resulting Numbers: [12, 78, 44]
Generated Node #2: [12, 78, 44] from Operation: 86-42=44
Current State: 46:[12, 78, 44], Operations: ['86-42=44']
Exploring Operation: 12+78=90, Resulting Numbers: [44, 90]
Generated Node #3: [44, 90] from Operation: 12+78=90
Current State: 46:[44, 90], Operations: ['86-42=44', '12+78=90']
Exploring Operation: 90-44=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[86, 42, 12, 78], Operations: []
Exploring Operation: 86-78=8, Resulting Numbers: [42, 12, 8]
Generated Node #0,0: 46:[42, 12, 8] Operation: 86-78=8
Moving to Node #0,0
Current State: 46:[42, 12, 8], Operations: ['86-78=8']
Exploring Operation: 12-8=4, Resulting Numbers: [42, 4]
Generated Node #0,0,0: 46:[42, 4] Operation: 12-8=4
Moving to Node #0,0,0
Current State: 46:[42, 4], Operations: ['86-78=8', '12-8=4']
Exploring Operation: 42+4=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[86, 42, 12, 78], Operations: []
Exploring Operation: 86-78=8, Resulting Numbers: [42, 12, 8]
Generated Node #0,0: 46:[42, 12, 8] Operation: 86-78=8
Moving to Node #0,0
Current State: 46:[42, 12, 8], Operations: ['86-78=8']
Exploring Operation: 12-8=4, Resulting Numbers: [42, 4]
Generated Node #0,0,0: 46:[42, 4] Operation: 12-8=4
Moving to Node #0,0,0
Current State: 46:[42, 4], Operations: ['86-78=8', '12-8=4']
Exploring Operation: 42+4=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
88,
23,
15,
85
] | 18 | [
"88-85=3",
"15/3=5",
"23-5=18"
] | Current State: 18:[88, 23, 15, 85], Operations: []
Exploring Operation: 88-85=3, Resulting Numbers: [23, 15, 3]
Generated Node #2: [23, 15, 3] from Operation: 88-85=3
Current State: 18:[23, 15, 3], Operations: ['88-85=3']
Exploring Operation: 15/3=5, Resulting Numbers: [23, 5]
Generated Node #3: [23, 5] from Operation: 15/3=5
Current State: 18:[23, 5], Operations: ['88-85=3', '15/3=5']
Exploring Operation: 23-5=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[88, 23, 15, 85], Operations: []
Exploring Operation: 88-85=3, Resulting Numbers: [23, 15, 3]
Generated Node #0,0: 18:[23, 15, 3] Operation: 88-85=3
Moving to Node #0,0
Current State: 18:[23, 15, 3], Operations: ['88-85=3']
Exploring Operation: 23-15=8, Resulting Numbers: [3, 8]
Generated Node #0,0,0: 18:[3, 8] Operation: 23-15=8
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 18:[3, 8], Operations: ['88-85=3', '23-15=8']
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
2,
90,
25,
75
] | 55 | [
"90/2=45",
"25+75=100",
"100-45=55"
] | Current State: 55:[2, 90, 25, 75], Operations: []
Exploring Operation: 90/2=45, Resulting Numbers: [25, 75, 45]
Generated Node #2: [25, 75, 45] from Operation: 90/2=45
Current State: 55:[25, 75, 45], Operations: ['90/2=45']
Exploring Operation: 25+75=100, Resulting Numbers: [45, 100]
Generated Node #3: [45, 100] from Operation: 25+75=100
Current State: 55:[45, 100], Operations: ['90/2=45', '25+75=100']
Exploring Operation: 100-45=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[2, 90, 25, 75], Operations: []
Exploring Operation: 75/25=3, Resulting Numbers: [2, 90, 3]
Generated Node #0,0: 55:[2, 90, 3] Operation: 75/25=3
Exploring Operation: 90-75=15, Resulting Numbers: [2, 25, 15]
Generated Node #0,1: 55:[2, 25, 15] Operation: 90-75=15
Exploring Operation: 90-25=65, Resulting Numbers: [2, 75, 65]
Generated Node #0,2: 55:[2, 75, 65] Operation: 90-25=65
Start Sub Search at level 1: Moving to Node #0,1
Current State: 55:[2, 25, 15], Operations: ['90-75=15']
Exploring Operation: 25-15=10, Resulting Numbers: [2, 10]
Generated Node #0,1,0: 55:[2, 10] Operation: 25-15=10
Exploring Operation: 2*25=50, Resulting Numbers: [15, 50]
Generated Node #0,1,1: 55:[15, 50] Operation: 2*25=50
Exploring Operation: 25-2=23, Resulting Numbers: [15, 23]
Generated Node #0,1,2: 55:[15, 23] Operation: 25-2=23
Moving to Node #0,1,0
Current State: 55:[2, 10], Operations: ['90-75=15', '25-15=10']
Exploring Operation: 2+10=12, Resulting Numbers: [12]
12,55 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,55 unequal: No Solution
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,55 unequal: No Solution
Moving to Node #0,1,1
Current State: 55:[15, 50], Operations: ['90-75=15', '2*25=50']
Exploring Operation: 15*50=750, Resulting Numbers: [750]
750,55 unequal: No Solution
Exploring Operation: 15+50=65, Resulting Numbers: [65]
65,55 unequal: No Solution
Exploring Operation: 50-15=35, Resulting Numbers: [35]
35,55 unequal: No Solution
Moving to Node #0,1,2
Current State: 55:[15, 23], Operations: ['90-75=15', '25-2=23']
Exploring Operation: 15*23=345, Resulting Numbers: [345]
345,55 unequal: No Solution
Exploring Operation: 15+23=38, Resulting Numbers: [38]
38,55 unequal: No Solution
Exploring Operation: 23-15=8, Resulting Numbers: [8]
8,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 55:[2, 75, 65], Operations: ['90-25=65']
Exploring Operation: 75-2=73, Resulting Numbers: [65, 73]
Generated Node #0,2,0: 55:[65, 73] Operation: 75-2=73
Exploring Operation: 65-2=63, Resulting Numbers: [75, 63]
Generated Node #0,2,1: 55:[75, 63] Operation: 65-2=63
Exploring Operation: 75-65=10, Resulting Numbers: [2, 10]
Generated Node #0,2,2: 55:[2, 10] Operation: 75-65=10
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 55:[2, 10], Operations: ['90-25=65', '75-65=10']
Exploring Operation: 2+10=12, Resulting Numbers: [12]
12,55 unequal: No Solution
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,55 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,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,2,0
Current State: 55:[65, 73], Operations: ['90-25=65', '75-2=73']
Exploring Operation: 65*73=4745, Resulting Numbers: [4745]
4745,55 unequal: No Solution
Exploring Operation: 73-65=8, Resulting Numbers: [8]
8,55 unequal: No Solution
Exploring Operation: 65+73=138, Resulting Numbers: [138]
138,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,2,1
Current State: 55:[75, 63], Operations: ['90-25=65', '65-2=63']
Exploring Operation: 75*63=4725, Resulting Numbers: [4725]
4725,55 unequal: No Solution
Exploring Operation: 75+63=138, Resulting Numbers: [138]
138,55 unequal: No Solution
Exploring Operation: 75-63=12, Resulting Numbers: [12]
12,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[2, 90, 3], Operations: ['75/25=3']
Exploring Operation: 90/3=30, Resulting Numbers: [2, 30]
Generated Node #0,0,0: 55:[2, 30] Operation: 90/3=30
Exploring Operation: 90/2=45, Resulting Numbers: [3, 45]
Generated Node #0,0,1: 55:[3, 45] Operation: 90/2=45
Exploring Operation: 90-2=88, Resulting Numbers: [3, 88]
Generated Node #0,0,2: 55:[3, 88] Operation: 90-2=88
Moving to Node #0,0,1
Current State: 55:[3, 45], Operations: ['75/25=3', '90/2=45']
Exploring Operation: 45-3=42, Resulting Numbers: [42]
42,55 unequal: No Solution
Exploring Operation: 3+45=48, Resulting Numbers: [48]
48,55 unequal: No Solution
Exploring Operation: 45/3=15, Resulting Numbers: [15]
15,55 unequal: No Solution
Moving to Node #0,0,0
Current State: 55:[2, 30], Operations: ['75/25=3', '90/3=30']
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,55 unequal: No Solution
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,55 unequal: No Solution
Exploring Operation: 2*30=60, Resulting Numbers: [60]
60,55 unequal: No Solution
Moving to Node #0,0,2
Current State: 55:[3, 88], Operations: ['75/25=3', '90-2=88']
Exploring Operation: 88-3=85, Resulting Numbers: [85]
85,55 unequal: No Solution
Exploring Operation: 3*88=264, Resulting Numbers: [264]
264,55 unequal: No Solution
Exploring Operation: 3+88=91, Resulting Numbers: [91]
91,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
71,
91,
37,
6
] | 73 | [
"71+37=108",
"108/6=18",
"91-18=73"
] | Current State: 73:[71, 91, 37, 6], Operations: []
Exploring Operation: 71+37=108, Resulting Numbers: [91, 6, 108]
Generated Node #2: [91, 6, 108] from Operation: 71+37=108
Current State: 73:[91, 6, 108], Operations: ['71+37=108']
Exploring Operation: 108/6=18, Resulting Numbers: [91, 18]
Generated Node #3: [91, 18] from Operation: 108/6=18
Current State: 73:[91, 18], Operations: ['71+37=108', '108/6=18']
Exploring Operation: 91-18=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[71, 91, 37, 6], Operations: []
Exploring Operation: 71+6=77, Resulting Numbers: [91, 37, 77]
Generated Node #0,0: 73:[91, 37, 77] Operation: 71+6=77
Exploring Operation: 91-6=85, Resulting Numbers: [71, 37, 85]
Generated Node #0,1: 73:[71, 37, 85] Operation: 91-6=85
Exploring Operation: 37+6=43, Resulting Numbers: [71, 91, 43]
Generated Node #0,2: 73:[71, 91, 43] Operation: 37+6=43
Moving to Node #0,1
Current State: 73:[71, 37, 85], Operations: ['91-6=85']
Exploring Operation: 71-37=34, Resulting Numbers: [85, 34]
Generated Node #0,1,0: 73:[85, 34] Operation: 71-37=34
Exploring Operation: 71+37=108, Resulting Numbers: [85, 108]
Generated Node #0,1,1: 73:[85, 108] Operation: 71+37=108
Exploring Operation: 85-37=48, Resulting Numbers: [71, 48]
Generated Node #0,1,2: 73:[71, 48] Operation: 85-37=48
Moving to Node #0,2
Current State: 73:[71, 91, 43], Operations: ['37+6=43']
Exploring Operation: 71-43=28, Resulting Numbers: [91, 28]
Generated Node #0,2,0: 73:[91, 28] Operation: 71-43=28
Exploring Operation: 91-43=48, Resulting Numbers: [71, 48]
Generated Node #0,2,1: 73:[71, 48] Operation: 91-43=48
Exploring Operation: 71+43=114, Resulting Numbers: [91, 114]
Generated Node #0,2,2: 73:[91, 114] Operation: 71+43=114
Moving to Node #0,0
Current State: 73:[91, 37, 77], Operations: ['71+6=77']
Exploring Operation: 91+37=128, Resulting Numbers: [77, 128]
Generated Node #0,0,0: 73:[77, 128] Operation: 91+37=128
Exploring Operation: 91-37=54, Resulting Numbers: [77, 54]
Generated Node #0,0,1: 73:[77, 54] Operation: 91-37=54
Exploring Operation: 77-37=40, Resulting Numbers: [91, 40]
Generated Node #0,0,2: 73:[91, 40] Operation: 77-37=40
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 73:[77, 54], Operations: ['71+6=77', '91-37=54']
Exploring Operation: 77-54=23, Resulting Numbers: [23]
23,73 unequal: No Solution
Exploring Operation: 77+54=131, Resulting Numbers: [131]
131,73 unequal: No Solution
Exploring Operation: 77*54=4158, Resulting Numbers: [4158]
4158,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 73:[91, 40], Operations: ['71+6=77', '77-37=40']
Exploring Operation: 91+40=131, Resulting Numbers: [131]
131,73 unequal: No Solution
Exploring Operation: 91*40=3640, Resulting Numbers: [3640]
3640,73 unequal: No Solution
Exploring Operation: 91-40=51, Resulting Numbers: [51]
51,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 73:[77, 128], Operations: ['71+6=77', '91+37=128']
Exploring Operation: 77+128=205, Resulting Numbers: [205]
205,73 unequal: No Solution
Exploring Operation: 128-77=51, Resulting Numbers: [51]
51,73 unequal: No Solution
Exploring Operation: 77*128=9856, Resulting Numbers: [9856]
9856,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 73:[71, 48], Operations: ['91-6=85', '85-37=48']
Exploring Operation: 71-48=23, Resulting Numbers: [23]
23,73 unequal: No Solution
Exploring Operation: 71+48=119, Resulting Numbers: [119]
119,73 unequal: No Solution
Exploring Operation: 71*48=3408, Resulting Numbers: [3408]
3408,73 unequal: No Solution
Moving to Node #0,2,1
Current State: 73:[71, 48], Operations: ['37+6=43', '91-43=48']
Exploring Operation: 71+48=119, Resulting Numbers: [119]
119,73 unequal: No Solution
Exploring Operation: 71*48=3408, Resulting Numbers: [3408]
3408,73 unequal: No Solution
Exploring Operation: 71-48=23, Resulting Numbers: [23]
23,73 unequal: No Solution
Moving to Node #0,1,1
Current State: 73:[85, 108], Operations: ['91-6=85', '71+37=108']
Exploring Operation: 108-85=23, Resulting Numbers: [23]
23,73 unequal: No Solution
Exploring Operation: 85+108=193, Resulting Numbers: [193]
193,73 unequal: No Solution
Exploring Operation: 85*108=9180, Resulting Numbers: [9180]
9180,73 unequal: No Solution
Moving to Node #0,1,0
Current State: 73:[85, 34], Operations: ['91-6=85', '71-37=34']
Exploring Operation: 85-34=51, Resulting Numbers: [51]
51,73 unequal: No Solution
Exploring Operation: 85*34=2890, Resulting Numbers: [2890]
2890,73 unequal: No Solution
Exploring Operation: 85+34=119, Resulting Numbers: [119]
119,73 unequal: No Solution
Moving to Node #0,2,2
Current State: 73:[91, 114], Operations: ['37+6=43', '71+43=114']
Exploring Operation: 114-91=23, Resulting Numbers: [23]
23,73 unequal: No Solution
Exploring Operation: 91+114=205, Resulting Numbers: [205]
205,73 unequal: No Solution
Exploring Operation: 91*114=10374, Resulting Numbers: [10374]
10374,73 unequal: No Solution
Moving to Node #0,2,0
Current State: 73:[91, 28], Operations: ['37+6=43', '71-43=28']
Exploring Operation: 91*28=2548, Resulting Numbers: [2548]
2548,73 unequal: No Solution
Exploring Operation: 91-28=63, Resulting Numbers: [63]
63,73 unequal: No Solution
Exploring Operation: 91+28=119, Resulting Numbers: [119]
119,73 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
52,
6,
76,
53
] | 35 | [
"52+6=58",
"76-53=23",
"58-23=35"
] | Current State: 35:[52, 6, 76, 53], Operations: []
Exploring Operation: 52+6=58, Resulting Numbers: [76, 53, 58]
Generated Node #2: [76, 53, 58] from Operation: 52+6=58
Current State: 35:[76, 53, 58], Operations: ['52+6=58']
Exploring Operation: 76-53=23, Resulting Numbers: [58, 23]
Generated Node #3: [58, 23] from Operation: 76-53=23
Current State: 35:[58, 23], Operations: ['52+6=58', '76-53=23']
Exploring Operation: 58-23=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[52, 6, 76, 53], Operations: []
Exploring Operation: 76-53=23, Resulting Numbers: [52, 6, 23]
Generated Node #0,0: 35:[52, 6, 23] Operation: 76-53=23
Exploring Operation: 76-52=24, Resulting Numbers: [6, 53, 24]
Generated Node #0,1: 35:[6, 53, 24] Operation: 76-52=24
Exploring Operation: 53-52=1, Resulting Numbers: [6, 76, 1]
Generated Node #0,2: 35:[6, 76, 1] Operation: 53-52=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[52, 6, 23], Operations: ['76-53=23']
Exploring Operation: 6+23=29, Resulting Numbers: [52, 29]
Generated Node #0,0,0: 35:[52, 29] Operation: 6+23=29
Exploring Operation: 52-23=29, Resulting Numbers: [6, 29]
Generated Node #0,0,1: 35:[6, 29] Operation: 52-23=29
Exploring Operation: 52-6=46, Resulting Numbers: [23, 46]
Generated Node #0,0,2: 35:[23, 46] Operation: 52-6=46
Moving to Node #0,0,1
Current State: 35:[6, 29], Operations: ['76-53=23', '52-23=29']
Exploring Operation: 6*29=174, Resulting Numbers: [174]
174,35 unequal: No Solution
Exploring Operation: 6+29=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[52, 6, 76, 53], Operations: []
Exploring Operation: 76-53=23, Resulting Numbers: [52, 6, 23]
Generated Node #0,0: 35:[52, 6, 23] Operation: 76-53=23
Moving to Node #0,0
Current State: 35:[52, 6, 23], Operations: ['76-53=23']
Exploring Operation: 52-23=29, Resulting Numbers: [6, 29]
Generated Node #0,0,1: 35:[6, 29] Operation: 52-23=29
Moving to Node #0,0,1
Current State: 35:[6, 29], Operations: ['76-53=23', '52-23=29']
Exploring Operation: 6+29=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
42,
47,
21,
84
] | 93 | [
"42+47=89",
"84/21=4",
"89+4=93"
] | Current State: 93:[42, 47, 21, 84], Operations: []
Exploring Operation: 42+47=89, Resulting Numbers: [21, 84, 89]
Generated Node #2: [21, 84, 89] from Operation: 42+47=89
Current State: 93:[21, 84, 89], Operations: ['42+47=89']
Exploring Operation: 84/21=4, Resulting Numbers: [89, 4]
Generated Node #3: [89, 4] from Operation: 84/21=4
Current State: 93:[89, 4], Operations: ['42+47=89', '84/21=4']
Exploring Operation: 89+4=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[42, 47, 21, 84], Operations: []
Exploring Operation: 47-21=26, Resulting Numbers: [42, 84, 26]
Generated Node #0,0: 93:[42, 84, 26] Operation: 47-21=26
Exploring Operation: 47-42=5, Resulting Numbers: [21, 84, 5]
Generated Node #0,1: 93:[21, 84, 5] Operation: 47-42=5
Exploring Operation: 42+47=89, Resulting Numbers: [21, 84, 89]
Generated Node #0,2: 93:[21, 84, 89] Operation: 42+47=89
Exploring Operation: 42/21=2, Resulting Numbers: [47, 84, 2]
Generated Node #0,3: 93:[47, 84, 2] Operation: 42/21=2
Moving to Node #0,1
Current State: 93:[21, 84, 5], Operations: ['47-42=5']
Exploring Operation: 84/21=4, Resulting Numbers: [5, 4]
Generated Node #0,1,0: 93:[5, 4] Operation: 84/21=4
Exploring Operation: 84+5=89, Resulting Numbers: [21, 89]
Generated Node #0,1,1: 93:[21, 89] Operation: 84+5=89
Exploring Operation: 21+84=105, Resulting Numbers: [5, 105]
Generated Node #0,1,2: 93:[5, 105] Operation: 21+84=105
Exploring Operation: 21+5=26, Resulting Numbers: [84, 26]
Generated Node #0,1,3: 93:[84, 26] Operation: 21+5=26
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 93:[5, 4], Operations: ['47-42=5', '84/21=4']
Exploring Operation: 5*4=20, Resulting Numbers: [20]
20,93 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,93 unequal: No Solution
Exploring Operation: 5+4=9, Resulting Numbers: [9]
9,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 93:[21, 89], Operations: ['47-42=5', '84+5=89']
Exploring Operation: 21+89=110, Resulting Numbers: [110]
110,93 unequal: No Solution
Exploring Operation: 89-21=68, Resulting Numbers: [68]
68,93 unequal: No Solution
Exploring Operation: 21*89=1869, Resulting Numbers: [1869]
1869,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 93:[5, 105], Operations: ['47-42=5', '21+84=105']
Exploring Operation: 105/5=21, Resulting Numbers: [21]
21,93 unequal: No Solution
Exploring Operation: 105-5=100, Resulting Numbers: [100]
100,93 unequal: No Solution
Exploring Operation: 5+105=110, Resulting Numbers: [110]
110,93 unequal: No Solution
Exploring Operation: 5*105=525, Resulting Numbers: [525]
525,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 93:[84, 26], Operations: ['47-42=5', '21+5=26']
Exploring Operation: 84*26=2184, Resulting Numbers: [2184]
2184,93 unequal: No Solution
Exploring Operation: 84-26=58, Resulting Numbers: [58]
58,93 unequal: No Solution
Exploring Operation: 84+26=110, Resulting Numbers: [110]
110,93 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: 93:[21, 84, 89], Operations: ['42+47=89']
Exploring Operation: 21+84=105, Resulting Numbers: [89, 105]
Generated Node #0,2,0: 93:[89, 105] Operation: 21+84=105
Exploring Operation: 21+89=110, Resulting Numbers: [84, 110]
Generated Node #0,2,1: 93:[84, 110] Operation: 21+89=110
Exploring Operation: 89-84=5, Resulting Numbers: [21, 5]
Generated Node #0,2,2: 93:[21, 5] Operation: 89-84=5
Exploring Operation: 84/21=4, Resulting Numbers: [89, 4]
Generated Node #0,2,3: 93:[89, 4] Operation: 84/21=4
Moving to Node #0,0
Current State: 93:[42, 84, 26], Operations: ['47-21=26']
Exploring Operation: 84+26=110, Resulting Numbers: [42, 110]
Generated Node #0,0,0: 93:[42, 110] Operation: 84+26=110
Exploring Operation: 84-42=42, Resulting Numbers: [26, 42]
Generated Node #0,0,1: 93:[26, 42] Operation: 84-42=42
Exploring Operation: 84/42=2, Resulting Numbers: [26, 2]
Generated Node #0,0,2: 93:[26, 2] Operation: 84/42=2
Exploring Operation: 42-26=16, Resulting Numbers: [84, 16]
Generated Node #0,0,3: 93:[84, 16] Operation: 42-26=16
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 93:[26, 2], Operations: ['47-21=26', '84/42=2']
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,93 unequal: No Solution
Exploring Operation: 26+2=28, Resulting Numbers: [28]
28,93 unequal: No Solution
Exploring Operation: 26*2=52, Resulting Numbers: [52]
52,93 unequal: No Solution
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 93:[26, 42], Operations: ['47-21=26', '84-42=42']
Exploring Operation: 42-26=16, Resulting Numbers: [16]
16,93 unequal: No Solution
Exploring Operation: 26*42=1092, Resulting Numbers: [1092]
1092,93 unequal: No Solution
Exploring Operation: 26+42=68, Resulting Numbers: [68]
68,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 93:[84, 16], Operations: ['47-21=26', '42-26=16']
Exploring Operation: 84*16=1344, Resulting Numbers: [1344]
1344,93 unequal: No Solution
Exploring Operation: 84-16=68, Resulting Numbers: [68]
68,93 unequal: No Solution
Exploring Operation: 84+16=100, Resulting Numbers: [100]
100,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 93:[42, 110], Operations: ['47-21=26', '84+26=110']
Exploring Operation: 110-42=68, Resulting Numbers: [68]
68,93 unequal: No Solution
Exploring Operation: 42+110=152, Resulting Numbers: [152]
152,93 unequal: No Solution
Exploring Operation: 42*110=4620, Resulting Numbers: [4620]
4620,93 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: 93:[47, 84, 2], Operations: ['42/21=2']
Exploring Operation: 84-47=37, Resulting Numbers: [2, 37]
Generated Node #0,3,0: 93:[2, 37] Operation: 84-47=37
Exploring Operation: 84+2=86, Resulting Numbers: [47, 86]
Generated Node #0,3,1: 93:[47, 86] Operation: 84+2=86
Exploring Operation: 47-2=45, Resulting Numbers: [84, 45]
Generated Node #0,3,2: 93:[84, 45] Operation: 47-2=45
Exploring Operation: 47*2=94, Resulting Numbers: [84, 94]
Generated Node #0,3,3: 93:[84, 94] Operation: 47*2=94
Moving to Node #0,2,3
Current State: 93:[89, 4], Operations: ['42+47=89', '84/21=4']
Exploring Operation: 89-4=85, Resulting Numbers: [85]
85,93 unequal: No Solution
Exploring Operation: 89*4=356, Resulting Numbers: [356]
356,93 unequal: No Solution
Exploring Operation: 89+4=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[42, 47, 21, 84], Operations: []
Exploring Operation: 42+47=89, Resulting Numbers: [21, 84, 89]
Generated Node #0,2: 93:[21, 84, 89] Operation: 42+47=89
Moving to Node #0,2
Current State: 93:[21, 84, 89], Operations: ['42+47=89']
Exploring Operation: 84/21=4, Resulting Numbers: [89, 4]
Generated Node #0,2,3: 93:[89, 4] Operation: 84/21=4
Moving to Node #0,2,3
Current State: 93:[89, 4], Operations: ['42+47=89', '84/21=4']
Exploring Operation: 89+4=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 0.953993 | hs_4 | sum_heuristic |
[
82,
20,
29,
79
] | 46 | [
"82-20=62",
"29+79=108",
"108-62=46"
] | Current State: 46:[82, 20, 29, 79], Operations: []
Exploring Operation: 82-20=62, Resulting Numbers: [29, 79, 62]
Generated Node #2: [29, 79, 62] from Operation: 82-20=62
Current State: 46:[29, 79, 62], Operations: ['82-20=62']
Exploring Operation: 29+79=108, Resulting Numbers: [62, 108]
Generated Node #3: [62, 108] from Operation: 29+79=108
Current State: 46:[62, 108], Operations: ['82-20=62', '29+79=108']
Exploring Operation: 108-62=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[82, 20, 29, 79], Operations: []
Exploring Operation: 82-79=3, Resulting Numbers: [20, 29, 3]
Generated Node #0,0: 46:[20, 29, 3] Operation: 82-79=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 46:[20, 29, 3], Operations: ['82-79=3']
Exploring Operation: 20+29=49, Resulting Numbers: [3, 49]
Generated Node #0,0,0: 46:[3, 49] Operation: 20+29=49
Moving to Node #0,0,0
Current State: 46:[3, 49], Operations: ['82-79=3', '20+29=49']
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[82, 20, 29, 79], Operations: []
Exploring Operation: 82-79=3, Resulting Numbers: [20, 29, 3]
Generated Node #0,0: 46:[20, 29, 3] Operation: 82-79=3
Moving to Node #0,0
Current State: 46:[20, 29, 3], Operations: ['82-79=3']
Exploring Operation: 20+29=49, Resulting Numbers: [3, 49]
Generated Node #0,0,0: 46:[3, 49] Operation: 20+29=49
Moving to Node #0,0,0
Current State: 46:[3, 49], Operations: ['82-79=3', '20+29=49']
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
39,
45,
12,
3
] | 88 | [
"39+45=84",
"12/3=4",
"84+4=88"
] | Current State: 88:[39, 45, 12, 3], Operations: []
Exploring Operation: 39+45=84, Resulting Numbers: [12, 3, 84]
Generated Node #2: [12, 3, 84] from Operation: 39+45=84
Current State: 88:[12, 3, 84], Operations: ['39+45=84']
Exploring Operation: 12/3=4, Resulting Numbers: [84, 4]
Generated Node #3: [84, 4] from Operation: 12/3=4
Current State: 88:[84, 4], Operations: ['39+45=84', '12/3=4']
Exploring Operation: 84+4=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[39, 45, 12, 3], Operations: []
Exploring Operation: 45-39=6, Resulting Numbers: [12, 3, 6]
Generated Node #0,0: 88:[12, 3, 6] Operation: 45-39=6
Exploring Operation: 39+45=84, Resulting Numbers: [12, 3, 84]
Generated Node #0,1: 88:[12, 3, 84] Operation: 39+45=84
Exploring Operation: 39/3=13, Resulting Numbers: [45, 12, 13]
Generated Node #0,2: 88:[45, 12, 13] Operation: 39/3=13
Exploring Operation: 39+3=42, Resulting Numbers: [45, 12, 42]
Generated Node #0,3: 88:[45, 12, 42] Operation: 39+3=42
Exploring Operation: 12/3=4, Resulting Numbers: [39, 45, 4]
Generated Node #0,4: 88:[39, 45, 4] Operation: 12/3=4
Moving to Node #0,0
Current State: 88:[12, 3, 6], Operations: ['45-39=6']
Exploring Operation: 3+6=9, Resulting Numbers: [12, 9]
Generated Node #0,0,0: 88:[12, 9] Operation: 3+6=9
Exploring Operation: 6-3=3, Resulting Numbers: [12, 3]
Generated Node #0,0,1: 88:[12, 3] Operation: 6-3=3
Exploring Operation: 12/6=2, Resulting Numbers: [3, 2]
Generated Node #0,0,2: 88:[3, 2] Operation: 12/6=2
Exploring Operation: 6/3=2, Resulting Numbers: [12, 2]
Generated Node #0,0,3: 88:[12, 2] Operation: 6/3=2
Exploring Operation: 12/3=4, Resulting Numbers: [6, 4]
Generated Node #0,0,4: 88:[6, 4] Operation: 12/3=4
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 88:[3, 2], Operations: ['45-39=6', '12/6=2']
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,88 unequal: No Solution
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,88 unequal: No Solution
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 88:[12, 2], Operations: ['45-39=6', '6/3=2']
Exploring Operation: 12+2=14, Resulting Numbers: [14]
14,88 unequal: No Solution
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,88 unequal: No Solution
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,88 unequal: No Solution
Exploring Operation: 12*2=24, Resulting Numbers: [24]
24,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 88:[12, 9], Operations: ['45-39=6', '3+6=9']
Exploring Operation: 12-9=3, Resulting Numbers: [3]
3,88 unequal: No Solution
Exploring Operation: 12+9=21, Resulting Numbers: [21]
21,88 unequal: No Solution
Exploring Operation: 12*9=108, Resulting Numbers: [108]
108,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 88:[12, 3], Operations: ['45-39=6', '6-3=3']
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,88 unequal: No Solution
Exploring Operation: 12*3=36, Resulting Numbers: [36]
36,88 unequal: No Solution
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,88 unequal: No Solution
Exploring Operation: 12+3=15, Resulting Numbers: [15]
15,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 88:[6, 4], Operations: ['45-39=6', '12/3=4']
Exploring Operation: 6*4=24, Resulting Numbers: [24]
24,88 unequal: No Solution
Exploring Operation: 6+4=10, Resulting Numbers: [10]
10,88 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,88 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: 88:[45, 12, 42], Operations: ['39+3=42']
Exploring Operation: 45+42=87, Resulting Numbers: [12, 87]
Generated Node #0,3,0: 88:[12, 87] Operation: 45+42=87
Exploring Operation: 45-42=3, Resulting Numbers: [12, 3]
Generated Node #0,3,1: 88:[12, 3] Operation: 45-42=3
Exploring Operation: 12+42=54, Resulting Numbers: [45, 54]
Generated Node #0,3,2: 88:[45, 54] Operation: 12+42=54
Exploring Operation: 45-12=33, Resulting Numbers: [42, 33]
Generated Node #0,3,3: 88:[42, 33] Operation: 45-12=33
Exploring Operation: 42-12=30, Resulting Numbers: [45, 30]
Generated Node #0,3,4: 88:[45, 30] Operation: 42-12=30
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 88:[12, 87], Operations: ['39+3=42', '45+42=87']
Exploring Operation: 12*87=1044, Resulting Numbers: [1044]
1044,88 unequal: No Solution
Exploring Operation: 12+87=99, Resulting Numbers: [99]
99,88 unequal: No Solution
Exploring Operation: 87-12=75, Resulting Numbers: [75]
75,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,3,1
Current State: 88:[12, 3], Operations: ['39+3=42', '45-42=3']
Exploring Operation: 12+3=15, Resulting Numbers: [15]
15,88 unequal: No Solution
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,88 unequal: No Solution
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,88 unequal: No Solution
Exploring Operation: 12*3=36, Resulting Numbers: [36]
36,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,3,4
Current State: 88:[45, 30], Operations: ['39+3=42', '42-12=30']
Exploring Operation: 45+30=75, Resulting Numbers: [75]
75,88 unequal: No Solution
Exploring Operation: 45-30=15, Resulting Numbers: [15]
15,88 unequal: No Solution
Exploring Operation: 45*30=1350, Resulting Numbers: [1350]
1350,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,3,2
Current State: 88:[45, 54], Operations: ['39+3=42', '12+42=54']
Exploring Operation: 45*54=2430, Resulting Numbers: [2430]
2430,88 unequal: No Solution
Exploring Operation: 45+54=99, Resulting Numbers: [99]
99,88 unequal: No Solution
Exploring Operation: 54-45=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,3,3
Current State: 88:[42, 33], Operations: ['39+3=42', '45-12=33']
Exploring Operation: 42-33=9, Resulting Numbers: [9]
9,88 unequal: No Solution
Exploring Operation: 42*33=1386, Resulting Numbers: [1386]
1386,88 unequal: No Solution
Exploring Operation: 42+33=75, Resulting Numbers: [75]
75,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 88:[45, 12, 13], Operations: ['39/3=13']
Exploring Operation: 45+12=57, Resulting Numbers: [13, 57]
Generated Node #0,2,0: 88:[13, 57] Operation: 45+12=57
Exploring Operation: 45-12=33, Resulting Numbers: [13, 33]
Generated Node #0,2,1: 88:[13, 33] Operation: 45-12=33
Exploring Operation: 12+13=25, Resulting Numbers: [45, 25]
Generated Node #0,2,2: 88:[45, 25] Operation: 12+13=25
Exploring Operation: 13-12=1, Resulting Numbers: [45, 1]
Generated Node #0,2,3: 88:[45, 1] Operation: 13-12=1
Exploring Operation: 45-13=32, Resulting Numbers: [12, 32]
Generated Node #0,2,4: 88:[12, 32] Operation: 45-13=32
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 88:[45, 1], Operations: ['39/3=13', '13-12=1']
Exploring Operation: 45+1=46, Resulting Numbers: [46]
46,88 unequal: No Solution
Exploring Operation: 45-1=44, Resulting Numbers: [44]
44,88 unequal: No Solution
Exploring Operation: 45/1=45, Resulting Numbers: [45]
45,88 unequal: No Solution
Exploring Operation: 45*1=45, Resulting Numbers: [45]
45,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 88:[45, 25], Operations: ['39/3=13', '12+13=25']
Exploring Operation: 45-25=20, Resulting Numbers: [20]
20,88 unequal: No Solution
Exploring Operation: 45*25=1125, Resulting Numbers: [1125]
1125,88 unequal: No Solution
Exploring Operation: 45+25=70, Resulting Numbers: [70]
70,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 88:[12, 32], Operations: ['39/3=13', '45-13=32']
Exploring Operation: 32-12=20, Resulting Numbers: [20]
20,88 unequal: No Solution
Exploring Operation: 12*32=384, Resulting Numbers: [384]
384,88 unequal: No Solution
Exploring Operation: 12+32=44, Resulting Numbers: [44]
44,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 88:[13, 33], Operations: ['39/3=13', '45-12=33']
Exploring Operation: 13+33=46, Resulting Numbers: [46]
46,88 unequal: No Solution
Exploring Operation: 33-13=20, Resulting Numbers: [20]
20,88 unequal: No Solution
Exploring Operation: 13*33=429, Resulting Numbers: [429]
429,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 88:[13, 57], Operations: ['39/3=13', '45+12=57']
Exploring Operation: 13+57=70, Resulting Numbers: [70]
70,88 unequal: No Solution
Exploring Operation: 57-13=44, Resulting Numbers: [44]
44,88 unequal: No Solution
Exploring Operation: 13*57=741, Resulting Numbers: [741]
741,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 88:[12, 3, 84], Operations: ['39+45=84']
Exploring Operation: 12/3=4, Resulting Numbers: [84, 4]
Generated Node #0,1,0: 88:[84, 4] Operation: 12/3=4
Exploring Operation: 84/3=28, Resulting Numbers: [12, 28]
Generated Node #0,1,1: 88:[12, 28] Operation: 84/3=28
Exploring Operation: 84/12=7, Resulting Numbers: [3, 7]
Generated Node #0,1,2: 88:[3, 7] Operation: 84/12=7
Exploring Operation: 12-3=9, Resulting Numbers: [84, 9]
Generated Node #0,1,3: 88:[84, 9] Operation: 12-3=9
Exploring Operation: 3+84=87, Resulting Numbers: [12, 87]
Generated Node #0,1,4: 88:[12, 87] Operation: 3+84=87
Moving to Node #0,4
Current State: 88:[39, 45, 4], Operations: ['12/3=4']
Exploring Operation: 39+4=43, Resulting Numbers: [45, 43]
Generated Node #0,4,0: 88:[45, 43] Operation: 39+4=43
Exploring Operation: 45-4=41, Resulting Numbers: [39, 41]
Generated Node #0,4,1: 88:[39, 41] Operation: 45-4=41
Exploring Operation: 45-39=6, Resulting Numbers: [4, 6]
Generated Node #0,4,2: 88:[4, 6] Operation: 45-39=6
Exploring Operation: 39+45=84, Resulting Numbers: [4, 84]
Generated Node #0,4,3: 88:[4, 84] Operation: 39+45=84
Exploring Operation: 39-4=35, Resulting Numbers: [45, 35]
Generated Node #0,4,4: 88:[45, 35] Operation: 39-4=35
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 88:[45, 43], Operations: ['12/3=4', '39+4=43']
Exploring Operation: 45-43=2, Resulting Numbers: [2]
2,88 unequal: No Solution
Exploring Operation: 45+43=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[39, 45, 12, 3], Operations: []
Exploring Operation: 12/3=4, Resulting Numbers: [39, 45, 4]
Generated Node #0,4: 88:[39, 45, 4] Operation: 12/3=4
Moving to Node #0,4
Current State: 88:[39, 45, 4], Operations: ['12/3=4']
Exploring Operation: 39+4=43, Resulting Numbers: [45, 43]
Generated Node #0,4,0: 88:[45, 43] Operation: 39+4=43
Moving to Node #0,4,0
Current State: 88:[45, 43], Operations: ['12/3=4', '39+4=43']
Exploring Operation: 45+43=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 1
| 0.926215 | hs_5 | mult_heuristic |
[
84,
26,
24,
50
] | 36 | [
"84+26=110",
"24+50=74",
"110-74=36"
] | Current State: 36:[84, 26, 24, 50], Operations: []
Exploring Operation: 84+26=110, Resulting Numbers: [24, 50, 110]
Generated Node #2: [24, 50, 110] from Operation: 84+26=110
Current State: 36:[24, 50, 110], Operations: ['84+26=110']
Exploring Operation: 24+50=74, Resulting Numbers: [110, 74]
Generated Node #3: [110, 74] from Operation: 24+50=74
Current State: 36:[110, 74], Operations: ['84+26=110', '24+50=74']
Exploring Operation: 110-74=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[84, 26, 24, 50], Operations: []
Exploring Operation: 84-24=60, Resulting Numbers: [26, 50, 60]
Generated Node #0,0: 36:[26, 50, 60] Operation: 84-24=60
Exploring Operation: 50-26=24, Resulting Numbers: [84, 24, 24]
Generated Node #0,1: 36:[84, 24, 24] Operation: 50-26=24
Exploring Operation: 84-26=58, Resulting Numbers: [24, 50, 58]
Generated Node #0,2: 36:[24, 50, 58] Operation: 84-26=58
Exploring Operation: 26-24=2, Resulting Numbers: [84, 50, 2]
Generated Node #0,3: 36:[84, 50, 2] Operation: 26-24=2
Exploring Operation: 84-50=34, Resulting Numbers: [26, 24, 34]
Generated Node #0,4: 36:[26, 24, 34] Operation: 84-50=34
Moving to Node #0,4
Current State: 36:[26, 24, 34], Operations: ['84-50=34']
Exploring Operation: 26-24=2, Resulting Numbers: [34, 2]
Generated Node #0,4,0: 36:[34, 2] Operation: 26-24=2
Exploring Operation: 34-26=8, Resulting Numbers: [24, 8]
Generated Node #0,4,1: 36:[24, 8] Operation: 34-26=8
Exploring Operation: 26+34=60, Resulting Numbers: [24, 60]
Generated Node #0,4,2: 36:[24, 60] Operation: 26+34=60
Exploring Operation: 26+24=50, Resulting Numbers: [34, 50]
Generated Node #0,4,3: 36:[34, 50] Operation: 26+24=50
Exploring Operation: 34-24=10, Resulting Numbers: [26, 10]
Generated Node #0,4,4: 36:[26, 10] Operation: 34-24=10
Moving to Node #0,2
Current State: 36:[24, 50, 58], Operations: ['84-26=58']
Exploring Operation: 50-24=26, Resulting Numbers: [58, 26]
Generated Node #0,2,0: 36:[58, 26] Operation: 50-24=26
Exploring Operation: 24+50=74, Resulting Numbers: [58, 74]
Generated Node #0,2,1: 36:[58, 74] Operation: 24+50=74
Exploring Operation: 24+58=82, Resulting Numbers: [50, 82]
Generated Node #0,2,2: 36:[50, 82] Operation: 24+58=82
Exploring Operation: 58-50=8, Resulting Numbers: [24, 8]
Generated Node #0,2,3: 36:[24, 8] Operation: 58-50=8
Exploring Operation: 58-24=34, Resulting Numbers: [50, 34]
Generated Node #0,2,4: 36:[50, 34] Operation: 58-24=34
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 36:[24, 8], Operations: ['84-26=58', '58-50=8']
Exploring Operation: 24+8=32, Resulting Numbers: [32]
32,36 unequal: No Solution
Exploring Operation: 24-8=16, Resulting Numbers: [16]
16,36 unequal: No Solution
Exploring Operation: 24*8=192, Resulting Numbers: [192]
192,36 unequal: No Solution
Exploring Operation: 24/8=3, Resulting Numbers: [3]
3,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,4
Current State: 36:[50, 34], Operations: ['84-26=58', '58-24=34']
Exploring Operation: 50-34=16, Resulting Numbers: [16]
16,36 unequal: No Solution
Exploring Operation: 50+34=84, Resulting Numbers: [84]
84,36 unequal: No Solution
Exploring Operation: 50*34=1700, Resulting Numbers: [1700]
1700,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,0
Current State: 36:[58, 26], Operations: ['84-26=58', '50-24=26']
Exploring Operation: 58+26=84, Resulting Numbers: [84]
84,36 unequal: No Solution
Exploring Operation: 58*26=1508, Resulting Numbers: [1508]
1508,36 unequal: No Solution
Exploring Operation: 58-26=32, Resulting Numbers: [32]
32,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,1
Current State: 36:[58, 74], Operations: ['84-26=58', '24+50=74']
Exploring Operation: 58*74=4292, Resulting Numbers: [4292]
4292,36 unequal: No Solution
Exploring Operation: 74-58=16, Resulting Numbers: [16]
16,36 unequal: No Solution
Exploring Operation: 58+74=132, Resulting Numbers: [132]
132,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,2
Current State: 36:[50, 82], Operations: ['84-26=58', '24+58=82']
Exploring Operation: 82-50=32, Resulting Numbers: [32]
32,36 unequal: No Solution
Exploring Operation: 50*82=4100, Resulting Numbers: [4100]
4100,36 unequal: No Solution
Exploring Operation: 50+82=132, Resulting Numbers: [132]
132,36 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: 36:[26, 50, 60], Operations: ['84-24=60']
Exploring Operation: 60-26=34, Resulting Numbers: [50, 34]
Generated Node #0,0,0: 36:[50, 34] Operation: 60-26=34
Exploring Operation: 50-26=24, Resulting Numbers: [60, 24]
Generated Node #0,0,1: 36:[60, 24] Operation: 50-26=24
Exploring Operation: 60-50=10, Resulting Numbers: [26, 10]
Generated Node #0,0,2: 36:[26, 10] Operation: 60-50=10
Exploring Operation: 26+60=86, Resulting Numbers: [50, 86]
Generated Node #0,0,3: 36:[50, 86] Operation: 26+60=86
Exploring Operation: 26+50=76, Resulting Numbers: [60, 76]
Generated Node #0,0,4: 36:[60, 76] Operation: 26+50=76
Moving to Node #0,1
Current State: 36:[84, 24, 24], Operations: ['50-26=24']
Exploring Operation: 84-24=60, Resulting Numbers: [24, 60]
Generated Node #0,1,0: 36:[24, 60] Operation: 84-24=60
Exploring Operation: 24-24=0, Resulting Numbers: [84, 0]
Generated Node #0,1,1: 36:[84, 0] Operation: 24-24=0
Exploring Operation: 84-24=60, Resulting Numbers: [24, 60]
Generated Node #0,1,2: 36:[24, 60] Operation: 84-24=60
Exploring Operation: 24/24=1, Resulting Numbers: [84, 1]
Generated Node #0,1,3: 36:[84, 1] Operation: 24/24=1
Exploring Operation: 24+24=48, Resulting Numbers: [84, 48]
Generated Node #0,1,4: 36:[84, 48] Operation: 24+24=48
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 36:[24, 60], Operations: ['50-26=24', '84-24=60']
Exploring Operation: 60-24=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[84, 26, 24, 50], Operations: []
Exploring Operation: 50-26=24, Resulting Numbers: [84, 24, 24]
Generated Node #0,1: 36:[84, 24, 24] Operation: 50-26=24
Moving to Node #0,1
Current State: 36:[84, 24, 24], Operations: ['50-26=24']
Exploring Operation: 84-24=60, Resulting Numbers: [24, 60]
Generated Node #0,1,0: 36:[24, 60] Operation: 84-24=60
Moving to Node #0,1,0
Current State: 36:[24, 60], Operations: ['50-26=24', '84-24=60']
Exploring Operation: 60-24=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.960069 | hs_5 | sum_heuristic |
[
50,
25,
96,
89
] | 41 | [
"50/25=2",
"96/2=48",
"89-48=41"
] | Current State: 41:[50, 25, 96, 89], Operations: []
Exploring Operation: 50/25=2, Resulting Numbers: [96, 89, 2]
Generated Node #2: [96, 89, 2] from Operation: 50/25=2
Current State: 41:[96, 89, 2], Operations: ['50/25=2']
Exploring Operation: 96/2=48, Resulting Numbers: [89, 48]
Generated Node #3: [89, 48] from Operation: 96/2=48
Current State: 41:[89, 48], Operations: ['50/25=2', '96/2=48']
Exploring Operation: 89-48=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[50, 25, 96, 89], Operations: []
Exploring Operation: 89-50=39, Resulting Numbers: [25, 96, 39]
Generated Node #0,0: 41:[25, 96, 39] Operation: 89-50=39
Exploring Operation: 96-50=46, Resulting Numbers: [25, 89, 46]
Generated Node #0,1: 41:[25, 89, 46] Operation: 96-50=46
Exploring Operation: 96-89=7, Resulting Numbers: [50, 25, 7]
Generated Node #0,2: 41:[50, 25, 7] Operation: 96-89=7
Moving to Node #0,2
Current State: 41:[50, 25, 7], Operations: ['96-89=7']
Exploring Operation: 25+7=32, Resulting Numbers: [50, 32]
Generated Node #0,2,0: 41:[50, 32] Operation: 25+7=32
Exploring Operation: 50-7=43, Resulting Numbers: [25, 43]
Generated Node #0,2,1: 41:[25, 43] Operation: 50-7=43
Exploring Operation: 50+7=57, Resulting Numbers: [25, 57]
Generated Node #0,2,2: 41:[25, 57] Operation: 50+7=57
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 41:[50, 32], Operations: ['96-89=7', '25+7=32']
Exploring Operation: 50-32=18, Resulting Numbers: [18]
18,41 unequal: No Solution
Exploring Operation: 50+32=82, Resulting Numbers: [82]
82,41 unequal: No Solution
Exploring Operation: 50*32=1600, Resulting Numbers: [1600]
1600,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 41:[25, 43], Operations: ['96-89=7', '50-7=43']
Exploring Operation: 25+43=68, Resulting Numbers: [68]
68,41 unequal: No Solution
Exploring Operation: 43-25=18, Resulting Numbers: [18]
18,41 unequal: No Solution
Exploring Operation: 25*43=1075, Resulting Numbers: [1075]
1075,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 41:[25, 57], Operations: ['96-89=7', '50+7=57']
Exploring Operation: 57-25=32, Resulting Numbers: [32]
32,41 unequal: No Solution
Exploring Operation: 25+57=82, Resulting Numbers: [82]
82,41 unequal: No Solution
Exploring Operation: 25*57=1425, Resulting Numbers: [1425]
1425,41 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: 41:[25, 89, 46], Operations: ['96-50=46']
Exploring Operation: 46-25=21, Resulting Numbers: [89, 21]
Generated Node #0,1,0: 41:[89, 21] Operation: 46-25=21
Exploring Operation: 89-46=43, Resulting Numbers: [25, 43]
Generated Node #0,1,1: 41:[25, 43] Operation: 89-46=43
Exploring Operation: 89-25=64, Resulting Numbers: [46, 64]
Generated Node #0,1,2: 41:[46, 64] Operation: 89-25=64
Moving to Node #0,0
Current State: 41:[25, 96, 39], Operations: ['89-50=39']
Exploring Operation: 96-25=71, Resulting Numbers: [39, 71]
Generated Node #0,0,0: 41:[39, 71] Operation: 96-25=71
Exploring Operation: 25+39=64, Resulting Numbers: [96, 64]
Generated Node #0,0,1: 41:[96, 64] Operation: 25+39=64
Exploring Operation: 96-39=57, Resulting Numbers: [25, 57]
Generated Node #0,0,2: 41:[25, 57] Operation: 96-39=57
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 41:[39, 71], Operations: ['89-50=39', '96-25=71']
Exploring Operation: 39+71=110, Resulting Numbers: [110]
110,41 unequal: No Solution
Exploring Operation: 39*71=2769, Resulting Numbers: [2769]
2769,41 unequal: No Solution
Exploring Operation: 71-39=32, Resulting Numbers: [32]
32,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 41:[25, 57], Operations: ['89-50=39', '96-39=57']
Exploring Operation: 25+57=82, Resulting Numbers: [82]
82,41 unequal: No Solution
Exploring Operation: 57-25=32, Resulting Numbers: [32]
32,41 unequal: No Solution
Exploring Operation: 25*57=1425, Resulting Numbers: [1425]
1425,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 41:[96, 64], Operations: ['89-50=39', '25+39=64']
Exploring Operation: 96+64=160, Resulting Numbers: [160]
160,41 unequal: No Solution
Exploring Operation: 96-64=32, Resulting Numbers: [32]
32,41 unequal: No Solution
Exploring Operation: 96*64=6144, Resulting Numbers: [6144]
6144,41 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: 41:[25, 43], Operations: ['96-50=46', '89-46=43']
Exploring Operation: 25+43=68, Resulting Numbers: [68]
68,41 unequal: No Solution
Exploring Operation: 43-25=18, Resulting Numbers: [18]
18,41 unequal: No Solution
Exploring Operation: 25*43=1075, Resulting Numbers: [1075]
1075,41 unequal: No Solution
Moving to Node #0,1,2
Current State: 41:[46, 64], Operations: ['96-50=46', '89-25=64']
Exploring Operation: 46*64=2944, Resulting Numbers: [2944]
2944,41 unequal: No Solution
Exploring Operation: 46+64=110, Resulting Numbers: [110]
110,41 unequal: No Solution
Exploring Operation: 64-46=18, Resulting Numbers: [18]
18,41 unequal: No Solution
Moving to Node #0,1,0
Current State: 41:[89, 21], Operations: ['96-50=46', '46-25=21']
Exploring Operation: 89-21=68, Resulting Numbers: [68]
68,41 unequal: No Solution
Exploring Operation: 89*21=1869, Resulting Numbers: [1869]
1869,41 unequal: No Solution
Exploring Operation: 89+21=110, Resulting Numbers: [110]
110,41 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
1,
28,
43,
4
] | 75 | [
"1*28=28",
"43+4=47",
"28+47=75"
] | Current State: 75:[1, 28, 43, 4], Operations: []
Exploring Operation: 1*28=28, Resulting Numbers: [43, 4, 28]
Generated Node #2: [43, 4, 28] from Operation: 1*28=28
Current State: 75:[43, 4, 28], Operations: ['1*28=28']
Exploring Operation: 43+4=47, Resulting Numbers: [28, 47]
Generated Node #3: [28, 47] from Operation: 43+4=47
Current State: 75:[28, 47], Operations: ['1*28=28', '43+4=47']
Exploring Operation: 28+47=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[1, 28, 43, 4], Operations: []
Exploring Operation: 43-28=15, Resulting Numbers: [1, 4, 15]
Generated Node #0,0: 75:[1, 4, 15] Operation: 43-28=15
Exploring Operation: 43-4=39, Resulting Numbers: [1, 28, 39]
Generated Node #0,1: 75:[1, 28, 39] Operation: 43-4=39
Exploring Operation: 28+43=71, Resulting Numbers: [1, 4, 71]
Generated Node #0,2: 75:[1, 4, 71] Operation: 28+43=71
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[1, 4, 15], Operations: ['43-28=15']
Exploring Operation: 1+4=5, Resulting Numbers: [15, 5]
Generated Node #0,0,0: 75:[15, 5] Operation: 1+4=5
Exploring Operation: 1*4=4, Resulting Numbers: [15, 4]
Generated Node #0,0,1: 75:[15, 4] Operation: 1*4=4
Exploring Operation: 4-1=3, Resulting Numbers: [15, 3]
Generated Node #0,0,2: 75:[15, 3] Operation: 4-1=3
Moving to Node #0,0,0
Current State: 75:[15, 5], Operations: ['43-28=15', '1+4=5']
Exploring Operation: 15+5=20, Resulting Numbers: [20]
20,75 unequal: No Solution
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,75 unequal: No Solution
Exploring Operation: 15*5=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[1, 28, 43, 4], Operations: []
Exploring Operation: 43-28=15, Resulting Numbers: [1, 4, 15]
Generated Node #0,0: 75:[1, 4, 15] Operation: 43-28=15
Moving to Node #0,0
Current State: 75:[1, 4, 15], Operations: ['43-28=15']
Exploring Operation: 1+4=5, Resulting Numbers: [15, 5]
Generated Node #0,0,0: 75:[15, 5] Operation: 1+4=5
Moving to Node #0,0,0
Current State: 75:[15, 5], Operations: ['43-28=15', '1+4=5']
Exploring Operation: 15*5=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
9,
10,
70,
4
] | 75 | [
"10-9=1",
"70+4=74",
"1+74=75"
] | Current State: 75:[9, 10, 70, 4], Operations: []
Exploring Operation: 10-9=1, Resulting Numbers: [70, 4, 1]
Generated Node #2: [70, 4, 1] from Operation: 10-9=1
Current State: 75:[70, 4, 1], Operations: ['10-9=1']
Exploring Operation: 70+4=74, Resulting Numbers: [1, 74]
Generated Node #3: [1, 74] from Operation: 70+4=74
Current State: 75:[1, 74], Operations: ['10-9=1', '70+4=74']
Exploring Operation: 1+74=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[9, 10, 70, 4], Operations: []
Exploring Operation: 9+10=19, Resulting Numbers: [70, 4, 19]
Generated Node #0,0: 75:[70, 4, 19] Operation: 9+10=19
Exploring Operation: 10-9=1, Resulting Numbers: [70, 4, 1]
Generated Node #0,1: 75:[70, 4, 1] Operation: 10-9=1
Exploring Operation: 70/10=7, Resulting Numbers: [9, 4, 7]
Generated Node #0,2: 75:[9, 4, 7] Operation: 70/10=7
Start Sub Search at level 1: Moving to Node #0,2
Current State: 75:[9, 4, 7], Operations: ['70/10=7']
Exploring Operation: 9+7=16, Resulting Numbers: [4, 16]
Generated Node #0,2,0: 75:[4, 16] Operation: 9+7=16
Exploring Operation: 9-4=5, Resulting Numbers: [7, 5]
Generated Node #0,2,1: 75:[7, 5] Operation: 9-4=5
Exploring Operation: 9-7=2, Resulting Numbers: [4, 2]
Generated Node #0,2,2: 75:[4, 2] Operation: 9-7=2
Moving to Node #0,2,0
Current State: 75:[4, 16], Operations: ['70/10=7', '9+7=16']
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,75 unequal: No Solution
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,75 unequal: No Solution
Exploring Operation: 4+16=20, Resulting Numbers: [20]
20,75 unequal: No Solution
Moving to Node #0,2,1
Current State: 75:[7, 5], Operations: ['70/10=7', '9-4=5']
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,75 unequal: No Solution
Exploring Operation: 7*5=35, Resulting Numbers: [35]
35,75 unequal: No Solution
Exploring Operation: 7+5=12, Resulting Numbers: [12]
12,75 unequal: No Solution
Moving to Node #0,2,2
Current State: 75:[4, 2], Operations: ['70/10=7', '9-7=2']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,75 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,75 unequal: No Solution
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 75:[70, 4, 1], Operations: ['10-9=1']
Exploring Operation: 70+1=71, Resulting Numbers: [4, 71]
Generated Node #0,1,0: 75:[4, 71] Operation: 70+1=71
Exploring Operation: 4+1=5, Resulting Numbers: [70, 5]
Generated Node #0,1,1: 75:[70, 5] Operation: 4+1=5
Exploring Operation: 70+4=74, Resulting Numbers: [1, 74]
Generated Node #0,1,2: 75:[1, 74] Operation: 70+4=74
Moving to Node #0,1,2
Current State: 75:[1, 74], Operations: ['10-9=1', '70+4=74']
Exploring Operation: 74/1=74, Resulting Numbers: [74]
74,75 unequal: No Solution
Exploring Operation: 1*74=74, Resulting Numbers: [74]
74,75 unequal: No Solution
Exploring Operation: 1+74=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[9, 10, 70, 4], Operations: []
Exploring Operation: 10-9=1, Resulting Numbers: [70, 4, 1]
Generated Node #0,1: 75:[70, 4, 1] Operation: 10-9=1
Moving to Node #0,1
Current State: 75:[70, 4, 1], Operations: ['10-9=1']
Exploring Operation: 70+4=74, Resulting Numbers: [1, 74]
Generated Node #0,1,2: 75:[1, 74] Operation: 70+4=74
Moving to Node #0,1,2
Current State: 75:[1, 74], Operations: ['10-9=1', '70+4=74']
Exploring Operation: 1+74=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_3 | mult_heuristic |
[
51,
79,
52,
88
] | 64 | [
"79-51=28",
"88-52=36",
"28+36=64"
] | Current State: 64:[51, 79, 52, 88], Operations: []
Exploring Operation: 79-51=28, Resulting Numbers: [52, 88, 28]
Generated Node #2: [52, 88, 28] from Operation: 79-51=28
Current State: 64:[52, 88, 28], Operations: ['79-51=28']
Exploring Operation: 88-52=36, Resulting Numbers: [28, 36]
Generated Node #3: [28, 36] from Operation: 88-52=36
Current State: 64:[28, 36], Operations: ['79-51=28', '88-52=36']
Exploring Operation: 28+36=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[51, 79, 52, 88], Operations: []
Exploring Operation: 88-79=9, Resulting Numbers: [51, 52, 9]
Generated Node #0,0: 64:[51, 52, 9] Operation: 88-79=9
Exploring Operation: 88-51=37, Resulting Numbers: [79, 52, 37]
Generated Node #0,1: 64:[79, 52, 37] Operation: 88-51=37
Moving to Node #0,0
Current State: 64:[51, 52, 9], Operations: ['88-79=9']
Exploring Operation: 52-51=1, Resulting Numbers: [9, 1]
Generated Node #0,0,0: 64:[9, 1] Operation: 52-51=1
Exploring Operation: 51+9=60, Resulting Numbers: [52, 60]
Generated Node #0,0,1: 64:[52, 60] Operation: 51+9=60
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 64:[9, 1], Operations: ['88-79=9', '52-51=1']
Exploring Operation: 9-1=8, Resulting Numbers: [8]
8,64 unequal: No Solution
Exploring Operation: 9*1=9, Resulting Numbers: [9]
9,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 64:[52, 60], Operations: ['88-79=9', '51+9=60']
Exploring Operation: 60-52=8, Resulting Numbers: [8]
8,64 unequal: No Solution
Exploring Operation: 52+60=112, Resulting Numbers: [112]
112,64 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: 64:[79, 52, 37], Operations: ['88-51=37']
Exploring Operation: 52-37=15, Resulting Numbers: [79, 15]
Generated Node #0,1,0: 64:[79, 15] Operation: 52-37=15
Exploring Operation: 79-52=27, Resulting Numbers: [37, 27]
Generated Node #0,1,1: 64:[37, 27] Operation: 79-52=27
Moving to Node #0,1,1
Current State: 64:[37, 27], Operations: ['88-51=37', '79-52=27']
Exploring Operation: 37-27=10, Resulting Numbers: [10]
10,64 unequal: No Solution
Exploring Operation: 37+27=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[51, 79, 52, 88], Operations: []
Exploring Operation: 88-51=37, Resulting Numbers: [79, 52, 37]
Generated Node #0,1: 64:[79, 52, 37] Operation: 88-51=37
Moving to Node #0,1
Current State: 64:[79, 52, 37], Operations: ['88-51=37']
Exploring Operation: 79-52=27, Resulting Numbers: [37, 27]
Generated Node #0,1,1: 64:[37, 27] Operation: 79-52=27
Moving to Node #0,1,1
Current State: 64:[37, 27], Operations: ['88-51=37', '79-52=27']
Exploring Operation: 37+27=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 0.986111 | hs_2 | sum_heuristic |
[
68,
21,
61,
5
] | 58 | [
"68-5=63",
"63/21=3",
"61-3=58"
] | Current State: 58:[68, 21, 61, 5], Operations: []
Exploring Operation: 68-5=63, Resulting Numbers: [21, 61, 63]
Generated Node #2: [21, 61, 63] from Operation: 68-5=63
Current State: 58:[21, 61, 63], Operations: ['68-5=63']
Exploring Operation: 63/21=3, Resulting Numbers: [61, 3]
Generated Node #3: [61, 3] from Operation: 63/21=3
Current State: 58:[61, 3], Operations: ['68-5=63', '63/21=3']
Exploring Operation: 61-3=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[68, 21, 61, 5], Operations: []
Exploring Operation: 68-61=7, Resulting Numbers: [21, 5, 7]
Generated Node #0,0: 58:[21, 5, 7] Operation: 68-61=7
Exploring Operation: 21+5=26, Resulting Numbers: [68, 61, 26]
Generated Node #0,1: 58:[68, 61, 26] Operation: 21+5=26
Exploring Operation: 68-5=63, Resulting Numbers: [21, 61, 63]
Generated Node #0,2: 58:[21, 61, 63] Operation: 68-5=63
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[21, 5, 7], Operations: ['68-61=7']
Exploring Operation: 21/7=3, Resulting Numbers: [5, 3]
Generated Node #0,0,0: 58:[5, 3] Operation: 21/7=3
Exploring Operation: 21+7=28, Resulting Numbers: [5, 28]
Generated Node #0,0,1: 58:[5, 28] Operation: 21+7=28
Exploring Operation: 21+5=26, Resulting Numbers: [7, 26]
Generated Node #0,0,2: 58:[7, 26] Operation: 21+5=26
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 58:[5, 3], Operations: ['68-61=7', '21/7=3']
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,58 unequal: No Solution
Exploring Operation: 5*3=15, Resulting Numbers: [15]
15,58 unequal: No Solution
Exploring Operation: 5+3=8, Resulting Numbers: [8]
8,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 58:[5, 28], Operations: ['68-61=7', '21+7=28']
Exploring Operation: 28-5=23, Resulting Numbers: [23]
23,58 unequal: No Solution
Exploring Operation: 5*28=140, Resulting Numbers: [140]
140,58 unequal: No Solution
Exploring Operation: 5+28=33, Resulting Numbers: [33]
33,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 58:[7, 26], Operations: ['68-61=7', '21+5=26']
Exploring Operation: 7*26=182, Resulting Numbers: [182]
182,58 unequal: No Solution
Exploring Operation: 7+26=33, Resulting Numbers: [33]
33,58 unequal: No Solution
Exploring Operation: 26-7=19, Resulting Numbers: [19]
19,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 58:[68, 61, 26], Operations: ['21+5=26']
Exploring Operation: 68-61=7, Resulting Numbers: [26, 7]
Generated Node #0,1,0: 58:[26, 7] Operation: 68-61=7
Exploring Operation: 61-26=35, Resulting Numbers: [68, 35]
Generated Node #0,1,1: 58:[68, 35] Operation: 61-26=35
Exploring Operation: 68-26=42, Resulting Numbers: [61, 42]
Generated Node #0,1,2: 58:[61, 42] Operation: 68-26=42
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 58:[26, 7], Operations: ['21+5=26', '68-61=7']
Exploring Operation: 26+7=33, Resulting Numbers: [33]
33,58 unequal: No Solution
Exploring Operation: 26*7=182, Resulting Numbers: [182]
182,58 unequal: No Solution
Exploring Operation: 26-7=19, Resulting Numbers: [19]
19,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 58:[68, 35], Operations: ['21+5=26', '61-26=35']
Exploring Operation: 68*35=2380, Resulting Numbers: [2380]
2380,58 unequal: No Solution
Exploring Operation: 68-35=33, Resulting Numbers: [33]
33,58 unequal: No Solution
Exploring Operation: 68+35=103, Resulting Numbers: [103]
103,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 58:[61, 42], Operations: ['21+5=26', '68-26=42']
Exploring Operation: 61+42=103, Resulting Numbers: [103]
103,58 unequal: No Solution
Exploring Operation: 61-42=19, Resulting Numbers: [19]
19,58 unequal: No Solution
Exploring Operation: 61*42=2562, Resulting Numbers: [2562]
2562,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 58:[21, 61, 63], Operations: ['68-5=63']
Exploring Operation: 61-21=40, Resulting Numbers: [63, 40]
Generated Node #0,2,0: 58:[63, 40] Operation: 61-21=40
Exploring Operation: 63-61=2, Resulting Numbers: [21, 2]
Generated Node #0,2,1: 58:[21, 2] Operation: 63-61=2
Exploring Operation: 63/21=3, Resulting Numbers: [61, 3]
Generated Node #0,2,2: 58:[61, 3] Operation: 63/21=3
Moving to Node #0,2,2
Current State: 58:[61, 3], Operations: ['68-5=63', '63/21=3']
Exploring Operation: 61+3=64, Resulting Numbers: [64]
64,58 unequal: No Solution
Exploring Operation: 61-3=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[68, 21, 61, 5], Operations: []
Exploring Operation: 68-5=63, Resulting Numbers: [21, 61, 63]
Generated Node #0,2: 58:[21, 61, 63] Operation: 68-5=63
Moving to Node #0,2
Current State: 58:[21, 61, 63], Operations: ['68-5=63']
Exploring Operation: 63/21=3, Resulting Numbers: [61, 3]
Generated Node #0,2,2: 58:[61, 3] Operation: 63/21=3
Moving to Node #0,2,2
Current State: 58:[61, 3], Operations: ['68-5=63', '63/21=3']
Exploring Operation: 61-3=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875 | hs_3 | sum_heuristic |
[
29,
74,
18,
31
] | 83 | [
"31-29=2",
"18/2=9",
"74+9=83"
] | Current State: 83:[29, 74, 18, 31], Operations: []
Exploring Operation: 31-29=2, Resulting Numbers: [74, 18, 2]
Generated Node #2: [74, 18, 2] from Operation: 31-29=2
Current State: 83:[74, 18, 2], Operations: ['31-29=2']
Exploring Operation: 18/2=9, Resulting Numbers: [74, 9]
Generated Node #3: [74, 9] from Operation: 18/2=9
Current State: 83:[74, 9], Operations: ['31-29=2', '18/2=9']
Exploring Operation: 74+9=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[29, 74, 18, 31], Operations: []
Exploring Operation: 29+18=47, Resulting Numbers: [74, 31, 47]
Generated Node #0,0: 83:[74, 31, 47] Operation: 29+18=47
Exploring Operation: 18+31=49, Resulting Numbers: [29, 74, 49]
Generated Node #0,1: 83:[29, 74, 49] Operation: 18+31=49
Exploring Operation: 29+31=60, Resulting Numbers: [74, 18, 60]
Generated Node #0,2: 83:[74, 18, 60] Operation: 29+31=60
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[74, 31, 47], Operations: ['29+18=47']
Exploring Operation: 31+47=78, Resulting Numbers: [74, 78]
Generated Node #0,0,0: 83:[74, 78] Operation: 31+47=78
Exploring Operation: 74+31=105, Resulting Numbers: [47, 105]
Generated Node #0,0,1: 83:[47, 105] Operation: 74+31=105
Exploring Operation: 74-31=43, Resulting Numbers: [47, 43]
Generated Node #0,0,2: 83:[47, 43] Operation: 74-31=43
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 83:[74, 78], Operations: ['29+18=47', '31+47=78']
Exploring Operation: 78-74=4, Resulting Numbers: [4]
4,83 unequal: No Solution
Exploring Operation: 74*78=5772, Resulting Numbers: [5772]
5772,83 unequal: No Solution
Exploring Operation: 74+78=152, Resulting Numbers: [152]
152,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,0,1
Current State: 83:[47, 105], Operations: ['29+18=47', '74+31=105']
Exploring Operation: 47+105=152, Resulting Numbers: [152]
152,83 unequal: No Solution
Exploring Operation: 105-47=58, Resulting Numbers: [58]
58,83 unequal: No Solution
Exploring Operation: 47*105=4935, Resulting Numbers: [4935]
4935,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,0,2
Current State: 83:[47, 43], Operations: ['29+18=47', '74-31=43']
Exploring Operation: 47-43=4, Resulting Numbers: [4]
4,83 unequal: No Solution
Exploring Operation: 47*43=2021, Resulting Numbers: [2021]
2021,83 unequal: No Solution
Exploring Operation: 47+43=90, Resulting Numbers: [90]
90,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
Start Sub Search at level 1: Moving to Node #0,1
Current State: 83:[29, 74, 49], Operations: ['18+31=49']
Exploring Operation: 29+49=78, Resulting Numbers: [74, 78]
Generated Node #0,1,0: 83:[74, 78] Operation: 29+49=78
Exploring Operation: 74-29=45, Resulting Numbers: [49, 45]
Generated Node #0,1,1: 83:[49, 45] Operation: 74-29=45
Exploring Operation: 29+74=103, Resulting Numbers: [49, 103]
Generated Node #0,1,2: 83:[49, 103] Operation: 29+74=103
Moving to Node #0,1,0
Current State: 83:[74, 78], Operations: ['18+31=49', '29+49=78']
Exploring Operation: 78-74=4, Resulting Numbers: [4]
4,83 unequal: No Solution
Exploring Operation: 74+78=152, Resulting Numbers: [152]
152,83 unequal: No Solution
Exploring Operation: 74*78=5772, Resulting Numbers: [5772]
5772,83 unequal: No Solution
Moving to Node #0,1,2
Current State: 83:[49, 103], Operations: ['18+31=49', '29+74=103']
Exploring Operation: 103-49=54, Resulting Numbers: [54]
54,83 unequal: No Solution
Exploring Operation: 49*103=5047, Resulting Numbers: [5047]
5047,83 unequal: No Solution
Exploring Operation: 49+103=152, Resulting Numbers: [152]
152,83 unequal: No Solution
Moving to Node #0,1,1
Current State: 83:[49, 45], Operations: ['18+31=49', '74-29=45']
Exploring Operation: 49-45=4, Resulting Numbers: [4]
4,83 unequal: No Solution
Exploring Operation: 49*45=2205, Resulting Numbers: [2205]
2205,83 unequal: No Solution
Exploring Operation: 49+45=94, Resulting Numbers: [94]
94,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,2
Current State: 83:[74, 18, 60], Operations: ['29+31=60']
Exploring Operation: 74-18=56, Resulting Numbers: [60, 56]
Generated Node #0,2,0: 83:[60, 56] Operation: 74-18=56
Exploring Operation: 18+60=78, Resulting Numbers: [74, 78]
Generated Node #0,2,1: 83:[74, 78] Operation: 18+60=78
Exploring Operation: 74+18=92, Resulting Numbers: [60, 92]
Generated Node #0,2,2: 83:[60, 92] Operation: 74+18=92
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 83:[74, 78], Operations: ['29+31=60', '18+60=78']
Exploring Operation: 74*78=5772, Resulting Numbers: [5772]
5772,83 unequal: No Solution
Exploring Operation: 78-74=4, Resulting Numbers: [4]
4,83 unequal: No Solution
Exploring Operation: 74+78=152, Resulting Numbers: [152]
152,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,2,2
Current State: 83:[60, 92], Operations: ['29+31=60', '74+18=92']
Exploring Operation: 60+92=152, Resulting Numbers: [152]
152,83 unequal: No Solution
Exploring Operation: 60*92=5520, Resulting Numbers: [5520]
5520,83 unequal: No Solution
Exploring Operation: 92-60=32, Resulting Numbers: [32]
32,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,2,0
Current State: 83:[60, 56], Operations: ['29+31=60', '74-18=56']
Exploring Operation: 60*56=3360, Resulting Numbers: [3360]
3360,83 unequal: No Solution
Exploring Operation: 60-56=4, Resulting Numbers: [4]
4,83 unequal: No Solution
Exploring Operation: 60+56=116, Resulting Numbers: [116]
116,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_3 | sum_heuristic |
[
29,
26,
94,
53
] | 38 | [
"29-26=3",
"94-53=41",
"41-3=38"
] | Current State: 38:[29, 26, 94, 53], Operations: []
Exploring Operation: 29-26=3, Resulting Numbers: [94, 53, 3]
Generated Node #2: [94, 53, 3] from Operation: 29-26=3
Current State: 38:[94, 53, 3], Operations: ['29-26=3']
Exploring Operation: 94-53=41, Resulting Numbers: [3, 41]
Generated Node #3: [3, 41] from Operation: 94-53=41
Current State: 38:[3, 41], Operations: ['29-26=3', '94-53=41']
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[29, 26, 94, 53], Operations: []
Exploring Operation: 94-53=41, Resulting Numbers: [29, 26, 41]
Generated Node #0,0: 38:[29, 26, 41] Operation: 94-53=41
Start Sub Search at level 1: Moving to Node #0,0
Current State: 38:[29, 26, 41], Operations: ['94-53=41']
Exploring Operation: 29-26=3, Resulting Numbers: [41, 3]
Generated Node #0,0,0: 38:[41, 3] Operation: 29-26=3
Moving to Node #0,0,0
Current State: 38:[41, 3], Operations: ['94-53=41', '29-26=3']
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[29, 26, 94, 53], Operations: []
Exploring Operation: 94-53=41, Resulting Numbers: [29, 26, 41]
Generated Node #0,0: 38:[29, 26, 41] Operation: 94-53=41
Moving to Node #0,0
Current State: 38:[29, 26, 41], Operations: ['94-53=41']
Exploring Operation: 29-26=3, Resulting Numbers: [41, 3]
Generated Node #0,0,0: 38:[41, 3] Operation: 29-26=3
Moving to Node #0,0,0
Current State: 38:[41, 3], Operations: ['94-53=41', '29-26=3']
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
94,
15,
8,
68
] | 98 | [
"68-8=60",
"60/15=4",
"94+4=98"
] | Current State: 98:[94, 15, 8, 68], Operations: []
Exploring Operation: 68-8=60, Resulting Numbers: [94, 15, 60]
Generated Node #2: [94, 15, 60] from Operation: 68-8=60
Current State: 98:[94, 15, 60], Operations: ['68-8=60']
Exploring Operation: 60/15=4, Resulting Numbers: [94, 4]
Generated Node #3: [94, 4] from Operation: 60/15=4
Current State: 98:[94, 4], Operations: ['68-8=60', '60/15=4']
Exploring Operation: 94+4=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[94, 15, 8, 68], Operations: []
Exploring Operation: 94-68=26, Resulting Numbers: [15, 8, 26]
Generated Node #0,0: 98:[15, 8, 26] Operation: 94-68=26
Exploring Operation: 68-15=53, Resulting Numbers: [94, 8, 53]
Generated Node #0,1: 98:[94, 8, 53] Operation: 68-15=53
Start Sub Search at level 1: Moving to Node #0,1
Current State: 98:[94, 8, 53], Operations: ['68-15=53']
Exploring Operation: 53-8=45, Resulting Numbers: [94, 45]
Generated Node #0,1,0: 98:[94, 45] Operation: 53-8=45
Exploring Operation: 94+8=102, Resulting Numbers: [53, 102]
Generated Node #0,1,1: 98:[53, 102] Operation: 94+8=102
Moving to Node #0,1,0
Current State: 98:[94, 45], Operations: ['68-15=53', '53-8=45']
Exploring Operation: 94+45=139, Resulting Numbers: [139]
139,98 unequal: No Solution
Exploring Operation: 94-45=49, Resulting Numbers: [49]
49,98 unequal: No Solution
Moving to Node #0,1,1
Current State: 98:[53, 102], Operations: ['68-15=53', '94+8=102']
Exploring Operation: 53+102=155, Resulting Numbers: [155]
155,98 unequal: No Solution
Exploring Operation: 102-53=49, Resulting Numbers: [49]
49,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[15, 8, 26], Operations: ['94-68=26']
Exploring Operation: 26-15=11, Resulting Numbers: [8, 11]
Generated Node #0,0,0: 98:[8, 11] Operation: 26-15=11
Exploring Operation: 26-8=18, Resulting Numbers: [15, 18]
Generated Node #0,0,1: 98:[15, 18] Operation: 26-8=18
Moving to Node #0,0,0
Current State: 98:[8, 11], Operations: ['94-68=26', '26-15=11']
Exploring Operation: 8+11=19, Resulting Numbers: [19]
19,98 unequal: No Solution
Exploring Operation: 11-8=3, Resulting Numbers: [3]
3,98 unequal: No Solution
Moving to Node #0,0,1
Current State: 98:[15, 18], Operations: ['94-68=26', '26-8=18']
Exploring Operation: 18-15=3, Resulting Numbers: [3]
3,98 unequal: No Solution
Exploring Operation: 15+18=33, Resulting Numbers: [33]
33,98 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 |
[
27,
72,
38,
32
] | 54 | [
"72-38=34",
"34-32=2",
"27*2=54"
] | Current State: 54:[27, 72, 38, 32], Operations: []
Exploring Operation: 72-38=34, Resulting Numbers: [27, 32, 34]
Generated Node #2: [27, 32, 34] from Operation: 72-38=34
Current State: 54:[27, 32, 34], Operations: ['72-38=34']
Exploring Operation: 34-32=2, Resulting Numbers: [27, 2]
Generated Node #3: [27, 2] from Operation: 34-32=2
Current State: 54:[27, 2], Operations: ['72-38=34', '34-32=2']
Exploring Operation: 27*2=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[27, 72, 38, 32], Operations: []
Exploring Operation: 38-27=11, Resulting Numbers: [72, 32, 11]
Generated Node #0,0: 54:[72, 32, 11] Operation: 38-27=11
Exploring Operation: 72-27=45, Resulting Numbers: [38, 32, 45]
Generated Node #0,1: 54:[38, 32, 45] Operation: 72-27=45
Exploring Operation: 38-32=6, Resulting Numbers: [27, 72, 6]
Generated Node #0,2: 54:[27, 72, 6] Operation: 38-32=6
Exploring Operation: 72-38=34, Resulting Numbers: [27, 32, 34]
Generated Node #0,3: 54:[27, 32, 34] Operation: 72-38=34
Exploring Operation: 72-32=40, Resulting Numbers: [27, 38, 40]
Generated Node #0,4: 54:[27, 38, 40] Operation: 72-32=40
Moving to Node #0,3
Current State: 54:[27, 32, 34], Operations: ['72-38=34']
Exploring Operation: 32-27=5, Resulting Numbers: [34, 5]
Generated Node #0,3,0: 54:[34, 5] Operation: 32-27=5
Exploring Operation: 34-32=2, Resulting Numbers: [27, 2]
Generated Node #0,3,1: 54:[27, 2] Operation: 34-32=2
Exploring Operation: 34-27=7, Resulting Numbers: [32, 7]
Generated Node #0,3,2: 54:[32, 7] Operation: 34-27=7
Exploring Operation: 27+32=59, Resulting Numbers: [34, 59]
Generated Node #0,3,3: 54:[34, 59] Operation: 27+32=59
Exploring Operation: 27+34=61, Resulting Numbers: [32, 61]
Generated Node #0,3,4: 54:[32, 61] Operation: 27+34=61
Moving to Node #0,2
Current State: 54:[27, 72, 6], Operations: ['38-32=6']
Exploring Operation: 72/6=12, Resulting Numbers: [27, 12]
Generated Node #0,2,0: 54:[27, 12] Operation: 72/6=12
Exploring Operation: 72-6=66, Resulting Numbers: [27, 66]
Generated Node #0,2,1: 54:[27, 66] Operation: 72-6=66
Exploring Operation: 72-27=45, Resulting Numbers: [6, 45]
Generated Node #0,2,2: 54:[6, 45] Operation: 72-27=45
Exploring Operation: 27+6=33, Resulting Numbers: [72, 33]
Generated Node #0,2,3: 54:[72, 33] Operation: 27+6=33
Exploring Operation: 27-6=21, Resulting Numbers: [72, 21]
Generated Node #0,2,4: 54:[72, 21] Operation: 27-6=21
Moving to Node #0,4
Current State: 54:[27, 38, 40], Operations: ['72-32=40']
Exploring Operation: 27+40=67, Resulting Numbers: [38, 67]
Generated Node #0,4,0: 54:[38, 67] Operation: 27+40=67
Exploring Operation: 40-38=2, Resulting Numbers: [27, 2]
Generated Node #0,4,1: 54:[27, 2] Operation: 40-38=2
Exploring Operation: 40-27=13, Resulting Numbers: [38, 13]
Generated Node #0,4,2: 54:[38, 13] Operation: 40-27=13
Exploring Operation: 38-27=11, Resulting Numbers: [40, 11]
Generated Node #0,4,3: 54:[40, 11] Operation: 38-27=11
Exploring Operation: 27+38=65, Resulting Numbers: [40, 65]
Generated Node #0,4,4: 54:[40, 65] Operation: 27+38=65
Moving to Node #0,0
Current State: 54:[72, 32, 11], Operations: ['38-27=11']
Exploring Operation: 72-11=61, Resulting Numbers: [32, 61]
Generated Node #0,0,0: 54:[32, 61] Operation: 72-11=61
Exploring Operation: 32+11=43, Resulting Numbers: [72, 43]
Generated Node #0,0,1: 54:[72, 43] Operation: 32+11=43
Exploring Operation: 72+11=83, Resulting Numbers: [32, 83]
Generated Node #0,0,2: 54:[32, 83] Operation: 72+11=83
Exploring Operation: 72-32=40, Resulting Numbers: [11, 40]
Generated Node #0,0,3: 54:[11, 40] Operation: 72-32=40
Exploring Operation: 32-11=21, Resulting Numbers: [72, 21]
Generated Node #0,0,4: 54:[72, 21] Operation: 32-11=21
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 54:[32, 61], Operations: ['38-27=11', '72-11=61']
Exploring Operation: 32*61=1952, Resulting Numbers: [1952]
1952,54 unequal: No Solution
Exploring Operation: 32+61=93, Resulting Numbers: [93]
93,54 unequal: No Solution
Exploring Operation: 61-32=29, Resulting Numbers: [29]
29,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,3
Current State: 54:[11, 40], Operations: ['38-27=11', '72-32=40']
Exploring Operation: 11+40=51, Resulting Numbers: [51]
51,54 unequal: No Solution
Exploring Operation: 11*40=440, Resulting Numbers: [440]
440,54 unequal: No Solution
Exploring Operation: 40-11=29, Resulting Numbers: [29]
29,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,4
Current State: 54:[72, 21], Operations: ['38-27=11', '32-11=21']
Exploring Operation: 72+21=93, Resulting Numbers: [93]
93,54 unequal: No Solution
Exploring Operation: 72*21=1512, Resulting Numbers: [1512]
1512,54 unequal: No Solution
Exploring Operation: 72-21=51, Resulting Numbers: [51]
51,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:[72, 43], Operations: ['38-27=11', '32+11=43']
Exploring Operation: 72+43=115, Resulting Numbers: [115]
115,54 unequal: No Solution
Exploring Operation: 72*43=3096, Resulting Numbers: [3096]
3096,54 unequal: No Solution
Exploring Operation: 72-43=29, Resulting Numbers: [29]
29,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 54:[32, 83], Operations: ['38-27=11', '72+11=83']
Exploring Operation: 32*83=2656, Resulting Numbers: [2656]
2656,54 unequal: No Solution
Exploring Operation: 83-32=51, Resulting Numbers: [51]
51,54 unequal: No Solution
Exploring Operation: 32+83=115, Resulting Numbers: [115]
115,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:[38, 32, 45], Operations: ['72-27=45']
Exploring Operation: 45-32=13, Resulting Numbers: [38, 13]
Generated Node #0,1,0: 54:[38, 13] Operation: 45-32=13
Exploring Operation: 38+32=70, Resulting Numbers: [45, 70]
Generated Node #0,1,1: 54:[45, 70] Operation: 38+32=70
Exploring Operation: 38-32=6, Resulting Numbers: [45, 6]
Generated Node #0,1,2: 54:[45, 6] Operation: 38-32=6
Exploring Operation: 38+45=83, Resulting Numbers: [32, 83]
Generated Node #0,1,3: 54:[32, 83] Operation: 38+45=83
Exploring Operation: 45-38=7, Resulting Numbers: [32, 7]
Generated Node #0,1,4: 54:[32, 7] Operation: 45-38=7
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 54:[32, 7], Operations: ['72-27=45', '45-38=7']
Exploring Operation: 32-7=25, Resulting Numbers: [25]
25,54 unequal: No Solution
Exploring Operation: 32*7=224, Resulting Numbers: [224]
224,54 unequal: No Solution
Exploring Operation: 32+7=39, Resulting Numbers: [39]
39,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,2
Current State: 54:[45, 6], Operations: ['72-27=45', '38-32=6']
Exploring Operation: 45+6=51, Resulting Numbers: [51]
51,54 unequal: No Solution
Exploring Operation: 45*6=270, Resulting Numbers: [270]
270,54 unequal: No Solution
Exploring Operation: 45-6=39, Resulting Numbers: [39]
39,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:[38, 13], Operations: ['72-27=45', '45-32=13']
Exploring Operation: 38*13=494, Resulting Numbers: [494]
494,54 unequal: No Solution
Exploring Operation: 38-13=25, Resulting Numbers: [25]
25,54 unequal: No Solution
Exploring Operation: 38+13=51, Resulting Numbers: [51]
51,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,1
Current State: 54:[45, 70], Operations: ['72-27=45', '38+32=70']
Exploring Operation: 45+70=115, Resulting Numbers: [115]
115,54 unequal: No Solution
Exploring Operation: 45*70=3150, Resulting Numbers: [3150]
3150,54 unequal: No Solution
Exploring Operation: 70-45=25, Resulting Numbers: [25]
25,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,3
Current State: 54:[32, 83], Operations: ['72-27=45', '38+45=83']
Exploring Operation: 32+83=115, Resulting Numbers: [115]
115,54 unequal: No Solution
Exploring Operation: 32*83=2656, Resulting Numbers: [2656]
2656,54 unequal: No Solution
Exploring Operation: 83-32=51, Resulting Numbers: [51]
51,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,1
Current State: 54:[27, 2], Operations: ['72-38=34', '34-32=2']
Exploring Operation: 27+2=29, Resulting Numbers: [29]
29,54 unequal: No Solution
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,54 unequal: No Solution
Exploring Operation: 27*2=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[27, 72, 38, 32], Operations: []
Exploring Operation: 72-38=34, Resulting Numbers: [27, 32, 34]
Generated Node #0,3: 54:[27, 32, 34] Operation: 72-38=34
Moving to Node #0,3
Current State: 54:[27, 32, 34], Operations: ['72-38=34']
Exploring Operation: 34-32=2, Resulting Numbers: [27, 2]
Generated Node #0,3,1: 54:[27, 2] Operation: 34-32=2
Moving to Node #0,3,1
Current State: 54:[27, 2], Operations: ['72-38=34', '34-32=2']
Exploring Operation: 27*2=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 0.94184 | hs_5 | sum_heuristic |
[
51,
18,
34,
17
] | 52 | [
"51+18=69",
"34-17=17",
"69-17=52"
] | Current State: 52:[51, 18, 34, 17], Operations: []
Exploring Operation: 51+18=69, Resulting Numbers: [34, 17, 69]
Generated Node #2: [34, 17, 69] from Operation: 51+18=69
Current State: 52:[34, 17, 69], Operations: ['51+18=69']
Exploring Operation: 34-17=17, Resulting Numbers: [69, 17]
Generated Node #3: [69, 17] from Operation: 34-17=17
Current State: 52:[69, 17], Operations: ['51+18=69', '34-17=17']
Exploring Operation: 69-17=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[51, 18, 34, 17], Operations: []
Exploring Operation: 18+34=52, Resulting Numbers: [51, 17, 52]
Generated Node #0,0: 52:[51, 17, 52] Operation: 18+34=52
Exploring Operation: 34/17=2, Resulting Numbers: [51, 18, 2]
Generated Node #0,1: 52:[51, 18, 2] Operation: 34/17=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[51, 17, 52], Operations: ['18+34=52']
Exploring Operation: 52-51=1, Resulting Numbers: [17, 1]
Generated Node #0,0,0: 52:[17, 1] Operation: 52-51=1
Exploring Operation: 51/17=3, Resulting Numbers: [52, 3]
Generated Node #0,0,1: 52:[52, 3] Operation: 51/17=3
Moving to Node #0,0,1
Current State: 52:[52, 3], Operations: ['18+34=52', '51/17=3']
Exploring Operation: 52-3=49, Resulting Numbers: [49]
49,52 unequal: No Solution
Exploring Operation: 52+3=55, Resulting Numbers: [55]
55,52 unequal: No Solution
Moving to Node #0,0,0
Current State: 52:[17, 1], Operations: ['18+34=52', '52-51=1']
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,52 unequal: No Solution
Exploring Operation: 17*1=17, Resulting Numbers: [17]
17,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 52:[51, 18, 2], Operations: ['34/17=2']
Exploring Operation: 18/2=9, Resulting Numbers: [51, 9]
Generated Node #0,1,0: 52:[51, 9] Operation: 18/2=9
Exploring Operation: 18-2=16, Resulting Numbers: [51, 16]
Generated Node #0,1,1: 52:[51, 16] Operation: 18-2=16
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 52:[51, 16], Operations: ['34/17=2', '18-2=16']
Exploring Operation: 51-16=35, Resulting Numbers: [35]
35,52 unequal: No Solution
Exploring Operation: 51+16=67, Resulting Numbers: [67]
67,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 52:[51, 9], Operations: ['34/17=2', '18/2=9']
Exploring Operation: 51-9=42, Resulting Numbers: [42]
42,52 unequal: No Solution
Exploring Operation: 51+9=60, Resulting Numbers: [60]
60,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
66,
53,
20,
77
] | 79 | [
"53-20=33",
"66/33=2",
"77+2=79"
] | Current State: 79:[66, 53, 20, 77], Operations: []
Exploring Operation: 53-20=33, Resulting Numbers: [66, 77, 33]
Generated Node #2: [66, 77, 33] from Operation: 53-20=33
Current State: 79:[66, 77, 33], Operations: ['53-20=33']
Exploring Operation: 66/33=2, Resulting Numbers: [77, 2]
Generated Node #3: [77, 2] from Operation: 66/33=2
Current State: 79:[77, 2], Operations: ['53-20=33', '66/33=2']
Exploring Operation: 77+2=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[66, 53, 20, 77], Operations: []
Exploring Operation: 66-20=46, Resulting Numbers: [53, 77, 46]
Generated Node #0,0: 79:[53, 77, 46] Operation: 66-20=46
Exploring Operation: 20+77=97, Resulting Numbers: [66, 53, 97]
Generated Node #0,1: 79:[66, 53, 97] Operation: 20+77=97
Exploring Operation: 66+20=86, Resulting Numbers: [53, 77, 86]
Generated Node #0,2: 79:[53, 77, 86] Operation: 66+20=86
Exploring Operation: 53+20=73, Resulting Numbers: [66, 77, 73]
Generated Node #0,3: 79:[66, 77, 73] Operation: 53+20=73
Start Sub Search at level 1: Moving to Node #0,3
Current State: 79:[66, 77, 73], Operations: ['53+20=73']
Exploring Operation: 66+73=139, Resulting Numbers: [77, 139]
Generated Node #0,3,0: 79:[77, 139] Operation: 66+73=139
Exploring Operation: 77-66=11, Resulting Numbers: [73, 11]
Generated Node #0,3,1: 79:[73, 11] Operation: 77-66=11
Exploring Operation: 73-66=7, Resulting Numbers: [77, 7]
Generated Node #0,3,2: 79:[77, 7] Operation: 73-66=7
Exploring Operation: 66+77=143, Resulting Numbers: [73, 143]
Generated Node #0,3,3: 79:[73, 143] Operation: 66+77=143
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 79:[77, 139], Operations: ['53+20=73', '66+73=139']
Exploring Operation: 139-77=62, Resulting Numbers: [62]
62,79 unequal: No Solution
Exploring Operation: 77+139=216, Resulting Numbers: [216]
216,79 unequal: No Solution
Exploring Operation: 77*139=10703, Resulting Numbers: [10703]
10703,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 79:[73, 143], Operations: ['53+20=73', '66+77=143']
Exploring Operation: 143-73=70, Resulting Numbers: [70]
70,79 unequal: No Solution
Exploring Operation: 73*143=10439, Resulting Numbers: [10439]
10439,79 unequal: No Solution
Exploring Operation: 73+143=216, Resulting Numbers: [216]
216,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 79:[73, 11], Operations: ['53+20=73', '77-66=11']
Exploring Operation: 73-11=62, Resulting Numbers: [62]
62,79 unequal: No Solution
Exploring Operation: 73*11=803, Resulting Numbers: [803]
803,79 unequal: No Solution
Exploring Operation: 73+11=84, Resulting Numbers: [84]
84,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 79:[77, 7], Operations: ['53+20=73', '73-66=7']
Exploring Operation: 77/7=11, Resulting Numbers: [11]
11,79 unequal: No Solution
Exploring Operation: 77*7=539, Resulting Numbers: [539]
539,79 unequal: No Solution
Exploring Operation: 77+7=84, Resulting Numbers: [84]
84,79 unequal: No Solution
Exploring Operation: 77-7=70, Resulting Numbers: [70]
70,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 79:[53, 77, 86], Operations: ['66+20=86']
Exploring Operation: 86-53=33, Resulting Numbers: [77, 33]
Generated Node #0,2,0: 79:[77, 33] Operation: 86-53=33
Exploring Operation: 53+77=130, Resulting Numbers: [86, 130]
Generated Node #0,2,1: 79:[86, 130] Operation: 53+77=130
Exploring Operation: 53+86=139, Resulting Numbers: [77, 139]
Generated Node #0,2,2: 79:[77, 139] Operation: 53+86=139
Exploring Operation: 77-53=24, Resulting Numbers: [86, 24]
Generated Node #0,2,3: 79:[86, 24] Operation: 77-53=24
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 79:[77, 33], Operations: ['66+20=86', '86-53=33']
Exploring Operation: 77+33=110, Resulting Numbers: [110]
110,79 unequal: No Solution
Exploring Operation: 77*33=2541, Resulting Numbers: [2541]
2541,79 unequal: No Solution
Exploring Operation: 77-33=44, Resulting Numbers: [44]
44,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 79:[86, 130], Operations: ['66+20=86', '53+77=130']
Exploring Operation: 86+130=216, Resulting Numbers: [216]
216,79 unequal: No Solution
Exploring Operation: 86*130=11180, Resulting Numbers: [11180]
11180,79 unequal: No Solution
Exploring Operation: 130-86=44, Resulting Numbers: [44]
44,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 79:[77, 139], Operations: ['66+20=86', '53+86=139']
Exploring Operation: 77+139=216, Resulting Numbers: [216]
216,79 unequal: No Solution
Exploring Operation: 77*139=10703, Resulting Numbers: [10703]
10703,79 unequal: No Solution
Exploring Operation: 139-77=62, Resulting Numbers: [62]
62,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 79:[86, 24], Operations: ['66+20=86', '77-53=24']
Exploring Operation: 86+24=110, Resulting Numbers: [110]
110,79 unequal: No Solution
Exploring Operation: 86*24=2064, Resulting Numbers: [2064]
2064,79 unequal: No Solution
Exploring Operation: 86-24=62, Resulting Numbers: [62]
62,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 79:[66, 53, 97], Operations: ['20+77=97']
Exploring Operation: 97-53=44, Resulting Numbers: [66, 44]
Generated Node #0,1,0: 79:[66, 44] Operation: 97-53=44
Exploring Operation: 97-66=31, Resulting Numbers: [53, 31]
Generated Node #0,1,1: 79:[53, 31] Operation: 97-66=31
Exploring Operation: 66-53=13, Resulting Numbers: [97, 13]
Generated Node #0,1,2: 79:[97, 13] Operation: 66-53=13
Exploring Operation: 66+53=119, Resulting Numbers: [97, 119]
Generated Node #0,1,3: 79:[97, 119] Operation: 66+53=119
Moving to Node #0,1,0
Current State: 79:[66, 44], Operations: ['20+77=97', '97-53=44']
Exploring Operation: 66+44=110, Resulting Numbers: [110]
110,79 unequal: No Solution
Exploring Operation: 66-44=22, Resulting Numbers: [22]
22,79 unequal: No Solution
Exploring Operation: 66*44=2904, Resulting Numbers: [2904]
2904,79 unequal: No Solution
Moving to Node #0,1,3
Current State: 79:[97, 119], Operations: ['20+77=97', '66+53=119']
Exploring Operation: 97*119=11543, Resulting Numbers: [11543]
11543,79 unequal: No Solution
Exploring Operation: 97+119=216, Resulting Numbers: [216]
216,79 unequal: No Solution
Exploring Operation: 119-97=22, Resulting Numbers: [22]
22,79 unequal: No Solution
Moving to Node #0,1,1
Current State: 79:[53, 31], Operations: ['20+77=97', '97-66=31']
Exploring Operation: 53-31=22, Resulting Numbers: [22]
22,79 unequal: No Solution
Exploring Operation: 53+31=84, Resulting Numbers: [84]
84,79 unequal: No Solution
Exploring Operation: 53*31=1643, Resulting Numbers: [1643]
1643,79 unequal: No Solution
Moving to Node #0,1,2
Current State: 79:[97, 13], Operations: ['20+77=97', '66-53=13']
Exploring Operation: 97-13=84, Resulting Numbers: [84]
84,79 unequal: No Solution
Exploring Operation: 97*13=1261, Resulting Numbers: [1261]
1261,79 unequal: No Solution
Exploring Operation: 97+13=110, Resulting Numbers: [110]
110,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,0
Current State: 79:[53, 77, 46], Operations: ['66-20=46']
Exploring Operation: 77-46=31, Resulting Numbers: [53, 31]
Generated Node #0,0,0: 79:[53, 31] Operation: 77-46=31
Exploring Operation: 53-46=7, Resulting Numbers: [77, 7]
Generated Node #0,0,1: 79:[77, 7] Operation: 53-46=7
Exploring Operation: 77+46=123, Resulting Numbers: [53, 123]
Generated Node #0,0,2: 79:[53, 123] Operation: 77+46=123
Exploring Operation: 53+46=99, Resulting Numbers: [77, 99]
Generated Node #0,0,3: 79:[77, 99] Operation: 53+46=99
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 79:[77, 99], Operations: ['66-20=46', '53+46=99']
Exploring Operation: 77+99=176, Resulting Numbers: [176]
176,79 unequal: No Solution
Exploring Operation: 77*99=7623, Resulting Numbers: [7623]
7623,79 unequal: No Solution
Exploring Operation: 99-77=22, Resulting Numbers: [22]
22,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 79:[53, 123], Operations: ['66-20=46', '77+46=123']
Exploring Operation: 123-53=70, Resulting Numbers: [70]
70,79 unequal: No Solution
Exploring Operation: 53+123=176, Resulting Numbers: [176]
176,79 unequal: No Solution
Exploring Operation: 53*123=6519, Resulting Numbers: [6519]
6519,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 79:[53, 31], Operations: ['66-20=46', '77-46=31']
Exploring Operation: 53*31=1643, Resulting Numbers: [1643]
1643,79 unequal: No Solution
Exploring Operation: 53+31=84, Resulting Numbers: [84]
84,79 unequal: No Solution
Exploring Operation: 53-31=22, Resulting Numbers: [22]
22,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 79:[77, 7], Operations: ['66-20=46', '53-46=7']
Exploring Operation: 77/7=11, Resulting Numbers: [11]
11,79 unequal: No Solution
Exploring Operation: 77*7=539, Resulting Numbers: [539]
539,79 unequal: No Solution
Exploring Operation: 77-7=70, Resulting Numbers: [70]
70,79 unequal: No Solution
Exploring Operation: 77+7=84, Resulting Numbers: [84]
84,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
59,
49,
58,
73
] | 93 | [
"59+49=108",
"73-58=15",
"108-15=93"
] | Current State: 93:[59, 49, 58, 73], Operations: []
Exploring Operation: 59+49=108, Resulting Numbers: [58, 73, 108]
Generated Node #2: [58, 73, 108] from Operation: 59+49=108
Current State: 93:[58, 73, 108], Operations: ['59+49=108']
Exploring Operation: 73-58=15, Resulting Numbers: [108, 15]
Generated Node #3: [108, 15] from Operation: 73-58=15
Current State: 93:[108, 15], Operations: ['59+49=108', '73-58=15']
Exploring Operation: 108-15=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[59, 49, 58, 73], Operations: []
Exploring Operation: 59-58=1, Resulting Numbers: [49, 73, 1]
Generated Node #0,0: 93:[49, 73, 1] Operation: 59-58=1
Exploring Operation: 58-49=9, Resulting Numbers: [59, 73, 9]
Generated Node #0,1: 93:[59, 73, 9] Operation: 58-49=9
Exploring Operation: 59-49=10, Resulting Numbers: [58, 73, 10]
Generated Node #0,2: 93:[58, 73, 10] Operation: 59-49=10
Moving to Node #0,0
Current State: 93:[49, 73, 1], Operations: ['59-58=1']
Exploring Operation: 49+73=122, Resulting Numbers: [1, 122]
Generated Node #0,0,0: 93:[1, 122] Operation: 49+73=122
Exploring Operation: 73-49=24, Resulting Numbers: [1, 24]
Generated Node #0,0,1: 93:[1, 24] Operation: 73-49=24
Exploring Operation: 49-1=48, Resulting Numbers: [73, 48]
Generated Node #0,0,2: 93:[73, 48] Operation: 49-1=48
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 93:[1, 24], Operations: ['59-58=1', '73-49=24']
Exploring Operation: 1*24=24, Resulting Numbers: [24]
24,93 unequal: No Solution
Exploring Operation: 24/1=24, Resulting Numbers: [24]
24,93 unequal: No Solution
Exploring Operation: 1+24=25, Resulting Numbers: [25]
25,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 93:[1, 122], Operations: ['59-58=1', '49+73=122']
Exploring Operation: 1*122=122, Resulting Numbers: [122]
122,93 unequal: No Solution
Exploring Operation: 122-1=121, Resulting Numbers: [121]
121,93 unequal: No Solution
Exploring Operation: 122/1=122, Resulting Numbers: [122]
122,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 93:[73, 48], Operations: ['59-58=1', '49-1=48']
Exploring Operation: 73*48=3504, Resulting Numbers: [3504]
3504,93 unequal: No Solution
Exploring Operation: 73-48=25, Resulting Numbers: [25]
25,93 unequal: No Solution
Exploring Operation: 73+48=121, Resulting Numbers: [121]
121,93 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: 93:[59, 73, 9], Operations: ['58-49=9']
Exploring Operation: 73+9=82, Resulting Numbers: [59, 82]
Generated Node #0,1,0: 93:[59, 82] Operation: 73+9=82
Exploring Operation: 59-9=50, Resulting Numbers: [73, 50]
Generated Node #0,1,1: 93:[73, 50] Operation: 59-9=50
Exploring Operation: 73-59=14, Resulting Numbers: [9, 14]
Generated Node #0,1,2: 93:[9, 14] Operation: 73-59=14
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 93:[9, 14], Operations: ['58-49=9', '73-59=14']
Exploring Operation: 9*14=126, Resulting Numbers: [126]
126,93 unequal: No Solution
Exploring Operation: 9+14=23, Resulting Numbers: [23]
23,93 unequal: No Solution
Exploring Operation: 14-9=5, Resulting Numbers: [5]
5,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 93:[59, 82], Operations: ['58-49=9', '73+9=82']
Exploring Operation: 59*82=4838, Resulting Numbers: [4838]
4838,93 unequal: No Solution
Exploring Operation: 82-59=23, Resulting Numbers: [23]
23,93 unequal: No Solution
Exploring Operation: 59+82=141, Resulting Numbers: [141]
141,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 93:[73, 50], Operations: ['58-49=9', '59-9=50']
Exploring Operation: 73+50=123, Resulting Numbers: [123]
123,93 unequal: No Solution
Exploring Operation: 73-50=23, Resulting Numbers: [23]
23,93 unequal: No Solution
Exploring Operation: 73*50=3650, Resulting Numbers: [3650]
3650,93 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: 93:[58, 73, 10], Operations: ['59-49=10']
Exploring Operation: 58-10=48, Resulting Numbers: [73, 48]
Generated Node #0,2,0: 93:[73, 48] Operation: 58-10=48
Exploring Operation: 73+10=83, Resulting Numbers: [58, 83]
Generated Node #0,2,1: 93:[58, 83] Operation: 73+10=83
Exploring Operation: 73-58=15, Resulting Numbers: [10, 15]
Generated Node #0,2,2: 93:[10, 15] Operation: 73-58=15
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 93:[10, 15], Operations: ['59-49=10', '73-58=15']
Exploring Operation: 15-10=5, Resulting Numbers: [5]
5,93 unequal: No Solution
Exploring Operation: 10*15=150, Resulting Numbers: [150]
150,93 unequal: No Solution
Exploring Operation: 10+15=25, Resulting Numbers: [25]
25,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 93:[73, 48], Operations: ['59-49=10', '58-10=48']
Exploring Operation: 73*48=3504, Resulting Numbers: [3504]
3504,93 unequal: No Solution
Exploring Operation: 73+48=121, Resulting Numbers: [121]
121,93 unequal: No Solution
Exploring Operation: 73-48=25, Resulting Numbers: [25]
25,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 93:[58, 83], Operations: ['59-49=10', '73+10=83']
Exploring Operation: 58*83=4814, Resulting Numbers: [4814]
4814,93 unequal: No Solution
Exploring Operation: 58+83=141, Resulting Numbers: [141]
141,93 unequal: No Solution
Exploring Operation: 83-58=25, Resulting Numbers: [25]
25,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
6,
50,
37,
37
] | 57 | [
"6+50=56",
"37/37=1",
"56+1=57"
] | Current State: 57:[6, 50, 37, 37], Operations: []
Exploring Operation: 6+50=56, Resulting Numbers: [37, 37, 56]
Generated Node #2: [37, 37, 56] from Operation: 6+50=56
Current State: 57:[37, 37, 56], Operations: ['6+50=56']
Exploring Operation: 37/37=1, Resulting Numbers: [56, 1]
Generated Node #3: [56, 1] from Operation: 37/37=1
Current State: 57:[56, 1], Operations: ['6+50=56', '37/37=1']
Exploring Operation: 56+1=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[6, 50, 37, 37], Operations: []
Exploring Operation: 37/37=1, Resulting Numbers: [6, 50, 1]
Generated Node #0,0: 57:[6, 50, 1] Operation: 37/37=1
Moving to Node #0,0
Current State: 57:[6, 50, 1], Operations: ['37/37=1']
Exploring Operation: 6+50=56, Resulting Numbers: [1, 56]
Generated Node #0,0,0: 57:[1, 56] Operation: 6+50=56
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 57:[1, 56], Operations: ['37/37=1', '6+50=56']
Exploring Operation: 1+56=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[6, 50, 37, 37], Operations: []
Exploring Operation: 37/37=1, Resulting Numbers: [6, 50, 1]
Generated Node #0,0: 57:[6, 50, 1] Operation: 37/37=1
Moving to Node #0,0
Current State: 57:[6, 50, 1], Operations: ['37/37=1']
Exploring Operation: 6+50=56, Resulting Numbers: [1, 56]
Generated Node #0,0,0: 57:[1, 56] Operation: 6+50=56
Moving to Node #0,0,0
Current State: 57:[1, 56], Operations: ['37/37=1', '6+50=56']
Exploring Operation: 1+56=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
9,
3,
9,
37
] | 57 | [
"9+9=18",
"37-18=19",
"3*19=57"
] | Current State: 57:[9, 3, 9, 37], Operations: []
Exploring Operation: 9+9=18, Resulting Numbers: [3, 37, 18]
Generated Node #2: [3, 37, 18] from Operation: 9+9=18
Current State: 57:[3, 37, 18], Operations: ['9+9=18']
Exploring Operation: 37-18=19, Resulting Numbers: [3, 19]
Generated Node #3: [3, 19] from Operation: 37-18=19
Current State: 57:[3, 19], Operations: ['9+9=18', '37-18=19']
Exploring Operation: 3*19=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[9, 3, 9, 37], Operations: []
Exploring Operation: 9+37=46, Resulting Numbers: [3, 9, 46]
Generated Node #0,0: 57:[3, 9, 46] Operation: 9+37=46
Exploring Operation: 37-9=28, Resulting Numbers: [9, 3, 28]
Generated Node #0,1: 57:[9, 3, 28] Operation: 37-9=28
Exploring Operation: 37-9=28, Resulting Numbers: [3, 9, 28]
Generated Node #0,2: 57:[3, 9, 28] Operation: 37-9=28
Exploring Operation: 9+37=46, Resulting Numbers: [9, 3, 46]
Generated Node #0,3: 57:[9, 3, 46] Operation: 9+37=46
Moving to Node #0,1
Current State: 57:[9, 3, 28], Operations: ['37-9=28']
Exploring Operation: 9-3=6, Resulting Numbers: [28, 6]
Generated Node #0,1,0: 57:[28, 6] Operation: 9-3=6
Exploring Operation: 28-9=19, Resulting Numbers: [3, 19]
Generated Node #0,1,1: 57:[3, 19] Operation: 28-9=19
Exploring Operation: 9/3=3, Resulting Numbers: [28, 3]
Generated Node #0,1,2: 57:[28, 3] Operation: 9/3=3
Exploring Operation: 28-3=25, Resulting Numbers: [9, 25]
Generated Node #0,1,3: 57:[9, 25] Operation: 28-3=25
Moving to Node #0,2
Current State: 57:[3, 9, 28], Operations: ['37-9=28']
Exploring Operation: 28-9=19, Resulting Numbers: [3, 19]
Generated Node #0,2,0: 57:[3, 19] Operation: 28-9=19
Exploring Operation: 9/3=3, Resulting Numbers: [28, 3]
Generated Node #0,2,1: 57:[28, 3] Operation: 9/3=3
Exploring Operation: 9-3=6, Resulting Numbers: [28, 6]
Generated Node #0,2,2: 57:[28, 6] Operation: 9-3=6
Exploring Operation: 28-3=25, Resulting Numbers: [9, 25]
Generated Node #0,2,3: 57:[9, 25] Operation: 28-3=25
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 57:[3, 19], Operations: ['37-9=28', '28-9=19']
Exploring Operation: 3*19=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[9, 3, 9, 37], Operations: []
Exploring Operation: 37-9=28, Resulting Numbers: [3, 9, 28]
Generated Node #0,2: 57:[3, 9, 28] Operation: 37-9=28
Moving to Node #0,2
Current State: 57:[3, 9, 28], Operations: ['37-9=28']
Exploring Operation: 28-9=19, Resulting Numbers: [3, 19]
Generated Node #0,2,0: 57:[3, 19] Operation: 28-9=19
Moving to Node #0,2,0
Current State: 57:[3, 19], Operations: ['37-9=28', '28-9=19']
Exploring Operation: 3*19=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | sum_heuristic |
[
19,
72,
70,
54
] | 75 | [
"19+72=91",
"70-54=16",
"91-16=75"
] | Current State: 75:[19, 72, 70, 54], Operations: []
Exploring Operation: 19+72=91, Resulting Numbers: [70, 54, 91]
Generated Node #2: [70, 54, 91] from Operation: 19+72=91
Current State: 75:[70, 54, 91], Operations: ['19+72=91']
Exploring Operation: 70-54=16, Resulting Numbers: [91, 16]
Generated Node #3: [91, 16] from Operation: 70-54=16
Current State: 75:[91, 16], Operations: ['19+72=91', '70-54=16']
Exploring Operation: 91-16=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[19, 72, 70, 54], Operations: []
Exploring Operation: 19+54=73, Resulting Numbers: [72, 70, 73]
Generated Node #0,0: 75:[72, 70, 73] Operation: 19+54=73
Exploring Operation: 72-54=18, Resulting Numbers: [19, 70, 18]
Generated Node #0,1: 75:[19, 70, 18] Operation: 72-54=18
Exploring Operation: 70-54=16, Resulting Numbers: [19, 72, 16]
Generated Node #0,2: 75:[19, 72, 16] Operation: 70-54=16
Start Sub Search at level 1: Moving to Node #0,2
Current State: 75:[19, 72, 16], Operations: ['70-54=16']
Exploring Operation: 19+16=35, Resulting Numbers: [72, 35]
Generated Node #0,2,0: 75:[72, 35] Operation: 19+16=35
Exploring Operation: 19+72=91, Resulting Numbers: [16, 91]
Generated Node #0,2,1: 75:[16, 91] Operation: 19+72=91
Exploring Operation: 19-16=3, Resulting Numbers: [72, 3]
Generated Node #0,2,2: 75:[72, 3] Operation: 19-16=3
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 75:[72, 3], Operations: ['70-54=16', '19-16=3']
Exploring Operation: 72/3=24, Resulting Numbers: [24]
24,75 unequal: No Solution
Exploring Operation: 72-3=69, Resulting Numbers: [69]
69,75 unequal: No Solution
Exploring Operation: 72+3=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[19, 72, 70, 54], Operations: []
Exploring Operation: 70-54=16, Resulting Numbers: [19, 72, 16]
Generated Node #0,2: 75:[19, 72, 16] Operation: 70-54=16
Moving to Node #0,2
Current State: 75:[19, 72, 16], Operations: ['70-54=16']
Exploring Operation: 19-16=3, Resulting Numbers: [72, 3]
Generated Node #0,2,2: 75:[72, 3] Operation: 19-16=3
Moving to Node #0,2,2
Current State: 75:[72, 3], Operations: ['70-54=16', '19-16=3']
Exploring Operation: 72+3=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
64,
10,
35,
25
] | 36 | [
"35-25=10",
"10*10=100",
"100-64=36"
] | Current State: 36:[64, 10, 35, 25], Operations: []
Exploring Operation: 35-25=10, Resulting Numbers: [64, 10, 10]
Generated Node #2: [64, 10, 10] from Operation: 35-25=10
Current State: 36:[64, 10, 10], Operations: ['35-25=10']
Exploring Operation: 10*10=100, Resulting Numbers: [64, 100]
Generated Node #3: [64, 100] from Operation: 10*10=100
Current State: 36:[64, 100], Operations: ['35-25=10', '10*10=100']
Exploring Operation: 100-64=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[64, 10, 35, 25], Operations: []
Exploring Operation: 64-10=54, Resulting Numbers: [35, 25, 54]
Generated Node #0,0: 36:[35, 25, 54] Operation: 64-10=54
Exploring Operation: 64-35=29, Resulting Numbers: [10, 25, 29]
Generated Node #0,1: 36:[10, 25, 29] Operation: 64-35=29
Exploring Operation: 64-25=39, Resulting Numbers: [10, 35, 39]
Generated Node #0,2: 36:[10, 35, 39] Operation: 64-25=39
Moving to Node #0,2
Current State: 36:[10, 35, 39], Operations: ['64-25=39']
Exploring Operation: 39-35=4, Resulting Numbers: [10, 4]
Generated Node #0,2,0: 36:[10, 4] Operation: 39-35=4
Exploring Operation: 35-10=25, Resulting Numbers: [39, 25]
Generated Node #0,2,1: 36:[39, 25] Operation: 35-10=25
Exploring Operation: 39-10=29, Resulting Numbers: [35, 29]
Generated Node #0,2,2: 36:[35, 29] Operation: 39-10=29
Moving to Node #0,1
Current State: 36:[10, 25, 29], Operations: ['64-35=29']
Exploring Operation: 29-10=19, Resulting Numbers: [25, 19]
Generated Node #0,1,0: 36:[25, 19] Operation: 29-10=19
Exploring Operation: 29-25=4, Resulting Numbers: [10, 4]
Generated Node #0,1,1: 36:[10, 4] Operation: 29-25=4
Exploring Operation: 10+25=35, Resulting Numbers: [29, 35]
Generated Node #0,1,2: 36:[29, 35] Operation: 10+25=35
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 36:[10, 4], Operations: ['64-35=29', '29-25=4']
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,36 unequal: No Solution
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,36 unequal: No Solution
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 36:[25, 19], Operations: ['64-35=29', '29-10=19']
Exploring Operation: 25-19=6, Resulting Numbers: [6]
6,36 unequal: No Solution
Exploring Operation: 25+19=44, Resulting Numbers: [44]
44,36 unequal: No Solution
Exploring Operation: 25*19=475, Resulting Numbers: [475]
475,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 36:[29, 35], Operations: ['64-35=29', '10+25=35']
Exploring Operation: 29+35=64, Resulting Numbers: [64]
64,36 unequal: No Solution
Exploring Operation: 35-29=6, Resulting Numbers: [6]
6,36 unequal: No Solution
Exploring Operation: 29*35=1015, Resulting Numbers: [1015]
1015,36 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: 36:[35, 25, 54], Operations: ['64-10=54']
Exploring Operation: 54-25=29, Resulting Numbers: [35, 29]
Generated Node #0,0,0: 36:[35, 29] Operation: 54-25=29
Exploring Operation: 54-35=19, Resulting Numbers: [25, 19]
Generated Node #0,0,1: 36:[25, 19] Operation: 54-35=19
Exploring Operation: 35-25=10, Resulting Numbers: [54, 10]
Generated Node #0,0,2: 36:[54, 10] Operation: 35-25=10
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 36:[35, 29], Operations: ['64-10=54', '54-25=29']
Exploring Operation: 35-29=6, Resulting Numbers: [6]
6,36 unequal: No Solution
Exploring Operation: 35*29=1015, Resulting Numbers: [1015]
1015,36 unequal: No Solution
Exploring Operation: 35+29=64, Resulting Numbers: [64]
64,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 36:[25, 19], Operations: ['64-10=54', '54-35=19']
Exploring Operation: 25-19=6, Resulting Numbers: [6]
6,36 unequal: No Solution
Exploring Operation: 25+19=44, Resulting Numbers: [44]
44,36 unequal: No Solution
Exploring Operation: 25*19=475, Resulting Numbers: [475]
475,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 36:[54, 10], Operations: ['64-10=54', '35-25=10']
Exploring Operation: 54*10=540, Resulting Numbers: [540]
540,36 unequal: No Solution
Exploring Operation: 54+10=64, Resulting Numbers: [64]
64,36 unequal: No Solution
Exploring Operation: 54-10=44, Resulting Numbers: [44]
44,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,0
Current State: 36:[10, 4], Operations: ['64-25=39', '39-35=4']
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,36 unequal: No Solution
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,36 unequal: No Solution
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,36 unequal: No Solution
Moving to Node #0,2,2
Current State: 36:[35, 29], Operations: ['64-25=39', '39-10=29']
Exploring Operation: 35-29=6, Resulting Numbers: [6]
6,36 unequal: No Solution
Exploring Operation: 35*29=1015, Resulting Numbers: [1015]
1015,36 unequal: No Solution
Exploring Operation: 35+29=64, Resulting Numbers: [64]
64,36 unequal: No Solution
Moving to Node #0,2,1
Current State: 36:[39, 25], Operations: ['64-25=39', '35-10=25']
Exploring Operation: 39*25=975, Resulting Numbers: [975]
975,36 unequal: No Solution
Exploring Operation: 39+25=64, Resulting Numbers: [64]
64,36 unequal: No Solution
Exploring Operation: 39-25=14, Resulting Numbers: [14]
14,36 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
50,
54,
77,
96
] | 74 | [
"54+96=150",
"150/50=3",
"77-3=74"
] | Current State: 74:[50, 54, 77, 96], Operations: []
Exploring Operation: 54+96=150, Resulting Numbers: [50, 77, 150]
Generated Node #2: [50, 77, 150] from Operation: 54+96=150
Current State: 74:[50, 77, 150], Operations: ['54+96=150']
Exploring Operation: 150/50=3, Resulting Numbers: [77, 3]
Generated Node #3: [77, 3] from Operation: 150/50=3
Current State: 74:[77, 3], Operations: ['54+96=150', '150/50=3']
Exploring Operation: 77-3=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[50, 54, 77, 96], Operations: []
Exploring Operation: 77-50=27, Resulting Numbers: [54, 96, 27]
Generated Node #0,0: 74:[54, 96, 27] Operation: 77-50=27
Exploring Operation: 96-54=42, Resulting Numbers: [50, 77, 42]
Generated Node #0,1: 74:[50, 77, 42] Operation: 96-54=42
Exploring Operation: 96-77=19, Resulting Numbers: [50, 54, 19]
Generated Node #0,2: 74:[50, 54, 19] Operation: 96-77=19
Exploring Operation: 96-50=46, Resulting Numbers: [54, 77, 46]
Generated Node #0,3: 74:[54, 77, 46] Operation: 96-50=46
Exploring Operation: 54-50=4, Resulting Numbers: [77, 96, 4]
Generated Node #0,4: 74:[77, 96, 4] Operation: 54-50=4
Moving to Node #0,1
Current State: 74:[50, 77, 42], Operations: ['96-54=42']
Exploring Operation: 50+42=92, Resulting Numbers: [77, 92]
Generated Node #0,1,0: 74:[77, 92] Operation: 50+42=92
Exploring Operation: 77-42=35, Resulting Numbers: [50, 35]
Generated Node #0,1,1: 74:[50, 35] Operation: 77-42=35
Exploring Operation: 77-50=27, Resulting Numbers: [42, 27]
Generated Node #0,1,2: 74:[42, 27] Operation: 77-50=27
Exploring Operation: 50+77=127, Resulting Numbers: [42, 127]
Generated Node #0,1,3: 74:[42, 127] Operation: 50+77=127
Exploring Operation: 50-42=8, Resulting Numbers: [77, 8]
Generated Node #0,1,4: 74:[77, 8] Operation: 50-42=8
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 74:[77, 8], Operations: ['96-54=42', '50-42=8']
Exploring Operation: 77+8=85, Resulting Numbers: [85]
85,74 unequal: No Solution
Exploring Operation: 77*8=616, Resulting Numbers: [616]
616,74 unequal: No Solution
Exploring Operation: 77-8=69, Resulting Numbers: [69]
69,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:[50, 35], Operations: ['96-54=42', '77-42=35']
Exploring Operation: 50-35=15, Resulting Numbers: [15]
15,74 unequal: No Solution
Exploring Operation: 50*35=1750, Resulting Numbers: [1750]
1750,74 unequal: No Solution
Exploring Operation: 50+35=85, Resulting Numbers: [85]
85,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,2
Current State: 74:[42, 27], Operations: ['96-54=42', '77-50=27']
Exploring Operation: 42*27=1134, Resulting Numbers: [1134]
1134,74 unequal: No Solution
Exploring Operation: 42-27=15, Resulting Numbers: [15]
15,74 unequal: No Solution
Exploring Operation: 42+27=69, Resulting Numbers: [69]
69,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:[77, 92], Operations: ['96-54=42', '50+42=92']
Exploring Operation: 77*92=7084, Resulting Numbers: [7084]
7084,74 unequal: No Solution
Exploring Operation: 77+92=169, Resulting Numbers: [169]
169,74 unequal: No Solution
Exploring Operation: 92-77=15, Resulting Numbers: [15]
15,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:[42, 127], Operations: ['96-54=42', '50+77=127']
Exploring Operation: 42*127=5334, Resulting Numbers: [5334]
5334,74 unequal: No Solution
Exploring Operation: 127-42=85, Resulting Numbers: [85]
85,74 unequal: No Solution
Exploring Operation: 42+127=169, Resulting Numbers: [169]
169,74 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: 74:[77, 96, 4], Operations: ['54-50=4']
Exploring Operation: 96-77=19, Resulting Numbers: [4, 19]
Generated Node #0,4,0: 74:[4, 19] Operation: 96-77=19
Exploring Operation: 96-4=92, Resulting Numbers: [77, 92]
Generated Node #0,4,1: 74:[77, 92] Operation: 96-4=92
Exploring Operation: 96/4=24, Resulting Numbers: [77, 24]
Generated Node #0,4,2: 74:[77, 24] Operation: 96/4=24
Exploring Operation: 77-4=73, Resulting Numbers: [96, 73]
Generated Node #0,4,3: 74:[96, 73] Operation: 77-4=73
Exploring Operation: 77+4=81, Resulting Numbers: [96, 81]
Generated Node #0,4,4: 74:[96, 81] Operation: 77+4=81
Moving to Node #0,3
Current State: 74:[54, 77, 46], Operations: ['96-50=46']
Exploring Operation: 54-46=8, Resulting Numbers: [77, 8]
Generated Node #0,3,0: 74:[77, 8] Operation: 54-46=8
Exploring Operation: 54+46=100, Resulting Numbers: [77, 100]
Generated Node #0,3,1: 74:[77, 100] Operation: 54+46=100
Exploring Operation: 77-46=31, Resulting Numbers: [54, 31]
Generated Node #0,3,2: 74:[54, 31] Operation: 77-46=31
Exploring Operation: 77-54=23, Resulting Numbers: [46, 23]
Generated Node #0,3,3: 74:[46, 23] Operation: 77-54=23
Exploring Operation: 54+77=131, Resulting Numbers: [46, 131]
Generated Node #0,3,4: 74:[46, 131] Operation: 54+77=131
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 74:[77, 8], Operations: ['96-50=46', '54-46=8']
Exploring Operation: 77*8=616, Resulting Numbers: [616]
616,74 unequal: No Solution
Exploring Operation: 77-8=69, Resulting Numbers: [69]
69,74 unequal: No Solution
Exploring Operation: 77+8=85, Resulting Numbers: [85]
85,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,2
Current State: 74:[54, 31], Operations: ['96-50=46', '77-46=31']
Exploring Operation: 54*31=1674, Resulting Numbers: [1674]
1674,74 unequal: No Solution
Exploring Operation: 54-31=23, Resulting Numbers: [23]
23,74 unequal: No Solution
Exploring Operation: 54+31=85, Resulting Numbers: [85]
85,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:[46, 23], Operations: ['96-50=46', '77-54=23']
Exploring Operation: 46+23=69, Resulting Numbers: [69]
69,74 unequal: No Solution
Exploring Operation: 46-23=23, Resulting Numbers: [23]
23,74 unequal: No Solution
Exploring Operation: 46*23=1058, Resulting Numbers: [1058]
1058,74 unequal: No Solution
Exploring Operation: 46/23=2, Resulting Numbers: [2]
2,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:[77, 100], Operations: ['96-50=46', '54+46=100']
Exploring Operation: 77*100=7700, Resulting Numbers: [7700]
7700,74 unequal: No Solution
Exploring Operation: 100-77=23, Resulting Numbers: [23]
23,74 unequal: No Solution
Exploring Operation: 77+100=177, Resulting Numbers: [177]
177,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:[46, 131], Operations: ['96-50=46', '54+77=131']
Exploring Operation: 46*131=6026, Resulting Numbers: [6026]
6026,74 unequal: No Solution
Exploring Operation: 46+131=177, Resulting Numbers: [177]
177,74 unequal: No Solution
Exploring Operation: 131-46=85, Resulting Numbers: [85]
85,74 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: 74:[50, 54, 19], Operations: ['96-77=19']
Exploring Operation: 50-19=31, Resulting Numbers: [54, 31]
Generated Node #0,2,0: 74:[54, 31] Operation: 50-19=31
Exploring Operation: 50+19=69, Resulting Numbers: [54, 69]
Generated Node #0,2,1: 74:[54, 69] Operation: 50+19=69
Exploring Operation: 54-50=4, Resulting Numbers: [19, 4]
Generated Node #0,2,2: 74:[19, 4] Operation: 54-50=4
Exploring Operation: 54+19=73, Resulting Numbers: [50, 73]
Generated Node #0,2,3: 74:[50, 73] Operation: 54+19=73
Exploring Operation: 54-19=35, Resulting Numbers: [50, 35]
Generated Node #0,2,4: 74:[50, 35] Operation: 54-19=35
Moving to Node #0,0
Current State: 74:[54, 96, 27], Operations: ['77-50=27']
Exploring Operation: 54-27=27, Resulting Numbers: [96, 27]
Generated Node #0,0,0: 74:[96, 27] Operation: 54-27=27
Exploring Operation: 54+27=81, Resulting Numbers: [96, 81]
Generated Node #0,0,1: 74:[96, 81] Operation: 54+27=81
Exploring Operation: 54/27=2, Resulting Numbers: [96, 2]
Generated Node #0,0,2: 74:[96, 2] Operation: 54/27=2
Exploring Operation: 96-27=69, Resulting Numbers: [54, 69]
Generated Node #0,0,3: 74:[54, 69] Operation: 96-27=69
Exploring Operation: 96-54=42, Resulting Numbers: [27, 42]
Generated Node #0,0,4: 74:[27, 42] Operation: 96-54=42
Moving to Node #0,2,3
Current State: 74:[50, 73], Operations: ['96-77=19', '54+19=73']
Exploring Operation: 73-50=23, Resulting Numbers: [23]
23,74 unequal: No Solution
Exploring Operation: 50*73=3650, Resulting Numbers: [3650]
3650,74 unequal: No Solution
Exploring Operation: 50+73=123, Resulting Numbers: [123]
123,74 unequal: No Solution
Moving to Node #0,2,4
Current State: 74:[50, 35], Operations: ['96-77=19', '54-19=35']
Exploring Operation: 50*35=1750, Resulting Numbers: [1750]
1750,74 unequal: No Solution
Exploring Operation: 50-35=15, Resulting Numbers: [15]
15,74 unequal: No Solution
Exploring Operation: 50+35=85, Resulting Numbers: [85]
85,74 unequal: No Solution
Moving to Node #0,0,4
Current State: 74:[27, 42], Operations: ['77-50=27', '96-54=42']
Exploring Operation: 27*42=1134, Resulting Numbers: [1134]
1134,74 unequal: No Solution
Exploring Operation: 27+42=69, Resulting Numbers: [69]
69,74 unequal: No Solution
Exploring Operation: 42-27=15, Resulting Numbers: [15]
15,74 unequal: No Solution
Moving to Node #0,4,2
Current State: 74:[77, 24], Operations: ['54-50=4', '96/4=24']
Exploring Operation: 77-24=53, Resulting Numbers: [53]
53,74 unequal: No Solution
Exploring Operation: 77*24=1848, Resulting Numbers: [1848]
1848,74 unequal: No Solution
Exploring Operation: 77+24=101, Resulting Numbers: [101]
101,74 unequal: No Solution
Moving to Node #0,4,0
Current State: 74:[4, 19], Operations: ['54-50=4', '96-77=19']
Exploring Operation: 19-4=15, Resulting Numbers: [15]
15,74 unequal: No Solution
Exploring Operation: 4+19=23, Resulting Numbers: [23]
23,74 unequal: No Solution
Exploring Operation: 4*19=76, Resulting Numbers: [76]
76,74 unequal: No Solution
Moving to Node #0,2,2
Current State: 74:[19, 4], Operations: ['96-77=19', '54-50=4']
Exploring Operation: 19*4=76, Resulting Numbers: [76]
76,74 unequal: No Solution
Exploring Operation: 19-4=15, Resulting Numbers: [15]
15,74 unequal: No Solution
Exploring Operation: 19+4=23, Resulting Numbers: [23]
23,74 unequal: No Solution
Moving to Node #0,4,1
Current State: 74:[77, 92], Operations: ['54-50=4', '96-4=92']
Exploring Operation: 77*92=7084, Resulting Numbers: [7084]
7084,74 unequal: No Solution
Exploring Operation: 77+92=169, Resulting Numbers: [169]
169,74 unequal: No Solution
Exploring Operation: 92-77=15, Resulting Numbers: [15]
15,74 unequal: No Solution
Moving to Node #0,0,2
Current State: 74:[96, 2], Operations: ['77-50=27', '54/27=2']
Exploring Operation: 96*2=192, Resulting Numbers: [192]
192,74 unequal: No Solution
Exploring Operation: 96/2=48, Resulting Numbers: [48]
48,74 unequal: No Solution
Exploring Operation: 96-2=94, Resulting Numbers: [94]
94,74 unequal: No Solution
Exploring Operation: 96+2=98, Resulting Numbers: [98]
98,74 unequal: No Solution
Moving to Node #0,2,1
Current State: 74:[54, 69], Operations: ['96-77=19', '50+19=69']
Exploring Operation: 69-54=15, Resulting Numbers: [15]
15,74 unequal: No Solution
Exploring Operation: 54*69=3726, Resulting Numbers: [3726]
3726,74 unequal: No Solution
Exploring Operation: 54+69=123, Resulting Numbers: [123]
123,74 unequal: No Solution
Moving to Node #0,0,3
Current State: 74:[54, 69], Operations: ['77-50=27', '96-27=69']
Exploring Operation: 54+69=123, Resulting Numbers: [123]
123,74 unequal: No Solution
Exploring Operation: 69-54=15, Resulting Numbers: [15]
15,74 unequal: No Solution
Exploring Operation: 54*69=3726, Resulting Numbers: [3726]
3726,74 unequal: No Solution
Moving to Node #0,2,0
Current State: 74:[54, 31], Operations: ['96-77=19', '50-19=31']
Exploring Operation: 54-31=23, Resulting Numbers: [23]
23,74 unequal: No Solution
Exploring Operation: 54*31=1674, Resulting Numbers: [1674]
1674,74 unequal: No Solution
Exploring Operation: 54+31=85, Resulting Numbers: [85]
85,74 unequal: No Solution
Moving to Node #0,4,3
Current State: 74:[96, 73], Operations: ['54-50=4', '77-4=73']
Exploring Operation: 96+73=169, Resulting Numbers: [169]
169,74 unequal: No Solution
Exploring Operation: 96-73=23, Resulting Numbers: [23]
23,74 unequal: No Solution
Exploring Operation: 96*73=7008, Resulting Numbers: [7008]
7008,74 unequal: No Solution
Moving to Node #0,0,1
Current State: 74:[96, 81], Operations: ['77-50=27', '54+27=81']
Exploring Operation: 96+81=177, Resulting Numbers: [177]
177,74 unequal: No Solution
Exploring Operation: 96-81=15, Resulting Numbers: [15]
15,74 unequal: No Solution
Exploring Operation: 96*81=7776, Resulting Numbers: [7776]
7776,74 unequal: No Solution
Moving to Node #0,4,4
Current State: 74:[96, 81], Operations: ['54-50=4', '77+4=81']
Exploring Operation: 96+81=177, Resulting Numbers: [177]
177,74 unequal: No Solution
Exploring Operation: 96-81=15, Resulting Numbers: [15]
15,74 unequal: No Solution
Exploring Operation: 96*81=7776, Resulting Numbers: [7776]
7776,74 unequal: No Solution
Moving to Node #0,0,0
Current State: 74:[96, 27], Operations: ['77-50=27', '54-27=27']
Exploring Operation: 96+27=123, Resulting Numbers: [123]
123,74 unequal: No Solution
Exploring Operation: 96-27=69, Resulting Numbers: [69]
69,74 unequal: No Solution
Exploring Operation: 96*27=2592, Resulting Numbers: [2592]
2592,74 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
64,
87,
31,
20
] | 93 | [
"87-64=23",
"23-20=3",
"31*3=93"
] | Current State: 93:[64, 87, 31, 20], Operations: []
Exploring Operation: 87-64=23, Resulting Numbers: [31, 20, 23]
Generated Node #2: [31, 20, 23] from Operation: 87-64=23
Current State: 93:[31, 20, 23], Operations: ['87-64=23']
Exploring Operation: 23-20=3, Resulting Numbers: [31, 3]
Generated Node #3: [31, 3] from Operation: 23-20=3
Current State: 93:[31, 3], Operations: ['87-64=23', '23-20=3']
Exploring Operation: 31*3=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[64, 87, 31, 20], Operations: []
Exploring Operation: 64+20=84, Resulting Numbers: [87, 31, 84]
Generated Node #0,0: 93:[87, 31, 84] Operation: 64+20=84
Exploring Operation: 87-64=23, Resulting Numbers: [31, 20, 23]
Generated Node #0,1: 93:[31, 20, 23] Operation: 87-64=23
Start Sub Search at level 1: Moving to Node #0,0
Current State: 93:[87, 31, 84], Operations: ['64+20=84']
Exploring Operation: 31+84=115, Resulting Numbers: [87, 115]
Generated Node #0,0,0: 93:[87, 115] Operation: 31+84=115
Exploring Operation: 87-84=3, Resulting Numbers: [31, 3]
Generated Node #0,0,1: 93:[31, 3] Operation: 87-84=3
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 93:[31, 3], Operations: ['64+20=84', '87-84=3']
Exploring Operation: 31+3=34, Resulting Numbers: [34]
34,93 unequal: No Solution
Exploring Operation: 31*3=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[64, 87, 31, 20], Operations: []
Exploring Operation: 64+20=84, Resulting Numbers: [87, 31, 84]
Generated Node #0,0: 93:[87, 31, 84] Operation: 64+20=84
Moving to Node #0,0
Current State: 93:[87, 31, 84], Operations: ['64+20=84']
Exploring Operation: 87-84=3, Resulting Numbers: [31, 3]
Generated Node #0,0,1: 93:[31, 3] Operation: 87-84=3
Moving to Node #0,0,1
Current State: 93:[31, 3], Operations: ['64+20=84', '87-84=3']
Exploring Operation: 31*3=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
57,
26,
70,
91
] | 89 | [
"70-57=13",
"26/13=2",
"91-2=89"
] | Current State: 89:[57, 26, 70, 91], Operations: []
Exploring Operation: 70-57=13, Resulting Numbers: [26, 91, 13]
Generated Node #2: [26, 91, 13] from Operation: 70-57=13
Current State: 89:[26, 91, 13], Operations: ['70-57=13']
Exploring Operation: 26/13=2, Resulting Numbers: [91, 2]
Generated Node #3: [91, 2] from Operation: 26/13=2
Current State: 89:[91, 2], Operations: ['70-57=13', '26/13=2']
Exploring Operation: 91-2=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[57, 26, 70, 91], Operations: []
Exploring Operation: 91-26=65, Resulting Numbers: [57, 70, 65]
Generated Node #0,0: 89:[57, 70, 65] Operation: 91-26=65
Exploring Operation: 57+26=83, Resulting Numbers: [70, 91, 83]
Generated Node #0,1: 89:[70, 91, 83] Operation: 57+26=83
Exploring Operation: 26+70=96, Resulting Numbers: [57, 91, 96]
Generated Node #0,2: 89:[57, 91, 96] Operation: 26+70=96
Exploring Operation: 57-26=31, Resulting Numbers: [70, 91, 31]
Generated Node #0,3: 89:[70, 91, 31] Operation: 57-26=31
Start Sub Search at level 1: Moving to Node #0,1
Current State: 89:[70, 91, 83], Operations: ['57+26=83']
Exploring Operation: 83-70=13, Resulting Numbers: [91, 13]
Generated Node #0,1,0: 89:[91, 13] Operation: 83-70=13
Exploring Operation: 91-70=21, Resulting Numbers: [83, 21]
Generated Node #0,1,1: 89:[83, 21] Operation: 91-70=21
Exploring Operation: 70+91=161, Resulting Numbers: [83, 161]
Generated Node #0,1,2: 89:[83, 161] Operation: 70+91=161
Exploring Operation: 70+83=153, Resulting Numbers: [91, 153]
Generated Node #0,1,3: 89:[91, 153] Operation: 70+83=153
Moving to Node #0,1,3
Current State: 89:[91, 153], Operations: ['57+26=83', '70+83=153']
Exploring Operation: 153-91=62, Resulting Numbers: [62]
62,89 unequal: No Solution
Exploring Operation: 91*153=13923, Resulting Numbers: [13923]
13923,89 unequal: No Solution
Exploring Operation: 91+153=244, Resulting Numbers: [244]
244,89 unequal: No Solution
Moving to Node #0,1,1
Current State: 89:[83, 21], Operations: ['57+26=83', '91-70=21']
Exploring Operation: 83+21=104, Resulting Numbers: [104]
104,89 unequal: No Solution
Exploring Operation: 83*21=1743, Resulting Numbers: [1743]
1743,89 unequal: No Solution
Exploring Operation: 83-21=62, Resulting Numbers: [62]
62,89 unequal: No Solution
Moving to Node #0,1,2
Current State: 89:[83, 161], Operations: ['57+26=83', '70+91=161']
Exploring Operation: 161-83=78, Resulting Numbers: [78]
78,89 unequal: No Solution
Exploring Operation: 83*161=13363, Resulting Numbers: [13363]
13363,89 unequal: No Solution
Exploring Operation: 83+161=244, Resulting Numbers: [244]
244,89 unequal: No Solution
Moving to Node #0,1,0
Current State: 89:[91, 13], Operations: ['57+26=83', '83-70=13']
Exploring Operation: 91*13=1183, Resulting Numbers: [1183]
1183,89 unequal: No Solution
Exploring Operation: 91+13=104, Resulting Numbers: [104]
104,89 unequal: No Solution
Exploring Operation: 91-13=78, Resulting Numbers: [78]
78,89 unequal: No Solution
Exploring Operation: 91/13=7, Resulting Numbers: [7]
7,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 89:[57, 91, 96], Operations: ['26+70=96']
Exploring Operation: 96-57=39, Resulting Numbers: [91, 39]
Generated Node #0,2,0: 89:[91, 39] Operation: 96-57=39
Exploring Operation: 57+96=153, Resulting Numbers: [91, 153]
Generated Node #0,2,1: 89:[91, 153] Operation: 57+96=153
Exploring Operation: 91-57=34, Resulting Numbers: [96, 34]
Generated Node #0,2,2: 89:[96, 34] Operation: 91-57=34
Exploring Operation: 57+91=148, Resulting Numbers: [96, 148]
Generated Node #0,2,3: 89:[96, 148] Operation: 57+91=148
Moving to Node #0,2,0
Current State: 89:[91, 39], Operations: ['26+70=96', '96-57=39']
Exploring Operation: 91*39=3549, Resulting Numbers: [3549]
3549,89 unequal: No Solution
Exploring Operation: 91-39=52, Resulting Numbers: [52]
52,89 unequal: No Solution
Exploring Operation: 91+39=130, Resulting Numbers: [130]
130,89 unequal: No Solution
Moving to Node #0,2,2
Current State: 89:[96, 34], Operations: ['26+70=96', '91-57=34']
Exploring Operation: 96+34=130, Resulting Numbers: [130]
130,89 unequal: No Solution
Exploring Operation: 96*34=3264, Resulting Numbers: [3264]
3264,89 unequal: No Solution
Exploring Operation: 96-34=62, Resulting Numbers: [62]
62,89 unequal: No Solution
Moving to Node #0,2,3
Current State: 89:[96, 148], Operations: ['26+70=96', '57+91=148']
Exploring Operation: 96+148=244, Resulting Numbers: [244]
244,89 unequal: No Solution
Exploring Operation: 148-96=52, Resulting Numbers: [52]
52,89 unequal: No Solution
Exploring Operation: 96*148=14208, Resulting Numbers: [14208]
14208,89 unequal: No Solution
Moving to Node #0,2,1
Current State: 89:[91, 153], Operations: ['26+70=96', '57+96=153']
Exploring Operation: 91+153=244, Resulting Numbers: [244]
244,89 unequal: No Solution
Exploring Operation: 91*153=13923, Resulting Numbers: [13923]
13923,89 unequal: No Solution
Exploring Operation: 153-91=62, Resulting Numbers: [62]
62,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:[57, 70, 65], Operations: ['91-26=65']
Exploring Operation: 70-57=13, Resulting Numbers: [65, 13]
Generated Node #0,0,0: 89:[65, 13] Operation: 70-57=13
Exploring Operation: 57+70=127, Resulting Numbers: [65, 127]
Generated Node #0,0,1: 89:[65, 127] Operation: 57+70=127
Exploring Operation: 70+65=135, Resulting Numbers: [57, 135]
Generated Node #0,0,2: 89:[57, 135] Operation: 70+65=135
Exploring Operation: 57+65=122, Resulting Numbers: [70, 122]
Generated Node #0,0,3: 89:[70, 122] Operation: 57+65=122
Moving to Node #0,0,3
Current State: 89:[70, 122], Operations: ['91-26=65', '57+65=122']
Exploring Operation: 70+122=192, Resulting Numbers: [192]
192,89 unequal: No Solution
Exploring Operation: 70*122=8540, Resulting Numbers: [8540]
8540,89 unequal: No Solution
Exploring Operation: 122-70=52, Resulting Numbers: [52]
52,89 unequal: No Solution
Moving to Node #0,0,1
Current State: 89:[65, 127], Operations: ['91-26=65', '57+70=127']
Exploring Operation: 65*127=8255, Resulting Numbers: [8255]
8255,89 unequal: No Solution
Exploring Operation: 127-65=62, Resulting Numbers: [62]
62,89 unequal: No Solution
Exploring Operation: 65+127=192, Resulting Numbers: [192]
192,89 unequal: No Solution
Moving to Node #0,0,2
Current State: 89:[57, 135], Operations: ['91-26=65', '70+65=135']
Exploring Operation: 57*135=7695, Resulting Numbers: [7695]
7695,89 unequal: No Solution
Exploring Operation: 135-57=78, Resulting Numbers: [78]
78,89 unequal: No Solution
Exploring Operation: 57+135=192, Resulting Numbers: [192]
192,89 unequal: No Solution
Moving to Node #0,0,0
Current State: 89:[65, 13], Operations: ['91-26=65', '70-57=13']
Exploring Operation: 65/13=5, Resulting Numbers: [5]
5,89 unequal: No Solution
Exploring Operation: 65*13=845, Resulting Numbers: [845]
845,89 unequal: No Solution
Exploring Operation: 65+13=78, Resulting Numbers: [78]
78,89 unequal: No Solution
Exploring Operation: 65-13=52, Resulting Numbers: [52]
52,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 89:[70, 91, 31], Operations: ['57-26=31']
Exploring Operation: 91+31=122, Resulting Numbers: [70, 122]
Generated Node #0,3,0: 89:[70, 122] Operation: 91+31=122
Exploring Operation: 91-31=60, Resulting Numbers: [70, 60]
Generated Node #0,3,1: 89:[70, 60] Operation: 91-31=60
Exploring Operation: 70+31=101, Resulting Numbers: [91, 101]
Generated Node #0,3,2: 89:[91, 101] Operation: 70+31=101
Exploring Operation: 70-31=39, Resulting Numbers: [91, 39]
Generated Node #0,3,3: 89:[91, 39] Operation: 70-31=39
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 89:[91, 101], Operations: ['57-26=31', '70+31=101']
Exploring Operation: 91*101=9191, Resulting Numbers: [9191]
9191,89 unequal: No Solution
Exploring Operation: 91+101=192, Resulting Numbers: [192]
192,89 unequal: No Solution
Exploring Operation: 101-91=10, Resulting Numbers: [10]
10,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,3,1
Current State: 89:[70, 60], Operations: ['57-26=31', '91-31=60']
Exploring Operation: 70-60=10, Resulting Numbers: [10]
10,89 unequal: No Solution
Exploring Operation: 70*60=4200, Resulting Numbers: [4200]
4200,89 unequal: No Solution
Exploring Operation: 70+60=130, Resulting Numbers: [130]
130,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,3,0
Current State: 89:[70, 122], Operations: ['57-26=31', '91+31=122']
Exploring Operation: 70+122=192, Resulting Numbers: [192]
192,89 unequal: No Solution
Exploring Operation: 122-70=52, Resulting Numbers: [52]
52,89 unequal: No Solution
Exploring Operation: 70*122=8540, Resulting Numbers: [8540]
8540,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,3,3
Current State: 89:[91, 39], Operations: ['57-26=31', '70-31=39']
Exploring Operation: 91+39=130, Resulting Numbers: [130]
130,89 unequal: No Solution
Exploring Operation: 91-39=52, Resulting Numbers: [52]
52,89 unequal: No Solution
Exploring Operation: 91*39=3549, Resulting Numbers: [3549]
3549,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_4 | mult_heuristic |
[
75,
83,
64,
74
] | 80 | [
"83-75=8",
"74-64=10",
"8*10=80"
] | Current State: 80:[75, 83, 64, 74], Operations: []
Exploring Operation: 83-75=8, Resulting Numbers: [64, 74, 8]
Generated Node #2: [64, 74, 8] from Operation: 83-75=8
Current State: 80:[64, 74, 8], Operations: ['83-75=8']
Exploring Operation: 74-64=10, Resulting Numbers: [8, 10]
Generated Node #3: [8, 10] from Operation: 74-64=10
Current State: 80:[8, 10], Operations: ['83-75=8', '74-64=10']
Exploring Operation: 8*10=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[75, 83, 64, 74], Operations: []
Exploring Operation: 74-64=10, Resulting Numbers: [75, 83, 10]
Generated Node #0,0: 80:[75, 83, 10] Operation: 74-64=10
Exploring Operation: 75-74=1, Resulting Numbers: [83, 64, 1]
Generated Node #0,1: 80:[83, 64, 1] Operation: 75-74=1
Exploring Operation: 75-64=11, Resulting Numbers: [83, 74, 11]
Generated Node #0,2: 80:[83, 74, 11] Operation: 75-64=11
Exploring Operation: 83-64=19, Resulting Numbers: [75, 74, 19]
Generated Node #0,3: 80:[75, 74, 19] Operation: 83-64=19
Moving to Node #0,0
Current State: 80:[75, 83, 10], Operations: ['74-64=10']
Exploring Operation: 75-10=65, Resulting Numbers: [83, 65]
Generated Node #0,0,0: 80:[83, 65] Operation: 75-10=65
Exploring Operation: 83-10=73, Resulting Numbers: [75, 73]
Generated Node #0,0,1: 80:[75, 73] Operation: 83-10=73
Exploring Operation: 75+10=85, Resulting Numbers: [83, 85]
Generated Node #0,0,2: 80:[83, 85] Operation: 75+10=85
Exploring Operation: 83-75=8, Resulting Numbers: [10, 8]
Generated Node #0,0,3: 80:[10, 8] Operation: 83-75=8
Moving to Node #0,2
Current State: 80:[83, 74, 11], Operations: ['75-64=11']
Exploring Operation: 83+11=94, Resulting Numbers: [74, 94]
Generated Node #0,2,0: 80:[74, 94] Operation: 83+11=94
Exploring Operation: 83-74=9, Resulting Numbers: [11, 9]
Generated Node #0,2,1: 80:[11, 9] Operation: 83-74=9
Exploring Operation: 83-11=72, Resulting Numbers: [74, 72]
Generated Node #0,2,2: 80:[74, 72] Operation: 83-11=72
Exploring Operation: 74+11=85, Resulting Numbers: [83, 85]
Generated Node #0,2,3: 80:[83, 85] Operation: 74+11=85
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 80:[11, 9], Operations: ['75-64=11', '83-74=9']
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,80 unequal: No Solution
Exploring Operation: 11*9=99, Resulting Numbers: [99]
99,80 unequal: No Solution
Exploring Operation: 11+9=20, Resulting Numbers: [20]
20,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,2,3
Current State: 80:[83, 85], Operations: ['75-64=11', '74+11=85']
Exploring Operation: 83*85=7055, Resulting Numbers: [7055]
7055,80 unequal: No Solution
Exploring Operation: 83+85=168, Resulting Numbers: [168]
168,80 unequal: No Solution
Exploring Operation: 85-83=2, Resulting Numbers: [2]
2,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,2,2
Current State: 80:[74, 72], Operations: ['75-64=11', '83-11=72']
Exploring Operation: 74+72=146, Resulting Numbers: [146]
146,80 unequal: No Solution
Exploring Operation: 74*72=5328, Resulting Numbers: [5328]
5328,80 unequal: No Solution
Exploring Operation: 74-72=2, Resulting Numbers: [2]
2,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,2,0
Current State: 80:[74, 94], Operations: ['75-64=11', '83+11=94']
Exploring Operation: 94-74=20, Resulting Numbers: [20]
20,80 unequal: No Solution
Exploring Operation: 74*94=6956, Resulting Numbers: [6956]
6956,80 unequal: No Solution
Exploring Operation: 74+94=168, Resulting Numbers: [168]
168,80 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: 80:[75, 74, 19], Operations: ['83-64=19']
Exploring Operation: 75-74=1, Resulting Numbers: [19, 1]
Generated Node #0,3,0: 80:[19, 1] Operation: 75-74=1
Exploring Operation: 75+19=94, Resulting Numbers: [74, 94]
Generated Node #0,3,1: 80:[74, 94] Operation: 75+19=94
Exploring Operation: 74+19=93, Resulting Numbers: [75, 93]
Generated Node #0,3,2: 80:[75, 93] Operation: 74+19=93
Exploring Operation: 74-19=55, Resulting Numbers: [75, 55]
Generated Node #0,3,3: 80:[75, 55] Operation: 74-19=55
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 80:[19, 1], Operations: ['83-64=19', '75-74=1']
Exploring Operation: 19-1=18, Resulting Numbers: [18]
18,80 unequal: No Solution
Exploring Operation: 19*1=19, Resulting Numbers: [19]
19,80 unequal: No Solution
Exploring Operation: 19/1=19, Resulting Numbers: [19]
19,80 unequal: No Solution
Exploring Operation: 19+1=20, Resulting Numbers: [20]
20,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,3,2
Current State: 80:[75, 93], Operations: ['83-64=19', '74+19=93']
Exploring Operation: 75+93=168, Resulting Numbers: [168]
168,80 unequal: No Solution
Exploring Operation: 93-75=18, Resulting Numbers: [18]
18,80 unequal: No Solution
Exploring Operation: 75*93=6975, Resulting Numbers: [6975]
6975,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,3,1
Current State: 80:[74, 94], Operations: ['83-64=19', '75+19=94']
Exploring Operation: 94-74=20, Resulting Numbers: [20]
20,80 unequal: No Solution
Exploring Operation: 74+94=168, Resulting Numbers: [168]
168,80 unequal: No Solution
Exploring Operation: 74*94=6956, Resulting Numbers: [6956]
6956,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,3,3
Current State: 80:[75, 55], Operations: ['83-64=19', '74-19=55']
Exploring Operation: 75+55=130, Resulting Numbers: [130]
130,80 unequal: No Solution
Exploring Operation: 75-55=20, Resulting Numbers: [20]
20,80 unequal: No Solution
Exploring Operation: 75*55=4125, Resulting Numbers: [4125]
4125,80 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: 80:[83, 64, 1], Operations: ['75-74=1']
Exploring Operation: 83-64=19, Resulting Numbers: [1, 19]
Generated Node #0,1,0: 80:[1, 19] Operation: 83-64=19
Exploring Operation: 64+1=65, Resulting Numbers: [83, 65]
Generated Node #0,1,1: 80:[83, 65] Operation: 64+1=65
Exploring Operation: 83-1=82, Resulting Numbers: [64, 82]
Generated Node #0,1,2: 80:[64, 82] Operation: 83-1=82
Exploring Operation: 83*1=83, Resulting Numbers: [64, 83]
Generated Node #0,1,3: 80:[64, 83] Operation: 83*1=83
Moving to Node #0,0,3
Current State: 80:[10, 8], Operations: ['74-64=10', '83-75=8']
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,80 unequal: No Solution
Exploring Operation: 10*8=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[75, 83, 64, 74], Operations: []
Exploring Operation: 74-64=10, Resulting Numbers: [75, 83, 10]
Generated Node #0,0: 80:[75, 83, 10] Operation: 74-64=10
Moving to Node #0,0
Current State: 80:[75, 83, 10], Operations: ['74-64=10']
Exploring Operation: 83-75=8, Resulting Numbers: [10, 8]
Generated Node #0,0,3: 80:[10, 8] Operation: 83-75=8
Moving to Node #0,0,3
Current State: 80:[10, 8], Operations: ['74-64=10', '83-75=8']
Exploring Operation: 10*8=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 0.955729 | hs_4 | sum_heuristic |
[
12,
29,
16,
77
] | 76 | [
"29-12=17",
"16+77=93",
"93-17=76"
] | Current State: 76:[12, 29, 16, 77], Operations: []
Exploring Operation: 29-12=17, Resulting Numbers: [16, 77, 17]
Generated Node #2: [16, 77, 17] from Operation: 29-12=17
Current State: 76:[16, 77, 17], Operations: ['29-12=17']
Exploring Operation: 16+77=93, Resulting Numbers: [17, 93]
Generated Node #3: [17, 93] from Operation: 16+77=93
Current State: 76:[17, 93], Operations: ['29-12=17', '16+77=93']
Exploring Operation: 93-17=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[12, 29, 16, 77], Operations: []
Exploring Operation: 29-12=17, Resulting Numbers: [16, 77, 17]
Generated Node #0,0: 76:[16, 77, 17] Operation: 29-12=17
Moving to Node #0,0
Current State: 76:[16, 77, 17], Operations: ['29-12=17']
Exploring Operation: 17-16=1, Resulting Numbers: [77, 1]
Generated Node #0,0,0: 76:[77, 1] Operation: 17-16=1
Moving to Node #0,0,0
Current State: 76:[77, 1], Operations: ['29-12=17', '17-16=1']
Exploring Operation: 77-1=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[12, 29, 16, 77], Operations: []
Exploring Operation: 29-12=17, Resulting Numbers: [16, 77, 17]
Generated Node #0,0: 76:[16, 77, 17] Operation: 29-12=17
Moving to Node #0,0
Current State: 76:[16, 77, 17], Operations: ['29-12=17']
Exploring Operation: 17-16=1, Resulting Numbers: [77, 1]
Generated Node #0,0,0: 76:[77, 1] Operation: 17-16=1
Moving to Node #0,0,0
Current State: 76:[77, 1], Operations: ['29-12=17', '17-16=1']
Exploring Operation: 77-1=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
83,
36,
78,
86
] | 62 | [
"86-83=3",
"78/3=26",
"36+26=62"
] | Current State: 62:[83, 36, 78, 86], Operations: []
Exploring Operation: 86-83=3, Resulting Numbers: [36, 78, 3]
Generated Node #2: [36, 78, 3] from Operation: 86-83=3
Current State: 62:[36, 78, 3], Operations: ['86-83=3']
Exploring Operation: 78/3=26, Resulting Numbers: [36, 26]
Generated Node #3: [36, 26] from Operation: 78/3=26
Current State: 62:[36, 26], Operations: ['86-83=3', '78/3=26']
Exploring Operation: 36+26=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[83, 36, 78, 86], Operations: []
Exploring Operation: 86-83=3, Resulting Numbers: [36, 78, 3]
Generated Node #0,0: 62:[36, 78, 3] Operation: 86-83=3
Moving to Node #0,0
Current State: 62:[36, 78, 3], Operations: ['86-83=3']
Exploring Operation: 78/3=26, Resulting Numbers: [36, 26]
Generated Node #0,0,0: 62:[36, 26] Operation: 78/3=26
Moving to Node #0,0,0
Current State: 62:[36, 26], Operations: ['86-83=3', '78/3=26']
Exploring Operation: 36+26=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[83, 36, 78, 86], Operations: []
Exploring Operation: 86-83=3, Resulting Numbers: [36, 78, 3]
Generated Node #0,0: 62:[36, 78, 3] Operation: 86-83=3
Moving to Node #0,0
Current State: 62:[36, 78, 3], Operations: ['86-83=3']
Exploring Operation: 78/3=26, Resulting Numbers: [36, 26]
Generated Node #0,0,0: 62:[36, 26] Operation: 78/3=26
Moving to Node #0,0,0
Current State: 62:[36, 26], Operations: ['86-83=3', '78/3=26']
Exploring Operation: 36+26=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
92,
32,
23,
27
] | 10 | [
"92-32=60",
"23+27=50",
"60-50=10"
] | Current State: 10:[92, 32, 23, 27], Operations: []
Exploring Operation: 92-32=60, Resulting Numbers: [23, 27, 60]
Generated Node #2: [23, 27, 60] from Operation: 92-32=60
Current State: 10:[23, 27, 60], Operations: ['92-32=60']
Exploring Operation: 23+27=50, Resulting Numbers: [60, 50]
Generated Node #3: [60, 50] from Operation: 23+27=50
Current State: 10:[60, 50], Operations: ['92-32=60', '23+27=50']
Exploring Operation: 60-50=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[92, 32, 23, 27], Operations: []
Exploring Operation: 92/23=4, Resulting Numbers: [32, 27, 4]
Generated Node #0,0: 10:[32, 27, 4] Operation: 92/23=4
Exploring Operation: 92-27=65, Resulting Numbers: [32, 23, 65]
Generated Node #0,1: 10:[32, 23, 65] Operation: 92-27=65
Exploring Operation: 92-32=60, Resulting Numbers: [23, 27, 60]
Generated Node #0,2: 10:[23, 27, 60] Operation: 92-32=60
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[32, 27, 4], Operations: ['92/23=4']
Exploring Operation: 32-27=5, Resulting Numbers: [4, 5]
Generated Node #0,0,0: 10:[4, 5] Operation: 32-27=5
Exploring Operation: 32/4=8, Resulting Numbers: [27, 8]
Generated Node #0,0,1: 10:[27, 8] Operation: 32/4=8
Exploring Operation: 32-4=28, Resulting Numbers: [27, 28]
Generated Node #0,0,2: 10:[27, 28] Operation: 32-4=28
Moving to Node #0,0,0
Current State: 10:[4, 5], Operations: ['92/23=4', '32-27=5']
Exploring Operation: 4*5=20, Resulting Numbers: [20]
20,10 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,10 unequal: No Solution
Exploring Operation: 4+5=9, Resulting Numbers: [9]
9,10 unequal: No Solution
Moving to Node #0,0,1
Current State: 10:[27, 8], Operations: ['92/23=4', '32/4=8']
Exploring Operation: 27+8=35, Resulting Numbers: [35]
35,10 unequal: No Solution
Exploring Operation: 27-8=19, Resulting Numbers: [19]
19,10 unequal: No Solution
Exploring Operation: 27*8=216, Resulting Numbers: [216]
216,10 unequal: No Solution
Moving to Node #0,0,2
Current State: 10:[27, 28], Operations: ['92/23=4', '32-4=28']
Exploring Operation: 27+28=55, Resulting Numbers: [55]
55,10 unequal: No Solution
Exploring Operation: 27*28=756, Resulting Numbers: [756]
756,10 unequal: No Solution
Exploring Operation: 28-27=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
Current State: 10:[23, 27, 60], Operations: ['92-32=60']
Exploring Operation: 60-23=37, Resulting Numbers: [27, 37]
Generated Node #0,2,0: 10:[27, 37] Operation: 60-23=37
Exploring Operation: 60-27=33, Resulting Numbers: [23, 33]
Generated Node #0,2,1: 10:[23, 33] Operation: 60-27=33
Exploring Operation: 27-23=4, Resulting Numbers: [60, 4]
Generated Node #0,2,2: 10:[60, 4] Operation: 27-23=4
Moving to Node #0,2,1
Current State: 10:[23, 33], Operations: ['92-32=60', '60-27=33']
Exploring Operation: 23+33=56, Resulting Numbers: [56]
56,10 unequal: No Solution
Exploring Operation: 33-23=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[92, 32, 23, 27], Operations: []
Exploring Operation: 92-32=60, Resulting Numbers: [23, 27, 60]
Generated Node #0,2: 10:[23, 27, 60] Operation: 92-32=60
Moving to Node #0,2
Current State: 10:[23, 27, 60], Operations: ['92-32=60']
Exploring Operation: 60-27=33, Resulting Numbers: [23, 33]
Generated Node #0,2,1: 10:[23, 33] Operation: 60-27=33
Moving to Node #0,2,1
Current State: 10:[23, 33], Operations: ['92-32=60', '60-27=33']
Exploring Operation: 33-23=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_3 | mult_heuristic |
[
26,
5,
75,
73
] | 84 | [
"26+73=99",
"75/5=15",
"99-15=84"
] | Current State: 84:[26, 5, 75, 73], Operations: []
Exploring Operation: 26+73=99, Resulting Numbers: [5, 75, 99]
Generated Node #2: [5, 75, 99] from Operation: 26+73=99
Current State: 84:[5, 75, 99], Operations: ['26+73=99']
Exploring Operation: 75/5=15, Resulting Numbers: [99, 15]
Generated Node #3: [99, 15] from Operation: 75/5=15
Current State: 84:[99, 15], Operations: ['26+73=99', '75/5=15']
Exploring Operation: 99-15=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[26, 5, 75, 73], Operations: []
Exploring Operation: 5+73=78, Resulting Numbers: [26, 75, 78]
Generated Node #0,0: 84:[26, 75, 78] Operation: 5+73=78
Exploring Operation: 5+75=80, Resulting Numbers: [26, 73, 80]
Generated Node #0,1: 84:[26, 73, 80] Operation: 5+75=80
Exploring Operation: 75-73=2, Resulting Numbers: [26, 5, 2]
Generated Node #0,2: 84:[26, 5, 2] Operation: 75-73=2
Exploring Operation: 73-26=47, Resulting Numbers: [5, 75, 47]
Generated Node #0,3: 84:[5, 75, 47] Operation: 73-26=47
Exploring Operation: 75/5=15, Resulting Numbers: [26, 73, 15]
Generated Node #0,4: 84:[26, 73, 15] Operation: 75/5=15
Moving to Node #0,2
Current State: 84:[26, 5, 2], Operations: ['75-73=2']
Exploring Operation: 26/2=13, Resulting Numbers: [5, 13]
Generated Node #0,2,0: 84:[5, 13] Operation: 26/2=13
Exploring Operation: 5-2=3, Resulting Numbers: [26, 3]
Generated Node #0,2,1: 84:[26, 3] Operation: 5-2=3
Exploring Operation: 26+2=28, Resulting Numbers: [5, 28]
Generated Node #0,2,2: 84:[5, 28] Operation: 26+2=28
Exploring Operation: 26-5=21, Resulting Numbers: [2, 21]
Generated Node #0,2,3: 84:[2, 21] Operation: 26-5=21
Exploring Operation: 5+2=7, Resulting Numbers: [26, 7]
Generated Node #0,2,4: 84:[26, 7] Operation: 5+2=7
Moving to Node #0,4
Current State: 84:[26, 73, 15], Operations: ['75/5=15']
Exploring Operation: 73-26=47, Resulting Numbers: [15, 47]
Generated Node #0,4,0: 84:[15, 47] Operation: 73-26=47
Exploring Operation: 26+73=99, Resulting Numbers: [15, 99]
Generated Node #0,4,1: 84:[15, 99] Operation: 26+73=99
Exploring Operation: 73+15=88, Resulting Numbers: [26, 88]
Generated Node #0,4,2: 84:[26, 88] Operation: 73+15=88
Exploring Operation: 26+15=41, Resulting Numbers: [73, 41]
Generated Node #0,4,3: 84:[73, 41] Operation: 26+15=41
Exploring Operation: 26-15=11, Resulting Numbers: [73, 11]
Generated Node #0,4,4: 84:[73, 11] Operation: 26-15=11
Moving to Node #0,3
Current State: 84:[5, 75, 47], Operations: ['73-26=47']
Exploring Operation: 75-5=70, Resulting Numbers: [47, 70]
Generated Node #0,3,0: 84:[47, 70] Operation: 75-5=70
Exploring Operation: 47-5=42, Resulting Numbers: [75, 42]
Generated Node #0,3,1: 84:[75, 42] Operation: 47-5=42
Exploring Operation: 5+75=80, Resulting Numbers: [47, 80]
Generated Node #0,3,2: 84:[47, 80] Operation: 5+75=80
Exploring Operation: 75/5=15, Resulting Numbers: [47, 15]
Generated Node #0,3,3: 84:[47, 15] Operation: 75/5=15
Exploring Operation: 75-47=28, Resulting Numbers: [5, 28]
Generated Node #0,3,4: 84:[5, 28] Operation: 75-47=28
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 84:[5, 28], Operations: ['73-26=47', '75-47=28']
Exploring Operation: 5+28=33, Resulting Numbers: [33]
33,84 unequal: No Solution
Exploring Operation: 5*28=140, Resulting Numbers: [140]
140,84 unequal: No Solution
Exploring Operation: 28-5=23, Resulting Numbers: [23]
23,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:[47, 15], Operations: ['73-26=47', '75/5=15']
Exploring Operation: 47-15=32, Resulting Numbers: [32]
32,84 unequal: No Solution
Exploring Operation: 47*15=705, Resulting Numbers: [705]
705,84 unequal: No Solution
Exploring Operation: 47+15=62, Resulting Numbers: [62]
62,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:[75, 42], Operations: ['73-26=47', '47-5=42']
Exploring Operation: 75*42=3150, Resulting Numbers: [3150]
3150,84 unequal: No Solution
Exploring Operation: 75-42=33, Resulting Numbers: [33]
33,84 unequal: No Solution
Exploring Operation: 75+42=117, Resulting Numbers: [117]
117,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:[47, 80], Operations: ['73-26=47', '5+75=80']
Exploring Operation: 47+80=127, Resulting Numbers: [127]
127,84 unequal: No Solution
Exploring Operation: 80-47=33, Resulting Numbers: [33]
33,84 unequal: No Solution
Exploring Operation: 47*80=3760, Resulting Numbers: [3760]
3760,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,0
Current State: 84:[47, 70], Operations: ['73-26=47', '75-5=70']
Exploring Operation: 47+70=117, Resulting Numbers: [117]
117,84 unequal: No Solution
Exploring Operation: 70-47=23, Resulting Numbers: [23]
23,84 unequal: No Solution
Exploring Operation: 47*70=3290, Resulting Numbers: [3290]
3290,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:[26, 75, 78], Operations: ['5+73=78']
Exploring Operation: 75-26=49, Resulting Numbers: [78, 49]
Generated Node #0,0,0: 84:[78, 49] Operation: 75-26=49
Exploring Operation: 78/26=3, Resulting Numbers: [75, 3]
Generated Node #0,0,1: 84:[75, 3] Operation: 78/26=3
Exploring Operation: 26+75=101, Resulting Numbers: [78, 101]
Generated Node #0,0,2: 84:[78, 101] Operation: 26+75=101
Exploring Operation: 78-26=52, Resulting Numbers: [75, 52]
Generated Node #0,0,3: 84:[75, 52] Operation: 78-26=52
Exploring Operation: 78-75=3, Resulting Numbers: [26, 3]
Generated Node #0,0,4: 84:[26, 3] Operation: 78-75=3
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 84:[26, 3], Operations: ['5+73=78', '78-75=3']
Exploring Operation: 26*3=78, Resulting Numbers: [78]
78,84 unequal: No Solution
Exploring Operation: 26-3=23, Resulting Numbers: [23]
23,84 unequal: No Solution
Exploring Operation: 26+3=29, Resulting Numbers: [29]
29,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:[75, 3], Operations: ['5+73=78', '78/26=3']
Exploring Operation: 75/3=25, Resulting Numbers: [25]
25,84 unequal: No Solution
Exploring Operation: 75-3=72, Resulting Numbers: [72]
72,84 unequal: No Solution
Exploring Operation: 75+3=78, Resulting Numbers: [78]
78,84 unequal: No Solution
Exploring Operation: 75*3=225, Resulting Numbers: [225]
225,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,0
Current State: 84:[78, 49], Operations: ['5+73=78', '75-26=49']
Exploring Operation: 78+49=127, Resulting Numbers: [127]
127,84 unequal: No Solution
Exploring Operation: 78-49=29, Resulting Numbers: [29]
29,84 unequal: No Solution
Exploring Operation: 78*49=3822, Resulting Numbers: [3822]
3822,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:[75, 52], Operations: ['5+73=78', '78-26=52']
Exploring Operation: 75*52=3900, Resulting Numbers: [3900]
3900,84 unequal: No Solution
Exploring Operation: 75+52=127, Resulting Numbers: [127]
127,84 unequal: No Solution
Exploring Operation: 75-52=23, Resulting Numbers: [23]
23,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:[78, 101], Operations: ['5+73=78', '26+75=101']
Exploring Operation: 78+101=179, Resulting Numbers: [179]
179,84 unequal: No Solution
Exploring Operation: 101-78=23, Resulting Numbers: [23]
23,84 unequal: No Solution
Exploring Operation: 78*101=7878, Resulting Numbers: [7878]
7878,84 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: 84:[26, 73, 80], Operations: ['5+75=80']
Exploring Operation: 80-73=7, Resulting Numbers: [26, 7]
Generated Node #0,1,0: 84:[26, 7] Operation: 80-73=7
Exploring Operation: 80-26=54, Resulting Numbers: [73, 54]
Generated Node #0,1,1: 84:[73, 54] Operation: 80-26=54
Exploring Operation: 26+73=99, Resulting Numbers: [80, 99]
Generated Node #0,1,2: 84:[80, 99] Operation: 26+73=99
Exploring Operation: 26+80=106, Resulting Numbers: [73, 106]
Generated Node #0,1,3: 84:[73, 106] Operation: 26+80=106
Exploring Operation: 73-26=47, Resulting Numbers: [80, 47]
Generated Node #0,1,4: 84:[80, 47] Operation: 73-26=47
Moving to Node #0,2,3
Current State: 84:[2, 21], Operations: ['75-73=2', '26-5=21']
Exploring Operation: 2+21=23, Resulting Numbers: [23]
23,84 unequal: No Solution
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,84 unequal: No Solution
Exploring Operation: 2*21=42, Resulting Numbers: [42]
42,84 unequal: No Solution
Moving to Node #0,2,2
Current State: 84:[5, 28], Operations: ['75-73=2', '26+2=28']
Exploring Operation: 5*28=140, Resulting Numbers: [140]
140,84 unequal: No Solution
Exploring Operation: 28-5=23, Resulting Numbers: [23]
23,84 unequal: No Solution
Exploring Operation: 5+28=33, Resulting Numbers: [33]
33,84 unequal: No Solution
Moving to Node #0,2,0
Current State: 84:[5, 13], Operations: ['75-73=2', '26/2=13']
Exploring Operation: 5*13=65, Resulting Numbers: [65]
65,84 unequal: No Solution
Exploring Operation: 5+13=18, Resulting Numbers: [18]
18,84 unequal: No Solution
Exploring Operation: 13-5=8, Resulting Numbers: [8]
8,84 unequal: No Solution
Moving to Node #0,2,4
Current State: 84:[26, 7], Operations: ['75-73=2', '5+2=7']
Exploring Operation: 26-7=19, Resulting Numbers: [19]
19,84 unequal: No Solution
Exploring Operation: 26*7=182, Resulting Numbers: [182]
182,84 unequal: No Solution
Exploring Operation: 26+7=33, Resulting Numbers: [33]
33,84 unequal: No Solution
Moving to Node #0,1,0
Current State: 84:[26, 7], Operations: ['5+75=80', '80-73=7']
Exploring Operation: 26+7=33, Resulting Numbers: [33]
33,84 unequal: No Solution
Exploring Operation: 26*7=182, Resulting Numbers: [182]
182,84 unequal: No Solution
Exploring Operation: 26-7=19, Resulting Numbers: [19]
19,84 unequal: No Solution
Moving to Node #0,2,1
Current State: 84:[26, 3], Operations: ['75-73=2', '5-2=3']
Exploring Operation: 26+3=29, Resulting Numbers: [29]
29,84 unequal: No Solution
Exploring Operation: 26-3=23, Resulting Numbers: [23]
23,84 unequal: No Solution
Exploring Operation: 26*3=78, Resulting Numbers: [78]
78,84 unequal: No Solution
Moving to Node #0,4,2
Current State: 84:[26, 88], Operations: ['75/5=15', '73+15=88']
Exploring Operation: 26*88=2288, Resulting Numbers: [2288]
2288,84 unequal: No Solution
Exploring Operation: 26+88=114, Resulting Numbers: [114]
114,84 unequal: No Solution
Exploring Operation: 88-26=62, Resulting Numbers: [62]
62,84 unequal: No Solution
Moving to Node #0,4,0
Current State: 84:[15, 47], Operations: ['75/5=15', '73-26=47']
Exploring Operation: 47-15=32, Resulting Numbers: [32]
32,84 unequal: No Solution
Exploring Operation: 15*47=705, Resulting Numbers: [705]
705,84 unequal: No Solution
Exploring Operation: 15+47=62, Resulting Numbers: [62]
62,84 unequal: No Solution
Moving to Node #0,1,4
Current State: 84:[80, 47], Operations: ['5+75=80', '73-26=47']
Exploring Operation: 80*47=3760, Resulting Numbers: [3760]
3760,84 unequal: No Solution
Exploring Operation: 80-47=33, Resulting Numbers: [33]
33,84 unequal: No Solution
Exploring Operation: 80+47=127, Resulting Numbers: [127]
127,84 unequal: No Solution
Moving to Node #0,4,4
Current State: 84:[73, 11], Operations: ['75/5=15', '26-15=11']
Exploring Operation: 73+11=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[26, 5, 75, 73], Operations: []
Exploring Operation: 75/5=15, Resulting Numbers: [26, 73, 15]
Generated Node #0,4: 84:[26, 73, 15] Operation: 75/5=15
Moving to Node #0,4
Current State: 84:[26, 73, 15], Operations: ['75/5=15']
Exploring Operation: 26-15=11, Resulting Numbers: [73, 11]
Generated Node #0,4,4: 84:[73, 11] Operation: 26-15=11
Moving to Node #0,4,4
Current State: 84:[73, 11], Operations: ['75/5=15', '26-15=11']
Exploring Operation: 73+11=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 0.919271 | hs_5 | mult_heuristic |
[
13,
7,
62,
60
] | 22 | [
"13+7=20",
"62-60=2",
"20+2=22"
] | Current State: 22:[13, 7, 62, 60], Operations: []
Exploring Operation: 13+7=20, Resulting Numbers: [62, 60, 20]
Generated Node #2: [62, 60, 20] from Operation: 13+7=20
Current State: 22:[62, 60, 20], Operations: ['13+7=20']
Exploring Operation: 62-60=2, Resulting Numbers: [20, 2]
Generated Node #3: [20, 2] from Operation: 62-60=2
Current State: 22:[20, 2], Operations: ['13+7=20', '62-60=2']
Exploring Operation: 20+2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[13, 7, 62, 60], Operations: []
Exploring Operation: 60-7=53, Resulting Numbers: [13, 62, 53]
Generated Node #0,0: 22:[13, 62, 53] Operation: 60-7=53
Exploring Operation: 62-7=55, Resulting Numbers: [13, 60, 55]
Generated Node #0,1: 22:[13, 60, 55] Operation: 62-7=55
Exploring Operation: 62-60=2, Resulting Numbers: [13, 7, 2]
Generated Node #0,2: 22:[13, 7, 2] Operation: 62-60=2
Exploring Operation: 62-13=49, Resulting Numbers: [7, 60, 49]
Generated Node #0,3: 22:[7, 60, 49] Operation: 62-13=49
Exploring Operation: 60-13=47, Resulting Numbers: [7, 62, 47]
Generated Node #0,4: 22:[7, 62, 47] Operation: 60-13=47
Moving to Node #0,2
Current State: 22:[13, 7, 2], Operations: ['62-60=2']
Exploring Operation: 7+2=9, Resulting Numbers: [13, 9]
Generated Node #0,2,0: 22:[13, 9] Operation: 7+2=9
Exploring Operation: 13-2=11, Resulting Numbers: [7, 11]
Generated Node #0,2,1: 22:[7, 11] Operation: 13-2=11
Exploring Operation: 13-7=6, Resulting Numbers: [2, 6]
Generated Node #0,2,2: 22:[2, 6] Operation: 13-7=6
Exploring Operation: 13+7=20, Resulting Numbers: [2, 20]
Generated Node #0,2,3: 22:[2, 20] Operation: 13+7=20
Exploring Operation: 7*2=14, Resulting Numbers: [13, 14]
Generated Node #0,2,4: 22:[13, 14] Operation: 7*2=14
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 22:[2, 20], Operations: ['62-60=2', '13+7=20']
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,22 unequal: No Solution
Exploring Operation: 2*20=40, Resulting Numbers: [40]
40,22 unequal: No Solution
Exploring Operation: 2+20=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[13, 7, 62, 60], Operations: []
Exploring Operation: 62-60=2, Resulting Numbers: [13, 7, 2]
Generated Node #0,2: 22:[13, 7, 2] Operation: 62-60=2
Moving to Node #0,2
Current State: 22:[13, 7, 2], Operations: ['62-60=2']
Exploring Operation: 13+7=20, Resulting Numbers: [2, 20]
Generated Node #0,2,3: 22:[2, 20] Operation: 13+7=20
Moving to Node #0,2,3
Current State: 22:[2, 20], Operations: ['62-60=2', '13+7=20']
Exploring Operation: 2+20=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
48,
44,
6,
54
] | 61 | [
"48+54=102",
"102/6=17",
"44+17=61"
] | Current State: 61:[48, 44, 6, 54], Operations: []
Exploring Operation: 48+54=102, Resulting Numbers: [44, 6, 102]
Generated Node #2: [44, 6, 102] from Operation: 48+54=102
Current State: 61:[44, 6, 102], Operations: ['48+54=102']
Exploring Operation: 102/6=17, Resulting Numbers: [44, 17]
Generated Node #3: [44, 17] from Operation: 102/6=17
Current State: 61:[44, 17], Operations: ['48+54=102', '102/6=17']
Exploring Operation: 44+17=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[48, 44, 6, 54], Operations: []
Exploring Operation: 44+6=50, Resulting Numbers: [48, 54, 50]
Generated Node #0,0: 61:[48, 54, 50] Operation: 44+6=50
Exploring Operation: 44-6=38, Resulting Numbers: [48, 54, 38]
Generated Node #0,1: 61:[48, 54, 38] Operation: 44-6=38
Exploring Operation: 48-6=42, Resulting Numbers: [44, 54, 42]
Generated Node #0,2: 61:[44, 54, 42] Operation: 48-6=42
Exploring Operation: 48+6=54, Resulting Numbers: [44, 54, 54]
Generated Node #0,3: 61:[44, 54, 54] Operation: 48+6=54
Exploring Operation: 6+54=60, Resulting Numbers: [48, 44, 60]
Generated Node #0,4: 61:[48, 44, 60] Operation: 6+54=60
Moving to Node #0,0
Current State: 61:[48, 54, 50], Operations: ['44+6=50']
Exploring Operation: 48+54=102, Resulting Numbers: [50, 102]
Generated Node #0,0,0: 61:[50, 102] Operation: 48+54=102
Exploring Operation: 54-48=6, Resulting Numbers: [50, 6]
Generated Node #0,0,1: 61:[50, 6] Operation: 54-48=6
Exploring Operation: 48+50=98, Resulting Numbers: [54, 98]
Generated Node #0,0,2: 61:[54, 98] Operation: 48+50=98
Exploring Operation: 54+50=104, Resulting Numbers: [48, 104]
Generated Node #0,0,3: 61:[48, 104] Operation: 54+50=104
Exploring Operation: 50-48=2, Resulting Numbers: [54, 2]
Generated Node #0,0,4: 61:[54, 2] Operation: 50-48=2
Moving to Node #0,4
Current State: 61:[48, 44, 60], Operations: ['6+54=60']
Exploring Operation: 60-44=16, Resulting Numbers: [48, 16]
Generated Node #0,4,0: 61:[48, 16] Operation: 60-44=16
Exploring Operation: 48-44=4, Resulting Numbers: [60, 4]
Generated Node #0,4,1: 61:[60, 4] Operation: 48-44=4
Exploring Operation: 48+60=108, Resulting Numbers: [44, 108]
Generated Node #0,4,2: 61:[44, 108] Operation: 48+60=108
Exploring Operation: 48+44=92, Resulting Numbers: [60, 92]
Generated Node #0,4,3: 61:[60, 92] Operation: 48+44=92
Exploring Operation: 44+60=104, Resulting Numbers: [48, 104]
Generated Node #0,4,4: 61:[48, 104] Operation: 44+60=104
Moving to Node #0,3
Current State: 61:[44, 54, 54], Operations: ['48+6=54']
Exploring Operation: 54-44=10, Resulting Numbers: [54, 10]
Generated Node #0,3,0: 61:[54, 10] Operation: 54-44=10
Exploring Operation: 44+54=98, Resulting Numbers: [54, 98]
Generated Node #0,3,1: 61:[54, 98] Operation: 44+54=98
Exploring Operation: 54+54=108, Resulting Numbers: [44, 108]
Generated Node #0,3,2: 61:[44, 108] Operation: 54+54=108
Exploring Operation: 44+54=98, Resulting Numbers: [54, 98]
Generated Node #0,3,3: 61:[54, 98] Operation: 44+54=98
Exploring Operation: 54-44=10, Resulting Numbers: [54, 10]
Generated Node #0,3,4: 61:[54, 10] Operation: 54-44=10
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 61:[54, 98], Operations: ['48+6=54', '44+54=98']
Exploring Operation: 54+98=152, Resulting Numbers: [152]
152,61 unequal: No Solution
Exploring Operation: 98-54=44, Resulting Numbers: [44]
44,61 unequal: No Solution
Exploring Operation: 54*98=5292, Resulting Numbers: [5292]
5292,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,3,3
Current State: 61:[54, 98], Operations: ['48+6=54', '44+54=98']
Exploring Operation: 98-54=44, Resulting Numbers: [44]
44,61 unequal: No Solution
Exploring Operation: 54*98=5292, Resulting Numbers: [5292]
5292,61 unequal: No Solution
Exploring Operation: 54+98=152, Resulting Numbers: [152]
152,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,3,0
Current State: 61:[54, 10], Operations: ['48+6=54', '54-44=10']
Exploring Operation: 54-10=44, Resulting Numbers: [44]
44,61 unequal: No Solution
Exploring Operation: 54+10=64, Resulting Numbers: [64]
64,61 unequal: No Solution
Exploring Operation: 54*10=540, Resulting Numbers: [540]
540,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,3,4
Current State: 61:[54, 10], Operations: ['48+6=54', '54-44=10']
Exploring Operation: 54+10=64, Resulting Numbers: [64]
64,61 unequal: No Solution
Exploring Operation: 54-10=44, Resulting Numbers: [44]
44,61 unequal: No Solution
Exploring Operation: 54*10=540, Resulting Numbers: [540]
540,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,3,2
Current State: 61:[44, 108], Operations: ['48+6=54', '54+54=108']
Exploring Operation: 108-44=64, Resulting Numbers: [64]
64,61 unequal: No Solution
Exploring Operation: 44+108=152, Resulting Numbers: [152]
152,61 unequal: No Solution
Exploring Operation: 44*108=4752, Resulting Numbers: [4752]
4752,61 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: 61:[48, 54, 38], Operations: ['44-6=38']
Exploring Operation: 48-38=10, Resulting Numbers: [54, 10]
Generated Node #0,1,0: 61:[54, 10] Operation: 48-38=10
Exploring Operation: 54-38=16, Resulting Numbers: [48, 16]
Generated Node #0,1,1: 61:[48, 16] Operation: 54-38=16
Exploring Operation: 48+38=86, Resulting Numbers: [54, 86]
Generated Node #0,1,2: 61:[54, 86] Operation: 48+38=86
Exploring Operation: 54+38=92, Resulting Numbers: [48, 92]
Generated Node #0,1,3: 61:[48, 92] Operation: 54+38=92
Exploring Operation: 48+54=102, Resulting Numbers: [38, 102]
Generated Node #0,1,4: 61:[38, 102] Operation: 48+54=102
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 61:[54, 86], Operations: ['44-6=38', '48+38=86']
Exploring Operation: 86-54=32, Resulting Numbers: [32]
32,61 unequal: No Solution
Exploring Operation: 54*86=4644, Resulting Numbers: [4644]
4644,61 unequal: No Solution
Exploring Operation: 54+86=140, Resulting Numbers: [140]
140,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,3
Current State: 61:[48, 92], Operations: ['44-6=38', '54+38=92']
Exploring Operation: 48+92=140, Resulting Numbers: [140]
140,61 unequal: No Solution
Exploring Operation: 92-48=44, Resulting Numbers: [44]
44,61 unequal: No Solution
Exploring Operation: 48*92=4416, Resulting Numbers: [4416]
4416,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 61:[54, 10], Operations: ['44-6=38', '48-38=10']
Exploring Operation: 54+10=64, Resulting Numbers: [64]
64,61 unequal: No Solution
Exploring Operation: 54-10=44, Resulting Numbers: [44]
44,61 unequal: No Solution
Exploring Operation: 54*10=540, Resulting Numbers: [540]
540,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,1
Current State: 61:[48, 16], Operations: ['44-6=38', '54-38=16']
Exploring Operation: 48-16=32, Resulting Numbers: [32]
32,61 unequal: No Solution
Exploring Operation: 48+16=64, Resulting Numbers: [64]
64,61 unequal: No Solution
Exploring Operation: 48/16=3, Resulting Numbers: [3]
3,61 unequal: No Solution
Exploring Operation: 48*16=768, Resulting Numbers: [768]
768,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,4
Current State: 61:[38, 102], Operations: ['44-6=38', '48+54=102']
Exploring Operation: 38*102=3876, Resulting Numbers: [3876]
3876,61 unequal: No Solution
Exploring Operation: 102-38=64, Resulting Numbers: [64]
64,61 unequal: No Solution
Exploring Operation: 38+102=140, Resulting Numbers: [140]
140,61 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: 61:[44, 54, 42], Operations: ['48-6=42']
Exploring Operation: 44+42=86, Resulting Numbers: [54, 86]
Generated Node #0,2,0: 61:[54, 86] Operation: 44+42=86
Exploring Operation: 54+42=96, Resulting Numbers: [44, 96]
Generated Node #0,2,1: 61:[44, 96] Operation: 54+42=96
Exploring Operation: 54-42=12, Resulting Numbers: [44, 12]
Generated Node #0,2,2: 61:[44, 12] Operation: 54-42=12
Exploring Operation: 44+54=98, Resulting Numbers: [42, 98]
Generated Node #0,2,3: 61:[42, 98] Operation: 44+54=98
Exploring Operation: 44-42=2, Resulting Numbers: [54, 2]
Generated Node #0,2,4: 61:[54, 2] Operation: 44-42=2
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 61:[54, 86], Operations: ['48-6=42', '44+42=86']
Exploring Operation: 86-54=32, Resulting Numbers: [32]
32,61 unequal: No Solution
Exploring Operation: 54*86=4644, Resulting Numbers: [4644]
4644,61 unequal: No Solution
Exploring Operation: 54+86=140, Resulting Numbers: [140]
140,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 61:[44, 96], Operations: ['48-6=42', '54+42=96']
Exploring Operation: 44*96=4224, Resulting Numbers: [4224]
4224,61 unequal: No Solution
Exploring Operation: 44+96=140, Resulting Numbers: [140]
140,61 unequal: No Solution
Exploring Operation: 96-44=52, Resulting Numbers: [52]
52,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 61:[42, 98], Operations: ['48-6=42', '44+54=98']
Exploring Operation: 98-42=56, Resulting Numbers: [56]
56,61 unequal: No Solution
Exploring Operation: 42+98=140, Resulting Numbers: [140]
140,61 unequal: No Solution
Exploring Operation: 42*98=4116, Resulting Numbers: [4116]
4116,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 61:[44, 12], Operations: ['48-6=42', '54-42=12']
Exploring Operation: 44-12=32, Resulting Numbers: [32]
32,61 unequal: No Solution
Exploring Operation: 44*12=528, Resulting Numbers: [528]
528,61 unequal: No Solution
Exploring Operation: 44+12=56, Resulting Numbers: [56]
56,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 61:[54, 2], Operations: ['48-6=42', '44-42=2']
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,61 unequal: No Solution
Exploring Operation: 54*2=108, Resulting Numbers: [108]
108,61 unequal: No Solution
Exploring Operation: 54+2=56, Resulting Numbers: [56]
56,61 unequal: No Solution
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,61 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: 61:[60, 92], Operations: ['6+54=60', '48+44=92']
Exploring Operation: 92-60=32, Resulting Numbers: [32]
32,61 unequal: No Solution
Exploring Operation: 60*92=5520, Resulting Numbers: [5520]
5520,61 unequal: No Solution
Exploring Operation: 60+92=152, Resulting Numbers: [152]
152,61 unequal: No Solution
Moving to Node #0,0,2
Current State: 61:[54, 98], Operations: ['44+6=50', '48+50=98']
Exploring Operation: 54*98=5292, Resulting Numbers: [5292]
5292,61 unequal: No Solution
Exploring Operation: 54+98=152, Resulting Numbers: [152]
152,61 unequal: No Solution
Exploring Operation: 98-54=44, Resulting Numbers: [44]
44,61 unequal: No Solution
Moving to Node #0,0,0
Current State: 61:[50, 102], Operations: ['44+6=50', '48+54=102']
Exploring Operation: 50*102=5100, Resulting Numbers: [5100]
5100,61 unequal: No Solution
Exploring Operation: 102-50=52, Resulting Numbers: [52]
52,61 unequal: No Solution
Exploring Operation: 50+102=152, Resulting Numbers: [152]
152,61 unequal: No Solution
Moving to Node #0,4,4
Current State: 61:[48, 104], Operations: ['6+54=60', '44+60=104']
Exploring Operation: 48*104=4992, Resulting Numbers: [4992]
4992,61 unequal: No Solution
Exploring Operation: 48+104=152, Resulting Numbers: [152]
152,61 unequal: No Solution
Exploring Operation: 104-48=56, Resulting Numbers: [56]
56,61 unequal: No Solution
Moving to Node #0,0,3
Current State: 61:[48, 104], Operations: ['44+6=50', '54+50=104']
Exploring Operation: 48*104=4992, Resulting Numbers: [4992]
4992,61 unequal: No Solution
Exploring Operation: 48+104=152, Resulting Numbers: [152]
152,61 unequal: No Solution
Exploring Operation: 104-48=56, Resulting Numbers: [56]
56,61 unequal: No Solution
Moving to Node #0,4,0
Current State: 61:[48, 16], Operations: ['6+54=60', '60-44=16']
Exploring Operation: 48-16=32, Resulting Numbers: [32]
32,61 unequal: No Solution
Exploring Operation: 48*16=768, Resulting Numbers: [768]
768,61 unequal: No Solution
Exploring Operation: 48/16=3, Resulting Numbers: [3]
3,61 unequal: No Solution
Exploring Operation: 48+16=64, Resulting Numbers: [64]
64,61 unequal: No Solution
Moving to Node #0,4,1
Current State: 61:[60, 4], Operations: ['6+54=60', '48-44=4']
Exploring Operation: 60*4=240, Resulting Numbers: [240]
240,61 unequal: No Solution
Exploring Operation: 60/4=15, Resulting Numbers: [15]
15,61 unequal: No Solution
Exploring Operation: 60+4=64, Resulting Numbers: [64]
64,61 unequal: No Solution
Exploring Operation: 60-4=56, Resulting Numbers: [56]
56,61 unequal: No Solution
Moving to Node #0,4,2
Current State: 61:[44, 108], Operations: ['6+54=60', '48+60=108']
Exploring Operation: 44*108=4752, Resulting Numbers: [4752]
4752,61 unequal: No Solution
Exploring Operation: 108-44=64, Resulting Numbers: [64]
64,61 unequal: No Solution
Exploring Operation: 44+108=152, Resulting Numbers: [152]
152,61 unequal: No Solution
Moving to Node #0,0,4
Current State: 61:[54, 2], Operations: ['44+6=50', '50-48=2']
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,61 unequal: No Solution
Exploring Operation: 54+2=56, Resulting Numbers: [56]
56,61 unequal: No Solution
Exploring Operation: 54*2=108, Resulting Numbers: [108]
108,61 unequal: No Solution
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,61 unequal: No Solution
Moving to Node #0,0,1
Current State: 61:[50, 6], Operations: ['44+6=50', '54-48=6']
Exploring Operation: 50*6=300, Resulting Numbers: [300]
300,61 unequal: No Solution
Exploring Operation: 50-6=44, Resulting Numbers: [44]
44,61 unequal: No Solution
Exploring Operation: 50+6=56, Resulting Numbers: [56]
56,61 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
36,
16,
73,
28
] | 81 | [
"36-16=20",
"73+28=101",
"101-20=81"
] | Current State: 81:[36, 16, 73, 28], Operations: []
Exploring Operation: 36-16=20, Resulting Numbers: [73, 28, 20]
Generated Node #2: [73, 28, 20] from Operation: 36-16=20
Current State: 81:[73, 28, 20], Operations: ['36-16=20']
Exploring Operation: 73+28=101, Resulting Numbers: [20, 101]
Generated Node #3: [20, 101] from Operation: 73+28=101
Current State: 81:[20, 101], Operations: ['36-16=20', '73+28=101']
Exploring Operation: 101-20=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[36, 16, 73, 28], Operations: []
Exploring Operation: 36-28=8, Resulting Numbers: [16, 73, 8]
Generated Node #0,0: 81:[16, 73, 8] Operation: 36-28=8
Exploring Operation: 73-36=37, Resulting Numbers: [16, 28, 37]
Generated Node #0,1: 81:[16, 28, 37] Operation: 73-36=37
Exploring Operation: 36-16=20, Resulting Numbers: [73, 28, 20]
Generated Node #0,2: 81:[73, 28, 20] Operation: 36-16=20
Moving to Node #0,0
Current State: 81:[16, 73, 8], Operations: ['36-28=8']
Exploring Operation: 16-8=8, Resulting Numbers: [73, 8]
Generated Node #0,0,0: 81:[73, 8] Operation: 16-8=8
Exploring Operation: 73+8=81, Resulting Numbers: [16, 81]
Generated Node #0,0,1: 81:[16, 81] Operation: 73+8=81
Exploring Operation: 16+73=89, Resulting Numbers: [8, 89]
Generated Node #0,0,2: 81:[8, 89] Operation: 16+73=89
Moving to Node #0,2
Current State: 81:[73, 28, 20], Operations: ['36-16=20']
Exploring Operation: 73+20=93, Resulting Numbers: [28, 93]
Generated Node #0,2,0: 81:[28, 93] Operation: 73+20=93
Exploring Operation: 73-28=45, Resulting Numbers: [20, 45]
Generated Node #0,2,1: 81:[20, 45] Operation: 73-28=45
Exploring Operation: 28-20=8, Resulting Numbers: [73, 8]
Generated Node #0,2,2: 81:[73, 8] Operation: 28-20=8
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 81:[73, 8], Operations: ['36-16=20', '28-20=8']
Exploring Operation: 73*8=584, Resulting Numbers: [584]
584,81 unequal: No Solution
Exploring Operation: 73-8=65, Resulting Numbers: [65]
65,81 unequal: No Solution
Exploring Operation: 73+8=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[36, 16, 73, 28], Operations: []
Exploring Operation: 36-16=20, Resulting Numbers: [73, 28, 20]
Generated Node #0,2: 81:[73, 28, 20] Operation: 36-16=20
Moving to Node #0,2
Current State: 81:[73, 28, 20], Operations: ['36-16=20']
Exploring Operation: 28-20=8, Resulting Numbers: [73, 8]
Generated Node #0,2,2: 81:[73, 8] Operation: 28-20=8
Moving to Node #0,2,2
Current State: 81:[73, 8], Operations: ['36-16=20', '28-20=8']
Exploring Operation: 73+8=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_3 | sum_heuristic |
[
20,
62,
13,
66
] | 67 | [
"66-62=4",
"20*4=80",
"80-13=67"
] | Current State: 67:[20, 62, 13, 66], Operations: []
Exploring Operation: 66-62=4, Resulting Numbers: [20, 13, 4]
Generated Node #2: [20, 13, 4] from Operation: 66-62=4
Current State: 67:[20, 13, 4], Operations: ['66-62=4']
Exploring Operation: 20*4=80, Resulting Numbers: [13, 80]
Generated Node #3: [13, 80] from Operation: 20*4=80
Current State: 67:[13, 80], Operations: ['66-62=4', '20*4=80']
Exploring Operation: 80-13=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[20, 62, 13, 66], Operations: []
Exploring Operation: 20+13=33, Resulting Numbers: [62, 66, 33]
Generated Node #0,0: 67:[62, 66, 33] Operation: 20+13=33
Exploring Operation: 62+13=75, Resulting Numbers: [20, 66, 75]
Generated Node #0,1: 67:[20, 66, 75] Operation: 62+13=75
Moving to Node #0,0
Current State: 67:[62, 66, 33], Operations: ['20+13=33']
Exploring Operation: 62+33=95, Resulting Numbers: [66, 95]
Generated Node #0,0,0: 67:[66, 95] Operation: 62+33=95
Exploring Operation: 66+33=99, Resulting Numbers: [62, 99]
Generated Node #0,0,1: 67:[62, 99] Operation: 66+33=99
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 67:[66, 95], Operations: ['20+13=33', '62+33=95']
Exploring Operation: 66+95=161, Resulting Numbers: [161]
161,67 unequal: No Solution
Exploring Operation: 95-66=29, Resulting Numbers: [29]
29,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 67:[62, 99], Operations: ['20+13=33', '66+33=99']
Exploring Operation: 99-62=37, Resulting Numbers: [37]
37,67 unequal: No Solution
Exploring Operation: 62+99=161, Resulting Numbers: [161]
161,67 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: 67:[20, 66, 75], Operations: ['62+13=75']
Exploring Operation: 75-20=55, Resulting Numbers: [66, 55]
Generated Node #0,1,0: 67:[66, 55] Operation: 75-20=55
Exploring Operation: 20+66=86, Resulting Numbers: [75, 86]
Generated Node #0,1,1: 67:[75, 86] Operation: 20+66=86
Moving to Node #0,1,0
Current State: 67:[66, 55], Operations: ['62+13=75', '75-20=55']
Exploring Operation: 66+55=121, Resulting Numbers: [121]
121,67 unequal: No Solution
Exploring Operation: 66-55=11, Resulting Numbers: [11]
11,67 unequal: No Solution
Moving to Node #0,1,1
Current State: 67:[75, 86], Operations: ['62+13=75', '20+66=86']
Exploring Operation: 75+86=161, Resulting Numbers: [161]
161,67 unequal: No Solution
Exploring Operation: 86-75=11, Resulting Numbers: [11]
11,67 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
79,
12,
4,
35
] | 23 | [
"79-35=44",
"44/4=11",
"12+11=23"
] | Current State: 23:[79, 12, 4, 35], Operations: []
Exploring Operation: 79-35=44, Resulting Numbers: [12, 4, 44]
Generated Node #2: [12, 4, 44] from Operation: 79-35=44
Current State: 23:[12, 4, 44], Operations: ['79-35=44']
Exploring Operation: 44/4=11, Resulting Numbers: [12, 11]
Generated Node #3: [12, 11] from Operation: 44/4=11
Current State: 23:[12, 11], Operations: ['79-35=44', '44/4=11']
Exploring Operation: 12+11=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[79, 12, 4, 35], Operations: []
Exploring Operation: 79-4=75, Resulting Numbers: [12, 35, 75]
Generated Node #0,0: 23:[12, 35, 75] Operation: 79-4=75
Exploring Operation: 12+4=16, Resulting Numbers: [79, 35, 16]
Generated Node #0,1: 23:[79, 35, 16] Operation: 12+4=16
Exploring Operation: 79-35=44, Resulting Numbers: [12, 4, 44]
Generated Node #0,2: 23:[12, 4, 44] Operation: 79-35=44
Exploring Operation: 79-12=67, Resulting Numbers: [4, 35, 67]
Generated Node #0,3: 23:[4, 35, 67] Operation: 79-12=67
Exploring Operation: 35-12=23, Resulting Numbers: [79, 4, 23]
Generated Node #0,4: 23:[79, 4, 23] Operation: 35-12=23
Start Sub Search at level 1: Moving to Node #0,2
Current State: 23:[12, 4, 44], Operations: ['79-35=44']
Exploring Operation: 44-4=40, Resulting Numbers: [12, 40]
Generated Node #0,2,0: 23:[12, 40] Operation: 44-4=40
Exploring Operation: 12-4=8, Resulting Numbers: [44, 8]
Generated Node #0,2,1: 23:[44, 8] Operation: 12-4=8
Exploring Operation: 12+4=16, Resulting Numbers: [44, 16]
Generated Node #0,2,2: 23:[44, 16] Operation: 12+4=16
Exploring Operation: 44-12=32, Resulting Numbers: [4, 32]
Generated Node #0,2,3: 23:[4, 32] Operation: 44-12=32
Exploring Operation: 44/4=11, Resulting Numbers: [12, 11]
Generated Node #0,2,4: 23:[12, 11] Operation: 44/4=11
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 23:[12, 11], Operations: ['79-35=44', '44/4=11']
Exploring Operation: 12*11=132, Resulting Numbers: [132]
132,23 unequal: No Solution
Exploring Operation: 12+11=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[79, 12, 4, 35], Operations: []
Exploring Operation: 79-35=44, Resulting Numbers: [12, 4, 44]
Generated Node #0,2: 23:[12, 4, 44] Operation: 79-35=44
Moving to Node #0,2
Current State: 23:[12, 4, 44], Operations: ['79-35=44']
Exploring Operation: 44/4=11, Resulting Numbers: [12, 11]
Generated Node #0,2,4: 23:[12, 11] Operation: 44/4=11
Moving to Node #0,2,4
Current State: 23:[12, 11], Operations: ['79-35=44', '44/4=11']
Exploring Operation: 12+11=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
70,
47,
51,
64
] | 10 | [
"70-47=23",
"64-51=13",
"23-13=10"
] | Current State: 10:[70, 47, 51, 64], Operations: []
Exploring Operation: 70-47=23, Resulting Numbers: [51, 64, 23]
Generated Node #2: [51, 64, 23] from Operation: 70-47=23
Current State: 10:[51, 64, 23], Operations: ['70-47=23']
Exploring Operation: 64-51=13, Resulting Numbers: [23, 13]
Generated Node #3: [23, 13] from Operation: 64-51=13
Current State: 10:[23, 13], Operations: ['70-47=23', '64-51=13']
Exploring Operation: 23-13=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[70, 47, 51, 64], Operations: []
Exploring Operation: 70-64=6, Resulting Numbers: [47, 51, 6]
Generated Node #0,0: 10:[47, 51, 6] Operation: 70-64=6
Exploring Operation: 70-51=19, Resulting Numbers: [47, 64, 19]
Generated Node #0,1: 10:[47, 64, 19] Operation: 70-51=19
Moving to Node #0,0
Current State: 10:[47, 51, 6], Operations: ['70-64=6']
Exploring Operation: 51-47=4, Resulting Numbers: [6, 4]
Generated Node #0,0,0: 10:[6, 4] Operation: 51-47=4
Exploring Operation: 47-6=41, Resulting Numbers: [51, 41]
Generated Node #0,0,1: 10:[51, 41] Operation: 47-6=41
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 10:[6, 4], Operations: ['70-64=6', '51-47=4']
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,10 unequal: No Solution
Exploring Operation: 6+4=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[70, 47, 51, 64], Operations: []
Exploring Operation: 70-64=6, Resulting Numbers: [47, 51, 6]
Generated Node #0,0: 10:[47, 51, 6] Operation: 70-64=6
Moving to Node #0,0
Current State: 10:[47, 51, 6], Operations: ['70-64=6']
Exploring Operation: 51-47=4, Resulting Numbers: [6, 4]
Generated Node #0,0,0: 10:[6, 4] Operation: 51-47=4
Moving to Node #0,0,0
Current State: 10:[6, 4], Operations: ['70-64=6', '51-47=4']
Exploring Operation: 6+4=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
80,
15,
87,
79
] | 87 | [
"80+15=95",
"87-79=8",
"95-8=87"
] | Current State: 87:[80, 15, 87, 79], Operations: []
Exploring Operation: 80+15=95, Resulting Numbers: [87, 79, 95]
Generated Node #2: [87, 79, 95] from Operation: 80+15=95
Current State: 87:[87, 79, 95], Operations: ['80+15=95']
Exploring Operation: 87-79=8, Resulting Numbers: [95, 8]
Generated Node #3: [95, 8] from Operation: 87-79=8
Current State: 87:[95, 8], Operations: ['80+15=95', '87-79=8']
Exploring Operation: 95-8=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[80, 15, 87, 79], Operations: []
Exploring Operation: 15+79=94, Resulting Numbers: [80, 87, 94]
Generated Node #0,0: 87:[80, 87, 94] Operation: 15+79=94
Exploring Operation: 80-79=1, Resulting Numbers: [15, 87, 1]
Generated Node #0,1: 87:[15, 87, 1] Operation: 80-79=1
Moving to Node #0,0
Current State: 87:[80, 87, 94], Operations: ['15+79=94']
Exploring Operation: 94-80=14, Resulting Numbers: [87, 14]
Generated Node #0,0,0: 87:[87, 14] Operation: 94-80=14
Exploring Operation: 87-80=7, Resulting Numbers: [94, 7]
Generated Node #0,0,1: 87:[94, 7] Operation: 87-80=7
Moving to Node #0,1
Current State: 87:[15, 87, 1], Operations: ['80-79=1']
Exploring Operation: 15*1=15, Resulting Numbers: [87, 15]
Generated Node #0,1,0: 87:[87, 15] Operation: 15*1=15
Exploring Operation: 15-1=14, Resulting Numbers: [87, 14]
Generated Node #0,1,1: 87:[87, 14] Operation: 15-1=14
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 87:[87, 14], Operations: ['80-79=1', '15-1=14']
Exploring Operation: 87-14=73, Resulting Numbers: [73]
73,87 unequal: No Solution
Exploring Operation: 87+14=101, Resulting Numbers: [101]
101,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:[87, 15], Operations: ['80-79=1', '15*1=15']
Exploring Operation: 87+15=102, Resulting Numbers: [102]
102,87 unequal: No Solution
Exploring Operation: 87-15=72, Resulting Numbers: [72]
72,87 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: 87:[87, 14], Operations: ['15+79=94', '94-80=14']
Exploring Operation: 87+14=101, Resulting Numbers: [101]
101,87 unequal: No Solution
Exploring Operation: 87-14=73, Resulting Numbers: [73]
73,87 unequal: No Solution
Moving to Node #0,0,1
Current State: 87:[94, 7], Operations: ['15+79=94', '87-80=7']
Exploring Operation: 94+7=101, Resulting Numbers: [101]
101,87 unequal: No Solution
Exploring Operation: 94-7=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[80, 15, 87, 79], Operations: []
Exploring Operation: 15+79=94, Resulting Numbers: [80, 87, 94]
Generated Node #0,0: 87:[80, 87, 94] Operation: 15+79=94
Moving to Node #0,0
Current State: 87:[80, 87, 94], Operations: ['15+79=94']
Exploring Operation: 87-80=7, Resulting Numbers: [94, 7]
Generated Node #0,0,1: 87:[94, 7] Operation: 87-80=7
Moving to Node #0,0,1
Current State: 87:[94, 7], Operations: ['15+79=94', '87-80=7']
Exploring Operation: 94-7=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 0.984375 | hs_2 | sum_heuristic |
[
95,
55,
47,
7
] | 49 | [
"95-55=40",
"47-40=7",
"7*7=49"
] | Current State: 49:[95, 55, 47, 7], Operations: []
Exploring Operation: 95-55=40, Resulting Numbers: [47, 7, 40]
Generated Node #2: [47, 7, 40] from Operation: 95-55=40
Current State: 49:[47, 7, 40], Operations: ['95-55=40']
Exploring Operation: 47-40=7, Resulting Numbers: [7, 7]
Generated Node #3: [7, 7] from Operation: 47-40=7
Current State: 49:[7, 7], Operations: ['95-55=40', '47-40=7']
Exploring Operation: 7*7=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[95, 55, 47, 7], Operations: []
Exploring Operation: 95-47=48, Resulting Numbers: [55, 7, 48]
Generated Node #0,0: 49:[55, 7, 48] Operation: 95-47=48
Exploring Operation: 55-7=48, Resulting Numbers: [95, 47, 48]
Generated Node #0,1: 49:[95, 47, 48] Operation: 55-7=48
Exploring Operation: 55-47=8, Resulting Numbers: [95, 7, 8]
Generated Node #0,2: 49:[95, 7, 8] Operation: 55-47=8
Exploring Operation: 95-7=88, Resulting Numbers: [55, 47, 88]
Generated Node #0,3: 49:[55, 47, 88] Operation: 95-7=88
Exploring Operation: 95-55=40, Resulting Numbers: [47, 7, 40]
Generated Node #0,4: 49:[47, 7, 40] Operation: 95-55=40
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[55, 7, 48], Operations: ['95-47=48']
Exploring Operation: 7+48=55, Resulting Numbers: [55, 55]
Generated Node #0,0,0: 49:[55, 55] Operation: 7+48=55
Exploring Operation: 55-7=48, Resulting Numbers: [48, 48]
Generated Node #0,0,1: 49:[48, 48] Operation: 55-7=48
Exploring Operation: 55-48=7, Resulting Numbers: [7, 7]
Generated Node #0,0,2: 49:[7, 7] Operation: 55-48=7
Exploring Operation: 55+7=62, Resulting Numbers: [48, 62]
Generated Node #0,0,3: 49:[48, 62] Operation: 55+7=62
Exploring Operation: 48-7=41, Resulting Numbers: [55, 41]
Generated Node #0,0,4: 49:[55, 41] Operation: 48-7=41
Moving to Node #0,0,2
Current State: 49:[7, 7], Operations: ['95-47=48', '55-48=7']
Exploring Operation: 7*7=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[95, 55, 47, 7], Operations: []
Exploring Operation: 95-47=48, Resulting Numbers: [55, 7, 48]
Generated Node #0,0: 49:[55, 7, 48] Operation: 95-47=48
Moving to Node #0,0
Current State: 49:[55, 7, 48], Operations: ['95-47=48']
Exploring Operation: 55-48=7, Resulting Numbers: [7, 7]
Generated Node #0,0,2: 49:[7, 7] Operation: 55-48=7
Moving to Node #0,0,2
Current State: 49:[7, 7], Operations: ['95-47=48', '55-48=7']
Exploring Operation: 7*7=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
34,
17,
59,
49
] | 69 | [
"34/17=2",
"59*2=118",
"118-49=69"
] | Current State: 69:[34, 17, 59, 49], Operations: []
Exploring Operation: 34/17=2, Resulting Numbers: [59, 49, 2]
Generated Node #2: [59, 49, 2] from Operation: 34/17=2
Current State: 69:[59, 49, 2], Operations: ['34/17=2']
Exploring Operation: 59*2=118, Resulting Numbers: [49, 118]
Generated Node #3: [49, 118] from Operation: 59*2=118
Current State: 69:[49, 118], Operations: ['34/17=2', '59*2=118']
Exploring Operation: 118-49=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[34, 17, 59, 49], Operations: []
Exploring Operation: 49-34=15, Resulting Numbers: [17, 59, 15]
Generated Node #0,0: 69:[17, 59, 15] Operation: 49-34=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[17, 59, 15], Operations: ['49-34=15']
Exploring Operation: 17-15=2, Resulting Numbers: [59, 2]
Generated Node #0,0,0: 69:[59, 2] Operation: 17-15=2
Moving to Node #0,0,0
Current State: 69:[59, 2], Operations: ['49-34=15', '17-15=2']
Exploring Operation: 59+2=61, Resulting Numbers: [61]
61,69 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 |
[
71,
72,
20,
64
] | 83 | [
"72-71=1",
"20+64=84",
"84-1=83"
] | Current State: 83:[71, 72, 20, 64], Operations: []
Exploring Operation: 72-71=1, Resulting Numbers: [20, 64, 1]
Generated Node #2: [20, 64, 1] from Operation: 72-71=1
Current State: 83:[20, 64, 1], Operations: ['72-71=1']
Exploring Operation: 20+64=84, Resulting Numbers: [1, 84]
Generated Node #3: [1, 84] from Operation: 20+64=84
Current State: 83:[1, 84], Operations: ['72-71=1', '20+64=84']
Exploring Operation: 84-1=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[71, 72, 20, 64], Operations: []
Exploring Operation: 20+64=84, Resulting Numbers: [71, 72, 84]
Generated Node #0,0: 83:[71, 72, 84] Operation: 20+64=84
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[71, 72, 84], Operations: ['20+64=84']
Exploring Operation: 71+72=143, Resulting Numbers: [84, 143]
Generated Node #0,0,0: 83:[84, 143] Operation: 71+72=143
Moving to Node #0,0,0
Current State: 83:[84, 143], Operations: ['20+64=84', '71+72=143']
Exploring Operation: 143-84=59, Resulting Numbers: [59]
59,83 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 |
[
10,
30,
51,
55
] | 70 | [
"55-51=4",
"10*4=40",
"30+40=70"
] | Current State: 70:[10, 30, 51, 55], Operations: []
Exploring Operation: 55-51=4, Resulting Numbers: [10, 30, 4]
Generated Node #2: [10, 30, 4] from Operation: 55-51=4
Current State: 70:[10, 30, 4], Operations: ['55-51=4']
Exploring Operation: 10*4=40, Resulting Numbers: [30, 40]
Generated Node #3: [30, 40] from Operation: 10*4=40
Current State: 70:[30, 40], Operations: ['55-51=4', '10*4=40']
Exploring Operation: 30+40=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[10, 30, 51, 55], Operations: []
Exploring Operation: 55-51=4, Resulting Numbers: [10, 30, 4]
Generated Node #0,0: 70:[10, 30, 4] Operation: 55-51=4
Exploring Operation: 10+55=65, Resulting Numbers: [30, 51, 65]
Generated Node #0,1: 70:[30, 51, 65] Operation: 10+55=65
Exploring Operation: 30+51=81, Resulting Numbers: [10, 55, 81]
Generated Node #0,2: 70:[10, 55, 81] Operation: 30+51=81
Exploring Operation: 51-10=41, Resulting Numbers: [30, 55, 41]
Generated Node #0,3: 70:[30, 55, 41] Operation: 51-10=41
Exploring Operation: 51-30=21, Resulting Numbers: [10, 55, 21]
Generated Node #0,4: 70:[10, 55, 21] Operation: 51-30=21
Moving to Node #0,0
Current State: 70:[10, 30, 4], Operations: ['55-51=4']
Exploring Operation: 30+4=34, Resulting Numbers: [10, 34]
Generated Node #0,0,0: 70:[10, 34] Operation: 30+4=34
Exploring Operation: 10+4=14, Resulting Numbers: [30, 14]
Generated Node #0,0,1: 70:[30, 14] Operation: 10+4=14
Exploring Operation: 30/10=3, Resulting Numbers: [4, 3]
Generated Node #0,0,2: 70:[4, 3] Operation: 30/10=3
Exploring Operation: 10-4=6, Resulting Numbers: [30, 6]
Generated Node #0,0,3: 70:[30, 6] Operation: 10-4=6
Exploring Operation: 10+30=40, Resulting Numbers: [4, 40]
Generated Node #0,0,4: 70:[4, 40] Operation: 10+30=40
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 70:[10, 34], Operations: ['55-51=4', '30+4=34']
Exploring Operation: 34-10=24, Resulting Numbers: [24]
24,70 unequal: No Solution
Exploring Operation: 10+34=44, Resulting Numbers: [44]
44,70 unequal: No Solution
Exploring Operation: 10*34=340, Resulting Numbers: [340]
340,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,2
Current State: 70:[4, 3], Operations: ['55-51=4', '30/10=3']
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,70 unequal: No Solution
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,70 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,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,1
Current State: 70:[30, 14], Operations: ['55-51=4', '10+4=14']
Exploring Operation: 30*14=420, Resulting Numbers: [420]
420,70 unequal: No Solution
Exploring Operation: 30-14=16, Resulting Numbers: [16]
16,70 unequal: No Solution
Exploring Operation: 30+14=44, Resulting Numbers: [44]
44,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,3
Current State: 70:[30, 6], Operations: ['55-51=4', '10-4=6']
Exploring Operation: 30+6=36, Resulting Numbers: [36]
36,70 unequal: No Solution
Exploring Operation: 30-6=24, Resulting Numbers: [24]
24,70 unequal: No Solution
Exploring Operation: 30/6=5, Resulting Numbers: [5]
5,70 unequal: No Solution
Exploring Operation: 30*6=180, Resulting Numbers: [180]
180,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:[4, 40], Operations: ['55-51=4', '10+30=40']
Exploring Operation: 4+40=44, Resulting Numbers: [44]
44,70 unequal: No Solution
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,70 unequal: No Solution
Exploring Operation: 4*40=160, Resulting Numbers: [160]
160,70 unequal: No Solution
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,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:[10, 55, 21], Operations: ['51-30=21']
Exploring Operation: 10+55=65, Resulting Numbers: [21, 65]
Generated Node #0,4,0: 70:[21, 65] Operation: 10+55=65
Exploring Operation: 21-10=11, Resulting Numbers: [55, 11]
Generated Node #0,4,1: 70:[55, 11] Operation: 21-10=11
Exploring Operation: 55-21=34, Resulting Numbers: [10, 34]
Generated Node #0,4,2: 70:[10, 34] Operation: 55-21=34
Exploring Operation: 55-10=45, Resulting Numbers: [21, 45]
Generated Node #0,4,3: 70:[21, 45] Operation: 55-10=45
Exploring Operation: 55+21=76, Resulting Numbers: [10, 76]
Generated Node #0,4,4: 70:[10, 76] Operation: 55+21=76
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 70:[10, 34], Operations: ['51-30=21', '55-21=34']
Exploring Operation: 10+34=44, Resulting Numbers: [44]
44,70 unequal: No Solution
Exploring Operation: 10*34=340, Resulting Numbers: [340]
340,70 unequal: No Solution
Exploring Operation: 34-10=24, Resulting Numbers: [24]
24,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,4,4
Current State: 70:[10, 76], Operations: ['51-30=21', '55+21=76']
Exploring Operation: 10*76=760, Resulting Numbers: [760]
760,70 unequal: No Solution
Exploring Operation: 10+76=86, Resulting Numbers: [86]
86,70 unequal: No Solution
Exploring Operation: 76-10=66, Resulting Numbers: [66]
66,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,4,0
Current State: 70:[21, 65], Operations: ['51-30=21', '10+55=65']
Exploring Operation: 65-21=44, Resulting Numbers: [44]
44,70 unequal: No Solution
Exploring Operation: 21+65=86, Resulting Numbers: [86]
86,70 unequal: No Solution
Exploring Operation: 21*65=1365, Resulting Numbers: [1365]
1365,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,4,1
Current State: 70:[55, 11], Operations: ['51-30=21', '21-10=11']
Exploring Operation: 55/11=5, Resulting Numbers: [5]
5,70 unequal: No Solution
Exploring Operation: 55+11=66, Resulting Numbers: [66]
66,70 unequal: No Solution
Exploring Operation: 55*11=605, Resulting Numbers: [605]
605,70 unequal: No Solution
Exploring Operation: 55-11=44, Resulting Numbers: [44]
44,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,4,3
Current State: 70:[21, 45], Operations: ['51-30=21', '55-10=45']
Exploring Operation: 45-21=24, Resulting Numbers: [24]
24,70 unequal: No Solution
Exploring Operation: 21+45=66, Resulting Numbers: [66]
66,70 unequal: No Solution
Exploring Operation: 21*45=945, Resulting Numbers: [945]
945,70 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: 70:[30, 51, 65], Operations: ['10+55=65']
Exploring Operation: 65-30=35, Resulting Numbers: [51, 35]
Generated Node #0,1,0: 70:[51, 35] Operation: 65-30=35
Exploring Operation: 30+65=95, Resulting Numbers: [51, 95]
Generated Node #0,1,1: 70:[51, 95] Operation: 30+65=95
Exploring Operation: 51-30=21, Resulting Numbers: [65, 21]
Generated Node #0,1,2: 70:[65, 21] Operation: 51-30=21
Exploring Operation: 65-51=14, Resulting Numbers: [30, 14]
Generated Node #0,1,3: 70:[30, 14] Operation: 65-51=14
Exploring Operation: 30+51=81, Resulting Numbers: [65, 81]
Generated Node #0,1,4: 70:[65, 81] Operation: 30+51=81
Moving to Node #0,2
Current State: 70:[10, 55, 81], Operations: ['30+51=81']
Exploring Operation: 55-10=45, Resulting Numbers: [81, 45]
Generated Node #0,2,0: 70:[81, 45] Operation: 55-10=45
Exploring Operation: 10+81=91, Resulting Numbers: [55, 91]
Generated Node #0,2,1: 70:[55, 91] Operation: 10+81=91
Exploring Operation: 10+55=65, Resulting Numbers: [81, 65]
Generated Node #0,2,2: 70:[81, 65] Operation: 10+55=65
Exploring Operation: 81-55=26, Resulting Numbers: [10, 26]
Generated Node #0,2,3: 70:[10, 26] Operation: 81-55=26
Exploring Operation: 81-10=71, Resulting Numbers: [55, 71]
Generated Node #0,2,4: 70:[55, 71] Operation: 81-10=71
Moving to Node #0,3
Current State: 70:[30, 55, 41], Operations: ['51-10=41']
Exploring Operation: 55-30=25, Resulting Numbers: [41, 25]
Generated Node #0,3,0: 70:[41, 25] Operation: 55-30=25
Exploring Operation: 30+55=85, Resulting Numbers: [41, 85]
Generated Node #0,3,1: 70:[41, 85] Operation: 30+55=85
Exploring Operation: 55-41=14, Resulting Numbers: [30, 14]
Generated Node #0,3,2: 70:[30, 14] Operation: 55-41=14
Exploring Operation: 41-30=11, Resulting Numbers: [55, 11]
Generated Node #0,3,3: 70:[55, 11] Operation: 41-30=11
Exploring Operation: 30+41=71, Resulting Numbers: [55, 71]
Generated Node #0,3,4: 70:[55, 71] Operation: 30+41=71
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 70:[30, 14], Operations: ['51-10=41', '55-41=14']
Exploring Operation: 30-14=16, Resulting Numbers: [16]
16,70 unequal: No Solution
Exploring Operation: 30*14=420, Resulting Numbers: [420]
420,70 unequal: No Solution
Exploring Operation: 30+14=44, Resulting Numbers: [44]
44,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,3,0
Current State: 70:[41, 25], Operations: ['51-10=41', '55-30=25']
Exploring Operation: 41-25=16, Resulting Numbers: [16]
16,70 unequal: No Solution
Exploring Operation: 41*25=1025, Resulting Numbers: [1025]
1025,70 unequal: No Solution
Exploring Operation: 41+25=66, Resulting Numbers: [66]
66,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,3,3
Current State: 70:[55, 11], Operations: ['51-10=41', '41-30=11']
Exploring Operation: 55-11=44, Resulting Numbers: [44]
44,70 unequal: No Solution
Exploring Operation: 55+11=66, Resulting Numbers: [66]
66,70 unequal: No Solution
Exploring Operation: 55/11=5, Resulting Numbers: [5]
5,70 unequal: No Solution
Exploring Operation: 55*11=605, Resulting Numbers: [605]
605,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,3,4
Current State: 70:[55, 71], Operations: ['51-10=41', '30+41=71']
Exploring Operation: 71-55=16, Resulting Numbers: [16]
16,70 unequal: No Solution
Exploring Operation: 55+71=126, Resulting Numbers: [126]
126,70 unequal: No Solution
Exploring Operation: 55*71=3905, Resulting Numbers: [3905]
3905,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,3,1
Current State: 70:[41, 85], Operations: ['51-10=41', '30+55=85']
Exploring Operation: 41*85=3485, Resulting Numbers: [3485]
3485,70 unequal: No Solution
Exploring Operation: 41+85=126, Resulting Numbers: [126]
126,70 unequal: No Solution
Exploring Operation: 85-41=44, Resulting Numbers: [44]
44,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,3
Current State: 70:[30, 14], Operations: ['10+55=65', '65-51=14']
Exploring Operation: 30-14=16, Resulting Numbers: [16]
16,70 unequal: No Solution
Exploring Operation: 30*14=420, Resulting Numbers: [420]
420,70 unequal: No Solution
Exploring Operation: 30+14=44, Resulting Numbers: [44]
44,70 unequal: No Solution
Moving to Node #0,2,3
Current State: 70:[10, 26], Operations: ['30+51=81', '81-55=26']
Exploring Operation: 26-10=16, Resulting Numbers: [16]
16,70 unequal: No Solution
Exploring Operation: 10+26=36, Resulting Numbers: [36]
36,70 unequal: No Solution
Exploring Operation: 10*26=260, Resulting Numbers: [260]
260,70 unequal: No Solution
Moving to Node #0,1,2
Current State: 70:[65, 21], Operations: ['10+55=65', '51-30=21']
Exploring Operation: 65-21=44, Resulting Numbers: [44]
44,70 unequal: No Solution
Exploring Operation: 65*21=1365, Resulting Numbers: [1365]
1365,70 unequal: No Solution
Exploring Operation: 65+21=86, Resulting Numbers: [86]
86,70 unequal: No Solution
Moving to Node #0,2,2
Current State: 70:[81, 65], Operations: ['30+51=81', '10+55=65']
Exploring Operation: 81-65=16, Resulting Numbers: [16]
16,70 unequal: No Solution
Exploring Operation: 81+65=146, Resulting Numbers: [146]
146,70 unequal: No Solution
Exploring Operation: 81*65=5265, Resulting Numbers: [5265]
5265,70 unequal: No Solution
Moving to Node #0,1,0
Current State: 70:[51, 35], Operations: ['10+55=65', '65-30=35']
Exploring Operation: 51+35=86, Resulting Numbers: [86]
86,70 unequal: No Solution
Exploring Operation: 51-35=16, Resulting Numbers: [16]
16,70 unequal: No Solution
Exploring Operation: 51*35=1785, Resulting Numbers: [1785]
1785,70 unequal: No Solution
Moving to Node #0,1,4
Current State: 70:[65, 81], Operations: ['10+55=65', '30+51=81']
Exploring Operation: 81-65=16, Resulting Numbers: [16]
16,70 unequal: No Solution
Exploring Operation: 65+81=146, Resulting Numbers: [146]
146,70 unequal: No Solution
Exploring Operation: 65*81=5265, Resulting Numbers: [5265]
5265,70 unequal: No Solution
Moving to Node #0,2,4
Current State: 70:[55, 71], Operations: ['30+51=81', '81-10=71']
Exploring Operation: 71-55=16, Resulting Numbers: [16]
16,70 unequal: No Solution
Exploring Operation: 55*71=3905, Resulting Numbers: [3905]
3905,70 unequal: No Solution
Exploring Operation: 55+71=126, Resulting Numbers: [126]
126,70 unequal: No Solution
Moving to Node #0,2,0
Current State: 70:[81, 45], Operations: ['30+51=81', '55-10=45']
Exploring Operation: 81+45=126, Resulting Numbers: [126]
126,70 unequal: No Solution
Exploring Operation: 81-45=36, Resulting Numbers: [36]
36,70 unequal: No Solution
Exploring Operation: 81*45=3645, Resulting Numbers: [3645]
3645,70 unequal: No Solution
Moving to Node #0,2,1
Current State: 70:[55, 91], Operations: ['30+51=81', '10+81=91']
Exploring Operation: 91-55=36, Resulting Numbers: [36]
36,70 unequal: No Solution
Exploring Operation: 55+91=146, Resulting Numbers: [146]
146,70 unequal: No Solution
Exploring Operation: 55*91=5005, Resulting Numbers: [5005]
5005,70 unequal: No Solution
Moving to Node #0,1,1
Current State: 70:[51, 95], Operations: ['10+55=65', '30+65=95']
Exploring Operation: 51+95=146, Resulting Numbers: [146]
146,70 unequal: No Solution
Exploring Operation: 95-51=44, Resulting Numbers: [44]
44,70 unequal: No Solution
Exploring Operation: 51*95=4845, Resulting Numbers: [4845]
4845,70 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
82,
47,
96,
45
] | 34 | [
"47-45=2",
"96/2=48",
"82-48=34"
] | Current State: 34:[82, 47, 96, 45], Operations: []
Exploring Operation: 47-45=2, Resulting Numbers: [82, 96, 2]
Generated Node #2: [82, 96, 2] from Operation: 47-45=2
Current State: 34:[82, 96, 2], Operations: ['47-45=2']
Exploring Operation: 96/2=48, Resulting Numbers: [82, 48]
Generated Node #3: [82, 48] from Operation: 96/2=48
Current State: 34:[82, 48], Operations: ['47-45=2', '96/2=48']
Exploring Operation: 82-48=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[82, 47, 96, 45], Operations: []
Exploring Operation: 82-45=37, Resulting Numbers: [47, 96, 37]
Generated Node #0,0: 34:[47, 96, 37] Operation: 82-45=37
Exploring Operation: 96-47=49, Resulting Numbers: [82, 45, 49]
Generated Node #0,1: 34:[82, 45, 49] Operation: 96-47=49
Exploring Operation: 96-82=14, Resulting Numbers: [47, 45, 14]
Generated Node #0,2: 34:[47, 45, 14] Operation: 96-82=14
Exploring Operation: 82-47=35, Resulting Numbers: [96, 45, 35]
Generated Node #0,3: 34:[96, 45, 35] Operation: 82-47=35
Start Sub Search at level 1: Moving to Node #0,2
Current State: 34:[47, 45, 14], Operations: ['96-82=14']
Exploring Operation: 45-14=31, Resulting Numbers: [47, 31]
Generated Node #0,2,0: 34:[47, 31] Operation: 45-14=31
Exploring Operation: 47+14=61, Resulting Numbers: [45, 61]
Generated Node #0,2,1: 34:[45, 61] Operation: 47+14=61
Exploring Operation: 47-45=2, Resulting Numbers: [14, 2]
Generated Node #0,2,2: 34:[14, 2] Operation: 47-45=2
Exploring Operation: 47-14=33, Resulting Numbers: [45, 33]
Generated Node #0,2,3: 34:[45, 33] Operation: 47-14=33
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 34:[14, 2], Operations: ['96-82=14', '47-45=2']
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,34 unequal: No Solution
Exploring Operation: 14*2=28, Resulting Numbers: [28]
28,34 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,34 unequal: No Solution
Exploring Operation: 14+2=16, Resulting Numbers: [16]
16,34 unequal: No Solution
No 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: 34:[45, 33], Operations: ['96-82=14', '47-14=33']
Exploring Operation: 45*33=1485, Resulting Numbers: [1485]
1485,34 unequal: No Solution
Exploring Operation: 45-33=12, Resulting Numbers: [12]
12,34 unequal: No Solution
Exploring Operation: 45+33=78, Resulting Numbers: [78]
78,34 unequal: No Solution
No 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: 34:[47, 31], Operations: ['96-82=14', '45-14=31']
Exploring Operation: 47+31=78, Resulting Numbers: [78]
78,34 unequal: No Solution
Exploring Operation: 47-31=16, Resulting Numbers: [16]
16,34 unequal: No Solution
Exploring Operation: 47*31=1457, Resulting Numbers: [1457]
1457,34 unequal: No Solution
No 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: 34:[45, 61], Operations: ['96-82=14', '47+14=61']
Exploring Operation: 45*61=2745, Resulting Numbers: [2745]
2745,34 unequal: No Solution
Exploring Operation: 61-45=16, Resulting Numbers: [16]
16,34 unequal: No Solution
Exploring Operation: 45+61=106, Resulting Numbers: [106]
106,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 34:[82, 45, 49], Operations: ['96-47=49']
Exploring Operation: 82-49=33, Resulting Numbers: [45, 33]
Generated Node #0,1,0: 34:[45, 33] Operation: 82-49=33
Exploring Operation: 82+45=127, Resulting Numbers: [49, 127]
Generated Node #0,1,1: 34:[49, 127] Operation: 82+45=127
Exploring Operation: 82-45=37, Resulting Numbers: [49, 37]
Generated Node #0,1,2: 34:[49, 37] Operation: 82-45=37
Exploring Operation: 49-45=4, Resulting Numbers: [82, 4]
Generated Node #0,1,3: 34:[82, 4] Operation: 49-45=4
Moving to Node #0,1,0
Current State: 34:[45, 33], Operations: ['96-47=49', '82-49=33']
Exploring Operation: 45*33=1485, Resulting Numbers: [1485]
1485,34 unequal: No Solution
Exploring Operation: 45+33=78, Resulting Numbers: [78]
78,34 unequal: No Solution
Exploring Operation: 45-33=12, Resulting Numbers: [12]
12,34 unequal: No Solution
Moving to Node #0,1,2
Current State: 34:[49, 37], Operations: ['96-47=49', '82-45=37']
Exploring Operation: 49+37=86, Resulting Numbers: [86]
86,34 unequal: No Solution
Exploring Operation: 49*37=1813, Resulting Numbers: [1813]
1813,34 unequal: No Solution
Exploring Operation: 49-37=12, Resulting Numbers: [12]
12,34 unequal: No Solution
Moving to Node #0,1,3
Current State: 34:[82, 4], Operations: ['96-47=49', '49-45=4']
Exploring Operation: 82*4=328, Resulting Numbers: [328]
328,34 unequal: No Solution
Exploring Operation: 82+4=86, Resulting Numbers: [86]
86,34 unequal: No Solution
Exploring Operation: 82-4=78, Resulting Numbers: [78]
78,34 unequal: No Solution
Moving to Node #0,1,1
Current State: 34:[49, 127], Operations: ['96-47=49', '82+45=127']
Exploring Operation: 127-49=78, Resulting Numbers: [78]
78,34 unequal: No Solution
Exploring Operation: 49*127=6223, Resulting Numbers: [6223]
6223,34 unequal: No Solution
Exploring Operation: 49+127=176, Resulting Numbers: [176]
176,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,3
Current State: 34:[96, 45, 35], Operations: ['82-47=35']
Exploring Operation: 96-45=51, Resulting Numbers: [35, 51]
Generated Node #0,3,0: 34:[35, 51] Operation: 96-45=51
Exploring Operation: 96+45=141, Resulting Numbers: [35, 141]
Generated Node #0,3,1: 34:[35, 141] Operation: 96+45=141
Exploring Operation: 45-35=10, Resulting Numbers: [96, 10]
Generated Node #0,3,2: 34:[96, 10] Operation: 45-35=10
Exploring Operation: 96-35=61, Resulting Numbers: [45, 61]
Generated Node #0,3,3: 34:[45, 61] Operation: 96-35=61
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 34:[35, 51], Operations: ['82-47=35', '96-45=51']
Exploring Operation: 35*51=1785, Resulting Numbers: [1785]
1785,34 unequal: No Solution
Exploring Operation: 35+51=86, Resulting Numbers: [86]
86,34 unequal: No Solution
Exploring Operation: 51-35=16, Resulting Numbers: [16]
16,34 unequal: No Solution
No 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: 34:[45, 61], Operations: ['82-47=35', '96-35=61']
Exploring Operation: 45*61=2745, Resulting Numbers: [2745]
2745,34 unequal: No Solution
Exploring Operation: 45+61=106, Resulting Numbers: [106]
106,34 unequal: No Solution
Exploring Operation: 61-45=16, Resulting Numbers: [16]
16,34 unequal: No Solution
No 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: 34:[96, 10], Operations: ['82-47=35', '45-35=10']
Exploring Operation: 96+10=106, Resulting Numbers: [106]
106,34 unequal: No Solution
Exploring Operation: 96*10=960, Resulting Numbers: [960]
960,34 unequal: No Solution
Exploring Operation: 96-10=86, Resulting Numbers: [86]
86,34 unequal: No Solution
No 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: 34:[35, 141], Operations: ['82-47=35', '96+45=141']
Exploring Operation: 35+141=176, Resulting Numbers: [176]
176,34 unequal: No Solution
Exploring Operation: 35*141=4935, Resulting Numbers: [4935]
4935,34 unequal: No Solution
Exploring Operation: 141-35=106, Resulting Numbers: [106]
106,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[47, 96, 37], Operations: ['82-45=37']
Exploring Operation: 96-47=49, Resulting Numbers: [37, 49]
Generated Node #0,0,0: 34:[37, 49] Operation: 96-47=49
Exploring Operation: 47-37=10, Resulting Numbers: [96, 10]
Generated Node #0,0,1: 34:[96, 10] Operation: 47-37=10
Exploring Operation: 96-37=59, Resulting Numbers: [47, 59]
Generated Node #0,0,2: 34:[47, 59] Operation: 96-37=59
Exploring Operation: 47+96=143, Resulting Numbers: [37, 143]
Generated Node #0,0,3: 34:[37, 143] Operation: 47+96=143
Moving to Node #0,0,0
Current State: 34:[37, 49], Operations: ['82-45=37', '96-47=49']
Exploring Operation: 37*49=1813, Resulting Numbers: [1813]
1813,34 unequal: No Solution
Exploring Operation: 49-37=12, Resulting Numbers: [12]
12,34 unequal: No Solution
Exploring Operation: 37+49=86, Resulting Numbers: [86]
86,34 unequal: No Solution
Moving to Node #0,0,2
Current State: 34:[47, 59], Operations: ['82-45=37', '96-37=59']
Exploring Operation: 47*59=2773, Resulting Numbers: [2773]
2773,34 unequal: No Solution
Exploring Operation: 47+59=106, Resulting Numbers: [106]
106,34 unequal: No Solution
Exploring Operation: 59-47=12, Resulting Numbers: [12]
12,34 unequal: No Solution
Moving to Node #0,0,1
Current State: 34:[96, 10], Operations: ['82-45=37', '47-37=10']
Exploring Operation: 96*10=960, Resulting Numbers: [960]
960,34 unequal: No Solution
Exploring Operation: 96-10=86, Resulting Numbers: [86]
86,34 unequal: No Solution
Exploring Operation: 96+10=106, Resulting Numbers: [106]
106,34 unequal: No Solution
Moving to Node #0,0,3
Current State: 34:[37, 143], Operations: ['82-45=37', '47+96=143']
Exploring Operation: 143-37=106, Resulting Numbers: [106]
106,34 unequal: No Solution
Exploring Operation: 37*143=5291, Resulting Numbers: [5291]
5291,34 unequal: No Solution
Exploring Operation: 37+143=180, Resulting Numbers: [180]
180,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
12,
88,
10,
2
] | 72 | [
"12/2=6",
"88-10=78",
"78-6=72"
] | Current State: 72:[12, 88, 10, 2], Operations: []
Exploring Operation: 12/2=6, Resulting Numbers: [88, 10, 6]
Generated Node #2: [88, 10, 6] from Operation: 12/2=6
Current State: 72:[88, 10, 6], Operations: ['12/2=6']
Exploring Operation: 88-10=78, Resulting Numbers: [6, 78]
Generated Node #3: [6, 78] from Operation: 88-10=78
Current State: 72:[6, 78], Operations: ['12/2=6', '88-10=78']
Exploring Operation: 78-6=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[12, 88, 10, 2], Operations: []
Exploring Operation: 88-12=76, Resulting Numbers: [10, 2, 76]
Generated Node #0,0: 72:[10, 2, 76] Operation: 88-12=76
Exploring Operation: 88/2=44, Resulting Numbers: [12, 10, 44]
Generated Node #0,1: 72:[12, 10, 44] Operation: 88/2=44
Exploring Operation: 88-10=78, Resulting Numbers: [12, 2, 78]
Generated Node #0,2: 72:[12, 2, 78] Operation: 88-10=78
Moving to Node #0,0
Current State: 72:[10, 2, 76], Operations: ['88-12=76']
Exploring Operation: 76-2=74, Resulting Numbers: [10, 74]
Generated Node #0,0,0: 72:[10, 74] Operation: 76-2=74
Exploring Operation: 76/2=38, Resulting Numbers: [10, 38]
Generated Node #0,0,1: 72:[10, 38] Operation: 76/2=38
Exploring Operation: 10+2=12, Resulting Numbers: [76, 12]
Generated Node #0,0,2: 72:[76, 12] Operation: 10+2=12
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 72:[10, 74], Operations: ['88-12=76', '76-2=74']
Exploring Operation: 10*74=740, Resulting Numbers: [740]
740,72 unequal: No Solution
Exploring Operation: 74-10=64, Resulting Numbers: [64]
64,72 unequal: No Solution
Exploring Operation: 10+74=84, Resulting Numbers: [84]
84,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 72:[10, 38], Operations: ['88-12=76', '76/2=38']
Exploring Operation: 10*38=380, Resulting Numbers: [380]
380,72 unequal: No Solution
Exploring Operation: 38-10=28, Resulting Numbers: [28]
28,72 unequal: No Solution
Exploring Operation: 10+38=48, Resulting Numbers: [48]
48,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 72:[76, 12], Operations: ['88-12=76', '10+2=12']
Exploring Operation: 76-12=64, Resulting Numbers: [64]
64,72 unequal: No Solution
Exploring Operation: 76+12=88, Resulting Numbers: [88]
88,72 unequal: No Solution
Exploring Operation: 76*12=912, Resulting Numbers: [912]
912,72 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: 72:[12, 2, 78], Operations: ['88-10=78']
Exploring Operation: 78/2=39, Resulting Numbers: [12, 39]
Generated Node #0,2,0: 72:[12, 39] Operation: 78/2=39
Exploring Operation: 12*2=24, Resulting Numbers: [78, 24]
Generated Node #0,2,1: 72:[78, 24] Operation: 12*2=24
Exploring Operation: 78-2=76, Resulting Numbers: [12, 76]
Generated Node #0,2,2: 72:[12, 76] Operation: 78-2=76
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 72:[12, 39], Operations: ['88-10=78', '78/2=39']
Exploring Operation: 12+39=51, Resulting Numbers: [51]
51,72 unequal: No Solution
Exploring Operation: 12*39=468, Resulting Numbers: [468]
468,72 unequal: No Solution
Exploring Operation: 39-12=27, Resulting Numbers: [27]
27,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 72:[12, 76], Operations: ['88-10=78', '78-2=76']
Exploring Operation: 76-12=64, Resulting Numbers: [64]
64,72 unequal: No Solution
Exploring Operation: 12*76=912, Resulting Numbers: [912]
912,72 unequal: No Solution
Exploring Operation: 12+76=88, Resulting Numbers: [88]
88,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 72:[78, 24], Operations: ['88-10=78', '12*2=24']
Exploring Operation: 78+24=102, Resulting Numbers: [102]
102,72 unequal: No Solution
Exploring Operation: 78*24=1872, Resulting Numbers: [1872]
1872,72 unequal: No Solution
Exploring Operation: 78-24=54, Resulting Numbers: [54]
54,72 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: 72:[12, 10, 44], Operations: ['88/2=44']
Exploring Operation: 12-10=2, Resulting Numbers: [44, 2]
Generated Node #0,1,0: 72:[44, 2] Operation: 12-10=2
Exploring Operation: 44-12=32, Resulting Numbers: [10, 32]
Generated Node #0,1,1: 72:[10, 32] Operation: 44-12=32
Exploring Operation: 44-10=34, Resulting Numbers: [12, 34]
Generated Node #0,1,2: 72:[12, 34] Operation: 44-10=34
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 72:[12, 34], Operations: ['88/2=44', '44-10=34']
Exploring Operation: 34-12=22, Resulting Numbers: [22]
22,72 unequal: No Solution
Exploring Operation: 12*34=408, Resulting Numbers: [408]
408,72 unequal: No Solution
Exploring Operation: 12+34=46, Resulting Numbers: [46]
46,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 72:[10, 32], Operations: ['88/2=44', '44-12=32']
Exploring Operation: 10*32=320, Resulting Numbers: [320]
320,72 unequal: No Solution
Exploring Operation: 10+32=42, Resulting Numbers: [42]
42,72 unequal: No Solution
Exploring Operation: 32-10=22, Resulting Numbers: [22]
22,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 72:[44, 2], Operations: ['88/2=44', '12-10=2']
Exploring Operation: 44+2=46, Resulting Numbers: [46]
46,72 unequal: No Solution
Exploring Operation: 44/2=22, Resulting Numbers: [22]
22,72 unequal: No Solution
Exploring Operation: 44-2=42, Resulting Numbers: [42]
42,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
70,
22,
64,
63
] | 93 | [
"70+22=92",
"64-63=1",
"92+1=93"
] | Current State: 93:[70, 22, 64, 63], Operations: []
Exploring Operation: 70+22=92, Resulting Numbers: [64, 63, 92]
Generated Node #2: [64, 63, 92] from Operation: 70+22=92
Current State: 93:[64, 63, 92], Operations: ['70+22=92']
Exploring Operation: 64-63=1, Resulting Numbers: [92, 1]
Generated Node #3: [92, 1] from Operation: 64-63=1
Current State: 93:[92, 1], Operations: ['70+22=92', '64-63=1']
Exploring Operation: 92+1=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[70, 22, 64, 63], Operations: []
Exploring Operation: 64-63=1, Resulting Numbers: [70, 22, 1]
Generated Node #0,0: 93:[70, 22, 1] Operation: 64-63=1
Exploring Operation: 70-63=7, Resulting Numbers: [22, 64, 7]
Generated Node #0,1: 93:[22, 64, 7] Operation: 70-63=7
Exploring Operation: 70-64=6, Resulting Numbers: [22, 63, 6]
Generated Node #0,2: 93:[22, 63, 6] Operation: 70-64=6
Moving to Node #0,0
Current State: 93:[70, 22, 1], Operations: ['64-63=1']
Exploring Operation: 70-22=48, Resulting Numbers: [1, 48]
Generated Node #0,0,0: 93:[1, 48] Operation: 70-22=48
Exploring Operation: 70+1=71, Resulting Numbers: [22, 71]
Generated Node #0,0,1: 93:[22, 71] Operation: 70+1=71
Exploring Operation: 70+22=92, Resulting Numbers: [1, 92]
Generated Node #0,0,2: 93:[1, 92] Operation: 70+22=92
Moving to Node #0,1
Current State: 93:[22, 64, 7], Operations: ['70-63=7']
Exploring Operation: 22+7=29, Resulting Numbers: [64, 29]
Generated Node #0,1,0: 93:[64, 29] Operation: 22+7=29
Exploring Operation: 64-22=42, Resulting Numbers: [7, 42]
Generated Node #0,1,1: 93:[7, 42] Operation: 64-22=42
Exploring Operation: 22+64=86, Resulting Numbers: [7, 86]
Generated Node #0,1,2: 93:[7, 86] Operation: 22+64=86
Moving to Node #0,2
Current State: 93:[22, 63, 6], Operations: ['70-64=6']
Exploring Operation: 22+63=85, Resulting Numbers: [6, 85]
Generated Node #0,2,0: 93:[6, 85] Operation: 22+63=85
Exploring Operation: 22+6=28, Resulting Numbers: [63, 28]
Generated Node #0,2,1: 93:[63, 28] Operation: 22+6=28
Exploring Operation: 63-22=41, Resulting Numbers: [6, 41]
Generated Node #0,2,2: 93:[6, 41] Operation: 63-22=41
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 93:[6, 85], Operations: ['70-64=6', '22+63=85']
Exploring Operation: 6*85=510, Resulting Numbers: [510]
510,93 unequal: No Solution
Exploring Operation: 85-6=79, Resulting Numbers: [79]
79,93 unequal: No Solution
Exploring Operation: 6+85=91, Resulting Numbers: [91]
91,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 93:[6, 41], Operations: ['70-64=6', '63-22=41']
Exploring Operation: 6*41=246, Resulting Numbers: [246]
246,93 unequal: No Solution
Exploring Operation: 6+41=47, Resulting Numbers: [47]
47,93 unequal: No Solution
Exploring Operation: 41-6=35, Resulting Numbers: [35]
35,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 93:[63, 28], Operations: ['70-64=6', '22+6=28']
Exploring Operation: 63-28=35, Resulting Numbers: [35]
35,93 unequal: No Solution
Exploring Operation: 63+28=91, Resulting Numbers: [91]
91,93 unequal: No Solution
Exploring Operation: 63*28=1764, Resulting Numbers: [1764]
1764,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,2
Current State: 93:[1, 92], Operations: ['64-63=1', '70+22=92']
Exploring Operation: 1*92=92, Resulting Numbers: [92]
92,93 unequal: No Solution
Exploring Operation: 92/1=92, Resulting Numbers: [92]
92,93 unequal: No Solution
Exploring Operation: 1+92=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[70, 22, 64, 63], Operations: []
Exploring Operation: 64-63=1, Resulting Numbers: [70, 22, 1]
Generated Node #0,0: 93:[70, 22, 1] Operation: 64-63=1
Moving to Node #0,0
Current State: 93:[70, 22, 1], Operations: ['64-63=1']
Exploring Operation: 70+22=92, Resulting Numbers: [1, 92]
Generated Node #0,0,2: 93:[1, 92] Operation: 70+22=92
Moving to Node #0,0,2
Current State: 93:[1, 92], Operations: ['64-63=1', '70+22=92']
Exploring Operation: 1+92=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 0.975694 | hs_3 | sum_heuristic |
[
49,
28,
54,
45
] | 61 | [
"49-45=4",
"28/4=7",
"54+7=61"
] | Current State: 61:[49, 28, 54, 45], Operations: []
Exploring Operation: 49-45=4, Resulting Numbers: [28, 54, 4]
Generated Node #2: [28, 54, 4] from Operation: 49-45=4
Current State: 61:[28, 54, 4], Operations: ['49-45=4']
Exploring Operation: 28/4=7, Resulting Numbers: [54, 7]
Generated Node #3: [54, 7] from Operation: 28/4=7
Current State: 61:[54, 7], Operations: ['49-45=4', '28/4=7']
Exploring Operation: 54+7=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[49, 28, 54, 45], Operations: []
Exploring Operation: 49-28=21, Resulting Numbers: [54, 45, 21]
Generated Node #0,0: 61:[54, 45, 21] Operation: 49-28=21
Exploring Operation: 28+45=73, Resulting Numbers: [49, 54, 73]
Generated Node #0,1: 61:[49, 54, 73] Operation: 28+45=73
Exploring Operation: 49+28=77, Resulting Numbers: [54, 45, 77]
Generated Node #0,2: 61:[54, 45, 77] Operation: 49+28=77
Exploring Operation: 28+54=82, Resulting Numbers: [49, 45, 82]
Generated Node #0,3: 61:[49, 45, 82] Operation: 28+54=82
Moving to Node #0,1
Current State: 61:[49, 54, 73], Operations: ['28+45=73']
Exploring Operation: 73-49=24, Resulting Numbers: [54, 24]
Generated Node #0,1,0: 61:[54, 24] Operation: 73-49=24
Exploring Operation: 54-49=5, Resulting Numbers: [73, 5]
Generated Node #0,1,1: 61:[73, 5] Operation: 54-49=5
Exploring Operation: 49+54=103, Resulting Numbers: [73, 103]
Generated Node #0,1,2: 61:[73, 103] Operation: 49+54=103
Exploring Operation: 73-54=19, Resulting Numbers: [49, 19]
Generated Node #0,1,3: 61:[49, 19] Operation: 73-54=19
Moving to Node #0,2
Current State: 61:[54, 45, 77], Operations: ['49+28=77']
Exploring Operation: 54+45=99, Resulting Numbers: [77, 99]
Generated Node #0,2,0: 61:[77, 99] Operation: 54+45=99
Exploring Operation: 77-54=23, Resulting Numbers: [45, 23]
Generated Node #0,2,1: 61:[45, 23] Operation: 77-54=23
Exploring Operation: 54-45=9, Resulting Numbers: [77, 9]
Generated Node #0,2,2: 61:[77, 9] Operation: 54-45=9
Exploring Operation: 77-45=32, Resulting Numbers: [54, 32]
Generated Node #0,2,3: 61:[54, 32] Operation: 77-45=32
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 61:[54, 32], Operations: ['49+28=77', '77-45=32']
Exploring Operation: 54+32=86, Resulting Numbers: [86]
86,61 unequal: No Solution
Exploring Operation: 54*32=1728, Resulting Numbers: [1728]
1728,61 unequal: No Solution
Exploring Operation: 54-32=22, Resulting Numbers: [22]
22,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 61:[77, 99], Operations: ['49+28=77', '54+45=99']
Exploring Operation: 77+99=176, Resulting Numbers: [176]
176,61 unequal: No Solution
Exploring Operation: 99-77=22, Resulting Numbers: [22]
22,61 unequal: No Solution
Exploring Operation: 77*99=7623, Resulting Numbers: [7623]
7623,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 61:[45, 23], Operations: ['49+28=77', '77-54=23']
Exploring Operation: 45+23=68, Resulting Numbers: [68]
68,61 unequal: No Solution
Exploring Operation: 45*23=1035, Resulting Numbers: [1035]
1035,61 unequal: No Solution
Exploring Operation: 45-23=22, Resulting Numbers: [22]
22,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 61:[77, 9], Operations: ['49+28=77', '54-45=9']
Exploring Operation: 77*9=693, Resulting Numbers: [693]
693,61 unequal: No Solution
Exploring Operation: 77-9=68, Resulting Numbers: [68]
68,61 unequal: No Solution
Exploring Operation: 77+9=86, Resulting Numbers: [86]
86,61 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: 61:[49, 45, 82], Operations: ['28+54=82']
Exploring Operation: 49-45=4, Resulting Numbers: [82, 4]
Generated Node #0,3,0: 61:[82, 4] Operation: 49-45=4
Exploring Operation: 82-45=37, Resulting Numbers: [49, 37]
Generated Node #0,3,1: 61:[49, 37] Operation: 82-45=37
Exploring Operation: 82-49=33, Resulting Numbers: [45, 33]
Generated Node #0,3,2: 61:[45, 33] Operation: 82-49=33
Exploring Operation: 49+45=94, Resulting Numbers: [82, 94]
Generated Node #0,3,3: 61:[82, 94] Operation: 49+45=94
Moving to Node #0,0
Current State: 61:[54, 45, 21], Operations: ['49-28=21']
Exploring Operation: 45+21=66, Resulting Numbers: [54, 66]
Generated Node #0,0,0: 61:[54, 66] Operation: 45+21=66
Exploring Operation: 54-21=33, Resulting Numbers: [45, 33]
Generated Node #0,0,1: 61:[45, 33] Operation: 54-21=33
Exploring Operation: 54+21=75, Resulting Numbers: [45, 75]
Generated Node #0,0,2: 61:[45, 75] Operation: 54+21=75
Exploring Operation: 45-21=24, Resulting Numbers: [54, 24]
Generated Node #0,0,3: 61:[54, 24] Operation: 45-21=24
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 61:[54, 66], Operations: ['49-28=21', '45+21=66']
Exploring Operation: 54+66=120, Resulting Numbers: [120]
120,61 unequal: No Solution
Exploring Operation: 66-54=12, Resulting Numbers: [12]
12,61 unequal: No Solution
Exploring Operation: 54*66=3564, Resulting Numbers: [3564]
3564,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,0,2
Current State: 61:[45, 75], Operations: ['49-28=21', '54+21=75']
Exploring Operation: 75-45=30, Resulting Numbers: [30]
30,61 unequal: No Solution
Exploring Operation: 45*75=3375, Resulting Numbers: [3375]
3375,61 unequal: No Solution
Exploring Operation: 45+75=120, Resulting Numbers: [120]
120,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,0,1
Current State: 61:[45, 33], Operations: ['49-28=21', '54-21=33']
Exploring Operation: 45-33=12, Resulting Numbers: [12]
12,61 unequal: No Solution
Exploring Operation: 45+33=78, Resulting Numbers: [78]
78,61 unequal: No Solution
Exploring Operation: 45*33=1485, Resulting Numbers: [1485]
1485,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,0,3
Current State: 61:[54, 24], Operations: ['49-28=21', '45-21=24']
Exploring Operation: 54*24=1296, Resulting Numbers: [1296]
1296,61 unequal: No Solution
Exploring Operation: 54-24=30, Resulting Numbers: [30]
30,61 unequal: No Solution
Exploring Operation: 54+24=78, Resulting Numbers: [78]
78,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,1
Current State: 61:[49, 37], Operations: ['28+54=82', '82-45=37']
Exploring Operation: 49-37=12, Resulting Numbers: [12]
12,61 unequal: No Solution
Exploring Operation: 49+37=86, Resulting Numbers: [86]
86,61 unequal: No Solution
Exploring Operation: 49*37=1813, Resulting Numbers: [1813]
1813,61 unequal: No Solution
Moving to Node #0,3,2
Current State: 61:[45, 33], Operations: ['28+54=82', '82-49=33']
Exploring Operation: 45+33=78, Resulting Numbers: [78]
78,61 unequal: No Solution
Exploring Operation: 45-33=12, Resulting Numbers: [12]
12,61 unequal: No Solution
Exploring Operation: 45*33=1485, Resulting Numbers: [1485]
1485,61 unequal: No Solution
Moving to Node #0,1,0
Current State: 61:[54, 24], Operations: ['28+45=73', '73-49=24']
Exploring Operation: 54+24=78, Resulting Numbers: [78]
78,61 unequal: No Solution
Exploring Operation: 54-24=30, Resulting Numbers: [30]
30,61 unequal: No Solution
Exploring Operation: 54*24=1296, Resulting Numbers: [1296]
1296,61 unequal: No Solution
Moving to Node #0,3,3
Current State: 61:[82, 94], Operations: ['28+54=82', '49+45=94']
Exploring Operation: 82+94=176, Resulting Numbers: [176]
176,61 unequal: No Solution
Exploring Operation: 94-82=12, Resulting Numbers: [12]
12,61 unequal: No Solution
Exploring Operation: 82*94=7708, Resulting Numbers: [7708]
7708,61 unequal: No Solution
Moving to Node #0,1,3
Current State: 61:[49, 19], Operations: ['28+45=73', '73-54=19']
Exploring Operation: 49*19=931, Resulting Numbers: [931]
931,61 unequal: No Solution
Exploring Operation: 49+19=68, Resulting Numbers: [68]
68,61 unequal: No Solution
Exploring Operation: 49-19=30, Resulting Numbers: [30]
30,61 unequal: No Solution
Moving to Node #0,1,2
Current State: 61:[73, 103], Operations: ['28+45=73', '49+54=103']
Exploring Operation: 73*103=7519, Resulting Numbers: [7519]
7519,61 unequal: No Solution
Exploring Operation: 73+103=176, Resulting Numbers: [176]
176,61 unequal: No Solution
Exploring Operation: 103-73=30, Resulting Numbers: [30]
30,61 unequal: No Solution
Moving to Node #0,1,1
Current State: 61:[73, 5], Operations: ['28+45=73', '54-49=5']
Exploring Operation: 73+5=78, Resulting Numbers: [78]
78,61 unequal: No Solution
Exploring Operation: 73-5=68, Resulting Numbers: [68]
68,61 unequal: No Solution
Exploring Operation: 73*5=365, Resulting Numbers: [365]
365,61 unequal: No Solution
Moving to Node #0,3,0
Current State: 61:[82, 4], Operations: ['28+54=82', '49-45=4']
Exploring Operation: 82+4=86, Resulting Numbers: [86]
86,61 unequal: No Solution
Exploring Operation: 82*4=328, Resulting Numbers: [328]
328,61 unequal: No Solution
Exploring Operation: 82-4=78, Resulting Numbers: [78]
78,61 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
12,
52,
94,
14
] | 73 | [
"14-12=2",
"52+94=146",
"146/2=73"
] | Current State: 73:[12, 52, 94, 14], Operations: []
Exploring Operation: 14-12=2, Resulting Numbers: [52, 94, 2]
Generated Node #2: [52, 94, 2] from Operation: 14-12=2
Current State: 73:[52, 94, 2], Operations: ['14-12=2']
Exploring Operation: 52+94=146, Resulting Numbers: [2, 146]
Generated Node #3: [2, 146] from Operation: 52+94=146
Current State: 73:[2, 146], Operations: ['14-12=2', '52+94=146']
Exploring Operation: 146/2=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[12, 52, 94, 14], Operations: []
Exploring Operation: 94-14=80, Resulting Numbers: [12, 52, 80]
Generated Node #0,0: 73:[12, 52, 80] Operation: 94-14=80
Exploring Operation: 12+52=64, Resulting Numbers: [94, 14, 64]
Generated Node #0,1: 73:[94, 14, 64] Operation: 12+52=64
Exploring Operation: 52+14=66, Resulting Numbers: [12, 94, 66]
Generated Node #0,2: 73:[12, 94, 66] Operation: 52+14=66
Exploring Operation: 94-12=82, Resulting Numbers: [52, 14, 82]
Generated Node #0,3: 73:[52, 14, 82] Operation: 94-12=82
Exploring Operation: 12+14=26, Resulting Numbers: [52, 94, 26]
Generated Node #0,4: 73:[52, 94, 26] Operation: 12+14=26
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[12, 52, 80], Operations: ['94-14=80']
Exploring Operation: 80-12=68, Resulting Numbers: [52, 68]
Generated Node #0,0,0: 73:[52, 68] Operation: 80-12=68
Exploring Operation: 52-12=40, Resulting Numbers: [80, 40]
Generated Node #0,0,1: 73:[80, 40] Operation: 52-12=40
Exploring Operation: 12+80=92, Resulting Numbers: [52, 92]
Generated Node #0,0,2: 73:[52, 92] Operation: 12+80=92
Exploring Operation: 12+52=64, Resulting Numbers: [80, 64]
Generated Node #0,0,3: 73:[80, 64] Operation: 12+52=64
Exploring Operation: 80-52=28, Resulting Numbers: [12, 28]
Generated Node #0,0,4: 73:[12, 28] Operation: 80-52=28
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 73:[80, 64], Operations: ['94-14=80', '12+52=64']
Exploring Operation: 80+64=144, Resulting Numbers: [144]
144,73 unequal: No Solution
Exploring Operation: 80-64=16, Resulting Numbers: [16]
16,73 unequal: No Solution
Exploring Operation: 80*64=5120, Resulting Numbers: [5120]
5120,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,0
Current State: 73:[52, 68], Operations: ['94-14=80', '80-12=68']
Exploring Operation: 52+68=120, Resulting Numbers: [120]
120,73 unequal: No Solution
Exploring Operation: 52*68=3536, Resulting Numbers: [3536]
3536,73 unequal: No Solution
Exploring Operation: 68-52=16, Resulting Numbers: [16]
16,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:[80, 40], Operations: ['94-14=80', '52-12=40']
Exploring Operation: 80/40=2, Resulting Numbers: [2]
2,73 unequal: No Solution
Exploring Operation: 80*40=3200, Resulting Numbers: [3200]
3200,73 unequal: No Solution
Exploring Operation: 80-40=40, Resulting Numbers: [40]
40,73 unequal: No Solution
Exploring Operation: 80+40=120, Resulting Numbers: [120]
120,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,2
Current State: 73:[52, 92], Operations: ['94-14=80', '12+80=92']
Exploring Operation: 52*92=4784, Resulting Numbers: [4784]
4784,73 unequal: No Solution
Exploring Operation: 92-52=40, Resulting Numbers: [40]
40,73 unequal: No Solution
Exploring Operation: 52+92=144, Resulting Numbers: [144]
144,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,4
Current State: 73:[12, 28], Operations: ['94-14=80', '80-52=28']
Exploring Operation: 12+28=40, Resulting Numbers: [40]
40,73 unequal: No Solution
Exploring Operation: 28-12=16, Resulting Numbers: [16]
16,73 unequal: No Solution
Exploring Operation: 12*28=336, Resulting Numbers: [336]
336,73 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: 73:[94, 14, 64], Operations: ['12+52=64']
Exploring Operation: 64-14=50, Resulting Numbers: [94, 50]
Generated Node #0,1,0: 73:[94, 50] Operation: 64-14=50
Exploring Operation: 94-14=80, Resulting Numbers: [64, 80]
Generated Node #0,1,1: 73:[64, 80] Operation: 94-14=80
Exploring Operation: 14+64=78, Resulting Numbers: [94, 78]
Generated Node #0,1,2: 73:[94, 78] Operation: 14+64=78
Exploring Operation: 94-64=30, Resulting Numbers: [14, 30]
Generated Node #0,1,3: 73:[14, 30] Operation: 94-64=30
Exploring Operation: 94+14=108, Resulting Numbers: [64, 108]
Generated Node #0,1,4: 73:[64, 108] Operation: 94+14=108
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 73:[64, 80], Operations: ['12+52=64', '94-14=80']
Exploring Operation: 80-64=16, Resulting Numbers: [16]
16,73 unequal: No Solution
Exploring Operation: 64*80=5120, Resulting Numbers: [5120]
5120,73 unequal: No Solution
Exploring Operation: 64+80=144, Resulting Numbers: [144]
144,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,1,2
Current State: 73:[94, 78], Operations: ['12+52=64', '14+64=78']
Exploring Operation: 94-78=16, Resulting Numbers: [16]
16,73 unequal: No Solution
Exploring Operation: 94+78=172, Resulting Numbers: [172]
172,73 unequal: No Solution
Exploring Operation: 94*78=7332, Resulting Numbers: [7332]
7332,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,1,0
Current State: 73:[94, 50], Operations: ['12+52=64', '64-14=50']
Exploring Operation: 94+50=144, Resulting Numbers: [144]
144,73 unequal: No Solution
Exploring Operation: 94*50=4700, Resulting Numbers: [4700]
4700,73 unequal: No Solution
Exploring Operation: 94-50=44, Resulting Numbers: [44]
44,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,1,4
Current State: 73:[64, 108], Operations: ['12+52=64', '94+14=108']
Exploring Operation: 108-64=44, Resulting Numbers: [44]
44,73 unequal: No Solution
Exploring Operation: 64*108=6912, Resulting Numbers: [6912]
6912,73 unequal: No Solution
Exploring Operation: 64+108=172, Resulting Numbers: [172]
172,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,1,3
Current State: 73:[14, 30], Operations: ['12+52=64', '94-64=30']
Exploring Operation: 14*30=420, Resulting Numbers: [420]
420,73 unequal: No Solution
Exploring Operation: 30-14=16, Resulting Numbers: [16]
16,73 unequal: No Solution
Exploring Operation: 14+30=44, Resulting Numbers: [44]
44,73 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: 73:[12, 94, 66], Operations: ['52+14=66']
Exploring Operation: 94-12=82, Resulting Numbers: [66, 82]
Generated Node #0,2,0: 73:[66, 82] Operation: 94-12=82
Exploring Operation: 94-66=28, Resulting Numbers: [12, 28]
Generated Node #0,2,1: 73:[12, 28] Operation: 94-66=28
Exploring Operation: 12+66=78, Resulting Numbers: [94, 78]
Generated Node #0,2,2: 73:[94, 78] Operation: 12+66=78
Exploring Operation: 66-12=54, Resulting Numbers: [94, 54]
Generated Node #0,2,3: 73:[94, 54] Operation: 66-12=54
Exploring Operation: 12+94=106, Resulting Numbers: [66, 106]
Generated Node #0,2,4: 73:[66, 106] Operation: 12+94=106
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 73:[66, 82], Operations: ['52+14=66', '94-12=82']
Exploring Operation: 66+82=148, Resulting Numbers: [148]
148,73 unequal: No Solution
Exploring Operation: 82-66=16, Resulting Numbers: [16]
16,73 unequal: No Solution
Exploring Operation: 66*82=5412, Resulting Numbers: [5412]
5412,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,2,2
Current State: 73:[94, 78], Operations: ['52+14=66', '12+66=78']
Exploring Operation: 94-78=16, Resulting Numbers: [16]
16,73 unequal: No Solution
Exploring Operation: 94*78=7332, Resulting Numbers: [7332]
7332,73 unequal: No Solution
Exploring Operation: 94+78=172, Resulting Numbers: [172]
172,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,2,3
Current State: 73:[94, 54], Operations: ['52+14=66', '66-12=54']
Exploring Operation: 94-54=40, Resulting Numbers: [40]
40,73 unequal: No Solution
Exploring Operation: 94+54=148, Resulting Numbers: [148]
148,73 unequal: No Solution
Exploring Operation: 94*54=5076, Resulting Numbers: [5076]
5076,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,2,4
Current State: 73:[66, 106], Operations: ['52+14=66', '12+94=106']
Exploring Operation: 106-66=40, Resulting Numbers: [40]
40,73 unequal: No Solution
Exploring Operation: 66*106=6996, Resulting Numbers: [6996]
6996,73 unequal: No Solution
Exploring Operation: 66+106=172, Resulting Numbers: [172]
172,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,2,1
Current State: 73:[12, 28], Operations: ['52+14=66', '94-66=28']
Exploring Operation: 28-12=16, Resulting Numbers: [16]
16,73 unequal: No Solution
Exploring Operation: 12*28=336, Resulting Numbers: [336]
336,73 unequal: No Solution
Exploring Operation: 12+28=40, Resulting Numbers: [40]
40,73 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: 73:[52, 14, 82], Operations: ['94-12=82']
Exploring Operation: 82-52=30, Resulting Numbers: [14, 30]
Generated Node #0,3,0: 73:[14, 30] Operation: 82-52=30
Exploring Operation: 82-14=68, Resulting Numbers: [52, 68]
Generated Node #0,3,1: 73:[52, 68] Operation: 82-14=68
Exploring Operation: 14+82=96, Resulting Numbers: [52, 96]
Generated Node #0,3,2: 73:[52, 96] Operation: 14+82=96
Exploring Operation: 52+14=66, Resulting Numbers: [82, 66]
Generated Node #0,3,3: 73:[82, 66] Operation: 52+14=66
Exploring Operation: 52-14=38, Resulting Numbers: [82, 38]
Generated Node #0,3,4: 73:[82, 38] Operation: 52-14=38
Moving to Node #0,3,3
Current State: 73:[82, 66], Operations: ['94-12=82', '52+14=66']
Exploring Operation: 82+66=148, Resulting Numbers: [148]
148,73 unequal: No Solution
Exploring Operation: 82-66=16, Resulting Numbers: [16]
16,73 unequal: No Solution
Exploring Operation: 82*66=5412, Resulting Numbers: [5412]
5412,73 unequal: No Solution
Moving to Node #0,3,1
Current State: 73:[52, 68], Operations: ['94-12=82', '82-14=68']
Exploring Operation: 52*68=3536, Resulting Numbers: [3536]
3536,73 unequal: No Solution
Exploring Operation: 68-52=16, Resulting Numbers: [16]
16,73 unequal: No Solution
Exploring Operation: 52+68=120, Resulting Numbers: [120]
120,73 unequal: No Solution
Moving to Node #0,3,2
Current State: 73:[52, 96], Operations: ['94-12=82', '14+82=96']
Exploring Operation: 52*96=4992, Resulting Numbers: [4992]
4992,73 unequal: No Solution
Exploring Operation: 96-52=44, Resulting Numbers: [44]
44,73 unequal: No Solution
Exploring Operation: 52+96=148, Resulting Numbers: [148]
148,73 unequal: No Solution
Moving to Node #0,3,4
Current State: 73:[82, 38], Operations: ['94-12=82', '52-14=38']
Exploring Operation: 82-38=44, Resulting Numbers: [44]
44,73 unequal: No Solution
Exploring Operation: 82+38=120, Resulting Numbers: [120]
120,73 unequal: No Solution
Exploring Operation: 82*38=3116, Resulting Numbers: [3116]
3116,73 unequal: No Solution
Moving to Node #0,3,0
Current State: 73:[14, 30], Operations: ['94-12=82', '82-52=30']
Exploring Operation: 30-14=16, Resulting Numbers: [16]
16,73 unequal: No Solution
Exploring Operation: 14+30=44, Resulting Numbers: [44]
44,73 unequal: No Solution
Exploring Operation: 14*30=420, Resulting Numbers: [420]
420,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,4
Current State: 73:[52, 94, 26], Operations: ['12+14=26']
Exploring Operation: 94+26=120, Resulting Numbers: [52, 120]
Generated Node #0,4,0: 73:[52, 120] Operation: 94+26=120
Exploring Operation: 94-52=42, Resulting Numbers: [26, 42]
Generated Node #0,4,1: 73:[26, 42] Operation: 94-52=42
Exploring Operation: 52+26=78, Resulting Numbers: [94, 78]
Generated Node #0,4,2: 73:[94, 78] Operation: 52+26=78
Exploring Operation: 52-26=26, Resulting Numbers: [94, 26]
Generated Node #0,4,3: 73:[94, 26] Operation: 52-26=26
Exploring Operation: 94-26=68, Resulting Numbers: [52, 68]
Generated Node #0,4,4: 73:[52, 68] Operation: 94-26=68
Moving to Node #0,4,2
Current State: 73:[94, 78], Operations: ['12+14=26', '52+26=78']
Exploring Operation: 94+78=172, Resulting Numbers: [172]
172,73 unequal: No Solution
Exploring Operation: 94*78=7332, Resulting Numbers: [7332]
7332,73 unequal: No Solution
Exploring Operation: 94-78=16, Resulting Numbers: [16]
16,73 unequal: No Solution
Moving to Node #0,4,4
Current State: 73:[52, 68], Operations: ['12+14=26', '94-26=68']
Exploring Operation: 52+68=120, Resulting Numbers: [120]
120,73 unequal: No Solution
Exploring Operation: 52*68=3536, Resulting Numbers: [3536]
3536,73 unequal: No Solution
Exploring Operation: 68-52=16, Resulting Numbers: [16]
16,73 unequal: No Solution
Moving to Node #0,4,0
Current State: 73:[52, 120], Operations: ['12+14=26', '94+26=120']
Exploring Operation: 120-52=68, Resulting Numbers: [68]
68,73 unequal: No Solution
Exploring Operation: 52*120=6240, Resulting Numbers: [6240]
6240,73 unequal: No Solution
Exploring Operation: 52+120=172, Resulting Numbers: [172]
172,73 unequal: No Solution
Moving to Node #0,4,3
Current State: 73:[94, 26], Operations: ['12+14=26', '52-26=26']
Exploring Operation: 94-26=68, Resulting Numbers: [68]
68,73 unequal: No Solution
Exploring Operation: 94+26=120, Resulting Numbers: [120]
120,73 unequal: No Solution
Exploring Operation: 94*26=2444, Resulting Numbers: [2444]
2444,73 unequal: No Solution
Moving to Node #0,4,1
Current State: 73:[26, 42], Operations: ['12+14=26', '94-52=42']
Exploring Operation: 42-26=16, Resulting Numbers: [16]
16,73 unequal: No Solution
Exploring Operation: 26*42=1092, Resulting Numbers: [1092]
1092,73 unequal: No Solution
Exploring Operation: 26+42=68, Resulting Numbers: [68]
68,73 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 |
[
25,
6,
67,
15
] | 48 | [
"67-25=42",
"6*15=90",
"90-42=48"
] | Current State: 48:[25, 6, 67, 15], Operations: []
Exploring Operation: 67-25=42, Resulting Numbers: [6, 15, 42]
Generated Node #2: [6, 15, 42] from Operation: 67-25=42
Current State: 48:[6, 15, 42], Operations: ['67-25=42']
Exploring Operation: 6*15=90, Resulting Numbers: [42, 90]
Generated Node #3: [42, 90] from Operation: 6*15=90
Current State: 48:[42, 90], Operations: ['67-25=42', '6*15=90']
Exploring Operation: 90-42=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[25, 6, 67, 15], Operations: []
Exploring Operation: 67-15=52, Resulting Numbers: [25, 6, 52]
Generated Node #0,0: 48:[25, 6, 52] Operation: 67-15=52
Exploring Operation: 25-15=10, Resulting Numbers: [6, 67, 10]
Generated Node #0,1: 48:[6, 67, 10] Operation: 25-15=10
Exploring Operation: 15-6=9, Resulting Numbers: [25, 67, 9]
Generated Node #0,2: 48:[25, 67, 9] Operation: 15-6=9
Exploring Operation: 67-6=61, Resulting Numbers: [25, 15, 61]
Generated Node #0,3: 48:[25, 15, 61] Operation: 67-6=61
Exploring Operation: 67-25=42, Resulting Numbers: [6, 15, 42]
Generated Node #0,4: 48:[6, 15, 42] Operation: 67-25=42
Moving to Node #0,0
Current State: 48:[25, 6, 52], Operations: ['67-15=52']
Exploring Operation: 52-25=27, Resulting Numbers: [6, 27]
Generated Node #0,0,0: 48:[6, 27] Operation: 52-25=27
Exploring Operation: 25-6=19, Resulting Numbers: [52, 19]
Generated Node #0,0,1: 48:[52, 19] Operation: 25-6=19
Exploring Operation: 52-6=46, Resulting Numbers: [25, 46]
Generated Node #0,0,2: 48:[25, 46] Operation: 52-6=46
Exploring Operation: 6+52=58, Resulting Numbers: [25, 58]
Generated Node #0,0,3: 48:[25, 58] Operation: 6+52=58
Exploring Operation: 25+6=31, Resulting Numbers: [52, 31]
Generated Node #0,0,4: 48:[52, 31] Operation: 25+6=31
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 48:[6, 27], Operations: ['67-15=52', '52-25=27']
Exploring Operation: 6+27=33, Resulting Numbers: [33]
33,48 unequal: No Solution
Exploring Operation: 6*27=162, Resulting Numbers: [162]
162,48 unequal: No Solution
Exploring Operation: 27-6=21, Resulting Numbers: [21]
21,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 48:[25, 46], Operations: ['67-15=52', '52-6=46']
Exploring Operation: 25*46=1150, Resulting Numbers: [1150]
1150,48 unequal: No Solution
Exploring Operation: 46-25=21, Resulting Numbers: [21]
21,48 unequal: No Solution
Exploring Operation: 25+46=71, Resulting Numbers: [71]
71,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 48:[52, 19], Operations: ['67-15=52', '25-6=19']
Exploring Operation: 52*19=988, Resulting Numbers: [988]
988,48 unequal: No Solution
Exploring Operation: 52-19=33, Resulting Numbers: [33]
33,48 unequal: No Solution
Exploring Operation: 52+19=71, Resulting Numbers: [71]
71,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 48:[25, 58], Operations: ['67-15=52', '6+52=58']
Exploring Operation: 25+58=83, Resulting Numbers: [83]
83,48 unequal: No Solution
Exploring Operation: 58-25=33, Resulting Numbers: [33]
33,48 unequal: No Solution
Exploring Operation: 25*58=1450, Resulting Numbers: [1450]
1450,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 48:[52, 31], Operations: ['67-15=52', '25+6=31']
Exploring Operation: 52+31=83, Resulting Numbers: [83]
83,48 unequal: No Solution
Exploring Operation: 52*31=1612, Resulting Numbers: [1612]
1612,48 unequal: No Solution
Exploring Operation: 52-31=21, Resulting Numbers: [21]
21,48 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: 48:[6, 15, 42], Operations: ['67-25=42']
Exploring Operation: 6+42=48, Resulting Numbers: [15, 48]
Generated Node #0,4,0: 48:[15, 48] Operation: 6+42=48
Exploring Operation: 42-15=27, Resulting Numbers: [6, 27]
Generated Node #0,4,1: 48:[6, 27] Operation: 42-15=27
Exploring Operation: 6+15=21, Resulting Numbers: [42, 21]
Generated Node #0,4,2: 48:[42, 21] Operation: 6+15=21
Exploring Operation: 42/6=7, Resulting Numbers: [15, 7]
Generated Node #0,4,3: 48:[15, 7] Operation: 42/6=7
Exploring Operation: 15-6=9, Resulting Numbers: [42, 9]
Generated Node #0,4,4: 48:[42, 9] Operation: 15-6=9
Moving to Node #0,3
Current State: 48:[25, 15, 61], Operations: ['67-6=61']
Exploring Operation: 61-25=36, Resulting Numbers: [15, 36]
Generated Node #0,3,0: 48:[15, 36] Operation: 61-25=36
Exploring Operation: 15+61=76, Resulting Numbers: [25, 76]
Generated Node #0,3,1: 48:[25, 76] Operation: 15+61=76
Exploring Operation: 61-15=46, Resulting Numbers: [25, 46]
Generated Node #0,3,2: 48:[25, 46] Operation: 61-15=46
Exploring Operation: 25+15=40, Resulting Numbers: [61, 40]
Generated Node #0,3,3: 48:[61, 40] Operation: 25+15=40
Exploring Operation: 25-15=10, Resulting Numbers: [61, 10]
Generated Node #0,3,4: 48:[61, 10] Operation: 25-15=10
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 48:[25, 46], Operations: ['67-6=61', '61-15=46']
Exploring Operation: 46-25=21, Resulting Numbers: [21]
21,48 unequal: No Solution
Exploring Operation: 25+46=71, Resulting Numbers: [71]
71,48 unequal: No Solution
Exploring Operation: 25*46=1150, Resulting Numbers: [1150]
1150,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,0
Current State: 48:[15, 36], Operations: ['67-6=61', '61-25=36']
Exploring Operation: 36-15=21, Resulting Numbers: [21]
21,48 unequal: No Solution
Exploring Operation: 15*36=540, Resulting Numbers: [540]
540,48 unequal: No Solution
Exploring Operation: 15+36=51, Resulting Numbers: [51]
51,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,4
Current State: 48:[61, 10], Operations: ['67-6=61', '25-15=10']
Exploring Operation: 61-10=51, Resulting Numbers: [51]
51,48 unequal: No Solution
Exploring Operation: 61+10=71, Resulting Numbers: [71]
71,48 unequal: No Solution
Exploring Operation: 61*10=610, Resulting Numbers: [610]
610,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:[61, 40], Operations: ['67-6=61', '25+15=40']
Exploring Operation: 61+40=101, Resulting Numbers: [101]
101,48 unequal: No Solution
Exploring Operation: 61*40=2440, Resulting Numbers: [2440]
2440,48 unequal: No Solution
Exploring Operation: 61-40=21, Resulting Numbers: [21]
21,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,1
Current State: 48:[25, 76], Operations: ['67-6=61', '15+61=76']
Exploring Operation: 25+76=101, Resulting Numbers: [101]
101,48 unequal: No Solution
Exploring Operation: 25*76=1900, Resulting Numbers: [1900]
1900,48 unequal: No Solution
Exploring Operation: 76-25=51, Resulting Numbers: [51]
51,48 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: 48:[6, 67, 10], Operations: ['25-15=10']
Exploring Operation: 6+10=16, Resulting Numbers: [67, 16]
Generated Node #0,1,0: 48:[67, 16] Operation: 6+10=16
Exploring Operation: 67-10=57, Resulting Numbers: [6, 57]
Generated Node #0,1,1: 48:[6, 57] Operation: 67-10=57
Exploring Operation: 10-6=4, Resulting Numbers: [67, 4]
Generated Node #0,1,2: 48:[67, 4] Operation: 10-6=4
Exploring Operation: 6+67=73, Resulting Numbers: [10, 73]
Generated Node #0,1,3: 48:[10, 73] Operation: 6+67=73
Exploring Operation: 67-6=61, Resulting Numbers: [10, 61]
Generated Node #0,1,4: 48:[10, 61] Operation: 67-6=61
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 48:[6, 57], Operations: ['25-15=10', '67-10=57']
Exploring Operation: 57-6=51, Resulting Numbers: [51]
51,48 unequal: No Solution
Exploring Operation: 6+57=63, Resulting Numbers: [63]
63,48 unequal: No Solution
Exploring Operation: 6*57=342, Resulting Numbers: [342]
342,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,4
Current State: 48:[10, 61], Operations: ['25-15=10', '67-6=61']
Exploring Operation: 10+61=71, Resulting Numbers: [71]
71,48 unequal: No Solution
Exploring Operation: 10*61=610, Resulting Numbers: [610]
610,48 unequal: No Solution
Exploring Operation: 61-10=51, Resulting Numbers: [51]
51,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,0
Current State: 48:[67, 16], Operations: ['25-15=10', '6+10=16']
Exploring Operation: 67-16=51, Resulting Numbers: [51]
51,48 unequal: No Solution
Exploring Operation: 67+16=83, Resulting Numbers: [83]
83,48 unequal: No Solution
Exploring Operation: 67*16=1072, Resulting Numbers: [1072]
1072,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,2
Current State: 48:[67, 4], Operations: ['25-15=10', '10-6=4']
Exploring Operation: 67*4=268, Resulting Numbers: [268]
268,48 unequal: No Solution
Exploring Operation: 67-4=63, Resulting Numbers: [63]
63,48 unequal: No Solution
Exploring Operation: 67+4=71, Resulting Numbers: [71]
71,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,3
Current State: 48:[10, 73], Operations: ['25-15=10', '6+67=73']
Exploring Operation: 73-10=63, Resulting Numbers: [63]
63,48 unequal: No Solution
Exploring Operation: 10+73=83, Resulting Numbers: [83]
83,48 unequal: No Solution
Exploring Operation: 10*73=730, Resulting Numbers: [730]
730,48 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: 48:[25, 67, 9], Operations: ['15-6=9']
Exploring Operation: 67-25=42, Resulting Numbers: [9, 42]
Generated Node #0,2,0: 48:[9, 42] Operation: 67-25=42
Exploring Operation: 67+9=76, Resulting Numbers: [25, 76]
Generated Node #0,2,1: 48:[25, 76] Operation: 67+9=76
Exploring Operation: 25+9=34, Resulting Numbers: [67, 34]
Generated Node #0,2,2: 48:[67, 34] Operation: 25+9=34
Exploring Operation: 67-9=58, Resulting Numbers: [25, 58]
Generated Node #0,2,3: 48:[25, 58] Operation: 67-9=58
Exploring Operation: 25-9=16, Resulting Numbers: [67, 16]
Generated Node #0,2,4: 48:[67, 16] Operation: 25-9=16
Moving to Node #0,4,0
Current State: 48:[15, 48], Operations: ['67-25=42', '6+42=48']
Exploring Operation: 48-15=33, Resulting Numbers: [33]
33,48 unequal: No Solution
Exploring Operation: 15+48=63, Resulting Numbers: [63]
63,48 unequal: No Solution
Exploring Operation: 15*48=720, Resulting Numbers: [720]
720,48 unequal: No Solution
Moving to Node #0,4,3
Current State: 48:[15, 7], Operations: ['67-25=42', '42/6=7']
Exploring Operation: 15*7=105, Resulting Numbers: [105]
105,48 unequal: No Solution
Exploring Operation: 15-7=8, Resulting Numbers: [8]
8,48 unequal: No Solution
Exploring Operation: 15+7=22, Resulting Numbers: [22]
22,48 unequal: No Solution
Moving to Node #0,4,1
Current State: 48:[6, 27], Operations: ['67-25=42', '42-15=27']
Exploring Operation: 27-6=21, Resulting Numbers: [21]
21,48 unequal: No Solution
Exploring Operation: 6+27=33, Resulting Numbers: [33]
33,48 unequal: No Solution
Exploring Operation: 6*27=162, Resulting Numbers: [162]
162,48 unequal: No Solution
Moving to Node #0,2,0
Current State: 48:[9, 42], Operations: ['15-6=9', '67-25=42']
Exploring Operation: 9+42=51, Resulting Numbers: [51]
51,48 unequal: No Solution
Exploring Operation: 42-9=33, Resulting Numbers: [33]
33,48 unequal: No Solution
Exploring Operation: 9*42=378, Resulting Numbers: [378]
378,48 unequal: No Solution
Moving to Node #0,4,4
Current State: 48:[42, 9], Operations: ['67-25=42', '15-6=9']
Exploring Operation: 42*9=378, Resulting Numbers: [378]
378,48 unequal: No Solution
Exploring Operation: 42+9=51, Resulting Numbers: [51]
51,48 unequal: No Solution
Exploring Operation: 42-9=33, Resulting Numbers: [33]
33,48 unequal: No Solution
Moving to Node #0,4,2
Current State: 48:[42, 21], Operations: ['67-25=42', '6+15=21']
Exploring Operation: 42+21=63, Resulting Numbers: [63]
63,48 unequal: No Solution
Exploring Operation: 42/21=2, Resulting Numbers: [2]
2,48 unequal: No Solution
Exploring Operation: 42-21=21, Resulting Numbers: [21]
21,48 unequal: No Solution
Exploring Operation: 42*21=882, Resulting Numbers: [882]
882,48 unequal: No Solution
Moving to Node #0,2,3
Current State: 48:[25, 58], Operations: ['15-6=9', '67-9=58']
Exploring Operation: 25*58=1450, Resulting Numbers: [1450]
1450,48 unequal: No Solution
Exploring Operation: 25+58=83, Resulting Numbers: [83]
83,48 unequal: No Solution
Exploring Operation: 58-25=33, Resulting Numbers: [33]
33,48 unequal: No Solution
Moving to Node #0,2,4
Current State: 48:[67, 16], Operations: ['15-6=9', '25-9=16']
Exploring Operation: 67*16=1072, Resulting Numbers: [1072]
1072,48 unequal: No Solution
Exploring Operation: 67-16=51, Resulting Numbers: [51]
51,48 unequal: No Solution
Exploring Operation: 67+16=83, Resulting Numbers: [83]
83,48 unequal: No Solution
Moving to Node #0,2,1
Current State: 48:[25, 76], Operations: ['15-6=9', '67+9=76']
Exploring Operation: 25*76=1900, Resulting Numbers: [1900]
1900,48 unequal: No Solution
Exploring Operation: 76-25=51, Resulting Numbers: [51]
51,48 unequal: No Solution
Exploring Operation: 25+76=101, Resulting Numbers: [101]
101,48 unequal: No Solution
Moving to Node #0,2,2
Current State: 48:[67, 34], Operations: ['15-6=9', '25+9=34']
Exploring Operation: 67-34=33, Resulting Numbers: [33]
33,48 unequal: No Solution
Exploring Operation: 67+34=101, Resulting Numbers: [101]
101,48 unequal: No Solution
Exploring Operation: 67*34=2278, Resulting Numbers: [2278]
2278,48 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.