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 |
|---|---|---|---|---|---|---|---|---|
[
9,
18,
50,
60
] | 70
|
[
"18/9=2",
"60*2=120",
"120-50=70"
] |
Current State: 70:[9, 18, 50, 60], Operations: []
Exploring Operation: 18/9=2, Resulting Numbers: [50, 60, 2]
Generated Node #2: [50, 60, 2] from Operation: 18/9=2
Current State: 70:[50, 60, 2], Operations: ['18/9=2']
Exploring Operation: 60*2=120, Resulting Numbers: [50, 120]
Generated Node #3: [50, 120] from Operation: 60*2=120
Current State: 70:[50, 120], Operations: ['18/9=2', '60*2=120']
Exploring Operation: 120-50=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4
|
Current State: 70:[9, 18, 50, 60], Operations: []
Exploring Operation: 18+50=68, Resulting Numbers: [9, 60, 68]
Generated Node #0,0: 70:[9, 60, 68] Operation: 18+50=68
Exploring Operation: 50-9=41, Resulting Numbers: [18, 60, 41]
Generated Node #0,1: 70:[18, 60, 41] Operation: 50-9=41
Exploring Operation: 50-18=32, Resulting Numbers: [9, 60, 32]
Generated Node #0,2: 70:[9, 60, 32] Operation: 50-18=32
Exploring Operation: 60-50=10, Resulting Numbers: [9, 18, 10]
Generated Node #0,3: 70:[9, 18, 10] Operation: 60-50=10
Moving to Node #0,3
Current State: 70:[9, 18, 10], Operations: ['60-50=10']
Exploring Operation: 18-9=9, Resulting Numbers: [10, 9]
Generated Node #0,3,0: 70:[10, 9] Operation: 18-9=9
Exploring Operation: 10-9=1, Resulting Numbers: [18, 1]
Generated Node #0,3,1: 70:[18, 1] Operation: 10-9=1
Exploring Operation: 18-10=8, Resulting Numbers: [9, 8]
Generated Node #0,3,2: 70:[9, 8] Operation: 18-10=8
Exploring Operation: 18/9=2, Resulting Numbers: [10, 2]
Generated Node #0,3,3: 70:[10, 2] Operation: 18/9=2
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 70:[10, 2], Operations: ['60-50=10', '18/9=2']
Exploring Operation: 10*2=20, Resulting Numbers: [20]
20,70 unequal: No Solution
Exploring Operation: 10+2=12, Resulting Numbers: [12]
12,70 unequal: No Solution
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,70 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,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:[10, 9], Operations: ['60-50=10', '18-9=9']
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,70 unequal: No Solution
Exploring Operation: 10*9=90, Resulting Numbers: [90]
90,70 unequal: No Solution
Exploring Operation: 10+9=19, Resulting Numbers: [19]
19,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,2
Current State: 70:[9, 8], Operations: ['60-50=10', '18-10=8']
Exploring Operation: 9*8=72, Resulting Numbers: [72]
72,70 unequal: No Solution
Exploring Operation: 9+8=17, Resulting Numbers: [17]
17,70 unequal: No Solution
Exploring Operation: 9-8=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,3,1
Current State: 70:[18, 1], Operations: ['60-50=10', '10-9=1']
Exploring Operation: 18-1=17, Resulting Numbers: [17]
17,70 unequal: No Solution
Exploring Operation: 18*1=18, Resulting Numbers: [18]
18,70 unequal: No Solution
Exploring Operation: 18+1=19, Resulting Numbers: [19]
19,70 unequal: No Solution
Exploring Operation: 18/1=18, Resulting Numbers: [18]
18,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 70:[9, 60, 68], Operations: ['18+50=68']
Exploring Operation: 60-9=51, Resulting Numbers: [68, 51]
Generated Node #0,0,0: 70:[68, 51] Operation: 60-9=51
Exploring Operation: 9+68=77, Resulting Numbers: [60, 77]
Generated Node #0,0,1: 70:[60, 77] Operation: 9+68=77
Exploring Operation: 9+60=69, Resulting Numbers: [68, 69]
Generated Node #0,0,2: 70:[68, 69] Operation: 9+60=69
Exploring Operation: 68-60=8, Resulting Numbers: [9, 8]
Generated Node #0,0,3: 70:[9, 8] Operation: 68-60=8
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 70:[9, 8], Operations: ['18+50=68', '68-60=8']
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,70 unequal: No Solution
Exploring Operation: 9*8=72, Resulting Numbers: [72]
72,70 unequal: No Solution
Exploring Operation: 9+8=17, Resulting Numbers: [17]
17,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:[68, 69], Operations: ['18+50=68', '9+60=69']
Exploring Operation: 69-68=1, Resulting Numbers: [1]
1,70 unequal: No Solution
Exploring Operation: 68*69=4692, Resulting Numbers: [4692]
4692,70 unequal: No Solution
Exploring Operation: 68+69=137, Resulting Numbers: [137]
137,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:[60, 77], Operations: ['18+50=68', '9+68=77']
Exploring Operation: 60+77=137, Resulting Numbers: [137]
137,70 unequal: No Solution
Exploring Operation: 60*77=4620, Resulting Numbers: [4620]
4620,70 unequal: No Solution
Exploring Operation: 77-60=17, Resulting Numbers: [17]
17,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 70:[68, 51], Operations: ['18+50=68', '60-9=51']
Exploring Operation: 68+51=119, Resulting Numbers: [119]
119,70 unequal: No Solution
Exploring Operation: 68*51=3468, Resulting Numbers: [3468]
3468,70 unequal: No Solution
Exploring Operation: 68-51=17, Resulting Numbers: [17]
17,70 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: 70:[9, 60, 32], Operations: ['50-18=32']
Exploring Operation: 9+32=41, Resulting Numbers: [60, 41]
Generated Node #0,2,0: 70:[60, 41] Operation: 9+32=41
Exploring Operation: 60-9=51, Resulting Numbers: [32, 51]
Generated Node #0,2,1: 70:[32, 51] Operation: 60-9=51
Exploring Operation: 9+60=69, Resulting Numbers: [32, 69]
Generated Node #0,2,2: 70:[32, 69] Operation: 9+60=69
Exploring Operation: 60-32=28, Resulting Numbers: [9, 28]
Generated Node #0,2,3: 70:[9, 28] Operation: 60-32=28
Moving to Node #0,1
Current State: 70:[18, 60, 41], Operations: ['50-9=41']
Exploring Operation: 60-18=42, Resulting Numbers: [41, 42]
Generated Node #0,1,0: 70:[41, 42] Operation: 60-18=42
Exploring Operation: 60-41=19, Resulting Numbers: [18, 19]
Generated Node #0,1,1: 70:[18, 19] Operation: 60-41=19
Exploring Operation: 18+60=78, Resulting Numbers: [41, 78]
Generated Node #0,1,2: 70:[41, 78] Operation: 18+60=78
Exploring Operation: 41-18=23, Resulting Numbers: [60, 23]
Generated Node #0,1,3: 70:[60, 23] Operation: 41-18=23
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 70:[18, 19], Operations: ['50-9=41', '60-41=19']
Exploring Operation: 18*19=342, Resulting Numbers: [342]
342,70 unequal: No Solution
Exploring Operation: 19-18=1, Resulting Numbers: [1]
1,70 unequal: No Solution
Exploring Operation: 18+19=37, Resulting Numbers: [37]
37,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 70:[41, 42], Operations: ['50-9=41', '60-18=42']
Exploring Operation: 41+42=83, Resulting Numbers: [83]
83,70 unequal: No Solution
Exploring Operation: 42-41=1, Resulting Numbers: [1]
1,70 unequal: No Solution
Exploring Operation: 41*42=1722, Resulting Numbers: [1722]
1722,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 70:[41, 78], Operations: ['50-9=41', '18+60=78']
Exploring Operation: 41*78=3198, Resulting Numbers: [3198]
3198,70 unequal: No Solution
Exploring Operation: 78-41=37, Resulting Numbers: [37]
37,70 unequal: No Solution
Exploring Operation: 41+78=119, Resulting Numbers: [119]
119,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 70:[60, 23], Operations: ['50-9=41', '41-18=23']
Exploring Operation: 60+23=83, Resulting Numbers: [83]
83,70 unequal: No Solution
Exploring Operation: 60*23=1380, Resulting Numbers: [1380]
1380,70 unequal: No Solution
Exploring Operation: 60-23=37, Resulting Numbers: [37]
37,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,2
Current State: 70:[32, 69], Operations: ['50-18=32', '9+60=69']
Exploring Operation: 32*69=2208, Resulting Numbers: [2208]
2208,70 unequal: No Solution
Exploring Operation: 69-32=37, Resulting Numbers: [37]
37,70 unequal: No Solution
Exploring Operation: 32+69=101, Resulting Numbers: [101]
101,70 unequal: No Solution
Moving to Node #0,2,3
Current State: 70:[9, 28], Operations: ['50-18=32', '60-32=28']
Exploring Operation: 9*28=252, Resulting Numbers: [252]
252,70 unequal: No Solution
Exploring Operation: 9+28=37, Resulting Numbers: [37]
37,70 unequal: No Solution
Exploring Operation: 28-9=19, Resulting Numbers: [19]
19,70 unequal: No Solution
Moving to Node #0,2,0
Current State: 70:[60, 41], Operations: ['50-18=32', '9+32=41']
Exploring Operation: 60+41=101, Resulting Numbers: [101]
101,70 unequal: No Solution
Exploring Operation: 60-41=19, Resulting Numbers: [19]
19,70 unequal: No Solution
Exploring Operation: 60*41=2460, Resulting Numbers: [2460]
2460,70 unequal: No Solution
Moving to Node #0,2,1
Current State: 70:[32, 51], Operations: ['50-18=32', '60-9=51']
Exploring Operation: 51-32=19, Resulting Numbers: [19]
19,70 unequal: No Solution
Exploring Operation: 32*51=1632, Resulting Numbers: [1632]
1632,70 unequal: No Solution
Exploring Operation: 32+51=83, Resulting Numbers: [83]
83,70 unequal: No Solution
No solution found.
| 0
|
hs_4
|
mult_heuristic
|
[
30,
54,
25,
70
] | 39
|
[
"30+54=84",
"70-25=45",
"84-45=39"
] |
Current State: 39:[30, 54, 25, 70], Operations: []
Exploring Operation: 30+54=84, Resulting Numbers: [25, 70, 84]
Generated Node #2: [25, 70, 84] from Operation: 30+54=84
Current State: 39:[25, 70, 84], Operations: ['30+54=84']
Exploring Operation: 70-25=45, Resulting Numbers: [84, 45]
Generated Node #3: [84, 45] from Operation: 70-25=45
Current State: 39:[84, 45], Operations: ['30+54=84', '70-25=45']
Exploring Operation: 84-45=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4
|
Current State: 39:[30, 54, 25, 70], Operations: []
Exploring Operation: 70-30=40, Resulting Numbers: [54, 25, 40]
Generated Node #0,0: 39:[54, 25, 40] Operation: 70-30=40
Exploring Operation: 70-25=45, Resulting Numbers: [30, 54, 45]
Generated Node #0,1: 39:[30, 54, 45] Operation: 70-25=45
Exploring Operation: 30-25=5, Resulting Numbers: [54, 70, 5]
Generated Node #0,2: 39:[54, 70, 5] Operation: 30-25=5
Exploring Operation: 70-54=16, Resulting Numbers: [30, 25, 16]
Generated Node #0,3: 39:[30, 25, 16] Operation: 70-54=16
Start Sub Search at level 1: Moving to Node #0,3
Current State: 39:[30, 25, 16], Operations: ['70-54=16']
Exploring Operation: 25+16=41, Resulting Numbers: [30, 41]
Generated Node #0,3,0: 39:[30, 41] Operation: 25+16=41
Exploring Operation: 25-16=9, Resulting Numbers: [30, 9]
Generated Node #0,3,1: 39:[30, 9] Operation: 25-16=9
Exploring Operation: 30-16=14, Resulting Numbers: [25, 14]
Generated Node #0,3,2: 39:[25, 14] Operation: 30-16=14
Exploring Operation: 30-25=5, Resulting Numbers: [16, 5]
Generated Node #0,3,3: 39:[16, 5] Operation: 30-25=5
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 39:[16, 5], Operations: ['70-54=16', '30-25=5']
Exploring Operation: 16+5=21, Resulting Numbers: [21]
21,39 unequal: No Solution
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,39 unequal: No Solution
Exploring Operation: 16*5=80, Resulting Numbers: [80]
80,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 39:[30, 41], Operations: ['70-54=16', '25+16=41']
Exploring Operation: 41-30=11, Resulting Numbers: [11]
11,39 unequal: No Solution
Exploring Operation: 30*41=1230, Resulting Numbers: [1230]
1230,39 unequal: No Solution
Exploring Operation: 30+41=71, Resulting Numbers: [71]
71,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 39:[30, 9], Operations: ['70-54=16', '25-16=9']
Exploring Operation: 30*9=270, Resulting Numbers: [270]
270,39 unequal: No Solution
Exploring Operation: 30-9=21, Resulting Numbers: [21]
21,39 unequal: No Solution
Exploring Operation: 30+9=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[30, 54, 25, 70], Operations: []
Exploring Operation: 70-54=16, Resulting Numbers: [30, 25, 16]
Generated Node #0,3: 39:[30, 25, 16] Operation: 70-54=16
Moving to Node #0,3
Current State: 39:[30, 25, 16], Operations: ['70-54=16']
Exploring Operation: 25-16=9, Resulting Numbers: [30, 9]
Generated Node #0,3,1: 39:[30, 9] Operation: 25-16=9
Moving to Node #0,3,1
Current State: 39:[30, 9], Operations: ['70-54=16', '25-16=9']
Exploring Operation: 30+9=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.981771
|
hs_4
|
mult_heuristic
|
[
76,
19,
62,
22
] | 36
|
[
"76/19=4",
"62-22=40",
"40-4=36"
] |
Current State: 36:[76, 19, 62, 22], Operations: []
Exploring Operation: 76/19=4, Resulting Numbers: [62, 22, 4]
Generated Node #2: [62, 22, 4] from Operation: 76/19=4
Current State: 36:[62, 22, 4], Operations: ['76/19=4']
Exploring Operation: 62-22=40, Resulting Numbers: [4, 40]
Generated Node #3: [4, 40] from Operation: 62-22=40
Current State: 36:[4, 40], Operations: ['76/19=4', '62-22=40']
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4
|
Current State: 36:[76, 19, 62, 22], Operations: []
Exploring Operation: 76-62=14, Resulting Numbers: [19, 22, 14]
Generated Node #0,0: 36:[19, 22, 14] Operation: 76-62=14
Exploring Operation: 76/19=4, Resulting Numbers: [62, 22, 4]
Generated Node #0,1: 36:[62, 22, 4] Operation: 76/19=4
Moving to Node #0,0
Current State: 36:[19, 22, 14], Operations: ['76-62=14']
Exploring Operation: 22+14=36, Resulting Numbers: [19, 36]
Generated Node #0,0,0: 36:[19, 36] Operation: 22+14=36
Exploring Operation: 22-19=3, Resulting Numbers: [14, 3]
Generated Node #0,0,1: 36:[14, 3] Operation: 22-19=3
Moving to Node #0,1
Current State: 36:[62, 22, 4], Operations: ['76/19=4']
Exploring Operation: 62-4=58, Resulting Numbers: [22, 58]
Generated Node #0,1,0: 36:[22, 58] Operation: 62-4=58
Exploring Operation: 62-22=40, Resulting Numbers: [4, 40]
Generated Node #0,1,1: 36:[4, 40] Operation: 62-22=40
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 36:[4, 40], Operations: ['76/19=4', '62-22=40']
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,36 unequal: No Solution
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[76, 19, 62, 22], Operations: []
Exploring Operation: 76/19=4, Resulting Numbers: [62, 22, 4]
Generated Node #0,1: 36:[62, 22, 4] Operation: 76/19=4
Moving to Node #0,1
Current State: 36:[62, 22, 4], Operations: ['76/19=4']
Exploring Operation: 62-22=40, Resulting Numbers: [4, 40]
Generated Node #0,1,1: 36:[4, 40] Operation: 62-22=40
Moving to Node #0,1,1
Current State: 36:[4, 40], Operations: ['76/19=4', '62-22=40']
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583
|
hs_2
|
mult_heuristic
|
[
87,
68,
38,
90
] | 71
|
[
"87-68=19",
"90-38=52",
"19+52=71"
] |
Current State: 71:[87, 68, 38, 90], Operations: []
Exploring Operation: 87-68=19, Resulting Numbers: [38, 90, 19]
Generated Node #2: [38, 90, 19] from Operation: 87-68=19
Current State: 71:[38, 90, 19], Operations: ['87-68=19']
Exploring Operation: 90-38=52, Resulting Numbers: [19, 52]
Generated Node #3: [19, 52] from Operation: 90-38=52
Current State: 71:[19, 52], Operations: ['87-68=19', '90-38=52']
Exploring Operation: 19+52=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4
|
Current State: 71:[87, 68, 38, 90], Operations: []
Exploring Operation: 68-38=30, Resulting Numbers: [87, 90, 30]
Generated Node #0,0: 71:[87, 90, 30] Operation: 68-38=30
Exploring Operation: 68+38=106, Resulting Numbers: [87, 90, 106]
Generated Node #0,1: 71:[87, 90, 106] Operation: 68+38=106
Exploring Operation: 87+38=125, Resulting Numbers: [68, 90, 125]
Generated Node #0,2: 71:[68, 90, 125] Operation: 87+38=125
Exploring Operation: 90-38=52, Resulting Numbers: [87, 68, 52]
Generated Node #0,3: 71:[87, 68, 52] Operation: 90-38=52
Exploring Operation: 87-38=49, Resulting Numbers: [68, 90, 49]
Generated Node #0,4: 71:[68, 90, 49] Operation: 87-38=49
Moving to Node #0,3
Current State: 71:[87, 68, 52], Operations: ['90-38=52']
Exploring Operation: 87-52=35, Resulting Numbers: [68, 35]
Generated Node #0,3,0: 71:[68, 35] Operation: 87-52=35
Exploring Operation: 87+52=139, Resulting Numbers: [68, 139]
Generated Node #0,3,1: 71:[68, 139] Operation: 87+52=139
Exploring Operation: 68+52=120, Resulting Numbers: [87, 120]
Generated Node #0,3,2: 71:[87, 120] Operation: 68+52=120
Exploring Operation: 87-68=19, Resulting Numbers: [52, 19]
Generated Node #0,3,3: 71:[52, 19] Operation: 87-68=19
Exploring Operation: 68-52=16, Resulting Numbers: [87, 16]
Generated Node #0,3,4: 71:[87, 16] Operation: 68-52=16
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 71:[68, 35], Operations: ['90-38=52', '87-52=35']
Exploring Operation: 68+35=103, Resulting Numbers: [103]
103,71 unequal: No Solution
Exploring Operation: 68-35=33, Resulting Numbers: [33]
33,71 unequal: No Solution
Exploring Operation: 68*35=2380, Resulting Numbers: [2380]
2380,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 71:[87, 120], Operations: ['90-38=52', '68+52=120']
Exploring Operation: 87*120=10440, Resulting Numbers: [10440]
10440,71 unequal: No Solution
Exploring Operation: 120-87=33, Resulting Numbers: [33]
33,71 unequal: No Solution
Exploring Operation: 87+120=207, Resulting Numbers: [207]
207,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 71:[68, 139], Operations: ['90-38=52', '87+52=139']
Exploring Operation: 68*139=9452, Resulting Numbers: [9452]
9452,71 unequal: No Solution
Exploring Operation: 139-68=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[87, 68, 38, 90], Operations: []
Exploring Operation: 90-38=52, Resulting Numbers: [87, 68, 52]
Generated Node #0,3: 71:[87, 68, 52] Operation: 90-38=52
Moving to Node #0,3
Current State: 71:[87, 68, 52], Operations: ['90-38=52']
Exploring Operation: 87+52=139, Resulting Numbers: [68, 139]
Generated Node #0,3,1: 71:[68, 139] Operation: 87+52=139
Moving to Node #0,3,1
Current State: 71:[68, 139], Operations: ['90-38=52', '87+52=139']
Exploring Operation: 139-68=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903
|
hs_5
|
sum_heuristic
|
[
41,
26,
85,
9
] | 31
|
[
"85*9=765",
"41+765=806",
"806/26=31"
] |
Current State: 31:[41, 26, 85, 9], Operations: []
Exploring Operation: 85*9=765, Resulting Numbers: [41, 26, 765]
Generated Node #2: [41, 26, 765] from Operation: 85*9=765
Current State: 31:[41, 26, 765], Operations: ['85*9=765']
Exploring Operation: 41+765=806, Resulting Numbers: [26, 806]
Generated Node #3: [26, 806] from Operation: 41+765=806
Current State: 31:[26, 806], Operations: ['85*9=765', '41+765=806']
Exploring Operation: 806/26=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4
|
Current State: 31:[41, 26, 85, 9], Operations: []
Exploring Operation: 41-9=32, Resulting Numbers: [26, 85, 32]
Generated Node #0,0: 31:[26, 85, 32] Operation: 41-9=32
Exploring Operation: 85-26=59, Resulting Numbers: [41, 9, 59]
Generated Node #0,1: 31:[41, 9, 59] Operation: 85-26=59
Exploring Operation: 85-9=76, Resulting Numbers: [41, 26, 76]
Generated Node #0,2: 31:[41, 26, 76] Operation: 85-9=76
Exploring Operation: 85-41=44, Resulting Numbers: [26, 9, 44]
Generated Node #0,3: 31:[26, 9, 44] Operation: 85-41=44
Start Sub Search at level 1: Moving to Node #0,3
Current State: 31:[26, 9, 44], Operations: ['85-41=44']
Exploring Operation: 44-9=35, Resulting Numbers: [26, 35]
Generated Node #0,3,0: 31:[26, 35] Operation: 44-9=35
Exploring Operation: 26+9=35, Resulting Numbers: [44, 35]
Generated Node #0,3,1: 31:[44, 35] Operation: 26+9=35
Exploring Operation: 9+44=53, Resulting Numbers: [26, 53]
Generated Node #0,3,2: 31:[26, 53] Operation: 9+44=53
Exploring Operation: 26-9=17, Resulting Numbers: [44, 17]
Generated Node #0,3,3: 31:[44, 17] Operation: 26-9=17
Moving to Node #0,3,0
Current State: 31:[26, 35], Operations: ['85-41=44', '44-9=35']
Exploring Operation: 26*35=910, Resulting Numbers: [910]
910,31 unequal: No Solution
Exploring Operation: 35-26=9, Resulting Numbers: [9]
9,31 unequal: No Solution
Exploring Operation: 26+35=61, Resulting Numbers: [61]
61,31 unequal: No Solution
Moving to Node #0,3,1
Current State: 31:[44, 35], Operations: ['85-41=44', '26+9=35']
Exploring Operation: 44*35=1540, Resulting Numbers: [1540]
1540,31 unequal: No Solution
Exploring Operation: 44-35=9, Resulting Numbers: [9]
9,31 unequal: No Solution
Exploring Operation: 44+35=79, Resulting Numbers: [79]
79,31 unequal: No Solution
Moving to Node #0,3,3
Current State: 31:[44, 17], Operations: ['85-41=44', '26-9=17']
Exploring Operation: 44+17=61, Resulting Numbers: [61]
61,31 unequal: No Solution
Exploring Operation: 44-17=27, Resulting Numbers: [27]
27,31 unequal: No Solution
Exploring Operation: 44*17=748, Resulting Numbers: [748]
748,31 unequal: No Solution
Moving to Node #0,3,2
Current State: 31:[26, 53], Operations: ['85-41=44', '9+44=53']
Exploring Operation: 26*53=1378, Resulting Numbers: [1378]
1378,31 unequal: No Solution
Exploring Operation: 53-26=27, Resulting Numbers: [27]
27,31 unequal: No Solution
Exploring Operation: 26+53=79, Resulting Numbers: [79]
79,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,0
Current State: 31:[26, 85, 32], Operations: ['41-9=32']
Exploring Operation: 85-26=59, Resulting Numbers: [32, 59]
Generated Node #0,0,0: 31:[32, 59] Operation: 85-26=59
Exploring Operation: 26+85=111, Resulting Numbers: [32, 111]
Generated Node #0,0,1: 31:[32, 111] Operation: 26+85=111
Exploring Operation: 85-32=53, Resulting Numbers: [26, 53]
Generated Node #0,0,2: 31:[26, 53] Operation: 85-32=53
Exploring Operation: 32-26=6, Resulting Numbers: [85, 6]
Generated Node #0,0,3: 31:[85, 6] Operation: 32-26=6
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 31:[26, 53], Operations: ['41-9=32', '85-32=53']
Exploring Operation: 26+53=79, Resulting Numbers: [79]
79,31 unequal: No Solution
Exploring Operation: 26*53=1378, Resulting Numbers: [1378]
1378,31 unequal: No Solution
Exploring Operation: 53-26=27, Resulting Numbers: [27]
27,31 unequal: No Solution
No 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: 31:[32, 59], Operations: ['41-9=32', '85-26=59']
Exploring Operation: 32*59=1888, Resulting Numbers: [1888]
1888,31 unequal: No Solution
Exploring Operation: 32+59=91, Resulting Numbers: [91]
91,31 unequal: No Solution
Exploring Operation: 59-32=27, Resulting Numbers: [27]
27,31 unequal: No Solution
No 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: 31:[85, 6], Operations: ['41-9=32', '32-26=6']
Exploring Operation: 85-6=79, Resulting Numbers: [79]
79,31 unequal: No Solution
Exploring Operation: 85+6=91, Resulting Numbers: [91]
91,31 unequal: No Solution
Exploring Operation: 85*6=510, Resulting Numbers: [510]
510,31 unequal: No Solution
No 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: 31:[32, 111], Operations: ['41-9=32', '26+85=111']
Exploring Operation: 32+111=143, Resulting Numbers: [143]
143,31 unequal: No Solution
Exploring Operation: 32*111=3552, Resulting Numbers: [3552]
3552,31 unequal: No Solution
Exploring Operation: 111-32=79, Resulting Numbers: [79]
79,31 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: 31:[41, 9, 59], Operations: ['85-26=59']
Exploring Operation: 59-41=18, Resulting Numbers: [9, 18]
Generated Node #0,1,0: 31:[9, 18] Operation: 59-41=18
Exploring Operation: 41+9=50, Resulting Numbers: [59, 50]
Generated Node #0,1,1: 31:[59, 50] Operation: 41+9=50
Exploring Operation: 59-9=50, Resulting Numbers: [41, 50]
Generated Node #0,1,2: 31:[41, 50] Operation: 59-9=50
Exploring Operation: 41-9=32, Resulting Numbers: [59, 32]
Generated Node #0,1,3: 31:[59, 32] Operation: 41-9=32
Moving to Node #0,1,2
Current State: 31:[41, 50], Operations: ['85-26=59', '59-9=50']
Exploring Operation: 50-41=9, Resulting Numbers: [9]
9,31 unequal: No Solution
Exploring Operation: 41+50=91, Resulting Numbers: [91]
91,31 unequal: No Solution
Exploring Operation: 41*50=2050, Resulting Numbers: [2050]
2050,31 unequal: No Solution
Moving to Node #0,1,3
Current State: 31:[59, 32], Operations: ['85-26=59', '41-9=32']
Exploring Operation: 59+32=91, Resulting Numbers: [91]
91,31 unequal: No Solution
Exploring Operation: 59*32=1888, Resulting Numbers: [1888]
1888,31 unequal: No Solution
Exploring Operation: 59-32=27, Resulting Numbers: [27]
27,31 unequal: No Solution
Moving to Node #0,1,0
Current State: 31:[9, 18], Operations: ['85-26=59', '59-41=18']
Exploring Operation: 9+18=27, Resulting Numbers: [27]
27,31 unequal: No Solution
Exploring Operation: 9*18=162, Resulting Numbers: [162]
162,31 unequal: No Solution
Exploring Operation: 18-9=9, Resulting Numbers: [9]
9,31 unequal: No Solution
Exploring Operation: 18/9=2, Resulting Numbers: [2]
2,31 unequal: No Solution
Moving to Node #0,1,1
Current State: 31:[59, 50], Operations: ['85-26=59', '41+9=50']
Exploring Operation: 59+50=109, Resulting Numbers: [109]
109,31 unequal: No Solution
Exploring Operation: 59-50=9, Resulting Numbers: [9]
9,31 unequal: No Solution
Exploring Operation: 59*50=2950, Resulting Numbers: [2950]
2950,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
Current State: 31:[41, 26, 76], Operations: ['85-9=76']
Exploring Operation: 41-26=15, Resulting Numbers: [76, 15]
Generated Node #0,2,0: 31:[76, 15] Operation: 41-26=15
Exploring Operation: 76-41=35, Resulting Numbers: [26, 35]
Generated Node #0,2,1: 31:[26, 35] Operation: 76-41=35
Exploring Operation: 41+26=67, Resulting Numbers: [76, 67]
Generated Node #0,2,2: 31:[76, 67] Operation: 41+26=67
Exploring Operation: 76-26=50, Resulting Numbers: [41, 50]
Generated Node #0,2,3: 31:[41, 50] Operation: 76-26=50
Moving to Node #0,2,1
Current State: 31:[26, 35], Operations: ['85-9=76', '76-41=35']
Exploring Operation: 26+35=61, Resulting Numbers: [61]
61,31 unequal: No Solution
Exploring Operation: 26*35=910, Resulting Numbers: [910]
910,31 unequal: No Solution
Exploring Operation: 35-26=9, Resulting Numbers: [9]
9,31 unequal: No Solution
Moving to Node #0,2,3
Current State: 31:[41, 50], Operations: ['85-9=76', '76-26=50']
Exploring Operation: 41*50=2050, Resulting Numbers: [2050]
2050,31 unequal: No Solution
Exploring Operation: 50-41=9, Resulting Numbers: [9]
9,31 unequal: No Solution
Exploring Operation: 41+50=91, Resulting Numbers: [91]
91,31 unequal: No Solution
Moving to Node #0,2,0
Current State: 31:[76, 15], Operations: ['85-9=76', '41-26=15']
Exploring Operation: 76+15=91, Resulting Numbers: [91]
91,31 unequal: No Solution
Exploring Operation: 76-15=61, Resulting Numbers: [61]
61,31 unequal: No Solution
Exploring Operation: 76*15=1140, Resulting Numbers: [1140]
1140,31 unequal: No Solution
Moving to Node #0,2,2
Current State: 31:[76, 67], Operations: ['85-9=76', '41+26=67']
Exploring Operation: 76*67=5092, Resulting Numbers: [5092]
5092,31 unequal: No Solution
Exploring Operation: 76+67=143, Resulting Numbers: [143]
143,31 unequal: No Solution
Exploring Operation: 76-67=9, Resulting Numbers: [9]
9,31 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
|
[
19,
11,
55,
15
] | 21
|
[
"15-11=4",
"19*4=76",
"76-55=21"
] |
Current State: 21:[19, 11, 55, 15], Operations: []
Exploring Operation: 15-11=4, Resulting Numbers: [19, 55, 4]
Generated Node #2: [19, 55, 4] from Operation: 15-11=4
Current State: 21:[19, 55, 4], Operations: ['15-11=4']
Exploring Operation: 19*4=76, Resulting Numbers: [55, 76]
Generated Node #3: [55, 76] from Operation: 19*4=76
Current State: 21:[55, 76], Operations: ['15-11=4', '19*4=76']
Exploring Operation: 76-55=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4
|
Current State: 21:[19, 11, 55, 15], Operations: []
Exploring Operation: 55-15=40, Resulting Numbers: [19, 11, 40]
Generated Node #0,0: 21:[19, 11, 40] Operation: 55-15=40
Exploring Operation: 55/11=5, Resulting Numbers: [19, 15, 5]
Generated Node #0,1: 21:[19, 15, 5] Operation: 55/11=5
Exploring Operation: 55-19=36, Resulting Numbers: [11, 15, 36]
Generated Node #0,2: 21:[11, 15, 36] Operation: 55-19=36
Exploring Operation: 55-11=44, Resulting Numbers: [19, 15, 44]
Generated Node #0,3: 21:[19, 15, 44] Operation: 55-11=44
Start Sub Search at level 1: Moving to Node #0,1
Current State: 21:[19, 15, 5], Operations: ['55/11=5']
Exploring Operation: 15/5=3, Resulting Numbers: [19, 3]
Generated Node #0,1,0: 21:[19, 3] Operation: 15/5=3
Exploring Operation: 19-15=4, Resulting Numbers: [5, 4]
Generated Node #0,1,1: 21:[5, 4] Operation: 19-15=4
Exploring Operation: 15-5=10, Resulting Numbers: [19, 10]
Generated Node #0,1,2: 21:[19, 10] Operation: 15-5=10
Exploring Operation: 15+5=20, Resulting Numbers: [19, 20]
Generated Node #0,1,3: 21:[19, 20] Operation: 15+5=20
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 21:[19, 3], Operations: ['55/11=5', '15/5=3']
Exploring Operation: 19+3=22, Resulting Numbers: [22]
22,21 unequal: No Solution
Exploring Operation: 19*3=57, Resulting Numbers: [57]
57,21 unequal: No Solution
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 21:[5, 4], Operations: ['55/11=5', '19-15=4']
Exploring Operation: 5+4=9, Resulting Numbers: [9]
9,21 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,21 unequal: No Solution
Exploring Operation: 5*4=20, Resulting Numbers: [20]
20,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 21:[19, 20], Operations: ['55/11=5', '15+5=20']
Exploring Operation: 19+20=39, Resulting Numbers: [39]
39,21 unequal: No Solution
Exploring Operation: 20-19=1, Resulting Numbers: [1]
1,21 unequal: No Solution
Exploring Operation: 19*20=380, Resulting Numbers: [380]
380,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 21:[19, 10], Operations: ['55/11=5', '15-5=10']
Exploring Operation: 19-10=9, Resulting Numbers: [9]
9,21 unequal: No Solution
Exploring Operation: 19*10=190, Resulting Numbers: [190]
190,21 unequal: No Solution
Exploring Operation: 19+10=29, Resulting Numbers: [29]
29,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 21:[19, 11, 40], Operations: ['55-15=40']
Exploring Operation: 40-19=21, Resulting Numbers: [11, 21]
Generated Node #0,0,0: 21:[11, 21] Operation: 40-19=21
Exploring Operation: 40-11=29, Resulting Numbers: [19, 29]
Generated Node #0,0,1: 21:[19, 29] Operation: 40-11=29
Exploring Operation: 19-11=8, Resulting Numbers: [40, 8]
Generated Node #0,0,2: 21:[40, 8] Operation: 19-11=8
Exploring Operation: 19+11=30, Resulting Numbers: [40, 30]
Generated Node #0,0,3: 21:[40, 30] Operation: 19+11=30
Moving to Node #0,0,0
Current State: 21:[11, 21], Operations: ['55-15=40', '40-19=21']
Exploring Operation: 11*21=231, Resulting Numbers: [231]
231,21 unequal: No Solution
Exploring Operation: 21-11=10, Resulting Numbers: [10]
10,21 unequal: No Solution
Exploring Operation: 11+21=32, Resulting Numbers: [32]
32,21 unequal: No Solution
Moving to Node #0,0,1
Current State: 21:[19, 29], Operations: ['55-15=40', '40-11=29']
Exploring Operation: 19+29=48, Resulting Numbers: [48]
48,21 unequal: No Solution
Exploring Operation: 19*29=551, Resulting Numbers: [551]
551,21 unequal: No Solution
Exploring Operation: 29-19=10, Resulting Numbers: [10]
10,21 unequal: No Solution
Moving to Node #0,0,2
Current State: 21:[40, 8], Operations: ['55-15=40', '19-11=8']
Exploring Operation: 40-8=32, Resulting Numbers: [32]
32,21 unequal: No Solution
Exploring Operation: 40/8=5, Resulting Numbers: [5]
5,21 unequal: No Solution
Exploring Operation: 40+8=48, Resulting Numbers: [48]
48,21 unequal: No Solution
Exploring Operation: 40*8=320, Resulting Numbers: [320]
320,21 unequal: No Solution
Moving to Node #0,0,3
Current State: 21:[40, 30], Operations: ['55-15=40', '19+11=30']
Exploring Operation: 40*30=1200, Resulting Numbers: [1200]
1200,21 unequal: No Solution
Exploring Operation: 40+30=70, Resulting Numbers: [70]
70,21 unequal: No Solution
Exploring Operation: 40-30=10, Resulting Numbers: [10]
10,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 21:[11, 15, 36], Operations: ['55-19=36']
Exploring Operation: 36-15=21, Resulting Numbers: [11, 21]
Generated Node #0,2,0: 21:[11, 21] Operation: 36-15=21
Exploring Operation: 36-11=25, Resulting Numbers: [15, 25]
Generated Node #0,2,1: 21:[15, 25] Operation: 36-11=25
Exploring Operation: 11+15=26, Resulting Numbers: [36, 26]
Generated Node #0,2,2: 21:[36, 26] Operation: 11+15=26
Exploring Operation: 15-11=4, Resulting Numbers: [36, 4]
Generated Node #0,2,3: 21:[36, 4] Operation: 15-11=4
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 21:[11, 21], Operations: ['55-19=36', '36-15=21']
Exploring Operation: 11*21=231, Resulting Numbers: [231]
231,21 unequal: No Solution
Exploring Operation: 11+21=32, Resulting Numbers: [32]
32,21 unequal: No Solution
Exploring Operation: 21-11=10, Resulting Numbers: [10]
10,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 21:[15, 25], Operations: ['55-19=36', '36-11=25']
Exploring Operation: 15*25=375, Resulting Numbers: [375]
375,21 unequal: No Solution
Exploring Operation: 25-15=10, Resulting Numbers: [10]
10,21 unequal: No Solution
Exploring Operation: 15+25=40, Resulting Numbers: [40]
40,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 21:[36, 4], Operations: ['55-19=36', '15-11=4']
Exploring Operation: 36/4=9, Resulting Numbers: [9]
9,21 unequal: No Solution
Exploring Operation: 36*4=144, Resulting Numbers: [144]
144,21 unequal: No Solution
Exploring Operation: 36-4=32, Resulting Numbers: [32]
32,21 unequal: No Solution
Exploring Operation: 36+4=40, Resulting Numbers: [40]
40,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 21:[36, 26], Operations: ['55-19=36', '11+15=26']
Exploring Operation: 36-26=10, Resulting Numbers: [10]
10,21 unequal: No Solution
Exploring Operation: 36*26=936, Resulting Numbers: [936]
936,21 unequal: No Solution
Exploring Operation: 36+26=62, Resulting Numbers: [62]
62,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 21:[19, 15, 44], Operations: ['55-11=44']
Exploring Operation: 44-19=25, Resulting Numbers: [15, 25]
Generated Node #0,3,0: 21:[15, 25] Operation: 44-19=25
Exploring Operation: 19-15=4, Resulting Numbers: [44, 4]
Generated Node #0,3,1: 21:[44, 4] Operation: 19-15=4
Exploring Operation: 19+15=34, Resulting Numbers: [44, 34]
Generated Node #0,3,2: 21:[44, 34] Operation: 19+15=34
Exploring Operation: 44-15=29, Resulting Numbers: [19, 29]
Generated Node #0,3,3: 21:[19, 29] Operation: 44-15=29
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 21:[15, 25], Operations: ['55-11=44', '44-19=25']
Exploring Operation: 25-15=10, Resulting Numbers: [10]
10,21 unequal: No Solution
Exploring Operation: 15*25=375, Resulting Numbers: [375]
375,21 unequal: No Solution
Exploring Operation: 15+25=40, Resulting Numbers: [40]
40,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 21:[19, 29], Operations: ['55-11=44', '44-15=29']
Exploring Operation: 19+29=48, Resulting Numbers: [48]
48,21 unequal: No Solution
Exploring Operation: 19*29=551, Resulting Numbers: [551]
551,21 unequal: No Solution
Exploring Operation: 29-19=10, Resulting Numbers: [10]
10,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 21:[44, 4], Operations: ['55-11=44', '19-15=4']
Exploring Operation: 44+4=48, Resulting Numbers: [48]
48,21 unequal: No Solution
Exploring Operation: 44/4=11, Resulting Numbers: [11]
11,21 unequal: No Solution
Exploring Operation: 44-4=40, Resulting Numbers: [40]
40,21 unequal: No Solution
Exploring Operation: 44*4=176, Resulting Numbers: [176]
176,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 21:[44, 34], Operations: ['55-11=44', '19+15=34']
Exploring Operation: 44*34=1496, Resulting Numbers: [1496]
1496,21 unequal: No Solution
Exploring Operation: 44+34=78, Resulting Numbers: [78]
78,21 unequal: No Solution
Exploring Operation: 44-34=10, Resulting Numbers: [10]
10,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_4
|
sum_heuristic
|
[
5,
32,
27,
28
] | 38
|
[
"5+32=37",
"28-27=1",
"37+1=38"
] |
Current State: 38:[5, 32, 27, 28], Operations: []
Exploring Operation: 5+32=37, Resulting Numbers: [27, 28, 37]
Generated Node #2: [27, 28, 37] from Operation: 5+32=37
Current State: 38:[27, 28, 37], Operations: ['5+32=37']
Exploring Operation: 28-27=1, Resulting Numbers: [37, 1]
Generated Node #3: [37, 1] from Operation: 28-27=1
Current State: 38:[37, 1], Operations: ['5+32=37', '28-27=1']
Exploring Operation: 37+1=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4
|
Current State: 38:[5, 32, 27, 28], Operations: []
Exploring Operation: 32-27=5, Resulting Numbers: [5, 28, 5]
Generated Node #0,0: 38:[5, 28, 5] Operation: 32-27=5
Exploring Operation: 5+32=37, Resulting Numbers: [27, 28, 37]
Generated Node #0,1: 38:[27, 28, 37] Operation: 5+32=37
Exploring Operation: 32-28=4, Resulting Numbers: [5, 27, 4]
Generated Node #0,2: 38:[5, 27, 4] Operation: 32-28=4
Exploring Operation: 28-27=1, Resulting Numbers: [5, 32, 1]
Generated Node #0,3: 38:[5, 32, 1] Operation: 28-27=1
Moving to Node #0,3
Current State: 38:[5, 32, 1], Operations: ['28-27=1']
Exploring Operation: 5+32=37, Resulting Numbers: [1, 37]
Generated Node #0,3,0: 38:[1, 37] Operation: 5+32=37
Exploring Operation: 32-5=27, Resulting Numbers: [1, 27]
Generated Node #0,3,1: 38:[1, 27] Operation: 32-5=27
Exploring Operation: 32+1=33, Resulting Numbers: [5, 33]
Generated Node #0,3,2: 38:[5, 33] Operation: 32+1=33
Exploring Operation: 5-1=4, Resulting Numbers: [32, 4]
Generated Node #0,3,3: 38:[32, 4] Operation: 5-1=4
Moving to Node #0,2
Current State: 38:[5, 27, 4], Operations: ['32-28=4']
Exploring Operation: 5*4=20, Resulting Numbers: [27, 20]
Generated Node #0,2,0: 38:[27, 20] Operation: 5*4=20
Exploring Operation: 27-5=22, Resulting Numbers: [4, 22]
Generated Node #0,2,1: 38:[4, 22] Operation: 27-5=22
Exploring Operation: 5+27=32, Resulting Numbers: [4, 32]
Generated Node #0,2,2: 38:[4, 32] Operation: 5+27=32
Exploring Operation: 27-4=23, Resulting Numbers: [5, 23]
Generated Node #0,2,3: 38:[5, 23] Operation: 27-4=23
Moving to Node #0,0
Current State: 38:[5, 28, 5], Operations: ['32-27=5']
Exploring Operation: 28-5=23, Resulting Numbers: [5, 23]
Generated Node #0,0,0: 38:[5, 23] Operation: 28-5=23
Exploring Operation: 5+28=33, Resulting Numbers: [5, 33]
Generated Node #0,0,1: 38:[5, 33] Operation: 5+28=33
Exploring Operation: 28+5=33, Resulting Numbers: [5, 33]
Generated Node #0,0,2: 38:[5, 33] Operation: 28+5=33
Exploring Operation: 28-5=23, Resulting Numbers: [5, 23]
Generated Node #0,0,3: 38:[5, 23] Operation: 28-5=23
Moving to Node #0,1
Current State: 38:[27, 28, 37], Operations: ['5+32=37']
Exploring Operation: 28-27=1, Resulting Numbers: [37, 1]
Generated Node #0,1,0: 38:[37, 1] Operation: 28-27=1
Exploring Operation: 27+28=55, Resulting Numbers: [37, 55]
Generated Node #0,1,1: 38:[37, 55] Operation: 27+28=55
Exploring Operation: 37-27=10, Resulting Numbers: [28, 10]
Generated Node #0,1,2: 38:[28, 10] Operation: 37-27=10
Exploring Operation: 37-28=9, Resulting Numbers: [27, 9]
Generated Node #0,1,3: 38:[27, 9] Operation: 37-28=9
Moving to Node #0,3,0
Current State: 38:[1, 37], Operations: ['28-27=1', '5+32=37']
Exploring Operation: 37/1=37, Resulting Numbers: [37]
37,38 unequal: No Solution
Exploring Operation: 1+37=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[5, 32, 27, 28], Operations: []
Exploring Operation: 28-27=1, Resulting Numbers: [5, 32, 1]
Generated Node #0,3: 38:[5, 32, 1] Operation: 28-27=1
Moving to Node #0,3
Current State: 38:[5, 32, 1], Operations: ['28-27=1']
Exploring Operation: 5+32=37, Resulting Numbers: [1, 37]
Generated Node #0,3,0: 38:[1, 37] Operation: 5+32=37
Moving to Node #0,3,0
Current State: 38:[1, 37], Operations: ['28-27=1', '5+32=37']
Exploring Operation: 1+37=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 0.977431
|
hs_4
|
sum_heuristic
|
[
32,
83,
35,
58
] | 42
|
[
"83-32=51",
"35+58=93",
"93-51=42"
] |
Current State: 42:[32, 83, 35, 58], Operations: []
Exploring Operation: 83-32=51, Resulting Numbers: [35, 58, 51]
Generated Node #2: [35, 58, 51] from Operation: 83-32=51
Current State: 42:[35, 58, 51], Operations: ['83-32=51']
Exploring Operation: 35+58=93, Resulting Numbers: [51, 93]
Generated Node #3: [51, 93] from Operation: 35+58=93
Current State: 42:[51, 93], Operations: ['83-32=51', '35+58=93']
Exploring Operation: 93-51=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4
|
Current State: 42:[32, 83, 35, 58], Operations: []
Exploring Operation: 83-58=25, Resulting Numbers: [32, 35, 25]
Generated Node #0,0: 42:[32, 35, 25] Operation: 83-58=25
Exploring Operation: 83-32=51, Resulting Numbers: [35, 58, 51]
Generated Node #0,1: 42:[35, 58, 51] Operation: 83-32=51
Moving to Node #0,0
Current State: 42:[32, 35, 25], Operations: ['83-58=25']
Exploring Operation: 35-32=3, Resulting Numbers: [25, 3]
Generated Node #0,0,0: 42:[25, 3] Operation: 35-32=3
Exploring Operation: 32-25=7, Resulting Numbers: [35, 7]
Generated Node #0,0,1: 42:[35, 7] Operation: 32-25=7
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 42:[25, 3], Operations: ['83-58=25', '35-32=3']
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,42 unequal: No Solution
Exploring Operation: 25+3=28, Resulting Numbers: [28]
28,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 42:[35, 7], Operations: ['83-58=25', '32-25=7']
Exploring Operation: 35+7=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[32, 83, 35, 58], Operations: []
Exploring Operation: 83-58=25, Resulting Numbers: [32, 35, 25]
Generated Node #0,0: 42:[32, 35, 25] Operation: 83-58=25
Moving to Node #0,0
Current State: 42:[32, 35, 25], Operations: ['83-58=25']
Exploring Operation: 32-25=7, Resulting Numbers: [35, 7]
Generated Node #0,0,1: 42:[35, 7] Operation: 32-25=7
Moving to Node #0,0,1
Current State: 42:[35, 7], Operations: ['83-58=25', '32-25=7']
Exploring Operation: 35+7=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451
|
hs_2
|
sum_heuristic
|
[
10,
90,
78,
4
] | 26
|
[
"10+90=100",
"78-4=74",
"100-74=26"
] |
Current State: 26:[10, 90, 78, 4], Operations: []
Exploring Operation: 10+90=100, Resulting Numbers: [78, 4, 100]
Generated Node #2: [78, 4, 100] from Operation: 10+90=100
Current State: 26:[78, 4, 100], Operations: ['10+90=100']
Exploring Operation: 78-4=74, Resulting Numbers: [100, 74]
Generated Node #3: [100, 74] from Operation: 78-4=74
Current State: 26:[100, 74], Operations: ['10+90=100', '78-4=74']
Exploring Operation: 100-74=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4
|
Current State: 26:[10, 90, 78, 4], Operations: []
Exploring Operation: 90/10=9, Resulting Numbers: [78, 4, 9]
Generated Node #0,0: 26:[78, 4, 9] Operation: 90/10=9
Exploring Operation: 90-10=80, Resulting Numbers: [78, 4, 80]
Generated Node #0,1: 26:[78, 4, 80] Operation: 90-10=80
Exploring Operation: 90-78=12, Resulting Numbers: [10, 4, 12]
Generated Node #0,2: 26:[10, 4, 12] Operation: 90-78=12
Start Sub Search at level 1: Moving to Node #0,2
Current State: 26:[10, 4, 12], Operations: ['90-78=12']
Exploring Operation: 12/4=3, Resulting Numbers: [10, 3]
Generated Node #0,2,0: 26:[10, 3] Operation: 12/4=3
Exploring Operation: 12-10=2, Resulting Numbers: [4, 2]
Generated Node #0,2,1: 26:[4, 2] Operation: 12-10=2
Exploring Operation: 10+4=14, Resulting Numbers: [12, 14]
Generated Node #0,2,2: 26:[12, 14] Operation: 10+4=14
Moving to Node #0,2,1
Current State: 26:[4, 2], Operations: ['90-78=12', '12-10=2']
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,26 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,26 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,26 unequal: No Solution
Moving to Node #0,2,2
Current State: 26:[12, 14], Operations: ['90-78=12', '10+4=14']
Exploring Operation: 12+14=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[10, 90, 78, 4], Operations: []
Exploring Operation: 90-78=12, Resulting Numbers: [10, 4, 12]
Generated Node #0,2: 26:[10, 4, 12] Operation: 90-78=12
Moving to Node #0,2
Current State: 26:[10, 4, 12], Operations: ['90-78=12']
Exploring Operation: 10+4=14, Resulting Numbers: [12, 14]
Generated Node #0,2,2: 26:[12, 14] Operation: 10+4=14
Moving to Node #0,2,2
Current State: 26:[12, 14], Operations: ['90-78=12', '10+4=14']
Exploring Operation: 12+14=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847
|
hs_3
|
sum_heuristic
|
[
39,
59,
45,
44
] | 20
|
[
"59-39=20",
"45-44=1",
"20*1=20"
] |
Current State: 20:[39, 59, 45, 44], Operations: []
Exploring Operation: 59-39=20, Resulting Numbers: [45, 44, 20]
Generated Node #2: [45, 44, 20] from Operation: 59-39=20
Current State: 20:[45, 44, 20], Operations: ['59-39=20']
Exploring Operation: 45-44=1, Resulting Numbers: [20, 1]
Generated Node #3: [20, 1] from Operation: 45-44=1
Current State: 20:[20, 1], Operations: ['59-39=20', '45-44=1']
Exploring Operation: 20*1=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4
|
Current State: 20:[39, 59, 45, 44], Operations: []
Exploring Operation: 59-45=14, Resulting Numbers: [39, 44, 14]
Generated Node #0,0: 20:[39, 44, 14] Operation: 59-45=14
Exploring Operation: 59-44=15, Resulting Numbers: [39, 45, 15]
Generated Node #0,1: 20:[39, 45, 15] Operation: 59-44=15
Exploring Operation: 59-39=20, Resulting Numbers: [45, 44, 20]
Generated Node #0,2: 20:[45, 44, 20] Operation: 59-39=20
Moving to Node #0,0
Current State: 20:[39, 44, 14], Operations: ['59-45=14']
Exploring Operation: 44-39=5, Resulting Numbers: [14, 5]
Generated Node #0,0,0: 20:[14, 5] Operation: 44-39=5
Exploring Operation: 44-14=30, Resulting Numbers: [39, 30]
Generated Node #0,0,1: 20:[39, 30] Operation: 44-14=30
Exploring Operation: 39-14=25, Resulting Numbers: [44, 25]
Generated Node #0,0,2: 20:[44, 25] Operation: 39-14=25
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 20:[14, 5], Operations: ['59-45=14', '44-39=5']
Exploring Operation: 14*5=70, Resulting Numbers: [70]
70,20 unequal: No Solution
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,20 unequal: No Solution
Exploring Operation: 14+5=19, Resulting Numbers: [19]
19,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 20:[39, 30], Operations: ['59-45=14', '44-14=30']
Exploring Operation: 39*30=1170, Resulting Numbers: [1170]
1170,20 unequal: No Solution
Exploring Operation: 39-30=9, Resulting Numbers: [9]
9,20 unequal: No Solution
Exploring Operation: 39+30=69, Resulting Numbers: [69]
69,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 20:[44, 25], Operations: ['59-45=14', '39-14=25']
Exploring Operation: 44*25=1100, Resulting Numbers: [1100]
1100,20 unequal: No Solution
Exploring Operation: 44-25=19, Resulting Numbers: [19]
19,20 unequal: No Solution
Exploring Operation: 44+25=69, Resulting Numbers: [69]
69,20 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: 20:[39, 45, 15], Operations: ['59-44=15']
Exploring Operation: 39-15=24, Resulting Numbers: [45, 24]
Generated Node #0,1,0: 20:[45, 24] Operation: 39-15=24
Exploring Operation: 45-39=6, Resulting Numbers: [15, 6]
Generated Node #0,1,1: 20:[15, 6] Operation: 45-39=6
Exploring Operation: 45/15=3, Resulting Numbers: [39, 3]
Generated Node #0,1,2: 20:[39, 3] Operation: 45/15=3
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 20:[15, 6], Operations: ['59-44=15', '45-39=6']
Exploring Operation: 15*6=90, Resulting Numbers: [90]
90,20 unequal: No Solution
Exploring Operation: 15-6=9, Resulting Numbers: [9]
9,20 unequal: No Solution
Exploring Operation: 15+6=21, Resulting Numbers: [21]
21,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 20:[39, 3], Operations: ['59-44=15', '45/15=3']
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,20 unequal: No Solution
Exploring Operation: 39+3=42, Resulting Numbers: [42]
42,20 unequal: No Solution
Exploring Operation: 39-3=36, Resulting Numbers: [36]
36,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 20:[45, 24], Operations: ['59-44=15', '39-15=24']
Exploring Operation: 45+24=69, Resulting Numbers: [69]
69,20 unequal: No Solution
Exploring Operation: 45*24=1080, Resulting Numbers: [1080]
1080,20 unequal: No Solution
Exploring Operation: 45-24=21, Resulting Numbers: [21]
21,20 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: 20:[45, 44, 20], Operations: ['59-39=20']
Exploring Operation: 45-20=25, Resulting Numbers: [44, 25]
Generated Node #0,2,0: 20:[44, 25] Operation: 45-20=25
Exploring Operation: 44-20=24, Resulting Numbers: [45, 24]
Generated Node #0,2,1: 20:[45, 24] Operation: 44-20=24
Exploring Operation: 45-44=1, Resulting Numbers: [20, 1]
Generated Node #0,2,2: 20:[20, 1] Operation: 45-44=1
Moving to Node #0,2,2
Current State: 20:[20, 1], Operations: ['59-39=20', '45-44=1']
Exploring Operation: 20*1=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[39, 59, 45, 44], Operations: []
Exploring Operation: 59-39=20, Resulting Numbers: [45, 44, 20]
Generated Node #0,2: 20:[45, 44, 20] Operation: 59-39=20
Moving to Node #0,2
Current State: 20:[45, 44, 20], Operations: ['59-39=20']
Exploring Operation: 45-44=1, Resulting Numbers: [20, 1]
Generated Node #0,2,2: 20:[20, 1] Operation: 45-44=1
Moving to Node #0,2,2
Current State: 20:[20, 1], Operations: ['59-39=20', '45-44=1']
Exploring Operation: 20*1=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 0.969618
|
hs_3
|
sum_heuristic
|
[
64,
6,
29,
36
] | 65
|
[
"64-6=58",
"36-29=7",
"58+7=65"
] |
Current State: 65:[64, 6, 29, 36], Operations: []
Exploring Operation: 64-6=58, Resulting Numbers: [29, 36, 58]
Generated Node #2: [29, 36, 58] from Operation: 64-6=58
Current State: 65:[29, 36, 58], Operations: ['64-6=58']
Exploring Operation: 36-29=7, Resulting Numbers: [58, 7]
Generated Node #3: [58, 7] from Operation: 36-29=7
Current State: 65:[58, 7], Operations: ['64-6=58', '36-29=7']
Exploring Operation: 58+7=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4
|
Current State: 65:[64, 6, 29, 36], Operations: []
Exploring Operation: 36/6=6, Resulting Numbers: [64, 29, 6]
Generated Node #0,0: 65:[64, 29, 6] Operation: 36/6=6
Exploring Operation: 36-29=7, Resulting Numbers: [64, 6, 7]
Generated Node #0,1: 65:[64, 6, 7] Operation: 36-29=7
Exploring Operation: 29+36=65, Resulting Numbers: [64, 6, 65]
Generated Node #0,2: 65:[64, 6, 65] Operation: 29+36=65
Start Sub Search at level 1: Moving to Node #0,2
Current State: 65:[64, 6, 65], Operations: ['29+36=65']
Exploring Operation: 65-64=1, Resulting Numbers: [6, 1]
Generated Node #0,2,0: 65:[6, 1] Operation: 65-64=1
Exploring Operation: 64+6=70, Resulting Numbers: [65, 70]
Generated Node #0,2,1: 65:[65, 70] Operation: 64+6=70
Exploring Operation: 64-6=58, Resulting Numbers: [65, 58]
Generated Node #0,2,2: 65:[65, 58] Operation: 64-6=58
Moving to Node #0,2,0
Current State: 65:[6, 1], Operations: ['29+36=65', '65-64=1']
Exploring Operation: 6-1=5, Resulting Numbers: [5]
5,65 unequal: No Solution
Exploring Operation: 6*1=6, Resulting Numbers: [6]
6,65 unequal: No Solution
Exploring Operation: 6/1=6, Resulting Numbers: [6]
6,65 unequal: No Solution
Moving to Node #0,2,1
Current State: 65:[65, 70], Operations: ['29+36=65', '64+6=70']
Exploring Operation: 65*70=4550, Resulting Numbers: [4550]
4550,65 unequal: No Solution
Exploring Operation: 70-65=5, Resulting Numbers: [5]
5,65 unequal: No Solution
Exploring Operation: 65+70=135, Resulting Numbers: [135]
135,65 unequal: No Solution
Moving to Node #0,2,2
Current State: 65:[65, 58], Operations: ['29+36=65', '64-6=58']
Exploring Operation: 65-58=7, Resulting Numbers: [7]
7,65 unequal: No Solution
Exploring Operation: 65*58=3770, Resulting Numbers: [3770]
3770,65 unequal: No Solution
Exploring Operation: 65+58=123, Resulting Numbers: [123]
123,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,1
Current State: 65:[64, 6, 7], Operations: ['36-29=7']
Exploring Operation: 64+6=70, Resulting Numbers: [7, 70]
Generated Node #0,1,0: 65:[7, 70] Operation: 64+6=70
Exploring Operation: 7-6=1, Resulting Numbers: [64, 1]
Generated Node #0,1,1: 65:[64, 1] Operation: 7-6=1
Exploring Operation: 6+7=13, Resulting Numbers: [64, 13]
Generated Node #0,1,2: 65:[64, 13] Operation: 6+7=13
Moving to Node #0,1,2
Current State: 65:[64, 13], Operations: ['36-29=7', '6+7=13']
Exploring Operation: 64+13=77, Resulting Numbers: [77]
77,65 unequal: No Solution
Exploring Operation: 64-13=51, Resulting Numbers: [51]
51,65 unequal: No Solution
Exploring Operation: 64*13=832, Resulting Numbers: [832]
832,65 unequal: No Solution
Moving to Node #0,1,1
Current State: 65:[64, 1], Operations: ['36-29=7', '7-6=1']
Exploring Operation: 64/1=64, Resulting Numbers: [64]
64,65 unequal: No Solution
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:[64, 6, 29, 36], Operations: []
Exploring Operation: 36-29=7, Resulting Numbers: [64, 6, 7]
Generated Node #0,1: 65:[64, 6, 7] Operation: 36-29=7
Moving to Node #0,1
Current State: 65:[64, 6, 7], Operations: ['36-29=7']
Exploring Operation: 7-6=1, Resulting Numbers: [64, 1]
Generated Node #0,1,1: 65:[64, 1] Operation: 7-6=1
Moving to Node #0,1,1
Current State: 65:[64, 1], Operations: ['36-29=7', '7-6=1']
Exploring Operation: 64+1=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 1
| 0.975694
|
hs_3
|
sum_heuristic
|
[
21,
82,
30,
54
] | 76
|
[
"30-21=9",
"54/9=6",
"82-6=76"
] |
Current State: 76:[21, 82, 30, 54], Operations: []
Exploring Operation: 30-21=9, Resulting Numbers: [82, 54, 9]
Generated Node #2: [82, 54, 9] from Operation: 30-21=9
Current State: 76:[82, 54, 9], Operations: ['30-21=9']
Exploring Operation: 54/9=6, Resulting Numbers: [82, 6]
Generated Node #3: [82, 6] from Operation: 54/9=6
Current State: 76:[82, 6], Operations: ['30-21=9', '54/9=6']
Exploring Operation: 82-6=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4
|
Current State: 76:[21, 82, 30, 54], Operations: []
Exploring Operation: 54-30=24, Resulting Numbers: [21, 82, 24]
Generated Node #0,0: 76:[21, 82, 24] Operation: 54-30=24
Exploring Operation: 30+54=84, Resulting Numbers: [21, 82, 84]
Generated Node #0,1: 76:[21, 82, 84] Operation: 30+54=84
Exploring Operation: 21+54=75, Resulting Numbers: [82, 30, 75]
Generated Node #0,2: 76:[82, 30, 75] Operation: 21+54=75
Moving to Node #0,0
Current State: 76:[21, 82, 24], Operations: ['54-30=24']
Exploring Operation: 21+24=45, Resulting Numbers: [82, 45]
Generated Node #0,0,0: 76:[82, 45] Operation: 21+24=45
Exploring Operation: 24-21=3, Resulting Numbers: [82, 3]
Generated Node #0,0,1: 76:[82, 3] Operation: 24-21=3
Exploring Operation: 82-21=61, Resulting Numbers: [24, 61]
Generated Node #0,0,2: 76:[24, 61] Operation: 82-21=61
Moving to Node #0,2
Current State: 76:[82, 30, 75], Operations: ['21+54=75']
Exploring Operation: 75-30=45, Resulting Numbers: [82, 45]
Generated Node #0,2,0: 76:[82, 45] Operation: 75-30=45
Exploring Operation: 82-30=52, Resulting Numbers: [75, 52]
Generated Node #0,2,1: 76:[75, 52] Operation: 82-30=52
Exploring Operation: 82-75=7, Resulting Numbers: [30, 7]
Generated Node #0,2,2: 76:[30, 7] Operation: 82-75=7
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 76:[30, 7], Operations: ['21+54=75', '82-75=7']
Exploring Operation: 30-7=23, Resulting Numbers: [23]
23,76 unequal: No Solution
Exploring Operation: 30+7=37, Resulting Numbers: [37]
37,76 unequal: No Solution
Exploring Operation: 30*7=210, Resulting Numbers: [210]
210,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 76:[82, 45], Operations: ['21+54=75', '75-30=45']
Exploring Operation: 82+45=127, Resulting Numbers: [127]
127,76 unequal: No Solution
Exploring Operation: 82*45=3690, Resulting Numbers: [3690]
3690,76 unequal: No Solution
Exploring Operation: 82-45=37, Resulting Numbers: [37]
37,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 76:[75, 52], Operations: ['21+54=75', '82-30=52']
Exploring Operation: 75+52=127, Resulting Numbers: [127]
127,76 unequal: No Solution
Exploring Operation: 75-52=23, Resulting Numbers: [23]
23,76 unequal: No Solution
Exploring Operation: 75*52=3900, Resulting Numbers: [3900]
3900,76 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: 76:[21, 82, 84], Operations: ['30+54=84']
Exploring Operation: 84/21=4, Resulting Numbers: [82, 4]
Generated Node #0,1,0: 76:[82, 4] Operation: 84/21=4
Exploring Operation: 84-21=63, Resulting Numbers: [82, 63]
Generated Node #0,1,1: 76:[82, 63] Operation: 84-21=63
Exploring Operation: 84-82=2, Resulting Numbers: [21, 2]
Generated Node #0,1,2: 76:[21, 2] Operation: 84-82=2
Moving to Node #0,1,2
Current State: 76:[21, 2], Operations: ['30+54=84', '84-82=2']
Exploring Operation: 21*2=42, Resulting Numbers: [42]
42,76 unequal: No Solution
Exploring Operation: 21+2=23, Resulting Numbers: [23]
23,76 unequal: No Solution
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,76 unequal: No Solution
Moving to Node #0,1,0
Current State: 76:[82, 4], Operations: ['30+54=84', '84/21=4']
Exploring Operation: 82-4=78, Resulting Numbers: [78]
78,76 unequal: No Solution
Exploring Operation: 82+4=86, Resulting Numbers: [86]
86,76 unequal: No Solution
Exploring Operation: 82*4=328, Resulting Numbers: [328]
328,76 unequal: No Solution
Moving to Node #0,0,1
Current State: 76:[82, 3], Operations: ['54-30=24', '24-21=3']
Exploring Operation: 82+3=85, Resulting Numbers: [85]
85,76 unequal: No Solution
Exploring Operation: 82*3=246, Resulting Numbers: [246]
246,76 unequal: No Solution
Exploring Operation: 82-3=79, Resulting Numbers: [79]
79,76 unequal: No Solution
Moving to Node #0,0,0
Current State: 76:[82, 45], Operations: ['54-30=24', '21+24=45']
Exploring Operation: 82+45=127, Resulting Numbers: [127]
127,76 unequal: No Solution
Exploring Operation: 82*45=3690, Resulting Numbers: [3690]
3690,76 unequal: No Solution
Exploring Operation: 82-45=37, Resulting Numbers: [37]
37,76 unequal: No Solution
Moving to Node #0,1,1
Current State: 76:[82, 63], Operations: ['30+54=84', '84-21=63']
Exploring Operation: 82+63=145, Resulting Numbers: [145]
145,76 unequal: No Solution
Exploring Operation: 82-63=19, Resulting Numbers: [19]
19,76 unequal: No Solution
Exploring Operation: 82*63=5166, Resulting Numbers: [5166]
5166,76 unequal: No Solution
Moving to Node #0,0,2
Current State: 76:[24, 61], Operations: ['54-30=24', '82-21=61']
Exploring Operation: 24*61=1464, Resulting Numbers: [1464]
1464,76 unequal: No Solution
Exploring Operation: 24+61=85, Resulting Numbers: [85]
85,76 unequal: No Solution
Exploring Operation: 61-24=37, Resulting Numbers: [37]
37,76 unequal: No Solution
No solution found.
| 0
|
hs_3
|
mult_heuristic
|
[
44,
41,
94,
49
] | 58
|
[
"44+41=85",
"94+49=143",
"143-85=58"
] |
Current State: 58:[44, 41, 94, 49], Operations: []
Exploring Operation: 44+41=85, Resulting Numbers: [94, 49, 85]
Generated Node #2: [94, 49, 85] from Operation: 44+41=85
Current State: 58:[94, 49, 85], Operations: ['44+41=85']
Exploring Operation: 94+49=143, Resulting Numbers: [85, 143]
Generated Node #3: [85, 143] from Operation: 94+49=143
Current State: 58:[85, 143], Operations: ['44+41=85', '94+49=143']
Exploring Operation: 143-85=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4
|
Current State: 58:[44, 41, 94, 49], Operations: []
Exploring Operation: 94-41=53, Resulting Numbers: [44, 49, 53]
Generated Node #0,0: 58:[44, 49, 53] Operation: 94-41=53
Moving to Node #0,0
Current State: 58:[44, 49, 53], Operations: ['94-41=53']
Exploring Operation: 49-44=5, Resulting Numbers: [53, 5]
Generated Node #0,0,0: 58:[53, 5] Operation: 49-44=5
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 58:[53, 5], Operations: ['94-41=53', '49-44=5']
Exploring Operation: 53+5=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[44, 41, 94, 49], Operations: []
Exploring Operation: 94-41=53, Resulting Numbers: [44, 49, 53]
Generated Node #0,0: 58:[44, 49, 53] Operation: 94-41=53
Moving to Node #0,0
Current State: 58:[44, 49, 53], Operations: ['94-41=53']
Exploring Operation: 49-44=5, Resulting Numbers: [53, 5]
Generated Node #0,0,0: 58:[53, 5] Operation: 49-44=5
Moving to Node #0,0,0
Current State: 58:[53, 5], Operations: ['94-41=53', '49-44=5']
Exploring Operation: 53+5=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924
|
hs_1
|
sum_heuristic
|
[
6,
17,
32,
47
] | 23
|
[
"6*17=102",
"32+47=79",
"102-79=23"
] |
Current State: 23:[6, 17, 32, 47], Operations: []
Exploring Operation: 6*17=102, Resulting Numbers: [32, 47, 102]
Generated Node #2: [32, 47, 102] from Operation: 6*17=102
Current State: 23:[32, 47, 102], Operations: ['6*17=102']
Exploring Operation: 32+47=79, Resulting Numbers: [102, 79]
Generated Node #3: [102, 79] from Operation: 32+47=79
Current State: 23:[102, 79], Operations: ['6*17=102', '32+47=79']
Exploring Operation: 102-79=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4
|
Current State: 23:[6, 17, 32, 47], Operations: []
Exploring Operation: 47-6=41, Resulting Numbers: [17, 32, 41]
Generated Node #0,0: 23:[17, 32, 41] Operation: 47-6=41
Exploring Operation: 47-17=30, Resulting Numbers: [6, 32, 30]
Generated Node #0,1: 23:[6, 32, 30] Operation: 47-17=30
Exploring Operation: 6+17=23, Resulting Numbers: [32, 47, 23]
Generated Node #0,2: 23:[32, 47, 23] Operation: 6+17=23
Exploring Operation: 32-6=26, Resulting Numbers: [17, 47, 26]
Generated Node #0,3: 23:[17, 47, 26] Operation: 32-6=26
Exploring Operation: 47-32=15, Resulting Numbers: [6, 17, 15]
Generated Node #0,4: 23:[6, 17, 15] Operation: 47-32=15
Start Sub Search at level 1: Moving to Node #0,4
Current State: 23:[6, 17, 15], Operations: ['47-32=15']
Exploring Operation: 6+15=21, Resulting Numbers: [17, 21]
Generated Node #0,4,0: 23:[17, 21] Operation: 6+15=21
Exploring Operation: 17+15=32, Resulting Numbers: [6, 32]
Generated Node #0,4,1: 23:[6, 32] Operation: 17+15=32
Exploring Operation: 17-6=11, Resulting Numbers: [15, 11]
Generated Node #0,4,2: 23:[15, 11] Operation: 17-6=11
Exploring Operation: 6+17=23, Resulting Numbers: [15, 23]
Generated Node #0,4,3: 23:[15, 23] Operation: 6+17=23
Exploring Operation: 15-6=9, Resulting Numbers: [17, 9]
Generated Node #0,4,4: 23:[17, 9] Operation: 15-6=9
Moving to Node #0,4,0
Current State: 23:[17, 21], Operations: ['47-32=15', '6+15=21']
Exploring Operation: 17+21=38, Resulting Numbers: [38]
38,23 unequal: No Solution
Exploring Operation: 17*21=357, Resulting Numbers: [357]
357,23 unequal: No Solution
Exploring Operation: 21-17=4, Resulting Numbers: [4]
4,23 unequal: No Solution
Moving to Node #0,4,3
Current State: 23:[15, 23], Operations: ['47-32=15', '6+17=23']
Exploring Operation: 23-15=8, Resulting Numbers: [8]
8,23 unequal: No Solution
Exploring Operation: 15*23=345, Resulting Numbers: [345]
345,23 unequal: No Solution
Exploring Operation: 15+23=38, Resulting Numbers: [38]
38,23 unequal: No Solution
Moving to Node #0,4,2
Current State: 23:[15, 11], Operations: ['47-32=15', '17-6=11']
Exploring Operation: 15-11=4, Resulting Numbers: [4]
4,23 unequal: No Solution
Exploring Operation: 15*11=165, Resulting Numbers: [165]
165,23 unequal: No Solution
Exploring Operation: 15+11=26, Resulting Numbers: [26]
26,23 unequal: No Solution
Moving to Node #0,4,4
Current State: 23:[17, 9], Operations: ['47-32=15', '15-6=9']
Exploring Operation: 17-9=8, Resulting Numbers: [8]
8,23 unequal: No Solution
Exploring Operation: 17*9=153, Resulting Numbers: [153]
153,23 unequal: No Solution
Exploring Operation: 17+9=26, Resulting Numbers: [26]
26,23 unequal: No Solution
Moving to Node #0,4,1
Current State: 23:[6, 32], Operations: ['47-32=15', '17+15=32']
Exploring Operation: 6+32=38, Resulting Numbers: [38]
38,23 unequal: No Solution
Exploring Operation: 6*32=192, Resulting Numbers: [192]
192,23 unequal: No Solution
Exploring Operation: 32-6=26, Resulting Numbers: [26]
26,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[17, 32, 41], Operations: ['47-6=41']
Exploring Operation: 41-17=24, Resulting Numbers: [32, 24]
Generated Node #0,0,0: 23:[32, 24] Operation: 41-17=24
Exploring Operation: 17+32=49, Resulting Numbers: [41, 49]
Generated Node #0,0,1: 23:[41, 49] Operation: 17+32=49
Exploring Operation: 17+41=58, Resulting Numbers: [32, 58]
Generated Node #0,0,2: 23:[32, 58] Operation: 17+41=58
Exploring Operation: 32-17=15, Resulting Numbers: [41, 15]
Generated Node #0,0,3: 23:[41, 15] Operation: 32-17=15
Exploring Operation: 41-32=9, Resulting Numbers: [17, 9]
Generated Node #0,0,4: 23:[17, 9] Operation: 41-32=9
Moving to Node #0,0,0
Current State: 23:[32, 24], Operations: ['47-6=41', '41-17=24']
Exploring Operation: 32+24=56, Resulting Numbers: [56]
56,23 unequal: No Solution
Exploring Operation: 32*24=768, Resulting Numbers: [768]
768,23 unequal: No Solution
Exploring Operation: 32-24=8, Resulting Numbers: [8]
8,23 unequal: No Solution
Moving to Node #0,0,4
Current State: 23:[17, 9], Operations: ['47-6=41', '41-32=9']
Exploring Operation: 17+9=26, Resulting Numbers: [26]
26,23 unequal: No Solution
Exploring Operation: 17*9=153, Resulting Numbers: [153]
153,23 unequal: No Solution
Exploring Operation: 17-9=8, Resulting Numbers: [8]
8,23 unequal: No Solution
Moving to Node #0,0,3
Current State: 23:[41, 15], Operations: ['47-6=41', '32-17=15']
Exploring Operation: 41-15=26, Resulting Numbers: [26]
26,23 unequal: No Solution
Exploring Operation: 41+15=56, Resulting Numbers: [56]
56,23 unequal: No Solution
Exploring Operation: 41*15=615, Resulting Numbers: [615]
615,23 unequal: No Solution
Moving to Node #0,0,1
Current State: 23:[41, 49], Operations: ['47-6=41', '17+32=49']
Exploring Operation: 49-41=8, Resulting Numbers: [8]
8,23 unequal: No Solution
Exploring Operation: 41+49=90, Resulting Numbers: [90]
90,23 unequal: No Solution
Exploring Operation: 41*49=2009, Resulting Numbers: [2009]
2009,23 unequal: No Solution
Moving to Node #0,0,2
Current State: 23:[32, 58], Operations: ['47-6=41', '17+41=58']
Exploring Operation: 58-32=26, Resulting Numbers: [26]
26,23 unequal: No Solution
Exploring Operation: 32*58=1856, Resulting Numbers: [1856]
1856,23 unequal: No Solution
Exploring Operation: 32+58=90, Resulting Numbers: [90]
90,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 23:[6, 32, 30], Operations: ['47-17=30']
Exploring Operation: 32-6=26, Resulting Numbers: [30, 26]
Generated Node #0,1,0: 23:[30, 26] Operation: 32-6=26
Exploring Operation: 30-6=24, Resulting Numbers: [32, 24]
Generated Node #0,1,1: 23:[32, 24] Operation: 30-6=24
Exploring Operation: 30/6=5, Resulting Numbers: [32, 5]
Generated Node #0,1,2: 23:[32, 5] Operation: 30/6=5
Exploring Operation: 6+30=36, Resulting Numbers: [32, 36]
Generated Node #0,1,3: 23:[32, 36] Operation: 6+30=36
Exploring Operation: 6+32=38, Resulting Numbers: [30, 38]
Generated Node #0,1,4: 23:[30, 38] Operation: 6+32=38
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 23:[30, 26], Operations: ['47-17=30', '32-6=26']
Exploring Operation: 30-26=4, Resulting Numbers: [4]
4,23 unequal: No Solution
Exploring Operation: 30+26=56, Resulting Numbers: [56]
56,23 unequal: No Solution
Exploring Operation: 30*26=780, Resulting Numbers: [780]
780,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 23:[32, 24], Operations: ['47-17=30', '30-6=24']
Exploring Operation: 32+24=56, Resulting Numbers: [56]
56,23 unequal: No Solution
Exploring Operation: 32*24=768, Resulting Numbers: [768]
768,23 unequal: No Solution
Exploring Operation: 32-24=8, Resulting Numbers: [8]
8,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 23:[32, 36], Operations: ['47-17=30', '6+30=36']
Exploring Operation: 32+36=68, Resulting Numbers: [68]
68,23 unequal: No Solution
Exploring Operation: 36-32=4, Resulting Numbers: [4]
4,23 unequal: No Solution
Exploring Operation: 32*36=1152, Resulting Numbers: [1152]
1152,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 23:[30, 38], Operations: ['47-17=30', '6+32=38']
Exploring Operation: 30+38=68, Resulting Numbers: [68]
68,23 unequal: No Solution
Exploring Operation: 38-30=8, Resulting Numbers: [8]
8,23 unequal: No Solution
Exploring Operation: 30*38=1140, Resulting Numbers: [1140]
1140,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 23:[32, 5], Operations: ['47-17=30', '30/6=5']
Exploring Operation: 32*5=160, Resulting Numbers: [160]
160,23 unequal: No Solution
Exploring Operation: 32-5=27, Resulting Numbers: [27]
27,23 unequal: No Solution
Exploring Operation: 32+5=37, Resulting Numbers: [37]
37,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 23:[32, 47, 23], Operations: ['6+17=23']
Exploring Operation: 32+47=79, Resulting Numbers: [23, 79]
Generated Node #0,2,0: 23:[23, 79] Operation: 32+47=79
Exploring Operation: 47-32=15, Resulting Numbers: [23, 15]
Generated Node #0,2,1: 23:[23, 15] Operation: 47-32=15
Exploring Operation: 32+23=55, Resulting Numbers: [47, 55]
Generated Node #0,2,2: 23:[47, 55] Operation: 32+23=55
Exploring Operation: 32-23=9, Resulting Numbers: [47, 9]
Generated Node #0,2,3: 23:[47, 9] Operation: 32-23=9
Exploring Operation: 47-23=24, Resulting Numbers: [32, 24]
Generated Node #0,2,4: 23:[32, 24] Operation: 47-23=24
Moving to Node #0,2,1
Current State: 23:[23, 15], Operations: ['6+17=23', '47-32=15']
Exploring Operation: 23+15=38, Resulting Numbers: [38]
38,23 unequal: No Solution
Exploring Operation: 23*15=345, Resulting Numbers: [345]
345,23 unequal: No Solution
Exploring Operation: 23-15=8, Resulting Numbers: [8]
8,23 unequal: No Solution
Moving to Node #0,2,4
Current State: 23:[32, 24], Operations: ['6+17=23', '47-23=24']
Exploring Operation: 32*24=768, Resulting Numbers: [768]
768,23 unequal: No Solution
Exploring Operation: 32+24=56, Resulting Numbers: [56]
56,23 unequal: No Solution
Exploring Operation: 32-24=8, Resulting Numbers: [8]
8,23 unequal: No Solution
Moving to Node #0,2,3
Current State: 23:[47, 9], Operations: ['6+17=23', '32-23=9']
Exploring Operation: 47+9=56, Resulting Numbers: [56]
56,23 unequal: No Solution
Exploring Operation: 47-9=38, Resulting Numbers: [38]
38,23 unequal: No Solution
Exploring Operation: 47*9=423, Resulting Numbers: [423]
423,23 unequal: No Solution
Moving to Node #0,2,0
Current State: 23:[23, 79], Operations: ['6+17=23', '32+47=79']
Exploring Operation: 23*79=1817, Resulting Numbers: [1817]
1817,23 unequal: No Solution
Exploring Operation: 23+79=102, Resulting Numbers: [102]
102,23 unequal: No Solution
Exploring Operation: 79-23=56, Resulting Numbers: [56]
56,23 unequal: No Solution
Moving to Node #0,2,2
Current State: 23:[47, 55], Operations: ['6+17=23', '32+23=55']
Exploring Operation: 47+55=102, Resulting Numbers: [102]
102,23 unequal: No Solution
Exploring Operation: 55-47=8, Resulting Numbers: [8]
8,23 unequal: No Solution
Exploring Operation: 47*55=2585, Resulting Numbers: [2585]
2585,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 23:[17, 47, 26], Operations: ['32-6=26']
Exploring Operation: 26-17=9, Resulting Numbers: [47, 9]
Generated Node #0,3,0: 23:[47, 9] Operation: 26-17=9
Exploring Operation: 17+47=64, Resulting Numbers: [26, 64]
Generated Node #0,3,1: 23:[26, 64] Operation: 17+47=64
Exploring Operation: 17+26=43, Resulting Numbers: [47, 43]
Generated Node #0,3,2: 23:[47, 43] Operation: 17+26=43
Exploring Operation: 47-26=21, Resulting Numbers: [17, 21]
Generated Node #0,3,3: 23:[17, 21] Operation: 47-26=21
Exploring Operation: 47-17=30, Resulting Numbers: [26, 30]
Generated Node #0,3,4: 23:[26, 30] Operation: 47-17=30
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 23:[17, 21], Operations: ['32-6=26', '47-26=21']
Exploring Operation: 17*21=357, Resulting Numbers: [357]
357,23 unequal: No Solution
Exploring Operation: 17+21=38, Resulting Numbers: [38]
38,23 unequal: No Solution
Exploring Operation: 21-17=4, Resulting Numbers: [4]
4,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 23:[26, 30], Operations: ['32-6=26', '47-17=30']
Exploring Operation: 30-26=4, Resulting Numbers: [4]
4,23 unequal: No Solution
Exploring Operation: 26+30=56, Resulting Numbers: [56]
56,23 unequal: No Solution
Exploring Operation: 26*30=780, Resulting Numbers: [780]
780,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 23:[47, 9], Operations: ['32-6=26', '26-17=9']
Exploring Operation: 47-9=38, Resulting Numbers: [38]
38,23 unequal: No Solution
Exploring Operation: 47+9=56, Resulting Numbers: [56]
56,23 unequal: No Solution
Exploring Operation: 47*9=423, Resulting Numbers: [423]
423,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 23:[26, 64], Operations: ['32-6=26', '17+47=64']
Exploring Operation: 26*64=1664, Resulting Numbers: [1664]
1664,23 unequal: No Solution
Exploring Operation: 26+64=90, Resulting Numbers: [90]
90,23 unequal: No Solution
Exploring Operation: 64-26=38, Resulting Numbers: [38]
38,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 23:[47, 43], Operations: ['32-6=26', '17+26=43']
Exploring Operation: 47-43=4, Resulting Numbers: [4]
4,23 unequal: No Solution
Exploring Operation: 47*43=2021, Resulting Numbers: [2021]
2021,23 unequal: No Solution
Exploring Operation: 47+43=90, Resulting Numbers: [90]
90,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_5
|
sum_heuristic
|
[
81,
34,
15,
53
] | 21
|
[
"81-34=47",
"15+53=68",
"68-47=21"
] |
Current State: 21:[81, 34, 15, 53], Operations: []
Exploring Operation: 81-34=47, Resulting Numbers: [15, 53, 47]
Generated Node #2: [15, 53, 47] from Operation: 81-34=47
Current State: 21:[15, 53, 47], Operations: ['81-34=47']
Exploring Operation: 15+53=68, Resulting Numbers: [47, 68]
Generated Node #3: [47, 68] from Operation: 15+53=68
Current State: 21:[47, 68], Operations: ['81-34=47', '15+53=68']
Exploring Operation: 68-47=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4
|
Current State: 21:[81, 34, 15, 53], Operations: []
Exploring Operation: 81-53=28, Resulting Numbers: [34, 15, 28]
Generated Node #0,0: 21:[34, 15, 28] Operation: 81-53=28
Exploring Operation: 53-34=19, Resulting Numbers: [81, 15, 19]
Generated Node #0,1: 21:[81, 15, 19] Operation: 53-34=19
Exploring Operation: 81-34=47, Resulting Numbers: [15, 53, 47]
Generated Node #0,2: 21:[15, 53, 47] Operation: 81-34=47
Exploring Operation: 81-15=66, Resulting Numbers: [34, 53, 66]
Generated Node #0,3: 21:[34, 53, 66] Operation: 81-15=66
Moving to Node #0,0
Current State: 21:[34, 15, 28], Operations: ['81-53=28']
Exploring Operation: 34-15=19, Resulting Numbers: [28, 19]
Generated Node #0,0,0: 21:[28, 19] Operation: 34-15=19
Exploring Operation: 28-15=13, Resulting Numbers: [34, 13]
Generated Node #0,0,1: 21:[34, 13] Operation: 28-15=13
Exploring Operation: 34-28=6, Resulting Numbers: [15, 6]
Generated Node #0,0,2: 21:[15, 6] Operation: 34-28=6
Exploring Operation: 34+15=49, Resulting Numbers: [28, 49]
Generated Node #0,0,3: 21:[28, 49] Operation: 34+15=49
Moving to Node #0,2
Current State: 21:[15, 53, 47], Operations: ['81-34=47']
Exploring Operation: 53-47=6, Resulting Numbers: [15, 6]
Generated Node #0,2,0: 21:[15, 6] Operation: 53-47=6
Exploring Operation: 47-15=32, Resulting Numbers: [53, 32]
Generated Node #0,2,1: 21:[53, 32] Operation: 47-15=32
Exploring Operation: 53-15=38, Resulting Numbers: [47, 38]
Generated Node #0,2,2: 21:[47, 38] Operation: 53-15=38
Exploring Operation: 15+53=68, Resulting Numbers: [47, 68]
Generated Node #0,2,3: 21:[47, 68] Operation: 15+53=68
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 21:[15, 6], Operations: ['81-34=47', '53-47=6']
Exploring Operation: 15*6=90, Resulting Numbers: [90]
90,21 unequal: No Solution
Exploring Operation: 15-6=9, Resulting Numbers: [9]
9,21 unequal: No Solution
Exploring Operation: 15+6=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[81, 34, 15, 53], Operations: []
Exploring Operation: 81-34=47, Resulting Numbers: [15, 53, 47]
Generated Node #0,2: 21:[15, 53, 47] Operation: 81-34=47
Moving to Node #0,2
Current State: 21:[15, 53, 47], Operations: ['81-34=47']
Exploring Operation: 53-47=6, Resulting Numbers: [15, 6]
Generated Node #0,2,0: 21:[15, 6] Operation: 53-47=6
Moving to Node #0,2,0
Current State: 21:[15, 6], Operations: ['81-34=47', '53-47=6']
Exploring Operation: 15+6=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507
|
hs_4
|
mult_heuristic
|
[
17,
46,
19,
66
] | 41
|
[
"19+66=85",
"85/17=5",
"46-5=41"
] |
Current State: 41:[17, 46, 19, 66], Operations: []
Exploring Operation: 19+66=85, Resulting Numbers: [17, 46, 85]
Generated Node #2: [17, 46, 85] from Operation: 19+66=85
Current State: 41:[17, 46, 85], Operations: ['19+66=85']
Exploring Operation: 85/17=5, Resulting Numbers: [46, 5]
Generated Node #3: [46, 5] from Operation: 85/17=5
Current State: 41:[46, 5], Operations: ['19+66=85', '85/17=5']
Exploring Operation: 46-5=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4
|
Current State: 41:[17, 46, 19, 66], Operations: []
Exploring Operation: 17+19=36, Resulting Numbers: [46, 66, 36]
Generated Node #0,0: 41:[46, 66, 36] Operation: 17+19=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[46, 66, 36], Operations: ['17+19=36']
Exploring Operation: 66-36=30, Resulting Numbers: [46, 30]
Generated Node #0,0,0: 41:[46, 30] Operation: 66-36=30
Moving to Node #0,0,0
Current State: 41:[46, 30], Operations: ['17+19=36', '66-36=30']
Exploring Operation: 46-30=16, Resulting Numbers: [16]
16,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_1
|
sum_heuristic
|
[
23,
25,
61,
16
] | 58
|
[
"23+25=48",
"48/16=3",
"61-3=58"
] |
Current State: 58:[23, 25, 61, 16], Operations: []
Exploring Operation: 23+25=48, Resulting Numbers: [61, 16, 48]
Generated Node #2: [61, 16, 48] from Operation: 23+25=48
Current State: 58:[61, 16, 48], Operations: ['23+25=48']
Exploring Operation: 48/16=3, Resulting Numbers: [61, 3]
Generated Node #3: [61, 3] from Operation: 48/16=3
Current State: 58:[61, 3], Operations: ['23+25=48', '48/16=3']
Exploring Operation: 61-3=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4
|
Current State: 58:[23, 25, 61, 16], Operations: []
Exploring Operation: 25-23=2, Resulting Numbers: [61, 16, 2]
Generated Node #0,0: 58:[61, 16, 2] Operation: 25-23=2
Exploring Operation: 25-16=9, Resulting Numbers: [23, 61, 9]
Generated Node #0,1: 58:[23, 61, 9] Operation: 25-16=9
Exploring Operation: 23-16=7, Resulting Numbers: [25, 61, 7]
Generated Node #0,2: 58:[25, 61, 7] Operation: 23-16=7
Start Sub Search at level 1: Moving to Node #0,2
Current State: 58:[25, 61, 7], Operations: ['23-16=7']
Exploring Operation: 61-25=36, Resulting Numbers: [7, 36]
Generated Node #0,2,0: 58:[7, 36] Operation: 61-25=36
Exploring Operation: 25+7=32, Resulting Numbers: [61, 32]
Generated Node #0,2,1: 58:[61, 32] Operation: 25+7=32
Exploring Operation: 61-7=54, Resulting Numbers: [25, 54]
Generated Node #0,2,2: 58:[25, 54] Operation: 61-7=54
Moving to Node #0,2,1
Current State: 58:[61, 32], Operations: ['23-16=7', '25+7=32']
Exploring Operation: 61*32=1952, Resulting Numbers: [1952]
1952,58 unequal: No Solution
Exploring Operation: 61-32=29, Resulting Numbers: [29]
29,58 unequal: No Solution
Exploring Operation: 61+32=93, Resulting Numbers: [93]
93,58 unequal: No Solution
Moving to Node #0,2,2
Current State: 58:[25, 54], Operations: ['23-16=7', '61-7=54']
Exploring Operation: 54-25=29, Resulting Numbers: [29]
29,58 unequal: No Solution
Exploring Operation: 25+54=79, Resulting Numbers: [79]
79,58 unequal: No Solution
Exploring Operation: 25*54=1350, Resulting Numbers: [1350]
1350,58 unequal: No Solution
Moving to Node #0,2,0
Current State: 58:[7, 36], Operations: ['23-16=7', '61-25=36']
Exploring Operation: 7*36=252, Resulting Numbers: [252]
252,58 unequal: No Solution
Exploring Operation: 36-7=29, Resulting Numbers: [29]
29,58 unequal: No Solution
Exploring Operation: 7+36=43, Resulting Numbers: [43]
43,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[61, 16, 2], Operations: ['25-23=2']
Exploring Operation: 16/2=8, Resulting Numbers: [61, 8]
Generated Node #0,0,0: 58:[61, 8] Operation: 16/2=8
Exploring Operation: 61-16=45, Resulting Numbers: [2, 45]
Generated Node #0,0,1: 58:[2, 45] Operation: 61-16=45
Exploring Operation: 16*2=32, Resulting Numbers: [61, 32]
Generated Node #0,0,2: 58:[61, 32] Operation: 16*2=32
Moving to Node #0,0,2
Current State: 58:[61, 32], Operations: ['25-23=2', '16*2=32']
Exploring Operation: 61+32=93, Resulting Numbers: [93]
93,58 unequal: No Solution
Exploring Operation: 61-32=29, Resulting Numbers: [29]
29,58 unequal: No Solution
Exploring Operation: 61*32=1952, Resulting Numbers: [1952]
1952,58 unequal: No Solution
Moving to Node #0,0,0
Current State: 58:[61, 8], Operations: ['25-23=2', '16/2=8']
Exploring Operation: 61-8=53, Resulting Numbers: [53]
53,58 unequal: No Solution
Exploring Operation: 61*8=488, Resulting Numbers: [488]
488,58 unequal: No Solution
Exploring Operation: 61+8=69, Resulting Numbers: [69]
69,58 unequal: No Solution
Moving to Node #0,0,1
Current State: 58:[2, 45], Operations: ['25-23=2', '61-16=45']
Exploring Operation: 2*45=90, Resulting Numbers: [90]
90,58 unequal: No Solution
Exploring Operation: 2+45=47, Resulting Numbers: [47]
47,58 unequal: No Solution
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,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
Current State: 58:[23, 61, 9], Operations: ['25-16=9']
Exploring Operation: 23+9=32, Resulting Numbers: [61, 32]
Generated Node #0,1,0: 58:[61, 32] Operation: 23+9=32
Exploring Operation: 61-9=52, Resulting Numbers: [23, 52]
Generated Node #0,1,1: 58:[23, 52] Operation: 61-9=52
Exploring Operation: 23-9=14, Resulting Numbers: [61, 14]
Generated Node #0,1,2: 58:[61, 14] Operation: 23-9=14
Moving to Node #0,1,0
Current State: 58:[61, 32], Operations: ['25-16=9', '23+9=32']
Exploring Operation: 61-32=29, Resulting Numbers: [29]
29,58 unequal: No Solution
Exploring Operation: 61+32=93, Resulting Numbers: [93]
93,58 unequal: No Solution
Exploring Operation: 61*32=1952, Resulting Numbers: [1952]
1952,58 unequal: No Solution
Moving to Node #0,1,1
Current State: 58:[23, 52], Operations: ['25-16=9', '61-9=52']
Exploring Operation: 23*52=1196, Resulting Numbers: [1196]
1196,58 unequal: No Solution
Exploring Operation: 23+52=75, Resulting Numbers: [75]
75,58 unequal: No Solution
Exploring Operation: 52-23=29, Resulting Numbers: [29]
29,58 unequal: No Solution
Moving to Node #0,1,2
Current State: 58:[61, 14], Operations: ['25-16=9', '23-9=14']
Exploring Operation: 61*14=854, Resulting Numbers: [854]
854,58 unequal: No Solution
Exploring Operation: 61-14=47, Resulting Numbers: [47]
47,58 unequal: No Solution
Exploring Operation: 61+14=75, Resulting Numbers: [75]
75,58 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
|
[
15,
37,
40,
80
] | 20
|
[
"37-15=22",
"80/40=2",
"22-2=20"
] |
Current State: 20:[15, 37, 40, 80], Operations: []
Exploring Operation: 37-15=22, Resulting Numbers: [40, 80, 22]
Generated Node #2: [40, 80, 22] from Operation: 37-15=22
Current State: 20:[40, 80, 22], Operations: ['37-15=22']
Exploring Operation: 80/40=2, Resulting Numbers: [22, 2]
Generated Node #3: [22, 2] from Operation: 80/40=2
Current State: 20:[22, 2], Operations: ['37-15=22', '80/40=2']
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4
|
Current State: 20:[15, 37, 40, 80], Operations: []
Exploring Operation: 80/40=2, Resulting Numbers: [15, 37, 2]
Generated Node #0,0: 20:[15, 37, 2] Operation: 80/40=2
Moving to Node #0,0
Current State: 20:[15, 37, 2], Operations: ['80/40=2']
Exploring Operation: 37-15=22, Resulting Numbers: [2, 22]
Generated Node #0,0,0: 20:[2, 22] Operation: 37-15=22
Moving to Node #0,0,0
Current State: 20:[2, 22], Operations: ['80/40=2', '37-15=22']
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[15, 37, 40, 80], Operations: []
Exploring Operation: 80/40=2, Resulting Numbers: [15, 37, 2]
Generated Node #0,0: 20:[15, 37, 2] Operation: 80/40=2
Moving to Node #0,0
Current State: 20:[15, 37, 2], Operations: ['80/40=2']
Exploring Operation: 37-15=22, Resulting Numbers: [2, 22]
Generated Node #0,0,0: 20:[2, 22] Operation: 37-15=22
Moving to Node #0,0,0
Current State: 20:[2, 22], Operations: ['80/40=2', '37-15=22']
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 0.993924
|
hs_1
|
mult_heuristic
|
[
4,
98,
24,
38
] | 54
|
[
"24/4=6",
"98-38=60",
"60-6=54"
] |
Current State: 54:[4, 98, 24, 38], Operations: []
Exploring Operation: 24/4=6, Resulting Numbers: [98, 38, 6]
Generated Node #2: [98, 38, 6] from Operation: 24/4=6
Current State: 54:[98, 38, 6], Operations: ['24/4=6']
Exploring Operation: 98-38=60, Resulting Numbers: [6, 60]
Generated Node #3: [6, 60] from Operation: 98-38=60
Current State: 54:[6, 60], Operations: ['24/4=6', '98-38=60']
Exploring Operation: 60-6=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4
|
Current State: 54:[4, 98, 24, 38], Operations: []
Exploring Operation: 98-38=60, Resulting Numbers: [4, 24, 60]
Generated Node #0,0: 54:[4, 24, 60] Operation: 98-38=60
Moving to Node #0,0
Current State: 54:[4, 24, 60], Operations: ['98-38=60']
Exploring Operation: 60-4=56, Resulting Numbers: [24, 56]
Generated Node #0,0,0: 54:[24, 56] Operation: 60-4=56
Moving to Node #0,0,0
Current State: 54:[24, 56], Operations: ['98-38=60', '60-4=56']
Exploring Operation: 56-24=32, Resulting Numbers: [32]
32,54 unequal: No Solution
No solution found.
| 0
|
hs_1
|
sum_heuristic
|
[
37,
12,
26,
15
] | 95
|
[
"26-15=11",
"12*11=132",
"132-37=95"
] |
Current State: 95:[37, 12, 26, 15], Operations: []
Exploring Operation: 26-15=11, Resulting Numbers: [37, 12, 11]
Generated Node #2: [37, 12, 11] from Operation: 26-15=11
Current State: 95:[37, 12, 11], Operations: ['26-15=11']
Exploring Operation: 12*11=132, Resulting Numbers: [37, 132]
Generated Node #3: [37, 132] from Operation: 12*11=132
Current State: 95:[37, 132], Operations: ['26-15=11', '12*11=132']
Exploring Operation: 132-37=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4
|
Current State: 95:[37, 12, 26, 15], Operations: []
Exploring Operation: 37-12=25, Resulting Numbers: [26, 15, 25]
Generated Node #0,0: 95:[26, 15, 25] Operation: 37-12=25
Exploring Operation: 37-26=11, Resulting Numbers: [12, 15, 11]
Generated Node #0,1: 95:[12, 15, 11] Operation: 37-26=11
Moving to Node #0,0
Current State: 95:[26, 15, 25], Operations: ['37-12=25']
Exploring Operation: 26-25=1, Resulting Numbers: [15, 1]
Generated Node #0,0,0: 95:[15, 1] Operation: 26-25=1
Exploring Operation: 26-15=11, Resulting Numbers: [25, 11]
Generated Node #0,0,1: 95:[25, 11] Operation: 26-15=11
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 95:[15, 1], Operations: ['37-12=25', '26-25=1']
Exploring Operation: 15+1=16, Resulting Numbers: [16]
16,95 unequal: No Solution
Exploring Operation: 15*1=15, Resulting Numbers: [15]
15,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 95:[25, 11], Operations: ['37-12=25', '26-15=11']
Exploring Operation: 25+11=36, Resulting Numbers: [36]
36,95 unequal: No Solution
Exploring Operation: 25-11=14, Resulting Numbers: [14]
14,95 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: 95:[12, 15, 11], Operations: ['37-26=11']
Exploring Operation: 12+11=23, Resulting Numbers: [15, 23]
Generated Node #0,1,0: 95:[15, 23] Operation: 12+11=23
Exploring Operation: 15-12=3, Resulting Numbers: [11, 3]
Generated Node #0,1,1: 95:[11, 3] Operation: 15-12=3
Moving to Node #0,1,0
Current State: 95:[15, 23], Operations: ['37-26=11', '12+11=23']
Exploring Operation: 23-15=8, Resulting Numbers: [8]
8,95 unequal: No Solution
Exploring Operation: 15+23=38, Resulting Numbers: [38]
38,95 unequal: No Solution
Moving to Node #0,1,1
Current State: 95:[11, 3], Operations: ['37-26=11', '15-12=3']
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,95 unequal: No Solution
Exploring Operation: 11+3=14, Resulting Numbers: [14]
14,95 unequal: No Solution
No solution found.
| 0
|
hs_2
|
mult_heuristic
|
[
70,
21,
76,
5
] | 25
|
[
"70-21=49",
"76+49=125",
"125/5=25"
] |
Current State: 25:[70, 21, 76, 5], Operations: []
Exploring Operation: 70-21=49, Resulting Numbers: [76, 5, 49]
Generated Node #2: [76, 5, 49] from Operation: 70-21=49
Current State: 25:[76, 5, 49], Operations: ['70-21=49']
Exploring Operation: 76+49=125, Resulting Numbers: [5, 125]
Generated Node #3: [5, 125] from Operation: 76+49=125
Current State: 25:[5, 125], Operations: ['70-21=49', '76+49=125']
Exploring Operation: 125/5=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4
|
Current State: 25:[70, 21, 76, 5], Operations: []
Exploring Operation: 70/5=14, Resulting Numbers: [21, 76, 14]
Generated Node #0,0: 25:[21, 76, 14] Operation: 70/5=14
Exploring Operation: 76-70=6, Resulting Numbers: [21, 5, 6]
Generated Node #0,1: 25:[21, 5, 6] Operation: 76-70=6
Exploring Operation: 76-21=55, Resulting Numbers: [70, 5, 55]
Generated Node #0,2: 25:[70, 5, 55] Operation: 76-21=55
Exploring Operation: 70-21=49, Resulting Numbers: [76, 5, 49]
Generated Node #0,3: 25:[76, 5, 49] Operation: 70-21=49
Moving to Node #0,1
Current State: 25:[21, 5, 6], Operations: ['76-70=6']
Exploring Operation: 6-5=1, Resulting Numbers: [21, 1]
Generated Node #0,1,0: 25:[21, 1] Operation: 6-5=1
Exploring Operation: 5*6=30, Resulting Numbers: [21, 30]
Generated Node #0,1,1: 25:[21, 30] Operation: 5*6=30
Exploring Operation: 21+5=26, Resulting Numbers: [6, 26]
Generated Node #0,1,2: 25:[6, 26] Operation: 21+5=26
Exploring Operation: 21+6=27, Resulting Numbers: [5, 27]
Generated Node #0,1,3: 25:[5, 27] Operation: 21+6=27
Moving to Node #0,0
Current State: 25:[21, 76, 14], Operations: ['70/5=14']
Exploring Operation: 21+14=35, Resulting Numbers: [76, 35]
Generated Node #0,0,0: 25:[76, 35] Operation: 21+14=35
Exploring Operation: 76-21=55, Resulting Numbers: [14, 55]
Generated Node #0,0,1: 25:[14, 55] Operation: 76-21=55
Exploring Operation: 21-14=7, Resulting Numbers: [76, 7]
Generated Node #0,0,2: 25:[76, 7] Operation: 21-14=7
Exploring Operation: 76-14=62, Resulting Numbers: [21, 62]
Generated Node #0,0,3: 25:[21, 62] Operation: 76-14=62
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 25:[14, 55], Operations: ['70/5=14', '76-21=55']
Exploring Operation: 14*55=770, Resulting Numbers: [770]
770,25 unequal: No Solution
Exploring Operation: 14+55=69, Resulting Numbers: [69]
69,25 unequal: No Solution
Exploring Operation: 55-14=41, Resulting Numbers: [41]
41,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,3
Current State: 25:[21, 62], Operations: ['70/5=14', '76-14=62']
Exploring Operation: 62-21=41, Resulting Numbers: [41]
41,25 unequal: No Solution
Exploring Operation: 21+62=83, Resulting Numbers: [83]
83,25 unequal: No Solution
Exploring Operation: 21*62=1302, Resulting Numbers: [1302]
1302,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,2
Current State: 25:[76, 7], Operations: ['70/5=14', '21-14=7']
Exploring Operation: 76+7=83, Resulting Numbers: [83]
83,25 unequal: No Solution
Exploring Operation: 76-7=69, Resulting Numbers: [69]
69,25 unequal: No Solution
Exploring Operation: 76*7=532, Resulting Numbers: [532]
532,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,0
Current State: 25:[76, 35], Operations: ['70/5=14', '21+14=35']
Exploring Operation: 76+35=111, Resulting Numbers: [111]
111,25 unequal: No Solution
Exploring Operation: 76*35=2660, Resulting Numbers: [2660]
2660,25 unequal: No Solution
Exploring Operation: 76-35=41, Resulting Numbers: [41]
41,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 25:[76, 5, 49], Operations: ['70-21=49']
Exploring Operation: 76-49=27, Resulting Numbers: [5, 27]
Generated Node #0,3,0: 25:[5, 27] Operation: 76-49=27
Exploring Operation: 49-5=44, Resulting Numbers: [76, 44]
Generated Node #0,3,1: 25:[76, 44] Operation: 49-5=44
Exploring Operation: 76+5=81, Resulting Numbers: [49, 81]
Generated Node #0,3,2: 25:[49, 81] Operation: 76+5=81
Exploring Operation: 76-5=71, Resulting Numbers: [49, 71]
Generated Node #0,3,3: 25:[49, 71] Operation: 76-5=71
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 25:[5, 27], Operations: ['70-21=49', '76-49=27']
Exploring Operation: 5+27=32, Resulting Numbers: [32]
32,25 unequal: No Solution
Exploring Operation: 27-5=22, Resulting Numbers: [22]
22,25 unequal: No Solution
Exploring Operation: 5*27=135, Resulting Numbers: [135]
135,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 25:[76, 44], Operations: ['70-21=49', '49-5=44']
Exploring Operation: 76+44=120, Resulting Numbers: [120]
120,25 unequal: No Solution
Exploring Operation: 76*44=3344, Resulting Numbers: [3344]
3344,25 unequal: No Solution
Exploring Operation: 76-44=32, Resulting Numbers: [32]
32,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 25:[49, 71], Operations: ['70-21=49', '76-5=71']
Exploring Operation: 49*71=3479, Resulting Numbers: [3479]
3479,25 unequal: No Solution
Exploring Operation: 71-49=22, Resulting Numbers: [22]
22,25 unequal: No Solution
Exploring Operation: 49+71=120, Resulting Numbers: [120]
120,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 25:[49, 81], Operations: ['70-21=49', '76+5=81']
Exploring Operation: 49*81=3969, Resulting Numbers: [3969]
3969,25 unequal: No Solution
Exploring Operation: 49+81=130, Resulting Numbers: [130]
130,25 unequal: No Solution
Exploring Operation: 81-49=32, Resulting Numbers: [32]
32,25 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: 25:[70, 5, 55], Operations: ['76-21=55']
Exploring Operation: 70/5=14, Resulting Numbers: [55, 14]
Generated Node #0,2,0: 25:[55, 14] Operation: 70/5=14
Exploring Operation: 55/5=11, Resulting Numbers: [70, 11]
Generated Node #0,2,1: 25:[70, 11] Operation: 55/5=11
Exploring Operation: 70-5=65, Resulting Numbers: [55, 65]
Generated Node #0,2,2: 25:[55, 65] Operation: 70-5=65
Exploring Operation: 70-55=15, Resulting Numbers: [5, 15]
Generated Node #0,2,3: 25:[5, 15] Operation: 70-55=15
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 25:[5, 15], Operations: ['76-21=55', '70-55=15']
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,25 unequal: No Solution
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,25 unequal: No Solution
Exploring Operation: 5+15=20, Resulting Numbers: [20]
20,25 unequal: No Solution
Exploring Operation: 5*15=75, Resulting Numbers: [75]
75,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,2,0
Current State: 25:[55, 14], Operations: ['76-21=55', '70/5=14']
Exploring Operation: 55-14=41, Resulting Numbers: [41]
41,25 unequal: No Solution
Exploring Operation: 55+14=69, Resulting Numbers: [69]
69,25 unequal: No Solution
Exploring Operation: 55*14=770, Resulting Numbers: [770]
770,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,2,1
Current State: 25:[70, 11], Operations: ['76-21=55', '55/5=11']
Exploring Operation: 70*11=770, Resulting Numbers: [770]
770,25 unequal: No Solution
Exploring Operation: 70-11=59, Resulting Numbers: [59]
59,25 unequal: No Solution
Exploring Operation: 70+11=81, Resulting Numbers: [81]
81,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,2,2
Current State: 25:[55, 65], Operations: ['76-21=55', '70-5=65']
Exploring Operation: 55+65=120, Resulting Numbers: [120]
120,25 unequal: No Solution
Exploring Operation: 65-55=10, Resulting Numbers: [10]
10,25 unequal: No Solution
Exploring Operation: 55*65=3575, Resulting Numbers: [3575]
3575,25 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: 25:[6, 26], Operations: ['76-70=6', '21+5=26']
Exploring Operation: 6*26=156, Resulting Numbers: [156]
156,25 unequal: No Solution
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,25 unequal: No Solution
Exploring Operation: 6+26=32, Resulting Numbers: [32]
32,25 unequal: No Solution
Moving to Node #0,1,3
Current State: 25:[5, 27], Operations: ['76-70=6', '21+6=27']
Exploring Operation: 5*27=135, Resulting Numbers: [135]
135,25 unequal: No Solution
Exploring Operation: 5+27=32, Resulting Numbers: [32]
32,25 unequal: No Solution
Exploring Operation: 27-5=22, Resulting Numbers: [22]
22,25 unequal: No Solution
Moving to Node #0,1,0
Current State: 25:[21, 1], Operations: ['76-70=6', '6-5=1']
Exploring Operation: 21+1=22, Resulting Numbers: [22]
22,25 unequal: No Solution
Exploring Operation: 21*1=21, Resulting Numbers: [21]
21,25 unequal: No Solution
Exploring Operation: 21-1=20, Resulting Numbers: [20]
20,25 unequal: No Solution
Exploring Operation: 21/1=21, Resulting Numbers: [21]
21,25 unequal: No Solution
Moving to Node #0,1,1
Current State: 25:[21, 30], Operations: ['76-70=6', '5*6=30']
Exploring Operation: 21*30=630, Resulting Numbers: [630]
630,25 unequal: No Solution
Exploring Operation: 30-21=9, Resulting Numbers: [9]
9,25 unequal: No Solution
Exploring Operation: 21+30=51, Resulting Numbers: [51]
51,25 unequal: No Solution
No solution found.
| 0
|
hs_4
|
mult_heuristic
|
[
13,
15,
51,
8
] | 61
|
[
"15-13=2",
"51+8=59",
"2+59=61"
] |
Current State: 61:[13, 15, 51, 8], Operations: []
Exploring Operation: 15-13=2, Resulting Numbers: [51, 8, 2]
Generated Node #2: [51, 8, 2] from Operation: 15-13=2
Current State: 61:[51, 8, 2], Operations: ['15-13=2']
Exploring Operation: 51+8=59, Resulting Numbers: [2, 59]
Generated Node #3: [2, 59] from Operation: 51+8=59
Current State: 61:[2, 59], Operations: ['15-13=2', '51+8=59']
Exploring Operation: 2+59=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4
|
Current State: 61:[13, 15, 51, 8], Operations: []
Exploring Operation: 51+8=59, Resulting Numbers: [13, 15, 59]
Generated Node #0,0: 61:[13, 15, 59] Operation: 51+8=59
Exploring Operation: 13+15=28, Resulting Numbers: [51, 8, 28]
Generated Node #0,1: 61:[51, 8, 28] Operation: 13+15=28
Exploring Operation: 13+8=21, Resulting Numbers: [15, 51, 21]
Generated Node #0,2: 61:[15, 51, 21] Operation: 13+8=21
Exploring Operation: 15+8=23, Resulting Numbers: [13, 51, 23]
Generated Node #0,3: 61:[13, 51, 23] Operation: 15+8=23
Exploring Operation: 13*8=104, Resulting Numbers: [15, 51, 104]
Generated Node #0,4: 61:[15, 51, 104] Operation: 13*8=104
Moving to Node #0,0
Current State: 61:[13, 15, 59], Operations: ['51+8=59']
Exploring Operation: 15-13=2, Resulting Numbers: [59, 2]
Generated Node #0,0,0: 61:[59, 2] Operation: 15-13=2
Exploring Operation: 13+59=72, Resulting Numbers: [15, 72]
Generated Node #0,0,1: 61:[15, 72] Operation: 13+59=72
Exploring Operation: 15+59=74, Resulting Numbers: [13, 74]
Generated Node #0,0,2: 61:[13, 74] Operation: 15+59=74
Exploring Operation: 59-13=46, Resulting Numbers: [15, 46]
Generated Node #0,0,3: 61:[15, 46] Operation: 59-13=46
Exploring Operation: 13+15=28, Resulting Numbers: [59, 28]
Generated Node #0,0,4: 61:[59, 28] Operation: 13+15=28
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 61:[59, 28], Operations: ['51+8=59', '13+15=28']
Exploring Operation: 59+28=87, Resulting Numbers: [87]
87,61 unequal: No Solution
Exploring Operation: 59-28=31, Resulting Numbers: [31]
31,61 unequal: No Solution
Exploring Operation: 59*28=1652, Resulting Numbers: [1652]
1652,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:[15, 72], Operations: ['51+8=59', '13+59=72']
Exploring Operation: 72-15=57, Resulting Numbers: [57]
57,61 unequal: No Solution
Exploring Operation: 15+72=87, Resulting Numbers: [87]
87,61 unequal: No Solution
Exploring Operation: 15*72=1080, Resulting Numbers: [1080]
1080,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,0
Current State: 61:[59, 2], Operations: ['51+8=59', '15-13=2']
Exploring Operation: 59-2=57, Resulting Numbers: [57]
57,61 unequal: No Solution
Exploring Operation: 59+2=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[13, 15, 51, 8], Operations: []
Exploring Operation: 51+8=59, Resulting Numbers: [13, 15, 59]
Generated Node #0,0: 61:[13, 15, 59] Operation: 51+8=59
Moving to Node #0,0
Current State: 61:[13, 15, 59], Operations: ['51+8=59']
Exploring Operation: 15-13=2, Resulting Numbers: [59, 2]
Generated Node #0,0,0: 61:[59, 2] Operation: 15-13=2
Moving to Node #0,0,0
Current State: 61:[59, 2], Operations: ['51+8=59', '15-13=2']
Exploring Operation: 59+2=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903
|
hs_5
|
mult_heuristic
|
[
28,
26,
60,
98
] | 92
|
[
"28+26=54",
"98-60=38",
"54+38=92"
] |
Current State: 92:[28, 26, 60, 98], Operations: []
Exploring Operation: 28+26=54, Resulting Numbers: [60, 98, 54]
Generated Node #2: [60, 98, 54] from Operation: 28+26=54
Current State: 92:[60, 98, 54], Operations: ['28+26=54']
Exploring Operation: 98-60=38, Resulting Numbers: [54, 38]
Generated Node #3: [54, 38] from Operation: 98-60=38
Current State: 92:[54, 38], Operations: ['28+26=54', '98-60=38']
Exploring Operation: 54+38=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4
|
Current State: 92:[28, 26, 60, 98], Operations: []
Exploring Operation: 28+60=88, Resulting Numbers: [26, 98, 88]
Generated Node #0,0: 92:[26, 98, 88] Operation: 28+60=88
Exploring Operation: 26+60=86, Resulting Numbers: [28, 98, 86]
Generated Node #0,1: 92:[28, 98, 86] Operation: 26+60=86
Exploring Operation: 98-60=38, Resulting Numbers: [28, 26, 38]
Generated Node #0,2: 92:[28, 26, 38] Operation: 98-60=38
Moving to Node #0,0
Current State: 92:[26, 98, 88], Operations: ['28+60=88']
Exploring Operation: 88-26=62, Resulting Numbers: [98, 62]
Generated Node #0,0,0: 92:[98, 62] Operation: 88-26=62
Exploring Operation: 98-88=10, Resulting Numbers: [26, 10]
Generated Node #0,0,1: 92:[26, 10] Operation: 98-88=10
Exploring Operation: 98-26=72, Resulting Numbers: [88, 72]
Generated Node #0,0,2: 92:[88, 72] Operation: 98-26=72
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 92:[26, 10], Operations: ['28+60=88', '98-88=10']
Exploring Operation: 26*10=260, Resulting Numbers: [260]
260,92 unequal: No Solution
Exploring Operation: 26-10=16, Resulting Numbers: [16]
16,92 unequal: No Solution
Exploring Operation: 26+10=36, Resulting Numbers: [36]
36,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 92:[98, 62], Operations: ['28+60=88', '88-26=62']
Exploring Operation: 98+62=160, Resulting Numbers: [160]
160,92 unequal: No Solution
Exploring Operation: 98-62=36, Resulting Numbers: [36]
36,92 unequal: No Solution
Exploring Operation: 98*62=6076, Resulting Numbers: [6076]
6076,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 92:[88, 72], Operations: ['28+60=88', '98-26=72']
Exploring Operation: 88*72=6336, Resulting Numbers: [6336]
6336,92 unequal: No Solution
Exploring Operation: 88-72=16, Resulting Numbers: [16]
16,92 unequal: No Solution
Exploring Operation: 88+72=160, Resulting Numbers: [160]
160,92 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: 92:[28, 26, 38], Operations: ['98-60=38']
Exploring Operation: 38-28=10, Resulting Numbers: [26, 10]
Generated Node #0,2,0: 92:[26, 10] Operation: 38-28=10
Exploring Operation: 38-26=12, Resulting Numbers: [28, 12]
Generated Node #0,2,1: 92:[28, 12] Operation: 38-26=12
Exploring Operation: 28-26=2, Resulting Numbers: [38, 2]
Generated Node #0,2,2: 92:[38, 2] Operation: 28-26=2
Moving to Node #0,1
Current State: 92:[28, 98, 86], Operations: ['26+60=86']
Exploring Operation: 98-28=70, Resulting Numbers: [86, 70]
Generated Node #0,1,0: 92:[86, 70] Operation: 98-28=70
Exploring Operation: 98-86=12, Resulting Numbers: [28, 12]
Generated Node #0,1,1: 92:[28, 12] Operation: 98-86=12
Exploring Operation: 86-28=58, Resulting Numbers: [98, 58]
Generated Node #0,1,2: 92:[98, 58] Operation: 86-28=58
Moving to Node #0,2,2
Current State: 92:[38, 2], Operations: ['98-60=38', '28-26=2']
Exploring Operation: 38+2=40, Resulting Numbers: [40]
40,92 unequal: No Solution
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,92 unequal: No Solution
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,92 unequal: No Solution
Moving to Node #0,2,0
Current State: 92:[26, 10], Operations: ['98-60=38', '38-28=10']
Exploring Operation: 26-10=16, Resulting Numbers: [16]
16,92 unequal: No Solution
Exploring Operation: 26*10=260, Resulting Numbers: [260]
260,92 unequal: No Solution
Exploring Operation: 26+10=36, Resulting Numbers: [36]
36,92 unequal: No Solution
Moving to Node #0,2,1
Current State: 92:[28, 12], Operations: ['98-60=38', '38-26=12']
Exploring Operation: 28*12=336, Resulting Numbers: [336]
336,92 unequal: No Solution
Exploring Operation: 28-12=16, Resulting Numbers: [16]
16,92 unequal: No Solution
Exploring Operation: 28+12=40, Resulting Numbers: [40]
40,92 unequal: No Solution
Moving to Node #0,1,1
Current State: 92:[28, 12], Operations: ['26+60=86', '98-86=12']
Exploring Operation: 28+12=40, Resulting Numbers: [40]
40,92 unequal: No Solution
Exploring Operation: 28-12=16, Resulting Numbers: [16]
16,92 unequal: No Solution
Exploring Operation: 28*12=336, Resulting Numbers: [336]
336,92 unequal: No Solution
Moving to Node #0,1,2
Current State: 92:[98, 58], Operations: ['26+60=86', '86-28=58']
Exploring Operation: 98-58=40, Resulting Numbers: [40]
40,92 unequal: No Solution
Exploring Operation: 98*58=5684, Resulting Numbers: [5684]
5684,92 unequal: No Solution
Exploring Operation: 98+58=156, Resulting Numbers: [156]
156,92 unequal: No Solution
Moving to Node #0,1,0
Current State: 92:[86, 70], Operations: ['26+60=86', '98-28=70']
Exploring Operation: 86*70=6020, Resulting Numbers: [6020]
6020,92 unequal: No Solution
Exploring Operation: 86+70=156, Resulting Numbers: [156]
156,92 unequal: No Solution
Exploring Operation: 86-70=16, Resulting Numbers: [16]
16,92 unequal: No Solution
No solution found.
| 0
|
hs_3
|
sum_heuristic
|
[
94,
65,
86,
17
] | 40
|
[
"94-65=29",
"86-17=69",
"69-29=40"
] |
Current State: 40:[94, 65, 86, 17], Operations: []
Exploring Operation: 94-65=29, Resulting Numbers: [86, 17, 29]
Generated Node #2: [86, 17, 29] from Operation: 94-65=29
Current State: 40:[86, 17, 29], Operations: ['94-65=29']
Exploring Operation: 86-17=69, Resulting Numbers: [29, 69]
Generated Node #3: [29, 69] from Operation: 86-17=69
Current State: 40:[29, 69], Operations: ['94-65=29', '86-17=69']
Exploring Operation: 69-29=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4
|
Current State: 40:[94, 65, 86, 17], Operations: []
Exploring Operation: 94-65=29, Resulting Numbers: [86, 17, 29]
Generated Node #0,0: 40:[86, 17, 29] Operation: 94-65=29
Exploring Operation: 86-65=21, Resulting Numbers: [94, 17, 21]
Generated Node #0,1: 40:[94, 17, 21] Operation: 86-65=21
Exploring Operation: 94-86=8, Resulting Numbers: [65, 17, 8]
Generated Node #0,2: 40:[65, 17, 8] Operation: 94-86=8
Moving to Node #0,2
Current State: 40:[65, 17, 8], Operations: ['94-86=8']
Exploring Operation: 65-8=57, Resulting Numbers: [17, 57]
Generated Node #0,2,0: 40:[17, 57] Operation: 65-8=57
Exploring Operation: 65-17=48, Resulting Numbers: [8, 48]
Generated Node #0,2,1: 40:[8, 48] Operation: 65-17=48
Exploring Operation: 17-8=9, Resulting Numbers: [65, 9]
Generated Node #0,2,2: 40:[65, 9] Operation: 17-8=9
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 40:[8, 48], Operations: ['94-86=8', '65-17=48']
Exploring Operation: 48-8=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[94, 65, 86, 17], Operations: []
Exploring Operation: 94-86=8, Resulting Numbers: [65, 17, 8]
Generated Node #0,2: 40:[65, 17, 8] Operation: 94-86=8
Moving to Node #0,2
Current State: 40:[65, 17, 8], Operations: ['94-86=8']
Exploring Operation: 65-17=48, Resulting Numbers: [8, 48]
Generated Node #0,2,1: 40:[8, 48] Operation: 65-17=48
Moving to Node #0,2,1
Current State: 40:[8, 48], Operations: ['94-86=8', '65-17=48']
Exploring Operation: 48-8=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451
|
hs_3
|
sum_heuristic
|
[
3,
1,
45,
64
] | 70
|
[
"3*45=135",
"1+64=65",
"135-65=70"
] |
Current State: 70:[3, 1, 45, 64], Operations: []
Exploring Operation: 3*45=135, Resulting Numbers: [1, 64, 135]
Generated Node #2: [1, 64, 135] from Operation: 3*45=135
Current State: 70:[1, 64, 135], Operations: ['3*45=135']
Exploring Operation: 1+64=65, Resulting Numbers: [135, 65]
Generated Node #3: [135, 65] from Operation: 1+64=65
Current State: 70:[135, 65], Operations: ['3*45=135', '1+64=65']
Exploring Operation: 135-65=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4
|
Current State: 70:[3, 1, 45, 64], Operations: []
Exploring Operation: 45-3=42, Resulting Numbers: [1, 64, 42]
Generated Node #0,0: 70:[1, 64, 42] Operation: 45-3=42
Exploring Operation: 45/3=15, Resulting Numbers: [1, 64, 15]
Generated Node #0,1: 70:[1, 64, 15] Operation: 45/3=15
Exploring Operation: 64-45=19, Resulting Numbers: [3, 1, 19]
Generated Node #0,2: 70:[3, 1, 19] Operation: 64-45=19
Moving to Node #0,2
Current State: 70:[3, 1, 19], Operations: ['64-45=19']
Exploring Operation: 3-1=2, Resulting Numbers: [19, 2]
Generated Node #0,2,0: 70:[19, 2] Operation: 3-1=2
Exploring Operation: 19-3=16, Resulting Numbers: [1, 16]
Generated Node #0,2,1: 70:[1, 16] Operation: 19-3=16
Exploring Operation: 19-1=18, Resulting Numbers: [3, 18]
Generated Node #0,2,2: 70:[3, 18] Operation: 19-1=18
Moving to Node #0,1
Current State: 70:[1, 64, 15], Operations: ['45/3=15']
Exploring Operation: 1*64=64, Resulting Numbers: [15, 64]
Generated Node #0,1,0: 70:[15, 64] Operation: 1*64=64
Exploring Operation: 1+64=65, Resulting Numbers: [15, 65]
Generated Node #0,1,1: 70:[15, 65] Operation: 1+64=65
Exploring Operation: 15-1=14, Resulting Numbers: [64, 14]
Generated Node #0,1,2: 70:[64, 14] Operation: 15-1=14
Moving to Node #0,0
Current State: 70:[1, 64, 42], Operations: ['45-3=42']
Exploring Operation: 1+64=65, Resulting Numbers: [42, 65]
Generated Node #0,0,0: 70:[42, 65] Operation: 1+64=65
Exploring Operation: 42-1=41, Resulting Numbers: [64, 41]
Generated Node #0,0,1: 70:[64, 41] Operation: 42-1=41
Exploring Operation: 64-42=22, Resulting Numbers: [1, 22]
Generated Node #0,0,2: 70:[1, 22] Operation: 64-42=22
Moving to Node #0,2,1
Current State: 70:[1, 16], Operations: ['64-45=19', '19-3=16']
Exploring Operation: 1*16=16, Resulting Numbers: [16]
16,70 unequal: No Solution
Exploring Operation: 16/1=16, Resulting Numbers: [16]
16,70 unequal: No Solution
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,70 unequal: No Solution
Moving to Node #0,2,2
Current State: 70:[3, 18], Operations: ['64-45=19', '19-1=18']
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,70 unequal: No Solution
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,70 unequal: No Solution
Exploring Operation: 3+18=21, Resulting Numbers: [21]
21,70 unequal: No Solution
Moving to Node #0,2,0
Current State: 70:[19, 2], Operations: ['64-45=19', '3-1=2']
Exploring Operation: 19*2=38, Resulting Numbers: [38]
38,70 unequal: No Solution
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,70 unequal: No Solution
Exploring Operation: 19+2=21, Resulting Numbers: [21]
21,70 unequal: No Solution
Moving to Node #0,1,2
Current State: 70:[64, 14], Operations: ['45/3=15', '15-1=14']
Exploring Operation: 64*14=896, Resulting Numbers: [896]
896,70 unequal: No Solution
Exploring Operation: 64-14=50, Resulting Numbers: [50]
50,70 unequal: No Solution
Exploring Operation: 64+14=78, Resulting Numbers: [78]
78,70 unequal: No Solution
Moving to Node #0,1,1
Current State: 70:[15, 65], Operations: ['45/3=15', '1+64=65']
Exploring Operation: 15+65=80, Resulting Numbers: [80]
80,70 unequal: No Solution
Exploring Operation: 65-15=50, Resulting Numbers: [50]
50,70 unequal: No Solution
Exploring Operation: 15*65=975, Resulting Numbers: [975]
975,70 unequal: No Solution
Moving to Node #0,1,0
Current State: 70:[15, 64], Operations: ['45/3=15', '1*64=64']
Exploring Operation: 15+64=79, Resulting Numbers: [79]
79,70 unequal: No Solution
Exploring Operation: 15*64=960, Resulting Numbers: [960]
960,70 unequal: No Solution
Exploring Operation: 64-15=49, Resulting Numbers: [49]
49,70 unequal: No Solution
Moving to Node #0,0,2
Current State: 70:[1, 22], Operations: ['45-3=42', '64-42=22']
Exploring Operation: 1*22=22, Resulting Numbers: [22]
22,70 unequal: No Solution
Exploring Operation: 22/1=22, Resulting Numbers: [22]
22,70 unequal: No Solution
Exploring Operation: 22-1=21, Resulting Numbers: [21]
21,70 unequal: No Solution
Moving to Node #0,0,1
Current State: 70:[64, 41], Operations: ['45-3=42', '42-1=41']
Exploring Operation: 64*41=2624, Resulting Numbers: [2624]
2624,70 unequal: No Solution
Exploring Operation: 64-41=23, Resulting Numbers: [23]
23,70 unequal: No Solution
Exploring Operation: 64+41=105, Resulting Numbers: [105]
105,70 unequal: No Solution
Moving to Node #0,0,0
Current State: 70:[42, 65], Operations: ['45-3=42', '1+64=65']
Exploring Operation: 42+65=107, Resulting Numbers: [107]
107,70 unequal: No Solution
Exploring Operation: 42*65=2730, Resulting Numbers: [2730]
2730,70 unequal: No Solution
Exploring Operation: 65-42=23, Resulting Numbers: [23]
23,70 unequal: No Solution
No solution found.
| 0
|
hs_3
|
sum_heuristic
|
[
54,
29,
26,
4
] | 54
|
[
"29-26=3",
"4-3=1",
"54*1=54"
] |
Current State: 54:[54, 29, 26, 4], Operations: []
Exploring Operation: 29-26=3, Resulting Numbers: [54, 4, 3]
Generated Node #2: [54, 4, 3] from Operation: 29-26=3
Current State: 54:[54, 4, 3], Operations: ['29-26=3']
Exploring Operation: 4-3=1, Resulting Numbers: [54, 1]
Generated Node #3: [54, 1] from Operation: 4-3=1
Current State: 54:[54, 1], Operations: ['29-26=3', '4-3=1']
Exploring Operation: 54*1=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4
|
Current State: 54:[54, 29, 26, 4], Operations: []
Exploring Operation: 29-26=3, Resulting Numbers: [54, 4, 3]
Generated Node #0,0: 54:[54, 4, 3] Operation: 29-26=3
Exploring Operation: 29-4=25, Resulting Numbers: [54, 26, 25]
Generated Node #0,1: 54:[54, 26, 25] Operation: 29-4=25
Exploring Operation: 29+26=55, Resulting Numbers: [54, 4, 55]
Generated Node #0,2: 54:[54, 4, 55] Operation: 29+26=55
Start Sub Search at level 1: Moving to Node #0,0
Current State: 54:[54, 4, 3], Operations: ['29-26=3']
Exploring Operation: 4-3=1, Resulting Numbers: [54, 1]
Generated Node #0,0,0: 54:[54, 1] Operation: 4-3=1
Exploring Operation: 4+3=7, Resulting Numbers: [54, 7]
Generated Node #0,0,1: 54:[54, 7] Operation: 4+3=7
Exploring Operation: 54/3=18, Resulting Numbers: [4, 18]
Generated Node #0,0,2: 54:[4, 18] Operation: 54/3=18
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 54:[54, 1], Operations: ['29-26=3', '4-3=1']
Exploring Operation: 54+1=55, Resulting Numbers: [55]
55,54 unequal: No Solution
Exploring Operation: 54*1=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[54, 29, 26, 4], Operations: []
Exploring Operation: 29-26=3, Resulting Numbers: [54, 4, 3]
Generated Node #0,0: 54:[54, 4, 3] Operation: 29-26=3
Moving to Node #0,0
Current State: 54:[54, 4, 3], Operations: ['29-26=3']
Exploring Operation: 4-3=1, Resulting Numbers: [54, 1]
Generated Node #0,0,0: 54:[54, 1] Operation: 4-3=1
Moving to Node #0,0,0
Current State: 54:[54, 1], Operations: ['29-26=3', '4-3=1']
Exploring Operation: 54*1=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583
|
hs_3
|
mult_heuristic
|
[
29,
33,
29,
96
] | 62
|
[
"29/29=1",
"96-33=63",
"63-1=62"
] |
Current State: 62:[29, 33, 29, 96], Operations: []
Exploring Operation: 29/29=1, Resulting Numbers: [33, 96, 1]
Generated Node #2: [33, 96, 1] from Operation: 29/29=1
Current State: 62:[33, 96, 1], Operations: ['29/29=1']
Exploring Operation: 96-33=63, Resulting Numbers: [1, 63]
Generated Node #3: [1, 63] from Operation: 96-33=63
Current State: 62:[1, 63], Operations: ['29/29=1', '96-33=63']
Exploring Operation: 63-1=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4
|
Current State: 62:[29, 33, 29, 96], Operations: []
Exploring Operation: 96-29=67, Resulting Numbers: [33, 29, 67]
Generated Node #0,0: 62:[33, 29, 67] Operation: 96-29=67
Exploring Operation: 96-33=63, Resulting Numbers: [29, 29, 63]
Generated Node #0,1: 62:[29, 29, 63] Operation: 96-33=63
Exploring Operation: 96-29=67, Resulting Numbers: [29, 33, 67]
Generated Node #0,2: 62:[29, 33, 67] Operation: 96-29=67
Exploring Operation: 29+33=62, Resulting Numbers: [29, 96, 62]
Generated Node #0,3: 62:[29, 96, 62] Operation: 29+33=62
Start Sub Search at level 1: Moving to Node #0,1
Current State: 62:[29, 29, 63], Operations: ['96-33=63']
Exploring Operation: 29/29=1, Resulting Numbers: [63, 1]
Generated Node #0,1,0: 62:[63, 1] Operation: 29/29=1
Exploring Operation: 29-29=0, Resulting Numbers: [63, 0]
Generated Node #0,1,1: 62:[63, 0] Operation: 29-29=0
Exploring Operation: 63-29=34, Resulting Numbers: [29, 34]
Generated Node #0,1,2: 62:[29, 34] Operation: 63-29=34
Exploring Operation: 29+29=58, Resulting Numbers: [63, 58]
Generated Node #0,1,3: 62:[63, 58] Operation: 29+29=58
Moving to Node #0,1,0
Current State: 62:[63, 1], Operations: ['96-33=63', '29/29=1']
Exploring Operation: 63-1=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[29, 33, 29, 96], Operations: []
Exploring Operation: 96-33=63, Resulting Numbers: [29, 29, 63]
Generated Node #0,1: 62:[29, 29, 63] Operation: 96-33=63
Moving to Node #0,1
Current State: 62:[29, 29, 63], Operations: ['96-33=63']
Exploring Operation: 29/29=1, Resulting Numbers: [63, 1]
Generated Node #0,1,0: 62:[63, 1] Operation: 29/29=1
Moving to Node #0,1,0
Current State: 62:[63, 1], Operations: ['96-33=63', '29/29=1']
Exploring Operation: 63-1=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715
|
hs_4
|
mult_heuristic
|
[
85,
39,
4,
9
] | 73
|
[
"39+9=48",
"48/4=12",
"85-12=73"
] |
Current State: 73:[85, 39, 4, 9], Operations: []
Exploring Operation: 39+9=48, Resulting Numbers: [85, 4, 48]
Generated Node #2: [85, 4, 48] from Operation: 39+9=48
Current State: 73:[85, 4, 48], Operations: ['39+9=48']
Exploring Operation: 48/4=12, Resulting Numbers: [85, 12]
Generated Node #3: [85, 12] from Operation: 48/4=12
Current State: 73:[85, 12], Operations: ['39+9=48', '48/4=12']
Exploring Operation: 85-12=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4
|
Current State: 73:[85, 39, 4, 9], Operations: []
Exploring Operation: 4*9=36, Resulting Numbers: [85, 39, 36]
Generated Node #0,0: 73:[85, 39, 36] Operation: 4*9=36
Exploring Operation: 85-4=81, Resulting Numbers: [39, 9, 81]
Generated Node #0,1: 73:[39, 9, 81] Operation: 85-4=81
Moving to Node #0,0
Current State: 73:[85, 39, 36], Operations: ['4*9=36']
Exploring Operation: 39+36=75, Resulting Numbers: [85, 75]
Generated Node #0,0,0: 73:[85, 75] Operation: 39+36=75
Exploring Operation: 85-36=49, Resulting Numbers: [39, 49]
Generated Node #0,0,1: 73:[39, 49] Operation: 85-36=49
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 73:[85, 75], Operations: ['4*9=36', '39+36=75']
Exploring Operation: 85-75=10, Resulting Numbers: [10]
10,73 unequal: No Solution
Exploring Operation: 85+75=160, Resulting Numbers: [160]
160,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 73:[39, 49], Operations: ['4*9=36', '85-36=49']
Exploring Operation: 39+49=88, Resulting Numbers: [88]
88,73 unequal: No Solution
Exploring Operation: 49-39=10, Resulting Numbers: [10]
10,73 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: 73:[39, 9, 81], Operations: ['85-4=81']
Exploring Operation: 39+9=48, Resulting Numbers: [81, 48]
Generated Node #0,1,0: 73:[81, 48] Operation: 39+9=48
Exploring Operation: 81-9=72, Resulting Numbers: [39, 72]
Generated Node #0,1,1: 73:[39, 72] Operation: 81-9=72
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 73:[81, 48], Operations: ['85-4=81', '39+9=48']
Exploring Operation: 81+48=129, Resulting Numbers: [129]
129,73 unequal: No Solution
Exploring Operation: 81-48=33, Resulting Numbers: [33]
33,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 73:[39, 72], Operations: ['85-4=81', '81-9=72']
Exploring Operation: 39+72=111, Resulting Numbers: [111]
111,73 unequal: No Solution
Exploring Operation: 72-39=33, Resulting Numbers: [33]
33,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_2
|
sum_heuristic
|
[
64,
10,
20,
8
] | 58
|
[
"64-8=56",
"20/10=2",
"56+2=58"
] |
Current State: 58:[64, 10, 20, 8], Operations: []
Exploring Operation: 64-8=56, Resulting Numbers: [10, 20, 56]
Generated Node #2: [10, 20, 56] from Operation: 64-8=56
Current State: 58:[10, 20, 56], Operations: ['64-8=56']
Exploring Operation: 20/10=2, Resulting Numbers: [56, 2]
Generated Node #3: [56, 2] from Operation: 20/10=2
Current State: 58:[56, 2], Operations: ['64-8=56', '20/10=2']
Exploring Operation: 56+2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4
|
Current State: 58:[64, 10, 20, 8], Operations: []
Exploring Operation: 10+20=30, Resulting Numbers: [64, 8, 30]
Generated Node #0,0: 58:[64, 8, 30] Operation: 10+20=30
Exploring Operation: 20+8=28, Resulting Numbers: [64, 10, 28]
Generated Node #0,1: 58:[64, 10, 28] Operation: 20+8=28
Exploring Operation: 10-8=2, Resulting Numbers: [64, 20, 2]
Generated Node #0,2: 58:[64, 20, 2] Operation: 10-8=2
Exploring Operation: 64-10=54, Resulting Numbers: [20, 8, 54]
Generated Node #0,3: 58:[20, 8, 54] Operation: 64-10=54
Exploring Operation: 20/10=2, Resulting Numbers: [64, 8, 2]
Generated Node #0,4: 58:[64, 8, 2] Operation: 20/10=2
Start Sub Search at level 1: Moving to Node #0,4
Current State: 58:[64, 8, 2], Operations: ['20/10=2']
Exploring Operation: 64/2=32, Resulting Numbers: [8, 32]
Generated Node #0,4,0: 58:[8, 32] Operation: 64/2=32
Exploring Operation: 64/8=8, Resulting Numbers: [2, 8]
Generated Node #0,4,1: 58:[2, 8] Operation: 64/8=8
Exploring Operation: 64-2=62, Resulting Numbers: [8, 62]
Generated Node #0,4,2: 58:[8, 62] Operation: 64-2=62
Exploring Operation: 64-8=56, Resulting Numbers: [2, 56]
Generated Node #0,4,3: 58:[2, 56] Operation: 64-8=56
Exploring Operation: 8/2=4, Resulting Numbers: [64, 4]
Generated Node #0,4,4: 58:[64, 4] Operation: 8/2=4
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 58:[2, 56], Operations: ['20/10=2', '64-8=56']
Exploring Operation: 2*56=112, Resulting Numbers: [112]
112,58 unequal: No Solution
Exploring Operation: 56-2=54, Resulting Numbers: [54]
54,58 unequal: No Solution
Exploring Operation: 56/2=28, Resulting Numbers: [28]
28,58 unequal: No Solution
Exploring Operation: 2+56=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[64, 10, 20, 8], Operations: []
Exploring Operation: 20/10=2, Resulting Numbers: [64, 8, 2]
Generated Node #0,4: 58:[64, 8, 2] Operation: 20/10=2
Moving to Node #0,4
Current State: 58:[64, 8, 2], Operations: ['20/10=2']
Exploring Operation: 64-8=56, Resulting Numbers: [2, 56]
Generated Node #0,4,3: 58:[2, 56] Operation: 64-8=56
Moving to Node #0,4,3
Current State: 58:[2, 56], Operations: ['20/10=2', '64-8=56']
Exploring Operation: 2+56=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375
|
hs_5
|
sum_heuristic
|
[
2,
31,
26,
10
] | 46
|
[
"2*31=62",
"26-10=16",
"62-16=46"
] |
Current State: 46:[2, 31, 26, 10], Operations: []
Exploring Operation: 2*31=62, Resulting Numbers: [26, 10, 62]
Generated Node #2: [26, 10, 62] from Operation: 2*31=62
Current State: 46:[26, 10, 62], Operations: ['2*31=62']
Exploring Operation: 26-10=16, Resulting Numbers: [62, 16]
Generated Node #3: [62, 16] from Operation: 26-10=16
Current State: 46:[62, 16], Operations: ['2*31=62', '26-10=16']
Exploring Operation: 62-16=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4
|
Current State: 46:[2, 31, 26, 10], Operations: []
Exploring Operation: 31+10=41, Resulting Numbers: [2, 26, 41]
Generated Node #0,0: 46:[2, 26, 41] Operation: 31+10=41
Exploring Operation: 31-10=21, Resulting Numbers: [2, 26, 21]
Generated Node #0,1: 46:[2, 26, 21] Operation: 31-10=21
Exploring Operation: 31-26=5, Resulting Numbers: [2, 10, 5]
Generated Node #0,2: 46:[2, 10, 5] Operation: 31-26=5
Moving to Node #0,1
Current State: 46:[2, 26, 21], Operations: ['31-10=21']
Exploring Operation: 26+21=47, Resulting Numbers: [2, 47]
Generated Node #0,1,0: 46:[2, 47] Operation: 26+21=47
Exploring Operation: 26-2=24, Resulting Numbers: [21, 24]
Generated Node #0,1,1: 46:[21, 24] Operation: 26-2=24
Exploring Operation: 2+21=23, Resulting Numbers: [26, 23]
Generated Node #0,1,2: 46:[26, 23] Operation: 2+21=23
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 46:[2, 47], Operations: ['31-10=21', '26+21=47']
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,46 unequal: No Solution
Exploring Operation: 2+47=49, Resulting Numbers: [49]
49,46 unequal: No Solution
Exploring Operation: 2*47=94, Resulting Numbers: [94]
94,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 46:[21, 24], Operations: ['31-10=21', '26-2=24']
Exploring Operation: 21*24=504, Resulting Numbers: [504]
504,46 unequal: No Solution
Exploring Operation: 24-21=3, Resulting Numbers: [3]
3,46 unequal: No Solution
Exploring Operation: 21+24=45, Resulting Numbers: [45]
45,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 46:[26, 23], Operations: ['31-10=21', '2+21=23']
Exploring Operation: 26-23=3, Resulting Numbers: [3]
3,46 unequal: No Solution
Exploring Operation: 26*23=598, Resulting Numbers: [598]
598,46 unequal: No Solution
Exploring Operation: 26+23=49, Resulting Numbers: [49]
49,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 46:[2, 26, 41], Operations: ['31+10=41']
Exploring Operation: 2+41=43, Resulting Numbers: [26, 43]
Generated Node #0,0,0: 46:[26, 43] Operation: 2+41=43
Exploring Operation: 26-2=24, Resulting Numbers: [41, 24]
Generated Node #0,0,1: 46:[41, 24] Operation: 26-2=24
Exploring Operation: 41-26=15, Resulting Numbers: [2, 15]
Generated Node #0,0,2: 46:[2, 15] Operation: 41-26=15
Moving to Node #0,2
Current State: 46:[2, 10, 5], Operations: ['31-26=5']
Exploring Operation: 10*5=50, Resulting Numbers: [2, 50]
Generated Node #0,2,0: 46:[2, 50] Operation: 10*5=50
Exploring Operation: 10/5=2, Resulting Numbers: [2, 2]
Generated Node #0,2,1: 46:[2, 2] Operation: 10/5=2
Exploring Operation: 10-5=5, Resulting Numbers: [2, 5]
Generated Node #0,2,2: 46:[2, 5] Operation: 10-5=5
Moving to Node #0,2,1
Current State: 46:[2, 2], Operations: ['31-26=5', '10/5=2']
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,46 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,46 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,46 unequal: No Solution
Moving to Node #0,2,2
Current State: 46:[2, 5], Operations: ['31-26=5', '10-5=5']
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,46 unequal: No Solution
Exploring Operation: 2*5=10, Resulting Numbers: [10]
10,46 unequal: No Solution
Exploring Operation: 2+5=7, Resulting Numbers: [7]
7,46 unequal: No Solution
Moving to Node #0,2,0
Current State: 46:[2, 50], Operations: ['31-26=5', '10*5=50']
Exploring Operation: 2+50=52, Resulting Numbers: [52]
52,46 unequal: No Solution
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,46 unequal: No Solution
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,46 unequal: No Solution
Moving to Node #0,0,0
Current State: 46:[26, 43], Operations: ['31+10=41', '2+41=43']
Exploring Operation: 26*43=1118, Resulting Numbers: [1118]
1118,46 unequal: No Solution
Exploring Operation: 26+43=69, Resulting Numbers: [69]
69,46 unequal: No Solution
Exploring Operation: 43-26=17, Resulting Numbers: [17]
17,46 unequal: No Solution
Moving to Node #0,0,1
Current State: 46:[41, 24], Operations: ['31+10=41', '26-2=24']
Exploring Operation: 41*24=984, Resulting Numbers: [984]
984,46 unequal: No Solution
Exploring Operation: 41-24=17, Resulting Numbers: [17]
17,46 unequal: No Solution
Exploring Operation: 41+24=65, Resulting Numbers: [65]
65,46 unequal: No Solution
Moving to Node #0,0,2
Current State: 46:[2, 15], Operations: ['31+10=41', '41-26=15']
Exploring Operation: 2*15=30, Resulting Numbers: [30]
30,46 unequal: No Solution
Exploring Operation: 2+15=17, Resulting Numbers: [17]
17,46 unequal: No Solution
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,46 unequal: No Solution
No solution found.
| 0
|
hs_3
|
mult_heuristic
|
[
48,
84,
85,
62
] | 13
|
[
"84-48=36",
"85-62=23",
"36-23=13"
] |
Current State: 13:[48, 84, 85, 62], Operations: []
Exploring Operation: 84-48=36, Resulting Numbers: [85, 62, 36]
Generated Node #2: [85, 62, 36] from Operation: 84-48=36
Current State: 13:[85, 62, 36], Operations: ['84-48=36']
Exploring Operation: 85-62=23, Resulting Numbers: [36, 23]
Generated Node #3: [36, 23] from Operation: 85-62=23
Current State: 13:[36, 23], Operations: ['84-48=36', '85-62=23']
Exploring Operation: 36-23=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4
|
Current State: 13:[48, 84, 85, 62], Operations: []
Exploring Operation: 85-84=1, Resulting Numbers: [48, 62, 1]
Generated Node #0,0: 13:[48, 62, 1] Operation: 85-84=1
Exploring Operation: 85-62=23, Resulting Numbers: [48, 84, 23]
Generated Node #0,1: 13:[48, 84, 23] Operation: 85-62=23
Exploring Operation: 84-62=22, Resulting Numbers: [48, 85, 22]
Generated Node #0,2: 13:[48, 85, 22] Operation: 84-62=22
Exploring Operation: 84-48=36, Resulting Numbers: [85, 62, 36]
Generated Node #0,3: 13:[85, 62, 36] Operation: 84-48=36
Moving to Node #0,0
Current State: 13:[48, 62, 1], Operations: ['85-84=1']
Exploring Operation: 48*1=48, Resulting Numbers: [62, 48]
Generated Node #0,0,0: 13:[62, 48] Operation: 48*1=48
Exploring Operation: 62-1=61, Resulting Numbers: [48, 61]
Generated Node #0,0,1: 13:[48, 61] Operation: 62-1=61
Exploring Operation: 48-1=47, Resulting Numbers: [62, 47]
Generated Node #0,0,2: 13:[62, 47] Operation: 48-1=47
Exploring Operation: 62-48=14, Resulting Numbers: [1, 14]
Generated Node #0,0,3: 13:[1, 14] Operation: 62-48=14
Moving to Node #0,2
Current State: 13:[48, 85, 22], Operations: ['84-62=22']
Exploring Operation: 48-22=26, Resulting Numbers: [85, 26]
Generated Node #0,2,0: 13:[85, 26] Operation: 48-22=26
Exploring Operation: 85-22=63, Resulting Numbers: [48, 63]
Generated Node #0,2,1: 13:[48, 63] Operation: 85-22=63
Exploring Operation: 85-48=37, Resulting Numbers: [22, 37]
Generated Node #0,2,2: 13:[22, 37] Operation: 85-48=37
Exploring Operation: 48+85=133, Resulting Numbers: [22, 133]
Generated Node #0,2,3: 13:[22, 133] Operation: 48+85=133
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 13:[22, 37], Operations: ['84-62=22', '85-48=37']
Exploring Operation: 22+37=59, Resulting Numbers: [59]
59,13 unequal: No Solution
Exploring Operation: 22*37=814, Resulting Numbers: [814]
814,13 unequal: No Solution
Exploring Operation: 37-22=15, Resulting Numbers: [15]
15,13 unequal: No Solution
No 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: 13:[85, 26], Operations: ['84-62=22', '48-22=26']
Exploring Operation: 85-26=59, Resulting Numbers: [59]
59,13 unequal: No Solution
Exploring Operation: 85+26=111, Resulting Numbers: [111]
111,13 unequal: No Solution
Exploring Operation: 85*26=2210, Resulting Numbers: [2210]
2210,13 unequal: No Solution
No 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: 13:[48, 63], Operations: ['84-62=22', '85-22=63']
Exploring Operation: 48+63=111, Resulting Numbers: [111]
111,13 unequal: No Solution
Exploring Operation: 63-48=15, Resulting Numbers: [15]
15,13 unequal: No Solution
Exploring Operation: 48*63=3024, Resulting Numbers: [3024]
3024,13 unequal: No Solution
No 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: 13:[22, 133], Operations: ['84-62=22', '48+85=133']
Exploring Operation: 22*133=2926, Resulting Numbers: [2926]
2926,13 unequal: No Solution
Exploring Operation: 133-22=111, Resulting Numbers: [111]
111,13 unequal: No Solution
Exploring Operation: 22+133=155, Resulting Numbers: [155]
155,13 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: 13:[48, 84, 23], Operations: ['85-62=23']
Exploring Operation: 84-48=36, Resulting Numbers: [23, 36]
Generated Node #0,1,0: 13:[23, 36] Operation: 84-48=36
Exploring Operation: 48+84=132, Resulting Numbers: [23, 132]
Generated Node #0,1,1: 13:[23, 132] Operation: 48+84=132
Exploring Operation: 48-23=25, Resulting Numbers: [84, 25]
Generated Node #0,1,2: 13:[84, 25] Operation: 48-23=25
Exploring Operation: 84-23=61, Resulting Numbers: [48, 61]
Generated Node #0,1,3: 13:[48, 61] Operation: 84-23=61
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 13:[23, 36], Operations: ['85-62=23', '84-48=36']
Exploring Operation: 23*36=828, Resulting Numbers: [828]
828,13 unequal: No Solution
Exploring Operation: 23+36=59, Resulting Numbers: [59]
59,13 unequal: No Solution
Exploring Operation: 36-23=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[48, 84, 85, 62], Operations: []
Exploring Operation: 85-62=23, Resulting Numbers: [48, 84, 23]
Generated Node #0,1: 13:[48, 84, 23] Operation: 85-62=23
Moving to Node #0,1
Current State: 13:[48, 84, 23], Operations: ['85-62=23']
Exploring Operation: 84-48=36, Resulting Numbers: [23, 36]
Generated Node #0,1,0: 13:[23, 36] Operation: 84-48=36
Moving to Node #0,1,0
Current State: 13:[23, 36], Operations: ['85-62=23', '84-48=36']
Exploring Operation: 36-23=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 1
| 0.969618
|
hs_4
|
mult_heuristic
|
[
62,
45,
70,
2
] | 49
|
[
"70-62=8",
"8/2=4",
"45+4=49"
] |
Current State: 49:[62, 45, 70, 2], Operations: []
Exploring Operation: 70-62=8, Resulting Numbers: [45, 2, 8]
Generated Node #2: [45, 2, 8] from Operation: 70-62=8
Current State: 49:[45, 2, 8], Operations: ['70-62=8']
Exploring Operation: 8/2=4, Resulting Numbers: [45, 4]
Generated Node #3: [45, 4] from Operation: 8/2=4
Current State: 49:[45, 4], Operations: ['70-62=8', '8/2=4']
Exploring Operation: 45+4=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4
|
Current State: 49:[62, 45, 70, 2], Operations: []
Exploring Operation: 70-45=25, Resulting Numbers: [62, 2, 25]
Generated Node #0,0: 49:[62, 2, 25] Operation: 70-45=25
Exploring Operation: 62-45=17, Resulting Numbers: [70, 2, 17]
Generated Node #0,1: 49:[70, 2, 17] Operation: 62-45=17
Exploring Operation: 62-2=60, Resulting Numbers: [45, 70, 60]
Generated Node #0,2: 49:[45, 70, 60] Operation: 62-2=60
Exploring Operation: 70/2=35, Resulting Numbers: [62, 45, 35]
Generated Node #0,3: 49:[62, 45, 35] Operation: 70/2=35
Exploring Operation: 70-62=8, Resulting Numbers: [45, 2, 8]
Generated Node #0,4: 49:[45, 2, 8] Operation: 70-62=8
Moving to Node #0,4
Current State: 49:[45, 2, 8], Operations: ['70-62=8']
Exploring Operation: 8/2=4, Resulting Numbers: [45, 4]
Generated Node #0,4,0: 49:[45, 4] Operation: 8/2=4
Exploring Operation: 45-2=43, Resulting Numbers: [8, 43]
Generated Node #0,4,1: 49:[8, 43] Operation: 45-2=43
Exploring Operation: 8-2=6, Resulting Numbers: [45, 6]
Generated Node #0,4,2: 49:[45, 6] Operation: 8-2=6
Exploring Operation: 2+8=10, Resulting Numbers: [45, 10]
Generated Node #0,4,3: 49:[45, 10] Operation: 2+8=10
Exploring Operation: 45+2=47, Resulting Numbers: [8, 47]
Generated Node #0,4,4: 49:[8, 47] Operation: 45+2=47
Moving to Node #0,3
Current State: 49:[62, 45, 35], Operations: ['70/2=35']
Exploring Operation: 45+35=80, Resulting Numbers: [62, 80]
Generated Node #0,3,0: 49:[62, 80] Operation: 45+35=80
Exploring Operation: 45-35=10, Resulting Numbers: [62, 10]
Generated Node #0,3,1: 49:[62, 10] Operation: 45-35=10
Exploring Operation: 62-35=27, Resulting Numbers: [45, 27]
Generated Node #0,3,2: 49:[45, 27] Operation: 62-35=27
Exploring Operation: 62-45=17, Resulting Numbers: [35, 17]
Generated Node #0,3,3: 49:[35, 17] Operation: 62-45=17
Exploring Operation: 62+35=97, Resulting Numbers: [45, 97]
Generated Node #0,3,4: 49:[45, 97] Operation: 62+35=97
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 49:[62, 10], Operations: ['70/2=35', '45-35=10']
Exploring Operation: 62+10=72, Resulting Numbers: [72]
72,49 unequal: No Solution
Exploring Operation: 62*10=620, Resulting Numbers: [620]
620,49 unequal: No Solution
Exploring Operation: 62-10=52, Resulting Numbers: [52]
52,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 49:[45, 27], Operations: ['70/2=35', '62-35=27']
Exploring Operation: 45+27=72, Resulting Numbers: [72]
72,49 unequal: No Solution
Exploring Operation: 45*27=1215, Resulting Numbers: [1215]
1215,49 unequal: No Solution
Exploring Operation: 45-27=18, Resulting Numbers: [18]
18,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 49:[35, 17], Operations: ['70/2=35', '62-45=17']
Exploring Operation: 35-17=18, Resulting Numbers: [18]
18,49 unequal: No Solution
Exploring Operation: 35*17=595, Resulting Numbers: [595]
595,49 unequal: No Solution
Exploring Operation: 35+17=52, Resulting Numbers: [52]
52,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 49:[62, 80], Operations: ['70/2=35', '45+35=80']
Exploring Operation: 80-62=18, Resulting Numbers: [18]
18,49 unequal: No Solution
Exploring Operation: 62*80=4960, Resulting Numbers: [4960]
4960,49 unequal: No Solution
Exploring Operation: 62+80=142, Resulting Numbers: [142]
142,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 49:[45, 97], Operations: ['70/2=35', '62+35=97']
Exploring Operation: 45*97=4365, Resulting Numbers: [4365]
4365,49 unequal: No Solution
Exploring Operation: 45+97=142, Resulting Numbers: [142]
142,49 unequal: No Solution
Exploring Operation: 97-45=52, Resulting Numbers: [52]
52,49 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: 49:[62, 2, 25], Operations: ['70-45=25']
Exploring Operation: 62-25=37, Resulting Numbers: [2, 37]
Generated Node #0,0,0: 49:[2, 37] Operation: 62-25=37
Exploring Operation: 25-2=23, Resulting Numbers: [62, 23]
Generated Node #0,0,1: 49:[62, 23] Operation: 25-2=23
Exploring Operation: 62+2=64, Resulting Numbers: [25, 64]
Generated Node #0,0,2: 49:[25, 64] Operation: 62+2=64
Exploring Operation: 62-2=60, Resulting Numbers: [25, 60]
Generated Node #0,0,3: 49:[25, 60] Operation: 62-2=60
Exploring Operation: 2*25=50, Resulting Numbers: [62, 50]
Generated Node #0,0,4: 49:[62, 50] Operation: 2*25=50
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 49:[62, 50], Operations: ['70-45=25', '2*25=50']
Exploring Operation: 62*50=3100, Resulting Numbers: [3100]
3100,49 unequal: No Solution
Exploring Operation: 62+50=112, Resulting Numbers: [112]
112,49 unequal: No Solution
Exploring Operation: 62-50=12, Resulting Numbers: [12]
12,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 49:[2, 37], Operations: ['70-45=25', '62-25=37']
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,49 unequal: No Solution
Exploring Operation: 2+37=39, Resulting Numbers: [39]
39,49 unequal: No Solution
Exploring Operation: 2*37=74, Resulting Numbers: [74]
74,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 49:[62, 23], Operations: ['70-45=25', '25-2=23']
Exploring Operation: 62+23=85, Resulting Numbers: [85]
85,49 unequal: No Solution
Exploring Operation: 62*23=1426, Resulting Numbers: [1426]
1426,49 unequal: No Solution
Exploring Operation: 62-23=39, Resulting Numbers: [39]
39,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 49:[25, 60], Operations: ['70-45=25', '62-2=60']
Exploring Operation: 60-25=35, Resulting Numbers: [35]
35,49 unequal: No Solution
Exploring Operation: 25*60=1500, Resulting Numbers: [1500]
1500,49 unequal: No Solution
Exploring Operation: 25+60=85, Resulting Numbers: [85]
85,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 49:[25, 64], Operations: ['70-45=25', '62+2=64']
Exploring Operation: 25*64=1600, Resulting Numbers: [1600]
1600,49 unequal: No Solution
Exploring Operation: 25+64=89, Resulting Numbers: [89]
89,49 unequal: No Solution
Exploring Operation: 64-25=39, Resulting Numbers: [39]
39,49 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: 49:[70, 2, 17], Operations: ['62-45=17']
Exploring Operation: 70+2=72, Resulting Numbers: [17, 72]
Generated Node #0,1,0: 49:[17, 72] Operation: 70+2=72
Exploring Operation: 70-2=68, Resulting Numbers: [17, 68]
Generated Node #0,1,1: 49:[17, 68] Operation: 70-2=68
Exploring Operation: 17-2=15, Resulting Numbers: [70, 15]
Generated Node #0,1,2: 49:[70, 15] Operation: 17-2=15
Exploring Operation: 70-17=53, Resulting Numbers: [2, 53]
Generated Node #0,1,3: 49:[2, 53] Operation: 70-17=53
Exploring Operation: 70/2=35, Resulting Numbers: [17, 35]
Generated Node #0,1,4: 49:[17, 35] Operation: 70/2=35
Moving to Node #0,2
Current State: 49:[45, 70, 60], Operations: ['62-2=60']
Exploring Operation: 45+60=105, Resulting Numbers: [70, 105]
Generated Node #0,2,0: 49:[70, 105] Operation: 45+60=105
Exploring Operation: 60-45=15, Resulting Numbers: [70, 15]
Generated Node #0,2,1: 49:[70, 15] Operation: 60-45=15
Exploring Operation: 70-60=10, Resulting Numbers: [45, 10]
Generated Node #0,2,2: 49:[45, 10] Operation: 70-60=10
Exploring Operation: 45+70=115, Resulting Numbers: [60, 115]
Generated Node #0,2,3: 49:[60, 115] Operation: 45+70=115
Exploring Operation: 70-45=25, Resulting Numbers: [60, 25]
Generated Node #0,2,4: 49:[60, 25] Operation: 70-45=25
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 49:[45, 10], Operations: ['62-2=60', '70-60=10']
Exploring Operation: 45*10=450, Resulting Numbers: [450]
450,49 unequal: No Solution
Exploring Operation: 45-10=35, Resulting Numbers: [35]
35,49 unequal: No Solution
Exploring Operation: 45+10=55, Resulting Numbers: [55]
55,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 49:[70, 15], Operations: ['62-2=60', '60-45=15']
Exploring Operation: 70*15=1050, Resulting Numbers: [1050]
1050,49 unequal: No Solution
Exploring Operation: 70+15=85, Resulting Numbers: [85]
85,49 unequal: No Solution
Exploring Operation: 70-15=55, Resulting Numbers: [55]
55,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 49:[60, 25], Operations: ['62-2=60', '70-45=25']
Exploring Operation: 60+25=85, Resulting Numbers: [85]
85,49 unequal: No Solution
Exploring Operation: 60*25=1500, Resulting Numbers: [1500]
1500,49 unequal: No Solution
Exploring Operation: 60-25=35, Resulting Numbers: [35]
35,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 49:[70, 105], Operations: ['62-2=60', '45+60=105']
Exploring Operation: 70*105=7350, Resulting Numbers: [7350]
7350,49 unequal: No Solution
Exploring Operation: 105-70=35, Resulting Numbers: [35]
35,49 unequal: No Solution
Exploring Operation: 70+105=175, Resulting Numbers: [175]
175,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 49:[60, 115], Operations: ['62-2=60', '45+70=115']
Exploring Operation: 60*115=6900, Resulting Numbers: [6900]
6900,49 unequal: No Solution
Exploring Operation: 60+115=175, Resulting Numbers: [175]
175,49 unequal: No Solution
Exploring Operation: 115-60=55, Resulting Numbers: [55]
55,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,4
Current State: 49:[8, 47], Operations: ['70-62=8', '45+2=47']
Exploring Operation: 8*47=376, Resulting Numbers: [376]
376,49 unequal: No Solution
Exploring Operation: 47-8=39, Resulting Numbers: [39]
39,49 unequal: No Solution
Exploring Operation: 8+47=55, Resulting Numbers: [55]
55,49 unequal: No Solution
Moving to Node #0,4,2
Current State: 49:[45, 6], Operations: ['70-62=8', '8-2=6']
Exploring Operation: 45-6=39, Resulting Numbers: [39]
39,49 unequal: No Solution
Exploring Operation: 45*6=270, Resulting Numbers: [270]
270,49 unequal: No Solution
Exploring Operation: 45+6=51, Resulting Numbers: [51]
51,49 unequal: No Solution
Moving to Node #0,4,0
Current State: 49:[45, 4], Operations: ['70-62=8', '8/2=4']
Exploring Operation: 45*4=180, Resulting Numbers: [180]
180,49 unequal: No Solution
Exploring Operation: 45-4=41, Resulting Numbers: [41]
41,49 unequal: No Solution
Exploring Operation: 45+4=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[62, 45, 70, 2], Operations: []
Exploring Operation: 70-62=8, Resulting Numbers: [45, 2, 8]
Generated Node #0,4: 49:[45, 2, 8] Operation: 70-62=8
Moving to Node #0,4
Current State: 49:[45, 2, 8], Operations: ['70-62=8']
Exploring Operation: 8/2=4, Resulting Numbers: [45, 4]
Generated Node #0,4,0: 49:[45, 4] Operation: 8/2=4
Moving to Node #0,4,0
Current State: 49:[45, 4], Operations: ['70-62=8', '8/2=4']
Exploring Operation: 45+4=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 0.923611
|
hs_5
|
sum_heuristic
|
[
62,
71,
12,
61
] | 64
|
[
"71-62=9",
"12+61=73",
"73-9=64"
] |
Current State: 64:[62, 71, 12, 61], Operations: []
Exploring Operation: 71-62=9, Resulting Numbers: [12, 61, 9]
Generated Node #2: [12, 61, 9] from Operation: 71-62=9
Current State: 64:[12, 61, 9], Operations: ['71-62=9']
Exploring Operation: 12+61=73, Resulting Numbers: [9, 73]
Generated Node #3: [9, 73] from Operation: 12+61=73
Current State: 64:[9, 73], Operations: ['71-62=9', '12+61=73']
Exploring Operation: 73-9=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4
|
Current State: 64:[62, 71, 12, 61], Operations: []
Exploring Operation: 71-12=59, Resulting Numbers: [62, 61, 59]
Generated Node #0,0: 64:[62, 61, 59] Operation: 71-12=59
Exploring Operation: 71-61=10, Resulting Numbers: [62, 12, 10]
Generated Node #0,1: 64:[62, 12, 10] Operation: 71-61=10
Exploring Operation: 62-61=1, Resulting Numbers: [71, 12, 1]
Generated Node #0,2: 64:[71, 12, 1] Operation: 62-61=1
Exploring Operation: 71-62=9, Resulting Numbers: [12, 61, 9]
Generated Node #0,3: 64:[12, 61, 9] Operation: 71-62=9
Moving to Node #0,1
Current State: 64:[62, 12, 10], Operations: ['71-61=10']
Exploring Operation: 62+12=74, Resulting Numbers: [10, 74]
Generated Node #0,1,0: 64:[10, 74] Operation: 62+12=74
Exploring Operation: 12+10=22, Resulting Numbers: [62, 22]
Generated Node #0,1,1: 64:[62, 22] Operation: 12+10=22
Exploring Operation: 62+10=72, Resulting Numbers: [12, 72]
Generated Node #0,1,2: 64:[12, 72] Operation: 62+10=72
Exploring Operation: 12-10=2, Resulting Numbers: [62, 2]
Generated Node #0,1,3: 64:[62, 2] Operation: 12-10=2
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 64:[62, 2], Operations: ['71-61=10', '12-10=2']
Exploring Operation: 62*2=124, Resulting Numbers: [124]
124,64 unequal: No Solution
Exploring Operation: 62/2=31, Resulting Numbers: [31]
31,64 unequal: No Solution
Exploring Operation: 62+2=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[62, 71, 12, 61], Operations: []
Exploring Operation: 71-61=10, Resulting Numbers: [62, 12, 10]
Generated Node #0,1: 64:[62, 12, 10] Operation: 71-61=10
Moving to Node #0,1
Current State: 64:[62, 12, 10], Operations: ['71-61=10']
Exploring Operation: 12-10=2, Resulting Numbers: [62, 2]
Generated Node #0,1,3: 64:[62, 2] Operation: 12-10=2
Moving to Node #0,1,3
Current State: 64:[62, 2], Operations: ['71-61=10', '12-10=2']
Exploring Operation: 62+2=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979
|
hs_4
|
sum_heuristic
|
[
36,
26,
44,
5
] | 90
|
[
"36+26=62",
"62-44=18",
"5*18=90"
] |
Current State: 90:[36, 26, 44, 5], Operations: []
Exploring Operation: 36+26=62, Resulting Numbers: [44, 5, 62]
Generated Node #2: [44, 5, 62] from Operation: 36+26=62
Current State: 90:[44, 5, 62], Operations: ['36+26=62']
Exploring Operation: 62-44=18, Resulting Numbers: [5, 18]
Generated Node #3: [5, 18] from Operation: 62-44=18
Current State: 90:[5, 18], Operations: ['36+26=62', '62-44=18']
Exploring Operation: 5*18=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4
|
Current State: 90:[36, 26, 44, 5], Operations: []
Exploring Operation: 36-26=10, Resulting Numbers: [44, 5, 10]
Generated Node #0,0: 90:[44, 5, 10] Operation: 36-26=10
Moving to Node #0,0
Current State: 90:[44, 5, 10], Operations: ['36-26=10']
Exploring Operation: 5+10=15, Resulting Numbers: [44, 15]
Generated Node #0,0,0: 90:[44, 15] Operation: 5+10=15
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 90:[44, 15], Operations: ['36-26=10', '5+10=15']
Exploring Operation: 44-15=29, Resulting Numbers: [29]
29,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_1
|
sum_heuristic
|
[
32,
66,
34,
99
] | 83
|
[
"34*99=3366",
"3366/66=51",
"32+51=83"
] |
Current State: 83:[32, 66, 34, 99], Operations: []
Exploring Operation: 34*99=3366, Resulting Numbers: [32, 66, 3366]
Generated Node #2: [32, 66, 3366] from Operation: 34*99=3366
Current State: 83:[32, 66, 3366], Operations: ['34*99=3366']
Exploring Operation: 3366/66=51, Resulting Numbers: [32, 51]
Generated Node #3: [32, 51] from Operation: 3366/66=51
Current State: 83:[32, 51], Operations: ['34*99=3366', '3366/66=51']
Exploring Operation: 32+51=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4
|
Current State: 83:[32, 66, 34, 99], Operations: []
Exploring Operation: 99-32=67, Resulting Numbers: [66, 34, 67]
Generated Node #0,0: 83:[66, 34, 67] Operation: 99-32=67
Exploring Operation: 66+34=100, Resulting Numbers: [32, 99, 100]
Generated Node #0,1: 83:[32, 99, 100] Operation: 66+34=100
Exploring Operation: 32+34=66, Resulting Numbers: [66, 99, 66]
Generated Node #0,2: 83:[66, 99, 66] Operation: 32+34=66
Exploring Operation: 32+66=98, Resulting Numbers: [34, 99, 98]
Generated Node #0,3: 83:[34, 99, 98] Operation: 32+66=98
Moving to Node #0,2
Current State: 83:[66, 99, 66], Operations: ['32+34=66']
Exploring Operation: 66/66=1, Resulting Numbers: [99, 1]
Generated Node #0,2,0: 83:[99, 1] Operation: 66/66=1
Exploring Operation: 66+66=132, Resulting Numbers: [99, 132]
Generated Node #0,2,1: 83:[99, 132] Operation: 66+66=132
Exploring Operation: 99-66=33, Resulting Numbers: [66, 33]
Generated Node #0,2,2: 83:[66, 33] Operation: 99-66=33
Exploring Operation: 99-66=33, Resulting Numbers: [66, 33]
Generated Node #0,2,3: 83:[66, 33] Operation: 99-66=33
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 83:[99, 132], Operations: ['32+34=66', '66+66=132']
Exploring Operation: 99*132=13068, Resulting Numbers: [13068]
13068,83 unequal: No Solution
Exploring Operation: 132-99=33, Resulting Numbers: [33]
33,83 unequal: No Solution
Exploring Operation: 99+132=231, Resulting Numbers: [231]
231,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,2
Current State: 83:[66, 33], Operations: ['32+34=66', '99-66=33']
Exploring Operation: 66/33=2, Resulting Numbers: [2]
2,83 unequal: No Solution
Exploring Operation: 66-33=33, Resulting Numbers: [33]
33,83 unequal: No Solution
Exploring Operation: 66*33=2178, Resulting Numbers: [2178]
2178,83 unequal: No Solution
Exploring Operation: 66+33=99, Resulting Numbers: [99]
99,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,3
Current State: 83:[66, 33], Operations: ['32+34=66', '99-66=33']
Exploring Operation: 66+33=99, Resulting Numbers: [99]
99,83 unequal: No Solution
Exploring Operation: 66-33=33, Resulting Numbers: [33]
33,83 unequal: No Solution
Exploring Operation: 66/33=2, Resulting Numbers: [2]
2,83 unequal: No Solution
Exploring Operation: 66*33=2178, Resulting Numbers: [2178]
2178,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,0
Current State: 83:[99, 1], Operations: ['32+34=66', '66/66=1']
Exploring Operation: 99/1=99, Resulting Numbers: [99]
99,83 unequal: No Solution
Exploring Operation: 99+1=100, Resulting Numbers: [100]
100,83 unequal: No Solution
Exploring Operation: 99*1=99, Resulting Numbers: [99]
99,83 unequal: No Solution
Exploring Operation: 99-1=98, Resulting Numbers: [98]
98,83 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: 83:[34, 99, 98], Operations: ['32+66=98']
Exploring Operation: 99-34=65, Resulting Numbers: [98, 65]
Generated Node #0,3,0: 83:[98, 65] Operation: 99-34=65
Exploring Operation: 34+98=132, Resulting Numbers: [99, 132]
Generated Node #0,3,1: 83:[99, 132] Operation: 34+98=132
Exploring Operation: 98-34=64, Resulting Numbers: [99, 64]
Generated Node #0,3,2: 83:[99, 64] Operation: 98-34=64
Exploring Operation: 34+99=133, Resulting Numbers: [98, 133]
Generated Node #0,3,3: 83:[98, 133] Operation: 34+99=133
Moving to Node #0,0
Current State: 83:[66, 34, 67], Operations: ['99-32=67']
Exploring Operation: 66-34=32, Resulting Numbers: [67, 32]
Generated Node #0,0,0: 83:[67, 32] Operation: 66-34=32
Exploring Operation: 66+34=100, Resulting Numbers: [67, 100]
Generated Node #0,0,1: 83:[67, 100] Operation: 66+34=100
Exploring Operation: 34+67=101, Resulting Numbers: [66, 101]
Generated Node #0,0,2: 83:[66, 101] Operation: 34+67=101
Exploring Operation: 67-34=33, Resulting Numbers: [66, 33]
Generated Node #0,0,3: 83:[66, 33] Operation: 67-34=33
Moving to Node #0,1
Current State: 83:[32, 99, 100], Operations: ['66+34=100']
Exploring Operation: 99-32=67, Resulting Numbers: [100, 67]
Generated Node #0,1,0: 83:[100, 67] Operation: 99-32=67
Exploring Operation: 100-32=68, Resulting Numbers: [99, 68]
Generated Node #0,1,1: 83:[99, 68] Operation: 100-32=68
Exploring Operation: 32+99=131, Resulting Numbers: [100, 131]
Generated Node #0,1,2: 83:[100, 131] Operation: 32+99=131
Exploring Operation: 32+100=132, Resulting Numbers: [99, 132]
Generated Node #0,1,3: 83:[99, 132] Operation: 32+100=132
Moving to Node #0,1,1
Current State: 83:[99, 68], Operations: ['66+34=100', '100-32=68']
Exploring Operation: 99-68=31, Resulting Numbers: [31]
31,83 unequal: No Solution
Exploring Operation: 99+68=167, Resulting Numbers: [167]
167,83 unequal: No Solution
Exploring Operation: 99*68=6732, Resulting Numbers: [6732]
6732,83 unequal: No Solution
Moving to Node #0,3,0
Current State: 83:[98, 65], Operations: ['32+66=98', '99-34=65']
Exploring Operation: 98-65=33, Resulting Numbers: [33]
33,83 unequal: No Solution
Exploring Operation: 98+65=163, Resulting Numbers: [163]
163,83 unequal: No Solution
Exploring Operation: 98*65=6370, Resulting Numbers: [6370]
6370,83 unequal: No Solution
Moving to Node #0,1,0
Current State: 83:[100, 67], Operations: ['66+34=100', '99-32=67']
Exploring Operation: 100-67=33, Resulting Numbers: [33]
33,83 unequal: No Solution
Exploring Operation: 100+67=167, Resulting Numbers: [167]
167,83 unequal: No Solution
Exploring Operation: 100*67=6700, Resulting Numbers: [6700]
6700,83 unequal: No Solution
Moving to Node #0,0,1
Current State: 83:[67, 100], Operations: ['99-32=67', '66+34=100']
Exploring Operation: 100-67=33, Resulting Numbers: [33]
33,83 unequal: No Solution
Exploring Operation: 67+100=167, Resulting Numbers: [167]
167,83 unequal: No Solution
Exploring Operation: 67*100=6700, Resulting Numbers: [6700]
6700,83 unequal: No Solution
Moving to Node #0,0,2
Current State: 83:[66, 101], Operations: ['99-32=67', '34+67=101']
Exploring Operation: 66*101=6666, Resulting Numbers: [6666]
6666,83 unequal: No Solution
Exploring Operation: 66+101=167, Resulting Numbers: [167]
167,83 unequal: No Solution
Exploring Operation: 101-66=35, Resulting Numbers: [35]
35,83 unequal: No Solution
Moving to Node #0,3,2
Current State: 83:[99, 64], Operations: ['32+66=98', '98-34=64']
Exploring Operation: 99*64=6336, Resulting Numbers: [6336]
6336,83 unequal: No Solution
Exploring Operation: 99+64=163, Resulting Numbers: [163]
163,83 unequal: No Solution
Exploring Operation: 99-64=35, Resulting Numbers: [35]
35,83 unequal: No Solution
Moving to Node #0,3,1
Current State: 83:[99, 132], Operations: ['32+66=98', '34+98=132']
Exploring Operation: 99*132=13068, Resulting Numbers: [13068]
13068,83 unequal: No Solution
Exploring Operation: 99+132=231, Resulting Numbers: [231]
231,83 unequal: No Solution
Exploring Operation: 132-99=33, Resulting Numbers: [33]
33,83 unequal: No Solution
Moving to Node #0,1,2
Current State: 83:[100, 131], Operations: ['66+34=100', '32+99=131']
Exploring Operation: 131-100=31, Resulting Numbers: [31]
31,83 unequal: No Solution
Exploring Operation: 100*131=13100, Resulting Numbers: [13100]
13100,83 unequal: No Solution
Exploring Operation: 100+131=231, Resulting Numbers: [231]
231,83 unequal: No Solution
Moving to Node #0,1,3
Current State: 83:[99, 132], Operations: ['66+34=100', '32+100=132']
Exploring Operation: 99+132=231, Resulting Numbers: [231]
231,83 unequal: No Solution
Exploring Operation: 99*132=13068, Resulting Numbers: [13068]
13068,83 unequal: No Solution
Exploring Operation: 132-99=33, Resulting Numbers: [33]
33,83 unequal: No Solution
Moving to Node #0,3,3
Current State: 83:[98, 133], Operations: ['32+66=98', '34+99=133']
Exploring Operation: 98*133=13034, Resulting Numbers: [13034]
13034,83 unequal: No Solution
Exploring Operation: 133-98=35, Resulting Numbers: [35]
35,83 unequal: No Solution
Exploring Operation: 98+133=231, Resulting Numbers: [231]
231,83 unequal: No Solution
Moving to Node #0,0,3
Current State: 83:[66, 33], Operations: ['99-32=67', '67-34=33']
Exploring Operation: 66/33=2, Resulting Numbers: [2]
2,83 unequal: No Solution
Exploring Operation: 66+33=99, Resulting Numbers: [99]
99,83 unequal: No Solution
Exploring Operation: 66*33=2178, Resulting Numbers: [2178]
2178,83 unequal: No Solution
Exploring Operation: 66-33=33, Resulting Numbers: [33]
33,83 unequal: No Solution
Moving to Node #0,0,0
Current State: 83:[67, 32], Operations: ['99-32=67', '66-34=32']
Exploring Operation: 67-32=35, Resulting Numbers: [35]
35,83 unequal: No Solution
Exploring Operation: 67*32=2144, Resulting Numbers: [2144]
2144,83 unequal: No Solution
Exploring Operation: 67+32=99, Resulting Numbers: [99]
99,83 unequal: No Solution
No solution found.
| 0
|
hs_4
|
mult_heuristic
|
[
16,
14,
75,
6
] | 53
|
[
"14-6=8",
"16*8=128",
"128-75=53"
] |
Current State: 53:[16, 14, 75, 6], Operations: []
Exploring Operation: 14-6=8, Resulting Numbers: [16, 75, 8]
Generated Node #2: [16, 75, 8] from Operation: 14-6=8
Current State: 53:[16, 75, 8], Operations: ['14-6=8']
Exploring Operation: 16*8=128, Resulting Numbers: [75, 128]
Generated Node #3: [75, 128] from Operation: 16*8=128
Current State: 53:[75, 128], Operations: ['14-6=8', '16*8=128']
Exploring Operation: 128-75=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4
|
Current State: 53:[16, 14, 75, 6], Operations: []
Exploring Operation: 16+14=30, Resulting Numbers: [75, 6, 30]
Generated Node #0,0: 53:[75, 6, 30] Operation: 16+14=30
Exploring Operation: 14*6=84, Resulting Numbers: [16, 75, 84]
Generated Node #0,1: 53:[16, 75, 84] Operation: 14*6=84
Exploring Operation: 16+6=22, Resulting Numbers: [14, 75, 22]
Generated Node #0,2: 53:[14, 75, 22] Operation: 16+6=22
Exploring Operation: 75-16=59, Resulting Numbers: [14, 6, 59]
Generated Node #0,3: 53:[14, 6, 59] Operation: 75-16=59
Moving to Node #0,1
Current State: 53:[16, 75, 84], Operations: ['14*6=84']
Exploring Operation: 75-16=59, Resulting Numbers: [84, 59]
Generated Node #0,1,0: 53:[84, 59] Operation: 75-16=59
Exploring Operation: 84-16=68, Resulting Numbers: [75, 68]
Generated Node #0,1,1: 53:[75, 68] Operation: 84-16=68
Exploring Operation: 16+75=91, Resulting Numbers: [84, 91]
Generated Node #0,1,2: 53:[84, 91] Operation: 16+75=91
Exploring Operation: 16+84=100, Resulting Numbers: [75, 100]
Generated Node #0,1,3: 53:[75, 100] Operation: 16+84=100
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 53:[84, 59], Operations: ['14*6=84', '75-16=59']
Exploring Operation: 84-59=25, Resulting Numbers: [25]
25,53 unequal: No Solution
Exploring Operation: 84*59=4956, Resulting Numbers: [4956]
4956,53 unequal: No Solution
Exploring Operation: 84+59=143, Resulting Numbers: [143]
143,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 53:[75, 68], Operations: ['14*6=84', '84-16=68']
Exploring Operation: 75-68=7, Resulting Numbers: [7]
7,53 unequal: No Solution
Exploring Operation: 75*68=5100, Resulting Numbers: [5100]
5100,53 unequal: No Solution
Exploring Operation: 75+68=143, Resulting Numbers: [143]
143,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 53:[84, 91], Operations: ['14*6=84', '16+75=91']
Exploring Operation: 84+91=175, Resulting Numbers: [175]
175,53 unequal: No Solution
Exploring Operation: 84*91=7644, Resulting Numbers: [7644]
7644,53 unequal: No Solution
Exploring Operation: 91-84=7, Resulting Numbers: [7]
7,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 53:[75, 100], Operations: ['14*6=84', '16+84=100']
Exploring Operation: 75+100=175, Resulting Numbers: [175]
175,53 unequal: No Solution
Exploring Operation: 100-75=25, Resulting Numbers: [25]
25,53 unequal: No Solution
Exploring Operation: 75*100=7500, Resulting Numbers: [7500]
7500,53 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: 53:[14, 75, 22], Operations: ['16+6=22']
Exploring Operation: 75-22=53, Resulting Numbers: [14, 53]
Generated Node #0,2,0: 53:[14, 53] Operation: 75-22=53
Exploring Operation: 75-14=61, Resulting Numbers: [22, 61]
Generated Node #0,2,1: 53:[22, 61] Operation: 75-14=61
Exploring Operation: 14+22=36, Resulting Numbers: [75, 36]
Generated Node #0,2,2: 53:[75, 36] Operation: 14+22=36
Exploring Operation: 14+75=89, Resulting Numbers: [22, 89]
Generated Node #0,2,3: 53:[22, 89] Operation: 14+75=89
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 53:[14, 53], Operations: ['16+6=22', '75-22=53']
Exploring Operation: 53-14=39, Resulting Numbers: [39]
39,53 unequal: No Solution
Exploring Operation: 14*53=742, Resulting Numbers: [742]
742,53 unequal: No Solution
Exploring Operation: 14+53=67, Resulting Numbers: [67]
67,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 53:[22, 61], Operations: ['16+6=22', '75-14=61']
Exploring Operation: 22+61=83, Resulting Numbers: [83]
83,53 unequal: No Solution
Exploring Operation: 22*61=1342, Resulting Numbers: [1342]
1342,53 unequal: No Solution
Exploring Operation: 61-22=39, Resulting Numbers: [39]
39,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 53:[75, 36], Operations: ['16+6=22', '14+22=36']
Exploring Operation: 75-36=39, Resulting Numbers: [39]
39,53 unequal: No Solution
Exploring Operation: 75+36=111, Resulting Numbers: [111]
111,53 unequal: No Solution
Exploring Operation: 75*36=2700, Resulting Numbers: [2700]
2700,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 53:[22, 89], Operations: ['16+6=22', '14+75=89']
Exploring Operation: 22*89=1958, Resulting Numbers: [1958]
1958,53 unequal: No Solution
Exploring Operation: 22+89=111, Resulting Numbers: [111]
111,53 unequal: No Solution
Exploring Operation: 89-22=67, Resulting Numbers: [67]
67,53 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: 53:[75, 6, 30], Operations: ['16+14=30']
Exploring Operation: 30-6=24, Resulting Numbers: [75, 24]
Generated Node #0,0,0: 53:[75, 24] Operation: 30-6=24
Exploring Operation: 75-6=69, Resulting Numbers: [30, 69]
Generated Node #0,0,1: 53:[30, 69] Operation: 75-6=69
Exploring Operation: 6+30=36, Resulting Numbers: [75, 36]
Generated Node #0,0,2: 53:[75, 36] Operation: 6+30=36
Exploring Operation: 75+6=81, Resulting Numbers: [30, 81]
Generated Node #0,0,3: 53:[30, 81] Operation: 75+6=81
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 53:[30, 69], Operations: ['16+14=30', '75-6=69']
Exploring Operation: 30+69=99, Resulting Numbers: [99]
99,53 unequal: No Solution
Exploring Operation: 69-30=39, Resulting Numbers: [39]
39,53 unequal: No Solution
Exploring Operation: 30*69=2070, Resulting Numbers: [2070]
2070,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 53:[75, 36], Operations: ['16+14=30', '6+30=36']
Exploring Operation: 75*36=2700, Resulting Numbers: [2700]
2700,53 unequal: No Solution
Exploring Operation: 75-36=39, Resulting Numbers: [39]
39,53 unequal: No Solution
Exploring Operation: 75+36=111, Resulting Numbers: [111]
111,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 53:[75, 24], Operations: ['16+14=30', '30-6=24']
Exploring Operation: 75+24=99, Resulting Numbers: [99]
99,53 unequal: No Solution
Exploring Operation: 75-24=51, Resulting Numbers: [51]
51,53 unequal: No Solution
Exploring Operation: 75*24=1800, Resulting Numbers: [1800]
1800,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 53:[30, 81], Operations: ['16+14=30', '75+6=81']
Exploring Operation: 81-30=51, Resulting Numbers: [51]
51,53 unequal: No Solution
Exploring Operation: 30+81=111, Resulting Numbers: [111]
111,53 unequal: No Solution
Exploring Operation: 30*81=2430, Resulting Numbers: [2430]
2430,53 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: 53:[14, 6, 59], Operations: ['75-16=59']
Exploring Operation: 14*6=84, Resulting Numbers: [59, 84]
Generated Node #0,3,0: 53:[59, 84] Operation: 14*6=84
Exploring Operation: 59-6=53, Resulting Numbers: [14, 53]
Generated Node #0,3,1: 53:[14, 53] Operation: 59-6=53
Exploring Operation: 14-6=8, Resulting Numbers: [59, 8]
Generated Node #0,3,2: 53:[59, 8] Operation: 14-6=8
Exploring Operation: 14+6=20, Resulting Numbers: [59, 20]
Generated Node #0,3,3: 53:[59, 20] Operation: 14+6=20
Moving to Node #0,3,0
Current State: 53:[59, 84], Operations: ['75-16=59', '14*6=84']
Exploring Operation: 59*84=4956, Resulting Numbers: [4956]
4956,53 unequal: No Solution
Exploring Operation: 59+84=143, Resulting Numbers: [143]
143,53 unequal: No Solution
Exploring Operation: 84-59=25, Resulting Numbers: [25]
25,53 unequal: No Solution
Moving to Node #0,3,3
Current State: 53:[59, 20], Operations: ['75-16=59', '14+6=20']
Exploring Operation: 59-20=39, Resulting Numbers: [39]
39,53 unequal: No Solution
Exploring Operation: 59*20=1180, Resulting Numbers: [1180]
1180,53 unequal: No Solution
Exploring Operation: 59+20=79, Resulting Numbers: [79]
79,53 unequal: No Solution
Moving to Node #0,3,1
Current State: 53:[14, 53], Operations: ['75-16=59', '59-6=53']
Exploring Operation: 14+53=67, Resulting Numbers: [67]
67,53 unequal: No Solution
Exploring Operation: 53-14=39, Resulting Numbers: [39]
39,53 unequal: No Solution
Exploring Operation: 14*53=742, Resulting Numbers: [742]
742,53 unequal: No Solution
Moving to Node #0,3,2
Current State: 53:[59, 8], Operations: ['75-16=59', '14-6=8']
Exploring Operation: 59*8=472, Resulting Numbers: [472]
472,53 unequal: No Solution
Exploring Operation: 59-8=51, Resulting Numbers: [51]
51,53 unequal: No Solution
Exploring Operation: 59+8=67, Resulting Numbers: [67]
67,53 unequal: No Solution
No solution found.
| 0
|
hs_4
|
mult_heuristic
|
[
2,
60,
95,
11
] | 26
|
[
"60-2=58",
"95-11=84",
"84-58=26"
] |
Current State: 26:[2, 60, 95, 11], Operations: []
Exploring Operation: 60-2=58, Resulting Numbers: [95, 11, 58]
Generated Node #2: [95, 11, 58] from Operation: 60-2=58
Current State: 26:[95, 11, 58], Operations: ['60-2=58']
Exploring Operation: 95-11=84, Resulting Numbers: [58, 84]
Generated Node #3: [58, 84] from Operation: 95-11=84
Current State: 26:[58, 84], Operations: ['60-2=58', '95-11=84']
Exploring Operation: 84-58=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4
|
Current State: 26:[2, 60, 95, 11], Operations: []
Exploring Operation: 60/2=30, Resulting Numbers: [95, 11, 30]
Generated Node #0,0: 26:[95, 11, 30] Operation: 60/2=30
Exploring Operation: 95-60=35, Resulting Numbers: [2, 11, 35]
Generated Node #0,1: 26:[2, 11, 35] Operation: 95-60=35
Moving to Node #0,1
Current State: 26:[2, 11, 35], Operations: ['95-60=35']
Exploring Operation: 35-11=24, Resulting Numbers: [2, 24]
Generated Node #0,1,0: 26:[2, 24] Operation: 35-11=24
Exploring Operation: 2+11=13, Resulting Numbers: [35, 13]
Generated Node #0,1,1: 26:[35, 13] Operation: 2+11=13
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 26:[2, 24], Operations: ['95-60=35', '35-11=24']
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,26 unequal: No Solution
Exploring Operation: 2+24=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[2, 60, 95, 11], Operations: []
Exploring Operation: 95-60=35, Resulting Numbers: [2, 11, 35]
Generated Node #0,1: 26:[2, 11, 35] Operation: 95-60=35
Moving to Node #0,1
Current State: 26:[2, 11, 35], Operations: ['95-60=35']
Exploring Operation: 35-11=24, Resulting Numbers: [2, 24]
Generated Node #0,1,0: 26:[2, 24] Operation: 35-11=24
Moving to Node #0,1,0
Current State: 26:[2, 24], Operations: ['95-60=35', '35-11=24']
Exploring Operation: 2+24=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319
|
hs_2
|
mult_heuristic
|
[
29,
82,
58,
63
] | 63
|
[
"82+63=145",
"145/29=5",
"58+5=63"
] |
Current State: 63:[29, 82, 58, 63], Operations: []
Exploring Operation: 82+63=145, Resulting Numbers: [29, 58, 145]
Generated Node #2: [29, 58, 145] from Operation: 82+63=145
Current State: 63:[29, 58, 145], Operations: ['82+63=145']
Exploring Operation: 145/29=5, Resulting Numbers: [58, 5]
Generated Node #3: [58, 5] from Operation: 145/29=5
Current State: 63:[58, 5], Operations: ['82+63=145', '145/29=5']
Exploring Operation: 58+5=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4
|
Current State: 63:[29, 82, 58, 63], Operations: []
Exploring Operation: 82-58=24, Resulting Numbers: [29, 63, 24]
Generated Node #0,0: 63:[29, 63, 24] Operation: 82-58=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[29, 63, 24], Operations: ['82-58=24']
Exploring Operation: 29-24=5, Resulting Numbers: [63, 5]
Generated Node #0,0,0: 63:[63, 5] Operation: 29-24=5
Moving to Node #0,0,0
Current State: 63:[63, 5], Operations: ['82-58=24', '29-24=5']
Exploring Operation: 63+5=68, Resulting Numbers: [68]
68,63 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
|
[
58,
84,
4,
54
] | 85
|
[
"58-4=54",
"54/54=1",
"84+1=85"
] |
Current State: 85:[58, 84, 4, 54], Operations: []
Exploring Operation: 58-4=54, Resulting Numbers: [84, 54, 54]
Generated Node #2: [84, 54, 54] from Operation: 58-4=54
Current State: 85:[84, 54, 54], Operations: ['58-4=54']
Exploring Operation: 54/54=1, Resulting Numbers: [84, 1]
Generated Node #3: [84, 1] from Operation: 54/54=1
Current State: 85:[84, 1], Operations: ['58-4=54', '54/54=1']
Exploring Operation: 84+1=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4
|
Current State: 85:[58, 84, 4, 54], Operations: []
Exploring Operation: 58-54=4, Resulting Numbers: [84, 4, 4]
Generated Node #0,0: 85:[84, 4, 4] Operation: 58-54=4
Exploring Operation: 58+54=112, Resulting Numbers: [84, 4, 112]
Generated Node #0,1: 85:[84, 4, 112] Operation: 58+54=112
Moving to Node #0,0
Current State: 85:[84, 4, 4], Operations: ['58-54=4']
Exploring Operation: 84+4=88, Resulting Numbers: [4, 88]
Generated Node #0,0,0: 85:[4, 88] Operation: 84+4=88
Exploring Operation: 4*4=16, Resulting Numbers: [84, 16]
Generated Node #0,0,1: 85:[84, 16] Operation: 4*4=16
Moving to Node #0,1
Current State: 85:[84, 4, 112], Operations: ['58+54=112']
Exploring Operation: 112/4=28, Resulting Numbers: [84, 28]
Generated Node #0,1,0: 85:[84, 28] Operation: 112/4=28
Exploring Operation: 112-84=28, Resulting Numbers: [4, 28]
Generated Node #0,1,1: 85:[4, 28] Operation: 112-84=28
Moving to Node #0,0,1
Current State: 85:[84, 16], Operations: ['58-54=4', '4*4=16']
Exploring Operation: 84+16=100, Resulting Numbers: [100]
100,85 unequal: No Solution
Exploring Operation: 84-16=68, Resulting Numbers: [68]
68,85 unequal: No Solution
Moving to Node #0,0,0
Current State: 85:[4, 88], Operations: ['58-54=4', '84+4=88']
Exploring Operation: 88/4=22, Resulting Numbers: [22]
22,85 unequal: No Solution
Exploring Operation: 88-4=84, Resulting Numbers: [84]
84,85 unequal: No Solution
Moving to Node #0,1,1
Current State: 85:[4, 28], Operations: ['58+54=112', '112-84=28']
Exploring Operation: 28/4=7, Resulting Numbers: [7]
7,85 unequal: No Solution
Exploring Operation: 28-4=24, Resulting Numbers: [24]
24,85 unequal: No Solution
Moving to Node #0,1,0
Current State: 85:[84, 28], Operations: ['58+54=112', '112/4=28']
Exploring Operation: 84/28=3, Resulting Numbers: [3]
3,85 unequal: No Solution
Exploring Operation: 84+28=112, Resulting Numbers: [112]
112,85 unequal: No Solution
No solution found.
| 0
|
hs_2
|
sum_heuristic
|
[
35,
37,
40,
15
] | 80
|
[
"40-37=3",
"15*3=45",
"35+45=80"
] |
Current State: 80:[35, 37, 40, 15], Operations: []
Exploring Operation: 40-37=3, Resulting Numbers: [35, 15, 3]
Generated Node #2: [35, 15, 3] from Operation: 40-37=3
Current State: 80:[35, 15, 3], Operations: ['40-37=3']
Exploring Operation: 15*3=45, Resulting Numbers: [35, 45]
Generated Node #3: [35, 45] from Operation: 15*3=45
Current State: 80:[35, 45], Operations: ['40-37=3', '15*3=45']
Exploring Operation: 35+45=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4
|
Current State: 80:[35, 37, 40, 15], Operations: []
Exploring Operation: 37-35=2, Resulting Numbers: [40, 15, 2]
Generated Node #0,0: 80:[40, 15, 2] Operation: 37-35=2
Exploring Operation: 40-37=3, Resulting Numbers: [35, 15, 3]
Generated Node #0,1: 80:[35, 15, 3] Operation: 40-37=3
Exploring Operation: 40-35=5, Resulting Numbers: [37, 15, 5]
Generated Node #0,2: 80:[37, 15, 5] Operation: 40-35=5
Exploring Operation: 35-15=20, Resulting Numbers: [37, 40, 20]
Generated Node #0,3: 80:[37, 40, 20] Operation: 35-15=20
Exploring Operation: 37-15=22, Resulting Numbers: [35, 40, 22]
Generated Node #0,4: 80:[35, 40, 22] Operation: 37-15=22
Moving to Node #0,0
Current State: 80:[40, 15, 2], Operations: ['37-35=2']
Exploring Operation: 40/2=20, Resulting Numbers: [15, 20]
Generated Node #0,0,0: 80:[15, 20] Operation: 40/2=20
Exploring Operation: 40-2=38, Resulting Numbers: [15, 38]
Generated Node #0,0,1: 80:[15, 38] Operation: 40-2=38
Exploring Operation: 40*2=80, Resulting Numbers: [15, 80]
Generated Node #0,0,2: 80:[15, 80] Operation: 40*2=80
Exploring Operation: 40+2=42, Resulting Numbers: [15, 42]
Generated Node #0,0,3: 80:[15, 42] Operation: 40+2=42
Exploring Operation: 15+2=17, Resulting Numbers: [40, 17]
Generated Node #0,0,4: 80:[40, 17] Operation: 15+2=17
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 80:[15, 20], Operations: ['37-35=2', '40/2=20']
Exploring Operation: 20-15=5, Resulting Numbers: [5]
5,80 unequal: No Solution
Exploring Operation: 15+20=35, Resulting Numbers: [35]
35,80 unequal: No Solution
Exploring Operation: 15*20=300, Resulting Numbers: [300]
300,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 80:[15, 80], Operations: ['37-35=2', '40*2=80']
Exploring Operation: 15+80=95, Resulting Numbers: [95]
95,80 unequal: No Solution
Exploring Operation: 80-15=65, Resulting Numbers: [65]
65,80 unequal: No Solution
Exploring Operation: 15*80=1200, Resulting Numbers: [1200]
1200,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 80:[40, 17], Operations: ['37-35=2', '15+2=17']
Exploring Operation: 40-17=23, Resulting Numbers: [23]
23,80 unequal: No Solution
Exploring Operation: 40+17=57, Resulting Numbers: [57]
57,80 unequal: No Solution
Exploring Operation: 40*17=680, Resulting Numbers: [680]
680,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 80:[15, 38], Operations: ['37-35=2', '40-2=38']
Exploring Operation: 15*38=570, Resulting Numbers: [570]
570,80 unequal: No Solution
Exploring Operation: 38-15=23, Resulting Numbers: [23]
23,80 unequal: No Solution
Exploring Operation: 15+38=53, Resulting Numbers: [53]
53,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 80:[15, 42], Operations: ['37-35=2', '40+2=42']
Exploring Operation: 15*42=630, Resulting Numbers: [630]
630,80 unequal: No Solution
Exploring Operation: 15+42=57, Resulting Numbers: [57]
57,80 unequal: No Solution
Exploring Operation: 42-15=27, Resulting Numbers: [27]
27,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:[37, 40, 20], Operations: ['35-15=20']
Exploring Operation: 37+40=77, Resulting Numbers: [20, 77]
Generated Node #0,3,0: 80:[20, 77] Operation: 37+40=77
Exploring Operation: 40-20=20, Resulting Numbers: [37, 20]
Generated Node #0,3,1: 80:[37, 20] Operation: 40-20=20
Exploring Operation: 37-20=17, Resulting Numbers: [40, 17]
Generated Node #0,3,2: 80:[40, 17] Operation: 37-20=17
Exploring Operation: 40-37=3, Resulting Numbers: [20, 3]
Generated Node #0,3,3: 80:[20, 3] Operation: 40-37=3
Exploring Operation: 40/20=2, Resulting Numbers: [37, 2]
Generated Node #0,3,4: 80:[37, 2] Operation: 40/20=2
Moving to Node #0,2
Current State: 80:[37, 15, 5], Operations: ['40-35=5']
Exploring Operation: 15-5=10, Resulting Numbers: [37, 10]
Generated Node #0,2,0: 80:[37, 10] Operation: 15-5=10
Exploring Operation: 37+5=42, Resulting Numbers: [15, 42]
Generated Node #0,2,1: 80:[15, 42] Operation: 37+5=42
Exploring Operation: 15/5=3, Resulting Numbers: [37, 3]
Generated Node #0,2,2: 80:[37, 3] Operation: 15/5=3
Exploring Operation: 37-15=22, Resulting Numbers: [5, 22]
Generated Node #0,2,3: 80:[5, 22] Operation: 37-15=22
Exploring Operation: 15+5=20, Resulting Numbers: [37, 20]
Generated Node #0,2,4: 80:[37, 20] Operation: 15+5=20
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 80:[5, 22], Operations: ['40-35=5', '37-15=22']
Exploring Operation: 5*22=110, Resulting Numbers: [110]
110,80 unequal: No Solution
Exploring Operation: 5+22=27, Resulting Numbers: [27]
27,80 unequal: No Solution
Exploring Operation: 22-5=17, Resulting Numbers: [17]
17,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:[37, 10], Operations: ['40-35=5', '15-5=10']
Exploring Operation: 37-10=27, Resulting Numbers: [27]
27,80 unequal: No Solution
Exploring Operation: 37*10=370, Resulting Numbers: [370]
370,80 unequal: No Solution
Exploring Operation: 37+10=47, Resulting Numbers: [47]
47,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,1
Current State: 80:[15, 42], Operations: ['40-35=5', '37+5=42']
Exploring Operation: 42-15=27, Resulting Numbers: [27]
27,80 unequal: No Solution
Exploring Operation: 15*42=630, Resulting Numbers: [630]
630,80 unequal: No Solution
Exploring Operation: 15+42=57, Resulting Numbers: [57]
57,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,4
Current State: 80:[37, 20], Operations: ['40-35=5', '15+5=20']
Exploring Operation: 37*20=740, Resulting Numbers: [740]
740,80 unequal: No Solution
Exploring Operation: 37+20=57, Resulting Numbers: [57]
57,80 unequal: No Solution
Exploring Operation: 37-20=17, Resulting Numbers: [17]
17,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:[37, 3], Operations: ['40-35=5', '15/5=3']
Exploring Operation: 37+3=40, Resulting Numbers: [40]
40,80 unequal: No Solution
Exploring Operation: 37*3=111, Resulting Numbers: [111]
111,80 unequal: No Solution
Exploring Operation: 37-3=34, Resulting Numbers: [34]
34,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:[35, 15, 3], Operations: ['40-37=3']
Exploring Operation: 35+3=38, Resulting Numbers: [15, 38]
Generated Node #0,1,0: 80:[15, 38] Operation: 35+3=38
Exploring Operation: 15-3=12, Resulting Numbers: [35, 12]
Generated Node #0,1,1: 80:[35, 12] Operation: 15-3=12
Exploring Operation: 35-15=20, Resulting Numbers: [3, 20]
Generated Node #0,1,2: 80:[3, 20] Operation: 35-15=20
Exploring Operation: 15+3=18, Resulting Numbers: [35, 18]
Generated Node #0,1,3: 80:[35, 18] Operation: 15+3=18
Exploring Operation: 15/3=5, Resulting Numbers: [35, 5]
Generated Node #0,1,4: 80:[35, 5] Operation: 15/3=5
Moving to Node #0,4
Current State: 80:[35, 40, 22], Operations: ['37-15=22']
Exploring Operation: 40-22=18, Resulting Numbers: [35, 18]
Generated Node #0,4,0: 80:[35, 18] Operation: 40-22=18
Exploring Operation: 40-35=5, Resulting Numbers: [22, 5]
Generated Node #0,4,1: 80:[22, 5] Operation: 40-35=5
Exploring Operation: 35+40=75, Resulting Numbers: [22, 75]
Generated Node #0,4,2: 80:[22, 75] Operation: 35+40=75
Exploring Operation: 35+22=57, Resulting Numbers: [40, 57]
Generated Node #0,4,3: 80:[40, 57] Operation: 35+22=57
Exploring Operation: 35-22=13, Resulting Numbers: [40, 13]
Generated Node #0,4,4: 80:[40, 13] Operation: 35-22=13
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 80:[22, 5], Operations: ['37-15=22', '40-35=5']
Exploring Operation: 22*5=110, Resulting Numbers: [110]
110,80 unequal: No Solution
Exploring Operation: 22-5=17, Resulting Numbers: [17]
17,80 unequal: No Solution
Exploring Operation: 22+5=27, Resulting Numbers: [27]
27,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,4,4
Current State: 80:[40, 13], Operations: ['37-15=22', '35-22=13']
Exploring Operation: 40-13=27, Resulting Numbers: [27]
27,80 unequal: No Solution
Exploring Operation: 40*13=520, Resulting Numbers: [520]
520,80 unequal: No Solution
Exploring Operation: 40+13=53, Resulting Numbers: [53]
53,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,4,0
Current State: 80:[35, 18], Operations: ['37-15=22', '40-22=18']
Exploring Operation: 35-18=17, Resulting Numbers: [17]
17,80 unequal: No Solution
Exploring Operation: 35*18=630, Resulting Numbers: [630]
630,80 unequal: No Solution
Exploring Operation: 35+18=53, Resulting Numbers: [53]
53,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,4,2
Current State: 80:[22, 75], Operations: ['37-15=22', '35+40=75']
Exploring Operation: 22+75=97, Resulting Numbers: [97]
97,80 unequal: No Solution
Exploring Operation: 22*75=1650, Resulting Numbers: [1650]
1650,80 unequal: No Solution
Exploring Operation: 75-22=53, Resulting Numbers: [53]
53,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,4,3
Current State: 80:[40, 57], Operations: ['37-15=22', '35+22=57']
Exploring Operation: 40*57=2280, Resulting Numbers: [2280]
2280,80 unequal: No Solution
Exploring Operation: 40+57=97, Resulting Numbers: [97]
97,80 unequal: No Solution
Exploring Operation: 57-40=17, Resulting Numbers: [17]
17,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,2
Current State: 80:[40, 17], Operations: ['35-15=20', '37-20=17']
Exploring Operation: 40*17=680, Resulting Numbers: [680]
680,80 unequal: No Solution
Exploring Operation: 40+17=57, Resulting Numbers: [57]
57,80 unequal: No Solution
Exploring Operation: 40-17=23, Resulting Numbers: [23]
23,80 unequal: No Solution
Moving to Node #0,1,2
Current State: 80:[3, 20], Operations: ['40-37=3', '35-15=20']
Exploring Operation: 3*20=60, Resulting Numbers: [60]
60,80 unequal: No Solution
Exploring Operation: 20-3=17, Resulting Numbers: [17]
17,80 unequal: No Solution
Exploring Operation: 3+20=23, Resulting Numbers: [23]
23,80 unequal: No Solution
Moving to Node #0,3,3
Current State: 80:[20, 3], Operations: ['35-15=20', '40-37=3']
Exploring Operation: 20+3=23, Resulting Numbers: [23]
23,80 unequal: No Solution
Exploring Operation: 20*3=60, Resulting Numbers: [60]
60,80 unequal: No Solution
Exploring Operation: 20-3=17, Resulting Numbers: [17]
17,80 unequal: No Solution
Moving to Node #0,1,0
Current State: 80:[15, 38], Operations: ['40-37=3', '35+3=38']
Exploring Operation: 15+38=53, Resulting Numbers: [53]
53,80 unequal: No Solution
Exploring Operation: 15*38=570, Resulting Numbers: [570]
570,80 unequal: No Solution
Exploring Operation: 38-15=23, Resulting Numbers: [23]
23,80 unequal: No Solution
Moving to Node #0,3,0
Current State: 80:[20, 77], Operations: ['35-15=20', '37+40=77']
Exploring Operation: 20*77=1540, Resulting Numbers: [1540]
1540,80 unequal: No Solution
Exploring Operation: 20+77=97, Resulting Numbers: [97]
97,80 unequal: No Solution
Exploring Operation: 77-20=57, Resulting Numbers: [57]
57,80 unequal: No Solution
Moving to Node #0,3,4
Current State: 80:[37, 2], Operations: ['35-15=20', '40/20=2']
Exploring Operation: 37+2=39, Resulting Numbers: [39]
39,80 unequal: No Solution
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,80 unequal: No Solution
Exploring Operation: 37*2=74, Resulting Numbers: [74]
74,80 unequal: No Solution
Moving to Node #0,3,1
Current State: 80:[37, 20], Operations: ['35-15=20', '40-20=20']
Exploring Operation: 37*20=740, Resulting Numbers: [740]
740,80 unequal: No Solution
Exploring Operation: 37-20=17, Resulting Numbers: [17]
17,80 unequal: No Solution
Exploring Operation: 37+20=57, Resulting Numbers: [57]
57,80 unequal: No Solution
Moving to Node #0,1,4
Current State: 80:[35, 5], Operations: ['40-37=3', '15/3=5']
Exploring Operation: 35/5=7, Resulting Numbers: [7]
7,80 unequal: No Solution
Exploring Operation: 35-5=30, Resulting Numbers: [30]
30,80 unequal: No Solution
Exploring Operation: 35*5=175, Resulting Numbers: [175]
175,80 unequal: No Solution
Exploring Operation: 35+5=40, Resulting Numbers: [40]
40,80 unequal: No Solution
Moving to Node #0,1,3
Current State: 80:[35, 18], Operations: ['40-37=3', '15+3=18']
Exploring Operation: 35+18=53, Resulting Numbers: [53]
53,80 unequal: No Solution
Exploring Operation: 35-18=17, Resulting Numbers: [17]
17,80 unequal: No Solution
Exploring Operation: 35*18=630, Resulting Numbers: [630]
630,80 unequal: No Solution
Moving to Node #0,1,1
Current State: 80:[35, 12], Operations: ['40-37=3', '15-3=12']
Exploring Operation: 35*12=420, Resulting Numbers: [420]
420,80 unequal: No Solution
Exploring Operation: 35-12=23, Resulting Numbers: [23]
23,80 unequal: No Solution
Exploring Operation: 35+12=47, Resulting Numbers: [47]
47,80 unequal: No Solution
No solution found.
| 0
|
hs_5
|
mult_heuristic
|
[
22,
17,
96,
45
] | 12
|
[
"22+17=39",
"96-45=51",
"51-39=12"
] |
Current State: 12:[22, 17, 96, 45], Operations: []
Exploring Operation: 22+17=39, Resulting Numbers: [96, 45, 39]
Generated Node #2: [96, 45, 39] from Operation: 22+17=39
Current State: 12:[96, 45, 39], Operations: ['22+17=39']
Exploring Operation: 96-45=51, Resulting Numbers: [39, 51]
Generated Node #3: [39, 51] from Operation: 96-45=51
Current State: 12:[39, 51], Operations: ['22+17=39', '96-45=51']
Exploring Operation: 51-39=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4
|
Current State: 12:[22, 17, 96, 45], Operations: []
Exploring Operation: 45-22=23, Resulting Numbers: [17, 96, 23]
Generated Node #0,0: 12:[17, 96, 23] Operation: 45-22=23
Exploring Operation: 45-17=28, Resulting Numbers: [22, 96, 28]
Generated Node #0,1: 12:[22, 96, 28] Operation: 45-17=28
Exploring Operation: 96-22=74, Resulting Numbers: [17, 45, 74]
Generated Node #0,2: 12:[17, 45, 74] Operation: 96-22=74
Exploring Operation: 96-45=51, Resulting Numbers: [22, 17, 51]
Generated Node #0,3: 12:[22, 17, 51] Operation: 96-45=51
Exploring Operation: 96-17=79, Resulting Numbers: [22, 45, 79]
Generated Node #0,4: 12:[22, 45, 79] Operation: 96-17=79
Start Sub Search at level 1: Moving to Node #0,3
Current State: 12:[22, 17, 51], Operations: ['96-45=51']
Exploring Operation: 22-17=5, Resulting Numbers: [51, 5]
Generated Node #0,3,0: 12:[51, 5] Operation: 22-17=5
Exploring Operation: 51/17=3, Resulting Numbers: [22, 3]
Generated Node #0,3,1: 12:[22, 3] Operation: 51/17=3
Exploring Operation: 22+17=39, Resulting Numbers: [51, 39]
Generated Node #0,3,2: 12:[51, 39] Operation: 22+17=39
Exploring Operation: 51-17=34, Resulting Numbers: [22, 34]
Generated Node #0,3,3: 12:[22, 34] Operation: 51-17=34
Exploring Operation: 51-22=29, Resulting Numbers: [17, 29]
Generated Node #0,3,4: 12:[17, 29] Operation: 51-22=29
Moving to Node #0,3,1
Current State: 12:[22, 3], Operations: ['96-45=51', '51/17=3']
Exploring Operation: 22*3=66, Resulting Numbers: [66]
66,12 unequal: No Solution
Exploring Operation: 22+3=25, Resulting Numbers: [25]
25,12 unequal: No Solution
Exploring Operation: 22-3=19, Resulting Numbers: [19]
19,12 unequal: No Solution
Moving to Node #0,3,4
Current State: 12:[17, 29], Operations: ['96-45=51', '51-22=29']
Exploring Operation: 17*29=493, Resulting Numbers: [493]
493,12 unequal: No Solution
Exploring Operation: 17+29=46, Resulting Numbers: [46]
46,12 unequal: No Solution
Exploring Operation: 29-17=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[22, 17, 96, 45], Operations: []
Exploring Operation: 96-45=51, Resulting Numbers: [22, 17, 51]
Generated Node #0,3: 12:[22, 17, 51] Operation: 96-45=51
Moving to Node #0,3
Current State: 12:[22, 17, 51], Operations: ['96-45=51']
Exploring Operation: 51-22=29, Resulting Numbers: [17, 29]
Generated Node #0,3,4: 12:[17, 29] Operation: 51-22=29
Moving to Node #0,3,4
Current State: 12:[17, 29], Operations: ['96-45=51', '51-22=29']
Exploring Operation: 29-17=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639
|
hs_5
|
mult_heuristic
|
[
95,
34,
55,
97
] | 23
|
[
"95+34=129",
"55+97=152",
"152-129=23"
] |
Current State: 23:[95, 34, 55, 97], Operations: []
Exploring Operation: 95+34=129, Resulting Numbers: [55, 97, 129]
Generated Node #2: [55, 97, 129] from Operation: 95+34=129
Current State: 23:[55, 97, 129], Operations: ['95+34=129']
Exploring Operation: 55+97=152, Resulting Numbers: [129, 152]
Generated Node #3: [129, 152] from Operation: 55+97=152
Current State: 23:[129, 152], Operations: ['95+34=129', '55+97=152']
Exploring Operation: 152-129=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4
|
Current State: 23:[95, 34, 55, 97], Operations: []
Exploring Operation: 97-95=2, Resulting Numbers: [34, 55, 2]
Generated Node #0,0: 23:[34, 55, 2] Operation: 97-95=2
Moving to Node #0,0
Current State: 23:[34, 55, 2], Operations: ['97-95=2']
Exploring Operation: 55-34=21, Resulting Numbers: [2, 21]
Generated Node #0,0,0: 23:[2, 21] Operation: 55-34=21
Moving to Node #0,0,0
Current State: 23:[2, 21], Operations: ['97-95=2', '55-34=21']
Exploring Operation: 2+21=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[95, 34, 55, 97], Operations: []
Exploring Operation: 97-95=2, Resulting Numbers: [34, 55, 2]
Generated Node #0,0: 23:[34, 55, 2] Operation: 97-95=2
Moving to Node #0,0
Current State: 23:[34, 55, 2], Operations: ['97-95=2']
Exploring Operation: 55-34=21, Resulting Numbers: [2, 21]
Generated Node #0,0,0: 23:[2, 21] Operation: 55-34=21
Moving to Node #0,0,0
Current State: 23:[2, 21], Operations: ['97-95=2', '55-34=21']
Exploring Operation: 2+21=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 0.993924
|
hs_1
|
mult_heuristic
|
[
45,
63,
72,
50
] | 86
|
[
"45+63=108",
"72-50=22",
"108-22=86"
] |
Current State: 86:[45, 63, 72, 50], Operations: []
Exploring Operation: 45+63=108, Resulting Numbers: [72, 50, 108]
Generated Node #2: [72, 50, 108] from Operation: 45+63=108
Current State: 86:[72, 50, 108], Operations: ['45+63=108']
Exploring Operation: 72-50=22, Resulting Numbers: [108, 22]
Generated Node #3: [108, 22] from Operation: 72-50=22
Current State: 86:[108, 22], Operations: ['45+63=108', '72-50=22']
Exploring Operation: 108-22=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4
|
Current State: 86:[45, 63, 72, 50], Operations: []
Exploring Operation: 63-50=13, Resulting Numbers: [45, 72, 13]
Generated Node #0,0: 86:[45, 72, 13] Operation: 63-50=13
Exploring Operation: 63-45=18, Resulting Numbers: [72, 50, 18]
Generated Node #0,1: 86:[72, 50, 18] Operation: 63-45=18
Exploring Operation: 72-63=9, Resulting Numbers: [45, 50, 9]
Generated Node #0,2: 86:[45, 50, 9] Operation: 72-63=9
Moving to Node #0,2
Current State: 86:[45, 50, 9], Operations: ['72-63=9']
Exploring Operation: 45/9=5, Resulting Numbers: [50, 5]
Generated Node #0,2,0: 86:[50, 5] Operation: 45/9=5
Exploring Operation: 50-45=5, Resulting Numbers: [9, 5]
Generated Node #0,2,1: 86:[9, 5] Operation: 50-45=5
Exploring Operation: 50-9=41, Resulting Numbers: [45, 41]
Generated Node #0,2,2: 86:[45, 41] Operation: 50-9=41
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 86:[45, 41], Operations: ['72-63=9', '50-9=41']
Exploring Operation: 45+41=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[45, 63, 72, 50], Operations: []
Exploring Operation: 72-63=9, Resulting Numbers: [45, 50, 9]
Generated Node #0,2: 86:[45, 50, 9] Operation: 72-63=9
Moving to Node #0,2
Current State: 86:[45, 50, 9], Operations: ['72-63=9']
Exploring Operation: 50-9=41, Resulting Numbers: [45, 41]
Generated Node #0,2,2: 86:[45, 41] Operation: 50-9=41
Moving to Node #0,2,2
Current State: 86:[45, 41], Operations: ['72-63=9', '50-9=41']
Exploring Operation: 45+41=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451
|
hs_3
|
sum_heuristic
|
[
46,
7,
47,
15
] | 12
|
[
"46+47=93",
"7*15=105",
"105-93=12"
] |
Current State: 12:[46, 7, 47, 15], Operations: []
Exploring Operation: 46+47=93, Resulting Numbers: [7, 15, 93]
Generated Node #2: [7, 15, 93] from Operation: 46+47=93
Current State: 12:[7, 15, 93], Operations: ['46+47=93']
Exploring Operation: 7*15=105, Resulting Numbers: [93, 105]
Generated Node #3: [93, 105] from Operation: 7*15=105
Current State: 12:[93, 105], Operations: ['46+47=93', '7*15=105']
Exploring Operation: 105-93=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4
|
Current State: 12:[46, 7, 47, 15], Operations: []
Exploring Operation: 47-46=1, Resulting Numbers: [7, 15, 1]
Generated Node #0,0: 12:[7, 15, 1] Operation: 47-46=1
Exploring Operation: 46-15=31, Resulting Numbers: [7, 47, 31]
Generated Node #0,1: 12:[7, 47, 31] Operation: 46-15=31
Moving to Node #0,0
Current State: 12:[7, 15, 1], Operations: ['47-46=1']
Exploring Operation: 15-7=8, Resulting Numbers: [1, 8]
Generated Node #0,0,0: 12:[1, 8] Operation: 15-7=8
Exploring Operation: 7-1=6, Resulting Numbers: [15, 6]
Generated Node #0,0,1: 12:[15, 6] Operation: 7-1=6
Moving to Node #0,1
Current State: 12:[7, 47, 31], Operations: ['46-15=31']
Exploring Operation: 47-7=40, Resulting Numbers: [31, 40]
Generated Node #0,1,0: 12:[31, 40] Operation: 47-7=40
Exploring Operation: 47-31=16, Resulting Numbers: [7, 16]
Generated Node #0,1,1: 12:[7, 16] Operation: 47-31=16
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 12:[7, 16], Operations: ['46-15=31', '47-31=16']
Exploring Operation: 7+16=23, Resulting Numbers: [23]
23,12 unequal: No Solution
Exploring Operation: 16-7=9, Resulting Numbers: [9]
9,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 12:[31, 40], Operations: ['46-15=31', '47-7=40']
Exploring Operation: 40-31=9, Resulting Numbers: [9]
9,12 unequal: No Solution
Exploring Operation: 31+40=71, Resulting Numbers: [71]
71,12 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: 12:[1, 8], Operations: ['47-46=1', '15-7=8']
Exploring Operation: 8-1=7, Resulting Numbers: [7]
7,12 unequal: No Solution
Exploring Operation: 1*8=8, Resulting Numbers: [8]
8,12 unequal: No Solution
Moving to Node #0,0,1
Current State: 12:[15, 6], Operations: ['47-46=1', '7-1=6']
Exploring Operation: 15+6=21, Resulting Numbers: [21]
21,12 unequal: No Solution
Exploring Operation: 15-6=9, Resulting Numbers: [9]
9,12 unequal: No Solution
No solution found.
| 0
|
hs_2
|
mult_heuristic
|
[
17,
22,
2,
19
] | 22
|
[
"17+22=39",
"19-2=17",
"39-17=22"
] |
Current State: 22:[17, 22, 2, 19], Operations: []
Exploring Operation: 17+22=39, Resulting Numbers: [2, 19, 39]
Generated Node #2: [2, 19, 39] from Operation: 17+22=39
Current State: 22:[2, 19, 39], Operations: ['17+22=39']
Exploring Operation: 19-2=17, Resulting Numbers: [39, 17]
Generated Node #3: [39, 17] from Operation: 19-2=17
Current State: 22:[39, 17], Operations: ['17+22=39', '19-2=17']
Exploring Operation: 39-17=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4
|
Current State: 22:[17, 22, 2, 19], Operations: []
Exploring Operation: 19-17=2, Resulting Numbers: [22, 2, 2]
Generated Node #0,0: 22:[22, 2, 2] Operation: 19-17=2
Moving to Node #0,0
Current State: 22:[22, 2, 2], Operations: ['19-17=2']
Exploring Operation: 22/2=11, Resulting Numbers: [2, 11]
Generated Node #0,0,0: 22:[2, 11] Operation: 22/2=11
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 22:[2, 11], Operations: ['19-17=2', '22/2=11']
Exploring Operation: 2*11=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[17, 22, 2, 19], Operations: []
Exploring Operation: 19-17=2, Resulting Numbers: [22, 2, 2]
Generated Node #0,0: 22:[22, 2, 2] Operation: 19-17=2
Moving to Node #0,0
Current State: 22:[22, 2, 2], Operations: ['19-17=2']
Exploring Operation: 22/2=11, Resulting Numbers: [2, 11]
Generated Node #0,0,0: 22:[2, 11] Operation: 22/2=11
Moving to Node #0,0,0
Current State: 22:[2, 11], Operations: ['19-17=2', '22/2=11']
Exploring Operation: 2*11=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924
|
hs_1
|
mult_heuristic
|
[
27,
65,
81,
82
] | 14
|
[
"81/27=3",
"82-65=17",
"17-3=14"
] |
Current State: 14:[27, 65, 81, 82], Operations: []
Exploring Operation: 81/27=3, Resulting Numbers: [65, 82, 3]
Generated Node #2: [65, 82, 3] from Operation: 81/27=3
Current State: 14:[65, 82, 3], Operations: ['81/27=3']
Exploring Operation: 82-65=17, Resulting Numbers: [3, 17]
Generated Node #3: [3, 17] from Operation: 82-65=17
Current State: 14:[3, 17], Operations: ['81/27=3', '82-65=17']
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4
|
Current State: 14:[27, 65, 81, 82], Operations: []
Exploring Operation: 81-65=16, Resulting Numbers: [27, 82, 16]
Generated Node #0,0: 14:[27, 82, 16] Operation: 81-65=16
Exploring Operation: 82-65=17, Resulting Numbers: [27, 81, 17]
Generated Node #0,1: 14:[27, 81, 17] Operation: 82-65=17
Exploring Operation: 81/27=3, Resulting Numbers: [65, 82, 3]
Generated Node #0,2: 14:[65, 82, 3] Operation: 81/27=3
Exploring Operation: 82-81=1, Resulting Numbers: [27, 65, 1]
Generated Node #0,3: 14:[27, 65, 1] Operation: 82-81=1
Moving to Node #0,3
Current State: 14:[27, 65, 1], Operations: ['82-81=1']
Exploring Operation: 27*1=27, Resulting Numbers: [65, 27]
Generated Node #0,3,0: 14:[65, 27] Operation: 27*1=27
Exploring Operation: 27-1=26, Resulting Numbers: [65, 26]
Generated Node #0,3,1: 14:[65, 26] Operation: 27-1=26
Exploring Operation: 65-1=64, Resulting Numbers: [27, 64]
Generated Node #0,3,2: 14:[27, 64] Operation: 65-1=64
Exploring Operation: 65-27=38, Resulting Numbers: [1, 38]
Generated Node #0,3,3: 14:[1, 38] Operation: 65-27=38
Moving to Node #0,1
Current State: 14:[27, 81, 17], Operations: ['82-65=17']
Exploring Operation: 81/27=3, Resulting Numbers: [17, 3]
Generated Node #0,1,0: 14:[17, 3] Operation: 81/27=3
Exploring Operation: 27-17=10, Resulting Numbers: [81, 10]
Generated Node #0,1,1: 14:[81, 10] Operation: 27-17=10
Exploring Operation: 81-27=54, Resulting Numbers: [17, 54]
Generated Node #0,1,2: 14:[17, 54] Operation: 81-27=54
Exploring Operation: 81-17=64, Resulting Numbers: [27, 64]
Generated Node #0,1,3: 14:[27, 64] Operation: 81-17=64
Moving to Node #0,0
Current State: 14:[27, 82, 16], Operations: ['81-65=16']
Exploring Operation: 82-16=66, Resulting Numbers: [27, 66]
Generated Node #0,0,0: 14:[27, 66] Operation: 82-16=66
Exploring Operation: 27-16=11, Resulting Numbers: [82, 11]
Generated Node #0,0,1: 14:[82, 11] Operation: 27-16=11
Exploring Operation: 27+82=109, Resulting Numbers: [16, 109]
Generated Node #0,0,2: 14:[16, 109] Operation: 27+82=109
Exploring Operation: 82-27=55, Resulting Numbers: [16, 55]
Generated Node #0,0,3: 14:[16, 55] Operation: 82-27=55
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 14:[16, 55], Operations: ['81-65=16', '82-27=55']
Exploring Operation: 55-16=39, Resulting Numbers: [39]
39,14 unequal: No Solution
Exploring Operation: 16+55=71, Resulting Numbers: [71]
71,14 unequal: No Solution
Exploring Operation: 16*55=880, Resulting Numbers: [880]
880,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 14:[27, 66], Operations: ['81-65=16', '82-16=66']
Exploring Operation: 27+66=93, Resulting Numbers: [93]
93,14 unequal: No Solution
Exploring Operation: 66-27=39, Resulting Numbers: [39]
39,14 unequal: No Solution
Exploring Operation: 27*66=1782, Resulting Numbers: [1782]
1782,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 14:[82, 11], Operations: ['81-65=16', '27-16=11']
Exploring Operation: 82-11=71, Resulting Numbers: [71]
71,14 unequal: No Solution
Exploring Operation: 82*11=902, Resulting Numbers: [902]
902,14 unequal: No Solution
Exploring Operation: 82+11=93, Resulting Numbers: [93]
93,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 14:[16, 109], Operations: ['81-65=16', '27+82=109']
Exploring Operation: 109-16=93, Resulting Numbers: [93]
93,14 unequal: No Solution
Exploring Operation: 16+109=125, Resulting Numbers: [125]
125,14 unequal: No Solution
Exploring Operation: 16*109=1744, Resulting Numbers: [1744]
1744,14 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: 14:[65, 82, 3], Operations: ['81/27=3']
Exploring Operation: 82-3=79, Resulting Numbers: [65, 79]
Generated Node #0,2,0: 14:[65, 79] Operation: 82-3=79
Exploring Operation: 65+3=68, Resulting Numbers: [82, 68]
Generated Node #0,2,1: 14:[82, 68] Operation: 65+3=68
Exploring Operation: 82-65=17, Resulting Numbers: [3, 17]
Generated Node #0,2,2: 14:[3, 17] Operation: 82-65=17
Exploring Operation: 65-3=62, Resulting Numbers: [82, 62]
Generated Node #0,2,3: 14:[82, 62] Operation: 65-3=62
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 14:[3, 17], Operations: ['81/27=3', '82-65=17']
Exploring Operation: 3+17=20, Resulting Numbers: [20]
20,14 unequal: No Solution
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[27, 65, 81, 82], Operations: []
Exploring Operation: 81/27=3, Resulting Numbers: [65, 82, 3]
Generated Node #0,2: 14:[65, 82, 3] Operation: 81/27=3
Moving to Node #0,2
Current State: 14:[65, 82, 3], Operations: ['81/27=3']
Exploring Operation: 82-65=17, Resulting Numbers: [3, 17]
Generated Node #0,2,2: 14:[3, 17] Operation: 82-65=17
Moving to Node #0,2,2
Current State: 14:[3, 17], Operations: ['81/27=3', '82-65=17']
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 1
| 0.967014
|
hs_4
|
mult_heuristic
|
[
12,
64,
66,
72
] | 46
|
[
"64-12=52",
"72-66=6",
"52-6=46"
] |
Current State: 46:[12, 64, 66, 72], Operations: []
Exploring Operation: 64-12=52, Resulting Numbers: [66, 72, 52]
Generated Node #2: [66, 72, 52] from Operation: 64-12=52
Current State: 46:[66, 72, 52], Operations: ['64-12=52']
Exploring Operation: 72-66=6, Resulting Numbers: [52, 6]
Generated Node #3: [52, 6] from Operation: 72-66=6
Current State: 46:[52, 6], Operations: ['64-12=52', '72-66=6']
Exploring Operation: 52-6=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4
|
Current State: 46:[12, 64, 66, 72], Operations: []
Exploring Operation: 72-66=6, Resulting Numbers: [12, 64, 6]
Generated Node #0,0: 46:[12, 64, 6] Operation: 72-66=6
Exploring Operation: 72-64=8, Resulting Numbers: [12, 66, 8]
Generated Node #0,1: 46:[12, 66, 8] Operation: 72-64=8
Exploring Operation: 66-64=2, Resulting Numbers: [12, 72, 2]
Generated Node #0,2: 46:[12, 72, 2] Operation: 66-64=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 46:[12, 64, 6], Operations: ['72-66=6']
Exploring Operation: 12-6=6, Resulting Numbers: [64, 6]
Generated Node #0,0,0: 46:[64, 6] Operation: 12-6=6
Exploring Operation: 64-12=52, Resulting Numbers: [6, 52]
Generated Node #0,0,1: 46:[6, 52] Operation: 64-12=52
Exploring Operation: 12/6=2, Resulting Numbers: [64, 2]
Generated Node #0,0,2: 46:[64, 2] Operation: 12/6=2
Moving to Node #0,0,1
Current State: 46:[6, 52], Operations: ['72-66=6', '64-12=52']
Exploring Operation: 6+52=58, Resulting Numbers: [58]
58,46 unequal: No Solution
Exploring Operation: 6*52=312, Resulting Numbers: [312]
312,46 unequal: No Solution
Exploring Operation: 52-6=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[12, 64, 66, 72], Operations: []
Exploring Operation: 72-66=6, Resulting Numbers: [12, 64, 6]
Generated Node #0,0: 46:[12, 64, 6] Operation: 72-66=6
Moving to Node #0,0
Current State: 46:[12, 64, 6], Operations: ['72-66=6']
Exploring Operation: 64-12=52, Resulting Numbers: [6, 52]
Generated Node #0,0,1: 46:[6, 52] Operation: 64-12=52
Moving to Node #0,0,1
Current State: 46:[6, 52], Operations: ['72-66=6', '64-12=52']
Exploring Operation: 52-6=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715
|
hs_3
|
mult_heuristic
|
[
69,
2,
48,
80
] | 39
|
[
"69+2=71",
"80-48=32",
"71-32=39"
] |
Current State: 39:[69, 2, 48, 80], Operations: []
Exploring Operation: 69+2=71, Resulting Numbers: [48, 80, 71]
Generated Node #2: [48, 80, 71] from Operation: 69+2=71
Current State: 39:[48, 80, 71], Operations: ['69+2=71']
Exploring Operation: 80-48=32, Resulting Numbers: [71, 32]
Generated Node #3: [71, 32] from Operation: 80-48=32
Current State: 39:[71, 32], Operations: ['69+2=71', '80-48=32']
Exploring Operation: 71-32=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4
|
Current State: 39:[69, 2, 48, 80], Operations: []
Exploring Operation: 80/2=40, Resulting Numbers: [69, 48, 40]
Generated Node #0,0: 39:[69, 48, 40] Operation: 80/2=40
Exploring Operation: 80-69=11, Resulting Numbers: [2, 48, 11]
Generated Node #0,1: 39:[2, 48, 11] Operation: 80-69=11
Exploring Operation: 80-48=32, Resulting Numbers: [69, 2, 32]
Generated Node #0,2: 39:[69, 2, 32] Operation: 80-48=32
Moving to Node #0,1
Current State: 39:[2, 48, 11], Operations: ['80-69=11']
Exploring Operation: 2+11=13, Resulting Numbers: [48, 13]
Generated Node #0,1,0: 39:[48, 13] Operation: 2+11=13
Exploring Operation: 48-2=46, Resulting Numbers: [11, 46]
Generated Node #0,1,1: 39:[11, 46] Operation: 48-2=46
Exploring Operation: 48-11=37, Resulting Numbers: [2, 37]
Generated Node #0,1,2: 39:[2, 37] Operation: 48-11=37
Moving to Node #0,2
Current State: 39:[69, 2, 32], Operations: ['80-48=32']
Exploring Operation: 69-32=37, Resulting Numbers: [2, 37]
Generated Node #0,2,0: 39:[2, 37] Operation: 69-32=37
Exploring Operation: 69-2=67, Resulting Numbers: [32, 67]
Generated Node #0,2,1: 39:[32, 67] Operation: 69-2=67
Exploring Operation: 32/2=16, Resulting Numbers: [69, 16]
Generated Node #0,2,2: 39:[69, 16] Operation: 32/2=16
Moving to Node #0,0
Current State: 39:[69, 48, 40], Operations: ['80/2=40']
Exploring Operation: 48-40=8, Resulting Numbers: [69, 8]
Generated Node #0,0,0: 39:[69, 8] Operation: 48-40=8
Exploring Operation: 69-48=21, Resulting Numbers: [40, 21]
Generated Node #0,0,1: 39:[40, 21] Operation: 69-48=21
Exploring Operation: 69-40=29, Resulting Numbers: [48, 29]
Generated Node #0,0,2: 39:[48, 29] Operation: 69-40=29
Moving to Node #0,1,2
Current State: 39:[2, 37], Operations: ['80-69=11', '48-11=37']
Exploring Operation: 2*37=74, Resulting Numbers: [74]
74,39 unequal: No Solution
Exploring Operation: 2+37=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[69, 2, 48, 80], Operations: []
Exploring Operation: 80-69=11, Resulting Numbers: [2, 48, 11]
Generated Node #0,1: 39:[2, 48, 11] Operation: 80-69=11
Moving to Node #0,1
Current State: 39:[2, 48, 11], Operations: ['80-69=11']
Exploring Operation: 48-11=37, Resulting Numbers: [2, 37]
Generated Node #0,1,2: 39:[2, 37] Operation: 48-11=37
Moving to Node #0,1,2
Current State: 39:[2, 37], Operations: ['80-69=11', '48-11=37']
Exploring Operation: 2+37=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 0.984375
|
hs_3
|
mult_heuristic
|
[
31,
71,
31,
51
] | 20
|
[
"31+71=102",
"31+51=82",
"102-82=20"
] |
Current State: 20:[31, 71, 31, 51], Operations: []
Exploring Operation: 31+71=102, Resulting Numbers: [51, 102]
Generated Node #2: [51, 102] from Operation: 31+71=102
Current State: 20:[51, 102], Operations: ['31+71=102']
Exploring Operation: 31+51=82, Resulting Numbers: [102, 82]
Generated Node #3: [102, 82] from Operation: 31+51=82
Current State: 20:[102, 82], Operations: ['31+71=102', '31+51=82']
Exploring Operation: 102-82=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4
|
Current State: 20:[31, 71, 31, 51], Operations: []
Exploring Operation: 71-51=20, Resulting Numbers: [31, 31, 20]
Generated Node #0,0: 20:[31, 31, 20] Operation: 71-51=20
Exploring Operation: 51-31=20, Resulting Numbers: [71, 31, 20]
Generated Node #0,1: 20:[71, 31, 20] Operation: 51-31=20
Exploring Operation: 71-31=40, Resulting Numbers: [31, 51, 40]
Generated Node #0,2: 20:[31, 51, 40] Operation: 71-31=40
Moving to Node #0,0
Current State: 20:[31, 31, 20], Operations: ['71-51=20']
Exploring Operation: 31-20=11, Resulting Numbers: [31, 11]
Generated Node #0,0,0: 20:[31, 11] Operation: 31-20=11
Exploring Operation: 31-31=0, Resulting Numbers: [20, 0]
Generated Node #0,0,1: 20:[20, 0] Operation: 31-31=0
Exploring Operation: 31/31=1, Resulting Numbers: [20, 1]
Generated Node #0,0,2: 20:[20, 1] Operation: 31/31=1
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 20:[20, 1], Operations: ['71-51=20', '31/31=1']
Exploring Operation: 20+1=21, Resulting Numbers: [21]
21,20 unequal: No Solution
Exploring Operation: 20*1=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[31, 71, 31, 51], Operations: []
Exploring Operation: 71-51=20, Resulting Numbers: [31, 31, 20]
Generated Node #0,0: 20:[31, 31, 20] Operation: 71-51=20
Moving to Node #0,0
Current State: 20:[31, 31, 20], Operations: ['71-51=20']
Exploring Operation: 31/31=1, Resulting Numbers: [20, 1]
Generated Node #0,0,2: 20:[20, 1] Operation: 31/31=1
Moving to Node #0,0,2
Current State: 20:[20, 1], Operations: ['71-51=20', '31/31=1']
Exploring Operation: 20*1=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583
|
hs_3
|
mult_heuristic
|
[
15,
46,
10,
6
] | 90
|
[
"46-10=36",
"15*36=540",
"540/6=90"
] |
Current State: 90:[15, 46, 10, 6], Operations: []
Exploring Operation: 46-10=36, Resulting Numbers: [15, 6, 36]
Generated Node #2: [15, 6, 36] from Operation: 46-10=36
Current State: 90:[15, 6, 36], Operations: ['46-10=36']
Exploring Operation: 15*36=540, Resulting Numbers: [6, 540]
Generated Node #3: [6, 540] from Operation: 15*36=540
Current State: 90:[6, 540], Operations: ['46-10=36', '15*36=540']
Exploring Operation: 540/6=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4
|
Current State: 90:[15, 46, 10, 6], Operations: []
Exploring Operation: 15-10=5, Resulting Numbers: [46, 6, 5]
Generated Node #0,0: 90:[46, 6, 5] Operation: 15-10=5
Exploring Operation: 15*6=90, Resulting Numbers: [46, 10, 90]
Generated Node #0,1: 90:[46, 10, 90] Operation: 15*6=90
Exploring Operation: 46-15=31, Resulting Numbers: [10, 6, 31]
Generated Node #0,2: 90:[10, 6, 31] Operation: 46-15=31
Exploring Operation: 10+6=16, Resulting Numbers: [15, 46, 16]
Generated Node #0,3: 90:[15, 46, 16] Operation: 10+6=16
Exploring Operation: 15-6=9, Resulting Numbers: [46, 10, 9]
Generated Node #0,4: 90:[46, 10, 9] Operation: 15-6=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[46, 6, 5], Operations: ['15-10=5']
Exploring Operation: 46-5=41, Resulting Numbers: [6, 41]
Generated Node #0,0,0: 90:[6, 41] Operation: 46-5=41
Exploring Operation: 6-5=1, Resulting Numbers: [46, 1]
Generated Node #0,0,1: 90:[46, 1] Operation: 6-5=1
Exploring Operation: 46-6=40, Resulting Numbers: [5, 40]
Generated Node #0,0,2: 90:[5, 40] Operation: 46-6=40
Exploring Operation: 6*5=30, Resulting Numbers: [46, 30]
Generated Node #0,0,3: 90:[46, 30] Operation: 6*5=30
Exploring Operation: 6+5=11, Resulting Numbers: [46, 11]
Generated Node #0,0,4: 90:[46, 11] Operation: 6+5=11
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 90:[46, 30], Operations: ['15-10=5', '6*5=30']
Exploring Operation: 46-30=16, Resulting Numbers: [16]
16,90 unequal: No Solution
Exploring Operation: 46+30=76, Resulting Numbers: [76]
76,90 unequal: No Solution
Exploring Operation: 46*30=1380, Resulting Numbers: [1380]
1380,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 90:[46, 1], Operations: ['15-10=5', '6-5=1']
Exploring Operation: 46-1=45, Resulting Numbers: [45]
45,90 unequal: No Solution
Exploring Operation: 46*1=46, Resulting Numbers: [46]
46,90 unequal: No Solution
Exploring Operation: 46+1=47, Resulting Numbers: [47]
47,90 unequal: No Solution
Exploring Operation: 46/1=46, Resulting Numbers: [46]
46,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 90:[46, 11], Operations: ['15-10=5', '6+5=11']
Exploring Operation: 46-11=35, Resulting Numbers: [35]
35,90 unequal: No Solution
Exploring Operation: 46*11=506, Resulting Numbers: [506]
506,90 unequal: No Solution
Exploring Operation: 46+11=57, Resulting Numbers: [57]
57,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 90:[6, 41], Operations: ['15-10=5', '46-5=41']
Exploring Operation: 41-6=35, Resulting Numbers: [35]
35,90 unequal: No Solution
Exploring Operation: 6*41=246, Resulting Numbers: [246]
246,90 unequal: No Solution
Exploring Operation: 6+41=47, Resulting Numbers: [47]
47,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 90:[5, 40], Operations: ['15-10=5', '46-6=40']
Exploring Operation: 5+40=45, Resulting Numbers: [45]
45,90 unequal: No Solution
Exploring Operation: 40/5=8, Resulting Numbers: [8]
8,90 unequal: No Solution
Exploring Operation: 5*40=200, Resulting Numbers: [200]
200,90 unequal: No Solution
Exploring Operation: 40-5=35, Resulting Numbers: [35]
35,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 90:[46, 10, 90], Operations: ['15*6=90']
Exploring Operation: 46-10=36, Resulting Numbers: [90, 36]
Generated Node #0,1,0: 90:[90, 36] Operation: 46-10=36
Exploring Operation: 46+10=56, Resulting Numbers: [90, 56]
Generated Node #0,1,1: 90:[90, 56] Operation: 46+10=56
Exploring Operation: 90-46=44, Resulting Numbers: [10, 44]
Generated Node #0,1,2: 90:[10, 44] Operation: 90-46=44
Exploring Operation: 10+90=100, Resulting Numbers: [46, 100]
Generated Node #0,1,3: 90:[46, 100] Operation: 10+90=100
Exploring Operation: 90/10=9, Resulting Numbers: [46, 9]
Generated Node #0,1,4: 90:[46, 9] Operation: 90/10=9
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 90:[10, 44], Operations: ['15*6=90', '90-46=44']
Exploring Operation: 44-10=34, Resulting Numbers: [34]
34,90 unequal: No Solution
Exploring Operation: 10+44=54, Resulting Numbers: [54]
54,90 unequal: No Solution
Exploring Operation: 10*44=440, Resulting Numbers: [440]
440,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 90:[46, 9], Operations: ['15*6=90', '90/10=9']
Exploring Operation: 46-9=37, Resulting Numbers: [37]
37,90 unequal: No Solution
Exploring Operation: 46*9=414, Resulting Numbers: [414]
414,90 unequal: No Solution
Exploring Operation: 46+9=55, Resulting Numbers: [55]
55,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 90:[90, 36], Operations: ['15*6=90', '46-10=36']
Exploring Operation: 90*36=3240, Resulting Numbers: [3240]
3240,90 unequal: No Solution
Exploring Operation: 90+36=126, Resulting Numbers: [126]
126,90 unequal: No Solution
Exploring Operation: 90-36=54, Resulting Numbers: [54]
54,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 90:[90, 56], Operations: ['15*6=90', '46+10=56']
Exploring Operation: 90+56=146, Resulting Numbers: [146]
146,90 unequal: No Solution
Exploring Operation: 90-56=34, Resulting Numbers: [34]
34,90 unequal: No Solution
Exploring Operation: 90*56=5040, Resulting Numbers: [5040]
5040,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 90:[46, 100], Operations: ['15*6=90', '10+90=100']
Exploring Operation: 46*100=4600, Resulting Numbers: [4600]
4600,90 unequal: No Solution
Exploring Operation: 46+100=146, Resulting Numbers: [146]
146,90 unequal: No Solution
Exploring Operation: 100-46=54, Resulting Numbers: [54]
54,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 90:[10, 6, 31], Operations: ['46-15=31']
Exploring Operation: 31-6=25, Resulting Numbers: [10, 25]
Generated Node #0,2,0: 90:[10, 25] Operation: 31-6=25
Exploring Operation: 31-10=21, Resulting Numbers: [6, 21]
Generated Node #0,2,1: 90:[6, 21] Operation: 31-10=21
Exploring Operation: 10-6=4, Resulting Numbers: [31, 4]
Generated Node #0,2,2: 90:[31, 4] Operation: 10-6=4
Exploring Operation: 10+6=16, Resulting Numbers: [31, 16]
Generated Node #0,2,3: 90:[31, 16] Operation: 10+6=16
Exploring Operation: 10+31=41, Resulting Numbers: [6, 41]
Generated Node #0,2,4: 90:[6, 41] Operation: 10+31=41
Moving to Node #0,2,2
Current State: 90:[31, 4], Operations: ['46-15=31', '10-6=4']
Exploring Operation: 31*4=124, Resulting Numbers: [124]
124,90 unequal: No Solution
Exploring Operation: 31-4=27, Resulting Numbers: [27]
27,90 unequal: No Solution
Exploring Operation: 31+4=35, Resulting Numbers: [35]
35,90 unequal: No Solution
Moving to Node #0,2,3
Current State: 90:[31, 16], Operations: ['46-15=31', '10+6=16']
Exploring Operation: 31+16=47, Resulting Numbers: [47]
47,90 unequal: No Solution
Exploring Operation: 31-16=15, Resulting Numbers: [15]
15,90 unequal: No Solution
Exploring Operation: 31*16=496, Resulting Numbers: [496]
496,90 unequal: No Solution
Moving to Node #0,2,1
Current State: 90:[6, 21], Operations: ['46-15=31', '31-10=21']
Exploring Operation: 6*21=126, Resulting Numbers: [126]
126,90 unequal: No Solution
Exploring Operation: 21-6=15, Resulting Numbers: [15]
15,90 unequal: No Solution
Exploring Operation: 6+21=27, Resulting Numbers: [27]
27,90 unequal: No Solution
Moving to Node #0,2,4
Current State: 90:[6, 41], Operations: ['46-15=31', '10+31=41']
Exploring Operation: 6+41=47, Resulting Numbers: [47]
47,90 unequal: No Solution
Exploring Operation: 6*41=246, Resulting Numbers: [246]
246,90 unequal: No Solution
Exploring Operation: 41-6=35, Resulting Numbers: [35]
35,90 unequal: No Solution
Moving to Node #0,2,0
Current State: 90:[10, 25], Operations: ['46-15=31', '31-6=25']
Exploring Operation: 25-10=15, Resulting Numbers: [15]
15,90 unequal: No Solution
Exploring Operation: 10+25=35, Resulting Numbers: [35]
35,90 unequal: No Solution
Exploring Operation: 10*25=250, Resulting Numbers: [250]
250,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 90:[46, 10, 9], Operations: ['15-6=9']
Exploring Operation: 10+9=19, Resulting Numbers: [46, 19]
Generated Node #0,4,0: 90:[46, 19] Operation: 10+9=19
Exploring Operation: 46-9=37, Resulting Numbers: [10, 37]
Generated Node #0,4,1: 90:[10, 37] Operation: 46-9=37
Exploring Operation: 46-10=36, Resulting Numbers: [9, 36]
Generated Node #0,4,2: 90:[9, 36] Operation: 46-10=36
Exploring Operation: 10*9=90, Resulting Numbers: [46, 90]
Generated Node #0,4,3: 90:[46, 90] Operation: 10*9=90
Exploring Operation: 10-9=1, Resulting Numbers: [46, 1]
Generated Node #0,4,4: 90:[46, 1] Operation: 10-9=1
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 90:[46, 90], Operations: ['15-6=9', '10*9=90']
Exploring Operation: 46+90=136, Resulting Numbers: [136]
136,90 unequal: No Solution
Exploring Operation: 46*90=4140, Resulting Numbers: [4140]
4140,90 unequal: No Solution
Exploring Operation: 90-46=44, Resulting Numbers: [44]
44,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 90:[46, 19], Operations: ['15-6=9', '10+9=19']
Exploring Operation: 46-19=27, Resulting Numbers: [27]
27,90 unequal: No Solution
Exploring Operation: 46+19=65, Resulting Numbers: [65]
65,90 unequal: No Solution
Exploring Operation: 46*19=874, Resulting Numbers: [874]
874,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 90:[46, 1], Operations: ['15-6=9', '10-9=1']
Exploring Operation: 46/1=46, Resulting Numbers: [46]
46,90 unequal: No Solution
Exploring Operation: 46+1=47, Resulting Numbers: [47]
47,90 unequal: No Solution
Exploring Operation: 46*1=46, Resulting Numbers: [46]
46,90 unequal: No Solution
Exploring Operation: 46-1=45, Resulting Numbers: [45]
45,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 90:[9, 36], Operations: ['15-6=9', '46-10=36']
Exploring Operation: 36/9=4, Resulting Numbers: [4]
4,90 unequal: No Solution
Exploring Operation: 9+36=45, Resulting Numbers: [45]
45,90 unequal: No Solution
Exploring Operation: 36-9=27, Resulting Numbers: [27]
27,90 unequal: No Solution
Exploring Operation: 9*36=324, Resulting Numbers: [324]
324,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 90:[10, 37], Operations: ['15-6=9', '46-9=37']
Exploring Operation: 10*37=370, Resulting Numbers: [370]
370,90 unequal: No Solution
Exploring Operation: 10+37=47, Resulting Numbers: [47]
47,90 unequal: No Solution
Exploring Operation: 37-10=27, Resulting Numbers: [27]
27,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 90:[15, 46, 16], Operations: ['10+6=16']
Exploring Operation: 16-15=1, Resulting Numbers: [46, 1]
Generated Node #0,3,0: 90:[46, 1] Operation: 16-15=1
Exploring Operation: 15+46=61, Resulting Numbers: [16, 61]
Generated Node #0,3,1: 90:[16, 61] Operation: 15+46=61
Exploring Operation: 46-16=30, Resulting Numbers: [15, 30]
Generated Node #0,3,2: 90:[15, 30] Operation: 46-16=30
Exploring Operation: 15+16=31, Resulting Numbers: [46, 31]
Generated Node #0,3,3: 90:[46, 31] Operation: 15+16=31
Exploring Operation: 46-15=31, Resulting Numbers: [16, 31]
Generated Node #0,3,4: 90:[16, 31] Operation: 46-15=31
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 90:[15, 30], Operations: ['10+6=16', '46-16=30']
Exploring Operation: 30-15=15, Resulting Numbers: [15]
15,90 unequal: No Solution
Exploring Operation: 15*30=450, Resulting Numbers: [450]
450,90 unequal: No Solution
Exploring Operation: 30/15=2, Resulting Numbers: [2]
2,90 unequal: No Solution
Exploring Operation: 15+30=45, Resulting Numbers: [45]
45,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 90:[46, 1], Operations: ['10+6=16', '16-15=1']
Exploring Operation: 46*1=46, Resulting Numbers: [46]
46,90 unequal: No Solution
Exploring Operation: 46/1=46, Resulting Numbers: [46]
46,90 unequal: No Solution
Exploring Operation: 46+1=47, Resulting Numbers: [47]
47,90 unequal: No Solution
Exploring Operation: 46-1=45, Resulting Numbers: [45]
45,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 90:[46, 31], Operations: ['10+6=16', '15+16=31']
Exploring Operation: 46*31=1426, Resulting Numbers: [1426]
1426,90 unequal: No Solution
Exploring Operation: 46+31=77, Resulting Numbers: [77]
77,90 unequal: No Solution
Exploring Operation: 46-31=15, Resulting Numbers: [15]
15,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 90:[16, 31], Operations: ['10+6=16', '46-15=31']
Exploring Operation: 16+31=47, Resulting Numbers: [47]
47,90 unequal: No Solution
Exploring Operation: 31-16=15, Resulting Numbers: [15]
15,90 unequal: No Solution
Exploring Operation: 16*31=496, Resulting Numbers: [496]
496,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 90:[16, 61], Operations: ['10+6=16', '15+46=61']
Exploring Operation: 16+61=77, Resulting Numbers: [77]
77,90 unequal: No Solution
Exploring Operation: 16*61=976, Resulting Numbers: [976]
976,90 unequal: No Solution
Exploring Operation: 61-16=45, Resulting Numbers: [45]
45,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_5
|
sum_heuristic
|
[
47,
27,
57,
50
] | 46
|
[
"50-47=3",
"57/3=19",
"27+19=46"
] |
Current State: 46:[47, 27, 57, 50], Operations: []
Exploring Operation: 50-47=3, Resulting Numbers: [27, 57, 3]
Generated Node #2: [27, 57, 3] from Operation: 50-47=3
Current State: 46:[27, 57, 3], Operations: ['50-47=3']
Exploring Operation: 57/3=19, Resulting Numbers: [27, 19]
Generated Node #3: [27, 19] from Operation: 57/3=19
Current State: 46:[27, 19], Operations: ['50-47=3', '57/3=19']
Exploring Operation: 27+19=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4
|
Current State: 46:[47, 27, 57, 50], Operations: []
Exploring Operation: 57-27=30, Resulting Numbers: [47, 50, 30]
Generated Node #0,0: 46:[47, 50, 30] Operation: 57-27=30
Exploring Operation: 57-50=7, Resulting Numbers: [47, 27, 7]
Generated Node #0,1: 46:[47, 27, 7] Operation: 57-50=7
Start Sub Search at level 1: Moving to Node #0,1
Current State: 46:[47, 27, 7], Operations: ['57-50=7']
Exploring Operation: 27-7=20, Resulting Numbers: [47, 20]
Generated Node #0,1,0: 46:[47, 20] Operation: 27-7=20
Exploring Operation: 47-27=20, Resulting Numbers: [7, 20]
Generated Node #0,1,1: 46:[7, 20] Operation: 47-27=20
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 46:[47, 20], Operations: ['57-50=7', '27-7=20']
Exploring Operation: 47+20=67, Resulting Numbers: [67]
67,46 unequal: No Solution
Exploring Operation: 47-20=27, Resulting Numbers: [27]
27,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 46:[7, 20], Operations: ['57-50=7', '47-27=20']
Exploring Operation: 7+20=27, Resulting Numbers: [27]
27,46 unequal: No Solution
Exploring Operation: 20-7=13, Resulting Numbers: [13]
13,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 46:[47, 50, 30], Operations: ['57-27=30']
Exploring Operation: 50-47=3, Resulting Numbers: [30, 3]
Generated Node #0,0,0: 46:[30, 3] Operation: 50-47=3
Exploring Operation: 50-30=20, Resulting Numbers: [47, 20]
Generated Node #0,0,1: 46:[47, 20] Operation: 50-30=20
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 46:[47, 20], Operations: ['57-27=30', '50-30=20']
Exploring Operation: 47+20=67, Resulting Numbers: [67]
67,46 unequal: No Solution
Exploring Operation: 47-20=27, Resulting Numbers: [27]
27,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 46:[30, 3], Operations: ['57-27=30', '50-47=3']
Exploring Operation: 30-3=27, Resulting Numbers: [27]
27,46 unequal: No Solution
Exploring Operation: 30/3=10, Resulting Numbers: [10]
10,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_2
|
sum_heuristic
|
[
4,
35,
6,
67
] | 51
|
[
"6-4=2",
"35+67=102",
"102/2=51"
] |
Current State: 51:[4, 35, 6, 67], Operations: []
Exploring Operation: 6-4=2, Resulting Numbers: [35, 67, 2]
Generated Node #2: [35, 67, 2] from Operation: 6-4=2
Current State: 51:[35, 67, 2], Operations: ['6-4=2']
Exploring Operation: 35+67=102, Resulting Numbers: [2, 102]
Generated Node #3: [2, 102] from Operation: 35+67=102
Current State: 51:[2, 102], Operations: ['6-4=2', '35+67=102']
Exploring Operation: 102/2=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4
|
Current State: 51:[4, 35, 6, 67], Operations: []
Exploring Operation: 35-6=29, Resulting Numbers: [4, 67, 29]
Generated Node #0,0: 51:[4, 67, 29] Operation: 35-6=29
Exploring Operation: 4+35=39, Resulting Numbers: [6, 67, 39]
Generated Node #0,1: 51:[6, 67, 39] Operation: 4+35=39
Exploring Operation: 35+6=41, Resulting Numbers: [4, 67, 41]
Generated Node #0,2: 51:[4, 67, 41] Operation: 35+6=41
Exploring Operation: 67-35=32, Resulting Numbers: [4, 6, 32]
Generated Node #0,3: 51:[4, 6, 32] Operation: 67-35=32
Exploring Operation: 67-6=61, Resulting Numbers: [4, 35, 61]
Generated Node #0,4: 51:[4, 35, 61] Operation: 67-6=61
Start Sub Search at level 1: Moving to Node #0,3
Current State: 51:[4, 6, 32], Operations: ['67-35=32']
Exploring Operation: 32/4=8, Resulting Numbers: [6, 8]
Generated Node #0,3,0: 51:[6, 8] Operation: 32/4=8
Exploring Operation: 32-6=26, Resulting Numbers: [4, 26]
Generated Node #0,3,1: 51:[4, 26] Operation: 32-6=26
Exploring Operation: 32-4=28, Resulting Numbers: [6, 28]
Generated Node #0,3,2: 51:[6, 28] Operation: 32-4=28
Exploring Operation: 6+32=38, Resulting Numbers: [4, 38]
Generated Node #0,3,3: 51:[4, 38] Operation: 6+32=38
Exploring Operation: 6-4=2, Resulting Numbers: [32, 2]
Generated Node #0,3,4: 51:[32, 2] Operation: 6-4=2
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 51:[6, 8], Operations: ['67-35=32', '32/4=8']
Exploring Operation: 6+8=14, Resulting Numbers: [14]
14,51 unequal: No Solution
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,51 unequal: No Solution
Exploring Operation: 6*8=48, Resulting Numbers: [48]
48,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 51:[4, 26], Operations: ['67-35=32', '32-6=26']
Exploring Operation: 4*26=104, Resulting Numbers: [104]
104,51 unequal: No Solution
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,51 unequal: No Solution
Exploring Operation: 4+26=30, Resulting Numbers: [30]
30,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 51:[6, 28], Operations: ['67-35=32', '32-4=28']
Exploring Operation: 6*28=168, Resulting Numbers: [168]
168,51 unequal: No Solution
Exploring Operation: 6+28=34, Resulting Numbers: [34]
34,51 unequal: No Solution
Exploring Operation: 28-6=22, Resulting Numbers: [22]
22,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 51:[4, 38], Operations: ['67-35=32', '6+32=38']
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,51 unequal: No Solution
Exploring Operation: 4+38=42, Resulting Numbers: [42]
42,51 unequal: No Solution
Exploring Operation: 4*38=152, Resulting Numbers: [152]
152,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 51:[32, 2], Operations: ['67-35=32', '6-4=2']
Exploring Operation: 32+2=34, Resulting Numbers: [34]
34,51 unequal: No Solution
Exploring Operation: 32*2=64, Resulting Numbers: [64]
64,51 unequal: No Solution
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,51 unequal: No Solution
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 51:[4, 67, 41], Operations: ['35+6=41']
Exploring Operation: 67-41=26, Resulting Numbers: [4, 26]
Generated Node #0,2,0: 51:[4, 26] Operation: 67-41=26
Exploring Operation: 41-4=37, Resulting Numbers: [67, 37]
Generated Node #0,2,1: 51:[67, 37] Operation: 41-4=37
Exploring Operation: 4+67=71, Resulting Numbers: [41, 71]
Generated Node #0,2,2: 51:[41, 71] Operation: 4+67=71
Exploring Operation: 67-4=63, Resulting Numbers: [41, 63]
Generated Node #0,2,3: 51:[41, 63] Operation: 67-4=63
Exploring Operation: 4+41=45, Resulting Numbers: [67, 45]
Generated Node #0,2,4: 51:[67, 45] Operation: 4+41=45
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 51:[4, 26], Operations: ['35+6=41', '67-41=26']
Exploring Operation: 4*26=104, Resulting Numbers: [104]
104,51 unequal: No Solution
Exploring Operation: 4+26=30, Resulting Numbers: [30]
30,51 unequal: No Solution
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 51:[41, 63], Operations: ['35+6=41', '67-4=63']
Exploring Operation: 63-41=22, Resulting Numbers: [22]
22,51 unequal: No Solution
Exploring Operation: 41*63=2583, Resulting Numbers: [2583]
2583,51 unequal: No Solution
Exploring Operation: 41+63=104, Resulting Numbers: [104]
104,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 51:[67, 45], Operations: ['35+6=41', '4+41=45']
Exploring Operation: 67+45=112, Resulting Numbers: [112]
112,51 unequal: No Solution
Exploring Operation: 67*45=3015, Resulting Numbers: [3015]
3015,51 unequal: No Solution
Exploring Operation: 67-45=22, Resulting Numbers: [22]
22,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 51:[67, 37], Operations: ['35+6=41', '41-4=37']
Exploring Operation: 67*37=2479, Resulting Numbers: [2479]
2479,51 unequal: No Solution
Exploring Operation: 67+37=104, Resulting Numbers: [104]
104,51 unequal: No Solution
Exploring Operation: 67-37=30, Resulting Numbers: [30]
30,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 51:[41, 71], Operations: ['35+6=41', '4+67=71']
Exploring Operation: 71-41=30, Resulting Numbers: [30]
30,51 unequal: No Solution
Exploring Operation: 41*71=2911, Resulting Numbers: [2911]
2911,51 unequal: No Solution
Exploring Operation: 41+71=112, Resulting Numbers: [112]
112,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 51:[4, 35, 61], Operations: ['67-6=61']
Exploring Operation: 61-35=26, Resulting Numbers: [4, 26]
Generated Node #0,4,0: 51:[4, 26] Operation: 61-35=26
Exploring Operation: 61-4=57, Resulting Numbers: [35, 57]
Generated Node #0,4,1: 51:[35, 57] Operation: 61-4=57
Exploring Operation: 4+61=65, Resulting Numbers: [35, 65]
Generated Node #0,4,2: 51:[35, 65] Operation: 4+61=65
Exploring Operation: 4+35=39, Resulting Numbers: [61, 39]
Generated Node #0,4,3: 51:[61, 39] Operation: 4+35=39
Exploring Operation: 35-4=31, Resulting Numbers: [61, 31]
Generated Node #0,4,4: 51:[61, 31] Operation: 35-4=31
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 51:[4, 26], Operations: ['67-6=61', '61-35=26']
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,51 unequal: No Solution
Exploring Operation: 4*26=104, Resulting Numbers: [104]
104,51 unequal: No Solution
Exploring Operation: 4+26=30, Resulting Numbers: [30]
30,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 51:[35, 57], Operations: ['67-6=61', '61-4=57']
Exploring Operation: 35+57=92, Resulting Numbers: [92]
92,51 unequal: No Solution
Exploring Operation: 35*57=1995, Resulting Numbers: [1995]
1995,51 unequal: No Solution
Exploring Operation: 57-35=22, Resulting Numbers: [22]
22,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 51:[61, 39], Operations: ['67-6=61', '4+35=39']
Exploring Operation: 61+39=100, Resulting Numbers: [100]
100,51 unequal: No Solution
Exploring Operation: 61*39=2379, Resulting Numbers: [2379]
2379,51 unequal: No Solution
Exploring Operation: 61-39=22, Resulting Numbers: [22]
22,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 51:[61, 31], Operations: ['67-6=61', '35-4=31']
Exploring Operation: 61-31=30, Resulting Numbers: [30]
30,51 unequal: No Solution
Exploring Operation: 61+31=92, Resulting Numbers: [92]
92,51 unequal: No Solution
Exploring Operation: 61*31=1891, Resulting Numbers: [1891]
1891,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 51:[35, 65], Operations: ['67-6=61', '4+61=65']
Exploring Operation: 35*65=2275, Resulting Numbers: [2275]
2275,51 unequal: No Solution
Exploring Operation: 35+65=100, Resulting Numbers: [100]
100,51 unequal: No Solution
Exploring Operation: 65-35=30, Resulting Numbers: [30]
30,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[4, 67, 29], Operations: ['35-6=29']
Exploring Operation: 29-4=25, Resulting Numbers: [67, 25]
Generated Node #0,0,0: 51:[67, 25] Operation: 29-4=25
Exploring Operation: 67-4=63, Resulting Numbers: [29, 63]
Generated Node #0,0,1: 51:[29, 63] Operation: 67-4=63
Exploring Operation: 4+29=33, Resulting Numbers: [67, 33]
Generated Node #0,0,2: 51:[67, 33] Operation: 4+29=33
Exploring Operation: 4+67=71, Resulting Numbers: [29, 71]
Generated Node #0,0,3: 51:[29, 71] Operation: 4+67=71
Exploring Operation: 67-29=38, Resulting Numbers: [4, 38]
Generated Node #0,0,4: 51:[4, 38] Operation: 67-29=38
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 51:[4, 38], Operations: ['35-6=29', '67-29=38']
Exploring Operation: 4*38=152, Resulting Numbers: [152]
152,51 unequal: No Solution
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,51 unequal: No Solution
Exploring Operation: 4+38=42, Resulting Numbers: [42]
42,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 51:[67, 25], Operations: ['35-6=29', '29-4=25']
Exploring Operation: 67+25=92, Resulting Numbers: [92]
92,51 unequal: No Solution
Exploring Operation: 67-25=42, Resulting Numbers: [42]
42,51 unequal: No Solution
Exploring Operation: 67*25=1675, Resulting Numbers: [1675]
1675,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 51:[29, 63], Operations: ['35-6=29', '67-4=63']
Exploring Operation: 63-29=34, Resulting Numbers: [34]
34,51 unequal: No Solution
Exploring Operation: 29*63=1827, Resulting Numbers: [1827]
1827,51 unequal: No Solution
Exploring Operation: 29+63=92, Resulting Numbers: [92]
92,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 51:[67, 33], Operations: ['35-6=29', '4+29=33']
Exploring Operation: 67*33=2211, Resulting Numbers: [2211]
2211,51 unequal: No Solution
Exploring Operation: 67+33=100, Resulting Numbers: [100]
100,51 unequal: No Solution
Exploring Operation: 67-33=34, Resulting Numbers: [34]
34,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 51:[29, 71], Operations: ['35-6=29', '4+67=71']
Exploring Operation: 29+71=100, Resulting Numbers: [100]
100,51 unequal: No Solution
Exploring Operation: 29*71=2059, Resulting Numbers: [2059]
2059,51 unequal: No Solution
Exploring Operation: 71-29=42, Resulting Numbers: [42]
42,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 51:[6, 67, 39], Operations: ['4+35=39']
Exploring Operation: 6+67=73, Resulting Numbers: [39, 73]
Generated Node #0,1,0: 51:[39, 73] Operation: 6+67=73
Exploring Operation: 39-6=33, Resulting Numbers: [67, 33]
Generated Node #0,1,1: 51:[67, 33] Operation: 39-6=33
Exploring Operation: 67-6=61, Resulting Numbers: [39, 61]
Generated Node #0,1,2: 51:[39, 61] Operation: 67-6=61
Exploring Operation: 67-39=28, Resulting Numbers: [6, 28]
Generated Node #0,1,3: 51:[6, 28] Operation: 67-39=28
Exploring Operation: 6+39=45, Resulting Numbers: [67, 45]
Generated Node #0,1,4: 51:[67, 45] Operation: 6+39=45
Moving to Node #0,1,3
Current State: 51:[6, 28], Operations: ['4+35=39', '67-39=28']
Exploring Operation: 28-6=22, Resulting Numbers: [22]
22,51 unequal: No Solution
Exploring Operation: 6*28=168, Resulting Numbers: [168]
168,51 unequal: No Solution
Exploring Operation: 6+28=34, Resulting Numbers: [34]
34,51 unequal: No Solution
Moving to Node #0,1,4
Current State: 51:[67, 45], Operations: ['4+35=39', '6+39=45']
Exploring Operation: 67-45=22, Resulting Numbers: [22]
22,51 unequal: No Solution
Exploring Operation: 67*45=3015, Resulting Numbers: [3015]
3015,51 unequal: No Solution
Exploring Operation: 67+45=112, Resulting Numbers: [112]
112,51 unequal: No Solution
Moving to Node #0,1,2
Current State: 51:[39, 61], Operations: ['4+35=39', '67-6=61']
Exploring Operation: 39+61=100, Resulting Numbers: [100]
100,51 unequal: No Solution
Exploring Operation: 61-39=22, Resulting Numbers: [22]
22,51 unequal: No Solution
Exploring Operation: 39*61=2379, Resulting Numbers: [2379]
2379,51 unequal: No Solution
Moving to Node #0,1,1
Current State: 51:[67, 33], Operations: ['4+35=39', '39-6=33']
Exploring Operation: 67*33=2211, Resulting Numbers: [2211]
2211,51 unequal: No Solution
Exploring Operation: 67-33=34, Resulting Numbers: [34]
34,51 unequal: No Solution
Exploring Operation: 67+33=100, Resulting Numbers: [100]
100,51 unequal: No Solution
Moving to Node #0,1,0
Current State: 51:[39, 73], Operations: ['4+35=39', '6+67=73']
Exploring Operation: 39+73=112, Resulting Numbers: [112]
112,51 unequal: No Solution
Exploring Operation: 73-39=34, Resulting Numbers: [34]
34,51 unequal: No Solution
Exploring Operation: 39*73=2847, Resulting Numbers: [2847]
2847,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_5
|
sum_heuristic
|
[
39,
31,
71,
6
] | 76
|
[
"39+71=110",
"31*6=186",
"186-110=76"
] |
Current State: 76:[39, 31, 71, 6], Operations: []
Exploring Operation: 39+71=110, Resulting Numbers: [31, 6, 110]
Generated Node #2: [31, 6, 110] from Operation: 39+71=110
Current State: 76:[31, 6, 110], Operations: ['39+71=110']
Exploring Operation: 31*6=186, Resulting Numbers: [110, 186]
Generated Node #3: [110, 186] from Operation: 31*6=186
Current State: 76:[110, 186], Operations: ['39+71=110', '31*6=186']
Exploring Operation: 186-110=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4
|
Current State: 76:[39, 31, 71, 6], Operations: []
Exploring Operation: 71-31=40, Resulting Numbers: [39, 6, 40]
Generated Node #0,0: 76:[39, 6, 40] Operation: 71-31=40
Exploring Operation: 31-6=25, Resulting Numbers: [39, 71, 25]
Generated Node #0,1: 76:[39, 71, 25] Operation: 31-6=25
Exploring Operation: 31+6=37, Resulting Numbers: [39, 71, 37]
Generated Node #0,2: 76:[39, 71, 37] Operation: 31+6=37
Exploring Operation: 71+6=77, Resulting Numbers: [39, 31, 77]
Generated Node #0,3: 76:[39, 31, 77] Operation: 71+6=77
Exploring Operation: 39-31=8, Resulting Numbers: [71, 6, 8]
Generated Node #0,4: 76:[71, 6, 8] Operation: 39-31=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[39, 6, 40], Operations: ['71-31=40']
Exploring Operation: 39+6=45, Resulting Numbers: [40, 45]
Generated Node #0,0,0: 76:[40, 45] Operation: 39+6=45
Exploring Operation: 39-6=33, Resulting Numbers: [40, 33]
Generated Node #0,0,1: 76:[40, 33] Operation: 39-6=33
Exploring Operation: 40-39=1, Resulting Numbers: [6, 1]
Generated Node #0,0,2: 76:[6, 1] Operation: 40-39=1
Exploring Operation: 40-6=34, Resulting Numbers: [39, 34]
Generated Node #0,0,3: 76:[39, 34] Operation: 40-6=34
Exploring Operation: 39+40=79, Resulting Numbers: [6, 79]
Generated Node #0,0,4: 76:[6, 79] Operation: 39+40=79
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 76:[6, 1], Operations: ['71-31=40', '40-39=1']
Exploring Operation: 6/1=6, Resulting Numbers: [6]
6,76 unequal: No Solution
Exploring Operation: 6+1=7, Resulting Numbers: [7]
7,76 unequal: No Solution
Exploring Operation: 6-1=5, Resulting Numbers: [5]
5,76 unequal: No Solution
Exploring Operation: 6*1=6, Resulting Numbers: [6]
6,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 76:[39, 34], Operations: ['71-31=40', '40-6=34']
Exploring Operation: 39+34=73, Resulting Numbers: [73]
73,76 unequal: No Solution
Exploring Operation: 39*34=1326, Resulting Numbers: [1326]
1326,76 unequal: No Solution
Exploring Operation: 39-34=5, Resulting Numbers: [5]
5,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 76:[6, 79], Operations: ['71-31=40', '39+40=79']
Exploring Operation: 79-6=73, Resulting Numbers: [73]
73,76 unequal: No Solution
Exploring Operation: 6*79=474, Resulting Numbers: [474]
474,76 unequal: No Solution
Exploring Operation: 6+79=85, Resulting Numbers: [85]
85,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 76:[40, 33], Operations: ['71-31=40', '39-6=33']
Exploring Operation: 40*33=1320, Resulting Numbers: [1320]
1320,76 unequal: No Solution
Exploring Operation: 40-33=7, Resulting Numbers: [7]
7,76 unequal: No Solution
Exploring Operation: 40+33=73, Resulting Numbers: [73]
73,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 76:[40, 45], Operations: ['71-31=40', '39+6=45']
Exploring Operation: 40*45=1800, Resulting Numbers: [1800]
1800,76 unequal: No Solution
Exploring Operation: 40+45=85, Resulting Numbers: [85]
85,76 unequal: No Solution
Exploring Operation: 45-40=5, Resulting Numbers: [5]
5,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 76:[39, 71, 37], Operations: ['31+6=37']
Exploring Operation: 39+37=76, Resulting Numbers: [71, 76]
Generated Node #0,2,0: 76:[71, 76] Operation: 39+37=76
Exploring Operation: 71+37=108, Resulting Numbers: [39, 108]
Generated Node #0,2,1: 76:[39, 108] Operation: 71+37=108
Exploring Operation: 71-39=32, Resulting Numbers: [37, 32]
Generated Node #0,2,2: 76:[37, 32] Operation: 71-39=32
Exploring Operation: 39-37=2, Resulting Numbers: [71, 2]
Generated Node #0,2,3: 76:[71, 2] Operation: 39-37=2
Exploring Operation: 71-37=34, Resulting Numbers: [39, 34]
Generated Node #0,2,4: 76:[39, 34] Operation: 71-37=34
Moving to Node #0,2,0
Current State: 76:[71, 76], Operations: ['31+6=37', '39+37=76']
Exploring Operation: 71+76=147, Resulting Numbers: [147]
147,76 unequal: No Solution
Exploring Operation: 71*76=5396, Resulting Numbers: [5396]
5396,76 unequal: No Solution
Exploring Operation: 76-71=5, Resulting Numbers: [5]
5,76 unequal: No Solution
Moving to Node #0,2,4
Current State: 76:[39, 34], Operations: ['31+6=37', '71-37=34']
Exploring Operation: 39*34=1326, Resulting Numbers: [1326]
1326,76 unequal: No Solution
Exploring Operation: 39-34=5, Resulting Numbers: [5]
5,76 unequal: No Solution
Exploring Operation: 39+34=73, Resulting Numbers: [73]
73,76 unequal: No Solution
Moving to Node #0,2,3
Current State: 76:[71, 2], Operations: ['31+6=37', '39-37=2']
Exploring Operation: 71*2=142, Resulting Numbers: [142]
142,76 unequal: No Solution
Exploring Operation: 71+2=73, Resulting Numbers: [73]
73,76 unequal: No Solution
Exploring Operation: 71-2=69, Resulting Numbers: [69]
69,76 unequal: No Solution
Moving to Node #0,2,2
Current State: 76:[37, 32], Operations: ['31+6=37', '71-39=32']
Exploring Operation: 37+32=69, Resulting Numbers: [69]
69,76 unequal: No Solution
Exploring Operation: 37*32=1184, Resulting Numbers: [1184]
1184,76 unequal: No Solution
Exploring Operation: 37-32=5, Resulting Numbers: [5]
5,76 unequal: No Solution
Moving to Node #0,2,1
Current State: 76:[39, 108], Operations: ['31+6=37', '71+37=108']
Exploring Operation: 39+108=147, Resulting Numbers: [147]
147,76 unequal: No Solution
Exploring Operation: 108-39=69, Resulting Numbers: [69]
69,76 unequal: No Solution
Exploring Operation: 39*108=4212, Resulting Numbers: [4212]
4212,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 76:[39, 31, 77], Operations: ['71+6=77']
Exploring Operation: 31+77=108, Resulting Numbers: [39, 108]
Generated Node #0,3,0: 76:[39, 108] Operation: 31+77=108
Exploring Operation: 39-31=8, Resulting Numbers: [77, 8]
Generated Node #0,3,1: 76:[77, 8] Operation: 39-31=8
Exploring Operation: 39+31=70, Resulting Numbers: [77, 70]
Generated Node #0,3,2: 76:[77, 70] Operation: 39+31=70
Exploring Operation: 77-31=46, Resulting Numbers: [39, 46]
Generated Node #0,3,3: 76:[39, 46] Operation: 77-31=46
Exploring Operation: 77-39=38, Resulting Numbers: [31, 38]
Generated Node #0,3,4: 76:[31, 38] Operation: 77-39=38
Moving to Node #0,3,1
Current State: 76:[77, 8], Operations: ['71+6=77', '39-31=8']
Exploring Operation: 77*8=616, Resulting Numbers: [616]
616,76 unequal: No Solution
Exploring Operation: 77+8=85, Resulting Numbers: [85]
85,76 unequal: No Solution
Exploring Operation: 77-8=69, Resulting Numbers: [69]
69,76 unequal: No Solution
Moving to Node #0,3,4
Current State: 76:[31, 38], Operations: ['71+6=77', '77-39=38']
Exploring Operation: 38-31=7, Resulting Numbers: [7]
7,76 unequal: No Solution
Exploring Operation: 31+38=69, Resulting Numbers: [69]
69,76 unequal: No Solution
Exploring Operation: 31*38=1178, Resulting Numbers: [1178]
1178,76 unequal: No Solution
Moving to Node #0,3,2
Current State: 76:[77, 70], Operations: ['71+6=77', '39+31=70']
Exploring Operation: 77-70=7, Resulting Numbers: [7]
7,76 unequal: No Solution
Exploring Operation: 77+70=147, Resulting Numbers: [147]
147,76 unequal: No Solution
Exploring Operation: 77*70=5390, Resulting Numbers: [5390]
5390,76 unequal: No Solution
Moving to Node #0,3,3
Current State: 76:[39, 46], Operations: ['71+6=77', '77-31=46']
Exploring Operation: 46-39=7, Resulting Numbers: [7]
7,76 unequal: No Solution
Exploring Operation: 39+46=85, Resulting Numbers: [85]
85,76 unequal: No Solution
Exploring Operation: 39*46=1794, Resulting Numbers: [1794]
1794,76 unequal: No Solution
Moving to Node #0,3,0
Current State: 76:[39, 108], Operations: ['71+6=77', '31+77=108']
Exploring Operation: 108-39=69, Resulting Numbers: [69]
69,76 unequal: No Solution
Exploring Operation: 39*108=4212, Resulting Numbers: [4212]
4212,76 unequal: No Solution
Exploring Operation: 39+108=147, Resulting Numbers: [147]
147,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 76:[71, 6, 8], Operations: ['39-31=8']
Exploring Operation: 71-6=65, Resulting Numbers: [8, 65]
Generated Node #0,4,0: 76:[8, 65] Operation: 71-6=65
Exploring Operation: 6+8=14, Resulting Numbers: [71, 14]
Generated Node #0,4,1: 76:[71, 14] Operation: 6+8=14
Exploring Operation: 71+6=77, Resulting Numbers: [8, 77]
Generated Node #0,4,2: 76:[8, 77] Operation: 71+6=77
Exploring Operation: 8-6=2, Resulting Numbers: [71, 2]
Generated Node #0,4,3: 76:[71, 2] Operation: 8-6=2
Exploring Operation: 71+8=79, Resulting Numbers: [6, 79]
Generated Node #0,4,4: 76:[6, 79] Operation: 71+8=79
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 76:[8, 77], Operations: ['39-31=8', '71+6=77']
Exploring Operation: 8+77=85, Resulting Numbers: [85]
85,76 unequal: No Solution
Exploring Operation: 8*77=616, Resulting Numbers: [616]
616,76 unequal: No Solution
Exploring Operation: 77-8=69, Resulting Numbers: [69]
69,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 76:[71, 2], Operations: ['39-31=8', '8-6=2']
Exploring Operation: 71-2=69, Resulting Numbers: [69]
69,76 unequal: No Solution
Exploring Operation: 71*2=142, Resulting Numbers: [142]
142,76 unequal: No Solution
Exploring Operation: 71+2=73, Resulting Numbers: [73]
73,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 76:[6, 79], Operations: ['39-31=8', '71+8=79']
Exploring Operation: 6*79=474, Resulting Numbers: [474]
474,76 unequal: No Solution
Exploring Operation: 6+79=85, Resulting Numbers: [85]
85,76 unequal: No Solution
Exploring Operation: 79-6=73, Resulting Numbers: [73]
73,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 76:[71, 14], Operations: ['39-31=8', '6+8=14']
Exploring Operation: 71+14=85, Resulting Numbers: [85]
85,76 unequal: No Solution
Exploring Operation: 71-14=57, Resulting Numbers: [57]
57,76 unequal: No Solution
Exploring Operation: 71*14=994, Resulting Numbers: [994]
994,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 76:[8, 65], Operations: ['39-31=8', '71-6=65']
Exploring Operation: 65-8=57, Resulting Numbers: [57]
57,76 unequal: No Solution
Exploring Operation: 8+65=73, Resulting Numbers: [73]
73,76 unequal: No Solution
Exploring Operation: 8*65=520, Resulting Numbers: [520]
520,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 76:[39, 71, 25], Operations: ['31-6=25']
Exploring Operation: 71-39=32, Resulting Numbers: [25, 32]
Generated Node #0,1,0: 76:[25, 32] Operation: 71-39=32
Exploring Operation: 71-25=46, Resulting Numbers: [39, 46]
Generated Node #0,1,1: 76:[39, 46] Operation: 71-25=46
Exploring Operation: 39-25=14, Resulting Numbers: [71, 14]
Generated Node #0,1,2: 76:[71, 14] Operation: 39-25=14
Exploring Operation: 39+25=64, Resulting Numbers: [71, 64]
Generated Node #0,1,3: 76:[71, 64] Operation: 39+25=64
Exploring Operation: 71+25=96, Resulting Numbers: [39, 96]
Generated Node #0,1,4: 76:[39, 96] Operation: 71+25=96
Moving to Node #0,1,1
Current State: 76:[39, 46], Operations: ['31-6=25', '71-25=46']
Exploring Operation: 46-39=7, Resulting Numbers: [7]
7,76 unequal: No Solution
Exploring Operation: 39+46=85, Resulting Numbers: [85]
85,76 unequal: No Solution
Exploring Operation: 39*46=1794, Resulting Numbers: [1794]
1794,76 unequal: No Solution
Moving to Node #0,1,2
Current State: 76:[71, 14], Operations: ['31-6=25', '39-25=14']
Exploring Operation: 71-14=57, Resulting Numbers: [57]
57,76 unequal: No Solution
Exploring Operation: 71+14=85, Resulting Numbers: [85]
85,76 unequal: No Solution
Exploring Operation: 71*14=994, Resulting Numbers: [994]
994,76 unequal: No Solution
Moving to Node #0,1,0
Current State: 76:[25, 32], Operations: ['31-6=25', '71-39=32']
Exploring Operation: 25+32=57, Resulting Numbers: [57]
57,76 unequal: No Solution
Exploring Operation: 25*32=800, Resulting Numbers: [800]
800,76 unequal: No Solution
Exploring Operation: 32-25=7, Resulting Numbers: [7]
7,76 unequal: No Solution
Moving to Node #0,1,3
Current State: 76:[71, 64], Operations: ['31-6=25', '39+25=64']
Exploring Operation: 71*64=4544, Resulting Numbers: [4544]
4544,76 unequal: No Solution
Exploring Operation: 71+64=135, Resulting Numbers: [135]
135,76 unequal: No Solution
Exploring Operation: 71-64=7, Resulting Numbers: [7]
7,76 unequal: No Solution
Moving to Node #0,1,4
Current State: 76:[39, 96], Operations: ['31-6=25', '71+25=96']
Exploring Operation: 39*96=3744, Resulting Numbers: [3744]
3744,76 unequal: No Solution
Exploring Operation: 96-39=57, Resulting Numbers: [57]
57,76 unequal: No Solution
Exploring Operation: 39+96=135, Resulting Numbers: [135]
135,76 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
|
[
12,
6,
46,
24
] | 23
|
[
"24-12=12",
"6*46=276",
"276/12=23"
] |
Current State: 23:[12, 6, 46, 24], Operations: []
Exploring Operation: 24-12=12, Resulting Numbers: [6, 46, 12]
Generated Node #2: [6, 46, 12] from Operation: 24-12=12
Current State: 23:[6, 46, 12], Operations: ['24-12=12']
Exploring Operation: 6*46=276, Resulting Numbers: [12, 276]
Generated Node #3: [12, 276] from Operation: 6*46=276
Current State: 23:[12, 276], Operations: ['24-12=12', '6*46=276']
Exploring Operation: 276/12=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4
|
Current State: 23:[12, 6, 46, 24], Operations: []
Exploring Operation: 46-12=34, Resulting Numbers: [6, 24, 34]
Generated Node #0,0: 23:[6, 24, 34] Operation: 46-12=34
Exploring Operation: 12+6=18, Resulting Numbers: [46, 24, 18]
Generated Node #0,1: 23:[46, 24, 18] Operation: 12+6=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[6, 24, 34], Operations: ['46-12=34']
Exploring Operation: 34-6=28, Resulting Numbers: [24, 28]
Generated Node #0,0,0: 23:[24, 28] Operation: 34-6=28
Exploring Operation: 24-6=18, Resulting Numbers: [34, 18]
Generated Node #0,0,1: 23:[34, 18] Operation: 24-6=18
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 23:[24, 28], Operations: ['46-12=34', '34-6=28']
Exploring Operation: 24+28=52, Resulting Numbers: [52]
52,23 unequal: No Solution
Exploring Operation: 28-24=4, Resulting Numbers: [4]
4,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 23:[34, 18], Operations: ['46-12=34', '24-6=18']
Exploring Operation: 34-18=16, Resulting Numbers: [16]
16,23 unequal: No Solution
Exploring Operation: 34+18=52, Resulting Numbers: [52]
52,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 23:[46, 24, 18], Operations: ['12+6=18']
Exploring Operation: 46-24=22, Resulting Numbers: [18, 22]
Generated Node #0,1,0: 23:[18, 22] Operation: 46-24=22
Exploring Operation: 46-18=28, Resulting Numbers: [24, 28]
Generated Node #0,1,1: 23:[24, 28] Operation: 46-18=28
Moving to Node #0,1,0
Current State: 23:[18, 22], Operations: ['12+6=18', '46-24=22']
Exploring Operation: 18+22=40, Resulting Numbers: [40]
40,23 unequal: No Solution
Exploring Operation: 22-18=4, Resulting Numbers: [4]
4,23 unequal: No Solution
Moving to Node #0,1,1
Current State: 23:[24, 28], Operations: ['12+6=18', '46-18=28']
Exploring Operation: 28-24=4, Resulting Numbers: [4]
4,23 unequal: No Solution
Exploring Operation: 24+28=52, Resulting Numbers: [52]
52,23 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
|
[
28,
24,
85,
20
] | 13
|
[
"28+24=52",
"85-20=65",
"65-52=13"
] |
Current State: 13:[28, 24, 85, 20], Operations: []
Exploring Operation: 28+24=52, Resulting Numbers: [85, 20, 52]
Generated Node #2: [85, 20, 52] from Operation: 28+24=52
Current State: 13:[85, 20, 52], Operations: ['28+24=52']
Exploring Operation: 85-20=65, Resulting Numbers: [52, 65]
Generated Node #3: [52, 65] from Operation: 85-20=65
Current State: 13:[52, 65], Operations: ['28+24=52', '85-20=65']
Exploring Operation: 65-52=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4
|
Current State: 13:[28, 24, 85, 20], Operations: []
Exploring Operation: 85-28=57, Resulting Numbers: [24, 20, 57]
Generated Node #0,0: 13:[24, 20, 57] Operation: 85-28=57
Exploring Operation: 85-24=61, Resulting Numbers: [28, 20, 61]
Generated Node #0,1: 13:[28, 20, 61] Operation: 85-24=61
Exploring Operation: 28-24=4, Resulting Numbers: [85, 20, 4]
Generated Node #0,2: 13:[85, 20, 4] Operation: 28-24=4
Exploring Operation: 85-20=65, Resulting Numbers: [28, 24, 65]
Generated Node #0,3: 13:[28, 24, 65] Operation: 85-20=65
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[24, 20, 57], Operations: ['85-28=57']
Exploring Operation: 57-24=33, Resulting Numbers: [20, 33]
Generated Node #0,0,0: 13:[20, 33] Operation: 57-24=33
Exploring Operation: 57-20=37, Resulting Numbers: [24, 37]
Generated Node #0,0,1: 13:[24, 37] Operation: 57-20=37
Exploring Operation: 24+20=44, Resulting Numbers: [57, 44]
Generated Node #0,0,2: 13:[57, 44] Operation: 24+20=44
Exploring Operation: 24-20=4, Resulting Numbers: [57, 4]
Generated Node #0,0,3: 13:[57, 4] Operation: 24-20=4
Moving to Node #0,0,0
Current State: 13:[20, 33], Operations: ['85-28=57', '57-24=33']
Exploring Operation: 20*33=660, Resulting Numbers: [660]
660,13 unequal: No Solution
Exploring Operation: 33-20=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[28, 24, 85, 20], Operations: []
Exploring Operation: 85-28=57, Resulting Numbers: [24, 20, 57]
Generated Node #0,0: 13:[24, 20, 57] Operation: 85-28=57
Moving to Node #0,0
Current State: 13:[24, 20, 57], Operations: ['85-28=57']
Exploring Operation: 57-24=33, Resulting Numbers: [20, 33]
Generated Node #0,0,0: 13:[20, 33] Operation: 57-24=33
Moving to Node #0,0,0
Current State: 13:[20, 33], Operations: ['85-28=57', '57-24=33']
Exploring Operation: 33-20=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847
|
hs_4
|
mult_heuristic
|
[
36,
16,
50,
47
] | 92
|
[
"50-47=3",
"36*3=108",
"108-16=92"
] |
Current State: 92:[36, 16, 50, 47], Operations: []
Exploring Operation: 50-47=3, Resulting Numbers: [36, 16, 3]
Generated Node #2: [36, 16, 3] from Operation: 50-47=3
Current State: 92:[36, 16, 3], Operations: ['50-47=3']
Exploring Operation: 36*3=108, Resulting Numbers: [16, 108]
Generated Node #3: [16, 108] from Operation: 36*3=108
Current State: 92:[16, 108], Operations: ['50-47=3', '36*3=108']
Exploring Operation: 108-16=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4
|
Current State: 92:[36, 16, 50, 47], Operations: []
Exploring Operation: 36-16=20, Resulting Numbers: [50, 47, 20]
Generated Node #0,0: 92:[50, 47, 20] Operation: 36-16=20
Moving to Node #0,0
Current State: 92:[50, 47, 20], Operations: ['36-16=20']
Exploring Operation: 50-47=3, Resulting Numbers: [20, 3]
Generated Node #0,0,0: 92:[20, 3] Operation: 50-47=3
Moving to Node #0,0,0
Current State: 92:[20, 3], Operations: ['36-16=20', '50-47=3']
Exploring Operation: 20+3=23, Resulting Numbers: [23]
23,92 unequal: No Solution
No solution found.
| 0
|
hs_1
|
mult_heuristic
|
[
8,
65,
94,
87
] | 64
|
[
"65-8=57",
"94-87=7",
"57+7=64"
] |
Current State: 64:[8, 65, 94, 87], Operations: []
Exploring Operation: 65-8=57, Resulting Numbers: [94, 87, 57]
Generated Node #2: [94, 87, 57] from Operation: 65-8=57
Current State: 64:[94, 87, 57], Operations: ['65-8=57']
Exploring Operation: 94-87=7, Resulting Numbers: [57, 7]
Generated Node #3: [57, 7] from Operation: 94-87=7
Current State: 64:[57, 7], Operations: ['65-8=57', '94-87=7']
Exploring Operation: 57+7=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4
|
Current State: 64:[8, 65, 94, 87], Operations: []
Exploring Operation: 94-87=7, Resulting Numbers: [8, 65, 7]
Generated Node #0,0: 64:[8, 65, 7] Operation: 94-87=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[8, 65, 7], Operations: ['94-87=7']
Exploring Operation: 8+7=15, Resulting Numbers: [65, 15]
Generated Node #0,0,0: 64:[65, 15] Operation: 8+7=15
Moving to Node #0,0,0
Current State: 64:[65, 15], Operations: ['94-87=7', '8+7=15']
Exploring Operation: 65-15=50, Resulting Numbers: [50]
50,64 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
|
[
65,
17,
2,
21
] | 71
|
[
"65-17=48",
"2+21=23",
"48+23=71"
] |
Current State: 71:[65, 17, 2, 21], Operations: []
Exploring Operation: 65-17=48, Resulting Numbers: [2, 21, 48]
Generated Node #2: [2, 21, 48] from Operation: 65-17=48
Current State: 71:[2, 21, 48], Operations: ['65-17=48']
Exploring Operation: 2+21=23, Resulting Numbers: [48, 23]
Generated Node #3: [48, 23] from Operation: 2+21=23
Current State: 71:[48, 23], Operations: ['65-17=48', '2+21=23']
Exploring Operation: 48+23=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4
|
Current State: 71:[65, 17, 2, 21], Operations: []
Exploring Operation: 2*21=42, Resulting Numbers: [65, 17, 42]
Generated Node #0,0: 71:[65, 17, 42] Operation: 2*21=42
Exploring Operation: 17*2=34, Resulting Numbers: [65, 21, 34]
Generated Node #0,1: 71:[65, 21, 34] Operation: 17*2=34
Moving to Node #0,0
Current State: 71:[65, 17, 42], Operations: ['2*21=42']
Exploring Operation: 17+42=59, Resulting Numbers: [65, 59]
Generated Node #0,0,0: 71:[65, 59] Operation: 17+42=59
Exploring Operation: 65+17=82, Resulting Numbers: [42, 82]
Generated Node #0,0,1: 71:[42, 82] Operation: 65+17=82
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 71:[65, 59], Operations: ['2*21=42', '17+42=59']
Exploring Operation: 65+59=124, Resulting Numbers: [124]
124,71 unequal: No Solution
Exploring Operation: 65-59=6, Resulting Numbers: [6]
6,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 71:[42, 82], Operations: ['2*21=42', '65+17=82']
Exploring Operation: 42+82=124, Resulting Numbers: [124]
124,71 unequal: No Solution
Exploring Operation: 82-42=40, Resulting Numbers: [40]
40,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 71:[65, 21, 34], Operations: ['17*2=34']
Exploring Operation: 65+21=86, Resulting Numbers: [34, 86]
Generated Node #0,1,0: 71:[34, 86] Operation: 65+21=86
Exploring Operation: 21+34=55, Resulting Numbers: [65, 55]
Generated Node #0,1,1: 71:[65, 55] Operation: 21+34=55
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 71:[65, 55], Operations: ['17*2=34', '21+34=55']
Exploring Operation: 65+55=120, Resulting Numbers: [120]
120,71 unequal: No Solution
Exploring Operation: 65-55=10, Resulting Numbers: [10]
10,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 71:[34, 86], Operations: ['17*2=34', '65+21=86']
Exploring Operation: 34+86=120, Resulting Numbers: [120]
120,71 unequal: No Solution
Exploring Operation: 86-34=52, Resulting Numbers: [52]
52,71 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
|
[
9,
27,
52,
91
] | 57
|
[
"27-9=18",
"91-52=39",
"18+39=57"
] |
Current State: 57:[9, 27, 52, 91], Operations: []
Exploring Operation: 27-9=18, Resulting Numbers: [52, 91, 18]
Generated Node #2: [52, 91, 18] from Operation: 27-9=18
Current State: 57:[52, 91, 18], Operations: ['27-9=18']
Exploring Operation: 91-52=39, Resulting Numbers: [18, 39]
Generated Node #3: [18, 39] from Operation: 91-52=39
Current State: 57:[18, 39], Operations: ['27-9=18', '91-52=39']
Exploring Operation: 18+39=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4
|
Current State: 57:[9, 27, 52, 91], Operations: []
Exploring Operation: 91-52=39, Resulting Numbers: [9, 27, 39]
Generated Node #0,0: 57:[9, 27, 39] Operation: 91-52=39
Exploring Operation: 27/9=3, Resulting Numbers: [52, 91, 3]
Generated Node #0,1: 57:[52, 91, 3] Operation: 27/9=3
Exploring Operation: 91-27=64, Resulting Numbers: [9, 52, 64]
Generated Node #0,2: 57:[9, 52, 64] Operation: 91-27=64
Exploring Operation: 27-9=18, Resulting Numbers: [52, 91, 18]
Generated Node #0,3: 57:[52, 91, 18] Operation: 27-9=18
Exploring Operation: 91-9=82, Resulting Numbers: [27, 52, 82]
Generated Node #0,4: 57:[27, 52, 82] Operation: 91-9=82
Start Sub Search at level 1: Moving to Node #0,2
Current State: 57:[9, 52, 64], Operations: ['91-27=64']
Exploring Operation: 52-9=43, Resulting Numbers: [64, 43]
Generated Node #0,2,0: 57:[64, 43] Operation: 52-9=43
Exploring Operation: 64-52=12, Resulting Numbers: [9, 12]
Generated Node #0,2,1: 57:[9, 12] Operation: 64-52=12
Exploring Operation: 64-9=55, Resulting Numbers: [52, 55]
Generated Node #0,2,2: 57:[52, 55] Operation: 64-9=55
Exploring Operation: 9+64=73, Resulting Numbers: [52, 73]
Generated Node #0,2,3: 57:[52, 73] Operation: 9+64=73
Exploring Operation: 9+52=61, Resulting Numbers: [64, 61]
Generated Node #0,2,4: 57:[64, 61] Operation: 9+52=61
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 57:[52, 55], Operations: ['91-27=64', '64-9=55']
Exploring Operation: 52+55=107, Resulting Numbers: [107]
107,57 unequal: No Solution
Exploring Operation: 52*55=2860, Resulting Numbers: [2860]
2860,57 unequal: No Solution
Exploring Operation: 55-52=3, Resulting Numbers: [3]
3,57 unequal: No Solution
No 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: 57:[64, 61], Operations: ['91-27=64', '9+52=61']
Exploring Operation: 64+61=125, Resulting Numbers: [125]
125,57 unequal: No Solution
Exploring Operation: 64-61=3, Resulting Numbers: [3]
3,57 unequal: No Solution
Exploring Operation: 64*61=3904, Resulting Numbers: [3904]
3904,57 unequal: No Solution
No 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: 57:[9, 12], Operations: ['91-27=64', '64-52=12']
Exploring Operation: 9*12=108, Resulting Numbers: [108]
108,57 unequal: No Solution
Exploring Operation: 12-9=3, Resulting Numbers: [3]
3,57 unequal: No Solution
Exploring Operation: 9+12=21, Resulting Numbers: [21]
21,57 unequal: No Solution
No 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: 57:[64, 43], Operations: ['91-27=64', '52-9=43']
Exploring Operation: 64+43=107, Resulting Numbers: [107]
107,57 unequal: No Solution
Exploring Operation: 64*43=2752, Resulting Numbers: [2752]
2752,57 unequal: No Solution
Exploring Operation: 64-43=21, Resulting Numbers: [21]
21,57 unequal: No Solution
No 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: 57:[52, 73], Operations: ['91-27=64', '9+64=73']
Exploring Operation: 52*73=3796, Resulting Numbers: [3796]
3796,57 unequal: No Solution
Exploring Operation: 52+73=125, Resulting Numbers: [125]
125,57 unequal: No Solution
Exploring Operation: 73-52=21, Resulting Numbers: [21]
21,57 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: 57:[9, 27, 39], Operations: ['91-52=39']
Exploring Operation: 27-9=18, Resulting Numbers: [39, 18]
Generated Node #0,0,0: 57:[39, 18] Operation: 27-9=18
Exploring Operation: 27/9=3, Resulting Numbers: [39, 3]
Generated Node #0,0,1: 57:[39, 3] Operation: 27/9=3
Exploring Operation: 27+39=66, Resulting Numbers: [9, 66]
Generated Node #0,0,2: 57:[9, 66] Operation: 27+39=66
Exploring Operation: 9+39=48, Resulting Numbers: [27, 48]
Generated Node #0,0,3: 57:[27, 48] Operation: 9+39=48
Exploring Operation: 39-27=12, Resulting Numbers: [9, 12]
Generated Node #0,0,4: 57:[9, 12] Operation: 39-27=12
Moving to Node #0,0,4
Current State: 57:[9, 12], Operations: ['91-52=39', '39-27=12']
Exploring Operation: 9*12=108, Resulting Numbers: [108]
108,57 unequal: No Solution
Exploring Operation: 12-9=3, Resulting Numbers: [3]
3,57 unequal: No Solution
Exploring Operation: 9+12=21, Resulting Numbers: [21]
21,57 unequal: No Solution
Moving to Node #0,0,2
Current State: 57:[9, 66], Operations: ['91-52=39', '27+39=66']
Exploring Operation: 9+66=75, Resulting Numbers: [75]
75,57 unequal: No Solution
Exploring Operation: 66-9=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[9, 27, 52, 91], Operations: []
Exploring Operation: 91-52=39, Resulting Numbers: [9, 27, 39]
Generated Node #0,0: 57:[9, 27, 39] Operation: 91-52=39
Moving to Node #0,0
Current State: 57:[9, 27, 39], Operations: ['91-52=39']
Exploring Operation: 27+39=66, Resulting Numbers: [9, 66]
Generated Node #0,0,2: 57:[9, 66] Operation: 27+39=66
Moving to Node #0,0,2
Current State: 57:[9, 66], Operations: ['91-52=39', '27+39=66']
Exploring Operation: 66-9=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 1
| 0.966146
|
hs_5
|
mult_heuristic
|
[
18,
43,
43,
72
] | 82
|
[
"72/18=4",
"43+43=86",
"86-4=82"
] |
Current State: 82:[18, 43, 43, 72], Operations: []
Exploring Operation: 72/18=4, Resulting Numbers: [43, 43, 4]
Generated Node #2: [43, 43, 4] from Operation: 72/18=4
Current State: 82:[43, 43, 4], Operations: ['72/18=4']
Exploring Operation: 43+43=86, Resulting Numbers: [4, 86]
Generated Node #3: [4, 86] from Operation: 43+43=86
Current State: 82:[4, 86], Operations: ['72/18=4', '43+43=86']
Exploring Operation: 86-4=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4
|
Current State: 82:[18, 43, 43, 72], Operations: []
Exploring Operation: 43/43=1, Resulting Numbers: [18, 72, 1]
Generated Node #0,0: 82:[18, 72, 1] Operation: 43/43=1
Exploring Operation: 18+72=90, Resulting Numbers: [43, 43, 90]
Generated Node #0,1: 82:[43, 43, 90] Operation: 18+72=90
Exploring Operation: 72-18=54, Resulting Numbers: [43, 43, 54]
Generated Node #0,2: 82:[43, 43, 54] Operation: 72-18=54
Exploring Operation: 72/18=4, Resulting Numbers: [43, 43, 4]
Generated Node #0,3: 82:[43, 43, 4] Operation: 72/18=4
Moving to Node #0,3
Current State: 82:[43, 43, 4], Operations: ['72/18=4']
Exploring Operation: 43/43=1, Resulting Numbers: [4, 1]
Generated Node #0,3,0: 82:[4, 1] Operation: 43/43=1
Exploring Operation: 43-43=0, Resulting Numbers: [4, 0]
Generated Node #0,3,1: 82:[4, 0] Operation: 43-43=0
Exploring Operation: 43-4=39, Resulting Numbers: [43, 39]
Generated Node #0,3,2: 82:[43, 39] Operation: 43-4=39
Exploring Operation: 43-4=39, Resulting Numbers: [43, 39]
Generated Node #0,3,3: 82:[43, 39] Operation: 43-4=39
Moving to Node #0,1
Current State: 82:[43, 43, 90], Operations: ['18+72=90']
Exploring Operation: 90-43=47, Resulting Numbers: [43, 47]
Generated Node #0,1,0: 82:[43, 47] Operation: 90-43=47
Exploring Operation: 43-43=0, Resulting Numbers: [90, 0]
Generated Node #0,1,1: 82:[90, 0] Operation: 43-43=0
Exploring Operation: 43/43=1, Resulting Numbers: [90, 1]
Generated Node #0,1,2: 82:[90, 1] Operation: 43/43=1
Exploring Operation: 90-43=47, Resulting Numbers: [43, 47]
Generated Node #0,1,3: 82:[43, 47] Operation: 90-43=47
Moving to Node #0,2
Current State: 82:[43, 43, 54], Operations: ['72-18=54']
Exploring Operation: 43-43=0, Resulting Numbers: [54, 0]
Generated Node #0,2,0: 82:[54, 0] Operation: 43-43=0
Exploring Operation: 43/43=1, Resulting Numbers: [54, 1]
Generated Node #0,2,1: 82:[54, 1] Operation: 43/43=1
Exploring Operation: 54-43=11, Resulting Numbers: [43, 11]
Generated Node #0,2,2: 82:[43, 11] Operation: 54-43=11
Exploring Operation: 54-43=11, Resulting Numbers: [43, 11]
Generated Node #0,2,3: 82:[43, 11] Operation: 54-43=11
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 82:[43, 11], Operations: ['72-18=54', '54-43=11']
Exploring Operation: 43*11=473, Resulting Numbers: [473]
473,82 unequal: No Solution
Exploring Operation: 43-11=32, Resulting Numbers: [32]
32,82 unequal: No Solution
Exploring Operation: 43+11=54, Resulting Numbers: [54]
54,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 82:[43, 11], Operations: ['72-18=54', '54-43=11']
Exploring Operation: 43*11=473, Resulting Numbers: [473]
473,82 unequal: No Solution
Exploring Operation: 43+11=54, Resulting Numbers: [54]
54,82 unequal: No Solution
Exploring Operation: 43-11=32, Resulting Numbers: [32]
32,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 82:[54, 1], Operations: ['72-18=54', '43/43=1']
Exploring Operation: 54-1=53, Resulting Numbers: [53]
53,82 unequal: No Solution
Exploring Operation: 54*1=54, Resulting Numbers: [54]
54,82 unequal: No Solution
Exploring Operation: 54/1=54, Resulting Numbers: [54]
54,82 unequal: No Solution
Exploring Operation: 54+1=55, Resulting Numbers: [55]
55,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 82:[54, 0], Operations: ['72-18=54', '43-43=0']
Exploring Operation: 54-0=54, Resulting Numbers: [54]
54,82 unequal: No Solution
Exploring Operation: 54+0=54, Resulting Numbers: [54]
54,82 unequal: No Solution
Exploring Operation: 54*0=0, Resulting Numbers: [0]
0,82 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: 82:[18, 72, 1], Operations: ['43/43=1']
Exploring Operation: 72-18=54, Resulting Numbers: [1, 54]
Generated Node #0,0,0: 82:[1, 54] Operation: 72-18=54
Exploring Operation: 72/18=4, Resulting Numbers: [1, 4]
Generated Node #0,0,1: 82:[1, 4] Operation: 72/18=4
Exploring Operation: 18-1=17, Resulting Numbers: [72, 17]
Generated Node #0,0,2: 82:[72, 17] Operation: 18-1=17
Exploring Operation: 18+72=90, Resulting Numbers: [1, 90]
Generated Node #0,0,3: 82:[1, 90] Operation: 18+72=90
Moving to Node #0,3,0
Current State: 82:[4, 1], Operations: ['72/18=4', '43/43=1']
Exploring Operation: 4*1=4, Resulting Numbers: [4]
4,82 unequal: No Solution
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,82 unequal: No Solution
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,82 unequal: No Solution
Exploring Operation: 4+1=5, Resulting Numbers: [5]
5,82 unequal: No Solution
Moving to Node #0,0,1
Current State: 82:[1, 4], Operations: ['43/43=1', '72/18=4']
Exploring Operation: 1*4=4, Resulting Numbers: [4]
4,82 unequal: No Solution
Exploring Operation: 1+4=5, Resulting Numbers: [5]
5,82 unequal: No Solution
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,82 unequal: No Solution
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,82 unequal: No Solution
Moving to Node #0,3,2
Current State: 82:[43, 39], Operations: ['72/18=4', '43-4=39']
Exploring Operation: 43-39=4, Resulting Numbers: [4]
4,82 unequal: No Solution
Exploring Operation: 43*39=1677, Resulting Numbers: [1677]
1677,82 unequal: No Solution
Exploring Operation: 43+39=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[18, 43, 43, 72], Operations: []
Exploring Operation: 72/18=4, Resulting Numbers: [43, 43, 4]
Generated Node #0,3: 82:[43, 43, 4] Operation: 72/18=4
Moving to Node #0,3
Current State: 82:[43, 43, 4], Operations: ['72/18=4']
Exploring Operation: 43-4=39, Resulting Numbers: [43, 39]
Generated Node #0,3,2: 82:[43, 39] Operation: 43-4=39
Moving to Node #0,3,2
Current State: 82:[43, 39], Operations: ['72/18=4', '43-4=39']
Exploring Operation: 43+39=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 0.958333
|
hs_4
|
sum_heuristic
|
[
52,
40,
13,
17
] | 16
|
[
"52-40=12",
"17-13=4",
"12+4=16"
] |
Current State: 16:[52, 40, 13, 17], Operations: []
Exploring Operation: 52-40=12, Resulting Numbers: [13, 17, 12]
Generated Node #2: [13, 17, 12] from Operation: 52-40=12
Current State: 16:[13, 17, 12], Operations: ['52-40=12']
Exploring Operation: 17-13=4, Resulting Numbers: [12, 4]
Generated Node #3: [12, 4] from Operation: 17-13=4
Current State: 16:[12, 4], Operations: ['52-40=12', '17-13=4']
Exploring Operation: 12+4=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4
|
Current State: 16:[52, 40, 13, 17], Operations: []
Exploring Operation: 52-40=12, Resulting Numbers: [13, 17, 12]
Generated Node #0,0: 16:[13, 17, 12] Operation: 52-40=12
Exploring Operation: 52/13=4, Resulting Numbers: [40, 17, 4]
Generated Node #0,1: 16:[40, 17, 4] Operation: 52/13=4
Moving to Node #0,0
Current State: 16:[13, 17, 12], Operations: ['52-40=12']
Exploring Operation: 17-13=4, Resulting Numbers: [12, 4]
Generated Node #0,0,0: 16:[12, 4] Operation: 17-13=4
Exploring Operation: 13-12=1, Resulting Numbers: [17, 1]
Generated Node #0,0,1: 16:[17, 1] Operation: 13-12=1
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 16:[17, 1], Operations: ['52-40=12', '13-12=1']
Exploring Operation: 17*1=17, Resulting Numbers: [17]
17,16 unequal: No Solution
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[52, 40, 13, 17], Operations: []
Exploring Operation: 52-40=12, Resulting Numbers: [13, 17, 12]
Generated Node #0,0: 16:[13, 17, 12] Operation: 52-40=12
Moving to Node #0,0
Current State: 16:[13, 17, 12], Operations: ['52-40=12']
Exploring Operation: 13-12=1, Resulting Numbers: [17, 1]
Generated Node #0,0,1: 16:[17, 1] Operation: 13-12=1
Moving to Node #0,0,1
Current State: 16:[17, 1], Operations: ['52-40=12', '13-12=1']
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319
|
hs_2
|
sum_heuristic
|
[
4,
84,
13,
21
] | 55
|
[
"84/4=21",
"13+21=34",
"21+34=55"
] |
Current State: 55:[4, 84, 13, 21], Operations: []
Exploring Operation: 84/4=21, Resulting Numbers: [13, 21, 21]
Generated Node #2: [13, 21, 21] from Operation: 84/4=21
Current State: 55:[13, 21, 21], Operations: ['84/4=21']
Exploring Operation: 13+21=34, Resulting Numbers: [34]
34,55 equal: Goal Reached
Exploring Operation: 21+34=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4
|
Current State: 55:[4, 84, 13, 21], Operations: []
Exploring Operation: 84/21=4, Resulting Numbers: [4, 13, 4]
Generated Node #0,0: 55:[4, 13, 4] Operation: 84/21=4
Exploring Operation: 84-21=63, Resulting Numbers: [4, 13, 63]
Generated Node #0,1: 55:[4, 13, 63] Operation: 84-21=63
Moving to Node #0,0
Current State: 55:[4, 13, 4], Operations: ['84/21=4']
Exploring Operation: 13-4=9, Resulting Numbers: [4, 9]
Generated Node #0,0,0: 55:[4, 9] Operation: 13-4=9
Exploring Operation: 13-4=9, Resulting Numbers: [4, 9]
Generated Node #0,0,1: 55:[4, 9] Operation: 13-4=9
Moving to Node #0,1
Current State: 55:[4, 13, 63], Operations: ['84-21=63']
Exploring Operation: 63-4=59, Resulting Numbers: [13, 59]
Generated Node #0,1,0: 55:[13, 59] Operation: 63-4=59
Exploring Operation: 63-13=50, Resulting Numbers: [4, 50]
Generated Node #0,1,1: 55:[4, 50] Operation: 63-13=50
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 55:[13, 59], Operations: ['84-21=63', '63-4=59']
Exploring Operation: 13+59=72, Resulting Numbers: [72]
72,55 unequal: No Solution
Exploring Operation: 59-13=46, Resulting Numbers: [46]
46,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 55:[4, 50], Operations: ['84-21=63', '63-13=50']
Exploring Operation: 4+50=54, Resulting Numbers: [54]
54,55 unequal: No Solution
Exploring Operation: 50-4=46, Resulting Numbers: [46]
46,55 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: 55:[4, 9], Operations: ['84/21=4', '13-4=9']
Exploring Operation: 4+9=13, Resulting Numbers: [13]
13,55 unequal: No Solution
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,55 unequal: No Solution
Moving to Node #0,0,1
Current State: 55:[4, 9], Operations: ['84/21=4', '13-4=9']
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,55 unequal: No Solution
Exploring Operation: 4+9=13, Resulting Numbers: [13]
13,55 unequal: No Solution
No solution found.
| 0
|
hs_2
|
mult_heuristic
|
[
26,
1,
90,
65
] | 37
|
[
"26*90=2340",
"2340/65=36",
"1+36=37"
] |
Current State: 37:[26, 1, 90, 65], Operations: []
Exploring Operation: 26*90=2340, Resulting Numbers: [1, 65, 2340]
Generated Node #2: [1, 65, 2340] from Operation: 26*90=2340
Current State: 37:[1, 65, 2340], Operations: ['26*90=2340']
Exploring Operation: 2340/65=36, Resulting Numbers: [1, 36]
Generated Node #3: [1, 36] from Operation: 2340/65=36
Current State: 37:[1, 36], Operations: ['26*90=2340', '2340/65=36']
Exploring Operation: 1+36=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4
|
Current State: 37:[26, 1, 90, 65], Operations: []
Exploring Operation: 26+1=27, Resulting Numbers: [90, 65, 27]
Generated Node #0,0: 37:[90, 65, 27] Operation: 26+1=27
Exploring Operation: 65-26=39, Resulting Numbers: [1, 90, 39]
Generated Node #0,1: 37:[1, 90, 39] Operation: 65-26=39
Exploring Operation: 90-65=25, Resulting Numbers: [26, 1, 25]
Generated Node #0,2: 37:[26, 1, 25] Operation: 90-65=25
Exploring Operation: 90-26=64, Resulting Numbers: [1, 65, 64]
Generated Node #0,3: 37:[1, 65, 64] Operation: 90-26=64
Start Sub Search at level 1: Moving to Node #0,2
Current State: 37:[26, 1, 25], Operations: ['90-65=25']
Exploring Operation: 26/1=26, Resulting Numbers: [25, 26]
Generated Node #0,2,0: 37:[25, 26] Operation: 26/1=26
Exploring Operation: 1+25=26, Resulting Numbers: [26, 26]
Generated Node #0,2,1: 37:[26, 26] Operation: 1+25=26
Exploring Operation: 26*1=26, Resulting Numbers: [25, 26]
Generated Node #0,2,2: 37:[25, 26] Operation: 26*1=26
Exploring Operation: 26+1=27, Resulting Numbers: [25, 27]
Generated Node #0,2,3: 37:[25, 27] Operation: 26+1=27
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 37:[26, 26], Operations: ['90-65=25', '1+25=26']
Exploring Operation: 26*26=676, Resulting Numbers: [676]
676,37 unequal: No Solution
Exploring Operation: 26/26=1, Resulting Numbers: [1]
1,37 unequal: No Solution
Exploring Operation: 26-26=0, Resulting Numbers: [0]
0,37 unequal: No Solution
Exploring Operation: 26+26=52, Resulting Numbers: [52]
52,37 unequal: No Solution
No 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: 37:[25, 27], Operations: ['90-65=25', '26+1=27']
Exploring Operation: 25+27=52, Resulting Numbers: [52]
52,37 unequal: No Solution
Exploring Operation: 25*27=675, Resulting Numbers: [675]
675,37 unequal: No Solution
Exploring Operation: 27-25=2, Resulting Numbers: [2]
2,37 unequal: No Solution
No 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: 37:[25, 26], Operations: ['90-65=25', '26/1=26']
Exploring Operation: 25*26=650, Resulting Numbers: [650]
650,37 unequal: No Solution
Exploring Operation: 25+26=51, Resulting Numbers: [51]
51,37 unequal: No Solution
Exploring Operation: 26-25=1, Resulting Numbers: [1]
1,37 unequal: No Solution
No 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: 37:[25, 26], Operations: ['90-65=25', '26*1=26']
Exploring Operation: 25+26=51, Resulting Numbers: [51]
51,37 unequal: No Solution
Exploring Operation: 25*26=650, Resulting Numbers: [650]
650,37 unequal: No Solution
Exploring Operation: 26-25=1, Resulting Numbers: [1]
1,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[90, 65, 27], Operations: ['26+1=27']
Exploring Operation: 90-65=25, Resulting Numbers: [27, 25]
Generated Node #0,0,0: 37:[27, 25] Operation: 90-65=25
Exploring Operation: 90+27=117, Resulting Numbers: [65, 117]
Generated Node #0,0,1: 37:[65, 117] Operation: 90+27=117
Exploring Operation: 90-27=63, Resulting Numbers: [65, 63]
Generated Node #0,0,2: 37:[65, 63] Operation: 90-27=63
Exploring Operation: 65-27=38, Resulting Numbers: [90, 38]
Generated Node #0,0,3: 37:[90, 38] Operation: 65-27=38
Moving to Node #0,0,0
Current State: 37:[27, 25], Operations: ['26+1=27', '90-65=25']
Exploring Operation: 27-25=2, Resulting Numbers: [2]
2,37 unequal: No Solution
Exploring Operation: 27+25=52, Resulting Numbers: [52]
52,37 unequal: No Solution
Exploring Operation: 27*25=675, Resulting Numbers: [675]
675,37 unequal: No Solution
Moving to Node #0,0,3
Current State: 37:[90, 38], Operations: ['26+1=27', '65-27=38']
Exploring Operation: 90+38=128, Resulting Numbers: [128]
128,37 unequal: No Solution
Exploring Operation: 90-38=52, Resulting Numbers: [52]
52,37 unequal: No Solution
Exploring Operation: 90*38=3420, Resulting Numbers: [3420]
3420,37 unequal: No Solution
Moving to Node #0,0,2
Current State: 37:[65, 63], Operations: ['26+1=27', '90-27=63']
Exploring Operation: 65-63=2, Resulting Numbers: [2]
2,37 unequal: No Solution
Exploring Operation: 65+63=128, Resulting Numbers: [128]
128,37 unequal: No Solution
Exploring Operation: 65*63=4095, Resulting Numbers: [4095]
4095,37 unequal: No Solution
Moving to Node #0,0,1
Current State: 37:[65, 117], Operations: ['26+1=27', '90+27=117']
Exploring Operation: 117-65=52, Resulting Numbers: [52]
52,37 unequal: No Solution
Exploring Operation: 65+117=182, Resulting Numbers: [182]
182,37 unequal: No Solution
Exploring Operation: 65*117=7605, Resulting Numbers: [7605]
7605,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 37:[1, 90, 39], Operations: ['65-26=39']
Exploring Operation: 90-1=89, Resulting Numbers: [39, 89]
Generated Node #0,1,0: 37:[39, 89] Operation: 90-1=89
Exploring Operation: 39-1=38, Resulting Numbers: [90, 38]
Generated Node #0,1,1: 37:[90, 38] Operation: 39-1=38
Exploring Operation: 90-39=51, Resulting Numbers: [1, 51]
Generated Node #0,1,2: 37:[1, 51] Operation: 90-39=51
Exploring Operation: 1*90=90, Resulting Numbers: [39, 90]
Generated Node #0,1,3: 37:[39, 90] Operation: 1*90=90
Moving to Node #0,1,2
Current State: 37:[1, 51], Operations: ['65-26=39', '90-39=51']
Exploring Operation: 51/1=51, Resulting Numbers: [51]
51,37 unequal: No Solution
Exploring Operation: 1*51=51, Resulting Numbers: [51]
51,37 unequal: No Solution
Exploring Operation: 51-1=50, Resulting Numbers: [50]
50,37 unequal: No Solution
Exploring Operation: 1+51=52, Resulting Numbers: [52]
52,37 unequal: No Solution
Moving to Node #0,1,1
Current State: 37:[90, 38], Operations: ['65-26=39', '39-1=38']
Exploring Operation: 90*38=3420, Resulting Numbers: [3420]
3420,37 unequal: No Solution
Exploring Operation: 90-38=52, Resulting Numbers: [52]
52,37 unequal: No Solution
Exploring Operation: 90+38=128, Resulting Numbers: [128]
128,37 unequal: No Solution
Moving to Node #0,1,0
Current State: 37:[39, 89], Operations: ['65-26=39', '90-1=89']
Exploring Operation: 89-39=50, Resulting Numbers: [50]
50,37 unequal: No Solution
Exploring Operation: 39+89=128, Resulting Numbers: [128]
128,37 unequal: No Solution
Exploring Operation: 39*89=3471, Resulting Numbers: [3471]
3471,37 unequal: No Solution
Moving to Node #0,1,3
Current State: 37:[39, 90], Operations: ['65-26=39', '1*90=90']
Exploring Operation: 39*90=3510, Resulting Numbers: [3510]
3510,37 unequal: No Solution
Exploring Operation: 90-39=51, Resulting Numbers: [51]
51,37 unequal: No Solution
Exploring Operation: 39+90=129, Resulting Numbers: [129]
129,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 37:[1, 65, 64], Operations: ['90-26=64']
Exploring Operation: 65/1=65, Resulting Numbers: [64, 65]
Generated Node #0,3,0: 37:[64, 65] Operation: 65/1=65
Exploring Operation: 1*65=65, Resulting Numbers: [64, 65]
Generated Node #0,3,1: 37:[64, 65] Operation: 1*65=65
Exploring Operation: 64-1=63, Resulting Numbers: [65, 63]
Generated Node #0,3,2: 37:[65, 63] Operation: 64-1=63
Exploring Operation: 65-1=64, Resulting Numbers: [64, 64]
Generated Node #0,3,3: 37:[64, 64] Operation: 65-1=64
Moving to Node #0,3,2
Current State: 37:[65, 63], Operations: ['90-26=64', '64-1=63']
Exploring Operation: 65-63=2, Resulting Numbers: [2]
2,37 unequal: No Solution
Exploring Operation: 65+63=128, Resulting Numbers: [128]
128,37 unequal: No Solution
Exploring Operation: 65*63=4095, Resulting Numbers: [4095]
4095,37 unequal: No Solution
Moving to Node #0,3,3
Current State: 37:[64, 64], Operations: ['90-26=64', '65-1=64']
Exploring Operation: 64+64=128, Resulting Numbers: [128]
128,37 unequal: No Solution
Exploring Operation: 64/64=1, Resulting Numbers: [1]
1,37 unequal: No Solution
Exploring Operation: 64-64=0, Resulting Numbers: [0]
0,37 unequal: No Solution
Exploring Operation: 64*64=4096, Resulting Numbers: [4096]
4096,37 unequal: No Solution
Moving to Node #0,3,1
Current State: 37:[64, 65], Operations: ['90-26=64', '1*65=65']
Exploring Operation: 64*65=4160, Resulting Numbers: [4160]
4160,37 unequal: No Solution
Exploring Operation: 64+65=129, Resulting Numbers: [129]
129,37 unequal: No Solution
Exploring Operation: 65-64=1, Resulting Numbers: [1]
1,37 unequal: No Solution
Moving to Node #0,3,0
Current State: 37:[64, 65], Operations: ['90-26=64', '65/1=65']
Exploring Operation: 65-64=1, Resulting Numbers: [1]
1,37 unequal: No Solution
Exploring Operation: 64+65=129, Resulting Numbers: [129]
129,37 unequal: No Solution
Exploring Operation: 64*65=4160, Resulting Numbers: [4160]
4160,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_4
|
mult_heuristic
|
[
53,
33,
35,
5
] | 31
|
[
"53-33=20",
"20/5=4",
"35-4=31"
] |
Current State: 31:[53, 33, 35, 5], Operations: []
Exploring Operation: 53-33=20, Resulting Numbers: [35, 5, 20]
Generated Node #2: [35, 5, 20] from Operation: 53-33=20
Current State: 31:[35, 5, 20], Operations: ['53-33=20']
Exploring Operation: 20/5=4, Resulting Numbers: [35, 4]
Generated Node #3: [35, 4] from Operation: 20/5=4
Current State: 31:[35, 4], Operations: ['53-33=20', '20/5=4']
Exploring Operation: 35-4=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4
|
Current State: 31:[53, 33, 35, 5], Operations: []
Exploring Operation: 53+5=58, Resulting Numbers: [33, 35, 58]
Generated Node #0,0: 31:[33, 35, 58] Operation: 53+5=58
Exploring Operation: 35-5=30, Resulting Numbers: [53, 33, 30]
Generated Node #0,1: 31:[53, 33, 30] Operation: 35-5=30
Exploring Operation: 53-5=48, Resulting Numbers: [33, 35, 48]
Generated Node #0,2: 31:[33, 35, 48] Operation: 53-5=48
Exploring Operation: 33+5=38, Resulting Numbers: [53, 35, 38]
Generated Node #0,3: 31:[53, 35, 38] Operation: 33+5=38
Exploring Operation: 33-5=28, Resulting Numbers: [53, 35, 28]
Generated Node #0,4: 31:[53, 35, 28] Operation: 33-5=28
Moving to Node #0,2
Current State: 31:[33, 35, 48], Operations: ['53-5=48']
Exploring Operation: 33+35=68, Resulting Numbers: [48, 68]
Generated Node #0,2,0: 31:[48, 68] Operation: 33+35=68
Exploring Operation: 35-33=2, Resulting Numbers: [48, 2]
Generated Node #0,2,1: 31:[48, 2] Operation: 35-33=2
Exploring Operation: 33+48=81, Resulting Numbers: [35, 81]
Generated Node #0,2,2: 31:[35, 81] Operation: 33+48=81
Exploring Operation: 48-35=13, Resulting Numbers: [33, 13]
Generated Node #0,2,3: 31:[33, 13] Operation: 48-35=13
Exploring Operation: 48-33=15, Resulting Numbers: [35, 15]
Generated Node #0,2,4: 31:[35, 15] Operation: 48-33=15
Moving to Node #0,1
Current State: 31:[53, 33, 30], Operations: ['35-5=30']
Exploring Operation: 33-30=3, Resulting Numbers: [53, 3]
Generated Node #0,1,0: 31:[53, 3] Operation: 33-30=3
Exploring Operation: 33+30=63, Resulting Numbers: [53, 63]
Generated Node #0,1,1: 31:[53, 63] Operation: 33+30=63
Exploring Operation: 53-30=23, Resulting Numbers: [33, 23]
Generated Node #0,1,2: 31:[33, 23] Operation: 53-30=23
Exploring Operation: 53-33=20, Resulting Numbers: [30, 20]
Generated Node #0,1,3: 31:[30, 20] Operation: 53-33=20
Exploring Operation: 53+30=83, Resulting Numbers: [33, 83]
Generated Node #0,1,4: 31:[33, 83] Operation: 53+30=83
Moving to Node #0,4
Current State: 31:[53, 35, 28], Operations: ['33-5=28']
Exploring Operation: 53+28=81, Resulting Numbers: [35, 81]
Generated Node #0,4,0: 31:[35, 81] Operation: 53+28=81
Exploring Operation: 53-35=18, Resulting Numbers: [28, 18]
Generated Node #0,4,1: 31:[28, 18] Operation: 53-35=18
Exploring Operation: 35-28=7, Resulting Numbers: [53, 7]
Generated Node #0,4,2: 31:[53, 7] Operation: 35-28=7
Exploring Operation: 53-28=25, Resulting Numbers: [35, 25]
Generated Node #0,4,3: 31:[35, 25] Operation: 53-28=25
Exploring Operation: 35+28=63, Resulting Numbers: [53, 63]
Generated Node #0,4,4: 31:[53, 63] Operation: 35+28=63
Moving to Node #0,0
Current State: 31:[33, 35, 58], Operations: ['53+5=58']
Exploring Operation: 33+58=91, Resulting Numbers: [35, 91]
Generated Node #0,0,0: 31:[35, 91] Operation: 33+58=91
Exploring Operation: 58-33=25, Resulting Numbers: [35, 25]
Generated Node #0,0,1: 31:[35, 25] Operation: 58-33=25
Exploring Operation: 35-33=2, Resulting Numbers: [58, 2]
Generated Node #0,0,2: 31:[58, 2] Operation: 35-33=2
Exploring Operation: 33+35=68, Resulting Numbers: [58, 68]
Generated Node #0,0,3: 31:[58, 68] Operation: 33+35=68
Exploring Operation: 58-35=23, Resulting Numbers: [33, 23]
Generated Node #0,0,4: 31:[33, 23] Operation: 58-35=23
Moving to Node #0,3
Current State: 31:[53, 35, 38], Operations: ['33+5=38']
Exploring Operation: 53+38=91, Resulting Numbers: [35, 91]
Generated Node #0,3,0: 31:[35, 91] Operation: 53+38=91
Exploring Operation: 53-38=15, Resulting Numbers: [35, 15]
Generated Node #0,3,1: 31:[35, 15] Operation: 53-38=15
Exploring Operation: 53+35=88, Resulting Numbers: [38, 88]
Generated Node #0,3,2: 31:[38, 88] Operation: 53+35=88
Exploring Operation: 38-35=3, Resulting Numbers: [53, 3]
Generated Node #0,3,3: 31:[53, 3] Operation: 38-35=3
Exploring Operation: 53-35=18, Resulting Numbers: [38, 18]
Generated Node #0,3,4: 31:[38, 18] Operation: 53-35=18
Moving to Node #0,1,2
Current State: 31:[33, 23], Operations: ['35-5=30', '53-30=23']
Exploring Operation: 33*23=759, Resulting Numbers: [759]
759,31 unequal: No Solution
Exploring Operation: 33-23=10, Resulting Numbers: [10]
10,31 unequal: No Solution
Exploring Operation: 33+23=56, Resulting Numbers: [56]
56,31 unequal: No Solution
Moving to Node #0,4,3
Current State: 31:[35, 25], Operations: ['33-5=28', '53-28=25']
Exploring Operation: 35*25=875, Resulting Numbers: [875]
875,31 unequal: No Solution
Exploring Operation: 35+25=60, Resulting Numbers: [60]
60,31 unequal: No Solution
Exploring Operation: 35-25=10, Resulting Numbers: [10]
10,31 unequal: No Solution
Moving to Node #0,0,1
Current State: 31:[35, 25], Operations: ['53+5=58', '58-33=25']
Exploring Operation: 35*25=875, Resulting Numbers: [875]
875,31 unequal: No Solution
Exploring Operation: 35-25=10, Resulting Numbers: [10]
10,31 unequal: No Solution
Exploring Operation: 35+25=60, Resulting Numbers: [60]
60,31 unequal: No Solution
Moving to Node #0,0,4
Current State: 31:[33, 23], Operations: ['53+5=58', '58-35=23']
Exploring Operation: 33-23=10, Resulting Numbers: [10]
10,31 unequal: No Solution
Exploring Operation: 33+23=56, Resulting Numbers: [56]
56,31 unequal: No Solution
Exploring Operation: 33*23=759, Resulting Numbers: [759]
759,31 unequal: No Solution
Moving to Node #0,1,3
Current State: 31:[30, 20], Operations: ['35-5=30', '53-33=20']
Exploring Operation: 30+20=50, Resulting Numbers: [50]
50,31 unequal: No Solution
Exploring Operation: 30*20=600, Resulting Numbers: [600]
600,31 unequal: No Solution
Exploring Operation: 30-20=10, Resulting Numbers: [10]
10,31 unequal: No Solution
Moving to Node #0,4,1
Current State: 31:[28, 18], Operations: ['33-5=28', '53-35=18']
Exploring Operation: 28+18=46, Resulting Numbers: [46]
46,31 unequal: No Solution
Exploring Operation: 28-18=10, Resulting Numbers: [10]
10,31 unequal: No Solution
Exploring Operation: 28*18=504, Resulting Numbers: [504]
504,31 unequal: No Solution
Moving to Node #0,2,3
Current State: 31:[33, 13], Operations: ['53-5=48', '48-35=13']
Exploring Operation: 33-13=20, Resulting Numbers: [20]
20,31 unequal: No Solution
Exploring Operation: 33*13=429, Resulting Numbers: [429]
429,31 unequal: No Solution
Exploring Operation: 33+13=46, Resulting Numbers: [46]
46,31 unequal: No Solution
Moving to Node #0,2,4
Current State: 31:[35, 15], Operations: ['53-5=48', '48-33=15']
Exploring Operation: 35+15=50, Resulting Numbers: [50]
50,31 unequal: No Solution
Exploring Operation: 35-15=20, Resulting Numbers: [20]
20,31 unequal: No Solution
Exploring Operation: 35*15=525, Resulting Numbers: [525]
525,31 unequal: No Solution
Moving to Node #0,3,4
Current State: 31:[38, 18], Operations: ['33+5=38', '53-35=18']
Exploring Operation: 38-18=20, Resulting Numbers: [20]
20,31 unequal: No Solution
Exploring Operation: 38+18=56, Resulting Numbers: [56]
56,31 unequal: No Solution
Exploring Operation: 38*18=684, Resulting Numbers: [684]
684,31 unequal: No Solution
Moving to Node #0,3,1
Current State: 31:[35, 15], Operations: ['33+5=38', '53-38=15']
Exploring Operation: 35+15=50, Resulting Numbers: [50]
50,31 unequal: No Solution
Exploring Operation: 35-15=20, Resulting Numbers: [20]
20,31 unequal: No Solution
Exploring Operation: 35*15=525, Resulting Numbers: [525]
525,31 unequal: No Solution
Moving to Node #0,4,2
Current State: 31:[53, 7], Operations: ['33-5=28', '35-28=7']
Exploring Operation: 53+7=60, Resulting Numbers: [60]
60,31 unequal: No Solution
Exploring Operation: 53-7=46, Resulting Numbers: [46]
46,31 unequal: No Solution
Exploring Operation: 53*7=371, Resulting Numbers: [371]
371,31 unequal: No Solution
Moving to Node #0,2,1
Current State: 31:[48, 2], Operations: ['53-5=48', '35-33=2']
Exploring Operation: 48+2=50, Resulting Numbers: [50]
50,31 unequal: No Solution
Exploring Operation: 48*2=96, Resulting Numbers: [96]
96,31 unequal: No Solution
Exploring Operation: 48/2=24, Resulting Numbers: [24]
24,31 unequal: No Solution
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,31 unequal: No Solution
Moving to Node #0,3,3
Current State: 31:[53, 3], Operations: ['33+5=38', '38-35=3']
Exploring Operation: 53*3=159, Resulting Numbers: [159]
159,31 unequal: No Solution
Exploring Operation: 53-3=50, Resulting Numbers: [50]
50,31 unequal: No Solution
Exploring Operation: 53+3=56, Resulting Numbers: [56]
56,31 unequal: No Solution
Moving to Node #0,1,0
Current State: 31:[53, 3], Operations: ['35-5=30', '33-30=3']
Exploring Operation: 53*3=159, Resulting Numbers: [159]
159,31 unequal: No Solution
Exploring Operation: 53+3=56, Resulting Numbers: [56]
56,31 unequal: No Solution
Exploring Operation: 53-3=50, Resulting Numbers: [50]
50,31 unequal: No Solution
Moving to Node #0,4,4
Current State: 31:[53, 63], Operations: ['33-5=28', '35+28=63']
Exploring Operation: 63-53=10, Resulting Numbers: [10]
10,31 unequal: No Solution
Exploring Operation: 53+63=116, Resulting Numbers: [116]
116,31 unequal: No Solution
Exploring Operation: 53*63=3339, Resulting Numbers: [3339]
3339,31 unequal: No Solution
Moving to Node #0,4,0
Current State: 31:[35, 81], Operations: ['33-5=28', '53+28=81']
Exploring Operation: 35+81=116, Resulting Numbers: [116]
116,31 unequal: No Solution
Exploring Operation: 35*81=2835, Resulting Numbers: [2835]
2835,31 unequal: No Solution
Exploring Operation: 81-35=46, Resulting Numbers: [46]
46,31 unequal: No Solution
Moving to Node #0,2,2
Current State: 31:[35, 81], Operations: ['53-5=48', '33+48=81']
Exploring Operation: 35+81=116, Resulting Numbers: [116]
116,31 unequal: No Solution
Exploring Operation: 35*81=2835, Resulting Numbers: [2835]
2835,31 unequal: No Solution
Exploring Operation: 81-35=46, Resulting Numbers: [46]
46,31 unequal: No Solution
Moving to Node #0,1,1
Current State: 31:[53, 63], Operations: ['35-5=30', '33+30=63']
Exploring Operation: 53+63=116, Resulting Numbers: [116]
116,31 unequal: No Solution
Exploring Operation: 53*63=3339, Resulting Numbers: [3339]
3339,31 unequal: No Solution
Exploring Operation: 63-53=10, Resulting Numbers: [10]
10,31 unequal: No Solution
Moving to Node #0,1,4
Current State: 31:[33, 83], Operations: ['35-5=30', '53+30=83']
Exploring Operation: 33+83=116, Resulting Numbers: [116]
116,31 unequal: No Solution
Exploring Operation: 33*83=2739, Resulting Numbers: [2739]
2739,31 unequal: No Solution
Exploring Operation: 83-33=50, Resulting Numbers: [50]
50,31 unequal: No Solution
Moving to Node #0,2,0
Current State: 31:[48, 68], Operations: ['53-5=48', '33+35=68']
Exploring Operation: 48+68=116, Resulting Numbers: [116]
116,31 unequal: No Solution
Exploring Operation: 48*68=3264, Resulting Numbers: [3264]
3264,31 unequal: No Solution
Exploring Operation: 68-48=20, Resulting Numbers: [20]
20,31 unequal: No Solution
Moving to Node #0,0,2
Current State: 31:[58, 2], Operations: ['53+5=58', '35-33=2']
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,31 unequal: No Solution
Exploring Operation: 58/2=29, Resulting Numbers: [29]
29,31 unequal: No Solution
Exploring Operation: 58*2=116, Resulting Numbers: [116]
116,31 unequal: No Solution
Exploring Operation: 58+2=60, Resulting Numbers: [60]
60,31 unequal: No Solution
Moving to Node #0,0,3
Current State: 31:[58, 68], Operations: ['53+5=58', '33+35=68']
Exploring Operation: 58*68=3944, Resulting Numbers: [3944]
3944,31 unequal: No Solution
Exploring Operation: 68-58=10, Resulting Numbers: [10]
10,31 unequal: No Solution
Exploring Operation: 58+68=126, Resulting Numbers: [126]
126,31 unequal: No Solution
Moving to Node #0,3,2
Current State: 31:[38, 88], Operations: ['33+5=38', '53+35=88']
Exploring Operation: 88-38=50, Resulting Numbers: [50]
50,31 unequal: No Solution
Exploring Operation: 38+88=126, Resulting Numbers: [126]
126,31 unequal: No Solution
Exploring Operation: 38*88=3344, Resulting Numbers: [3344]
3344,31 unequal: No Solution
Moving to Node #0,0,0
Current State: 31:[35, 91], Operations: ['53+5=58', '33+58=91']
Exploring Operation: 35*91=3185, Resulting Numbers: [3185]
3185,31 unequal: No Solution
Exploring Operation: 91-35=56, Resulting Numbers: [56]
56,31 unequal: No Solution
Exploring Operation: 35+91=126, Resulting Numbers: [126]
126,31 unequal: No Solution
Moving to Node #0,3,0
Current State: 31:[35, 91], Operations: ['33+5=38', '53+38=91']
Exploring Operation: 91-35=56, Resulting Numbers: [56]
56,31 unequal: No Solution
Exploring Operation: 35+91=126, Resulting Numbers: [126]
126,31 unequal: No Solution
Exploring Operation: 35*91=3185, Resulting Numbers: [3185]
3185,31 unequal: No Solution
No solution found.
| 0
|
hs_5
|
sum_heuristic
|
[
8,
71,
1,
16
] | 35
|
[
"16/8=2",
"71-1=70",
"70/2=35"
] |
Current State: 35:[8, 71, 1, 16], Operations: []
Exploring Operation: 16/8=2, Resulting Numbers: [71, 1, 2]
Generated Node #2: [71, 1, 2] from Operation: 16/8=2
Current State: 35:[71, 1, 2], Operations: ['16/8=2']
Exploring Operation: 71-1=70, Resulting Numbers: [2, 70]
Generated Node #3: [2, 70] from Operation: 71-1=70
Current State: 35:[2, 70], Operations: ['16/8=2', '71-1=70']
Exploring Operation: 70/2=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4
|
Current State: 35:[8, 71, 1, 16], Operations: []
Exploring Operation: 71-16=55, Resulting Numbers: [8, 1, 55]
Generated Node #0,0: 35:[8, 1, 55] Operation: 71-16=55
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[8, 1, 55], Operations: ['71-16=55']
Exploring Operation: 55-8=47, Resulting Numbers: [1, 47]
Generated Node #0,0,0: 35:[1, 47] Operation: 55-8=47
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 35:[1, 47], Operations: ['71-16=55', '55-8=47']
Exploring Operation: 47-1=46, Resulting Numbers: [46]
46,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_1
|
mult_heuristic
|
[
11,
2,
17,
22
] | 72
|
[
"11+17=28",
"2*22=44",
"28+44=72"
] |
Current State: 72:[11, 2, 17, 22], Operations: []
Exploring Operation: 11+17=28, Resulting Numbers: [2, 22, 28]
Generated Node #2: [2, 22, 28] from Operation: 11+17=28
Current State: 72:[2, 22, 28], Operations: ['11+17=28']
Exploring Operation: 2*22=44, Resulting Numbers: [28, 44]
Generated Node #3: [28, 44] from Operation: 2*22=44
Current State: 72:[28, 44], Operations: ['11+17=28', '2*22=44']
Exploring Operation: 28+44=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4
|
Current State: 72:[11, 2, 17, 22], Operations: []
Exploring Operation: 22-11=11, Resulting Numbers: [2, 17, 11]
Generated Node #0,0: 72:[2, 17, 11] Operation: 22-11=11
Exploring Operation: 17-11=6, Resulting Numbers: [2, 22, 6]
Generated Node #0,1: 72:[2, 22, 6] Operation: 17-11=6
Exploring Operation: 22/11=2, Resulting Numbers: [2, 17, 2]
Generated Node #0,2: 72:[2, 17, 2] Operation: 22/11=2
Exploring Operation: 2+22=24, Resulting Numbers: [11, 17, 24]
Generated Node #0,3: 72:[11, 17, 24] Operation: 2+22=24
Moving to Node #0,2
Current State: 72:[2, 17, 2], Operations: ['22/11=2']
Exploring Operation: 2*2=4, Resulting Numbers: [17, 4]
Generated Node #0,2,0: 72:[17, 4] Operation: 2*2=4
Exploring Operation: 2+2=4, Resulting Numbers: [17, 4]
Generated Node #0,2,1: 72:[17, 4] Operation: 2+2=4
Exploring Operation: 2+17=19, Resulting Numbers: [2, 19]
Generated Node #0,2,2: 72:[2, 19] Operation: 2+17=19
Exploring Operation: 17+2=19, Resulting Numbers: [2, 19]
Generated Node #0,2,3: 72:[2, 19] Operation: 17+2=19
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 72:[17, 4], Operations: ['22/11=2', '2*2=4']
Exploring Operation: 17*4=68, Resulting Numbers: [68]
68,72 unequal: No Solution
Exploring Operation: 17+4=21, Resulting Numbers: [21]
21,72 unequal: No Solution
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,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:[17, 4], Operations: ['22/11=2', '2+2=4']
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,72 unequal: No Solution
Exploring Operation: 17*4=68, Resulting Numbers: [68]
68,72 unequal: No Solution
Exploring Operation: 17+4=21, Resulting Numbers: [21]
21,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:[2, 19], Operations: ['22/11=2', '2+17=19']
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,72 unequal: No Solution
Exploring Operation: 2+19=21, Resulting Numbers: [21]
21,72 unequal: No Solution
Exploring Operation: 2*19=38, Resulting Numbers: [38]
38,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,3
Current State: 72:[2, 19], Operations: ['22/11=2', '17+2=19']
Exploring Operation: 2+19=21, Resulting Numbers: [21]
21,72 unequal: No Solution
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,72 unequal: No Solution
Exploring Operation: 2*19=38, Resulting Numbers: [38]
38,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:[2, 22, 6], Operations: ['17-11=6']
Exploring Operation: 2+6=8, Resulting Numbers: [22, 8]
Generated Node #0,1,0: 72:[22, 8] Operation: 2+6=8
Exploring Operation: 22-2=20, Resulting Numbers: [6, 20]
Generated Node #0,1,1: 72:[6, 20] Operation: 22-2=20
Exploring Operation: 2+22=24, Resulting Numbers: [6, 24]
Generated Node #0,1,2: 72:[6, 24] Operation: 2+22=24
Exploring Operation: 22/2=11, Resulting Numbers: [6, 11]
Generated Node #0,1,3: 72:[6, 11] Operation: 22/2=11
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 72:[6, 24], Operations: ['17-11=6', '2+22=24']
Exploring Operation: 24-6=18, Resulting Numbers: [18]
18,72 unequal: No Solution
Exploring Operation: 6*24=144, Resulting Numbers: [144]
144,72 unequal: No Solution
Exploring Operation: 24/6=4, Resulting Numbers: [4]
4,72 unequal: No Solution
Exploring Operation: 6+24=30, Resulting Numbers: [30]
30,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,3
Current State: 72:[6, 11], Operations: ['17-11=6', '22/2=11']
Exploring Operation: 6*11=66, Resulting Numbers: [66]
66,72 unequal: No Solution
Exploring Operation: 6+11=17, Resulting Numbers: [17]
17,72 unequal: No Solution
Exploring Operation: 11-6=5, Resulting Numbers: [5]
5,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:[22, 8], Operations: ['17-11=6', '2+6=8']
Exploring Operation: 22-8=14, Resulting Numbers: [14]
14,72 unequal: No Solution
Exploring Operation: 22+8=30, Resulting Numbers: [30]
30,72 unequal: No Solution
Exploring Operation: 22*8=176, Resulting Numbers: [176]
176,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:[6, 20], Operations: ['17-11=6', '22-2=20']
Exploring Operation: 6*20=120, Resulting Numbers: [120]
120,72 unequal: No Solution
Exploring Operation: 6+20=26, Resulting Numbers: [26]
26,72 unequal: No Solution
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,72 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: 72:[2, 17, 11], Operations: ['22-11=11']
Exploring Operation: 2+17=19, Resulting Numbers: [11, 19]
Generated Node #0,0,0: 72:[11, 19] Operation: 2+17=19
Exploring Operation: 11-2=9, Resulting Numbers: [17, 9]
Generated Node #0,0,1: 72:[17, 9] Operation: 11-2=9
Exploring Operation: 17-11=6, Resulting Numbers: [2, 6]
Generated Node #0,0,2: 72:[2, 6] Operation: 17-11=6
Exploring Operation: 2+11=13, Resulting Numbers: [17, 13]
Generated Node #0,0,3: 72:[17, 13] Operation: 2+11=13
Moving to Node #0,3
Current State: 72:[11, 17, 24], Operations: ['2+22=24']
Exploring Operation: 24-17=7, Resulting Numbers: [11, 7]
Generated Node #0,3,0: 72:[11, 7] Operation: 24-17=7
Exploring Operation: 24-11=13, Resulting Numbers: [17, 13]
Generated Node #0,3,1: 72:[17, 13] Operation: 24-11=13
Exploring Operation: 17-11=6, Resulting Numbers: [24, 6]
Generated Node #0,3,2: 72:[24, 6] Operation: 17-11=6
Exploring Operation: 11+24=35, Resulting Numbers: [17, 35]
Generated Node #0,3,3: 72:[17, 35] Operation: 11+24=35
Moving to Node #0,0,2
Current State: 72:[2, 6], Operations: ['22-11=11', '17-11=6']
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,72 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,72 unequal: No Solution
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,72 unequal: No Solution
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,72 unequal: No Solution
Moving to Node #0,3,2
Current State: 72:[24, 6], Operations: ['2+22=24', '17-11=6']
Exploring Operation: 24+6=30, Resulting Numbers: [30]
30,72 unequal: No Solution
Exploring Operation: 24*6=144, Resulting Numbers: [144]
144,72 unequal: No Solution
Exploring Operation: 24-6=18, Resulting Numbers: [18]
18,72 unequal: No Solution
Exploring Operation: 24/6=4, Resulting Numbers: [4]
4,72 unequal: No Solution
Moving to Node #0,0,1
Current State: 72:[17, 9], Operations: ['22-11=11', '11-2=9']
Exploring Operation: 17+9=26, Resulting Numbers: [26]
26,72 unequal: No Solution
Exploring Operation: 17*9=153, Resulting Numbers: [153]
153,72 unequal: No Solution
Exploring Operation: 17-9=8, Resulting Numbers: [8]
8,72 unequal: No Solution
Moving to Node #0,0,0
Current State: 72:[11, 19], Operations: ['22-11=11', '2+17=19']
Exploring Operation: 19-11=8, Resulting Numbers: [8]
8,72 unequal: No Solution
Exploring Operation: 11*19=209, Resulting Numbers: [209]
209,72 unequal: No Solution
Exploring Operation: 11+19=30, Resulting Numbers: [30]
30,72 unequal: No Solution
Moving to Node #0,3,0
Current State: 72:[11, 7], Operations: ['2+22=24', '24-17=7']
Exploring Operation: 11*7=77, Resulting Numbers: [77]
77,72 unequal: No Solution
Exploring Operation: 11-7=4, Resulting Numbers: [4]
4,72 unequal: No Solution
Exploring Operation: 11+7=18, Resulting Numbers: [18]
18,72 unequal: No Solution
Moving to Node #0,3,1
Current State: 72:[17, 13], Operations: ['2+22=24', '24-11=13']
Exploring Operation: 17*13=221, Resulting Numbers: [221]
221,72 unequal: No Solution
Exploring Operation: 17-13=4, Resulting Numbers: [4]
4,72 unequal: No Solution
Exploring Operation: 17+13=30, Resulting Numbers: [30]
30,72 unequal: No Solution
Moving to Node #0,3,3
Current State: 72:[17, 35], Operations: ['2+22=24', '11+24=35']
Exploring Operation: 35-17=18, Resulting Numbers: [18]
18,72 unequal: No Solution
Exploring Operation: 17*35=595, Resulting Numbers: [595]
595,72 unequal: No Solution
Exploring Operation: 17+35=52, Resulting Numbers: [52]
52,72 unequal: No Solution
Moving to Node #0,0,3
Current State: 72:[17, 13], Operations: ['22-11=11', '2+11=13']
Exploring Operation: 17*13=221, Resulting Numbers: [221]
221,72 unequal: No Solution
Exploring Operation: 17-13=4, Resulting Numbers: [4]
4,72 unequal: No Solution
Exploring Operation: 17+13=30, Resulting Numbers: [30]
30,72 unequal: No Solution
No solution found.
| 0
|
hs_4
|
mult_heuristic
|
[
24,
33,
8,
6
] | 21
|
[
"24/6=4",
"33-8=25",
"25-4=21"
] |
Current State: 21:[24, 33, 8, 6], Operations: []
Exploring Operation: 24/6=4, Resulting Numbers: [33, 8, 4]
Generated Node #2: [33, 8, 4] from Operation: 24/6=4
Current State: 21:[33, 8, 4], Operations: ['24/6=4']
Exploring Operation: 33-8=25, Resulting Numbers: [4, 25]
Generated Node #3: [4, 25] from Operation: 33-8=25
Current State: 21:[4, 25], Operations: ['24/6=4', '33-8=25']
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4
|
Current State: 21:[24, 33, 8, 6], Operations: []
Exploring Operation: 33-24=9, Resulting Numbers: [8, 6, 9]
Generated Node #0,0: 21:[8, 6, 9] Operation: 33-24=9
Exploring Operation: 33-8=25, Resulting Numbers: [24, 6, 25]
Generated Node #0,1: 21:[24, 6, 25] Operation: 33-8=25
Exploring Operation: 24/6=4, Resulting Numbers: [33, 8, 4]
Generated Node #0,2: 21:[33, 8, 4] Operation: 24/6=4
Exploring Operation: 33-6=27, Resulting Numbers: [24, 8, 27]
Generated Node #0,3: 21:[24, 8, 27] Operation: 33-6=27
Exploring Operation: 24/8=3, Resulting Numbers: [33, 6, 3]
Generated Node #0,4: 21:[33, 6, 3] Operation: 24/8=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 21:[8, 6, 9], Operations: ['33-24=9']
Exploring Operation: 6+9=15, Resulting Numbers: [8, 15]
Generated Node #0,0,0: 21:[8, 15] Operation: 6+9=15
Exploring Operation: 9-8=1, Resulting Numbers: [6, 1]
Generated Node #0,0,1: 21:[6, 1] Operation: 9-8=1
Exploring Operation: 9-6=3, Resulting Numbers: [8, 3]
Generated Node #0,0,2: 21:[8, 3] Operation: 9-6=3
Exploring Operation: 8+9=17, Resulting Numbers: [6, 17]
Generated Node #0,0,3: 21:[6, 17] Operation: 8+9=17
Exploring Operation: 8-6=2, Resulting Numbers: [9, 2]
Generated Node #0,0,4: 21:[9, 2] Operation: 8-6=2
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 21:[8, 3], Operations: ['33-24=9', '9-6=3']
Exploring Operation: 8*3=24, Resulting Numbers: [24]
24,21 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,21 unequal: No Solution
Exploring Operation: 8+3=11, Resulting Numbers: [11]
11,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 21:[6, 1], Operations: ['33-24=9', '9-8=1']
Exploring Operation: 6*1=6, Resulting Numbers: [6]
6,21 unequal: No Solution
Exploring Operation: 6-1=5, Resulting Numbers: [5]
5,21 unequal: No Solution
Exploring Operation: 6+1=7, Resulting Numbers: [7]
7,21 unequal: No Solution
Exploring Operation: 6/1=6, Resulting Numbers: [6]
6,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 21:[9, 2], Operations: ['33-24=9', '8-6=2']
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,21 unequal: No Solution
Exploring Operation: 9+2=11, Resulting Numbers: [11]
11,21 unequal: No Solution
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 21:[6, 17], Operations: ['33-24=9', '8+9=17']
Exploring Operation: 6*17=102, Resulting Numbers: [102]
102,21 unequal: No Solution
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,21 unequal: No Solution
Exploring Operation: 6+17=23, Resulting Numbers: [23]
23,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 21:[8, 15], Operations: ['33-24=9', '6+9=15']
Exploring Operation: 8*15=120, Resulting Numbers: [120]
120,21 unequal: No Solution
Exploring Operation: 8+15=23, Resulting Numbers: [23]
23,21 unequal: No Solution
Exploring Operation: 15-8=7, Resulting Numbers: [7]
7,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 21:[24, 6, 25], Operations: ['33-8=25']
Exploring Operation: 25-6=19, Resulting Numbers: [24, 19]
Generated Node #0,1,0: 21:[24, 19] Operation: 25-6=19
Exploring Operation: 24-6=18, Resulting Numbers: [25, 18]
Generated Node #0,1,1: 21:[25, 18] Operation: 24-6=18
Exploring Operation: 24+6=30, Resulting Numbers: [25, 30]
Generated Node #0,1,2: 21:[25, 30] Operation: 24+6=30
Exploring Operation: 25-24=1, Resulting Numbers: [6, 1]
Generated Node #0,1,3: 21:[6, 1] Operation: 25-24=1
Exploring Operation: 24/6=4, Resulting Numbers: [25, 4]
Generated Node #0,1,4: 21:[25, 4] Operation: 24/6=4
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 21:[6, 1], Operations: ['33-8=25', '25-24=1']
Exploring Operation: 6*1=6, Resulting Numbers: [6]
6,21 unequal: No Solution
Exploring Operation: 6+1=7, Resulting Numbers: [7]
7,21 unequal: No Solution
Exploring Operation: 6-1=5, Resulting Numbers: [5]
5,21 unequal: No Solution
Exploring Operation: 6/1=6, Resulting Numbers: [6]
6,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 21:[24, 19], Operations: ['33-8=25', '25-6=19']
Exploring Operation: 24+19=43, Resulting Numbers: [43]
43,21 unequal: No Solution
Exploring Operation: 24*19=456, Resulting Numbers: [456]
456,21 unequal: No Solution
Exploring Operation: 24-19=5, Resulting Numbers: [5]
5,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 21:[25, 4], Operations: ['33-8=25', '24/6=4']
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[24, 33, 8, 6], Operations: []
Exploring Operation: 33-8=25, Resulting Numbers: [24, 6, 25]
Generated Node #0,1: 21:[24, 6, 25] Operation: 33-8=25
Moving to Node #0,1
Current State: 21:[24, 6, 25], Operations: ['33-8=25']
Exploring Operation: 24/6=4, Resulting Numbers: [25, 4]
Generated Node #0,1,4: 21:[25, 4] Operation: 24/6=4
Moving to Node #0,1,4
Current State: 21:[25, 4], Operations: ['33-8=25', '24/6=4']
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.962674
|
hs_5
|
mult_heuristic
|
[
29,
6,
37,
51
] | 49
|
[
"29+6=35",
"51-37=14",
"35+14=49"
] |
Current State: 49:[29, 6, 37, 51], Operations: []
Exploring Operation: 29+6=35, Resulting Numbers: [37, 51, 35]
Generated Node #2: [37, 51, 35] from Operation: 29+6=35
Current State: 49:[37, 51, 35], Operations: ['29+6=35']
Exploring Operation: 51-37=14, Resulting Numbers: [35, 14]
Generated Node #3: [35, 14] from Operation: 51-37=14
Current State: 49:[35, 14], Operations: ['29+6=35', '51-37=14']
Exploring Operation: 35+14=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4
|
Current State: 49:[29, 6, 37, 51], Operations: []
Exploring Operation: 29+37=66, Resulting Numbers: [6, 51, 66]
Generated Node #0,0: 49:[6, 51, 66] Operation: 29+37=66
Exploring Operation: 29+6=35, Resulting Numbers: [37, 51, 35]
Generated Node #0,1: 49:[37, 51, 35] Operation: 29+6=35
Exploring Operation: 51-29=22, Resulting Numbers: [6, 37, 22]
Generated Node #0,2: 49:[6, 37, 22] Operation: 51-29=22
Exploring Operation: 37-29=8, Resulting Numbers: [6, 51, 8]
Generated Node #0,3: 49:[6, 51, 8] Operation: 37-29=8
Exploring Operation: 6+37=43, Resulting Numbers: [29, 51, 43]
Generated Node #0,4: 49:[29, 51, 43] Operation: 6+37=43
Start Sub Search at level 1: Moving to Node #0,3
Current State: 49:[6, 51, 8], Operations: ['37-29=8']
Exploring Operation: 51-6=45, Resulting Numbers: [8, 45]
Generated Node #0,3,0: 49:[8, 45] Operation: 51-6=45
Exploring Operation: 6+51=57, Resulting Numbers: [8, 57]
Generated Node #0,3,1: 49:[8, 57] Operation: 6+51=57
Exploring Operation: 6*8=48, Resulting Numbers: [51, 48]
Generated Node #0,3,2: 49:[51, 48] Operation: 6*8=48
Exploring Operation: 8-6=2, Resulting Numbers: [51, 2]
Generated Node #0,3,3: 49:[51, 2] Operation: 8-6=2
Exploring Operation: 51-8=43, Resulting Numbers: [6, 43]
Generated Node #0,3,4: 49:[6, 43] Operation: 51-8=43
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 49:[51, 48], Operations: ['37-29=8', '6*8=48']
Exploring Operation: 51-48=3, Resulting Numbers: [3]
3,49 unequal: No Solution
Exploring Operation: 51+48=99, Resulting Numbers: [99]
99,49 unequal: No Solution
Exploring Operation: 51*48=2448, Resulting Numbers: [2448]
2448,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 49:[8, 45], Operations: ['37-29=8', '51-6=45']
Exploring Operation: 8+45=53, Resulting Numbers: [53]
53,49 unequal: No Solution
Exploring Operation: 8*45=360, Resulting Numbers: [360]
360,49 unequal: No Solution
Exploring Operation: 45-8=37, Resulting Numbers: [37]
37,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 49:[51, 2], Operations: ['37-29=8', '8-6=2']
Exploring Operation: 51*2=102, Resulting Numbers: [102]
102,49 unequal: No Solution
Exploring Operation: 51+2=53, Resulting Numbers: [53]
53,49 unequal: No Solution
Exploring Operation: 51-2=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[29, 6, 37, 51], Operations: []
Exploring Operation: 37-29=8, Resulting Numbers: [6, 51, 8]
Generated Node #0,3: 49:[6, 51, 8] Operation: 37-29=8
Moving to Node #0,3
Current State: 49:[6, 51, 8], Operations: ['37-29=8']
Exploring Operation: 8-6=2, Resulting Numbers: [51, 2]
Generated Node #0,3,3: 49:[51, 2] Operation: 8-6=2
Moving to Node #0,3,3
Current State: 49:[51, 2], Operations: ['37-29=8', '8-6=2']
Exploring Operation: 51-2=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980035
|
hs_5
|
sum_heuristic
|
[
5,
36,
44,
9
] | 27
|
[
"5+36=41",
"44-41=3",
"9*3=27"
] |
Current State: 27:[5, 36, 44, 9], Operations: []
Exploring Operation: 5+36=41, Resulting Numbers: [44, 9, 41]
Generated Node #2: [44, 9, 41] from Operation: 5+36=41
Current State: 27:[44, 9, 41], Operations: ['5+36=41']
Exploring Operation: 44-41=3, Resulting Numbers: [9, 3]
Generated Node #3: [9, 3] from Operation: 44-41=3
Current State: 27:[9, 3], Operations: ['5+36=41', '44-41=3']
Exploring Operation: 9*3=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4
|
Current State: 27:[5, 36, 44, 9], Operations: []
Exploring Operation: 44-36=8, Resulting Numbers: [5, 9, 8]
Generated Node #0,0: 27:[5, 9, 8] Operation: 44-36=8
Exploring Operation: 44-9=35, Resulting Numbers: [5, 36, 35]
Generated Node #0,1: 27:[5, 36, 35] Operation: 44-9=35
Exploring Operation: 36-9=27, Resulting Numbers: [5, 44, 27]
Generated Node #0,2: 27:[5, 44, 27] Operation: 36-9=27
Moving to Node #0,0
Current State: 27:[5, 9, 8], Operations: ['44-36=8']
Exploring Operation: 5+8=13, Resulting Numbers: [9, 13]
Generated Node #0,0,0: 27:[9, 13] Operation: 5+8=13
Exploring Operation: 9-5=4, Resulting Numbers: [8, 4]
Generated Node #0,0,1: 27:[8, 4] Operation: 9-5=4
Exploring Operation: 8-5=3, Resulting Numbers: [9, 3]
Generated Node #0,0,2: 27:[9, 3] Operation: 8-5=3
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 27:[9, 3], Operations: ['44-36=8', '8-5=3']
Exploring Operation: 9+3=12, Resulting Numbers: [12]
12,27 unequal: No Solution
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,27 unequal: No Solution
Exploring Operation: 9*3=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[5, 36, 44, 9], Operations: []
Exploring Operation: 44-36=8, Resulting Numbers: [5, 9, 8]
Generated Node #0,0: 27:[5, 9, 8] Operation: 44-36=8
Moving to Node #0,0
Current State: 27:[5, 9, 8], Operations: ['44-36=8']
Exploring Operation: 8-5=3, Resulting Numbers: [9, 3]
Generated Node #0,0,2: 27:[9, 3] Operation: 8-5=3
Moving to Node #0,0,2
Current State: 27:[9, 3], Operations: ['44-36=8', '8-5=3']
Exploring Operation: 9*3=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715
|
hs_3
|
mult_heuristic
|
[
98,
3,
60,
34
] | 24
|
[
"98-60=38",
"34+38=72",
"72/3=24"
] |
Current State: 24:[98, 3, 60, 34], Operations: []
Exploring Operation: 98-60=38, Resulting Numbers: [3, 34, 38]
Generated Node #2: [3, 34, 38] from Operation: 98-60=38
Current State: 24:[3, 34, 38], Operations: ['98-60=38']
Exploring Operation: 34+38=72, Resulting Numbers: [3, 72]
Generated Node #3: [3, 72] from Operation: 34+38=72
Current State: 24:[3, 72], Operations: ['98-60=38', '34+38=72']
Exploring Operation: 72/3=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4
|
Current State: 24:[98, 3, 60, 34], Operations: []
Exploring Operation: 98-60=38, Resulting Numbers: [3, 34, 38]
Generated Node #0,0: 24:[3, 34, 38] Operation: 98-60=38
Exploring Operation: 98-34=64, Resulting Numbers: [3, 60, 64]
Generated Node #0,1: 24:[3, 60, 64] Operation: 98-34=64
Exploring Operation: 60-34=26, Resulting Numbers: [98, 3, 26]
Generated Node #0,2: 24:[98, 3, 26] Operation: 60-34=26
Exploring Operation: 60/3=20, Resulting Numbers: [98, 34, 20]
Generated Node #0,3: 24:[98, 34, 20] Operation: 60/3=20
Moving to Node #0,0
Current State: 24:[3, 34, 38], Operations: ['98-60=38']
Exploring Operation: 3+34=37, Resulting Numbers: [38, 37]
Generated Node #0,0,0: 24:[38, 37] Operation: 3+34=37
Exploring Operation: 38-3=35, Resulting Numbers: [34, 35]
Generated Node #0,0,1: 24:[34, 35] Operation: 38-3=35
Exploring Operation: 38-34=4, Resulting Numbers: [3, 4]
Generated Node #0,0,2: 24:[3, 4] Operation: 38-34=4
Exploring Operation: 34-3=31, Resulting Numbers: [38, 31]
Generated Node #0,0,3: 24:[38, 31] Operation: 34-3=31
Moving to Node #0,2
Current State: 24:[98, 3, 26], Operations: ['60-34=26']
Exploring Operation: 26-3=23, Resulting Numbers: [98, 23]
Generated Node #0,2,0: 24:[98, 23] Operation: 26-3=23
Exploring Operation: 98-3=95, Resulting Numbers: [26, 95]
Generated Node #0,2,1: 24:[26, 95] Operation: 98-3=95
Exploring Operation: 98+3=101, Resulting Numbers: [26, 101]
Generated Node #0,2,2: 24:[26, 101] Operation: 98+3=101
Exploring Operation: 98-26=72, Resulting Numbers: [3, 72]
Generated Node #0,2,3: 24:[3, 72] Operation: 98-26=72
Moving to Node #0,1
Current State: 24:[3, 60, 64], Operations: ['98-34=64']
Exploring Operation: 64-60=4, Resulting Numbers: [3, 4]
Generated Node #0,1,0: 24:[3, 4] Operation: 64-60=4
Exploring Operation: 60/3=20, Resulting Numbers: [64, 20]
Generated Node #0,1,1: 24:[64, 20] Operation: 60/3=20
Exploring Operation: 60-3=57, Resulting Numbers: [64, 57]
Generated Node #0,1,2: 24:[64, 57] Operation: 60-3=57
Exploring Operation: 64-3=61, Resulting Numbers: [60, 61]
Generated Node #0,1,3: 24:[60, 61] Operation: 64-3=61
Moving to Node #0,3
Current State: 24:[98, 34, 20], Operations: ['60/3=20']
Exploring Operation: 34-20=14, Resulting Numbers: [98, 14]
Generated Node #0,3,0: 24:[98, 14] Operation: 34-20=14
Exploring Operation: 98-34=64, Resulting Numbers: [20, 64]
Generated Node #0,3,1: 24:[20, 64] Operation: 98-34=64
Exploring Operation: 98-20=78, Resulting Numbers: [34, 78]
Generated Node #0,3,2: 24:[34, 78] Operation: 98-20=78
Exploring Operation: 98+20=118, Resulting Numbers: [34, 118]
Generated Node #0,3,3: 24:[34, 118] Operation: 98+20=118
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 24:[20, 64], Operations: ['60/3=20', '98-34=64']
Exploring Operation: 64-20=44, Resulting Numbers: [44]
44,24 unequal: No Solution
Exploring Operation: 20*64=1280, Resulting Numbers: [1280]
1280,24 unequal: No Solution
Exploring Operation: 20+64=84, Resulting Numbers: [84]
84,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 24:[34, 78], Operations: ['60/3=20', '98-20=78']
Exploring Operation: 34+78=112, Resulting Numbers: [112]
112,24 unequal: No Solution
Exploring Operation: 34*78=2652, Resulting Numbers: [2652]
2652,24 unequal: No Solution
Exploring Operation: 78-34=44, Resulting Numbers: [44]
44,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 24:[98, 14], Operations: ['60/3=20', '34-20=14']
Exploring Operation: 98/14=7, Resulting Numbers: [7]
7,24 unequal: No Solution
Exploring Operation: 98+14=112, Resulting Numbers: [112]
112,24 unequal: No Solution
Exploring Operation: 98-14=84, Resulting Numbers: [84]
84,24 unequal: No Solution
Exploring Operation: 98*14=1372, Resulting Numbers: [1372]
1372,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 24:[34, 118], Operations: ['60/3=20', '98+20=118']
Exploring Operation: 118-34=84, Resulting Numbers: [84]
84,24 unequal: No Solution
Exploring Operation: 34*118=4012, Resulting Numbers: [4012]
4012,24 unequal: No Solution
Exploring Operation: 34+118=152, Resulting Numbers: [152]
152,24 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: 24:[3, 4], Operations: ['98-60=38', '38-34=4']
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,24 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,24 unequal: No Solution
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,24 unequal: No Solution
Moving to Node #0,1,0
Current State: 24:[3, 4], Operations: ['98-34=64', '64-60=4']
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,24 unequal: No Solution
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,24 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,24 unequal: No Solution
Moving to Node #0,0,3
Current State: 24:[38, 31], Operations: ['98-60=38', '34-3=31']
Exploring Operation: 38*31=1178, Resulting Numbers: [1178]
1178,24 unequal: No Solution
Exploring Operation: 38+31=69, Resulting Numbers: [69]
69,24 unequal: No Solution
Exploring Operation: 38-31=7, Resulting Numbers: [7]
7,24 unequal: No Solution
Moving to Node #0,0,1
Current State: 24:[34, 35], Operations: ['98-60=38', '38-3=35']
Exploring Operation: 35-34=1, Resulting Numbers: [1]
1,24 unequal: No Solution
Exploring Operation: 34+35=69, Resulting Numbers: [69]
69,24 unequal: No Solution
Exploring Operation: 34*35=1190, Resulting Numbers: [1190]
1190,24 unequal: No Solution
Moving to Node #0,0,0
Current State: 24:[38, 37], Operations: ['98-60=38', '3+34=37']
Exploring Operation: 38-37=1, Resulting Numbers: [1]
1,24 unequal: No Solution
Exploring Operation: 38+37=75, Resulting Numbers: [75]
75,24 unequal: No Solution
Exploring Operation: 38*37=1406, Resulting Numbers: [1406]
1406,24 unequal: No Solution
Moving to Node #0,1,1
Current State: 24:[64, 20], Operations: ['98-34=64', '60/3=20']
Exploring Operation: 64-20=44, Resulting Numbers: [44]
44,24 unequal: No Solution
Exploring Operation: 64+20=84, Resulting Numbers: [84]
84,24 unequal: No Solution
Exploring Operation: 64*20=1280, Resulting Numbers: [1280]
1280,24 unequal: No Solution
Moving to Node #0,2,3
Current State: 24:[3, 72], Operations: ['60-34=26', '98-26=72']
Exploring Operation: 72/3=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[98, 3, 60, 34], Operations: []
Exploring Operation: 60-34=26, Resulting Numbers: [98, 3, 26]
Generated Node #0,2: 24:[98, 3, 26] Operation: 60-34=26
Moving to Node #0,2
Current State: 24:[98, 3, 26], Operations: ['60-34=26']
Exploring Operation: 98-26=72, Resulting Numbers: [3, 72]
Generated Node #0,2,3: 24:[3, 72] Operation: 98-26=72
Moving to Node #0,2,3
Current State: 24:[3, 72], Operations: ['60-34=26', '98-26=72']
Exploring Operation: 72/3=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 0.951389
|
hs_4
|
sum_heuristic
|
[
45,
39,
34,
86
] | 60
|
[
"86-34=52",
"45*52=2340",
"2340/39=60"
] |
Current State: 60:[45, 39, 34, 86], Operations: []
Exploring Operation: 86-34=52, Resulting Numbers: [45, 39, 52]
Generated Node #2: [45, 39, 52] from Operation: 86-34=52
Current State: 60:[45, 39, 52], Operations: ['86-34=52']
Exploring Operation: 45*52=2340, Resulting Numbers: [39, 2340]
Generated Node #3: [39, 2340] from Operation: 45*52=2340
Current State: 60:[39, 2340], Operations: ['86-34=52', '45*52=2340']
Exploring Operation: 2340/39=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4
|
Current State: 60:[45, 39, 34, 86], Operations: []
Exploring Operation: 86-45=41, Resulting Numbers: [39, 34, 41]
Generated Node #0,0: 60:[39, 34, 41] Operation: 86-45=41
Exploring Operation: 45-39=6, Resulting Numbers: [34, 86, 6]
Generated Node #0,1: 60:[34, 86, 6] Operation: 45-39=6
Exploring Operation: 86-34=52, Resulting Numbers: [45, 39, 52]
Generated Node #0,2: 60:[45, 39, 52] Operation: 86-34=52
Exploring Operation: 86-39=47, Resulting Numbers: [45, 34, 47]
Generated Node #0,3: 60:[45, 34, 47] Operation: 86-39=47
Moving to Node #0,0
Current State: 60:[39, 34, 41], Operations: ['86-45=41']
Exploring Operation: 41-34=7, Resulting Numbers: [39, 7]
Generated Node #0,0,0: 60:[39, 7] Operation: 41-34=7
Exploring Operation: 39+34=73, Resulting Numbers: [41, 73]
Generated Node #0,0,1: 60:[41, 73] Operation: 39+34=73
Exploring Operation: 39-34=5, Resulting Numbers: [41, 5]
Generated Node #0,0,2: 60:[41, 5] Operation: 39-34=5
Exploring Operation: 41-39=2, Resulting Numbers: [34, 2]
Generated Node #0,0,3: 60:[34, 2] Operation: 41-39=2
Moving to Node #0,1
Current State: 60:[34, 86, 6], Operations: ['45-39=6']
Exploring Operation: 34+6=40, Resulting Numbers: [86, 40]
Generated Node #0,1,0: 60:[86, 40] Operation: 34+6=40
Exploring Operation: 34-6=28, Resulting Numbers: [86, 28]
Generated Node #0,1,1: 60:[86, 28] Operation: 34-6=28
Exploring Operation: 86-34=52, Resulting Numbers: [6, 52]
Generated Node #0,1,2: 60:[6, 52] Operation: 86-34=52
Exploring Operation: 86-6=80, Resulting Numbers: [34, 80]
Generated Node #0,1,3: 60:[34, 80] Operation: 86-6=80
Moving to Node #0,3
Current State: 60:[45, 34, 47], Operations: ['86-39=47']
Exploring Operation: 47-45=2, Resulting Numbers: [34, 2]
Generated Node #0,3,0: 60:[34, 2] Operation: 47-45=2
Exploring Operation: 45-34=11, Resulting Numbers: [47, 11]
Generated Node #0,3,1: 60:[47, 11] Operation: 45-34=11
Exploring Operation: 47-34=13, Resulting Numbers: [45, 13]
Generated Node #0,3,2: 60:[45, 13] Operation: 47-34=13
Exploring Operation: 45+34=79, Resulting Numbers: [47, 79]
Generated Node #0,3,3: 60:[47, 79] Operation: 45+34=79
Moving to Node #0,2
Current State: 60:[45, 39, 52], Operations: ['86-34=52']
Exploring Operation: 52-39=13, Resulting Numbers: [45, 13]
Generated Node #0,2,0: 60:[45, 13] Operation: 52-39=13
Exploring Operation: 52-45=7, Resulting Numbers: [39, 7]
Generated Node #0,2,1: 60:[39, 7] Operation: 52-45=7
Exploring Operation: 45+39=84, Resulting Numbers: [52, 84]
Generated Node #0,2,2: 60:[52, 84] Operation: 45+39=84
Exploring Operation: 45-39=6, Resulting Numbers: [52, 6]
Generated Node #0,2,3: 60:[52, 6] Operation: 45-39=6
Moving to Node #0,0,3
Current State: 60:[34, 2], Operations: ['86-45=41', '41-39=2']
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,60 unequal: No Solution
Exploring Operation: 34+2=36, Resulting Numbers: [36]
36,60 unequal: No Solution
Exploring Operation: 34*2=68, Resulting Numbers: [68]
68,60 unequal: No Solution
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,60 unequal: No Solution
Moving to Node #0,3,0
Current State: 60:[34, 2], Operations: ['86-39=47', '47-45=2']
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,60 unequal: No Solution
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,60 unequal: No Solution
Exploring Operation: 34+2=36, Resulting Numbers: [36]
36,60 unequal: No Solution
Exploring Operation: 34*2=68, Resulting Numbers: [68]
68,60 unequal: No Solution
Moving to Node #0,2,3
Current State: 60:[52, 6], Operations: ['86-34=52', '45-39=6']
Exploring Operation: 52*6=312, Resulting Numbers: [312]
312,60 unequal: No Solution
Exploring Operation: 52-6=46, Resulting Numbers: [46]
46,60 unequal: No Solution
Exploring Operation: 52+6=58, Resulting Numbers: [58]
58,60 unequal: No Solution
Moving to Node #0,1,2
Current State: 60:[6, 52], Operations: ['45-39=6', '86-34=52']
Exploring Operation: 6*52=312, Resulting Numbers: [312]
312,60 unequal: No Solution
Exploring Operation: 6+52=58, Resulting Numbers: [58]
58,60 unequal: No Solution
Exploring Operation: 52-6=46, Resulting Numbers: [46]
46,60 unequal: No Solution
Moving to Node #0,2,1
Current State: 60:[39, 7], Operations: ['86-34=52', '52-45=7']
Exploring Operation: 39*7=273, Resulting Numbers: [273]
273,60 unequal: No Solution
Exploring Operation: 39-7=32, Resulting Numbers: [32]
32,60 unequal: No Solution
Exploring Operation: 39+7=46, Resulting Numbers: [46]
46,60 unequal: No Solution
Moving to Node #0,0,0
Current State: 60:[39, 7], Operations: ['86-45=41', '41-34=7']
Exploring Operation: 39+7=46, Resulting Numbers: [46]
46,60 unequal: No Solution
Exploring Operation: 39-7=32, Resulting Numbers: [32]
32,60 unequal: No Solution
Exploring Operation: 39*7=273, Resulting Numbers: [273]
273,60 unequal: No Solution
Moving to Node #0,0,2
Current State: 60:[41, 5], Operations: ['86-45=41', '39-34=5']
Exploring Operation: 41-5=36, Resulting Numbers: [36]
36,60 unequal: No Solution
Exploring Operation: 41*5=205, Resulting Numbers: [205]
205,60 unequal: No Solution
Exploring Operation: 41+5=46, Resulting Numbers: [46]
46,60 unequal: No Solution
Moving to Node #0,3,1
Current State: 60:[47, 11], Operations: ['86-39=47', '45-34=11']
Exploring Operation: 47*11=517, Resulting Numbers: [517]
517,60 unequal: No Solution
Exploring Operation: 47+11=58, Resulting Numbers: [58]
58,60 unequal: No Solution
Exploring Operation: 47-11=36, Resulting Numbers: [36]
36,60 unequal: No Solution
Moving to Node #0,2,0
Current State: 60:[45, 13], Operations: ['86-34=52', '52-39=13']
Exploring Operation: 45*13=585, Resulting Numbers: [585]
585,60 unequal: No Solution
Exploring Operation: 45-13=32, Resulting Numbers: [32]
32,60 unequal: No Solution
Exploring Operation: 45+13=58, Resulting Numbers: [58]
58,60 unequal: No Solution
Moving to Node #0,3,2
Current State: 60:[45, 13], Operations: ['86-39=47', '47-34=13']
Exploring Operation: 45+13=58, Resulting Numbers: [58]
58,60 unequal: No Solution
Exploring Operation: 45*13=585, Resulting Numbers: [585]
585,60 unequal: No Solution
Exploring Operation: 45-13=32, Resulting Numbers: [32]
32,60 unequal: No Solution
Moving to Node #0,1,3
Current State: 60:[34, 80], Operations: ['45-39=6', '86-6=80']
Exploring Operation: 80-34=46, Resulting Numbers: [46]
46,60 unequal: No Solution
Exploring Operation: 34*80=2720, Resulting Numbers: [2720]
2720,60 unequal: No Solution
Exploring Operation: 34+80=114, Resulting Numbers: [114]
114,60 unequal: No Solution
Moving to Node #0,0,1
Current State: 60:[41, 73], Operations: ['86-45=41', '39+34=73']
Exploring Operation: 73-41=32, Resulting Numbers: [32]
32,60 unequal: No Solution
Exploring Operation: 41+73=114, Resulting Numbers: [114]
114,60 unequal: No Solution
Exploring Operation: 41*73=2993, Resulting Numbers: [2993]
2993,60 unequal: No Solution
Moving to Node #0,1,1
Current State: 60:[86, 28], Operations: ['45-39=6', '34-6=28']
Exploring Operation: 86+28=114, Resulting Numbers: [114]
114,60 unequal: No Solution
Exploring Operation: 86*28=2408, Resulting Numbers: [2408]
2408,60 unequal: No Solution
Exploring Operation: 86-28=58, Resulting Numbers: [58]
58,60 unequal: No Solution
Moving to Node #0,3,3
Current State: 60:[47, 79], Operations: ['86-39=47', '45+34=79']
Exploring Operation: 47+79=126, Resulting Numbers: [126]
126,60 unequal: No Solution
Exploring Operation: 79-47=32, Resulting Numbers: [32]
32,60 unequal: No Solution
Exploring Operation: 47*79=3713, Resulting Numbers: [3713]
3713,60 unequal: No Solution
Moving to Node #0,2,2
Current State: 60:[52, 84], Operations: ['86-34=52', '45+39=84']
Exploring Operation: 52+84=136, Resulting Numbers: [136]
136,60 unequal: No Solution
Exploring Operation: 52*84=4368, Resulting Numbers: [4368]
4368,60 unequal: No Solution
Exploring Operation: 84-52=32, Resulting Numbers: [32]
32,60 unequal: No Solution
Moving to Node #0,1,0
Current State: 60:[86, 40], Operations: ['45-39=6', '34+6=40']
Exploring Operation: 86+40=126, Resulting Numbers: [126]
126,60 unequal: No Solution
Exploring Operation: 86-40=46, Resulting Numbers: [46]
46,60 unequal: No Solution
Exploring Operation: 86*40=3440, Resulting Numbers: [3440]
3440,60 unequal: No Solution
No solution found.
| 0
|
hs_4
|
sum_heuristic
|
[
40,
47,
94,
98
] | 57
|
[
"98-94=4",
"40/4=10",
"47+10=57"
] |
Current State: 57:[40, 47, 94, 98], Operations: []
Exploring Operation: 98-94=4, Resulting Numbers: [40, 47, 4]
Generated Node #2: [40, 47, 4] from Operation: 98-94=4
Current State: 57:[40, 47, 4], Operations: ['98-94=4']
Exploring Operation: 40/4=10, Resulting Numbers: [47, 10]
Generated Node #3: [47, 10] from Operation: 40/4=10
Current State: 57:[47, 10], Operations: ['98-94=4', '40/4=10']
Exploring Operation: 47+10=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4
|
Current State: 57:[40, 47, 94, 98], Operations: []
Exploring Operation: 98-47=51, Resulting Numbers: [40, 94, 51]
Generated Node #0,0: 57:[40, 94, 51] Operation: 98-47=51
Exploring Operation: 94/47=2, Resulting Numbers: [40, 98, 2]
Generated Node #0,1: 57:[40, 98, 2] Operation: 94/47=2
Exploring Operation: 94-40=54, Resulting Numbers: [47, 98, 54]
Generated Node #0,2: 57:[47, 98, 54] Operation: 94-40=54
Exploring Operation: 98-40=58, Resulting Numbers: [47, 94, 58]
Generated Node #0,3: 57:[47, 94, 58] Operation: 98-40=58
Exploring Operation: 98-94=4, Resulting Numbers: [40, 47, 4]
Generated Node #0,4: 57:[40, 47, 4] Operation: 98-94=4
Moving to Node #0,4
Current State: 57:[40, 47, 4], Operations: ['98-94=4']
Exploring Operation: 40+4=44, Resulting Numbers: [47, 44]
Generated Node #0,4,0: 57:[47, 44] Operation: 40+4=44
Exploring Operation: 47+4=51, Resulting Numbers: [40, 51]
Generated Node #0,4,1: 57:[40, 51] Operation: 47+4=51
Exploring Operation: 40-4=36, Resulting Numbers: [47, 36]
Generated Node #0,4,2: 57:[47, 36] Operation: 40-4=36
Exploring Operation: 47-40=7, Resulting Numbers: [4, 7]
Generated Node #0,4,3: 57:[4, 7] Operation: 47-40=7
Exploring Operation: 40/4=10, Resulting Numbers: [47, 10]
Generated Node #0,4,4: 57:[47, 10] Operation: 40/4=10
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 57:[4, 7], Operations: ['98-94=4', '47-40=7']
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,57 unequal: No Solution
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,57 unequal: No Solution
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 57:[47, 10], Operations: ['98-94=4', '40/4=10']
Exploring Operation: 47*10=470, Resulting Numbers: [470]
470,57 unequal: No Solution
Exploring Operation: 47-10=37, Resulting Numbers: [37]
37,57 unequal: No Solution
Exploring Operation: 47+10=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[40, 47, 94, 98], Operations: []
Exploring Operation: 98-94=4, Resulting Numbers: [40, 47, 4]
Generated Node #0,4: 57:[40, 47, 4] Operation: 98-94=4
Moving to Node #0,4
Current State: 57:[40, 47, 4], Operations: ['98-94=4']
Exploring Operation: 40/4=10, Resulting Numbers: [47, 10]
Generated Node #0,4,4: 57:[47, 10] Operation: 40/4=10
Moving to Node #0,4,4
Current State: 57:[47, 10], Operations: ['98-94=4', '40/4=10']
Exploring Operation: 47+10=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639
|
hs_5
|
sum_heuristic
|
[
63,
4,
19,
9
] | 80
|
[
"63-19=44",
"4*9=36",
"44+36=80"
] |
Current State: 80:[63, 4, 19, 9], Operations: []
Exploring Operation: 63-19=44, Resulting Numbers: [4, 9, 44]
Generated Node #2: [4, 9, 44] from Operation: 63-19=44
Current State: 80:[4, 9, 44], Operations: ['63-19=44']
Exploring Operation: 4*9=36, Resulting Numbers: [44, 36]
Generated Node #3: [44, 36] from Operation: 4*9=36
Current State: 80:[44, 36], Operations: ['63-19=44', '4*9=36']
Exploring Operation: 44+36=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4
|
Current State: 80:[63, 4, 19, 9], Operations: []
Exploring Operation: 63/9=7, Resulting Numbers: [4, 19, 7]
Generated Node #0,0: 80:[4, 19, 7] Operation: 63/9=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[4, 19, 7], Operations: ['63/9=7']
Exploring Operation: 19-4=15, Resulting Numbers: [7, 15]
Generated Node #0,0,0: 80:[7, 15] Operation: 19-4=15
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 80:[7, 15], Operations: ['63/9=7', '19-4=15']
Exploring Operation: 15-7=8, Resulting Numbers: [8]
8,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_1
|
sum_heuristic
|
[
10,
26,
14,
60
] | 62
|
[
"26-10=16",
"60-14=46",
"16+46=62"
] |
Current State: 62:[10, 26, 14, 60], Operations: []
Exploring Operation: 26-10=16, Resulting Numbers: [14, 60, 16]
Generated Node #2: [14, 60, 16] from Operation: 26-10=16
Current State: 62:[14, 60, 16], Operations: ['26-10=16']
Exploring Operation: 60-14=46, Resulting Numbers: [16, 46]
Generated Node #3: [16, 46] from Operation: 60-14=46
Current State: 62:[16, 46], Operations: ['26-10=16', '60-14=46']
Exploring Operation: 16+46=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4
|
Current State: 62:[10, 26, 14, 60], Operations: []
Exploring Operation: 14-10=4, Resulting Numbers: [26, 60, 4]
Generated Node #0,0: 62:[26, 60, 4] Operation: 14-10=4
Exploring Operation: 10+14=24, Resulting Numbers: [26, 60, 24]
Generated Node #0,1: 62:[26, 60, 24] Operation: 10+14=24
Exploring Operation: 26+14=40, Resulting Numbers: [10, 60, 40]
Generated Node #0,2: 62:[10, 60, 40] Operation: 26+14=40
Exploring Operation: 10+26=36, Resulting Numbers: [14, 60, 36]
Generated Node #0,3: 62:[14, 60, 36] Operation: 10+26=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 62:[26, 60, 4], Operations: ['14-10=4']
Exploring Operation: 60+4=64, Resulting Numbers: [26, 64]
Generated Node #0,0,0: 62:[26, 64] Operation: 60+4=64
Exploring Operation: 26+4=30, Resulting Numbers: [60, 30]
Generated Node #0,0,1: 62:[60, 30] Operation: 26+4=30
Exploring Operation: 60-26=34, Resulting Numbers: [4, 34]
Generated Node #0,0,2: 62:[4, 34] Operation: 60-26=34
Exploring Operation: 26-4=22, Resulting Numbers: [60, 22]
Generated Node #0,0,3: 62:[60, 22] Operation: 26-4=22
Moving to Node #0,0,1
Current State: 62:[60, 30], Operations: ['14-10=4', '26+4=30']
Exploring Operation: 60*30=1800, Resulting Numbers: [1800]
1800,62 unequal: No Solution
Exploring Operation: 60+30=90, Resulting Numbers: [90]
90,62 unequal: No Solution
Exploring Operation: 60-30=30, Resulting Numbers: [30]
30,62 unequal: No Solution
Exploring Operation: 60/30=2, Resulting Numbers: [2]
2,62 unequal: No Solution
Moving to Node #0,0,2
Current State: 62:[4, 34], Operations: ['14-10=4', '60-26=34']
Exploring Operation: 4*34=136, Resulting Numbers: [136]
136,62 unequal: No Solution
Exploring Operation: 4+34=38, Resulting Numbers: [38]
38,62 unequal: No Solution
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,62 unequal: No Solution
Moving to Node #0,0,0
Current State: 62:[26, 64], Operations: ['14-10=4', '60+4=64']
Exploring Operation: 26*64=1664, Resulting Numbers: [1664]
1664,62 unequal: No Solution
Exploring Operation: 26+64=90, Resulting Numbers: [90]
90,62 unequal: No Solution
Exploring Operation: 64-26=38, Resulting Numbers: [38]
38,62 unequal: No Solution
Moving to Node #0,0,3
Current State: 62:[60, 22], Operations: ['14-10=4', '26-4=22']
Exploring Operation: 60-22=38, Resulting Numbers: [38]
38,62 unequal: No Solution
Exploring Operation: 60*22=1320, Resulting Numbers: [1320]
1320,62 unequal: No Solution
Exploring Operation: 60+22=82, Resulting Numbers: [82]
82,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 62:[26, 60, 24], Operations: ['10+14=24']
Exploring Operation: 60-24=36, Resulting Numbers: [26, 36]
Generated Node #0,1,0: 62:[26, 36] Operation: 60-24=36
Exploring Operation: 60-26=34, Resulting Numbers: [24, 34]
Generated Node #0,1,1: 62:[24, 34] Operation: 60-26=34
Exploring Operation: 26+24=50, Resulting Numbers: [60, 50]
Generated Node #0,1,2: 62:[60, 50] Operation: 26+24=50
Exploring Operation: 26-24=2, Resulting Numbers: [60, 2]
Generated Node #0,1,3: 62:[60, 2] Operation: 26-24=2
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 62:[60, 2], Operations: ['10+14=24', '26-24=2']
Exploring Operation: 60*2=120, Resulting Numbers: [120]
120,62 unequal: No Solution
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,62 unequal: No Solution
Exploring Operation: 60/2=30, Resulting Numbers: [30]
30,62 unequal: No Solution
Exploring Operation: 60+2=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[10, 26, 14, 60], Operations: []
Exploring Operation: 10+14=24, Resulting Numbers: [26, 60, 24]
Generated Node #0,1: 62:[26, 60, 24] Operation: 10+14=24
Moving to Node #0,1
Current State: 62:[26, 60, 24], Operations: ['10+14=24']
Exploring Operation: 26-24=2, Resulting Numbers: [60, 2]
Generated Node #0,1,3: 62:[60, 2] Operation: 26-24=2
Moving to Node #0,1,3
Current State: 62:[60, 2], Operations: ['10+14=24', '26-24=2']
Exploring Operation: 60+2=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.971354
|
hs_4
|
sum_heuristic
|
[
68,
3,
9,
5
] | 85
|
[
"68+3=71",
"9+5=14",
"71+14=85"
] |
Current State: 85:[68, 3, 9, 5], Operations: []
Exploring Operation: 68+3=71, Resulting Numbers: [9, 5, 71]
Generated Node #2: [9, 5, 71] from Operation: 68+3=71
Current State: 85:[9, 5, 71], Operations: ['68+3=71']
Exploring Operation: 9+5=14, Resulting Numbers: [71, 14]
Generated Node #3: [71, 14] from Operation: 9+5=14
Current State: 85:[71, 14], Operations: ['68+3=71', '9+5=14']
Exploring Operation: 71+14=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4
|
Current State: 85:[68, 3, 9, 5], Operations: []
Exploring Operation: 68+9=77, Resulting Numbers: [3, 5, 77]
Generated Node #0,0: 85:[3, 5, 77] Operation: 68+9=77
Moving to Node #0,0
Current State: 85:[3, 5, 77], Operations: ['68+9=77']
Exploring Operation: 3+77=80, Resulting Numbers: [5, 80]
Generated Node #0,0,0: 85:[5, 80] Operation: 3+77=80
Moving to Node #0,0,0
Current State: 85:[5, 80], Operations: ['68+9=77', '3+77=80']
Exploring Operation: 5+80=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[68, 3, 9, 5], Operations: []
Exploring Operation: 68+9=77, Resulting Numbers: [3, 5, 77]
Generated Node #0,0: 85:[3, 5, 77] Operation: 68+9=77
Moving to Node #0,0
Current State: 85:[3, 5, 77], Operations: ['68+9=77']
Exploring Operation: 3+77=80, Resulting Numbers: [5, 80]
Generated Node #0,0,0: 85:[5, 80] Operation: 3+77=80
Moving to Node #0,0,0
Current State: 85:[5, 80], Operations: ['68+9=77', '3+77=80']
Exploring Operation: 5+80=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 0.993924
|
hs_1
|
sum_heuristic
|
[
45,
52,
44,
63
] | 12
|
[
"52-45=7",
"63-44=19",
"19-7=12"
] |
Current State: 12:[45, 52, 44, 63], Operations: []
Exploring Operation: 52-45=7, Resulting Numbers: [44, 63, 7]
Generated Node #2: [44, 63, 7] from Operation: 52-45=7
Current State: 12:[44, 63, 7], Operations: ['52-45=7']
Exploring Operation: 63-44=19, Resulting Numbers: [7, 19]
Generated Node #3: [7, 19] from Operation: 63-44=19
Current State: 12:[7, 19], Operations: ['52-45=7', '63-44=19']
Exploring Operation: 19-7=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4
|
Current State: 12:[45, 52, 44, 63], Operations: []
Exploring Operation: 63-52=11, Resulting Numbers: [45, 44, 11]
Generated Node #0,0: 12:[45, 44, 11] Operation: 63-52=11
Exploring Operation: 63-45=18, Resulting Numbers: [52, 44, 18]
Generated Node #0,1: 12:[52, 44, 18] Operation: 63-45=18
Exploring Operation: 52-45=7, Resulting Numbers: [44, 63, 7]
Generated Node #0,2: 12:[44, 63, 7] Operation: 52-45=7
Exploring Operation: 63-44=19, Resulting Numbers: [45, 52, 19]
Generated Node #0,3: 12:[45, 52, 19] Operation: 63-44=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 12:[45, 44, 11], Operations: ['63-52=11']
Exploring Operation: 44/11=4, Resulting Numbers: [45, 4]
Generated Node #0,0,0: 12:[45, 4] Operation: 44/11=4
Exploring Operation: 45-44=1, Resulting Numbers: [11, 1]
Generated Node #0,0,1: 12:[11, 1] Operation: 45-44=1
Exploring Operation: 45-11=34, Resulting Numbers: [44, 34]
Generated Node #0,0,2: 12:[44, 34] Operation: 45-11=34
Exploring Operation: 44-11=33, Resulting Numbers: [45, 33]
Generated Node #0,0,3: 12:[45, 33] Operation: 44-11=33
Moving to Node #0,0,1
Current State: 12:[11, 1], Operations: ['63-52=11', '45-44=1']
Exploring Operation: 11-1=10, Resulting Numbers: [10]
10,12 unequal: No Solution
Exploring Operation: 11*1=11, Resulting Numbers: [11]
11,12 unequal: No Solution
Exploring Operation: 11+1=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[45, 52, 44, 63], Operations: []
Exploring Operation: 63-52=11, Resulting Numbers: [45, 44, 11]
Generated Node #0,0: 12:[45, 44, 11] Operation: 63-52=11
Moving to Node #0,0
Current State: 12:[45, 44, 11], Operations: ['63-52=11']
Exploring Operation: 45-44=1, Resulting Numbers: [11, 1]
Generated Node #0,0,1: 12:[11, 1] Operation: 45-44=1
Moving to Node #0,0,1
Current State: 12:[11, 1], Operations: ['63-52=11', '45-44=1']
Exploring Operation: 11+1=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979
|
hs_4
|
mult_heuristic
|
[
5,
87,
3,
9
] | 75
|
[
"9-5=4",
"3*4=12",
"87-12=75"
] |
Current State: 75:[5, 87, 3, 9], Operations: []
Exploring Operation: 9-5=4, Resulting Numbers: [87, 3, 4]
Generated Node #2: [87, 3, 4] from Operation: 9-5=4
Current State: 75:[87, 3, 4], Operations: ['9-5=4']
Exploring Operation: 3*4=12, Resulting Numbers: [87, 12]
Generated Node #3: [87, 12] from Operation: 3*4=12
Current State: 75:[87, 12], Operations: ['9-5=4', '3*4=12']
Exploring Operation: 87-12=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4
|
Current State: 75:[5, 87, 3, 9], Operations: []
Exploring Operation: 87-9=78, Resulting Numbers: [5, 3, 78]
Generated Node #0,0: 75:[5, 3, 78] Operation: 87-9=78
Exploring Operation: 87-5=82, Resulting Numbers: [3, 9, 82]
Generated Node #0,1: 75:[3, 9, 82] Operation: 87-5=82
Exploring Operation: 9/3=3, Resulting Numbers: [5, 87, 3]
Generated Node #0,2: 75:[5, 87, 3] Operation: 9/3=3
Exploring Operation: 5+9=14, Resulting Numbers: [87, 3, 14]
Generated Node #0,3: 75:[87, 3, 14] Operation: 5+9=14
Exploring Operation: 87/3=29, Resulting Numbers: [5, 9, 29]
Generated Node #0,4: 75:[5, 9, 29] Operation: 87/3=29
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[5, 3, 78], Operations: ['87-9=78']
Exploring Operation: 78/3=26, Resulting Numbers: [5, 26]
Generated Node #0,0,0: 75:[5, 26] Operation: 78/3=26
Exploring Operation: 78-5=73, Resulting Numbers: [3, 73]
Generated Node #0,0,1: 75:[3, 73] Operation: 78-5=73
Exploring Operation: 78-3=75, Resulting Numbers: [5, 75]
Generated Node #0,0,2: 75:[5, 75] Operation: 78-3=75
Exploring Operation: 5-3=2, Resulting Numbers: [78, 2]
Generated Node #0,0,3: 75:[78, 2] Operation: 5-3=2
Exploring Operation: 5*3=15, Resulting Numbers: [78, 15]
Generated Node #0,0,4: 75:[78, 15] Operation: 5*3=15
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 75:[5, 75], Operations: ['87-9=78', '78-3=75']
Exploring Operation: 75/5=15, Resulting Numbers: [15]
15,75 unequal: No Solution
Exploring Operation: 75-5=70, Resulting Numbers: [70]
70,75 unequal: No Solution
Exploring Operation: 5*75=375, Resulting Numbers: [375]
375,75 unequal: No Solution
Exploring Operation: 5+75=80, Resulting Numbers: [80]
80,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 75:[5, 26], Operations: ['87-9=78', '78/3=26']
Exploring Operation: 26-5=21, Resulting Numbers: [21]
21,75 unequal: No Solution
Exploring Operation: 5+26=31, Resulting Numbers: [31]
31,75 unequal: No Solution
Exploring Operation: 5*26=130, Resulting Numbers: [130]
130,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 75:[3, 73], Operations: ['87-9=78', '78-5=73']
Exploring Operation: 3*73=219, Resulting Numbers: [219]
219,75 unequal: No Solution
Exploring Operation: 73-3=70, Resulting Numbers: [70]
70,75 unequal: No Solution
Exploring Operation: 3+73=76, Resulting Numbers: [76]
76,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 75:[78, 15], Operations: ['87-9=78', '5*3=15']
Exploring Operation: 78*15=1170, Resulting Numbers: [1170]
1170,75 unequal: No Solution
Exploring Operation: 78-15=63, Resulting Numbers: [63]
63,75 unequal: No Solution
Exploring Operation: 78+15=93, Resulting Numbers: [93]
93,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 75:[78, 2], Operations: ['87-9=78', '5-3=2']
Exploring Operation: 78/2=39, Resulting Numbers: [39]
39,75 unequal: No Solution
Exploring Operation: 78-2=76, Resulting Numbers: [76]
76,75 unequal: No Solution
Exploring Operation: 78+2=80, Resulting Numbers: [80]
80,75 unequal: No Solution
Exploring Operation: 78*2=156, Resulting Numbers: [156]
156,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 75:[5, 9, 29], Operations: ['87/3=29']
Exploring Operation: 5+9=14, Resulting Numbers: [29, 14]
Generated Node #0,4,0: 75:[29, 14] Operation: 5+9=14
Exploring Operation: 29-5=24, Resulting Numbers: [9, 24]
Generated Node #0,4,1: 75:[9, 24] Operation: 29-5=24
Exploring Operation: 9-5=4, Resulting Numbers: [29, 4]
Generated Node #0,4,2: 75:[29, 4] Operation: 9-5=4
Exploring Operation: 5+29=34, Resulting Numbers: [9, 34]
Generated Node #0,4,3: 75:[9, 34] Operation: 5+29=34
Exploring Operation: 29-9=20, Resulting Numbers: [5, 20]
Generated Node #0,4,4: 75:[5, 20] Operation: 29-9=20
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 75:[29, 14], Operations: ['87/3=29', '5+9=14']
Exploring Operation: 29-14=15, Resulting Numbers: [15]
15,75 unequal: No Solution
Exploring Operation: 29*14=406, Resulting Numbers: [406]
406,75 unequal: No Solution
Exploring Operation: 29+14=43, Resulting Numbers: [43]
43,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 75:[9, 24], Operations: ['87/3=29', '29-5=24']
Exploring Operation: 9*24=216, Resulting Numbers: [216]
216,75 unequal: No Solution
Exploring Operation: 9+24=33, Resulting Numbers: [33]
33,75 unequal: No Solution
Exploring Operation: 24-9=15, Resulting Numbers: [15]
15,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 75:[29, 4], Operations: ['87/3=29', '9-5=4']
Exploring Operation: 29+4=33, Resulting Numbers: [33]
33,75 unequal: No Solution
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,75 unequal: No Solution
Exploring Operation: 29*4=116, Resulting Numbers: [116]
116,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 75:[5, 20], Operations: ['87/3=29', '29-9=20']
Exploring Operation: 5+20=25, Resulting Numbers: [25]
25,75 unequal: No Solution
Exploring Operation: 20-5=15, Resulting Numbers: [15]
15,75 unequal: No Solution
Exploring Operation: 5*20=100, Resulting Numbers: [100]
100,75 unequal: No Solution
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 75:[9, 34], Operations: ['87/3=29', '5+29=34']
Exploring Operation: 9*34=306, Resulting Numbers: [306]
306,75 unequal: No Solution
Exploring Operation: 9+34=43, Resulting Numbers: [43]
43,75 unequal: No Solution
Exploring Operation: 34-9=25, Resulting Numbers: [25]
25,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 75:[3, 9, 82], Operations: ['87-5=82']
Exploring Operation: 9-3=6, Resulting Numbers: [82, 6]
Generated Node #0,1,0: 75:[82, 6] Operation: 9-3=6
Exploring Operation: 82-9=73, Resulting Numbers: [3, 73]
Generated Node #0,1,1: 75:[3, 73] Operation: 82-9=73
Exploring Operation: 9/3=3, Resulting Numbers: [82, 3]
Generated Node #0,1,2: 75:[82, 3] Operation: 9/3=3
Exploring Operation: 82-3=79, Resulting Numbers: [9, 79]
Generated Node #0,1,3: 75:[9, 79] Operation: 82-3=79
Exploring Operation: 3*9=27, Resulting Numbers: [82, 27]
Generated Node #0,1,4: 75:[82, 27] Operation: 3*9=27
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 75:[3, 73], Operations: ['87-5=82', '82-9=73']
Exploring Operation: 3*73=219, Resulting Numbers: [219]
219,75 unequal: No Solution
Exploring Operation: 3+73=76, Resulting Numbers: [76]
76,75 unequal: No Solution
Exploring Operation: 73-3=70, Resulting Numbers: [70]
70,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 75:[82, 3], Operations: ['87-5=82', '9/3=3']
Exploring Operation: 82+3=85, Resulting Numbers: [85]
85,75 unequal: No Solution
Exploring Operation: 82*3=246, Resulting Numbers: [246]
246,75 unequal: No Solution
Exploring Operation: 82-3=79, Resulting Numbers: [79]
79,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 75:[82, 6], Operations: ['87-5=82', '9-3=6']
Exploring Operation: 82-6=76, Resulting Numbers: [76]
76,75 unequal: No Solution
Exploring Operation: 82*6=492, Resulting Numbers: [492]
492,75 unequal: No Solution
Exploring Operation: 82+6=88, Resulting Numbers: [88]
88,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 75:[9, 79], Operations: ['87-5=82', '82-3=79']
Exploring Operation: 9+79=88, Resulting Numbers: [88]
88,75 unequal: No Solution
Exploring Operation: 9*79=711, Resulting Numbers: [711]
711,75 unequal: No Solution
Exploring Operation: 79-9=70, Resulting Numbers: [70]
70,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 75:[82, 27], Operations: ['87-5=82', '3*9=27']
Exploring Operation: 82*27=2214, Resulting Numbers: [2214]
2214,75 unequal: No Solution
Exploring Operation: 82-27=55, Resulting Numbers: [55]
55,75 unequal: No Solution
Exploring Operation: 82+27=109, Resulting Numbers: [109]
109,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 75:[5, 87, 3], Operations: ['9/3=3']
Exploring Operation: 5*3=15, Resulting Numbers: [87, 15]
Generated Node #0,2,0: 75:[87, 15] Operation: 5*3=15
Exploring Operation: 87-5=82, Resulting Numbers: [3, 82]
Generated Node #0,2,1: 75:[3, 82] Operation: 87-5=82
Exploring Operation: 87-3=84, Resulting Numbers: [5, 84]
Generated Node #0,2,2: 75:[5, 84] Operation: 87-3=84
Exploring Operation: 5-3=2, Resulting Numbers: [87, 2]
Generated Node #0,2,3: 75:[87, 2] Operation: 5-3=2
Exploring Operation: 87/3=29, Resulting Numbers: [5, 29]
Generated Node #0,2,4: 75:[5, 29] Operation: 87/3=29
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 75:[5, 29], Operations: ['9/3=3', '87/3=29']
Exploring Operation: 5*29=145, Resulting Numbers: [145]
145,75 unequal: No Solution
Exploring Operation: 29-5=24, Resulting Numbers: [24]
24,75 unequal: No Solution
Exploring Operation: 5+29=34, Resulting Numbers: [34]
34,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 75:[3, 82], Operations: ['9/3=3', '87-5=82']
Exploring Operation: 3*82=246, Resulting Numbers: [246]
246,75 unequal: No Solution
Exploring Operation: 82-3=79, Resulting Numbers: [79]
79,75 unequal: No Solution
Exploring Operation: 3+82=85, Resulting Numbers: [85]
85,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 75:[5, 84], Operations: ['9/3=3', '87-3=84']
Exploring Operation: 5+84=89, Resulting Numbers: [89]
89,75 unequal: No Solution
Exploring Operation: 5*84=420, Resulting Numbers: [420]
420,75 unequal: No Solution
Exploring Operation: 84-5=79, Resulting Numbers: [79]
79,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 75:[87, 15], Operations: ['9/3=3', '5*3=15']
Exploring Operation: 87*15=1305, Resulting Numbers: [1305]
1305,75 unequal: No Solution
Exploring Operation: 87+15=102, Resulting Numbers: [102]
102,75 unequal: No Solution
Exploring Operation: 87-15=72, Resulting Numbers: [72]
72,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 75:[87, 2], Operations: ['9/3=3', '5-3=2']
Exploring Operation: 87+2=89, Resulting Numbers: [89]
89,75 unequal: No Solution
Exploring Operation: 87-2=85, Resulting Numbers: [85]
85,75 unequal: No Solution
Exploring Operation: 87*2=174, Resulting Numbers: [174]
174,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 75:[87, 3, 14], Operations: ['5+9=14']
Exploring Operation: 87/3=29, Resulting Numbers: [14, 29]
Generated Node #0,3,0: 75:[14, 29] Operation: 87/3=29
Exploring Operation: 87-14=73, Resulting Numbers: [3, 73]
Generated Node #0,3,1: 75:[3, 73] Operation: 87-14=73
Exploring Operation: 87+3=90, Resulting Numbers: [14, 90]
Generated Node #0,3,2: 75:[14, 90] Operation: 87+3=90
Exploring Operation: 87-3=84, Resulting Numbers: [14, 84]
Generated Node #0,3,3: 75:[14, 84] Operation: 87-3=84
Exploring Operation: 3+14=17, Resulting Numbers: [87, 17]
Generated Node #0,3,4: 75:[87, 17] Operation: 3+14=17
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 75:[3, 73], Operations: ['5+9=14', '87-14=73']
Exploring Operation: 3+73=76, Resulting Numbers: [76]
76,75 unequal: No Solution
Exploring Operation: 73-3=70, Resulting Numbers: [70]
70,75 unequal: No Solution
Exploring Operation: 3*73=219, Resulting Numbers: [219]
219,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 75:[14, 29], Operations: ['5+9=14', '87/3=29']
Exploring Operation: 14*29=406, Resulting Numbers: [406]
406,75 unequal: No Solution
Exploring Operation: 14+29=43, Resulting Numbers: [43]
43,75 unequal: No Solution
Exploring Operation: 29-14=15, Resulting Numbers: [15]
15,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 75:[14, 84], Operations: ['5+9=14', '87-3=84']
Exploring Operation: 14*84=1176, Resulting Numbers: [1176]
1176,75 unequal: No Solution
Exploring Operation: 14+84=98, Resulting Numbers: [98]
98,75 unequal: No Solution
Exploring Operation: 84-14=70, Resulting Numbers: [70]
70,75 unequal: No Solution
Exploring Operation: 84/14=6, Resulting Numbers: [6]
6,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 75:[87, 17], Operations: ['5+9=14', '3+14=17']
Exploring Operation: 87*17=1479, Resulting Numbers: [1479]
1479,75 unequal: No Solution
Exploring Operation: 87-17=70, Resulting Numbers: [70]
70,75 unequal: No Solution
Exploring Operation: 87+17=104, Resulting Numbers: [104]
104,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 75:[14, 90], Operations: ['5+9=14', '87+3=90']
Exploring Operation: 14+90=104, Resulting Numbers: [104]
104,75 unequal: No Solution
Exploring Operation: 14*90=1260, Resulting Numbers: [1260]
1260,75 unequal: No Solution
Exploring Operation: 90-14=76, Resulting Numbers: [76]
76,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_5
|
mult_heuristic
|
[
20,
8,
22,
41
] | 66
|
[
"22-20=2",
"41-8=33",
"2*33=66"
] |
Current State: 66:[20, 8, 22, 41], Operations: []
Exploring Operation: 22-20=2, Resulting Numbers: [8, 41, 2]
Generated Node #2: [8, 41, 2] from Operation: 22-20=2
Current State: 66:[8, 41, 2], Operations: ['22-20=2']
Exploring Operation: 41-8=33, Resulting Numbers: [2, 33]
Generated Node #3: [2, 33] from Operation: 41-8=33
Current State: 66:[2, 33], Operations: ['22-20=2', '41-8=33']
Exploring Operation: 2*33=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4
|
Current State: 66:[20, 8, 22, 41], Operations: []
Exploring Operation: 41-8=33, Resulting Numbers: [20, 22, 33]
Generated Node #0,0: 66:[20, 22, 33] Operation: 41-8=33
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[20, 22, 33], Operations: ['41-8=33']
Exploring Operation: 22-20=2, Resulting Numbers: [33, 2]
Generated Node #0,0,0: 66:[33, 2] Operation: 22-20=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 66:[33, 2], Operations: ['41-8=33', '22-20=2']
Exploring Operation: 33*2=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[20, 8, 22, 41], Operations: []
Exploring Operation: 41-8=33, Resulting Numbers: [20, 22, 33]
Generated Node #0,0: 66:[20, 22, 33] Operation: 41-8=33
Moving to Node #0,0
Current State: 66:[20, 22, 33], Operations: ['41-8=33']
Exploring Operation: 22-20=2, Resulting Numbers: [33, 2]
Generated Node #0,0,0: 66:[33, 2] Operation: 22-20=2
Moving to Node #0,0,0
Current State: 66:[33, 2], Operations: ['41-8=33', '22-20=2']
Exploring Operation: 33*2=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924
|
hs_1
|
sum_heuristic
|
[
61,
24,
93,
2
] | 19
|
[
"61-24=37",
"2*37=74",
"93-74=19"
] |
Current State: 19:[61, 24, 93, 2], Operations: []
Exploring Operation: 61-24=37, Resulting Numbers: [93, 2, 37]
Generated Node #2: [93, 2, 37] from Operation: 61-24=37
Current State: 19:[93, 2, 37], Operations: ['61-24=37']
Exploring Operation: 2*37=74, Resulting Numbers: [93, 74]
Generated Node #3: [93, 74] from Operation: 2*37=74
Current State: 19:[93, 74], Operations: ['61-24=37', '2*37=74']
Exploring Operation: 93-74=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4
|
Current State: 19:[61, 24, 93, 2], Operations: []
Exploring Operation: 61-24=37, Resulting Numbers: [93, 2, 37]
Generated Node #0,0: 19:[93, 2, 37] Operation: 61-24=37
Exploring Operation: 93-61=32, Resulting Numbers: [24, 2, 32]
Generated Node #0,1: 19:[24, 2, 32] Operation: 93-61=32
Exploring Operation: 93-24=69, Resulting Numbers: [61, 2, 69]
Generated Node #0,2: 19:[61, 2, 69] Operation: 93-24=69
Moving to Node #0,1
Current State: 19:[24, 2, 32], Operations: ['93-61=32']
Exploring Operation: 32/2=16, Resulting Numbers: [24, 16]
Generated Node #0,1,0: 19:[24, 16] Operation: 32/2=16
Exploring Operation: 32-2=30, Resulting Numbers: [24, 30]
Generated Node #0,1,1: 19:[24, 30] Operation: 32-2=30
Exploring Operation: 24-2=22, Resulting Numbers: [32, 22]
Generated Node #0,1,2: 19:[32, 22] Operation: 24-2=22
Moving to Node #0,0
Current State: 19:[93, 2, 37], Operations: ['61-24=37']
Exploring Operation: 93-2=91, Resulting Numbers: [37, 91]
Generated Node #0,0,0: 19:[37, 91] Operation: 93-2=91
Exploring Operation: 93-37=56, Resulting Numbers: [2, 56]
Generated Node #0,0,1: 19:[2, 56] Operation: 93-37=56
Exploring Operation: 37-2=35, Resulting Numbers: [93, 35]
Generated Node #0,0,2: 19:[93, 35] Operation: 37-2=35
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 19:[2, 56], Operations: ['61-24=37', '93-37=56']
Exploring Operation: 2+56=58, Resulting Numbers: [58]
58,19 unequal: No Solution
Exploring Operation: 56-2=54, Resulting Numbers: [54]
54,19 unequal: No Solution
Exploring Operation: 56/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
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 19:[37, 91], Operations: ['61-24=37', '93-2=91']
Exploring Operation: 37+91=128, Resulting Numbers: [128]
128,19 unequal: No Solution
Exploring Operation: 37*91=3367, Resulting Numbers: [3367]
3367,19 unequal: No Solution
Exploring Operation: 91-37=54, Resulting Numbers: [54]
54,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 19:[93, 35], Operations: ['61-24=37', '37-2=35']
Exploring Operation: 93+35=128, Resulting Numbers: [128]
128,19 unequal: No Solution
Exploring Operation: 93*35=3255, Resulting Numbers: [3255]
3255,19 unequal: No Solution
Exploring Operation: 93-35=58, Resulting Numbers: [58]
58,19 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: 19:[61, 2, 69], Operations: ['93-24=69']
Exploring Operation: 69-2=67, Resulting Numbers: [61, 67]
Generated Node #0,2,0: 19:[61, 67] Operation: 69-2=67
Exploring Operation: 69-61=8, Resulting Numbers: [2, 8]
Generated Node #0,2,1: 19:[2, 8] Operation: 69-61=8
Exploring Operation: 61-2=59, Resulting Numbers: [69, 59]
Generated Node #0,2,2: 19:[69, 59] Operation: 61-2=59
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 19:[2, 8], Operations: ['93-24=69', '69-61=8']
Exploring Operation: 2+8=10, Resulting Numbers: [10]
10,19 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,19 unequal: No Solution
Exploring Operation: 2*8=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,0
Current State: 19:[61, 67], Operations: ['93-24=69', '69-2=67']
Exploring Operation: 61*67=4087, Resulting Numbers: [4087]
4087,19 unequal: No Solution
Exploring Operation: 67-61=6, Resulting Numbers: [6]
6,19 unequal: No Solution
Exploring Operation: 61+67=128, Resulting Numbers: [128]
128,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:[69, 59], Operations: ['93-24=69', '61-2=59']
Exploring Operation: 69-59=10, Resulting Numbers: [10]
10,19 unequal: No Solution
Exploring Operation: 69+59=128, Resulting Numbers: [128]
128,19 unequal: No Solution
Exploring Operation: 69*59=4071, Resulting Numbers: [4071]
4071,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 19:[24, 16], Operations: ['93-61=32', '32/2=16']
Exploring Operation: 24*16=384, Resulting Numbers: [384]
384,19 unequal: No Solution
Exploring Operation: 24-16=8, Resulting Numbers: [8]
8,19 unequal: No Solution
Exploring Operation: 24+16=40, Resulting Numbers: [40]
40,19 unequal: No Solution
Moving to Node #0,1,1
Current State: 19:[24, 30], Operations: ['93-61=32', '32-2=30']
Exploring Operation: 30-24=6, Resulting Numbers: [6]
6,19 unequal: No Solution
Exploring Operation: 24+30=54, Resulting Numbers: [54]
54,19 unequal: No Solution
Exploring Operation: 24*30=720, Resulting Numbers: [720]
720,19 unequal: No Solution
Moving to Node #0,1,2
Current State: 19:[32, 22], Operations: ['93-61=32', '24-2=22']
Exploring Operation: 32*22=704, Resulting Numbers: [704]
704,19 unequal: No Solution
Exploring Operation: 32-22=10, Resulting Numbers: [10]
10,19 unequal: No Solution
Exploring Operation: 32+22=54, Resulting Numbers: [54]
54,19 unequal: No Solution
No solution found.
| 0
|
hs_3
|
mult_heuristic
|
[
12,
64,
51,
87
] | 87
|
[
"64-12=52",
"52-51=1",
"87*1=87"
] |
Current State: 87:[12, 64, 51, 87], Operations: []
Exploring Operation: 64-12=52, Resulting Numbers: [51, 87, 52]
Generated Node #2: [51, 87, 52] from Operation: 64-12=52
Current State: 87:[51, 87, 52], Operations: ['64-12=52']
Exploring Operation: 52-51=1, Resulting Numbers: [87, 1]
Generated Node #3: [87, 1] from Operation: 52-51=1
Current State: 87:[87, 1], Operations: ['64-12=52', '52-51=1']
Exploring Operation: 87*1=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4
|
Current State: 87:[12, 64, 51, 87], Operations: []
Exploring Operation: 64-51=13, Resulting Numbers: [12, 87, 13]
Generated Node #0,0: 87:[12, 87, 13] Operation: 64-51=13
Moving to Node #0,0
Current State: 87:[12, 87, 13], Operations: ['64-51=13']
Exploring Operation: 13-12=1, Resulting Numbers: [87, 1]
Generated Node #0,0,0: 87:[87, 1] Operation: 13-12=1
Moving to Node #0,0,0
Current State: 87:[87, 1], Operations: ['64-51=13', '13-12=1']
Exploring Operation: 87*1=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[12, 64, 51, 87], Operations: []
Exploring Operation: 64-51=13, Resulting Numbers: [12, 87, 13]
Generated Node #0,0: 87:[12, 87, 13] Operation: 64-51=13
Moving to Node #0,0
Current State: 87:[12, 87, 13], Operations: ['64-51=13']
Exploring Operation: 13-12=1, Resulting Numbers: [87, 1]
Generated Node #0,0,0: 87:[87, 1] Operation: 13-12=1
Moving to Node #0,0,0
Current State: 87:[87, 1], Operations: ['64-51=13', '13-12=1']
Exploring Operation: 87*1=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 0.993924
|
hs_1
|
sum_heuristic
|
[
21,
39,
31,
9
] | 33
|
[
"39-21=18",
"18/9=2",
"31+2=33"
] |
Current State: 33:[21, 39, 31, 9], Operations: []
Exploring Operation: 39-21=18, Resulting Numbers: [31, 9, 18]
Generated Node #2: [31, 9, 18] from Operation: 39-21=18
Current State: 33:[31, 9, 18], Operations: ['39-21=18']
Exploring Operation: 18/9=2, Resulting Numbers: [31, 2]
Generated Node #3: [31, 2] from Operation: 18/9=2
Current State: 33:[31, 2], Operations: ['39-21=18', '18/9=2']
Exploring Operation: 31+2=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4
|
Current State: 33:[21, 39, 31, 9], Operations: []
Exploring Operation: 31-21=10, Resulting Numbers: [39, 9, 10]
Generated Node #0,0: 33:[39, 9, 10] Operation: 31-21=10
Exploring Operation: 21-9=12, Resulting Numbers: [39, 31, 12]
Generated Node #0,1: 33:[39, 31, 12] Operation: 21-9=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[39, 9, 10], Operations: ['31-21=10']
Exploring Operation: 39-10=29, Resulting Numbers: [9, 29]
Generated Node #0,0,0: 33:[9, 29] Operation: 39-10=29
Exploring Operation: 39-9=30, Resulting Numbers: [10, 30]
Generated Node #0,0,1: 33:[10, 30] Operation: 39-9=30
Moving to Node #0,0,1
Current State: 33:[10, 30], Operations: ['31-21=10', '39-9=30']
Exploring Operation: 10+30=40, Resulting Numbers: [40]
40,33 unequal: No Solution
Exploring Operation: 30/10=3, Resulting Numbers: [3]
3,33 unequal: No Solution
Moving to Node #0,0,0
Current State: 33:[9, 29], Operations: ['31-21=10', '39-10=29']
Exploring Operation: 29-9=20, Resulting Numbers: [20]
20,33 unequal: No Solution
Exploring Operation: 9+29=38, Resulting Numbers: [38]
38,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 33:[39, 31, 12], Operations: ['21-9=12']
Exploring Operation: 39-31=8, Resulting Numbers: [12, 8]
Generated Node #0,1,0: 33:[12, 8] Operation: 39-31=8
Exploring Operation: 39-12=27, Resulting Numbers: [31, 27]
Generated Node #0,1,1: 33:[31, 27] Operation: 39-12=27
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 33:[12, 8], Operations: ['21-9=12', '39-31=8']
Exploring Operation: 12-8=4, Resulting Numbers: [4]
4,33 unequal: No Solution
Exploring Operation: 12+8=20, Resulting Numbers: [20]
20,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 33:[31, 27], Operations: ['21-9=12', '39-12=27']
Exploring Operation: 31+27=58, Resulting Numbers: [58]
58,33 unequal: No Solution
Exploring Operation: 31-27=4, Resulting Numbers: [4]
4,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_2
|
sum_heuristic
|
[
42,
4,
72,
44
] | 19
|
[
"72-42=30",
"44/4=11",
"30-11=19"
] |
Current State: 19:[42, 4, 72, 44], Operations: []
Exploring Operation: 72-42=30, Resulting Numbers: [4, 44, 30]
Generated Node #2: [4, 44, 30] from Operation: 72-42=30
Current State: 19:[4, 44, 30], Operations: ['72-42=30']
Exploring Operation: 44/4=11, Resulting Numbers: [30, 11]
Generated Node #3: [30, 11] from Operation: 44/4=11
Current State: 19:[30, 11], Operations: ['72-42=30', '44/4=11']
Exploring Operation: 30-11=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4
|
Current State: 19:[42, 4, 72, 44], Operations: []
Exploring Operation: 72/4=18, Resulting Numbers: [42, 44, 18]
Generated Node #0,0: 19:[42, 44, 18] Operation: 72/4=18
Exploring Operation: 44/4=11, Resulting Numbers: [42, 72, 11]
Generated Node #0,1: 19:[42, 72, 11] Operation: 44/4=11
Exploring Operation: 72-42=30, Resulting Numbers: [4, 44, 30]
Generated Node #0,2: 19:[4, 44, 30] Operation: 72-42=30
Exploring Operation: 72-44=28, Resulting Numbers: [42, 4, 28]
Generated Node #0,3: 19:[42, 4, 28] Operation: 72-44=28
Start Sub Search at level 1: Moving to Node #0,3
Current State: 19:[42, 4, 28], Operations: ['72-44=28']
Exploring Operation: 42-28=14, Resulting Numbers: [4, 14]
Generated Node #0,3,0: 19:[4, 14] Operation: 42-28=14
Exploring Operation: 42-4=38, Resulting Numbers: [28, 38]
Generated Node #0,3,1: 19:[28, 38] Operation: 42-4=38
Exploring Operation: 28-4=24, Resulting Numbers: [42, 24]
Generated Node #0,3,2: 19:[42, 24] Operation: 28-4=24
Exploring Operation: 28/4=7, Resulting Numbers: [42, 7]
Generated Node #0,3,3: 19:[42, 7] Operation: 28/4=7
Moving to Node #0,3,0
Current State: 19:[4, 14], Operations: ['72-44=28', '42-28=14']
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,19 unequal: No Solution
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,19 unequal: No Solution
Exploring Operation: 4+14=18, Resulting Numbers: [18]
18,19 unequal: No Solution
Moving to Node #0,3,2
Current State: 19:[42, 24], Operations: ['72-44=28', '28-4=24']
Exploring Operation: 42+24=66, Resulting Numbers: [66]
66,19 unequal: No Solution
Exploring Operation: 42-24=18, Resulting Numbers: [18]
18,19 unequal: No Solution
Exploring Operation: 42*24=1008, Resulting Numbers: [1008]
1008,19 unequal: No Solution
Moving to Node #0,3,1
Current State: 19:[28, 38], Operations: ['72-44=28', '42-4=38']
Exploring Operation: 38-28=10, Resulting Numbers: [10]
10,19 unequal: No Solution
Exploring Operation: 28*38=1064, Resulting Numbers: [1064]
1064,19 unequal: No Solution
Exploring Operation: 28+38=66, Resulting Numbers: [66]
66,19 unequal: No Solution
Moving to Node #0,3,3
Current State: 19:[42, 7], Operations: ['72-44=28', '28/4=7']
Exploring Operation: 42-7=35, Resulting Numbers: [35]
35,19 unequal: No Solution
Exploring Operation: 42*7=294, Resulting Numbers: [294]
294,19 unequal: No Solution
Exploring Operation: 42+7=49, Resulting Numbers: [49]
49,19 unequal: No Solution
Exploring Operation: 42/7=6, Resulting Numbers: [6]
6,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
Current State: 19:[42, 44, 18], Operations: ['72/4=18']
Exploring Operation: 44-18=26, Resulting Numbers: [42, 26]
Generated Node #0,0,0: 19:[42, 26] Operation: 44-18=26
Exploring Operation: 42-18=24, Resulting Numbers: [44, 24]
Generated Node #0,0,1: 19:[44, 24] Operation: 42-18=24
Exploring Operation: 42+18=60, Resulting Numbers: [44, 60]
Generated Node #0,0,2: 19:[44, 60] Operation: 42+18=60
Exploring Operation: 44-42=2, Resulting Numbers: [18, 2]
Generated Node #0,0,3: 19:[18, 2] Operation: 44-42=2
Moving to Node #0,0,3
Current State: 19:[18, 2], Operations: ['72/4=18', '44-42=2']
Exploring Operation: 18*2=36, Resulting Numbers: [36]
36,19 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,19 unequal: No Solution
Exploring Operation: 18+2=20, Resulting Numbers: [20]
20,19 unequal: No Solution
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,19 unequal: No Solution
Moving to Node #0,0,1
Current State: 19:[44, 24], Operations: ['72/4=18', '42-18=24']
Exploring Operation: 44*24=1056, Resulting Numbers: [1056]
1056,19 unequal: No Solution
Exploring Operation: 44+24=68, Resulting Numbers: [68]
68,19 unequal: No Solution
Exploring Operation: 44-24=20, Resulting Numbers: [20]
20,19 unequal: No Solution
Moving to Node #0,0,0
Current State: 19:[42, 26], Operations: ['72/4=18', '44-18=26']
Exploring Operation: 42+26=68, Resulting Numbers: [68]
68,19 unequal: No Solution
Exploring Operation: 42-26=16, Resulting Numbers: [16]
16,19 unequal: No Solution
Exploring Operation: 42*26=1092, Resulting Numbers: [1092]
1092,19 unequal: No Solution
Moving to Node #0,0,2
Current State: 19:[44, 60], Operations: ['72/4=18', '42+18=60']
Exploring Operation: 60-44=16, Resulting Numbers: [16]
16,19 unequal: No Solution
Exploring Operation: 44+60=104, Resulting Numbers: [104]
104,19 unequal: No Solution
Exploring Operation: 44*60=2640, Resulting Numbers: [2640]
2640,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
Current State: 19:[4, 44, 30], Operations: ['72-42=30']
Exploring Operation: 30-4=26, Resulting Numbers: [44, 26]
Generated Node #0,2,0: 19:[44, 26] Operation: 30-4=26
Exploring Operation: 44-30=14, Resulting Numbers: [4, 14]
Generated Node #0,2,1: 19:[4, 14] Operation: 44-30=14
Exploring Operation: 44/4=11, Resulting Numbers: [30, 11]
Generated Node #0,2,2: 19:[30, 11] Operation: 44/4=11
Exploring Operation: 44-4=40, Resulting Numbers: [30, 40]
Generated Node #0,2,3: 19:[30, 40] Operation: 44-4=40
Moving to Node #0,2,2
Current State: 19:[30, 11], Operations: ['72-42=30', '44/4=11']
Exploring Operation: 30-11=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[42, 4, 72, 44], Operations: []
Exploring Operation: 72-42=30, Resulting Numbers: [4, 44, 30]
Generated Node #0,2: 19:[4, 44, 30] Operation: 72-42=30
Moving to Node #0,2
Current State: 19:[4, 44, 30], Operations: ['72-42=30']
Exploring Operation: 44/4=11, Resulting Numbers: [30, 11]
Generated Node #0,2,2: 19:[30, 11] Operation: 44/4=11
Moving to Node #0,2,2
Current State: 19:[30, 11], Operations: ['72-42=30', '44/4=11']
Exploring Operation: 30-11=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.959201
|
hs_4
|
mult_heuristic
|
[
21,
60,
5,
21
] | 13
|
[
"60-21=39",
"5+21=26",
"39-26=13"
] |
Current State: 13:[21, 60, 5, 21], Operations: []
Exploring Operation: 60-21=39, Resulting Numbers: [5, 39]
Generated Node #2: [5, 39] from Operation: 60-21=39
Current State: 13:[5, 39], Operations: ['60-21=39']
Exploring Operation: 5+21=26, Resulting Numbers: [39, 26]
Generated Node #3: [39, 26] from Operation: 5+21=26
Current State: 13:[39, 26], Operations: ['60-21=39', '5+21=26']
Exploring Operation: 39-26=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4
|
Current State: 13:[21, 60, 5, 21], Operations: []
Exploring Operation: 60/5=12, Resulting Numbers: [21, 21, 12]
Generated Node #0,0: 13:[21, 21, 12] Operation: 60/5=12
Exploring Operation: 60-21=39, Resulting Numbers: [5, 21, 39]
Generated Node #0,1: 13:[5, 21, 39] Operation: 60-21=39
Exploring Operation: 60-21=39, Resulting Numbers: [21, 5, 39]
Generated Node #0,2: 13:[21, 5, 39] Operation: 60-21=39
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[21, 21, 12], Operations: ['60/5=12']
Exploring Operation: 21-12=9, Resulting Numbers: [21, 9]
Generated Node #0,0,0: 13:[21, 9] Operation: 21-12=9
Exploring Operation: 21-12=9, Resulting Numbers: [21, 9]
Generated Node #0,0,1: 13:[21, 9] Operation: 21-12=9
Exploring Operation: 21/21=1, Resulting Numbers: [12, 1]
Generated Node #0,0,2: 13:[12, 1] Operation: 21/21=1
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 13:[21, 9], Operations: ['60/5=12', '21-12=9']
Exploring Operation: 21*9=189, Resulting Numbers: [189]
189,13 unequal: No Solution
Exploring Operation: 21-9=12, Resulting Numbers: [12]
12,13 unequal: No Solution
Exploring Operation: 21+9=30, Resulting Numbers: [30]
30,13 unequal: No Solution
No 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: 13:[21, 9], Operations: ['60/5=12', '21-12=9']
Exploring Operation: 21-9=12, Resulting Numbers: [12]
12,13 unequal: No Solution
Exploring Operation: 21+9=30, Resulting Numbers: [30]
30,13 unequal: No Solution
Exploring Operation: 21*9=189, Resulting Numbers: [189]
189,13 unequal: No Solution
No 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: 13:[12, 1], Operations: ['60/5=12', '21/21=1']
Exploring Operation: 12*1=12, Resulting Numbers: [12]
12,13 unequal: No Solution
Exploring Operation: 12/1=12, Resulting Numbers: [12]
12,13 unequal: No Solution
Exploring Operation: 12+1=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[21, 60, 5, 21], Operations: []
Exploring Operation: 60/5=12, Resulting Numbers: [21, 21, 12]
Generated Node #0,0: 13:[21, 21, 12] Operation: 60/5=12
Moving to Node #0,0
Current State: 13:[21, 21, 12], Operations: ['60/5=12']
Exploring Operation: 21/21=1, Resulting Numbers: [12, 1]
Generated Node #0,0,2: 13:[12, 1] Operation: 21/21=1
Moving to Node #0,0,2
Current State: 13:[12, 1], Operations: ['60/5=12', '21/21=1']
Exploring Operation: 12+1=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507
|
hs_3
|
sum_heuristic
|
[
38,
69,
71,
5
] | 10
|
[
"69+71=140",
"140/5=28",
"38-28=10"
] |
Current State: 10:[38, 69, 71, 5], Operations: []
Exploring Operation: 69+71=140, Resulting Numbers: [38, 5, 140]
Generated Node #2: [38, 5, 140] from Operation: 69+71=140
Current State: 10:[38, 5, 140], Operations: ['69+71=140']
Exploring Operation: 140/5=28, Resulting Numbers: [38, 28]
Generated Node #3: [38, 28] from Operation: 140/5=28
Current State: 10:[38, 28], Operations: ['69+71=140', '140/5=28']
Exploring Operation: 38-28=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4
|
Current State: 10:[38, 69, 71, 5], Operations: []
Exploring Operation: 69-38=31, Resulting Numbers: [71, 5, 31]
Generated Node #0,0: 10:[71, 5, 31] Operation: 69-38=31
Exploring Operation: 71-38=33, Resulting Numbers: [69, 5, 33]
Generated Node #0,1: 10:[69, 5, 33] Operation: 71-38=33
Exploring Operation: 71-69=2, Resulting Numbers: [38, 5, 2]
Generated Node #0,2: 10:[38, 5, 2] Operation: 71-69=2
Moving to Node #0,2
Current State: 10:[38, 5, 2], Operations: ['71-69=2']
Exploring Operation: 38-5=33, Resulting Numbers: [2, 33]
Generated Node #0,2,0: 10:[2, 33] Operation: 38-5=33
Exploring Operation: 38-2=36, Resulting Numbers: [5, 36]
Generated Node #0,2,1: 10:[5, 36] Operation: 38-2=36
Exploring Operation: 38/2=19, Resulting Numbers: [5, 19]
Generated Node #0,2,2: 10:[5, 19] Operation: 38/2=19
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 10:[5, 19], Operations: ['71-69=2', '38/2=19']
Exploring Operation: 19-5=14, Resulting Numbers: [14]
14,10 unequal: No Solution
Exploring Operation: 5*19=95, Resulting Numbers: [95]
95,10 unequal: No Solution
Exploring Operation: 5+19=24, Resulting Numbers: [24]
24,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 10:[2, 33], Operations: ['71-69=2', '38-5=33']
Exploring Operation: 2*33=66, Resulting Numbers: [66]
66,10 unequal: No Solution
Exploring Operation: 2+33=35, Resulting Numbers: [35]
35,10 unequal: No Solution
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 10:[5, 36], Operations: ['71-69=2', '38-2=36']
Exploring Operation: 5*36=180, Resulting Numbers: [180]
180,10 unequal: No Solution
Exploring Operation: 5+36=41, Resulting Numbers: [41]
41,10 unequal: No Solution
Exploring Operation: 36-5=31, Resulting Numbers: [31]
31,10 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: 10:[71, 5, 31], Operations: ['69-38=31']
Exploring Operation: 71-31=40, Resulting Numbers: [5, 40]
Generated Node #0,0,0: 10:[5, 40] Operation: 71-31=40
Exploring Operation: 31-5=26, Resulting Numbers: [71, 26]
Generated Node #0,0,1: 10:[71, 26] Operation: 31-5=26
Exploring Operation: 71-5=66, Resulting Numbers: [31, 66]
Generated Node #0,0,2: 10:[31, 66] Operation: 71-5=66
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 10:[5, 40], Operations: ['69-38=31', '71-31=40']
Exploring Operation: 40-5=35, Resulting Numbers: [35]
35,10 unequal: No Solution
Exploring Operation: 5+40=45, Resulting Numbers: [45]
45,10 unequal: No Solution
Exploring Operation: 40/5=8, Resulting Numbers: [8]
8,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,0,1
Current State: 10:[71, 26], Operations: ['69-38=31', '31-5=26']
Exploring Operation: 71-26=45, Resulting Numbers: [45]
45,10 unequal: No Solution
Exploring Operation: 71+26=97, Resulting Numbers: [97]
97,10 unequal: No Solution
Exploring Operation: 71*26=1846, Resulting Numbers: [1846]
1846,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,0,2
Current State: 10:[31, 66], Operations: ['69-38=31', '71-5=66']
Exploring Operation: 31*66=2046, Resulting Numbers: [2046]
2046,10 unequal: No Solution
Exploring Operation: 31+66=97, Resulting Numbers: [97]
97,10 unequal: No Solution
Exploring Operation: 66-31=35, Resulting Numbers: [35]
35,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 10:[69, 5, 33], Operations: ['71-38=33']
Exploring Operation: 69-5=64, Resulting Numbers: [33, 64]
Generated Node #0,1,0: 10:[33, 64] Operation: 69-5=64
Exploring Operation: 69-33=36, Resulting Numbers: [5, 36]
Generated Node #0,1,1: 10:[5, 36] Operation: 69-33=36
Exploring Operation: 33-5=28, Resulting Numbers: [69, 28]
Generated Node #0,1,2: 10:[69, 28] Operation: 33-5=28
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 10:[5, 36], Operations: ['71-38=33', '69-33=36']
Exploring Operation: 5+36=41, Resulting Numbers: [41]
41,10 unequal: No Solution
Exploring Operation: 5*36=180, Resulting Numbers: [180]
180,10 unequal: No Solution
Exploring Operation: 36-5=31, Resulting Numbers: [31]
31,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 10:[33, 64], Operations: ['71-38=33', '69-5=64']
Exploring Operation: 64-33=31, Resulting Numbers: [31]
31,10 unequal: No Solution
Exploring Operation: 33+64=97, Resulting Numbers: [97]
97,10 unequal: No Solution
Exploring Operation: 33*64=2112, Resulting Numbers: [2112]
2112,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 10:[69, 28], Operations: ['71-38=33', '33-5=28']
Exploring Operation: 69*28=1932, Resulting Numbers: [1932]
1932,10 unequal: No Solution
Exploring Operation: 69-28=41, Resulting Numbers: [41]
41,10 unequal: No Solution
Exploring Operation: 69+28=97, Resulting Numbers: [97]
97,10 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
|
[
46,
56,
42,
61
] | 75
|
[
"46-42=4",
"56/4=14",
"61+14=75"
] |
Current State: 75:[46, 56, 42, 61], Operations: []
Exploring Operation: 46-42=4, Resulting Numbers: [56, 61, 4]
Generated Node #2: [56, 61, 4] from Operation: 46-42=4
Current State: 75:[56, 61, 4], Operations: ['46-42=4']
Exploring Operation: 56/4=14, Resulting Numbers: [61, 14]
Generated Node #3: [61, 14] from Operation: 56/4=14
Current State: 75:[61, 14], Operations: ['46-42=4', '56/4=14']
Exploring Operation: 61+14=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4
|
Current State: 75:[46, 56, 42, 61], Operations: []
Exploring Operation: 46-42=4, Resulting Numbers: [56, 61, 4]
Generated Node #0,0: 75:[56, 61, 4] Operation: 46-42=4
Exploring Operation: 56-46=10, Resulting Numbers: [42, 61, 10]
Generated Node #0,1: 75:[42, 61, 10] Operation: 56-46=10
Exploring Operation: 61-46=15, Resulting Numbers: [56, 42, 15]
Generated Node #0,2: 75:[56, 42, 15] Operation: 61-46=15
Exploring Operation: 56-42=14, Resulting Numbers: [46, 61, 14]
Generated Node #0,3: 75:[46, 61, 14] Operation: 56-42=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[56, 61, 4], Operations: ['46-42=4']
Exploring Operation: 61+4=65, Resulting Numbers: [56, 65]
Generated Node #0,0,0: 75:[56, 65] Operation: 61+4=65
Exploring Operation: 56+4=60, Resulting Numbers: [61, 60]
Generated Node #0,0,1: 75:[61, 60] Operation: 56+4=60
Exploring Operation: 56/4=14, Resulting Numbers: [61, 14]
Generated Node #0,0,2: 75:[61, 14] Operation: 56/4=14
Exploring Operation: 61-56=5, Resulting Numbers: [4, 5]
Generated Node #0,0,3: 75:[4, 5] Operation: 61-56=5
Moving to Node #0,0,3
Current State: 75:[4, 5], Operations: ['46-42=4', '61-56=5']
Exploring Operation: 4+5=9, Resulting Numbers: [9]
9,75 unequal: No Solution
Exploring Operation: 4*5=20, Resulting Numbers: [20]
20,75 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,75 unequal: No Solution
Moving to Node #0,0,2
Current State: 75:[61, 14], Operations: ['46-42=4', '56/4=14']
Exploring Operation: 61*14=854, Resulting Numbers: [854]
854,75 unequal: No Solution
Exploring Operation: 61+14=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[46, 56, 42, 61], Operations: []
Exploring Operation: 46-42=4, Resulting Numbers: [56, 61, 4]
Generated Node #0,0: 75:[56, 61, 4] Operation: 46-42=4
Moving to Node #0,0
Current State: 75:[56, 61, 4], Operations: ['46-42=4']
Exploring Operation: 56/4=14, Resulting Numbers: [61, 14]
Generated Node #0,0,2: 75:[61, 14] Operation: 56/4=14
Moving to Node #0,0,2
Current State: 75:[61, 14], Operations: ['46-42=4', '56/4=14']
Exploring Operation: 61+14=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243
|
hs_4
|
sum_heuristic
|
[
5,
20,
65,
80
] | 87
|
[
"65/5=13",
"20+80=100",
"100-13=87"
] |
Current State: 87:[5, 20, 65, 80], Operations: []
Exploring Operation: 65/5=13, Resulting Numbers: [20, 80, 13]
Generated Node #2: [20, 80, 13] from Operation: 65/5=13
Current State: 87:[20, 80, 13], Operations: ['65/5=13']
Exploring Operation: 20+80=100, Resulting Numbers: [13, 100]
Generated Node #3: [13, 100] from Operation: 20+80=100
Current State: 87:[13, 100], Operations: ['65/5=13', '20+80=100']
Exploring Operation: 100-13=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4
|
Current State: 87:[5, 20, 65, 80], Operations: []
Exploring Operation: 20+65=85, Resulting Numbers: [5, 80, 85]
Generated Node #0,0: 87:[5, 80, 85] Operation: 20+65=85
Moving to Node #0,0
Current State: 87:[5, 80, 85], Operations: ['20+65=85']
Exploring Operation: 5+80=85, Resulting Numbers: [85, 85]
Generated Node #0,0,0: 87:[85, 85] Operation: 5+80=85
Moving to Node #0,0,0
Current State: 87:[85, 85], Operations: ['20+65=85', '5+80=85']
Exploring Operation: 85/85=1, Resulting Numbers: [1]
1,87 unequal: No Solution
No solution found.
| 0
|
hs_1
|
sum_heuristic
|
[
86,
74,
4,
22
] | 62
|
[
"86+74=160",
"160/4=40",
"22+40=62"
] |
Current State: 62:[86, 74, 4, 22], Operations: []
Exploring Operation: 86+74=160, Resulting Numbers: [4, 22, 160]
Generated Node #2: [4, 22, 160] from Operation: 86+74=160
Current State: 62:[4, 22, 160], Operations: ['86+74=160']
Exploring Operation: 160/4=40, Resulting Numbers: [22, 40]
Generated Node #3: [22, 40] from Operation: 160/4=40
Current State: 62:[22, 40], Operations: ['86+74=160', '160/4=40']
Exploring Operation: 22+40=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4
|
Current State: 62:[86, 74, 4, 22], Operations: []
Exploring Operation: 86-74=12, Resulting Numbers: [4, 22, 12]
Generated Node #0,0: 62:[4, 22, 12] Operation: 86-74=12
Exploring Operation: 86-22=64, Resulting Numbers: [74, 4, 64]
Generated Node #0,1: 62:[74, 4, 64] Operation: 86-22=64
Exploring Operation: 74-22=52, Resulting Numbers: [86, 4, 52]
Generated Node #0,2: 62:[86, 4, 52] Operation: 74-22=52
Moving to Node #0,1
Current State: 62:[74, 4, 64], Operations: ['86-22=64']
Exploring Operation: 74-64=10, Resulting Numbers: [4, 10]
Generated Node #0,1,0: 62:[4, 10] Operation: 74-64=10
Exploring Operation: 74-4=70, Resulting Numbers: [64, 70]
Generated Node #0,1,1: 62:[64, 70] Operation: 74-4=70
Exploring Operation: 64-4=60, Resulting Numbers: [74, 60]
Generated Node #0,1,2: 62:[74, 60] Operation: 64-4=60
Moving to Node #0,0
Current State: 62:[4, 22, 12], Operations: ['86-74=12']
Exploring Operation: 22-12=10, Resulting Numbers: [4, 10]
Generated Node #0,0,0: 62:[4, 10] Operation: 22-12=10
Exploring Operation: 12/4=3, Resulting Numbers: [22, 3]
Generated Node #0,0,1: 62:[22, 3] Operation: 12/4=3
Exploring Operation: 22+12=34, Resulting Numbers: [4, 34]
Generated Node #0,0,2: 62:[4, 34] Operation: 22+12=34
Moving to Node #0,2
Current State: 62:[86, 4, 52], Operations: ['74-22=52']
Exploring Operation: 86-52=34, Resulting Numbers: [4, 34]
Generated Node #0,2,0: 62:[4, 34] Operation: 86-52=34
Exploring Operation: 86-4=82, Resulting Numbers: [52, 82]
Generated Node #0,2,1: 62:[52, 82] Operation: 86-4=82
Exploring Operation: 4+52=56, Resulting Numbers: [86, 56]
Generated Node #0,2,2: 62:[86, 56] Operation: 4+52=56
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 62:[4, 34], Operations: ['74-22=52', '86-52=34']
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,62 unequal: No Solution
Exploring Operation: 4*34=136, Resulting Numbers: [136]
136,62 unequal: No Solution
Exploring Operation: 4+34=38, Resulting Numbers: [38]
38,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 62:[52, 82], Operations: ['74-22=52', '86-4=82']
Exploring Operation: 82-52=30, Resulting Numbers: [30]
30,62 unequal: No Solution
Exploring Operation: 52+82=134, Resulting Numbers: [134]
134,62 unequal: No Solution
Exploring Operation: 52*82=4264, Resulting Numbers: [4264]
4264,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 62:[86, 56], Operations: ['74-22=52', '4+52=56']
Exploring Operation: 86*56=4816, Resulting Numbers: [4816]
4816,62 unequal: No Solution
Exploring Operation: 86+56=142, Resulting Numbers: [142]
142,62 unequal: No Solution
Exploring Operation: 86-56=30, Resulting Numbers: [30]
30,62 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: 62:[4, 34], Operations: ['86-74=12', '22+12=34']
Exploring Operation: 4*34=136, Resulting Numbers: [136]
136,62 unequal: No Solution
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,62 unequal: No Solution
Exploring Operation: 4+34=38, Resulting Numbers: [38]
38,62 unequal: No Solution
Moving to Node #0,0,1
Current State: 62:[22, 3], Operations: ['86-74=12', '12/4=3']
Exploring Operation: 22*3=66, Resulting Numbers: [66]
66,62 unequal: No Solution
Exploring Operation: 22-3=19, Resulting Numbers: [19]
19,62 unequal: No Solution
Exploring Operation: 22+3=25, Resulting Numbers: [25]
25,62 unequal: No Solution
Moving to Node #0,1,0
Current State: 62:[4, 10], Operations: ['86-22=64', '74-64=10']
Exploring Operation: 4+10=14, Resulting Numbers: [14]
14,62 unequal: No Solution
Exploring Operation: 4*10=40, Resulting Numbers: [40]
40,62 unequal: No Solution
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,62 unequal: No Solution
Moving to Node #0,1,1
Current State: 62:[64, 70], Operations: ['86-22=64', '74-4=70']
Exploring Operation: 64*70=4480, Resulting Numbers: [4480]
4480,62 unequal: No Solution
Exploring Operation: 64+70=134, Resulting Numbers: [134]
134,62 unequal: No Solution
Exploring Operation: 70-64=6, Resulting Numbers: [6]
6,62 unequal: No Solution
Moving to Node #0,0,0
Current State: 62:[4, 10], Operations: ['86-74=12', '22-12=10']
Exploring Operation: 4*10=40, Resulting Numbers: [40]
40,62 unequal: No Solution
Exploring Operation: 4+10=14, Resulting Numbers: [14]
14,62 unequal: No Solution
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,62 unequal: No Solution
Moving to Node #0,1,2
Current State: 62:[74, 60], Operations: ['86-22=64', '64-4=60']
Exploring Operation: 74-60=14, Resulting Numbers: [14]
14,62 unequal: No Solution
Exploring Operation: 74*60=4440, Resulting Numbers: [4440]
4440,62 unequal: No Solution
Exploring Operation: 74+60=134, Resulting Numbers: [134]
134,62 unequal: No Solution
No solution found.
| 0
|
hs_3
|
mult_heuristic
|
[
40,
65,
49,
62
] | 86
|
[
"65-40=25",
"49+62=111",
"111-25=86"
] |
Current State: 86:[40, 65, 49, 62], Operations: []
Exploring Operation: 65-40=25, Resulting Numbers: [49, 62, 25]
Generated Node #2: [49, 62, 25] from Operation: 65-40=25
Current State: 86:[49, 62, 25], Operations: ['65-40=25']
Exploring Operation: 49+62=111, Resulting Numbers: [25, 111]
Generated Node #3: [25, 111] from Operation: 49+62=111
Current State: 86:[25, 111], Operations: ['65-40=25', '49+62=111']
Exploring Operation: 111-25=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4
|
Current State: 86:[40, 65, 49, 62], Operations: []
Exploring Operation: 62-49=13, Resulting Numbers: [40, 65, 13]
Generated Node #0,0: 86:[40, 65, 13] Operation: 62-49=13
Exploring Operation: 40+49=89, Resulting Numbers: [65, 62, 89]
Generated Node #0,1: 86:[65, 62, 89] Operation: 40+49=89
Exploring Operation: 65-49=16, Resulting Numbers: [40, 62, 16]
Generated Node #0,2: 86:[40, 62, 16] Operation: 65-49=16
Exploring Operation: 65-40=25, Resulting Numbers: [49, 62, 25]
Generated Node #0,3: 86:[49, 62, 25] Operation: 65-40=25
Exploring Operation: 65-62=3, Resulting Numbers: [40, 49, 3]
Generated Node #0,4: 86:[40, 49, 3] Operation: 65-62=3
Moving to Node #0,4
Current State: 86:[40, 49, 3], Operations: ['65-62=3']
Exploring Operation: 49-3=46, Resulting Numbers: [40, 46]
Generated Node #0,4,0: 86:[40, 46] Operation: 49-3=46
Exploring Operation: 49-40=9, Resulting Numbers: [3, 9]
Generated Node #0,4,1: 86:[3, 9] Operation: 49-40=9
Exploring Operation: 40+3=43, Resulting Numbers: [49, 43]
Generated Node #0,4,2: 86:[49, 43] Operation: 40+3=43
Exploring Operation: 40-3=37, Resulting Numbers: [49, 37]
Generated Node #0,4,3: 86:[49, 37] Operation: 40-3=37
Exploring Operation: 40+49=89, Resulting Numbers: [3, 89]
Generated Node #0,4,4: 86:[3, 89] Operation: 40+49=89
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 86:[3, 89], Operations: ['65-62=3', '40+49=89']
Exploring Operation: 3*89=267, Resulting Numbers: [267]
267,86 unequal: No Solution
Exploring Operation: 3+89=92, Resulting Numbers: [92]
92,86 unequal: No Solution
Exploring Operation: 89-3=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[40, 65, 49, 62], Operations: []
Exploring Operation: 65-62=3, Resulting Numbers: [40, 49, 3]
Generated Node #0,4: 86:[40, 49, 3] Operation: 65-62=3
Moving to Node #0,4
Current State: 86:[40, 49, 3], Operations: ['65-62=3']
Exploring Operation: 40+49=89, Resulting Numbers: [3, 89]
Generated Node #0,4,4: 86:[3, 89] Operation: 40+49=89
Moving to Node #0,4,4
Current State: 86:[3, 89], Operations: ['65-62=3', '40+49=89']
Exploring Operation: 89-3=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243
|
hs_5
|
sum_heuristic
|
[
48,
55,
3,
9
] | 98
|
[
"48*3=144",
"55-9=46",
"144-46=98"
] |
Current State: 98:[48, 55, 3, 9], Operations: []
Exploring Operation: 48*3=144, Resulting Numbers: [55, 9, 144]
Generated Node #2: [55, 9, 144] from Operation: 48*3=144
Current State: 98:[55, 9, 144], Operations: ['48*3=144']
Exploring Operation: 55-9=46, Resulting Numbers: [144, 46]
Generated Node #3: [144, 46] from Operation: 55-9=46
Current State: 98:[144, 46], Operations: ['48*3=144', '55-9=46']
Exploring Operation: 144-46=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4
|
Current State: 98:[48, 55, 3, 9], Operations: []
Exploring Operation: 55-48=7, Resulting Numbers: [3, 9, 7]
Generated Node #0,0: 98:[3, 9, 7] Operation: 55-48=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[3, 9, 7], Operations: ['55-48=7']
Exploring Operation: 9-3=6, Resulting Numbers: [7, 6]
Generated Node #0,0,0: 98:[7, 6] Operation: 9-3=6
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 98:[7, 6], Operations: ['55-48=7', '9-3=6']
Exploring Operation: 7+6=13, Resulting Numbers: [13]
13,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0
|
hs_1
|
sum_heuristic
|
[
31,
16,
47,
40
] | 54
|
[
"31+16=47",
"47-40=7",
"47+7=54"
] |
Current State: 54:[31, 16, 47, 40], Operations: []
Exploring Operation: 31+16=47, Resulting Numbers: [47, 40, 47]
Generated Node #2: [47, 40, 47] from Operation: 31+16=47
Current State: 54:[47, 40, 47], Operations: ['31+16=47']
Exploring Operation: 47-40=7, Resulting Numbers: [7]
7,54 equal: Goal Reached
Exploring Operation: 47+7=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4
|
Current State: 54:[31, 16, 47, 40], Operations: []
Exploring Operation: 47-40=7, Resulting Numbers: [31, 16, 7]
Generated Node #0,0: 54:[31, 16, 7] Operation: 47-40=7
Moving to Node #0,0
Current State: 54:[31, 16, 7], Operations: ['47-40=7']
Exploring Operation: 31-16=15, Resulting Numbers: [7, 15]
Generated Node #0,0,0: 54:[7, 15] Operation: 31-16=15
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 54:[7, 15], Operations: ['47-40=7', '31-16=15']
Exploring Operation: 15-7=8, Resulting Numbers: [8]
8,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
|
mult_heuristic
|
[
1,
69,
30,
11
] | 23
|
[
"11-1=10",
"69*10=690",
"690/30=23"
] |
Current State: 23:[1, 69, 30, 11], Operations: []
Exploring Operation: 11-1=10, Resulting Numbers: [69, 30, 10]
Generated Node #2: [69, 30, 10] from Operation: 11-1=10
Current State: 23:[69, 30, 10], Operations: ['11-1=10']
Exploring Operation: 69*10=690, Resulting Numbers: [30, 690]
Generated Node #3: [30, 690] from Operation: 69*10=690
Current State: 23:[30, 690], Operations: ['11-1=10', '69*10=690']
Exploring Operation: 690/30=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4
|
Current State: 23:[1, 69, 30, 11], Operations: []
Exploring Operation: 69-30=39, Resulting Numbers: [1, 11, 39]
Generated Node #0,0: 23:[1, 11, 39] Operation: 69-30=39
Exploring Operation: 69-1=68, Resulting Numbers: [30, 11, 68]
Generated Node #0,1: 23:[30, 11, 68] Operation: 69-1=68
Exploring Operation: 30-1=29, Resulting Numbers: [69, 11, 29]
Generated Node #0,2: 23:[69, 11, 29] Operation: 30-1=29
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[1, 11, 39], Operations: ['69-30=39']
Exploring Operation: 1+11=12, Resulting Numbers: [39, 12]
Generated Node #0,0,0: 23:[39, 12] Operation: 1+11=12
Exploring Operation: 39-11=28, Resulting Numbers: [1, 28]
Generated Node #0,0,1: 23:[1, 28] Operation: 39-11=28
Exploring Operation: 39-1=38, Resulting Numbers: [11, 38]
Generated Node #0,0,2: 23:[11, 38] Operation: 39-1=38
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 23:[39, 12], Operations: ['69-30=39', '1+11=12']
Exploring Operation: 39+12=51, Resulting Numbers: [51]
51,23 unequal: No Solution
Exploring Operation: 39-12=27, Resulting Numbers: [27]
27,23 unequal: No Solution
Exploring Operation: 39*12=468, Resulting Numbers: [468]
468,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 23:[1, 28], Operations: ['69-30=39', '39-11=28']
Exploring Operation: 1*28=28, Resulting Numbers: [28]
28,23 unequal: No Solution
Exploring Operation: 28-1=27, Resulting Numbers: [27]
27,23 unequal: No Solution
Exploring Operation: 28/1=28, Resulting Numbers: [28]
28,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 23:[11, 38], Operations: ['69-30=39', '39-1=38']
Exploring Operation: 11*38=418, Resulting Numbers: [418]
418,23 unequal: No Solution
Exploring Operation: 38-11=27, Resulting Numbers: [27]
27,23 unequal: No Solution
Exploring Operation: 11+38=49, Resulting Numbers: [49]
49,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 23:[30, 11, 68], Operations: ['69-1=68']
Exploring Operation: 68-11=57, Resulting Numbers: [30, 57]
Generated Node #0,1,0: 23:[30, 57] Operation: 68-11=57
Exploring Operation: 68-30=38, Resulting Numbers: [11, 38]
Generated Node #0,1,1: 23:[11, 38] Operation: 68-30=38
Exploring Operation: 30-11=19, Resulting Numbers: [68, 19]
Generated Node #0,1,2: 23:[68, 19] Operation: 30-11=19
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 23:[11, 38], Operations: ['69-1=68', '68-30=38']
Exploring Operation: 38-11=27, Resulting Numbers: [27]
27,23 unequal: No Solution
Exploring Operation: 11+38=49, Resulting Numbers: [49]
49,23 unequal: No Solution
Exploring Operation: 11*38=418, Resulting Numbers: [418]
418,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 23:[30, 57], Operations: ['69-1=68', '68-11=57']
Exploring Operation: 57-30=27, Resulting Numbers: [27]
27,23 unequal: No Solution
Exploring Operation: 30*57=1710, Resulting Numbers: [1710]
1710,23 unequal: No Solution
Exploring Operation: 30+57=87, Resulting Numbers: [87]
87,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 23:[68, 19], Operations: ['69-1=68', '30-11=19']
Exploring Operation: 68+19=87, Resulting Numbers: [87]
87,23 unequal: No Solution
Exploring Operation: 68*19=1292, Resulting Numbers: [1292]
1292,23 unequal: No Solution
Exploring Operation: 68-19=49, Resulting Numbers: [49]
49,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 23:[69, 11, 29], Operations: ['30-1=29']
Exploring Operation: 29-11=18, Resulting Numbers: [69, 18]
Generated Node #0,2,0: 23:[69, 18] Operation: 29-11=18
Exploring Operation: 69-29=40, Resulting Numbers: [11, 40]
Generated Node #0,2,1: 23:[11, 40] Operation: 69-29=40
Exploring Operation: 69-11=58, Resulting Numbers: [29, 58]
Generated Node #0,2,2: 23:[29, 58] Operation: 69-11=58
Moving to Node #0,2,1
Current State: 23:[11, 40], Operations: ['30-1=29', '69-29=40']
Exploring Operation: 11+40=51, Resulting Numbers: [51]
51,23 unequal: No Solution
Exploring Operation: 40-11=29, Resulting Numbers: [29]
29,23 unequal: No Solution
Exploring Operation: 11*40=440, Resulting Numbers: [440]
440,23 unequal: No Solution
Moving to Node #0,2,2
Current State: 23:[29, 58], Operations: ['30-1=29', '69-11=58']
Exploring Operation: 29+58=87, Resulting Numbers: [87]
87,23 unequal: No Solution
Exploring Operation: 58-29=29, Resulting Numbers: [29]
29,23 unequal: No Solution
Exploring Operation: 58/29=2, Resulting Numbers: [2]
2,23 unequal: No Solution
Moving to Node #0,2,0
Current State: 23:[69, 18], Operations: ['30-1=29', '29-11=18']
Exploring Operation: 69+18=87, Resulting Numbers: [87]
87,23 unequal: No Solution
Exploring Operation: 69*18=1242, Resulting Numbers: [1242]
1242,23 unequal: No Solution
Exploring Operation: 69-18=51, Resulting Numbers: [51]
51,23 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
|
[
10,
70,
58,
8
] | 46
|
[
"10-8=2",
"58*2=116",
"116-70=46"
] |
Current State: 46:[10, 70, 58, 8], Operations: []
Exploring Operation: 10-8=2, Resulting Numbers: [70, 58, 2]
Generated Node #2: [70, 58, 2] from Operation: 10-8=2
Current State: 46:[70, 58, 2], Operations: ['10-8=2']
Exploring Operation: 58*2=116, Resulting Numbers: [70, 116]
Generated Node #3: [70, 116] from Operation: 58*2=116
Current State: 46:[70, 116], Operations: ['10-8=2', '58*2=116']
Exploring Operation: 116-70=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4
|
Current State: 46:[10, 70, 58, 8], Operations: []
Exploring Operation: 70/10=7, Resulting Numbers: [58, 8, 7]
Generated Node #0,0: 46:[58, 8, 7] Operation: 70/10=7
Moving to Node #0,0
Current State: 46:[58, 8, 7], Operations: ['70/10=7']
Exploring Operation: 58-8=50, Resulting Numbers: [7, 50]
Generated Node #0,0,0: 46:[7, 50] Operation: 58-8=50
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 46:[7, 50], Operations: ['70/10=7', '58-8=50']
Exploring Operation: 50-7=43, Resulting Numbers: [43]
43,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
|
[
4,
11,
5,
13
] | 11
|
[
"11-4=7",
"5+13=18",
"18-7=11"
] |
Current State: 11:[4, 11, 5, 13], Operations: []
Exploring Operation: 11-4=7, Resulting Numbers: [5, 13, 7]
Generated Node #2: [5, 13, 7] from Operation: 11-4=7
Current State: 11:[5, 13, 7], Operations: ['11-4=7']
Exploring Operation: 5+13=18, Resulting Numbers: [7, 18]
Generated Node #3: [7, 18] from Operation: 5+13=18
Current State: 11:[7, 18], Operations: ['11-4=7', '5+13=18']
Exploring Operation: 18-7=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4
|
Current State: 11:[4, 11, 5, 13], Operations: []
Exploring Operation: 4+5=9, Resulting Numbers: [11, 13, 9]
Generated Node #0,0: 11:[11, 13, 9] Operation: 4+5=9
Moving to Node #0,0
Current State: 11:[11, 13, 9], Operations: ['4+5=9']
Exploring Operation: 13-9=4, Resulting Numbers: [11, 4]
Generated Node #0,0,0: 11:[11, 4] Operation: 13-9=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 11:[11, 4], Operations: ['4+5=9', '13-9=4']
Exploring Operation: 11+4=15, Resulting Numbers: [15]
15,11 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
|
[
24,
86,
49,
90
] | 16
|
[
"24*90=2160",
"86+49=135",
"2160/135=16"
] |
Current State: 16:[24, 86, 49, 90], Operations: []
Exploring Operation: 24*90=2160, Resulting Numbers: [86, 49, 2160]
Generated Node #2: [86, 49, 2160] from Operation: 24*90=2160
Current State: 16:[86, 49, 2160], Operations: ['24*90=2160']
Exploring Operation: 86+49=135, Resulting Numbers: [2160, 135]
Generated Node #3: [2160, 135] from Operation: 86+49=135
Current State: 16:[2160, 135], Operations: ['24*90=2160', '86+49=135']
Exploring Operation: 2160/135=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4
|
Current State: 16:[24, 86, 49, 90], Operations: []
Exploring Operation: 86-24=62, Resulting Numbers: [49, 90, 62]
Generated Node #0,0: 16:[49, 90, 62] Operation: 86-24=62
Exploring Operation: 90-86=4, Resulting Numbers: [24, 49, 4]
Generated Node #0,1: 16:[24, 49, 4] Operation: 90-86=4
Exploring Operation: 90-49=41, Resulting Numbers: [24, 86, 41]
Generated Node #0,2: 16:[24, 86, 41] Operation: 90-49=41
Exploring Operation: 49-24=25, Resulting Numbers: [86, 90, 25]
Generated Node #0,3: 16:[86, 90, 25] Operation: 49-24=25
Exploring Operation: 86-49=37, Resulting Numbers: [24, 90, 37]
Generated Node #0,4: 16:[24, 90, 37] Operation: 86-49=37
Moving to Node #0,1
Current State: 16:[24, 49, 4], Operations: ['90-86=4']
Exploring Operation: 49-24=25, Resulting Numbers: [4, 25]
Generated Node #0,1,0: 16:[4, 25] Operation: 49-24=25
Exploring Operation: 24/4=6, Resulting Numbers: [49, 6]
Generated Node #0,1,1: 16:[49, 6] Operation: 24/4=6
Exploring Operation: 24+4=28, Resulting Numbers: [49, 28]
Generated Node #0,1,2: 16:[49, 28] Operation: 24+4=28
Exploring Operation: 24-4=20, Resulting Numbers: [49, 20]
Generated Node #0,1,3: 16:[49, 20] Operation: 24-4=20
Exploring Operation: 49-4=45, Resulting Numbers: [24, 45]
Generated Node #0,1,4: 16:[24, 45] Operation: 49-4=45
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 16:[4, 25], Operations: ['90-86=4', '49-24=25']
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,16 unequal: No Solution
Exploring Operation: 4+25=29, Resulting Numbers: [29]
29,16 unequal: No Solution
Exploring Operation: 4*25=100, Resulting Numbers: [100]
100,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 16:[49, 6], Operations: ['90-86=4', '24/4=6']
Exploring Operation: 49+6=55, Resulting Numbers: [55]
55,16 unequal: No Solution
Exploring Operation: 49*6=294, Resulting Numbers: [294]
294,16 unequal: No Solution
Exploring Operation: 49-6=43, Resulting Numbers: [43]
43,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 16:[49, 20], Operations: ['90-86=4', '24-4=20']
Exploring Operation: 49+20=69, Resulting Numbers: [69]
69,16 unequal: No Solution
Exploring Operation: 49*20=980, Resulting Numbers: [980]
980,16 unequal: No Solution
Exploring Operation: 49-20=29, Resulting Numbers: [29]
29,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 16:[24, 45], Operations: ['90-86=4', '49-4=45']
Exploring Operation: 24*45=1080, Resulting Numbers: [1080]
1080,16 unequal: No Solution
Exploring Operation: 45-24=21, Resulting Numbers: [21]
21,16 unequal: No Solution
Exploring Operation: 24+45=69, Resulting Numbers: [69]
69,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 16:[49, 28], Operations: ['90-86=4', '24+4=28']
Exploring Operation: 49+28=77, Resulting Numbers: [77]
77,16 unequal: No Solution
Exploring Operation: 49*28=1372, Resulting Numbers: [1372]
1372,16 unequal: No Solution
Exploring Operation: 49-28=21, Resulting Numbers: [21]
21,16 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: 16:[24, 90, 37], Operations: ['86-49=37']
Exploring Operation: 24+90=114, Resulting Numbers: [37, 114]
Generated Node #0,4,0: 16:[37, 114] Operation: 24+90=114
Exploring Operation: 24+37=61, Resulting Numbers: [90, 61]
Generated Node #0,4,1: 16:[90, 61] Operation: 24+37=61
Exploring Operation: 37-24=13, Resulting Numbers: [90, 13]
Generated Node #0,4,2: 16:[90, 13] Operation: 37-24=13
Exploring Operation: 90-37=53, Resulting Numbers: [24, 53]
Generated Node #0,4,3: 16:[24, 53] Operation: 90-37=53
Exploring Operation: 90-24=66, Resulting Numbers: [37, 66]
Generated Node #0,4,4: 16:[37, 66] Operation: 90-24=66
Moving to Node #0,2
Current State: 16:[24, 86, 41], Operations: ['90-49=41']
Exploring Operation: 24+86=110, Resulting Numbers: [41, 110]
Generated Node #0,2,0: 16:[41, 110] Operation: 24+86=110
Exploring Operation: 86-41=45, Resulting Numbers: [24, 45]
Generated Node #0,2,1: 16:[24, 45] Operation: 86-41=45
Exploring Operation: 41-24=17, Resulting Numbers: [86, 17]
Generated Node #0,2,2: 16:[86, 17] Operation: 41-24=17
Exploring Operation: 24+41=65, Resulting Numbers: [86, 65]
Generated Node #0,2,3: 16:[86, 65] Operation: 24+41=65
Exploring Operation: 86-24=62, Resulting Numbers: [41, 62]
Generated Node #0,2,4: 16:[41, 62] Operation: 86-24=62
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 16:[24, 45], Operations: ['90-49=41', '86-41=45']
Exploring Operation: 24*45=1080, Resulting Numbers: [1080]
1080,16 unequal: No Solution
Exploring Operation: 24+45=69, Resulting Numbers: [69]
69,16 unequal: No Solution
Exploring Operation: 45-24=21, Resulting Numbers: [21]
21,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 16:[86, 17], Operations: ['90-49=41', '41-24=17']
Exploring Operation: 86*17=1462, Resulting Numbers: [1462]
1462,16 unequal: No Solution
Exploring Operation: 86-17=69, Resulting Numbers: [69]
69,16 unequal: No Solution
Exploring Operation: 86+17=103, Resulting Numbers: [103]
103,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 16:[41, 62], Operations: ['90-49=41', '86-24=62']
Exploring Operation: 41+62=103, Resulting Numbers: [103]
103,16 unequal: No Solution
Exploring Operation: 62-41=21, Resulting Numbers: [21]
21,16 unequal: No Solution
Exploring Operation: 41*62=2542, Resulting Numbers: [2542]
2542,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 16:[41, 110], Operations: ['90-49=41', '24+86=110']
Exploring Operation: 41+110=151, Resulting Numbers: [151]
151,16 unequal: No Solution
Exploring Operation: 41*110=4510, Resulting Numbers: [4510]
4510,16 unequal: No Solution
Exploring Operation: 110-41=69, Resulting Numbers: [69]
69,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 16:[86, 65], Operations: ['90-49=41', '24+41=65']
Exploring Operation: 86+65=151, Resulting Numbers: [151]
151,16 unequal: No Solution
Exploring Operation: 86-65=21, Resulting Numbers: [21]
21,16 unequal: No Solution
Exploring Operation: 86*65=5590, Resulting Numbers: [5590]
5590,16 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: 16:[49, 90, 62], Operations: ['86-24=62']
Exploring Operation: 90-62=28, Resulting Numbers: [49, 28]
Generated Node #0,0,0: 16:[49, 28] Operation: 90-62=28
Exploring Operation: 90-49=41, Resulting Numbers: [62, 41]
Generated Node #0,0,1: 16:[62, 41] Operation: 90-49=41
Exploring Operation: 62-49=13, Resulting Numbers: [90, 13]
Generated Node #0,0,2: 16:[90, 13] Operation: 62-49=13
Exploring Operation: 49+90=139, Resulting Numbers: [62, 139]
Generated Node #0,0,3: 16:[62, 139] Operation: 49+90=139
Exploring Operation: 49+62=111, Resulting Numbers: [90, 111]
Generated Node #0,0,4: 16:[90, 111] Operation: 49+62=111
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 16:[49, 28], Operations: ['86-24=62', '90-62=28']
Exploring Operation: 49*28=1372, Resulting Numbers: [1372]
1372,16 unequal: No Solution
Exploring Operation: 49-28=21, Resulting Numbers: [21]
21,16 unequal: No Solution
Exploring Operation: 49+28=77, Resulting Numbers: [77]
77,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 16:[62, 41], Operations: ['86-24=62', '90-49=41']
Exploring Operation: 62+41=103, Resulting Numbers: [103]
103,16 unequal: No Solution
Exploring Operation: 62*41=2542, Resulting Numbers: [2542]
2542,16 unequal: No Solution
Exploring Operation: 62-41=21, Resulting Numbers: [21]
21,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 16:[90, 13], Operations: ['86-24=62', '62-49=13']
Exploring Operation: 90*13=1170, Resulting Numbers: [1170]
1170,16 unequal: No Solution
Exploring Operation: 90+13=103, Resulting Numbers: [103]
103,16 unequal: No Solution
Exploring Operation: 90-13=77, Resulting Numbers: [77]
77,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 16:[62, 139], Operations: ['86-24=62', '49+90=139']
Exploring Operation: 139-62=77, Resulting Numbers: [77]
77,16 unequal: No Solution
Exploring Operation: 62*139=8618, Resulting Numbers: [8618]
8618,16 unequal: No Solution
Exploring Operation: 62+139=201, Resulting Numbers: [201]
201,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 16:[90, 111], Operations: ['86-24=62', '49+62=111']
Exploring Operation: 90+111=201, Resulting Numbers: [201]
201,16 unequal: No Solution
Exploring Operation: 90*111=9990, Resulting Numbers: [9990]
9990,16 unequal: No Solution
Exploring Operation: 111-90=21, Resulting Numbers: [21]
21,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 16:[86, 90, 25], Operations: ['49-24=25']
Exploring Operation: 86-25=61, Resulting Numbers: [90, 61]
Generated Node #0,3,0: 16:[90, 61] Operation: 86-25=61
Exploring Operation: 86+90=176, Resulting Numbers: [25, 176]
Generated Node #0,3,1: 16:[25, 176] Operation: 86+90=176
Exploring Operation: 86+25=111, Resulting Numbers: [90, 111]
Generated Node #0,3,2: 16:[90, 111] Operation: 86+25=111
Exploring Operation: 90-25=65, Resulting Numbers: [86, 65]
Generated Node #0,3,3: 16:[86, 65] Operation: 90-25=65
Exploring Operation: 90-86=4, Resulting Numbers: [25, 4]
Generated Node #0,3,4: 16:[25, 4] Operation: 90-86=4
Moving to Node #0,3,4
Current State: 16:[25, 4], Operations: ['49-24=25', '90-86=4']
Exploring Operation: 25*4=100, Resulting Numbers: [100]
100,16 unequal: No Solution
Exploring Operation: 25+4=29, Resulting Numbers: [29]
29,16 unequal: No Solution
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,16 unequal: No Solution
Moving to Node #0,4,3
Current State: 16:[24, 53], Operations: ['86-49=37', '90-37=53']
Exploring Operation: 24*53=1272, Resulting Numbers: [1272]
1272,16 unequal: No Solution
Exploring Operation: 53-24=29, Resulting Numbers: [29]
29,16 unequal: No Solution
Exploring Operation: 24+53=77, Resulting Numbers: [77]
77,16 unequal: No Solution
Moving to Node #0,4,4
Current State: 16:[37, 66], Operations: ['86-49=37', '90-24=66']
Exploring Operation: 37*66=2442, Resulting Numbers: [2442]
2442,16 unequal: No Solution
Exploring Operation: 37+66=103, Resulting Numbers: [103]
103,16 unequal: No Solution
Exploring Operation: 66-37=29, Resulting Numbers: [29]
29,16 unequal: No Solution
Moving to Node #0,4,2
Current State: 16:[90, 13], Operations: ['86-49=37', '37-24=13']
Exploring Operation: 90-13=77, Resulting Numbers: [77]
77,16 unequal: No Solution
Exploring Operation: 90+13=103, Resulting Numbers: [103]
103,16 unequal: No Solution
Exploring Operation: 90*13=1170, Resulting Numbers: [1170]
1170,16 unequal: No Solution
Moving to Node #0,3,0
Current State: 16:[90, 61], Operations: ['49-24=25', '86-25=61']
Exploring Operation: 90+61=151, Resulting Numbers: [151]
151,16 unequal: No Solution
Exploring Operation: 90*61=5490, Resulting Numbers: [5490]
5490,16 unequal: No Solution
Exploring Operation: 90-61=29, Resulting Numbers: [29]
29,16 unequal: No Solution
Moving to Node #0,3,3
Current State: 16:[86, 65], Operations: ['49-24=25', '90-25=65']
Exploring Operation: 86+65=151, Resulting Numbers: [151]
151,16 unequal: No Solution
Exploring Operation: 86*65=5590, Resulting Numbers: [5590]
5590,16 unequal: No Solution
Exploring Operation: 86-65=21, Resulting Numbers: [21]
21,16 unequal: No Solution
Moving to Node #0,4,1
Current State: 16:[90, 61], Operations: ['86-49=37', '24+37=61']
Exploring Operation: 90+61=151, Resulting Numbers: [151]
151,16 unequal: No Solution
Exploring Operation: 90-61=29, Resulting Numbers: [29]
29,16 unequal: No Solution
Exploring Operation: 90*61=5490, Resulting Numbers: [5490]
5490,16 unequal: No Solution
Moving to Node #0,4,0
Current State: 16:[37, 114], Operations: ['86-49=37', '24+90=114']
Exploring Operation: 37*114=4218, Resulting Numbers: [4218]
4218,16 unequal: No Solution
Exploring Operation: 114-37=77, Resulting Numbers: [77]
77,16 unequal: No Solution
Exploring Operation: 37+114=151, Resulting Numbers: [151]
151,16 unequal: No Solution
Moving to Node #0,3,1
Current State: 16:[25, 176], Operations: ['49-24=25', '86+90=176']
Exploring Operation: 25+176=201, Resulting Numbers: [201]
201,16 unequal: No Solution
Exploring Operation: 25*176=4400, Resulting Numbers: [4400]
4400,16 unequal: No Solution
Exploring Operation: 176-25=151, Resulting Numbers: [151]
151,16 unequal: No Solution
Moving to Node #0,3,2
Current State: 16:[90, 111], Operations: ['49-24=25', '86+25=111']
Exploring Operation: 90+111=201, Resulting Numbers: [201]
201,16 unequal: No Solution
Exploring Operation: 111-90=21, Resulting Numbers: [21]
21,16 unequal: No Solution
Exploring Operation: 90*111=9990, Resulting Numbers: [9990]
9990,16 unequal: No Solution
No solution found.
| 0
|
hs_5
|
mult_heuristic
|
[
6,
43,
30,
47
] | 15
|
[
"6+43=49",
"49-47=2",
"30/2=15"
] |
Current State: 15:[6, 43, 30, 47], Operations: []
Exploring Operation: 6+43=49, Resulting Numbers: [30, 47, 49]
Generated Node #2: [30, 47, 49] from Operation: 6+43=49
Current State: 15:[30, 47, 49], Operations: ['6+43=49']
Exploring Operation: 49-47=2, Resulting Numbers: [30, 2]
Generated Node #3: [30, 2] from Operation: 49-47=2
Current State: 15:[30, 2], Operations: ['6+43=49', '49-47=2']
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4
|
Current State: 15:[6, 43, 30, 47], Operations: []
Exploring Operation: 47-43=4, Resulting Numbers: [6, 30, 4]
Generated Node #0,0: 15:[6, 30, 4] Operation: 47-43=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 15:[6, 30, 4], Operations: ['47-43=4']
Exploring Operation: 30/6=5, Resulting Numbers: [4, 5]
Generated Node #0,0,0: 15:[4, 5] Operation: 30/6=5
Moving to Node #0,0,0
Current State: 15:[4, 5], Operations: ['47-43=4', '30/6=5']
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,15 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,
79,
61,
49
] | 81
|
[
"14+79=93",
"61-49=12",
"93-12=81"
] |
Current State: 81:[14, 79, 61, 49], Operations: []
Exploring Operation: 14+79=93, Resulting Numbers: [61, 49, 93]
Generated Node #2: [61, 49, 93] from Operation: 14+79=93
Current State: 81:[61, 49, 93], Operations: ['14+79=93']
Exploring Operation: 61-49=12, Resulting Numbers: [93, 12]
Generated Node #3: [93, 12] from Operation: 61-49=12
Current State: 81:[93, 12], Operations: ['14+79=93', '61-49=12']
Exploring Operation: 93-12=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4
|
Current State: 81:[14, 79, 61, 49], Operations: []
Exploring Operation: 61-49=12, Resulting Numbers: [14, 79, 12]
Generated Node #0,0: 81:[14, 79, 12] Operation: 61-49=12
Moving to Node #0,0
Current State: 81:[14, 79, 12], Operations: ['61-49=12']
Exploring Operation: 14+12=26, Resulting Numbers: [79, 26]
Generated Node #0,0,0: 81:[79, 26] Operation: 14+12=26
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 81:[79, 26], Operations: ['61-49=12', '14+12=26']
Exploring Operation: 79+26=105, Resulting Numbers: [105]
105,81 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
|
[
43,
44,
90,
90
] | 87
|
[
"43+44=87",
"90-90=0",
"87+0=87"
] |
Current State: 87:[43, 44, 90, 90], Operations: []
Exploring Operation: 43+44=87, Resulting Numbers: [90, 90, 87]
Generated Node #2: [90, 90, 87] from Operation: 43+44=87
Current State: 87:[90, 90, 87], Operations: ['43+44=87']
Exploring Operation: 90-90=0, Resulting Numbers: [87, 0]
Generated Node #3: [87, 0] from Operation: 90-90=0
Current State: 87:[87, 0], Operations: ['43+44=87', '90-90=0']
Exploring Operation: 87+0=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4
|
Current State: 87:[43, 44, 90, 90], Operations: []
Exploring Operation: 43+44=87, Resulting Numbers: [90, 90, 87]
Generated Node #0,0: 87:[90, 90, 87] Operation: 43+44=87
Start Sub Search at level 1: Moving to Node #0,0
Current State: 87:[90, 90, 87], Operations: ['43+44=87']
Exploring Operation: 90/90=1, Resulting Numbers: [87, 1]
Generated Node #0,0,0: 87:[87, 1] Operation: 90/90=1
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 87:[87, 1], Operations: ['43+44=87', '90/90=1']
Exploring Operation: 87*1=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[43, 44, 90, 90], Operations: []
Exploring Operation: 43+44=87, Resulting Numbers: [90, 90, 87]
Generated Node #0,0: 87:[90, 90, 87] Operation: 43+44=87
Moving to Node #0,0
Current State: 87:[90, 90, 87], Operations: ['43+44=87']
Exploring Operation: 90/90=1, Resulting Numbers: [87, 1]
Generated Node #0,0,0: 87:[87, 1] Operation: 90/90=1
Moving to Node #0,0,0
Current State: 87:[87, 1], Operations: ['43+44=87', '90/90=1']
Exploring Operation: 87*1=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924
|
hs_1
|
sum_heuristic
|
[
46,
41,
82,
66
] | 22
|
[
"66-46=20",
"82/41=2",
"20+2=22"
] |
Current State: 22:[46, 41, 82, 66], Operations: []
Exploring Operation: 66-46=20, Resulting Numbers: [41, 82, 20]
Generated Node #2: [41, 82, 20] from Operation: 66-46=20
Current State: 22:[41, 82, 20], Operations: ['66-46=20']
Exploring Operation: 82/41=2, Resulting Numbers: [20, 2]
Generated Node #3: [20, 2] from Operation: 82/41=2
Current State: 22:[20, 2], Operations: ['66-46=20', '82/41=2']
Exploring Operation: 20+2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4
|
Current State: 22:[46, 41, 82, 66], Operations: []
Exploring Operation: 82-66=16, Resulting Numbers: [46, 41, 16]
Generated Node #0,0: 22:[46, 41, 16] Operation: 82-66=16
Exploring Operation: 66-46=20, Resulting Numbers: [41, 82, 20]
Generated Node #0,1: 22:[41, 82, 20] Operation: 66-46=20
Exploring Operation: 82/41=2, Resulting Numbers: [46, 66, 2]
Generated Node #0,2: 22:[46, 66, 2] Operation: 82/41=2
Exploring Operation: 82-46=36, Resulting Numbers: [41, 66, 36]
Generated Node #0,3: 22:[41, 66, 36] Operation: 82-46=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[46, 41, 16], Operations: ['82-66=16']
Exploring Operation: 41-16=25, Resulting Numbers: [46, 25]
Generated Node #0,0,0: 22:[46, 25] Operation: 41-16=25
Exploring Operation: 46+16=62, Resulting Numbers: [41, 62]
Generated Node #0,0,1: 22:[41, 62] Operation: 46+16=62
Exploring Operation: 46-41=5, Resulting Numbers: [16, 5]
Generated Node #0,0,2: 22:[16, 5] Operation: 46-41=5
Exploring Operation: 46-16=30, Resulting Numbers: [41, 30]
Generated Node #0,0,3: 22:[41, 30] Operation: 46-16=30
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 22:[16, 5], Operations: ['82-66=16', '46-41=5']
Exploring Operation: 16*5=80, Resulting Numbers: [80]
80,22 unequal: No Solution
Exploring Operation: 16+5=21, Resulting Numbers: [21]
21,22 unequal: No Solution
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,22 unequal: No Solution
No 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: 22:[46, 25], Operations: ['82-66=16', '41-16=25']
Exploring Operation: 46-25=21, Resulting Numbers: [21]
21,22 unequal: No Solution
Exploring Operation: 46*25=1150, Resulting Numbers: [1150]
1150,22 unequal: No Solution
Exploring Operation: 46+25=71, Resulting Numbers: [71]
71,22 unequal: No Solution
No 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: 22:[41, 30], Operations: ['82-66=16', '46-16=30']
Exploring Operation: 41+30=71, Resulting Numbers: [71]
71,22 unequal: No Solution
Exploring Operation: 41*30=1230, Resulting Numbers: [1230]
1230,22 unequal: No Solution
Exploring Operation: 41-30=11, Resulting Numbers: [11]
11,22 unequal: No Solution
No 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: 22:[41, 62], Operations: ['82-66=16', '46+16=62']
Exploring Operation: 41*62=2542, Resulting Numbers: [2542]
2542,22 unequal: No Solution
Exploring Operation: 41+62=103, Resulting Numbers: [103]
103,22 unequal: No Solution
Exploring Operation: 62-41=21, Resulting Numbers: [21]
21,22 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: 22:[46, 66, 2], Operations: ['82/41=2']
Exploring Operation: 46/2=23, Resulting Numbers: [66, 23]
Generated Node #0,2,0: 22:[66, 23] Operation: 46/2=23
Exploring Operation: 66/2=33, Resulting Numbers: [46, 33]
Generated Node #0,2,1: 22:[46, 33] Operation: 66/2=33
Exploring Operation: 46-2=44, Resulting Numbers: [66, 44]
Generated Node #0,2,2: 22:[66, 44] Operation: 46-2=44
Exploring Operation: 66-46=20, Resulting Numbers: [2, 20]
Generated Node #0,2,3: 22:[2, 20] Operation: 66-46=20
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 22:[2, 20], Operations: ['82/41=2', '66-46=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: 20-2=18, Resulting Numbers: [18]
18,22 unequal: No Solution
Exploring Operation: 2+20=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[46, 41, 82, 66], Operations: []
Exploring Operation: 82/41=2, Resulting Numbers: [46, 66, 2]
Generated Node #0,2: 22:[46, 66, 2] Operation: 82/41=2
Moving to Node #0,2
Current State: 22:[46, 66, 2], Operations: ['82/41=2']
Exploring Operation: 66-46=20, Resulting Numbers: [2, 20]
Generated Node #0,2,3: 22:[2, 20] Operation: 66-46=20
Moving to Node #0,2,3
Current State: 22:[2, 20], Operations: ['82/41=2', '66-46=20']
Exploring Operation: 2+20=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.972222
|
hs_4
|
sum_heuristic
|
[
68,
75,
36,
81
] | 62
|
[
"81-75=6",
"36/6=6",
"68-6=62"
] |
Current State: 62:[68, 75, 36, 81], Operations: []
Exploring Operation: 81-75=6, Resulting Numbers: [68, 36, 6]
Generated Node #2: [68, 36, 6] from Operation: 81-75=6
Current State: 62:[68, 36, 6], Operations: ['81-75=6']
Exploring Operation: 36/6=6, Resulting Numbers: [68, 6]
Generated Node #3: [68, 6] from Operation: 36/6=6
Current State: 62:[68, 6], Operations: ['81-75=6', '36/6=6']
Exploring Operation: 68-6=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4
|
Current State: 62:[68, 75, 36, 81], Operations: []
Exploring Operation: 81-75=6, Resulting Numbers: [68, 36, 6]
Generated Node #0,0: 62:[68, 36, 6] Operation: 81-75=6
Exploring Operation: 75-68=7, Resulting Numbers: [36, 81, 7]
Generated Node #0,1: 62:[36, 81, 7] Operation: 75-68=7
Exploring Operation: 81-68=13, Resulting Numbers: [75, 36, 13]
Generated Node #0,2: 62:[75, 36, 13] Operation: 81-68=13
Moving to Node #0,0
Current State: 62:[68, 36, 6], Operations: ['81-75=6']
Exploring Operation: 68-36=32, Resulting Numbers: [6, 32]
Generated Node #0,0,0: 62:[6, 32] Operation: 68-36=32
Exploring Operation: 36-6=30, Resulting Numbers: [68, 30]
Generated Node #0,0,1: 62:[68, 30] Operation: 36-6=30
Exploring Operation: 68-6=62, Resulting Numbers: [36, 62]
Generated Node #0,0,2: 62:[36, 62] Operation: 68-6=62
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 62:[6, 32], Operations: ['81-75=6', '68-36=32']
Exploring Operation: 6+32=38, Resulting Numbers: [38]
38,62 unequal: No Solution
Exploring Operation: 32-6=26, Resulting Numbers: [26]
26,62 unequal: No Solution
Exploring Operation: 6*32=192, Resulting Numbers: [192]
192,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 62:[36, 62], Operations: ['81-75=6', '68-6=62']
Exploring Operation: 36*62=2232, Resulting Numbers: [2232]
2232,62 unequal: No Solution
Exploring Operation: 36+62=98, Resulting Numbers: [98]
98,62 unequal: No Solution
Exploring Operation: 62-36=26, Resulting Numbers: [26]
26,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 62:[68, 30], Operations: ['81-75=6', '36-6=30']
Exploring Operation: 68*30=2040, Resulting Numbers: [2040]
2040,62 unequal: No Solution
Exploring Operation: 68+30=98, Resulting Numbers: [98]
98,62 unequal: No Solution
Exploring Operation: 68-30=38, Resulting Numbers: [38]
38,62 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: 62:[36, 81, 7], Operations: ['75-68=7']
Exploring Operation: 81-36=45, Resulting Numbers: [7, 45]
Generated Node #0,1,0: 62:[7, 45] Operation: 81-36=45
Exploring Operation: 81-7=74, Resulting Numbers: [36, 74]
Generated Node #0,1,1: 62:[36, 74] Operation: 81-7=74
Exploring Operation: 36-7=29, Resulting Numbers: [81, 29]
Generated Node #0,1,2: 62:[81, 29] Operation: 36-7=29
Moving to Node #0,2
Current State: 62:[75, 36, 13], Operations: ['81-68=13']
Exploring Operation: 75-36=39, Resulting Numbers: [13, 39]
Generated Node #0,2,0: 62:[13, 39] Operation: 75-36=39
Exploring Operation: 75-13=62, Resulting Numbers: [36, 62]
Generated Node #0,2,1: 62:[36, 62] Operation: 75-13=62
Exploring Operation: 36-13=23, Resulting Numbers: [75, 23]
Generated Node #0,2,2: 62:[75, 23] Operation: 36-13=23
Moving to Node #0,2,1
Current State: 62:[36, 62], Operations: ['81-68=13', '75-13=62']
Exploring Operation: 62-36=26, Resulting Numbers: [26]
26,62 unequal: No Solution
Exploring Operation: 36+62=98, Resulting Numbers: [98]
98,62 unequal: No Solution
Exploring Operation: 36*62=2232, Resulting Numbers: [2232]
2232,62 unequal: No Solution
Moving to Node #0,1,1
Current State: 62:[36, 74], Operations: ['75-68=7', '81-7=74']
Exploring Operation: 74-36=38, Resulting Numbers: [38]
38,62 unequal: No Solution
Exploring Operation: 36*74=2664, Resulting Numbers: [2664]
2664,62 unequal: No Solution
Exploring Operation: 36+74=110, Resulting Numbers: [110]
110,62 unequal: No Solution
Moving to Node #0,2,0
Current State: 62:[13, 39], Operations: ['81-68=13', '75-36=39']
Exploring Operation: 13+39=52, Resulting Numbers: [52]
52,62 unequal: No Solution
Exploring Operation: 39-13=26, Resulting Numbers: [26]
26,62 unequal: No Solution
Exploring Operation: 39/13=3, Resulting Numbers: [3]
3,62 unequal: No Solution
Moving to Node #0,1,0
Current State: 62:[7, 45], Operations: ['75-68=7', '81-36=45']
Exploring Operation: 7*45=315, Resulting Numbers: [315]
315,62 unequal: No Solution
Exploring Operation: 45-7=38, Resulting Numbers: [38]
38,62 unequal: No Solution
Exploring Operation: 7+45=52, Resulting Numbers: [52]
52,62 unequal: No Solution
Moving to Node #0,2,2
Current State: 62:[75, 23], Operations: ['81-68=13', '36-13=23']
Exploring Operation: 75+23=98, Resulting Numbers: [98]
98,62 unequal: No Solution
Exploring Operation: 75-23=52, Resulting Numbers: [52]
52,62 unequal: No Solution
Exploring Operation: 75*23=1725, Resulting Numbers: [1725]
1725,62 unequal: No Solution
Moving to Node #0,1,2
Current State: 62:[81, 29], Operations: ['75-68=7', '36-7=29']
Exploring Operation: 81*29=2349, Resulting Numbers: [2349]
2349,62 unequal: No Solution
Exploring Operation: 81+29=110, Resulting Numbers: [110]
110,62 unequal: No Solution
Exploring Operation: 81-29=52, Resulting Numbers: [52]
52,62 unequal: No Solution
No solution found.
| 0
|
hs_3
|
mult_heuristic
|
[
16,
28,
24,
4
] | 13
|
[
"16+28=44",
"44/4=11",
"24-11=13"
] |
Current State: 13:[16, 28, 24, 4], Operations: []
Exploring Operation: 16+28=44, Resulting Numbers: [24, 4, 44]
Generated Node #2: [24, 4, 44] from Operation: 16+28=44
Current State: 13:[24, 4, 44], Operations: ['16+28=44']
Exploring Operation: 44/4=11, Resulting Numbers: [24, 11]
Generated Node #3: [24, 11] from Operation: 44/4=11
Current State: 13:[24, 11], Operations: ['16+28=44', '44/4=11']
Exploring Operation: 24-11=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4
|
Current State: 13:[16, 28, 24, 4], Operations: []
Exploring Operation: 28/4=7, Resulting Numbers: [16, 24, 7]
Generated Node #0,0: 13:[16, 24, 7] Operation: 28/4=7
Exploring Operation: 28-24=4, Resulting Numbers: [16, 4, 4]
Generated Node #0,1: 13:[16, 4, 4] Operation: 28-24=4
Exploring Operation: 28-16=12, Resulting Numbers: [24, 4, 12]
Generated Node #0,2: 13:[24, 4, 12] Operation: 28-16=12
Moving to Node #0,0
Current State: 13:[16, 24, 7], Operations: ['28/4=7']
Exploring Operation: 24-16=8, Resulting Numbers: [7, 8]
Generated Node #0,0,0: 13:[7, 8] Operation: 24-16=8
Exploring Operation: 24-7=17, Resulting Numbers: [16, 17]
Generated Node #0,0,1: 13:[16, 17] Operation: 24-7=17
Exploring Operation: 16-7=9, Resulting Numbers: [24, 9]
Generated Node #0,0,2: 13:[24, 9] Operation: 16-7=9
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 13:[16, 17], Operations: ['28/4=7', '24-7=17']
Exploring Operation: 16*17=272, Resulting Numbers: [272]
272,13 unequal: No Solution
Exploring Operation: 17-16=1, Resulting Numbers: [1]
1,13 unequal: No Solution
Exploring Operation: 16+17=33, Resulting Numbers: [33]
33,13 unequal: No Solution
No 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: 13:[7, 8], Operations: ['28/4=7', '24-16=8']
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,13 unequal: No Solution
Exploring Operation: 7*8=56, Resulting Numbers: [56]
56,13 unequal: No Solution
Exploring Operation: 7+8=15, Resulting Numbers: [15]
15,13 unequal: No Solution
No 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: 13:[24, 9], Operations: ['28/4=7', '16-7=9']
Exploring Operation: 24+9=33, Resulting Numbers: [33]
33,13 unequal: No Solution
Exploring Operation: 24-9=15, Resulting Numbers: [15]
15,13 unequal: No Solution
Exploring Operation: 24*9=216, Resulting Numbers: [216]
216,13 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: 13:[16, 4, 4], Operations: ['28-24=4']
Exploring Operation: 16-4=12, Resulting Numbers: [4, 12]
Generated Node #0,1,0: 13:[4, 12] Operation: 16-4=12
Exploring Operation: 4+4=8, Resulting Numbers: [16, 8]
Generated Node #0,1,1: 13:[16, 8] Operation: 4+4=8
Exploring Operation: 4*4=16, Resulting Numbers: [16, 16]
Generated Node #0,1,2: 13:[16, 16] Operation: 4*4=16
Moving to Node #0,2
Current State: 13:[24, 4, 12], Operations: ['28-16=12']
Exploring Operation: 24-4=20, Resulting Numbers: [12, 20]
Generated Node #0,2,0: 13:[12, 20] Operation: 24-4=20
Exploring Operation: 24/4=6, Resulting Numbers: [12, 6]
Generated Node #0,2,1: 13:[12, 6] Operation: 24/4=6
Exploring Operation: 24-12=12, Resulting Numbers: [4, 12]
Generated Node #0,2,2: 13:[4, 12] Operation: 24-12=12
Moving to Node #0,1,2
Current State: 13:[16, 16], Operations: ['28-24=4', '4*4=16']
Exploring Operation: 16+16=32, Resulting Numbers: [32]
32,13 unequal: No Solution
Exploring Operation: 16/16=1, Resulting Numbers: [1]
1,13 unequal: No Solution
Exploring Operation: 16-16=0, Resulting Numbers: [0]
0,13 unequal: No Solution
Moving to Node #0,1,1
Current State: 13:[16, 8], Operations: ['28-24=4', '4+4=8']
Exploring Operation: 16/8=2, Resulting Numbers: [2]
2,13 unequal: No Solution
Exploring Operation: 16+8=24, Resulting Numbers: [24]
24,13 unequal: No Solution
Exploring Operation: 16-8=8, Resulting Numbers: [8]
8,13 unequal: No Solution
Moving to Node #0,2,1
Current State: 13:[12, 6], Operations: ['28-16=12', '24/4=6']
Exploring Operation: 12+6=18, Resulting Numbers: [18]
18,13 unequal: No Solution
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,13 unequal: No Solution
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,13 unequal: No Solution
Moving to Node #0,2,0
Current State: 13:[12, 20], Operations: ['28-16=12', '24-4=20']
Exploring Operation: 20-12=8, Resulting Numbers: [8]
8,13 unequal: No Solution
Exploring Operation: 12+20=32, Resulting Numbers: [32]
32,13 unequal: No Solution
Exploring Operation: 12*20=240, Resulting Numbers: [240]
240,13 unequal: No Solution
Moving to Node #0,2,2
Current State: 13:[4, 12], Operations: ['28-16=12', '24-12=12']
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,13 unequal: No Solution
Exploring Operation: 4+12=16, Resulting Numbers: [16]
16,13 unequal: No Solution
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,13 unequal: No Solution
Moving to Node #0,1,0
Current State: 13:[4, 12], Operations: ['28-24=4', '16-4=12']
Exploring Operation: 4+12=16, Resulting Numbers: [16]
16,13 unequal: No Solution
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,13 unequal: No Solution
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,13 unequal: No Solution
No solution found.
| 0
|
hs_3
|
sum_heuristic
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.